/* Confecciones Yaiza — Bootstrap overrides + componentes exclusivos
   Nota: Se ha eliminado "* { color: inherit !important }" y las variables CSS duplicadas.
   Los estilos base están en style.css. Aquí solo se mantienen los overrides de Bootstrap
   y los componentes que no están en style.css.
   ========================================================================= */

/* NAVEGACIÓN — override de Bootstrap */
.navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(15px) !important;
    border-bottom: 1px solid #ede7dc !important;
}

.navbar-brand {
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, #d4a574, #b8935f) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    transition: all 0.3s ease !important;
}

.navbar-brand:hover {
    transform: scale(1.05) !important;
    filter: brightness(1.1) !important;
}

.nav-link {
    color: #5a3d2b !important;
    position: relative !important;
    transition: all 0.3s ease !important;
    font-weight: 500 !important;
}

.nav-link::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    width: 0 !important;
    height: 2px !important;
    background: #d4a574 !important;
    transition: all 0.3s ease !important;
    transform: translateX(-50%) !important;
}

.nav-link:hover {
    color: #d4a574 !important;
    transform: translateY(-2px) !important;
}

.nav-link:hover::after {
    width: 80% !important;
}

/* Bootstrap dark overrides */
.bg-dark {
    background: #faf8f5 !important;
}

.text-dark {
    color: #5a3d2b !important;
}

/* FORMULARIOS — override Bootstrap */
.form-control {
    background: #ffffff !important;
    color: #5a3d2b !important;
    border: 1px solid #ede7dc !important;
    border-radius: 14px !important;
}

/* SECTION-TITLE */
.section-title {
    font-family: 'Playfair Display', serif !important;
    font-size: 2.8rem !important;
    font-weight: 300 !important;
    text-align: center !important;
    margin-bottom: 1rem !important;
    color: #5a3d2b !important;
    position: relative !important;
}

