/* Distributors CMS page styles */
@font-face { font-family: 'Gotham'; src: url('../fonts/Gotham-Thin.woff2') format('woff2');             font-weight: 100; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gotham'; src: url('../fonts/Gotham-ThinItalic.woff2') format('woff2');       font-weight: 100; font-style: italic; font-display: swap; }
@font-face { font-family: 'Gotham'; src: url('../fonts/Gotham-ExtraLight.woff2') format('woff2');       font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gotham'; src: url('../fonts/Gotham-ExtraLightItalic.woff2') format('woff2'); font-weight: 200; font-style: italic; font-display: swap; }
@font-face { font-family: 'Gotham'; src: url('../fonts/Gotham-Light.woff2') format('woff2');            font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gotham'; src: url('../fonts/Gotham-Book.woff2') format('woff2');             font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gotham'; src: url('../fonts/Gotham-Medium.woff2') format('woff2');           font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gotham'; src: url('../fonts/Gotham-Bold.woff2') format('woff2');             font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gotham'; src: url('../fonts/Gotham-BoldItalic.woff2') format('woff2');       font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Gotham'; src: url('../fonts/Gotham-Black.woff2') format('woff2');            font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gotham'; src: url('../fonts/Gotham-Ultra.woff2') format('woff2');            font-weight: 950; font-style: normal; font-display: swap; }

/* Layout reference overlay — toggle on while positioning */
body {
    background: black !important;
}

/* Dev helper (toggle when needed) */
.bgimg {
    display: none;
    position: absolute;
    z-index: 2;
    opacity: 0.5;
    left: 0;
    top: 0;
    width: 1375px;
    height: 2063px;
    outline: solid 1px blue !important;
    background-image: url('../images/distributors/thankyou-content.png');
    background-size: 100% auto;
    background-repeat: no-repeat;
}
/* .distributors-page * {z-index: 1;}
.distributors-thankyou * {z-index: 1;} */

#maincontent {
    padding: 0;
    font-family: 'Gotham', sans-serif;
    font-weight: 400;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center -120px;
    min-height: 1860px;
}
#maincontent .columns { padding: 0; background: none; }
#maincontent .column.main { padding: 0; }


/* ===== Shared ===== */
.distributors-page {
    --brand-green: #2ea83a;
    --bg-dark: #0a0a0a;
    --bg-panel: #141414;
    --text-light: #ffffff;
    --text-muted: #b8b8b8;
    --text-dark: #111111;
    --text-body: #4a4a4a;
    --divider: #d8d8d8;
    --card-bg: #f5f5f5;
    color: var(--text-light);
    position: relative;
}
.distributors-page .accent { color: var(--brand-green); }
.distributors-page .distributors-cta {
    display: inline-block;
    padding: 12px 18px;
    background: var(--brand-green);
    color: #fff;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 14.5px;
    letter-spacing: 0.5px;
    width: auto;
    height: 40px;
    text-align: center;
}

/* ===== 1. Hero ===== */
.distributors-hero {
    display: grid;
    grid-template-columns: 1.3fr 488px;
    padding: 38px 43px 23px 0;
    position: relative;
    background-color: black;
    background-image: url('../images/distributors/hero-flag.jpg');
    background-size: 90% 85%;
    background-repeat: no-repeat;
    background-position-x: 200px;
    background-position-y: 42px;
}
.distributors-hero-intro > * {
    padding-left: 66px;
}
.distributors-hero-eyebrow { color: var(--brand-green); font-weight: 700; letter-spacing: 1.5px; font-size: 17px; margin: 30px 0 16px 0; }
.distributors-hero-title { font-size: 56px; font-weight: 900; line-height: 1.29; margin: 0 0 28px; color: white;}
.distributors-hero-description { font-size: 21px; line-height: 2; max-width: 610px; margin: 29px 0 36px; color: white; }
.distributors-hero-features { display: grid; grid-template-columns: repeat(3, max-content); list-style: none; padding: 0; margin: 0; padding-left: 11px !important;}
.distributors-hero-feature { display: flex; flex-direction: column; align-items: center; width: 220px; position: relative;}
.distributors-hero-feature:not(:first-child)::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 10px;
    bottom: 0;
    width: 2px;
    background: var(--text-muted);
}
.distributors-hero-feature div { height: 106px; margin-bottom: 0;}
.distributors-hero-feature-icon { width: 106px; height: 106px; margin-top: -10px;}
.distributors-hero-features .distributors-hero-feature:first-child div .distributors-hero-feature-icon { width: 82px; height: 82px; margin-top: 0; }
.distributors-hero-feature-label { font-weight: 700; margin: 0; line-height: 1.7; font-size: 20px; text-align: center; }



