/**
 * WooCommerce Custom Styles - Shekinah Theme
 * Estilos específicos para la tienda WooCommerce
 */

/* ============================================
   GLOBAL AESTHETICS (CORRECCIONES VISUALES)
   ============================================ */

/* Tipografía y Cuerpo General */
body, button, input, select, textarea {
    font-family: 'Montserrat', system-ui, -apple-system, sans-serif !important;
    -webkit-font-smoothing: antialiased;
}

/* Inputs y Formularios Elegantes */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="search"],
textarea,
select {
    background-color: #ffffff;
    border: 1px solid #e2e2e2;
    border-radius: 12px !important; /* Bordes redondeados modernos */
    padding: 12px 16px !important;
    font-size: 1rem !important;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    width: 100%;
    max-width: 100%;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--shekinah-gold) !important;
    outline: none;
    box-shadow: 0 4px 12px rgba(201, 169, 98, 0.15) !important;
}

/* Botones Globales Mejorados */
button,
.button,
.btn,
input[type="submit"],
input[type="button"] {
    border-radius: 50px !important; /* Estilo píldora elegante */
    padding: 12px 28px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease !important;
    font-size: 0.95rem !important;
}

/* Eliminar apariencia antigua de selects */
select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8.825L1.175 4 2.238 2.938 6 6.7 9.763 2.938 10.825 4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

/* ============================================
   SHOP PAGE - MODERN REDESIGN
   ============================================ */

/* Contenedor principal de la tienda */
.woocommerce-shop .site-main,
.archive.woocommerce .site-main {
    padding: 2rem 0 4rem;
    background: linear-gradient(180deg, #faf7f5 0%, #ffffff 50%, #faf7f5 100%);
}

/* Header de la tienda */
.woocommerce-shop .shop-header {
    text-align: center;
    padding: 4rem 0;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #fdfbf7 0%, #f5d5e0 100%);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(201, 169, 98, 0.1);
}

.shop-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--shekinah-gold), var(--shekinah-pink), var(--shekinah-gold));
}

.shop-header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--shekinah-black);
    margin-bottom: 1rem;
}

.shop-header .shop-subtitle {
    color: var(--shekinah-gray);
    font-size: 1rem;
}

/* Layout de la tienda - Grid corregido */
.shop-layout {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 992px) {
    .shop-layout.has-sidebar {
        display: grid;
        grid-template-columns: 280px 1fr;
        align-items: start;
    }
    .shop-layout.full-width {
        display: block;
    }
}

/* Barra de herramientas mejorada */
.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.woocommerce-result-count {
    font-size: 0.9rem;
    color: var(--shekinah-gray);
    margin: 0;
}

.woocommerce-ordering {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.woocommerce-ordering select {
    padding: 0.75rem 1rem;
    border: 2px solid var(--shekinah-pink-dark);
    border-radius: 10px;
    background: white;
    font-size: 0.9rem;
    color: var(--shekinah-black);
    cursor: pointer;
    transition: all 0.3s ease;
}

.woocommerce-ordering select:hover {
    border-color: var(--shekinah-gold);
}

/* Grid de productos moderno */
.woocommerce .products {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
    gap: 2rem !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media (max-width: 1200px) {
    .woocommerce .products {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    }
}

@media (max-width: 768px) {
    .woocommerce .products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .woocommerce .products {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}

/* Tarjeta de producto moderna */
.woocommerce .product {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid transparent;
}

.woocommerce .product:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(201, 169, 98, 0.2);
    border-color: var(--shekinah-gold);
}

/* Imagen del producto */
.woocommerce .product .product-image-wrapper,
.woocommerce .product a.woocommerce-LoopProduct-link {
    display: block;
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f4f0 0%, #ffffff 100%);
}

.woocommerce .product img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.6s ease !important;
}

.woocommerce .product:hover img {
    transform: scale(1.08);
}

/* Badge de descuento */
.woocommerce .product .onsale {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    min-height: auto;
    line-height: 1;
}

/* Información del producto */
.woocommerce .product .product-info {
    padding: 1.5rem;
}

.woocommerce .product .woocommerce-loop-product__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--shekinah-black);
    margin-bottom: 0.75rem;
    line-height: 1.3;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}

.woocommerce .product .price {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--shekinah-gold);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.woocommerce .product .price del {
    font-size: 0.9rem;
    color: var(--shekinah-gray);
    font-weight: 500;
    order: 2;
}

.woocommerce .product .price ins {
    text-decoration: none;
    order: 1;
}

/* Botón agregar al carrito */
.woocommerce .product .add_to_cart_button,
.woocommerce .product .button {
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--shekinah-gold), #a68b4b);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(10px);
}

.woocommerce .product:hover .add_to_cart_button,
.woocommerce .product:hover .button {
    opacity: 1;
    transform: translateY(0);
}

