/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
   :root {
    --color-bg: #FAF9F6;
    --color-text: #111111;
    --color-accent: #8D7B68;
    --color-white: #FFFFFF;
    --color-gray: #757575;
    --color-light-gray: #EFEFEF;
    --color-border: #E5E5E5;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    --container-width: 1440px;
    --transition-smooth: 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    --transition-fast: 0.3s ease-out;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.loading {
    overflow: hidden;
}

/* Hero & Section Spacing
   ========================================================================== */
.collections-wrapper {
    margin-top: 10vh; /* Premium editorial breathing room */
}

@media (max-width: 768px) {
    .collections-wrapper {
        margin-top: 5rem;
    }
}

/* ==========================================================================
   Typography & Base Styles ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-accent);
}

.text-center { text-align: center; }
.text-dark { color: var(--color-text); }
p { margin-bottom: var(--space-sm); color: var(--color-gray); }

/* ==========================================================================
   Layout & Utilities
   ========================================================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.flex-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
}

.pb-large { padding-bottom: var(--space-xl); }
.pt-small { padding-top: var(--space-sm); }
.mt-large { margin-top: var(--space-xl); }
.mt-medium { margin-top: var(--space-md); }
.w-100 { width: 100%; }

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    border: none;
    transition: all var(--transition-smooth);
}

.btn-primary {
    background-color: var(--color-text);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-text);
}

.btn-secondary:hover {
    background-color: var(--color-text);
    color: var(--color-white);
}

.link-btn {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--color-text);
    padding-bottom: 2px;
    white-space: nowrap;
    flex-shrink: 0;
}

.link-btn:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
}

/* ==========================================================================
   Loader
   ========================================================================== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--color-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader-text {
    font-size: 2rem;
    letter-spacing: 0.2em;
    opacity: 0;
    animation: fadePulse 1.5s ease-in-out infinite alternate;
}

@keyframes fadePulse {
    0% { opacity: 0.3; }
    100% { opacity: 1; }
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color var(--transition-smooth), padding var(--transition-smooth), color var(--transition-smooth);
    padding: var(--space-md) 0;
    color: var(--color-white);
    mix-blend-mode: difference;
}

.navbar.scrolled, .navbar.solid-nav {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--color-text);
    padding: var(--space-sm) 0;
    box-shadow: 0 1px 1px rgba(0,0,0,0.05);
    mix-blend-mode: normal;
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: var(--space-md);
    flex: 1;
}

.nav-links.desktop-cats {
    display: flex;
    gap: 2.5rem;
    flex: 2;
    justify-content: center;
    align-items: baseline;
}

.nav-link, .cat-link {
    font-size: 13px;
    letter-spacing: 0.08em;
    font-weight: 400;
    text-transform: uppercase;
    position: relative;
    color: inherit;
    text-decoration: none;
}

.nav-link::after, .cat-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after, .cat-link:hover::after, .cat-link.active::after {
    width: 100%;
}

.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 0.15em;
    flex: 1;
    text-align: left;
    text-transform: uppercase;
    color: inherit;
    text-decoration: none;
}

.brand-logo:hover {
    color: inherit;
}

.nav-icons {
    display: flex;
    gap: var(--space-sm);
    flex: 1;
    justify-content: flex-end;
}

.nav-icon {
    color: inherit;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 1px;
    background-color: currentColor;
    transition: var(--transition-fast);
}

/* ==========================================================================
   Section 1: Editorial Split-Screen Hero
   ========================================================================== */
.hero-split {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: row;
    padding-top: 0;
    background-color: var(--color-bg);
}

.hero-split-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: var(--space-xl);
    position: relative;
    z-index: 10;
}

.hero-split-content {
    max-width: 500px;
}

.hero-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-gray);
    margin-bottom: var(--space-sm);
    font-weight: 500;
}

.hero-split-content .hero-title {
    font-size: clamp(3.5rem, 5vw, 6rem);
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    color: var(--color-text);
    line-height: 1.1;
}

