:root {
  --ink: #1f2a2e;
  --muted: #5f6b70;
  --line: #e3e7e5;
  --paper: #fffdf8;
  --panel: #ffffff;
  --accent: #e4572e;
  --accent-ink: #ffffff;
  --accent-soft: #fde9e1;
  --ok: #2f7d5b;
  --warn-bg: #fff4d6;
  --warn-ink: #6b4e00;
  --error: #b42318;
  --radius: 14px;
  --radius-small: 8px;
  --wrap: 1120px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

/* An element the script hides must stay hidden whatever display a class gives it. */
[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 var(--font);
}

a {
  color: inherit;
}

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

.wrap {
  width: min(var(--wrap), 100% - 40px);
  margin: 0 auto;
}

main.wrap {
  padding: 28px 0 64px;
  min-height: 60vh;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

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

/* ---- Header, notice, footer ---- */

.demo-notice {
  background: var(--warn-bg);
  color: var(--warn-ink);
  text-align: center;
  font-size: 14px;
  padding: 8px 20px;
}

.site-header {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 20px;
  min-width: 0;
  font-weight: 600;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--accent);
}

.cart-count {
  display: inline-block;
  min-width: 22px;
  margin-left: 6px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 13px;
  line-height: 22px;
  text-align: center;
}

.cart-count[hidden] {
  display: none;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--panel);
  font-size: 14px;
}

.footer-row {
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
}

.footer-row p {
  margin: 0;
}

/* ---- Home ---- */

.hero {
  padding: 28px 0 8px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.tagline {
  margin: 10px 0 0;
  font-size: 19px;
  color: var(--muted);
  max-width: 640px;
}

h2 {
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 36px 0 16px;
}

.grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgb(31 42 46 / 8%);
}

.card-link {
  display: block;
  text-decoration: none;
  height: 100%;
}

.card-media {
  aspect-ratio: 1 / 1;
  background: #f5f2ea;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 14px 16px 18px;
}

.card-body h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
}

.subtitle {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.price {
  margin: 10px 0 0;
  font-weight: 700;
}

.price-large {
  font-size: 26px;
  margin-top: 14px;
}

.badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 9px;
  border-radius: 999px;
  background: #eceff0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  vertical-align: middle;
}

.badge-large {
  margin: 16px 0 0;
  font-size: 15px;
  padding: 6px 14px;
}

.placeholder {
  height: 100%;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.placeholder img {
  width: 72px;
  height: 72px;
  opacity: 0.7;
}

.how ol {
  margin: 0;
  padding-left: 22px;
  max-width: 720px;
}

.how li {
  margin: 6px 0;
}

.about p {
  max-width: 720px;
}

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

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

.crumbs {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
}

.crumbs a {
  text-decoration: none;
}

.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.gallery-main {
  background: #f5f2ea;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbs {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.thumbs img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius-small);
  border: 1px solid var(--line);
}

.product-info h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.add-form {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  margin-top: 18px;
}

.qty {
  display: inline-flex;
  flex-direction: column;
  font-size: 13px;
  color: var(--muted);
  gap: 4px;
}

.qty input {
  width: 84px;
}

.note {
  color: var(--muted);
  font-size: 14px;
}

.description p {
  margin: 0 0 12px;
}

.bullets {
  padding-left: 20px;
}

.specs {
  margin: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.specs div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.specs dt {
  color: var(--muted);
}

.specs dd {
  margin: 0;
  min-width: 0;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.certs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.certs li {
  padding: 10px 14px;
  border-radius: var(--radius-small);
  background: #eef6f1;
  border: 1px solid #d3e8dc;
}

.certs strong {
  color: var(--ok);
  margin-right: 6px;
}

/* ---- Forms ---- */

.button {
  display: inline-block;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font: 700 16px/1 var(--font);
  padding: 14px 22px;
  cursor: pointer;
  text-decoration: none;
}

.button:hover {
  filter: brightness(0.95);
}

.button:disabled {
  opacity: 0.6;
  cursor: progress;
}

.link-button {
  border: 0;
  background: none;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
}

input,
select,
textarea {
  font: inherit;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid #cfd6d3;
  border-radius: var(--radius-small);
  padding: 10px 12px;
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--accent-soft);
  border-color: var(--accent);
}

[aria-invalid="true"] {
  border-color: var(--error);
}

.lead {
  max-width: 720px;
  font-size: 17px;
}

.order-form {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  grid-template-areas:
    "items details"
    "actions details";
  grid-template-rows: auto 1fr;
  gap: 20px 40px;
  align-items: start;
}

.order-items {
  grid-area: items;
}

.order-details {
  grid-area: details;
}

.order-actions {
  grid-area: actions;
  display: grid;
  gap: 12px;
  justify-items: start;
}

.order-actions .note,
.order-actions p {
  margin: 0;
}

.order-items,
.order-details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 20px 20px;
}

.order-details label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-top: 14px;
}

.order-details label input,
.order-details label select,
.order-details label textarea {
  margin-top: 6px;
  font-weight: 400;
}

.order-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.order-row .qty input {
  width: 72px;
}

.order-name {
  font-weight: 600;
}

.order-unit {
  color: var(--muted);
  font-size: 14px;
}

.order-sums {
  margin: 14px 0 0;
}

.order-sums > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 0;
}

.order-sums dt {
  color: var(--muted);
}

.order-sums dd {
  margin: 0;
  text-align: right;
}

.order-sums .order-total {
  border-top: 1px solid var(--line);
  margin-top: 6px;
  padding-top: 10px;
  font-size: 18px;
}

.order-sums .order-total dt {
  color: var(--ink);
  font-weight: 600;
}

.order-details h3 {
  margin: 24px 0 0;
  font-size: 16px;
}

/* ---- Pay page ---- */

.pay-summary {
  max-width: 560px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 20px 16px;
  margin-bottom: 20px;
}

.pay-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pay-items li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.pay-box,
[data-pay-final] {
  max-width: 560px;
}

.pay-box .note.is-error {
  color: var(--error);
}

.paypal-buttons {
  min-height: 48px;
  margin: 8px 0 12px;
}

/* ---- Policy pages ---- */

.policy {
  max-width: 760px;
}

/* Long unbroken text — a 5G band list like n1/n3/n5/…/n78, a URL, an email —
   wraps instead of making the page wider than a phone screen. */
.product-info,
.policy,
.post {
  overflow-wrap: anywhere;
}

.policy h2 {
  margin-top: 28px;
  font-size: 20px;
}

.policy h3,
.policy h4 {
  margin-top: 20px;
  font-size: 17px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  width: 100%;
}

/* Tables in policy pages and posts (Markdown `| a | b |`). A wide table
   scrolls inside its own box; it never makes the page wider. */
