/* --- RESET & VARIABLES --- */
:root {
    --brand-color: #9E304D;
    --brand-dark: #7a253b;
    --ribbon-red: #D32F2F;
    --ribbon-dark: #8c1b1b;
    --ribbon-fold: #5e1d2e;
    --white: #FFFFFF;
    --bg-light: #F8F8F8;
    --text-main: #2C2C2C;
    --text-muted: #777777;
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.05);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--white);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; color: var(--brand-color); }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* --- GLOBAL ANIMATIONS (SCROLL IN ONLY) --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    /* CRITICAL FIX: "none" removes the stacking context so fixed children work correctly */
    transform: none; 
}

/* --- PRELOADER --- */
#preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px); z-index: 10000;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader-hide { opacity: 0; visibility: hidden; }
.loader-icon { font-size: 3.5rem; color: var(--brand-color); margin-bottom: 20px; animation: spin 1.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite; }
.loader-text { font-family: 'Playfair Display', serif; font-size: 1.2rem; letter-spacing: 2px; color: var(--text-main); text-transform: uppercase; animation: pulse 2s infinite; }
@keyframes spin { 0% { transform: rotate(0deg) scale(1); } 50% { transform: rotate(180deg) scale(0.8); } 100% { transform: rotate(360deg) scale(1); } }
@keyframes pulse { 0% { opacity: 0.5; } 50% { opacity: 1; } 100% { opacity: 0.5; } }

/* --- UTILS --- */
.container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }

.section-header { 
    width: 100%; display: flex; flex-direction: column; align-items: center; 
    justify-content: center; text-align: center; margin: 80px 0 60px; 
}
.section-header span { 
    font-family: 'Lato', sans-serif; color: var(--text-muted); letter-spacing: 4px; 
    text-transform: uppercase; margin-bottom: 15px; font-size: 0.9rem; font-weight: 700; display: block; 
}
.section-header h2 { 
    font-family: 'Playfair Display', serif; color: var(--brand-color); font-size: 3rem; margin: 0; line-height: 1.2; 
}

/* --- DELIVERY BANNER --- */
.delivery-strip { background-color: var(--brand-color); color: var(--white); text-align: center; padding: 12px; font-weight: 700; font-size: 0.9rem; letter-spacing: 1px; text-transform: uppercase; }
.delivery-link { color: var(--white); text-decoration: none; border-bottom: 1px solid transparent; transition: var(--transition); }
.delivery-link:hover { border-bottom-color: var(--white); opacity: 0.9; }

/* --- NAVIGATION --- */
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 15px 5%; background-color: rgba(255, 255, 255, 0.98); box-shadow: 0 2px 10px rgba(0,0,0,0.03); position: sticky; top: 0; z-index: 1000; }
.logo { cursor: pointer; transition: opacity 0.3s; z-index: 1002; display: flex; align-items: center; }
.logo img { height: 50px; width: auto; display: block; }
.logo:hover { opacity: 0.7; }

/* Updated Nav Links with Animation */
.nav-links { display: flex; gap: 30px; }
.nav-links a { 
    font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; 
    color: var(--text-main); font-weight: 700; position: relative; 
    padding-bottom: 5px; /* Space for the line */
}
.nav-links a:hover { color: var(--brand-color); }

/* The growing line animation */
.nav-links a::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 2px;
    background-color: var(--brand-color);
    transition: width 0.3s ease;
}
.nav-links a:hover::after {
    width: 100%;
}

.hamburger { display: none; cursor: pointer; z-index: 1002; }
.bar { display: block; width: 25px; height: 3px; margin: 5px auto; background-color: var(--brand-color); transition: all 0.3s ease-in-out; }
.hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile-nav-panel { position: fixed; top: 0; right: -100%; width: 80%; height: 100vh; background-color: var(--white); box-shadow: -5px 0 30px rgba(0,0,0,0.15); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 40px; transition: 0.4s cubic-bezier(0.77, 0, 0.175, 1); z-index: 1001; padding-top: 60px; }
.mobile-nav-panel.active { right: 0; }
.close-menu-btn { position: absolute; top: 30px; right: 30px; font-size: 2rem; color: var(--brand-color); cursor: pointer; transition: transform 0.3s ease; }
.close-menu-btn:hover { transform: rotate(90deg); }
.mobile-nav-panel a { font-size: 1.4rem; font-weight: 700; text-transform: uppercase; color: var(--text-main); transition: 0.3s; position: relative; display: flex; align-items: center; }
.mobile-nav-panel a::after { content: '\f061'; font-family: 'Font Awesome 5 Free'; font-weight: 900; font-size: 1rem; margin-left: 10px; opacity: 0; transform: translateX(-10px); transition: all 0.3s ease; color: var(--brand-color); }
.mobile-nav-panel a:hover { color: var(--brand-color); }
.mobile-nav-panel a:hover::after { opacity: 1; transform: translateX(0); }

