    @media (max-width: 600px) {
        .product-card .product-actions,
        .product-card.mejorada .product-actions {
            flex-direction: column !important;
            gap: 0.4rem !important;
            margin-top: 0.1rem !important;
            align-items: stretch !important;
        }
        .btn-comprar,
        .btn-whatsapp,
        .btn-pagar {
            font-size: 0.85rem !important;
            padding: 0.5rem 0.7rem !important;
            height: 36px !important;
            min-width: 0 !important;
            width: 100% !important;
            border-radius: 8px !important;
            margin: 0 !important;
            box-shadow: 0 2px 8px rgba(169,120,105,0.18);
            white-space: normal !important;
            word-break: break-word !important;
        }
    }
    @media (max-width: 600px) {
        .product-card,
        .product-card.mejorada {
            max-width: 160px !important;
            min-width: 160px !important;
            width: 100%;
            height: 340px !important;
            display: flex;
            flex-direction: column;
            justify-content: stretch;
            align-items: center;
            margin: 0 auto 1.2rem auto;
        }
        .product-card .product-image,
        .product-card.mejorada .product-image {
            max-width: 140px !important;
            min-width: 140px !important;
            width: 100%;
            max-height: 140px !important;
            min-height: 140px !important;
            height: 140px !important;
        }
        .product-card .product-image img,
        .product-card.mejorada .product-image img {
            max-width: 140px !important;
            min-width: 140px !important;
            width: 100%;
            max-height: 140px !important;
            min-height: 140px !important;
            height: 140px !important;
            object-fit: cover !important;
            aspect-ratio: 1/1 !important;
        }
    }
    max-width: 220px !important;
    min-width: 220px !important;
    width: 100%;
    height: 420px !important;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    align-items: center;
    margin: 0 auto;
}
.product-card .product-image {
    aspect-ratio: 1/1 !important;
    width: 100%;
    max-width: 220px;
    min-width: 160px;
    max-height: 220px;
    min-height: 180px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f8f6f2;
    margin: 0 auto;
    border-radius: 18px 18px 0 0;
}
.product-card .product-image img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover !important;
    aspect-ratio: 1/1 !important;
    border-radius: 18px 18px 0 0;
    transition: transform 0.7s cubic-bezier(.4,1.6,.6,1);
}
.product-card .product-image {
    aspect-ratio: 1/1 !important;
    width: 100%;
    max-width: 220px;
    min-width: 160px;
    max-height: 220px;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f8f6f2;
    margin: 0 auto;
    border-radius: 18px 18px 0 0;
}
.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    aspect-ratio: 1/1 !important;
    border-radius: 18px 18px 0 0;
    transition: transform 0.7s cubic-bezier(.4,1.6,.6,1);
}
/* Estilos para la página de productos */
.product-grid {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: stretch;
        justify-content: center;
        gap: 2.5rem;
        margin-top: 2rem;
}

@media (max-width: 900px) {
    .product-grid {
        flex-direction: column;
        align-items: center;
    }
}

/* Tarjeta mejorada */
.product-card.mejorada {
    background: linear-gradient(135deg, #fffbe6 60%, #ffe7ba 100%);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 6px 32px rgba(197,155,45,0.10), 0 1.5px 8px rgba(0,0,0,0.04);
    transition: transform 0.3s, box-shadow 0.3s;
    max-width: 220px !important;
    min-width: 220px !important;
    width: 100%;
    height: 420px !important;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    align-items: center;
    margin: 0 auto;
}

.product-card.mejorada .product-price {
    font-size: 1.45rem;
    font-weight: 700;
    color: #b4882c;
    margin-bottom: 0.7rem;
}

.product-card.mejorada .product-actions {
    display: flex;
    flex-direction: row;
    gap: 0.7rem;
    margin-top: 1.1rem;
    justify-content: center;
}

/* Botones de detalle de producto (mismo tamaño y color) */
.detalle-producto-acciones {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    width: 100%;
}
.detalle-producto-acciones .btn-detalle,
.detalle-producto-acciones .btn-comprar,
.detalle-producto-acciones .btn-buy-now,
.detalle-producto-acciones .btn-whatsapp {
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto !important;
    height: 46px !important;
    border-radius: 14px !important;
    background: #A97869 !important;
    color: #F5EEE8 !important;
    font-weight: 700 !important;
    border: none !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.6rem !important;
    box-shadow: 0 6px 16px rgba(169,120,105,0.22) !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease !important;
    padding: 0 !important;
}
.detalle-producto-acciones .btn-detalle:hover,
.detalle-producto-acciones .btn-comprar:hover,
.detalle-producto-acciones .btn-buy-now:hover,
.detalle-producto-acciones .btn-whatsapp:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 22px rgba(169,120,105,0.28) !important;
    background: #A97869 !important;
    color: #F5EEE8 !important;
}