.hero-split-content .hero-subtitle {
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    color: var(--color-gray);
    max-width: 400px;
}

.hero-split-right {
    flex: 1;
    background-color: #000000;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}

.hero-split-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.split-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.5s ease, transform 4s ease-out;
    mix-blend-mode: screen; 
}

.split-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.hero-slider-nav {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 30px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.slider-dot.active {
    background-color: rgba(255, 255, 255, 1);
}

@media (max-width: 992px) {
    .hero-split {
        flex-direction: column;
    }
    .hero-split-left {
        min-height: 50vh;
        align-items: center;
        text-align: center;
        padding: 8rem var(--space-md) var(--space-md);
    }
    .hero-split-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-split-right {
        min-height: 50vh;
    }
}

/* ==========================================================================
   Section 2: 3D Spatial Categories (Integrated)
   ========================================================================== */
/* ==========================================================================
   Cinematic 3D Showcase Section
   ========================================================================== */
.cinematic-showcase {
    min-height: 100vh;
    width: 100%;
    background-color: #030303; /* Near absolute black */
    background-image: radial-gradient(circle at center, #111111 0%, #000000 70%); /* Subtle spotlight */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.hero-carousel-integrated {
    margin: 0;
    width: 100%;
    z-index: 10;
    position: relative;
}

.hero-carousel-integrated::before {
    content: '';
    position: absolute;
    inset: -50px 0;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 60%);
    z-index: 0;
    pointer-events: none;
}

.carousel-container {
    perspective: 1200px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.carousel-track {
    position: relative;
    width: 280px; /* Scale down slightly so it doesn't overwhelm the button */
    height: 420px;
    transform-style: preserve-3d;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), 
                opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
                filter 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform-origin: center center;
    cursor: pointer;
    will-change: transform, opacity, filter;
    /* Spatial Float Update - No Card Constraints */
    border-radius: 0;
    overflow: visible;
    background: transparent !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none !important;
    box-shadow: none !important;
}

.isolated-img {
    width: 100%;
    height: calc(100% - var(--space-md) - 1.5rem);
    object-fit: contain; /* CRITICAL: Prevents cropping of the floating 3D objects */
    border-radius: 0;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.4)); /* Casts organic high-end shadow underneath the floating object */
    box-shadow: none;
    transform: scale(1.1);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    
    /* Native Drag Killing Protocol */
    -webkit-user-drag: none;
    -moz-user-drag: none;
    user-select: none;
    pointer-events: none; /* Prevent ghost drags explicitly */
}

/* Explicitly kill native drag selection on all interactions */
.hero-carousel-integrated a,
.hero-carousel-integrated .carousel-item {
    -webkit-user-drag: none;
    -moz-user-drag: none;
    user-select: none;
}

.carousel-item-label {
    font-family: var(--font-body); /* Sharp Grotesk */
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #FFFFFF; /* Hard white to ensure extreme legibility above hero img */
    margin-top: auto;
    margin-bottom: 1rem;
    text-align: center;
    /* High contrast pill backdrop to protect visibility on complex hero background since the glass card is gone */
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5); /* Protective legibility */
}

.carousel-item:hover .isolated-img {
    transform: scale(1.15); /* Pushes the floating object closer cleanly */
}

/* Simulated 3D Floor Shadow */
.floor-shadow {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%) rotateX(80deg);
    width: 85%;
    height: 50px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.35) 0%, transparent 70%);
    filter: blur(15px);
    pointer-events: none;
}



.carousel-title.fade-out {
    opacity: 0;
    transform: translateY(10px);
}

.dark-ghost {
    border-color: var(--color-white);
    color: var(--color-white);
    pointer-events: auto; /* Re-enable clicks specifically for the button */
}

.dark-ghost:hover {
    background-color: var(--color-white);
    color: var(--color-text);
    border-color: var(--color-white);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
}

.btn-ghost {
    display: inline-block;
    padding: 1.125rem 3.5rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 0; /* Ensures structural geometrical feel */
    transition: background-color 0.6s ease, color 0.6s ease, border-color 0.6s ease;
}

