/* ==========================================================================
   ByteShield — design system
   Tokens first, then layout primitives, then components.
   ========================================================================== */

:root {
  /* Brand */
  --navy-900: #0b1729;
  --navy-800: #0f1f3d;
  --navy-700: #16294c;
  --blue-600: #2f6fed;
  --blue-700: #1d55c9;
  --blue-050: #eef4ff;
  --teal-600: #0ea5a4;
  --green-600: #16a34a;
  --green-050: #ecfdf3;
  --amber-500: #f59e0b;
  --red-600:   #dc2626;

  /* Neutrals */
  --ink-900: #0d1421;
  --ink-700: #33415c;
  --ink-500: #5b6b8a;
  --ink-400: #7c8aa5;
  --line:    #e3e8f0;
  --line-strong: #cdd6e4;
  --surface: #ffffff;
  --surface-alt: #f6f8fc;
  --surface-tint: #eef2f9;

  /* Type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;

  /* Space + shape */
  --wrap: 1200px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(13, 20, 33, .06), 0 1px 3px rgba(13, 20, 33, .05);
  --shadow-md: 0 4px 12px rgba(13, 20, 33, .07), 0 12px 28px rgba(13, 20, 33, .06);
  --shadow-lg: 0 18px 50px rgba(13, 20, 33, .14);
  --ring: 0 0 0 3px rgba(47, 111, 237, .30);
}