/* --- HERO SECTION --- */
.hero { 
    height: 85vh; 
    background: url('ASSETS/topfooter_hq.png') no-repeat center center; 
    background-size: cover; 
    display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; position: relative; 
}
.hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); z-index: 1; }
.hero-content { position: relative; z-index: 2; padding: 20px; transition: transform 0.4s ease; }
.hero-content:hover { transform: translateY(-5px) scale(1.02); }

/* Updated Premium Sharp Font for Hero Title */
.hero h1 { 
    font-family: 'Montserrat', sans-serif; /* Sharp, modern font */
    font-weight: 300; /* Light weight for elegance */
    text-transform: uppercase; 
    letter-spacing: 4px; /* Wide spacing for premium look */
    font-size: 3.5rem; 
    margin-bottom: 25px; 
    color: var(--white); 
    text-shadow: 0 4px 10px rgba(0,0,0,0.3); 
    transition: all 0.4s ease; 
}
.hero-content:hover h1 { text-shadow: 0 0 20px rgba(255, 255, 255, 0.6), 0 0 40px rgba(158, 48, 77, 0.4); letter-spacing: 6px; }

.hero p { 
    font-size: 1.3rem; margin-bottom: 30px; color: var(--white); 
    text-shadow: 0 2px 5px rgba(0,0,0,0.3); font-weight: 400; transition: all 0.4s ease; 
}
.hero-content:hover p { color: #f0f0f0; text-shadow: 0 0 10px rgba(255, 255, 255, 0.5); }

.btn-hero { padding: 15px 45px; background-color: var(--brand-color); color: white; border: none; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; cursor: pointer; transition: var(--transition); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.btn-hero:hover { background-color: white; color: var(--brand-color); transform: translateY(-3px); }

/* --- MAGAZINE --- */
.magazine-section { padding: 80px 0 120px; background-color: #fafafa; border-bottom: 1px solid #eee; min-height: 600px; }
.magazine-content-wrapper { transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1); position: relative; background: transparent; }

/* FIX: Removed overflow:hidden from wrapper so buttons outside are visible */
.carousel-wrapper { 
    position: relative; 
    max-width: 1000px; 
    margin: 0 auto; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.15); 
    background: #1a1a1a; 
    border-radius: 4px; 
    transition: transform 0.4s ease, box-shadow 0.4s ease; 
}
.carousel-wrapper:hover { transform: translateY(-5px); box-shadow: 0 30px 60px rgba(158, 48, 77, 0.15); }

/* FIX: Added overflow:hidden here instead to crop the slides */
.carousel-container-inner { 
    width: 100%; 
    padding-top: 133.33%; 
    position: relative; 
    overflow: hidden; 
    border-radius: 4px;
}

.carousel-track { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; transition: transform 0.5s ease-in-out; cursor: grab; }
.slide { min-width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; position: relative; }
.slide canvas { width: 100%; height: 100%; object-fit: contain; background-color: white; transition: transform 0.3s ease; }
.loading-text { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: #fff; animation: pulse 1.5s infinite; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }

/* ORIGINAL BUTTONS (FOR NON-FULLSCREEN MODE) */
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background-color: rgba(255, 255, 255, 0.1); backdrop-filter: blur(5px); color: white; border: 1px solid rgba(255,255,255,0.2); width: 50px; height: 50px; cursor: pointer; z-index: 10; font-size: 1.2rem; border-radius: 50%; transition: all 0.3s var(--bounce); }
.carousel-btn:hover { background-color: var(--brand-color); color: white; border-color: var(--brand-color); transform: translateY(-50%) scale(1.15); box-shadow: 0 0 15px rgba(158, 48, 77, 0.6); }
.carousel-btn.prev { left: 20px; }
.carousel-btn.next { right: 20px; }

.fullscreen-trigger { display: block; margin: 40px auto 0; padding: 15px 40px; background-color: transparent; border: 2px solid var(--brand-color); color: var(--brand-color); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; cursor: pointer; transition: all 0.3s var(--bounce); position: relative; overflow: hidden; }
.fullscreen-trigger::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--brand-color); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; z-index: -1; }
.fullscreen-trigger:hover { color: white; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(158, 48, 77, 0.2); }
.fullscreen-trigger:hover::before { transform: scaleX(1); }
.close-fs-btn { position: fixed; top: 40px; right: 40px; color: white; font-size: 3rem; cursor: pointer; z-index: 20001; display: none; transition: all 0.4s var(--bounce); text-shadow: 0 2px 15px rgba(0,0,0,0.5); }
.close-fs-btn:hover { color: var(--brand-color); transform: rotate(90deg) scale(1.2); }

