:root {
    --bg: #f3f6fb;
    --surface: #ffffff;
    --surface-soft: #eef4ff;
    --text: #0f172a;
    --muted: #475569;
    --line: #dbe3ef;
    --primary: #0f766e;
    --primary-strong: #0b3b6e;
    --accent: #14b8a6;
    --danger: #dc2626;
    --gradient-main: linear-gradient(135deg, #0f766e 0%, #0b3b6e 55%, #2563eb 100%);
    --gradient-soft: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 50%, #f0f9ff 100%);
    --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 14px 34px rgba(15, 23, 42, 0.11);
    --radius-lg: 0px;
    --radius-md: 0px;
    --radius-sm: 0px;
}

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

html,
body {
    min-height: 100%;
    overflow-x: clip;
}

body {
    font-family: 'Manrope', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
}

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

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1;
}

.container {
    width: min(1120px, 92vw);
    margin: 0 auto;
}

.section {
    padding: 4.75rem 0;
}

.section-head {
    margin-bottom: 2rem;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #dff6f2;
    color: #0f766e;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    padding: 0.38rem 0.78rem;
    border-radius: 999px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.8rem, 2.4vw, 2.8rem);
    line-height: 1.25;
    margin-bottom: 0.9rem;
    color: #0f172a;
}

.section-sub {
    color: var(--muted);
    max-width: 720px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border: none;
    border-radius: 999px;
    padding: 0.78rem 1.45rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--gradient-main);
    color: #fff;
    box-shadow: 0 10px 24px rgba(11, 59, 110, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 14px 28px rgba(11, 59, 110, 0.38);
}

.btn-secondary {
    background: #e2ecf9;
    color: #0b3b6e;
}

.btn-secondary:hover {
    background: #d8e5f5;
}

.btn-outline {
    border: 1px solid #bdd1ea;
    background: transparent;
    color: #0b3b6e;
}

.btn-outline:hover {
    background: #e7effa;
}

.btn-call-mini {
    padding: 0.46rem 0.82rem;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 9px;
    min-height: 34px;
    line-height: 1;
    box-shadow: 0 6px 14px rgba(11, 59, 110, 0.24);
    gap: 0.3rem;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.top-trust-bar {
    background: #0f172a;
    color: #d6def3;
    font-size: 0.82rem;
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    display: flex;
    align-items: center;
    min-height: 38px;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    animation: scroll-marquee 25s linear infinite;
}

.marquee-content p {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    margin: 0;
}

.marquee-separator {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #3b82f6;
    display: inline-block;
}

@keyframes scroll-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-33.33% - 0.66rem)); }
}

.nav-wrap {
    min-height: 82px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 4rem;
}

.mobile-header-actions {
    display: none;
}

.mobile-call-link {
    display: none;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.62rem;
    flex-shrink: 0;
    font-weight: 800;
    font-family: 'Sora', sans-serif;
    color: #0f172a;
}

.site-logo-img {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    display: block;
    object-fit: contain;
}

.site-logo-text {
    display: inline-block;
    font-family: 'Sora', sans-serif;
    font-size: 1.05rem;
    line-height: 1.1;
    color: #0f172a;
}

.site-logo.site-logo-fallback-visible .site-logo-text {
    color: #0b3b6e;
}

.site-header .site-logo {
    flex-direction: column;
    justify-content: center;
    gap: 0.18rem;
}

.site-header .site-logo-text {
    font-size: 0.76rem;
    letter-spacing: 0.03em;
    text-transform: lowercase;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.1rem;
    width: 100%;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.32rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links li {
    list-style: none;
}

.nav-links li::marker {
    content: '';
}

.nav-search-item {
    margin-right: 0.4rem;
}

.nav-links>li>a {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    white-space: nowrap;
    padding: 0.52rem 0.86rem;
    border-radius: 10px;
    font-weight: 700;
    color: #1e293b;
    position: relative;
    transition: all 0.2s ease;
}

.nav-links>li>a i {
    font-size: 0.96rem;
    line-height: 1;
}

.nav-links>li>a:hover,
.nav-links>li>a.active,
.nav-links>li.active-parent>a {
    background: #edf3fc;
    color: #0b3b6e;
    box-shadow: inset 0 0 0 1px #d7e3f3;
}

.has-dropdown {
    position: relative;
}

.dropdown-panel {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 240px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.6rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all 0.25s ease;
}

.has-dropdown:hover .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-panel a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.52rem 0.6rem;
    border-radius: 10px;
    font-weight: 700;
    color: #0f172a;
}

.dropdown-panel a:hover {
    background: #eef4ff;
}

.dropdown-panel img {
    width: 22px;
    height: 22px;
}

.dropdown-panel i {
    width: 20px;
    text-align: center;
    color: #1d4ed8;
}

.header-search {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid #c9d9ef;
    background: #f8fbff;
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    min-width: 265px;
    max-width: 315px;
}

.header-search i {
    color: #64748b;
}

.header-search input {
    width: 100%;
    border: 0;
    background: transparent;
    outline: none;
    font: inherit;
    color: #0f172a;
}

.header-search:focus-within {
    border-color: #92b5e4;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.14);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.cart-link {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid #cadbf0;
    border-radius: 999px;
    background: #f8fbff;
    color: #0b3b6e;
    font-weight: 700;
    font-size: 0.88rem;
}

.cart-link i {
    font-size: 1rem;
}

.cart-badge {
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #dc2626;
    color: #fff;
    font-size: 0.72rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.32rem;
}

.nav-cta-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-self: end;
}

.nav-cta-wrap .btn {
    padding: 0.58rem 0.98rem;
    font-size: 0.86rem;
    white-space: nowrap;
}

.btn-nav-call {
    border-color: #9ec3eb;
    color: #0b3b6e;
    background: #f8fbff;
}

.btn-nav-call:hover {
    border-color: #7da7d6;
    background: #e7effa;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: #0f172a;
    font-size: 1.35rem;
}

/* Page hero */
.page-hero {
    background: var(--gradient-main);
    color: #fff;
    padding: 4.6rem 0 3.8rem;
    position: relative;
    overflow: hidden;
}

.page-hero-products {
    background: linear-gradient(135deg, #0b182e 0%, #0a2540 50%, #061121 100%);
    position: relative;
}

.page-hero-products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 0%, rgba(56, 189, 248, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.page-hero-brands {
    background: linear-gradient(135deg, #0f172a 0%, #064e3b 50%, #022c22 100%);
    position: relative;
}

.page-hero-brands::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.page-hero-contact {
    background: linear-gradient(to right, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    position: relative;
}

.page-hero-details {
    background: linear-gradient(135deg, #2e1065 0%, #1e1b4b 50%, #0f172a 100%);
    position: relative;
}

.page-hero-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

/* Ensure filter sidebar stays on top while scrolling */
.filter-panel {
    position: sticky;
    top: 80px;
    z-index: 10;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 1rem;
}


.page-hero h1 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: 0.75rem;
}

.page-hero p {
    max-width: 720px;
    color: #dbeafe;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    margin-top: 1.25rem;
    color: #bfdbfe;
}

.breadcrumb a:hover {
    color: #fff;
}

/* Home hero */
.home-hero {
    padding: 5rem 0 4rem;
    background: radial-gradient(circle at top right, #dbeafe 0%, rgba(219, 234, 254, 0.12) 45%, transparent 60%),
        radial-gradient(circle at left center, #dcfce7 0%, rgba(220, 252, 231, 0.15) 45%, transparent 65%),
        #f7fbff;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2rem, 4.2vw, 3.3rem);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.hero-title span {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-text {
    color: var(--muted);
    max-width: 620px;
    margin-bottom: 1.45rem;
}

.hero-cta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.metric {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    box-shadow: var(--shadow-sm);
}

.metric strong {
    display: block;
    font-family: 'Sora', sans-serif;
    color: #0b3b6e;
    font-size: 1.15rem;
}

.metric span {
    color: var(--muted);
    font-size: 0.84rem;
}

.hero-showcase {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    position: relative;
}

.hero-carousel {
    width: 100%;
    aspect-ratio: 16 / 10.5;
    overflow: hidden;
    position: relative;
    background: transparent;
    box-shadow: none;
}

.carousel-track {
    display: flex;
    width: 400%;
    height: 100%;
    animation: heroSlide 16s cubic-bezier(0.8, 0, 0.2, 1) infinite;
}

.carousel-item {
    width: 25%;
    height: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.carousel-item img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.05));
}


@keyframes heroSlide {

    0%,
    22% {
        transform: translateX(0);
    }

    25%,
    47% {
        transform: translateX(-25%);
    }

    50%,
    72% {
        transform: translateX(-50%);
    }

    75%,
    97% {
        transform: translateX(-75%);
    }

    100% {
        transform: translateX(0);
    }
}



.hero-showcase-grid {
    margin-top: 0.8rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.hero-mini-card {
    border-radius: 0;
    background: var(--gradient-soft);
    padding: 0.9rem;
    border: 1px solid #cfe0f5;
}

.hero-mini-card strong {
    display: block;
    font-size: 1rem;
    color: #0b3b6e;
}

.hero-mini-card span {
    font-size: 0.82rem;
    color: #334155;
}

/* Cards and grids */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
}

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

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

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1.2rem;
    box-shadow: var(--shadow-sm);
}

.card:hover {
    border-color: #bdd1ea;
}

.category-card {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}

.category-icon {
    width: 46px;
    height: 46px;
    border-radius: 0;
    background: #e5efff;
    color: #0b3b6e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.category-card h3 {
    font-size: 1.06rem;
    margin-bottom: 0.35rem;
}

.category-card p {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
}

.category-foot {
    font-size: 0.82rem;
    color: #0f766e;
    font-weight: 700;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.brand-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1.15rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.brand-card img {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.8rem;
}

.brand-card h3 {
    margin-bottom: 0.38rem;
    font-size: 1.05rem;
}

.brand-card p {
    color: var(--muted);
    font-size: 0.86rem;
    margin-bottom: 0.7rem;
    min-height: 42px;
}

.brand-card a {
    color: #0b3b6e;
    font-weight: 700;
    font-size: 0.86rem;
}

.brand-card a:hover {
    color: #0f766e;
}

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

.products-page-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

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

.product-media {
    background: linear-gradient(180deg, #f8fbff, #edf4ff);
    padding: 0.8rem;
    border-bottom: 1px solid #dbe7f7;
}

.product-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 0;
}

.product-body {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.48rem;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.28rem 0.58rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    background: #e0f2fe;
    color: #0b3b6e;
}

.product-rating {
    font-size: 0.8rem;
    color: #f59e0b;
    font-weight: 700;
}

.product-card h3 {
    font-size: 1rem;
    margin-bottom: 0.35rem;
    line-height: 1.4;
}

.product-card p {
    font-size: 0.86rem;
    color: var(--muted);
    margin-bottom: 0.75rem;
}

.product-foot {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.price {
    font-family: 'Sora', sans-serif;
    font-size: 1.06rem;
    color: #0b3b6e;
}

.price-sub {
    font-size: 0.75rem;
    color: #64748b;
}

.why-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
    gap: 1.25rem;
    align-items: stretch;
}

.why-panel {
    position: relative;
    background: #fff;
    border: 1px solid #d3deec;
    border-radius: 0;
    padding: 1.6rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.why-panel::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, #0f766e 0%, #0b3b6e 60%, #2563eb 100%);
}

.why-panel-main {
    background:
        radial-gradient(circle at top right, rgba(15, 118, 110, 0.1) 0%, rgba(15, 118, 110, 0) 42%),
        #fff;
}

.why-panel-side {
    background:
        radial-gradient(circle at right bottom, rgba(37, 99, 235, 0.12) 0%, rgba(37, 99, 235, 0) 45%),
        linear-gradient(165deg, #f9fbff 0%, #f1f6ff 100%);
}

.why-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 0.8rem;
}

.why-tag {
    margin-bottom: 0;
}

.why-kpi,
.why-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #e8f1ff;
    color: #0b3b6e;
    border: 1px solid #bfd3ef;
    padding: 0.38rem 0.65rem;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.why-kpi strong {
    font-family: 'Sora', sans-serif;
    font-size: 0.92rem;
}

.why-chip i {
    font-size: 0.84rem;
}

.why-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.45rem, 2.1vw, 2.05rem);
    line-height: 1.24;
    color: #0f172a;
    margin-bottom: 0.62rem;
    max-width: 24ch;
}

.why-title-sm {
    font-size: clamp(1.18rem, 1.5vw, 1.5rem);
    margin-bottom: 0.52rem;
}

.why-intro {
    color: #3b4e67;
    font-size: 0.95rem;
    line-height: 1.66;
    max-width: 64ch;
}

.why-list {
    display: grid;
    gap: 0.78rem;
    margin-top: 1.08rem;
}

.why-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.78rem;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #d4deec;
    padding: 0.82rem;
    position: relative;
}

.why-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #0f766e 0%, #0b3b6e 100%);
    opacity: 0.35;
}

