:root {
    --primary-color: #2c382c; /* Darker Olive green */
    --secondary-color: #d4af37; /* Gold */
    --text-dark: #222;
    --text-light: #666;
    --bg-light: #fbfbf9;
    --bg-white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

body.loading-state { overflow: hidden; }

h1, h2, h3, h4, h5 { font-family: var(--font-heading); color: var(--primary-color); }

/* Preloader */
#preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: #000; z-index: 9999; display: flex; justify-content: center; align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s;
}
.preloader-video-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.3; filter: blur(30px); transform: scale(1.1); z-index: 0; }
.preloader-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0.8; z-index: 1; } 
.preloader-overlay { position: relative; z-index: 2; text-align: center; color: white; }
.preloader-logo { 
    width: 200px; margin-bottom: 2rem; 
    mix-blend-mode: multiply;
    animation: logoBreathe 3s ease-in-out infinite;
}
@keyframes logoBreathe {
    0%, 100% { transform: scale(1) translateY(0); filter: drop-shadow(0px 0px 10px rgba(199,167,92,0.3)); }
    50% { transform: scale(1.05) translateY(-5px); filter: drop-shadow(0px 10px 25px rgba(199,167,92,0.8)); }
}

.loading-bar-container { 
    width: 300px; height: 16px; 
    background: rgba(0,0,0,0.8); 
    border: 1px solid rgba(199,167,92,0.3); 
    border-radius: 20px; margin: 0 auto 1rem; 
    overflow: hidden; 
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.9);
}
.loading-bar { 
    width: 0%; height: 100%; 
    background: linear-gradient(90deg, #8a6c23, #c7a75c, #e6c27a, #c7a75c, #8a6c23);
    background-size: 200% 100%;
    border-radius: 20px; 
    transition: width 0.1s linear; 
    animation: liquidGold 1.5s linear infinite; 
    box-shadow: 0 0 15px rgba(199,167,92,0.8), inset 0 2px 4px rgba(255,255,255,0.5);
    position: relative;
}
.loading-bar::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 100%);
}
@keyframes liquidGold { 
    0% { background-position: 100% 0; } 
    100% { background-position: 0 0; } 
}
.loading-text { font-family: var(--font-heading); font-style: italic; color: var(--secondary-color); font-size: 1.2rem; letter-spacing: 1px; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* Header & Nav */
.main-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 5%; background-color: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px); box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    position: fixed; width: 100%; top: 0; left: 0; transform: translateX(0); z-index: 1000;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.main-header.scrolled-pill {
    top: 15px;
    width: 92%;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50px;
    padding: 0.6rem 4%;
    background: rgba(253, 251, 247, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.5);
}
.main-header.scrolled-pill .logo-container img { height: 45px; }
.logo-container img { height: 65px; object-fit: contain; mix-blend-mode: multiply; transition: height 0.4s ease; }
nav ul { list-style: none; display: flex; gap: 2rem; }
nav a { text-decoration: none; color: var(--text-dark); font-weight: 700; text-transform: uppercase; font-size: 0.9rem; transition: color 0.3s; }
nav a:hover { color: var(--secondary-color); }

/* Hero Section with Breeze Effect */
.hero {
    position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; 
    text-align: center; color: white; overflow: hidden;
}
.hero-breeze-bg {
    position: absolute; top: -5%; left: -5%; width: 110%; height: 110%;
    background-size: cover; background-position: center;
    z-index: 0;
    transform: scale(1.05); /* Extra padding for parallax */
}

.hero-overlay-custom {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}
.hero-content.center-layout {
    position: relative; z-index: 2; width: 100%; display: flex; flex-direction: column; align-items: center; padding: 2rem;
}

