/* Dokan Share Product Styles */
.dokan-share-product-btn {
    border: 2px solid #f54021 !important;
    border-radius: 10px !important;
    background-color: #ffffff !important;
    color: #133b49 !important;
    padding: 12px 24px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: none !important;
    text-transform: none !important;
    display: inline-block !important;
    text-align: center !important;
    text-decoration: none !important;
    margin: 10px 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.dokan-share-product-btn:hover,
.dokan-share-product-btn:active,
.dokan-share-product-btn:focus {
    border: 2px solid #f54021 !important;
    border-radius: 10px !important;
    background-color: #ffffff !important;
    color: #133b49 !important;
    text-decoration: none !important;
    outline: none !important;
    transform: none !important;
}

.dokan-share-product-btn:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.dokan-share-message {
    margin: 10px 0 !important;
    padding: 12px 15px !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
    text-align: center !important;
    border: 1px solid transparent !important;
}

.dokan-share-success {
    color: #133b49 !important;
    background-color: rgba(19, 59, 73, 0.1) !important;
    border-color: rgba(19, 59, 73, 0.2) !important;
}

.dokan-share-error {
    color: #133b49 !important;
    background-color: rgba(245, 64, 33, 0.1) !important;
    border-color: rgba(245, 64, 33, 0.2) !important;
}

.dokan-share-info {
    color: #133b49 !important;
    background-color: rgba(19, 59, 73, 0.1) !important;
    border: 1px solid rgba(19, 59, 73, 0.2) !important;
    padding: 12px 15px !important;
    border-radius: 8px !important;
    margin: 10px 0 !important;
    text-align: center !important;
}

.dokan-share-product-wrapper {
    margin: 20px 0 !important;
    padding: 15px !important;
    background: rgba(19, 59, 73, 0.05) !important;
    border-radius: 10px !important;
    border: 1px solid rgba(19, 59, 73, 0.1) !important;
}

/* Grid de productos compartidos - 2 por fila con 2em de separación */
.shared-products-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2em !important; /* 2em de separación entre productos */
    margin: 20px 0 !important;
}

/* Estilos para la imagen de fondo con altura fija de 300px */
.shared-products-grid .elementor-element-46ec314 {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    min-height: 300px !important;
    height: 300px !important;
}

.dokan-load-more-container {
    text-align: center;
    margin: 40px 0 20px 0;
}

.dokan-load-more-btn {
    border: 2px solid #f54021 !important;
    border-radius: 10px !important;
    background-color: #ffffff !important;
    color: #133b49 !important;
    padding: 15px 40px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: none !important;
    min-width: 200px;
}

.dokan-load-more-btn:hover:not(:disabled) {
    background-color: #f54021 !important;
    color: #ffffff !important;
    transform: none !important;
}

.dokan-load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.dokan-load-more-spinner {
    font-style: italic;
}

/* BORDE FIJO PARA PRODUCTOS COMPARTIDOS - SIN MOVIMIENTOS */
.dokan-shared-product,
.dokan-shared-product * {
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

.dokan-shared-product:hover,
.dokan-shared-product:hover * {
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

.dokan-shared-product:active,
.dokan-shared-product:focus,
.dokan-shared-product:focus-within,
.dokan-shared-product:target {
    border: 3px solid #f54021 !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Borde principal que no cambia */
.dokan-shared-product {
    border: 3px solid #f54021 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    position: relative !important;
}

/* Todos los estados mantienen el mismo borde */
.dokan-shared-product:hover,
.dokan-shared-product:active,
.dokan-shared-product:focus,
.dokan-shared-product:focus-within,
.dokan-shared-product:target,
.dokan-shared-product:visited {
    border: 3px solid #f54021 !important;
    outline: none !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Asegurar que el borde se vea */
.shared-products-grid .dokan-shared-product,
.elementor-loop-container .dokan-shared-product,
.woocommerce .dokan-shared-product {
    border: 3px solid #f54021 !important;
    border-radius: 20px !important;
}

/* Eliminar outline de todos los elementos hijos */
.dokan-shared-product * {
    outline: none !important;
}

.dokan-shared-product *:focus,
.dokan-shared-product *:active {
    outline: none !important;
    box-shadow: none !important;
}

/* Estilos específicos para el botón de información */
.elementor-element-c99d620 .dokan-shared-product-button,
.dokan-shared-product-button {
    background-color: transparent !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    fill: #133B49 !important;
    color: #133B49 !important;
    border-style: solid !important;
    border-color: #F54021 !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    cursor: pointer !important;
    font-size: 28px !important;
    border-width: 2px !important;
    padding: 20px 25px !important;
    width: auto !important;
    height: auto !important;
    min-width: auto !important;
    min-height: auto !important;
    line-height: normal !important;
    transition: none !important;
}

.elementor-element-c99d620 .dokan-shared-product-button:hover,
.dokan-shared-product-button:hover {
    transform: none !important;
}

/* Estilos para el icono SVG */
.elementor-element-c99d620 .dokan-shared-product-button .elementor-button-icon svg,
.dokan-shared-product-button .elementor-button-icon svg {
    width: 28px !important;
    height: 28px !important;
    font-size: 28px !important;
}

/* Forzar el tamaño del contenedor del icono */
.elementor-element-c99d620 .dokan-shared-product-button .elementor-button-icon,
.dokan-shared-product-button .elementor-button-icon {
    width: 28px !important;
    height: 28px !important;
    font-size: 28px !important;
}

/* Forzar el tamaño del contenido del botón */
.elementor-element-c99d620 .dokan-shared-product-button .elementor-button-content-wrapper,
.dokan-shared-product-button .elementor-button-content-wrapper {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 28px !important;
    line-height: 1 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .shared-products-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5em !important;
    }
    
    .dokan-load-more-btn {
        padding: 12px 30px !important;
        font-size: 14px !important;
        min-width: 180px;
    }
    
    .dokan-share-product-btn {
        padding: 10px 20px !important;
        font-size: 14px !important;
    }
}

/* Contenedor principal */
.dokan-shared-products-container {
    width: 100%;
}