.why-icon {
    width: 40px;
    height: 40px;
    border: 1px solid #bfd3ef;
    background: linear-gradient(135deg, #e8f2ff 0%, #dce8fd 100%);
    color: #0b3b6e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.04rem;
    flex-shrink: 0;
}

.why-item h4,
.why-step h4 {
    margin-bottom: 0.16rem;
    font-size: 0.95rem;
    color: #0f172a;
}

.why-item p,
.why-step p {
    color: #4b5f78;
    font-size: 0.85rem;
    line-height: 1.55;
}

.why-playbook {
    display: grid;
    gap: 0.76rem;
    margin-top: 1rem;
}

.why-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.74rem;
    align-items: flex-start;
    padding: 0.82rem;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #d0dceb;
    position: relative;
}

.why-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 16px;
    bottom: -12px;
    height: 12px;
    width: 1px;
    background: #b9cce6;
}

.why-step-no {
    width: 32px;
    height: 32px;
    background: #e4eeff;
    border: 1px solid #bfd3ef;
    color: #0b3b6e;
    font-family: 'Sora', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cta-band {
    margin-top: 1rem;
    border-radius: var(--radius-lg);
    background: var(--gradient-main);
    color: #fff;
    padding: 2rem;
    display: grid;
    gap: 0.75rem;
}

.cta-band h3 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
}

.cta-band p {
    color: #dbeafe;
    max-width: 620px;
}

.cta-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

/* Shop listing */
.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1.2rem;
    align-items: start;
}

.filter-panel {
    position: sticky;
    top: 140px;
    z-index: 10;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0;
    /* Rectangular as per brand guidelines */
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
}

.filter-panel h3 {
    margin-bottom: 1.2rem;
    font-family: 'Sora', sans-serif;
    font-size: 1.1rem;
}

.filter-group {
    margin-bottom: 0.9rem;
}

.filter-group label {
    display: block;
    font-size: 0.82rem;
    color: #334155;
    margin-bottom: 0.35rem;
    font-weight: 700;
}

.field,
.filter-group select,
.filter-group input,
textarea {
    width: 100%;
    border: 1px solid #cfd9e7;
    border-radius: 10px;
    padding: 0.62rem 0.72rem;
    font: inherit;
    background: #fbfdff;
    color: #0f172a;
}

.field:focus,
.filter-group select:focus,
.filter-group input:focus,
textarea:focus {
    outline: 2px solid rgba(37, 99, 235, 0.2);
    border-color: #60a5fa;
}

.filter-actions {
    display: flex;
    gap: 0.5rem;
}

.results-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

.results-bar p {
    color: #475569;
    font-weight: 600;
}

.chip-set {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    background: #e0ecff;
    color: #0b3b6e;
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    font-weight: 700;
}

.chip:hover {
    background: #cfe3ff;
    color: #0b2f59;
}

.chip.active {
    background: #0b3b6e;
    color: #fff;
}

.chip.active:hover {
    background: #0b3b6e;
    color: #fff;
}

.empty-state {
    border: 1px dashed #a8bedf;
    background: #f8fbff;
    border-radius: 14px;
    padding: 2.3rem 1.4rem;
    text-align: center;
}

.empty-state h3 {
    margin-bottom: 0.4rem;
    font-size: 1.1rem;
}

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

/* Product detail */
.product-detail-wrap {
    padding: 2rem 0 4.25rem;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 1.4rem;
    align-items: start;
}

.gallery-panel,
.product-info-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.gallery-panel {
    padding: 1rem;
}

.gallery-main {
    border: 1px solid #d8e4f4;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fbff, #edf4ff);
}

.gallery-main img {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
}

.gallery-thumbs {
    margin-top: 0.8rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
}

.gallery-thumb {
    border: 1px solid #d7e2f4;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: #f8fbff;
}

.gallery-thumb.active {
    border-color: #0b3b6e;
    box-shadow: inset 0 0 0 1px #0b3b6e;
}

.gallery-thumb img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.product-info-panel {
    padding: 1.25rem;
}

.info-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.7rem;
}

.info-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border-radius: 999px;
    font-size: 0.78rem;
    padding: 0.3rem 0.62rem;
    background: #eaf2ff;
    color: #0b3b6e;
    font-weight: 700;
}

.product-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.45rem, 2.5vw, 2.05rem);
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.product-description {
    color: var(--muted);
    margin-bottom: 0.95rem;
}

.price-line {
    display: flex;
    align-items: baseline;
    gap: 0.7rem;
    margin-bottom: 0.7rem;
}

.price-line strong {
    font-family: 'Sora', sans-serif;
    font-size: 1.8rem;
    color: #0b3b6e;
}

.price-line span {
    color: #64748b;
}

.action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.spec-card {
    margin-top: 1rem;
    border: 1px solid #d9e4f5;
    border-radius: 12px;
    overflow: hidden;
}

.spec-card h3 {
    font-size: 0.95rem;
    background: #f1f6ff;
    padding: 0.7rem 0.9rem;
    border-bottom: 1px solid #d9e4f5;
}

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

.spec-table td {
    padding: 0.62rem 0.9rem;
    border-bottom: 1px solid #e8eef8;
    font-size: 0.87rem;
}

.spec-table tr:last-child td {
    border-bottom: 0;
}

.spec-table td:first-child {
    width: 36%;
    color: #334155;
    font-weight: 700;
}

.related-section {
    margin-top: 2.5rem;
}

/* Brand page */
.brand-banner {
    border-radius: var(--radius-lg);
    border: 1px solid #cfe0f5;
    background: #fff;
    box-shadow: var(--shadow-sm);
    padding: 1.15rem;
    margin-top: -2.8rem;
    position: relative;
    z-index: 2;
}

.brand-banner-inner {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.brand-banner-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.brand-banner-title img {
    width: 54px;
    height: 54px;
}

.brand-banner-title h2 {
    font-family: 'Sora', sans-serif;
    margin-bottom: 0.2rem;
}

.brand-banner-title p {
    color: #475569;
    font-size: 0.9rem;
}

.brand-stats {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.brand-stat {
    background: #eef4ff;
    padding: 0.45rem 0.72rem;
    border-radius: 10px;
    color: #0b3b6e;
    font-weight: 700;
    font-size: 0.8rem;
}

.brand-filter-title {
    font-family: 'Sora', sans-serif;
    margin-bottom: 0.2rem;
}

.brand-page-layout .container {
    width: min(1700px, 97vw);
    margin: 0 auto;
}

.brand-filter-sub {
    color: #475569;
    font-size: 0.9rem;
}

.brand-filter-form {
    margin-top: 0.85rem;
    padding: 0.9rem;
    border: 1px solid #d6e4f6;
    border-radius: 12px;
    background: #f8fbff;
}

.brand-filter-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    margin-bottom: 0.7rem;
}

.brand-filter-grid-single {
    grid-template-columns: minmax(0, 1fr);
}

.brand-filter-field label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.84rem;
    font-weight: 700;
    color: #1e3a5f;
}

.brand-filter-field .field {
    width: 100%;
    background: #fff;
}

.brand-filter-actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.brand-filter-actions .btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.78rem;
}

.brand-sections-area {
    padding-top: 1rem;
}

.brand-sections-stack {
    display: grid;
    gap: 1rem;
}

.brand-shelf {
    border: 1px solid #cfe0f5;
    border-radius: 16px;
    background: #fff;
    padding: 0.9rem;
    box-shadow: var(--shadow-sm);
}

.brand-shelf-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    margin-bottom: 0.95rem;
}

.brand-shelf-side {
    display: grid;
    gap: 0.4rem;
    justify-items: end;
}

.brand-shelf-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-shelf-title img {
    width: 54px;
    height: 54px;
}

.brand-shelf-title h2 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.1rem, 1.8vw, 1.32rem);
    margin-bottom: 0.18rem;
}

.brand-shelf-title p {
    color: #475569;
    font-size: 0.88rem;
}

.brand-row-btn {
    width: 38px;
    height: 38px;
    border: 1px solid #c6d9f4;
    border-radius: 999px;
    background: #ffffff;
    color: #0b3b6e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
    z-index: 2;
}

.brand-row-btn:hover {
    background: #0b3b6e;
    border-color: #0b3b6e;
    color: #fff;
}