/* Hero form panel */
.distributors-form {
    background: #1D1D1D;
    padding: 29px 32px;
    border-radius: 12px;
    /* border: 1px solid var(--brand-green); */
    align-self: start;
    min-height: 562px;
    /* box-shadow:
        0 0 16px rgba(180, 180, 180, 0.30),
        0 0 48px rgba(180, 180, 180, 0.20),
        0 0 96px rgba(180, 180, 180, 0.12); */
    box-shadow:
        0 0 32px rgba(180, 180, 180, 0.30),
        0 0 96px rgba(180, 180, 180, 0.20),
        0 0 200px rgba(180, 180, 180, 0.12);
}
#distributor-form {
    scroll-margin-top: 280px;
}
.distributors-form-eyebrow { color: var(--brand-green); font-size: 17px; letter-spacing: 1.5px; font-weight: 700; margin: 0 0 4px; }
.distributors-form-title { color: var(--text-light); font-size: 29px; font-weight: 900; margin: 0 0 7px; letter-spacing: 0.5px; padding-top: 2px;}
.distributors-form-description { font-size: 17px; margin: 0 0 18px; color: white; line-height: 1.5; }
.distributors-form-fields { display: flex; flex-direction: column; gap: 12px; }
.distributors-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.distributors-form-input {
    height: 48px !important;
}
.distributors-form-input,
.distributors-form-select,
.distributors-form-textarea {
    background: #2F2F2F !important;
    /* background-color: #1c1c1c !important; */
    border: 1px solid #2a2a2a !important;
    border-radius: 6px !important;
    color: #fff !important;
    padding: 14px 16px;
    font: inherit;
    width: 100%;
}
.distributors-form-select,
.distributors-form-textarea {
    padding: 14px 10px;
}
.distributors-form-select {
    height: 48px;
    font: 400 11.5px / 1.35 Roboto, Helvetica Neue, Verdana, Arial, sans-serif;
}
.distributors-form-textarea { resize: vertical; min-height: 80px; font-family: inherit; }
.distributors-form-input::placeholder,
.distributors-form-textarea::placeholder { color: white !important; }
.distributors-form-input:focus,
.distributors-form-select:focus,
.distributors-form-textarea:focus {
    outline: none;
    box-shadow: none !important;
    border-color: var(--text-muted) !important;
}
.distributors-form-input:-webkit-autofill,
.distributors-form-input:-webkit-autofill:hover,
.distributors-form-input:-webkit-autofill:focus,
.distributors-form-input:-webkit-autofill:active,
.distributors-form-textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #2F2F2F inset !important;
    -webkit-text-fill-color: #fff !important;
    caret-color: #fff;
    transition: background-color 9999s ease-out;
}

