/* ===========================================
   1. VARIABLES & RESET
   =========================================== */
@font-face {
    font-family: 'ABCMonumentGrotesk';
    src: url('../fonts/ABCMonumentGrotesk-Light-Trial.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'ABCMonumentGrotesk';
    src: url('../fonts/ABCMonumentGrotesk-Regular-Trial.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'ABCMonumentGrotesk';
    src: url('../fonts/ABCMonumentGrotesk-Bold-Trial.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'ABCMonumentGrotesk';
    src: url('../fonts/ABCMonumentGrotesk-Ultra-Trial.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

:root {
    --color-black: #0d0d0d;
    --color-white: #ffffff;
    --color-gray: #888888;
    --color-light-gray: #f2f2f2;
    --color-accent: #e6e6e6;
    --font-primary: 'ABCMonumentGrotesk', sans-serif;
    --container-width: 1600px;
    --padding-x: 4rem;
}

@media (max-width: 1024px) {
    :root {
        --padding-x: 2rem;
    }
}

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

html,
body {
    font-family: var(--font-primary);
    color: var(--color-black);
    background: var(--color-white);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Hide Google Translate Toolbar */
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

body {
    top: 0px !important;
    position: static !important;
}

.goog-te-gadget-icon {
    display: none !important;
}

.goog-te-menu-value {
    display: none !important;
}

.goog-te-banner-frame {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
}

#goog-gt-tt {
    display: none !important;
    visibility: hidden !important;
}

.goog-tooltip {
    display: none !important;
}

.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
}

#google_translate_element {
    display: none !important;
}

img,
video {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===========================================
   2. UTILITIES
   =========================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0;
}

.flex {
    display: flex;
    flex-wrap: wrap;
}

.justify-content-sb {
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}

/* Reveal Animation Utilities */
.reveal-text {
    /* We'll animate child elements */
    opacity: 1;
}

/* New class for the masking effect */
.line-mask {
    overflow: hidden;
    display: block;
    line-height: 1.2;
}

.line-mask span {
    display: block;
    transform: translateY(100%);
    /* Start hidden below */
    opacity: 0;
    transition: transform 1s ease, opacity 1s ease;
}

.reveal-image {
    opacity: 1;
    /* Default to visible, GSAP handles fade in */
    overflow: hidden;
    /* For scale effects */
}

/* ===========================================
   3. PRELOADER
   =========================================== */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--color-black);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
}

.preloader-logo {
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 900;
    letter-spacing: 0.1em;
    color: var(--color-white);
    height: 1.1em;
    overflow: hidden;
    display: flex;
    gap: 0.1em;
}

.preloader-logo .letter {
    display: inline-block;
    height: 1em;
    overflow: hidden;
}

.preloader-logo .letter ul {
    list-style: none;
    margin: 0;
    padding: 0;
    animation: scrollUpLetter 2.5s ease infinite;
}

.preloader-logo .letter li {
    height: 1em;
    line-height: 1;
    display: block;
}

/* Stagger the letter animations */
.preloader-logo .letter:nth-child(1) ul {
    animation-delay: 0.1s;
}

.preloader-logo .letter:nth-child(2) ul {
    animation-delay: 0.2s;
}

.preloader-logo .letter:nth-child(3) ul {
    animation-delay: 0.3s;
}

.preloader-logo .letter:nth-child(4) ul {
    animation-delay: 0.4s;
}

.preloader-logo .letter:nth-child(5) ul {
    animation-delay: 0.5s;
}

@keyframes scrollUpLetter {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

.preloader-counter {
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    font-variant-numeric: tabular-nums;
}

@media (max-width: 767px) {
    .preloader-counter {
        bottom: 1.5rem;
        right: 1.5rem;
        font-size: 1rem;
    }

    .preloader-logo {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 11vw;
        width: auto;
        /* Allow auto width */
        margin: 0;
    }
}

/* Optical Alignment for Mobile Menu */
@media (max-width: 1024px) {
    .mobile-menu-toggle {
        align-self: center;
        margin: 0;
        position: relative;
        top: 3px;
        /* Nudge down to alignment with logo baseline */
    }
}

/* ===========================================
   4. HEADER
   =========================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0rem var(--padding-x);
    height: 70px !important;
    /* Fixed height to ensure stability */
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* Align to top */
    opacity: 1;
    /* Default visible, GSAP will animate from 0 */
    mix-blend-mode: exclusion;
    /* Changed to exclusion for better black/white handling */
    color: #fff;
    transition: background-color 0.4s ease, color 0.4s ease;
}

.section-our-stories {
    margin-top: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.site-header.has-bg {
    background-color: var(--color-white);
    mix-blend-mode: normal;
    color: var(--color-black);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.site-header.has-bg .nav-left a,
.site-header.has-bg .nav-right a {
    color: var(--color-black) !important;
}

.header-logo {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    z-index: 102;
    /* Higher than overlay */
    position: relative;
    /* Default position */
}

/* Desktop centering */
@media (min-width: 1025px) {
    .header-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

.header-nav {
    display: flex;
    width: 100%;
    justify-content: space-between;
    /* Removed absolute positioning that was collapsing it */
    position: relative;
    z-index: 1;
}

.nav-left,
.nav-right {
    display: flex;
    gap: 2rem;
    pointer-events: auto;
}

.nav-left li,
.nav-right li {
    list-style: none;
    display: inline-block;
    margin: 0;
    padding: 0;
}

.nav-left a,
.nav-right a {
    font-size: 11px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    padding-bottom: 2px;
    color: #fff !important;
    /* Force white for exclusion blend mode */
    text-decoration: none;
}

.nav-left a::after,
.nav-right a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background: currentColor;
    transition: width 0.3s ease;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 102;
    /* Above overlay */
    width: 30px;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transition: all 0.3s ease;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: #000;
    /* Dark premium background */
    z-index: 101;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

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

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-menu-nav a {
    font-size: 2.5rem;
    font-weight: 500;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s, transform 0.3s;
}

.mobile-lang {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.mobile-menu-nav .mobile-lang a {
    font-size: 1.2rem;
    opacity: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 103;
}

.mobile-menu-close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 2px;
    background-color: #fff;
}

.mobile-menu-close span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-menu-close span:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* Responsive Header Tweaks */
@media (max-width: 1024px) {
    .header-nav {
        display: none;
        /* Hide standard nav */
    }

    .mobile-menu-toggle {
        display: flex !important;
        z-index: 200;
    }

    .header-logo {
        /* Logo aligns left by default flex behavior of header */
        transform: none;
        left: auto;
    }

    .site-header {
        justify-content: space-between;
        align-items: center;
        height: 80px;
    }
}

/* ===========================================
   5. HERO SECTION
   =========================================== */
.hero {
    height: 100vh;
    /* Fallback */
    height: 100dvh;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    /* Changed from center to flex-end to align video to bottom */
    align-items: flex-end;
    background: var(--color-white);
    overflow: hidden;
    padding-bottom: 0;
    /* Ensure it sits flush on the bottom edge if needed */
}

.hero-video-container {
    width: 30vw;
    /* Start smaller as per design */
    height: 40vh;
    overflow: hidden;
    position: relative;
    z-index: 1;
    /* Ensure it has a background if video fails */
    background: #e6e6e6;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Remove transform scale for now to debug visibility */
    display: block;
}

/* ===========================================
   6. WELCOME SECTION
   =========================================== */
.section {
    position: relative;
    width: 100%;
}

.section--welcome {
    padding: 5rem 4rem;
}

.welcome__content {
    width: 45%;
}

.welcome__heading {
    font-size: 36px;
    /* Bumped to match brands/million as per user request to 'check html' which usually implies big bold type */
    font-weight: 700;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.welcome__image {
    width: 45%;
    aspect-ratio: 16/9;
}

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

/* ===========================================
   7. STATS SECTIONS
   =========================================== */
.section--stats {
    padding: 6rem 4rem;
    position: relative;
    background-color: #000;
    background-size: cover;
    background-position: center;
    color: white;
}

.section--stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.stats__grid {
    position: relative;
    z-index: 1;
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: center;
}

.stat-item {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    text-align: right;
}

.stat-item__number {
    font-size: 5rem;
    line-height: 1;
    font-weight: 800;
}

.stat-item__label {
    max-width: 310px;
    line-height: 1.4;
    text-align: right;
    font-size: 22px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 600;
}

/* ===========================================
   8. IMAGE GRID (Fixed Layout)
   =========================================== */
.section--image-grid {
    padding: 6rem 4rem 1rem 4rem;
}

/* The container inside the section handles the Flex layout */
.grid__container {
    display: flex;
    gap: 2rem;
    max-width: var(--container-width);
    margin: 0 auto;
    height: 800px;
    /* Force height for proper filling */
}

.grid__large {
    width: 60%;
    height: 100%;
}

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

.grid__small-col {
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    /* Explicit gap */
    height: 100%;
}

.grid__small {
    flex: 1;
    /* Grow to fill half height */
    overflow: hidden;
}

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

/* ===========================================
   9. OVER MILLION (Fixed Selectors)
   =========================================== */
.section--million {
    padding: 2rem 4rem 6rem 4rem;
    /* Adjusted padding */
    margin: 0 auto;
}

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

.million__image {
    width: 250px;
    /* Slightly larger */
}

.million__content {
    width: 65%;
    text-align: right;
}

.million__content h2 {
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.1em;
    text-transform: uppercase;
}

/* ===========================================
   10. BRANDS GRID
   =========================================== */
.section--brands {
    padding: 5rem 4rem;
}

.brands_container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.brands__heading {
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 3rem;
    line-height: 1.1em;
    text-transform: uppercase;
}

.brands__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.brand-card {
    aspect-ratio: 9/16;
    /* Vertical Card */
    background: var(--color-light-gray);
    overflow: hidden;
    position: relative;
    display: block;
    /* Ensure link behaves as block */
}

.brand-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.brand-card:hover img {
    transform: scale(1.05);
    /* Simple zoom as requested */
}

/* ===========================================
   11. MAP SECTION
   =========================================== */
/* ===========================================
   11. MAP SECTION (DYNAMIC)
   =========================================== */
.section--map {
    padding: 5rem 4rem;
    width: 100%;
    overflow: hidden;
}

.section--map .map__container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* Top align for list vs map */
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
}

/* LEFT: Brands List */
.map__brands-col {
    width: 25%;
    z-index: 10;
}

.map__title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2.5rem;
    letter-spacing: 0.1em;
    color: #999;
}

.map__brands-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.map__brand-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
    opacity: 1;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    padding-left: 10px;
    /* Space for accent border */
}

.map__brand-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px;
    height: 100%;
    background-color: currentColor;
    /* Will be set by JS color */
    transition: transform 0.3s ease;
}

.map__brand-item.active,
.map__brand-item:hover {
    opacity: 1;
    transform: translateX(10px);
}

.map__brand-item.active::before {
    transform: translateY(-50%) scaleY(1);
    background-color: #000;
    /* Fallback or specific color */
}

/* Logo Image */
.map__brand-item img {
    height: auto;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    /* filter: grayscale(100%); REMOVED per user request */
    transition: transform 0.3s ease;
}

.map__brand-item.active img,
.map__brand-item:hover img {
    filter: grayscale(0%);
}

/* Country Name */
.map__brand-item span {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #000;
    display: none;
    /* Hidden by default, or show? Reference shows it. Let's show it */
    display: block;
}

/* RIGHT: Map Visual */
.map__visual-col {
    width: 70%;
    position: relative;
}

.map-wrapper {
    position: relative;
    width: 100%;
    /* No fixes height, rely on SVG viewBox */
}

.world-map-svg {
    width: 100%;
    height: auto;
    display: block;
    fill: #e6e6e6;
    /* Base color for all countries */
    stroke: #ffffff;
    stroke-width: 0.7;
    transition: fill 0.3s ease;
}

/* Individual Land Paths */
.land {
    transition: fill 0.4s ease;
    cursor: pointer;
}

.land:hover {
    fill: #d0d0d0;
}

/* Active Highlight Classes (Applied by JS) */
.land.active-country {
    fill: var(--active-color, #888) !important;
    stroke: #fff;
    stroke-width: 1;
}

/* Dashed Line Overlay */
.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    overflow: visible !important;
    /* Allow curves to go slightly out */
}

/* The Line Itself */
.dashed-line {
    fill: none;
    stroke: var(--active-color, #555);
    stroke-width: 2px;
    stroke-linecap: round;
    stroke-dasharray: 6, 6;
    opacity: 0.8;
}

@media (max-width: 1024px) {
    .section--map .map__container {
        flex-direction: column;
    }

    .map__brands-col {
        width: 100%;
        margin-bottom: 3rem;
        /* Horizontal scroll list for mobile? Or grid? */
        overflow-x: auto;
    }

    .map__brands-list {
        flex-direction: row;
        gap: 2rem;
        padding-bottom: 1rem;
    }

    .map__brand-item {
        flex: 0 0 auto;
        flex-direction: column;
        align-items: center;
        text-align: center;
        border-left: none;
        padding-left: 0;
    }

    .map__brand-item img {
        height: 30px;
    }

    .map__visual-col {
        width: 100%;
    }
}


/* ===========================================
   12. BANNER
   =========================================== */
.section--banner {
    height: 280px;
    background: url('../images/home-count.jpg') no-repeat;
    object-fit: cover;
    background-size: cover;
    background-position: center;
}

/* ===========================================
   13. FOOTER
   =========================================== */
.site-footer {
    padding: 4rem var(--padding-x);
    background: var(--color-black);
    color: var(--color-white);
}

.footer-logo {
    font-size: 8rem;
    font-weight: 900;
    text-align: center;
    opacity: 0.2;
}

/* ===========================================
   15. MERGED GROUP PAGE STYLES
   =========================================== */

/* Reset tweaks for this page */
body#groupPage {
    background: var(--color-white);
    /* using --color-white instead of --bg-white */
    color: var(--color-black);
    /* using --color-black instead of --text-black */
    overflow-x: hidden;
}

.group-main-wrapper {
    width: 100%;
}

/* SECTION 1: HERO VIDEO */
.section-hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.section-hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* SECTION 2: HERITAGE/ABOUT TEXT */
.section-about-text,
.section-committed-text {
    display: flex;
    justify-content: space-between;
    padding: 6rem 4rem;
    /* Specific padding from verified CSS */
    background: var(--color-white);
    gap: 4rem;
}

.about-left,
.committed-left {
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-bottom: 2rem;
}

.about-left h1 {
    font-size: 50px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1em;
    color: var(--color-black);
    margin-bottom: 4rem;
}

.about-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-black);
    margin-top: 6rem;
}