.brand-row-btn-left,
.brand-row-btn-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.brand-row-btn-left {
    left: 0.65rem;
}

.brand-row-btn-right {
    right: 0.65rem;
}

.brand-product-row {
    --row-gap: 1rem;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (var(--row-gap) * 3)) / 4);
    gap: var(--row-gap);
    overflow-x: auto;
    padding: 0.2rem 0.2rem 0.55rem;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.brand-product-row-wrap {
    position: relative;
    border: 1px solid #d7e5f7;
    border-radius: 14px;
    background: linear-gradient(180deg, #f9fcff, #f3f8ff);
    padding: 0.65rem 2.75rem;
}

.brand-products-shell {
    border: 1px solid #d7e5f7;
    border-radius: 14px;
    background: linear-gradient(180deg, #f9fcff, #f4f8ff);
    padding: 0.75rem;
}

.brand-product-row::-webkit-scrollbar {
    height: 0;
    display: none;
}

.brand-product-row::-webkit-scrollbar-track {
    background: #e9f0fb;
    border-radius: 999px;
}

.brand-product-row::-webkit-scrollbar-thumb {
    background: #9eb9de;
    border-radius: 999px;
}

.brand-row-card {
    width: 100%;
    min-width: 0;
    scroll-snap-align: start;
}

.brand-row-card .product-media {
    padding: 0.45rem;
}

.brand-row-card .product-media img {
    aspect-ratio: 16 / 10;
}

.brand-row-card .product-body {
    padding: 0.72rem;
}

.brand-row-card h3 {
    font-size: 0.9rem;
}

.brand-row-card p {
    font-size: 0.8rem;
    margin-bottom: 0.55rem;
}

.brand-row-card .price {
    font-size: 0.95rem;
}

.brand-row-card .price-sub {
    font-size: 0.75rem;
}


.form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.2rem;
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 0.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #334155;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* --- CONTACT PAGE REDESIGN --- */
.page-hero-contact {
    background: linear-gradient(135deg, #0b3b6e, #0f172a);
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.hero-orb {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3rem;
    color: #fff;
    margin: 1.5rem 0;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    line-height: 1.6;
}

.contact-section {
    padding: 5rem 0;
    background: #f8fbff;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.info-card-premium {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.info-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(11, 59, 110, 0.08);
    border-color: rgba(11, 59, 110, 0.2);
}

.info-icon-wrap {
    width: 48px;
    height: 48px;
    background: #f1f5f9;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.4rem;
}

.info-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    color: #1e293b;
}

.info-content p,
.info-content a {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
}

.map-container {
    margin-top: 3rem;
    border-radius: 0;
    overflow: hidden;
    border: 8px solid #fff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.map-container iframe {
    width: 100%;
    height: 350px;
    border: 0;
    display: block;
}

.form-premium-card {
    background: #fff;
    padding: 3rem;
    border-radius: 0;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.form-header {
    margin-bottom: 2.5rem;
}

.form-header h3 {
    font-size: 1.8rem;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: #64748b;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 1.2rem;
    color: #000;
    font-size: 1.1rem;
}

.field-premium {
    width: 100%;
    padding: 0.9rem 1.2rem 0.9rem 3rem;
    border: 1px solid #e2e8f0;
    border-radius: 0;
    background: #f8fafc;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    color: #1e293b;
}

.field-premium:focus {
    background: #fff;
    border-color: #0b3b6e;
    box-shadow: 0 0 0 4px rgba(11, 59, 110, 0.08);
    outline: none;
}

.text-area {
    padding-left: 1.2rem;
    min-height: 150px;
}

.btn-premium {
    padding: 1.1rem;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    border-radius: 0;
    transition: all 0.3s ease;
}

.btn-premium:hover i {
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

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

    .form-premium-card {
        padding: 1.5rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }
}

/* Footer */
.site-footer {
    background: #0b1220;
    color: #d4ddf4;
    padding-top: 3rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 1.2rem;
    padding-bottom: 2rem;
}

.footer-col h4 {
    font-family: 'Sora', sans-serif;
    color: #f8fbff;
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

.footer-logo {
    color: #fff;
    margin-bottom: 0.7rem;
}

.footer-logo .site-logo-text {
    color: #fff;
}

.footer-brand p {
    color: #b8c7e3;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.trust-points {
    display: grid;
    gap: 0.35rem;
    font-size: 0.82rem;
    color: #c6d5ef;
}

.trust-points span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.footer-col ul {
    list-style: none;
    display: grid;
    gap: 0.45rem;
}

.footer-col ul a {
    color: #c1d0eb;
    font-size: 0.9rem;
}

.footer-col ul a:hover {
    color: #fff;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    font-size: 0.88rem;
    color: #c1d0eb;
}

.social-links {
    margin-top: 0.7rem;
    display: flex;
    gap: 0.5rem;
}

.social-links a {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    border: 1px solid #31415f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #d4ddf4;
}

.social-links a:hover {
    background: #17253e;
    color: #fff;
}

.brand-strip {
    border-top: 1px solid #24334f;
    border-bottom: 1px solid #24334f;
    padding: 0.9rem 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.6rem;
}

.brand-strip a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.48rem;
    border: 1px solid #2b3c5a;
    border-radius: 10px;
    padding: 0.42rem;
    color: #d5e2f9;
    font-weight: 700;
    font-size: 0.83rem;
}

.brand-strip img {
    width: 22px;
    height: 22px;
}

.brand-strip a:hover {
    border-color: #426391;
    background: #14213a;
}

.footer-bottom {
    padding: 1rem 0 1.3rem;
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    flex-wrap: wrap;
    color: #9fb0d1;
    font-size: 0.82rem;
}

.footer-note {
    text-align: right;
}

/* Utilities */
.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.text-muted {
    color: var(--muted);
}

/* Responsive */
@media (max-width: 1080px) {
    .header-search {
        min-width: 220px;
        max-width: 250px;
    }

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

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

    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .brand-product-row {
        grid-auto-columns: calc((100% - (var(--row-gap) * 2)) / 3);
    }
}

@media (max-width: 880px) {
    .marquee-container {
        min-height: 34px;
    }
    
    .marquee-content {
        animation-duration: 20s;
    }
    
    .marquee-content p {
        font-size: 0.78rem;
    }

    .nav-wrap {
        grid-template-columns: auto auto;
        justify-content: space-between;
        min-height: 70px;
    }

    .site-logo-img {
        height: 40px;
        width: 40px;
        min-width: 40px;
        min-height: 40px;
    }

    .site-logo-text {
        display: block;
        font-size: 0.68rem;
    }

    .mobile-header-actions {
        display: flex;
        align-items: center;
        gap: 0.8rem;
    }

    .menu-toggle {
        display: inline-flex;
        background: #f1f5f9;
        width: 42px;
        height: 42px;
        border-radius: 8px;
        color: #0b3b6e;
        align-items: center;
        justify-content: center;
        border: none;
        cursor: pointer;
    }

    .mobile-call-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        padding: 0;
        border-radius: 8px;
        border: 1px solid #cadbf0;
        background: #f8fbff;
        color: #0b3b6e;
        font-weight: 700;
        line-height: 1;
    }

    .mobile-call-link i {
        font-size: 1.05rem;
    }

    .site-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        z-index: 1000;
        display: flex;
        flex-direction: column;
        padding: 2rem;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border: none;
        border-radius: 0;
        margin-bottom: 0;
    }

    .site-nav.open {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        margin-top: 3rem;
    }

    .nav-links>li {
        width: 100%;
    }

    .nav-links > li > a {
        font-size: 1.1rem;
        font-weight: 700;
        color: #0f172a;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid #f1f5f9;
    }
    
    .nav-links > li > a i {
        display: inline-flex;
        transition: transform 0.3s ease;
    }

    .has-dropdown.active > a i {
        transform: rotate(180deg);
    }

    .nav-links .dropdown-panel {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0.5rem 0 0 1rem;
        display: none;
        grid-template-columns: 1fr;
        gap: 0.8rem;
        background: transparent;
        border: none;
    }

    .has-dropdown.active .dropdown-panel {
        display: grid;
    }
    
    .dropdown-panel a {
        padding: 0.3rem 0;
        font-size: 0.95rem;
        color: #475569;
        font-weight: 600;
    }

    .header-search {
        display: none;
    }

    .nav-actions {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-top: 2rem;
    }

    .nav-actions .cart-link {
        display: none; /* Hide desktop cart link in drawer */
    }

    .nav-cta-wrap {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
    }

    .nav-cta-wrap .btn {
        width: 100%;
        padding: 1rem;
        border-radius: 12px;
        justify-content: center;
    }

    .dropdown-panel {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 0.4rem;
    }

    .nav-cta-wrap {
        justify-self: stretch;
    }

    .home-hero {
        padding: 3.5rem 0 3rem;
        text-align: center;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1.2rem;
    }

    .hero-text {
        margin-left: auto;
        margin-right: auto;
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .hero-cta {
        justify-content: center;
        gap: 0.7rem;
    }
    
    .section-tag {
        margin-left: auto;
        margin-right: auto;
    }
    
    .why-grid,
    .shop-layout,
    .contact-layout,
    .product-detail-layout {
        grid-template-columns: 1fr;
    }

    .why-panel {
        padding: 1.3rem;
    }

    .why-title {
        max-width: none;
    }

    .filter-panel {
        position: static;
    }

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

    .products-page-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .brand-filter-grid {
        grid-template-columns: 1fr;
    }

    .brand-shelf-head {
        grid-template-columns: 1fr;
        align-items: flex-start;
    }

    .brand-shelf-side {
        justify-items: start;
    }

    .brand-product-row {
        grid-auto-columns: calc((100% - var(--row-gap)) / 2);
    }

    .brand-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .section {
        padding: 3.6rem 0;
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .form-grid,
    .product-grid,
    .products-page-grid,
    .brand-grid,
    .footer-main {
        grid-template-columns: 1fr;
    }

    .hero-metrics {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        margin-top: 2rem;
    }

    .metric {
        padding: 0.6rem 0.4rem;
        text-align: center;
    }

    .metric strong {
        font-size: 1rem;
    }

    .metric span {
        font-size: 0.72rem;
        line-height: 1.2;
    }

    .hero-carousel {
        aspect-ratio: 16 / 9;
    }

    .carousel-item {
        padding: 1.5rem;
    }

    .hero-showcase-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .why-panel {
        padding: 1.05rem;
    }

    .why-item,
    .why-step {
        padding: 0.72rem;
    }

    .why-step:not(:last-child)::after {
        display: none;
    }

    .results-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .brand-shelf {
        padding: 0.85rem;
    }

    .brand-shelf-title img {
        width: 46px;
        height: 46px;
    }

    .brand-product-row-wrap {
        padding: 0.55rem 2.25rem;
    }

    .brand-product-row {
        grid-auto-columns: 86vw;
    }

    .brand-row-btn {
        width: 34px;
        height: 34px;
    }

    .brand-filter-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .brand-strip {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .footer-note {
        text-align: left;
    }
}

/* Forms */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

/* --- PRODUCT CTA BANNER --- */
.product-cta-section {
    padding: 2rem 0 5rem;
}

.product-cta-banner {
    background: linear-gradient(135deg, #0b3b6e, #0f766e);
    border-radius: 0;
    padding: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    color: #fff;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.product-cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.pcta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    color: #fff;
    position: relative;
    z-index: 2;
}

.pcta-content p {
    font-size: 1.05rem;
    opacity: 0.9;
    max-width: 500px;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.pcta-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
    z-index: 2;
    position: relative;
}

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 0.75rem 1.8rem;
    border-radius: 0;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    color: #fff;
}

@media (max-width: 768px) {
    .product-cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem 1.5rem;
    }

    .pcta-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-outline-white {
        justify-content: center;
    }
}


/* Sticky Sidebar & Pagination */
.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
    align-items: flex-start;
}

.filter-panel {
    position: sticky;
    top: 100px;
    z-index: 10;
    background: #fff;
    padding: 1.5rem;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    border-radius: 0;
}

/* Products page scoped sticky behavior */
.products-listing-layout {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 1.35rem;
    align-items: start;
    position: relative;
}

.mobile-filter-toggle {
    display: none;
}

.products-listing-layout .products-filter-sticky {
    position: sticky !important;
    top: 140px !important;
    align-self: start;
    height: fit-content;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    z-index: 20;
}

.products-listing-layout .products-listing-content {
    min-width: 0;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
}

.pagination-number,
.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1rem;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 0;
}

.pagination-number.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.pagination-number:hover:not(.active),
.pagination-btn:hover {
    background: var(--surface-soft);
    border-color: var(--primary);
    color: var(--primary);
}

@media (max-width: 992px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }

    .filter-panel {
        position: static;
    }

    .products-listing-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .mobile-filter-toggle {
        display: inline-flex;
        width: 100%;
        justify-content: center;
        gap: 0.45rem;
        margin-bottom: 0.2rem;
    }

    .js-enabled .products-listing-layout .products-filter-sticky {
        position: static !important;
        top: auto !important;
        display: none;
        margin-bottom: 0.6rem;
    }

    .js-enabled .products-listing-layout .products-filter-sticky.filter-open {
        display: block;
    }
}

/* --- Shared UI Utilities --- */
.container-narrow {
    width: min(920px, 92vw);
}

.section-title-sm {
    font-size: clamp(1.35rem, 2.3vw, 2rem);
}

.form-card-title {
    font-family: 'Sora', sans-serif;
    margin-bottom: 0.35rem;
}

.form-card-subtext {
    margin-bottom: 1rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-card-detail {
    padding: 0.46rem 0.7rem;
    font-size: 0.76rem;
}

.product-card-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* --- Cart / Checkout Structure --- */
.cart-shell {
    padding: 0;
    overflow: hidden;
}

.cart-table-head,
.cart-item-row {
    display: grid;
    grid-template-columns: 2fr 0.9fr 0.9fr 0.9fr;
    gap: 1rem;
    padding: 1rem 1.2rem;
    align-items: center;
}

.cart-table-head {
    background: #f1f6ff;
    border-bottom: 1px solid #d9e4f5;
    font-weight: 700;
}

.cart-item-row {
    border-bottom: 1px solid #e5edf8;
}

.cart-item-product {
    display: flex;
    gap: 0.7rem;
    align-items: center;
}

.cart-item-image {
    width: 70px;
    height: 55px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #d8e3f1;
}

.cart-item-meta strong {
    display: block;
}

.cart-item-meta small {
    color: #64748b;
}

.cart-item-remove {
    margin-top: 0.35rem;
}

.cart-remove-btn,
.cart-update-btn {
    padding: 0.34rem 0.56rem;
    font-size: 0.74rem;
}

.cart-qty-form {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.cart-qty-input {
    max-width: 72px;
    padding: 0.4rem 0.45rem;
}

.cart-mobile-label {
    display: none;
    font-size: 0.74rem;
    color: #64748b;
    margin-bottom: 0.24rem;
    font-weight: 700;
}

.cart-footer {
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cart-footer-summary {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    flex-wrap: wrap;
}

.cart-subtotal {
    font-size: 1.1rem;
}

.checkout-success-card {
    text-align: center;
}

.checkout-success-card h2 {
    margin-bottom: 0.5rem;
}

.checkout-success-card p {
    margin-bottom: 1rem;
}

.checkout-layout {
    align-items: start;
}

.checkout-card-title {
    font-family: 'Sora', sans-serif;
    margin-bottom: 0.8rem;
}

.checkout-line-list {
    display: grid;
    gap: 0.7rem;
}

.checkout-line-item {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    border-bottom: 1px solid #e6edf8;
    padding-bottom: 0.6rem;
}

.checkout-line-item strong {
    display: block;
    font-size: 0.92rem;
}

.checkout-line-price {
    font-weight: 700;
}

.checkout-totals {
    margin-top: 1rem;
    display: grid;
    gap: 0.4rem;
}

.checkout-totals-row {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}

.checkout-totals-grand {
    font-size: 1.08rem;
    border-top: 1px solid #d6e2f3;
    padding-top: 0.6rem;
}

/* --- Mobile Refinements --- */
@media (max-width: 900px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .page-hero {
        padding: 3.8rem 0 3.1rem;
    }

    .page-hero h1 {
        font-size: clamp(1.55rem, 6.4vw, 2.05rem);
        line-height: 1.25;
    }

    .page-hero p {
        font-size: 0.93rem;
        line-height: 1.62;
    }

    .breadcrumb {
        flex-wrap: wrap;
        row-gap: 0.25rem;
    }

    .results-bar .btn {
        width: 100%;
        justify-content: center;
    }

    .filter-actions {
        flex-direction: column;
    }

    .filter-actions .btn {
        width: 100%;
    }
}

@media (max-width: 620px) {
    .form-card {
        padding: 1rem;
    }

    .section-head {
        margin-bottom: 1.35rem;
    }

    .product-foot {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-card-actions {
        width: 100%;
    }

    .product-card-actions .btn {
        flex: 1;
        justify-content: center;
    }

    .action-row .btn {
        width: 100%;
        justify-content: center;
    }

    .spec-table td {
        font-size: 0.82rem;
        word-break: break-word;
    }

    .gallery-thumbs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pagination {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.2rem;
    }

    .pagination-numbers {
        flex-wrap: nowrap;
    }

    .cart-table-head {
        display: none;
    }

    .cart-item-row {
        grid-template-columns: 1fr;
        gap: 0.62rem;
        padding: 0.9rem;
    }

    .cart-item-product {
        align-items: flex-start;
    }

    .cart-cell {
        display: grid;
        gap: 0.25rem;
    }

    .cart-mobile-label {
        display: inline-block;
    }

    .cart-qty-form {
        flex-wrap: wrap;
    }

    .cart-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .cart-footer-summary {
        flex-direction: column;
        align-items: stretch;
    }

    .cart-footer-summary .btn {
        width: 100%;
        justify-content: center;
    }

    .checkout-line-item {
        flex-wrap: wrap;
    }
}

/* --- Printer Setup Page --- */
.setup-page {
    background: #f4f7fb;
}

.setup-hero {
    position: relative;
    overflow: hidden;
    padding: 4.7rem 0;
    color: #fff;
    background:
        linear-gradient(115deg, rgba(15, 23, 42, 0.94) 0%, rgba(11, 59, 110, 0.86) 52%, rgba(15, 118, 110, 0.8) 100%),
        url('../images/printer-banner.png') center right / contain no-repeat,
        #0f172a;
}

.setup-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 1.4rem;
    align-items: start;
}

.setup-breadcrumb {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #bfdbfe;
}

.setup-tag {
    background: rgba(255, 255, 255, 0.13);
    color: #dffdf9;
}

.setup-hero h1 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2rem, 4.4vw, 4.05rem);
    line-height: 1.1;
    max-width: 760px;
    margin-bottom: 1rem;
}

.setup-hero-content > p {
    max-width: 660px;
    color: #d7e7f7;
    font-size: 1.02rem;
}

.setup-brand-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.78rem;
    margin-top: 1.55rem;
}

.setup-brand-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.82rem;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.setup-brand-card:hover,
.setup-brand-card.is-selected {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.16);
    border-color: var(--brand-color);
}