/* Custom dropdown (business type) */
.distributors-form-combobox { position: relative; }
.distributors-form-combobox-native {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
    left: 0;
    bottom: 0;
}
.distributors-form-combobox-button {
    width: 100%;
    height: 48px;
    background: #2F2F2F !important;
    border: 1px solid #2a2a2a !important;
    border-radius: 6px;
    color: #fff !important;
    padding: 0 36px 0 10px;
    text-align: left;
    font: 400 11.5px / 1.35 Roboto, Helvetica Neue, Verdana, Arial, sans-serif;
    cursor: pointer;
    position: relative;
    text-transform: none;
    letter-spacing: normal;
}
.distributors-form-combobox-button:hover,
.distributors-form-combobox-button:active,
.distributors-form-combobox-button:focus {
    background: #2F2F2F !important;
    color: #fff !important;
    border-color: var(--text-muted) !important;
    box-shadow: none !important;
}
.distributors-form-combobox-button::after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.15s ease;
}
.distributors-form-combobox.is-open .distributors-form-combobox-button::after {
    transform: translateY(-30%) rotate(-135deg);
}
.distributors-form-combobox-button:focus { outline: none; border-color: var(--text-muted); }
.distributors-form-combobox-list {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    margin: 0;
    padding: 4px 0;
    list-style: none;
    background: #2F2F2F;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    z-index: 10;
    max-height: 240px;
    overflow-y: auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.distributors-form-combobox-option {
    padding: 10px 14px;
    cursor: pointer;
    color: #fff;
    font-size: 14px;
}
.distributors-form-combobox-option:hover,
.distributors-form-combobox-option:focus { background: var(--brand-green); }
.distributors-form-submit {
    margin-top: 12px;
    padding: 12px 15px;
    background: var(--brand-green);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14.5px;
    letter-spacing: 0.5px;
    cursor: pointer;
    height: 40px;
}
.distributors-form-secure {
    display: flex;
    gap: 19px;
    font-size: 18px;
    color: var(--text-muted);
    margin: 12px 25px 0;
    line-height: 1.5;
}
.distributors-form-consent { font-size: 9px; margin-top: 5px;}
.distributors-form-secure-icon { width: 25px; height: 27px; flex-shrink: 0; }

/* ===== 2. Benefits ===== */
.distributors-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    padding: 28px 0 0;
    background: #fff;
    border-bottom: 1px solid var(--divider);
}
.distributors-benefit:not(:first-child)::before {
    content: '';
    position: absolute;
    left: -1px;
    top: -7px;
    width: 1px;
    height: 62px;
    background: var(--divider);
}
.distributors-benefit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    /* padding: 0 24px; */
    /* border-right: 1px solid var(--divider); */
    position: relative;
    padding-bottom: 22px;
}
.distributors-benefit:last-child { border-right: none; }
.distributors-benefit-icon { width: 58px; height: 58px; flex-shrink: 0; }
.distributors-benefit-text { line-height: 1.3; margin-left: 4px; margin-top: 2px;}
.distributors-benefit-title { color: var(--text-body); font-weight: 700; font-size: 16px; margin: 0; letter-spacing: 0.5px; }
.distributors-benefit-subtitle { color: var(--text-body); font-size: 16px; margin: 8px 0 0; }

/* ===== 3. Growth Partner ===== */
.distributors-growth {
    display: grid;
    grid-template-columns: 512px 1fr;
    padding: 0 47px 0 69px;
    background: #fff;
    color: var(--text-dark);
}
.distributors-growth-title { font-size: 41px; font-weight: 900; line-height: 1.24; margin: 46px 0 19px; }
.distributors-growth-list { list-style: none; padding: 0; margin: 0 0 27px; }
.distributors-growth-list li {
    position: relative;
    padding-left: 36px;
    margin-bottom: 18px;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 500;
    color: var(--text-dark);
}
.distributors-growth-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--brand-green) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='5 12 10 17 19 8'/></svg>") center / 14px no-repeat;
}
.distributors-growth-media img { max-width: 100%; height: auto; margin-top: 0;}

/* ===== 4. Categories ===== */
.distributors-categories {
    margin-top: 0;
    padding: 0 64px;
    background: #fff;
    color: var(--text-dark);
    text-align: center;
}
.distributors-categories-title {
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: center;
    color: var(--brand-green);
    font-size: 23px;
    font-weight: 700;
    margin: 0 0 10px;
    letter-spacing: 1.5px;
}
.distributors-categories-title::before,
.distributors-categories-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--brand-green);
}
.distributors-categories-title span { white-space: nowrap; }
.distributors-categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    list-style: none;
    padding: 0;
    margin: 0;
}
.distributors-category {
    text-align: center;
    padding: 0 10px 24px;
    /* border-right: 1px solid var(--divider); */
    /* border-bottom: 3px solid var(--brand-green); */
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
/* .distributors-category:not(:first-child)::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 6px;
    bottom: 9px;
    width: 1px;
    background: var(--divider);
} */
/* .distributors-category::after {
    content: '';
    position: absolute;
    left: 58px;
    right: 58px;
    bottom: 8px;
    height: 2px;
    background: var(--brand-green);
} */
.distributors-category:last-child { border-right: none; }
.distributors-category a {
    text-decoration: none;
    position: relative;
    display: inline-block;
    cursor: pointer;
}
.distributors-category a:hover {
    text-decoration: none;
}
.distributors-category-image--hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.distributors-category a:hover .distributors-category-image--hover {
    opacity: 1;
}
.distributors-category-label { 
    font-weight: 700; 
    font-size: 18px; 
    margin: 0 0 16px;
    padding: 10px 0;
    color: white;
    background-color: black;
    border-radius: 22px;
 }
.distributors-category-image { 
    max-width: 140px; 
    max-height: 140px; 
    height: auto; 
    margin: 0 20px 20px 20px
    /* border: solid 1px var(--brand-green); */
    /* padding: 20px;
    border-radius: 22px; */
}

/* ===== 5. USA ===== */
.distributors-usa {
    display: grid;
    grid-template-columns: 360px auto;
    /* align-items: center; */
    padding: 25px 60px 12px 457px;
    background: var(--bg-dark);
    background-image: url('../images/distributors/3-0-flag.png');
    background-size: auto 130%;
    background-position: left center;
    background-repeat: no-repeat;
    margin-top: 7px;
}
.distributors-usa-heading {
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* width: 360px; */
}
/* .distributors-usa-badges { grid-column: 2; } */
.distributors-usa-title { font-size: 29px; font-weight: 900; line-height: 1.25; margin: 0; letter-spacing: 0.5px; margin-bottom: 0;}
.distributors-usa-description { font-size: 14px; line-height: 1.65; margin: 0; color: white; max-width: 480px; letter-spacing: -0.2px; }
.distributors-usa-badges { display: flex; list-style: none; padding: 0; margin: 0; }
.distributors-usa-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 130px;
    padding: 0 24px;
    border-left: 1px solid #2a2a2a;
    width: 167px;
}
/* .distributors-usa-badge:first-child { border-left: none; padding-left: 0; } */
.distributors-usa-badge-icon { width: 72px; height: 72px; margin-bottom: 12px; }
.distributors-usa-badge-label { font-size: 15px; font-weight: 700; margin: 0; line-height: 1.5; }