.about-right {
    width: 50%;
    margin-top: 120px;
}

.about-right p,
.committed-right p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 0rem;
    color: var(--color-black);
    margin: 15px 0px;
    font-weight: 300;
}

.about-right p:last-child {
    margin-bottom: 0;
}

.committed-right {
    margin-top: 0;
    width: 50%;
}

.committed-right p {
    margin: 0;
}

.denim-section {
    padding: 0rem 4rem 6rem 4rem;
    background: var(--color-white);
    gap: 4rem;
}

.denim-text {
    width: 100%;
}

.denim-text h2 {
    font-size: 50px;
    font-weight: 700;
    line-height: 1.1em;
}

.denim-columns {
    display: flex;
    gap: 2rem;
    margin-top: 4rem;
    justify-content: space-between;
    /* Ensure spacing */
}

.denim_col {
    flex: 1;
    /* Better than fixed width with gap */
    width: auto;
}

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

.section-denim-innovation {
    display: flex;
    justify-content: space-between;
    padding: 0rem 4rem 6rem 4rem;
    background: var(--color-white);
    gap: 4rem;
}

.section-883 {
    padding: 0rem 4rem 3rem 4rem;
    background: var(--color-white);
    gap: 4rem;
}

.section-883-text h2 {
    font-size: 50px;
    font-weight: 700;
    line-height: 1.1em;
    width: 80%;
    word-break: break-word;
}