.setup-brand-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: #fff;
    color: var(--brand-color);
    flex-shrink: 0;
}

.setup-brand-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.setup-brand-fallback {
    display: none;
}

.setup-brand-card strong,
.setup-brand-card small {
    display: block;
}

.setup-brand-card small {
    color: #cbdcf0;
    font-size: 0.78rem;
    line-height: 1.35;
}

.setup-driver-card {
    background: #fff;
    color: #0f172a;
    border: 1px solid #d7e3f3;
    box-shadow: 0 24px 60px rgba(2, 12, 27, 0.22);
    padding: 1.25rem;
}

.setup-driver-head {
    display: flex;
    align-items: center;
    gap: 0.78rem;
    margin-bottom: 1rem;
}

.setup-driver-icon,
.setup-modal-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f766e, #0b3b6e);
    color: #fff;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.setup-driver-head h2 {
    font-family: 'Sora', sans-serif;
    font-size: 1.24rem;
    margin-bottom: 0.1rem;
}

.setup-driver-head p {
    color: #64748b;
    font-size: 0.9rem;
}

.setup-form .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field-error {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}

.field-note {
    display: block;
    margin-top: 0.25rem;
    color: #dc2626;
    font-size: 0.76rem;
    font-weight: 700;
}

.setup-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.52rem;
    padding: 0.72rem 0.82rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    font-size: 0.88rem;
}

.setup-alert-error {
    background: #fff1f2;
    color: #b91c1c;
    border: 1px solid #fecdd3;
}

.setup-alert-success {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.setup-submit {
    min-height: 48px;
}

.setup-model-tip {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px;
    gap: 0.8rem;
    align-items: center;
    padding: 0.78rem;
    border: 1px dashed #cbd5e1;
    background: #f8fbff;
}

.setup-model-tip strong {
    display: block;
    margin-bottom: 0.24rem;
}

.setup-model-tip p {
    color: #64748b;
    font-size: 0.84rem;
    line-height: 1.55;
}

.setup-model-tip img {
    width: 120px;
    height: 86px;
    object-fit: contain;
}

.setup-result-section {
    padding: 2rem 0 0;
}

.setup-result-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: #fff;
    border: 1px solid #b7dfd8;
    box-shadow: var(--shadow-sm);
    padding: 1.2rem;
}

