/* VARIABLES & LUXURY THEME */
:root {
    --background: #070707;
    --surface: #111111;
    --text: #ffffff;
    --secondary-text: #8e8a82;
    --gold: #A8A9AD; /* Muted silver-gold */
    --border: #1a1a1a;
}

/* RESET & GLOBAL SENSORY STYLING */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--background);
    color: var(--text);
    font-family: 'Lora', serif;
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

main {
    text-align: center;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

/* ==========================================
   FLOATING HAUTE HEADER (Zoom-Proof Navigation)
   ========================================== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 4% !important;
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.logo-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    transition: 0.4s ease; 
}

.header-icon {
    width: 40px !important;
    height: auto;
    transition: 0.4s ease;
}

.logo-text {
    color: var(--text);
    font-size: 24px !important;
    font-weight: 600;
    letter-spacing: 6px !important;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2;
    margin-right: -6px !important;
    transition: 0.4s ease;
}

.logo-text small {
    display: block;
    font-size: 9px !important;
    letter-spacing: 3px !important;
    margin-right: -3px !important;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--secondary-text);
    margin-top: 3px;
    text-align: center;
}

.logo-link:hover .header-icon {
    transform: scale(1.1);
    opacity: 0.8;
}

.logo-link:hover .logo-text {
    color: var(--gold);
    letter-spacing: 9px;
}

nav {
    display: flex;
    gap: 20px !important;
}

nav a {
    color: var(--secondary-text);
    text-decoration: none;
    font-size: 11px !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: 0.4s ease;
    padding-bottom: 4px;
}

nav a:hover, nav a.active {
    color: var(--text);
    border-bottom: 1px solid var(--text);
}

/* ==========================================
   ASYMMETRIC CINEMATIC HERO (Model-Protection Lock)
   ========================================== */
.hero {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100vh;
    padding: 0 4% !important;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.hero-text {
    position: relative;
    z-index: 10;
    text-align: left;
    max-width: 380px !important;
}

.hero-text h2 {
    font-size: clamp(32px, 3.2vw, 48px) !important;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: 0px;
    margin-bottom: 20px;
    color: var(--text);
}

.hero-text p {
    color: var(--secondary-text);
    font-size: clamp(13px, 1.1vw, 15px) !important;
    line-height: 1.7;
    max-width: 340px !important;
    margin-bottom: 30px;
}

.hero a {
    display: inline-block;
    padding: 14px 34px !important;
    border: 1px solid var(--text);
    color: var(--text);
    text-decoration: none;
    font-size: 11px !important;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    transition: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    background: rgba(7, 7, 7, 0.3);
    backdrop-filter: blur(4px);
}

.hero a:hover {
    background: var(--text);
    color: var(--background);
    letter-spacing: 4px;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.image-frame {
    width: 100%;
    height: 100%;
    position: relative;
}
.image-frame::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(7, 7, 7, 0.95) 0%, rgba(7, 7, 7, 0.5) 38%, rgba(7, 7, 7, 0.05) 100%);
    z-index: 2;
}

.hero-img {
    width: 100%;
    height: 100%; 
    object-fit: cover; 
    object-position: 85% center !important;
    display: block;
    transition: 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.image-frame:hover .hero-img {
    transform: scale(1.05);
}

/* ==========================================
   EDITORIAL PHILOSOPHY SECTION (The Luxury Gap)
   ========================================== */
.about {
    text-align: center;
    padding: 180px 10% 140px 10% !important;
    margin-top: 40px !important;
    border-bottom: 1px solid var(--border);
}

.about h2 {
    font-size: clamp(28px, 4vw, 36px) !important;
    font-weight: 500;
    letter-spacing: 7px;
    text-transform: uppercase;
    margin-bottom: 35px;
    color: var(--gold);
    text-shadow: 0 0 10px rgba(168, 169, 173, 0.2);
}

.about p {
    font-size: clamp(16px, 1.2vw, 20px) !important;
    line-height: 1.9;
    color: var(--text);
    max-width: 850px;
    margin: 0 auto !important;
}

/* ==========================================
   THE EDIT / COLLECTIONS GRID (HOMEPAGE)
   ========================================== */
.Collection {
    padding: 140px 0 !important;
    border-bottom: 1px solid var(--border);
}

.Collection h2 {
    font-size: clamp(32px, 5vw, 44px) !important;
    font-weight: 500;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 80px;
}

.cards {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.card {
    flex: 1;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0px;
    overflow: hidden;
    transition: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    text-align: left;
}

.card:hover {
    border-color: var(--text);
    transform: translateY(-10px);
}

.card img {
    width: 100%;
    height: 500px;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--border);
    transition: 0.8s ease;
}

.card-content {
    padding: 40px;
}

.card h3 {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.card p {
    color: var(--secondary-text);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.card a {
    display: inline-block;
    color: var(--secondary-text);
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: 0.4s ease;
    margin-top: 30px;
}

.card a:hover {
    color: var(--text);
    letter-spacing: 2px;
}

/* ==========================================
   THE HAUTE SHOWCASE
   ========================================== */
.showcase {
    padding: 140px 0 !important;
}

.showcase h2 {
    font-size: 44px;
    font-weight: 500;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 80px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.grid-item {
    background: linear-gradient(145deg, #111111, #070707);
    border: 1px solid #1a1a1a;
    padding: 80px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.grid-item span {
    font-size: 22px;
    letter-spacing: 6px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--text);
    z-index: 3;
    transition: 0.5s ease;
}

.grid-item:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
}

.grid-item:hover span {
    letter-spacing: 10px;
    color: var(--gold);
}
/* ==========================================
   SYSTEMATIC LUXURY FOOTER
   ========================================== */
footer {
    text-align: center;
    padding: 100px 0;
    border-top: 1px solid var(--border);
    background: #050505;
}

footer h3 {
    font-size: 32px;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

footer p {
    color: var(--secondary-text);
    font-size: 15px;
    margin-bottom: 40px;
}

footer nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

footer nav a {
    color: var(--secondary-text);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: 0.3s;
}

footer nav a:hover {
    color: var(--text);
}

footer .copyright {
    color: #333;
    font-size: 12px;
    letter-spacing: 1px;
}

/* ==========================================
   11. LUXURY BOUTIQUE SHOP GRID & ALIGNMENT (DESKTOP 3-COLUMNS)
   ========================================== */
.product-showcase {
    max-width: 1140px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

.product-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    align-items: stretch !important;
}

.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0px;
    overflow: hidden;
    transition: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100% !important;
}

.product-card:hover {
    border: 1px solid var(--text) !important;
    transform: translateY(-6px);
}

/* IMAGE CONTAINERS */
.product-image-container {
    width: 100%;
    aspect-ratio: 3 / 4 !important;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border);
    background-color: #070707;
}

/* Landscape Ratio (Gala Blazers & Accessories) */
[data-category="gala"] .product-image-container,
[data-category="accessories"] .product-image-container {
    aspect-ratio: 1280 / 900 !important;
    height: auto !important;
    background-color: transparent !important;
}

.primary-img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    display: block;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* DESKTOP DETAILS AREA & BASELINE LOCK */
.product-details {
    padding: 30px 25px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

.product-tag {
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--secondary-text);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.product-title {
    font-size: 16px !important;
    font-weight: 500 !important;
    letter-spacing: 2px !important;
    line-height: 1.35 !important;
    margin-bottom: 12px !important;
    color: var(--text);
    text-transform: uppercase;
    min-height: 44px !important;
    display: flex;
    align-items: flex-start;
}

.product-description {
    color: var(--secondary-text);
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin-bottom: 20px !important;
    min-height: 58px !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 10px !important;
    letter-spacing: 1.5px !important;
    color: var(--secondary-text);
    text-transform: uppercase;
    margin-top: auto !important;
    margin-bottom: 12px !important;
}

.view-item-btn {
    display: inline-block;
    color: var(--secondary-text);
    text-decoration: none;
    font-size: 10px !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase;
    transition: 0.3s ease;
}

.view-item-btn:hover {
    color: var(--text);
    letter-spacing: 2.5px !important;
}
/* SINGLE-ROW PREMIUM TAB BAR */
.collection-tabs {
    display: flex;
    justify-content: center;
    gap: 20px !important;
    margin-bottom: 80px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
    flex-wrap: nowrap !important;
}

.tab {
    color: var(--secondary-text);
    font-size: 11px !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase;
    cursor: pointer;
    padding-bottom: 8px;
    border-bottom: 1.5px solid transparent;
    transition: 0.3s ease;
    white-space: nowrap !important;
}

/* ==========================================
   12. TABLET & MOBILE HAUTE COUTURE REFINEMENTS
   ========================================== */

/* A. TABLET MEDIA QUERY (601px to 1024px - iPads & Samsung Galaxy Tabs) */
@media (min-width: 601px) and (max-width: 1024px) {
    header {
        position: relative !important;
        display: flex !important;
        flex-direction: column !important; 
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 28px 20px 20px 20px !important;
        background: #070707 !important;
        border-bottom: 1px solid var(--border) !important;
        width: 100% !important;
    }
    
    .logo-link {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 6px !important;
        margin-bottom: 20px !important;
        width: 100% !important;
    }

    .header-icon {
        width: 42px !important;
        display: block !important;
        margin: 0 auto !important;
    }

    .logo-text {
        font-size: 24px !important;
        letter-spacing: 6px !important;
    }

    nav {
        display: flex !important;
        justify-content: center !important;
        gap: 25px !important;
        width: 100% !important;
    }

    nav a {
        font-size: 11px !important;
        letter-spacing: 1.5px !important;
    }

    /* TABLET HERO COVER PAGE (STACKED LIKE PHONE - 100% CLEAN IMAGE + TEXT BELOW) */
    .hero {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        padding: 0 !important;
        border-bottom: 1px solid var(--border);
        background: #070707 !important;
    }

    .hero-image {
        position: relative !important;
        width: 100% !important;
        aspect-ratio: 16 / 9 !important;
        min-height: 300px !important;
        height: auto !important;
    }

    .hero-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    .image-frame::after {
        content: '';
        position: absolute;
        top: 0; left: 0; width: 100%; height: 100%;
        background: linear-gradient(to bottom, rgba(7,7,7,0) 60%, rgba(7,7,7,0.9) 100%) !important;
        z-index: 2 !important;
    }

    .hero-text {
        width: 100% !important;
        padding: 50px 30px !important;
        text-align: center !important;
        background: #070707 !important;
        z-index: 10 !important;
        max-width: 100% !important;
        margin-top: 0 !important;
    }

    .hero-text h2 {
        font-size: 40px !important;
        line-height: 1.2 !important;
        letter-spacing: 1px !important;
        margin-bottom: 18px !important;
    }

    .hero-text p {
        font-size: 16px !important;
        line-height: 1.7 !important;
        margin: 0 auto 28px auto !important;
        max-width: 480px !important;
    }

    .hero a {
        padding: 15px 36px !important;
        font-size: 11px !important;
        letter-spacing: 2px !important;
    }

    /* TABLET SHOPPING GRID (2 Clean Columns) */
    .product-showcase {
        max-width: 100% !important;
        padding: 0 30px !important;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
    }
    .product-image-container {
        width: 100% !important;
        aspect-ratio: 3 / 4 !important;
        height: auto !important;
    }

    [data-category="gala"] .product-image-container,
    [data-category="accessories"] .product-image-container {
        aspect-ratio: 4 / 3 !important;
        height: auto !important;
    }

    .cards {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
    }

    .about {
        padding: 120px 5% !important;
    }
}

/* B. MOBILE MEDIA QUERY (Up to 600px - Phones) */
@media (max-width: 600px) {
    header {
        position: relative !important;
        display: flex !important;
        flex-direction: column !important; 
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 24px 16px 20px 16px !important;
        background: #070707 !important;
        border-bottom: 1px solid var(--border) !important;
        width: 100% !important;
    }
    
    .logo-link {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 6px !important;
        margin-bottom: 30px !important;
        width: 100% !important;
    }

    .header-icon {
        width: 32px !important;
        display: block !important;
        margin: 0 auto !important;
    }

    .logo-text {
        font-size: 20px !important;
        letter-spacing: 6px !important;
        margin-right: -6px !important;
        text-indent: 0px !important;
        line-height: 1.2 !important;
    }

    .logo-text small {
        font-size: 9px !important;
        letter-spacing: 3px !important;
        margin-right: -3px !important;
        text-indent: 0px !important;
        margin-top: 4px !important;
    }

    nav {
        display: flex !important;
        justify-content: center !important;
        gap: 20px !important;
        width: 100% !important;
    }

    nav a {
        font-size: 10px !important;
        letter-spacing: 1.5px !important;
    }

    /* HERO COVER PAGE */
    .hero {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        padding: 0 !important;
        border-bottom: 1px solid var(--border);
    }

    .hero-image {
        position: relative !important;
        width: 100% !important;
        aspect-ratio: 16 / 9 !important;
        min-height: 250px !important;
        height: auto !important;
    }

    .hero-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .image-frame::after {
        content: '';
        position: absolute;
        top: 0; left: 0; width: 100%; height: 100%;
        background: linear-gradient(to bottom, rgba(7,7,7,0) 60%, rgba(7,7,7,0.9) 100%) !important;
        z-index: 2 !important;
    }

    .hero-text {
        width: 100% !important;
        padding: 40px 24px !important;
        text-align: center !important;
        background: #070707 !important;
        z-index: 10 !important;
        max-width: 100% !important;
    }

    .hero-text h2 {
        font-size: 34px !important;
        line-height: 1.2 !important;
        letter-spacing: 1px !important;
        margin-bottom: 15px !important;
    }

    .hero-text p {
        font-size: 14px !important;
        line-height: 1.7 !important;
        margin: 0 auto 25px auto !important;
        max-width: 320px !important;
    }

    .hero a {
        padding: 14px 32px !important;
        font-size: 11px !important;
        letter-spacing: 2px !important;
    }

    /* HOMEPAGE "THE EDIT" CARDS FIX */
    .Collection {
        padding: 80px 24px !important;
    }

    .cards {
        flex-direction: column !important;
        gap: 40px !important;
    }

    .card img {
        height: 380px !important;
    }

    .card-content {
        padding: 30px 24px !important;
    }
    /* CATALOG PAGE GRID FIX */
    .product-showcase {
        padding: 0 16px !important;
    }
    
    .product-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .product-card {
        height: auto !important;
    }

    .product-details {
        padding: 25px 20px !important;
    }

    .product-title {
        font-size: 18px !important;
        letter-spacing: 2px !important;
        min-height: auto !important;
    }

    .product-description {
        font-size: 14px !important;
        min-height: auto !important;
        line-height: 1.6 !important;
        display: block !important;
        -webkit-line-clamp: initial !important;
    }

    .product-price {
        font-size: 11px !important;
        margin-top: 15px !important;
    }

    /* SIGNATURE PIECES (2x2 Grid) */
    .showcase {
        padding: 80px 24px !important;
    }

    .grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }

    .grid-item {
        padding: 45px 10px !important;
    }

    .grid-item span {
        font-size: 11px !important;
        letter-spacing: 1.5px !important;
        white-space: nowrap !important;
        text-align: center !important;
    }

    /* APP-STYLE TAB BAR SLIDER */
    main .container {
        padding-top: 50px !important;
    }

    .collection-tabs {
        display: flex !important;
        justify-content: flex-start !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        scroll-behavior: smooth !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 25px !important;
        padding: 0 16px 15px 16px !important;
        border-bottom: 1px solid var(--border) !important;
        scrollbar-width: none !important;
    }

    .collection-tabs::-webkit-scrollbar {
        display: none !important;
    }

    .tab {
        flex: 0 0 auto !important;
        font-size: 11px !important;
        letter-spacing: 1.5px !important;
    }

    /* SYSTEMATIC FOOTER */
    footer {
        padding: 60px 24px !important;
    }

    footer h3 {
        font-size: 22px !important;
        letter-spacing: 3px !important;
    }

    footer nav {
        gap: 20px !important;
        flex-wrap: wrap !important;
        margin-bottom: 30px !important;
    }

    footer nav a {
        font-size: 11px !important;
    }
}