/* SECTION: IMAGE GRID - SCOPED TO PREVENT CONFLICT */
.group-main-wrapper .section--image-grid {
    width: 100%;
    max-width: 100%;
    /* Override home page max-width */
    padding: 0rem 4rem 0rem 4rem;
}

.image-grid__large {
    width: 60%;
    /* height: 700px; */
    overflow: hidden;
}

.group-main-wrapper .image-grid__large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===========================================
   16. GROUP SUB-NAVIGATION (STICKY)
   =========================================== */
.group-subnav {
    position: sticky;
    top: 70px;
    /* Height of fixed header */
    z-index: 90;
    /* Below header (100), above content */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    height: 52px;
    border-top: 1px solid #111;
    border-bottom: 1px solid #111;
    padding: 14px 0;
}

.group-subnav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.group-subnav li {
    display: inline-block;
}

.group-subnav a {
    text-transform: capitalize;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    padding: 16px 18px;
    font-size: 12px;
    font-weight: 300;
    color: #00000099;
    outline: none;
}

.group-subnav a:hover,
.group-subnav a.active {
    color: var(--color-black);
}

.group-subnav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-black);
}

.over-million__image {
    max-width: 250px;
    width: 100%;
}

.brands_nav .premium-vscroll-nav-menu .premium-vscroll-nav-item .premium-vscroll-nav-link {
    padding: 16.5px 18px !important;
}