.setup-result-panel h2 {
    font-family: 'Sora', sans-serif;
    margin-bottom: 0.34rem;
}

.setup-result-panel p {
    color: #475569;
}

.setup-result-actions,
.setup-help-actions,
.setup-modal-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.setup-help-band {
    padding: 3.2rem 0;
    background: #e7eef8;
}

.setup-help-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.setup-help-inner h2 {
    font-family: 'Sora', sans-serif;
    max-width: 680px;
    margin-bottom: 0.45rem;
}

.setup-help-inner p {
    color: #475569;
    max-width: 720px;
}

.setup-support-section {
    background: #fff;
}

.setup-option-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.setup-option-card {
    display: block;
    min-height: 100%;
    padding: 1.2rem;
    border: 1px solid #d7e3f3;
    background: #f8fbff;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.setup-option-card:hover {
    transform: translateY(-3px);
    border-color: #9ec3eb;
    box-shadow: var(--shadow-sm);
}

.setup-option-card span {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0b3b6e;
    color: #fff;
    font-size: 1.35rem;
    margin-bottom: 0.82rem;
}

.setup-option-card h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.05rem;
    margin-bottom: 0.42rem;
}

.setup-option-card p {
    color: #64748b;
    font-size: 0.9rem;
}

.setup-info-section {
    padding-top: 0;
}

.setup-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.setup-info-panel {
    background: #fff;
    border: 1px solid #d7e3f3;
    box-shadow: var(--shadow-sm);
    padding: 1.35rem;
}

.setup-info-panel h2 {
    font-family: 'Sora', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.setup-info-panel p {
    color: #475569;
}

.setup-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    place-items: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.72);
}

.setup-modal.is-open {
    display: grid;
}

.setup-modal-dialog {
    position: relative;
    width: min(520px, 94vw);
    background: #fff;
    color: #0f172a;
    border: 1px solid #d7e3f3;
    box-shadow: 0 26px 70px rgba(2, 12, 27, 0.36);
    padding: 1.4rem;
}

.setup-modal-close {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    width: 38px;
    height: 38px;
    border: 1px solid #d7e3f3;
    background: #f8fbff;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
}

.setup-modal-icon {
    margin-bottom: 1rem;
}

.setup-modal-dialog h2 {
    font-family: 'Sora', sans-serif;
    margin-bottom: 0.5rem;
}

.setup-modal-dialog p {
    color: #475569;
    margin-bottom: 1rem;
}

@media (max-width: 1040px) {
    .setup-hero-grid {
        grid-template-columns: 1fr;
    }

    .setup-driver-card {
        max-width: 760px;
    }
}

@media (max-width: 820px) {
    .setup-help-inner,
    .setup-result-panel {
        flex-direction: column;
        align-items: flex-start;
    }

    .setup-option-grid,
    .setup-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .setup-hero {
        padding: 3.5rem 0;
        background:
            linear-gradient(115deg, rgba(15, 23, 42, 0.96) 0%, rgba(11, 59, 110, 0.9) 100%),
            #0f172a;
    }

    .setup-brand-grid,
    .setup-form .form-grid {
        grid-template-columns: 1fr;
    }

    .setup-driver-card {
        padding: 1rem;
    }

    .setup-model-tip {
        grid-template-columns: 1fr;
    }

    .setup-model-tip img {
        width: 100%;
        height: 120px;
    }

    .setup-result-actions .btn,
    .setup-help-actions .btn,
    .setup-modal-actions .btn {
        width: 100%;
    }
}

/* --- Reference-style printer setup flow --- */
.setup-reference-flow {
    background: #fff;
}

.setup-reference-flow .container {
    width: min(1140px, 92vw);
}

.setup-select-hero {
    padding: 5.6rem 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 45%, rgba(255, 255, 255, 0.2) 100%),
        url('../images/printer-banner.png') center right / cover no-repeat,
        #f6f9fd;
    color: #111827;
}

.setup-page-breadcrumb {
    justify-content: center;
    margin-top: 0;
    margin-bottom: 1rem;
    color: #475569;
}

.setup-page-breadcrumb a:hover {
    color: #0b3b6e;
}

.setup-center-copy {
    text-align: center;
}

.setup-center-copy h1,
.setup-center-copy h2 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2.1rem, 4.2vw, 3rem);
    line-height: 1.15;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.9rem;
}

.setup-download-pill,
.setup-find-button,
.setup-outline-button,
.setup-chat-button,
.setup-phone-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 40px;
    border: 0;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.setup-download-pill {
    margin-top: 0.25rem;
    padding: 0.52rem 1.9rem;
    border-radius: 999px;
    color: #fff;
    background: #0096d6;
}

.setup-series-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    padding: 0.35rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid #e6e6e6;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}

.setup-series-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0.38rem 0.88rem;
    color: #111827;
    font-weight: 800;
    font-size: 0.88rem;
}

.setup-series-nav a:hover {
    background: #0096d6;
    color: #fff;
}

.setup-download-pill:hover,
.setup-find-button:hover,
.setup-chat-button:hover,
.setup-phone-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16);
}

.setup-model-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.3rem;
    margin-top: 2.7rem;
}

.setup-model-box {
    min-height: 176px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 9px solid #e6e6e6;
    background: #fff;
    color: #111827;
    padding: 2.6rem 0.8rem;
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.22);
    transition: transform 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.setup-model-box:hover,
.setup-model-box.is-active {
    background: var(--setup-brand);
    border-color: #e6e6e6;
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 14px 18px rgba(0, 0, 0, 0.32);
}

.setup-model-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 0.8rem;
}

.setup-model-logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.setup-model-logo i {
    display: none;
}

.setup-model-box:hover .setup-model-logo,
.setup-model-box.is-active .setup-model-logo {
    color: #fff;
}

.setup-model-box h2 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.7rem, 2.9vw, 2.25rem);
    line-height: 1.1;
    margin-bottom: 0.45rem;
    color: inherit;
}

.setup-model-box p {
    color: inherit;
    font-weight: 700;
    font-size: 0.88rem;
    opacity: 0.8;
}

.setup-help-strip {
    background: #e0e0e0;
    padding: 3.2rem 0;
}

.setup-help-copy {
    text-align: center;
}

.setup-help-icon {
    width: 96px;
    height: 96px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border: 8px solid #fff;
    border-radius: 999px;
    background: #0096d6;
    color: #fff;
    font-size: 2.7rem;
    box-shadow: 16px 17px 20px rgba(0, 0, 0, 0.13);
}

.setup-help-copy h2 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.4rem;
}

.setup-help-copy p {
    color: #334155;
    font-size: 1.08rem;
    margin-bottom: 1.2rem;
}

.setup-help-buttons {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.setup-chat-button {
    padding: 0.72rem 1.35rem;
    color: #fff;
    background: #0b3b6e;
    border-radius: 999px;
}

.setup-phone-button {
    padding: 0.72rem 1.35rem;
    color: #fff;
    background: #0f766e;
    border-radius: 999px;
}

.setup-driver-section {
    padding: 3rem 0;
}

.setup-driver-layout {
    display: grid;
    grid-template-columns: minmax(0, 3.15fr) minmax(230px, 0.85fr);
    gap: 1.4rem;
    align-items: start;
}

.setup-driver-panel {
    background: #fff;
    border: 0;
    box-shadow: 0 20px 24px rgba(15, 23, 42, 0.11);
}

.setup-info-panel {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.setup-panel-heading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #171717;
    color: #fff;
    min-height: 46px;
    padding: 0.76rem 1rem;
    font-weight: 800;
}

.setup-panel-body {
    padding: 1.2rem;
}

.setup-horizontal-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem 1.4rem;
    align-items: start;
}

.setup-inline-action {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    margin-top: 0.5rem;
}

.setup-inline-field label {
    display: block;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.setup-inline-field input,
.setup-inline-field select {
    width: 100%;
    min-height: 42px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    color: #111827;
    padding: 0.55rem 0.65rem;
    font: inherit;
}

.setup-inline-field input:focus,
.setup-inline-field select:focus {
    outline: 3px solid rgba(0, 150, 214, 0.16);
    border-color: #0096d6;
}

.setup-inline-field span {
    display: block;
    margin-top: 0.2rem;
    color: #dc2626;
    font-size: 0.76rem;
    font-weight: 800;
}

.setup-input-error {
    border-color: #dc2626 !important;
}



.setup-find-button {
    min-height: 42px;
    padding: 0.55rem 1.05rem;
    border-radius: 7px;
    background: #0095ed;
    color: #fff;
    white-space: nowrap;
}

.setup-find-button:hover {
    background: #000;
    color: #fff;
}

.setup-outline-button {
    min-height: 42px;
    padding: 0.55rem 1.05rem;
    border: 1px solid #94a3b8;
    border-radius: 7px;
    background: #fff;
    color: #111827;
}

.setup-outline-button:hover {
    background: #f1f5f9;
}

.setup-model-help {
    text-align: left;
    color: #111827;
}

.setup-model-help h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.setup-model-help p {
    color: #475569;
    font-size: 0.78rem;
    margin-bottom: 0.7rem;
}

.setup-model-help img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border: 9px solid #e6e6e6;
    background: #fff;
}

.setup-message {
    display: flex;
    align-items: center;
    gap: 0.48rem;
    margin-bottom: 1rem;
    padding: 0.62rem 0.7rem;
    font-weight: 800;
}

.setup-message-error {
    background: #fff1f2;
    color: #b91c1c;
}

.setup-message-success {
    background: #ecfdf5;
    color: #047857;
}

.setup-ready-section {
    padding: 0 0 2rem;
}

.setup-ready-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border: 1px solid #cbd5e1;
    background: #f8fbff;
    padding: 1.15rem;
    box-shadow: 0 16px 24px rgba(15, 23, 42, 0.08);
}

.setup-ready-box h2 {
    font-family: 'Sora', sans-serif;
    font-size: 1.35rem;
    margin-bottom: 0.25rem;
}

.setup-ready-box p {
    color: #475569;
}

.setup-ready-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.setup-options-section {
    padding: 4rem 0;
    background: whitesmoke;
}

.setup-options-section h2 {
    text-align: center;
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    margin-bottom: 1.45rem;
}