.btn-ghost:hover {
    background-color: var(--color-white);
    color: var(--color-text);
    border-color: var(--color-white);
}

@media (max-width: 768px) {
    .carousel-track {
        width: 240px;
        height: 360px;
    }
    .carousel-title {
        font-size: 1.125rem;
    }
    .carousel-ui {
        bottom: var(--space-lg);
    }
    .btn-ghost {
        width: calc(100% - 2 * var(--space-md));
        margin: 0 auto;
        display: block;
    }
}

/* Reveal Text Utility */
.reveal-text {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

/* ==========================================================================
   Section 3: Horizontal Scrollable Product Collection (Repeated Rows)
   ========================================================================== */
.featured-horizontal {
    margin-bottom: 6rem; /* Huge symmetrical vertical rhythm */
    background-color: var(--color-bg);
}

@media (max-width: 768px) {
    .featured-horizontal {
        margin-bottom: 4rem;
    }
}

.featured-horizontal .section-title {
    font-size: 1.85rem; /* Deliberately reduced scale */
    letter-spacing: 0.15em;
    font-weight: 300;
    text-transform: uppercase;
}

.featured-horizontal .link-btn {
    letter-spacing: 0.1em;
    font-size: 0.85rem;
}

.horizontal-scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 2rem; /* Exact deliberate tension */
    padding-bottom: var(--space-lg);
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.horizontal-scroll-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Opera */
}

.horizontal-scroll-container .product-card {
    /* The 4 Viewport Rule (Desktop): exactly 4 cards visible. 
       4 cards mean 3 gaps in between them. 3 * 2rem = 6rem gap total to subtract. */
    flex: 0 0 calc((100% - 6rem) / 4);
    min-width: 0;
    max-width: none;
    scroll-snap-align: start;
    text-decoration: none;
    border: none;
    box-shadow: none; /* Force clean edges */
}

/* Drag-to-Scroll Cursor Feedback */
.drag-scroll {
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

/* Instantly applied on mousedown to kill CSS lagging before user actually drags */
.drag-scroll.is-down {
    scroll-snap-type: none; /* Disable snap during active drag for fluid motion */
    scroll-behavior: auto !important; /* Kills latency/interpolation during manual drag */
}

.drag-scroll.drag-active {
    cursor: grabbing;
    scroll-snap-type: none; /* Disable snap during active drag for fluid motion */
    scroll-behavior: auto !important; /* Kills latency/interpolation during manual drag */
}

.drag-scroll * {
    -webkit-user-drag: none;
}

.drag-scroll img,
.drag-scroll a {
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
}

.drag-scroll.drag-active * {
    pointer-events: none; /* Prevent hover states flickering during drag */
}

/* ==========================================================================
   Brand Marquee Infinite Scroll
   ========================================================================== */
.brand-marquee-section {
    margin-top: 6rem; 
    margin-bottom: 6rem;
    background-color: var(--color-bg);
}

@media (max-width: 768px) {
    .brand-marquee-section {
        margin-top: 4rem;
        margin-bottom: 4rem;
    }
}

.brand-marquee-section .section-header {
    border-bottom: none; /* Cleanest flow, no harsh lines */
    margin-bottom: 0;
}

.brand-marquee-section .section-title {
    font-size: 1.85rem;
    letter-spacing: 0.15em;
    font-weight: 300;
}

/* ==========================================================================
   Brand Marquee & Scroller (Navy Top, Image Bottom)
   ========================================================================== */
.navy-marquee-container {
    width: 100%;
    background-color: #000040; /* Custom deeper, darker navy hex code */
    color: white;
    overflow: hidden;
    padding: 12px 0; /* Slim the bar down */
    margin-bottom: 20px; 
    font-family: 'Playfair Display', var(--font-heading), serif; 
    font-size: 22px; 
    display: flex;
    white-space: nowrap;
}

.navy-marquee-content {
    display: inline-block;
    animation: seamless-marquee 25s linear infinite; 
}

@keyframes seamless-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

[dir="rtl"] .navy-marquee-content { animation: seamless-marquee-rtl 25s linear infinite; }
@keyframes seamless-marquee-rtl {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); }
}