.premium-vscroll-nav-item.active .premium-vscroll-nav-link {
    position: relative;
}

.premium-vscroll-nav-item.active .premium-vscroll-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--color-black);
}



.image-grid__small-container {
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    /* height: 700px; */
}

.group-main-wrapper .image-grid__small {
    flex: 1;
    overflow: hidden;
    height: calc(50% - 1rem);
}

.group-main-wrapper .image-grid__small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===========================================
   RESPONSIVE
   =========================================== */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    :root {
        --padding-x: 2rem;
    }

    .hero-video-container {
        width: 92vw;
        /* Increased from 70vw for wider look */
        height: 50vh;
    }

    .stats__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .stat-item {
        flex-direction: row;
        align-items: center;
        height: auto;
        gap: 2rem;
    }

    .section--image-grid {
        flex-direction: column;
        padding: 3rem 2rem 1rem 2rem !important;
    }

    .image-grid__large,
    .image-grid__small-container {
        width: 100%;
    }

    .image-grid__small-container {
        flex-direction: row;
        gap: 2rem;
    }

    .section--over-million {
        flex-direction: row;
        align-items: center;
        text-align: center;
        padding: 2rem 2rem 2rem 2rem !important;
    }

    .section--welcome {
        padding: 3rem 2rem;
    }

    .store-grid {
        padding: 0 !important;
    }

    .welcome__heading,
    .brands__heading,
    .about-left h1 {
        font-size: 40px !important;
        line-height: 1.1 !important;
    }

    .group-main-wrapper .section--image-grid {
        flex-direction: row;
    }

    .section-about-text,
    .section-committed-text,
    .section-focus-family {
        padding: 3rem 2rem !important;
    }

    .denim-section {
        padding: 0rem 2rem 5rem 2rem !important;
    }

    .section-denim-innovation {
        padding: 0rem 2rem !important;
    }

    .section-883 {
        padding: 0rem 2rem 0rem 2rem !important;
    }

    .section-883-text h2 {
        font-size: 40px !important;
        line-height: 1.1 !important;
    }

    .denim-text {
        width: 100% !important;
    }

    .denim-text h2 {
        font-size: 40px !important;
        line-height: 1.1 !important;
    }

    .mobile-menu-nav a {
        font-size: 20px;
    }

    .section--million {
        padding: 2rem 2rem 6rem 2rem;
    }

    .over-million__text {
        width: 100%;
        text-align: center;
        margin-top: 2rem;
    }

    .brands__grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .nav-left,
    .nav-right {
        display: none;
        /* simple hide for prototype, use mobile menu later */
    }

    .section--brands {
        padding: 5rem 2rem;
    }

    .welcome__content {
        width: 100%;
    }

    .welcome__image {
        margin-top: 50px;
        width: 100%;
    }

    .million__content h2 {
        font-size: 38px;
    }

    .section-map-dynamic {
        padding: 60px 0px;
        width: 96%;
    }

    .section--stats {
        padding: 5rem var(--padding-x);
    }
}


/* RESPONSIVE */
@media (max-width: 768px) {
    .section-about-text {
        flex-direction: column;
        gap: 3rem;
    }

    .section-about-text,
    .section-committed-text,
    .section-focus-family {
        padding: 4rem 2rem;
    }

    .grid__container {
        flex-wrap: wrap;
        height: auto;
    }


    .about-left,
    .about-right,
    .values-left,
    .values-right {
        width: 100%;
    }

    .about-left {
        margin-top: 0;
    }

    .about-right {
        margin-top: 0;
    }

    .about-left h1 {
        margin-bottom: 2rem;
    }

    .section-about-text,
    .section-committed-text {
        flex-wrap: wrap;
        gap: 0rem;
    }

    .stack-img {
        position: relative;
        height: 50vh;
        top: 0;
        margin-bottom: 1rem;
    }

    .section-values {
        flex-direction: column;
        gap: 2rem;
    }
}



@media (max-width: 768px) {
    .group-main-wrapper .section--image-grid {
        flex-direction: column;
        height: auto;
        padding: 0rem 2rem 0rem 2rem;
    }

    .image-grid__large,
    .grid__large,
    .grid__small-col,
    .image-grid__small-container {
        width: 100%;
        height: auto;
    }

    .image-grid__large {
        height: 400px;
    }

    .group-main-wrapper .image-grid__small-container {
        height: auto;
        flex-wrap: wrap;
        flex-direction: column;
    }

    .group-main-wrapper .image-grid__small {
        height: 300px;
    }
}