.animated-gradient-text {
    background: linear-gradient(270deg, #d4af37, #fff4c2, #b88a44, #e6c27a);
    background-size: 800% 800%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: GradientText 8s ease infinite;
    font-size: 8rem; letter-spacing: 15px; margin-bottom: 0.5rem;
    filter: drop-shadow(0px 10px 20px rgba(0,0,0,0.8)); line-height: 1; font-family: var(--font-heading);
}
@keyframes GradientText { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }

.hero-subtitle-container { margin-bottom: 2.5rem; }
.hero-subtitle { font-size: 1.5rem; color: #f9f9f9; text-shadow: 1px 1px 5px rgba(0,0,0,0.9); letter-spacing: 3px; font-style: italic;}

/* Rare UI - Shimmer Button */
.rare-ui-button {
    position: relative;
    display: inline-flex;
    padding: 2px; /* Border thickness */
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: 50px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.rare-ui-button::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent, 
        #c7a75c, 
        transparent 30%
    );
    animation: rotateShimmer 3s linear infinite;
    z-index: 0;
}

.rare-ui-button-content {
    position: relative;
    z-index: 1;
    background: #1a1a1a;
    padding: 14px 43px;
    border-radius: 50px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.rare-ui-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(199, 167, 92, 0.4);
}

@keyframes rotateShimmer {
    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 900px) {
    .animated-gradient-text { font-size: 3.5rem; letter-spacing: 5px; }
}

/* 1. Shop Section (Flex Grid) */
.shop-section { padding: 6rem 5%; background: radial-gradient(circle at center, #ffffff 0%, #f4f0e6 100%); border-top: 2px solid var(--secondary-color); overflow: hidden;}
.section-header { text-align: center; margin-bottom: 4rem; max-width: 800px; margin-inline: auto; color: #222;}
.section-header h2 { font-size: 2.5rem; margin-bottom: 0.5rem; color: var(--secondary-color); }
.subtitle-gold { font-size: 1.2rem; color: #e6c27a !important; font-style: italic; }

.product-flex-grid {
    display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; max-width: 1400px; margin: 0 auto;
}
.tilt-3d-shop {
    flex: 1 1 300px; max-width: 350px;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transition: transform 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}

/* Glare effect for 3D Cards */
.glare {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    border-radius: inherit;
    z-index: 10;
    opacity: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 60%);
    transition: opacity 0.3s;
}
.tilt-3d-shop:hover .glare {
    opacity: 1;
}

.img-3d-wrapper {
    width: 100%; height: 250px; display: flex; justify-content: center; align-items: center;
    margin-bottom: 1.5rem; transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.img-3d-wrapper img { 
    max-width: 100%; max-height: 100%; 
    mix-blend-mode: multiply; 
}

.product-info-glass { color: #222; text-align: left; width: 100%; }
.product-info-glass h3 { color: var(--secondary-color); font-size: 1.3rem; margin-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 0.5rem; }
.product-info-glass .description { font-size: 0.9rem; color: #555; margin-bottom: 1rem; }
.features-box { background: rgba(0,0,0,0.3); padding: 1rem; border-radius: 10px; font-size: 0.85rem; margin-bottom: 1.5rem; color: #bbb; line-height: 1.5; }
.features-box p { margin-bottom: 0.5rem; }
.features-box strong { color: #222; }
.add-to-cart-modern { background: transparent; color: var(--secondary-color); border: 2px solid var(--secondary-color); padding: 12px; width: 100%; font-weight: bold; border-radius: 8px; cursor: pointer; transition: all 0.3s; text-transform: uppercase; letter-spacing: 1px; }
.add-to-cart-modern:hover { background: var(--secondary-color); color: #000; box-shadow: 0 0 20px rgba(212, 175, 55, 0.4); }

.product-tag { position: absolute; top: 15px; right: -10px; padding: 6px 15px; color: white; font-size: 0.75rem; font-weight: bold; border-radius: 5px; z-index: 10; box-shadow: 0 4px 10px rgba(0,0,0,0.5); text-transform: uppercase; }
.best-seller { background-color: #d4af37; color: #000; } .eco { background-color: #4CAF50; } .classic { background-color: #555; } .gift { background-color: #8d6e63; }


/* Custom Swiper Arrows */
.swiper-button-next.custom-arrow, .swiper-button-prev.custom-arrow {
    background: rgba(212, 175, 55, 0.2);
    width: 60px; height: 60px; border-radius: 50%;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    backdrop-filter: blur(5px);
    transition: all 0.3s;
}
.swiper-button-next.custom-arrow::after, .swiper-button-prev.custom-arrow::after { display: none; /* Hide default icon */ }
.swiper-button-next.custom-arrow:hover, .swiper-button-prev.custom-arrow:hover {
    background: var(--secondary-color); color: #000;
    box-shadow: 0 0 20px rgba(212,175,55,0.6); transform: scale(1.1);
}
.swiper-button-next.custom-arrow i, .swiper-button-prev.custom-arrow i { font-size: 1.5rem; }

/* 2. Identidad y Legado (Spectacular Bento & Typography) */
.identidad-section { 
    padding: 8rem 5%; 
    background: radial-gradient(circle at top left, #faf8f2 0%, #fdfbf7 100%); 
    overflow: hidden; 
    color: #222;
}
.identidad-container { max-width: 1400px; margin: 0 auto; }
.gold-title { font-size: 1.5rem; color: var(--secondary-color); margin-bottom: 3rem; text-align: center; text-transform: uppercase; letter-spacing: 2px;}

.legado-intro { max-width: 1000px; margin: 0 auto 5rem; }
.split-intro-layout { display: flex; gap: 4rem; align-items: stretch; margin-bottom: 3rem; }
.intro-left { flex: 1; border-right: 3px solid var(--secondary-color); padding-right: 2rem; position: relative; display: flex; flex-direction: column; justify-content: center;}
.intro-right { flex: 1.5; display: flex; align-items: center;}

.olive-illustration {
    font-size: 5rem; color: rgba(212, 175, 55, 0.2); margin-top: 2rem; text-align: center;
}
.glass-text-box {
    background: rgba(255, 255, 255, 0.05); padding: 2.5rem; border-radius: 15px; box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border-left: 5px solid var(--secondary-color); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border-right: 1px solid rgba(212,175,55,0.1);
}

.shiny-title {
    font-size: 3.5rem; line-height: 1.1; margin-bottom: 0;
    background: linear-gradient(to right, #b88a44 0%, #fff4c2 50%, #d4af37 100%);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shine 5s linear infinite;
    font-family: var(--font-heading);
}
.shiny-title span { font-size: 1.5rem; display: block; margin-top: 10px; font-weight: normal; color: #a28236; }
@keyframes shine { to { background-position: 200% center; } }

.premium-text { font-size: 1.15rem; color: #444; margin-bottom: 1.5rem; line-height: 1.8; text-align: justify; }
.premium-text:last-child { margin-bottom: 0; }
.text-center-premium { font-size: 1.15rem; color: #333; line-height: 1.8; text-align: center; margin-bottom: 2rem; }

.banner-wrapper { padding: 2rem 0; text-align: center; }
.highlight-banner {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.8)), url('assets/img/hero_paisaje.png') center/cover;
    color: var(--secondary-color); padding: 3rem; border-radius: 15px;
    font-size: 1.4rem; font-weight: bold; margin: 2rem auto; box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    max-width: 800px; position: relative; border: 1px solid rgba(212,175,55,0.5);
    backdrop-filter: blur(5px);
}
.highlight-banner span { display: block; font-size: 1rem; color: white; font-weight: normal; margin-top: 0.5rem; font-style: italic; }
.floating-anim { animation: float 6s ease-in-out infinite; }
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.quote-title { font-size: 2rem; margin-top: 4rem; color: var(--secondary-color); text-transform: uppercase; letter-spacing: 2px; text-align: center; }

@media (max-width: 900px) {
    .split-intro-layout { flex-direction: column; gap: 2rem; }
    .intro-left { border-right: none; border-bottom: 3px solid var(--secondary-color); padding-right: 0; padding-bottom: 2rem; text-align: center; }
    .shiny-title { font-size: 2.5rem; }
}

.pilares-header { text-align: center; margin-bottom: 3rem; margin-top: 4rem; }
.pilares-header h4 { 
    font-size: 2.2rem; 
    border-bottom: 2px solid var(--secondary-color); 
    display: inline-block; 
    padding-bottom: 10px; 
    color: var(--secondary-color); /* Bright gold to pop against dark bg */
    text-shadow: 0 0 20px rgba(212,175,55,0.3);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 1.5rem;
    margin-bottom: 5rem;
    grid-auto-flow: dense; /* Fill holes in the grid perfectly */
}
.bento-item {
    position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 15px 35px rgba(0,0,0,0.1); cursor: pointer;
}
.bento-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.bento-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0) 100%); transition: background 0.3s ease; }
.bento-item:hover img { transform: scale(1.1); }
.bento-item:hover::after { background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.1) 100%); }

.bento-content { position: absolute; bottom: 0; left: 0; width: 100%; padding: 2rem; z-index: 2; color: white; transform: translateY(30px); transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.bento-item:hover .bento-content { transform: translateY(0); }
.bento-content h5 { color: var(--secondary-color); font-size: 1.5rem; margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 1px; text-shadow: 0 2px 4px rgba(0,0,0,0.8);}
.bento-content p { font-size: 1rem; color: #ffffff; opacity: 0; transition: opacity 0.4s ease 0.1s; line-height: 1.4; text-shadow: 0 1px 3px rgba(0,0,0,0.8);}
.bento-item:hover .bento-content p { opacity: 1; }

/* Interlocking Layout: Videos get massive visibility */
.pilar1 { grid-column: span 1; grid-row: span 1; }
.pilar2 { grid-column: span 1; grid-row: span 1; }
.pilar3 { grid-column: span 1; grid-row: span 2; } /* VIDEO 1 - Tall Portrait */
.pilar5 { grid-column: span 1; grid-row: span 1; }
.pilar4 { grid-column: span 2; grid-row: span 1; } /* VIDEO 2 - Wide Landscape */
.pilar6 { grid-column: span 1; grid-row: span 1; }

.mobile-swipe-indicator { display: none; }

@media (max-width: 900px) {
    .bento-grid { 
        display: flex; flex-direction: row; 
        overflow-x: auto; overflow-y: hidden;
        scroll-snap-type: x mandatory;
        gap: 15px; padding-bottom: 20px;
        padding-left: 5%; padding-right: 5%;
        scroll-padding: 0 5%;
        -ms-overflow-style: none; scrollbar-width: none;
    }
    .bento-grid::-webkit-scrollbar { display: none; }
    .bento-item { 
        flex: 0 0 80%; scroll-snap-align: center; height: 350px; 
    }
    .pilar1, .pilar2, .pilar3, .pilar4, .pilar5, .pilar6 { grid-column: auto; grid-row: auto; }
    .bento-content { transform: translateY(0); background: linear-gradient(0deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 60%, rgba(0,0,0,0) 100%); }
    .bento-content p { opacity: 1; display: block; max-height: none; }
    
    .mobile-swipe-indicator {
        display: flex; flex-direction: column; align-items: center;
        margin-top: 5px; margin-bottom: 30px; opacity: 1;
    }
    .swipe-text { font-size: 0.75rem; color: #888; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; font-weight: bold;}
    .swipe-dot { width: 6px; height: 6px; background: var(--secondary-color); border-radius: 50%; display: inline-block; animation: pulseSwipe 1.5s infinite; box-shadow: 0 0 8px var(--secondary-color);}
    @keyframes pulseSwipe { 0%, 100% { opacity: 0.4; transform: scale(1) translateX(0); } 50% { opacity: 1; transform: scale(1.3) translateX(5px); } }
    .swipe-track { width: 120px; height: 3px; background: rgba(0, 0, 0, 0.1); border-radius: 3px; position: relative; overflow: hidden; }
    .swipe-thumb { position: absolute; top: 0; left: 0; height: 100%; width: 25%; background: var(--secondary-color); border-radius: 3px; transition: transform 0.1s; }
}

/* Tolerancia Cero 3D Effect - Highlighted as Important */
.tolerancia-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 3rem; perspective: 1000px; margin-bottom: 2rem;}
.tilt-3d {
    background: linear-gradient(135deg, #ffffff, #f4f0e6); color: #222; padding: 3rem 2.5rem; border-radius: 20px; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.5), 0 0 30px rgba(212,175,55,0.1); position: relative; overflow: hidden;
    transform-style: preserve-3d; transition: transform 0.1s ease-out;
    will-change: transform; border: 1px solid rgba(212,175,55,0.3);
}
.neon-border {
    position: absolute; inset: 0; border: 2px solid rgba(212,175,55,0.5); border-radius: 20px;
    transition: all 0.3s ease; pointer-events: none; animation: pulseGlow 2s infinite alternate;
}
@keyframes pulseGlow {
    0% { box-shadow: inset 0 0 10px rgba(212,175,55,0.1), 0 0 10px rgba(212,175,55,0.1); border-color: rgba(212,175,55,0.3); }
    100% { box-shadow: inset 0 0 20px rgba(212,175,55,0.4), 0 0 30px rgba(212,175,55,0.4); border-color: rgba(212,175,55,0.8); }
}
.tilt-3d:hover .neon-border { border-color: rgba(212,175,55,1); box-shadow: inset 0 0 30px rgba(212,175,55,0.5), 0 0 40px rgba(212,175,55,0.5); animation: none; }
.important-badge { position: absolute; top: 1rem; right: 1rem; background: var(--secondary-color); color: black; font-weight: bold; font-size: 0.75rem; padding: 5px 12px; border-radius: 20px; letter-spacing: 1px; transform: translateZ(40px); box-shadow: 0 5px 15px rgba(0,0,0,0.5); }
.tilt-3d h5 { color: var(--secondary-color); font-size: 1.3rem; margin-bottom: 1.5rem; transform: translateZ(30px); margin-top: 1rem;}
.tilt-3d p { font-size: 1.05rem; color: #eee; transform: translateZ(20px); line-height: 1.7; }
.tilt-3d i { font-size: 2.5rem; display: block; margin-bottom: 1rem; color: var(--secondary-color); text-shadow: 0 0 20px rgba(212,175,55,0.5); transform: translateZ(35px);}

@media (max-width: 900px) {
    .tolerancia-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .tilt-3d { padding: 1.5rem; }
    .tilt-3d h5 { font-size: 1.1rem; }
    .tilt-3d p { font-size: 0.9rem; }
    .important-badge { font-size: 0.65rem; top: 0.5rem; right: 0.5rem; }
}

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

/* 3. Distribucion (Contained Video auto-slides) */
.proceso-video-section { position: relative; background: #fdfbf7; color: #222; border-top: 3px solid var(--secondary-color); padding: 5rem 5%; overflow: hidden;}
.proceso-header { text-align: center; margin-bottom: 3rem; }
.proceso-header h2 { font-size: 2.2rem; color: var(--secondary-color); margin-bottom: 0.5rem;}
.proceso-header p { font-size: 1.2rem; color: #555;}

.video-contained-box {
    position: relative; max-width: 1000px; height: 65vh; margin: 0 auto; 
    border-radius: 25px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    border: 2px solid rgba(212,175,55,0.4);
}
.contained-video { width: 100%; height: 100%; object-fit: cover; }
.video-overlay-dark { position: absolute; inset: 0; background: rgba(0,0,0,0.4); z-index: 1; }

.auto-slides-wrapper {
    position: absolute; inset: 0; z-index: 2; pointer-events: none;
}
.auto-slide {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.5s ease;
}
.auto-slide.is-active { opacity: 1; }
.slide-content-glass { 
    max-width: 450px; padding: 2.5rem; background: rgba(0,0,0,0.3); border-radius: 20px; 
    border: 1px solid rgba(212,175,55,0.3); backdrop-filter: blur(10px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.5); text-align: center; transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.auto-slide.is-active .slide-content-glass { transform: scale(1); }
.step-icon { width: 70px; height: 70px; background: var(--secondary-color); color: #000; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 1.5rem; box-shadow: 0 10px 20px rgba(212,175,55,0.4);}
.slide-content-glass h4 { font-size: 2rem; color: #222; margin-bottom: 0.5rem; }
.slide-content-glass .day-time { display: inline-block; background: rgba(255,255,255,0.15); padding: 5px 20px; border-radius: 20px; color: var(--secondary-color); font-weight: bold; margin-bottom: 1.5rem; font-size: 0.95rem; letter-spacing: 1px;}
.slide-content-glass p { font-size: 1.1rem; line-height: 1.6; color: #555; }

@media (max-width: 900px) {
    .video-contained-box { height: 75vh; }
    .slide-content-glass { transform: scale(0.85); padding: 2rem; }
}

/* Origen Panoramica Section */
.origen-panoramica {
    position: relative; height: 80vh; min-height: 600px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; border-top: 3px solid var(--secondary-color);
}
.panoramica-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: 0;
}
.panoramica-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); z-index: 1;
}
.origen-vignette {
    position: relative; z-index: 2; max-width: 700px; text-align: center;
    background: rgba(0,0,0,0.4); /* Make it semi-transparent so background is visible */
    backdrop-filter: blur(10px); /* Add a frosted glass effect */
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(212,175,55,0.3);
}

/* 3. Distribucion (Contained Video auto-slides) */
.proceso-video-section { position: relative; background: #fdfbf7; color: #222; border-top: 3px solid var(--secondary-color); padding: 5rem 5%; overflow: hidden;}
.proceso-header { text-align: center; margin-bottom: 3rem; }
.proceso-header h2 { font-size: 2.2rem; color: var(--secondary-color); margin-bottom: 0.5rem;}
.proceso-header p { font-size: 1.2rem; color: #555;}

.video-contained-box {
    position: relative; max-width: 1000px; height: 65vh; margin: 0 auto; 
    border-radius: 25px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    border: 2px solid rgba(212,175,55,0.4);
}
.contained-video { width: 100%; height: 100%; object-fit: cover; }
.video-overlay-dark { position: absolute; inset: 0; background: rgba(0,0,0,0.4); z-index: 1; }

.auto-slides-wrapper {
    position: absolute; inset: 0; z-index: 2; pointer-events: none;
}
.auto-slide {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.5s ease;
}
.auto-slide.is-active { opacity: 1; }
.slide-content-glass { 
    max-width: 450px; padding: 2.5rem; background: rgba(255, 255, 255, 0.85); color: #222; border-radius: 20px; 
    border: 1px solid rgba(212,175,55,0.4); backdrop-filter: blur(15px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.7); text-align: center; transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.auto-slide.is-active .slide-content-glass { transform: scale(1); }
.step-icon { width: 70px; height: 70px; background: var(--secondary-color); color: #000; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 1.5rem; box-shadow: 0 10px 20px rgba(212,175,55,0.4);}
.slide-content-glass h4 { font-size: 2rem; color: #222; margin-bottom: 0.5rem; }
.slide-content-glass .day-time { display: inline-block; background: rgba(255,255,255,0.15); padding: 5px 20px; border-radius: 20px; color: var(--secondary-color); font-weight: bold; margin-bottom: 1.5rem; font-size: 0.95rem; letter-spacing: 1px;}
.slide-content-glass p { font-size: 1.1rem; line-height: 1.6; color: #555; }

@media (max-width: 900px) {
    .video-contained-box { height: 75vh; }
    .slide-content-glass { transform: scale(0.85); padding: 2rem; }
}

/* Animated Purity Commitment (No crosses) */
.purity-commitment { background: var(--primary-color); border-radius: 15px; padding: 4rem; color: white; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.purity-content { display: flex; align-items: center; gap: 3rem; position: relative; z-index: 2; max-width: 900px;}
.shield-animation { font-size: 4rem; color: var(--secondary-color); animation: float 3s ease-in-out infinite; background: rgba(255,255,255,0.1); width: 120px; height: 120px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 2px solid var(--secondary-color);}
.purity-text h3 { color: var(--secondary-color); font-size: 2.2rem; margin-bottom: 1rem; }
.purity-text p { font-size: 1.2rem; }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0px); } }

/* Footer */
footer { background-color: #fdfbf7; color: #222; text-align: center; padding: 4rem 20px; }
.footer-logo-img { height: 80px; mix-blend-mode: multiply; margin-bottom: 1.5rem; }

/* Animations & Responsive */
.reveal-text { opacity: 0; transform: translateY(30px); }
.fade-in { opacity: 0; transition: opacity 1s ease; }
.fade-in.visible { opacity: 1; }
.fade-in-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
    .hero { justify-content: center; text-align: center; }
    .hero-content { padding: 2rem; }
    .hero h1 { font-size: 3rem; }
    .scrub-text { margin: 0 5%; text-align: center !important; }
    .purity-content { flex-direction: column; text-align: center; }
}

/* Origen Panoramica Section */
.origen-panoramica {
    position: relative; height: 80vh; min-height: 600px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; border-top: 3px solid var(--secondary-color);
}
.panoramica-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: 0;
}
.panoramica-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); z-index: 1;
}
.origen-vignette {
    position: relative; z-index: 2; max-width: 700px; text-align: center;
}
.location-icon {
    font-size: 3rem; color: var(--secondary-color); margin-bottom: 1rem;
    animation: bounce 2s infinite;
}
.origen-vignette h3 { font-size: 2.5rem; color: #fdfdfd; margin-bottom: 0.5rem; letter-spacing: 2px;}
.origen-vignette h4 { font-size: 1.5rem; color: var(--secondary-color); margin-bottom: 1.5rem; font-style: italic;}
.origen-vignette p { font-size: 1.15rem; color: #eeeeee; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 900px) {
    .product-flex-grid { gap: 1rem; }
    .tilt-3d-shop { flex: 1 1 45%; max-width: calc(50% - 1rem); padding: 1.2rem; }
    .img-3d-wrapper { height: 180px; margin-bottom: 1rem; }
    .product-info-glass h3 { font-size: 1.1rem; }
    .product-info-glass .description { font-size: 0.8rem; margin-bottom: 0.8rem; }
    .features-box { font-size: 0.75rem; padding: 0.8rem; margin-bottom: 1rem; }
    .add-to-cart-modern { padding: 8px; font-size: 0.85rem; }
    .product-tag { font-size: 0.65rem; padding: 4px 10px; top: 10px; right: -5px; }
}

@media (max-width: 600px) {
    .tilt-3d-shop { flex: 1 1 45%; max-width: 100%; /* If 2 columns is too squished on very small phones, this keeps it side-by-side if flex basis is small, but max-width 100% allows it. Let's force 2 columns: */ max-width: calc(50% - 0.5rem); }
}

/* Hamburger Menu & Responsive Nav */
.header-actions-mobile { display: none; align-items: center; gap: 1.5rem; }
.header-actions-desktop { display: flex; align-items: center; }
.hamburger-menu { font-size: 1.8rem; color: var(--secondary-color); cursor: pointer; display: flex; align-items: center; }
.cart-icon-btn { position: relative; font-size: 1.5rem; color: var(--secondary-color); cursor: pointer; display: flex; align-items: center;}
.cart-badge { position: absolute; top: -8px; right: -10px; background: red; color: white; font-size: 0.75rem; font-weight: bold; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

@media (max-width: 900px) {
    .header-actions-desktop { display: none; }
    .header-actions-mobile { display: flex; }
    .nav-menu {
        position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
        background: rgba(253, 251, 247, 0.98); backdrop-filter: blur(20px);
        display: flex; align-items: center; justify-content: center;
        transition: right 0.4s ease; z-index: 1000;
        border-left: 2px solid var(--secondary-color);
    }
    .nav-menu.active { right: 0; }
    .nav-menu ul { flex-direction: column; gap: 2.5rem; text-align: center; }
    .nav-menu ul li a { font-size: 1.3rem; }
    .hamburger-menu { z-index: 1001; } /* So it's above menu to close it */
}

/* Functional Cart Sidebar */
.cart-sidebar {
    position: fixed; top: 0; right: -450px; width: 400px; max-width: 100vw; height: 100vh;
    background: #0b0f0b; border-left: 2px solid var(--secondary-color); z-index: 2000;
    display: flex; flex-direction: column; transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: -10px 0 30px rgba(0,0,0,0.8);
}
.cart-sidebar.open { right: 0; }
.cart-header { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem; border-bottom: 1px solid rgba(212,175,55,0.3); }
.cart-header h3 { color: var(--secondary-color); margin: 0; font-size: 1.5rem; }
.close-btn { background: none; border: none; color: white; font-size: 1.8rem; cursor: pointer; transition: color 0.3s; }
.close-btn:hover { color: var(--secondary-color); }
.cart-items-container { flex: 1; overflow-y: auto; padding: 1.5rem; }
.empty-cart-msg { text-align: center; color: #666; margin-top: 2rem; font-style: italic; }
.cart-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; background: rgba(255,255,255,0.05); padding: 1rem; border-radius: 10px; align-items: center; border: 1px solid rgba(255,255,255,0.1);}
.cart-item img { width: 60px; height: 60px; object-fit: contain;  mix-blend-mode: multiply; }
.cart-item-details { flex: 1; }
.cart-item-details h4 { font-size: 1rem; margin-bottom: 0.3rem; color: #fff; }
.cart-item-details p { color: var(--secondary-color); font-weight: bold; margin: 0; }
.remove-item { background: none; border: none; color: #ff4c4c; font-size: 1.2rem; cursor: pointer; }
.cart-footer { padding: 1.5rem; border-top: 1px solid rgba(212,175,55,0.3); background: #060a06; }
.cart-total { display: flex; justify-content: space-between; font-size: 1.3rem; font-weight: bold; color: white; margin-bottom: 1.5rem; }
.checkout-btn { background: var(--secondary-color); color: #000; width: 100%; border: none; padding: 15px; font-weight: bold; text-transform: uppercase; border-radius: 8px; cursor: pointer; font-size: 1.1rem; transition: background 0.3s; }
.checkout-btn:hover { background: #e6c27a; }
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 1999; opacity: 0; pointer-events: none; transition: opacity 0.4s; backdrop-filter: blur(5px); }
.cart-overlay.open { opacity: 1; pointer-events: auto; }

/* Club Privado Section */
.club-section { padding: 6rem 5%; background: radial-gradient(circle at bottom, #faf8f2 0%, #ffffff 100%); border-top: 3px solid var(--secondary-color); }
.club-container { max-width: 800px; margin: 0 auto; text-align: center; }
.club-content h2 { color: var(--secondary-color); font-size: 2.2rem; margin-bottom: 1.5rem; }
.club-content p { color: #444; font-size: 1.1rem; line-height: 1.7; margin-bottom: 2rem; }
.club-form { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.club-form input { flex: 1; min-width: 250px; padding: 15px 20px; border-radius: 30px; border: 1px solid rgba(199,167,92,0.8); background: rgba(0,0,0,0.03); color: #222; font-size: 1rem; transition: all 0.3s ease; }
.club-form input:focus { outline: none; border-color: var(--secondary-color); background: rgba(0,0,0,0.07); box-shadow: 0 0 15px rgba(199,167,92,0.2); }
.club-form input::placeholder { color: #666; font-style: italic; }
.club-link { color: var(--secondary-color) !important; font-weight: bold; }

@media (max-width: 900px) {
    /* Responsive Preloader Video Fix */
    .preloader-video {
        object-fit: cover;
        object-position: 75% center; /* Shift focus to the right side of the video */
        transform: scale(1.5); /* Massive zoom to fill portrait screen and focus on the action in the center */
        transform-origin: 75% center;
        opacity: 0.7;
    }
    .preloader-video-bg {
        display: none; /* Not needed on mobile since cover fills the screen */
    }
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Terms and Conditions Modal */
.tc-modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 10000;
    display: flex; justify-content: center; align-items: center; padding: 20px;
    opacity: 0; visibility: hidden; transition: opacity 0.4s ease; backdrop-filter: blur(10px);
}
.tc-modal-overlay.show { opacity: 1; visibility: visible; }
.tc-modal {
    background: rgba(17, 17, 17, 0.7); 
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    max-width: 700px; width: 100%; max-height: 85vh; border-radius: 24px;
    display: flex; flex-direction: column; box-shadow: 0 30px 60px rgba(0,0,0,0.8);
    border: 1px solid rgba(199,167,92,0.4); color: #ccc;
    transform: translateY(40px) scale(0.95); transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.tc-modal-overlay.show .tc-modal { transform: translateY(0) scale(1); }
.tc-modal-header { padding: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); text-align: center; }
.tc-modal-header h2 { color: var(--secondary-color); margin: 0; font-size: 1.5rem; letter-spacing: 1px;}
.tc-modal-body { padding: 30px; overflow-y: auto; font-size: 0.95rem; line-height: 1.6; }
.tc-modal-body h3 { color: white; margin: 20px 0 10px; font-size: 1.1rem; }
.tc-modal-body p { margin-bottom: 15px; }
.tc-modal-body strong { color: var(--secondary-color); }
.tc-modal-footer { padding: 20px 30px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: flex-end; gap: 15px; background: rgba(0,0,0,0.3); border-radius: 0 0 24px 24px; }
.tc-btn { padding: 12px 25px; border-radius: 30px; font-weight: bold; cursor: pointer; border: none; font-size: 1rem; transition: all 0.3s; }
.tc-reject { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.tc-reject:hover { background: #ff4c4c; border-color: #ff4c4c; }
.tc-accept { background: var(--secondary-color); color: #000; box-shadow: 0 5px 15px rgba(199,167,92,0.4); }
.tc-accept:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(199,167,92,0.6); }

/* User Account Icon */
.user-account-link {
    color: white;
    font-size: 1.2rem;
    margin-right: 15px;
    text-decoration: none;
    transition: color 0.3s;
}
.user-account-link:hover {
    color: var(--secondary-color);
}

/* User Account Icon Enhanced */
.user-account-link {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.15);
    color: var(--secondary-color) !important;
    border: 1px solid var(--secondary-color);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}
.user-account-link:hover {
    background: var(--secondary-color);
    color: black !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212,175,55,0.4);
}
.user-account-link i {
    font-size: 1.2rem;
    color: inherit !important;
}
:root {
    --olive-color: #4a5d23; /* Rich premium olive green */
}

/* Update general headings to use the olive color */
h2, h3, h4, h5, h6 {
    color: var(--olive-color);
}

/* Exceptions: Keep the main title gold, and keep some things white or gold */
.animated-gradient-text {
    background: linear-gradient(270deg, #d4af37, #fff4c2, #b88a44, #e6c27a);
    background-size: 800% 800%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.gold-title, .subtitle-gold, .user-account-link {
    color: var(--secondary-color) !important;
}
.hero-subtitle { color: white !important; font-weight: 500; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.origen-vignette h3 { font-size: 2.5rem; color: #fdfdfd; margin-bottom: 0.5rem; letter-spacing: 2px;}
.slide-content-glass h4 {
    color: var(--olive-color) !important;
}
.bento-content h5 {
    color: white; /* Bento boxes usually have dark image backgrounds */
}
.tc-modal-header h2 {
    color: var(--olive-color);
}

/* Sleek Tolerancia Cero Redesign (Rare UI Magic Border + Spotlight) */
.tolerancia-elegant-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 2.5rem;
    max-width: 1200px;
    width: 95%;
    margin: 3rem auto 0;
}
@media (max-width: 900px) {
    .tolerancia-elegant-container { flex-direction: column; align-items: center; gap: 1.5rem; width: 90%; }
}

.tolerancia-pill {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid rgba(199,167,92,0.2);
    border-radius: 24px;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transition: all 0.4s ease;
    transform-style: preserve-3d;
    width: 100%;
}
@media (max-width: 900px) {
    .tolerancia-pill {
        padding: 2.5rem 1.5rem;
    }
}
.tolerancia-pill::before {
    content: ''; position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: conic-gradient(transparent, rgba(199,167,92,0.4), transparent 30%);
    animation: rotateGlow 5s linear infinite;
    z-index: 0;
}
.tolerancia-pill::after {
    content: ''; position: absolute;
    inset: 1px; background: #0f0f0f; border-radius: 15px; z-index: 1;
}
@keyframes rotateGlow { 100% { transform: rotate(360deg); } }

/* Rare Spotlight Hover Effect */
.rare-spotlight::after {
    background: radial-gradient(400px circle at var(--mouse-x) var(--mouse-y), rgba(199, 167, 92, 0.15), transparent 40%), #0f0f0f;
}
@media (max-width: 900px) {
    .rare-spotlight::after { background: #0f0f0f; } /* Disable spotlight on mobile */
    .tolerancia-pill { transform: none !important; } /* Disable 3D tilt on mobile */
}

.tolerancia-pill > * { position: relative; z-index: 2; color: white; transform: translateZ(20px); }
.tolerancia-pill .tol-icon {
    font-size: 1.4rem; color: var(--secondary-color); margin-bottom: 0.8rem;
    background: rgba(199,167,92,0.05); width: 45px; height: 45px;
    display: flex; justify-content: center; align-items: center;
    border-radius: 50%; border: 1px solid rgba(199,167,92,0.2);
}
.tolerancia-pill .tol-text h5 { color: var(--secondary-color); font-size: 1rem; margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: 1px;}
.tolerancia-pill .tol-text p { font-size: 0.85rem; color: #ccc; line-height: 1.5; margin: 0;}

/* Shop Card Re-design */
.shop-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 1.5rem;
}
.btn-details {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--olive-color);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
    width: 100%;
}
.btn-details:hover {
    background: var(--secondary-color);
    color: white;
}

/* Update tags to be more eye-catching */
.product-tag {
    background: #c99c33; /* Rich gold */
    color: white;
}
.product-tag.eco {
    background: #3d4b28; /* Deep olive */
}
.product-tag.best-seller {
    background: #8b0000; /* Deep elegant red for best seller */
}

/* Product Modal */
.product-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.product-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.product-modal-content {
    background: #fdfbf7;
    border-radius: 15px;
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.product-modal-overlay.active .product-modal-content {
    transform: translateY(0);
}
.pm-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    color: #444;
    background: none;
    border: none;
    cursor: pointer;
}
.pm-close:hover {
    color: #8b0000;
}
.pm-title {
    color: var(--olive-color);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}
.pm-desc {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.pm-features {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pm-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}
.pm-features li i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.catalog-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--olive-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-transform: uppercase;
}
.title-underline {
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 0 auto 3rem auto;
    border-radius: 2px;
}

/* Custom Cart Sidebar */
.cart-toggle-btn {
    background: transparent; border: 2px solid var(--secondary-color); color: #222;
    padding: 8px 15px; border-radius: 20px; font-weight: bold; cursor: pointer;
    display: flex; align-items: center; gap: 8px; transition: all 0.3s; position: relative;
}
.cart-toggle-btn:hover { background: var(--secondary-color); color: white; }
.cart-toggle-btn.icon-only { padding: 8px 12px; }
.cart-badge { 
    background: var(--olive-color); color: white; border-radius: 50%; 
    padding: 2px 6px; font-size: 0.75rem; min-width: 20px; text-align: center;
    position: absolute; top: -8px; right: -8px; 
    border: 2px solid #fdfbf7; box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.cart-sidebar {
    position: fixed; top: 0; right: -400px; width: 100%; max-width: 400px; height: 100vh;
    background: rgba(253, 251, 247, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 3000; box-shadow: -10px 0 30px rgba(0,0,0,0.15);
    display: flex; flex-direction: column; transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    border-left: 1px solid rgba(255,255,255,0.5);
}
.cart-sidebar.open { right: 0; }

@media (max-width: 900px) {
    .cart-sidebar {
        top: auto;
        bottom: -100vh;
        right: 0;
        max-width: 100%;
        height: 80vh;
        border-radius: 24px 24px 0 0;
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.5);
        transition: bottom 0.5s cubic-bezier(0.32, 0.72, 0, 1);
    }
    .cart-sidebar.open {
        bottom: 0;
        right: 0;
    }
    .drag-handle-mobile {
        width: 40px; height: 5px;
        background: rgba(0,0,0,0.2);
        border-radius: 5px;
        margin: 10px auto;
        display: block;
    }
}
.drag-handle-mobile { display: none; }

/* Glare effect */
.tilt-3d-shop .glare {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.2), transparent 50%);
    opacity: 0; pointer-events: none; mix-blend-mode: overlay; transition: opacity 0.3s;
}
@media (hover: hover) {
    .tilt-3d-shop:hover .glare { opacity: 1; }
}

/* Golden Particles */
.golden-particle {
    position: absolute;
    background: radial-gradient(circle, rgba(255,235,160,1) 0%, rgba(199,167,92,0.8) 50%, rgba(199,167,92,0) 100%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 5;
    box-shadow: 0 0 10px rgba(255, 235, 160, 0.8);
    opacity: 0.8;
}

.cart-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4); backdrop-filter: blur(4px); z-index: 2999; opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.cart-overlay.active { opacity: 1; pointer-events: auto; }

.cart-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid rgba(0,0,0,0.05); }
.cart-header h2 { color: var(--olive-color); margin: 0; }
.close-cart { background: none; border: none; font-size: 2rem; cursor: pointer; color: #444; transition: transform 0.2s; }
.close-cart:hover { transform: rotate(90deg); }

.cart-items { flex: 1; overflow-y: auto; padding: 20px; }
@keyframes slideInRight { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
.cart-item { 
    display: flex; align-items: center; gap: 15px; margin-bottom: 20px; 
    border: 1px solid rgba(255,255,255,0.6); padding: 15px; border-radius: 16px;
    background: rgba(255,255,255,0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: slideInRight 0.4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}
.cart-item:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 10px 20px rgba(0,0,0,0.08); }
.cart-item img { width: 60px; height: 60px; object-fit: contain;  mix-blend-mode: multiply; }
.cart-item-details { flex: 1; }
.cart-item-title { font-weight: bold; color: #222; margin: 0 0 5px 0; font-size: 0.95rem; }
.cart-item-price { color: var(--olive-color); font-weight: bold; margin: 0; }
.cart-item-qty { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.qty-btn { background: #eee; border: none; width: 25px; height: 25px; border-radius: 50%; cursor: pointer; font-weight: bold; }
.qty-btn:hover { background: #ddd; }
.remove-item { color: #8b0000; background: none; border: none; cursor: pointer; font-size: 0.9rem; text-decoration: underline; margin-left: auto; }

.cart-footer { padding: 20px; border-top: 1px solid rgba(0,0,0,0.1); background: white; }
.cart-total { display: flex; justify-content: space-between; font-size: 1.2rem; font-weight: bold; color: #222; margin-bottom: 15px; }
.btn-checkout { width: 100%; background: var(--secondary-color); color: white; border: none; padding: 15px; font-size: 1.1rem; font-weight: bold; border-radius: 30px; cursor: pointer; transition: background 0.3s; }
.btn-checkout:hover { background: #b89645; }
.btn-checkout:disabled { background: #ccc; cursor: not-allowed; }

/* Shop Add to Cart Button */
/* Rare UI - Swipe Cart Button */
.btn-add-cart {
    position: relative;
    background: transparent;
    color: var(--olive-color);
    border: 2px solid var(--olive-color);
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    overflow: hidden;
    z-index: 1;
}

.btn-add-cart::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--olive-color);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-add-cart:hover {
    color: white;
    box-shadow: 0 8px 25px rgba(74, 93, 35, 0.3);
}

.btn-add-cart:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-add-cart:active {
    transform: scale(0.95);
}

/* Rare UI - Price Badge */
.rare-price-badge {
    float: right;
    background: linear-gradient(135deg, rgba(199,167,92,0.15) 0%, rgba(162,130,54,0.15) 100%);
    color: var(--secondary-color);
    padding: 2px 10px;
    border-radius: 8px;
    border: 1px solid rgba(199,167,92,0.3);
    font-size: 1rem;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(199,167,92,0.1);
    transition: all 0.3s ease;
}
.card-glass:hover .rare-price-badge {
    background: linear-gradient(135deg, rgba(199,167,92,0.8) 0%, rgba(162,130,54,0.8) 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(199,167,92,0.4);
}


/* Checkout Modal */
.checkout-modal-content {
    background: #fdfbf7; border-radius: 15px; padding: 2.5rem; max-width: 600px; width: 90%;
    position: relative; max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Rare UI - Infinite Marquee */
.rare-marquee-container {
    overflow: hidden;
    background: var(--secondary-color); /* Golden/brownish color */
    color: white;
    padding: 15px 0;
    display: flex;
    white-space: nowrap;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.rare-marquee {
    display: flex;
    animation: scrollMarquee 25s linear infinite;
}
.rare-marquee span {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 3px;
    padding: 0 20px;
}
@keyframes scrollMarquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

/* Rare UI - Scroll Text Reveal */
.rare-scroll-reveal {
    background: linear-gradient(90deg, #fff 0%, #fff 50%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.2) 100%);
    background-size: 200% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline;
}
.rare-scroll-reveal strong {
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* Rare UI - Flying Cart Image */
.flying-cart-img {
    position: fixed;
    width: 60px;
    height: 60px;
    object-fit: contain;
    z-index: 9999;
    pointer-events: none;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

/* Rare UI - Modern Sonner Toast */
.rare-toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: none;
}
@media (max-width: 768px) {
    .rare-toast-container {
        right: 50%;
        transform: translateX(50%);
        bottom: 20px;
        width: 90%;
    }
}

.rare-toast {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    pointer-events: auto;
    position: relative;
    overflow: hidden;
    min-width: 300px;
    max-width: 400px;
    transform-origin: bottom center;
}
.rare-toast-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
}
.rare-toast-content {
    flex: 1;
}
.rare-toast-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #222;
    margin: 0 0 3px 0;
}
.rare-toast-desc {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}
.rare-toast-action {
    background: var(--olive-color);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}
.rare-toast-action:hover {
    background: #3d4b28;
}
.rare-toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--secondary-color);
    width: 100%;
}
.checkout-form { display: flex; flex-direction: column; gap: 15px; margin-top: 20px; }
.checkout-form input, .checkout-form textarea, .checkout-form select {
    padding: 12px; border: 1px solid #ccc; border-radius: 8px; font-family: inherit; font-size: 1rem; background: white;
}
.checkout-summary { background: rgba(0,0,0,0.03); padding: 15px; border-radius: 8px; margin: 10px 0; }
.checkout-summary p { margin: 5px 0; font-weight: bold; display: flex; justify-content: space-between; }
.btn-submit-order {
    background: var(--olive-color); color: white; border: none; padding: 15px;
    font-size: 1.1rem; font-weight: bold; border-radius: 30px; cursor: pointer; transition: background 0.3s;
}
.btn-submit-order:hover { background: #3d4b28; }