/* --- SCROLLER STYLES --- */
.scroller-container {
    display: flex !important; 
    flex-direction: row !important;
    overflow-x: auto;
    gap: 20px; 
    font-family: 'Playfair Display', var(--font-heading), serif; 
    padding-bottom: 10px;
    cursor: grab; 
    scrollbar-width: none; 
    -ms-overflow-style: none;
    width: 100%;
    overscroll-behavior-x: none; 
}

.scroller-container::-webkit-scrollbar {
    display: none;
}

.scroller-container:active {
    cursor: grabbing; 
}

.product-card {
    flex: 0 0 18%; 
    min-width: 80px; 
    max-width: 150px;
    text-align: center; 
    text-decoration: none !important; 
    color: #000; 
    user-select: none; 
    -webkit-user-drag: none;
    box-shadow: none !important;
}

.product-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1; 
    object-fit: cover; 
    margin-bottom: 8px; 
    border-radius: 50%; 
    pointer-events: none; 
}

.brand-text {
    font-size: 12px; 
    line-height: 1.2;
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis; 
}



/* ==========================================================================
   Client Services Accordion
   ========================================================================== */
.client-services-section {
    padding: 12vmax 0 6vmax; /* Massive gap from marquee, standard bottom padding */
    background-color: var(--color-bg);
}

.client-services-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.client-services-section .section-header {
    border-bottom: none;
    margin-bottom: var(--space-xl);
    justify-content: center;
}

.client-services-section .section-title {
    font-size: 2.2rem;
    font-weight: 300;
    letter-spacing: 0.1em;
}

.service-accordion {
    border-top: 1px solid rgba(0,0,0,0.1);
}

.dark-mode .service-accordion {
    border-top: 1px solid rgba(255,255,255,0.1);
}

.service-item {
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.dark-mode .service-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.service-header {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.15rem;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.05em;
    user-select: none;
}

.service-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.4s ease;
    display: inline-block;
    color: var(--color-text);
}

.service-item.active .service-icon {
    transform: rotate(45deg);
}

.service-content-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-item.active .service-content-wrapper {
    grid-template-rows: 1fr;
}

.service-content {
    overflow: hidden;
}

.service-text {
    padding-bottom: 2rem;
    color: #555555;
    line-height: 1.6;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.dark-mode .service-text {
    color: #AAAAAA;
}

/* ==========================================================================
   Featured / Product Grid
   ========================================================================== */
.featured-section {
    padding: var(--space-xl) 0;
    background-color: var(--color-bg);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--space-lg);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: var(--space-sm);
}

.section-title {
    font-size: 2.5rem;
    flex-shrink: 1; /* Allow crushing into multiple lines if needed instead of bleeding/truncating */
    word-wrap: break-word;
    /* Removed text truncation and ellipsis */
    padding-right: 1rem; /* Prevent squeezing directly against the View All link */
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 3rem; /* Immense breathing room */
}

.product-card {
    display: block;
    position: relative;
    background: transparent;
    border: none;
    box-shadow: none; /* Flat and clean */
}

.product-image-container {
    position: relative;
    aspect-ratio: 3 / 4; /* Strict editorial aspect ratio */
    overflow: hidden;
    background-color: #FAFAFA; /* Highly controlled neutral background */
    margin-bottom: var(--space-md); /* Space below image */
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Do not stretch or distort */
    border: none;
    /* Buttery-smooth, expensive micro-interaction */
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); 
}

.product-card:hover .product-img {
    transform: scale(1.02);
}

.product-badge {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    background-color: var(--color-bg);
    color: var(--color-text);
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 2;
}

.product-info {
    text-align: center;
}