.woocommerce .product .add_to_cart_button:hover,
.woocommerce .product .button:hover {
    background: linear-gradient(135deg, #a68b4b, #8a7340);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201, 169, 98, 0.3);
}

/* Rating estrellas */
.woocommerce .product .star-rating {
    color: var(--shekinah-gold);
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
}

/* Paginación moderna */
.woocommerce-pagination {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
}

.woocommerce-pagination ul {
    display: flex;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-pagination ul li {
    margin: 0;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    color: var(--shekinah-gray);
    border: 2px solid var(--shekinah-pink-dark);
    text-decoration: none;
}

.woocommerce-pagination ul li a:hover {
    background: var(--shekinah-gold);
    color: white;
    border-color: var(--shekinah-gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(201, 169, 98, 0.3);
}

.woocommerce-pagination ul li span.current {
    background: linear-gradient(135deg, var(--shekinah-gold), #a68b4b);
    color: white;
    border-color: var(--shekinah-gold);
}

/* Mensajes de WooCommerce mejorados */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.woocommerce-message {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    border-left: 4px solid #28a745;
}

.woocommerce-info {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    color: #856404;
    border-left: 4px solid #f39c12;
}

.woocommerce-error {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
    border-left: 4px solid #e74c3c;
}

/* Botón en mensajes */
.woocommerce-message .button {
    margin-left: auto;
    padding: 0.75rem 1.5rem;
    background: #28a745;
    color: white;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}

/* Breadcrumb moderno */
.woocommerce-breadcrumb {
    padding: 1rem 0;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--shekinah-gray);
}

.woocommerce-breadcrumb a {
    color: var(--shekinah-gold);
    text-decoration: none;
    font-weight: 500;
}

.woocommerce-breadcrumb a:hover {
    text-decoration: underline;
}

/* Filtros y sidebar */
.shop-sidebar .widget {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.shop-sidebar .widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--shekinah-black);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--shekinah-gold);
}

/* Filtro de precio */
.widget_price_filter .price_slider_wrapper {
    padding-top: 1rem;
}

.widget_price_filter .ui-slider {
    height: 6px;
    background: var(--shekinah-pink-dark);
    border-radius: 3px;
    margin-bottom: 1.5rem;
}

.widget_price_filter .ui-slider .ui-slider-range {
    background: linear-gradient(90deg, var(--shekinah-gold), #a68b4b);
    border-radius: 3px;
}

.widget_price_filter .ui-slider .ui-slider-handle {
    width: 20px;
    height: 20px;
    background: white;
    border: 3px solid var(--shekinah-gold);
    border-radius: 50%;
    top: -7px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.widget_price_filter .price_slider_amount {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.widget_price_filter .price_label {
    font-size: 0.9rem;
    color: var(--shekinah-gray);
}

.widget_price_filter .button {
    padding: 0.5rem 1rem;
    background: var(--shekinah-gold);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
}

/* Lista de categorías */
.widget_product_categories ul {
    list-style: none;
    padding: 0;
}

.widget_product_categories ul li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--shekinah-pink-dark);
}

.widget_product_categories ul li:last-child {
    border-bottom: none;
}

.widget_product_categories ul li a {
    color: var(--shekinah-gray-dark);
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.widget_product_categories ul li a:hover {
    color: var(--shekinah-gold);
    padding-left: 0.5rem;
}

.widget_product_categories .count {
    background: var(--shekinah-pink-light);
    color: var(--shekinah-gold);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Tags de productos */
.widget_product_tag_cloud .tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.widget_product_tag_cloud a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--shekinah-pink-light);
    color: var(--shekinah-gray-dark);
    border-radius: 20px;
    font-size: 0.8rem !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.widget_product_tag_cloud a:hover {
    background: var(--shekinah-gold);
    color: white;
}

/* Layout con sidebar */
.shop-layout-with-sidebar {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
}

@media (max-width: 968px) {
    .shop-layout-with-sidebar {
        grid-template-columns: 1fr;
    }
    
    .shop-sidebar {
        order: 2;
    }
}

/* ============================================
   SHOP PAGE - ORIGINAL STYLES BELOW
   ============================================ */
.woocommerce-shop {
    padding-bottom: 4rem;
}

/* Shop Toolbar */
.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1rem 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--shekinah-pink-dark);
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.woocommerce-ordering {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.woocommerce-ordering select {
    min-width: 220px;
    padding: 0.5rem 2rem 0.5rem 1rem;
    border: 1px solid var(--shekinah-pink-dark);
    background-color: var(--shekinah-white);
}

@media (max-width: 768px) {
    .shop-toolbar {
        align-items: stretch;
    }

    .toolbar-right {
        width: 100%;
        margin-left: 0;
        justify-content: space-between;
    }

    .woocommerce-ordering {
        flex: 1;
    }

    .woocommerce-ordering select {
        width: 100%;
        min-width: 0;
    }
}

.view-switcher {
    display: flex;
    gap: 0.5rem;
}

.view-switcher button {
    width: 40px;
    height: 40px;
    background: var(--shekinah-white);
    border: 1px solid var(--shekinah-pink-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-switcher button.active,
.view-switcher button:hover {
    background: var(--shekinah-gold);
    border-color: var(--shekinah-gold);
    color: var(--shekinah-white);
}

/* Shop Sidebar Widgets */
.shop-sidebar .widget {
    background: var(--shekinah-white);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--shekinah-pink-dark);
}

.shop-sidebar .widget-title {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--shekinah-gold);
}

/* Price Filter */
.woocommerce .widget_price_filter .price_slider_wrapper {
    padding-top: 1rem;
}

.woocommerce .widget_price_filter .ui-slider {
    background: var(--shekinah-pink-dark);
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-range {
    background: var(--shekinah-gold);
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-handle {
    background: var(--shekinah-gold);
    border: 2px solid var(--shekinah-white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.woocommerce .widget_price_filter .price_slider_amount {
    margin-top: 1.5rem;
}

.woocommerce .widget_price_filter .price_slider_amount .button {
    padding: 0.75rem 1.5rem;
    font-size: 0.75rem;
}

/* ============================================
   SINGLE PRODUCT PAGE
   ============================================ */
.single-product-page {
    padding-bottom: 4rem;
}

.single-product-page .page-header-banner.mini {
    padding: 2rem 0;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

@media (max-width: 768px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Product Gallery */
.product-gallery-wrapper {
    position: sticky;
    top: 120px;
}

.woocommerce-product-gallery {
    position: relative;
    margin-bottom: 2rem;
}

.woocommerce-product-gallery__wrapper {
    background: var(--shekinah-pink-light);
}

.woocommerce-product-gallery__image img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

/* Zoom and lightbox icons */
.woocommerce-product-gallery__trigger {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: var(--shekinah-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Thumbnails */
.flex-control-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.flex-control-thumbs li {
    cursor: pointer;
}

.flex-control-thumbs img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.flex-control-thumbs img.flex-active,
.flex-control-thumbs img:hover {
    border-color: var(--shekinah-gold);
}

/* Product Summary */
.product-summary {
    padding: 2rem 0;
}

.product-categories {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--shekinah-gold);
    margin-bottom: 1rem;
}

.product-categories a {
    color: var(--shekinah-gold);
}

.single-product-page .product-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.product-price-wrapper {
    margin-bottom: 1.5rem;
}

.product-price-wrapper .price {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--shekinah-gold);
}

.product-price-wrapper .price del {
    font-size: 1.25rem;
    color: var(--shekinah-gray);
    margin-right: 0.5rem;
}

.product-price-wrapper .price ins {
    text-decoration: none;
}

.product-short-description {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--shekinah-pink-dark);
}

/* Add to Cart Form */
.cart {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
}

.quantity {
    display: flex;
    align-items: center;
}

.quantity .qty {
    width: 60px;
    height: 50px;
    text-align: center;
    border: 1px solid var(--shekinah-pink-dark);
    border-radius: 0;
    appearance: none;
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
}

.quantity .qty::-webkit-outer-spin-button,
.quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.single_add_to_cart_button {
    height: 50px;
    padding: 0 2rem;
}

/* Stock status */
.stock {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.stock.in-stock {
    background: #d4edda;
    color: #155724;
}

.stock.out-of-stock {
    background: #f8d7da;
    color: #721c24;
}

/* Product Meta */
.product-meta {
    margin-bottom: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--shekinah-pink-dark);
    border-bottom: 1px solid var(--shekinah-pink-dark);
}

.product_meta {
    display: grid;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.product_meta span {
    display: flex;
    gap: 0.5rem;
}

.product_meta .label {
    font-weight: 600;
    color: var(--shekinah-black);
}

.product_meta a {
    color: var(--shekinah-gold);
}

/* Product Share */
.product-share {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.share-label {
    font-weight: 600;
    color: var(--shekinah-black);
}

.product-share a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--shekinah-pink-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--shekinah-gray-dark);
    transition: all 0.3s ease;
}

.product-share a:hover {
    background: var(--shekinah-gold);
    border-color: var(--shekinah-gold);
    color: var(--shekinah-white);
}

/* Product Tabs */
.product-tabs-wrapper {
    margin-bottom: 4rem;
}

.woocommerce-tabs {
    border: 1px solid var(--shekinah-pink-dark);
}

.woocommerce-tabs ul.tabs {
    display: flex;
    border-bottom: 1px solid var(--shekinah-pink-dark);
    margin: 0;
    padding: 0;
}

.woocommerce-tabs ul.tabs li {
    border: none;
    background: transparent;
    margin: 0;
    padding: 0;
}

.woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 1.5rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--shekinah-gray);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.woocommerce-tabs ul.tabs li.active a {
    color: var(--shekinah-gold);
    border-bottom-color: var(--shekinah-gold);
}

.woocommerce-tabs .panel {
    padding: 2rem;
    background: var(--shekinah-white);
}

/* Reviews */
.woocommerce-Reviews {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

@media (max-width: 768px) {
    .woocommerce-Reviews {
        grid-template-columns: 1fr;
    }
}

.woocommerce-Reviews-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.commentlist {
    margin-bottom: 2rem;
}

.review {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--shekinah-pink-dark);
}

.review:last-child {
    border-bottom: none;
}

.avatar {
    border-radius: 50%;
}

.star-rating {
    color: var(--shekinah-gold);
}

/* Related Products */
.related-products-wrapper {
    margin-top: 4rem;
}

.related-products-wrapper h2 {
    text-align: center;
    margin-bottom: 2rem;
}

/* ============================================
   CART & CHECKOUT
   ============================================ */
.woocommerce-cart,
.woocommerce-checkout {
    padding-bottom: 4rem;
}

.woocommerce-cart-form,
.woocommerce-checkout form.checkout {
    background: var(--shekinah-white);
    padding: 2rem;
    margin-bottom: 2rem;
}

/* Cart table */
.woocommerce-cart table.cart {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce-cart table.cart th {
    text-align: left;
    padding: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    border-bottom: 2px solid var(--shekinah-gold);
}

.woocommerce-cart table.cart td {
    padding: 1rem;
    border-bottom: 1px solid var(--shekinah-pink-dark);
}

.woocommerce-cart table.cart .product-thumbnail img {
    width: 100px;
    height: auto;
}

.woocommerce-cart table.cart .product-name a {
    font-weight: 600;
    color: var(--shekinah-black);
}

.woocommerce-cart table.cart .product-remove a {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    background: #f8d7da;
    color: #721c24;
    border-radius: 50%;
    font-size: 1.25rem;
}

/* Cart totals */
.cart_totals {
    background: var(--shekinah-pink-light);
    padding: 2rem;
}

.cart_totals h2 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.woocommerce-cart .cart-collaterals table {
    width: 100%;
    margin-bottom: 1.5rem;
}

.woocommerce-cart .cart-collaterals th,
.woocommerce-cart .cart-collaterals td {
    padding: 0.75rem 0;
    text-align: left;
}

/* Checkout form */
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout #order_review_heading {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.woocommerce-checkout .form-row {
    margin-bottom: 1rem;
}

.woocommerce-checkout label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.woocommerce-checkout input,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--shekinah-pink-dark);
}

/* Order review */
.woocommerce-checkout-review-order {
    background: var(--shekinah-pink-light);
    padding: 2rem;
}

.woocommerce-checkout-review-order-table {
    width: 100%;
    margin-bottom: 1.5rem;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 0.75rem 0;
    text-align: left;
    border-bottom: 1px solid var(--shekinah-pink-dark);
}

#place_order {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
}

/* ============================================
   NOTICES & MESSAGES
   ============================================ */
.woocommerce-notices-wrapper {
    margin-bottom: 1rem;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-success {
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.woocommerce-message {
    background: #d4edda;
    border-left: 4px solid #155724;
    color: #155724;
}

.woocommerce-info {
    background: #fff3cd;
    border-left: 4px solid #856404;
    color: #856404;
}

.woocommerce-error {
    background: #f8d7da;
    border-left: 4px solid #721c24;
    color: #721c24;
}

.woocommerce-message .button {
    margin-left: auto;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

/* ============================================
   PRODUCTS GRID - SHOP
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    align-items: stretch;
}

.shop-content .products.products-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
    gap: 24px !important;
    width: 100% !important;
    align-items: stretch !important;
    justify-items: stretch !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.shop-content .products.products-grid > * {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    transform: none !important;
    height: 100% !important;
}

.shop-content .products.products-grid > .product-card-premium,
.shop-content .products.products-grid > article.product {
    width: 100% !important;
    min-width: 0 !important;
}

.shop-content .products.products-grid .product-image-premium,
.shop-content .products.products-grid .product-info-premium {
    width: 100% !important;
}

.shop-content .products.products-grid .product-info-premium {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.shop-content .products.products-grid .cart {
    margin-top: auto;
}

.shop-content .products.products-grid .product-title-premium {
    font-size: 1.05rem;
    line-height: 1.35;
    word-break: normal;
    overflow-wrap: anywhere;
}

.products-grid > .product,
.products-grid > .product-card-premium {
    display: flex;
    flex-direction: column;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* Product Card in Shop */
.products-grid .product-card-premium {
    background: var(--shekinah-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.products-grid .product-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(201, 169, 98, 0.15);
}

.products-grid .product-image-premium {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--shekinah-pink-light);
}

.products-grid .product-image-premium img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.products-grid .product-card-premium:hover .product-image-premium img {
    transform: scale(1.08);
}

/* Pagination */
.woocommerce-pagination-wrapper {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.woocommerce-pagination {
    display: flex;
    gap: 0.5rem;
}

.woocommerce-pagination a,
.woocommerce-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.woocommerce-pagination a {
    background: var(--shekinah-white);
    color: var(--shekinah-gray);
    border: 1px solid var(--shekinah-pink-dark);
}

.woocommerce-pagination a:hover {
    background: var(--shekinah-gold);
    color: var(--shekinah-white);
    border-color: var(--shekinah-gold);
}

.woocommerce-pagination span.current {
    background: var(--shekinah-gold);
    color: var(--shekinah-white);
}

/* ============================================
   SINGLE PRODUCT - PREMIUM DESIGN
   ============================================ */
.single-product-premium {
    background: linear-gradient(180deg, #faf7f5 0%, #ffffff 100%);
}

.single-product-premium .container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Breadcrumb elegante */
.breadcrumb-wrapper {
    background: var(--shekinah-pink-light);
    padding: 1rem 0;
    border-bottom: 1px solid var(--shekinah-pink-dark);
}

.breadcrumb-wrapper .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.breadcrumb-wrapper .woocommerce-breadcrumb {
    font-size: 0.875rem;
    color: var(--shekinah-gray);
}

.breadcrumb-wrapper a {
    color: var(--shekinah-gold);
}

/* Layout principal del producto */
.product-hero-section {
    padding: 2rem 0;
    width: 100%;
}

.product-hero-section > .container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-premium-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    width: 100%;
}

.product-gallery-premium {
    position: sticky;
    top: 100px;
    width: 100%;
}

.product-info-premium-wrapper {
    width: 100%;
    min-width: 0;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

@media (max-width: 968px) {
    .product-premium-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .product-gallery-premium {
        position: relative;
        top: 0;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Galería de imágenes */
.gallery-main-image {
    position: relative;
    background: var(--shekinah-pink-light);
    border-radius: 24px;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 3/4;
}

.gallery-main-image .main-image,
.gallery-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-main-image:hover .main-image {
    transform: scale(1.03);
}

/* Badges premium */
.product-badges-premium {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.badge-discount {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.badge-popular {
    background: linear-gradient(135deg, var(--shekinah-gold), #a68b4b);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.75rem;
}

.badge-out {
    background: #95a5a6;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
}

/* Thumbnails */
.gallery-thumbnails {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.thumb-item {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-item:hover,
.thumb-item.active {
    border-color: var(--shekinah-gold);
    opacity: 1;
    transform: scale(1.05);
}

/* Info del producto - ya definido arriba */

.product-category-premium {
    display: inline-block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--shekinah-gold);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.product-title-premium {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--shekinah-black);
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* Rating */
.product-rating-premium {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.product-rating-premium .stars {
    color: var(--shekinah-gold);
}

.rating-text {
    font-size: 0.875rem;
    color: var(--shekinah-gray);
}

/* Precio section */
.product-price-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--shekinah-pink-dark);
}

.price-main {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
}

.price-main .amount {
    color: var(--shekinah-gold);
}

.price-main del {
    font-size: 1.25rem;
    color: var(--shekinah-gray);
    margin-right: 1rem;
}

.price-main del .amount {
    color: var(--shekinah-gray);
    text-decoration: line-through;
}

.price-savings {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
}

.savings-label {
    font-size: 0.75rem;
    color: #155724;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.savings-amount {
    font-weight: 700;
    color: #155724;
    font-size: 1rem;
}

/* Descripción corta */
.product-short-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--shekinah-gray-dark);
    margin-bottom: 2rem;
}

/* Features mini */
.product-features-mini {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-item span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--shekinah-black);
}

.feature-item small {
    font-size: 0.75rem;
    color: var(--shekinah-gray);
    display: block;
}

/* Purchase section */
.purchase-section {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    margin-bottom: 1.5rem;
}

.quantity-row {
    margin-bottom: 1.5rem;
}

.quantity-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-wrapper label {
    font-weight: 600;
    color: var(--shekinah-black);
}

.quantity-input-group {
    display: flex;
    align-items: center;
    border: 2px solid var(--shekinah-pink-dark);
    border-radius: 12px;
    overflow: hidden;
}

.qty-btn {
    width: 45px;
    height: 45px;
    background: var(--shekinah-pink-light);
    border: none;
    font-size: 1.25rem;
    color: var(--shekinah-black);
    cursor: pointer;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    background: var(--shekinah-gold);
    color: white;
}

.qty-input {
    width: 60px;
    height: 45px;
    border: none;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
}

/* Botones de acción */
.action-buttons-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.btn-add-cart-premium {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--shekinah-gold), #a68b4b);
    color: white;
    border: none;
    padding: 1.25rem 2rem;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(201, 169, 98, 0.3);
}

.btn-add-cart-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 169, 98, 0.4);
}

.btn-reserva-premium {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: white;
    color: var(--shekinah-gold);
    border: 2px solid var(--shekinah-gold);
    padding: 1.25rem 2rem;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-reserva-premium:hover {
    background: var(--shekinah-gold);
    color: white;
}

/* Trust section */
.trust-section {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--shekinah-gray-dark);
}

/* Share section */
.share-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--shekinah-pink-dark);
}

.share-section span {
    font-weight: 600;
    color: var(--shekinah-black);
}

.share-buttons {
    display: flex;
    gap: 0.75rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-btn.whatsapp {
    background: #25d366;
    color: white;
}

.share-btn.facebook {
    background: #1877f2;
    color: white;
}

.share-btn.email {
    background: var(--shekinah-gray);
    color: white;
}

.share-btn.copy {
    background: var(--shekinah-pink-light);
    color: var(--shekinah-black);
}

.share-btn:hover {
    transform: scale(1.1);
}

/* Tabs Section */
.product-tabs-section {
    padding: 4rem 0;
    background: white;
}

.custom-tabs-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.tabs-header {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid var(--shekinah-pink-dark);
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 1rem 2rem;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--shekinah-gray);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: var(--shekinah-gold);
}

.tab-btn.active {
    color: var(--shekinah-gold);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--shekinah-gold);
}

.tabs-content {
    background: var(--shekinah-pink-light);
    padding: 2.5rem;
    border-radius: 20px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Tabla de detalles */
.product-details-table {
    width: 100%;
    border-collapse: collapse;
}

.product-details-table th,
.product-details-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--shekinah-pink-dark);
}

.product-details-table th {
    width: 30%;
    font-weight: 600;
    color: var(--shekinah-black);
}

.product-details-table td {
    color: var(--shekinah-gray-dark);
}

/* Shipping cards */
.shipping-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .shipping-info {
        grid-template-columns: 1fr;
    }
}

.shipping-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.shipping-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.shipping-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--shekinah-black);
}

.shipping-card p {
    font-size: 0.875rem;
    color: var(--shekinah-gray);
    margin-bottom: 0.75rem;
}

.shipping-price {
    display: inline-block;
    background: linear-gradient(135deg, var(--shekinah-gold), #a68b4b);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
}

.shipping-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--shekinah-gray);
    margin-top: 1.5rem;
}

/* Related Products */
.related-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #faf7f5 100%);
}

