/* ==========================================================================
   Atanix Electronics — storefront design system
   Brand red is taken from the logo; the rest is a neutral slate scale.
   ========================================================================== */

:root {
    --brand: #e8112d;
    --brand-dark: #b8000f;
    --brand-soft: #fff1f2;
    --ink: #101318;
    --ink-2: #2b3138;
    --muted: #6b7280;
    --line: #e6e8eb;
    --bg: #ffffff;
    --bg-alt: #f6f7f9;
    --shadow-sm: 0 1px 2px rgba(16, 19, 24, .06), 0 4px 12px rgba(16, 19, 24, .05);
    --shadow-md: 0 12px 32px rgba(16, 19, 24, .10);
    --radius: 14px;
    --radius-lg: 22px;
    --container: 1240px;
    --header-h: 74px;
}

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

/* Author `display` rules outrank the UA stylesheet's [hidden], so state we
   toggle with the hidden attribute needs this to actually stay hidden. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }

body {
    font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    color: var(--brand);
}
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.18; font-weight: 700; letter-spacing: -.02em; margin: 10px 0 12px; }
.section-head p { color: var(--muted); font-size: 1.02rem; }

section { padding: 84px 0; }
section.tight { padding: 56px 0; }
.bg-alt { background: var(--bg-alt); }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 13px 26px; border: 1px solid transparent; border-radius: 999px;
    font-weight: 600; font-size: .95rem; cursor: pointer; white-space: nowrap;
    transition: transform .18s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px rgba(232, 17, 45, .28); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--brand); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: .85rem; }

/* ---------- Brand lockup ---------- */

/* The logo is a real image file: assets/logo.png (drop your own artwork in at
   that path) with assets/logo.svg as the fallback if the PNG is missing. */
.brand { display: inline-flex; align-items: center; flex: none; }
.brand-logo { height: 48px; width: auto; display: block; }
.footer .brand-logo { height: 52px; }

/* ---------- Top bar + header ---------- */

.topbar {
    background: var(--ink); color: #d8dbe0; font-size: .82rem;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 9px 24px; flex-wrap: wrap;
}
.topbar i { color: var(--brand); }
.topbar-links { display: flex; gap: 20px; align-items: center; }
.topbar a:hover { color: #fff; }

.header {
    position: sticky; top: 0; z-index: 900; background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { font-weight: 500; font-size: .95rem; color: var(--ink-2); position: relative; padding: 4px 0; }
.nav a::after {
    content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
    background: var(--brand); transition: width .25s ease;
}
.nav a:hover { color: var(--brand); }
.nav a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
    position: relative; width: 42px; height: 42px; border-radius: 50%;
    background: transparent; border: 1px solid var(--line); cursor: pointer;
    display: grid; place-items: center; font-size: 1rem; transition: all .2s ease;
}
.icon-btn:hover { border-color: var(--brand); color: var(--brand); }
.cart-count {
    position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 5px;
    border-radius: 999px; background: var(--brand); color: #fff;
    font-size: .7rem; font-weight: 700; display: grid; place-items: center;
}
.cart-count[hidden] { display: none; }
.nav-toggle { display: none; }

/* Mobile nav */
.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 14px 24px; border-bottom: 1px solid var(--line); font-weight: 500; }

/* ---------- Hero slider ---------- */

