
/* =========================================
   SURROUND SWAR — MAIN STYLESHEET
   ========================================= */

:root {
    --ink: #17191c;
    --ink-soft: #25292e;
    --gold: #c99a45;
    --gold-light: #e7c782;
    --paper: #ffffff;
    --paper-soft: #f6f5f1;
    --text: #25282c;
    --muted: #74777c;
    --line: #e5e3dd;
    --radius: 10px;
    --content-width: 1180px;
    --shadow: 0 8px 30px rgba(25, 27, 30, 0.07);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

img {
    max-width: 100%;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

button,
a,
input,
select {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

.w3-content {
    width: min(var(--content-width), calc(100% - 48px));
    max-width: var(--content-width);
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   HEADER AND NAVIGATION
   ========================================= */

.site-header {
    position: relative;
    z-index: 20;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.header-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 12px;
    text-decoration: none;
}

.brand-mark {
    display: flex;
    align-items: center;
    flex-shrink: 0;
	padding-right: 12px;
    border-right: 1px solid #ccc;
}

.brand-mark img {
    display: block;
    width: 100px;
    height: 80px;
    object-fit: contain;
}

.brand-name {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    white-space: nowrap;
}

.brand-name b {
    display: inline;
    font-weight: 800;
}
.brand-name small {
    display: block;
    font-size: 12px;
    font-weight: normal;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.site-nav a {
    position: relative;
    padding: 10px 0;
    color: #42454a;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.site-nav a:hover {
    color: #9d7028;
}

.mobile-menu-button {
    display: none;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 22px;
}

/* =========================================
   TYPOGRAPHY AND SHARED ELEMENTS
   ========================================= */

h1,
h2,
h3,
h4 {
    margin-top: 0;
    color: var(--ink);
    line-height: 1.2;
}

h1 {
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 750;
    letter-spacing: -1.8px;
}

h2 {
    font-size: clamp(27px, 3vw, 38px);
    font-weight: 750;
    letter-spacing: -0.8px;
}

h3 {
    font-size: 20px;
    font-weight: 700;
}

p {
    margin-top: 0;
}

.eyebrow {
    margin-bottom: 15px;
    color: #a8792d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.2px;
    line-height: 1.6;
}

.primary-button,
.secondary-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    transition: background 0.2s ease,
                color 0.2s ease,
                border-color 0.2s ease,
                transform 0.2s ease;
    cursor: pointer;
}

.primary-button {
    background: var(--gold);
    color: #17191c;
}

.primary-button:hover {
    background: var(--gold-light);
    color: #17191c;
    transform: translateY(-1px);
}

.secondary-button {
    border-color: rgba(255, 255, 255, 0.45);
    background: transparent;
    color: #fff;
}

.secondary-button:hover {
    border-color: var(--gold-light);
    color: var(--gold-light);
}

.text-link {
    color: #966b25;
    font-size: 14px;
    font-weight: 700;
}

.text-link:hover {
    color: #634617;
    text-decoration: underline;
}



/* =========================================
   HOMEPAGE HERO
   ========================================= */

.hero-section {
    overflow: hidden;
    background:
        radial-gradient(ellipse at 78% 48%, #30353b 0%, transparent 38%),
        linear-gradient(120deg, #17191c, #24282d);
    color: #fff;
}

.hero-inner {
    min-height: 490px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 30px;
    padding-top: 52px;
    padding-bottom: 52px;
}

.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 570px;
}

.hero-copy .eyebrow {
    color: var(--gold-light);
}

.hero-copy h1 {
    margin-bottom: 23px;
    color: #fff;
}

.hero-copy h1 span {
    color: var(--gold-light);
}

.hero-description {
    max-width: 490px;
    margin-bottom: 29px;
    color: #d1d2d3;
    font-size: 17px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-art {
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-circle {
    position: absolute;
    width: min(320px, 85%);
    aspect-ratio: 1;
    border: 1px solid rgba(231, 199, 130, 0.22);
    border-radius: 50%;
    box-shadow:
        0 0 0 30px rgba(231, 199, 130, 0.025),
        0 0 0 60px rgba(231, 199, 130, 0.02);
}


.speaker {
    position: absolute;
    z-index: 1;
    width: 118px;
    height: 245px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    padding: 14px 10px;
    border: 2px solid #454a50;
    border-radius: 9px;
    background: linear-gradient(115deg, #353a40, #111315 70%);
    box-shadow: 14px 18px 35px rgba(0, 0, 0, 0.35);
}

.speaker-one {
    left: 17%;
    transform: rotate(-5deg);
}

.speaker-two {
    right: 17%;
    transform: rotate(5deg);
}

.speaker-driver {
    position: relative;
    width: 76px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 5px solid #777c82;
    background: radial-gradient(
        circle,
        #111315 0%,
        #30353b 28%,
        #111315 32%,
        #555b62 36%,
        #1a1c1f 62%,
        #070809 68%
    );
    box-shadow: inset 0 0 9px #000;
}

.driver-small {
    width: 35px;
    border-width: 3px;
    background: radial-gradient(circle, #c99a45, #26282b 45%, #0b0c0d 70%);
}

.hero-caption {
    position: absolute;
    bottom: 0;
    color: var(--gold-light);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 4px;
}

/* =========================================
   BENEFITS STRIP
   ========================================= */

.benefits-section {
    background: var(--paper-soft);
    border-bottom: 1px solid var(--line);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
    padding-top: 35px;
    padding-bottom: 35px;
}

.benefits-grid > div {
    padding-right: 20px;
}

.benefit-number {
    display: block;
    margin-bottom: 9px;
    color: #b5873d;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.benefits-grid h3 {
    margin-bottom: 8px;
    font-size: 17px;
}

.benefits-grid p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

/* =========================================
   FEATURED PRODUCTS
   ========================================= */

.featured-section {
    padding-top: 75px;
    padding-bottom: 80px;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.section-heading h2 {
    margin-bottom: 0;
}

.section-heading .eyebrow {
    margin-bottom: 10px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.product-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.product-card-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f2f1ed;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 18px;
    transition: transform 0.3s ease;
}

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

.image-placeholder {
    width: 100%;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        radial-gradient(circle at center, #e8e5dd, #f5f4f0 70%);
    color: #77736a;
    font-size: 13px;
    text-align: center;
}

.product-card-body {
    padding: 19px 20px 22px;
}

.card-brand {
    margin-bottom: 6px;
    color: #a8792d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.product-card h3 {
    margin-bottom: 10px;
    font-size: 17px;
    line-height: 1.45;
}

.product-card h3 a:hover {
    color: #966b25;
}

.card-description {
    min-height: 48px;
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.card-link {
    color: #966b25;
    font-size: 13px;
    font-weight: 800;
}

.card-link:hover {
    text-decoration: underline;
}

.empty-state {
    padding: 50px 24px;
    border: 1px dashed #d9d5cb;
    border-radius: var(--radius);
    background: var(--paper-soft);
    text-align: center;
}

.empty-state h3 {
    margin-bottom: 12px;
}

.empty-state p {
    margin-bottom: 0;
    color: var(--muted);
}

/* =========================================
   HOMEPAGE CONTACT BANNER
   ========================================= */

.contact-banner {
    background: var(--ink);
    color: #fff;
}

.contact-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-top: 48px;
    padding-bottom: 48px;
}

.contact-banner .eyebrow {
    color: var(--gold-light);
}

.contact-banner h2 {
    margin-bottom: 0;
    color: #fff;
}

/* =========================================
   INNER PAGE BANNER
   ========================================= */

.page-main {
    min-height: 55vh;
}

.page-banner {
    padding-top: 55px;
    padding-bottom: 55px;
    background: var(--paper-soft);
    border-bottom: 1px solid var(--line);
}

.page-banner h1 {
    margin-bottom: 15px;
    font-size: clamp(32px, 4vw, 46px);
}

.page-banner p:last-child {
    max-width: 650px;
    margin-bottom: 0;
    color: var(--muted);
}

/* =========================================
   CATALOGUE FILTERS
   ========================================= */

.catalogue-section {
    padding-top: 40px;
    padding-bottom: 80px;
}

.catalogue-toolbar {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.search-box,
.category-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-box label,
.category-box label {
    color: #383b3f;
    font-size: 13px;
    font-weight: 700;
}

.search-box input,
.category-box select {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    border: 1px solid #d9d7d0;
    border-radius: 5px;
    background: #fff;
    color: var(--text);
}

.search-box input:focus,
.category-box select:focus {
    border-color: var(--gold);
    outline: 2px solid rgba(201, 154, 69, 0.2);
}

.results-count {
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 13px;
}

.catalogue-item[hidden] {
    display: none !important;
}

/* =========================================
   PRODUCT DETAILS
   ========================================= */

.product-detail-section {
    padding-top: 32px;
    padding-bottom: 80px;
}

.breadcrumbs {
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 13px;
    overflow-wrap: anywhere;
}

.breadcrumbs a {
    color: #966b25;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 55px;
}

.product-detail-image {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper-soft);
}

.product-detail-image img {
    width: 100%;
    max-height: 570px;
    object-fit: contain;
    padding: 30px;
}

.detail-placeholder {
    min-height: 400px;
}

.product-detail-copy {
    padding-top: 15px;
}

.product-detail-copy h1 {
    margin-bottom: 15px;
    font-size: clamp(30px, 4vw, 44px);
    overflow-wrap: anywhere;
}

.product-code,
.product-category {
    color: var(--muted);
    font-size: 13px;
}

.product-short-description {
    margin-top: 25px;
    margin-bottom: 28px;
    font-size: 16px;
    line-height: 1.9;
}

.product-description {
    margin-top: 55px;
    padding-top: 35px;
    border-top: 1px solid var(--line);
}

.product-description h2 {
    margin-bottom: 20px;
    font-size: 27px;
}

.description-content {
    color: #45484c;
    overflow-wrap: anywhere;
}

.description-content p {
    margin-bottom: 16px;
}

.description-content ul,
.description-content ol {
    padding-left: 24px;
}

.description-content table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
}

.description-content th,
.description-content td {
    padding: 10px;
    border: 1px solid var(--line);
    text-align: left;
}

.description-content th {
    background: var(--paper-soft);
}

/* =========================================
   CONTACT PAGE
   ========================================= */

.contact-page-section {
    padding-top: 55px;
    padding-bottom: 80px;
}

.contact-intro {
    max-width: 700px;
    margin-bottom: 35px;
}

.contact-intro h2 {
    margin-bottom: 18px;
}

.contact-intro p {
    color: var(--muted);
    line-height: 1.9;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.contact-option {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.contact-option-wide {
    grid-column: 1 / -1;
}

.contact-icon {
    display: inline-grid;
    place-items: center;
    width: 43px;
    height: 43px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: #f3ead8;
    color: #8b6427;
    font-size: 20px;
}

.contact-option h3 {
    margin-bottom: 10px;
}

.contact-option p {
    color: var(--muted);
    font-size: 14px;
}

.contact-note {
    margin-top: 30px;
    color: var(--muted);
    font-size: 13px;
}

/* =========================================
   FOOTER
   ========================================= */

.site-footer {
    background: #111315;
    color: #c5c7ca;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 20px 40px;
    padding-top: 38px;
    padding-bottom: 25px;
}

.footer-brand {
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 2px;
}

.footer-inner > div:first-child p {
    margin-top: 9px;
    margin-bottom: 0;
    color: #96999d;
    font-size: 13px;
}

.footer-links {
    display: flex;
    gap: 22px;
    font-size: 13px;
}

.footer-links a:hover {
    color: var(--gold-light);
}

.copyright {
    grid-column: 1 / -1;
    margin: 0;
    padding-top: 18px;
    border-top: 1px solid #303236;
    color: #96999d;
    font-size: 12px;
}

/* =========================================
   RESPONSIVE TABLET LAYOUT
   ========================================= */

@media (max-width: 850px) {
    .hero-inner {
        grid-template-columns: 1fr 0.8fr;
        min-height: 430px;
    }

    .speaker {
        width: 92px;
        height: 205px;
    }

    .speaker-driver {
        width: 61px;
    }

    .driver-small {
        width: 29px;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .product-detail-grid {
        gap: 30px;
    }

    .product-detail-image {
        min-height: 330px;
    }

    .detail-placeholder {
        min-height: 330px;
    }
}

/* =========================================
   RESPONSIVE MOBILE LAYOUT
   ========================================= */

@media (max-width: 620px) {
    .w3-content {
        width: calc(100% - 32px);
    }

    .header-inner {
        min-height: 75px;
        flex-wrap: wrap;
        gap: 0;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .brand-mark {
        width: 42px;
        height: 42px;
        font-size: 15px;
    }

    .brand-name {
        font-size: 15px;
        letter-spacing: 1.5px;
    }

    .brand-name small {
        font-size: 9px;
        letter-spacing: 0.5px;
    }

    .mobile-menu-button {
        display: block;
    }

    .site-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding-top: 12px;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 12px 5px;
        border-top: 1px solid var(--line);
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 12px;
        padding-top: 55px;
        padding-bottom: 30px;
    }

    .hero-copy h1 {
        font-size: clamp(36px, 10vw, 48px);
        letter-spacing: -1.3px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-art {
        min-height: 270px;
        margin-top: 5px;
    }

    .hero-circle {
        width: 235px;
    }

    .speaker {
        width: 82px;
        height: 175px;
        padding: 10px 7px;
    }

    .speaker-one {
        left: 20%;
    }

    .speaker-two {
        right: 20%;
    }

    .speaker-driver {
        width: 54px;
        border-width: 4px;
    }

    .driver-small {
        width: 26px;
        border-width: 3px;
    }

    .hero-caption {
        font-size: 9px;
        letter-spacing: 3px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .benefits-grid > div {
        padding-right: 0;
    }

    .featured-section {
        padding-top: 48px;
        padding-bottom: 50px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .product-card-body {
        padding: 13px 12px 16px;
    }

    .product-card h3 {
        font-size: 14px;
    }

    .card-description {
        min-height: 0;
        font-size: 12px;
    }

    .card-brand {
        font-size: 9px;
        letter-spacing: 0.8px;
    }

    .card-link {
        font-size: 12px;
    }

    .image-placeholder {
        min-height: 125px;
        padding: 12px;
        font-size: 11px;
    }

    .contact-banner-inner {
        align-items: flex-start;
        flex-direction: column;
        padding-top: 35px;
        padding-bottom: 35px;
    }

    .contact-banner h2 {
        font-size: 28px;
    }

    .page-banner {
        padding-top: 38px;
        padding-bottom: 38px;
    }

    .page-banner h1 {
        font-size: 34px;
        letter-spacing: -1px;
    }

    .catalogue-section {
        padding-top: 28px;
        padding-bottom: 50px;
    }

    .catalogue-toolbar {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .product-detail-section {
        padding-top: 24px;
        padding-bottom: 55px;
    }

    .breadcrumbs {
        margin-bottom: 20px;
        line-height: 1.8;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .product-detail-image {
        min-height: 270px;
    }

    .product-detail-image img {
        max-height: 400px;
        padding: 20px;
    }

    .detail-placeholder {
        min-height: 270px;
    }

    .product-detail-copy {
        padding-top: 0;
    }

    .product-detail-copy h1 {
        font-size: 32px;
    }

    .product-description {
        margin-top: 38px;
        padding-top: 27px;
    }

    .product-description h2 {
        font-size: 24px;
    }

    .description-content th,
    .description-content td {
        padding: 7px;
        font-size: 13px;
    }

    .contact-page-section {
        padding-top: 38px;
        padding-bottom: 55px;
    }

    .contact-options {
        grid-template-columns: 1fr;
    }

    .contact-option {
        padding: 24px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-links {
        flex-wrap: wrap;
    }

    .copyright {
        grid-column: auto;
        line-height: 1.8;
    }
}

@media (max-width: 360px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions a {
        width: 100%;
    }
}


/* Product image gallery */
.product-gallery {
    width: 100%;
}

.product-gallery-main {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e8e5df;
    border-radius: 12px;
}

.product-gallery-main img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.product-gallery-thumbnails {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
    margin-top: 14px;
}

.gallery-thumbnail {
    display: block;
    flex: 0 0 90px;
    width: 90px;
    height: 90px;
    min-width: 90px;
    padding: 5px;
    overflow: hidden;
    cursor: pointer;
     background: #f5f5f5;
    border: 1px solid #ddd8cf;
    border-radius: 8px;
}

.gallery-thumbnail.is-active {
    border: 2px solid #b99a58;
}

.gallery-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
	transform: scale(1.9);
}

@media (max-width: 600px) {
    .gallery-thumbnail {
        flex-basis: 70px;
        width: 70px;
        height: 70px;
        min-width: 70px;
    }
}

/* Homepage hero */
.hero {
background: #17252d;
color: #fff;
padding: 64px 24px;
border-radius: 14px;
margin-bottom: 42px;
}

.hero-content {
max-width: 850px;
margin: 0 auto;
text-align: center;
}

.hero-eyebrow,
.section-eyebrow {
color: #b99a58;
font-size: 12px;
font-weight: 700;
letter-spacing: 2px;
text-transform: uppercase;
}

.hero h1 {
font-size: clamp(32px, 5vw, 54px);
line-height: 1.15;
margin: 18px 0;
}

.hero-intro {
max-width: 650px;
margin: 0 auto 24px;
color: #e2e6e8;
line-height: 1.8;
}

.hero-actions {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 12px;
margin: 28px 0;
}

.hero-button {
display: inline-block;
padding: 13px 20px;
border-radius: 6px;
text-decoration: none;
font-weight: 700;
}

.hero-button-primary {
background: #b99a58;
color: #17252d;
}

.hero-button-secondary {
border: 1px solid #829099;
color: #fff;
}

.hero-button:hover {
opacity: 0.88;
}

.hero-notice {
max-width: 700px;
margin: 22px auto 0;
color: #d7dfe3;
font-size: 14px;
line-height: 1.7;
}

/* Distribution brand logos */
.brand-section {
margin: 48px 0;
}

.section-heading {
text-align: center;
margin-bottom: 24px;
}

.section-heading h2,
.accessories-content h2 {
color: #17252d;
font-size: clamp(24px, 3vw, 34px);
margin-top: 8px;
}

.brand-logo-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 18px;
}

.brand-logo-card {
min-height: 125px;
padding: 20px;
display: flex;
align-items: center;
justify-content: center;
background: #fff;
border: 1px solid #e8e5df;
border-radius: 10px;
}

.brand-logo-card img {
    display: block;
    width: auto;
    max-width: 220px;
    height: auto;
    max-height: 76px;
    object-fit: contain;
    object-position: center;
}
/* Surround Swar accessories */
.accessories-section {
display: flex;
align-items: center;
gap: 36px;
padding: 32px;
margin: 48px 0;
background: #f5f3ee;
border-radius: 12px;
}

.accessories-logo {
flex: 0 0 30%;
}

.accessories-logo img {
display: block;
width: 100%;
max-width: 300px;
max-height: 130px;
object-fit: contain;
}

.accessories-content {
flex: 1;
}

.accessories-content p:last-child {
line-height: 1.8;
}

/* Responsive layout */
@media (max-width: 650px) {
.hero {
padding: 42px 18px;
}


.brand-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.brand-logo-card {
    min-height: 100px;
    padding: 12px;
}

.brand-logo-card img {
    height: 64px;
}

.accessories-section {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 24px 18px;
}

.accessories-logo {
    flex-basis: auto;
    width: 100%;
}

.accessories-logo img {
    margin: 0 auto;
    max-height: 100px;
}


}

/* =========================================
   SURROUND SWAR - HERO IMAGE SLIDER
   ========================================= */

.hero-slider {
    position: relative;
    width: 100%;
    height: clamp(420px, 48vw, 650px);
    min-height: 420px;
    overflow: hidden;
    isolation: isolate;
    background: #101820;
    color: #fff;
}

.hero-slides,
.hero-slide,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-slide img {
    display: block;
    width: 100%;
    height: 100%;
    /* Show the complete source image instead of cropping wide banners. */
    object-fit: contain;
    object-position: center;
    background: #101820;
}

.hero-overlay {
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(7, 13, 18, 0.76) 0%,
        rgba(7, 13, 18, 0.53) 48%,
        rgba(7, 13, 18, 0.20) 100%
    );
}

.hero-content {
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    bottom: 58px;
    width: min(900px, 82%);
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
}

.hero-eyebrow {
    margin: 0 0 18px;
    color: #e6b66d;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
}

.hero-content h1 {
    max-width: 850px;
    margin: 0 0 18px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 4vw, 54px);
    line-height: 1.15;
    font-weight: 600;
}

.hero-categories {
    margin: 0 0 15px;
    color: #f1f1f1;
    font-size: clamp(15px, 1.8vw, 21px);
}

.hero-categories span {
    display: inline-block;
    margin: 0 10px;
    color: #e6b66d;
}

.hero-description {
    margin: 0 0 28px;
    color: #e3e7eb;
    font-size: 16px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-btn {
    display: inline-block;
    padding: 13px 22px;
    border: 1px solid #e6b66d;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.hero-btn-primary {
    background: #e6b66d;
    color: #101820;
}

.hero-btn-primary:hover {
    background: #f2cb91;
    color: #101820;
}

.hero-btn-secondary {
    background: rgba(10, 17, 23, 0.35);
    color: #fff;
}

.hero-btn-secondary:hover {
    background: #fff;
    color: #101820;
}

.hero-arrow {
    position: absolute;
    z-index: 4;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.30);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

.hero-arrow:hover {
    background: rgba(0, 0, 0, 0.65);
}

.hero-prev {
    left: 20px;
}

.hero-next {
    right: 20px;
}

.hero-dots {
    position: absolute;
    z-index: 4;
    bottom: 24px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 1px solid #fff;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.hero-dot.is-active {
    border-color: #e6b66d;
    background: #e6b66d;
}

.hero-btn:focus-visible,
.hero-arrow:focus-visible,
.hero-dot:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

/* Tablet and mobile */
@media (max-width: 768px) {
    .hero-slider {
        height: 540px;
        min-height: 500px;
    }

    .hero-slide img {
        object-position: center;
    }

    .hero-overlay {
        background: rgba(7, 13, 18, 0.62);
    }

    .hero-content {
		width: 92%;
		bottom: 65px;
		padding: 0 12px;
	}

    .hero-eyebrow {
        font-size: 11px;
        letter-spacing: 2px;
        line-height: 1.6;
    }

    .hero-content h1 {
        font-size: clamp(29px, 7vw, 42px);
    }

    .hero-categories {
        line-height: 1.8;
    }

    .hero-categories span {
        margin: 0 4px;
    }

    .hero-description {
        font-size: 14px;
        max-width: 360px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .hero-btn {
        width: min(280px, 100%);
        text-align: center;
    }

    .hero-arrow {
        top: auto;
        bottom: 14px;
        transform: none;
        width: 36px;
        height: 38px;
    }

    .hero-prev {
        left: 15px;
    }

    .hero-next {
        right: 15px;
    }

    .hero-dots {
        bottom: 27px;
        gap: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide {
        transition: none;
    }

    .hero-btn {
        transition: none;
    }
}


/* Authorised dealer page */

.dealer-page {
    padding-top: 36px;
    padding-bottom: 56px;
}

.dealer-page-heading {
    max-width: 800px;
    margin: 0 auto 36px;
    text-align: center;
}

.dealer-eyebrow {
    color: #a87935;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
}

.dealer-page-heading h1 {
    margin: 10px 0 16px;
    font-size: clamp(30px, 4vw, 42px);
}

.dealer-page-heading > p:last-child {
    color: #666;
    line-height: 1.8;
}

.dealer-list h2 {
    margin-bottom: 20px;
}

.dealer-list table {
    width: 100%;
    border-collapse: collapse;
}

.dealer-list th,
.dealer-list td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.dealer-list th {
    background: #f2f2f2;
}

@media (max-width: 600px) {
    .dealer-list {
        overflow-x: auto;
    }

    .dealer-list table {
        min-width: 560px;
    }
}


/* Dealer directory improvements */

.dealer-intro {
    color: #666;
    line-height: 1.7;
    margin-bottom: 18px;
}

.dealer-search-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.dealer-search {
    display: block;
    width: 100%;
    max-width: 520px;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font: inherit;
    background: #fff;
}

.dealer-search:focus {
    outline: 2px solid #b78a48;
    outline-offset: 2px;
}

.dealer-count {
    margin: 12px 0;
    color: #666;
    font-size: 14px;
}

.dealer-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
}

.dealer-list table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    background: #fff;
}

.dealer-list th,
.dealer-list td {
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #e6e6e6;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.dealer-list th {
    background: #17232d;
    color: #fff;
    font-weight: 600;
}

.dealer-list tbody tr:nth-child(even) {
    background: #f7f8f9;
}

.dealer-list tbody tr:hover {
    background: #f1eadf;
}

.dealer-list td a {
    color: #825b25;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.dealer-list td a[href^="tel:"] {
    white-space: nowrap;
    font-weight: 600;
}

.dealer-no-results {
    margin-top: 20px;
    padding: 16px;
    background: #f7f8f9;
    border-radius: 4px;
}

.dealer-list tr[hidden] {
    display: none;
}

/* Preferred Dealer badge */
.preferred-badge {
display: inline-block;
margin: 5px 0 0 6px;
padding: 4px 8px;
border: 1px solid #c5a45a;
border-radius: 3px;
background: #fbf6e9;
color: #795d20;
font-size: 10px;
font-weight: 700;
letter-spacing: 0.5px;
line-height: 1.4;
text-transform: uppercase;
vertical-align: middle;
white-space: nowrap;
}

/* Subtle highlight for preferred dealer rows */
.dealer-list table tbody tr.preferred-dealer > td {
background-color: #fffaf0;
}

/* Gold accent on the left edge */
.dealer-list table tbody tr.preferred-dealer > td:first-child {
border-left: 3px solid #c5a45a;
font-weight: 600;
}

/* Keep the highlight when hovering */
.dealer-list table tbody tr.preferred-dealer:hover > td {
background-color: #f8efd9;
}

/* Allow the badge to fit on narrow screens */
@media (max-width: 600px) {
.preferred-badge {
margin-left: 0;
font-size: 9px;
padding: 3px 6px;
}
}

/* Preferred Dealer badge */
#dealers .preferred-badge {
display: inline-block;
margin: 5px 0 0 6px;
padding: 4px 8px;
border: 1px solid #c5a45a;
border-radius: 3px;
background: #fbf6e9;
color: #795d20;
font-size: 10px;
font-weight: 700;
letter-spacing: 0.5px;
line-height: 1.4;
text-transform: uppercase;
vertical-align: middle;
white-space: nowrap;
}

/* Preferred Dealer row highlight */
#dealers tbody tr.preferred-dealer > td {
background-color: #fffaf0 !important;
}

/* Gold accent beside the dealer name */
#dealers tbody tr.preferred-dealer > td:first-child {
border-left: 4px solid #c5a45a !important;
font-weight: 600;
}

/* Slightly stronger highlight on hover */
#dealers tbody tr.preferred-dealer:hover > td {
background-color: #f8efd9 !important;
}

@media (max-width: 600px) {
#dealers .preferred-badge {
margin-left: 0;
padding: 3px 6px;
font-size: 9px;
}
}

/* Force the gold accent on preferred dealer names */
#dealers tbody tr.preferred-dealer > td:first-child {
border-left: 4px solid #c5a45a !important;
box-shadow: inset 4px 0 0 #c5a45a;
padding-left: 10px !important;
}

/* Refined Preferred Dealer label */
#dealers .preferred-badge {
display: inline-block;
background: transparent !important;
color: #795d20 !important;
border: 1px solid #c5a45a;
border-radius: 2px;
padding: 3px 6px;
font-size: 9px;
letter-spacing: 0.6px;
font-weight: 700;
text-transform: uppercase;
}
/* Brand logo grid: prevent overflow */
.brand-logo-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 16px;
width: 100%;
min-width: 0;
}

.brand-logo-card {
min-width: 0;
max-width: 100%;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
padding: 14px;
}

.brand-logo-card img {
display: block;
width: 100%;
max-width: 100%;
height: 72px;
object-fit: contain;
}

/* Smaller screens */
@media (max-width: 600px) {
.brand-logo-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
}

.brand-logo-card {
padding: 10px;
}

.brand-logo-card img {
height: 58px;
}
}



/* ===== Surround Swar premium header ===== */
.site-header {
background: linear-gradient(135deg, #17191d 0%, #292b30 55%, #17191d 100%);
border-bottom: 2px solid #b99a55;
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
position: relative;
z-index: 100;
}

.site-header .header-inner {
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
padding-top: 12px;
padding-bottom: 12px;
}

.site-header .brand-name {
color: #f7f4ed;
font-weight: 700;
letter-spacing: 0.7px;
}

.site-header .brand-name small {
display: block;
margin-top: 3px;
color: #d8cba9;
font-weight: 400;
letter-spacing: 0.2px;
}

.site-header .site-nav {
display: flex;
align-items: center;
gap: 8px;
}

.site-header .site-nav a {
color: #f7f4ed;
padding: 10px 13px;
border-radius: 4px;
text-decoration: none;
transition: background-color 0.2s ease, color 0.2s ease;
}

.site-header .site-nav a:hover {
background: rgba(197, 164, 90, 0.16);
color: #e3c982;
}

.site-header .mobile-menu-button {
color: #f7f4ed;
background: transparent;
border: 1px solid #8f7847;
border-radius: 4px;
padding: 7px 11px;
cursor: pointer;
}



/* Keep desktop navigation in one row */
@media (min-width: 601px) {
.site-header .header-inner {
flex-wrap: nowrap;
}

.site-header .site-nav {
display: flex;
flex-direction: row;
width: auto;
}

.site-header .mobile-menu-button {
display: none;
}
}


/* Mobile navigation: hidden until opened */
@media (max-width: 600px) {
  .site-header #site-nav {
    display: none !important;
    flex: 0 0 100%;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .site-header .site-nav.is-open {
    display: flex !important;
  }
  .site-header #site-nav.is-open {
    display: flex !important;
  }

  .site-header #site-nav a {
    display: block !important;
    color: #f7f4ed !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 12px;
  }
}

/* Brand detail cards: stack content vertically */
.brand-logo-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 24px;
align-items: stretch;
}

.brand-logo-grid .brand-logo-card {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: flex-start;
gap: 12px;
min-width: 0;
padding: 24px;
text-align: left;
box-sizing: border-box;
}

.brand-logo-grid .brand-logo-card img {
display: block;
width: 100%;
height: 110px;
object-fit: contain;
object-position: left center;
margin: 0 0 4px;
}

.brand-logo-grid .brand-logo-card h3 {
margin: 0;
}

.brand-logo-grid .brand-logo-card p {
margin: 0;
line-height: 1.6;
}

.brand-logo-grid .brand-logo-card .hero-btn {
margin-top: auto;
align-self: flex-start;
}

@media (max-width: 768px) {
.brand-logo-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 16px;
}


.brand-logo-grid .brand-logo-card {
    padding: 16px;
}

.brand-logo-grid .brand-logo-card img {
    height: 85px;
}


}

@media (max-width: 480px) {
.brand-logo-grid {
grid-template-columns: 1fr;
}
}

/* Catalogue results count and View All Products link */
.catalogue-results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin: 16px 0;
}

.catalogue-results-bar .results-count {
    margin: 0;
}

.view-all-products {
    display: inline-block;
    color: #8a6825;
    font-weight: 600;
    text-decoration: none;
}

.view-all-products:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .catalogue-results-bar {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }
}

/* Final header sizing — desktop and mobile */
.site-header {
    background: linear-gradient(135deg, #17191d 0%, #292b30 55%, #17191d 100%);
    border-bottom: 2px solid #b99a55;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
    position: relative;
    z-index: 100;
}

.site-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.site-header .brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.site-header .brand-mark {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 12px;
    border-right: 1px solid #8b8b8b;
}

.site-header .brand-mark img {
    display: block;
    width: 76px;
    height: 76px;
    max-width: 100%;
    object-fit: contain;
}

.site-header .brand-name {
    min-width: 0;
    color: #f7f4ed;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.7px;
    white-space: normal;
}

.site-header .brand-name small {
    display: block;
    margin-top: 3px;
    color: #d8cba9;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.2px;
}

.site-header .site-nav a {
    color: #f7f4ed;
}

@media (max-width: 600px) {
    .site-header .header-inner {
        flex-wrap: wrap;
        gap: 10px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .site-header .brand {
        flex: 1 1 0;
        gap: 10px;
        min-width: 0;
    }

    .site-header .brand-mark {
        flex: 0 0 68px;
        width: 68px;
        height: 68px;
        padding-right: 8px;
    }

    .site-header .brand-mark img {
        width: 100%;
        height: 100%;
        max-width: 100%;
    }

    .site-header .brand-name {
        font-size: 12px;
        line-height: 1.35;
        letter-spacing: 0.4px;
    }

    .site-header .brand-name small {
        font-size: 10px;
        line-height: 1.4;
    }

    .site-header .mobile-menu-button {
        display: block;
        flex: 0 0 auto;
        color: #f7f4ed;
        background: transparent;
        border: 1px solid #8f7847;
    }

    .site-header #site-nav {
        display: none !important;
        flex: 0 0 100%;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .site-header #site-nav.is-open {
        display: flex !important;
    }

    .site-header #site-nav a {
        display: block;
        color: #f7f4ed;
        padding: 12px;
    }
}

@media (min-width: 601px) {
    .site-header .header-inner {
        flex-wrap: nowrap;
    }

    .site-header .site-nav {
        display: flex;
        flex-direction: row;
        width: auto;
    }

    .site-header .mobile-menu-button {
        display: none;
    }
}

/* Prevent brand cards overflowing on mobile */
@media (max-width: 768px) {
    .brand-logo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        gap: 12px;
    }

    .brand-logo-grid .brand-logo-card {
        min-width: 0;
        max-width: 100%;
        padding: 12px;
        box-sizing: border-box;
        overflow-wrap: anywhere;
    }

    .brand-logo-grid .brand-logo-card img {
        display: block;
        max-width: 85%;
        height: 75px;
        object-fit: contain;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Premium product cards */
.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: #fffdf8;
    border: 1px solid #e2d7c2;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(23, 25, 28, 0.05);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.product-card:hover {
    box-shadow: 0 10px 28px rgba(23, 25, 28, 0.12);
    transform: translateY(-3px);
}

.product-card-heading {
    padding: 18px 20px 10px;
}

.product-card-heading .card-brand {
    margin-bottom: 5px;
    color: #966b25;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.product-card-heading h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
}

.product-card-image {
    flex-shrink: 0;
    background: linear-gradient(145deg, #ffffff, #f2eee5);
}

.product-card-image img {
    object-fit: contain;
}

.product-card-description {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 20px 20px;
}

.product-card-description .card-description {
    flex: 1;
    margin-bottom: 14px;
    color: #62656a;
    font-size: 14px;
    line-height: 1.65;
}

.product-card-description .card-link {
    margin-top: auto;
}

/* Become a Dealer  form */
.dealer-form-section {
    max-width: 760px;
    padding: 24px 20px 64px;
    box-sizing: border-box;
}

.dealer-form-intro {
    margin-bottom: 28px;
}

.dealer-form-intro h2 {
    margin-bottom: 10px;
}

.dealer-form-intro p {
    color: #666;
    line-height: 1.7;
}

.dealer-form {
    display: grid;
    gap: 22px;
    background: #fff;
    padding: 32px;
    border: 1px solid #e8e0d4;
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
}

.form-field {
    display: grid;
    gap: 8px;
}

.form-field label {
    font-weight: 600;
    font-size: 15px;
    color: #252525;
}

.form-field input,
.form-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 15px;
    border: 1px solid #d8d0c4;
    border-radius: 6px;
    background: #fff;
    color: #222;
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field textarea {
    min-height: 130px;
    resize: vertical;
    line-height: 1.6;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #999;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #b78b42;
    box-shadow: 0 0 0 3px rgba(183, 139, 66, 0.14);
}

.dealer-form .primary-button {
    justify-self: start;
    cursor: pointer;
    border: none;
    font: inherit;
    font-weight: 600;
    margin-top: 4px;
}

.success-message,
.error-message {
    padding: 15px 18px;
    border-radius: 6px;
    margin-bottom: 22px;
    line-height: 1.6;
}

.success-message {
    background: #edf7ed;
    border: 1px solid #9bc99b;
    color: #245b2a;
}

.error-message {
    background: #fff0ee;
    border: 1px solid #d9a09a;
    color: #842d24;
}

.error-message ul {
    margin: 0;
    padding-left: 20px;
}

.honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 600px) {
    .dealer-form-section {
        padding: 18px 16px 44px;
    }

    .dealer-form {
        padding: 22px 18px;
        gap: 19px;
    }

    .form-field input,
    .form-field textarea {
        padding: 12px;
        font-size: 16px;
    }

    .dealer-form .primary-button {
        justify-self: stretch;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}


/* =========================================
   MOBILE HERO SLIDER — SHOW THE FULL IMAGE
   ========================================= */

@media (max-width: 620px) {
    /* Keep the complete image visible and place the CTA buttons below it. */
    .hero-slider {
        display: flex;
        flex-direction: column;
        height: auto;
        min-height: 0;
        overflow: hidden;
    }

    .hero-slides {
        position: relative;
        inset: auto;
        width: 100%;
        aspect-ratio: 16 / 9;
        flex: 0 0 auto;
    }

    .hero-slide {
        position: absolute;
        inset: 0;
    }

    .hero-slide img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
    }

    .hero-overlay {
        position: absolute;
        inset: 0 auto auto 0;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        background: rgba(7, 13, 18, 0.18);
    }

    .hero-content {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 12px 12px 24px;
        align-items: center;
        justify-content: center;
        background: #101820;
    }

    .hero-actions {
        width: 100%;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .hero-btn {
        width: auto;
        max-width: 100%;
        padding: 10px 12px;
        font-size: 12px;
        line-height: 1.35;
        text-align: center;
    }

    /* Keep the arrows vertically centred over the image. */
    .hero-arrow {
        top: 28.125vw;
        bottom: auto;
        transform: translateY(-50%);
        width: 32px;
        height: 38px;
    }

    .hero-prev {
        left: 8px;
    }

    .hero-next {
        right: 8px;
    }

    /* Dots stay near the bottom edge of the image. */
    .hero-dots {
        top: calc(56.25vw - 22px);
        bottom: auto;
        gap: 8px;
    }

    .hero-dot {
        width: 9px;
        height: 9px;
    }
}

@media (max-width: 380px) {
    .hero-actions {
        flex-direction: column;
    }

    .hero-btn {
        width: min(280px, 100%);
    }
}

/* =========================================
   HOMEPAGE OFFICIAL BRANDS — DARK CONTINUATION
   ========================================= */
.brand-section {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 34px max(24px, calc((100% - var(--content-width)) / 2)) 42px;
    background: linear-gradient(135deg, #17191d 0%, #24272c 55%, #17191d 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(185, 154, 85, 0.28);
}

.brand-section .section-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 22px;
    text-align: center;
}

.brand-section .section-eyebrow {
    margin: 0;
    color: #d2b56f;
    font-size: 13px;
    letter-spacing: 2.2px;
}

.brand-section .brand-logo-grid {
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
}

.brand-section .brand-logo-card {
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 9px;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.18);
}

@media (max-width: 650px) {
    .brand-section {
        padding: 26px 18px 30px;
    }

    .brand-section .section-heading {
        margin-bottom: 18px;
    }
}


/* =========================================
   HERO CTA ALIGNMENT + SMALLER HOMEPAGE BRAND LOGOS
   ========================================= */

/* Desktop: move the hero action buttons to the lower-right corner.
   Tablet and mobile layouts remain unchanged. */
@media (min-width: 769px) {
    .hero-content {
        left: auto;
        right: 28px;
        width: auto;
        max-width: none;
        margin: 0;
        padding: 0;
        align-items: flex-end;
        text-align: right;
    }

    .hero-actions {
        justify-content: flex-end;
    }
}

/* Reduce the homepage Official Brands logos by approximately 30%. */
.brand-section .brand-logo-card img {
    width: 70%;
    max-width: 70%;
    height: 77px;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
    object-position: center;
}

@media (max-width: 768px) {
    .brand-section .brand-logo-card img {
        width: 70%;
        max-width: 70%;
        height: 52.5px;
        margin-left: auto;
        margin-right: auto;
    }
}


/* =========================================
   HOMEPAGE BRAND CARDS — COMPACTER + BRIGHTER HERO IMAGES
   ========================================= */

/* Reduce the complete homepage brand cards, not just their logo artwork. */
.brand-section .brand-logo-grid {
    align-items: center;
}

.brand-section .brand-logo-card {
    width: 70%;
    min-height: 88px;
    padding: 14px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* Keep the logo comfortably centred inside each smaller card. */
.brand-section .brand-logo-card img {
    width: 70%;
    max-width: 70%;
    height: 54px;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
    object-position: center;
}

@media (max-width: 768px) {
    .brand-section .brand-logo-card {
        min-height: 70px;
        padding: 10px;
    }

    .brand-section .brand-logo-card img {
        width: 70%;
        max-width: 70%;
        height: 42px;
    }
}

/* The previous desktop gradient darkened the hero photographs noticeably.
   Retain only a very light tint so the images look closer to their originals. */
.hero-slider .hero-overlay {
    background: linear-gradient(
        90deg,
        rgba(7, 13, 18, 0.12) 0%,
        rgba(7, 13, 18, 0.06) 48%,
        rgba(7, 13, 18, 0.00) 100%
    );
}


/* =========================================
   DESKTOP HERO CTA — PLACE BUTTONS BELOW IMAGE
   Match the mobile presentation while retaining the desktop image height.
   ========================================= */
@media (min-width: 769px) {
    .hero-slider {
        display: flex;
        flex-direction: column;
        height: auto;
        min-height: 0;
        overflow: hidden;
    }

    /* Keep the existing desktop hero image height and full-image display. */
    .hero-slides {
        position: relative;
        inset: auto;
        width: 100%;
        height: clamp(420px, 48vw, 650px);
        flex: 0 0 auto;
    }

    .hero-slide {
        position: absolute;
        inset: 0;
    }

    .hero-slide img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
    }

    .hero-slider .hero-overlay {
        position: absolute;
        inset: 0 0 auto 0;
        width: 100%;
        height: clamp(420px, 48vw, 650px);
    }

    /* Buttons now sit in their own dark strip below the image. */
    .hero-content {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 12px 12px 24px;
        align-items: center;
        justify-content: center;
        text-align: center;
        background: #101820;
    }

    .hero-actions {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .hero-btn {
        width: auto;
        max-width: 100%;
        padding: 10px 16px;
        font-size: 13px;
        line-height: 1.35;
        text-align: center;
    }

    /* Keep arrows and dots attached to the image, not the CTA strip. */
    .hero-arrow {
        top: calc(clamp(420px, 48vw, 650px) / 2);
    }

    .hero-dots {
        top: calc(clamp(420px, 48vw, 650px) - 22px);
        bottom: auto;
    }
}


/* =========================================
   RESPONSIVE HEADER NAVIGATION — PREVENT BRAND/MENU OVERLAP
   Switch to the hamburger menu before the desktop links run out of room.
   ========================================= */
@media (max-width: 1100px) {
    .site-header .header-inner {
        flex-wrap: wrap;
        row-gap: 10px;
    }

    .site-header .mobile-menu-button {
        display: block !important;
        flex: 0 0 auto;
    }

    .site-header #site-nav {
        display: none !important;
        flex: 0 0 100%;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
        padding-top: 8px;
    }

    .site-header #site-nav.is-open {
        display: flex !important;
    }

    .site-header #site-nav a {
        display: block;
        width: 100%;
        padding: 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
        color: #f7f4ed;
    }
}

/* Restore the full horizontal navigation only when there is enough room. */
@media (min-width: 1101px) {
    .site-header .header-inner {
        flex-wrap: nowrap;
    }

    .site-header .mobile-menu-button {
        display: none !important;
    }

    .site-header #site-nav {
        display: flex !important;
        flex: 0 0 auto;
        flex-direction: row;
        width: auto;
        padding-top: 0;
    }
}


/* =========================================
   HOMEPAGE OFFICIAL BRAND LOGOS — EQUAL-SIZED CARDS
   Keep every grid card the same size; centre logos without cropping.
   ========================================= */
.brand-section .brand-logo-grid {
    align-items: stretch;
}

.brand-section .brand-logo-card {
    width: 100%;
    height: 125px;
    min-height: 125px;
    margin: 0;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.brand-section .brand-logo-card > a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-section .brand-logo-card img {
    display: block;
    width: 92%;
    max-width: 100%;
    height: 95px;
    max-height: 95px;
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
}

@media (max-width: 768px) {
    .brand-section .brand-logo-card {
        height: 105px;
        min-height: 105px;
        padding: 10px;
    }

    .brand-section .brand-logo-card img {
        width: 96%;
        height: 80px;
        max-height: 80px;
    }
}