@media (max-width: 767px) {
    :root {
        --padding-x: 2rem;
    }

    /* 1. Fix Mobile Menu & Center Logo */
    .header-nav {
        display: none;
    }

    .site-header {
        justify-content: flex-end;
        /* Push toggle to right */
        align-items: center;
        height: 70px;
        padding: 0 var(--padding-x);
        position: fixed;
        /* Restore fixed positioning */
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
    }

    .header-logo {
        position: absolute;
        left: 30px;
        transform: translateX(0%);
        font-size: 1.5rem;
        width: max-content;
        z-index: 10;
    }

    .section--map .map__container .map__brands-list {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }

    .brands_nav .premium-vscroll-nav-menu .premium-vscroll-nav-item .premium-vscroll-nav-link {
        padding: 16.5px 3px !important;
    }

    .section--map .map__container .map__display-area {
        width: 100%;
    }

    .mobile-menu-toggle {
        display: flex;
        /* Show hamburger */
        position: relative;
        z-index: 20;
        /* Ensure above everything */
    }

    /* 2 & 4. Welcome Section: 1 Column, Centered, Padding */
    .section--welcome {
        text-align: center;
    }

    .welcome__content,
    .welcome__image {
        width: 100%;
    }

    .welcome__content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .welcome__heading {
        font-size: 2rem;
        /* Reduced font size */
        line-height: 1.2;
    }

    .million__container {
        flex-wrap: wrap;
    }

    .grid__container {
        height: auto;
        flex-wrap: wrap;
    }

    .welcome__image {
        margin-top: 2rem;
    }

    .grid__large {
        width: 100%;
    }

    .grid__small-col {
        width: 100%;
    }

    .section--million {
        padding: 2rem 2rem 5rem 2rem;
    }

    .million__image,
    .million__content {
        width: 100%;
    }

    .million__image img {
        width: 100%;
    }

    .million__content {
        text-align: center;
        font-size: 26px;
    }

    /* 3 & 6. Stats Section: 1 Column */
    .section--stats {
        padding: 5rem 2rem;
    }

    .stats__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .stat-item {
        flex-direction: column;
        /* Stack vertically as per mobile request usually, but checking screenshot, side by side might be cramped. User asked for 1 column. */
        align-items: center;
        text-align: center;
        gap: 0.5rem;
    }

    .stat-item__number {
        font-size: 3.5rem;
        /* Better fit for mobile */
        color: #fff;
        /* Force white for visibility */
    }

    .stat-item__label {
        font-size: 0.85rem;
        max-width: 100%;
        text-align: center;
        color: #fff;
        /* Force white */
    }

    /* Image Grid: 1 Column */
    .section--image-grid {
        flex-direction: column;
        padding: 5rem 2rem 0rem 2rem;
        gap: 2rem;
    }

    .image-grid__large,
    .image-grid__small-container {
        width: 100%;
    }

    .image-grid__small-container {
        flex-direction: column;
        /* Stack small images too */
        gap: 2rem;
    }

    /* 5. Over Million: 1 Column, Centered */
    .section--over-million {
        flex-direction: column;
        padding: 5rem 2rem;
        text-align: center;
        align-items: center;
    }

    .over-million__text {
        width: 100%;
        text-align: center;
        margin-top: 2rem;
    }

    .over-million__text h3 {
        font-size: 2.5rem;
        /* Reduced */
        line-height: 1.1;
        text-align: center !important;
    }

    .over-million__image {
        width: 150px;
        margin: 0 auto;
    }

    /* 7. Brands: Single Column */
    .section--brands {
        padding: 5rem 2rem;
    }

    .brands__heading {
        font-size: 2.5rem;
        line-height: 1.1;
        margin-bottom: 3rem;
        text-align: center;
    }

    .brands__grid {
        grid-template-columns: 1fr;
        /* Single column */
        gap: 2rem;
    }

    .brand-card {
        aspect-ratio: 9/16;
        /* Wider cards on mobile looks better */
    }

    .footer-logo {
        font-size: 2rem;
    }

    /* 8. Map: Reduce font size, Fix visibility */
    .section--map {
        padding: 5rem 2rem;
    }

    .map__container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .map__list {
        order: 2;
        /* Put map below or above? Usually list first on mobile is fine */
    }

    .map__brand-item {
        font-size: 1.5rem;
        /* Reduced */
        text-align: center;
    }

    .map__display {
        min-height: 300px;
        /* Ensure visibility */
        font-size: 1.5rem;
        margin-bottom: 2rem;
        order: 1;
        /* Show map/display on top? or leave default. Let's ensure it has height */
    }

}

/* SECTION 5: FOCUS & FAMILY */
.section-focus-family {
    display: flex;
    justify-content: space-between;
    padding: 6rem 4rem;
    gap: 4rem;
    background: var(--color-white);
    align-items: flex-start;
    /* Align to top vs center */
}

.gap-30 {
    gap: 30px;
}

.ff-col-text {
    flex: 1;
    /* min-width removed to prevent wrapping too early on desktop */
}

.ff-col-text h3 {
    font-size: 1.5rem;
    /* Matches About Subtitle size */
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 2rem;
    text-align: left;
    /* Left align as per design */
    letter-spacing: 0.05em;
}

.ff-col-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--color-black);
    font-weight: 300;
}

.ff-col-img {
    flex: 1;
    min-width: 300px;
}

.ff-col-img img {
    width: 100%;
    /* height: 100%; */
    object-fit: cover;
}

.section-denim-innovation h2 {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-black);
}

.section--over-million {
    display: flex;
    padding: 2rem 4rem 0rem 4rem;
    gap: 2rem;
    width: 100%;
    max-width: 100%;
}

.over-million__text.reveal-text {
    width: 60%;
    text-align: right;
}

.over-million__text h3 {
    font-size: 50px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .section-focus-family {
        flex-direction: column;
    }

    .ff-col-text,
    .ff-col-img {
        width: 100%;
        flex: auto;
    }

    .ff-col-img {
        order: 3;
    }
}

/* ===========================================
   16. DYNAMIC MAP SECTION
   =========================================== */
.section-map-dynamic {
    padding-bottom: 6rem;
    position: relative;
    background: var(--color-white);
}

/* MAP SECTION FLATTENED */
.map-container {
    width: 94%;
    margin: 0 auto;
}