.section-header-premium {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--shekinah-gold);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.section-title-premium {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--shekinah-black);
    margin-bottom: 1rem;
}

.section-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--shekinah-gold), transparent);
    margin: 0 auto;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 968px) {
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .related-products-grid {
        grid-template-columns: 1fr;
    }
}

.related-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.related-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.related-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.related-image {
    aspect-ratio: 3/4;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-item:hover .related-image img {
    transform: scale(1.08);
}

.related-info {
    padding: 1.5rem;
}

.related-info h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--shekinah-black);
}

.related-price {
    font-weight: 700;
    color: var(--shekinah-gold);
    font-size: 1.125rem;
}

/* CTA Section */
.product-cta-section {
    padding: 4rem 0;
}

.cta-box-premium {
    background: linear-gradient(135deg, var(--shekinah-gold), #a68b4b);
    border-radius: 24px;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    color: white;
}

@media (max-width: 768px) {
    .cta-box-premium {
        flex-direction: column;
        text-align: center;
    }
}

.cta-content h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.cta-content p {
    opacity: 0.9;
    font-size: 1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.btn-cta-whatsapp {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: var(--shekinah-gold);
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cta-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.btn-cta-reservar {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cta-reservar:hover {
    background: white;
    color: var(--shekinah-gold);
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE & TABLET
   ============================================ */

/* Tablets (768px - 1024px) */
@media (max-width: 1024px) {
    .product-premium-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .product-gallery-premium {
        position: relative;
        top: 0;
        max-width: 400px;
        width: 100%;
        margin: 0 auto;
    }
    
    .product-info-premium-wrapper {
        width: 100%;
    }
    
    .product-title-premium {
        font-size: 2rem;
    }
    
    .related-products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

/* Tablets pequeñas y móviles grandes (576px - 768px) */
@media (max-width: 768px) {
    .breadcrumb-wrapper {
        padding: 0.75rem 0;
    }
    
    .product-hero-section {
        padding: 2rem 0;
    }
    
    .product-title-premium {
        font-size: 1.75rem;
    }
    
    .product-price-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .price-main {
        font-size: 1.75rem;
    }
    
    .product-features-mini {
        flex-direction: column;
        gap: 1rem;
    }
    
    .action-buttons-row {
        grid-template-columns: 1fr;
    }
    
    .btn-add-cart-premium,
    .btn-reserva-premium {
        padding: 1rem 1.5rem;
        font-size: 0.9375rem;
    }
    
    .trust-section {
        flex-direction: column;
        gap: 1rem;
    }
    
    .tabs-header {
        flex-wrap: wrap;
        gap: 0;
    }
    
    .tab-btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .tabs-content {
        padding: 1.5rem;
    }
    
    .shipping-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .shipping-card {
        padding: 1.5rem;
    }
    
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .related-info {
        padding: 1rem;
    }
    
    .related-info h4 {
        font-size: 0.875rem;
    }
    
    .related-price {
        font-size: 1rem;
    }
    
    .cta-box-premium {
        flex-direction: column;
        padding: 2rem;
        text-align: center;
    }
    
    .cta-content h3 {
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-cta-whatsapp,
    .btn-cta-reservar {
        width: 100%;
        justify-content: center;
    }
}

/* Móviles (hasta 576px) */
@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .breadcrumb-wrapper .woocommerce-breadcrumb {
        font-size: 0.75rem;
    }
    
    .product-hero-section {
        padding: 1.5rem 0;
    }
    
    .gallery-main-image {
        border-radius: 16px;
    }
    
    .product-badges-premium {
        top: 1rem;
        left: 1rem;
    }
    
    .badge-discount,
    .badge-popular,
    .badge-out {
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .gallery-thumbnails {
        gap: 0.75rem;
    }
    
    .thumb-item {
        width: 60px;
        height: 60px;
    }
    
    .product-info-premium-wrapper {
        padding: 0;
    }
    
    .product-category-premium {
        font-size: 0.75rem;
    }
    
    .product-title-premium {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .product-rating-premium {
        margin-bottom: 1rem;
    }
    
    .price-main {
        font-size: 1.5rem;
    }
    
    .price-main del {
        font-size: 1rem;
    }
    
    .price-savings {
        padding: 0.5rem 1rem;
    }
    
    .savings-label {
        font-size: 0.625rem;
    }
    
    .savings-amount {
        font-size: 0.875rem;
    }
    
    .product-short-desc {
        font-size: 0.9375rem;
        margin-bottom: 1.5rem;
    }
    
    .product-features-mini {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-item span {
        font-size: 0.8125rem;
    }
    
    .feature-item small {
        font-size: 0.6875rem;
    }
    
    .purchase-section {
        padding: 1.5rem;
    }
    
    .quantity-wrapper label {
        font-size: 0.875rem;
    }
    
    .qty-btn {
        width: 40px;
        height: 40px;
    }
    
    .qty-input {
        width: 50px;
        height: 40px;
    }
    
    .btn-add-cart-premium,
    .btn-reserva-premium {
        padding: 0.875rem 1rem;
        font-size: 0.875rem;
    }
    
    .btn-add-cart-premium svg,
    .btn-reserva-premium svg {
        width: 18px;
        height: 18px;
    }
    
    .trust-section {
        margin-bottom: 1.5rem;
    }
    
    .trust-item {
        font-size: 0.75rem;
    }
    
    .share-section {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .share-section span {
        font-size: 0.875rem;
    }
    
    .share-btn {
        width: 36px;
        height: 36px;
    }
    
    .product-tabs-section {
        padding: 2rem 0;
    }
    
    .tabs-header {
        border-bottom: none;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 0.5rem;
    }
    
    .tabs-header::-webkit-scrollbar {
        display: none;
    }
    
    .tab-btn {
        padding: 0.75rem 1rem;
        font-size: 0.8125rem;
        white-space: nowrap;
        border-bottom: 2px solid var(--shekinah-pink-dark);
    }
    
    .tab-btn.active {
        border-bottom-color: var(--shekinah-gold);
    }
    
    .tab-btn.active::after {
        display: none;
    }
    
    .tabs-content {
        padding: 1.25rem;
        border-radius: 16px;
    }
    
    .product-details-table th,
    .product-details-table td {
        padding: 0.75rem;
        font-size: 0.875rem;
    }
    
    .product-details-table th {
        width: 40%;
    }
    
    .shipping-card {
        padding: 1.25rem;
    }
    
    .shipping-icon {
        font-size: 2rem;
    }
    
    .shipping-card h4 {
        font-size: 1rem;
    }
    
    .shipping-card p {
        font-size: 0.8125rem;
    }
    
    .shipping-price {
        font-size: 0.8125rem;
    }
    
    .related-section {
        padding: 2rem 0;
    }
    
    .section-header-premium {
        margin-bottom: 2rem;
    }
    
    .section-subtitle {
        font-size: 0.75rem;
    }
    
    .section-title-premium {
        font-size: 1.5rem;
    }
    
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .related-image {
        aspect-ratio: 1;
    }
    
    .related-info {
        padding: 0.75rem;
    }
    
    .related-info h4 {
        font-size: 0.8125rem;
        margin-bottom: 0.25rem;
    }
    
    .related-price {
        font-size: 0.875rem;
    }
    
    .product-cta-section {
        padding: 2rem 0;
    }
    
    .cta-box-premium {
        padding: 1.5rem;
        border-radius: 20px;
    }
    
    .cta-content h3 {
        font-size: 1.25rem;
    }
    
    .cta-content p {
        font-size: 0.875rem;
    }
    
    .cta-buttons {
        width: 100%;
    }
    
    .btn-cta-whatsapp,
    .btn-cta-reservar {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }
}

/* Móviles pequeños (hasta 375px) */
@media (max-width: 375px) {
    .product-title-premium {
        font-size: 1.25rem;
    }
    
    .price-main {
        font-size: 1.25rem;
    }
    
    .gallery-thumbnails {
        gap: 0.5rem;
    }
    
    .thumb-item {
        width: 50px;
        height: 50px;
    }
    
    .btn-add-cart-premium,
    .btn-reserva-premium {
        font-size: 0.8125rem;
        padding: 0.75rem 0.5rem;
    }
    
    .related-products-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-btn {
        padding: 0.625rem 0.875rem;
        font-size: 0.75rem;
    }
}

/* Touch improvements */
@media (hover: none) and (pointer: coarse) {
    .gallery-main-image:hover .main-image {
        transform: none;
    }
    
    .thumb-item:hover {
        transform: none;
    }
    
    .btn-add-cart-premium:hover,
    .btn-reserva-premium:hover,
    .btn-cta-whatsapp:hover,
    .btn-cta-reservar:hover {
        transform: none;
    }
    
    .related-item:hover {
        transform: none;
    }
    
    .related-item:hover .related-image img {
        transform: none;
    }
}

/* Responsive Mobile - Tables y Elementos */
@media (max-width: 768px) {
    /* Tablas responsive */
    .woocommerce table.shop_table,
    .woocommerce table.shop_table_responsive,
    .woocommerce-cart table.cart,
    .woocommerce-checkout table,
    .woocommerce-account table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border: none;
        background: transparent;
    }
    
    .woocommerce table.shop_table thead {
        display: none;
    }
    
    .woocommerce table.shop_table tbody,
    .woocommerce table.shop_table tr,
    .woocommerce table.shop_table td {
        display: block;
        width: 100% !important;
    }
    
    .woocommerce table.shop_table tr {
        margin-bottom: 1rem;
        background: white;
        border-radius: 16px;
        padding: 1rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(201, 169, 98, 0.15);
    }
    
    .woocommerce table.shop_table td {
        text-align: right !important;
        padding: 0.75rem 0;
        border: none;
        border-bottom: 1px solid var(--shekinah-pink-dark);
    }
    
    .woocommerce table.shop_table td:last-child {
        border-bottom: none;
    }
    
    .woocommerce table.shop_table td::before {
        content: attr(data-title);
        float: left;
        font-weight: 600;
        color: var(--shekinah-black);
    }
    
    /* Productos en carrito */
    .woocommerce-cart table.cart td.product-name {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        text-align: left !important;
    }
    
    .woocommerce-cart table.cart td.product-name::before {
        content: 'Producto:';
        font-weight: 600;
    }
    
    .woocommerce-cart table.cart td.product-thumbnail img {
        max-width: 80px;
    }
    
    /* Cantidad en móvil */
    .woocommerce .quantity {
        display: flex;
        justify-content: flex-end;
    }
    
    /* Botones */
    .woocommerce-cart .actions .button,
    .woocommerce-cart .checkout-button {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    /* Checkout - Formularios */
    .woocommerce-checkout .col2-set {
        display: flex;
        flex-direction: column;
    }
    
    .woocommerce-checkout .col2-set .col-1,
    .woocommerce-checkout .col2-set .col-2 {
        width: 100%;
        float: none;
    }
    
    /* Campos de formulario */
    .woocommerce form .form-row {
        width: 100%;
        float: none;
    }
    
    /* Mi cuenta - Tabs */
    .woocommerce-account .woocommerce-MyAccount-navigation {
        width: 100%;
        float: none;
        margin-bottom: 2rem;
    }
    
    .woocommerce-account .woocommerce-MyAccount-content {
        width: 100%;
        float: none;
    }
    
    .woocommerce-MyAccount-navigation ul {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .woocommerce-MyAccount-navigation ul li {
        flex: 1;
        min-width: 140px;
    }
    
    /* Grid de productos */
    .woocommerce .products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem;
    }
    
    .woocommerce .product {
        margin-bottom: 1rem;
    }
    
    /* Producto individual */
    .product-premium-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-gallery-premium {
        position: relative;
        top: 0;
    }
    
    /* Tabs del producto */
    .premium-tabs {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .premium-tabs .tab-button {
        width: 100%;
        text-align: center;
    }
    
    /* Header móvil */
    .header-premium {
        padding: 0.75rem 1rem;
    }
    
    /* Menú móvil */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Hero section */
    .hero-section-premium {
        padding: 2rem 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    /* Pagos */
    .woocommerce-checkout #payment ul.payment_methods li {
        padding: 1rem;
    }
    
    /* Mensajes */
    .woocommerce-message,
    .woocommerce-info,
    .woocommerce-error {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    /* Footer */
    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    .woocommerce .products {
        grid-template-columns: 1fr !important;
    }
    
    .woocommerce table.shop_table tr {
        padding: 0.75rem;
    }
    
    .woocommerce-MyAccount-navigation ul li {
        flex: 1 1 100%;
    }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .product-premium-layout {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .product-gallery-premium {
        position: relative;
        top: 0;
    }
    
    .gallery-main-image {
        aspect-ratio: 1;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .gallery-main-image .main-image,
    .thumb-item,
    .btn-add-cart-premium,
    .btn-reserva-premium,
    .related-item,
    .related-image img,
    .tab-panel {
        transition: none;
        animation: none;
    }
}
