/* ==========================================================================
   PREMIUM LUXURY VARIABLES PALETTE
   ========================================================================== */
:root {
    --primary-dark: #0f141d; /* Deep Midnight Ink */
    --sand-neutral: #f4f0ea; /* Pure Warm Coast Linen */
    --accent: #c4a47c;       /* Corinthian Gold Leaf */
    --text-muted: #626873;   /* Soft Shoreline Muted Gray */
    --bg-pure: #faf9f6;      /* High-end off-white luxury canvas */
    --white: #ffffff;
}

/* ==========================================================================
   GLOBAL RESET & BASE PARAMETERS
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.01em;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%; /* Prevents automatic font resizing on mobile iOS */
}

body {
    background-color: var(--bg-pure);
    color: var(--primary-dark);
    overflow-x: hidden;
}

.container {
    width: 88%;
    max-width: 1400px;
    margin: 0 auto;
}

/* ==========================================================================
   TYPOGRAPHY OVERRIDES
   ========================================================================== */
h1, h2, h3, .brand-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
}

.subtitle {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--accent);
    display: block;
    margin-bottom: 12px;
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 60px;
}

.section-title-wrap h2 {
    font-size: 2.8rem;
}

/* ==========================================================================
   LUXURY ANNOUNCEMENT BAR
   ========================================================================== */
.announcement-bar {
    background: var(--primary-dark);
    color: var(--sand-neutral);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-align: center;
    padding: 8px 0;
    font-weight: 400;
}

/* ==========================================================================
   PREMIUM GEOMETRIC TRUE-CENTERED STICKY HEADER
   ========================================================================== */
