/* =============================================================================
   OEM Manual Store — "blueprint" theme layer
   -----------------------------------------------------------------------------
   Loaded AFTER assets/css/style.css. It re-skins the site by overriding the
   design tokens (colors, radius, fonts) and the type scale, so every page —
   cart, checkout, account, blog, category — inherits the same look and font
   sizes, then adds the specific components the new Home / Shop / Product
   pages use.

   To roll back the whole redesign: remove the <link> to this file from
   includes/header.php. Nothing in style.css was modified.
   ============================================================================= */


/* ---------------------------------------------------------------------------
   1. Fonts — self-hosted (Archivo variable + IBM Plex Mono 500/600).
      Both are SIL Open Font License, free to self-host. Only the Latin subset
      loads for normal pages; latin-ext downloads only if a page actually
      contains such a character (e.g. "Škoda").
   --------------------------------------------------------------------------- */
@font-face {
  font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 100%; font-display: swap;
  src: url('../fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 100%; font-display: swap;
  src: url('../fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/plexmono-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/plexmono-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ---------------------------------------------------------------------------
   2. Design tokens — every existing rule in style.css reads these, which is
      what re-skins the pages that aren't redesigned individually.
   --------------------------------------------------------------------------- */
:root {
  --font-sans: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --color-navy: #0E2248;
  --color-primary: #1C5FD4;
  --color-primary-dark: #1447A8;
  --color-primary-light: #EEF3FC;
  --color-accent: #F26B1D;
  --color-accent-hover: #FF8238;
  --color-secondary: #12161C;
  --color-bg: #F5F6F8;
  --color-surface: #FFFFFF;
  --color-border: #D9DEE4;
  --color-border-soft: #EEF0F3;
  --color-input: #BFC6CF;
  --color-text: #12161C;
  --color-text-muted: #525B66;
  --color-success: #2F7D4F;
  --color-success-bg: #EAF5EE;
  --color-error: #B42318;
  --color-error-bg: #FEF3F2;

  /* Square corners everywhere — the whole look depends on this. */
  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;
  --radius-pill: 0;

  --shadow-sm: none;
  --shadow-md: 0 1px 0 rgba(18, 22, 28, .06);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .28);

  --container-width: 1280px;
  --gutter: 24px;
}


/* ---------------------------------------------------------------------------
   3. Base + TYPE SCALE (applies to every page on the site)
      Body 16/1.55 · H1 28–40 · H2 26–32 · H3 19 · H4 17 · cards 14–15
      Mono labels 11–12 uppercase · buttons 13–16
   --------------------------------------------------------------------------- */
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-text);
  background: var(--color-bg);
}
input, select, textarea, button { font-family: inherit; }

a { color: var(--color-primary); }
a:hover { color: var(--color-primary-dark); text-decoration: underline; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-sans); color: var(--color-text); letter-spacing: -.01em; }
h1 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; line-height: 1.1; }
h2 { font-size: clamp(26px, 2.5vw, 32px); font-weight: 800; line-height: 1.1; }
h3 { font-size: 19px; font-weight: 700; line-height: 1.25; letter-spacing: 0; }
h4 { font-size: 17px; font-weight: 700; line-height: 1.25; letter-spacing: 0; }
h5 { font-size: 15px; font-weight: 700; line-height: 1.25; letter-spacing: 0; }
p  { text-wrap: pretty; }

.note { font-size: 13px; line-height: 1.5; }

:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }

/* Small uppercase technical labels — the "blueprint" voice. */
.eyebrow {
  display: block;
  font: 500 12px/1 var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-primary);
}


/* ---------------------------------------------------------------------------
   4. Layout — one consistent 24px gutter at every width.
      (style.css's `.section { padding: 56px 0 }` was silently zeroing the
      side padding on `.container.section`, so content touched the screen
      edge between ~780px and 1240px. This restores it.)
   --------------------------------------------------------------------------- */
.container { max-width: var(--container-width); padding-left: var(--gutter); padding-right: var(--gutter); }
.container.section { padding-left: var(--gutter); padding-right: var(--gutter); padding-top: 56px; padding-bottom: 24px; }

.section-title {
  text-align: left;
  font-size: clamp(26px, 2.5vw, 32px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 24px;
}
.sec-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.sec-head .section-title, .sec-head h2 { margin: 0; }
.sec-head p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--color-text-muted); max-width: 680px; }
.page-title { margin: 0 0 24px; }
.sec-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.sec-head-row .sec-head { margin-bottom: 0; }


/* ---------------------------------------------------------------------------
   5. Buttons + form controls
   --------------------------------------------------------------------------- */