/* ===== 6. Testimonials ===== */
.distributors-testimonials {
    padding: 15px 80px 0;
    background: #fff;
    color: var(--text-dark);
}
.distributors-testimonials-heading { text-align: center; margin-bottom: 4px; }
.distributors-testimonials-eyebrow { color: var(--brand-green); font-size: 15px; font-weight: 700; letter-spacing: 1.5px; margin: 0; }
.distributors-testimonials-title { color: var(--text-dark); font-size: 30px; font-weight: 900; margin: 0; }
.distributors-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.distributors-testimonial {
    background: white;
    border-radius: 12px;
    padding: 25px 28px 28px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
/* .distributors-testimonial::before {
    content: '\201C';
    color: var(--brand-green);
    font-family: Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    position: absolute;
    top: 18px;
    left: 24px;
} */
.distributors-testimonial-quote {
    font-style: italic;
    margin: 0 28px 9px 47px;
    line-height: 1.6;
    color: var(--text-body);
    font-size: 14px;
}
.distributors-testimonial-quote span {
    color: var(--brand-green);
    font-family: Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}
.distributors-testimonial-author { font-weight: 700; margin: 0; color: var(--text-dark); font-size: 19px;}

/* ===== Responsive — Tablet (<= 1024px) ===== */
@media (max-width: 1024px) {
    /* Hero */
    .distributors-hero {
        grid-template-columns: 1fr;
        padding: 32px 32px;
        background-size: cover;
        background-position: center;
    }
    .distributors-hero-intro > * { padding-left: 0; }
    .distributors-hero-eyebrow { font-size: 14px; margin: 0 0 12px; }
    .distributors-hero-title { font-size: 42px; line-height: 1.15; margin: 0 0 20px; }
    .distributors-hero-description { font-size: 18px; line-height: 1.6; margin: 0 0 32px; max-width: none; }

    /* Form */
    .distributors-form { min-height: 0; margin-top: 24px; }

    /* Benefits */
    .distributors-benefits { grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 24px 32px; }

    /* Growth */
    .distributors-growth { grid-template-columns: 1fr 1fr; padding: 40px 32px; gap: 32px; align-items: center; }
    .distributors-growth-title { font-size: 32px; margin-top: 0; }
    .distributors-growth-media img { margin-top: 0; }

    /* Categories */
    .distributors-categories { padding: 32px 32px; }
    .distributors-categories-grid { grid-template-columns: repeat(3, 1fr); gap: 24px 0; }

    /* USA */
    .distributors-usa {
        grid-template-columns: 1fr;
        padding: 32px;
        background-size: contain;
        background-position: top center;
        gap: 24px;
        background: black;
    }

    /* Testimonials */
    .distributors-testimonials { padding: 32px; }
    .distributors-testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ===== Responsive — Mobile (<= 640px) ===== */
@media (max-width: 640px) {
    /* Hero */
    .distributors-hero {
        grid-template-columns: 1fr;
        padding: 24px 20px;
        background-image: none;
        background-color: black;
    }
    .distributors-hero-intro > * { padding-left: 0; }
    .distributors-hero-eyebrow { font-size: 13px; margin: 0 0 12px; }
    .distributors-hero-title { font-size: 32px; line-height: 1.15; margin: 0 0 16px; }
    .distributors-hero-description { font-size: 16px; line-height: 1.6; margin: 0 0 24px; max-width: none; }
    .distributors-hero-features {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-left: 0 !important;
    }
    .distributors-hero-feature {
        width: auto;
        flex-direction: row;
        align-items: center;
        gap: 16px;
        text-align: left;
    }
    .distributors-hero-feature:not(:first-child)::before { display: none; }
    .distributors-hero-feature div { height: auto; flex-shrink: 0; }
    .distributors-hero-feature-icon { width: 64px !important; height: 64px !important; margin-top: 0 !important; }
    .distributors-hero-features .distributors-hero-feature:first-child div .distributors-hero-feature-icon { width: 52px; height: 52px; }
    .distributors-hero-feature-label { font-size: 16px; text-align: left; line-height: 1.3; }

    /* Form */
    .distributors-form { padding: 20px 16px; min-height: 0; margin-top: 24px; }
    .distributors-form-eyebrow { font-size: 13px; }
    .distributors-form-title { font-size: 22px; }
    .distributors-form-description { font-size: 15px; }
    .distributors-form-submit { font-size: 14px; padding: 14px; height: auto; }
    .distributors-form-secure { font-size: 13px; margin: 12px 0 0; gap: 10px; }
    
    /* Benefits */
    .distributors-benefits {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 16px 20px;
    }
    .distributors-benefit {
        padding: 16px 0;
        border-bottom: 1px solid var(--divider);
        justify-content: flex-start;
    }
    .distributors-benefit:last-child { border-bottom: none; }
    .distributors-benefit:not(:first-child)::before { display: none; }

    /* Growth */
    .distributors-growth { grid-template-columns: 1fr; padding: 32px 20px; gap: 24px; }
    .distributors-growth-title { font-size: 28px; line-height: 1.2; margin: 0 0 16px; }
    .distributors-growth-list li { font-size: 16px; padding-left: 32px; margin-bottom: 14px; }
    .distributors-growth-list li::before { width: 20px; height: 20px; }
    .distributors-growth-media img { margin-top: 0; }

    /* Categories */
    .distributors-categories { padding: 24px 20px; }
    .distributors-categories-title { font-size: 16px; gap: 12px; padding-bottom: 34px;}
    .distributors-categories-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
    .distributors-category { padding: 0 0 16px; }
    .distributors-category:not(:first-child)::before { display: none; }
    .distributors-category::after { display: none; }
    .distributors-category-label { font-size: 16px; }
    .distributors-category-image { 
        max-width: 120px; 
        max-height: 120px;
        border: none;
        padding: none;
        /* border: solid 1px var(--brand-green); */
        /* padding: 20px; */
        /* border-radius: 22px; */
    }
    
    /* USA */
    .distributors-usa {
        grid-template-columns: 1fr;
        padding: 24px 20px;
        background-image: none;
        background-color: var(--bg-dark);
        gap: 20px;
    }
    .distributors-usa-title { font-size: 24px; }
    .distributors-usa-description { font-size: 14px; }
    .distributors-usa-badges {
        flex-direction: column;
        gap: 0;
    }
    .distributors-usa-badge {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 16px;
        min-width: 0;
        width: 100%;
        padding: 12px 0;
        border-left: none;
        border-top: 1px solid #2a2a2a;
        padding-bottom: 4px;
    }
    .distributors-usa-badge:first-child { border-top: none; }
    .distributors-usa-badge-icon { width: 48px; height: 48px; margin-bottom: 0; flex-shrink: 0; }
    .distributors-usa-badge-label { font-size: 14px; text-align: left; }

    /* Testimonials */
    .distributors-testimonials { padding: 24px 20px; }
    .distributors-testimonials-heading { margin-bottom: 18px; }
    .distributors-testimonials-eyebrow { font-size: 13px; }
    .distributors-testimonials-title { font-size: 22px; }
    .distributors-testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
    .distributors-testimonial { padding: 24px 20px 20px; }
    .distributors-testimonial-quote { margin: 16px 8px 8px 32px; font-size: 14px; }
    .distributors-testimonial-author { font-size: 16px; }

    /* CTA — prevent fixed-width overflow */
    .distributors-page .distributors-cta {
        width: 100%;
        max-width: 389px;
        font-size: 14px;
    }
}

/* Reveal page once this stylesheet is applied — pairs with inline guard in content.phtml */
.distributors-page { visibility: visible !important; }

/* ===== Thank-you page ===== */
.cms-distributors-thankyou #maincontent {
    min-height: 915px;
}

.distributors-thankyou {
    --brand-green: #2ea83a;
    --text-dark: #111111;
    --text-body: #4a4a4a;
    --divider: #d8d8d8;
    color: #fff;
    position: relative;
}
.distributors-thankyou-hero {
    display: grid;
    /* grid-template-columns: 1.3fr 1fr; */
    /* align-items: center; */
    /* padding: 60px 60px 60px 0; */
    background-color: black;
    background-image: url('../images/distributors/hero-flag.jpg');
    background-size: 90% 85%;
    background-repeat: no-repeat;
    background-position-x: 200px;
    background-position-y: 42px;
    padding: 0;
    grid-template-columns: 707px 1fr;
    padding-bottom: 60px;
}
.distributors-thankyou-hero-intro {
    padding-left: 66px;
    margin-top: 66px;
}
.distributors-thankyou-thankyou-container {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 10px;
}
.distributors-thankyou-check {
    width: 64px;
    height: 64px;
    /* background: var(--brand-green); */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}
.distributors-thankyou-x {
    width: 64px;
    height: 64px;
}
.distributors-thankyou-check svg {
    width: 36px;
    height: 36px;
}
.distributors-thankyou-title {
    /* font-size: 64px; */
    font-weight: 900;
    /* margin: 0 0 8px; */
    color: white;
    letter-spacing: 0.5px;
    padding-top: 0;
    font-size: 65px;
    margin: 0;
}
.distributors-thankyou-subtitle {
    color: var(--brand-green);
    /* font-size: 26px; */
    font-weight: 900;
    letter-spacing: 0.5px;
    margin: 0 0 22px;
    font-size: 30px;
    line-height: 30px;
}
.distributors-thankyou-message {
    font-size: 17px;
    line-height: 1.6;
    color: white;
    margin: 0 0 28px;
    max-width: 560px;
    padding-top: 5px;
}
.distributors-thankyou-divider {
    display: none;
    border: none;
    border-top: 1px solid rgba(255,255,255,0.18);
    margin: 0 0 24px;
    max-width: 560px;
}
.distributors-thankyou-features {
    display: grid;
    grid-template-columns: repeat(4, max-content);
    gap: 32px;
    list-style: none;
    padding: 0;
    margin: 0;
    padding-top: 17px;
}
.distributors-thankyou-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 130px;
    position: relative;
    padding-top: 20px;
}
.distributors-thankyou-feature:not(:first-child):before {
    content: '';
    position: absolute;
    left: -16px;
    top: 10px;
    bottom: 0;
    width: 1px;
    background: var(--divider);
}
/* .distributors-thankyou-feature:not(:first-child):before {
    content: '';
    position: absolute;
    left: -1px;
    top: 10px;
    bottom: 0;
    width: 1px;
    background: var(--divider);
} */
.distributors-thankyou-feature-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 10px;
}
.distributors-thankyou-feature-label {
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    line-height: 1.5;
    color: white;
    margin: 0;
    padding-top: 10px;
}
.distributors-thankyou-hero-media {
    display: flex;
    justify-content: center;
}
.distributors-thankyou-hero-product {
    max-width: 1005%;
    width: 63%;
    height: auto;
    margin-top: 80px;
}