/* --- Map Section --- */
.map-container .section--map {
    width: 100vw;
    min-height: 80vh;
    padding: 10rem var(--padding-x);
    background-color: #222;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

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

.map-container .map__container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* LEFT: LOGO LIST */
.map-container .map__brands-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    flex: 1;
}

.map-container .map__brand-item {
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.4s ease;
    filter: grayscale(100%);
    width: fit-content;
}

.map-container .map__brand-item img {
    height: 3rem;
    /* Adjust based on logo needs */
    width: auto;
    max-width: 15rem;
    display: block;
    object-fit: contain;
}

.map-container .map__brand-item:hover,
.map-container .map__brand-item.active {
    opacity: 1;
    filter: grayscale(0%);
    transform: translateX(10px);
}

/* RIGHT: MAP DISPLAY AREA */
.map-container .map__display-area {
    flex: 2;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    max-width: 60%;
}

.map-container .map-display-img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Responsive Map */
@media (max-width: 768px) {
    .map-container .map__container {
        flex-direction: column-reverse;
        /* Map on top usually, or logos on top? Let's stack */
        gap: 3rem;
    }

    .map-container .map__display-area {
        max-width: 100%;
        justify-content: center;
    }

    .map-container .map__brands-list {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .map-container .map__brand-item:hover,
    .map-container .map__brand-item.active {
        transform: translateY(-5px);
    }
}

.map-controls-container {
    display: flex;
    justify-content: center;
    padding: 3rem 0;
}

.custom-select-wrapper {
    position: relative;
    width: 300px;
}

.country-select {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    padding: 1rem 0;
    border: none;
    border: 1px solid #ddd;
    border-radius: 0;
    background: transparent;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-black);
    cursor: pointer;
    text-align: center;
    /* Center text inside select if possible, varies by browser */
    text-align-last: center;
    padding: 10px;
}

.country-select:focus {
    outline: none;
    border-color: var(--color-black);
}

/* Store Grid */
.store-grid {
    gap: 4rem 2rem;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0;
}

.store-card {
    text-align: center;
    opacity: 0;
    /* JS will reveal it */
    transform: translateY(20px);
}

.store-name {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: #444;
    /* Dark grey like in screenshot */
}

.store-address {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #000;
    text-transform: uppercase;
    font-weight: 600;
    max-width: 300px;
    margin: 0 auto;
}

.store-country {
    margin-top: 0.3rem;
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .store-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .map-container {
        height: 40vh;
    }
}

/* ===========================================
   17. NEW FOOTER STYLES
   =========================================== */
/* ===========================================
    17. NEW FOOTER STYLES (FLATTENED)
    =========================================== */

.site-footer-new {
    background: #F6F6F6;
    padding: 5rem 0 0 0;
    color: var(--color-black);
}

.site-footer-new .footer-container {
    padding: 0 var(--padding-x);
    padding-bottom: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 4rem;
}

.site-footer-new .footer-logo-col {
    flex: 1;
    min-width: 300px;
}

.site-footer-new .footer-brand {
    font-size: 8rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.05em;
    padding: 1rem 2rem;
    display: inline-block;
}

.site-footer-new .footer-links-col {
    flex: 2;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.site-footer-new .footer-column {
    flex: 1;
    min-width: 150px;
}

.site-footer-new .footer-column h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--color-black);
    display: inline-block;
    padding-bottom: 3px;
}

.site-footer-new .footer-column ul,
.footer-menu-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.site-footer-new .footer-column ul li,
.footer-menu-list li {
    margin-bottom: 0.2rem;
}

.site-footer-new .footer-column ul li a,
.footer-menu-list li a {
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--color-black);
    text-decoration: none;
    transition: opacity 0.2s;
}

.site-footer-new .footer-column ul li a:hover,
.footer-menu-list li a:hover {
    opacity: 0.6;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .site-footer-new .footer-brand {
        font-size: 6rem;
    }
}