.setup-support-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.setup-support-card {
    display: block;
    min-height: 255px;
    text-align: center;
    background: #fff;
    border: 9px solid #e6e6e6;
    padding: 0 0 1.35rem;
    color: #111827;
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.16);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.setup-support-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 18px rgba(0, 0, 0, 0.22);
}

.setup-support-card span {
    width: 100%;
    height: 140px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
    border-radius: 0;
    background:
        linear-gradient(135deg, rgba(0, 150, 214, 0.9), rgba(11, 59, 110, 0.92)),
        url('../images/printer-banner.png') center / cover no-repeat;
    color: #fff;
    font-size: 3rem;
}

.setup-support-card h3 {
    font-family: 'Sora', sans-serif;
    margin-bottom: 0.5rem;
    padding: 0 1rem;
}

.setup-support-card p {
    color: #475569;
    padding: 0 1rem;
}

.setup-repeat-hero {
    padding: 5rem 0;
}

.setup-info-section {
    padding: 4rem 0 0;
    background: whitesmoke;
}

.setup-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
}

.setup-info-panel .setup-panel-heading {
    background: #000;
    color: #fff;
    padding: 0.7rem 1rem;
    font-size: 1.15rem;
    font-weight: 500;
    margin: 0;
}

.setup-info-panel .setup-panel-body {
    background: #fbfbfb;
    padding: 1.25rem 1rem;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin: 0;
}

.setup-info-panel .setup-panel-body p {
    color: #444;
    font-size: 0.85rem;
    line-height: 1.55;
    margin: 0;
}

.setup-info-footer-strip {
    background: linear-gradient(to bottom, #1a1a1a, #000);
    color: #fff;
    margin-top: 0.5rem;
    padding: 0.85rem 0;
    font-size: 0.95rem;
    box-shadow: inset 0 2px 8px rgba(255, 255, 255, 0.1);
}

.setup-info-footer-strip strong {
    font-weight: 700;
}

.setup-reference-flow .setup-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    place-items: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.7);
}

.setup-reference-flow .setup-modal.is-open {
    display: grid;
}

.setup-reference-flow .setup-modal-dialog {
    position: relative;
    width: min(520px, 94vw);
    background: #fff;
    color: #111827;
    padding: 1.5rem;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
}

.setup-reference-flow .setup-modal-close {
    position: absolute;
    top: 0.72rem;
    right: 0.72rem;
    width: 38px;
    height: 38px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #111827;
    cursor: pointer;
}

.setup-reference-flow .setup-modal-dialog h2 {
    font-family: 'Sora', sans-serif;
    margin-bottom: 0.7rem;
    padding-right: 2rem;
}

.setup-reference-flow .setup-modal-dialog p {
    color: #475569;
    margin-bottom: 1rem;
}

@media (max-width: 1080px) {
    .setup-model-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .setup-horizontal-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .setup-driver-layout,
    .setup-info-grid,
    .setup-support-grid {
        grid-template-columns: 1fr;
    }

    .setup-ready-box {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .setup-select-hero {
        padding: 4.2rem 0;
        background: #f6f9fd;
    }

    .setup-model-grid,
    .setup-horizontal-form {
        grid-template-columns: 1fr;
    }

    .setup-model-box {
        min-height: 145px;
        padding: 1rem 0.8rem;
    }

    .setup-help-buttons,
    .setup-ready-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .setup-chat-button,
    .setup-phone-button,
    .setup-find-button,
    .setup-outline-button,
    .setup-download-pill {
        width: 100%;
    }
}

/* --- Brand click setup pages --- */
.setup-brand-page {
    background: #f6f6f6;
}

.brand-setup-topbar {
    background: #fff;
    border-bottom: 1px solid #e6e6e6;
}

.brand-setup-nav {
    min-height: 76px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
}

.brand-setup-logo {
    display: inline-flex;
    align-items: center;
    width: 128px;
}

.brand-setup-logo img {
    max-width: 100%;
    max-height: 54px;
    object-fit: contain;
}

.brand-setup-nav nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.brand-setup-nav nav a {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    padding: 0.35rem 0.78rem;
    color: #111827;
    font-weight: 800;
    font-size: 0.92rem;
}

.brand-setup-nav nav a:hover {
    color: var(--brand-color);
    background: #f4f7fb;
}

.brand-setup-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0.42rem 0.78rem;
    color: #fff;
    background: var(--brand-color);
    border-radius: 7px;
    font-weight: 800;
    font-size: 0.86rem;
    white-space: nowrap;
}

.brand-setup-hero {
    min-height: 435px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(105deg, rgba(8, 15, 28, 0.93) 0%, rgba(8, 15, 28, 0.82) 48%, rgba(0, 0, 0, 0.36) 100%),
        url('../images/printer-banner.png') center right / contain no-repeat,
        #0f172a;
    color: #fff;
}

.brand-setup-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
    gap: 2rem;
    align-items: center;
}

.brand-setup-breadcrumb {
    margin-top: 0;
    color: #cbd5e1;
}

.brand-setup-breadcrumb a:hover {
    color: #fff;
}

.brand-setup-hero h1 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 1rem 0 0.8rem;
}

.brand-setup-checklist {
    list-style: none;
    display: grid;
    gap: 0.45rem;
    margin-bottom: 1.1rem;
    color: #e5edf8;
    font-size: 1.02rem;
}

.brand-setup-checklist li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-setup-checklist i {
    color: #67e8f9;
}

.brand-setup-download {
    background: var(--brand-color);
}

.brand-setup-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-setup-visual img {
    width: min(290px, 72%);
    max-height: 245px;
    object-fit: contain;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.35));
}

.brand-driver-section {
    padding: 1.6rem 0 2.4rem;
    background: #f6f6f6;
}

.brand-driver-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
    gap: 1.5rem;
    align-items: start;
    background: #f6f6f6;
    padding-top: 0.4rem;
}

.brand-driver-form-panel {
    padding: 1rem 1.2rem 1.25rem;
}

.brand-driver-form-panel h2 {
    font-family: 'Sora', sans-serif;
    font-size: 1.35rem;
    margin-bottom: 0.3rem;
}

.brand-driver-form-panel > p {
    color: #111827;
    font-weight: 800;
    margin-bottom: 1rem;
}

.brand-quick-form {
    display: grid;
    gap: 0.85rem;
    max-width: 460px;
}

.brand-connection-row {
    display: none;
    gap: 0.8rem;
    align-items: center;
    flex-wrap: wrap;
}

.brand-connection-row span,
.brand-connection-row label,
.brand-model-field label {
    font-weight: 800;
    color: #111827;
}

.brand-connection-row label {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 700;
}

.brand-model-field {
    display: grid;
    gap: 0.3rem;
}

.brand-model-field input {
    width: 100%;
    min-height: 42px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 0.55rem 0.7rem;
    font: inherit;
    background: #fff;
}

.brand-model-field input:focus {
    outline: 3px solid rgba(0, 150, 214, 0.16);
    border-color: var(--brand-color);
}

.brand-model-field span {
    color: #dc2626;
    font-size: 0.78rem;
    font-weight: 800;
}

.brand-install-button {
    width: fit-content;
    min-height: 44px;
    border: 0;
    border-radius: 6px;
    padding: 0.56rem 1rem;
    color: #fff;
    background: var(--brand-color);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.brand-install-button:hover {
    background: #000;
}

.brand-reset-row {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    margin-top: 1rem;
    color: #111827;
    font-weight: 800;
}

.brand-reset-row a {
    color: var(--brand-color);
}

.brand-model-guide {
    padding: 1rem 0;
}

.brand-model-guide h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.28rem;
    margin-bottom: 0.45rem;
}

.brand-model-guide p {
    color: #111827;
    margin-bottom: 0.8rem;
}

.brand-model-guide-image {
    position: relative;
    border: 9px solid #e6e6e6;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.18);
}

.brand-model-guide-image img {
    width: 100%;
    height: 255px;
    object-fit: cover;
}

.brand-model-guide-image span {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    display: inline-flex;
    padding: 0.35rem 0.65rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.72);
    font-weight: 800;
}

.brand-setup-footer-band {
    padding: 1.6rem 0 2.6rem;
    background: #f6f6f6;
}

.brand-setup-footer-card {
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    text-align: center;
    padding: 1.2rem;
    color: #fff;
    background: #000;
    font-size: 1.05rem;
}

.brand-setup-footer-card i {
    color: #67e8f9;
    font-size: 2rem;
}

.brand-result-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    place-items: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.72);
}

.brand-result-modal.is-open {
    display: grid;
}

.brand-result-dialog {
    position: relative;
    width: min(560px, 94vw);
    background: #fff;
    color: #111827;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
    padding: 1.5rem;
}

.brand-result-close {
    position: absolute;
    top: 0.72rem;
    right: 0.72rem;
    width: 38px;
    height: 38px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #111827;
    cursor: pointer;
}

.brand-result-dialog h2 {
    font-family: 'Sora', sans-serif;
    margin-bottom: 0.8rem;
    padding-right: 2.2rem;
}

.brand-result-dialog p {
    color: #475569;
    margin-bottom: 0.8rem;
}

.brand-result-options {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

@media (max-width: 980px) {
    .brand-setup-nav {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 1rem 0;
    }

    .brand-setup-call {
        white-space: normal;
    }

    .brand-setup-hero-grid,
    .brand-driver-grid {
        grid-template-columns: 1fr;
    }

    .brand-setup-hero {
        padding: 3.5rem 0;
    }

    .brand-setup-visual {
        display: none;
    }
}

@media (max-width: 620px) {
    .brand-setup-nav nav a {
        width: calc(50% - 0.25rem);
    }

    .brand-driver-form-panel {
        padding: 0.5rem 0;
    }

    .brand-install-button,
    .brand-result-options .setup-find-button,
    .brand-result-options .setup-outline-button {
        width: 100%;
    }

    .brand-model-guide-image img {
        height: 190px;
    }
}

/* --- Standalone brand driver loading pages --- */
.brand-driver-body {
    background: #f6f6f6;
    color: #111827;
}

.brand-driver-container {
    width: min(1140px, 92vw);
    margin: 0 auto;
}

.brand-driver-page {
    min-height: 100vh;
    background: #f6f6f6;
    --brand-color: #0096d6;
    --brand-rgb: 0, 150, 214;
    --brand-hero-color: rgb(0, 150, 214);
    --brand-hero-rgb: 0, 150, 214;
}

.brand-driver-nav {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}

.brand-driver-nav-inner {
    min-height: 76px;
    display: grid;
    grid-template-columns: 145px minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
}

.brand-driver-logo {
    display: inline-flex;
    align-items: center;
}

.brand-driver-logo img {
    max-width: 118px;
    max-height: 52px;
    object-fit: contain;
}

.brand-driver-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    flex-wrap: wrap;
}

