/* ============================================================
   Tokyo Electronics — theme tokens (black / red / white brand)
   ============================================================ */
:root {
  --brand:        #e10600;   /* Tokyo red */
  --brand-dark:   #a80400;
  --brand-ink:    #0d0d0d;   /* brand black for header/footer/text */
  --accent:       #e10600;   /* sale / CTA accent */
  --bg:           #f5f5f6;
  --surface:      #ffffff;
  --line:         #e6e6e8;
  --text:         #1c1c1e;
  --muted:        #6e6e73;
  --success:      #1a9d5c;
  --danger:       #d92c2c;
  --radius:       14px;
  --shadow:       0 6px 24px rgba(0, 0, 0, .10);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.5; }
button { font: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; }
main { max-width: 1600px; margin: 0 auto; padding: 0 24px; }

/* Topbar marquee */
.topbar { background: var(--brand); color: #fff; overflow: hidden; font-size: .8rem; font-weight: 600; }
.topbar-track { display: flex; gap: 48px; white-space: nowrap; padding: 6px 0; width: max-content; animation: marquee 22s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .topbar-track { animation: none; } }

/* Header — brand black */
.header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 20px;
  padding: 16px 20px; background: var(--brand-ink); border-bottom: 3px solid var(--brand);
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.logo-img { height: 68px; width: auto; display: block; }
.logo-text { font-size: 1.9rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.logo-text b { color: var(--brand); font-weight: 700; }
.search { flex: 1; display: flex; max-width: 620px; }
.search input {
  flex: 1; padding: 14px 16px; border: 2px solid #2a2a2a; border-right: 0; background: #1a1a1a; color: #fff;
  border-radius: 10px 0 0 10px; font: inherit; font-size: 1.05rem; outline: none;
}
.search input::placeholder { color: #8e8e93; }
.search input:focus { border-color: var(--brand); }
.search button { padding: 0 20px; background: var(--brand); color: #fff; border-radius: 0 10px 10px 0; font-size: 1.2rem; }
.header-actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.header-contact { text-decoration: none; color: #fff; display: none; line-height: 1.2; font-size: 1.05rem; }
.header-contact small { display: block; color: #8e8e93; font-size: .8rem; }
@media (min-width: 900px) { .header-contact { display: block; } }
.cart-btn { position: relative; font-size: 1.7rem; color: #fff; }
.cart-count {
  position: absolute; top: -6px; right: -10px; background: var(--brand); color: #fff;
  font-size: .7rem; font-weight: 700; border-radius: 99px; padding: 1px 6px; border: 2px solid var(--brand-ink);
}

/* Category nav — dark strip */
.catnav {
  display: flex; gap: 4px; overflow-x: auto; padding: 8px 16px;
  background: #161616; border-bottom: 1px solid #262626;
  scrollbar-width: none;
}
.catnav::-webkit-scrollbar { display: none; }
.catnav button, .catnav a {
  white-space: nowrap; padding: 7px 14px; border-radius: 99px; color: #e5e5e7;
  font-size: 1.1rem; transition: background .15s, color .15s; text-decoration: none;
}
.catnav button:hover, .catnav a:hover { background: #262626; }
.catnav button.is-active, .catnav a.is-active { background: var(--brand); color: #fff; }

/* Hero */
.hero { position: relative; margin: 20px 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.hero-slide {
  display: none; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 340px; padding: 40px 48px; color: #fff;
}
.hero-slide.is-active { display: flex; animation: fadeIn .5s ease; }
.hero-slide-video { padding: 0; aspect-ratio: 2.4 / 1; background: #000; }
.hero-slide-video video { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
@keyframes fadeIn { from { opacity: 0; } }
.hero-slide[data-accent="a"] { background: linear-gradient(120deg, #000 30%, var(--brand)); }
.hero-slide[data-accent="b"] { background: linear-gradient(120deg, #1a1a1a, #7a0300); }
.hero-slide[data-accent="c"] { background: linear-gradient(120deg, #000, #3d0100 70%, var(--brand-dark)); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .9rem; opacity: .85; margin-bottom: 6px; }
.hero-copy h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 8px; }
.hero-sub { font-size: 1.1rem; opacity: .9; margin-bottom: 18px; }
.hero-art { font-size: clamp(4rem, 12vw, 8rem); filter: drop-shadow(0 10px 20px rgba(0,0,0,.3)); }
.hero-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.45); }
.hero-dots button.is-active { background: #fff; }

/* Buttons */
.btn { padding: 11px 22px; border-radius: 10px; font-weight: 600; transition: transform .1s, background .15s; }
.btn:active { transform: scale(.97); }
.btn-light { background: #fff; color: var(--brand-ink); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* Sections */
.section { margin: 40px 0; }
.section-title { font-size: 1.7rem; color: var(--brand-ink); margin-bottom: 18px; }

/* Category grid */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.cat-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 10px; text-align: center; transition: border-color .15s, transform .15s;
}
.cat-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.cat-card .cat-icon { font-size: 2.1rem; display: block; margin-bottom: 6px; }
.cat-card strong { display: block; font-size: 1rem; color: var(--text); }
.cat-card small { color: var(--muted); font-size: .82rem; }

/* Deals */
.deals-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.deals-head .section-title { margin: 0; }
.countdown { display: flex; gap: 4px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--brand-ink); }
.countdown span { background: var(--brand-ink); color: #fff; padding: 6px 10px; border-radius: 8px; }

/* Product grid & cards */
.catalog-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.catalog-head .section-title { margin: 0; }
.catalog-head select { padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font: inherit; color: var(--text); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.product-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; overflow: hidden; position: relative;
  transition: box-shadow .15s, transform .15s;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.badge {
  position: absolute; top: 10px; left: 10px; background: var(--accent); color: #fff;
  font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 99px;
}
.badge.badge-out { background: var(--muted); }
.product-img { display: grid; place-items: center; font-size: 3.4rem; height: 130px; background: var(--bg); overflow: hidden; }
.product-img img, .cart-item-img img, .iute-img img { width: 100%; height: 100%; object-fit: contain; }
.product-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.product-brand { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.card-link { text-decoration: none; color: inherit; display: block; }
.product-name { font-size: 1.08rem; font-weight: 600; color: var(--brand-ink); text-decoration: none; }
.product-name:hover { color: var(--brand); }
.product-desc { font-size: .88rem; color: var(--muted); flex: 1; }
.price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; }
.price { font-size: 1.15rem; font-weight: 800; color: var(--brand); }
.price-old { font-size: .9rem; color: var(--muted); text-decoration: line-through; }
.stock-note { font-size: .8rem; color: var(--success); }
.stock-note.low { color: var(--accent); }
.stock-note.out { color: var(--danger); }
.add-btn { margin-top: 8px; background: var(--brand); color: #fff; border-radius: 10px; padding: 9px; font-weight: 600; }
.add-btn:hover { background: var(--brand-dark); }
.add-btn:disabled { background: var(--line); color: var(--muted); }

/* Iute (pagesa me këste) — official promo modal look */
:root { --iute: #e0004d; --iute-dark: #b00040; --iute-red: #e53238; }
.iute-mark {
  display: inline-block; background: var(--iute); color: #fff; font-weight: 800;
  font-style: italic; padding: 1px 8px 2px; border-radius: 99px; font-size: .85em;
  letter-spacing: .02em;
}
.iute-btn {
  margin-top: 6px; border: 2px solid var(--iute); color: var(--iute); background: #fff;
  border-radius: 10px; padding: 7px; font-weight: 600; font-size: .85rem;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: background .15s, color .15s;
}
.iute-btn:hover { background: var(--iute); color: #fff; }
.iute-btn:hover .iute-mark { background: #fff; color: var(--iute); }
.iute-btn:disabled { border-color: var(--line); color: var(--muted); pointer-events: none; }
.btn-iute { background: var(--iute-red); color: #fff; border-radius: 99px; }
.btn-iute:hover { background: #c42a2f; }
.btn-iute-outline { background: #fff; color: var(--iute-red); border: 2px solid var(--iute-red); border-radius: 99px; }
.btn-iute-outline:hover { background: #fdeeee; }

.iute-card { background: #f0f0f2; }
.iute-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px 4px; }
.iute-logo { display: flex; align-items: center; gap: 8px; font-size: 1.7rem; font-weight: 800; color: #232323; letter-spacing: -.02em; }
.iute-logo-dot {
  width: 34px; height: 34px; border-radius: 50%; background: var(--iute-red);
  display: inline-block; position: relative;
}
.iute-logo-dot::after {
  content: ""; position: absolute; inset: 9px 7px 12px 10px;
  background: #fff; border-radius: 60% 40% 55% 45% / 60% 55% 45% 40%;
  transform: rotate(-25deg);
}
#iutePromo { padding: 8px 14px 16px; }
.iute-panel { background: #fff; border-radius: 16px; padding: 16px 18px; margin-bottom: 12px; }
.iute-screen-title { font-size: 1.15rem; font-weight: 700; color: #232323; }
.iute-sub { font-weight: 400; font-size: .95rem; }
.iute-hr { border: none; border-top: 1px solid #ececec; margin: 10px 0 12px; }
.iute-text { font-size: .88rem; color: #3c3c40; text-align: justify; margin-bottom: 10px; }
.iute-field { display: grid; gap: 4px; font-size: .9rem; color: #232323; }
.iute-field input { padding: 12px; border: 1px solid #d6d6da; border-radius: 8px; font: inherit; font-size: 1.05rem; }
.iute-field input:focus { outline: 2px solid var(--iute-red); border-color: transparent; }
.iute-range { width: 100%; margin-top: 14px; appearance: none; height: 6px; border-radius: 99px; background: #e8e8e8; }
.iute-range::-webkit-slider-thumb {
  appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--iute-red); cursor: pointer; border: none;
}
.iute-range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--iute-red); border: none; cursor: pointer; }
.iute-range-legend { display: flex; justify-content: space-between; font-size: .8rem; color: #6e6e73; margin-top: 2px; }
.iute-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px; margin-top: 14px; font-size: .9rem; color: #232323; }
.iute-stats p { margin: 2px 0; }
.iute-faq { margin: 4px 4px 14px; font-size: .88rem; }
.iute-faq > summary { color: #1a73a8; cursor: pointer; text-align: center; list-style: none; }
.iute-faq-body { background: #fff; border-radius: 16px; padding: 14px 16px; margin-top: 10px; color: #3c3c40; }
.iute-faq-body p { margin-bottom: 6px; }
.iute-faq-body details { margin: 6px 0; border-top: 1px solid #ececec; padding-top: 6px; }
.iute-faq-body summary { font-weight: 600; cursor: pointer; }
.iute-actions { display: flex; justify-content: space-between; gap: 10px; padding: 0 4px; }
.iute-actions .btn { flex: 1; }
.iute-plan-summary { color: var(--iute-red); font-size: .85rem; margin-top: 2px; }

.iute-product { display: flex; gap: 14px; align-items: center; padding: 16px 20px 4px; }
.iute-img { font-size: 2.4rem; width: 64px; height: 64px; display: grid; place-items: center; background: var(--bg); border-radius: 12px; flex-shrink: 0; overflow: hidden; }
.iute-product p { color: var(--muted); font-size: .9rem; }
.iute-product b { color: var(--brand-ink); }
#iuteFormScreen { background: #fff; border-radius: 16px; margin: 0 14px 16px; padding-bottom: 8px; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.iute-note { font-size: .75rem; color: var(--muted); text-align: center; }

/* Services */
.services {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px;
  margin: 40px 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px;
}
.service { display: flex; align-items: center; gap: 12px; }
.service span { font-size: 1.8rem; }
.service strong { font-size: 1.02rem; }
.service small { color: var(--muted); display: block; font-size: .85rem; }

/* Footer */
.footer { background: var(--brand-ink); color: #b8b8bd; margin-top: 60px; padding: 40px 20px 20px; border-top: 3px solid var(--brand); }
.footer-cols { max-width: 1600px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.footer h4 { color: #fff; margin-bottom: 8px; }
.footer-logo { color: #fff; font-size: 1.3rem; margin-bottom: 6px; }
.footer-logo b { color: var(--brand); }
.footer-logo-img { height: 70px; margin-bottom: 10px; display: block; }
.footer-bottom { text-align: center; margin-top: 30px; font-size: .8rem; opacity: .7; }

/* Product links & detail page */
.product-link { text-decoration: none; color: inherit; display: block; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin: 18px 0; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
@media (max-width: 800px) { .pdp { grid-template-columns: 1fr; } }
.pdp-gallery { display: grid; gap: 12px; align-content: start; }
.pdp-main-img { display: grid; place-items: center; background: var(--bg); border-radius: var(--radius); min-height: 300px; max-height: 600px; font-size: 8rem; overflow: hidden; position: relative; }
.pdp-main-img img { width: 100%; height: auto; max-height: 600px; object-fit: contain; }
.pdp-info { display: flex; flex-direction: column; gap: 12px; }
.pdp-brand { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; color: var(--muted); }
.pdp-info h1 { font-size: 1.7rem; color: var(--brand-ink); line-height: 1.2; }
.pdp-price-row { display: flex; align-items: baseline; gap: 12px; }
.pdp-price { font-size: 1.7rem; font-weight: 800; color: var(--brand); }
.pdp-price-old { font-size: 1.05rem; color: var(--muted); text-decoration: line-through; }
.pdp-desc { color: var(--text); line-height: 1.65; }
.pdp-meta { display: grid; gap: 6px; font-size: .9rem; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pdp-meta b { color: var(--brand-ink); }
.qty-row { display: flex; align-items: center; gap: 12px; }
.qty-row .qty button { width: 34px; height: 34px; font-size: 1rem; }
.pdp-actions { display: grid; gap: 10px; max-width: 380px; }
.pdp-services { display: grid; gap: 8px; margin-top: 6px; font-size: .85rem; color: var(--muted); }

/* Cart drawer */
.overlay {
  position: fixed; inset: 0; background: rgba(13,27,61,.45); z-index: 50;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.overlay.is-open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(400px, 100%);
  background: var(--surface); z-index: 60; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .25s ease;
}
.cart-drawer.is-open { transform: none; }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.icon-btn { font-size: 1.1rem; padding: 4px 8px; border-radius: 8px; }
.icon-btn:hover { background: var(--bg); }
.cart-items { flex: 1; overflow-y: auto; padding: 12px 20px; }
.cart-item { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cart-item-img { font-size: 1.8rem; width: 48px; height: 48px; display: grid; place-items: center; background: var(--bg); border-radius: 10px; flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info strong { display: block; font-size: .88rem; color: var(--brand-ink); }
.cart-item-info small { color: var(--muted); }
.qty { display: flex; align-items: center; gap: 6px; }
.qty button { width: 26px; height: 26px; border-radius: 8px; background: var(--bg); font-weight: 700; }
.cart-empty { text-align: center; color: var(--muted); padding: 40px 0; }
.cart-foot { border-top: 1px solid var(--line); padding: 16px 20px; }
.cart-total { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 1.05rem; }

/* Checkout modal */
.modal {
  position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 16px;
  background: rgba(13,27,61,.5); opacity: 0; pointer-events: none; transition: opacity .2s;
}
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal-card {
  background: var(--surface); border-radius: var(--radius); width: min(440px, 100%);
  max-height: 90vh; overflow-y: auto; padding-bottom: 20px;
}
.modal-card form { padding: 16px 20px 0; display: grid; gap: 12px; }
.modal-card label { font-size: .85rem; font-weight: 600; color: var(--brand-ink); display: grid; gap: 4px; }
.modal-card input { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
.modal-card input:focus { outline: 2px solid var(--brand); border-color: transparent; }
.form-error { color: var(--danger); font-size: .85rem; }
.order-success { text-align: center; padding: 30px 20px 10px; display: grid; gap: 8px; justify-items: center; }
.modal-card form[hidden], .order-success[hidden] { display: none; }
.success-icon { font-size: 3rem; }

/* Toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 80px);
  background: var(--brand-ink); color: #fff; padding: 12px 20px; border-radius: 12px;
  z-index: 80; transition: transform .25s ease; box-shadow: var(--shadow); font-size: .9rem;
}
.toast.is-visible { transform: translate(-50%, 0); }

.empty { text-align: center; color: var(--muted); padding: 30px 0; }

/* Category page */
.catpage-head { display: flex; align-items: center; gap: 14px; margin: 18px 0 22px; }
.catpage-icon { font-size: 2.2rem; }
.catpage-head h1 { font-size: 1.5rem; color: var(--brand-ink); line-height: 1.2; }
.catpage-head small { color: var(--muted); }
.catpage-layout { display: grid; grid-template-columns: 240px 1fr; gap: 26px; align-items: start; margin-bottom: 50px; }
@media (max-width: 800px) { .catpage-layout { grid-template-columns: 1fr; } }
.catpage-sidebar {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; display: grid; gap: 24px; position: sticky; top: 90px;
}
.catpage-sidebar h3 { font-size: .95rem; color: var(--brand-ink); margin-bottom: 12px; }
.catpage-toolbar { display: flex; justify-content: flex-end; margin-bottom: 16px; }
.catpage-toolbar select { padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font: inherit; color: var(--text); }

/* Dual-handle price range slider (two overlapping native inputs) */
.price-slider { position: relative; height: 26px; }
.price-track { position: absolute; top: 11px; left: 0; right: 0; height: 4px; background: var(--line); border-radius: 99px; }
.price-track-fill { position: absolute; top: 0; height: 4px; background: var(--brand); border-radius: 99px; }
.price-slider input[type="range"] {
  position: absolute; left: 0; top: 8px; width: 100%; margin: 0; appearance: none;
  background: transparent; pointer-events: none;
}
.price-slider input[type="range"]::-webkit-slider-thumb {
  appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--brand);
  border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; pointer-events: auto;
}
.price-slider input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%; background: var(--brand); border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--line); cursor: pointer; pointer-events: auto;
}
.price-slider input[type="range"]::-webkit-slider-runnable-track { background: transparent; }
.price-slider input[type="range"]::-moz-range-track { background: transparent; }
.price-labels { display: flex; justify-content: space-between; font-size: .82rem; color: var(--muted); margin-top: 6px; }

.cat-sidebar-list { display: grid; gap: 4px; }
.cat-sidebar-link {
  display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 8px;
  color: var(--text); text-decoration: none; font-size: .85rem;
}
.cat-sidebar-link:hover { background: var(--bg); }
.cat-sidebar-link.is-active { background: var(--brand); color: #fff; }
.cat-sidebar-link small { color: inherit; opacity: .7; }

/* Pagination */
.pagination { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.pagination button {
  padding: 8px 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); font-weight: 600;
}
.pagination button:hover:not(:disabled) { border-color: var(--brand); }
.pagination button.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }
.pagination button:disabled { opacity: .4; cursor: not-allowed; }
.pg-dots { padding: 8px 4px; color: var(--muted); }

@media (max-width: 640px) {
  .hero-slide { flex-direction: column; text-align: center; padding: 32px 20px; }
  .header { flex-wrap: wrap; }
  .search { order: 3; max-width: none; width: 100%; }
}
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