@media (max-width: 768px) {
    .site-footer-new .footer-container {
        flex-direction: column;
        gap: 3rem;
    }

    .site-footer-new .footer-logo-col,
    .site-footer-new .footer-links-col {
        width: 100%;
    }

    .site-footer-new .footer-links-col {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0rem !important;
    }

    .site-footer-new .footer-brand {
        font-size: 4rem;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .group-subnav {
        top: 80px;
        /* Mobile header height */
        padding: 0;
    }

    .group-subnav a {
        padding: 17px 10px;
        display: inline-block;
    }

    .group-subnav .container {
        padding-left: 2rem;
        padding-right: 2rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        /* Hide scrollbar */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .group-subnav .container::-webkit-scrollbar {
        display: none;
    }

    .group-subnav ul {
        width: max-content;
        gap: 2rem;
    }

    .section-883-text h2 {
        width: 100% !important;
    }
}

/* ===========================================
    18. SUB-FOOTER STYLES (Adjusted)
    =========================================== */
.sub-footer-separator {
    height: 1px;
    background-color: #000;
    width: 100%;
    margin: 0 0 2rem 0;
    opacity: 1;
}

.sub-footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 0 var(--padding-x) 2rem var(--padding-x);
}

.copyright-text {
    font-size: 0.8rem;
    color: #333;
    font-weight: 400;
}

.social-links-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.follow-us-text {
    font-size: 0.8rem;
    color: #333;
    font-weight: 400;
}

.social-icons {
    display: flex;
    gap: 0.8rem;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background-color: #000;
    color: #fff;
    border-radius: 4px;
    /* Optional rounded corners */
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s, transform 0.2s;
}

.social-icon:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.social-icon i {
    line-height: 1;
}

@media (max-width: 768px) {
    .sub-footer-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .social-links-container {
        width: 100%;
        justify-content: space-between;
    }
}

/* ===========================================
    19. RESPONSIVE FIXES (GROUP PAGE)
    =========================================== */

@media (max-width: 768px) {

    .section-about-tex {
        padding: 4rem 4rem !important;
    }

    /* Global Section Padding Reduction */
    body#groupPage section,
    .denim-section,
    .section-denim-innovation,
    .section-883,
    .section-map-dynamic,
    .site-footer-new {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }

    .committed-right {
        width: 100% !important;
    }

    .section-denim-innovation {
        gap: 0rem !important;
    }

    /* Reset specific margins/paddings that conflict */
    .section-about-text {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    /* Hero Text Scaling */
    .home-hero-text h1 {
        font-size: 3rem;
    }

    /* About Section */
    .about-left h1 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }

    .about-subtitle {
        margin-top: 3rem;
        font-size: 1.5rem;
        letter-spacing: 0.05em;
    }

    /* Denim Section */
    .denim-text {
        width: 100%;
    }

    .denim-columns {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
        margin-top: 2rem;
        width: 100%;
    }

    .denim_col {
        width: 100%;
        height: 300px;
        /* Give images some height */
    }

    /* Innovation */
    .section-denim-innovation {
        flex-direction: column;
        padding-bottom: 4rem;
    }

    .section-denim-innovation .denim-text {
        width: 100%;
        order: 2;
        /* Text after image or before? usually text first */
    }

    /* Section 883 */
    .section-883-text h2 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    /* Map Section Improvements */
    .map-container {
        width: 100%;
        margin: 0;
        /* Remove side margins */
        height: 25vh;
        border-radius: 0;
    }

    .site-header.has-bg {
        height: 80px !important;
    }

    .map-controls-container {
        padding: 2rem 0;
    }

    .store-grid {
        padding: 0;
        /* Removed extra padding since container has it now */
        gap: 2rem;
    }

    .store-card {
        margin-bottom: 1rem;
    }

    /* Footer Adjustments */
    .footer-brand {
        font-size: 15vw;
        /* Responsive scaling for huge text */
        padding: 1rem 0;
        /* Keep border styles but adjust padding */
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .footer-container {
        padding-bottom: 2rem;
    }

    .sub-footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
        padding-bottom: 2rem;
    }

    .social-links-container {
        justify-content: center;
        width: 100%;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .section-about-text {
        padding: 4rem 2rem;
    }

    .denim-columns {
        gap: 1rem;
    }

    .copyright-text {
        font-size: 0.8rem;
        color: #333;
        font-weight: 400;
    }

    .social-links-container {
        display: flex;
        align-items: center;
        gap: 1.5rem;
    }

    .follow-us-text {
        font-size: 0.8rem;
        color: #333;
        font-weight: 400;
    }

    .social-icons {
        display: flex;
        gap: 0.8rem;
    }

    .social-icon {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 30px;
        height: 30px;
        background-color: #000;
        color: #fff;
        border-radius: 4px;
        /* Optional rounded corners */
        text-decoration: none;
        font-size: 0.9rem;
        transition: background-color 0.3s, transform 0.2s;
    }

    .social-icon:hover {
        background-color: #333;
        transform: translateY(-2px);
    }

    .social-icon i {
        line-height: 1;
    }
}

/* ===========================================
   FINAL MOBILE RESPONSIVE OVERRIDES
   (Appended to ensure highest specificity)
   =========================================== */


/* TEMPORARY: Hide Preloader */
#preloader {
    display: none !important;
}

/* ===========================================
   MOBILE RESPONSIVENESS FORMAP
   =========================================== */
@media (max-width: 768px) {
    .section--map {
        padding: 4rem 1.5rem;
    }

    .section--map .map__container {
        flex-direction: column;
    }

    .over-million__image {
        width: 30%;
    }

    .map__brands-col {
        width: 100%;
        margin-bottom: 2rem;
        z-index: 20;
        /* Ensure interactivity over map if needed */
    }

    .map__visual-col {
        width: 100%;
    }

    .map__title {
        text-align: center;
        margin-bottom: 1.5rem;
    }

    /* Transform brands list into a horizontal scroll slider */
    .map__brands-list {
        flex-direction: row;
        gap: 2rem;
        overflow-x: auto;
        padding-bottom: 10px;
        align-items: center;
        /* Hide scrollbars for cleaner look but keep functionality */
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
    }

    .map__brands-list::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari */
    }

    .map__brand-item {
        flex: 0 0 auto;
        /* Do not shrink */
        width: 200px;
        /* Fixed width for touch targets */
        flex-direction: column;
        padding-left: 0;
        justify-content: center;
        text-align: center;
        gap: 0.5rem;
        opacity: 1;
        /* Dim inactive items more on mobile to show focus */
    }

    .map__brand-item img {
        height: 40px;
    }

    .map__brand-item.active,
    .map__brand-item:hover {
        opacity: 1;
        transform: translateY(-5px);
        /* Move up slightly instead of right */
    }

    /* Adjust accent line for horizontal layout */
    .map__brand-item::before {
        left: 0;
        top: auto;
        bottom: -10px;
        width: 100%;
        height: 3px;
        transform: scaleX(0);
        transform-origin: center;
    }

    .map__brand-item.active::before {
        transform: scaleX(1);
    }

    .map__brand-item img {
        max-width: 100%;
        max-height: 50px;
        /* Limit height */
        object-fit: contain;
    }

    .group-subnav ul {
        margin: 0 auto;
        padding: 0;
    }
}

/* =========================================
   GROUP PAGE MAP & STORES
   ========================================= */
.section-map-dynamic {
    padding: 60px 0px;
    background: white;
    max-width: 1600px;
    width: 95%;
    margin: 0 auto;
}

.map-container {
    width: 100%;
    margin-bottom: 40px;
}