.brand-driver-menu a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0.35rem 0.72rem;
    color: #111827;
    font-weight: 800;
    font-size: 0.92rem;
}

.brand-driver-menu a:hover {
    background: #f2f6fb;
    color: var(--brand-color);
}

.brand-driver-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0.42rem 0.8rem;
    color: #fff;
    background: var(--brand-color);
    border-radius: 7px;
    font-size: 0.85rem;
    font-weight: 800;
    white-space: nowrap;
}

.brand-driver-hero {
    min-height: 435px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: var(--brand-hero-color);
    background-image:
        linear-gradient(105deg, rgba(var(--brand-hero-rgb), 0.97) 0%, rgba(var(--brand-hero-rgb), 0.9) 48%, rgba(var(--brand-hero-rgb), 0.58) 74%, rgba(var(--brand-hero-rgb), 0.76) 100%),
        url('../images/printer-banner.png');
    background-position: center right;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 0 20px 42px rgba(var(--brand-hero-rgb), 0.26);
    color: #fff;
}

.brand-driver-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.brand-driver-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.brand-driver-hero-copy h1 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.8rem;
}

.brand-driver-hero-copy ul {
    list-style: none;
    display: grid;
    gap: 0.48rem;
    margin-bottom: 1.1rem;
    color: #f8fbff;
}

.brand-driver-hero-copy li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.02rem;
}

.brand-driver-hero-copy li i {
    color: rgba(255, 255, 255, 0.82);
}

.brand-driver-download-btn,
.brand-driver-install-btn,
.brand-driver-outline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    min-height: 42px;
    border: 0;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    text-align: center;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.brand-driver-download-btn {
    padding: 0.55rem 1.8rem;
    border-radius: 999px;
    color: #fff;
    background: var(--brand-color);
    box-shadow: 0 10px 24px rgba(var(--brand-rgb), 0.24);
}

.brand-driver-download-btn:hover,
.brand-driver-install-btn:hover {
    background: var(--brand-hero-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(var(--brand-rgb), 0.3);
}

.brand-driver-hero-art {
    display: flex;
    justify-content: center;
    align-items: center;
    justify-self: center;
    width: min(380px, 92%);
    min-height: 220px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.34);
    box-shadow:
        0 24px 54px rgba(0, 0, 0, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
    backdrop-filter: blur(18px) saturate(145%);
}

.brand-driver-hero-art::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.3), transparent 38%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 46%);
    pointer-events: none;
}

.brand-driver-hero-art img {
    width: min(290px, 78%);
    max-height: 245px;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.36));
}

.brand-driver-page-canon .brand-driver-hero {
    background-color: #b90b12;
    background-image:
        linear-gradient(105deg, rgba(128, 0, 8, 0.96) 0%, rgba(213, 18, 25, 0.92) 42%, rgba(231, 42, 45, 0.66) 68%, rgba(42, 5, 8, 0.78) 100%),
        radial-gradient(circle at 72% 42%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.08) 22%, rgba(255, 255, 255, 0) 44%),
        url('../images/printer-banner.png');
    background-position: center right;
    background-size: cover;
    box-shadow: 0 22px 48px rgba(205, 0, 1, 0.28);
}

.brand-driver-page-canon .brand-driver-hero::before {
    background:
        linear-gradient(118deg, transparent 0%, transparent 47%, rgba(255, 255, 255, 0.12) 47.3%, rgba(255, 255, 255, 0.04) 51%, transparent 51.3%, transparent 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
}

.brand-driver-page-canon .brand-driver-hero-art {
    min-height: 152px;
    background: rgba(255, 255, 255, 0.2);
    box-shadow:
        0 24px 54px rgba(92, 0, 6, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.brand-driver-page-canon .brand-driver-hero-art img {
    width: min(360px, 86%);
    max-height: 118px;
    filter: drop-shadow(0 10px 18px rgba(92, 0, 6, 0.18));
}

.brand-driver-page-canon .brand-driver-download-btn {
    color: #cd0001;
    background: #fff;
    box-shadow: 0 12px 26px rgba(128, 0, 8, 0.22);
}

.brand-driver-page-canon .brand-driver-download-btn:hover {
    color: #fff;
    background: #8b0007;
    box-shadow: 0 16px 30px rgba(92, 0, 6, 0.28);
}

.brand-driver-main {
    padding: 1.7rem 0 2.6rem;
    background: #f6f6f6;
}

.brand-driver-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
    gap: 1.6rem;
    align-items: start;
}

.brand-driver-form-panel {
    padding: 0.4rem 1.2rem 1.2rem 0;
}

.brand-driver-form-panel h2 {
    font-family: 'Sora', sans-serif;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.brand-driver-form-panel h3 {
    font-size: 1rem;
    margin-bottom: 0.9rem;
}

.brand-driver-form {
    display: grid;
    gap: 0.9rem;
    max-width: 460px;
    padding: 1.25rem;
}

.brand-driver-form.is-submitted {
    display: none;
}

.brand-driver-connection {
    display: none;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
}

.brand-driver-connection span,
.brand-driver-field span {
    display: block;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.3rem;
}

.brand-driver-connection label {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    font-weight: 700;
}

.brand-driver-field input {
    width: 100%;
    min-height: 42px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 0.55rem 0.72rem;
    background: #fff;
    color: #111827;
    font: inherit;
}

.brand-driver-field input:focus {
    outline: 3px solid rgba(0, 150, 214, 0.16);
    border-color: var(--brand-color);
}

.brand-driver-install-btn {
    width: fit-content;
    border-radius: 6px;
    padding: 0.58rem 1.05rem;
    color: #fff;
    background: var(--brand-color);
}

.brand-driver-outline-btn {
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 0.56rem 1rem;
    color: #111827;
    background: #fff;
}

.brand-driver-outline-btn:hover {
    background: #f1f5f9;
}

.brand-driver-message {
    display: flex;
    align-items: center;
    gap: 0.48rem;
    max-width: 460px;
    margin-bottom: 0.8rem;
    padding: 0.62rem 0.76rem;
    font-weight: 800;
}

.brand-driver-message-error {
    background: #fff1f2;
    color: #b91c1c;
}

.brand-driver-loading {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 1rem;
    color: #111827;
    font-weight: 800;
}

.brand-driver-loading a {
    color: var(--brand-color);
}

.brand-driver-spinner {
    width: 22px;
    height: 22px;
    display: inline-block;
    border: 3px solid #dbe3ef;
    border-top-color: var(--brand-color);
    border-radius: 50%;
    animation: brandDriverSpin 0.9s linear infinite;
}

@keyframes brandDriverSpin {
    to {
        transform: rotate(360deg);
    }
}

.brand-driver-model-help {
    padding: 0.5rem 0 0;
}

.brand-driver-model-help h2 {
    font-family: 'Sora', sans-serif;
    font-size: 1.28rem;
    margin-bottom: 0.35rem;
}

.brand-driver-model-help p {
    color: #111827;
    margin-bottom: 0.75rem;
}

.brand-driver-model-image {
    position: relative;
    overflow: hidden;
    border: 9px solid #e6e6e6;
    background: #fff;
}

.brand-driver-model-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.brand-driver-model-image strong {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    display: inline-flex;
    padding: 0.35rem 0.65rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.72);
}

.brand-driver-footer-preview {
    padding: 0 0 2.5rem;
    background: #f6f6f6;
}

.brand-driver-black-card {
    min-height: 112px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    padding: 1.2rem;
    color: #fff;
    background: #000;
    text-align: center;
    font-weight: 800;
}

.brand-driver-black-card i {
    color: #67e8f9;
    font-size: 2.2rem;
}

.brand-driver-mini-footer {
    background: #000;
    color: #fff;
    padding: 1rem 0;
}

.brand-driver-mini-footer .brand-driver-container {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.brand-driver-mini-footer a {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    color: #fff;
    font-weight: 800;
}

.brand-driver-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: none;
    place-items: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.72);
}

.brand-driver-modal.is-open {
    display: grid;
}

.brand-driver-modal-card {
    position: relative;
    width: min(560px, 94vw);
    min-height: auto;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    color: #111827;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
    padding: 1.4rem;
}

.brand-driver-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: #737373;
    cursor: pointer;
    font-size: 1.55rem;
    line-height: 1;
}

.brand-driver-modal-close:hover {
    color: #111827;
}

.brand-driver-modal-close i {
    display: none;
}

.brand-driver-modal-close::before,
.brand-driver-modal-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 2px;
    background: currentColor;
    transform-origin: center;
}

.brand-driver-modal-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.brand-driver-modal-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.brand-driver-modal-card h2 {
    font-family: 'Sora', sans-serif;
    margin-bottom: 0.8rem;
    padding-right: 2rem;
}

.brand-driver-modal-card p {
    color: #475569;
    margin-bottom: 0.75rem;
}

.brand-driver-modal-form {
    padding: 0;
}

.brand-driver-progress {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.9rem;
    margin: 1rem 0;
    background: #f8fbff;
    border: 1px solid #dbe3ef;
}

.brand-driver-modal-actions {
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.bdm-wifi-error-view {
    font-family: Arial, sans-serif;
    text-align: center;
    padding: 0 1rem 1.4rem;
}

.bdm-wifi-lead {
    max-width: 525px;
    margin: 0 auto 1.35rem;
    color: #5f6670;
    font-size: 1.22rem;
    line-height: 1.48;
    text-align: left;
}

.bdm-wifi-divider {
    width: min(522px, 100%);
    height: 1px;
    margin: 0 auto 1.5rem;
    background: #cfd4dc;
}

.bdm-wifi-visual {
    width: min(300px, 82vw);
    margin: 0 auto 0.45rem;
}

.bdm-wifi-visual svg {
    display: block;
    width: 100%;
    height: auto;
}

.bdm-wifi-error-title {
    margin: 0 0 0.25rem;
    color: #050505;
    font-family: Arial, sans-serif;
    font-size: 1.48rem;
    font-weight: 800;
    line-height: 1.2;
}

.bdm-wifi-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8.3rem;
    flex-wrap: wrap;
}

.bdm-wifi-button {
    min-height: 39px;
    padding: 0.55rem 1rem;
    border: 0;
    border-radius: 7px;
    background: #0d6efd;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-family: Arial, sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.bdm-wifi-button:hover {
    background: #0b5ed7;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(13, 110, 253, 0.22);
}

.bdm-detect-view {
    width: min(430px, 82vw);
    margin: 0 auto;
    padding: 4.4rem 0 2rem;
    font-family: Arial, sans-serif;
}