.distributors-thankyou-next {
    /* background: #f3f3f3; */
    color: var(--text-dark);
    /* padding: 56px 60px 64px; */
    padding: 0 50px;
    margin-top: 52px;
}
.distributors-thankyou-next-title {
    text-align: center;
    font-size: 29px;
    font-weight: 900;
    color: var(--text-dark);
    margin: 0 0 40px;
    position: relative;
    margin-bottom: 8px;
}
.distributors-thankyou-next-title::before,
.distributors-thankyou-next-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 32%;
    height: 1px;
    background: var(--brand-green);
}
.distributors-thankyou-next-title::before { left: 0; }
.distributors-thankyou-next-title::after  { right: 0; }
.distributors-thankyou-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: step;
    margin-top: 27px;
}
.distributors-thankyou-step {
    text-align: center;
    padding: 0 36px;
    position: relative;
    color: var(--text-body);
}
.distributors-thankyou-step:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 30px;
    bottom: 10px;
    width: 1px;
    background: var(--divider);
}
.distributors-thankyou-step-number {
    width: 40px;
    height: 40px;
    background: var(--brand-green);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
    margin: 0 auto 14px;
    position: absolute;
    left: 65px;
    top: 1px;
}
.distributors-thankyou-step-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    display: block;
    margin: 0 auto 14px;
    margin-bottom: 4px;
}
.distributors-thankyou-step-title {
    font-size: 21px;
    font-weight: 900;
    margin: 0 0 12px;
    color: var(--text-dark);
    letter-spacing: 0.4px;
    margin-top: 19px;
}
.distributors-thankyou-step-text {
    font-size: 15px;
    line-height: 1.55;
    color: var(--text-body);
    margin: 0;
}