/* Ensure SVG is responsive */
.group-map-svg {
    width: 100%;
    height: auto;
    max-height: 500px;
    display: block;
}

.group-land {
    fill: #CCCCCC;
    /* Default map color matching home */
    stroke: white;
    stroke-width: 0.5;
    transition: fill 0.3s ease;
}

.group-land.active {
    fill: #808080 !important;
    /* Highlight color */
}

/* Controls */
.map-controls-container {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.custom-select-wrapper {
    position: relative;
    display: inline-block;
}

.country-select {
    appearance: none;
    -webkit-appearance: none;
    background-color: white;
    border: 1px solid #e0e0e0;
    padding: 12px 50px 12px 20px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    min-width: 250px;
    text-transform: uppercase;
    letter-spacing: 1px;
    /* Chevron Down Icon Data URI */
    background-image: url('data:image/svg+xml;utf8,<svg width="14" height="9" viewBox="0 0 14 9" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L7 7L13 1" stroke="%23FF0000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 14px;
    color: #000;
}

.country-select:focus {
    outline: none;
    border-color: #000;
}

/* Store Grid - 4 Columns via Flexbox */
.store-grid {
    width: 100%;
}

.store-list {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 0;
    gap: 0;
}

.store-item {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 20px;
    box-sizing: border-box;
    margin-bottom: 40px;
}

.store-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: #000;
}

.store-item p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .store-item {
        flex: 0 0 33.33%;
        max-width: 33.33%;
    }
}

@media (max-width: 768px) {
    .store-item {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .custom-select-wrapper {
        width: 100%;
    }

    .country-select {
        width: 100%;
    }

    .map-container {
        margin-bottom: 180px !important;
    }

    .section-883 {
        padding-top: 6rem !important
    }


}

@media (max-width: 767px) {

    /* 1. TYPOGRAPHY RESET */
    h1,
    .h1,
    .about-left h1,
    .home-hero-text h1 {
        font-size: 2rem !important;
        line-height: 1.1 !important;
        word-wrap: break-word;
        word-break: break-word;
        /* Ensure wrapping */
    }

    h2,
    .h2,
    .section-883-text h2,
    .retail-header h2 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }

    h3,
    .h3,
    .retail-quote h3,
    .over-million__text h3 {
        font-size: 1.75rem !important;
        line-height: 1.2 !important;
    }

    .elementor-widget-text-editor .elementor-widget-container,
    p {
        font-size: 1rem !important;
        line-height: 1.5 !important;
    }

    /* 2. LAYOUT FIXES */
    .section--over-million,
    .section--million,
    .section-denim-innovation {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
        gap: 2rem !important;
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }

    .over-million__image img {
        width: 100% !important;
    }

    .over-million__text,
    .over-million__image,
    .million__content,
    .million__image {
        width: 100% !important;
        margin: 0 !important;
        position: relative !important;
        /* Reset any absolute positioning */
        top: auto !important;
        left: auto !important;
        transform: none !important;
    }

    .mobile-menu-nav a {
        font-size: 1rem;
    }

    .million__image,
    .over-million__image {
        margin-bottom: 25px !important;
    }

    .section-883-text h2 {
        width: 100% !important;
    }

    .denim-section {
        padding: 0rem 4rem 2rem 4rem;
    }

    .map__display-area {
        margin-top: 45px;
    }

    .site-footer-new {
        padding: 5rem 0 0 0 !important;
    }

    .footer-brand img {
        width: 100%;
    }

    .site-footer-new .footer-brand {
        padding: 0 !important;
    }

    .site-header.has-bg {
        justify-content: space-between !important;
    }

    .section-883 {
        padding-top: 3rem !important;
    }

    /* 3. MOBILE MENU VISIBILITY (CRITICAL) */
    .mobile-menu-toggle {
        display: flex !important;
        position: absolute !important;
        z-index: 2147483647 !important;
        /* Max Z-Index */
        width: 40px !important;
        /* Slightly larger touch area */
        height: 40px !important;
        justify-content: center;
        align-items: center;
        /* Explicit center */
        flex-direction: column;
        gap: 5px;
        opacity: 1 !important;
        visibility: visible !important;
        background: transparent !important;
        margin-right: 0px !important;
        right: 15px;
        top: 25px;
    }

    .mobile-menu-toggle span {
        display: block !important;
        width: 30px !important;
        /* Explicit width */
        height: 3px !important;
        /* Slightly thicker */
        background-color: #000000 !important;
        /* Pure black */
        border-radius: 2px;
    }

    /* Ensure close button is visible too */
    .mobile-menu-close {
        z-index: 2147483647 !important;
    }

    /* Force header layout */
    .site-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 1.5rem !important;
    }

    /* 4. PRELOADER FINAL TWEAK */
    .preloader-logo {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        font-size: 3rem !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: center !important;
    }

    /* 5. FOOTER SCALING */
    .footer-brand {
        font-size: 4rem !important;
    }

    .about-subtitle {
        margin-top: 0px !important;
        font-size: 1.75rem !important;
        line-height: 1.2 !important;
        letter-spacing: normal !important;
    }

    .section-focus-family {
        padding: 3rem 2rem !important;
    }

    .denim-section P {
        padding-bottom: 0 !important;
    }

    .map-container {
        margin-bottom: 0px !important;
    }

    .store-item {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .denim-columns {
        padding: 0px !important;
    }

    .group-subnav {
        padding: 0;
    }

    .group-subnav ul {
        gap: 0.5rem;
    }

    .group-subnav a {
        display: inline-block;
        padding: 16px 5px;
    }

}

@media (max-width: 480px) {
    .store-item {
        width: 100%;
        /* 1 Column */
        text-align: center;
    }
}