/* Estilos base compartidos para todos los botones */
.btn-comprar,
.btn-whatsapp,
.btn-pagar {
    background: #A97869;
    color: #F5EEE8;
    padding: 0.65rem 1.2rem;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
    text-decoration: none;
    width: 100%;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.9rem;
}

.btn-comprar:hover,
.btn-whatsapp:hover,
.btn-pagar:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(169,120,105,.25);
}

.product-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    gap: 0.5rem;
}

.badge {
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    backdrop-filter: blur(4px);
}

/* Lightbox para galería */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* Tabs de información */
.product-tabs {
    margin-top: 1rem;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.tab-buttons {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.tab-button {
    padding: 0.4rem 0.8rem;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--muted);
    border-bottom: 2px solid transparent;
    font-size: 0.9rem;
}

.tab-button.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.tab-content {
    display: none;
    font-size: 0.9rem;
    line-height: 1.5;
}

.tab-content.active {
    display: block;
}

.tab-content ul {
    margin: 0;
    padding-left: 1.2rem;
}

.tab-content ul li {
    margin-bottom: 0.3rem;
}

/* Responsive */
@media (max-width: 768px) {
    .product-grid {
        gap: 1.5rem;
    }
    .product-card.mejorada {
        max-width: 98vw;
        border-radius: 16px;
    }
    .product-card.mejorada .product-info {
        padding: 1.1rem 0.7rem 1.1rem;
    }
    .product-card.mejorada .product-title {
        font-size: 1.13rem;
    }
    .product-card.mejorada .product-description {
        font-size: 0.97rem;
    }
}

@media (max-width: 480px) {
    .product-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem !important;
        width: 100% !important;
        padding: 0 0.5rem;
        box-sizing: border-box;
    }
    .product-card.mejorada {
        display: flex !important;
        flex-direction: column;
        width: 100% !important;
        max-width: 100%;
        margin: 0 !important;
        border-radius: 16px;
        box-shadow: 0 4px 18px rgba(197,155,45,0.13), 0 1px 4px rgba(0,0,0,0.04);
        padding-bottom: 0.7rem;
        background: linear-gradient(135deg, #fffbe6 70%, #ffe7ba 100%);
    }
    .product-card.mejorada .product-image {
        aspect-ratio: 1.1/1;
        max-height: 220px;
        min-height: 160px;
        width: 100%;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f8f6f2;
        border-radius: 18px 18px 0 0;
    }
    .product-card.mejorada .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        aspect-ratio: 1.1/1;
        max-height: 220px;
        min-height: 160px;
        border-radius: 18px 18px 0 0;
        transition: transform 0.7s cubic-bezier(.4,1.6,.6,1);
    }
    .product-card.mejorada .product-info {
        padding: 0.7rem 0.4rem 0.7rem;
        text-align: center;
    }
    .product-card.mejorada .product-title {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    .product-card.mejorada .product-description {
        font-size: 0.89rem;
        margin-bottom: 0.5rem;
    }
    .product-card.mejorada .product-price {
        font-size: 1.01rem;
        color: #b4882c;
        margin-bottom: 0.4rem;
    }
    .product-card.mejorada .product-actions {
        flex-direction: column;
        gap: 0.4rem;
    }
    .btn-comprar,
    .btn-whatsapp {
        font-size: 0.95rem;
        padding: 0.6rem 0.7rem;
        height: 40px;
        border-radius: 10px;
    }
    .product-gallery {
        gap: 0.15rem;
        padding: 0.15rem;
    }
    .product-gallery img {
        max-height: 50px;
    }
}
    .product-card.mejorada .product-image {
        aspect-ratio: 1/1;
        max-height: 220px;
        border-radius: 18px 18px 0 0;
    }
    .product-card.mejorada .product-image img {
        border-radius: 18px 18px 0 0;
    }
    .product-card.mejorada .product-info {
        padding: 0.9rem 0.6rem 0.9rem;
        text-align: center;
    }
    .product-card.mejorada .product-title {
        font-size: 1.08rem;
        margin-bottom: 0.4rem;
    }
    .product-card.mejorada .product-description {
        font-size: 0.93rem;
        margin-bottom: 0.7rem;
    }
    .product-card.mejorada .product-price {
        font-size: 1.05rem;
        color: #b4882c;
        margin-bottom: 0.5rem;
    }
    .product-card.mejorada .product-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    .btn-comprar,
    .btn-whatsapp {
        font-size: 1rem;
        padding: 0.7rem 1.1rem;
        height: 44px;
        border-radius: 12px;
    }
    .product-gallery {
        gap: 0.2rem;
        padding: 0.2rem;
    }
    .product-gallery img {
        max-height: 60px;
    }
}