.btn {
  border-radius: 0; box-shadow: none; transform: none;
  min-height: 44px; padding: 12px 18px;
  font-size: 14px; font-weight: 600; letter-spacing: 0; line-height: 1;
}
.btn:hover { transform: none; }
.btn-primary { background: var(--color-primary); color: #fff; box-shadow: none; }
.btn-primary:hover { background: var(--color-primary-dark); color: #fff; box-shadow: none; }
.btn-outline { background: transparent; border: 1px solid var(--color-text); color: var(--color-text); }
.btn-outline:hover { background: var(--color-text); border-color: var(--color-text); color: #fff; }
.btn-secondary { background: var(--color-text); color: #fff; }
.btn-secondary:hover { background: var(--color-primary); color: #fff; }
.btn-sm { min-height: 0; padding: 10px 12px; font-size: 13px; }
.btn-lg { padding: 16px 26px; font-size: 16px; font-weight: 700; }

input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=search],
select, textarea {
  border-radius: 0;
}
.checkout-form input:focus, .auth-box input:focus, .search-bar:focus-within, .currency-switcher select:focus {
  box-shadow: none; border-color: var(--color-primary);
}
.alert { border-radius: 0; }


/* ---------------------------------------------------------------------------
   6. Top utility bar + header
   --------------------------------------------------------------------------- */
.utility-bar { background: var(--color-navy); color: #DCE4F2; font: 500 12px/1 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.utility-bar .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 9px; padding-bottom: 9px; }
.utility-bar-tags { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.utility-bar-tags span::before { content: ""; display: inline-block; width: 6px; height: 6px; background: currentColor; margin-right: 8px; vertical-align: 1px; }
.utility-bar a { color: inherit; }
.utility-bar a:hover { color: #fff; text-decoration: underline; }

.site-header {
  background: #fff; padding: 0;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  border-bottom: 1px solid var(--color-border);
  z-index: 20;
}
.header-inner { gap: 16px 24px; min-height: 0; padding-top: 12px; padding-bottom: 12px; }
.site-logo { height: 40px; width: auto; }

.main-nav { margin-left: auto; gap: 4px; }
.main-nav a { font: 600 14px/1 var(--font-sans); padding: 12px; border-radius: 0; color: var(--color-text); }
.main-nav a:hover { background: transparent; color: var(--color-primary); text-decoration: underline; }

.search-bar { order: 2; flex: 1 1 240px; max-width: 380px; min-width: 0; background: #fff; border: 1px solid var(--color-input); border-radius: 0; padding: 0; }
.search-bar input { height: 44px; padding: 0 12px; font-size: 14px; }
.search-bar button { width: 44px; height: 44px; border-radius: 0; background: var(--color-text); }
.search-bar button:hover { background: var(--color-primary); }

.currency-switcher select {
  height: 44px; border-radius: 0; background-color: #fff; border: 1px solid var(--color-input);
  padding: 0 28px 0 12px; font: 500 13px/1 var(--font-mono);
}

.header-actions { gap: 8px; }
.header-actions a { border-radius: 0; padding: 12px; font: 600 14px/1 var(--font-sans); color: var(--color-text); }
.header-actions a:hover { background: transparent; color: var(--color-primary); }
/* The cart is the one dark button, with an orange count badge. */
.header-actions a[aria-label="Cart"] { background: var(--color-text); color: #fff; min-height: 44px; padding: 11px 14px; gap: 10px; }
.header-actions a[aria-label="Cart"]:hover { background: var(--color-primary); color: #fff; }
.cart-badge { border-radius: 0; background: var(--color-accent); color: var(--color-text); font: 600 12px/1 var(--font-mono); padding: 4px 7px; min-width: 24px; height: auto; }

.mobile-nav-toggle { border-radius: 0; background: #fff; border: 1px solid var(--color-border); width: 44px; height: 44px; }
.mobile-nav-toggle:hover { background: var(--color-primary-light); }


/* ---------------------------------------------------------------------------
   7. Home — hero + "Find your manual" card
   --------------------------------------------------------------------------- */
.hero, .hero.hero-finder {
  background-color: var(--color-navy);
  background-image:
    linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 160px 160px, 160px 160px, 32px 32px, 32px 32px;
  color: #fff; text-align: left; padding: 72px 0 80px;
}
.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 20px; }
.hero .eyebrow { color: var(--color-accent); }
.hero h1 {
  color: #fff; margin: 0; max-width: none;
  font-size: clamp(34px, 4.6vw, 58px); line-height: 1.02; letter-spacing: -.02em; text-wrap: balance;
}
.hero p { color: #C9D4E8; font-size: 18px; line-height: 1.55; max-width: 560px; margin: 0; }

.finder-card {
  background: #fff; color: var(--color-text);
  padding: 28px; border-top: 4px solid var(--color-accent);
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: var(--shadow-lg);
}
.finder-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.finder-head h2 { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.2; letter-spacing: 0; }
.finder-head span { font: 500 11px/1 var(--font-mono); color: var(--color-text-muted); }
.finder-field { display: flex; flex-direction: column; gap: 6px; }
.finder-field > span { font: 600 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--color-text-muted); }
.finder-field select, .finder-field input, .finder-field textarea {
  width: 100%; height: 48px; padding: 0 12px;
  border: 1px solid var(--color-input); border-radius: 0; background: #fff;
  font: 500 16px/1 var(--font-sans); color: var(--color-text);
}
.finder-field textarea { height: auto; min-height: 150px; padding: 12px; font-weight: 400; line-height: 1.5; resize: vertical; }
.finder-field select:disabled { color: var(--color-text-muted); background: #F7F8FA; }
.finder-card .btn {
  height: 52px; padding: 0 20px; background: var(--color-accent); color: var(--color-text);
  font-size: 16px; font-weight: 700; gap: 10px;
}
.finder-card .btn:hover { background: var(--color-accent-hover); color: var(--color-text); }
.finder-hint { font-size: 13px; line-height: 1.4; color: var(--color-text-muted); }

/* Contact page */
.sec-head .page-title { margin: 0; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: start; }
.contact-cards { grid-template-columns: 1fr; }
.contact-card { display: flex; flex-direction: column; gap: 6px; padding: 20px; color: var(--color-text); text-align: left; }
a.contact-card:hover { background: var(--color-primary-light); color: var(--color-text); text-decoration: none; }
.contact-card-code { font: 500 11px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--color-primary); }
.contact-card-value { font: 700 19px/1.3 var(--font-sans); font-style: normal; overflow-wrap: anywhere; }
.contact-card-note { font-size: 14px; line-height: 1.5; color: var(--color-text-muted); }
.form-errors { margin: 0; padding-left: 18px; }
.contact-form .alert { margin: 0; }
/* Honeypot: off-screen for people, still present for bots. */
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }


/* ---------------------------------------------------------------------------
   7b. Home — brand tiles, tabs, showcase rows, tile lists, offers, FAQ, CTA
       Bordered tiles use per-cell borders (not a grey "gap" background) so a
       partly filled last row never shows stray grey blocks.
   --------------------------------------------------------------------------- */
.tile-grid { display: grid; border-top: 1px solid var(--color-border); border-left: 1px solid var(--color-border); background: transparent; }
.tile-grid > * { background: #fff; border-right: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }

.brand-tiles { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.brand-tile {
  padding: 20px 16px; min-height: 96px; display: flex; flex-direction: column; justify-content: space-between;
  align-items: flex-start; gap: 12px; color: var(--color-text); text-align: left;
}
.brand-tile:hover { background: var(--color-primary-light); text-decoration: none; color: var(--color-text); }
.brand-tile-code { font: 500 11px/1 var(--font-mono); color: var(--color-text-muted); }
.brand-tile-name { font: 700 17px/1.15 var(--font-sans); }

/* Featured / Bestselling / New — segmented control */
.product-tabs-nav { display: inline-flex; gap: 0; border: 1px solid var(--color-text); margin: 0; overflow: visible; background: #fff; }
.tab-btn {
  background: transparent; color: var(--color-text); border: none; border-bottom: none; margin: 0;
  padding: 12px 18px; min-height: 44px; font: 600 14px/1 var(--font-sans);
}
.tab-btn:hover { color: var(--color-primary); }
.tab-btn.active { background: var(--color-text); color: #fff; border-bottom: none; }

/* Per-brand product rows */
.category-showcase { padding-top: 48px; padding-bottom: 8px; }
.showcase-head {
  border-top: 2px solid var(--color-text); padding-top: 20px; margin-bottom: 20px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap;
}
.showcase-head-text { display: flex; flex-direction: column; gap: 8px; max-width: 720px; }
.showcase-head .section-title { margin: 0; font-size: 26px; line-height: 1.15; }
.category-showcase-blurb { margin: 0; text-align: left; max-width: none; font-size: 15px; line-height: 1.5; color: var(--color-text-muted); }

/* "Digital Manuals With Instant Access" keyword tiles (your 5 / 8 / 6 grid) */
.manual-categories {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; width: 100%; margin: 24px 0 0; padding: 0;
  border-top: 1px solid var(--color-border); border-left: 1px solid var(--color-border);
  counter-reset: mc;
}
.manual-categories > div {
  position: relative; background: #fff; border-right: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border);
  min-height: 84px; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 10px;
  text-align: left; font: 600 15px/1.3 var(--font-sans); color: var(--color-text);
}
.manual-categories > div::before {
  counter-increment: mc; content: counter(mc, decimal-leading-zero);
  font: 500 11px/1 var(--font-mono); color: var(--color-primary);
}

/* "What We Offer" (01/02/03) and "Why Choose Us" ([A]–[E]) — numbering is
   generated by CSS counters, so the existing markup needs no changes. */
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 0; border-top: 1px solid var(--color-border); border-left: 1px solid var(--color-border); counter-reset: offer; }
.offer-card { background: #fff; border: 0; border-right: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); border-radius: 0; padding: 28px; box-shadow: none; transform: none; display: flex; flex-direction: column; gap: 10px; }
.offer-card:hover { box-shadow: none; transform: none; }
.offer-card::before { counter-increment: offer; content: counter(offer, decimal-leading-zero); font: 600 28px/1 var(--font-mono); color: var(--color-accent); }
.offer-card h4 { margin: 0; font-size: 19px; }
.offer-card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--color-text-muted); }

.trust-grid.why-choose-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 0; text-align: left; border-top: 1px solid var(--color-border); border-left: 1px solid var(--color-border); counter-reset: why; }
.trust-grid > div { background: #fff; border: 0; border-right: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); border-radius: 0; padding: 24px; display: flex; flex-direction: column; gap: 8px; box-shadow: none; transform: none; }
.trust-grid > div:hover { box-shadow: none; transform: none; }
.trust-grid > div::before { counter-increment: why; content: "[" counter(why, upper-alpha) "]"; font: 500 11px/1 var(--font-mono); color: var(--color-primary); }
.trust-grid i { display: none; }
.trust-grid h5 { margin: 0; font: 700 17px/1.25 var(--font-sans); }
.trust-grid p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--color-text-muted); }
.why-choose-section { padding-top: 8px; }

/* FAQ — two independent columns on desktop (.faq-col), "+ / −" markers */
.faq-accordion { max-width: none; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 0 40px; align-items: start; }
.faq-col { display: flex; flex-direction: column; min-width: 0; border-top: 2px solid var(--color-text); }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-question { padding: 16px 0; min-height: 52px; font: 600 15px/1.4 var(--font-sans); color: var(--color-text); }
.faq-question:hover { color: var(--color-primary); }
.faq-question i { display: none; }
.faq-question::after { content: "+"; flex: none; width: 20px; text-align: center; font: 500 18px/1 var(--font-mono); color: var(--color-primary); }
.faq-item.open .faq-question::after { content: "\2212"; }
.faq-item.open .faq-answer { max-height: 700px; }
.faq-answer p { padding: 0 36px 18px 0; font-size: 15px; line-height: 1.6; color: var(--color-text-muted); }

/* CTA band */
.cta-section {
  background-color: var(--color-navy);
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 32px 32px;
  border-radius: 0; text-align: left; padding: 56px 40px;
  display: grid; grid-template-columns: 1fr auto; column-gap: 24px; align-items: center;
}
.container.section.cta-section {
  padding: 56px 40px; margin: 24px auto 72px;
  width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--container-width) - 2 * var(--gutter));
}
.cta-section h2 { grid-column: 1; margin: 0 0 10px; color: #fff; font-size: clamp(26px, 2.8vw, 34px); }
.cta-section p { grid-column: 1; margin: 0; max-width: 640px; color: #C9D4E8; font-size: 17px; line-height: 1.5; }
.cta-section .btn, .cta-section .btn-primary { grid-column: 2; grid-row: 1 / span 2; background: var(--color-accent); color: var(--color-text); padding: 18px 26px; font-size: 16px; font-weight: 700; box-shadow: none; }
.cta-section .btn:hover, .cta-section .btn-primary:hover { background: var(--color-accent-hover); color: var(--color-text); }


/* ---------------------------------------------------------------------------
   8. Product grid + card (used on Home, Shop, Category, Product page)
   --------------------------------------------------------------------------- */
.product-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.product-card {
  background: #fff; border: 1px solid var(--color-border); border-radius: 0; box-shadow: none;
  display: flex; flex-direction: column; min-width: 0; transition: border-color .15s ease;
}
.product-card:hover { transform: none; box-shadow: none; border-color: var(--color-text-muted); }
.product-card-img {
  position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden;
  background: repeating-linear-gradient(135deg, #EDF0F4 0 10px, #F7F8FA 10px 20px);
  border-bottom: 1px solid var(--color-border);
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; }
.product-card:hover .product-card-img img { transform: none; }
.badge { top: 10px; border-radius: 0; font: 600 10px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; padding: 4px 6px; }
.badge-digital { left: 10px; right: auto; background: var(--color-accent); color: var(--color-text); }
.badge-digital i { display: none; }
.badge-sale { left: 10px; right: auto; top: 34px; background: var(--color-error); color: #fff; }
.product-card-body { padding: 14px; gap: 8px; }
.product-card-code {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font: 500 11px/1.35 var(--font-mono); color: var(--color-text-muted); overflow-wrap: anywhere;
}
.product-card-title {
  font: 600 14px/1.35 var(--font-sans); color: var(--color-text);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card-title:hover { color: var(--color-primary); text-decoration: none; }
.product-card-foot { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.product-card-foot .product-card-price { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; line-height: 1; }
.product-card-foot .product-card-price { margin-top: 0; }
.product-card-foot form { margin: 0; }
.price, .price-sale { font: 700 17px/1 var(--font-sans); color: var(--color-text); }
.price-old { font-size: 13px; color: var(--color-text-muted); }
.product-card .btn { padding: 10px 12px; font-size: 13px; white-space: nowrap; }


/* ---------------------------------------------------------------------------
   9. Breadcrumbs, Shop / Category pages
   --------------------------------------------------------------------------- */
.breadcrumb, .breadcrumbs {
  font: 500 12px/1.4 var(--font-mono); text-transform: uppercase; color: var(--color-text-muted); margin-bottom: 20px;
}
.breadcrumbs .crumb-sep { color: var(--color-text-muted); }
.breadcrumbs [aria-current="page"] { color: var(--color-text); font-weight: 500; }

.shop-layout { grid-template-columns: 260px 1fr; gap: 24px; }
.shop-filters {
  background: #fff; border: 1px solid var(--color-border); border-top: 4px solid var(--color-accent);
  border-radius: 0; box-shadow: none; padding: 20px;
  position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow-y: auto;
}
.shop-filters h5 {
  font: 600 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--color-text-muted);
  margin: 0 0 10px; padding-top: 14px; border-top: 1px solid var(--color-border-soft);
}
.shop-filters h5:first-child { border-top: 0; padding-top: 0; }
.filter-list li a { font-size: 14px; line-height: 1.4; padding: 7px 0; }
.price-filter input { height: 40px; border: 1px solid var(--color-input); border-radius: 0; }
.shop-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 24px; }
.shop-head-text { display: flex; flex-direction: column; gap: 8px; max-width: 820px; }
.shop-head-text .page-title { margin: 0; }
.shop-intro { margin: 0; font-size: 15px; line-height: 1.6; color: var(--color-text-muted); }
.shop-count { font: 500 13px/1 var(--font-mono); text-transform: uppercase; color: var(--color-text-muted); }
.sort-form label { display: flex; align-items: center; gap: 10px; margin: 0; }
.sort-form label > span { font: 600 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--color-text-muted); }
.sort-form select { height: 44px; padding: 0 10px; border: 1px solid var(--color-input); border-radius: 0; background: #fff; font: 500 14px/1 var(--font-sans); color: var(--color-text); }

.filter-title { display: block; font: 700 16px/1 var(--font-sans); margin-bottom: 4px; }
.filter-form { display: flex; flex-direction: column; gap: 14px; margin: 14px 0 6px; }
.filter-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.filter-field > span { font: 600 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--color-text-muted); }
.filter-field select { width: 100%; height: 44px; padding: 0 10px; border: 1px solid var(--color-input); border-radius: 0; background: #fff; font: 500 15px/1 var(--font-sans); color: var(--color-text); }
.filter-field select:disabled { color: var(--color-text-muted); background: #F7F8FA; }
.chip-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.chip { display: inline-block; background: #fff; color: var(--color-text); border: 1px solid var(--color-input); padding: 8px 10px; font: 500 13px/1 var(--font-sans); }
.chip:hover { border-color: var(--color-text); color: var(--color-text); text-decoration: none; }
.chip.active { background: var(--color-text); border-color: var(--color-text); color: #fff; }
.shop-filters .price-filter { margin-bottom: 4px; }
.empty-state { background: #fff; border: 1px dashed var(--color-input); text-align: left; padding: 48px 24px; }
.pagination a { border-radius: 0; }

.subcategory-tile { border-radius: 0; box-shadow: none; }
.subcategory-tile:hover { transform: none; }
.subcategory-tile-img { border-radius: 0; }


/* ---------------------------------------------------------------------------
   10. Product page
   --------------------------------------------------------------------------- */
.product-detail { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px; align-items: start; }
.product-main-image { border-radius: 0; border: 1px solid var(--color-border); aspect-ratio: 4 / 3; object-fit: cover; }
.product-image-frame { position: relative; background: repeating-linear-gradient(135deg, #E9EDF2 0 12px, #F5F6F8 12px 24px); border: 1px solid var(--color-border); }
.product-image-frame .product-main-image { display: block; width: 100%; border: 0; }
.product-image-frame .badge-digital { top: 16px; left: 16px; font-size: 11px; padding: 5px 8px; }
.product-thumbs img { border-radius: 0; }

.product-info { display: flex; flex-direction: column; gap: 20px; }
.product-info > * { margin-top: 0; margin-bottom: 0; }
.product-info h1 { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; text-wrap: pretty; }
/* SKU · Category — the mono eyebrow above the title. */
.product-meta {
  margin: 0; display: flex; flex-wrap: wrap; gap: 6px 0;
  font: 500 12px/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--color-primary);
}
.product-meta a { color: inherit; }
.product-meta > span + span::before { content: "\00b7"; margin: 0 8px; }
.product-price-row { display: flex; align-items: baseline; gap: 8px 14px; flex-wrap: wrap; }
.product-price { display: flex; align-items: baseline; gap: 10px; font: 800 36px/1 var(--font-sans); color: var(--color-text); margin: 0; }
.product-price .price-old { font-size: 18px; font-weight: 500; }
.digital-badge {
  background: none; padding: 0; border-radius: 0; margin: 0;
  font: 500 12px/1.3 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--color-success);
}
.digital-badge i { display: none; }
.digital-badge::before { content: "\25CF\00a0"; }
.product-short-desc { font-size: 15px; line-height: 1.6; color: var(--color-text-muted); }
.add-to-cart-form { margin: 0; gap: 10px; }
.add-to-cart-form .btn { flex: 1 1 180px; height: 54px; padding: 0 20px; font-size: 16px; font-weight: 700; }
.add-to-cart-form .btn-secondary { background: var(--color-accent); color: var(--color-text); }
.add-to-cart-form .btn-secondary:hover { background: var(--color-accent-hover); color: var(--color-text); }

.spec-table { background: #fff; border: 1px solid var(--color-border); }
.spec-box { background: #fff; border: 1px solid var(--color-border); }
.spec-box-head { padding: 12px 16px; border-bottom: 1px solid var(--color-border); font: 600 11px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--color-text-muted); }
.spec-box .spec-table { border: 0; margin: 0; }
.spec-box .spec-table tr:last-child th, .spec-box .spec-table tr:last-child td { border-bottom: 0; }
.info-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border-top: 1px solid var(--color-border); border-left: 1px solid var(--color-border); }
.info-strip > div { background: #fff; border-right: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.info-strip strong { font: 700 14px/1.3 var(--font-sans); }
.info-strip span { font: 400 13px/1.4 var(--font-sans); color: var(--color-text-muted); overflow-wrap: anywhere; }
.spec-table th {
  width: 38%; padding: 12px 16px; background: transparent; text-align: left;
  font: 500 13px/1.4 var(--font-mono); color: var(--color-text-muted); border-right: 1px solid var(--color-border-soft);
}
.spec-table td { padding: 12px 16px; font: 600 14px/1.4 var(--font-sans); }
.spec-table th, .spec-table td { border-bottom: 1px solid var(--color-border-soft); }
.compatibility-box, .file-info-box { border-radius: 0; box-shadow: none; }
.product-tabs { border-top: 2px solid var(--color-text); padding-top: 20px; margin-top: 8px; }
.product-tabs .product-tabs-nav { margin-bottom: 0; }
.product-tabs .tab-panel { background: #fff; border: 1px solid var(--color-border); border-top: 0; padding: 28px; }
.product-tabs .tab-panel .doc-panel { border: 0; padding: 0; }
.doc-panel { background: #fff; border: 1px solid var(--color-border); padding: 28px; }
.product-description { font-size: 16px; line-height: 1.7; overflow-wrap: anywhere; }
.product-description > :first-child { margin-top: 0; }
.product-description > :last-child { margin-bottom: 0; }
.product-description h1, .product-description h2, .product-description h3, .product-description h4 { margin: 1.5em 0 .5em; }
.product-description h1, .product-description h2 { font-size: 24px; }
.product-description h3 { font-size: 20px; }
.product-description p { margin: 0 0 1em; }
.product-description ul, .product-description ol { padding-left: 1.4em; margin: 0 0 1em; }
.product-description img { max-width: 100%; height: auto; }
.product-description table { width: 100%; border-collapse: collapse; margin: 0 0 1em; }
.product-description th, .product-description td { border: 1px solid var(--color-border); padding: 8px 10px; text-align: left; }
.related-section { padding: 48px 0 24px; }

/* Reviews tab: rating overview + bar chart */
.review-overview { display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: center; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--color-border); }
.review-overview-score { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 90px; }
.review-overview-number { font: 800 40px/1 var(--font-sans); }
.review-bars { display: flex; flex-direction: column; gap: 6px; flex: 1 1 260px; max-width: 360px; }
.review-bar-row { display: grid; grid-template-columns: 28px 1fr 24px; align-items: center; gap: 10px; }
.review-bar-label { font: 500 12px/1 var(--font-mono); color: var(--color-text-muted); }
.review-bar-track { height: 8px; background: var(--color-border-soft); position: relative; }
.review-bar-fill { position: absolute; inset: 0 auto 0 0; background: var(--color-accent); }
.review-bar-count { font: 500 12px/1 var(--font-mono); color: var(--color-text-muted); text-align: right; }

/* Individual review cards: avatar + body, replacing the plain text list */
.review-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 28px; }
.review-item { display: flex; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--color-border-soft); }
.review-item:last-child { border-bottom: 0; padding-bottom: 0; }
.review-item-avatar {
  flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--color-primary-light); color: var(--color-primary);
  display: flex; align-items: center; justify-content: center; font: 700 16px/1 var(--font-sans);
}
.review-item-body { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.review-item-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.review-item-head strong { font-size: 15px; }
.review-item-body .review-stars { font-size: .85rem; }
.review-item-body h4 { margin: 2px 0 0; font-size: 15px; }
.review-item-body p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--color-text-muted); }

/* Review form: clickable stars instead of a plain <select> */
.review-form-card { background: var(--color-bg); border: 1px solid var(--color-border); padding: 22px; }
.review-form-card .alert { margin: 0 0 14px; }
.star-picker { display: inline-flex; gap: 2px; margin-top: 4px; }
.star-picker-btn { background: none; border: none; padding: 2px 3px; margin: 0; cursor: pointer; font-size: 26px; line-height: 1; color: var(--color-border); }
.star-picker-btn.is-filled { color: #f5a623; }

@media (max-width: 480px) {
  .review-overview { flex-direction: column; align-items: flex-start; }
  /* In column direction the flex-basis above would otherwise apply to HEIGHT, not width
     (stretching the bars to a tall, mostly-empty 260px block) — reset it here. */
  .review-bars { flex: none; width: 100%; max-width: none; }
}
.review-item h4 { font-size: 17px; }


/* ---------------------------------------------------------------------------
   11. Footer — white, mono column headings
   --------------------------------------------------------------------------- */
.site-footer { background: #fff; color: var(--color-text); border-top: 1px solid var(--color-border); margin-top: 64px; }
.footer-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; padding-top: 48px; padding-bottom: 32px; }
.footer-grid h4, .footer-grid h5 {
  font: 600 11px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--color-text-muted); margin: 0 0 6px;
}
.footer-grid p { font-size: 14px; line-height: 1.55; color: var(--color-text-muted); }
.footer-grid a { color: var(--color-text); font: 500 14px/1.4 var(--font-sans); padding: 5px 0; }
.footer-grid a:hover { color: var(--color-primary); text-decoration: underline; }
.footer-grid strong { font: 500 12px/1 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--color-text-muted); margin-right: 6px; }
.footer-grid .site-logo { height: auto; width: 200px; }
.footer-social a { color: var(--color-primary); font: 600 13px/1 var(--font-sans); padding: 0; }
.footer-social a:hover { color: var(--color-primary-dark); }
.footer-social a:not(:last-child)::after { color: var(--color-border); }
.footer-bottom { border-top: 0; text-align: left; padding: 0 var(--gutter); font: 500 12px/1.4 var(--font-mono); color: var(--color-text-muted); }
.footer-bottom p { margin: 0; padding: 16px 0; border-top: 1px solid var(--color-border); }
.footer-grid p a { display: inline; padding: 0; }


/* ---------------------------------------------------------------------------
   12. Everything else — light touch so cart / checkout / account / blog match
   --------------------------------------------------------------------------- */
.cart-table, .summary-box, .order-summary, .checkout-form, .auth-box, .panel-box,
.account-sidebar, .account-card, .blog-card { border-radius: 0; box-shadow: none; }
.account-card:hover, .blog-card:hover { transform: none; box-shadow: none; }
.status-badge, .badge-verified { border-radius: 0; font-family: var(--font-mono); letter-spacing: .04em; }
.cart-summary .btn, .summary-box .btn { font-size: 15px; }
.review-form select, .review-form input, .review-form textarea { border-radius: 0; }
.pdf-preview-box, .site-popup-box { border-radius: 0; }
.blog-post-content, .page-content { font-size: 16px; line-height: 1.7; }


/* ---------------------------------------------------------------------------
   13. Responsive
   --------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .site-logo { height: 48px; }
  .search-bar { max-width: 300px; }
}
@media (min-width: 781px) and (max-width: 1100px) {
  /* row 1: logo · search · currency · cart/login    row 2: menu links */
  .search-bar { order: 2; flex: 1 1 220px; max-width: none; }
  .currency-switcher { order: 3; }
  .header-actions { order: 4; margin-left: 0; }
  .main-nav { order: 5; flex-basis: 100%; margin-left: 0; padding-top: 4px; border-top: 1px solid var(--color-border-soft); }
}

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
  .shop-layout { grid-template-columns: 220px 1fr; }
  .manual-categories { grid-template-columns: repeat(8, 1fr); }
  .manual-categories > div { min-height: 64px; padding: 10px 8px; font-size: 12px; gap: 6px; overflow-wrap: anywhere; }
  .manual-categories > div::before { font-size: 10px; }
}

@media (max-width: 780px) {
  :root { --gutter: 20px; }
  .shop-layout { grid-template-columns: 1fr; }
  /* Phones use your collapsible "Filters" <details> bar — keep the wrapper transparent so it isn't boxed twice. */
  .shop-filters { position: static; max-height: none; overflow: visible; padding: 0; border: 0; background: transparent; }
  .shop-filters-toggle summary { border-top: 4px solid var(--color-accent); font-weight: 700; }
  /* Phones use the category dropdown instead of the chip list (chips would otherwise override style.css's hide rule). */
  .chip-list.category-list { display: none; }
  .container.section { padding-top: 40px; padding-bottom: 16px; }
  .site-logo { height: 44px; }

  /* ---- Phone header (compact, matches the layout requested) ----
     Row 1: logo · currency pill · cart · account · menu button
     Row 2: full-width rounded search with a round blue button
     Row 3: menu links (open with the menu button)
     The `order` values are restated here because the desktop ones above would otherwise win. */
  .header-inner { gap: 10px 6px; padding-top: 10px; padding-bottom: 12px; align-items: center; }
  /* The logo takes whatever space is LEFT after the pill, icons and menu button, and scales down
     to fit — so a wide logo (e.g. one with a tagline) can never push the menu button onto its own row. */
  .site-logo-link { order: 1; flex: 1 1 0; min-width: 0; margin-right: 0; }
  .site-logo { height: auto; width: auto; max-width: 100%; max-height: 40px; min-width: 0; object-fit: contain; }
  .currency-switcher { order: 2; margin-left: 0; flex: none; }
  .header-actions { order: 3; margin-left: 0; gap: 0; flex: none; }
  .mobile-nav-toggle { order: 4; margin-left: 4px; flex: none; }
  .search-bar { order: 5; flex: 1 1 100%; max-width: 100%; margin-top: 0; }
  .main-nav { order: 6; flex-basis: 100%; margin-left: 0; }
  .main-nav a { padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--color-border-soft); border-radius: 0; }

  .currency-switcher select {
    height: 28px; padding: 0 21px 0 10px; border: 0; border-radius: 999px;
    background-color: #EEF0F4; background-position: right 7px center; font: 700 13px/1 var(--font-sans); color: var(--color-text);
  }
  /* Cart + account: plain icons (no dark button) */
  .header-actions a, .header-actions a[aria-label="Cart"] {
    width: 36px; height: 36px; min-height: 0; padding: 0; gap: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: transparent; color: var(--color-text); border-radius: 0;
  }
  .header-actions a:hover, .header-actions a[aria-label="Cart"]:hover { background: transparent; color: var(--color-primary); }
  .header-actions a i { font-size: 19px; }
  .cart-badge {
    position: absolute; top: 0; right: 0; min-width: 17px; height: 17px; padding: 0 4px;
    border-radius: 999px; font-size: 10px; line-height: 17px; text-align: center;
  }
  .mobile-nav-toggle { width: 38px; height: 38px; border-radius: 10px; background: #F4F5F9; border: 1px solid #E3E6EC; }
  .search-bar { height: 48px; padding: 4px 4px 4px 18px; border-radius: 999px; background: #F1F3F8; border-color: #E3E6EC; }
  .search-bar input { height: 38px; padding: 0; font-size: 15px; }
  .search-bar button { width: 40px; height: 40px; border-radius: 50%; background: var(--color-primary); }
  .search-bar button:hover { background: var(--color-primary-dark); }

  /* Top info bar: one slim line on phones (just the tap-to-call hotline) */
  .utility-bar { font-size: 11px; }
  .utility-bar-tags { display: none; }
  .utility-bar .container { justify-content: center; padding-top: 6px; padding-bottom: 6px; }

  .hero, .hero.hero-finder { padding: 48px 0 56px; }
  .hero-grid { gap: 32px; }
  .hero h1 { font-size: clamp(32px, 9vw, 44px); }
  .hero p { font-size: 16px; }
  .finder-card { padding: 22px; }

  .category-showcase { padding-top: 40px; }
  .cta-section, .container.section.cta-section { grid-template-columns: 1fr; padding: 40px 24px; }
  .cta-section .btn, .cta-section .btn-primary { grid-column: 1; grid-row: auto; margin-top: 20px; justify-self: start; }

  /* Undo the old per-section 10px margin hacks in style.css so gutters stay uniform. */
  section.container.section.faq-section, section.container.section.cta-section { margin-left: auto; margin-right: auto; }
  .container.footer-grid { margin: 0 auto; }

  /* Two-up product cards: stack the price above a full-width button. */
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .product-card-foot { flex-direction: column; align-items: stretch; gap: 10px; }
  .product-card-foot form .btn { width: 100%; }
  .product-card-body { padding: 12px; }

  .product-price { font-size: 32px; }
  .footer-bottom { padding-left: var(--gutter); padding-right: var(--gutter); }
}

@media (max-width: 600px) {
  .utility-bar-tags span:nth-child(2) { display: none; }
  .manual-categories { grid-template-columns: repeat(6, 1fr); }
  .manual-categories > div { min-height: 56px; padding: 8px 4px; font-size: 10px; line-height: 1.2; hyphens: auto; }
  .manual-categories > div::before { display: none; }
  .tab-btn { padding: 12px 14px; }
}

@media (max-width: 340px) {
  :root { --gutter: 16px; }
  .site-logo { max-height: 34px; }
  .currency-switcher select { padding: 0 18px 0 8px; font-size: 12px; background-position: right 5px center; }
  .header-actions a, .header-actions a[aria-label="Cart"] { width: 32px; }
  .mobile-nav-toggle { width: 36px; height: 36px; margin-left: 2px; }
}

@media (max-width: 400px) {
  .manual-categories { grid-template-columns: 1fr; }
  .manual-categories > div { min-height: 52px; padding: 12px 14px; font-size: 14px; }
  .manual-categories > div::before { display: block; }
}

/* Desktop only: the cart button shows the word, not the icon (the reference
   design is text-only there); mobile keeps the icon since the label is hidden. */
@media (min-width: 781px) {
  .header-actions a[aria-label="Cart"] .fa-cart-shopping { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}