/* --- UPDATED FULLSCREEN ACTIVE STATE --- */
.fs-active { 
    position: fixed !important; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100vh; 
    z-index: 20000; 
    background-color: rgba(20, 20, 20, 1); 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    animation: fs-enter 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards; 
}

.fs-exit { animation: fs-exit 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
@keyframes fs-enter { 0% { opacity: 0; transform: translateY(50px) scale(0.98); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes fs-exit { 0% { opacity: 1; transform: translateY(0) scale(1); } 100% { opacity: 0; transform: translateY(50px) scale(0.98); } }

.fs-active .fullscreen-trigger { display: none !important; }

/* Reduced height in fullscreen to fit buttons */
.fs-active .carousel-wrapper { 
    max-width: none; 
    width: auto; 
    height: 80vh; 
    aspect-ratio: 3 / 4; 
    margin: 0; 
    box-shadow: 0 0 50px rgba(0,0,0,0.5); 
    overflow: visible !important; /* CRITICAL FIX: Ensures buttons outside wrapper are visible */
}
.fs-active .carousel-container-inner { padding-top: 0; height: 100%; }

/* --- FULLSCREEN BUTTONS (MOVED TO BOTTOM) --- */
.fs-active .carousel-btn { 
    width: 60px; 
    height: 60px; 
    font-size: 1.5rem; 
    background-color: rgba(255,255,255,0.1); 
    border: 1px solid rgba(255,255,255,0.2);
    top: auto; /* Remove default top positioning */
    transform: none; /* Remove centering transform */
    bottom: -80px; /* Position below the magazine */
    transition: all 0.3s ease;
}

/* Position Left Button */
.fs-active .carousel-btn.prev { 
    left: 35%; 
    right: auto;
}

/* Position Right Button */
.fs-active .carousel-btn.next { 
    right: 35%; 
    left: auto;
}

.fs-active .carousel-btn:hover { 
    background-color: var(--brand-color); 
    border-color: var(--brand-color); 
    transform: scale(1.1);
}

/* --- SWIPE HINT ANIMATION (IMPROVED) --- */
.swipe-hint {
    position: absolute;
    top: -50px; /* Position ABOVE the magazine */
    left: 50%;
    transform: translateX(-50%);
    display: none; /* Hidden by default */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: auto; /* Allow auto width to fit text */
    min-width: 280px; /* Ensure enough space */
    pointer-events: none;
}

/* Only show in fullscreen */
.fs-active .swipe-hint { display: flex; }

.swipe-text {
    color: rgba(255,255,255,0.7);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    font-weight: 500;
    white-space: nowrap; /* CRITICAL FIX: Forces text to one line */
}

.swipe-anim-box {
    width: 120px;
    height: 2px;
    background: rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

/* New "Gesture" Animation: Moves left then right */
.swipe-line {
    width: 40px; /* Short "finger" width */
    height: 100%;
    background-color: var(--brand-color);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: swipe-gesture 2.5s infinite ease-in-out;
    box-shadow: 0 0 10px var(--brand-color);
    border-radius: 2px;
}

@keyframes swipe-gesture {
    0% { transform: translateX(-50%); opacity: 0; }
    10% { transform: translateX(-50%); opacity: 1; }
    30% { transform: translateX(-120%); } /* Swipe Left */
    50% { transform: translateX(-50%); } /* Center */
    70% { transform: translateX(20%); } /* Swipe Right */
    90% { transform: translateX(-50%); opacity: 1; }
    100% { transform: translateX(-50%); opacity: 0; }
}

/* --- CATALOG & SETS --- */
.category-nav { display: flex; justify-content: center; gap: 15px; margin-bottom: 60px; flex-wrap: wrap; }
.cat-btn { background: transparent; border: 1px solid #ddd; color: var(--text-muted); padding: 12px 30px; cursor: pointer; transition: var(--transition); font-weight: 600; font-size: 0.9rem; }
.cat-btn.active, .cat-btn:hover { border-color: var(--brand-color); background-color: var(--brand-color); color: white; }

.catalog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 120px; }
.catalog-item { 
    display: flex; flex-direction: column; gap: 0; cursor: pointer; position: relative; 
    /* Initial state handled by .animate-on-scroll */
}

.catalog-item.featured { grid-column: span 2; grid-row: span 2; }

.featured-header { text-align: center; margin-bottom: 10px; width: 100%; }
.featured-header h3 { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--brand-color); margin: 0; letter-spacing: 2px; text-transform: uppercase; }

.visual-box { background-color: #f0f0f0; height: 250px; position: relative; overflow: hidden; border-radius: 4px 4px 0 0; display: flex; align-items: center; justify-content: center; }
.catalog-item.featured .visual-box { height: 550px; } 

.visual-box img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform 0.4s ease; }
.catalog-item:hover .visual-box img { transform: scale(1.1); }

/* PREMIUM 3D RIBBON BADGE */
.discount-badge {
    position: absolute; top: -8px; right: 20px;
    background: linear-gradient(135deg, var(--brand-color) 0%, var(--brand-dark) 100%);
    color: white; font-weight: 700; font-size: 0.9rem;
    padding: 12px 12px 25px 12px;
    z-index: 5;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 85%, 0 100%);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3), 0 5px 15px rgba(0,0,0,0.3);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    transition: transform 0.3s var(--bounce);
    transform-origin: top center;
}

.discount-badge::before {
    content: ''; position: absolute; top: 0; left: -7px; width: 7px; height: 7px;
    background-color: var(--ribbon-fold);
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
    z-index: -1;
}

.catalog-item:hover .discount-badge { transform: scale(1.1) rotate(3deg); }

.details-box { background-color: var(--white); padding: 20px 15px; border: 1px solid #eee; border-top: none; text-align: left; transition: var(--transition); border-radius: 0 0 4px 4px; display: flex; flex-direction: column; gap: 8px; min-height: 200px; flex-grow: 1;}
.catalog-item.featured .details-box { background-color: #fffcfc; border-color: rgba(158, 48, 77, 0.2); }
.catalog-item:hover .details-box { border-color: #ccc; box-shadow: 0 10px 20px rgba(0,0,0,0.05); transform: translateY(-5px); }

.details-box h4 { font-size: 1.1rem; color: var(--text-main); font-weight: 700; margin: 0; text-transform: uppercase; }
.catalog-item.featured .details-box h4 { font-size: 1.5rem; color: var(--brand-color); }

.details-box .desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.4; border-bottom: 1px solid #f0f0f0; padding-bottom: 8px; }
.details-box .meta-row { display: flex; justify-content: space-between; font-size: 0.8rem; color: #555; font-weight: 600; }

.price-container { margin-top: auto; text-align: right; }
.price { font-family: 'Montserrat', sans-serif; font-size: 1.3rem; color: var(--brand-color); font-weight: 700; letter-spacing: -0.5px; }
.price sup { font-size: 0.6em; vertical-align: top; position: relative; top: 0.1em; opacity: 0.9; }
.old-price { font-family: 'Montserrat', sans-serif; font-size: 0.9rem; color: #999; text-decoration: line-through; margin-right: 8px; font-weight: 400; }

/* --- PRODUCT POPUP MODAL --- */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.8); backdrop-filter: blur(8px); z-index: 11000; display: flex; justify-content: center; align-items: center; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; }
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-content { background: white; width: 90%; max-width: 1000px; max-height: 90vh; border-radius: 8px; display: flex; overflow: hidden; box-shadow: 0 25px 50px rgba(0,0,0,0.3); transform: scale(0.9); transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); position: relative; }
.modal-overlay.active .modal-content { transform: scale(1); }
.modal-close { position: absolute; top: 20px; right: 20px; font-size: 2rem; color: var(--text-main); cursor: pointer; z-index: 10; transition: 0.3s ease; }
.modal-close:hover { color: var(--brand-color); transform: rotate(90deg); }
.modal-carousel-section { flex: 1.2; background: #f9f9f9; padding: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.modal-main-img { width: 100%; height: 400px; object-fit: contain; margin-bottom: 20px; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1)); transition: opacity 0.3s ease; }
.modal-thumbs { display: flex; gap: 10px; }
.modal-thumb { width: 70px; height: 70px; border: 1px solid #ddd; padding: 5px; cursor: pointer; object-fit: contain; background: white; transition: 0.3s; }
.modal-thumb:hover, .modal-thumb.active { border-color: var(--brand-color); transform: translateY(-3px); }
.modal-info-section { flex: 1; padding: 50px; display: flex; flex-direction: column; justify-content: center; overflow-y: auto; }
.modal-title { font-family: 'Playfair Display', serif; font-size: 2.5rem; margin-bottom: 10px; color: var(--brand-color); line-height: 1.1; text-transform: uppercase;}
.modal-desc { font-size: 1rem; color: #666; margin-bottom: 20px; line-height: 1.6; }
.modal-meta { font-size: 0.9rem; color: #333; font-weight: bold; margin-bottom: 30px; border-top: 1px solid #eee; border-bottom: 1px solid #eee; padding: 15px 0; }
.modal-price { font-family: 'Montserrat', sans-serif; font-size: 2rem; color: var(--brand-color); font-weight: 700; letter-spacing: -1px; }
.modal-price sup { font-size: 0.6em; vertical-align: top; top: 0.1em; }

/* --- OTHER SECTIONS --- */
.social-section { background-color: #F9F9F9; padding: 60px 0; border-top: 1px solid #eee; }
.social-container { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.social-box { background: white; height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid #eee; cursor: pointer; position: relative; overflow: hidden; z-index: 1; }
.social-box::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--brand-color); transform: scaleY(0); transform-origin: bottom; transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); z-index: -1; }
.social-box i, .social-box h4 { transition: color 0.4s ease; position: relative; color: var(--text-main); z-index: 2; }
.social-box i { font-size: 2rem; margin-bottom: 10px; }
.social-box h4 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.social-box:hover::before { transform: scaleY(1); }
.social-box:hover i, .social-box:hover h4 { color: var(--white); }
.coming-soon-section { background-color: var(--white); padding: 80px 20px; text-align: center; border-top: 1px solid #eee; }
.coming-soon-box { max-width: 800px; margin: 0 auto; border: 2px solid var(--brand-color); padding: 40px; }
.coming-soon-box h3 { font-size: 2.5rem; margin-bottom: 15px; text-transform: uppercase; }

/* --- FONT COMING SOON --- */
.coming-soon-box p { 
    font-family: 'Montserrat', sans-serif;
    font-weight: 400; 
    font-size: 1.1rem; 
    color: var(--text-muted); 
    max-width: 600px; 
    margin: 0 auto; 
    line-height: 1.4;
}

/* --- FOOTER --- */
footer { background: linear-gradient(135deg, var(--brand-color) 0%, var(--brand-dark) 100%); color: white; padding: 80px 0 20px; font-size: 0.95rem; }

/* Updated Grid to 4 Columns for the addresses */
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.6fr 1.2fr 1fr; gap: 40px; margin-bottom: 60px; }

.footer-col h4 { color: white; margin-bottom: 25px; font-size: 1.3rem; font-family: 'Playfair Display', serif; letter-spacing: 1px; position: relative; display: inline-block; }
.footer-col h4::after { content: ''; display: block; width: 40px; height: 2px; background: rgba(255,255,255,0.3); margin-top: 10px; }
.footer-brand-logo { height: 60px; width: auto; margin-bottom: 25px; display: block; }
.footer-brand p { opacity: 0.8; line-height: 1.8; margin-bottom: 20px; font-size: 0.9rem; }
.footer-link-list li { margin-bottom: 12px; }
.footer-link { color: rgba(255,255,255,0.8); position: relative; padding-bottom: 2px; transition: color 0.3s; font-size: 0.9rem; }
.footer-link::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background-color: white; transition: width 0.4s ease; }
.footer-link:hover { color: white; }
.footer-link:hover::after { width: 100%; }

/* --- SCROLLABLE LOCATIONS STYLES --- */
.locations-wrapper { display: flex; flex-direction: column; max-height: 250px; }
.locations-scroll {
    overflow-y: auto;
    padding-right: 10px;
    max-height: 200px; 
    /* Scrollbar styling for Firefox */
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.5) rgba(0,0,0,0.1);
}

/* Custom Scrollbar for Webkit (Chrome/Safari) */
.locations-scroll::-webkit-scrollbar { width: 6px; }
.locations-scroll::-webkit-scrollbar-track { background: rgba(0,0,0,0.1); border-radius: 3px; }
.locations-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.4); border-radius: 3px; }
.locations-scroll::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.8); }

.locations-list li {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    line-height: 1.4;
}
.locations-list li:last-child { border-bottom: none; }

.contact-item { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; color: rgba(255,255,255,0.9); transition: transform 0.3s ease; cursor: pointer; }
.contact-item:hover { transform: translateX(10px); color: white; }
.contact-icon-box { width: 35px; height: 35px; min-width: 35px; border: 1px solid rgba(255,255,255,0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.3s; font-size: 0.9rem; }
.contact-item:hover .contact-icon-box { background-color: white; color: var(--brand-color); border-color: white; }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; color: rgba(255,255,255,0.5); font-size: 0.85rem; }

/* --- RESPONSIVE UPDATE --- */
@media (max-width: 1024px) {
    /* Stack layout for tablet/mobile */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-brand { grid-column: span 2; text-align: center; align-items: center; } 
    .footer-brand-logo { margin: 0 auto 20px; }
    .carousel-wrapper { max-width: 90%; }
}

@media (max-width: 768px) {
    .navbar { padding: 15px 20px; }
    .logo img { height: 40px; }
    .nav-links { display: none; }
    .hamburger { display: block; }
    .catalog-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .visual-box { height: 180px; }
    .details-box { padding: 15px 10px; min-height: 180px; }
    .details-box h4 { font-size: 1rem; }
    .details-box .desc { font-size: 0.75rem; }
    .hero h1 { font-size: 2.5rem; }
    .social-container { grid-template-columns: 1fr; }
    
    /* Footer stacking for mobile */
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-brand { grid-column: span 1; }
    .locations-scroll { max-height: 250px; } /* Slightly taller on mobile */

    /* Mobile Fullscreen Magazine */
    .fs-active .carousel-wrapper { 
        width: 95%; 
        height: 70vh; /* Reduced height on mobile to fit buttons */
        aspect-ratio: 3/4; 
        margin-top: -20px; 
    }
    .fs-active .carousel-btn.prev { left: 20px; bottom: -70px; }
    .fs-active .carousel-btn.next { right: 20px; bottom: -70px; }
    .swipe-hint { top: -60px; } /* Lift hint up slightly on mobile */

    .catalog-item.featured { grid-column: span 2; }
    .catalog-item.featured .visual-box { height: 350px; }
    .modal-content { flex-direction: column; width: 95%; height: 90vh; border-radius: 8px; overflow-y: auto; }
    .modal-carousel-section { height: auto; min-height: 300px; padding: 20px; flex: none; }
    .modal-main-img { height: 250px; }
    .modal-info-section { padding: 20px; justify-content: flex-start; }
    .modal-title { font-size: 1.8rem; }
    .modal-close { top: 10px; right: 10px; background: rgba(255,255,255,0.8); border-radius: 50%; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }
}