.section-title::after {
    content: '' !important;
    position: absolute !important;
    bottom: -10px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 80px !important;
    height: 3px !important;
    background: linear-gradient(90deg, #d4a574, #8b5a3c) !important;
    border-radius: 2px !important;
}

.section-subtitle {
    font-size: 1.1rem !important;
    color: #8b7355 !important;
    text-align: center !important;
    margin-bottom: 3rem !important;
    font-weight: 300 !important;
    line-height: 1.7 !important;
}

/* FOOTER — override Bootstrap */
.footer-elegant {
    background: #faf8f5 !important;
    color: #5a3d2b !important;
    border-top: 1px solid #ede7dc !important;
}

.footer-elegant a {
    color: #8b7355 !important;
}

.footer-elegant a:hover {
    color: #d4a574 !important;
}

/* SOCIAL LINKS */
.social-links a {
    background: #ffffff !important;
    color: #8b7355 !important;
    border: 1px solid #ede7dc !important;
}

.social-links a:hover {
    background: #d4a574 !important;
    color: #ffffff !important;
}

/* GRADIENT TEXT */
.gradient-text {
    background: linear-gradient(135deg, #d4a574, #8b5a3c) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* SCROLL SMOOTH */
html {
    scroll-behavior: smooth !important;
}

/* ====================================================
   ANIMACIONES LUXURY
   ==================================================== */
.animate-fade-up {
    animation: fadeInUpLuxury 0.8s ease-out;
}

.animate-fade-left {
    animation: fadeInLeftLuxury 0.8s ease-out;
}

.animate-fade-right {
    animation: fadeInRightLuxury 0.8s ease-out;
}

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

@keyframes fadeInLeftLuxury {
    from { opacity: 0; transform: translateX(-30px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRightLuxury {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes gentlePulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50%       { transform: scale(1.05); opacity: 1; }
}

/* ====================================================
   BOTONES LUXURY PREMIUM
   ==================================================== */
.btn-luxury-primary {
    background: linear-gradient(135deg, #d4a574 0%, #b8935f 100%);
    border: none;
    color: #ffffff;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-luxury-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-luxury-primary:hover::before { left: 100%; }

.btn-luxury-primary:hover {
    background: linear-gradient(135deg, #b8935f 0%, #8b5a3c 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(212, 165, 116, 0.35);
    color: #ffffff;
    text-decoration: none;
}

.btn-luxury-outline {
    background: transparent;
    border: 2px solid #d4a574;
    color: #d4a574;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-luxury-outline::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 100%;
    background: #d4a574;
    transition: width 0.4s ease;
    z-index: -1;
}

.btn-luxury-outline:hover::before { width: 100%; }

.btn-luxury-outline:hover {
    color: #ffffff;
    border-color: #d4a574;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.25);
    text-decoration: none;
}

@media (max-width: 768px) {
    .btn-luxury-primary,
    .btn-luxury-outline {
        width: 100%;
        justify-content: center;
        margin-bottom: 1rem;
    }
}

/* ====================================================
   HERO SECTION PREMIUM
   ==================================================== */
.hero-section-premium {
    background: linear-gradient(135deg, #ffffff 0%, #faf8f5 50%, #f8f6f3 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero-section-premium {
        min-height: 70vh;
        padding: 4rem 0;
    }
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* ====================================================
   CATEGORY CARDS PREMIUM
   ==================================================== */
#categorias { scroll-margin-top: 100px; }

.category-card-premium {
    background: #ffffff;
    border: 1px solid rgba(212, 165, 116, 0.15);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 4px 20px rgba(212, 165, 116, 0.08);
}

.category-card-premium::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d4a574, #8b5a3c);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.category-card-premium:hover::before { opacity: 1; }

.category-card-premium:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(212, 165, 116, 0.2);
    border-color: rgba(212, 165, 116, 0.3);
}

.category-icon-premium {
    font-size: 3.5rem;
    color: #d4a574;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    background: rgba(212, 165, 116, 0.1);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.category-card-premium:hover .category-icon-premium {
    background: #d4a574;
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
}

.category-badge {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    background: rgba(212, 165, 116, 0.15);
    color: #d4a574;
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.4s ease;
}

.category-card-premium:hover .category-badge {
    background: #d4a574;
    color: #ffffff;
    transform: scale(1.1);
}

.category-title-premium {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 500;
    color: #5a3d2b;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.category-card-premium:hover .category-title-premium {
    color: #d4a574;
}

.category-description-premium {
    color: #8b7355;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.category-stats { margin-bottom: 2rem; }

.stat-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #d4a574;
    font-weight: 600;
    background: rgba(212, 165, 116, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.category-card-premium:hover .stat-item {
    background: #d4a574;
    color: #ffffff;
}

.btn-category-premium {
    background: transparent;
    border: 2px solid rgba(212, 165, 116, 0.3);
    color: #d4a574;
    padding: 0.875rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-category-premium::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 100%;
    background: #d4a574;
    transition: width 0.4s ease;
    z-index: -1;
}

.btn-category-premium:hover::before { width: 100%; }

.btn-category-premium:hover {
    color: #ffffff;
    border-color: #d4a574;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 165, 116, 0.25);
    text-decoration: none;
}

@media (max-width: 768px) {
    .category-card-premium { padding: 2rem 1.5rem; margin-bottom: 2rem; }
    .category-icon-premium { font-size: 3rem; padding: 0.75rem; }
    .btn-category-premium { width: 100%; justify-content: center; }
}

/* ====================================================
   BARRA BÚSQUEDA LUXURY
   ==================================================== */
.form-control-luxury {
    background: #ffffff;
    border: 2px solid rgba(212, 165, 116, 0.3);
    border-radius: 50px;
    padding: 1rem 3.5rem 1rem 2rem;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    color: #5a3d2b;
}

.form-control-luxury:focus {
    border-color: #d4a574;
    box-shadow: 0 0 0 4px rgba(212, 165, 116, 0.1);
    transform: translateY(-2px);
}

.btn-search-luxury {
    position: absolute;
    right: 8px; top: 50%;
    transform: translateY(-50%);
    background: #d4a574;
    border: none;
    border-radius: 50%;
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-search-luxury:hover {
    background: #b8935f;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

/* ====================================================
   TRUST BADGES STRIP
   ==================================================== */
.trust-strip {
    padding: 2.5rem 0;
    background: linear-gradient(135deg, #fff9f4, #faf8f5);
    border-top: 1px solid rgba(212, 165, 116, 0.15);
    border-bottom: 1px solid rgba(212, 165, 116, 0.15);
}

.trust-badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #5a3d2b;
    transition: transform 0.3s ease;
}

.trust-badge-item:hover { transform: translateY(-4px); }

.trust-badge-item i {
    font-size: 1.8rem;
    color: #d4a574;
    background: rgba(212, 165, 116, 0.12);
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.trust-badge-item:hover i {
    background: #d4a574;
    color: #fff;
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.35);
}

.trust-badge-item span {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ====================================================
   CATEGORY PHOTO CARDS
   ==================================================== */
.cat-photo-card {
    display: block;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 3/4;
    text-decoration: none;
    box-shadow: 0 6px 25px rgba(90, 61, 43, 0.12);
    transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: #f5f2ed;
}

.cat-photo-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(90, 61, 43, 0.22);
    text-decoration: none;
}

.cat-photo-img {
    width: 100%; height: 100%;
    position: absolute;
    top: 0; left: 0;
}

.cat-photo-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cat-photo-card:hover .cat-photo-img img { transform: scale(1.08); }

.cat-photo-placeholder {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #faf8f5, #f0ece5);
    font-size: 3rem;
    color: #d4a574;
}

.cat-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 30%, rgba(30,15,5,0.55) 70%, rgba(30,15,5,0.82) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    transition: background 0.4s ease;
}

.cat-photo-card:hover .cat-photo-overlay {
    background: linear-gradient(to bottom, transparent 15%, rgba(30,15,5,0.65) 60%, rgba(30,15,5,0.9) 100%);
}

.cat-photo-content {
    width: 100%;
    transform: translateY(8px);
    transition: transform 0.4s ease;
}

.cat-photo-card:hover .cat-photo-content { transform: translateY(0); }

.cat-photo-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 0.25rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.cat-photo-count {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.75);
    font-weight: 500;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 0.75rem;
}

.cat-photo-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #d4a574;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cat-photo-card:hover .cat-photo-btn { opacity: 1; }

@media (max-width: 768px) {
    .cat-photo-card { aspect-ratio: 1/1.2; }
    .cat-photo-title { font-size: 1.1rem; }
    .cat-photo-btn { opacity: 1; }
}

/* ====================================================
   BOTÓN FAVORITO
   ==================================================== */
.favorite-btn-enhanced {
    position: relative;
    width: 36px; height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.68,-0.55,0.265,1.55);
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
    padding: 0;
}

.favorite-btn-enhanced:hover { transform: scale(1.15); }
.favorite-btn-enhanced .heart-icon { font-size: 1rem; }

/* ====================================================
   BOTÓN "VER DETALLES" EN TARJETAS
   ==================================================== */
.card-see-btn {
    display: none;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #d4a574;
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 991px) {
    .card-see-btn { display: inline-flex; }
}

@media (min-width: 992px) {
    .product-card-elegant:hover .card-see-btn { display: inline-flex; }
}

.card-see-btn:hover {
    color: #b8935f;
    gap: 0.6rem;
    text-decoration: none;
}

/* ====================================================
   CHIPS DE FILTROS ACTIVOS
   ==================================================== */
.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.3rem 0.75rem;
    background: rgba(212, 165, 116, 0.12);
    border: 1px solid rgba(212, 165, 116, 0.35);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #5a3d2b;
    text-decoration: none;
    transition: all 0.25s ease;
}

.filter-chip:hover {
    background: rgba(212, 165, 116, 0.25);
    color: #5a3d2b;
    text-decoration: none;
}

.filter-chip-clear {
    background: rgba(139, 90, 60, 0.1);
    border-color: rgba(139, 90, 60, 0.25);
    color: #8b5a3c;
}

.filter-chip-clear:hover {
    background: #8b5a3c;
    color: #fff;
}

/* ====================================================
   BOTÓN FILTRAR FLOTANTE (MÓVIL) con contador
   ==================================================== */
.filter-fab { display: none; }

@media (max-width: 991px) {
    .filter-fab {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        position: fixed;
        bottom: 80px;
        left: 20px;
        z-index: 997;
        background: linear-gradient(135deg, #d4a574, #b8935f);
        color: #fff;
        border: none;
        border-radius: 50px;
        padding: 0.65rem 1.3rem;
        font-size: 0.9rem;
        font-weight: 600;
        box-shadow: 0 6px 20px rgba(212,165,116,0.4);
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .filter-fab:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 28px rgba(212,165,116,0.45);
    }
}

.filter-fab-badge {
    background: #e74c3c;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50px;
    padding: 0 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: -2px;
}

/* mantenemos el punto de presencia para compatibilidad */
.filter-fab-dot {
    position: absolute;
    top: -4px; right: -4px;
    width: 10px; height: 10px;
    background: #e74c3c;
    border-radius: 50%;
    border: 2px solid #fff;
}

/* ====================================================
   OFFCANVAS DE FILTROS
   ==================================================== */
.offcanvas-filtros {
    background: #faf8f5;
    border-right: 1px solid rgba(212, 165, 116, 0.2);
    max-width: 300px;
}

.offcanvas-filtros .offcanvas-header {
    border-bottom: 1px solid rgba(212, 165, 116, 0.15);
    padding: 1.25rem 1.5rem;
}

.offcanvas-filtros .offcanvas-body { padding: 1.5rem; }

/* ====================================================
   CARRUSEL HORIZONTAL PRODUCTOS RELACIONADOS
   ==================================================== */
.related-carousel-wrap { position: relative; overflow: hidden; }

.related-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(212,165,116,.4) transparent;
}

.related-carousel::-webkit-scrollbar { height: 4px; }
.related-carousel::-webkit-scrollbar-track { background: transparent; }
.related-carousel::-webkit-scrollbar-thumb {
    background: rgba(212, 165, 116, 0.4);
    border-radius: 4px;
}

.related-carousel-item {
    flex: 0 0 280px;
    scroll-snap-align: start;
}

@media (max-width: 768px) {
    .related-carousel-item { flex: 0 0 220px; }
}

/* ====================================================
   SCROLL-REVEAL ANIMATIONS
   ==================================================== */
.scroll-pending {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Delay escalonado para grids */
.scroll-pending:nth-child(2) { transition-delay: 0.08s; }
.scroll-pending:nth-child(3) { transition-delay: 0.16s; }
.scroll-pending:nth-child(4) { transition-delay: 0.24s; }
.scroll-pending:nth-child(5) { transition-delay: 0.32s; }
.scroll-pending:nth-child(6) { transition-delay: 0.40s; }

/* ====================================================
   BADGE "NUEVO"
   ==================================================== */
.badge-nuevo {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(46,204,113,0.35);
}

/* ====================================================
   BOTÓN VOLVER ARRIBA
   ==================================================== */
.back-to-top-btn {
    position: fixed;
    bottom: 90px; right: 20px;
    width: 48px; height: 48px;
    background: #fff;
    border: 1.5px solid rgba(212, 165, 116, 0.35);
    color: #d4a574;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(90, 61, 43, 0.12);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 999;
    text-decoration: none;
}

.back-to-top-btn.visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top-btn:hover {
    background: #d4a574;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(212, 165, 116, 0.3);
    border-color: #d4a574;
    text-decoration: none;
}

/* ====================================================
   STICKY ADD-TO-CART BAR (solo mobile)
   ==================================================== */
.sticky-cart-bar { display: none; }

@media (max-width: 768px) {
    .sticky-cart-bar {
        display: block;
        position: fixed;
        bottom: 0; left: 0; right: 0;
        z-index: 998;
        padding: 0.75rem 1rem;
        background: rgba(255,255,255,0.97);
        border-top: 1px solid rgba(212, 165, 116, 0.25);
        box-shadow: 0 -4px 20px rgba(90, 61, 43, 0.12);
        backdrop-filter: blur(10px);
        transform: translateY(100%);
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .sticky-cart-bar.visible { transform: translateY(0); }

    .sticky-cart-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
    }

    .sticky-cart-info {
        display: flex;
        flex-direction: column;
        gap: 0.15rem;
        overflow: hidden;
    }

    .sticky-cart-name {
        font-size: 0.85rem;
        font-weight: 600;
        color: #5a3d2b;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .sticky-cart-price {
        font-size: 1.1rem;
        font-weight: 700;
        color: #d4a574;
    }

    .sticky-cart-btn {
        background: linear-gradient(135deg, #d4a574, #b8935f);
        color: #fff;
        border: none;
        border-radius: 50px;
        padding: 0.6rem 1.4rem;
        font-size: 0.9rem;
        font-weight: 600;
        text-decoration: none;
        white-space: nowrap;
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(212, 165, 116, 0.35);
    }

    .sticky-cart-btn:hover {
        background: linear-gradient(135deg, #b8935f, #8b5a3c);
        color: #fff;
        text-decoration: none;
    }
}

/* ====================================================
   BOTONES DE COMPARTIR
   ==================================================== */
.share-btn-whatsapp,
.share-btn-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border-radius: 50%;
    font-size: 1rem;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.share-btn-whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
}

.share-btn-whatsapp:hover {
    background: #25d366;
    color: #fff;
    text-decoration: none;
}

.share-btn-copy {
    background: rgba(212, 165, 116, 0.12);
    color: #d4a574;
}

.share-btn-copy:hover {
    background: #d4a574;
    color: #fff;
}

/* ====================================================
   BUSCADOR NAVBAR EXPANDIBLE
   ==================================================== */
.navbar-search-wrap {
    display: flex;
    align-items: center;
    position: relative;
    margin-right: 0.5rem;
}

.navbar-search-input {
    width: 0;
    opacity: 0;
    border: none;
    border-bottom: 2px solid #d4a574;
    background: transparent;
    padding: 0.3rem 0.5rem;
    font-size: 0.9rem;
    color: #5a3d2b;
    transition: width 0.4s ease, opacity 0.3s ease;
    outline: none;
    border-radius: 0;
}

.navbar-search-input::placeholder { color: #b8935f; }

.navbar-search-wrap.open .navbar-search-input {
    width: 180px;
    opacity: 1;
}

.navbar-search-toggle {
    background: none;
    border: none;
    color: #5a3d2b;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.35rem;
    transition: color 0.2s ease;
    line-height: 1;
}

.navbar-search-toggle:hover { color: #d4a574; }

/* ====================================================
   MIS PEDIDOS
   ==================================================== */
@media (max-width: 991px) {
    .pedido-card .border-start {
        border-left: none !important;
        border-top: 1px solid #ede7dc !important;
    }
}

/* ====================================================
   SWATCHES DE COLOR EN TARJETAS
   ==================================================== */
.color-swatch-dot {
    width: 16px; height: 16px;
    border-radius: 50%;
    border: 1.5px solid rgba(0,0,0,0.12);
    display: inline-block;
    cursor: default;
    transition: transform 0.15s ease;
    flex-shrink: 0;
}

.color-swatch-dot:hover { transform: scale(1.3); }

/* ====================================================
   CARRITO Y CHECKOUT
   ==================================================== */
#btn-pedir-whatsapp:hover {
    background: #128C7E !important;
    border-color: #128C7E !important;
}

.wa-checkout-banner {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
}

/* ====================================================
   BADGES Y MISC
   ==================================================== */
.estado-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.alert-elegant {
    background: rgba(212,165,116,.08) !important;
    border: 1px solid rgba(212,165,116,.25) !important;
    border-left: 4px solid #d4a574 !important;
    color: #5a3d2b !important;
    border-radius: 12px !important;
}

.luxury-badge {
    display: inline-block;
    background: rgba(212,165,116,0.12);
    color: #b8935f;
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(212,165,116,0.3);
}

#vistos-recientemente .product-card-elegant:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.10);
}

/* ====================================================
   SPINNER ADD-TO-CART (feedback visual)
   ==================================================== */
.btn-add-cart-spinner .spinner-border {
    width: 1rem;
    height: 1rem;
    border-width: 2px;
}

.btn-add-cart-spinner[disabled] {
    opacity: 0.75;
    cursor: not-allowed;
}