@media (max-width: 1024px) {
    .distributors-thankyou-hero {
        grid-template-columns: 1fr;
        padding: 40px 32px;
        background-position-x: center;
        background-size: cover;
    }
    .distributors-thankyou-hero-intro { padding-left: 0; }
    .distributors-thankyou-title { font-size: 44px; }
    .distributors-thankyou-subtitle { font-size: 22px; }
    .distributors-thankyou-message br { display: none; }
    .distributors-thankyou-features { grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .distributors-thankyou-feature { width: auto; }
    .distributors-thankyou-hero-media { margin-top: 32px; }
    .distributors-thankyou-hero-product { max-height: 320px; object-fit: contain; }
}
@media (max-width: 640px) {
    .distributors-thankyou-hero {
        padding: 32px 20px;
        background: black;
    }
    .distributors-thankyou-hero-intro {
        margin-top: 0;
    }
    .distributors-thankyou-check {
        width: 52px;
        height: 52px;
        margin-bottom: 16px;
    }
    .distributors-thankyou-check svg { width: 28px; height: 28px; }
    .distributors-thankyou-title { font-size: 36px; margin-bottom: 6px; }
    .distributors-thankyou-subtitle { font-size: 18px; margin-bottom: 16px; }
    .distributors-thankyou-message { font-size: 15px; margin-bottom: 22px; }
    .distributors-thankyou-divider { margin-bottom: 20px; }
    .distributors-thankyou-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 12px;
        display: none;
    }
    .distributors-thankyou-feature:nth-child(3):before {
        display: none;
    }
    .distributors-thankyou-feature-icon { width: 48px; height: 48px; }
    .distributors-thankyou-feature-label { font-size: 12px; }
    .distributors-thankyou-hero-media { 
        /* margin-top: 24px;  */
        margin-bottom: 24px;
        margin-top: 10px;
        display: none;
    }
    .distributors-thankyou-hero-product { max-height: 220px; }

    .distributors-thankyou-next { 
        padding: 36px 20px; 
        padding-top: 0;
    }
    .distributors-thankyou-next-title {
        font-size: 20px;
        margin-bottom: 28px;
        padding-bottom: 10px;
    }
    .distributors-thankyou-next-title::before,
    .distributors-thankyou-next-title::after { width: 12%; }
    .distributors-thankyou-steps {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .distributors-thankyou-step {
        padding: 0 12px 28px;
        border-bottom: 1px solid var(--divider);
    }
    .distributors-thankyou-step:last-child { border-bottom: none; padding-bottom: 0; }
    .distributors-thankyou-step:not(:last-child)::after { display: none; }
    .distributors-thankyou-step-number {
        width: 36px;
        height: 36px;
        font-size: 16px;
        margin-bottom: 12px;
    }
    .distributors-thankyou-step-icon { width: 48px; height: 48px; margin-bottom: 12px; }
    .distributors-thankyou-step-title { font-size: 15px; }
    .distributors-thankyou-step-title br { display: none; }
    .distributors-thankyou-step-text { font-size: 13.5px; }
    .distributors-thankyou-x { height: auto; }
}

/* Reveal thank-you page once stylesheet applies */
.distributors-thankyou { visibility: visible !important; }