.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  margin: 16px 0;
}

.table-wrap table {
  border-collapse: collapse;
  min-width: 100%;
  font-size: 15px;
  background: var(--panel);
}

.table-wrap th,
.table-wrap td {
  border: 1px solid var(--line);
  padding: 8px 12px;
  text-align: left;
  vertical-align: top;
  overflow-wrap: break-word;
}

.table-wrap th {
  background: var(--accent-soft);
}

/* ---- Blog ---- */

.blog,
.post,
.post-products,
.post-back {
  max-width: 760px;
}

.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.post-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  align-items: start;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.post-card:not(:has(.post-card-media)) {
  grid-template-columns: 1fr;
}

.post-card-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-small);
  background: var(--panel);
}

.post-card h2 {
  margin: 0 0 4px;
  font-size: 20px;
}

.post-card p {
  margin: 6px 0 0;
}

.post-meta {
  font-size: 14px;
}

.post-cover img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.post-cover {
  margin: 16px 0 24px;
}

.post-body h2 {
  margin-top: 28px;
  font-size: 22px;
}

.post-body h3,
.post-body h4 {
  margin-top: 20px;
  font-size: 18px;
}

.post-products h2 {
  font-size: 20px;
}

.post-products .grid {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.field-error {
  color: var(--error);
  font-size: 14px;
  margin: 6px 0 0;
}

.field-error[hidden] {
  display: none;
}

.form-status {
  border-radius: var(--radius-small);
  padding: 12px 16px;
  background: #eef6f1;
}

.form-status.is-error {
  background: #fdecea;
  color: var(--error);
}

.form-status[hidden] {
  display: none;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.message {
  margin: 24px auto;
}

.thanks,
.message {
  max-width: 680px;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.thanks[hidden] {
  display: none;
}

.thanks h1,
.thanks h2,
.message h1 {
  margin-top: 0;
}

.owner-box {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: var(--radius-small);
  background: var(--warn-bg);
  color: var(--warn-ink);
}

.owner-box h2 {
  margin-top: 0;
  font-size: 18px;
}

.owner-box li {
  margin: 6px 0;
}

/* ---- Account: buyer login and My orders ---- */

.account {
  max-width: 760px;
  overflow-wrap: anywhere;
}

.account-form {
  display: grid;
  gap: 14px;
  justify-items: start;
  max-width: 420px;
  margin: 16px 0;
}

.account-form label {
  display: block;
  width: 100%;
  font-weight: 600;
  font-size: 14px;
}

.account-form label input {
  margin-top: 6px;
  font-weight: 400;
}

/* The honeypot field (src/account.js): off-screen for everyone, never shown. */
.account-extra {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.account-who,
.account-more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

.account-who p {
  margin: 0;
}

.account-more form {
  margin: 0;
}

.account-more a,
.account-more .link-button {
  font-size: 14px;
  color: var(--muted);
}

.account-orders {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.account-orders th,
.account-orders td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

.account-orders th {
  font-size: 14px;
  color: var(--muted);
}

.account-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.account-note {
  max-width: 720px;
}

@media (max-width: 760px) {
  .product,
  .order-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .order-form {
    grid-template-areas:
      "items"
      "details"
      "actions";
    grid-template-rows: auto;
  }

  .order-row {
    grid-template-columns: 1fr auto;
  }

  .grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
  }

  .card-body {
    padding: 10px 12px 14px;
  }

  .card-body h3 {
    font-size: 15px;
  }

  .site-nav {
    gap: 14px;
    font-size: 15px;
  }

  /* My orders: one card per order, each cell under its column name. */
  .account-orders thead {
    display: none;
  }

  .account-orders,
  .account-orders tbody,
  .account-orders tr,
  .account-orders td {
    display: block;
  }

  .account-orders tr {
    border-bottom: 1px solid var(--line);
    padding: 6px 0;
  }

  .account-orders td {
    border: 0;
    padding: 4px 12px;
  }

  .account-orders td::before {
    content: attr(data-label);
    display: block;
    font-size: 13px;
    color: var(--muted);
  }

  .post-card {
    grid-template-columns: 96px 1fr;
    gap: 14px;
  }
}

/* A considered, responsive storefront for the installed shop. */
:root {
  --ink: #171a24;
  --muted: #697080;
  --line: #e3e6ed;
  --paper: #fcfcfa;
  --panel: #ffffff;
  --accent: #315af5;
  --accent-soft: #edf1ff;
  --radius: 20px;
  --radius-small: 10px;
  --wrap: 1280px;
}
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #8ca3ff; outline-offset: 4px; }
.wrap { width: min(var(--wrap), 100% - 96px); }
main.wrap { padding: 0 0 100px; }
.skip-link { position: fixed; top: -90px; left: 20px; padding: 12px 18px; z-index: 99; background: var(--ink); color: white; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.site-header { background: rgb(252 252 250 / 96%); border-bottom: 1px solid var(--line); }
.header-row { min-height: 92px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 21px; font-weight: 750; letter-spacing: -.8px; white-space: nowrap; }
.brand-mark { width: 39px; height: 39px; display: inline-flex; align-items: center; justify-content: center; border-radius: 11px; background: var(--ink); color: white; font-size: 17px; letter-spacing: -1.8px; padding-right: 2px; font-weight: 750; }
.site-nav { gap: 28px; justify-content: center; font-weight: 500; font-size: 14px; margin-left: auto; }
.site-nav .nav-shop { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 18px; padding-left: 23px; margin-left: 7px; border-left: 1px solid var(--line); }
.icon-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; text-decoration: none; min-height: 40px; position: relative; white-space: nowrap; }
.icon-link svg { flex: 0 0 20px; }
.cart-count { position: absolute; right: -10px; top: -1px; font-size: 10px; line-height: 16px; min-width: 16px; margin: 0; padding: 0 4px; }
.order-link .cart-label { display: none; }
.eyebrow { margin: 0 0 18px; text-transform: uppercase; font-size: 10px; letter-spacing: 2px; color: var(--muted); line-height: 1.5; font-weight: 700; }
h1, h2, h3 { color: var(--ink); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 17px 25px; min-height: 54px; border-radius: 9px; font-size: 13px; font-weight: 600; line-height: 1.4; transition: background .18s ease, transform .18s ease; }
.button:hover { filter: none; background: #2049e1; transform: translateY(-1px); }
.button-secondary { background: var(--ink); color: white; }
.text-link { display: inline-flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 600; text-decoration: none; }
.text-link:hover { color: var(--accent); }
.storefront-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding: 58px 0 44px; }
.hero-copy { padding: 24px 0; }
.hero-copy h1 { max-width: 620px; font-size: clamp(52px, 5.2vw, 76px); font-weight: 600; line-height: 1.03; letter-spacing: -4.5px; margin: 0 0 26px; text-wrap: balance; }
.hero-intro { font-size: 15px; max-width: 400px; color: var(--muted); line-height: 1.85; margin: 0; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin: 30px 0 25px; }
.hero-note { display: block; max-width: 390px; font-size: 10px; color: var(--muted); line-height: 1.8; margin: 0; }
.edition-dot { display: inline-block; width: 6px; height: 6px; border-radius: 100%; background: var(--accent); margin: 0 7px 1px 0; }
.hero-product { display: block; min-width: 0; padding: 24px 28px 26px; background: #edf0fa; border-radius: 22px; color: var(--ink); text-decoration: none; overflow: hidden; }
.hero-product-top { display: flex; justify-content: space-between; gap: 10px; font-size: 10px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }
.feature-edition { text-transform: none; padding: 4px 10px; background: rgb(255 255 255 / 65%); border: 1px solid rgb(255 255 255 / 80%); border-radius: 20px; letter-spacing: 0; font-size: 10px; }
.hero-device { display: flex; align-items: center; justify-content: center; height: 345px; padding: 22px 36px; }
.hero-device img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .4s ease; }
.hero-product:hover .hero-device img { transform: scale(1.025); }
.hero-product-caption { display: flex; justify-content: space-between; gap: 14px; align-items: end; }
.hero-product-caption h2 { font-size: 24px; letter-spacing: -.6px; margin: 4px 0; font-weight: 600; line-height: 1.2; }
.hero-product-caption p { font-size: 11px; margin: 0; color: var(--muted); }
.hero-product-price { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 4px; max-width: 144px; }
.hero-product-price .price { font-size: 21px; margin: 0; font-weight: 600; }
.feature-arrow { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgb(23 26 36 / 17%); width: 32px; height: 32px; margin: 5px 0 0 auto; }
.destination-strip { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 23px 0; color: var(--muted); font-size: 11px; }
.destination-strip > span { display: flex; align-items: center; gap: 11px; color: var(--ink); }
.destination-strip strong { font-weight: 500; }
.destination-strip p { margin: 0; }
.destination-strip p span { padding: 0 12px; color: #a4aab6; }
.destination-strip > a { display: flex; gap: 12px; color: var(--ink); text-decoration: none; }
.catalog-section { padding: 76px 0 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading h2 { font-size: 36px; font-weight: 550; letter-spacing: -1.6px; line-height: 1.15; margin: 0; }
.section-intro { color: var(--muted); font-size: 12px; margin: 12px 0 0; }
.catalog-count { font-size: 11px; color: var(--muted); margin: 0 0 3px; white-space: nowrap; }
.catalog-controls { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; align-items: center; margin-bottom: 24px; }
.brand-filters { display: flex; gap: 7px; flex-wrap: wrap; }
.filter-chip { background: transparent; border: 1px solid var(--line); padding: 8px 15px; border-radius: 7px; font: 500 11px/1.4 var(--font); color: var(--muted); cursor: pointer; min-height: 36px; }
.filter-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: white; }
.catalog-tools { display: flex; align-items: center; gap: 9px; }
.catalog-search { display: flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: white; padding: 0 10px; border-radius: 7px; width: 215px; }
.catalog-search svg { color: var(--muted); width: 15px; height: 15px; flex: 0 0 15px; }
.catalog-search input { min-width: 0; padding: 10px 0; font-size: 10px; background: transparent; border: 0; }
.catalog-search:focus-within { outline: 2px solid #8ca3ff; outline-offset: 2px; }
.catalog-search input:focus { outline: none; }
.catalog-sort select { border-color: var(--line); font-size: 10px; border-radius: 7px; padding: 9px 28px 9px 11px; width: 145px; min-height: 36px; }
.filter-reset { border: 0; background: transparent; font: 500 10px var(--font); color: var(--accent); cursor: pointer; text-decoration: underline; }
.grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; }
.card { border: 0; background: transparent; border-radius: 0; overflow: visible; }
.card:hover { box-shadow: none; transform: none; }
.card-media { position: relative; border-radius: 14px; padding: 22px; background: #f1f2f5; aspect-ratio: 1/1.03; overflow: hidden; }
.card:nth-child(4n+2) .card-media { background: #f1f0f6; }
.card:nth-child(4n+3) .card-media { background: #eef2f1; }
.card-media img { object-fit: contain; mix-blend-mode: multiply; transition: transform .3s ease; }
.card-link:hover .card-media img { transform: scale(1.045); }
.card-arrow { display: flex; align-items: center; justify-content: center; position: absolute; right: 12px; bottom: 12px; width: 29px; height: 29px; border-radius: 50%; background: white; border: 1px solid #e8eaf0; }
.card-arrow svg { width: 14px; height: 14px; }
.card-body { padding: 17px 1px 0; }
.product-brand { font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: 1.2px; font-weight: 650; margin: 0 0 5px; }
.card-body h3 { font-size: 17px; font-weight: 550; line-height: 1.3; letter-spacing: -.4px; margin: 0 0 5px; }
.variant { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.card-highlights { font-size: 9px; color: #777e8c; margin: 9px 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-highlights span { color: #c0c4ce; padding: 0 3px; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 5px; margin-top: 13px; }
.price { white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums; }
.card-bottom .price { margin: 0; font-size: 15px; letter-spacing: -.3px; }
.currency-code { font-size: 9px; color: var(--muted); font-weight: 500; letter-spacing: .3px; white-space: nowrap; }
.card-details { font-size: 9px; color: var(--muted); white-space: nowrap; }
.availability { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 4px 8px; border-radius: 4px; background: white; color: var(--muted); font-size: 10px; }
.catalog-empty { text-align: center; padding: 70px 24px; border: 1px dashed var(--line); border-radius: 14px; }
.catalog-empty h3 { margin: 14px 0 8px; font-size: 24px; font-weight: 550; }
.catalog-empty p { color: var(--muted); font-size: 13px; margin: 0 0 23px; }
.empty-symbol { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.buying-guide { padding: 82px 0 70px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.guide-grid article { padding: 29px 34px 0 0; }
.guide-grid article + article { border-left: 1px solid var(--line); padding-left: 34px; }
.guide-number { color: var(--accent); font-size: 11px; font-weight: 600; }
.guide-grid h3 { font-size: 17px; font-weight: 550; margin: 22px 0 9px; letter-spacing: -.3px; }
.guide-grid p, .guide-grid ol { margin: 0; font-size: 12px; line-height: 1.9; color: var(--muted); }
.guide-grid ol { padding-left: 16px; }
.shipping-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding: 45px 48px; background: #edf0fa; border-radius: 18px; align-items: center; }
.shipping-feature h2 { font-size: 36px; font-weight: 550; letter-spacing: -1.3px; line-height: 1.15; max-width: 330px; margin: 0 0 16px; }
.shipping-feature p:not(.eyebrow) { color: var(--muted); font-size: 12px; max-width: 350px; line-height: 1.9; margin: 0 0 22px; }
.shipping-destinations > div { display: flex; align-items: center; gap: 16px; padding: 13px 0; border-bottom: 1px solid #d6daea; font-size: 15px; }
.shipping-destinations svg { width: 16px; height: 16px; margin-left: auto; }
.destination-index { font-size: 9px; color: var(--muted); }
.about { display: grid; grid-template-columns: 1fr 1fr; column-gap: 70px; padding: 65px 0 5px; }
.about > .eyebrow { grid-column: 1; margin-bottom: 7px; }
.about h2 { grid-column: 1; font-size: 29px; letter-spacing: -1px; font-weight: 550; margin: 0; }
.about p:not(.eyebrow) { grid-column: 2; color: var(--muted); font-size: 12px; margin: 0 0 12px; line-height: 1.9; }
.site-footer { background: #f3f4f6; border-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 50px; padding: 56px 0 46px; }
.footer-brand > p { font-size: 11px; margin: 16px 0 8px; color: var(--muted); }
.footer-brand > a:not(.brand) { font-size: 11px; color: var(--muted); }
.footer-grid h2 { font-size: 11px; font-weight: 650; letter-spacing: 0; margin: 4px 0 16px; }
.footer-links { display: flex; flex-direction: column; align-items: start; gap: 9px; }
.footer-links a { font-size: 10px; text-decoration: none; color: var(--muted); }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding: 20px 0 25px; border-top: 1px solid #e1e4eb; color: var(--muted); font-size: 9px; }
.crumbs { margin: 0; padding: 26px 0; font-size: 11px; }
.product { gap: 56px; }
.gallery-main { background: #f1f2f6; border: 0; border-radius: 18px; padding: 38px; }
.gallery-main img { object-fit: contain; mix-blend-mode: multiply; }
.thumbs { gap: 10px; margin-top: 14px; }
.thumbs a { display: block; border-radius: 8px; border: 1px solid var(--line); padding: 7px; background: #f5f6f8; }
.thumbs img { width: 58px; height: 58px; object-fit: contain; border: 0; mix-blend-mode: multiply; }
.thumbs a:hover, .thumbs a[aria-current="true"] { border-color: var(--accent); }
.product-info { padding-top: 13px; }
.product-info .eyebrow { font-size: 10px; margin-bottom: 10px; }
.product-info h1 { font-size: clamp(30px, 3.3vw, 48px); font-weight: 550; line-height: 1.12; letter-spacing: -1.8px; }
.product-variant { font-size: 14px; color: var(--muted); margin: 13px 0 0; }
.product-price-row { display: flex; align-items: baseline; gap: 10px; padding: 22px 0; }
.product-price-row .price { font-size: 30px; letter-spacing: -1px; margin: 0; }
.spec-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; background: var(--line); margin: 0 0 28px; }
.spec-overview > div { padding: 14px 17px; background: var(--paper); }
.spec-overview dt { font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: .9px; margin-bottom: 5px; }
.spec-overview dd { margin: 0; font-size: 13px; font-weight: 550; }
.product-purchase { border-top: 1px solid var(--line); padding-top: 20px; }
.add-form { flex-wrap: nowrap; gap: 12px; margin: 0; }
.add-form .qty { width: 75px; flex-shrink: 0; gap: 5px; }
.add-form .qty input { width: 75px; min-height: 52px; }
.add-form .button { flex: 1; min-height: 52px; }
.product-purchase .note { font-size: 10px; line-height: 1.8; margin: 13px 0 0; }
.edition-callout { display: flex; align-items: start; gap: 5px; margin-top: 23px; padding: 18px 20px; border-radius: 10px; background: var(--accent-soft); }
.edition-callout .edition-dot { margin-top: 7px; flex-shrink: 0; }
.edition-callout strong { display: block; font-size: 11px; font-weight: 600; }
.edition-callout p { font-size: 10px; color: var(--muted); margin: 4px 0; line-height: 1.7; }
.edition-callout a { font-size: 10px; color: var(--accent); text-decoration: none; }
.model-story { grid-column: 1/-1; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding-top: 34px; margin-top: 12px; border-top: 1px solid var(--line); }
.model-story h2 { font-size: 23px; font-weight: 550; letter-spacing: -.6px; margin: 0 0 20px; }
.model-description .description { color: var(--muted); font-size: 13px; line-height: 1.95; max-width: 460px; }
.model-description .bullets { color: var(--muted); font-size: 13px; }
.specs div { grid-template-columns: 106px minmax(0, 1fr); gap: 20px; padding: 13px 0; font-size: 11px; }
.specs dd { line-height: 1.8; }
.checkout-eyebrow { margin: 38px 0 9px; }
.checkout-title { margin: 0; font-size: 44px; letter-spacing: -1.8px; line-height: 1.2; font-weight: 550; }
.checkout-title + .lead { margin: 13px 0 0; max-width: 650px; font-size: 13px; color: var(--muted); }
.account-note { font-size: 12px; margin-bottom: 25px; }
.account-note a { color: var(--accent); }
.order-form { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-areas: "details items" "details actions"; grid-template-rows: auto 1fr; gap: 20px 32px; margin-top: 30px; }
.order-items, .order-details { padding: 26px 28px 30px; border-radius: 14px; border: 1px solid var(--line); }
.order-form h2 { margin: 0 0 23px; font-size: 22px; letter-spacing: -.6px; font-weight: 550; }
.order-form .eyebrow { margin: 0 0 8px; font-size: 9px; }
.order-details label { font-weight: 500; font-size: 11px; margin-top: 17px; }
.order-details input, .order-details select, .order-details textarea { border-color: var(--line); min-height: 45px; border-radius: 7px; font-size: 13px; }
.order-details h3 { font-weight: 550; font-size: 15px; border-top: 1px solid var(--line); padding-top: 25px; margin-top: 29px; }
.order-name { font-size: 11px; font-weight: 500; line-height: 1.65; }
.order-unit { font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.order-row { gap: 10px; grid-template-columns: minmax(0, 1fr) auto 56px; padding: 14px 0; }
.order-row .qty input { width: 56px; min-height: 38px; font-size: 12px; }
.order-row > .link-button { grid-column: 1/-1; justify-self: start; font-size: 10px; padding: 0; }
.order-sums { margin-top: 22px; }
.order-sums > div { font-size: 11px; padding: 7px 0; }
.order-sums dd { max-width: 66%; }
.order-sums [data-order-total], .order-sums [data-order-subtotal] { white-space: nowrap; }
.order-sums .order-total { font-size: 17px; padding-top: 16px; margin-top: 9px; }
.order-actions { gap: 13px; justify-items: stretch; padding: 0 4px; }
.order-actions .button { width: 100%; }
.order-actions .note { font-size: 10px; line-height: 1.9; }
.account-sign-in { max-width: 530px; border: 1px solid var(--line); background: white; border-radius: 18px; padding: 38px 42px 42px; margin: 70px auto 20px; }
.account h1 { font-size: 34px; line-height: 1.2; font-weight: 550; letter-spacing: -1.2px; margin: 0 0 14px; }
.account-sign-in .lead { color: var(--muted); font-size: 12px; line-height: 1.9; margin: 0 0 27px; }
.account-sign-in .account-form { margin: 0; max-width: none; gap: 19px; }
.account-form label { font-size: 11px; font-weight: 500; }
.account-form input { border-color: var(--line); min-height: 48px; border-radius: 8px; font-size: 14px; }
.account-form input[name="code"] { letter-spacing: 8px; font-variant-numeric: tabular-nums; font-size: 24px; text-align: center; }
.account-form .button { width: 100%; }
.account-more { margin-top: 22px; font-size: 11px; justify-content: space-between; }
.account-more a, .account-more .link-button { font-size: 10px; }
.account-history { margin: 45px 0 0; max-width: none; overflow-wrap: normal; }
.account-who { font-size: 12px; color: var(--muted); justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--line); }
.account-orders { table-layout: auto; border: 0; font-size: 12px; margin-top: 20px; }
.account-orders th, .account-orders td { padding: 18px 16px; }
.account-orders th { font-size: 10px; font-weight: 500; background: #f3f4f7; }
.account-orders td:nth-child(1), .account-orders td:nth-child(4) { white-space: nowrap; font-variant-numeric: tabular-nums; }
.account-orders td:nth-child(1) a { color: var(--accent); font-size: 11px; }
.account-orders td:nth-child(3) { max-width: 430px; }
.account-items li + li { margin-top: 5px; }
.account-history .note { font-size: 11px; color: var(--muted); }
.policy, .blog, .post { padding-top: 36px; }
.message { margin-top: 45px; }
[data-thanks]:not([hidden]), .thanks { margin-top: 40px; }
@media (min-width: 1441px) { .hero-copy h1 { font-size: 76px; } .hero-device { height: 390px; } }
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .site-nav { gap: 18px; font-size: 12px; }
  .header-actions { gap: 14px; padding-left: 16px; margin-left: 0; }
  .brand { font-size: 19px; }
  .storefront-hero { gap: 38px; }
  .hero-copy h1 { font-size: 60px; letter-spacing: -3.5px; }
  .hero-device { height: 300px; padding: 20px; }
  .hero-product { padding: 22px; }
  .hero-product-caption h2 { font-size: 20px; }
  .hero-product-price .price { font-size: 19px; }
  .catalog-controls { align-items: start; }
  .catalog-tools { margin-left: auto; }
  .grid { gap: 28px 16px; }
  .card-body h3 { font-size: 16px; }
  .card-details { display: none; }
  .footer-grid { gap: 30px; }
  .product { gap: 35px; }
  .gallery-main { padding: 25px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 20px; }
  .wrap { width: calc(100% - 40px); }
  main.wrap { padding-bottom: 65px; }
  .header-row { min-height: 73px; flex-wrap: wrap; gap: 0; padding: 16px 0 0; }
  .brand { font-size: 18px; gap: 9px; letter-spacing: -.6px; }
  .brand-mark { width: 33px; height: 33px; border-radius: 9px; font-size: 15px; }
  .header-actions { margin-left: auto; border: 0; padding-left: 0; gap: 17px; }
  .header-actions .account-link span { display: none; }
  .site-nav { order: 3; flex-basis: 100%; justify-content: start; gap: 24px; margin: 13px 0 0; min-height: 35px; font-size: 11px; overflow-x: auto; flex-wrap: nowrap; white-space: nowrap; }
  .icon-link { min-height: 34px; }
  .storefront-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 37px 0 28px; }
  .hero-copy { padding: 0; }
  .hero-copy .eyebrow { margin-bottom: 17px; font-size: 9px; letter-spacing: 1.6px; }
  .hero-copy h1 { font-size: 55px; letter-spacing: -3px; line-height: 1.02; max-width: 420px; margin-bottom: 20px; }
  .hero-intro { font-size: 12px; max-width: 350px; line-height: 1.85; }
  .hero-actions { margin: 23px 0 19px; gap: 23px; }
  .button { min-height: 48px; padding: 14px 20px; gap: 22px; font-size: 11px; }
  .hero-actions .text-link { font-size: 11px; gap: 8px; }
  .hero-note { font-size: 9px; line-height: 1.85; }
  .hero-product { padding: 21px 23px; border-radius: 17px; }
  .hero-device { height: 285px; padding: 15px 28px; }
  .hero-product-caption h2 { font-size: 22px; }
  .hero-product-caption p { font-size: 10px; }
  .hero-product-price .price { font-size: 21px; }
  .destination-strip { flex-wrap: wrap; padding: 19px 0; gap: 11px; font-size: 10px; }
  .destination-strip > span { flex-basis: 70%; }
  .destination-strip p { order: 3; flex-basis: 100%; font-size: 10px; line-height: 1.7; }
  .destination-strip p span { padding: 0 4px; }
  .destination-strip > a { margin-left: auto; font-size: 10px; }
  .catalog-section { padding-top: 43px; }
  .section-heading { margin-bottom: 24px; gap: 12px; align-items: start; }
  .section-heading .eyebrow { font-size: 8px; letter-spacing: 1.3px; }
  .section-heading h2 { font-size: 28px; letter-spacing: -1px; max-width: 260px; }
  .section-intro { font-size: 11px; max-width: 260px; line-height: 1.8; }
  .catalog-count { font-size: 9px; padding-top: 26px; }
  .catalog-controls { gap: 13px; margin-bottom: 19px; }
  .brand-filters { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 3px; gap: 6px; }
  .filter-chip { white-space: nowrap; padding: 8px 13px; min-height: 35px; font-size: 10px; }
  .catalog-tools { width: 100%; margin-left: 0; flex-wrap: wrap; gap: 9px; }
  .catalog-search { flex: 1; min-width: 140px; }
  .catalog-sort select { width: 128px; font-size: 9px; padding-right: 21px; }
  .filter-reset { order: 3; padding: 0 0 4px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
  .card-media { padding: 14px; border-radius: 11px; aspect-ratio: 1/1.12; }
  .card-arrow { width: 25px; height: 25px; right: 8px; bottom: 8px; }
  .card-body { padding: 12px 0 0; }
  .product-brand { font-size: 8px; letter-spacing: 1px; }
  .card-body h3 { font-size: 14px; line-height: 1.4; letter-spacing: -.25px; }
  .variant { font-size: 9px; line-height: 1.75; }
  .card-highlights { font-size: 8px; margin-top: 6px; }
  .card-bottom { margin-top: 10px; }
  .card-bottom .price { font-size: 14px; }
  .currency-code { font-size: 8px; }
  .availability { font-size: 9px; top: 8px; left: 8px; }
  .buying-guide { padding: 49px 0 35px; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-grid article, .guide-grid article + article { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .guide-grid h3 { margin: 9px 0 7px; font-size: 17px; }
  .guide-grid p, .guide-grid ol { font-size: 11px; line-height: 1.9; }
  .shipping-feature { grid-template-columns: 1fr; gap: 18px; padding: 29px 24px; border-radius: 13px; }
  .shipping-feature h2 { font-size: 30px; max-width: 280px; letter-spacing: -1px; }
  .shipping-feature p:not(.eyebrow) { font-size: 11px; }
  .shipping-destinations > div { font-size: 13px; padding: 12px 0; }
  .about { display: block; padding: 37px 0 0; }
  .about h2 { font-size: 25px; margin-bottom: 16px; }
  .about p:not(.eyebrow) { font-size: 11px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; padding: 35px 0; }
  .footer-brand { grid-column: 1/-1; }
  .footer-brand > p { margin-top: 14px; }
  .footer-grid h2 { font-size: 11px; }
  .footer-links a { font-size: 10px; }
  .footer-bottom { flex-direction: column; gap: 8px; padding: 18px 0 24px; font-size: 8px; }
  .crumbs { font-size: 10px; padding: 21px 0; }
  .product { grid-template-columns: minmax(0, 1fr); gap: 29px; }
  .gallery-main { aspect-ratio: 1/1; padding: 28px; }
  .thumbs img { width: 50px; height: 50px; }
  .product-info { padding-top: 0; }
  .product-info h1 { font-size: 37px; letter-spacing: -1.2px; }
  .product-variant { font-size: 12px; margin-top: 9px; }
  .product-price-row { padding: 18px 0; }
  .product-price-row .price { font-size: 29px; }
  .spec-overview { margin-bottom: 24px; }
  .spec-overview > div { padding: 13px 14px; }
  .spec-overview dd { font-size: 12px; }
  .add-form .button { font-size: 11px; }
  .model-story { grid-template-columns: 1fr; gap: 24px; padding-top: 29px; margin-top: 5px; }
  .model-story h2 { font-size: 22px; }
  .model-description .description { font-size: 12px; }
  .specs div { font-size: 11px; grid-template-columns: 91px minmax(0, 1fr); }
  .checkout-eyebrow { margin-top: 29px; }
  .checkout-title { font-size: 34px; letter-spacing: -1.1px; }
  .checkout-title + .lead { font-size: 12px; }
  .order-form { grid-template-columns: minmax(0, 1fr); grid-template-areas: "items" "details" "actions"; gap: 20px; margin-top: 23px; }
  .order-items, .order-details { padding: 22px 21px; }
  .order-name { font-size: 11px; }
  .account-sign-in { padding: 28px 24px; margin: 35px auto 0; }
  .account h1 { font-size: 30px; letter-spacing: -1px; }
  .account-form .button { min-height: 49px; }
  .account-more { align-items: start; }
  .account-history { margin-top: 30px; }
  .account-who { font-size: 11px; align-items: start; gap: 9px; }
  .account-who p { overflow-wrap: anywhere; }
  .account-orders { background: transparent; }
  .account-orders tr { border: 1px solid var(--line); border-radius: 11px; margin: 0 0 14px; padding: 13px 16px; background: white; }
  .account-orders td { padding: 7px 0; font-size: 12px; }
  .account-orders td::before { font-size: 9px; margin-bottom: 3px; }
  .account-orders td:nth-child(1) a { font-size: 12px; }
  .account-orders td:nth-child(3) { max-width: none; }
  .account-history .note { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
.cart-feedback { background: #eef6f1; border: 1px solid #d5e9dd; color: #256144; font-size: 11px; border-radius: 7px; padding: 10px 13px; margin: 0 0 19px; }
.order-items .empty { font-size: 13px; margin: 25px 0 12px; }
.empty-browse { color: var(--accent); margin: 0 0 18px; font-size: 12px; }
.is-empty-cart .order-items { background: #f8f9fd; }
/* Readable product decisions and comfortable touch targets at every size. */
body { font-size: 15px; }
.site-nav { font-size: 14px; }
.icon-link { min-width: 44px; min-height: 44px; justify-content: center; }
.hero-intro { font-size: 16px; }
.hero-note { font-size: 12px; }
.hero-product-top, .feature-edition { font-size: 11px; }
.hero-product-caption p { font-size: 13px; }
.hero-product-price .currency-code { font-size: 11px; }
.destination-strip { font-size: 13px; }
.section-intro { font-size: 14px; }
.catalog-count { font-size: 13px; }
.filter-chip { font-size: 13px; min-height: 44px; padding: 10px 16px; }
.catalog-search { width: 255px; min-height: 44px; }
.catalog-search input { font-size: 13px; }
.catalog-sort select { width: 178px; font-size: 12px; min-height: 44px; }
.filter-reset { font-size: 12px; min-height: 44px; }
.product-brand { font-size: 10px; }
.variant { font-size: 12px; }
.card-highlights { font-size: 11px; white-space: normal; line-height: 1.7; min-height: 38px; }
.card-bottom .price { font-size: 17px; }
.currency-code { font-size: 10px; }
.card-details { font-size: 10px; }
.guide-grid p, .guide-grid ol { font-size: 14px; line-height: 1.85; }
.guide-grid h3 { font-size: 19px; }
.shipping-feature p:not(.eyebrow) { font-size: 14px; }
.about p:not(.eyebrow) { font-size: 14px; }
.footer-brand > p, .footer-brand > a:not(.brand) { font-size: 13px; }
.footer-grid h2 { font-size: 13px; }
.footer-links a { font-size: 13px; }
.footer-bottom { font-size: 12px; }
.text-link, .button { font-size: 14px; }
.spec-overview dt { font-size: 10px; }
.spec-overview dd { font-size: 15px; }
.product-purchase .note { font-size: 12px; }
.edition-callout strong { font-size: 13px; }
.edition-callout p, .edition-callout a { font-size: 12px; }
.model-description .description, .model-description .bullets { font-size: 14px; }
.specs div { font-size: 14px; grid-template-columns: 110px minmax(0, 1fr); }
.checkout-title + .lead { font-size: 14px; }
.account-note { font-size: 13px; }
.order-details label { font-size: 13px; }
.order-details input, .order-details select, .order-details textarea { font-size: 15px; }
.order-name { font-size: 13px; }
.order-unit, .order-sums > div { font-size: 13px; }
.order-row > .link-button { font-size: 12px; min-height: 28px; }
.order-actions .note, .cart-feedback { font-size: 12px; }
.account-sign-in .lead { font-size: 14px; }
.account-form label { font-size: 13px; }
.account-more a, .account-more .link-button { font-size: 12px; }
.account-who { font-size: 14px; }
.account-orders { font-size: 14px; }
.account-orders th, .account-orders td:nth-child(1) a { font-size: 12px; }
.account-history .note { font-size: 12px; }
@media (max-width: 1100px) {
  .site-nav { font-size: 13px; gap: 16px; }
  .catalog-tools { margin-left: 0; }
  .card-body h3 { font-size: 17px; }
}
@media (max-width: 760px) {
  .header-row { min-height: 80px; }
  .header-actions { gap: 6px; }
  .site-nav { font-size: 12px; min-height: 42px; align-items: center; margin-top: 8px; gap: 24px; }
  .hero-intro { font-size: 14px; }
  .hero-note { font-size: 12px; }
  .hero-actions { gap: 19px; }
  .hero-actions .button { font-size: 13px; padding: 14px 17px; gap: 15px; }
  .hero-actions .text-link { font-size: 12px; }
  .hero-product-caption p { font-size: 12px; }
  .destination-strip, .destination-strip p, .destination-strip > a { font-size: 12px; }
  .destination-strip > span { flex-basis: 65%; }
  .section-intro { font-size: 13px; }
  .catalog-count { font-size: 12px; }
  .filter-chip { font-size: 12px; min-height: 44px; padding: 10px 15px; }
  .catalog-tools { display: grid; grid-template-columns: 1fr 185px; gap: 10px; }
  .catalog-search { grid-column: 1/-1; width: 100%; }
  .catalog-search input { font-size: 16px; min-height: 44px; }
  .catalog-sort { grid-column: 2; grid-row: 2; }
  .catalog-sort select { font-size: 16px; width: 185px; min-height: 44px; }
  .filter-reset { grid-column: 1; grid-row: 2; padding: 0; font-size: 12px; justify-self: start; }
  .card-body h3 { font-size: 16px; }
  .variant { font-size: 12px; line-height: 1.65; }
  .card-highlights { font-size: 11px; min-height: 38px; margin-top: 8px; }
  .card-bottom .price { font-size: 16px; }
  .currency-code { font-size: 10px; }
  .product-brand { font-size: 10px; }
  .guide-grid h3 { font-size: 19px; }
  .guide-grid p, .guide-grid ol { font-size: 14px; }
  .shipping-feature p:not(.eyebrow), .about p:not(.eyebrow) { font-size: 14px; }
  .shipping-destinations > div { font-size: 15px; }
  .footer-grid h2, .footer-links a { font-size: 13px; }
  .footer-bottom { font-size: 12px; }
  .crumbs { font-size: 12px; }
  .product-variant { font-size: 14px; }
  .spec-overview dd { font-size: 14px; }
  .add-form .button { font-size: 13px; }
  .model-description .description, .specs div { font-size: 14px; }
  .specs div { grid-template-columns: 90px minmax(0, 1fr); gap: 16px; }
  .checkout-title + .lead { font-size: 14px; }
  .order-details label, .order-name, .order-unit, .order-sums > div { font-size: 13px; }
  .order-details input, .order-details select, .order-details textarea, .account-form input { font-size: 16px; }
  .account-sign-in { padding: 29px 23px; }
  .account-more a, .account-more .link-button { font-size: 12px; }
  .account-who { font-size: 13px; }
  .account-orders td { font-size: 14px; }
  .account-orders td::before { font-size: 11px; }
  .account-orders td:nth-child(1) a { font-size: 13px; }
  .account-history .note { font-size: 12px; }
}

/* Long localized labels and destination lists stay inside their own layout. */
.hero-copy, .hero-product-caption > div, .section-heading > div { min-width: 0; }
.hero-copy h1, .section-heading h2, .hero-product-caption h2 { overflow-wrap: anywhere; }
.destination-strip p { min-width: 0; flex: 1; }
.shipping-destinations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.shipping-destinations > div { min-width: 0; }
.shipping-destinations > div > span:not(.destination-index) { overflow-wrap: anywhere; }
.shipping-destinations svg { flex-shrink: 0; }
@media (max-width: 760px) {
  .shipping-destinations { gap: 0 16px; }
  .shipping-destinations > div { gap: 8px; font-size: 13px; }
  .destination-strip p { flex-basis: 100%; }
}

.storefront-hero:not(:has(.hero-product)) { grid-template-columns: minmax(0, 1fr); }

/* Cyberpunk storefront theme. Visual only: business logic stays in the original modules. */
:root {
  color-scheme: dark;
  --ink: #edf6ff;
  --muted: #a2b1ce;
  --line: #29334e;
  --paper: #080a13;
  --panel: #101626;
  --accent: #52ffe0;
  --accent-ink: #041a17;
  --accent-soft: #102f32;
  --ok: #82ffb4;
  --warn-bg: #292017;
  --warn-ink: #ffdf92;
  --error: #ff91ad;
  --radius: 6px;
  --radius-small: 4px;
  --wrap: 1240px;
  --font: "Aptos", "Segoe UI", system-ui, sans-serif;
}
html { scroll-behavior: smooth; }
body {
  background-color: var(--paper);
  background-image: radial-gradient(ellipse at 90% 12%, #8d2bff20, transparent 42%), radial-gradient(ellipse at 4% 42%, #00e9ce12, transparent 40%), linear-gradient(#34436516 1px, transparent 1px), linear-gradient(90deg, #34436516 1px, transparent 1px);
  background-size: auto, auto, 64px 64px, 64px 64px;
}
::selection { background: #52ffe0; color: #080a13; }
.demo-notice {
  padding: 9px 20px;
  border-bottom: 1px solid #9d7b344d;
  font: 500 12px/1.6 ui-monospace, monospace;
  letter-spacing: .045em;
  background: #231e17;
}
.site-header { background: #090d1cf2; border-bottom-color: #52ffe040; }
.header-row { min-height: 82px; }
.brand { letter-spacing: -.055em; font-size: 25px; }
.brand::before { content: "✦"; color: var(--accent); margin-right: 12px; text-shadow: 0 0 18px #52ffe080; }
.site-nav { font: 600 12px/1.5 ui-monospace, monospace; text-transform: uppercase; letter-spacing: .08em; align-items: center; }
.site-nav a { padding: 10px 0; }
.site-nav .order-link { border: 1px solid #52ffe055; padding: 10px 16px; background: #52ffe008; }
main.wrap { padding-top: 30px; }
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 10px 0 48px;
  padding: 88px 52px 72px;
  min-height: 355px;
  border: 1px solid #435071;
  border-left: 3px solid var(--accent);
  background: radial-gradient(ellipse at 88% 50%, #cb30ff27, transparent 48%), linear-gradient(120deg, #111e31, #101225 62%, #19112e);
  box-shadow: 0 20px 90px #0004, inset 0 0 80px #52ffe005;
}
.hero::before {
  content: "CHINA PHONES / TEACHING DEMO";
  display: block;
  margin-bottom: 24px;
  color: var(--accent);
  font: 600 11px/1.5 ui-monospace, monospace;
  letter-spacing: .19em;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 330px;
  height: 330px;
  right: -45px;
  top: 10px;
  border: 1px solid #e36aff55;
  border-radius: 50%;
  box-shadow: 0 0 0 30px #bf52ff08, 0 0 0 65px #bf52ff06, 0 0 70px #aa40ff22, inset 0 0 70px #aa40ff15;
}
.hero h1 { max-width: 850px; font-size: clamp(42px, 6.3vw, 84px); font-weight: 850; letter-spacing: -.065em; text-wrap: balance; text-shadow: 3px 2px #b740ef45; }
.tagline { max-width: 580px; font-size: 17px; margin-top: 22px; }
h2 { font-size: 24px; letter-spacing: -.035em; }
#products-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 25px; }
#products-heading::before { content: "//"; color: var(--accent); font-family: ui-monospace, monospace; }
.grid { gap: 22px; }
.card { border-color: var(--line); background: linear-gradient(145deg, #141c30, #0e1220); box-shadow: 0 12px 35px #0002; border-radius: 6px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-5px); border-color: #52ffe099; box-shadow: 0 12px 40px #52ffe012; }
.card-link:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
.card-media { background: #151d30; border-bottom: 1px solid #29334e; }
.card-media img { background: #dce4ee; }
.card-body { padding: 23px; }
.card h3 { font-size: 18px; letter-spacing: -.02em; }
.subtitle { color: var(--muted); }
.price { color: var(--accent); font-family: ui-monospace, monospace; font-weight: 700; }
.badge { border: 1px solid #f579c566; color: #ffb8e3; background: #3b1831; border-radius: 3px; font: 600 11px/1.6 ui-monospace, monospace; }
.how, .about { background: #101626d9; border: 1px solid var(--line); padding: 26px 30px; margin-top: 36px; border-radius: 6px; }
.how h2, .about h2 { margin-top: 0; }
.how ol { color: #c4d0e4; }
.about p { color: var(--muted); max-width: 80ch; }
.button { background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent); border-radius: 3px; font-weight: 800; box-shadow: 0 0 22px #52ffe015; transition: box-shadow .2s ease, background .2s ease; }
.button:hover { background: #a1ffed; color: #041a17; box-shadow: 0 0 26px #52ffe030; }
.button-secondary, .button.secondary { background: transparent; color: var(--accent); }
input, select, textarea { background: #090e1a; color: var(--ink); border-color: #3a4868; border-radius: 4px; }
input::placeholder, textarea::placeholder { color: #8998b3; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: 2px solid #52ffe030; outline-offset: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.order-items, .order-details, .pay-summary, .thanks, .message { border-color: #34425f; background: #101626; box-shadow: 0 15px 50px #0002; }
.thanks { border-top: 3px solid var(--accent); }
.thanks h2 { color: var(--accent); }
.form-status { background: #11302b; color: #b5ffe7; }
.form-status.is-error { background: #361b29; color: var(--error); }
.placeholder { background: #151d30; color: var(--muted); }
.gallery-main { border: 1px solid #3a4868; background: #151d30; }
.thumbs a:hover { border-color: var(--accent); }
.specs dt { color: var(--muted); }
.site-footer { background: #080c17; border-top: 1px solid #52ffe044; margin-top: 35px; }
.footer-row { padding: 36px 0; gap: 15px 28px; }
.footer-row strong { color: #e5f5ff; }
.footer-links a, .site-footer a, .crumbs a { color: #88eedd; text-underline-offset: 4px; }
.site-footer .muted { color: #92a1bb; }
.post-card { border-color: var(--line); background: #101626; }
.policy a, .post-body a { color: var(--accent); }
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .header-row { min-height: 76px; flex-wrap: wrap; gap: 8px; padding: 15px 0; }
  .brand { font-size: 21px; }
  .site-nav { gap: 14px; font-size: 11px; }
  .site-nav .order-link { padding: 7px 10px; }
  .hero { padding: 45px 22px; margin-bottom: 32px; min-height: 280px; }
  .hero::before { font-size: 9px; letter-spacing: .09em; }
  .hero::after { right: -190px; opacity: .6; }
  .hero h1 { font-size: clamp(36px, 10vw, 56px); }
  .tagline { font-size: 15px; }
  .grid { gap: 16px; }
  .card-body { padding: 18px; }
  .how, .about { padding: 22px; }
  .demo-notice { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

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

/* Keep the teaching label out of the storefront grid and style both columns. */
.storefront-hero { gap: clamp(20px, 4vw, 56px); padding: clamp(24px, 4vw, 52px); margin-bottom: 20px; min-height: 0; }
.storefront-hero::before { content: none; }
.storefront-hero .hero-copy { padding: 0; }
.storefront-hero .hero-copy h1 { font-size: clamp(34px, 5vw, 64px); }
.storefront-hero .hero-product { background: #151d30; border: 1px solid var(--line); }
.storefront-hero .hero-device { height: clamp(160px, 22vw, 290px); padding: 0; margin: 14px 0; }
.storefront-hero .hero-device img { mix-blend-mode: normal; }
.catalog-section { padding-top: 38px; }
.catalog-section .grid .card .card-media { background: #fff; padding: clamp(6px, 1vw, 16px); }
.catalog-section .card-media > img { background: transparent; mix-blend-mode: normal; }
.catalog-section .card-arrow { color: #151d30; }
.shipping-feature { background: #151d30; border: 1px solid var(--line); }
@media (max-width: 760px) {
  .storefront-hero { grid-template-columns: minmax(0, 1fr); }
  .storefront-hero .hero-actions { flex-wrap: wrap; gap: 12px 18px; }
}
