/* ARTHUR Premium Electronics - storefront V2 design system
   Navy + white. Namespaced with .av-* so it never collides with legacy markup. */
:root {
    --av-navy-950: #061442;
    --av-navy-900: #0a1f5c;
    --av-navy-800: #0d2a7a;
    --av-navy-700: #123499;
    --av-blue: #1a47c8;
    --av-sky: #e8eefc;
    --av-ink: #101828;
    --av-muted: #5b6577;
    --av-line: #e3e8f2;
    --av-soft: #f4f6fb;
    --av-white: #fff;
    --av-green: #17a34a;
    --av-green-dark: #128a3d;
    --av-amber: #f5a524;
    --av-radius: 14px;
    --av-radius-sm: 10px;
    --av-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 8px 24px rgba(16, 24, 40, .06);
    --av-shadow-hover: 0 2px 4px rgba(16, 24, 40, .08), 0 14px 32px rgba(16, 24, 40, .12);
    --av-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body.av-body {
    margin: 0;
    background: var(--av-soft);
    color: var(--av-ink);
    font-family: var(--av-font);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
.av-body a { color: var(--av-navy-700); text-decoration: none; }
.av-body a:hover { color: var(--av-blue); }
.av-body img { max-width: 100%; }
.av-container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 992px) { .av-container { padding: 0 24px; } }
.av-skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 2000; }
.av-skip:focus { left: 8px; }
.av-body :focus-visible { outline: 3px solid #7aa2ff; outline-offset: 2px; border-radius: 6px; }

/* ------------------------------------------------------------ header */
.av-topbar { background: var(--av-navy-950); color: #cdd7f5; font-size: 12.5px; }
.av-topbar .av-container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 34px; }
.av-topbar a { color: #cdd7f5; }
.av-topbar a:hover { color: #fff; }
.av-topbar-links { display: none; gap: 20px; }
@media (min-width: 768px) { .av-topbar-links { display: flex; } }

.av-header { background: var(--av-white); position: sticky; top: 0; z-index: 1030; box-shadow: 0 1px 0 var(--av-line); }
.av-header-main { display: grid; grid-template-columns: auto 1fr auto; gap: 12px 20px; align-items: center; padding: 12px 0; }
.av-brand { display: flex; align-items: center; gap: 10px; color: var(--av-navy-900) !important; }
.av-brand img { width: 44px; height: 44px; border-radius: 10px; }
.av-brand-title { display: block; font-weight: 800; letter-spacing: .08em; font-size: 19px; line-height: 1; }
.av-brand-sub { display: block; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--av-muted); margin-top: 4px; }
.av-search-wrap { position: relative; min-width: 0; }
.av-search { display: flex; border: 2px solid var(--av-navy-800); border-radius: 999px; overflow: hidden; background: #fff; }
.av-search input { flex: 1; min-width: 0; border: 0; padding: 11px 18px; font-size: 15px; outline: none; background: transparent; color: var(--av-ink); }
.av-search button { border: 0; background: var(--av-navy-800); color: #fff; padding: 0 22px; font-weight: 600; cursor: pointer; }
.av-search button:hover { background: var(--av-navy-700); }
.av-tools { display: flex; align-items: center; gap: 10px; }
.av-account { display: flex; align-items: center; gap: 10px; border: 0; background: transparent; color: var(--av-ink) !important; padding: 6px 10px; border-radius: 10px; cursor: pointer; text-align: left; }
.av-account:hover { background: var(--av-soft); }
.av-account-icon { width: 34px; height: 34px; border-radius: 50%; background: var(--av-sky); color: var(--av-navy-800); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.av-account small { display: block; font-size: 11px; color: var(--av-muted); line-height: 1.1; }
.av-account strong { display: block; font-size: 13px; line-height: 1.2; }
.av-account-wrap { display: flex; align-items: center; gap: 6px; }
.av-signout { border: 0; background: none; color: var(--av-muted); font-size: 12px; text-decoration: underline; cursor: pointer; }
.av-wa-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--av-green); color: #fff !important; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; white-space: nowrap; box-shadow: 0 6px 16px rgba(23, 163, 74, .28); }
.av-wa-btn:hover { background: var(--av-green-dark); }
.av-wa-btn svg { width: 18px; height: 18px; }
@media (max-width: 991px) {
    .av-header-main { grid-template-columns: 1fr auto; padding: 10px 0 12px; }
    .av-search-wrap { grid-column: 1 / -1; order: 3; }
    .av-account-copy { display: none; }
    .av-wa-btn span { display: none; }
    .av-wa-btn { padding: 10px; }
}

.av-nav { background: var(--av-navy-900); }
.av-nav-inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 6px 0; }
.av-nav-inner::-webkit-scrollbar { display: none; }
.av-nav a { flex: none; color: #e5ebff; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; }
.av-nav a:hover, .av-nav a.is-active { background: rgba(255, 255, 255, .14); color: #fff; }

.av-flash { background: #e8f8ee; border: 1px solid #b7e6c7; color: #0f5b2c; border-radius: var(--av-radius-sm); padding: 12px 16px; margin: 16px 0 0; }

/* live search panel (selectors used by the existing search script) */
.live-search-panel { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--av-line); border-radius: var(--av-radius); box-shadow: var(--av-shadow-hover); z-index: 1100; overflow: hidden; max-height: 70vh; overflow-y: auto; }
.live-search-panel[hidden] { display: none; }
.live-search-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; color: var(--av-ink) !important; border-bottom: 1px solid var(--av-line); }
.live-search-item:hover, .live-search-item:focus { background: var(--av-soft); }
.live-search-thumb { width: 52px; height: 52px; flex: none; object-fit: contain; background: #fff; border: 1px solid var(--av-line); border-radius: 8px; }
.live-search-thumb--empty { background: var(--av-soft); }
.live-search-copy { min-width: 0; flex: 1; }
.live-search-name { display: block; font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-search-meta { display: block; font-size: 12px; color: var(--av-muted); }
.live-search-price { font-weight: 700; color: var(--av-navy-800); font-size: 14px; white-space: nowrap; }
.live-search-empty { padding: 16px; color: var(--av-muted); }
.live-search-view-all { display: block; text-align: center; padding: 12px; font-weight: 600; background: var(--av-soft); }

/* ------------------------------------------------------------ buttons */
.av-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 11px 22px; font-weight: 700; font-size: 15px; border: 2px solid transparent; cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s; }
.av-btn-primary { background: #fff; color: var(--av-navy-900) !important; }
.av-btn-primary:hover { background: var(--av-sky); }
.av-btn-navy { background: var(--av-navy-800); color: #fff !important; }
.av-btn-navy:hover { background: var(--av-navy-700); }
.av-btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff !important; }
.av-btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.av-btn-outline { border-color: var(--av-navy-800); color: var(--av-navy-800) !important; background: #fff; }
.av-btn-outline:hover { background: var(--av-sky); }
.av-btn-wa { background: var(--av-green); color: #fff !important; box-shadow: 0 8px 18px rgba(23, 163, 74, .25); }
.av-btn-wa:hover { background: var(--av-green-dark); }
.av-btn-lg { padding: 14px 28px; font-size: 16px; }
.av-btn svg { width: 19px; height: 19px; }

/* ------------------------------------------------------------ hero */
.av-hero { background: radial-gradient(1200px 500px at 85% -10%, #2352d6 0%, transparent 60%), linear-gradient(135deg, var(--av-navy-950), var(--av-navy-800)); color: #fff; overflow: hidden; }
.av-hero-grid { display: grid; gap: 32px; padding: 40px 0 48px; align-items: center; }
@media (min-width: 992px) { .av-hero-grid { grid-template-columns: 1.05fr .95fr; padding: 64px 0 72px; } }
.av-eyebrow { display: inline-block; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); padding: 6px 14px; border-radius: 999px; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; margin-bottom: 18px; }
.av-hero h1 { font-size: clamp(30px, 5vw, 52px); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; margin: 0 0 16px; }
.av-hero p.lead { color: #cfdaff; font-size: clamp(16px, 2vw, 19px); max-width: 560px; margin: 0 0 28px; line-height: 1.55; }
.av-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.av-hero-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 34px; }
.av-hero-stats strong { display: block; font-size: 26px; font-weight: 800; }
.av-hero-stats span { font-size: 13px; color: #b8c7f5; }
.av-hero-art { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.av-hero-card { background: #fff; border-radius: 18px; padding: 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, .28); transform: translateY(0); transition: transform .2s; }
.av-hero-card:nth-child(even) { transform: translateY(18px); }
.av-hero-card:hover { transform: translateY(-4px); }
.av-hero-card img { width: 100%; aspect-ratio: 1; object-fit: contain; display: block; background: #fff; }
.av-hero-card span { display: block; font-size: 12.5px; font-weight: 600; color: var(--av-ink); margin-top: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 575px) { .av-hero-art { display: none; } }

/* ------------------------------------------------------------ trust bar */
.av-trust { background: #fff; border-bottom: 1px solid var(--av-line); }
.av-trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; padding: 14px 0; }
@media (min-width: 768px) { .av-trust-grid { grid-template-columns: repeat(4, 1fr); } }
.av-trust-item { display: flex; align-items: center; gap: 12px; padding: 8px 4px; }
.av-trust-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--av-sky); color: var(--av-navy-800); display: grid; place-items: center; flex: none; }
.av-trust-icon svg { width: 22px; height: 22px; }
.av-trust-item strong { display: block; font-size: 14px; }
.av-trust-item span { display: block; font-size: 12.5px; color: var(--av-muted); }

/* ------------------------------------------------------------ sections */
.av-section { padding: 36px 0 8px; }
.av-section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.av-section-head h2 { font-size: clamp(21px, 3vw, 28px); font-weight: 800; letter-spacing: -.01em; margin: 0; color: var(--av-navy-900); }
.av-section-head p { margin: 4px 0 0; color: var(--av-muted); font-size: 14px; }
.av-more { font-weight: 700; font-size: 14px; white-space: nowrap; }

/* category tiles */
.av-cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 576px) { .av-cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) { .av-cat-grid { grid-template-columns: repeat(6, 1fr); } }
.av-cat { background: #fff; border: 1px solid var(--av-line); border-radius: var(--av-radius); padding: 14px; text-align: center; transition: box-shadow .15s, transform .15s, border-color .15s; color: var(--av-ink) !important; display: block; }
.av-cat:hover { box-shadow: var(--av-shadow-hover); transform: translateY(-3px); border-color: #c8d4f2; }
.av-cat-media { aspect-ratio: 1; display: grid; place-items: center; margin-bottom: 10px; border-radius: 10px; background: #fff; overflow: hidden; }
.av-cat-media img { width: 100%; height: 100%; object-fit: contain; }
.av-cat-media svg { width: 54%; height: 54%; color: var(--av-navy-700); opacity: .85; }
.av-cat strong { display: block; font-size: 14.5px; }
.av-cat span { font-size: 12.5px; color: var(--av-muted); }

/* ------------------------------------------------------------ product grid + cards */
.av-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .av-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 992px) { .av-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .av-grid-wide { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.av-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.av-rail > * { scroll-snap-align: start; }
@media (min-width: 576px) { .av-rail { grid-auto-columns: 32%; } }
@media (min-width: 992px) { .av-rail { grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; } }
@media (min-width: 1280px) { .av-rail { grid-auto-columns: calc((100% - 4 * 16px) / 5); } }

.av-card { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--av-line); border-radius: var(--av-radius); overflow: hidden; transition: box-shadow .18s, transform .18s, border-color .18s; }
.av-card:hover { box-shadow: var(--av-shadow-hover); transform: translateY(-3px); border-color: #c8d4f2; }
.av-card-media { position: relative; display: block; aspect-ratio: 1 / 1; background: #fff; border-bottom: 1px solid #f0f3f9; }
.av-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 10px; background: #fff; }
.av-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: linear-gradient(160deg, #f7f9fe, #eaf0fc); color: var(--av-navy-700); }
.av-ph svg { width: 44%; height: 44%; opacity: .55; }
.av-ph small { font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: #55648c; font-weight: 600; }
.av-card-body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; flex: 1; }
.av-card-brand { font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--av-muted); font-weight: 600; }
.av-card-title { margin: 0; font-size: 14.5px; line-height: 1.35; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.av-card-title a { color: var(--av-ink) !important; }
.av-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.av-price { font-size: 18px; font-weight: 800; color: var(--av-navy-800); letter-spacing: -.01em; }
.av-price small { font-size: 12px; font-weight: 700; margin-right: 3px; color: var(--av-muted); }
.av-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 6px; }
.av-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: #e9f8ef; color: #0f6a33; }
.av-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.av-pill.is-out { background: #fdecec; color: #a01c1c; }
.av-pill.is-limited, .av-pill.is-pre { background: #fff4e0; color: #9a5b00; }
.av-pill.is-cond { background: var(--av-sky); color: var(--av-navy-800); }
.av-pill.is-cond::before { display: none; }
.av-order { position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--av-green); color: #fff !important; flex: none; box-shadow: 0 6px 14px rgba(23, 163, 74, .28); }
.av-order:hover { background: var(--av-green-dark); }
.av-order svg { width: 20px; height: 20px; }

/* ------------------------------------------------------------ listing page */
.av-page-head { background: #fff; border-bottom: 1px solid var(--av-line); }
.av-page-head .av-container { padding-top: 22px; padding-bottom: 22px; }
.av-crumbs { font-size: 13px; color: var(--av-muted); margin-bottom: 8px; }
.av-crumbs a { color: var(--av-muted); }
.av-page-head h1 { font-size: clamp(24px, 3.5vw, 34px); margin: 0; font-weight: 800; color: var(--av-navy-900); letter-spacing: -.01em; }
.av-page-head p { margin: 6px 0 0; color: var(--av-muted); }
.av-layout { display: grid; gap: 20px; padding: 22px 0 8px; }
@media (min-width: 992px) { .av-layout { grid-template-columns: 270px minmax(0, 1fr); } }
.av-filters { background: #fff; border: 1px solid var(--av-line); border-radius: var(--av-radius); padding: 18px; display: grid; gap: 14px; align-content: start; }
@media (min-width: 992px) { .av-filters { position: sticky; top: 150px; } }
.av-filters label { font-size: 12.5px; font-weight: 700; color: var(--av-muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 5px; display: block; }
.av-filters .form-control, .av-filters .form-select { border-radius: 10px; border-color: var(--av-line); padding: 9px 12px; font-size: 14.5px; }
.av-filters-toggle { display: none; }
@media (max-width: 991px) {
    .av-filters-toggle { display: flex; width: 100%; justify-content: space-between; align-items: center; background: #fff; border: 1px solid var(--av-line); border-radius: var(--av-radius-sm); padding: 12px 16px; font-weight: 700; color: var(--av-navy-800); }
    .av-filters { display: none; }
    .av-filters.is-open { display: grid; }
}
.av-empty { background: #fff; border: 1px dashed #c8d4f2; border-radius: var(--av-radius); padding: 36px 20px; text-align: center; color: var(--av-muted); grid-column: 1 / -1; }
.infinite-scroll-status { text-align: center; padding: 28px 0 8px; color: var(--av-muted); }
.infinite-scroll-status .btn { border-radius: 999px; padding: 10px 26px; font-weight: 700; border-width: 2px; }

/* ------------------------------------------------------------ product page */
.av-pdp { display: grid; gap: 28px; padding: 22px 0 8px; }
@media (min-width: 992px) { .av-pdp { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 44px; } }
.av-gallery { display: grid; gap: 12px; align-content: start; }
@media (min-width: 576px) { .av-gallery.has-thumbs { grid-template-columns: 84px minmax(0, 1fr); } .av-gallery .av-thumbs { order: -1; flex-direction: column; } }
.av-stage { position: relative; aspect-ratio: 1 / 1; background: #fff; border: 1px solid var(--av-line); border-radius: var(--av-radius); overflow: hidden; cursor: zoom-in; }
.av-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform .25s ease; transform-origin: center; background: #fff; }
.av-stage.is-zooming img { transform: scale(2.1); transition: transform .08s linear; }
.av-stage-hint { position: absolute; right: 12px; bottom: 12px; background: rgba(16, 24, 40, .72); color: #fff; font-size: 12px; padding: 5px 10px; border-radius: 999px; pointer-events: none; }
.av-thumbs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: thin; }
.av-thumb { flex: none; width: 76px; height: 76px; padding: 4px; background: #fff; border: 2px solid var(--av-line); border-radius: 12px; cursor: pointer; }
.av-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.av-thumb.is-active, .av-thumb:hover { border-color: var(--av-navy-800); }
.av-buybox { background: #fff; border: 1px solid var(--av-line); border-radius: var(--av-radius); padding: 22px; box-shadow: var(--av-shadow); align-self: start; }
.av-buybox h1 { font-size: clamp(22px, 3vw, 30px); line-height: 1.2; font-weight: 800; margin: 6px 0 14px; color: var(--av-ink); }
.av-buybox .av-brandline { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.av-pdp-price { font-size: clamp(28px, 4vw, 38px); font-weight: 800; color: var(--av-navy-800); letter-spacing: -.02em; }
.av-pdp-price small { font-size: 15px; color: var(--av-muted); margin-right: 6px; font-weight: 700; }
.av-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.av-info { display: grid; gap: 10px; margin: 18px 0 20px; }
.av-info-row { display: flex; gap: 12px; padding: 12px 14px; border: 1px solid var(--av-line); border-radius: 12px; background: var(--av-soft); }
.av-info-row svg { width: 22px; height: 22px; flex: none; color: var(--av-navy-700); margin-top: 1px; }
.av-info-row strong { display: block; font-size: 14px; }
.av-info-row span { font-size: 13.5px; color: var(--av-muted); }
.av-actions { display: grid; gap: 10px; }
.av-note { font-size: 13px; color: var(--av-muted); margin-top: 12px; }
.av-tabs { margin-top: 32px; background: #fff; border: 1px solid var(--av-line); border-radius: var(--av-radius); padding: 24px; }
.av-tabs h2 { font-size: 20px; font-weight: 800; margin: 0 0 14px; color: var(--av-navy-900); }
.av-spec { width: 100%; border-collapse: collapse; }
.av-spec th, .av-spec td { padding: 11px 14px; border-bottom: 1px solid var(--av-line); font-size: 14.5px; text-align: left; vertical-align: top; }
.av-spec th { width: 34%; color: var(--av-muted); font-weight: 600; background: var(--av-soft); }
.av-caption { line-height: 1.7; color: #2b3447; }
.av-sticky-cta { display: none; }
@media (max-width: 767px) {
    .av-sticky-cta { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040; background: #fff; border-top: 1px solid var(--av-line); padding: 10px 14px; box-shadow: 0 -8px 24px rgba(16, 24, 40, .12); align-items: center; }
    .av-sticky-cta .av-price { white-space: nowrap; }
    .av-sticky-cta .av-btn { flex: 1; padding: 12px 14px; }
    body.av-has-sticky { padding-bottom: 76px; }
}
.av-lightbox { position: fixed; inset: 0; background: rgba(6, 20, 66, .92); display: none; align-items: center; justify-content: center; z-index: 2000; padding: 24px; }
.av-lightbox.is-open { display: flex; }
.av-lightbox img { max-width: min(94vw, 1100px); max-height: 88vh; object-fit: contain; background: #fff; border-radius: 12px; }
.av-lightbox button { position: absolute; border: 0; background: rgba(255, 255, 255, .16); color: #fff; width: 46px; height: 46px; border-radius: 50%; font-size: 22px; cursor: pointer; }
.av-lightbox .av-lb-close { top: 18px; right: 18px; }
.av-lightbox .av-lb-prev { left: 18px; top: 50%; }
.av-lightbox .av-lb-next { right: 18px; top: 50%; }

/* ------------------------------------------------------------ brand chips + cta */
.av-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.av-chip { background: #fff; border: 1px solid var(--av-line); border-radius: 999px; padding: 9px 18px; font-weight: 600; font-size: 14px; color: var(--av-navy-800) !important; }
.av-chip:hover { border-color: var(--av-navy-800); background: var(--av-sky); }
.av-cta { margin: 44px 0 0; background: linear-gradient(135deg, var(--av-navy-900), var(--av-navy-700)); color: #fff; border-radius: 22px; padding: 34px 28px; display: grid; gap: 18px; align-items: center; }
@media (min-width: 768px) { .av-cta { grid-template-columns: 1fr auto; padding: 40px 44px; } }
.av-cta h2 { margin: 0 0 6px; font-size: clamp(22px, 3vw, 30px); font-weight: 800; }
.av-cta p { margin: 0; color: #cfdaff; }

/* ------------------------------------------------------------ footer */
.av-footer { background: var(--av-navy-950); color: #b9c6ec; margin-top: 56px; }
.av-footer a { color: #d9e2ff; }
.av-footer a:hover { color: #fff; }
.av-footer-grid { display: grid; gap: 32px; padding: 48px 0 28px; }
@media (min-width: 768px) { .av-footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.av-footer h3 { color: #fff; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 14px; }
.av-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14.5px; }
.av-footer p { font-size: 14.5px; line-height: 1.6; margin: 0 0 10px; }
.av-pay { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.av-pay span { border: 1px solid rgba(255, 255, 255, .22); border-radius: 8px; padding: 5px 11px; font-size: 12.5px; font-weight: 700; color: #fff; }
.av-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px 0 26px; font-size: 13px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.av-footer .footer-notification-button { border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; border-radius: 999px; padding: 8px 16px; margin-top: 12px; }
.av-footer .footer-notification-button[hidden] { display: none; }
.av-referral { display: grid; gap: 8px; }
.av-referral input { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); color: #fff; border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.av-referral input::placeholder { color: #8fa0d2; }
.av-referral button { background: #fff; color: var(--av-navy-900); border: 0; border-radius: 10px; padding: 10px; font-weight: 700; }

/* ------------------------------------------------------------ auth modal (markup unchanged) */
.customer-auth-modal .modal-content { border: 0; border-radius: 20px; box-shadow: var(--av-shadow-hover); }
.customer-auth-modal .modal-body { padding: 28px; }
.auth-modal-title { font-size: 22px; font-weight: 800; color: var(--av-navy-900); margin: 0 0 8px; }
.auth-protected { display: flex; align-items: center; gap: 8px; color: var(--av-muted); font-size: 13.5px; margin-bottom: 16px; }
.auth-protected-mark { width: 20px; height: 20px; border-radius: 50%; background: #e9f8ef; color: #0f6a33; display: grid; place-items: center; font-size: 12px; }
.auth-mode-tabs { gap: 6px; margin-bottom: 16px; border: 0; }
.auth-mode-tabs .nav-link { border-radius: 999px; font-weight: 700; color: var(--av-muted); }
.auth-mode-tabs .nav-link.active { background: var(--av-navy-800); color: #fff; }
.phone-row { display: grid; grid-template-columns: 140px 1fr; gap: 10px; }
.auth-submit { border-radius: 999px; padding: 12px; font-weight: 700; background: var(--av-navy-800); border-color: var(--av-navy-800); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