.bdm-detect-view h4 {
    margin: 0 0 2rem;
    color: #0d6efd;
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.15;
}

.bdm-detect-progress {
    height: 30px;
    position: relative;
    overflow: hidden;
    background: #f8f8f8;
}

.bdm-detect-progress-bar {
    position: absolute;
    top: 0;
    left: var(--detect-left, 0%);
    width: var(--detect-width, 38%);
    height: 100%;
    background: #0d6efd;
    transition: left 0.42s ease, width 0.42s ease;
}

.bdm-detect-status {
    min-height: 4rem;
    margin: 1.35rem 0 0;
    color: #5f6670;
    font-size: 1.35rem;
    line-height: 1.35;
}

.bdm-registry-error-view {
    width: min(430px, 82vw);
    margin: 0 auto;
    padding: 4.3rem 0 1rem;
    font-family: Arial, sans-serif;
    text-align: left;
}

.bdm-registry-icon {
    position: relative;
    width: 62px;
    height: 62px;
    color: #8a8a8a;
}

.bdm-registry-icon .ri-printer-line {
    font-size: 4rem;
    line-height: 1;
}

.bdm-registry-icon .ri-error-warning-fill {
    position: absolute;
    right: -6px;
    bottom: 2px;
    color: #ef4444;
    background: #fff;
    border-radius: 50%;
    font-size: 1.65rem;
    line-height: 1;
}

.bdm-registry-error-view h4 {
    margin: 0.15rem 0 0.4rem;
    color: #1f2933;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.15;
}

.bdm-registry-error-view h4 span {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.bdm-registry-error-view p {
    margin: 0 0 1.05rem;
    color: #666;
    font-size: 1.28rem;
    line-height: 1.35;
}

.bdm-registry-error-view strong {
    display: block;
    margin-bottom: 0.7rem;
    color: #0d6efd;
    font-size: 1.2rem;
    font-weight: 800;
}

.bdm-primary-action,
.bdm-support-form button,
.bdm-support-form a {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 6px;
    background: #0d6efd;
    color: #fff;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1;
}

.bdm-primary-action {
    gap: 0.3rem;
    padding: 0.72rem 1.05rem;
}

.bdm-primary-action:hover,
.bdm-support-form button:hover,
.bdm-support-form a:hover {
    background: #0b5ed7;
    color: #fff;
}

.bdm-support-view {
    padding: 0.2rem 1rem 0.4rem;
    font-family: Arial, sans-serif;
    text-align: left;
}

.bdm-support-view h3 {
    margin: 0 0 1.05rem;
    color: #24292f;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
}

.bdm-support-view > strong {
    display: block;
    margin-bottom: 0.95rem;
    color: #000;
    font-size: 1.05rem;
    font-weight: 800;
}

.bdm-support-view > p {
    margin: 0;
    color: #333;
    font-size: 1rem;
    line-height: 1.42;
}

.bdm-support-divider {
    height: 1px;
    margin: 0.78rem 0 0.9rem;
    background: #d4d7dc;
}

.bdm-support-form {
    display: grid;
    gap: 0.32rem;
}

.bdm-support-form label {
    display: grid;
    gap: 0.22rem;
    color: #333;
    font-size: 1.06rem;
}

.bdm-support-form input {
    width: 100%;
    min-height: 40px;
    border: 1px solid #d8dde5;
    border-radius: 7px;
    padding: 0.55rem 0.8rem;
    color: #111827;
    font: inherit;
}

.bdm-support-form button {
    width: 113px;
    margin-top: 0.68rem;
}

.bdm-support-form a {
    width: 144px;
    text-decoration: none;
}

@media (max-width: 980px) {
    .brand-driver-nav-inner {
        grid-template-columns: auto auto;
        justify-content: space-between;
        padding: 0.8rem 0;
    }

    .brand-driver-menu {
        display: none;
    }

    .brand-driver-logo img {
        max-height: 42px;
    }

    .brand-driver-call {
        font-size: 0.85rem;
        padding: 0.45rem 0.8rem;
        white-space: nowrap;
    }

    .brand-driver-hero {
        padding: 3.5rem 0;
    }

    .brand-driver-hero-grid,
    .brand-driver-form-grid {
        grid-template-columns: 1fr;
    }

    .brand-driver-hero-art {
        display: none;
    }

    .brand-driver-form-panel {
        padding-right: 0;
    }
}

@media (max-width: 620px) {


    .brand-driver-form {
        padding: 1rem 0;
    }

    .brand-driver-install-btn,
    .brand-driver-download-btn,
    .brand-driver-outline-btn,
    .brand-driver-modal-actions a {
        width: 100%;
    }

    .brand-driver-loading {
        flex-wrap: wrap;
    }

    .brand-driver-model-image img {
        height: 190px;
    }
}

/* ═══════════════════════════════════════════════
   BDM — Brand Driver Modal (Animated Loading UI)
═══════════════════════════════════════════════ */

/* Modal card wider for loading view */
.brand-driver-modal-card {
    width: min(600px, 96vw);
    max-height: 90vh;
}

/* ── Header ── */
.bdm-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f1f5f9;
    margin-bottom: 1.2rem;
}

.bdm-header-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--brand-color, #0096d6);
    color: #fff;
    font-size: 1.5rem;
}

.bdm-header h2 {
    font-family: 'Sora', sans-serif;
    font-size: 1.18rem;
    margin: 0 0 0.25rem;
    padding-right: 2rem;
}

.bdm-subtitle {
    color: #64748b;
    font-size: 0.84rem;
    margin: 0;
}

/* ── Progress Bar ── */
.bdm-progress-bar-wrap {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 0.55rem;
}

.bdm-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--brand-color, #0096d6), #38bdf8);
    border-radius: 99px;
    transition: width 0.6s ease;
}

.bdm-progress-label {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 1.2rem;
    font-style: italic;
}

/* ── Steps List ── */
.bdm-steps {
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.bdm-step {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    transition: background 0.3s, border-color 0.3s;
}

.bdm-step-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.1rem;
    transition: background 0.3s, color 0.3s;
}

.bdm-step-icon.pending {
    background: #e2e8f0;
    color: #94a3b8;
}

.bdm-step-icon.active {
    background: rgba(0, 150, 214, 0.12);
    color: var(--brand-color, #0096d6);
    animation: bdmPulse 1s ease infinite;
}

.bdm-step-icon.done {
    background: #dcfce7;
    color: #16a34a;
}

@keyframes bdmPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 150, 214, 0.3); }
    50%       { box-shadow: 0 0 0 6px rgba(0, 150, 214, 0); }
}

.bdm-step-text {
    flex: 1;
}

.bdm-step-text strong {
    display: block;
    font-size: 0.88rem;
    color: #1e293b;
    margin-bottom: 0.1rem;
}

.bdm-step-text span {
    font-size: 0.75rem;
    color: #94a3b8;
}

.bdm-step.active-step {
    background: #f0f9ff;
    border-color: var(--brand-color, #0096d6);
}

.bdm-step-status {
    flex-shrink: 0;
    font-size: 1.1rem;
}

/* Small spinner inside step status */
.bdm-step-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #dbe3ef;
    border-top-color: var(--brand-color, #0096d6);
    border-radius: 50%;
    animation: bdmSpin 0.8s linear infinite;
}

@keyframes bdmSpin {
    to { transform: rotate(360deg); }
}

.bdm-check {
    color: #16a34a;
}

/* ── Result / Success Panel ── */
.bdm-result-wrap {
    animation: bdmFadeIn 0.4s ease;
}

@keyframes bdmFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.bdm-success-banner {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 1.1rem;
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    border-radius: 10px;
    margin-bottom: 1.1rem;
}

.bdm-success-banner i {
    font-size: 2rem;
    color: #16a34a;
    flex-shrink: 0;
}

.bdm-success-banner strong {
    display: block;
    font-size: 1rem;
    color: #15803d;
    margin-bottom: 0.15rem;
}

.bdm-success-banner span {
    font-size: 0.82rem;
    color: #4ade80;
    color: #166534;
}

/* ── Driver Info Grid ── */
.bdm-driver-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    margin-bottom: 1.2rem;
}

.bdm-info-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.8rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.82rem;
}

.bdm-info-row i {
    color: var(--brand-color, #0096d6);
    font-size: 1rem;
    flex-shrink: 0;
}

.bdm-info-row span {
    color: #64748b;
    white-space: nowrap;
}

.bdm-info-row strong {
    color: #1e293b;
    margin-left: auto;
    text-align: right;
    font-size: 0.8rem;
}

/* ── Action Buttons ── */
.bdm-actions {
    display: grid;
    gap: 0.7rem;
    margin-bottom: 1rem;
}

.bdm-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 46px;
    padding: 0.7rem 1.2rem;
    background: var(--brand-color, #0096d6);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    border-radius: 8px;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.bdm-btn-primary:hover {
    background: #005f99;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 150, 214, 0.3);
}

.bdm-btn-secondary,
.bdm-btn-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 42px;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: background 0.2s, box-shadow 0.2s;
}

.bdm-btn-secondary {
    background: #1e293b;
    color: #fff;
}

.bdm-btn-secondary:hover {
    background: #0f172a;
    color: #fff;
}

.bdm-btn-call {
    background: #16a34a;
    color: #fff;
}

.bdm-btn-call:hover {
    background: #15803d;
    color: #fff;
}

.bdm-reset-link {
    text-align: center;
    margin: 0;
}

.bdm-reset-link a {
    color: #94a3b8;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.2s;
}

.bdm-reset-link a:hover {
    color: var(--brand-color, #0096d6);
}

/* Quick form in modal */
.bdm-quick-form {
    display: grid;
    gap: 0.9rem;
}

/* ── New 5-Step Modal Views ── */
.bdm-view {
    animation: bdmFadeIn 0.3s ease;
}

@keyframes spinWheel {
    to { transform: rotate(360deg); }
}
.bdm-spin-icon {
    display: inline-block;
    animation: spinWheel 1s linear infinite;
}

.bdm-btn-blue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #0d6efd; /* matching screenshot blue */
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s, transform 0.2s;
}

.bdm-btn-blue:hover {
    background-color: #0b5ed7;
    transform: translateY(-2px);
}

.bdm-btn-blue i {
    font-size: 1.2rem;
}

.bdm-connection-option:hover {
    background-color: #f8fafc;
    border-radius: 8px;
}

/* ── Responsive ── */
@media (max-width: 540px) {
    .bdm-driver-info {
        grid-template-columns: 1fr;
    }
    .bdm-header {
        flex-direction: column;
        gap: 0.6rem;
    }
    .bdm-connection-option {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .bdm-connection-option > div {
        width: 100% !important;
    }
}