/* --- Reset ---------------------------------------------------------------*/
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink-900); line-height: 1.22; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
h3 { font-size: 1.175rem; }
p  { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy-800); color: #fff; padding: .7rem 1.1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* --- Layout primitives ---------------------------------------------------*/
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(3rem, 6vw, 4.75rem) 0; }
.section--tint { background: var(--surface-alt); border-block: 1px solid var(--line); }
.section-head { max-width: 48rem; margin-bottom: 2.25rem; }
.section-head p { color: var(--ink-500); font-size: 1.05rem; margin: 0; }
.eyebrow {
  display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue-600); margin-bottom: .6rem;
}
.grid { display: grid; gap: 1.5rem; }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.muted { color: var(--ink-500); }
.center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- Buttons -------------------------------------------------------------*/
.btn {
  --btn-bg: var(--blue-600); --btn-fg: #fff; --btn-bd: var(--blue-600);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .78rem 1.35rem; border: 1px solid var(--btn-bd); border-radius: var(--r-sm);
  background: var(--btn-bg); color: var(--btn-fg);
  font: inherit; font-weight: 600; font-size: .95rem; line-height: 1.2;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, transform .12s ease, box-shadow .15s ease;
}
.btn:hover { --btn-bg: var(--blue-700); --btn-bd: var(--blue-700); text-decoration: none; box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(1px); }
.btn--ghost   { --btn-bg: transparent; --btn-fg: var(--ink-900); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bg: var(--surface-alt); --btn-bd: var(--ink-400); }
.btn--light   { --btn-bg: #fff; --btn-fg: var(--navy-800); --btn-bd: #fff; }
.btn--light:hover { --btn-bg: #e8effb; --btn-bd: #e8effb; }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.45); }
.btn--outline-light:hover { --btn-bg: rgba(255,255,255,.12); --btn-bd: rgba(255,255,255,.75); }
.btn--lg { padding: .95rem 1.7rem; font-size: 1rem; }
.btn--block { width: 100%; }

/* --- Announcement bar ----------------------------------------------------*/
.announce {
  background: linear-gradient(90deg, var(--navy-800), var(--navy-700));
  color: #dce6f7; font-size: .875rem; text-align: center; padding: .55rem 1rem;
}
.announce strong { color: #fff; }
.announce .code {
  display: inline-block; margin-left: .35rem; padding: .1rem .45rem;
  border: 1px dashed rgba(255,255,255,.5); border-radius: 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: #fff; letter-spacing: .04em;
}

/* --- Header --------------------------------------------------------------*/
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 60; }
.header-main { display: flex; align-items: center; gap: 1.5rem; padding: .9rem 0; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name { font-size: 1.2rem; font-weight: 800; color: var(--navy-800); letter-spacing: -.02em; }
.brand-name span { color: var(--blue-600); }

.header-search { flex: 1 1 auto; max-width: 520px; }
.search-form { display: flex; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); overflow: hidden; background: #fff; }
.search-form:focus-within { border-color: var(--blue-600); box-shadow: var(--ring); }
.search-form select {
  border: 0; border-right: 1px solid var(--line); background: var(--surface-alt);
  font: inherit; font-size: .875rem; color: var(--ink-700); padding: 0 .7rem; cursor: pointer;
}
.search-form input {
  flex: 1; border: 0; padding: .7rem .85rem; font: inherit; font-size: .925rem; min-width: 0;
}
.search-form input:focus, .search-form select:focus { outline: none; box-shadow: none; }
.search-form button { border: 0; background: var(--navy-800); color: #fff; padding: 0 1.25rem; font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; }
.search-form button:hover { background: var(--blue-700); }

.header-contact { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.header-contact svg { color: var(--blue-600); flex: none; }
.header-contact .label { font-size: .72rem; color: var(--ink-500); text-transform: uppercase; letter-spacing: .06em; }
.header-contact .value { font-size: .98rem; font-weight: 700; color: var(--navy-800); }
.header-contact a { color: inherit; }

/* --- Primary nav ---------------------------------------------------------*/
.nav-bar { background: var(--surface-alt); border-top: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: .25rem; }
.nav-toggle {
  display: none; align-items: center; gap: .5rem; margin: .5rem 0;
  background: #fff; border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  padding: .55rem .9rem; font: inherit; font-weight: 600; font-size: .9rem; color: var(--ink-900); cursor: pointer;
}
.nav-list { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: block; padding: .85rem .9rem; font-size: .92rem; font-weight: 500;
  color: var(--ink-700); border-bottom: 2px solid transparent;
}
.nav-list a:hover { color: var(--blue-700); text-decoration: none; }
.nav-list a[aria-current="page"] { color: var(--navy-800); font-weight: 700; border-bottom-color: var(--blue-600); }

/* --- Hero ----------------------------------------------------------------*/
.hero {
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(47,111,237,.38), transparent 60%),
    linear-gradient(150deg, var(--navy-900), var(--navy-700));
  color: #d7e2f4; padding: clamp(3rem, 6vw, 5rem) 0;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero h1 { color: #fff; margin-bottom: .8rem; }
.hero p.lead { font-size: 1.1rem; color: #b9c9e4; max-width: 34rem; margin-bottom: 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.9rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; list-style: none; padding: 0; margin: 0; font-size: .9rem; }
.hero-points li { display: flex; align-items: center; gap: .45rem; color: #c6d5ec; }
.hero-points svg { color: #6ee7b7; flex: none; }
.hero-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-lg); padding: 1.25rem; backdrop-filter: blur(6px);
}
.hero-card .product-art { border-radius: var(--r-md); }
.hero-card .hero-price { display: flex; align-items: baseline; gap: .6rem; margin-top: 1rem; }
.hero-card .hero-price b { color: #fff; font-size: 1.75rem; }
.hero-card .hero-price s { color: #8ea6cb; }
.hero-card .hero-meta { color: #a9bcd9; font-size: .875rem; margin: .15rem 0 1rem; }

/* --- Trust strip ---------------------------------------------------------*/
.trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; padding: 1.5rem 0; }
.trust-item { display: flex; gap: .8rem; align-items: flex-start; }
.trust-item svg { color: var(--blue-600); flex: none; margin-top: .15rem; }
.trust-item b { display: block; color: var(--ink-900); font-size: .95rem; }
.trust-item span { font-size: .85rem; color: var(--ink-500); }

/* --- Product cards -------------------------------------------------------*/
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.product-card { display: flex; flex-direction: column; overflow: hidden; }
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--line-strong); }
.product-card__media { position: relative; padding: 1.1rem 1.1rem 0; }
.product-card__media .product-art { width: 100%; border-radius: var(--r-md); }
.product-card__body { padding: 1rem 1.15rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.product-card__title { font-size: 1rem; font-weight: 700; line-height: 1.35; margin: 0 0 .35rem; }
.product-card__title a { color: var(--ink-900); }
.product-card__summary { font-size: .875rem; color: var(--ink-500); margin: 0 0 .9rem; }
.product-card__meta { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .9rem; }
.product-card__price { display: flex; align-items: baseline; gap: .5rem; margin-top: auto; margin-bottom: .85rem; }
.product-card__price b { font-size: 1.45rem; color: var(--ink-900); letter-spacing: -.02em; }
.product-card__price s { color: var(--ink-400); font-size: .9rem; }
.product-card__actions { display: grid; grid-template-columns: 1fr auto; gap: .5rem; }

.badge {
  display: inline-block; padding: .18rem .55rem; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .02em;
}
.badge--accent { background: var(--blue-050); color: var(--blue-700); }
.badge--save   { background: var(--green-050); color: #15803d; }
.badge--float  { position: absolute; top: 1.5rem; left: 1.5rem; box-shadow: var(--shadow-sm); background: #fff; color: var(--navy-800); }
.chip {
  display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .55rem;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface-alt);
  font-size: .75rem; color: var(--ink-500);
}

/* --- Feature / step grids ------------------------------------------------*/
.feature { padding: 1.5rem; }
.feature__icon {
  width: 42px; height: 42px; border-radius: 10px; background: var(--blue-050);
  color: var(--blue-700); display: grid; place-items: center; margin-bottom: .9rem;
}
.feature h3 { margin-bottom: .35rem; }
.feature p { margin: 0; font-size: .925rem; color: var(--ink-500); }

.steps { counter-reset: step; }
.step { position: relative; padding-left: 3.25rem; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 2.25rem; height: 2.25rem;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--navy-800); color: #fff; font-weight: 700; font-size: .95rem;
}
.step h3 { margin-bottom: .3rem; }
.step p { margin: 0; font-size: .925rem; color: var(--ink-500); }

/* --- Notice / disclaimer -------------------------------------------------*/
.notice {
  border: 1px solid var(--line-strong); border-left: 4px solid var(--blue-600);
  background: var(--surface-alt); border-radius: var(--r-md);
  padding: 1.15rem 1.35rem; font-size: .875rem; color: var(--ink-500);
}
.notice b, .notice strong { color: var(--ink-900); }
.notice p:last-child { margin-bottom: 0; }
.notice--warn { border-left-color: var(--amber-500); }

/* --- Alerts --------------------------------------------------------------*/
.alert { border-radius: var(--r-md); padding: .9rem 1.1rem; font-size: .925rem; margin-bottom: 1.25rem; border: 1px solid; }
.alert--ok   { background: var(--green-050); border-color: #a7f3c8; color: #14532d; }
.alert--err  { background: #fef2f2; border-color: #fecaca; color: #7f1d1d; }
.alert ul { margin: .4rem 0 0; }

/* --- Forms ---------------------------------------------------------------*/
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .875rem; font-weight: 600; color: var(--ink-900); margin-bottom: .35rem; }
.field .hint { font-size: .8rem; color: var(--ink-400); margin-top: .3rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .7rem .85rem; font: inherit; font-size: .95rem; color: var(--ink-900);
  border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue-600); outline: none; box-shadow: var(--ring); }
.field textarea { min-height: 150px; resize: vertical; }
.field--error input, .field--error textarea { border-color: var(--red-600); }
.field .error { color: var(--red-600); font-size: .8rem; margin-top: .3rem; }
.hp { position: absolute; left: -9999px; opacity: 0; }

/* --- Breadcrumbs ---------------------------------------------------------*/
.crumbs { font-size: .85rem; color: var(--ink-400); padding: 1rem 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--line-strong); }

/* --- Page header ---------------------------------------------------------*/
.page-head { background: var(--surface-alt); border-bottom: 1px solid var(--line); padding: 2.25rem 0 2.5rem; }
.page-head h1 { margin-bottom: .4rem; }
.page-head p { color: var(--ink-500); max-width: 46rem; margin: 0; }

/* --- Product detail ------------------------------------------------------*/
.pdp { display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: 3rem; align-items: start; }
.pdp__media { background: var(--surface-alt); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; position: sticky; top: 6rem; }
.pdp__price { display: flex; align-items: baseline; gap: .75rem; margin: 1rem 0 .25rem; }
.pdp__price b { font-size: 2.25rem; color: var(--ink-900); letter-spacing: -.03em; }
.pdp__price s { color: var(--ink-400); font-size: 1.05rem; }
.pdp__buy { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0; }
.spec-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.spec-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.spec-list dt, .spec-list .k { color: var(--ink-500); }
.spec-list .v { color: var(--ink-900); font-weight: 600; text-align: right; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.checklist li { position: relative; padding-left: 1.75rem; margin-bottom: .55rem; font-size: .95rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 1.05rem; height: 1.05rem;
  border-radius: 50%; background: var(--green-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2316a34a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5 6.5 11.5 12.5 5'/%3E%3C/svg%3E") center/72% no-repeat;
}

/* --- FAQ -----------------------------------------------------------------*/
.faq { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; margin-bottom: .75rem; overflow: hidden; }
.faq summary {
  cursor: pointer; list-style: none; padding: 1rem 3rem 1rem 1.15rem; position: relative;
  font-weight: 600; color: var(--ink-900); font-size: .975rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 1.15rem; top: 1.25rem; width: 12px; height: 12px;
  border-right: 2px solid var(--ink-400); border-bottom: 2px solid var(--ink-400);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq[open] summary::after { transform: rotate(-135deg); }
.faq summary:hover { background: var(--surface-alt); }
.faq .faq__body { padding: 0 1.15rem 1.1rem; font-size: .925rem; color: var(--ink-500); }

/* --- CTA band ------------------------------------------------------------*/
.cta-band {
  background: linear-gradient(135deg, var(--navy-800), var(--blue-700));
  color: #dbe6f8; border-radius: var(--r-lg); padding: clamp(1.75rem, 4vw, 2.75rem);
  display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between;
}
.cta-band h2 { color: #fff; margin-bottom: .35rem; }
.cta-band p { margin: 0; color: #b9c9e4; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* --- Footer --------------------------------------------------------------*/
.site-footer { background: var(--navy-900); color: #9fb2ce; font-size: .9rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding: 3rem 0 2.25rem; }
.site-footer h3 { color: #fff; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: #b9c9e4; }
.site-footer a:hover { color: #fff; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name span { color: #7fa8f5; }
.footer-about p { margin: 1rem 0 0; color: #8ba0c0; max-width: 30rem; }
.footer-contact { font-style: normal; line-height: 1.9; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09); padding: 1.25rem 0;
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  font-size: .825rem; color: #7f93b2;
}
.pay-row { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.pay-badge {
  border: 1px solid rgba(255,255,255,.18); border-radius: 5px; padding: .2rem .5rem;
  font-size: .7rem; letter-spacing: .04em; color: #cbd8ec; background: rgba(255,255,255,.05);
}
.footer-legal { padding-bottom: 2rem; font-size: .78rem; color: #7288a8; line-height: 1.7; }

/* --- Prose (policy pages) ------------------------------------------------*/
.prose { max-width: 44rem; }
.prose h2 { margin-top: 2.25rem; font-size: 1.35rem; }
.prose h3 { margin-top: 1.6rem; }
.prose li { margin-bottom: .4rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: .9rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: .6rem .75rem; text-align: left; }
.prose th { background: var(--surface-alt); color: var(--ink-900); }
.toc { background: var(--surface-alt); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.1rem 1.35rem; }
.toc ul { margin: 0; padding-left: 1.1rem; }
.toc li { margin-bottom: .3rem; font-size: .9rem; }

/* --- Responsive ----------------------------------------------------------*/
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 380px; }
  .pdp { grid-template-columns: 1fr; }
  .pdp__media { position: static; max-width: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 860px) {
  .header-main { flex-wrap: wrap; gap: .85rem 1rem; }
  .header-search { order: 3; flex-basis: 100%; max-width: none; }
  .header-contact { margin-left: auto; }
  .nav-toggle { display: inline-flex; }
  .nav-list { display: none; flex-direction: column; width: 100%; padding-bottom: .75rem; }
  .nav-list.is-open { display: flex; }
  .nav-list a { padding: .7rem .25rem; border-bottom: 1px solid var(--line); }
  .nav-list a[aria-current="page"] { border-bottom-color: var(--blue-600); }
  .site-header { position: static; }
}
@media (max-width: 560px) {
  .wrap { width: min(100% - 1.75rem, var(--wrap)); }
  .header-contact .label { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .product-card__actions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto; }
}
@media print {
  .site-header, .site-footer, .announce, .cta-band, .nav-bar { display: none; }
  body { color: #000; }
}

/* --- Split content + sidebar --------------------------------------------*/
.split { display: grid; grid-template-columns: 1.3fr .9fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 2rem; } }

/* --- Three-up feature grid (keeps 6 cards as a tidy 3x2) ----------------*/
.grid--features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid--features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid--features { grid-template-columns: 1fr; } }

/* --- Plain product tiles (image-led catalogue listing) -------------------*/
.product-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.75rem 2rem;
}
.product-tile { display: flex; flex-direction: column; }
.product-tile__media {
  position: relative; display: block; margin-bottom: 1rem; border-radius: var(--r-md);
  transition: transform .18s ease, box-shadow .18s ease;
}
.product-tile__badge { align-self: flex-start; margin-bottom: .5rem; }
.product-tile__badge.is-empty { visibility: hidden; }
.product-tile__badge.is-empty::after { content: "\00a0"; }
.product-tile__media:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.product-tile__media .product-art { width: 100%; border-radius: var(--r-md); }
.product-tile__media .badge--float { top: .75rem; left: .75rem; }
.product-tile__title {
  font-size: 1rem; font-weight: 500; line-height: 1.45; margin: 0 0 .45rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  line-clamp: 2; overflow: hidden; min-height: 2.9em;
}
.product-tile__title a { color: var(--blue-700); }
.product-tile__title a:hover { color: var(--blue-600); }
.product-tile__price { display: flex; align-items: baseline; gap: .5rem; margin: auto 0 0; padding-top: .1rem; }
.product-tile__price b { font-size: 1.3rem; font-weight: 600; color: var(--ink-900); letter-spacing: -.02em; }
.product-tile__price s { font-size: .9rem; color: var(--ink-400); }

@media (max-width: 1024px) { .product-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px)  { .product-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.25rem; } }
@media (max-width: 420px)  { .product-tiles { grid-template-columns: 1fr; } }
.tiles--3 .product-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .tiles--3 .product-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .tiles--3 .product-tiles { grid-template-columns: 1fr; } }

/* --- Publisher attribution strip ----------------------------------------*/
.publisher-badge {
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: #fff; padding: 1.25rem 1.5rem;
}
.publisher-badge__logo { width: 150px; height: auto; flex: none; }
.publisher-badge p { margin: 0; font-size: .875rem; color: var(--ink-500); flex: 1 1 320px; }
.publisher-badge b { color: var(--ink-900); }
@media (max-width: 560px) { .publisher-badge { gap: 1rem; } .publisher-badge__logo { width: 110px; } }

/* Product artwork sits on the page background rather than a dark tile once
   real (transparent) box art is supplied. */
.product-tile__media .product-art,
.product-card__media .product-art { background: transparent; }

/* Real product photography sits in a consistent portrait frame, so mixed
   source aspect ratios never knock the grid out of alignment. */
img.product-art { width: 100%; aspect-ratio: 4 / 5; object-fit: contain; }

/* --- Phone-order call to action -----------------------------------------*/
.product-tile__cta { margin-top: .85rem; }

/* Floating call button. Sits above the footer on desktop, becomes a full
   width bar on phones, and never covers the last line of page content. */
.call-fab {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 80;
  display: inline-flex; align-items: center; gap: .7rem;
  padding: .7rem 1.15rem; border-radius: 999px;
  background: var(--green-600); color: #fff; text-decoration: none;
  box-shadow: 0 6px 20px rgba(13, 20, 33, .28);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.call-fab:hover { background: #15803d; text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.call-fab span { display: flex; flex-direction: column; line-height: 1.15; }
.call-fab b { font-size: .95rem; font-weight: 700; }
.call-fab small { font-size: .72rem; opacity: .9; }

@media (max-width: 560px) {
  .call-fab {
    right: 0; left: 0; bottom: 0; border-radius: 0;
    justify-content: center; padding: .8rem 1rem;
  }
  .call-fab span { flex-direction: row; align-items: baseline; gap: .45rem; }
  body { padding-bottom: 4.25rem; }
}
@media print { .call-fab { display: none; } }