.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.slides { position: relative; min-height: 560px; }
.slide {
    position: absolute; inset: 0; display: grid; place-items: center;
    opacity: 0; visibility: hidden; transition: opacity .7s ease;
    background: radial-gradient(120% 120% at 88% 15%, rgba(232, 17, 45, .5) 0%, transparent 55%), linear-gradient(120deg, #14181f 0%, #05070a 100%);
}
.slide.active { opacity: 1; visibility: visible; }
.slide-inner { max-width: var(--container); width: 100%; padding: 90px 24px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.slide h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.08; font-weight: 700; letter-spacing: -.03em; margin: 16px 0 18px; }
.slide h1 .accent { color: transparent; background: linear-gradient(100deg, #ff5b6e, var(--brand)); -webkit-background-clip: text; background-clip: text; }
.slide p { color: #b9bfc8; font-size: 1.08rem; max-width: 520px; margin-bottom: 30px; }
.slide-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.slide-stats { display: flex; gap: 34px; margin-top: 44px; flex-wrap: wrap; }
.slide-stats b { display: block; font-size: 1.6rem; font-weight: 700; }
.slide-stats span { font-size: .82rem; color: #9aa2ad; letter-spacing: .04em; }

/* Decorative product panel inside the slide */
.slide-visual {
    position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
    display: grid; place-items: center; backdrop-filter: blur(6px); overflow: hidden;
}
.slide-visual::after {
    content: ''; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%;
    background: var(--brand); filter: blur(90px); opacity: .45;
}
.slide-visual i { font-size: clamp(5rem, 13vw, 10rem); position: relative; z-index: 1; }
.slide-visual img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.slide-tag {
    position: absolute; top: 20px; left: 20px; z-index: 2;
    background: rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .2);
    padding: 7px 16px; border-radius: 999px; font-size: .78rem; font-weight: 600;
    display: inline-flex; align-items: center; gap: 8px;
}
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .25); }

.slider-nav { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.slider-nav button {
    width: 34px; height: 4px; border: none; border-radius: 999px; cursor: pointer;
    background: rgba(255, 255, 255, .3); transition: background .25s ease, width .25s ease;
}
.slider-nav button.active { background: var(--brand); width: 52px; }

/* ---------- Trust strip ---------- */

.trust { border-bottom: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 28px 0; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item i { color: var(--brand); font-size: 1.35rem; width: 44px; height: 44px; flex: none; display: grid; place-items: center; background: var(--brand-soft); border-radius: 12px; }
.trust-item b { display: block; font-size: .95rem; }
.trust-item span { font-size: .82rem; color: var(--muted); }

/* ---------- Category tiles ---------- */

.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; }
.cat-card {
    position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px 24px; text-align: center; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.cat-icon { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: 1.7rem; margin-bottom: 8px; }
.cat-card h3 { font-size: 1.02rem; font-weight: 600; }
.cat-card p { font-size: .84rem; color: var(--muted); }
.cat-flag { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-top: 6px; }
.cat-flag.live { color: #16a34a; }
.cat-flag.soon { color: var(--muted); }
.cat-card.is-soon { background: var(--bg-alt); }
.cat-card.is-soon .cat-icon { background: #e9ebee; color: var(--ink-2); }

/* ---------- Catalog toolbar ---------- */

.catalog-bar { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 28px; }
.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-right: auto; }
.tab-btn {
    background: #fff; border: 1px solid var(--line); padding: 9px 20px; border-radius: 999px;
    cursor: pointer; font-weight: 500; font-size: .9rem; transition: all .22s ease;
}
.tab-btn:hover { border-color: var(--brand); color: var(--brand); }
.tab-btn.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.search-box { position: relative; }
.search-box i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .9rem; }
.search-box input { padding: 11px 16px 11px 38px; border: 1px solid var(--line); border-radius: 999px; width: 220px; outline: none; font-size: .9rem; background: #fff; }
.search-box input:focus { border-color: var(--brand); }
.sort-select { padding: 11px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; outline: none; font-size: .9rem; cursor: pointer; }
.sort-select:focus { border-color: var(--brand); }

/* ---------- Product grid ---------- */

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 26px; min-height: 220px; }
.product-card {
    position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; display: flex; flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.product-media { position: relative; background: var(--bg-alt); }
.product-img { height: 230px; width: 100%; object-fit: cover; }
.badge {
    position: absolute; top: 14px; left: 14px; z-index: 2;
    padding: 5px 13px; border-radius: 999px; background: var(--brand); color: #fff;
    font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.badge.soon { background: var(--ink); }
.badge.out { background: var(--muted); }
.badge-save { position: absolute; top: 14px; right: 14px; z-index: 2; background: #16a34a; color: #fff; padding: 5px 12px; border-radius: 999px; font-size: .7rem; font-weight: 700; }
.product-info { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.product-category { font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.product-title { font-size: 1.04rem; font-weight: 600; margin: 7px 0 8px; line-height: 1.35; }
.product-desc { font-size: .86rem; color: var(--muted); margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-features { list-style: none; margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.product-features li { font-size: .72rem; background: var(--bg-alt); border: 1px solid var(--line); color: var(--ink-2); padding: 3px 10px; border-radius: 999px; }
.price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.price { font-size: 1.3rem; font-weight: 700; color: var(--brand); }
.mrp { font-size: .9rem; color: var(--muted); text-decoration: line-through; }
.product-actions { margin-top: auto; display: flex; gap: 8px; }
.product-actions .btn { flex: 1; border-radius: 10px; padding: 11px 14px; }
.stock-note { font-size: .76rem; color: var(--muted); margin-top: 10px; text-align: center; }

.grid-msg { grid-column: 1 / -1; text-align: center; padding: 50px 20px; color: var(--muted); }
.grid-msg i { font-size: 1.6rem; color: var(--brand); margin-bottom: 12px; display: block; }
.grid-msg code { background: var(--bg-alt); border: 1px solid var(--line); padding: 2px 7px; border-radius: 6px; font-size: .85rem; }
.skeleton { border-radius: var(--radius); background: linear-gradient(100deg, #eef0f2 30%, #f7f8f9 50%, #eef0f2 70%); background-size: 220% 100%; animation: shimmer 1.4s infinite linear; height: 380px; }
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -20% 0; } }

/* ---------- Roadmap ---------- */

.roadmap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.roadmap-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
    display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden;
}
.roadmap-card::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--brand); opacity: .85; }
.roadmap-card .step { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.roadmap-card i { font-size: 1.6rem; color: var(--ink); }
.roadmap-card h3 { font-size: 1.08rem; font-weight: 600; }
.roadmap-card p { font-size: .88rem; color: var(--muted); flex-grow: 1; }

/* ---------- Why / about ---------- */

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-list { list-style: none; display: grid; gap: 18px; margin-top: 26px; }
.about-list li { display: flex; gap: 14px; align-items: flex-start; }
.about-list i { color: var(--brand); margin-top: 4px; }
.about-list b { display: block; }
.about-list span { font-size: .9rem; color: var(--muted); }
.about-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: center; }
.stat-tile b { display: block; font-size: 1.9rem; font-weight: 700; color: var(--brand); letter-spacing: -.02em; }
.stat-tile span { font-size: .84rem; color: var(--muted); }

/* ---------- Dealer CTA ---------- */

.cta-band {
    background: radial-gradient(110% 130% at 85% 10%, rgba(232, 17, 45, .55) 0%, transparent 55%), linear-gradient(120deg, #14181f, #05070a);
    color: #fff; border-radius: var(--radius-lg); padding: 56px; display: flex; gap: 40px;
    align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: 10px; }
.cta-band p { color: #b9bfc8; max-width: 520px; }

/* ---------- Footer ---------- */

.footer { background: var(--ink); color: #9aa2ad; padding: 68px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer h4 { color: #fff; font-size: .95rem; font-weight: 600; margin-bottom: 18px; }
.footer ul { list-style: none; display: grid; gap: 11px; font-size: .9rem; }
.footer a:hover { color: var(--brand); }
.footer p { font-size: .9rem; margin-top: 18px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #2a2f37; display: grid; place-items: center; transition: all .2s ease; }
.socials a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact i { color: var(--brand); margin-top: 4px; }
.footer-bottom { border-top: 1px solid #22272e; padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; font-size: .84rem; flex-wrap: wrap; }

/* ---------- Cart drawer ---------- */

.overlay {
    position: fixed; inset: 0; background: rgba(9, 11, 14, .55); z-index: 1000;
    opacity: 0; visibility: hidden; transition: opacity .3s ease;
}
.overlay.open { opacity: 1; visibility: visible; }

.drawer {
    position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%);
    background: #fff; z-index: 1001; display: flex; flex-direction: column;
    transform: translateX(100%); transition: transform .32s cubic-bezier(.4, 0, .2, 1);
    box-shadow: -20px 0 60px rgba(0, 0, 0, .18);
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 1.1rem; font-weight: 600; }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px 24px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 20px 24px; display: grid; gap: 14px; }
.drawer-total { display: flex; justify-content: space-between; align-items: baseline; }
.drawer-total b { font-size: 1.4rem; color: var(--brand); }
.close-btn { background: none; border: none; font-size: 1.2rem; cursor: pointer; color: var(--muted); }
.close-btn:hover { color: var(--brand); }

.cart-line { display: grid; grid-template-columns: 68px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 68px; height: 68px; border-radius: 10px; object-fit: cover; background: var(--bg-alt); }
.cart-line h4 { font-size: .93rem; font-weight: 600; line-height: 1.35; }
.cart-line .unit { font-size: .82rem; color: var(--muted); }
.qty { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 999px; margin-top: 8px; }
.qty button { width: 26px; height: 26px; border: none; background: none; cursor: pointer; border-radius: 50%; color: var(--ink-2); }
.qty button:hover { background: var(--brand-soft); color: var(--brand); }
.qty span { min-width: 22px; text-align: center; font-size: .88rem; font-weight: 600; }
.cart-line .line-total { font-weight: 600; font-size: .95rem; }
.cart-line .remove { background: none; border: none; color: var(--muted); cursor: pointer; font-size: .78rem; margin-top: 8px; }
.cart-line .remove:hover { color: var(--brand); }
.cart-empty { text-align: center; padding: 60px 10px; color: var(--muted); }
.cart-empty i { font-size: 2.2rem; color: var(--line); display: block; margin-bottom: 14px; }

/* ---------- Modal + forms ---------- */

.modal {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -46%) scale(.97);
    width: min(560px, calc(100% - 32px)); max-height: 88vh; overflow-y: auto;
    background: #fff; border-radius: var(--radius-lg); z-index: 1002; padding: 32px;
    opacity: 0; visibility: hidden; transition: opacity .25s ease, transform .25s ease;
    box-shadow: var(--shadow-md);
}
.modal.open { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.modal h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; }
.modal .modal-sub { color: var(--muted); font-size: .92rem; margin: 8px 0 24px; }
.modal-close { position: absolute; top: 18px; right: 18px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 7px; color: var(--ink-2); }
.field input, .field select, .field textarea {
    width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
    outline: none; font-size: .95rem; background: #fff; transition: border-color .2s ease;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); }
.field .sub { font-size: .78rem; color: var(--muted); margin-top: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.order-summary { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; padding: 16px; font-size: .9rem; margin-bottom: 20px; }
.order-summary div { display: flex; justify-content: space-between; gap: 12px; }
.order-summary div + div { margin-top: 8px; }
.order-summary .total { border-top: 1px dashed var(--line); padding-top: 10px; font-weight: 700; }

.alert { padding: 12px 16px; border-radius: 10px; font-size: .9rem; margin-bottom: 18px; display: none; }
.alert.ok { display: block; background: #e9f8ef; color: #12663a; border: 1px solid #b8e3c8; }
.alert.err { display: block; background: #fdecee; color: #a1000a; border: 1px solid #f5c2c7; }

/* ---------- Toast ---------- */

.toast {
    position: fixed; bottom: 26px; left: 50%; transform: translate(-50%, 120%);
    background: var(--ink); color: #fff; padding: 14px 24px; border-radius: 999px;
    font-size: .92rem; font-weight: 500; z-index: 1100; display: flex; align-items: center; gap: 10px;
    transition: transform .3s cubic-bezier(.4, 0, .2, 1); box-shadow: var(--shadow-md);
}
.toast.show { transform: translate(-50%, 0); }
.toast i { color: #4ade80; }
.toast.err i { color: #ff6b7a; }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
    .slide-inner { grid-template-columns: 1fr; gap: 34px; }
    .slide-visual { max-width: 400px; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    section { padding: 60px 0; }
    .nav { display: none; }
    .nav-toggle { display: grid; }
    .header-inner { gap: 12px; }
    /* The header CTA would crowd out the menu and cart icons — it lives in the
       mobile menu instead. */
    .header-actions > .btn { display: none; }
    .slides { min-height: 0; }
    .slide { position: relative; display: none; }
    .slide.active { display: grid; }
    .slide-inner { padding: 60px 24px 80px; }
    .cta-band { padding: 36px 26px; }
    .search-box input { width: 100%; }
    .search-box, .sort-select { flex: 1; }
    .field-row { grid-template-columns: 1fr; }
    .modal { padding: 26px 22px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .topbar { justify-content: center; text-align: center; }
}