header {
    background: rgba(250, 249, 246, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(15, 20, 29, 0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr; /* Forces absolute 3-column balancing lines */
    align-items: center;
    width: 90%;
    margin: 0 auto;
}

.nav-links {
    display: flex;
    justify-content: flex-start;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 500;
    margin-right: 35px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.nav-links a:hover { 
    color: var(--accent); 
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    height: 70px;          /* Scaled up from 38px to make it pop */
    width: auto;           /* Automatically handles design scale proportions */
    max-width: 280px;      /* Drops the bottleneck clamp so it fits wide logos */
    display: block;
    transition: height 0.3s ease;
}

.cart-icon-container {
    grid-column: 3;
    justify-self: end;
    position: relative;
    cursor: pointer;
    padding: 5px;
}

#cart-count {
    position: absolute;
    top: -2px;
    right: -4px;
    background: var(--primary-dark);
    color: var(--white);
    border-radius: 50%;
    font-size: 9px;
    width: 15px;
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* ==========================================================================
   HIGH-FASHION EDITORIAL HERO
   ========================================================================== */
.hero {
    position: relative;
    background: linear-gradient(rgba(15, 20, 29, 0.35), rgba(15, 20, 29, 0.2)), 
                url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1800&q=80') no-repeat center center/cover;
    height: 92vh;
    display: flex;
    align-items: center;
    padding-left: 8%;
}

.hero-content {
    z-index: 2;
    max-width: 750px;
}

.hero-sub {
    color: var(--accent);
    letter-spacing: 0.3em;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.hero-content h1 {
    font-size: 4.2rem;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 40px;
}

/* ==========================================================================
   LUXURY ACTION BUTTONS
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 16px 36px;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-decoration: none;
    border-radius: 0px; /* High Fashion Architectural Edges */
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
}

.btn-primary { background: var(--white); color: var(--primary-dark); }
.btn-primary:hover { background: var(--primary-dark); color: var(--white); transform: translateY(-3px); }

.btn-dark { background: var(--primary-dark); color: var(--white); }
.btn-dark:hover { background: var(--accent); color: var(--primary-dark); }

.btn-outline { background: transparent; border: 1px solid var(--primary-dark); color: var(--primary-dark); }
.btn-outline:hover { background: var(--primary-dark); color: var(--white); }

.btn-underline { padding: 5px 0; background: transparent; color: var(--white); border-bottom: 1px solid var(--accent); }
.btn-underline:hover { color: var(--accent); }

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    text-align: center;
    opacity: 0.7;
}

/* ==========================================================================
   STANDARDS EDITORIAL CARDS
   ========================================================================== */
.standards { padding: 120px 0; background: var(--white); }
.standards-grid { display: flex; gap: 40px; }
.standard-card { flex: 1; padding: 20px 10px; }
.icon-wrap { font-size: 24px; margin-bottom: 20px; color: var(--accent); }
.standard-card h3 { font-size: 1.5rem; margin-bottom: 15px; font-weight: 400; }
.standard-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; font-weight: 300; }

/* ==========================================================================
   PRODUCT LUXURY GRID LAYOUT
   ========================================================================== */
.products-section { padding: 120px 0; background: var(--bg-pure); }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.product-card { background: transparent; transition: all 0.4s ease; display: flex; flex-direction: column; }
.product-img-wrapper { width: 100%; height: 500px; overflow: hidden; position: relative; margin-bottom: 20px; background: #eaeaea; }
.product-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.product-card:hover .product-img { transform: scale(1.06); }
.product-meta { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 15px; }
.product-meta h3 { font-size: 1.6rem; font-weight: 400; }
.price { font-size: 15px; font-weight: 500; color: var(--text-muted); }
.product-actions { display: flex; gap: 10px; opacity: 0.9; }
.product-actions .btn { flex: 1; padding: 12px 10px; text-align: center; font-size: 10px; }

/* ==========================================================================
   CINEMATIC ABOUT SPLIT BANNER
   ========================================================================== */
.about-section {
    position: relative;
    background: linear-gradient(rgba(15,20,29,0.7), rgba(15,20,29,0.7)), 
                url('https://images.unsplash.com/photo-1533105079780-92b9be482077?auto=format&fit=crop&w=1500&q=80') no-repeat center center/cover;
    padding: 160px 0;
    text-align: center;
    color: var(--white);
}
.about-content { max-width: 650px; margin: 0 auto; padding: 0 20px; }
.about-content h2 { font-size: 3.5rem; margin-bottom: 25px; }
.about-content p { font-size: 16px; font-weight: 300; line-height: 1.8; color: #dcdcd9; margin-bottom: 40px; font-family: 'Cormorant Garamond', serif; font-style: italic; }

/* ==========================================================================
   CONCIERGE FAQ ARCHITECTURE
   ========================================================================== */
.faq-section { padding: 120px 0; background: var(--white); }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(15,20,29,0.08); padding: 25px 0; }
.faq-question { width: 100%; background: none; border: none; text-align: left; font-size: 1.2rem; font-family: 'Cormorant Garamond', serif; font-weight: 500; color: var(--primary-dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-question .arrow { width: 8px; height: 8px; border-bottom: 1px solid var(--primary-dark); border-right: 1px solid var(--primary-dark); transform: rotate(45deg); transition: transform 0.3s ease; }
.faq-question.active .arrow { transform: rotate(-135deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.faq-answer p { padding-top: 15px; font-size: 14px; color: var(--text-muted); line-height: 1.6; font-weight: 300; }

/* ==========================================================================
   LUXURY CART DRAWER PANEL
   ========================================================================== */
.cart-sidebar { position: fixed; top: 0; right: -460px; width: 460px; height: 100%; background: var(--white); box-shadow: -10px 0 40px rgba(0,0,0,0.05); z-index: 200; transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1); padding: 40px; display: flex; flex-direction: column; }
.cart-sidebar.active { right: 0; }
.cart-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(15,20,29,0.05); padding-bottom: 25px; margin-bottom: 25px; }
.cart-header h3 { font-size: 1.8rem; }
.close-cart { font-size: 24px; cursor: pointer; font-weight: 200; }
.cart-items { flex-grow: 1; overflow-y: auto; }
.cart-item { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; border-bottom: 1px solid rgba(15,20,29,0.02); }
.cart-item h4 { font-size: 14px; font-weight: 500; }
.cart-item-meta { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.remove-btn { background: none; border: none; font-size: 18px; color: var(--text-muted); cursor: pointer; }
.remove-btn:hover { color: red; }
.cart-footer { border-top: 1px solid rgba(15,20,29,0.05); padding-top: 25px; }
.cart-total { font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; margin-bottom: 25px; display: flex; justify-content: space-between; }

/* ==========================================================================
   DRAWER CONTROL FORM ELEMENTS
   ========================================================================== */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; font-weight: 600; color: var(--text-muted); }
.form-group input, .form-group select { width: 100%; padding: 12px; border: 1px solid rgba(15,20,29,0.15); border-radius: 0; background: var(--bg-pure); font-size: 13px; }
.form-group input:focus { border-color: var(--primary-dark); outline: none; }
.full-width { width: 100%; text-align: center; }
.form-status { margin-top: 15px; text-align: center; font-size: 12px; font-weight: 500; color: var(--accent); }
.cart-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 20, 29, 0.4); backdrop-filter: blur(4px); z-index: 150; }
.cart-overlay.active { display: block; }

/* ==========================================================================
   DYNAMIC PRODUCT SHOWCASE LAYOUT FILE
   ========================================================================== */
.details-body { background: var(--white); }
.header-minimal { background: var(--white); border-bottom: 1px solid rgba(0,0,0,0.04); }
.details-wrapper { display: flex; gap: 80px; padding: 80px 0; align-items: flex-start; }
.slider-container { flex: 1.2; position: relative; overflow: hidden; background: var(--bg-pure); }
.slider { display: flex; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.slider img { width: 100%; height: 700px; object-fit: cover; flex-shrink: 0; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: var(--white); border: none; width: 45px; height: 45px; cursor: pointer; font-size: 20px; display: flex; align-items: center; justify-content: center; z-index: 10; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.slider-btn.prev { left: 20px; }
.slider-btn.next { right: 20px; }
.product-info-panel { flex: 0.8; position: sticky; top: 140px; }
.product-info-panel h1 { font-size: 3.2rem; margin-bottom: 10px; }
.price-large { font-size: 1.6rem; font-weight: 400; color: var(--accent); margin-bottom: 30px; }
.divider-line { height: 1px; background: rgba(15,20,29,0.08); width: 100%; margin-bottom: 30px; }
.luxury-description { font-size: 15px; color: var(--text-muted); line-height: 1.8; font-weight: 300; margin-bottom: 30px; }
.fabric-badge { display: inline-block; padding: 8px 16px; background: var(--sand-neutral); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 40px; }
.actions-panel { display: flex; gap: 20px; }
.flex-1 { flex: 1; text-align: center; }

/* ==========================================================================
   EDITORIAL BRAND FOOTER
   ========================================================================== */
footer { background: var(--primary-dark); color: #8e95a0; padding: 80px 0 60px 0; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 40px; }
.brand-title { font-size: 2rem; color: var(--sand-neutral); letter-spacing: 0.05em; margin-bottom: 10px; }
.brand-tagline { font-size: 12px; font-weight: 300; }
.footer-legal { text-align: right; font-size: 12px; font-weight: 300; }
.footer-legal p { margin-bottom: 8px; }
.footer-legal a { color: var(--accent); text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; }

/* ==========================================================================
   LUXURY CONTACT & CHECKOUT INTERFACES
   ========================================================================== */
.contact-section { padding: 120px 0; background: var(--bg-pure); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info h3 { font-size: 1.8rem; margin-bottom: 20px; font-weight: 400; }
.contact-info p { font-size: 14px; color: var(--text-muted); line-height: 1.8; margin-bottom: 30px; font-weight: 300; }
.contact-detail { font-size: 14px; color: var(--primary-dark) !important; margin-bottom: 10px !important; }
.contact-detail span { font-weight: 600; text-transform: uppercase; font-size: 11px; letter-spacing: 0.05em; color: var(--accent); margin-right: 10px; }
.contact-form-wrap form .form-group input, .contact-form-wrap form .form-group textarea { width: 100%; padding: 16px; border: 1px solid rgba(15,20,29,0.1); border-radius: 0; background: var(--white); margin-bottom: 15px; font-size: 13px; }
.contact-form-wrap form .form-group input:focus, .contact-form-wrap form .form-group textarea:focus { outline: none; border-color: var(--primary-dark); }

.checkout-wrapper { padding: 80px 0; }
.checkout-grid-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: start; }
.checkout-summary-panel { background: var(--bg-pure); padding: 40px; border: 1px solid rgba(15,20,29,0.05); }
.checkout-review-item { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid rgba(15,20,29,0.03); }
.checkout-review-item h4 { font-size: 14px; font-weight: 500; }
.review-item-price { font-size: 14px; font-weight: 600; color: var(--primary-dark); }
.checkout-total-row { display: flex; justify-content: space-between; font-size: 18px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; padding-top: 20px; color: var(--primary-dark); }
.text-center-btn { text-align: center; display: block; line-height: 1.5; }

/* ==========================================================================
   RESPONSIVE LAYOUT BREAKPOINTS
   ========================================================================== */
@media(max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .details-wrapper { flex-direction: column; gap: 40px; }
    .slider-container, .product-info-panel { width: 100%; }
    .slider img { height: 500px; }
}

@media(max-width: 992px) {
    .checkout-grid-layout, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* LUXURY MOBILE BURGER MENU TOGGLE ICON */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 14px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 110;
    padding: 0;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 1.5px;
    background-color: var(--primary-dark);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media(max-width: 768px) {
    /* Safe Mobile Flex Override for Grid Navigation */
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Animate burger lines into high fashion 'X' close indicator when opened */
    .mobile-menu-toggle.open span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    .mobile-menu-toggle.open span:nth-child(2) {
        transform: translateY(-6px) rotate(-45deg);
    }

    /* Mobile Header Scale Adjustment */
    .logo img {
        height: 50px;
        max-width: 180px;
    }

    /* Mobile Fullscreen Navigation Drops Overlay */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-pure);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        z-index: 105;
        transform: translateY(-100%);
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        padding: 0;
    }

    .nav-links.mobile-active {
        transform: translateY(0);
    }

    .nav-links a {
        font-size: 18px; /* Larger elegant targets for touch tracking */
        margin-right: 0;
    }

    .hero {
        height: 80vh;
        padding-left: 0;
        text-align: center;
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2.3rem;
        line-height: 1.2;
        padding: 0 15px;
    }
    
    .product-img-wrapper {
        height: 420px;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
        padding: 25px 20px;
    }

    .form-group input, .form-group select {
        font-size: 16px; 
        padding: 14px;
    }
    
    .section-title-wrap h2 {
        font-size: 2.2rem;
    }

    .standards-grid {
        flex-direction: column;
        gap: 30px;
    }

    .standard-card {
        text-align: center;
        padding: 10px;
    }

    footer {
        padding: 60px 0;
    }

    .footer-grid {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .footer-legal {
        text-align: left;
    }
}