.product-brand {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.product-name {
    font-family: var(--font-heading); /* Elegant serif */
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.product-price {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    color: #555555; /* Understated, muted dark grey */
    margin: 0;
}

/* ==========================================================================
   Brand Story
   ========================================================================== */
.story-section {
    background-color: var(--color-bg);
}

.story-image-wrap {
    flex: 1;
    overflow: hidden;
    aspect-ratio: 4 / 5;
}

.story-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-content {
    flex: 1;
    padding-right: var(--space-lg);
}

.story-text {
    font-size: 1.125rem;
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

/* ==========================================================================
   Shop Page Layout
   ========================================================================== */
.page-content {
    padding-top: 120px; /* offset for solid nav */
    min-height: 80vh;
    overflow-x: hidden;
    width: 100%;
}

.shop-header {
    padding: var(--space-md) 0 var(--space-lg);
}

.breadcrumbs {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
}

.page-title {
    font-size: 4rem;
    margin-bottom: var(--space-xs);
}

.page-subtitle {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.shop-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: var(--space-xl);
}

.shop-sidebar {
    padding-top: var(--space-xs);
}

.filter-group {
    margin-bottom: var(--space-md);
}

.filter-title {
    font-family: var(--font-body);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.5rem;
}

.filter-list {
    list-style: none;
}

.filter-item {
    display: block;
    padding: 0.4rem 0;
    font-size: 0.95rem;
    color: var(--color-gray);
}

.filter-item.active {
    color: var(--color-text);
}

.color-filters {
    display: flex;
    gap: 0.5rem;
}

.color-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: transform var(--transition-fast);
}

.color-dot.active::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 1px solid var(--color-text);
    border-radius: 50%;
}

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

.shop-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.pagination {
    margin: var(--space-xl) 0;
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
}

.page-link {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
}

.page-link.active, .page-link:hover {
    border-color: var(--color-text);
    color: var(--color-text);
}

/* ==========================================================================
   Product Detail Page
   ========================================================================== */
.product-details-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    padding-top: var(--space-md);
    align-items: start;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

@media (min-width: 900px) {
    .product-details-container {
        grid-template-columns: 60% 1fr; /* Split screen layout */
    }
}

.gallery-main {
    width: 100%;
    overflow: hidden;
}

.gallery-main .gallery-img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 3/4; /* Strict portrait editorial aspect */
    object-fit: cover;
    transition: opacity 0.3s ease; /* Buttery smooth fade */
    max-width: 100%;
}

.gallery-thumbnails {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    margin-top: 1.5rem; /* Strict deliberate spacing from main */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Edge */
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100%;
}

.gallery-thumbnails::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.thumbnail {
    flex: 0 0 clamp(70px, 20vw, 90px);
    flex-shrink: 0;
    aspect-ratio: 3/4; /* Identical aspect to main */
    cursor: pointer;
    opacity: 0.5; /* Muted inactive state */
    transition: opacity 0.3s ease;
    overflow: hidden;
}

