:root {
    --bg: #fff7ef;
    --paper: #ffffff;
    --ink: #171717;
    --muted: #66645f;
    --line: #ead7c4;
    --dark: #0d0d0d;
    --dark-2: #181818;
    --accent: #ff7a00;
    --accent-dark: #d85f00;
    --green: #5d3a18;
    --danger: #b42318;
    --success: #157347;
    --shadow: 0 18px 45px rgba(0,0,0,.13);
    --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(8,8,8,.98);
    color: #fff;
    border-bottom: 3px solid var(--accent);
    box-shadow: 0 10px 28px rgba(0,0,0,.28);
}
.topbar .container {
    width: min(1280px, calc(100% - 44px));
}
.topbar-inner {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 320px;
}
.brand-logo-img {
    width: 92px;
    height: 70px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 8px 14px rgba(0,0,0,.28));
}
.brand-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.12;
    white-space: nowrap;
}
.brand-copy strong {
    color: #ffffff;
    font-size: 21px;
    font-weight: 1000;
    letter-spacing: -.03em;
}
.brand-copy small {
    margin-top: 5px;
    color: #f1d8c0;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: #f7f7f7; font-weight: 900; font-size: 16px; letter-spacing: .01em; position: relative; }
.nav a:hover, .nav a.active { color: var(--accent); }
.nav a.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -11px;
    height: 3px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 18px rgba(255,122,0,.45);
}
.nav .nav-btn.active::after { display: none; }
.nav .nav-btn.active {
    background: #ff8b1f;
    color: #111 !important;
}
.nav-btn {
    background: var(--accent);
    color: #111 !important;
    padding: 11px 22px;
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(255,122,0,.22);
}
.nav-btn:hover { background: #ff9a32; }
.menu-toggle { display: none; background: none; color: #fff; border: 0; font-size: 28px; }
.hero {
    min-height: 680px;
    background:
        radial-gradient(circle at 15% 30%, rgba(244,176,0,.22), transparent 28%),
        linear-gradient(135deg, #111 0%, #26211a 48%, #5b4825 100%);
    color: #fff;
    display: flex;
    align-items: center;
    padding: 70px 0;
}
.hero-grid { display: grid; grid-template-columns: 1fr .92fr; gap: 50px; align-items: center; }
.eyebrow {
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: .13em;
    font-size: 12px;
    color: var(--accent);
    font-weight: 900;
}
h1, h2, h3 { line-height: 1.08; margin: 0 0 14px; }
h1 { font-size: clamp(42px, 7vw, 78px); letter-spacing: -2px; }
h2 { font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: 22px; }
.hero-text { max-width: 570px; font-size: 18px; color: #e8e2d8; }
.hero-actions { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 20px;
    border: 0;
    border-radius: 999px;
    font-weight: 900;
    cursor: pointer;
    transition: .2s ease;
}
.btn.primary { background: var(--accent); color: #111; }
.btn.primary:hover { background: #ff9a32; transform: translateY(-2px); }
.btn.ghost { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); color: #fff; }
.btn.ghost.dark { background: #fff; color: #111; border-color: var(--line); }
.small-btn { min-height: 36px; padding: 8px 14px; font-size: 13px; }
.hero-card {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.vehicle-visual {
    height: 370px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #b9d4db 0%, #f9d28a 55%, #8c6935 100%);
}
.sun { position: absolute; top: 42px; right: 60px; width: 80px; height: 80px; background: #f9bd3a; border-radius: 50%; }
.mountain { position: absolute; bottom: 75px; width: 420px; height: 220px; background: #544a35; transform: rotate(45deg); border-radius: 26px; }
.mountain.one { left: -80px; }
.mountain.two { right: -120px; background: #77633e; }
.truck { position: absolute; left: 50%; bottom: 50px; transform: translateX(-50%); width: 330px; height: 120px; }
.truck .body { position: absolute; bottom: 25px; left: 18px; width: 294px; height: 72px; background: #141414; border-radius: 18px 22px 10px 10px; box-shadow: inset 80px 0 0 #282828; }
.truck .rack { position: absolute; top: 8px; left: 80px; width: 160px; height: 28px; border: 8px solid #111; border-bottom: 0; border-radius: 8px 8px 0 0; z-index: 2; }
.truck .wheel { position: absolute; bottom: 2px; width: 58px; height: 58px; background: #090909; border: 10px solid #3b3b3b; border-radius: 50%; z-index: 3; }
.truck .wheel.left { left: 48px; }
.truck .wheel.right { right: 52px; }
.hero-card-footer { padding: 24px; display: flex; flex-direction: column; gap: 2px; }
.hero-card-footer span { color: #ddd; }
.section { padding: 72px 0; }
.section-heading { margin-bottom: 28px; max-width: 760px; }
.section-heading.light h2, .section-heading.light p { color: #fff; }
.category-grid, .product-grid, .build-grid { display: grid; gap: 20px; }
.category-grid { grid-template-columns: repeat(4, 1fr); }
.category-card {
    min-height: 190px;
    padding: 24px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 12px 30px rgba(0,0,0,.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: .2s ease;
}
.category-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.category-icon { font-size: 32px; }
.category-card small { color: var(--muted); }
.build-section { background: #151515; color: #fff; }
.build-grid { grid-template-columns: repeat(3, 1fr); }
.build-card {
    min-height: 230px;
    border-radius: var(--radius);
    padding: 24px;
    background: linear-gradient(145deg, #242424, #121212);
    border: 1px solid rgba(255,255,255,.09);
}
.mini-truck { height: 72px; margin-bottom: 22px; border-radius: 14px; background: linear-gradient(90deg, #565656, #1f1f1f); position: relative; }
.mini-truck:before, .mini-truck:after { content: ''; position: absolute; bottom: -12px; width: 30px; height: 30px; border-radius: 50%; background: #090909; border: 6px solid #555; }
.mini-truck:before { left: 35px; }
.mini-truck:after { right: 35px; }
.text-link { color: var(--accent); font-weight: 900; }
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.feature-panel {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 38px;
    min-height: 300px;
}
.dark-panel { background: #111; color: #fff; }
.newsletter { background: #ffe7d3; padding: 55px 0; }
.newsletter-inner { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.newsletter-form { display: flex; gap: 10px; background: #fff; padding: 8px; border-radius: 999px; width: min(520px, 100%); }
.newsletter-form input { flex: 1; border: 0; padding: 0 16px; outline: none; }
.footer { background: #111; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.25fr 1.15fr; gap: 34px; padding: 55px 0; }
.footer h3, .footer h4 { color: #fff; }
.footer a { display: inline-block; color: #ddd; margin: 6px 0; }
.footer a:hover { color: var(--accent); }
.footer p { color: #d3d3d3; margin: 8px 0; }
.footer-about strong { color: var(--accent); }
.footer-address { line-height: 1.7; }
.footer-rating { display: inline-block; margin-top: 12px; padding: 7px 12px; border-radius: 999px; background: rgba(255,122,0,.16); color: #ffb36b !important; font-weight: 900; font-size: 13px; }
.footer-social a { display: block; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); text-align: center; padding: 18px; color: #aaa; }
.page-hero.small { background: linear-gradient(135deg, #0a0a0a, #2c1300 60%, #5b2500); color: #fff; padding: 74px 0; }
.filter-bar {
    display: grid;
    grid-template-columns: 1fr 240px auto auto;
    gap: 12px;
    margin-bottom: 28px;
    background: #fff;
    padding: 16px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
}
input, select, textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 13px 14px;
    font: inherit;
    background: #fff;
}
label { display: block; margin: 14px 0 6px; font-weight: 900; }
.product-grid { grid-template-columns: repeat(3, 1fr); }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 12px 30px rgba(0,0,0,.05); }
.product-art { height: 210px; display: grid; place-items: center; color: #111; font-weight: 900; }
.sketch-placeholder {
    display: grid;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(180deg, #f8f3ec 0%, #f1e9de 100%);
}
.sketch-card-simple {
    width: min(74%, 260px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}
.sketch-card-large-simple {
    width: min(78%, 460px);
}
.sketch-image-frame {
    position: relative;
    width: 100%;
    height: 128px;
    border: 2.5px solid #1a1a1a;
    border-radius: 14px;
    background: repeating-linear-gradient(
        -8deg,
        rgba(0,0,0,.02) 0 10px,
        transparent 10px 22px
    ), #fffdf9;
    overflow: hidden;
}
.sketch-image-frame.large {
    height: 260px;
}
.sketch-image-frame::before {
    content: 'image sketch';
    position: absolute;
    left: 14px;
    top: 12px;
    color: rgba(26,26,26,.55);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.sketch-cross {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 50%;
    height: 2.5px;
    background: #1a1a1a;
    transform-origin: center;
}
.sketch-cross.left { transform: rotate(24deg); }
.sketch-cross.right { transform: rotate(-24deg); }
.sketch-dot {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 10px;
    height: 10px;
    border: 2px solid #1a1a1a;
    border-radius: 50%;
    background: #fffdf9;
}
.sketch-line {
    position: absolute;
    left: 16px;
    right: 16px;
    height: 2.5px;
    background: rgba(26,26,26,.75);
    border-radius: 999px;
}
.sketch-line.one { bottom: 24px; }
.sketch-line.two { bottom: 14px; width: 62%; right: auto; }
.sketch-line.three { bottom: 4px; width: 42%; right: auto; }
.product-content { padding: 20px; }
.product-content small { color: var(--muted); font-weight: 900; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; }
.product-meta a { color: var(--accent-dark); font-weight: 900; }
.empty { background: #fff; padding: 20px; border-radius: var(--radius); }
.product-detail { display: grid; grid-template-columns: .9fr 1.1fr; gap: 38px; align-items: start; }
.product-visual-large { min-height: 450px; display: grid; place-items: center; border-radius: 30px; color: #111; font-weight: 900; box-shadow: var(--shadow); }
.product-visual-large .placeholder-box.large { width: min(78%, 420px); padding: 34px; }
.product-visual-large .placeholder-badge { font-size: 42px; min-width: 130px; padding: 16px 24px; }
.product-visual-large .placeholder-box strong { font-size: 28px; }
.product-visual-large .placeholder-box small { font-size: 14px; line-height: 1.5; }
.detail-content { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 34px; }
.feature-list { padding-left: 20px; }
.price-box { margin: 24px 0; padding: 18px; border-radius: 18px; background: #fff0e2; display: flex; justify-content: space-between; align-items: center; }
.price-box strong { font-size: 24px; }
.form-wrap { display: flex; justify-content: center; }
.card-form, .panel {
    width: min(720px, 100%);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 12px 30px rgba(0,0,0,.05);
}
.card-form.compact { width: min(480px, 100%); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hidden { display: none; }
.note, .form-note { color: var(--muted); font-size: 14px; }
.alert { margin-top: 16px; padding: 14px 18px; border-radius: 14px; font-weight: 700; }
.alert.success { background: #e8f7ef; color: var(--success); }
.alert.error { background: #fdebea; color: var(--danger); }
.dashboard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.stat-card { background: #111; color: #fff; border-radius: 24px; padding: 28px; }
.stat-card strong { display: block; font-size: 42px; line-height: 1; color: var(--accent); }
.stat-card span { color: #ddd; }
.panel.wide { width: 100%; grid-column: 1 / -1; }
.panel-heading { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; margin-top: 16px; }
th, td { text-align: left; border-bottom: 1px solid var(--line); padding: 13px; vertical-align: top; }
th { background: #fff0e2; }
.status { display: inline-block; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 900; }
.status.active { background: #e8f7ef; color: var(--success); }
.status.pending { background: #ffe6cb; color: #a44600; }
.status.rejected { background: #fdebea; color: var(--danger); }
.inline-form { display: flex; gap: 6px; flex-wrap: wrap; }
.mini-btn { border: 0; border-radius: 999px; padding: 7px 11px; cursor: pointer; font-weight: 900; }
.mini-btn.approve { background: #e8f7ef; color: var(--success); }
.mini-btn.reject { background: #fdebea; color: var(--danger); }
.stack-form .btn { margin-top: 18px; }
.store-box { display: grid; gap: 7px; margin-top: 22px; padding: 20px; background: rgba(255,255,255,.1); border-radius: 18px; }

/* Home page auto slideshow */
.hero-with-slideshow {
    min-height: 720px;
}
.hero-slider {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,.20);
    background: #080808;
    min-height: 420px;
}
.slides {
    position: relative;
    height: 420px;
    overflow: hidden;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(24px) scale(1.02);
    transition: opacity .8s ease, transform .8s ease;
    background: #080808;
}
.hero-slide.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    z-index: 1;
}
.hero-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #080808;
}
.slider-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    padding: 28px 95px 28px 28px;
    color: #fff;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,.88));
}
.slider-caption strong {
    display: block;
    font-size: 20px;
    margin-bottom: 4px;
}
.slider-caption span {
    color: #eeeeee;
}
.slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.88);
    color: #111;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    transition: .2s ease;
}
.slider-arrow:hover {
    background: var(--accent);
}
.slider-arrow.prev { left: 16px; }
.slider-arrow.next { right: 16px; }
.slider-dots {
    position: absolute;
    right: 26px;
    bottom: 28px;
    z-index: 6;
    display: flex;
    gap: 8px;
}
.slider-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.55);
    cursor: pointer;
    padding: 0;
}
.slider-dot.active {
    width: 26px;
    border-radius: 999px;
    background: var(--accent);
}


@media (max-width: 720px) {
    .topbar .container { width: min(100% - 24px, 1680px); }
    .topbar-inner { min-height: 88px; gap: 14px; }
    .brand { min-width: 0; gap: 10px; }
    .brand-logo-img { width: 70px; height: 58px; }
    .nav { top: 88px; }
}

@media (max-width: 900px) {
    .hero-grid, .split-section, .product-detail, .newsletter-inner { grid-template-columns: 1fr; flex-direction: column; }
    .hero-slider { min-height: 360px; }
    .slides { height: 360px; }
    .category-grid, .build-grid, .product-grid, .dashboard-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
    .filter-bar { grid-template-columns: 1fr; }
    .nav { display: none; position: absolute; top: 92px; left: 0; right: 0; background: #111; padding: 18px; flex-direction: column; align-items: flex-start; }
    .nav.open { display: flex; }
    .menu-toggle { display: block; }
}
@media (max-width: 560px) {
    .container { width: min(100% - 24px, 1180px); }
    .category-grid, .build-grid, .product-grid, .dashboard-grid, .two-col, .footer-grid { grid-template-columns: 1fr; }
    .hero { min-height: auto; }
    .hero-slider { min-height: 260px; border-radius: 22px; }
    .slides { height: 260px; }
    .slider-caption { padding: 22px 22px 50px; }
    .slider-caption strong { font-size: 17px; }
    .slider-arrow { width: 34px; height: 34px; font-size: 24px; }
    .slider-dots { left: 22px; right: auto; bottom: 18px; }
    .vehicle-visual { height: 280px; }
    .truck { transform: translateX(-50%) scale(.75); }
    .newsletter-form { flex-direction: column; border-radius: 20px; }
}

/* Full-width home hero slideshow update */
.hero.hero-full-slider {
    display: block;
    min-height: calc(100vh - 92px);
    padding: 0;
    background: #111;
    color: #fff;
}
.hero-slider.hero-slider-full {
    width: 100%;
    min-height: calc(100vh - 92px);
    border-radius: 0;
    border: 0;
    box-shadow: none;
    overflow: hidden;
}
.hero-full-slides {
    height: calc(100vh - 92px);
    min-height: 560px;
}
.hero-slider-full .hero-slide img {
    object-fit: cover;
    object-position: center center;
    background: #111;
}
.hero-shade {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(90deg, rgba(0,0,0,.74) 0%, rgba(0,0,0,.46) 42%, rgba(0,0,0,.16) 100%),
        linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.32) 100%);
    pointer-events: none;
}
.hero-full-content {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 4;
    transform: translate(-50%, -50%);
    color: #fff;
}
.hero-full-content h1 {
    max-width: 780px;
    text-shadow: 0 8px 24px rgba(0,0,0,.55);
}
.hero-full-content .hero-text {
    max-width: 650px;
    color: #f2eee8;
    text-shadow: 0 3px 14px rgba(0,0,0,.55);
}
.hero-slider-full .slider-arrow {
    background: rgba(255,255,255,.92);
}
.hero-slider-full .slider-arrow.prev { left: 28px; }
.hero-slider-full .slider-arrow.next { right: 28px; }
.hero-slider-full .slider-dots {
    left: 50%;
    right: auto;
    bottom: 34px;
    transform: translateX(-50%);
    background: rgba(0,0,0,.35);
    padding: 8px 12px;
    border-radius: 999px;
    backdrop-filter: blur(8px);
}
.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}
.rating-pill {
    display: inline-block;
    margin-top: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,122,0,.16);
    color: #9b3f00;
    font-weight: 900;
}
.rating-pill.light {
    background: rgba(255,122,0,.18);
    color: #ffb36b;
}
.page-intro {
    max-width: 720px;
    color: #e7e0d5;
    font-size: 18px;
}
.about-page-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 22px;
}
.about-contact-strip a,
.social-list a {
    color: var(--accent-dark);
    font-weight: 900;
}
.dark-panel .social-list a,
.dark-panel a {
    color: var(--accent);
}
.social-list {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}
.social-list a {
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px;
    background: rgba(255,255,255,.06);
}

@media (max-width: 900px) {
    .hero-full-slides,
    .hero-slider.hero-slider-full {
        min-height: 620px;
        height: 620px;
    }
    .hero-full-content {
        top: 52%;
    }
    .hero-full-content h1 {
        font-size: clamp(42px, 11vw, 66px);
    }
    .about-preview,
    .about-page-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 560px) {
    .hero-full-slides,
    .hero-slider.hero-slider-full {
        min-height: 560px;
        height: 560px;
    }
    .hero-shade {
        background: linear-gradient(180deg, rgba(0,0,0,.68) 0%, rgba(0,0,0,.72) 100%);
    }
    .hero-full-content {
        top: 50%;
    }
    .hero-slider-full .slider-arrow.prev { left: 12px; }
    .hero-slider-full .slider-arrow.next { right: 12px; }
    .hero-slider-full .slider-dots {
        bottom: 22px;
    }
}

/* Solar Shield orange-black brand refinement */
.hero-full-content .eyebrow,
.page-hero .eyebrow,
.section .eyebrow { color: var(--accent); }
.btn.primary { background: linear-gradient(135deg, #ff7a00, #ff9a32); }
.btn.primary:hover { background: linear-gradient(135deg, #ff8c1a, #ffb15a); }
.footer { background: #080808; border-top: 3px solid var(--accent); }
.footer-about strong { color: var(--accent); }
@media (max-width: 1100px) {
    .brand { min-width: 310px; }
    .brand-logo-img { width: 80px; height: 68px; }
    .nav { gap: 18px; }
    .nav a { font-size: 15px; }
}
@media (max-width: 720px) {
    .brand { max-width: 76vw; }
    .brand-text small { white-space: normal; }
}

#find-us { scroll-margin-top: 120px; }

/* K4WD logo-only header refinement */
@media (max-width: 1100px) {
    .brand { min-width: 145px; }
    .brand-logo-img { width: 132px; height: 78px; }
}
@media (max-width: 720px) {
    .brand { min-width: 120px; max-width: 42vw; }
    .brand-logo-img { width: 118px; height: 70px; }
}

/* About Us ARB-style wide banner */
.about-story-section {
    padding: 48px 0 62px;
    background: var(--bg);
}
.about-story-wrap {
    position: relative;
    width: min(1180px, calc(100% - 80px));
    margin: 0 auto;
}
.about-story-image {
    display: block;
    width: 100%;
    height: clamp(220px, 22vw, 320px);
    object-fit: cover;
    object-position: center center;
    border-radius: 0;
    box-shadow: none;
    background: #111;
}
.about-story-title {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    min-width: 245px;
    padding: 20px 30px 22px 0;
    background: var(--bg);
    color: #050505;
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1;
    font-weight: 1000;
    letter-spacing: -1.2px;
    text-transform: uppercase;
}
@media (max-width: 900px) {
    .about-story-section { padding: 36px 0 48px; }
    .about-story-wrap { width: min(100% - 28px, 1680px); }
    .about-story-image { height: 220px; }
    .about-story-title { min-width: 240px; padding: 20px 26px 20px 0; }
}
@media (max-width: 560px) {
    .about-story-image { height: 220px; }
    .about-story-title {
        min-width: auto;
        padding: 14px 18px 16px 0;
        font-size: 30px;
    }
}


/* Default-size refinement */
.topbar-inner { min-height: 92px; }
.brand { min-width: 320px; gap: 14px; }
.brand-logo-img { width: 92px; height: 70px; }
.brand-copy strong { font-size: 21px; }
.brand-copy small { font-size: 11px; }
.nav { gap: 24px; }
.nav a { font-size: 16px; }
.about-story-section { padding: 48px 0 62px; }
.about-story-wrap { width: min(1180px, calc(100% - 80px)); }
.about-story-image { height: clamp(220px, 22vw, 320px); }
.about-story-title { min-width: 245px; padding: 20px 30px 22px 0; font-size: clamp(28px, 3.2vw, 42px); }
@media (max-width: 900px) {
    .topbar-inner { min-height: 86px; }
    .brand { min-width: 0; }
    .brand-logo-img { width: 74px; height: 58px; }
    .brand-copy strong { font-size: 18px; }
    .brand-copy small { font-size: 10px; }
    .nav { top: 86px; }
    .about-story-wrap { width: min(100% - 28px, 1180px); }
    .about-story-image { height: 250px; }
    .about-story-title { min-width: 210px; padding: 16px 22px 18px 0; }
}
@media (max-width: 560px) {
    .brand-copy { display: none; }
    .brand-logo-img { width: 68px; height: 54px; }
    .about-story-image { height: 210px; }
    .about-story-title { font-size: 26px; min-width: auto; padding: 12px 16px 14px 0; }
}


/* About Us clean title update */
.about-story-clean .about-story-wrap {
    width: min(1180px, calc(100% - 80px));
}
.about-story-heading {
    margin: 0 0 18px;
    color: #080808;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1;
    font-weight: 1000;
    letter-spacing: -1px;
    text-transform: uppercase;
}
.about-story-clean .about-story-image {
    width: 100%;
    height: clamp(220px, 22vw, 320px);
    object-fit: cover;
    object-position: center center;
    border-radius: 0;
    box-shadow: none;
}
.about-content-space {
    min-height: 90px;
}
@media (max-width: 900px) {
    .about-story-clean .about-story-wrap { width: min(100% - 28px, 1180px); }
    .about-story-heading { font-size: 34px; margin-bottom: 14px; }
    .about-story-clean .about-story-image { height: 240px; }
}
@media (max-width: 560px) {
    .about-story-heading { font-size: 28px; }
    .about-story-clean .about-story-image { height: 200px; }
}

/* Balanced size refinement: smaller navigation and shorter homepage slideshow */
.nav { gap: 22px; }
.nav a {
    font-size: 15px;
    font-weight: 800;
}
.nav-btn {
    padding: 12px 22px;
    font-size: 16px !important;
}
.hero.hero-full-slider,
.hero-slider.hero-slider-full,
.hero-full-slides {
    min-height: 540px;
    height: 540px;
}
.hero-full-content {
    top: 52%;
}
.hero-full-content h1 {
    max-width: 680px;
    font-size: clamp(36px, 4.8vw, 58px);
    letter-spacing: -1.5px;
}
.hero-full-content .hero-text {
    max-width: 620px;
    font-size: 16px;
}
.hero-actions {
    margin-top: 22px;
}
.about-story-section {
    padding: 42px 0 58px;
}
.about-story-heading {
    font-size: clamp(28px, 3vw, 38px);
    margin-bottom: 16px;
}

@media (max-width: 900px) {
    .nav a { font-size: 15px; }
    .hero.hero-full-slider,
    .hero-slider.hero-slider-full,
    .hero-full-slides {
        min-height: 500px;
        height: 500px;
    }
    .hero-full-content h1 {
        font-size: clamp(34px, 8vw, 50px);
    }
    .hero-full-content .hero-text {
        font-size: 15px;
    }
}

@media (max-width: 560px) {
    .hero.hero-full-slider,
    .hero-slider.hero-slider-full,
    .hero-full-slides {
        min-height: 430px;
        height: 430px;
    }
    .hero-full-content h1 {
        font-size: 34px;
    }
    .hero-full-content .hero-text {
        font-size: 14px;
    }
    .about-story-heading {
        font-size: 26px;
    }
}


/* Final navbar size adjustment */
.nav { gap: 20px; }
.nav a:not(.nav-btn) {
    font-size: 14px;
    font-weight: 800;
}
.nav-btn {
    font-size: 15px !important;
    padding: 11px 21px;
}

@media (max-width: 900px) {
    .nav a:not(.nav-btn) { font-size: 14px; }
}

/* Product page image banner update */
.product-page-hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.50) 45%, rgba(0,0,0,.22) 100%),
        url('../images/products/product-page-banner.png') center center / cover no-repeat !important;
}
.product-page-hero .container {
    position: relative;
    z-index: 2;
}


/* Consistent page banner refinement */
.page-hero.small {
    min-height: 360px;
    display: flex;
    align-items: center;
    padding: 64px 0;
}
.page-hero.small h1 {
    font-size: clamp(34px, 4.8vw, 58px);
    letter-spacing: -1.2px;
}
.page-hero.small p:not(.eyebrow) {
    max-width: 620px;
    font-size: 16px;
}
.about-page-hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(0,0,0,.76) 0%, rgba(0,0,0,.52) 46%, rgba(0,0,0,.18) 100%),
        url('../images/about/k4wd-about-banner.png') center center / cover no-repeat !important;
}
.about-page-hero .container {
    position: relative;
    z-index: 2;
}
.product-page-hero {
    background:
        linear-gradient(90deg, rgba(0,0,0,.76) 0%, rgba(0,0,0,.52) 46%, rgba(0,0,0,.18) 100%),
        url('../images/products/product-page-banner.png') center center / cover no-repeat !important;
}
.about-content-space {
    min-height: 220px;
}

/* Keep important vehicles visible in banner/slideshow images */
.hero-slider-full .hero-slide img {
    object-position: center center;
}
.product-page-hero,
.about-page-hero {
    background-position: center center !important;
}

@media (max-width: 900px) {
    .page-hero.small {
        min-height: 320px;
        padding: 54px 0;
    }
    .page-hero.small h1 {
        font-size: clamp(32px, 8vw, 48px);
    }
}
@media (max-width: 560px) {
    .page-hero.small {
        min-height: 280px;
        padding: 44px 0;
    }
    .page-hero.small p:not(.eyebrow) {
        font-size: 14px;
    }
}


/* About Us listing content */
.about-details-section {
    padding-top: 70px;
}
.about-details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
.about-info-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 34px;
    box-shadow: 0 14px 34px rgba(0,0,0,.06);
}
.about-info-card h2 {
    margin-bottom: 16px;
    font-size: clamp(26px, 3vw, 38px);
}
.about-info-card p {
    color: #2d2d2d;
}
.about-main-card {
    grid-row: span 2;
}
.about-check-list {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}
.about-check-list li {
    position: relative;
    padding-left: 28px;
    font-weight: 800;
}
.about-check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: 1000;
}
.dark-card {
    background: #0d0d0d;
    color: #fff;
    border-color: rgba(255,122,0,.35);
}
.dark-card p,
.dark-card .contact-lines p {
    color: #e7e7e7;
}
.contact-lines {
    display: grid;
    gap: 12px;
}
.contact-lines p {
    margin: 0;
    color: #2d2d2d;
}
.contact-lines strong {
    color: var(--accent-dark);
}
.dark-card .contact-lines strong {
    color: var(--accent);
}
.about-info-card a {
    color: var(--accent-dark);
    font-weight: 900;
}

@media (max-width: 900px) {
    .about-details-grid {
        grid-template-columns: 1fr;
    }
    .about-main-card {
        grid-row: auto;
    }
}


/* Cleaner About Us layout - less card-box heavy */
.about-modern-section {
    padding-top: 72px;
}
.about-modern-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 72px;
    align-items: start;
    margin-bottom: 58px;
}
.about-modern-intro,
.about-modern-services {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}
.about-modern-intro h2,
.about-modern-services h2 {
    font-size: clamp(30px, 3vw, 46px);
    letter-spacing: -1.2px;
    margin-bottom: 22px;
}
.about-modern-intro p,
.about-modern-services p {
    font-size: 17px;
    line-height: 1.8;
    color: #2a2a2a;
}
.about-check-list.clean-list {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 16px;
}
.about-check-list.clean-list li {
    list-style: none;
    display: grid;
    grid-template-columns: 28px 1fr;
    align-items: start;
    font-size: 18px;
    font-weight: 800;
    color: #111;
}
.about-check-list.clean-list li::before {
    content: '✓';
    color: var(--accent);
    font-size: 20px;
    line-height: 1.2;
}
.about-contact-band {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 28px;
    padding: 34px;
    border-radius: 30px;
    background: #0d0d0d;
    color: #fff;
    border-top: 4px solid var(--accent);
    box-shadow: var(--shadow);
}
.about-contact-band h3 {
    color: #fff;
    margin-bottom: 12px;
    font-size: 24px;
}
.about-contact-band p {
    color: #e6e6e6;
    margin: 7px 0;
    line-height: 1.65;
}
.about-contact-band a {
    color: var(--accent);
    font-weight: 900;
}
.small-muted {
    color: #bdbdbd !important;
    font-size: 14px;
}

@media (max-width: 900px) {
    .about-modern-grid,
    .about-contact-band {
        grid-template-columns: 1fr;
    }
    .about-modern-grid {
        gap: 34px;
    }
    .about-contact-band {
        padding: 26px;
        border-radius: 22px;
    }
}


/* Final readability refinement: lighter navigation and single-line service list */
.nav a:not(.nav-btn) {
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0;
}
.nav .nav-btn {
    font-size: 15px !important;
    font-weight: 600 !important;
}
.about-check-list.clean-list {
    gap: 14px;
}
.about-check-list.clean-list li {
    display: flex !important;
    align-items: flex-start;
    gap: 12px;
    padding-left: 0 !important;
    position: static !important;
    font-size: 17px;
    font-weight: 750;
    line-height: 1.45;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
}
.about-check-list.clean-list li::before {
    position: static !important;
    flex: 0 0 auto;
    width: 18px;
    content: '✓';
    color: var(--accent);
    font-size: 18px;
    line-height: 1.45;
    font-weight: 1000;
}
.about-modern-services h2 {
    font-size: clamp(28px, 2.7vw, 40px);
}
@media (max-width: 900px) {
    .nav a:not(.nav-btn) { font-size: 14px !important; }
    .about-check-list.clean-list li { font-size: 16px; }
}


/* About Us Google Map section */
.about-map-section {
    margin-top: 42px;
}
.about-map-heading {
    max-width: 760px;
    margin-bottom: 18px;
}
.about-map-heading h2 {
    font-size: clamp(30px, 4vw, 44px);
    margin-bottom: 10px;
}
.about-map-heading p:not(.eyebrow) {
    color: var(--muted);
    font-size: 17px;
}
.about-map-frame {
    width: 100%;
    height: 390px;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 18px 44px rgba(0,0,0,.10);
    background: #fff;
}
.about-map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.about-map-button {
    margin-top: 18px;
}
@media (max-width: 720px) {
    .about-map-frame { height: 300px; border-radius: 20px; }
}

/* Final Google Map refinement */
.about-map-heading p:not(.eyebrow) {
    font-size: 16px;
}
.about-map-frame {
    height: 340px !important;
}
.about-map-button {
    font-weight: 700 !important;
}
@media (max-width: 720px) {
    .about-map-frame { height: 270px !important; }
}


/* Final compact Google Map card layout */
.about-map-section {
    display: grid !important;
    grid-template-columns: minmax(260px, 1fr) minmax(360px, 520px) !important;
    align-items: center !important;
    gap: 30px !important;
    margin-top: 42px !important;
    padding: 30px !important;
    background: #fff !important;
    border: 1px solid var(--line) !important;
    border-radius: 28px !important;
    box-shadow: 0 14px 36px rgba(0,0,0,.08) !important;
}
.about-map-copy h2 {
    font-size: clamp(28px, 3vw, 40px) !important;
    margin-bottom: 10px !important;
}
.about-map-copy p:not(.eyebrow) {
    color: var(--muted) !important;
    font-size: 16px !important;
    max-width: 520px !important;
}
.about-map-frame {
    width: 100% !important;
    height: 330px !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    border: 1px solid var(--line) !important;
    box-shadow: none !important;
    background: #fff !important;
}
.about-map-button {
    margin-top: 18px !important;
    font-weight: 700 !important;
}
@media (max-width: 900px) {
    .about-map-section {
        grid-template-columns: 1fr !important;
        padding: 24px !important;
        border-radius: 22px !important;
    }
    .about-map-frame {
        height: 300px !important;
    }
}
@media (max-width: 560px) {
    .about-map-frame {
        height: 260px !important;
    }
}


/* Final store location: image-1 flow with a smaller centered map card */
.about-map-section {
    display: block !important;
    max-width: 1120px !important;
    margin: 46px auto 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.about-map-copy {
    max-width: 760px !important;
    margin: 0 0 20px 0 !important;
}
.about-map-copy h2 {
    font-size: clamp(32px, 3.8vw, 48px) !important;
    margin-bottom: 12px !important;
    letter-spacing: -1px !important;
}
.about-map-copy p:not(.eyebrow) {
    max-width: 760px !important;
    font-size: 16px !important;
    color: var(--muted) !important;
    line-height: 1.65 !important;
}
.about-map-frame {
    width: min(100%, 980px) !important;
    height: 320px !important;
    margin: 0 auto !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    border: 1px solid var(--line) !important;
    box-shadow: 0 16px 36px rgba(0,0,0,.08) !important;
    background: #fff !important;
}
.about-map-button {
    display: inline-flex !important;
    margin-top: 20px !important;
    font-weight: 700 !important;
}
@media (max-width: 900px) {
    .about-map-section {
        max-width: 100% !important;
        margin-top: 36px !important;
    }
    .about-map-frame {
        width: 100% !important;
        height: 300px !important;
        border-radius: 20px !important;
    }
}
@media (max-width: 560px) {
    .about-map-copy h2 {
        font-size: 32px !important;
    }
    .about-map-frame {
        height: 260px !important;
    }
}

/* Final correction: smaller side-by-side map card layout */
.about-map-section {
    display: grid !important;
    grid-template-columns: minmax(300px, 1fr) minmax(380px, 520px) !important;
    align-items: center !important;
    gap: 34px !important;
    max-width: 1180px !important;
    margin: 46px auto 0 !important;
    padding: 32px !important;
    background: #fff !important;
    border: 1px solid var(--line) !important;
    border-radius: 28px !important;
    box-shadow: 0 14px 36px rgba(0,0,0,.08) !important;
}
.about-map-copy {
    max-width: 520px !important;
    margin: 0 !important;
}
.about-map-copy h2 {
    font-size: clamp(30px, 3vw, 42px) !important;
    margin-bottom: 12px !important;
    letter-spacing: -0.5px !important;
}
.about-map-copy p:not(.eyebrow) {
    max-width: 500px !important;
    font-size: 16px !important;
    color: var(--muted) !important;
    line-height: 1.65 !important;
}
.about-map-frame {
    width: 100% !important;
    max-width: 520px !important;
    height: 315px !important;
    margin: 0 !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    border: 1px solid var(--line) !important;
    box-shadow: none !important;
    background: #fff !important;
}
.about-map-button {
    grid-column: 1 !important;
    justify-self: start !important;
    display: inline-flex !important;
    margin-top: 2px !important;
    font-weight: 700 !important;
}
@media (max-width: 900px) {
    .about-map-section {
        grid-template-columns: 1fr !important;
        padding: 24px !important;
        border-radius: 22px !important;
        gap: 22px !important;
    }
    .about-map-frame {
        max-width: 100% !important;
        height: 300px !important;
    }
    .about-map-button {
        grid-column: auto !important;
    }
}
@media (max-width: 560px) {
    .about-map-copy h2 {
        font-size: 32px !important;
    }
    .about-map-frame {
        height: 260px !important;
    }
}

/* Final override: keep the original stacked layout, but use a smaller left-aligned map card */
.about-map-section {
    display: block !important;
    max-width: 1120px !important;
    margin: 46px auto 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.about-map-copy {
    max-width: 760px !important;
    margin: 0 0 18px 0 !important;
}
.about-map-copy h2 {
    font-size: clamp(32px, 3.6vw, 46px) !important;
    margin-bottom: 12px !important;
    letter-spacing: -0.5px !important;
}
.about-map-copy p:not(.eyebrow) {
    max-width: 760px !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
    color: var(--muted) !important;
}
.about-map-frame {
    width: min(100%, 820px) !important;
    max-width: 820px !important;
    height: 300px !important;
    margin: 0 !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    border: 1px solid var(--line) !important;
    box-shadow: 0 12px 28px rgba(0,0,0,.08) !important;
    background: #fff !important;
}
.about-map-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 18px !important;
    font-weight: 700 !important;
}
@media (max-width: 900px) {
    .about-map-section {
        max-width: 100% !important;
        margin-top: 36px !important;
    }
    .about-map-frame {
        width: 100% !important;
        max-width: 100% !important;
        height: 280px !important;
    }
}
@media (max-width: 560px) {
    .about-map-copy h2 {
        font-size: 32px !important;
    }
    .about-map-frame {
        height: 240px !important;
        border-radius: 18px !important;
    }
}

/* Final map size adjustment: smaller rectangular map card, not square */
.about-map-frame {
    width: min(100%, 720px) !important;
    max-width: 720px !important;
    height: 300px !important;
    margin: 0 !important;
}
@media (max-width: 900px) {
    .about-map-frame {
        width: 100% !important;
        max-width: 100% !important;
        height: 280px !important;
    }
}
@media (max-width: 560px) {
    .about-map-frame {
        height: 240px !important;
    }
}


/* Final map height refinement: slightly taller smaller rectangular map */
.about-map-frame {
    height: 340px !important;
}
@media (max-width: 900px) {
    .about-map-frame {
        height: 310px !important;
    }
}
@media (max-width: 560px) {
    .about-map-frame {
        height: 260px !important;
    }
}

/* Footer icon refinement */
.footer-icon-row,
.footer-social-icons a {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
}
.footer-icon-row {
    margin: 10px 0 !important;
}
.footer-social-icons a {
    margin: 8px 0 !important;
    color: #ddd;
}
.footer-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 122, 0, .16);
    color: var(--accent);
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    margin-top: 2px;
}
.footer-social-icons a:hover .footer-icon,
.footer-icon-row a:hover + .footer-icon {
    background: var(--accent);
    color: #111;
}
.footer-social-icons a:hover {
    color: var(--accent);
}
.footer-address span:last-child {
    line-height: 1.7;
}

/* Footer icon brand/original colour refinement */
.footer-icon {
    background: rgba(255,255,255,.10) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.10) !important;
}
.footer-icon-location {
    background: rgba(234, 67, 53, .18) !important;
    color: #EA4335 !important;
}
.footer-icon-phone {
    background: rgba(52, 168, 83, .18) !important;
    color: #34A853 !important;
}
.footer-icon-email {
    background: rgba(66, 133, 244, .18) !important;
    color: #4285F4 !important;
}
.footer-icon-facebook {
    background: rgba(24, 119, 242, .18) !important;
    color: #1877F2 !important;
}
.footer-icon-instagram {
    background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF, #515BD4) !important;
    color: #fff !important;
    border: 0 !important;
}
.footer-icon-youtube {
    background: rgba(255, 0, 0, .18) !important;
    color: #FF0000 !important;
}
.footer-icon-tiktok {
    background: linear-gradient(135deg, #25F4EE, #000 45%, #FE2C55) !important;
    color: #fff !important;
    border: 0 !important;
}
.footer-icon-shopee {
    background: rgba(238, 77, 45, .18) !important;
    color: #EE4D2D !important;
}
.footer-social-icons a:hover,
.footer-icon-row a:hover {
    color: #fff !important;
}
.footer-social-icons a:hover .footer-icon,
.footer-icon-row:hover .footer-icon {
    filter: brightness(1.12);
    transform: translateY(-1px);
}

/* Final footer icon style: clean white icons without coloured circles */
.footer-icon-row,
.footer-social-icons a {
    gap: 12px !important;
}
.footer-icon {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    margin-top: 5px !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: 0 !important;
    color: #ffffff !important;
    font-size: 15px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    opacity: .92 !important;
    box-shadow: none !important;
}
.footer-social-icons a:hover,
.footer-icon-row a:hover {
    color: var(--accent) !important;
}
.footer-social-icons a:hover .footer-icon,
.footer-icon-row:hover .footer-icon {
    background: transparent !important;
    border: 0 !important;
    color: var(--accent) !important;
    filter: none !important;
    transform: none !important;
}

/* Final footer icon colour refinement: orange contact icons, white social icons */
.footer-icon svg {
    width: 17px !important;
    height: 17px !important;
    display: block !important;
    fill: currentColor !important;
}
.footer-icon-row .footer-icon {
    color: var(--accent) !important;
    opacity: 1 !important;
    font-size: 15px !important;
}
.footer-social-icons .footer-icon {
    color: #ffffff !important;
    opacity: .9 !important;
    font-size: 15px !important;
}
.footer-social-icons a:hover,
.footer-icon-row a:hover {
    color: var(--accent) !important;
}
.footer-social-icons a:hover .footer-icon,
.footer-icon-row:hover .footer-icon {
    color: var(--accent) !important;
}

/* Final footer icon refinement: small coloured contact icons like TravelEase, white social icons */
.footer-icon-row,
.footer-social-icons a {
    gap: 12px !important;
}
.footer-icon {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    margin-top: 5px !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    opacity: 1 !important;
}
.footer-icon svg {
    width: 17px !important;
    height: 17px !important;
    display: block !important;
    fill: currentColor !important;
}
.footer-icon-location {
    color: #ff4f8b !important;
}
.footer-icon-phone {
    color: #ff5a3d !important;
}
.footer-icon-email {
    color: #5aa7ff !important;
}
.footer-social-icons .footer-icon {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    opacity: .92 !important;
}
.footer-social-icons a:hover,
.footer-icon-row a:hover {
    color: var(--accent) !important;
}
.footer-social-icons a:hover .footer-icon {
    color: var(--accent) !important;
}
.footer-icon-row:hover .footer-icon-location {
    color: #ff6f9f !important;
}
.footer-icon-row:hover .footer-icon-phone {
    color: #ff7a2a !important;
}
.footer-icon-row:hover .footer-icon-email {
    color: #7bbcff !important;
}

/* Final visible TravelEase-style contact icon colours */
.footer-icon-row .footer-icon {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    margin-top: 5px !important;
    opacity: 1 !important;
}
.footer-icon-row .footer-icon svg {
    width: 18px !important;
    height: 18px !important;
    fill: currentColor !important;
}
.footer-icon-location,
.footer-icon-row .footer-icon-location {
    color: #ff4f8b !important;
}
.footer-icon-phone,
.footer-icon-row .footer-icon-phone {
    color: #ff4d4d !important;
}
.footer-icon-email,
.footer-icon-row .footer-icon-email {
    color: #4da3ff !important;
}
.footer-social-icons .footer-icon {
    color: #ffffff !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    opacity: .92 !important;
}
.footer-icon-row:hover .footer-icon-location,
.footer-icon-row:hover .footer-icon-phone,
.footer-icon-row:hover .footer-icon-email,
.footer-social-icons a:hover .footer-icon {
    color: var(--accent) !important;
}


/* Final update: coloured social icons while keeping clean footer layout */
.footer-social-icons .footer-icon {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    opacity: 1 !important;
}
.footer-social-icons .footer-icon-facebook {
    color: #1877f2 !important;
}
.footer-social-icons .footer-icon-instagram {
    color: #e1306c !important;
}
.footer-social-icons .footer-icon-youtube {
    color: #ff2d2d !important;
}
.footer-social-icons .footer-icon-tiktok {
    color: #25f4ee !important;
}
.footer-social-icons .footer-icon-shopee {
    color: #ff6a00 !important;
}
.footer-social-icons a:hover .footer-icon-facebook {
    color: #4b95ff !important;
}
.footer-social-icons a:hover .footer-icon-instagram {
    color: #ff5b92 !important;
}
.footer-social-icons a:hover .footer-icon-youtube {
    color: #ff5b5b !important;
}
.footer-social-icons a:hover .footer-icon-tiktok {
    color: #7ff8ff !important;
}
.footer-social-icons a:hover .footer-icon-shopee {
    color: #ff8e39 !important;
}

/* Final fix: use proper SVG social icons instead of text symbols */
.footer-social-icons .footer-icon {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 4px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    opacity: 1 !important;
}
.footer-social-icons .footer-icon svg {
    width: 18px !important;
    height: 18px !important;
    display: block !important;
    fill: currentColor !important;
}
.footer-icon-instagram svg {
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
}
.footer-icon-facebook { color: #1877f2 !important; }
.footer-icon-instagram { color: #e1306c !important; }
.footer-icon-youtube { color: #ff3333 !important; }
.footer-icon-tiktok { color: #25f4ee !important; }
.footer-icon-shopee { color: #ff6a00 !important; }
.footer-social-icons a:hover .footer-icon-facebook { color: #4b95ff !important; }
.footer-social-icons a:hover .footer-icon-instagram { color: #ff5b92 !important; }
.footer-social-icons a:hover .footer-icon-youtube { color: #ff6262 !important; }
.footer-social-icons a:hover .footer-icon-tiktok { color: #8ffaff !important; }
.footer-social-icons a:hover .footer-icon-shopee { color: #ff9140 !important; }


/* Final footer interaction fix: keep icons in brand colours, only text changes on hover */
.footer-social-icons a {
    color: #f4f4f4 !important;
}
.footer-social-icons a span:last-child {
    color: inherit !important;
    transition: color .2s ease;
}
.footer-social-icons a:hover span:last-child {
    color: var(--accent) !important;
}
.footer-social-icons a:hover .footer-icon-facebook,
.footer-social-icons a .footer-icon-facebook {
    color: #1877f2 !important;
}
.footer-social-icons a:hover .footer-icon-instagram,
.footer-social-icons a .footer-icon-instagram {
    color: #e1306c !important;
}
.footer-social-icons a:hover .footer-icon-youtube,
.footer-social-icons a .footer-icon-youtube {
    color: #ff3333 !important;
}
.footer-social-icons a:hover .footer-icon-tiktok,
.footer-social-icons a .footer-icon-tiktok {
    color: #25f4ee !important;
}
.footer-social-icons a:hover .footer-icon-shopee,
.footer-social-icons a .footer-icon-shopee {
    color: #ff6a00 !important;
}
.footer-icon-instagram svg,
.footer-icon-instagram svg rect,
.footer-icon-instagram svg circle {
    overflow: visible !important;
}
.footer-icon-instagram svg rect,
.footer-icon-instagram svg circle:first-of-type {
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
}
.footer-icon-instagram svg circle:last-of-type {
    fill: currentColor !important;
    stroke: none !important;
}
.footer-social-icons .footer-icon svg {
    display: block !important;
}
.footer-social-icons a:hover .footer-icon {
    transform: none !important;
}


/* Final footer fix: icons keep fixed colours; only link text changes on hover */
.footer-icon-row .footer-icon-location,
.footer-icon-row:hover .footer-icon-location {
    color: #ff4f8b !important;
}
.footer-icon-row .footer-icon-phone,
.footer-icon-row:hover .footer-icon-phone {
    color: #ff4d4d !important;
}
.footer-icon-row .footer-icon-email,
.footer-icon-row:hover .footer-icon-email {
    color: #4da3ff !important;
}
.footer-icon-row:hover .footer-icon,
.footer-social-icons a:hover .footer-icon {
    transform: none !important;
}
.footer-icon-row a {
    color: #f4f4f4 !important;
    transition: color .2s ease;
}
.footer-icon-row a:hover {
    color: var(--accent) !important;
}
.footer-social-icons a {
    color: #f4f4f4 !important;
}
.footer-social-icons a span:last-child {
    color: inherit !important;
    transition: color .2s ease;
}
.footer-social-icons a:hover span:last-child {
    color: var(--accent) !important;
}
.footer-social-icons a .footer-icon-facebook,
.footer-social-icons a:hover .footer-icon-facebook {
    color: #1877f2 !important;
}
.footer-social-icons a .footer-icon-instagram,
.footer-social-icons a:hover .footer-icon-instagram {
    color: #e1306c !important;
}
.footer-social-icons a .footer-icon-youtube,
.footer-social-icons a:hover .footer-icon-youtube {
    color: #ff3333 !important;
}
.footer-social-icons a .footer-icon-shopee,
.footer-social-icons a:hover .footer-icon-shopee {
    color: #ff6a00 !important;
}
.footer-icon-tiktok,
.footer-social-icons a .footer-icon-tiktok,
.footer-social-icons a:hover .footer-icon-tiktok {
    color: inherit !important;
}
.footer-icon-tiktok svg {
    width: 18px !important;
    height: 18px !important;
    overflow: visible !important;
}
.footer-icon-tiktok .tiktok-cyan {
    fill: #25f4ee !important;
    transform: translate(-1px, 1px);
}
.footer-icon-tiktok .tiktok-pink {
    fill: #fe2c55 !important;
    transform: translate(1px, -1px);
}
.footer-icon-tiktok .tiktok-main {
    fill: #ffffff !important;
}
.footer-icon-tiktok svg path {
    stroke: none !important;
}

/* Final footer quick links layout: one link per row */
.footer-links a {
    display: block !important;
    width: fit-content;
    margin: 0 0 14px 0 !important;
    line-height: 1.35;
}

.footer-links a:last-child {
    margin-bottom: 0 !important;
}

/* Login-only navigation and clean footer quick links */
.footer-links a {
    display: block !important;
    width: fit-content;
    margin: 0 0 14px 0 !important;
    line-height: 1.35;
}

.footer-links a:last-child {
    margin-bottom: 0 !important;
}

/* Cleaner login/register pages */
.auth-wrap {
    min-height: calc(100vh - 92px);
    align-items: flex-start;
    padding-top: 58px;
    padding-bottom: 70px;
}

.auth-card {
    margin-top: 0;
}

.auth-card .auth-eyebrow {
    margin-bottom: 8px;
}

.auth-title {
    margin: 0 0 22px;
    font-size: clamp(28px, 4vw, 40px);
    color: var(--ink);
}

.form-note a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}

.form-note a:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

.nav a {
    font-weight: 800;
}

.nav-btn {
    font-weight: 600 !important;
}

/* Login input icons and improved login button spacing */
.input-icon-field {
    position: relative;
}

.input-icon-field input {
    padding-left: 48px;
}

.auth-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #5f5f5f;
    pointer-events: none;
}

.auth-input-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.auth-card .auth-submit {
    width: 100%;
    margin-top: 22px;
    justify-content: center;
}

.auth-card .form-note a {
    font-weight: 700 !important;
}


/* Auth field icons, password eye toggle, and button spacing */
.input-icon-field {
    position: relative;
}

.input-icon-field input {
    padding-left: 48px;
}

.password-field input {
    padding-right: 52px;
}

.auth-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #5f5f5f;
    pointer-events: none;
    z-index: 1;
}

.auth-input-icon svg,
.password-toggle svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: #5f5f5f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.password-toggle:hover {
    color: var(--accent);
}

.password-toggle .eye-open {
    display: none;
}

.password-toggle .eye-closed {
    display: block;
}

.password-toggle.is-visible .eye-open {
    display: block;
}

.password-toggle.is-visible .eye-closed {
    display: none;
}

.auth-card .auth-submit {
    width: 100%;
    margin-top: 22px;
    justify-content: center;
}

.auth-card .form-note a {
    font-weight: 700 !important;
}

.card-form select {
    margin-bottom: 8px;
}


/* Correct password icon state:
   hidden password = slashed eye, visible password = open eye */
.password-toggle .eye-open {
    display: none !important;
}

.password-toggle .eye-closed {
    display: block !important;
}

.password-toggle.is-visible .eye-open {
    display: block !important;
}

.password-toggle.is-visible .eye-closed {
    display: none !important;
}


/* Logged-in avatar dropdown */
.profile-menu {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.profile-avatar {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.2);
    background: #f3f6ff;
    color: #18366f;
    font-weight: 800;
    font-size: 16px;
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(0,0,0,.18);
}

.profile-avatar:hover {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255,122,0,.18);
}

.profile-avatar.mini {
    width: 36px;
    height: 36px;
    font-size: 14px;
    box-shadow: none;
    flex: 0 0 auto;
}

.profile-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    width: 220px;
    background: #ffffff;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(0,0,0,.18);
    padding: 10px;
    display: none;
    z-index: 100;
}

.profile-menu.open .profile-dropdown {
    display: block;
}

.profile-dropdown::before {
    content: '';
    position: absolute;
    top: -7px;
    right: 16px;
    width: 14px;
    height: 14px;
    background: #ffffff;
    border-left: 1px solid var(--line);
    border-top: 1px solid var(--line);
    transform: rotate(45deg);
}

.profile-dropdown-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 6px;
}

.profile-dropdown-head strong {
    display: block;
    font-size: 14px;
    color: var(--ink);
    line-height: 1.2;
}

.profile-dropdown-head small {
    display: block;
    margin-top: 3px;
    font-size: 12px;
    color: var(--muted);
}

.profile-dropdown a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--ink) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

.profile-dropdown a:hover {
    background: #fff0e2;
    color: var(--accent-dark) !important;
}

.profile-dropdown a::after {
    display: none !important;
}

@media (max-width: 760px) {
    .profile-menu {
        width: 100%;
        justify-content: flex-start;
    }

    .profile-dropdown {
        position: static;
        width: 100%;
        margin-top: 10px;
    }

    .profile-dropdown::before {
        display: none;
    }
}


/* Latest recommendation refinements */

.small-note {
    margin-top: 8px;
    font-size: 13px;
}

.profile-avatar {
    width: 38px !important;
    height: 38px !important;
    font-size: 15px !important;
}

.profile-avatar.mini {
    width: 34px !important;
    height: 34px !important;
    font-size: 13px !important;
}

.nav .nav-btn {
    font-weight: 600 !important;
}


/* Confirm password field spacing */
.auth-card label + .input-icon-field {
    margin-bottom: 14px;
}

.auth-card label {
    margin-top: 16px;
}


/* Products mega menu and RM catalogue update */
.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.products-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.products-link span {
    font-size: 11px;
    line-height: 1;
}

.nav-dropdown::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 30px;
}

.mega-menu {
    position: absolute;
    top: calc(100% + 24px);
    right: -260px;
    width: min(1040px, calc(100vw - 44px));
    background: #ffffff;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 26px 70px rgba(0,0,0,.28);
    padding: 22px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition: .2s ease;
    z-index: 160;
}

.products-dropdown:hover .mega-menu,
.products-dropdown:focus-within .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.mega-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    right: 278px;
    width: 22px;
    height: 22px;
    background: #ffffff;
    border-left: 1px solid var(--line);
    border-top: 1px solid var(--line);
    transform: rotate(45deg);
}

.mega-menu-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: end;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.mega-menu-head strong {
    color: var(--ink);
    font-size: 20px;
    font-weight: 1000;
}

.mega-menu-head small {
    color: var(--muted);
    font-weight: 700;
}

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

.mega-category {
    border-left: 3px solid var(--accent);
    padding-left: 13px;
    min-width: 0;
}

.mega-menu a,
.mega-menu a:hover {
    color: var(--ink);
}

.mega-menu a::after {
    display: none !important;
}

.mega-title {
    display: inline-block;
    color: var(--ink) !important;
    font-size: 14px !important;
    font-weight: 1000 !important;
    line-height: 1.25;
    margin-bottom: 8px;
}

.mega-title:hover {
    color: var(--accent-dark) !important;
}

.mega-sub {
    display: grid;
    gap: 5px;
}

.mega-sub a {
    color: var(--muted) !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    line-height: 1.35;
}

.mega-sub a:hover {
    color: var(--accent-dark) !important;
}

.product-catalogue-section .section-heading p:not(.eyebrow) {
    color: var(--muted);
}

.product-category-grid {
    margin-bottom: 28px;
}

.product-category-card.selected {
    border-color: var(--accent);
    box-shadow: 0 16px 36px rgba(255,122,0,.16);
}

.product-filter-bar {
    margin-top: 8px;
    margin-bottom: 42px;
}

.product-group {
    margin-top: 40px;
}

.product-group:first-of-type {
    margin-top: 22px;
}

.product-group-heading {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: end;
    margin-bottom: 20px;
}

.product-group-heading p:not(.eyebrow) {
    color: var(--muted);
    margin: 0;
}

.product-art {
    position: relative;
}

.product-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    min-width: 50px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
    text-align: center;
}

.product-meta strong {
    color: var(--ink);
    white-space: nowrap;
}

@media (max-width: 1200px) {
    .mega-menu {
        right: -180px;
        width: min(960px, calc(100vw - 36px));
    }

    .mega-menu::before {
        right: 198px;
    }
}

@media (max-width: 900px) {
    .nav-dropdown {
        width: 100%;
        display: block;
    }

    .products-link {
        width: 100%;
    }

    .nav-dropdown::after,
    .mega-menu::before {
        display: none;
    }

    .mega-menu {
        position: static;
        width: 100%;
        margin-top: 12px;
        border-radius: 18px;
        padding: 16px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        display: none;
    }

    .nav.open .mega-menu {
        display: block;
    }

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

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

@media (max-width: 560px) {
    .mega-menu-grid {
        grid-template-columns: 1fr;
    }

    .mega-menu-head {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* Consistent Products category browser */
.products-heading {
    max-width: 880px;
}

.product-category-browser {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 18px 46px rgba(36, 24, 12, .08);
    margin-bottom: 26px;
}

.category-browser-title {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: end;
    border-bottom: 1px solid var(--line);
    padding-bottom: 16px;
    margin-bottom: 18px;
}

.category-browser-title h3 {
    margin: 0;
    font-size: 24px;
}

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

.category-browser-card {
    display: grid;
    gap: 9px;
    min-height: 190px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(135deg, #fff, #fff8f1);
    color: var(--ink);
    text-decoration: none;
    transition: .2s ease;
}

.category-browser-card:hover,
.category-browser-card.selected {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 18px 34px rgba(255,122,0,.14);
}

.category-browser-icon {
    font-size: 28px;
    line-height: 1;
}

.category-browser-card strong {
    font-size: 17px;
    line-height: 1.2;
}

.category-browser-card small {
    color: var(--muted);
    line-height: 1.45;
}

.subcategory-preview {
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
}

.inline-subcategories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 13px;
}

.inline-subcategories a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 800;
    text-decoration: none;
}

.inline-subcategories a:hover {
    border-color: var(--accent);
    color: var(--accent-dark);
}

@media (max-width: 1080px) {
    .category-browser-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .category-browser-title {
        flex-direction: column;
        align-items: flex-start;
    }

    .category-browser-grid {
        grid-template-columns: 1fr;
    }
}

.product-catalogue-section .product-category-grid {
    display: none !important;
}


/* Simplified Products page */
.simplified-products-page {
    padding-top: 58px;
}

.simplified-products-page .products-heading {
    max-width: 820px;
    margin-bottom: 26px;
}

.simplified-products-page .products-heading p:not(.eyebrow) {
    color: var(--muted);
}

.simplified-products-page .product-filter-bar {
    margin-bottom: 36px;
}

.simplified-product-grid {
    margin-top: 0;
}

.simplified-products-page .product-category-browser,
.simplified-products-page .category-browser-grid,
.simplified-products-page .product-group,
.simplified-products-page .product-group-heading,
.simplified-products-page .inline-subcategories {
    display: none !important;
}


/* Compact category navigation on Products page */
.compact-category-panel {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 20px;
    margin: 0 0 24px;
    box-shadow: 0 14px 34px rgba(36, 24, 12, .07);
}

.compact-category-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.compact-category-head strong {
    color: var(--ink);
    font-size: 18px;
    font-weight: 1000;
}

.compact-category-head small {
    color: var(--muted);
    font-weight: 700;
}

.category-chip-row,
.compact-subcategory-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-chip {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fffaf5;
    color: var(--ink);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 900;
    transition: .2s ease;
}

.category-chip:hover,
.category-chip.active {
    border-color: var(--accent);
    background: var(--accent);
    color: #111;
    box-shadow: 0 10px 22px rgba(255,122,0,.16);
}

.compact-subcategory-row {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed var(--line);
    align-items: center;
}

.compact-subcategory-row span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
    margin-right: 4px;
}

.compact-subcategory-row a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 7px 11px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--accent-dark);
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 850;
}

.compact-subcategory-row a:hover {
    border-color: var(--accent);
    color: var(--ink);
}

.category-hint {
    margin: 13px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.simplified-products-page .product-filter-bar {
    margin-top: 0;
}

@media (max-width: 760px) {
    .compact-category-head {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* ARB-inspired Products page layout */
.arb-products-page {
    padding-top: 58px;
}

.arb-products-page .products-heading {
    max-width: 900px;
    margin-bottom: 24px;
}

.arb-products-page .products-heading p:not(.eyebrow) {
    color: var(--muted);
}

.arb-products-page .product-filter-bar {
    margin-bottom: 46px;
}

.arb-category-section {
    margin: 0 0 76px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(220, 199, 176, .65);
}

.arb-category-section:last-child {
    border-bottom: 0;
    margin-bottom: 0;
}

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

.arb-category-heading h2 {
    margin: 0 0 6px;
    font-size: clamp(32px, 4.5vw, 54px);
    line-height: .95;
    letter-spacing: -0.05em;
    color: var(--ink);
}

.arb-category-heading p {
    margin: 0;
    color: #111;
    font-weight: 900;
    font-size: 18px;
}

.arb-subcategory-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(180px, 1fr);
    gap: 22px;
    overflow-x: auto;
    padding: 8px 4px 18px;
    margin-bottom: 26px;
    scrollbar-width: thin;
}

.arb-subcategory-row::-webkit-scrollbar {
    height: 8px;
}

.arb-subcategory-row::-webkit-scrollbar-track {
    background: #e6ded5;
    border-radius: 999px;
}

.arb-subcategory-row::-webkit-scrollbar-thumb {
    background: #4d4d4d;
    border-radius: 999px;
}

.arb-subcategory-card {
    min-height: 178px;
    display: grid;
    grid-template-rows: 118px auto;
    gap: 12px;
    align-items: end;
    text-align: center;
    color: var(--ink);
    text-decoration: none;
}

.arb-subcategory-card:hover strong {
    color: var(--accent-dark);
}

.arb-subcategory-card strong {
    font-size: 17px;
    font-weight: 1000;
    line-height: 1.22;
    transition: .2s ease;
}

.arb-subcategory-art {
    position: relative;
    min-height: 118px;
    border-radius: 18px;
    background:
        radial-gradient(circle at 45% 40%, rgba(255,255,255,.9), rgba(255,255,255,.25) 38%, transparent 70%),
        linear-gradient(180deg, rgba(255,255,255,.96), rgba(245,239,232,.72));
    border: 1px solid rgba(220,199,176,.4);
    overflow: hidden;
}

.subcat-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(1.35);
    font-size: 42px;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,.12));
}

.subcat-line {
    position: absolute;
    height: 2px;
    background: rgba(17,17,17,.16);
    border-radius: 999px;
}

.subcat-line.one {
    left: 20%;
    right: 20%;
    bottom: 28px;
}

.subcat-line.two {
    left: 28%;
    right: 30%;
    bottom: 20px;
}

.subcat-line.three {
    left: 36%;
    right: 36%;
    bottom: 12px;
}

.arb-section-products-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin: 18px 0 18px;
}

.arb-section-products-head h3 {
    margin: 0;
    font-size: 22px;
}

.arb-section-products-head span {
    color: var(--muted);
    font-weight: 850;
}

.arb-preview-products {
    margin-top: 0;
}

.compact-filtered-subcats {
    grid-auto-columns: minmax(160px, max-content);
    margin-bottom: 28px;
}

.arb-subcategory-card.small {
    min-height: auto;
    grid-template-rows: auto;
    align-items: center;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    text-align: left;
}

.arb-subcategory-card.small strong {
    font-size: 14px;
}

/* Hide the previous compact chip category panel on the Products page */
.arb-products-page .compact-category-panel,
.arb-products-page .product-category-browser,
.arb-products-page .category-browser-grid,
.arb-products-page .category-chip-row,
.arb-products-page .compact-subcategory-row {
    display: none !important;
}

@media (max-width: 900px) {
    .arb-category-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .arb-subcategory-row {
        grid-auto-columns: minmax(160px, 48%);
    }
}

@media (max-width: 560px) {
    .arb-subcategory-row {
        grid-auto-columns: minmax(150px, 78%);
    }

    .arb-category-heading h2 {
        font-size: 34px;
    }

    .arb-category-heading p {
        font-size: 15px;
    }
}


/* Products breadcrumb trail */
.breadcrumb-trail {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 28px;
    color: var(--ink);
    font-size: 16px;
    font-weight: 900;
}

.breadcrumb-trail a,
.breadcrumb-trail span {
    display: inline-flex;
    align-items: center;
}

.breadcrumb-root {
    gap: 10px;
    padding: 10px 14px;
    border-radius: 5px;
    background: #050505;
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 1000;
}

.breadcrumb-root svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.breadcrumb-trail a:not(.breadcrumb-root) {
    color: var(--ink);
    text-decoration: none;
    font-weight: 900;
}

.breadcrumb-trail a:not(.breadcrumb-root):hover {
    color: var(--accent-dark);
}

.breadcrumb-separator {
    color: #9ca3af;
    font-weight: 1000;
}

.arb-subcategory-card.small.active {
    border-color: var(--accent);
    color: var(--accent-dark);
    box-shadow: 0 10px 22px rgba(255,122,0,.14);
}


/* Cleaner category/subcategory listing pages */
.listing-page-section {
    margin-top: 6px;
}

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

.listing-heading h2 {
    margin: 0 0 8px;
    font-size: clamp(44px, 6vw, 74px);
    line-height: .95;
    letter-spacing: -0.055em;
    color: var(--ink);
}

.listing-parent-category {
    margin: 0;
    color: #111;
    font-size: 22px;
    font-weight: 1000;
}

.related-subcategory-block {
    margin: 0 0 36px;
}

.related-subcategory-block > span {
    display: block;
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.listing-page-section .compact-filtered-subcats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    overflow: visible;
    padding: 0;
    margin: 0;
}

.listing-page-section .arb-subcategory-card.small {
    min-height: 42px;
    padding: 10px 18px;
}

.listing-search-bar {
    margin-bottom: 34px !important;
}

@media (max-width: 760px) {
    .listing-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .listing-heading h2 {
        font-size: 42px;
    }
}


/* Softer typography for Products pages */
.arb-products-page .products-heading h2,
.arb-category-heading h2,
.listing-heading h2 {
    font-weight: 800 !important;
    letter-spacing: -0.045em !important;
}

.arb-category-heading p,
.listing-parent-category {
    font-weight: 750 !important;
}

.arb-subcategory-card strong,
.arb-subcategory-card.small strong {
    font-weight: 750 !important;
}

.product-card h3,
.product-content h3 {
    font-weight: 800 !important;
}

.product-content small,
.arb-section-products-head span {
    font-weight: 700 !important;
}

.text-link {
    font-weight: 750 !important;
}

.breadcrumb-trail,
.breadcrumb-trail a:not(.breadcrumb-root),
.breadcrumb-root {
    font-weight: 750 !important;
}

.nav a,
.products-link,
.nav .nav-btn {
    font-weight: 700 !important;
}

.related-subcategory-block {
    margin-top: 8px;
}

.related-subcategory-block > span {
    display: none !important;
}

.listing-page-section .compact-filtered-subcats {
    margin-top: 0;
}

.mega-title {
    font-weight: 800 !important;
}

.mega-sub a {
    font-weight: 650 !important;
}

@media (max-width: 760px) {
    .arb-products-page .products-heading h2,
    .arb-category-heading h2,
    .listing-heading h2 {
        letter-spacing: -0.035em !important;
    }
}


/* ARB-inspired softer and more consistent product typography */
.arb-products-page .products-heading h2,
.arb-category-heading h2,
.listing-heading h2 {
    font-weight: 700 !important;
    letter-spacing: -0.04em !important;
}

.arb-products-page .products-heading h2 {
    font-size: clamp(42px, 5vw, 62px) !important;
}

.arb-category-heading h2 {
    font-size: clamp(34px, 4vw, 56px) !important;
}

.listing-heading h2 {
    font-size: clamp(44px, 5.5vw, 70px) !important;
}

.arb-category-heading p,
.listing-parent-category {
    font-weight: 600 !important;
    font-size: 18px !important;
    line-height: 1.35 !important;
}

.products-heading p:not(.eyebrow),
.arb-products-page .products-heading p:not(.eyebrow) {
    font-weight: 400 !important;
    line-height: 1.65 !important;
}

.arb-subcategory-row {
    align-items: start !important;
}

.arb-subcategory-card {
    grid-template-rows: 126px 58px !important;
    align-items: start !important;
}

.arb-subcategory-art {
    min-height: 126px !important;
}

.arb-subcategory-card strong {
    min-height: 50px !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 16px !important;
    font-weight: 650 !important;
    line-height: 1.22 !important;
    letter-spacing: -0.01em !important;
}

.arb-subcategory-card.small {
    min-height: 42px !important;
    grid-template-rows: auto !important;
}

.arb-subcategory-card.small strong {
    min-height: auto !important;
    font-size: 14px !important;
    font-weight: 650 !important;
    line-height: 1.2 !important;
}

.product-content h3,
.product-card h3 {
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

.product-content small {
    font-weight: 600 !important;
}

.product-meta strong {
    font-weight: 700 !important;
}

.btn,
.filter-bar button,
.nav a,
.products-link,
.nav .nav-btn {
    font-weight: 650 !important;
}

.text-link {
    font-weight: 650 !important;
}

.breadcrumb-trail,
.breadcrumb-trail a:not(.breadcrumb-root),
.breadcrumb-root {
    font-weight: 650 !important;
}

.mega-title {
    font-weight: 700 !important;
}

.mega-sub a {
    font-weight: 550 !important;
}

.eyebrow {
    font-weight: 700 !important;
    letter-spacing: .16em !important;
}

@media (max-width: 760px) {
    .arb-products-page .products-heading h2,
    .arb-category-heading h2,
    .listing-heading h2 {
        letter-spacing: -0.03em !important;
    }

    .arb-subcategory-card {
        grid-template-rows: 116px 58px !important;
    }

    .arb-subcategory-art {
        min-height: 116px !important;
    }
}


/* Smaller and cleaner Products page typography */
.arb-products-page .products-heading h2 {
    font-size: clamp(34px, 4vw, 48px) !important;
    font-weight: 700 !important;
    letter-spacing: -0.035em !important;
    line-height: 1.05 !important;
}

.arb-category-heading h2 {
    font-size: clamp(30px, 3.5vw, 44px) !important;
    font-weight: 700 !important;
    letter-spacing: -0.035em !important;
    line-height: 1.08 !important;
}

.listing-heading h2 {
    font-size: clamp(36px, 4.5vw, 54px) !important;
    font-weight: 700 !important;
    letter-spacing: -0.035em !important;
    line-height: 1.05 !important;
}

.arb-category-heading p,
.listing-parent-category {
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
}

.arb-products-page .products-heading p:not(.eyebrow) {
    font-size: 16px !important;
    line-height: 1.6 !important;
}

.arb-category-section {
    margin-bottom: 58px !important;
}

.arb-category-heading {
    margin-bottom: 20px !important;
}

.arb-subcategory-card strong {
    font-size: 15px !important;
    font-weight: 650 !important;
    line-height: 1.25 !important;
}

.arb-subcategory-card {
    grid-template-rows: 118px 52px !important;
}

.arb-subcategory-art {
    min-height: 118px !important;
}

.text-link {
    font-size: 15px !important;
    font-weight: 650 !important;
}

.product-filter-bar input,
.product-filter-bar select {
    font-size: 15px !important;
}

.product-filter-bar .btn,
.product-filter-bar button {
    font-size: 14px !important;
    font-weight: 650 !important;
}

.product-content h3 {
    font-size: 22px !important;
    line-height: 1.18 !important;
}

@media (max-width: 760px) {
    .arb-products-page .products-heading h2 {
        font-size: 32px !important;
    }

    .arb-category-heading h2 {
        font-size: 30px !important;
    }

    .listing-heading h2 {
        font-size: 34px !important;
    }

    .arb-subcategory-card {
        grid-template-rows: 110px 52px !important;
    }

    .arb-subcategory-art {
        min-height: 110px !important;
    }
}


/* Final Products page typography and search cleanup */
.arb-products-page .products-heading h2 {
    font-size: clamp(30px, 3.4vw, 42px) !important;
    font-weight: 650 !important;
    line-height: 1.08 !important;
    letter-spacing: -0.03em !important;
}

.arb-category-heading h2 {
    font-size: clamp(28px, 3vw, 38px) !important;
    font-weight: 650 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.028em !important;
}

.listing-heading h2 {
    font-size: clamp(32px, 3.8vw, 48px) !important;
    font-weight: 650 !important;
    line-height: 1.08 !important;
    letter-spacing: -0.03em !important;
}

.arb-category-heading p,
.listing-parent-category {
    font-size: 15px !important;
    font-weight: 550 !important;
    line-height: 1.45 !important;
}

.arb-products-page .products-heading p:not(.eyebrow) {
    font-size: 15px !important;
    line-height: 1.6 !important;
    max-width: 900px;
}

.arb-category-section {
    margin-bottom: 48px !important;
    padding-bottom: 34px !important;
}

.arb-category-heading {
    margin-bottom: 18px !important;
}

.arb-subcategory-row {
    gap: 18px !important;
    padding-bottom: 14px !important;
}

.arb-subcategory-card {
    grid-template-rows: 108px 48px !important;
}

.arb-subcategory-art {
    min-height: 108px !important;
}

.arb-subcategory-card strong {
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.23 !important;
}

.subcat-icon {
    font-size: 36px !important;
}

.product-filter-bar {
    display: grid !important;
    grid-template-columns: minmax(260px, 1fr) minmax(220px, 300px) auto !important;
    gap: 14px !important;
    align-items: center !important;
}

.product-filter-bar input,
.product-filter-bar select {
    font-size: 15px !important;
}

.product-filter-bar .btn,
.product-filter-bar button {
    font-size: 14px !important;
    font-weight: 600 !important;
    min-width: 108px;
}

.text-link {
    font-size: 14.5px !important;
    font-weight: 600 !important;
}

.product-content h3 {
    font-size: 20px !important;
    font-weight: 650 !important;
    line-height: 1.22 !important;
}

.product-content p {
    font-size: 15px !important;
    line-height: 1.55 !important;
}

@media (max-width: 860px) {
    .product-filter-bar {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 760px) {
    .arb-products-page .products-heading h2 {
        font-size: 30px !important;
    }

    .arb-category-heading h2 {
        font-size: 28px !important;
    }

    .listing-heading h2 {
        font-size: 32px !important;
    }

    .arb-subcategory-card {
        grid-template-rows: 102px 48px !important;
    }

    .arb-subcategory-art {
        min-height: 102px !important;
    }
}


/* Skip hero on selected category/subcategory pages */
.product-catalogue-section.listing-direct-page {
    padding-top: 54px !important;
}

.product-catalogue-section.listing-direct-page .breadcrumb-trail {
    margin-bottom: 24px !important;
}

.product-catalogue-section.listing-direct-page .listing-heading {
    margin-bottom: 26px !important;
}

@media (max-width: 760px) {
    .product-catalogue-section.listing-direct-page {
        padding-top: 36px !important;
    }
}


/* Clean two-column Products hover menu */
.clean-two-column-menu {
    width: min(900px, calc(100vw - 48px)) !important;
    right: -240px !important;
    padding: 22px 24px !important;
    overflow: visible !important;
}

.clean-two-column-menu::before {
    right: 258px !important;
}

.clean-menu-head {
    align-items: center !important;
}

.clean-menu-head strong {
    font-size: 21px !important;
    font-weight: 750 !important;
}

.clean-menu-head small {
    font-size: 13px !important;
    font-weight: 600 !important;
}

.clean-mega-layout {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 330px minmax(0, 1fr) !important;
    gap: 28px !important;
    min-height: 390px !important;
}

.clean-mega-main {
    display: grid !important;
    gap: 6px !important;
    padding-right: 20px !important;
    border-right: 1px solid var(--line) !important;
}

.clean-mega-item {
    position: static !important;
}

.clean-mega-category {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    min-height: 42px !important;
    padding: 10px 12px !important;
    border-radius: 10px !important;
    color: var(--ink) !important;
    background: transparent !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 650 !important;
    line-height: 1.2 !important;
}

.clean-mega-category:hover,
.clean-mega-item.is-default .clean-mega-category {
    background: #f4f1ed !important;
    color: var(--accent-dark) !important;
}

.clean-mega-main:hover .clean-mega-item.is-default .clean-mega-category {
    background: transparent !important;
    color: var(--ink) !important;
}

.clean-mega-item:hover .clean-mega-category,
.clean-mega-item:focus-within .clean-mega-category {
    background: #f4f1ed !important;
    color: var(--accent-dark) !important;
}

.clean-arrow {
    color: inherit !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

.clean-mega-subpanel {
    position: absolute !important;
    top: 0 !important;
    left: 358px !important;
    right: 0 !important;
    bottom: 0 !important;
    display: none !important;
    padding: 2px 0 0 0 !important;
}

.clean-mega-item.is-default .clean-mega-subpanel {
    display: block !important;
}

.clean-mega-main:hover .clean-mega-item.is-default .clean-mega-subpanel {
    display: none !important;
}

.clean-mega-item:hover .clean-mega-subpanel,
.clean-mega-item:focus-within .clean-mega-subpanel {
    display: block !important;
}

.clean-mega-subpanel h3 {
    margin: 0 0 16px !important;
    padding-bottom: 14px !important;
    border-bottom: 1px solid var(--line) !important;
    color: var(--ink) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}

.clean-mega-sublist {
    display: grid !important;
    gap: 8px !important;
}

.clean-mega-sublist a {
    display: flex !important;
    align-items: center !important;
    min-height: 38px !important;
    padding: 8px 10px !important;
    border-radius: 9px !important;
    color: var(--muted) !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
}

.clean-mega-sublist a:hover {
    background: #fff5eb !important;
    color: var(--accent-dark) !important;
}

/* Hide older mega-menu grid structures when present */
.clean-two-column-menu .mega-menu-grid,
.clean-two-column-menu .mega-category,
.clean-two-column-menu .mega-sub,
.clean-two-column-menu .mega-sub-panel,
.clean-two-column-menu .mega-sub-list,
.clean-two-column-menu .mega-sub-panel-title,
.clean-two-column-menu .mega-two-layout,
.clean-two-column-menu .mega-main-list {
    display: none !important;
}

/* Keep hover menu usable on mobile/tablet */
@media (max-width: 900px) {
    .clean-two-column-menu {
        width: 100% !important;
        right: auto !important;
        padding: 16px !important;
    }

    .clean-two-column-menu::before {
        display: none !important;
    }

    .clean-mega-layout {
        display: block !important;
        min-height: auto !important;
    }

    .clean-mega-main {
        border-right: 0 !important;
        padding-right: 0 !important;
        gap: 10px !important;
    }

    .clean-mega-category {
        border: 1px solid var(--line) !important;
        background: #fff !important;
    }

    .clean-mega-subpanel,
    .clean-mega-item.is-default .clean-mega-subpanel,
    .clean-mega-main:hover .clean-mega-item.is-default .clean-mega-subpanel {
        position: static !important;
        display: block !important;
        padding: 8px 0 14px 14px !important;
    }

    .clean-mega-subpanel h3 {
        display: none !important;
    }

    .clean-mega-sublist {
        gap: 4px !important;
    }

    .clean-mega-sublist a {
        min-height: 32px !important;
        font-size: 13px !important;
        padding: 6px 8px !important;
    }
}


/* Home hero single CTA after removing build section */
.hero-actions {
    gap: 14px;
}

/* Simplified Home page sections */
.home-contact-section {
    padding-top: 20px;
}

.home-contact-card {
    max-width: 860px;
    min-height: auto;
}

.home-contact-card h2 {
    max-width: 620px;
}

.home-contact-card p:not(.eyebrow) {
    max-width: 700px;
}


/* Highlight Solar Shield name in About card */
.brand-highlight {
    color: var(--accent);
    font-weight: 900;
}


/* Stronger orange highlight for Solar Shield name in Home About card */
.about-brand-highlight,
.feature-card.dark .about-brand-highlight,
.feature-panel.dark .about-brand-highlight,
.about-card .about-brand-highlight,
.dark-card .about-brand-highlight {
    color: var(--accent) !important;
    font-weight: 900 !important;
}


/* Home store location CTA */
a[href*="contact.php"].btn.primary,
a[href*="about.php#location"].btn.primary,
.btn.primary {
    border-color: var(--accent);
}

/* Fallback for View Store Location button if browser ignores special matching */
.find-us-card .btn,
.find-card .btn,
.contact-card .btn,
.feature-card .btn[href*="contact"],
.feature-card .btn[href*="location"] {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #111 !important;
}

.find-us-card .btn:hover,
.find-card .btn:hover,
.contact-card .btn:hover,
.feature-card .btn[href*="contact"]:hover,
.feature-card .btn[href*="location"]:hover {
    background: var(--accent-dark) !important;
    border-color: var(--accent-dark) !important;
    color: #fff !important;
}


.home-store-location-btn {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #111 !important;
}

.home-store-location-btn:hover {
    background: var(--accent-dark) !important;
    border-color: var(--accent-dark) !important;
    color: #fff !important;
}


/* Consistent orange button hover style */
.btn.primary,
button.btn.primary,
input[type="submit"].btn.primary,
.nav .nav-btn,
.auth-submit,
.home-store-location-btn,
.filter-bar .btn.primary,
.filter-bar button,
.hero-actions .btn.primary,
.feature-card .btn.primary,
.feature-panel .btn.primary {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #111 !important;
}

.btn.primary:hover,
button.btn.primary:hover,
input[type="submit"].btn.primary:hover,
.nav .nav-btn:hover,
.auth-submit:hover,
.home-store-location-btn:hover,
.filter-bar .btn.primary:hover,
.filter-bar button:hover,
.hero-actions .btn.primary:hover,
.feature-card .btn.primary:hover,
.feature-panel .btn.primary:hover {
    background: var(--accent-dark) !important;
    border-color: var(--accent-dark) !important;
    color: #ffffff !important;
}

.btn.primary:hover *,
button.btn.primary:hover *,
.nav .nav-btn:hover *,
.auth-submit:hover *,
.home-store-location-btn:hover *,
.filter-bar .btn.primary:hover *,
.filter-bar button:hover *,
.hero-actions .btn.primary:hover *,
.feature-card .btn.primary:hover *,
.feature-panel .btn.primary:hover * {
    color: #ffffff !important;
}

/* Keep non-filled/outline buttons readable */
.btn.ghost,
.btn.ghost.dark {
    background: #ffffff !important;
    color: #111 !important;
}

.btn.ghost:hover,
.btn.ghost.dark:hover {
    border-color: var(--accent) !important;
    color: var(--accent-dark) !important;
    background: #fff7ef !important;
}


/* SolarShield1: product photo uploads */
.product-photo-wrap,
.product-detail-photo-wrap {
    overflow: hidden;
    background: #f5f5f5;
}

.product-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-photo {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 450px;
    max-height: 620px;
    object-fit: contain;
    background: #fff;
}

.admin-product-thumb {
    width: 90px;
    height: 68px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #f5f5f5;
}

.admin-no-photo {
    display: inline-flex;
    min-width: 90px;
    min-height: 68px;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: 1px dashed var(--line);
    border-radius: 10px;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

.admin-image-form {
    display: grid;
    gap: 8px;
    min-width: 230px;
    margin-bottom: 8px;
}

.admin-image-form input[type="file"] {
    padding: 8px;
    font-size: 12px;
}

.admin-product-table td {
    vertical-align: middle;
}


/* SolarShield1: admin user management */
.admin-summary-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.muted-copy {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.admin-action-heading > div,
.user-panel-heading > div {
    min-width: 0;
}

.user-management-panel {
    margin-top: 0;
}

.user-search-form {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 18px 0;
    flex-wrap: wrap;
}

.user-search-form input[type="search"] {
    flex: 1 1 280px;
    max-width: 520px;
}

.user-management-table td {
    vertical-align: middle;
}

.user-management-table td:first-child strong,
.user-management-table td:first-child small {
    display: block;
}

.user-id-copy {
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
}

.you-label {
    display: inline-block;
    margin-left: 7px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #fff1df;
    color: #9a4b00;
    font-size: 10px;
    font-weight: 900;
    vertical-align: middle;
}

.role-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.role-admin {
    background: #fff1df;
    color: #9a4b00;
}

.role-dealer {
    background: #eaf2ff;
    color: #245fa8;
}

.role-customer {
    background: #f0f1f3;
    color: #50545b;
}

.role-change-form {
    display: flex;
    gap: 8px;
    align-items: center;
    min-width: 220px;
}

.role-change-form select {
    min-width: 115px;
    padding: 8px 10px;
}

.self-role-lock {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .admin-summary-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .admin-summary-row {
        grid-template-columns: 1fr;
    }

    .user-panel-heading,
    .admin-action-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Admin product editor */
.edit-product-panel {
    max-width: 1100px;
    margin: 0 auto;
}

.edit-product-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, .75fr);
    gap: 28px;
    align-items: start;
}

.edit-product-preview {
    position: sticky;
    top: 110px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.edit-product-preview h3 {
    margin-top: 0;
}

.edit-product-preview img {
    display: block;
    width: 100%;
    max-height: 360px;
    object-fit: contain;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #f7f7f7;
    margin-bottom: 14px;
}

.edit-no-photo {
    min-height: 240px;
    display: grid;
    place-items: center;
    padding: 20px;
    border: 1px dashed var(--line);
    border-radius: 14px;
    color: var(--muted);
    background: #fafafa;
    margin-bottom: 14px;
    text-align: center;
}

.edit-remove-photo {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 700;
}

.edit-remove-photo input {
    width: auto;
}

@media (max-width: 800px) {
    .edit-product-grid {
        grid-template-columns: 1fr;
    }
    .edit-product-preview {
        position: static;
    }
}

/* Shopping cart */
.cart-nav-link {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
}

.cart-count-badge {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #111;
    color: #fff;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
}

.cart-nav-link.active .cart-count-badge,
.cart-nav-link:hover .cart-count-badge {
    background: #fff;
    color: #111;
}

.card-add-cart {
    margin-top: 14px;
}

.card-add-cart .btn {
    width: 100%;
}

.product-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
    margin-top: 18px;
}

.detail-add-cart {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.detail-add-cart label {
    display: grid;
    gap: 6px;
    font-weight: 700;
    font-size: 13px;
}

.detail-add-cart input[type="number"] {
    width: 86px;
    min-height: 44px;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}

.cart-items {
    display: grid;
    gap: 14px;
}

.cart-item {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) 90px 130px auto;
    gap: 18px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
}

.cart-item-image {
    width: 120px;
    height: 96px;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
    display: grid;
    place-items: center;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-image-placeholder {
    color: var(--muted);
    font-size: 12px;
}

.cart-item-info h3 {
    margin: 3px 0 6px;
    font-size: 18px;
}

.cart-item-info h3 a {
    color: inherit;
    text-decoration: none;
}

.cart-item-info p {
    margin: 0 0 7px;
    color: var(--muted);
    font-size: 13px;
}

.cart-quantity {
    display: grid;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
}

.cart-quantity input {
    width: 78px;
}

.cart-subtotal {
    display: grid;
    gap: 5px;
}

.cart-subtotal span,
.cart-summary-line span {
    color: var(--muted);
    font-size: 13px;
}

.cart-remove,
.text-button {
    border: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
    text-decoration: underline;
}

.cart-remove,
.text-button.danger {
    color: #a61b1b;
}

.cart-actions-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 4px;
}

.cart-summary {
    position: sticky;
    top: 105px;
}

.cart-summary h2 {
    margin-top: 0;
}

.cart-summary-line {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.cart-summary-line.total {
    font-size: 20px;
    border-bottom: 0;
}

.cart-note {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.cart-clear-form {
    margin-top: 18px;
}

.cart-empty {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

@media (max-width: 900px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
    .cart-summary {
        position: static;
    }
    .cart-item {
        grid-template-columns: 100px minmax(0, 1fr);
    }
    .cart-item-image {
        width: 100px;
        height: 82px;
    }
    .cart-quantity,
    .cart-subtotal,
    .cart-remove {
        grid-column: 2;
    }
}

@media (max-width: 560px) {
    .detail-add-cart {
        width: 100%;
    }
    .detail-add-cart .btn {
        flex: 1;
    }
    .cart-item {
        grid-template-columns: 1fr;
    }
    .cart-item-image {
        width: 100%;
        height: 190px;
    }
    .cart-quantity,
    .cart-subtotal,
    .cart-remove {
        grid-column: 1;
    }
    .cart-actions-row {
        flex-direction: column;
    }
    .cart-actions-row .btn {
        width: 100%;
        text-align: center;
    }
}

/* Shipping, discount and checkout */
.product-price-stack {
    display: grid;
    gap: 3px;
}
.product-price-stack small {
    color: var(--muted);
    font-size: 12px;
}
.shipping-price-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.shipping-price-box > div {
    display: grid;
    gap: 4px;
}
.shipping-price-box > div:last-child {
    text-align: right;
}
.cart-unit-breakdown {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 8px;
    font-size: 12px;
    color: var(--muted);
}
.cart-line-breakdown {
    min-width: 145px;
}
.cart-line-breakdown strong {
    margin-bottom: 4px;
}
.discount-line strong {
    color: #177245;
}
.discount-earned {
    padding: 10px 12px;
    border-radius: 12px;
    background: #e8f7ef;
    color: #17643e;
    font-weight: 700;
}
.checkout-btn {
    width: 100%;
    margin-top: 14px;
    text-align: center;
}
.checkout-back-btn {
    width: 100%;
    margin-top: 10px;
    text-align: center;
}
.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 26px;
    align-items: start;
}
.checkout-main {
    display: grid;
    gap: 20px;
}
.checkout-summary {
    position: sticky;
    top: 105px;
}
.address-confirm-box {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fafafa;
    cursor: pointer;
}
.address-confirm-box input {
    width: auto;
    margin-top: 3px;
}
.checkout-products {
    width: 100%;
}
.checkout-product-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}
.checkout-product-row:last-child {
    border-bottom: 0;
}
.checkout-product-row small,
.checkout-product-money span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin-top: 4px;
}
.checkout-product-money {
    text-align: right;
    min-width: 180px;
}
.order-admin-list {
    display: grid;
    gap: 20px;
}
.admin-order-card {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 20px;
    background: #fff;
}
.admin-order-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 16px;
}
.admin-order-head h3,
.admin-order-head p {
    margin: 0 0 5px;
}
.admin-order-address {
    padding: 14px;
    background: #f7f7f7;
    border-radius: 12px;
    margin-bottom: 16px;
    line-height: 1.55;
}
.order-status-form select {
    min-width: 125px;
}
.admin-order-totals {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin-top: 14px;
}
.admin-order-totals span {
    display: grid;
    gap: 2px;
    color: var(--muted);
    font-size: 12px;
}
.admin-order-totals strong {
    color: #111;
    font-size: 15px;
}

@media (max-width: 900px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }
    .checkout-summary {
        position: static;
    }
}

@media (max-width: 600px) {
    .shipping-price-box {
        grid-template-columns: 1fr;
    }
    .shipping-price-box > div:last-child {
        text-align: left;
    }
    .checkout-product-row {
        grid-template-columns: 1fr;
    }
    .checkout-product-money {
        text-align: left;
        min-width: 0;
    }
    .admin-order-head {
        flex-direction: column;
    }
}


/* Dealer pricing and SSM verification */
.price-tier-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dealer-pending-price,
.ssm-missing {
    font-weight: 700;
}

.dealer-application-note,
.dealer-pending-notice,
.dealer-approved-notice,
.pricing-tier-summary {
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    padding: 12px 14px;
    margin: 8px 0 14px;
}

.dealer-application-note {
    display: grid;
    gap: 4px;
}

.dealer-application-note span,
.dealer-pending-notice,
.dealer-approved-notice {
    font-size: 0.92rem;
    line-height: 1.5;
}

.pricing-tier-summary {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.checkout-btn[disabled] {
    cursor: not-allowed;
    opacity: 0.6;
}

.price-locked-text { font-size: 0.95rem !important; font-weight: 800; }

/* SolarShield P1: inventory, fitment and secure actions */
.logout-inline-form { margin: 0; }
.logout-menu-button,
.footer-logout-button {
    border: 0;
    background: transparent;
    font: inherit;
    color: inherit;
    cursor: pointer;
    padding: 0;
    text-align: left;
}
.profile-dropdown .logout-inline-form { width: 100%; }
.profile-dropdown .logout-menu-button { width: 100%; padding: 10px 14px; }
.footer-logout-button { color: inherit; }
.stock-status { font-weight: 800; font-size: 0.84rem; }
.stock-ok { color: #177245; }
.stock-low { color: #a86300; }
.stock-out { color: #b42318; }
.product-tech-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 8px 0 4px; font-size: 0.82rem; color: var(--muted); }
.vehicle-filter-panel { margin: 0 0 28px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fafafa; }
.vehicle-filter-grid { display: grid; grid-template-columns: 1.2fr 1.2fr .8fr auto; gap: 12px; align-items: end; }
.vehicle-filter-grid label { display: grid; gap: 6px; font-weight: 700; font-size: .86rem; }
.vehicle-filter-actions { display: flex; gap: 8px; }
.fitment-list { display: grid; gap: 8px; margin: 12px 0; padding: 0; list-style: none; }
.fitment-list li { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fafafa; }
.admin-fitment-table input[type="number"] { min-width: 92px; }
.admin-fitment-table td:first-child { white-space: nowrap; }
.inventory-chip { display: inline-block; padding: 4px 8px; border-radius: 999px; background: #f1f1f1; font-size: .78rem; font-weight: 800; }
.subcategory-group-label { font-weight: 800; }
@media (max-width: 800px) {
    .vehicle-filter-grid { grid-template-columns: 1fr 1fr; }
    .vehicle-filter-actions { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
    .vehicle-filter-grid { grid-template-columns: 1fr; }
    .vehicle-filter-actions { grid-column: auto; }
}

.detail-price-box { margin: 20px 0; padding: 16px 18px; border-radius: 16px; background: #fff0e2; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.detail-price-box > div { display:grid; gap:4px; }
.detail-price-box small { color: var(--muted); font-weight:800; }
.detail-price-box strong { font-size:1.2rem; }
@media (max-width:560px){ .detail-price-box { grid-template-columns:1fr; } }

/* SolarShield8: email verification */
.verification-badge { display:inline-block; padding:4px 9px; border-radius:999px; font-size:.78rem; font-weight:800; }
.verification-badge.verified { background:#e9f7ee; color:#177245; }
.verification-badge.unverified { background:#fff2df; color:#9a5a00; }
.dev-mail-note { display:grid; gap:6px; padding:14px; border:1px dashed #c68b3c; border-radius:12px; background:#fff8ee; font-size:.9rem; }
.dev-mail-note a { font-weight:800; }
.dev-mail-list { display:grid; gap:16px; margin-top:18px; }
.dev-mail-item { border:1px solid var(--line); border-radius:14px; padding:16px; background:#fafafa; }
.dev-mail-head { display:flex; justify-content:space-between; gap:16px; align-items:flex-start; margin-bottom:8px; }
.dev-mail-head span { color:var(--muted); font-size:.8rem; }
.dev-mail-item details { margin-top:14px; }
.dev-mail-item pre { white-space:pre-wrap; word-break:break-word; background:#fff; border:1px solid var(--line); padding:12px; border-radius:8px; }
.email-verify-card .alert { margin:12px 0 18px; }
@media (max-width:600px){ .dev-mail-head{display:grid;gap:4px;} }

/* SolarShield: Super Admin role model */
.role-badge.role-super_admin { background:#efe9ff; color:#5632a8; }
.super-admin-note { padding:14px 16px; border:1px solid var(--line); border-radius:12px; background:#faf8ff; }

/* SolarShield: lightweight admin controls, sharing, WhatsApp and UI language */
.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
}
.language-switcher select {
    width: auto;
    min-width: 58px;
    border: 0;
    padding: 0;
    background: transparent;
    font: inherit;
    cursor: pointer;
}
.language-switcher select:focus { outline: none; }
.language-icon { font-size: .95rem; line-height: 1; }

.product-share-btn {
    width: 100%;
    margin-top: 8px;
    text-align: center;
}
.detail-share-btn {
    width: auto;
    margin: 14px 10px 12px 0;
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    z-index: 1500;
    background: #25d366;
    color: #fff;
    box-shadow: 0 10px 26px rgba(0,0,0,.22);
    cursor: grab;
    touch-action: none;
    user-select: none;
    transition: transform .18s ease, box-shadow .18s ease;
}
.whatsapp-float:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.28); }
.whatsapp-float:active { cursor: grabbing; transform: scale(.96); }
.whatsapp-float svg { width: 31px; height: 31px; fill: currentColor; pointer-events: none; }

.drag-handle,
.media-drag-handle {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 10px;
    cursor: grab;
    font-weight: 900;
    color: var(--muted);
}
.drag-handle { width: 34px; height: 34px; }
.drag-handle:active,
.media-drag-handle:active { cursor: grabbing; }
.sortable-product-row.is-dragging,
.homepage-media-admin-card.is-dragging { opacity: .45; }
.sortable-product-row[draggable="true"] { cursor: default; }

.simple-fitment-box {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px;
    background: #fafafa;
}
.fitment-check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}
.fitment-option {
    display: flex !important;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 12px;
    background: #fff;
    cursor: pointer;
}
.fitment-option input[type="checkbox"] { width: auto; margin: 0; }
.fitment-option span { display: grid; gap: 2px; }
.fitment-option small { color: var(--muted); font-weight: 600; }

.simple-vehicle-brand-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 12px;
}
.vehicle-brand-card {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 8px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fafafa;
}
.vehicle-brand-card small { grid-column: 1 / -1; color: var(--muted); }
.simple-vehicle-table input,
.simple-vehicle-table select { min-width: 110px; }

.homepage-media-admin-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 16px;
}
.homepage-media-admin-card {
    position: relative;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
}
.media-drag-handle {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.homepage-media-preview {
    aspect-ratio: 16 / 9;
    background: #111;
}
.homepage-media-preview img,
.homepage-media-preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.homepage-media-admin-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 12px;
}
.homepage-media-admin-actions strong { margin-right: auto; }
.homepage-media-admin-actions form { margin: 0; }
.empty-media-state {
    border: 1px dashed var(--line);
    border-radius: 14px;
    padding: 24px;
    background: #fafafa;
}

@media (max-width: 980px) {
    .language-switcher { margin-top: 6px; }
    .homepage-media-admin-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .simple-vehicle-brand-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 650px) {
    .fitment-check-grid,
    .homepage-media-admin-grid,
    .simple-vehicle-brand-grid { grid-template-columns: 1fr; }
    .whatsapp-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
    .simple-vehicle-table input,
    .simple-vehicle-table select { min-width: 92px; }
}
.hidden-form-anchor { display: none; }

/* SolarShield: granular Admin permissions */
.permission-user-table {
    min-width: 1180px;
}
.permissions-cell {
    min-width: 310px;
}
.permission-editor {
    border: 1px solid var(--border, #dfe3e8);
    border-radius: 12px;
    background: rgba(255,255,255,.03);
    overflow: hidden;
}
.permission-editor summary {
    cursor: pointer;
    padding: 10px 12px;
    font-weight: 700;
    user-select: none;
}
.permission-editor[open] summary {
    border-bottom: 1px solid var(--border, #dfe3e8);
}
.permission-form {
    padding: 12px;
}
.permission-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 12px;
}
.permission-grid label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.25;
    cursor: pointer;
}
.permission-grid input[type="checkbox"] {
    margin-top: 2px;
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
}
.permission-chip-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}
.permission-chip,
.permission-full {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: .78rem;
    font-weight: 700;
    background: rgba(35, 160, 95, .12);
    border: 1px solid rgba(35, 160, 95, .28);
}
.permission-chip.off {
    opacity: .5;
    background: rgba(120, 120, 120, .08);
    border-color: rgba(120, 120, 120, .2);
    text-decoration: line-through;
}
.permission-full {
    background: rgba(69, 116, 255, .13);
    border-color: rgba(69, 116, 255, .3);
}
.admin-permission-summary .admin-action-heading {
    align-items: flex-start;
}
@media (max-width: 760px) {
    .permission-user-table { min-width: 1050px; }
    .permissions-cell { min-width: 280px; }
}

/* SolarShield integrated account, gallery, settings and payment UI */
.profile-dropdown-links{display:grid;gap:2px;padding:8px 10px;border-top:1px solid rgba(0,0,0,.08);border-bottom:1px solid rgba(0,0,0,.08)}
.profile-dropdown-links a{display:block;padding:9px 10px;border-radius:8px;text-decoration:none;color:inherit;font-weight:600}
.profile-dropdown-links a:hover{background:rgba(0,0,0,.05)}
.policy-consent-box{align-items:flex-start}.policy-consent-box a{text-decoration:underline;font-weight:700}
.legal-page{max-width:1000px}.legal-content{line-height:1.8;white-space:normal}.legal-editor textarea{line-height:1.55}
.payment-choice{display:flex;gap:12px;align-items:flex-start;padding:12px 14px;border:1px solid #ddd;border-radius:12px;cursor:pointer}.payment-choice input{margin-top:4px}.payment-choice span{display:grid;gap:3px}.payment-choice small{opacity:.72;font-weight:400}
.product-gallery-thumbs{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.product-gallery-thumb{width:74px;height:64px;padding:0;border:2px solid transparent;border-radius:10px;overflow:hidden;background:#fff;cursor:pointer}.product-gallery-thumb.active{border-color:#111}.product-gallery-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.product-image-admin-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:14px;margin-top:18px}.product-image-admin-card{position:relative;border:1px solid #ddd;border-radius:14px;padding:10px;background:#fff}.product-image-admin-card.is-dragging{opacity:.45}.product-image-admin-card>img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px}.product-image-admin-card .media-drag-handle{position:absolute;top:16px;left:16px;z-index:2}.product-image-actions{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin-top:9px}.product-image-actions form{margin:0}.product-photo-upload{align-items:center;flex-wrap:wrap}
.enquiry-list{display:grid;gap:12px}.enquiry-card{display:flex;justify-content:space-between;gap:18px;border:1px solid #e2e2e2;border-radius:12px;padding:14px}.enquiry-card>div{min-width:0;flex:1}.enquiry-card small{display:block;opacity:.65;margin-top:4px}.enquiry-card p{margin-bottom:0;white-space:normal}.enquiry-card form{align-self:flex-start}
.admin-payment-box{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:12px 0;padding:12px;border-radius:10px;background:#f6f6f6}.status.proof_submitted{background:#fff3cd;color:#725b00}.status.paid{background:#d9f5e5;color:#126b3c}.status.rejected{background:#fde2e2;color:#8a1c1c}
.account-grid{align-items:start}.settings-form h3{margin-top:18px}.footer-links a{line-height:1.45}
@media(max-width:760px){.enquiry-card,.admin-payment-box{flex-direction:column;align-items:stretch}.product-image-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-gallery-thumb{width:62px;height:54px}}

/* SolarShield: clearer cart navigation icon */
.cart-nav-link {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
}
.cart-nav-icon {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}
.cart-nav-link:hover .cart-nav-icon,
.cart-nav-link.active .cart-nav-icon {
    transform: translateY(-1px);
}

/* SolarShield: simpler ordering, cleaner controls and stable WhatsApp bubble */
.btn:not(.nav-btn),
button.btn:not(.nav-btn) {
    border-radius: 11px !important;
    min-height: 42px;
    padding: 10px 17px;
    line-height: 1.15;
    box-shadow: 0 2px 5px rgba(17,17,17,.08);
}
.btn:not(.nav-btn):hover,
button.btn:not(.nav-btn):hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(17,17,17,.12);
}
.small-btn {
    min-height: 36px !important;
    padding: 8px 12px !important;
    border-radius: 9px !important;
}
.mini-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid transparent;
    border-radius: 9px !important;
    font-size: 13px;
    font-weight: 700 !important;
    line-height: 1.1;
    text-decoration: none;
    transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.mini-btn.approve {
    background: #f0f8f3;
    border-color: #cfe8d8;
    color: #176a42;
}
.mini-btn.approve:hover {
    background: #e4f4ea;
    border-color: #a9d5b9;
    transform: translateY(-1px);
}
.mini-btn.reject {
    background: #fff4f3;
    border-color: #f2cfcb;
    color: #a4382f;
}
.mini-btn.reject:hover {
    background: #ffe9e6;
    border-color: #e9b4ae;
    transform: translateY(-1px);
}

.order-arrow-group,
.product-order-controls,
.admin-inline-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.order-arrow-group form,
.admin-inline-actions form { margin: 0; }
.order-step-btn,
.drag-handle,
.media-drag-handle {
    appearance: none;
    -webkit-appearance: none;
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    padding: 0;
    border: 1px solid #d9dde2;
    border-radius: 9px !important;
    background: #fff;
    color: #31363c;
    font: 800 17px/1 Arial, sans-serif;
    box-shadow: 0 1px 3px rgba(17,17,17,.06);
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.order-step-btn.compact { width: 32px; height: 32px; min-width: 32px; font-size: 15px; }
.order-step-btn:hover:not(:disabled),
.drag-handle:hover,
.media-drag-handle:hover {
    background: #fff4e9;
    border-color: var(--accent);
    color: var(--accent-dark);
    transform: translateY(-1px);
}
.order-step-btn:disabled {
    opacity: .32;
    cursor: not-allowed;
    box-shadow: none;
}
.product-order-controls { min-width: 112px; }
.category-order-card { padding: 18px; }
.category-order-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--line);
}
.category-order-head strong { font-size: 17px; }
.category-edit-form { margin-bottom: 16px; }
.subcategory-order-table th:first-child,
.subcategory-order-table td:first-child { width: 92px; }
.subcategory-order-table th:last-child,
.subcategory-order-table td:last-child { width: 180px; }
.subcategory-name-form input { min-width: 220px; width: 100%; }

/* Keep the contact bubble perfectly circular even when generic link/button styles change. */
.whatsapp-float,
a.whatsapp-float {
    box-sizing: border-box !important;
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    min-height: 58px !important;
    max-width: 58px !important;
    max-height: 58px !important;
    aspect-ratio: 1 / 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 0 !important;
    text-decoration: none !important;
    flex: 0 0 58px !important;
}
.whatsapp-float svg {
    display: block !important;
    width: 31px !important;
    height: 31px !important;
    min-width: 31px !important;
    min-height: 31px !important;
    fill: none !important;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}
.whatsapp-float .wa-phone { fill: currentColor !important; stroke: none !important; }
.whatsapp-float .wa-bubble { fill: none !important; }
.whatsapp-float:active { transform: scale(.97) !important; }
@media (max-width: 650px) {
    .whatsapp-float,
    a.whatsapp-float {
        width: 54px !important;
        height: 54px !important;
        min-width: 54px !important;
        min-height: 54px !important;
        max-width: 54px !important;
        max-height: 54px !important;
        flex-basis: 54px !important;
    }
    .whatsapp-float svg { width: 29px !important; height: 29px !important; min-width:29px !important; min-height:29px !important; }
    .admin-inline-actions { flex-wrap: wrap; }
}

/* SolarShield: category photos */
.category-card.has-photo { padding: 0; overflow: hidden; display: block; }
.category-photo-wrap { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: #eef1f3; }
.category-photo-wrap img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .28s ease; }
.category-card.has-photo:hover .category-photo-wrap img { transform: scale(1.035); }
.category-card-copy { padding: 18px; display: grid; gap: 7px; }
.category-card-copy strong { display: block; }
.category-card-copy small { display: block; }
.category-admin-photo-row { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; }
.category-admin-thumb { width: 120px; height: 86px; border-radius: 12px; object-fit: cover; border: 1px solid var(--border); background: #f5f6f7; }
.category-admin-thumb.empty { display: grid; place-items: center; font-size: 30px; }
.category-admin-photo-fields { display: grid; gap: 8px; }
.category-heading-with-photo { align-items: center; }
.category-heading-main { display: flex; gap: 16px; align-items: center; min-width: 0; }
.category-heading-thumb { width: 92px; height: 68px; object-fit: cover; border-radius: 12px; flex: 0 0 auto; border: 1px solid var(--border); }
@media (max-width: 640px) {
  .category-admin-photo-row { grid-template-columns: 1fr; }
  .category-heading-main { align-items: flex-start; }
  .category-heading-thumb { width: 76px; height: 58px; }
}

/* SolarShield: integration status */
.translation-status-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #f7f8f9;
}
.translation-status-card strong { min-width: 112px; }
.translation-status-card.ready { border-color: rgba(33, 136, 56, .35); background: rgba(33, 136, 56, .06); }
.translation-status-card.not-ready { border-color: rgba(180, 120, 0, .30); background: rgba(255, 190, 0, .06); }
.translation-test-result { margin-top: 18px; padding: 16px; border: 1px solid var(--border); border-radius: 12px; background: #f8f9fa; }
.google-translating body { cursor: progress; }
.google-translating .language-switcher { opacity: .68; }

/* SolarShield: polished, consistent action buttons */
:root {
    --btn-radius: 10px;
    --btn-height: 44px;
    --btn-border: #d7dbe0;
    --btn-soft: #f6f7f8;
    --btn-shadow: 0 4px 12px rgba(17,17,17,.08);
    --btn-shadow-hover: 0 8px 20px rgba(17,17,17,.12);
}

.btn:not(.nav-btn),
button.btn:not(.nav-btn),
input[type="submit"].btn:not(.nav-btn) {
    box-sizing: border-box;
    min-height: var(--btn-height) !important;
    padding: 10px 18px !important;
    border: 1px solid transparent !important;
    border-radius: var(--btn-radius) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px !important;
    font-weight: 750 !important;
    line-height: 1.15 !important;
    letter-spacing: .005em;
    white-space: nowrap;
    text-align: center;
    text-decoration: none;
    box-shadow: var(--btn-shadow) !important;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease !important;
}

.btn.primary,
button.btn.primary,
input[type="submit"].btn.primary,
.auth-submit,
.home-store-location-btn,
.hero-actions .btn.primary,
.feature-card .btn.primary,
.feature-panel .btn.primary,
.filter-bar .btn.primary,
.filter-bar button {
    background: linear-gradient(180deg, #ff8b1f 0%, #ff7600 100%) !important;
    border-color: #e66c00 !important;
    color: #161616 !important;
    box-shadow: 0 5px 14px rgba(255,122,0,.22) !important;
}

.btn.primary:hover,
button.btn.primary:hover,
input[type="submit"].btn.primary:hover,
.auth-submit:hover,
.home-store-location-btn:hover,
.hero-actions .btn.primary:hover,
.feature-card .btn.primary:hover,
.feature-panel .btn.primary:hover,
.filter-bar .btn.primary:hover,
.filter-bar button:hover {
    background: #111 !important;
    border-color: #111 !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
    box-shadow: var(--btn-shadow-hover) !important;
}

.btn.secondary,
a.btn.secondary,
button.btn.secondary {
    background: #fff !important;
    border-color: #cfd4da !important;
    color: #202327 !important;
}
.btn.secondary:hover,
a.btn.secondary:hover,
button.btn.secondary:hover {
    background: #f6f7f8 !important;
    border-color: #9da4ac !important;
    color: #111 !important;
    transform: translateY(-1px) !important;
}

.btn.ghost,
.btn.ghost.dark,
a.btn.ghost,
button.btn.ghost {
    background: #fff !important;
    border-color: #dde1e5 !important;
    color: #30343a !important;
    box-shadow: 0 2px 7px rgba(17,17,17,.05) !important;
}
.btn.ghost:hover,
.btn.ghost.dark:hover,
a.btn.ghost:hover,
button.btn.ghost:hover {
    background: #fff8f1 !important;
    border-color: #ff9b45 !important;
    color: #b85000 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 5px 12px rgba(255,122,0,.10) !important;
}

.small-btn,
.btn.small-btn {
    min-height: 36px !important;
    padding: 7px 12px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    box-shadow: 0 2px 6px rgba(17,17,17,.06) !important;
}

.mini-btn {
    min-height: 34px !important;
    padding: 7px 12px !important;
    border-radius: 8px !important;
    font-size: 12.5px !important;
    font-weight: 750 !important;
    box-shadow: none !important;
}
.mini-btn.approve {
    background: #eef8f2 !important;
    border: 1px solid #bfe0ca !important;
    color: #176b42 !important;
}
.mini-btn.approve:hover {
    background: #176b42 !important;
    border-color: #176b42 !important;
    color: #fff !important;
    transform: translateY(-1px);
}
.mini-btn.reject {
    background: #fff2f1 !important;
    border: 1px solid #efc2bd !important;
    color: #a63128 !important;
}
.mini-btn.reject:hover {
    background: #a63128 !important;
    border-color: #a63128 !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.order-step-btn,
.drag-handle,
.media-drag-handle {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    border: 1px solid #d8dde2 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #2f3439 !important;
    box-shadow: 0 2px 6px rgba(17,17,17,.05) !important;
}
.order-step-btn:hover:not(:disabled),
.drag-handle:hover,
.media-drag-handle:hover {
    background: #111 !important;
    border-color: #111 !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
}

/* Better focus state for keyboard/mobile accessibility. */
.btn:focus-visible,
.mini-btn:focus-visible,
.order-step-btn:focus-visible,
.drag-handle:focus-visible,
.media-drag-handle:focus-visible,
.language-switcher select:focus-visible {
    outline: 3px solid rgba(255,122,0,.28) !important;
    outline-offset: 2px;
}

/* Make the header action controls feel like one design system. */
.nav .nav-btn {
    border-radius: 9px !important;
    padding: 10px 17px !important;
    box-shadow: none !important;
}
.language-switcher {
    min-height: 38px;
    padding: 5px 10px !important;
    border-radius: 9px !important;
    border-color: rgba(255,255,255,.20) !important;
    background: rgba(255,255,255,.08) !important;
    color: #fff;
}
.language-switcher select {
    color: #fff !important;
    font-weight: 700;
}
.language-switcher select option { color: #111; background: #fff; }

.cart-count-badge {
    min-width: 20px !important;
    height: 20px !important;
    padding: 0 5px !important;
    background: var(--accent) !important;
    color: #111 !important;
    border: 1px solid rgba(255,255,255,.22);
    font-size: 11px !important;
    font-weight: 800 !important;
}
.cart-nav-link:hover .cart-count-badge,
.cart-nav-link.active .cart-count-badge {
    background: #fff !important;
    color: #111 !important;
}

/* Product-card actions: align cleanly instead of looking like unrelated controls. */
.card-add-cart,
.product-card-actions,
.product-detail-actions,
.cart-actions-row,
.admin-inline-actions {
    gap: 8px !important;
}
.product-share-btn {
    margin-top: 7px !important;
}

/* WhatsApp contact bubble stays a true circle and gets a cleaner visual. */
.whatsapp-float,
a.whatsapp-float {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    max-width: 56px !important;
    max-height: 56px !important;
    flex-basis: 56px !important;
    border-radius: 50% !important;
    background: #25D366 !important;
    color: #fff !important;
    border: 2px solid rgba(255,255,255,.92) !important;
    box-shadow: 0 8px 22px rgba(0,0,0,.22) !important;
}
.whatsapp-float:hover,
a.whatsapp-float:hover {
    background: #1fbd59 !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 12px 28px rgba(0,0,0,.26) !important;
}

@media (max-width: 650px) {
    .btn:not(.nav-btn),
    button.btn:not(.nav-btn),
    input[type="submit"].btn:not(.nav-btn) {
        min-height: 44px !important;
        padding: 10px 14px !important;
    }
    .small-btn,
    .btn.small-btn { min-height: 38px !important; }
    .whatsapp-float,
    a.whatsapp-float {
        width: 52px !important;
        height: 52px !important;
        min-width: 52px !important;
        min-height: 52px !important;
        max-width: 52px !important;
        max-height: 52px !important;
        flex-basis: 52px !important;
    }
}

/* =========================================================
   SolarShield integrated UI refinement
   - cleaner dashboard
   - larger product typography
   - registration OTP
   - footer/contact editor
   ========================================================= */

/* Product cards: improve readability without making the catalogue bulky. */
.product-content {
    padding: 24px !important;
}
.product-content h3,
.product-card h3 {
    font-size: 24px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    margin: 7px 0 10px !important;
}
.product-content > p {
    font-size: 16.5px !important;
    line-height: 1.58 !important;
    color: #4f555c !important;
}
.product-content > small {
    font-size: 13px !important;
    line-height: 1.35 !important;
}
.product-tech-meta,
.product-tech-meta span {
    font-size: 13px !important;
    line-height: 1.35 !important;
}
.product-price-stack strong {
    font-size: 20px !important;
    line-height: 1.2 !important;
}
.product-meta > a,
.product-meta a {
    font-size: 15px !important;
    font-weight: 700 !important;
}
.detail-content h1 {
    font-size: clamp(34px, 4vw, 48px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.035em !important;
}
.detail-content > p,
.detail-description p,
.fitment-list {
    font-size: 17px !important;
    line-height: 1.65 !important;
}
.detail-price-box strong {
    font-size: 1.35rem !important;
}

/* OTP verification */
.otp-verify-card {
    max-width: 560px;
}
.otp-form {
    margin-top: 12px;
}
.otp-input {
    text-align: center;
    font-size: 30px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .32em !important;
    font-variant-numeric: tabular-nums;
    padding-left: calc(16px + .32em) !important;
}
.dev-otp-code {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 8px 0 10px;
    padding: 10px 14px;
    border: 1px solid #ffd1a3;
    border-radius: 10px;
    background: #fff7ef;
}
.dev-otp-code span { color: var(--muted); font-size: 12px; font-weight: 700; }
.dev-otp-code strong { color: #111; font-size: 22px; letter-spacing: .16em; }

/* Cleaner, more structured Admin Dashboard */
.admin-dashboard-page {
    padding-top: 42px !important;
}
.dashboard-section-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin: 34px 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}
.dashboard-section-header.compact-heading {
    margin-top: 0;
}
.dashboard-section-header .eyebrow {
    margin-bottom: 5px;
}
.dashboard-section-header h2 {
    margin: 0;
    font-size: clamp(25px, 2.5vw, 32px);
    letter-spacing: -0.025em;
}
.dashboard-section-header > .muted-copy {
    max-width: 560px;
    margin: 0;
    text-align: right;
}
.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}
.dashboard-stat {
    min-height: 116px;
    padding: 20px 18px !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 22px rgba(0,0,0,.07);
}
.dashboard-stat strong {
    font-size: 34px !important;
}
.dashboard-stat span {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.25;
}
.dashboard-actions-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.dashboard-action-card {
    display: flex;
    flex-direction: column;
    min-height: 230px;
    padding: 22px;
    border: 1px solid #e2e5e8;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(17,17,17,.045);
}
.dashboard-action-card-highlight {
    border-color: rgba(255,122,0,.38);
    background: linear-gradient(180deg, #fffaf5, #fff);
}
.dashboard-action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f7f7f8;
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
    font-size: 23px;
    line-height: 1;
    font-weight: 400;
    box-shadow: 0 4px 12px rgba(17,17,17,.04);
}
.dashboard-action-card h3 {
    margin: 0 0 7px;
    font-size: 19px;
    line-height: 1.25;
    letter-spacing: -0.015em;
}
.dashboard-action-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}
.dashboard-action-card > .btn,
.dashboard-action-card > .dashboard-card-actions {
    margin-top: auto !important;
    align-self: flex-start;
}
.dashboard-card-actions {
    display: flex;
    flex-wrap: wrap;
}
.admin-permission-strip {
    margin-top: 18px;
    padding: 16px 18px;
    border: 1px solid #e1e4e7;
    border-radius: 14px;
    background: #fafafa;
}
.admin-permission-strip > div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}
.admin-permission-strip > div:first-child span {
    color: var(--muted);
    font-size: 13px;
}
.dealer-dashboard-panel {
    padding: 0 !important;
    overflow: hidden;
}
.dealer-dashboard-panel .table-wrap {
    margin: 0;
}
.dealer-dashboard-panel table {
    margin: 0;
}
.dashboard-maintenance-row {
    display: flex;
    justify-content: flex-end;
    padding-top: 18px;
}

/* Settings pages */
.admin-editor-page {
    display: grid;
    gap: 22px;
}
.settings-panel-clean {
    margin: 0 !important;
}
.settings-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0 2px;
    color: #111;
    font-weight: 800;
}
.settings-divider::after {
    content: '';
    height: 1px;
    flex: 1;
    background: var(--line);
}
.legal-editor-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.legal-editor-grid .legal-editor {
    margin: 0 !important;
}
.legal-editor-grid .legal-editor:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

@media (max-width: 1180px) {
    .dashboard-stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .dashboard-actions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .product-content { padding: 20px !important; }
    .product-content h3,
    .product-card h3 { font-size: 22px !important; }
    .product-content > p { font-size: 16px !important; }
    .detail-content h1 { font-size: 34px !important; }

    .dashboard-section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }
    .dashboard-section-header > .muted-copy { text-align: left; }
    .dashboard-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dashboard-actions-grid,
    .legal-editor-grid { grid-template-columns: 1fr; }
    .dashboard-action-card { min-height: 205px; }
    .legal-editor-grid .legal-editor:last-child:nth-child(odd) { grid-column: auto; }
}


/* Footer custom item manager */
.footer-item-add-form,
.footer-custom-edit-form { display: grid; gap: 14px; }
.footer-item-fields {
    display: grid;
    grid-template-columns: minmax(150px,.7fr) minmax(220px,1fr) minmax(260px,1.25fr) minmax(140px,.65fr);
    gap: 14px;
    align-items: end;
}
.footer-item-fields label { display:block; margin-bottom:6px; font-weight:800; }
.footer-item-fields input,
.footer-item-fields select { width:100%; }
.footer-item-active { margin: 0; }
.footer-custom-admin-list { display:grid; gap:14px; }
.footer-custom-admin-item {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:16px;
    align-items:center;
    padding:16px;
    border:1px solid var(--line);
    border-radius:14px;
    background:#fff;
}
.footer-custom-actions,
.footer-custom-side-actions { display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.footer-custom-side-actions form { margin:0; }
.footer-custom-side-actions .btn[disabled] { opacity:.35; pointer-events:none; }
.footer-custom-text { display:block; margin:0 0 14px; color:#f4f4f4; }
.footer-custom-row { margin-top:10px; }
.footer-custom-icon {
    color:var(--accent) !important;
    font-size:17px !important;
    font-weight:800 !important;
    line-height:1 !important;
}
.footer-custom-social { display:flex !important; align-items:flex-start; gap:10px; }
@media (max-width: 980px) {
    .footer-item-fields { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .footer-custom-admin-item { grid-template-columns:1fr; }
}
@media (max-width: 620px) {
    .footer-item-fields { grid-template-columns:1fr; }
}


/* Homepage media editable text + font styles */
.hero-slider-full .hero-slide { overflow: hidden; }
.hero-slider-full .hero-slide .hero-shade {
    z-index: 2;
}
.hero-slider-full .hero-slide .hero-full-content {
    z-index: 4;
    pointer-events: none;
}
.hero-slider-full .hero-slide .hero-full-content .hero-actions,
.hero-slider-full .hero-slide .hero-full-content .hero-actions a {
    pointer-events: auto;
}
.hero-font-modern h1 { font-family: Arial, Helvetica, sans-serif; font-weight: 800; }
.hero-font-modern .eyebrow,
.hero-font-modern .hero-text,
.hero-font-modern .btn { font-family: Arial, Helvetica, sans-serif; }
.hero-font-bold h1 { font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif; font-weight: 500; letter-spacing: .015em; }
.hero-font-bold .eyebrow,
.hero-font-bold .hero-text,
.hero-font-bold .btn { font-family: Arial, Helvetica, sans-serif; }
.hero-font-elegant h1 { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; letter-spacing: -.025em; }
.hero-font-elegant .eyebrow,
.hero-font-elegant .hero-text,
.hero-font-elegant .btn { font-family: Georgia, 'Times New Roman', serif; }
.hero-font-condensed h1 { font-family: 'Arial Narrow', 'Roboto Condensed', Arial, sans-serif; font-stretch: condensed; font-weight: 800; letter-spacing: -.01em; }
.hero-font-condensed .eyebrow,
.hero-font-condensed .hero-text,
.hero-font-condensed .btn { font-family: 'Arial Narrow', Arial, sans-serif; }
.hero-font-rounded h1 { font-family: 'Trebuchet MS', Arial, sans-serif; font-weight: 800; letter-spacing: -.025em; }
.hero-font-rounded .eyebrow,
.hero-font-rounded .hero-text,
.hero-font-rounded .btn { font-family: 'Trebuchet MS', Arial, sans-serif; }

/* Expanded K4WD homepage typography choices */
.hero-font-industrial h1 { font-family: 'Arial Black', Impact, 'Microsoft YaHei', sans-serif; font-weight: 900; letter-spacing: -.02em; text-transform: uppercase; }
.hero-font-industrial .eyebrow,
.hero-font-industrial .hero-text,
.hero-font-industrial .btn { font-family: Arial, Helvetica, 'Microsoft YaHei', sans-serif; font-weight: 700; }

.hero-font-racing h1 { font-family: 'Arial Narrow', 'Trebuchet MS', Arial, sans-serif; font-weight: 900; font-style: italic; letter-spacing: .005em; }
.hero-font-racing .eyebrow,
.hero-font-racing .hero-text,
.hero-font-racing .btn { font-family: 'Arial Narrow', Arial, 'Microsoft YaHei', sans-serif; font-style: italic; }

.hero-font-tech h1 { font-family: 'Segoe UI', 'Century Gothic', Arial, 'Microsoft YaHei', sans-serif; font-weight: 800; letter-spacing: .035em; }
.hero-font-tech .eyebrow,
.hero-font-tech .hero-text,
.hero-font-tech .btn { font-family: 'Segoe UI', 'Century Gothic', Arial, 'Microsoft YaHei', sans-serif; letter-spacing: .015em; }

.hero-font-luxury h1 { font-family: Didot, 'Bodoni MT', 'Times New Roman', 'Microsoft JhengHei', serif; font-weight: 600; letter-spacing: -.035em; }
.hero-font-luxury .eyebrow,
.hero-font-luxury .hero-text,
.hero-font-luxury .btn { font-family: 'Bodoni MT', Georgia, 'Times New Roman', 'Microsoft JhengHei', serif; }

.hero-font-classic h1 { font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, 'Microsoft JhengHei', serif; font-weight: 700; letter-spacing: -.025em; }
.hero-font-classic .eyebrow,
.hero-font-classic .hero-text,
.hero-font-classic .btn { font-family: 'Palatino Linotype', Georgia, 'Microsoft JhengHei', serif; }

.hero-font-minimal h1 { font-family: 'Segoe UI', 'Helvetica Neue', Arial, 'Microsoft YaHei', sans-serif; font-weight: 600; letter-spacing: -.035em; }
.hero-font-minimal .eyebrow,
.hero-font-minimal .hero-text,
.hero-font-minimal .btn { font-family: 'Segoe UI', 'Helvetica Neue', Arial, 'Microsoft YaHei', sans-serif; font-weight: 400; }

.hero-font-wide h1 { font-family: 'Century Gothic', 'Avenir Next', 'Segoe UI', Arial, 'Microsoft YaHei', sans-serif; font-weight: 700; letter-spacing: .015em; }
.hero-font-wide .eyebrow,
.hero-font-wide .hero-text,
.hero-font-wide .btn { font-family: 'Century Gothic', 'Segoe UI', Arial, 'Microsoft YaHei', sans-serif; }

.hero-font-mono h1 { font-family: Consolas, 'Lucida Console', 'Courier New', monospace; font-weight: 800; letter-spacing: -.035em; }
.hero-font-mono .eyebrow,
.hero-font-mono .hero-text,
.hero-font-mono .btn { font-family: Consolas, 'Lucida Console', 'Courier New', 'Microsoft YaHei', monospace; }

.hero-font-soft h1 { font-family: Calibri, Candara, 'Segoe UI', Arial, 'Microsoft YaHei', sans-serif; font-weight: 700; letter-spacing: -.025em; }
.hero-font-soft .eyebrow,
.hero-font-soft .hero-text,
.hero-font-soft .btn { font-family: Calibri, Candara, 'Segoe UI', Arial, 'Microsoft YaHei', sans-serif; }

.hero-font-cinematic h1 { font-family: Baskerville, 'Baskerville Old Face', Garamond, Georgia, 'Microsoft JhengHei', serif; font-weight: 700; letter-spacing: -.025em; }
.hero-font-cinematic .eyebrow,
.hero-font-cinematic .hero-text,
.hero-font-cinematic .btn { font-family: Baskerville, Garamond, Georgia, 'Microsoft JhengHei', serif; }

/* Homepage manager: dedicated two-column layout.
   Keep the upload editor in its own column so it never overlaps the media library. */
.homepage-media-page {
    display: grid;
    grid-template-columns: minmax(320px, 390px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}
.homepage-media-page > .panel {
    width: 100%;
    max-width: none;
    min-width: 0;
}
.homepage-media-page > .panel.wide {
    grid-column: auto;
}
.homepage-media-upload-panel {
    position: sticky;
    top: 110px;
    z-index: 1;
}
.homepage-media-page .homepage-media-admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.homepage-copy-fields { display: grid; gap: 10px; margin-top: 12px; }
.two-col-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.homepage-media-copy-summary { padding: 14px 16px 2px; display: grid; gap: 5px; }
.homepage-media-copy-summary strong { font-size: 15px; line-height: 1.3; }
.homepage-media-copy-summary small { color: var(--muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.homepage-media-copy-editor { margin: 12px 14px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fafafa; overflow: hidden; }
.homepage-media-copy-editor summary { cursor: pointer; padding: 12px 14px; font-weight: 800; user-select: none; }
.homepage-media-copy-editor[open] summary { border-bottom: 1px solid var(--line); background: #fff; }
.homepage-media-copy-editor .compact-form { padding: 14px; gap: 8px; }
.homepage-media-copy-editor .compact-form .btn { margin-top: 8px; }

@media (max-width: 900px) {
    .homepage-media-page { grid-template-columns: 1fr; }
    .homepage-media-page > .panel.wide { grid-column: 1; }
    .homepage-media-upload-panel { position: static; }
    .two-col-form { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
    .homepage-media-page .homepage-media-admin-grid { grid-template-columns: 1fr; }
}


/* SolarShield final About / Google Maps layout */
.about-map-section.map-card-clean {
    display: grid !important;
    grid-template-columns: minmax(260px, .78fr) minmax(420px, 1.22fr) !important;
    align-items: stretch !important;
    gap: 28px !important;
    max-width: 1160px !important;
    margin: 44px auto 0 !important;
    padding: 26px !important;
    background: #fff !important;
    border: 1px solid rgba(17,24,39,.10) !important;
    border-radius: 24px !important;
    box-shadow: 0 14px 34px rgba(15,23,42,.07) !important;
}
.about-map-section.map-card-clean .about-map-copy {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 8px 6px !important;
}
.about-map-section.map-card-clean .about-map-copy h2 {
    font-size: clamp(30px, 3vw, 42px) !important;
    line-height: 1.08 !important;
    margin: 0 0 12px !important;
}
.about-map-section.map-card-clean .about-map-copy p:not(.eyebrow) {
    margin: 0 0 8px !important;
    color: var(--muted) !important;
    font-size: 16px !important;
    line-height: 1.55 !important;
}
.about-map-section.map-card-clean .about-map-address {
    max-width: 440px !important;
}
.about-map-actions {
    margin-top: 14px !important;
}
.about-map-section.map-card-clean .about-map-button {
    margin: 0 !important;
}
.about-map-section.map-card-clean .about-map-frame {
    width: 100% !important;
    max-width: none !important;
    height: 360px !important;
    margin: 0 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    border: 1px solid rgba(17,24,39,.10) !important;
    background: #f4f4f4 !important;
    box-shadow: none !important;
}
.about-map-section.map-card-clean .about-map-frame iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    display: block !important;
}
@media (max-width: 900px) {
    .about-map-section.map-card-clean {
        grid-template-columns: 1fr !important;
        padding: 20px !important;
        gap: 18px !important;
        margin-top: 34px !important;
    }
    .about-map-section.map-card-clean .about-map-frame {
        height: 320px !important;
    }
}
@media (max-width: 560px) {
    .about-map-section.map-card-clean {
        padding: 16px !important;
        border-radius: 18px !important;
    }
    .about-map-section.map-card-clean .about-map-frame {
        height: 280px !important;
        border-radius: 14px !important;
    }
}

/* Responsive homepage hero media
   Keeps images and videos edge-to-edge on every screen without stretching.
   `cover` fills the hero; the browser only crops the minimum needed for the current viewport. */
.hero.hero-full-slider,
.hero-slider.hero-slider-full,
.hero-full-slides {
    height: clamp(460px, 36vw, 650px);
    min-height: clamp(460px, 36vw, 650px);
}

.hero-slider-full .hero-slide {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #0b0b0b;
}

.hero-slider-full .hero-slide > img,
.hero-slider-full .hero-slide > video.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    display: block;
    object-fit: cover;
    object-position: center center;
    background: #0b0b0b;
}

.hero-slider-full .hero-slide > video.hero-video {
    border: 0;
}

/* Tablet: keep enough height for the copy while allowing the media to crop naturally. */
@media (max-width: 900px) {
    .hero.hero-full-slider,
    .hero-slider.hero-slider-full,
    .hero-full-slides {
        height: clamp(460px, 68vw, 560px);
        min-height: clamp(460px, 68vw, 560px);
    }
}

/* Phones: responsive portrait-friendly hero. The media still fills the frame; no side black bars. */
@media (max-width: 560px) {
    .hero.hero-full-slider,
    .hero-slider.hero-slider-full,
    .hero-full-slides {
        height: clamp(420px, 112vw, 540px);
        min-height: clamp(420px, 112vw, 540px);
    }

    .hero-slider-full .hero-slide > img,
    .hero-slider-full .hero-slide > video.hero-video {
        object-position: center center;
    }
}



/* =========================================================
   WhatsApp floating contact — stable drag, no jump
   ========================================================= */
.whatsapp-float,
a.whatsapp-float {
    position: fixed !important;
    right: 22px;
    bottom: 22px;
    left: auto;
    top: auto;
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    min-height: 60px !important;
    max-width: 60px !important;
    max-height: 60px !important;
    flex: 0 0 60px !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 2px solid rgba(255,255,255,.94) !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 1500 !important;
    background: #25D366 !important;
    color: #fff !important;
    box-shadow: 0 9px 24px rgba(0,0,0,.24) !important;
    cursor: grab !important;
    touch-action: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -webkit-user-drag: none !important;
    -webkit-tap-highlight-color: transparent;
    overscroll-behavior: contain;
    transform: none !important;
    transition: background-color .14s ease, box-shadow .14s ease !important;
    will-change: left, top;
}
.whatsapp-float:hover,
a.whatsapp-float:hover {
    background: #20bf5a !important;
    box-shadow: 0 12px 29px rgba(0,0,0,.28) !important;
    transform: none !important;
}
.whatsapp-float:active,
a.whatsapp-float:active,
.whatsapp-float.is-drag-ready,
a.whatsapp-float.is-drag-ready,
.whatsapp-float.is-dragging,
a.whatsapp-float.is-dragging,
.whatsapp-float.is-dragging:hover,
a.whatsapp-float.is-dragging:hover {
    transform: none !important;
    transition: none !important;
    cursor: grabbing !important;
}
.whatsapp-float.is-dragging,
a.whatsapp-float.is-dragging {
    box-shadow: 0 14px 34px rgba(0,0,0,.32) !important;
}
.whatsapp-float svg,
a.whatsapp-float svg {
    display: block !important;
    width: 31px !important;
    height: 31px !important;
    min-width: 31px !important;
    min-height: 31px !important;
    pointer-events: none !important;
}
@media (max-width: 650px) {
    .whatsapp-float,
    a.whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 58px !important;
        height: 58px !important;
        min-width: 58px !important;
        min-height: 58px !important;
        max-width: 58px !important;
        max-height: 58px !important;
        flex-basis: 58px !important;
    }
    .whatsapp-float svg,
    a.whatsapp-float svg {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        min-height: 30px !important;
    }
}


/* Stable custom hero-video fullscreen control.
   Browser picture-in-picture UI is disabled on the video element, so the control
   stays in a predictable top-left position instead of appearing over the media. */
.hero-video-fullscreen {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 8;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 12px;
    background: rgba(18,18,18,.72);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 6px 20px rgba(0,0,0,.22);
    transition: background .18s ease, border-color .18s ease;
    touch-action: manipulation;
}
.hero-video-fullscreen:hover,
.hero-video-fullscreen:focus-visible {
    background: rgba(255,122,0,.92);
    border-color: rgba(255,255,255,.28);
    outline: none;
}
.hero-video-fullscreen svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}
@media (max-width: 560px) {
    .hero-video-fullscreen {
        top: 14px;
        left: 14px;
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        border-radius: 11px;
    }
}


/* -------------------------------------------------------------------------
   SolarShield in-site toast notifications
   ------------------------------------------------------------------------- */
.site-toast-stack {
    position: fixed;
    top: 116px;
    right: 24px;
    z-index: 12050;
    width: min(390px, calc(100vw - 32px));
    display: grid;
    gap: 12px;
    pointer-events: none;
}
.site-toast {
    pointer-events: auto;
    display: grid;
    grid-template-columns: 42px 1fr 32px;
    align-items: center;
    gap: 12px;
    min-height: 74px;
    padding: 14px 12px 14px 14px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(20,20,20,.96);
    color: #fff;
    box-shadow: 0 18px 48px rgba(0,0,0,.28);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    transform: translateY(-10px) translateX(12px) scale(.98);
    transition: opacity .2s ease, transform .2s ease;
}
.site-toast.is-visible { opacity: 1; transform: translateY(0) translateX(0) scale(1); }
.site-toast.is-leaving { opacity: 0; transform: translateY(-8px) translateX(12px) scale(.98); }
.site-toast.success { border-left: 4px solid #27c477; }
.site-toast.error { border-left: 4px solid #ff5a52; }
.site-toast-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 20px;
    font-weight: 1000;
}
.site-toast.success .site-toast-icon { background: rgba(39,196,119,.16); color: #45da91; }
.site-toast.error .site-toast-icon { background: rgba(255,90,82,.15); color: #ff7770; }
.site-toast-copy { min-width: 0; display: grid; gap: 3px; }
.site-toast-copy strong { color: #fff; font-size: 15px; line-height: 1.2; }
.site-toast-copy span { color: #d6d6d6; font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.site-toast-close {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #aaa;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}
.site-toast-close:hover { background: rgba(255,255,255,.08); color: #fff; }

/* -------------------------------------------------------------------------
   SolarShield custom confirmation modal (replaces browser/Edge confirm box)
   ------------------------------------------------------------------------- */
body.confirm-open { overflow: hidden; }
.site-confirm-modal {
    position: fixed;
    inset: 0;
    z-index: 13000;
    display: grid;
    place-items: center;
    padding: 22px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, visibility .18s ease;
}
.site-confirm-modal.open { opacity: 1; visibility: visible; }
.site-confirm-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.58);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.site-confirm-dialog {
    position: relative;
    width: min(440px, 100%);
    border-radius: 24px;
    padding: 28px;
    background: #fff;
    border: 1px solid rgba(255,122,0,.18);
    box-shadow: 0 28px 80px rgba(0,0,0,.32);
    transform: translateY(10px) scale(.98);
    transition: transform .2s ease;
}
.site-confirm-modal.open .site-confirm-dialog { transform: translateY(0) scale(1); }
.site-confirm-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: #fff1e4;
    color: var(--accent-dark);
    font-size: 25px;
    font-weight: 1000;
    margin-bottom: 18px;
}
.site-confirm-dialog h3 { margin: 0 0 8px; font-size: 24px; color: #151515; }
.site-confirm-dialog p { margin: 0; color: #666; line-height: 1.55; font-size: 15px; }
.site-confirm-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 26px; }
.site-confirm-cancel,
.site-confirm-proceed {
    min-width: 112px;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-weight: 900;
    font-size: 14px;
    cursor: pointer;
}
.site-confirm-cancel { background: #fff; color: #222; }
.site-confirm-cancel:hover { background: #f5f5f5; }
.site-confirm-proceed { border-color: var(--accent); background: var(--accent); color: #111; }
.site-confirm-proceed:hover { filter: brightness(.96); }
.site-confirm-proceed.is-delete { background: #d93632; border-color: #d93632; color: #fff; }

@media (max-width: 700px) {
    .site-toast-stack { top: 82px; right: 16px; left: 16px; width: auto; }
    .site-confirm-dialog { padding: 24px 20px; border-radius: 20px; }
    .site-confirm-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .site-confirm-cancel, .site-confirm-proceed { width: 100%; min-width: 0; }
}


/* -------------------------------------------------------------------------
   Rich upload picker with local image/video/document preview
   ------------------------------------------------------------------------- */
.native-file-input-enhanced {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}
.rich-file-picker {
    width: 100%;
    margin-top: 6px;
}
.rich-file-dropzone {
    width: 100%;
    min-height: 126px;
    border: 2px dashed #d7c4b1;
    border-radius: 18px;
    background: linear-gradient(180deg, #fff, #fffaf5);
    color: #222;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: left;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.rich-file-dropzone:hover,
.rich-file-dropzone.is-dragover,
.rich-file-picker.is-focus-within .rich-file-dropzone {
    border-color: var(--accent);
    background: #fff4e8;
    box-shadow: 0 0 0 4px rgba(255,122,0,.08);
}
.rich-file-dropzone.is-dragover { transform: translateY(-1px); }
.rich-file-upload-icon {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    border-radius: 15px;
    background: #fff0df;
    color: var(--accent-dark);
    display: grid;
    place-items: center;
}
.rich-file-upload-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.rich-file-drop-copy { display: grid; gap: 4px; }
.rich-file-drop-copy strong { font-size: 16px; font-weight: 950; color: #171717; }
.rich-file-drop-copy small { color: #777; font-size: 13px; line-height: 1.4; }
.rich-file-selection {
    border: 1px solid #ead8c7;
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 9px 24px rgba(69,42,17,.06);
}
.rich-file-selection-head {
    padding: 13px 14px;
    background: #fffaf5;
    border-bottom: 1px solid #f0e2d5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.rich-file-selection-head > div:first-child { display: grid; gap: 2px; min-width: 0; }
.rich-file-selection-head strong { color: #191919; font-size: 14px; }
.rich-file-selection-head small { color: #777; font-size: 12px; }
.rich-file-actions { display: flex; gap: 8px; flex: 0 0 auto; }
.rich-file-change,
.rich-file-clear {
    min-height: 34px;
    padding: 7px 11px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}
.rich-file-change { border: 1px solid #ffc48e; background: #fff; color: #8d4600; }
.rich-file-change:hover { background: #fff1e4; }
.rich-file-clear { border: 1px solid #efc2bd; background: #fff; color: #b12b22; }
.rich-file-clear:hover { background: #fff1ef; }
.rich-file-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    padding: 14px;
}
.rich-file-preview-card {
    min-width: 0;
    border: 1px solid #e9e9e9;
    border-radius: 14px;
    overflow: hidden;
    background: #f7f7f7;
}
.rich-file-preview-media,
.rich-file-document-preview {
    width: 100%;
    height: 132px;
    display: block;
    background: #111;
}
.rich-file-preview-media { object-fit: cover; }
.rich-file-preview-video { object-fit: contain; }
.rich-file-document-preview {
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #232323, #111);
}
.rich-file-document-icon {
    min-width: 62px;
    min-height: 62px;
    padding: 10px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--accent);
    color: #111;
    font-size: 13px;
    font-weight: 1000;
    letter-spacing: .04em;
}
.rich-file-preview-info {
    min-width: 0;
    display: grid;
    gap: 3px;
    padding: 10px 11px 11px;
    background: #fff;
}
.rich-file-preview-info strong {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    color: #222;
}
.rich-file-preview-info small { color: #888; font-size: 11px; }
@media (max-width: 620px) {
    .rich-file-dropzone { min-height: 112px; padding: 16px; }
    .rich-file-upload-icon { width: 44px; height: 44px; flex-basis: 44px; }
    .rich-file-selection-head { align-items: flex-start; flex-direction: column; }
    .rich-file-actions { width: 100%; }
    .rich-file-change, .rich-file-clear { flex: 1; }
    .rich-file-preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; padding: 10px; }
    .rich-file-preview-media, .rich-file-document-preview { height: 105px; }
}


/* Homepage media brightness control */
.homepage-brightness-control {
    display: grid;
    gap: 7px;
    padding: 12px 14px;
    margin-top: 4px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}
.brightness-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.brightness-label-row label { margin: 0; }
.brightness-label-row output {
    min-width: 54px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-weight: 800;
    text-align: center;
}
.homepage-brightness-control input[type=range] {
    width: 100%;
    accent-color: var(--accent);
    cursor: pointer;
}
.brightness-scale {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: var(--muted);
    font-size: 11px;
}