.thumbnail.active, .thumbnail:hover {
    opacity: 1; /* Highlighted active state w/o ugly borders */
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-info-panel {
    padding-top: var(--space-xs);
    position: sticky;
    top: 120px;
}

.pd-title {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    margin-bottom: 0.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

.pd-price {
    font-size: 1.15rem;
    color: #666666; /* Muted dark grey */
    margin-bottom: var(--space-md);
}

.pd-desc {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    color: var(--color-text);
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.pd-options {
    margin-bottom: var(--space-lg);
}

.pd-add-stark {
    background-color: #000;
    color: #fff;
    border-radius: 0; /* No rounded corners */
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
    font-family: var(--font-body);
    padding: 1.2rem 2rem;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease;
    width: 100%;
    font-size: 0.9rem;
    min-height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pd-add-stark:hover {
    background-color: #222;
}

.option-group {
    margin-bottom: var(--space-md);
}

.option-title {
    font-family: var(--font-body);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
}

.option-title span {
    color: var(--color-gray);
    font-weight: 300;
}

.option-title-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.size-guide {
    font-size: 0.8rem;
    text-decoration: underline;
    color: var(--color-gray);
}

.size-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.size-btn {
    width: 3rem;
    height: 3rem;
    border: 1px solid var(--color-border);
    background: transparent;
    cursor: pointer;
    font-family: var(--font-body);
    transition: all var(--transition-fast);
}

.size-btn.active, .size-btn:hover {
    border-color: var(--color-text);
    background-color: var(--color-text);
    color: var(--color-white);
}

.pd-add-btn {
    margin-bottom: var(--space-lg);
}

.pd-accordion {
    border-top: 1px solid var(--color-border);
}

.accordion-item {
    border-bottom: 1px solid var(--color-border);
}

.accordion-header {
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.accordion-content {
    padding-bottom: 0;
    color: var(--color-gray);
    font-size: 0.95rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding-bottom 0.3s ease-out;
}

.accordion-item.active .accordion-content {
    padding-bottom: 1rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--color-text);
    color: var(--color-white);
    padding: var(--space-xl) 0 var(--space-md);
}

.dark-footer {
    background-color: var(--color-bg);
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.footer-logo {
    font-size: 2rem;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-sm);
}

.footer-desc {
    color: var(--color-gray);
    max-width: 250px;
}

.dark-footer .footer-desc {
    color: var(--color-gray);
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
}

.footer-link {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-gray);
    font-size: 0.95rem;
}

.footer-link:hover {
    color: var(--color-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--space-md);
    text-align: center;
    color: var(--color-gray);
    font-size: 0.875rem;
}

.dark-footer .footer-bottom {
    border-top-color: var(--color-border);
}

/* ==========================================================================
   Responsive Utilities
   ========================================================================== */
@media (max-width: 1024px) {
    .product-details-container {
        grid-template-columns: 1fr;
    }
    
    .product-info-panel {
        position: static;
        padding-top: var(--space-md);
        margin-top: 2rem;
    }
}

@media (max-width: 900px) {
    .shop-layout {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .shop-sidebar {
        display: flex;
        flex-wrap: wrap;
        gap: var(--space-md);
        border-bottom: 1px solid var(--color-border);
        padding-bottom: var(--space-md);
        margin-bottom: var(--space-sm);
    }



    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --space-md: 1.5rem;
        --space-lg: 2.5rem;
        --space-xl: 4rem;
    }

    .nav-icons {
        display: flex;
        justify-self: end;
        gap: 0.5rem; /* Reduced gap to accommodate new padding */
        order: 1; /* Assign to Column 3 (Right) */
    }
    
    .nav-icons .nav-icon {
        padding: 10px; /* Expands 24px SVG to structurally reach 44px tap target */
        margin: -10px; /* Neutralizes visual shifting from padding */
        display: flex;
        align-items: center;
    }
    
    .nav-container {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        width: 100%;
    }
    
    .brand-logo {
        justify-self: center;
        order: 0; /* Assign to Column 2 (Center) */
    }
    
    .mobile-menu-btn {
        display: flex; /* Moved from below */
        z-index: 1001; /* Moved from below */
        justify-self: start;
        order: -1; /* Assign to Column 1 (Left) */
        padding: 10px;
        margin: -10px;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-bg);
        padding: var(--space-md);
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        color: var(--color-text);
        text-align: center;
        border-top: 1px solid var(--color-border);
    }

    .nav-links.active {
        display: flex;
        gap: 1.5rem;
    }

    .carousel-mobile {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: var(--space-sm);
        margin-right: calc(-1 * var(--space-md));
        padding-right: var(--space-md);
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .carousel-mobile::-webkit-scrollbar {
        display: none;
    }

    .carousel-mobile .product-card {
        scroll-snap-align: start;
        flex: 0 0 calc(40vw - 1.4rem);
        min-width: 0;
    }



    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(3px) rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        transform: translateY(-4px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .pd-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    /* --- Product Detail Page: Mobile Hardening --- */
    .product-details-container {
        gap: 0;
        padding-top: var(--space-sm);
    }

    .product-gallery {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .gallery-main {
        width: 100%;
    }

    .gallery-main .gallery-img {
        max-height: 70vh;
        object-fit: cover;
        width: 100%;
    }

    .gallery-main .gallery-skeleton {
        max-height: 70vh;
    }

    .gallery-thumbnails {
        width: 100%;
        max-width: 100%;
        padding-bottom: 0.5rem;
    }

    .product-info-panel {
        position: static;
        padding: 0 var(--space-sm);
        margin-top: 2rem;
        max-width: 100%;
        overflow: hidden;
    }

    .pd-desc {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .pd-price {
        font-size: 1.1rem;
    }

    .breadcrumbs {
        font-size: 0.7rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .pd-add-stark {
        min-height: 52px;
        font-size: 0.85rem;
        padding: 1rem 1.5rem;
    }

    .size-btn {
        width: 2.75rem;
        height: 2.75rem;
        font-size: 0.8rem;
    }

    .pd-options {
        margin-bottom: var(--space-md);
    }

    .pd-accordion .accordion-header {
        font-size: 0.85rem;
        padding: 0.85rem 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .flex-row {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .horizontal-scroll-container {
        gap: 1.5rem; /* Tighter tension on mobile */
    }

    .horizontal-scroll-container .product-card {
        flex: 0 0 calc((100% - 3rem) / 2.5);
    }
}

/* ==========================================================================
   Full Width Shop Grid Architecture
   ========================================================================== */
.full-width-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    width: 100%;
}

@media (max-width: 1024px) {
    .full-width-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .full-width-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .top-filter-bar {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1.5rem;
    }
}

/* ==========================================================================
   Desktop Flyout Menus
   ========================================================================== */
.nav-dropdown-wrapper {
    position: relative;
    display: inline-flex;
}

/* Invisible bridge so mouse hover doesn't break between link and flyout */
.nav-dropdown-wrapper::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -10%;
    width: 120%;
    height: 40px; 
}

.nav-flyout {
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    transform: translate(-50%, -5px);
    background-color: var(--color-bg);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 1.5rem 2.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    z-index: 9999;
    min-width: 220px;
    text-align: center;
}

.nav-dropdown-wrapper:hover .nav-flyout, .nav-dropdown-wrapper:focus-within .nav-flyout, .nav-dropdown-wrapper:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.flyout-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.flyout-list li {
    margin-bottom: 0px; 
}

.flyout-link {
    font-size: 13px;
    font-family: var(--font-body);
    text-transform: capitalize;
    color: #555555;
    text-decoration: none;
    line-height: 2.2;
    transition: color 0.3s ease;
    display: block;
}

.flyout-link:hover {
    color: #000000;
}

/* ==========================================================================
   Mobile Menu Accordion
   ========================================================================== */
.mobile-accordion {
    width: 100%;
    text-align: center;
}

.mobile-accordion-btn {
    font-size: 28px;
    font-family: var(--font-heading);
    color: var(--color-text);
    text-transform: uppercase;
    background: none;
    border: none;
    cursor: pointer;
    letter-spacing: 0.1em;
    padding: 1rem 0;
    width: 100%;
}

.mobile-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.mobile-accordion.active .mobile-accordion-content {
    max-height: 500px; /* Arbitrary high value to force open */
}

.mobile-submenu {
    list-style: none;
    padding: 0 0 1rem 0;
    margin: 0;
}

.mobile-submenu li a {
    font-size: 16px;
    font-family: var(--font-body);
    color: #555555;
    text-decoration: none;
    text-transform: capitalize;
    line-height: 2.5;
    display: block;
}

/* ==========================================================================
   Mobile Menu Overlay
   ========================================================================== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px); /* Dimmed backdrop override */
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    max-width: 300px;
    height: 100%;
    background-color: var(--color-bg);
    box-shadow: 5px 0 15px rgba(0,0,0,0.05);
    padding: 2rem;
    padding-top: 6rem;
    display: flex;
    flex-direction: column;
    text-align: left; /* Shift from center to left */
    gap: 1.5rem;
    
    transform: translateX(-100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-cat-link {
    font-size: 28px;
    font-family: var(--font-heading);
    color: var(--color-text);
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.1em;
    padding: 0;
}

.mobile-accordion-btn {
    text-align: left;
    padding: 0; /* from previous fix */
    font-size: 28px;
    font-family: var(--font-heading);
    color: var(--color-text);
    text-transform: uppercase;
    background: none;
    border: none;
    cursor: pointer;
    letter-spacing: 0.1em;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-accordion-btn::after {
    content: '+';
    font-size: 24px;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.mobile-accordion.active .mobile-accordion-btn::after {
    content: '\2212'; /* Native minus entity */
}

.mobile-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    color: #000000;
    line-height: 1;
}

@media (max-width: 768px) {
    .nav-links.desktop-cats {
        display: none !important;
    }
}

/* ===============================
   CLIENT SERVICES (CONTACT)
================================= */
.contact-section {
    padding: 4rem 5% 8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 80vh;
}
.contact-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}
.contact-subtitle {
    font-size: 1.1rem;
    color: var(--color-gray);
    margin-bottom: 4rem;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}
.contact-method {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.contact-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.5;
    margin-bottom: 0.5rem;
    display: block;
}
.contact-value {
    font-size: 1.5rem;
    color: var(--color-black);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}
.contact-value:hover {
    border-color: currentColor;
}
.contact-hours {
    margin-top: 2rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-gray);
    opacity: 0.8;
}

/* ===============================
   SIZE GUIDE MODAL (GLASSMORPHISM)
================================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.modal-content.glass-panel {
    position: relative;
    width: 90%;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 3rem 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.hidden .modal-content.glass-panel {
    transform: translateY(20px);
}

.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 28px;
    font-weight: 200;
    color: var(--color-black);
    cursor: pointer;
    line-height: 1;
    transition: opacity 0.2s ease;
}

.modal-close-btn:hover {
    opacity: 0.5;
}

.modal-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--color-black);
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.size-chart-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.size-chart-table th,
.size-chart-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.size-chart-table th {
    font-weight: 500;
    color: var(--color-gray);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.size-chart-table tbody tr:last-child td {
    border-bottom: none;
}

/* ===============================
   TERMS OF SERVICE / LEGAL PAGE
================================= */
.legal-section {
    padding: 2rem 5% 7rem;
    max-width: 860px;
    margin: 0 auto;
}

.legal-header {
    text-align: center;
    margin-bottom: 4rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 2.5rem;
}

.legal-title {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    letter-spacing: -0.01em;
    font-weight: 400;
    margin-bottom: 0.75rem;
    color: var(--color-black);
}

.legal-subtitle {
    font-size: 0.85rem;
    color: var(--color-gray);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.legal-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.legal-block {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding-bottom: 2.5rem;
}

.legal-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.legal-block-title {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    color: var(--color-black);
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}

.legal-block-num {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-gray);
    letter-spacing: 0.05em;
}

.legal-text {
    font-family: var(--font-body);
    font-size: 0.98rem;
    line-height: 1.85;
    color: #333333;
    margin-bottom: 1rem;
}

.legal-text:last-child {
    margin-bottom: 0;
}

.legal-list {
    margin: 1rem 0 1.25rem 1.5rem;
    line-height: 1.85;
    color: #333333;
    font-family: var(--font-body);
    font-size: 0.98rem;
}

.legal-list li {
    margin-bottom: 0.5rem;
    padding-left: 0.25rem;
}

.legal-contact-box {
    background: #fafafa;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 4px;
    padding: 2rem 2.5rem;
    margin-top: 1.5rem;
}

.legal-contact-item {
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
    color: var(--color-gray);
    line-height: 1.6;
}

.legal-contact-item:last-child {
    margin-bottom: 0;
}

.legal-contact-item strong {
    color: var(--color-black);
    font-weight: 500;
}

.legal-contact-item a {
    color: var(--color-black);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s ease;
}

.legal-contact-item a:hover {
    opacity: 0.6;
}

