/*
Theme Name: Zion Furniture
Theme URI: https://zionfurniture.co.ke
Author: Zion Furniture
Author URI: https://zionfurniture.co.ke
Description: A modern, clean and professional WordPress theme for Zion Furniture — a custom furniture catalogue with cart, orders and inquiries, plus a fully branded wp-admin experience.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zion
Tags: furniture, shop, ecommerce, custom, modern, clean
*/

/* =========================================================
   ZION FURNITURE — DESIGN SYSTEM
   1.  Fonts
   2.  Tokens
   3.  Reset & base
   4.  Typography
   5.  Layout primitives
   6.  Buttons
   7.  Forms
   8.  Badges & pills
   9.  Header / navigation
   10. Hero
   11. Product cards & grids
   12. Home sections
   13. Archive / filters
   14. Single product
   15. Cart
   16. Checkout
   17. Order received
   18. Inquiry & contact
   19. Blog & pages
   20. Footer
   21. Utilities & motion
   22. Responsive
   ========================================================= */

/* ===== 1. FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Anton&display=swap');

/* ===== 2. TOKENS =====
   Palette sampled directly from the Zion Furniture signage:
   #231F20 rich black, #FFF200 process yellow, #01FF2F green, white.

   Contrast rules that follow from it:
   - #FFF200 on white is ~1.1:1, so yellow is a SURFACE, never body text.
     Yellow panels and buttons carry --ink text (13.7:1).
   - Where the accent must be text on a light ground, use --accent-ink
     (#7A7400, 4.9:1) — the accessible darkening of the brand yellow.
   - The logo's white strokes need a dark ground, so the header, hero
     and footer all sit on --ink.
   ===== */
:root {
  /* Brand */
  --ink:          #231F20;
  --ink-2:        #2E2A2B;
  --ink-3:        #3D3739;
  --ink-soft:     #45403F;
  --muted:        #6F686A;
  --muted-2:      #7D7678;
  --line:         #E6E3E1;
  --line-2:       #D4D0CD;
  --white:        #ffffff;
  --bone:         #FAFAF9;
  --sand:         #F2F1EF;
  --sand-2:       #E8E6E3;

  --accent:       #FFF200;
  --accent-deep:  #E6DA00;
  --accent-ink:   #7A7400;
  --accent-soft:  #FFF87A;
  --accent-tint:  #FFFCCC;

  --green:        #01FF2F;
  --green-deep:   #00D927;
  --green-ink:    #0A7F23;
  --green-tint:   #E4FFE9;

  /* On-dark surfaces */
  --on-dark:      rgba(255,255,255,.76);
  --on-dark-2:    rgba(255,255,255,.56);
  --on-dark-line: rgba(255,255,255,.12);

  --success:      #0A7F23;
  --success-tint: #E4FFE9;
  --warning:      #8A6D00;
  --warning-tint: #FFF6D6;
  --danger:       #B3231F;
  --danger-tint:  #FDECEB;
  --info:         #1F5E8C;
  --info-tint:    #EAF3F9;

  /* Typography */
  --font-display: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-body:    'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-brand:   'Anton', 'Archivo', Impact, sans-serif;

  --fs-xs:   0.75rem;
  --fs-sm:   0.8125rem;
  --fs-base: 0.9375rem;
  --fs-md:   1.0625rem;
  --fs-lg:   1.25rem;
  --fs-xl:   1.5rem;
  --fs-2xl:  2rem;
  --fs-3xl:  2.75rem;
  --fs-4xl:  3.5rem;
  --fs-5xl:  4.5rem;

  /* Spacing */
  --sp-1: 4px;   --sp-2: 8px;   --sp-3: 12px;  --sp-4: 16px;
  --sp-5: 24px;  --sp-6: 32px;  --sp-7: 48px;  --sp-8: 64px;
  --sp-9: 96px;  --sp-10: 128px;

  /* Shape */
  --r-sm: 6px;  --r-md: 10px;  --r-lg: 16px;  --r-xl: 24px;  --r-full: 999px;

  /* Elevation */
  --sh-xs: 0 1px 2px rgba(35,31,32,.05);
  --sh-sm: 0 2px 8px rgba(35,31,32,.07);
  --sh-md: 0 8px 24px rgba(35,31,32,.09);
  --sh-lg: 0 18px 48px rgba(35,31,32,.13);
  --sh-xl: 0 32px 72px rgba(35,31,32,.18);

  /* Motion */
  --ease: cubic-bezier(.2,.7,.3,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --dur: .28s;

  --container: 1280px;
  --container-narrow: 860px;
  --header-h: 78px;
}

/* ===== 3. RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.zion-no-scroll { overflow: hidden; }

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

a { color: var(--ink); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--accent-ink); }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }

hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-6) 0; }

::selection { background: var(--accent); color: var(--ink); }

/* Two-tone ring so focus is visible on both light and dark grounds —
   yellow alone is only 1.1:1 against white. */
:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--ink), 0 0 0 5px var(--accent);
  border-radius: 3px;
}
.section--ink :focus-visible, .site-header :focus-visible, .site-footer :focus-visible,
.hero :focus-visible, .cta-band :focus-visible {
  box-shadow: 0 0 0 2px var(--accent), 0 0 0 5px rgba(35,31,32,.9);
}

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ===== 4. TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 var(--sp-4);
}
h1 { font-size: clamp(2.25rem, 5vw, var(--fs-4xl)); }
h2 { font-size: clamp(1.75rem, 3.6vw, var(--fs-3xl)); }
h3 { font-size: clamp(1.35rem, 2.4vw, var(--fs-2xl)); }
h4 { font-size: var(--fs-xl); }
h5 { font-size: var(--fs-lg); }
h6 { font-size: var(--fs-md); }

p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }

strong, b { font-weight: 700; color: var(--ink); }
small { font-size: var(--fs-sm); }

blockquote {
  margin: var(--sp-6) 0; padding: var(--sp-5) var(--sp-6);
  border-left: 3px solid var(--accent); background: var(--sand);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-family: var(--font-body); font-size: var(--fs-lg); color: var(--ink);
}
blockquote cite { display: block; margin-top: var(--sp-3); font: 600 var(--fs-sm)/1.5 var(--font-body); font-style: normal; color: var(--muted); }

code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .875em; }
code { background: var(--sand); padding: 2px 6px; border-radius: 4px; color: var(--ink); }
pre { background: var(--ink); color: #e9e4dd; padding: var(--sp-5); border-radius: var(--r-md); overflow-x: auto; }
pre code { background: none; color: inherit; padding: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: var(--sp-3);
}
.eyebrow::before { content: ''; width: 24px; height: 1px; background: currentColor; }
.eyebrow.is-centered { justify-content: center; }
.eyebrow.is-centered::after { content: ''; width: 24px; height: 1px; background: currentColor; }
/* On dark grounds the accent is legible as text, so the eyebrow can use it. */
.eyebrow--on-dark, .section--ink .eyebrow, .cta-band .eyebrow, .hero .eyebrow { color: var(--accent); }

.lede { font-size: var(--fs-md); color: var(--muted); line-height: 1.75; }

.section-head { max-width: 620px; margin-bottom: var(--sp-7); }
.section-head.is-centered { margin-inline: auto; text-align: center; }
.section-head h2 { margin-bottom: var(--sp-3); }

/* ===== 5. LAYOUT PRIMITIVES ===== */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--sp-5); }
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: clamp(var(--sp-8), 9vw, var(--sp-9)); }
.section--tight { padding-block: var(--sp-8); }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); color: var(--on-dark); }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.section--ink .lede { color: var(--on-dark-2); }

.grid { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.stack > * + * { margin-top: var(--sp-4); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }

/* ===== 6. BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  padding: 14px 28px; border-radius: var(--r-full);
  font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer; text-align: center;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; transform: none; }

.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--accent); color: var(--ink); box-shadow: var(--sh-md); }

.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--accent-deep); color: var(--ink); box-shadow: var(--sh-md); }

.btn--outline { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--outline:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

.btn--ghost { color: var(--ink); background: var(--white); border-color: var(--line); box-shadow: var(--sh-xs); }
.btn--ghost:hover { color: var(--ink); border-color: var(--ink); box-shadow: var(--sh-sm); }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--accent); color: var(--ink); }

.btn--on-dark { border-color: rgba(255,255,255,.3); color: var(--white); }
.btn--on-dark:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }

.btn--sm { padding: 10px 20px; font-size: var(--fs-xs); }
.btn--lg { padding: 17px 38px; font-size: var(--fs-base); }
.btn--block { display: flex; width: 100%; }

.btn .btn-ico { width: 16px; height: 16px; flex: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: var(--fs-sm); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink);
}
.link-arrow span { transition: transform var(--dur) var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }

/* ===== 7. FORMS ===== */
.field { margin-bottom: var(--sp-4); }
.field label, .form-label {
  display: block; margin-bottom: var(--sp-2);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
}
.field .req { color: var(--danger); }
.field-hint { display: block; margin-top: 6px; font-size: var(--fs-xs); color: var(--muted-2); }

input[type=text], input[type=email], input[type=tel], input[type=url], input[type=number],
input[type=search], input[type=password], input[type=date], select, textarea {
  width: 100%; padding: 13px 16px;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--line-2); border-radius: var(--r-md);
  font-size: var(--fs-base); line-height: 1.5;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  appearance: none;
}
textarea { min-height: 140px; resize: vertical; }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%236f686a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px;
  padding-right: 42px; cursor: pointer;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255,242,0,.55);
}
input::placeholder, textarea::placeholder { color: var(--muted-2); }
input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--danger); }

.checkbox, .radio { display: flex; align-items: flex-start; gap: var(--sp-3); cursor: pointer; }
.checkbox input, .radio input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); flex: none; cursor: pointer; }
.checkbox span, .radio span { font-size: var(--fs-sm); color: var(--ink-soft); text-transform: none; letter-spacing: 0; font-weight: 400; }

.form-row { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; gap: var(--sp-4); } }

.form-notice {
  padding: var(--sp-4) var(--sp-5); border-radius: var(--r-md);
  font-size: var(--fs-sm); margin-bottom: var(--sp-5); border: 1px solid transparent;
}
.form-notice--ok    { background: var(--success-tint); border-color: #bdf0c8; color: var(--green-ink); }
.form-notice--error { background: var(--danger-tint);  border-color: #f3cdcb; color: var(--danger); }
.form-notice--info  { background: var(--info-tint);    border-color: #cfe0ed; color: var(--info); }
.form-notice ul { margin: var(--sp-2) 0 0; padding-left: var(--sp-5); }

/* Quantity stepper */
.qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line-2); border-radius: var(--r-full); background: var(--white); overflow: hidden;
}
.qty button {
  width: 38px; height: 42px; display: grid; place-items: center;
  font-size: var(--fs-md); color: var(--muted); transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.qty button:hover { color: var(--ink); background: var(--sand); }
.qty input {
  width: 46px; height: 42px; padding: 0; text-align: center;
  border: 0; border-radius: 0; background: transparent;
  font-weight: 700; font-size: var(--fs-base); color: var(--ink);
  -moz-appearance: textfield;
}
.qty input:focus { box-shadow: none; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ===== 8. BADGES & PILLS ===== */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: var(--r-full);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .07em; text-transform: uppercase; line-height: 1.4;
}
.badge--accent    { background: var(--accent); color: var(--ink); }
.badge--ink     { background: var(--ink); color: #fff; }
.badge--sale    { background: var(--danger); color: #fff; }
.badge--new     { background: var(--green); color: var(--ink); }
.badge--soft    { background: var(--sand-2); color: var(--ink-soft); }
.badge--ok      { background: var(--success-tint); color: var(--green-ink); }
.badge--warn    { background: var(--warning-tint); color: var(--warning); }
.badge--danger  { background: var(--danger-tint); color: var(--danger); }
.badge--info    { background: var(--info-tint); color: var(--info); }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; border-radius: var(--r-full);
  border: 1px solid var(--line-2); background: var(--white);
  font-size: var(--fs-sm); font-weight: 600; color: var(--ink-soft);
  transition: all var(--dur) var(--ease); white-space: nowrap;
}
.pill:hover { border-color: var(--ink); color: var(--ink); }
.pill.is-active { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.pill .count { opacity: .55; font-weight: 500; }

/* ===== 9. HEADER / NAVIGATION =====
   The logo's house outline and sofa arms are white, so the header, hero and
   footer all sit on --ink. The announcement strip above is the yellow.
   ===== */
.topbar {
  background: var(--accent); color: var(--ink);
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .02em;
}
.topbar .container { display: flex; align-items: center; justify-content: center; gap: var(--sp-4); min-height: 40px; text-align: center; }
.topbar a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.topbar a:hover { color: var(--ink); text-decoration-thickness: 2px; }
.topbar-msg { display: flex; align-items: center; gap: var(--sp-2); }
.topbar-msg svg { flex: none; }
.topbar-links { display: none; align-items: center; gap: var(--sp-5); }
@media (min-width: 900px) {
  .topbar .container { justify-content: space-between; text-align: left; }
  .topbar-links { display: flex; }
}

.site-header {
  position: sticky; top: 0; z-index: 300;
  background: rgba(35,31,32,.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--on-dark-line);
  transition: box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.site-header.is-stuck { background: rgba(35,31,32,.98); box-shadow: 0 6px 24px rgba(0,0,0,.28); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: var(--sp-3); flex: none; }
.brand img { max-height: 50px; width: auto; display: block; }
/* Box matches the mark's own ~1.6:1 aspect so it isn't letterboxed. */
.brand-mark { width: 58px; height: 36px; flex: none; display: block; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-brand); font-size: 1.4rem; font-weight: 400;
  color: var(--accent); letter-spacing: .01em; text-transform: uppercase;
}
.brand-tag { margin-top: 4px; font-size: 9px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--on-dark-2); }

.primary-nav { display: none; }
.primary-nav > ul { display: flex; align-items: center; gap: var(--sp-1); list-style: none; margin: 0; padding: 0; }
.primary-nav li { position: relative; }
.primary-nav a {
  display: flex; align-items: center; gap: 5px; padding: 10px 15px; border-radius: var(--r-full);
  font-size: var(--fs-sm); font-weight: 600; color: var(--on-dark);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current_page_item > a,
.primary-nav .current-menu-ancestor > a { color: var(--accent); background: rgba(255,255,255,.07); }
.primary-nav .menu-item-has-children > a::after {
  content: ''; width: 8px; height: 8px; margin-left: 2px;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px); opacity: .55;
}
.primary-nav .sub-menu {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 10;
  min-width: 230px; padding: var(--sp-2); margin: 0; list-style: none;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.primary-nav .sub-menu a { border-radius: var(--r-sm); padding: 10px 14px; font-weight: 500; color: var(--ink-soft); }
.primary-nav .sub-menu a:hover { color: var(--ink); background: var(--accent); }
.primary-nav .sub-menu .sub-menu { top: 0; left: calc(100% + 6px); }

/* Category mega panel.
   Renders as a plain nested list in the mobile drawer and becomes a
   full-width multi-column panel once there is a navigation bar. */
.sub-menu--mega .mega-col-title {
  font-weight: 800; letter-spacing: .02em;
}
.sub-menu--mega .count { font-size: var(--fs-xs); opacity: .5; font-weight: 500; }
.mega-all { font-weight: 800; }

@media (min-width: 1024px) {
  /* Static so the panel resolves against the header, not the item. */
  .primary-nav .has-mega { position: static; }

  .primary-nav .sub-menu--mega {
    left: 0; right: 0; width: auto; min-width: 0;
    padding: var(--sp-6) max(var(--sp-5), calc((100vw - var(--container)) / 2 + var(--sp-5)));
    border-radius: 0 0 var(--r-lg) var(--r-lg);
    border-left: 0; border-right: 0;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: var(--sp-5) var(--sp-6);
    top: calc(100% + 1px);
  }
  .primary-nav .sub-menu--mega > .mega-col { break-inside: avoid; }
  .primary-nav .sub-menu--mega .mega-col-title {
    display: block; padding: 0 0 var(--sp-2);
    font-size: var(--fs-sm); color: var(--ink);
    border-bottom: 2px solid var(--accent); margin-bottom: var(--sp-3);
    border-radius: 0;
  }
  .primary-nav .sub-menu--mega .mega-col-title:hover { background: none; color: var(--accent-ink); }
  .primary-nav .sub-menu--mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
  .primary-nav .sub-menu--mega ul a {
    display: flex; justify-content: space-between; gap: var(--sp-3);
    padding: 7px 10px; margin-inline: -10px; font-size: var(--fs-sm); font-weight: 500; color: var(--muted);
  }
  .primary-nav .sub-menu--mega ul a:hover { background: var(--accent); color: var(--ink); }

  .mega-col--all { display: flex; align-items: flex-end; }
  .primary-nav .mega-all {
    display: inline-flex; align-items: center; gap: var(--sp-2);
    padding: 11px 18px; border-radius: var(--r-full);
    background: var(--ink); color: var(--white); font-size: var(--fs-xs);
    text-transform: uppercase; letter-spacing: .05em;
  }
  .primary-nav .mega-all:hover { background: var(--accent); color: var(--ink); }
}

.header-actions { display: flex; align-items: center; gap: var(--sp-2); flex: none; }
.icon-btn {
  position: relative; width: 42px; height: 42px; border-radius: var(--r-full);
  display: grid; place-items: center; color: var(--on-dark);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.icon-btn:hover { background: rgba(255,255,255,.09); color: var(--accent); }
.icon-btn svg { width: 20px; height: 20px; }

/* Drawers sit on light grounds, so their close buttons flip back to ink. */
.mini-cart .icon-btn, .mobile-nav .icon-btn, .inquiry-modal .icon-btn, .filters .icon-btn { color: var(--ink-soft); }
.mini-cart .icon-btn:hover, .mobile-nav .icon-btn:hover,
.inquiry-modal .icon-btn:hover, .filters .icon-btn:hover { background: var(--sand); color: var(--ink); }

.cart-count {
  position: absolute; top: 2px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px;
  background: var(--accent); color: var(--ink); border-radius: var(--r-full);
  font-size: 10.5px; font-weight: 800; line-height: 19px; text-align: center;
  border: 2px solid var(--ink);
}
.cart-count[data-count="0"] { display: none; }
.cart-count.is-bumped { animation: zion-bump .4s var(--ease); }
@keyframes zion-bump { 0%,100% { transform: scale(1); } 40% { transform: scale(1.35); } }

.nav-toggle { display: block; width: 44px; height: 44px; border-radius: var(--r-full); }
.header-actions > .btn { display: none; }

@media (min-width: 1024px) {
  .primary-nav { display: block; }
  .nav-toggle { display: none; }
  .header-actions > .btn { display: inline-flex; }
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--white); margin: 4.5px auto; border-radius: 2px; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Search overlay */
.search-overlay {
  position: fixed; inset: 0; z-index: 400; background: rgba(35,31,32,.6);
  backdrop-filter: blur(6px); display: grid; place-items: start center; padding-top: 14vh;
  opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease), visibility var(--dur);
}
.search-overlay.is-open { opacity: 1; visibility: visible; }
.search-overlay-inner { width: min(680px, 92vw); }
.search-overlay form { display: flex; gap: var(--sp-2); }
.search-overlay input[type=search] { height: 58px; font-size: var(--fs-md); border-radius: var(--r-full); padding-inline: 24px; border-color: transparent; }
.search-overlay .btn { flex: none; }
.search-overlay-hint { margin-top: var(--sp-3); color: rgba(255,255,255,.7); font-size: var(--fs-sm); text-align: center; }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 0 0 0 auto; width: min(380px, 86vw); z-index: 450;
  background: var(--bone); box-shadow: var(--sh-xl);
  transform: translateX(100%); transition: transform var(--dur) var(--ease-out);
  display: flex; flex-direction: column; overflow-y: auto;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--sp-4) var(--sp-5); border-bottom: 1px solid var(--line); background: var(--ink);
}
.mobile-nav-head .brand-name { font-size: 1.15rem; }
.mobile-nav-head .icon-btn { color: var(--on-dark); }
.mobile-nav-head .icon-btn:hover { background: rgba(255,255,255,.09); color: var(--accent); }
.mobile-nav-body { padding: var(--sp-5); flex: 1; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav > .mobile-nav-body > ul > li { border-bottom: 1px solid var(--line); }
.mobile-nav a { display: block; padding: 14px 0; font-size: var(--fs-md); font-weight: 700; color: var(--ink); }
.mobile-nav a:hover { color: var(--accent-ink); }
.mobile-nav .sub-menu { padding-left: var(--sp-4); padding-bottom: var(--sp-2); }
.mobile-nav .sub-menu a { font-size: var(--fs-base); font-weight: 500; color: var(--muted); padding: 9px 0; }
.mobile-nav-foot { padding: var(--sp-5); border-top: 1px solid var(--line); display: grid; gap: var(--sp-3); }
.scrim {
  position: fixed; inset: 0; z-index: 440; background: rgba(35,31,32,.55);
  opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease), visibility var(--dur);
}
.scrim.is-open { opacity: 1; visibility: visible; }

/* ===== 10. HERO =====
   Built to read like the shop's own backlit sign: condensed type at poster
   scale on black, one line reversed out on a yellow slab, a scrolling ticker
   as the baseline, and a rail of real stock in strict square crops.

   Deliberately carries no hero photograph — the type and the live product rail
   do the work, so the page looks finished before any photography exists, and
   square crops keep inconsistent phone pictures looking deliberate.
   ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--on-dark);
  isolation: isolate;
}

/* Backlight: two soft pools in the sign's own yellow and green. */
.hero::before,
.hero::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.hero::before {
  width: min(150vw, 900px); aspect-ratio: 1;
  top: -55%; left: 50%; translate: -50% 0;
  background: radial-gradient(circle, rgba(255,242,0,.13), transparent 64%);
}
.hero::after {
  width: min(90vw, 560px); aspect-ratio: 1;
  bottom: -22%; right: -22%;
  background: radial-gradient(circle, rgba(1,255,47,.09), transparent 70%);
}

.hero-inner { position: relative; z-index: 1; padding-block: var(--sp-8) var(--sp-7); }

.hero-kicker {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  margin: 0 0 var(--sp-5);
  font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-2);
}
.hero-kicker-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none;
  box-shadow: 0 0 0 3px rgba(1,255,47,.16);
}

/* The poster. Anton is the closest free match to the signage lettering. */
.hero-title {
  font-family: var(--font-brand);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 13vw, 8rem);
  line-height: .88;
  letter-spacing: -0.005em;
  color: var(--white);
  margin: 0 0 var(--sp-5);
  text-wrap: balance;
}
/* The highlighted line is a yellow slab, never yellow text. */
.hero-title em {
  font-style: normal;
  display: inline-block;
  background: var(--accent);
  color: var(--ink);
  padding: .04em .16em .09em;
  margin-top: .06em;
  border-radius: 3px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero-lede {
  font-size: var(--fs-base); line-height: 1.7; color: var(--on-dark);
  max-width: 44ch; margin: 0 0 var(--sp-6); text-wrap: pretty;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-7); }
.hero-actions .btn { flex: 1 1 auto; }

.hero-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3);
  padding-top: var(--sp-5); border-top: 1px solid var(--on-dark-line);
}
.hero-meta-label {
  font-size: var(--fs-xs); font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--on-dark-2); margin: 0 var(--sp-2) 0 0;
}
.hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); }
.hero-links a {
  padding: 8px 15px; border-radius: var(--r-full);
  border: 1px solid var(--on-dark-line); background: rgba(255,255,255,.04);
  font-size: var(--fs-sm); font-weight: 600; color: var(--on-dark);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.hero-links a:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.hero-links a.is-all { background: transparent; border-color: var(--accent); color: var(--accent); }
.hero-links a.is-all:hover { background: var(--accent); color: var(--ink); }

/* Product rail */
.hero-rail { position: relative; z-index: 1; padding-bottom: var(--sp-7); }
.hero-rail-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-4); margin-bottom: var(--sp-4); }
.hero-rail-title, .hero-rail-link {
  margin: 0; font-size: var(--fs-xs); font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-2);
}
.hero-rail-link { color: var(--accent); white-space: nowrap; }
.hero-rail-link:hover { color: var(--white); }
.hero-rail-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 44%;
  gap: var(--sp-3);
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
  margin-inline: calc(-1 * var(--sp-5)); padding-inline: var(--sp-5); padding-bottom: 2px;
}
.hero-rail-track::-webkit-scrollbar { display: none; }

/* A scroll rail needs things to scroll. With one or two pieces in the
   catalogue, lay them out as ordinary cards instead of a lonely 44% column. */
.hero-rail-track--sparse {
  grid-auto-flow: row;
  grid-template-columns: repeat(auto-fill, minmax(148px, 190px));
  overflow: visible; scroll-snap-type: none;
  margin-inline: 0; padding-inline: 0;
}

.rail-card { scroll-snap-align: start; display: block; min-width: 0; }
.rail-card-media {
  display: block; position: relative; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden;
  background: var(--ink-2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.09);
  margin-bottom: var(--sp-3);
  transition: box-shadow var(--dur) var(--ease);
}
.rail-card:hover .rail-card-media { box-shadow: inset 0 0 0 1px rgba(255,242,0,.45); }
.rail-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.rail-card:hover .rail-card-media img { transform: scale(1.05); }
.rail-card-media .ph { display: grid; place-items: center; height: 100%; color: rgba(255,255,255,.16); }
.rail-card-flag {
  position: absolute; top: 8px; left: 8px;
  background: var(--accent); color: var(--ink);
  font-size: 9.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 8px; border-radius: var(--r-full);
}
.rail-card-cat {
  display: block; font-size: 10px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 4px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rail-card-name {
  display: block; font-size: var(--fs-sm); font-weight: 700; color: var(--white);
  line-height: 1.35; margin-bottom: 4px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rail-card:hover .rail-card-name { color: var(--accent); }
.rail-card-price { display: block; font-size: var(--fs-sm); font-weight: 700; color: var(--accent); }
.rail-card-price.is-quote { font-weight: 600; color: var(--on-dark-2); }

/* Ticker — the lit band along the bottom of the sign. */
.hero-ticker {
  position: relative; z-index: 1;
  background: var(--accent); color: var(--ink);
  overflow: hidden; border-block: 1px solid rgba(35,31,32,.18);
}
.hero-ticker-track { display: flex; width: max-content; animation: zion-ticker 38s linear infinite; }
.hero-ticker-group { display: flex; flex: none; }
.hero-ticker-item {
  display: inline-flex; align-items: center; gap: var(--sp-4);
  padding: 11px var(--sp-4);
  font-size: var(--fs-xs); font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
}
.hero-ticker-item::after { content: '\2726'; font-size: 11px; opacity: .45; letter-spacing: 0; }

@keyframes zion-ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.hero-ticker:hover .hero-ticker-track { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .hero-ticker-track { animation: none; width: 100%; justify-content: center; }
  .hero-ticker-group + .hero-ticker-group { display: none; }
}

@media (min-width: 640px) {
  .hero-lede { font-size: var(--fs-md); }
  .hero-actions .btn { flex: 0 0 auto; }
  .hero-rail-track { grid-auto-columns: 30%; gap: var(--sp-4); }
}

@media (min-width: 900px) {
  .hero-inner { padding-block: var(--sp-9) var(--sp-7); }
  .hero-meta { grid-template-columns: auto 1fr; align-items: center; gap: var(--sp-7); }
  .hero-links { justify-content: flex-end; }
  .hero-rail-track { grid-auto-columns: 22%; }
}

@media (min-width: 1200px) {
  .hero-title { font-size: clamp(5rem, 8.5vw, 8.5rem); }
  .hero-lede { font-size: var(--fs-lg); max-width: 48ch; }
  .hero-rail-track {
    grid-auto-flow: row; grid-template-columns: repeat(5, 1fr);
    overflow: visible; margin-inline: 0; padding-inline: 0;
  }
}

/* ===== 11. PRODUCT CARDS & GRIDS ===== */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--sp-5) var(--sp-3); }
@media (min-width: 640px) {
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--sp-5) var(--sp-4); }
}
@media (min-width: 1024px) {
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .product-grid--3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
}

.product-card { position: relative; display: flex; flex-direction: column; }
.product-card-media {
  position: relative; display: block; aspect-ratio: 4/3.4; overflow: hidden;
  border-radius: var(--r-lg); background: var(--sand); margin-bottom: var(--sp-4);
}
.product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.product-card:hover .product-card-media img { transform: scale(1.05); }
.product-card-media .ph {
  width: 100%; height: 100%; display: grid; place-items: center; color: var(--muted-2);
  background: repeating-linear-gradient(45deg, var(--sand), var(--sand) 10px, var(--sand-2) 10px, var(--sand-2) 20px);
}
.product-card-media .ph svg { width: 40px; height: 40px; opacity: .5; }

.product-card-flags { position: absolute; top: var(--sp-3); left: var(--sp-3); z-index: 2; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.product-card-tools { position: absolute; top: var(--sp-3); right: var(--sp-3); z-index: 2; display: flex; flex-direction: column; gap: 6px; }
@media (hover: hover) {
  .product-card-tools { opacity: 0; transform: translateX(8px); transition: all var(--dur) var(--ease); }
}
.product-card:hover .product-card-tools, .product-card:focus-within .product-card-tools { opacity: 1; transform: translateX(0); }
.tool-btn {
  width: 36px; height: 36px; border-radius: var(--r-full); display: grid; place-items: center;
  background: rgba(255,255,255,.94); color: var(--ink-soft); box-shadow: var(--sh-sm);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.tool-btn:hover { background: var(--ink); color: #fff; }
.tool-btn svg { width: 17px; height: 17px; }
.tool-btn.is-active { background: var(--accent); color: var(--ink); }

.product-card-quick {
  position: absolute; left: var(--sp-3); right: var(--sp-3); bottom: var(--sp-3); z-index: 2;
}
@media (hover: hover) {
  .product-card-quick { opacity: 0; transform: translateY(10px); transition: all var(--dur) var(--ease); }
}
.product-card:hover .product-card-quick, .product-card:focus-within .product-card-quick { opacity: 1; transform: translateY(0); }
.product-card-quick .btn { width: 100%; background: var(--white); color: var(--ink); box-shadow: var(--sh-md); }
.product-card-quick .btn:hover { background: var(--ink); color: #fff; }

.product-card-cat { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 6px; }
.product-card-title { font-size: var(--fs-md); font-weight: 600; line-height: 1.35; margin: 0 0 var(--sp-2); letter-spacing: -0.01em; }
.product-card-title a { color: var(--ink); }
.product-card-title a:hover { color: var(--accent-ink); }
/* At phone widths a card is ~150px across — far too narrow to sit a price and
   a stock label side by side without both wrapping mid-phrase. */
.product-card-foot { display: grid; gap: 3px; margin-top: auto; padding-top: var(--sp-2); }
@media (min-width: 640px) {
  .product-card-foot {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: var(--sp-3); flex-wrap: wrap;
  }
}
.product-card-price {
  font-family: var(--font-display); font-size: var(--fs-md); font-weight: 700;
  color: var(--ink); letter-spacing: -0.02em; line-height: 1.25; text-wrap: balance;
}
@media (min-width: 640px) { .product-card-price { font-size: var(--fs-lg); } }
.product-card-price del { font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 500; color: var(--muted-2); margin-right: 7px; }
.product-card-stock { font-size: var(--fs-xs); font-weight: 600; color: var(--green-ink); line-height: 1.4; }
.product-card-stock.is-out { color: var(--danger); }
.product-card-stock.is-low { color: var(--warning); }

.rating { display: inline-flex; align-items: center; gap: 2px; }
.rating svg { width: 13px; height: 13px; color: var(--accent-ink); }
.rating .rating-count { margin-left: 5px; font-size: var(--fs-xs); color: var(--muted-2); }

/* ===== 12. HOME SECTIONS ===== */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
@media (min-width: 900px) { .cat-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: var(--sp-4); } }
.cat-card {
  position: relative; display: block; aspect-ratio: 3/3.6; overflow: hidden;
  border-radius: var(--r-lg); background: var(--sand-2);
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.cat-card:hover img { transform: scale(1.06); }
.cat-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(28,25,23,.78) 0%, rgba(28,25,23,.12) 52%, transparent 100%); }
.cat-card-body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: var(--sp-5); color: #fff; }
.cat-card-name { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 600; color: #fff; margin: 0 0 3px; letter-spacing: -0.01em; }
.cat-card-count { font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.72); }
@media (min-width: 900px) { .cat-card--wide { aspect-ratio: 16/9; grid-column: span 2; } }

.feature-strip { display: grid; grid-template-columns: 1fr; gap: var(--sp-5); }
@media (min-width: 600px) { .feature-strip { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-strip { grid-template-columns: repeat(4, 1fr); } }
.feature-item { display: flex; gap: var(--sp-4); align-items: flex-start; }
.feature-ico { width: 46px; height: 46px; border-radius: 13px; flex: none; display: grid; place-items: center; background: var(--accent); color: var(--ink); }
.feature-ico svg { width: 22px; height: 22px; }
.feature-title { font-family: var(--font-body); font-size: var(--fs-base); font-weight: 700; color: var(--ink); margin: 0 0 4px; letter-spacing: 0; }
.feature-text { font-size: var(--fs-sm); color: var(--muted); margin: 0; line-height: 1.6; }

.split { display: grid; grid-template-columns: 1fr; gap: var(--sp-6); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: clamp(var(--sp-6), 6vw, var(--sp-9)); }
  .split--reverse .split-media { order: 2; }
}
.split-media { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 5/4; background: var(--sand-2); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-badge {
  position: absolute; bottom: var(--sp-5); left: var(--sp-5); z-index: 2;
  background: var(--white); border-radius: var(--r-lg); padding: var(--sp-4) var(--sp-5); box-shadow: var(--sh-md); text-align: center;
}
.split-badge-num { font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: 800; color: var(--ink); line-height: 1; }
.split-badge-label { font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.check-list { list-style: none; margin: var(--sp-5) 0 0; padding: 0; display: grid; gap: var(--sp-3); }
.check-list li { display: flex; gap: var(--sp-3); align-items: flex-start; font-size: var(--fs-base); }
.check-list li::before {
  content: ''; width: 20px; height: 20px; flex: none; margin-top: 3px; border-radius: var(--r-full);
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3 7.4 5.7 10 11 4.4' stroke='%23231f20' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

.testimonial-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-5); }
@media (min-width: 768px) { .testimonial-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); } }
.testimonial {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-4);
}
.testimonial-quote { font-family: var(--font-display); font-size: var(--fs-md); line-height: 1.65; color: var(--ink); font-style: italic; }
.testimonial-person { display: flex; align-items: center; gap: var(--sp-3); margin-top: auto; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: var(--r-full); object-fit: cover; background: var(--sand-2); flex: none; }
.testimonial-name { font-size: var(--fs-sm); font-weight: 700; color: var(--ink); }
.testimonial-role { font-size: var(--fs-xs); color: var(--muted-2); }

.cta-band { position: relative; overflow: hidden; background: var(--ink); border-radius: var(--r-xl); padding: clamp(var(--sp-7), 6vw, var(--sp-9)) var(--sp-6); text-align: center; }
.cta-band::before {
  content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,242,0,.22), transparent 68%);
  top: -220px; right: -140px; pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; max-width: 18ch; margin-inline: auto; }
.cta-band p { color: var(--on-dark-2); max-width: 52ch; margin-inline: auto; }

/* ===== 13. ARCHIVE / FILTERS ===== */
.page-hero { background: var(--sand); padding-block: var(--sp-6) var(--sp-5); border-bottom: 3px solid var(--accent); }
@media (min-width: 900px) { .page-hero { padding-block: var(--sp-8) var(--sp-7); } }
.page-hero h1 { margin-bottom: var(--sp-3); }
.page-hero .lede { max-width: 62ch; }

.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: var(--fs-xs); color: var(--muted); margin-bottom: var(--sp-4); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent-ink); }
.breadcrumbs .sep { opacity: .45; }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 600; }

.shop-layout { display: grid; grid-template-columns: 1fr; gap: var(--sp-6); align-items: start; }

/* A drawer by default; a sticky rail once the viewport can hold one. */
.filters {
  position: fixed; inset: 0 auto 0 0; width: min(340px, 88vw); z-index: 450;
  display: grid; gap: var(--sp-4); align-content: start;
  background: var(--bone); padding: var(--sp-5); overflow-y: auto; box-shadow: var(--sh-xl);
  transform: translateX(-100%); transition: transform var(--dur) var(--ease-out);
}
.filters.is-open { transform: none; }
.filter-toggle { display: inline-flex; }

@media (min-width: 1100px) {
  .shop-layout { grid-template-columns: 264px 1fr; gap: var(--sp-7); }
  .filters {
    position: sticky; inset: auto; top: calc(var(--header-h) + 20px);
    width: auto; transform: none; background: none; padding: 0;
    box-shadow: none; overflow: visible; gap: var(--sp-5);
  }
  .filter-toggle { display: none; }
}
.filter-group { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); padding: var(--sp-5); }
.filter-title {
  display: flex; align-items: center; justify-content: space-between;
  font-size: var(--fs-xs); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
  margin: 0 0 var(--sp-4); font-family: var(--font-body);
}
.filter-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.filter-list a {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  padding: 8px 10px; margin-inline: -10px; border-radius: var(--r-sm);
  font-size: var(--fs-sm); color: var(--ink-soft);
}
.filter-list a:hover { background: var(--sand); color: var(--ink); }
.filter-list .is-active a { background: var(--accent); color: var(--ink); font-weight: 700; }
.filter-list .is-active a .count { color: rgba(35,31,32,.6); }
.filter-list .count { font-size: var(--fs-xs); color: var(--muted-2); }
.filter-list .children { list-style: none; margin: 2px 0 2px var(--sp-4); padding: 0; display: grid; gap: 2px; }

.price-range { display: flex; align-items: center; gap: var(--sp-2); }
.price-range input { padding: 10px 12px; font-size: var(--fs-sm); }
.price-range span { color: var(--muted-2); }

.shop-toolbar {
  display: grid; gap: var(--sp-3);
  padding-bottom: var(--sp-5); margin-bottom: var(--sp-6); border-bottom: 1px solid var(--line);
}
.shop-count { font-size: var(--fs-sm); color: var(--muted); margin: 0; }
.shop-count strong { color: var(--ink); }

/* The filter button keeps its width; the select takes whatever is left, so the
   row can never be wider than the screen. */
.shop-toolbar-right { display: flex; align-items: center; gap: var(--sp-2); min-width: 0; }
.shop-toolbar .filter-toggle { flex: none; }
.shop-toolbar select {
  flex: 1 1 auto; width: 100%; min-width: 0;
  padding-block: 11px; font-size: var(--fs-sm);
}

@media (min-width: 720px) {
  .shop-toolbar { grid-template-columns: 1fr auto; align-items: center; gap: var(--sp-4); }
  .shop-toolbar-right { gap: var(--sp-3); }
  .shop-toolbar select { flex: 0 0 auto; width: auto; min-width: 190px; }
}

.active-filters { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-5); }
.chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 8px 6px 13px; border-radius: var(--r-full);
  background: var(--sand-2); font-size: var(--fs-xs); font-weight: 600; color: var(--ink-soft);
}
.chip a { width: 17px; height: 17px; border-radius: var(--r-full); display: grid; place-items: center; background: rgba(28,25,23,.1); color: var(--ink); font-size: 11px; line-height: 1; }
.chip a:hover { background: var(--danger); color: var(--white); }

.pagination { display: flex; justify-content: center; gap: var(--sp-2); margin-top: var(--sp-8); }
.pagination .page-numbers {
  min-width: 42px; height: 42px; padding-inline: 12px; border-radius: var(--r-full);
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); font-size: var(--fs-sm); font-weight: 600; color: var(--ink-soft); background: var(--white);
}
.pagination .page-numbers:hover { border-color: var(--ink); color: var(--ink); }
.pagination .page-numbers.current { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.pagination .dots { border-color: transparent; background: none; }

.empty-state { text-align: center; padding: var(--sp-9) var(--sp-5); }
.empty-state-ico { width: 76px; height: 76px; margin: 0 auto var(--sp-5); border-radius: var(--r-full); background: var(--sand); color: var(--muted-2); display: grid; place-items: center; }
.empty-state-ico svg { width: 34px; height: 34px; }
.empty-state h3 { margin-bottom: var(--sp-2); }
.empty-state p { color: var(--muted); max-width: 42ch; margin-inline: auto; margin-bottom: var(--sp-5); }

/* ===== 14. SINGLE PRODUCT ===== */
.product-single { display: grid; grid-template-columns: 1fr; gap: var(--sp-6); align-items: start; }
@media (min-width: 1024px) {
  .product-single { grid-template-columns: 1.05fr 1fr; gap: clamp(var(--sp-6), 5vw, var(--sp-8)); }
}

.gallery { display: grid; gap: var(--sp-3); }
.gallery-main { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: var(--sand); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: var(--sp-2); }
.gallery-thumb {
  aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; background: var(--sand);
  border: 2px solid transparent; transition: border-color var(--dur) var(--ease); cursor: pointer;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.is-active { border-color: var(--accent); }
.gallery-zoom-hint { position: absolute; bottom: var(--sp-3); right: var(--sp-3); background: rgba(255,255,255,.92); border-radius: var(--r-full); padding: 6px 13px; font-size: var(--fs-xs); font-weight: 600; color: var(--ink-soft); }

.product-summary { position: static; }
@media (min-width: 1024px) { .product-summary { position: sticky; top: calc(var(--header-h) + 24px); } }
.product-summary h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom: var(--sp-3); }
.product-meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4); margin-bottom: var(--sp-4); }
.product-sku { font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.product-price { display: flex; align-items: baseline; gap: var(--sp-3); margin-bottom: var(--sp-4); }
.product-price-now { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 600; color: var(--ink); letter-spacing: -0.02em; line-height: 1; }
.product-price-was { font-size: var(--fs-md); color: var(--muted-2); text-decoration: line-through; }
.product-price-save { font-size: var(--fs-xs); font-weight: 700; color: var(--danger); background: var(--danger-tint); padding: 4px 10px; border-radius: var(--r-full); }
.product-excerpt { font-size: var(--fs-base); color: var(--muted); line-height: 1.75; margin-bottom: var(--sp-5); padding-bottom: var(--sp-5); border-bottom: 1px solid var(--line); }

.swatches { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-5); }
.swatch {
  min-width: 40px; height: 40px; padding-inline: 14px; border-radius: var(--r-full);
  border: 1px solid var(--line-2); background: var(--white);
  font-size: var(--fs-sm); font-weight: 600; color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 8px; transition: all var(--dur) var(--ease);
}
.swatch:hover { border-color: var(--ink); }
.swatch.is-active { border-color: var(--ink); background: var(--ink); color: var(--white); }
.swatch-dot { width: 16px; height: 16px; border-radius: var(--r-full); border: 1px solid rgba(0,0,0,.12); flex: none; }

.add-to-cart-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-5); }
.add-to-cart-row .btn { flex: 1 1 200px; }

.stock-line { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-sm); font-weight: 600; margin-bottom: var(--sp-5); }
.stock-dot { width: 8px; height: 8px; border-radius: var(--r-full); background: var(--green-ink); flex: none; }
.stock-line.is-out { color: var(--danger); }
.stock-line.is-out .stock-dot { background: var(--danger); }
.stock-line.is-low { color: var(--warning); }
.stock-line.is-low .stock-dot { background: var(--warning); }
.stock-line.is-in { color: var(--green-ink); }

.product-perks { display: grid; gap: var(--sp-3); padding: var(--sp-5); background: var(--sand); border-radius: var(--r-lg); margin-bottom: var(--sp-5); }
.product-perk { display: flex; gap: var(--sp-3); align-items: flex-start; font-size: var(--fs-sm); color: var(--ink-soft); }
.product-perk svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--ink); }

.tabs { margin-top: var(--sp-8); }
.tab-nav {
  display: flex; gap: var(--sp-1); border-bottom: 1px solid var(--line); margin-bottom: var(--sp-6);
  overflow-x: auto; scrollbar-width: none;
}
.tab-nav::-webkit-scrollbar { display: none; }
.tab-nav button { white-space: nowrap; }
@media (min-width: 900px) { .tab-nav { flex-wrap: wrap; overflow: visible; } }
.tab-nav button {
  padding: 13px 20px; margin-bottom: -1px; border-bottom: 2px solid transparent;
  font-size: var(--fs-sm); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.tab-nav button:hover { color: var(--ink); }
.tab-nav button.is-active { color: var(--ink); border-bottom-color: var(--accent); border-bottom-width: 3px; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: zion-fade .35s var(--ease); }
@keyframes zion-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.spec-table { width: 100%; border-collapse: collapse; font-size: var(--fs-base); }
.spec-table th, .spec-table td { padding: 13px var(--sp-4); text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 34%; font-weight: 700; color: var(--ink); font-size: var(--fs-sm); letter-spacing: .02em; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

/* ===== 15. CART ===== */
.cart-layout { display: grid; grid-template-columns: 1fr; gap: var(--sp-6); align-items: start; }
@media (min-width: 1024px) { .cart-layout { grid-template-columns: 1fr 360px; gap: var(--sp-7); } }

.cart-items { display: grid; gap: var(--sp-4); }
.cart-item {
  display: grid; grid-template-columns: 84px 1fr; gap: var(--sp-3); align-items: center;
  padding: var(--sp-3); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: opacity var(--dur) var(--ease);
}
@media (min-width: 720px) {
  .cart-item { grid-template-columns: 108px 1fr auto; gap: var(--sp-4); padding: var(--sp-4); }
}
.cart-item.is-busy { opacity: .5; pointer-events: none; }
.cart-item-media { display: block; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; background: var(--sand); }
.cart-item-media img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-title { font-size: var(--fs-base); font-weight: 700; color: var(--ink); margin: 0 0 4px; font-family: var(--font-body); letter-spacing: 0; }
.cart-item-variant { font-size: var(--fs-xs); color: var(--muted); }
.cart-item-unit { font-size: var(--fs-sm); color: var(--muted); margin-top: 6px; }
.cart-item-actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); }
@media (min-width: 720px) {
  .cart-item-actions { grid-column: auto; flex-direction: column; align-items: flex-end; }
}
.cart-item-line { font-family: var(--font-display); font-size: var(--fs-md); font-weight: 600; color: var(--ink); white-space: nowrap; }
.cart-item-remove { font-size: var(--fs-xs); font-weight: 600; color: var(--muted-2); text-decoration: underline; text-underline-offset: 3px; }
.cart-item-remove:hover { color: var(--danger); }

.cart-summary {
  position: static;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-5);
}
@media (min-width: 1024px) {
  .cart-summary { position: sticky; top: calc(var(--header-h) + 24px); padding: var(--sp-6); }
}
.cart-summary h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-5); }
.summary-row { display: flex; justify-content: space-between; gap: var(--sp-4); padding: 11px 0; font-size: var(--fs-base); }
.summary-row span:first-child { color: var(--muted); }
.summary-row span:last-child { font-weight: 600; color: var(--ink); }
.summary-row--total {
  border-top: 1px solid var(--line); margin-top: var(--sp-3); padding-top: var(--sp-4);
  font-family: var(--font-display); font-size: var(--fs-lg);
}
.summary-row--total span:first-child { color: var(--ink); font-weight: 500; }
.summary-row--total span:last-child { font-weight: 600; }
.summary-note { font-size: var(--fs-xs); color: var(--muted-2); line-height: 1.6; margin-top: var(--sp-4); }
.cart-summary .btn { margin-top: var(--sp-5); }

.cart-empty { text-align: center; padding: var(--sp-9) var(--sp-5); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); }

/* Mini cart drawer */
.mini-cart {
  position: fixed; inset: 0 0 0 auto; width: min(420px, 92vw); z-index: 450;
  background: var(--bone); box-shadow: var(--sh-xl); border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform var(--dur) var(--ease-out);
  display: flex; flex-direction: column;
}
.mini-cart.is-open { transform: translateX(0); }
.mini-cart-head { display: flex; align-items: center; justify-content: space-between; padding: var(--sp-5); border-bottom: 1px solid var(--line); }
.mini-cart-head h3 { margin: 0; font-size: var(--fs-lg); }
.mini-cart-body { flex: 1; overflow-y: auto; padding: var(--sp-5); display: grid; gap: var(--sp-4); align-content: start; }
.mini-cart-foot { padding: var(--sp-5); border-top: 1px solid var(--line); background: var(--white); display: grid; gap: var(--sp-3); }
.mini-item { display: grid; grid-template-columns: 72px 1fr auto; gap: var(--sp-3); align-items: center; }
.mini-item-media { display: block; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; background: var(--sand); }
.mini-item-media img { width: 100%; height: 100%; object-fit: cover; }
.mini-item-title { font-size: var(--fs-sm); font-weight: 700; color: var(--ink); line-height: 1.35; }
.mini-item-qty { font-size: var(--fs-xs); color: var(--muted); margin-top: 3px; }
.mini-item-price { font-size: var(--fs-sm); font-weight: 700; color: var(--ink); white-space: nowrap; }

/* ===== 16. CHECKOUT ===== */
.checkout-layout { display: grid; grid-template-columns: 1fr; gap: var(--sp-6); align-items: start; }
@media (min-width: 1024px) { .checkout-layout { grid-template-columns: 1fr 380px; gap: var(--sp-7); } }
.checkout-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-6); margin-bottom: var(--sp-5); }
.checkout-panel-head { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-5); }
.checkout-step-num {
  width: 30px; height: 30px; border-radius: var(--r-full); flex: none;
  background: var(--ink); color: #fff; display: grid; place-items: center;
  font-size: var(--fs-sm); font-weight: 800;
}
.checkout-panel-head h3 { margin: 0; font-size: var(--fs-lg); }

.pay-options { display: grid; gap: var(--sp-3); }
.pay-option {
  display: flex; gap: var(--sp-3); align-items: flex-start; padding: var(--sp-4);
  border: 1px solid var(--line-2); border-radius: var(--r-md); cursor: pointer;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.pay-option:hover { border-color: var(--ink); }
.pay-option.is-active { border-color: var(--accent-deep); background: var(--accent-tint); }
.pay-option input { margin-top: 3px; accent-color: var(--ink); flex: none; }
.pay-option-title { font-size: var(--fs-base); font-weight: 700; color: var(--ink); }
.pay-option-desc { font-size: var(--fs-sm); color: var(--muted); margin-top: 3px; line-height: 1.55; }

.order-review { position: static; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-5); }
@media (min-width: 1024px) { .order-review { position: sticky; top: calc(var(--header-h) + 24px); padding: var(--sp-6); } }
.review-items { display: grid; gap: var(--sp-4); padding-bottom: var(--sp-5); margin-bottom: var(--sp-2); border-bottom: 1px solid var(--line); max-height: 340px; overflow-y: auto; }

/* ===== 17. ORDER RECEIVED ===== */
.order-success { text-align: center; max-width: 620px; margin-inline: auto; margin-bottom: var(--sp-8); }
.order-success-ico {
  width: 84px; height: 84px; margin: 0 auto var(--sp-5); border-radius: var(--r-full);
  background: var(--green-tint); color: var(--green-ink); display: grid; place-items: center;
}
.order-success-ico svg { width: 40px; height: 40px; }
.order-ref {
  display: inline-block; margin-top: var(--sp-4); padding: 11px 22px; border-radius: var(--r-full);
  background: var(--accent); font-family: ui-monospace, monospace; font-size: var(--fs-md); font-weight: 700;
  letter-spacing: .06em; color: var(--ink);
}
.order-detail-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-4); margin-bottom: var(--sp-6); }
@media (min-width: 600px) { .order-detail-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: var(--sp-5); } }
.order-detail-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-5); }
.order-detail-label { font-size: var(--fs-xs); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: var(--sp-2); }
.order-detail-value { font-size: var(--fs-base); color: var(--ink); line-height: 1.6; }

.order-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.order-table th, .order-table td { padding: var(--sp-4); text-align: left; border-bottom: 1px solid var(--line); font-size: var(--fs-base); }
.order-table thead th { background: var(--sand); font-size: var(--fs-xs); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.order-table td:last-child, .order-table th:last-child { text-align: right; }
.order-table tfoot td { font-weight: 700; color: var(--ink); border-bottom: 0; }
.order-table tfoot tr:last-child td { font-family: var(--font-display); font-size: var(--fs-md); background: var(--sand); }

/* ===== 18. INQUIRY & CONTACT ===== */
.contact-layout { display: grid; grid-template-columns: 1fr; gap: var(--sp-6); align-items: start; }
@media (min-width: 900px) { .contact-layout { grid-template-columns: 1fr 1.15fr; gap: clamp(var(--sp-6), 5vw, var(--sp-8)); } }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-6); }
.contact-list { display: grid; gap: var(--sp-5); list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: var(--sp-4); align-items: flex-start; }
.contact-ico { width: 42px; height: 42px; border-radius: 12px; flex: none; background: var(--accent); color: var(--ink); display: grid; place-items: center; }
.contact-ico svg { width: 19px; height: 19px; }
.contact-label { font-size: var(--fs-xs); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 3px; }
.contact-value { font-size: var(--fs-base); color: var(--ink); font-weight: 500; line-height: 1.55; }
.map-embed { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/9; background: var(--sand-2); margin-top: var(--sp-5); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

.inquiry-modal {
  position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: var(--sp-5);
  background: rgba(28,25,23,.55); backdrop-filter: blur(5px);
  opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease), visibility var(--dur);
}
.inquiry-modal.is-open { opacity: 1; visibility: visible; }
.inquiry-modal-panel {
  width: min(560px, 100%); max-height: 88vh; overflow-y: auto;
  background: var(--bone); border-radius: var(--r-xl); box-shadow: var(--sh-xl); padding: var(--sp-6);
  transform: translateY(14px) scale(.985); transition: transform var(--dur) var(--ease-out);
}
.inquiry-modal.is-open .inquiry-modal-panel { transform: none; }
.inquiry-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-4); margin-bottom: var(--sp-5); }
.inquiry-modal-head h3 { margin: 0 0 4px; }
.inquiry-product { display: flex; gap: var(--sp-3); align-items: center; padding: var(--sp-3); background: var(--sand); border-radius: var(--r-md); margin-bottom: var(--sp-5); }
.inquiry-product img { width: 56px; height: 56px; border-radius: var(--r-sm); object-fit: cover; flex: none; }

/* ===== 19. BLOG & PAGES ===== */
.post-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-6); }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); } }
.post-card { display: flex; flex-direction: column; }
.post-card-media { display: block; aspect-ratio: 16/10; border-radius: var(--r-lg); overflow: hidden; background: var(--sand); margin-bottom: var(--sp-4); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.post-card:hover .post-card-media img { transform: scale(1.04); }
.post-card-meta { font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: var(--sp-2); }
.post-card-title { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.post-card-excerpt { font-size: var(--fs-sm); color: var(--muted); line-height: 1.7; margin-bottom: var(--sp-4); }

/* Lead article on the Journal index. */
.post-lead { display: grid; gap: var(--sp-5); }
.post-lead-media {
  display: block; aspect-ratio: 16/10; border-radius: var(--r-lg); overflow: hidden; background: var(--sand);
}
.post-lead-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.post-lead:hover .post-lead-media img { transform: scale(1.03); }
.post-lead-media .ph { display: grid; place-items: center; height: 100%; color: var(--muted-2); }
.post-lead-title { font-size: clamp(1.5rem, 5vw, var(--fs-2xl)); margin-bottom: var(--sp-3); }
.post-lead-title a { color: var(--ink); }
.post-lead-title a:hover { color: var(--accent-ink); }
.post-lead .post-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); }

@media (min-width: 900px) {
  .post-lead { grid-template-columns: 1.25fr 1fr; align-items: center; gap: var(--sp-7); }
  .post-lead-media { aspect-ratio: 4/3; }
}

.post-card-media .ph { display: grid; place-items: center; height: 100%; color: var(--muted-2); }

/* Article byline, share row, author box and prev/next. */
.article-byline { display: flex; align-items: center; gap: var(--sp-3); margin-top: var(--sp-6); }
.article-byline-avatar { border-radius: var(--r-full); flex: none; }
.article-byline-name { display: block; font-size: var(--fs-sm); font-weight: 700; color: var(--ink); }
.article-byline-meta { display: block; font-size: var(--fs-xs); color: var(--muted); }

.article-hero { margin-top: var(--sp-7); }
.article-hero img { width: 100%; height: auto; border-radius: var(--r-lg); display: block; }
.article-hero figcaption { margin-top: var(--sp-3); font-size: var(--fs-xs); color: var(--muted-2); text-align: center; }

.article-share {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2);
  margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid var(--line);
}
.article-share-label {
  font-size: var(--fs-xs); font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-right: var(--sp-2);
}
.article-share .social-link { background: var(--sand); color: var(--ink-soft); }
.article-share .social-link:hover { background: var(--accent); color: var(--ink); }

.author-box {
  display: flex; gap: var(--sp-4); align-items: flex-start;
  margin-top: var(--sp-7); padding: var(--sp-5);
  background: var(--sand); border-radius: var(--r-lg); border-left: 3px solid var(--accent);
}
.author-box-avatar { border-radius: var(--r-full); flex: none; }
.author-box-name { font-size: var(--fs-base); font-weight: 800; color: var(--ink); margin: 0 0 4px; }
.author-box-bio { font-size: var(--fs-sm); color: var(--muted); line-height: 1.7; margin: 0; }

.article-nav {
  display: grid; gap: var(--sp-3);
  margin-top: var(--sp-8); padding-top: var(--sp-5); border-top: 1px solid var(--line);
}
.article-nav-link {
  display: block; padding: var(--sp-4); border: 1px solid var(--line); border-radius: var(--r-md);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.article-nav-link:hover { border-color: var(--ink); background: var(--sand); }
.article-nav-dir {
  display: block; font-size: var(--fs-xs); font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 5px;
}
.article-nav-title { display: block; font-size: var(--fs-sm); font-weight: 700; color: var(--ink); line-height: 1.4; }

@media (min-width: 640px) {
  .article-nav { grid-template-columns: 1fr 1fr; }
  .article-nav-link--next { text-align: right; }
}

.entry-content { font-size: var(--fs-md); line-height: 1.8; color: var(--ink-soft); }
.entry-content > * + * { margin-top: var(--sp-5); }
.entry-content h2 { margin-top: var(--sp-7); }
.entry-content h3 { margin-top: var(--sp-6); }
.entry-content ul, .entry-content ol { padding-left: var(--sp-5); }
.entry-content li + li { margin-top: var(--sp-2); }
.entry-content img, .entry-content figure { border-radius: var(--r-lg); overflow: hidden; }
.entry-content figcaption { font-size: var(--fs-xs); color: var(--muted-2); text-align: center; margin-top: var(--sp-3); }
.entry-content a { color: var(--accent-ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 12px var(--sp-4); border: 1px solid var(--line); text-align: left; }
.entry-content th { background: var(--sand); font-weight: 700; color: var(--ink); }
.alignleft { float: left; margin: 0 var(--sp-5) var(--sp-4) 0; }
.alignright { float: right; margin: 0 0 var(--sp-4) var(--sp-5); }
.aligncenter { margin-inline: auto; }
.wp-caption { max-width: 100%; }

.widget { margin-bottom: var(--sp-6); }
.widget-title { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: var(--sp-4); }
.widget ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-2); }
.widget li a { font-size: var(--fs-sm); color: var(--ink-soft); }
.widget li a:hover { color: var(--accent-ink); }

.comment-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-5); }
.comment-list .children { list-style: none; margin: var(--sp-5) 0 0 var(--sp-6); padding: 0; display: grid; gap: var(--sp-5); }
.comment-body { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-5); }
.comment-author { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-3); }
.comment-author img { border-radius: var(--r-full); }
.comment-metadata { font-size: var(--fs-xs); color: var(--muted-2); }

/* ===== 20. FOOTER ===== */
.site-footer { background: var(--ink); color: var(--on-dark-2); padding-top: var(--sp-9); margin-top: var(--sp-9); }
.footer-top { display: grid; grid-template-columns: 1fr; gap: var(--sp-6); padding-bottom: var(--sp-7); }
@media (min-width: 640px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-top { grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: var(--sp-7); padding-bottom: var(--sp-8); } }
.footer-brand .brand-name { color: var(--accent); }
.footer-brand .brand-tag { color: var(--on-dark-2); }
.footer-about { font-size: var(--fs-sm); line-height: 1.75; margin: var(--sp-4) 0 var(--sp-5); max-width: 38ch; }
.footer-col-title { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: var(--sp-4); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col a { font-size: var(--fs-sm); color: var(--on-dark-2); }
.footer-col a:hover { color: var(--accent); }
.footer-contact li { display: flex; gap: var(--sp-3); align-items: flex-start; font-size: var(--fs-sm); line-height: 1.6; }
.footer-contact svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--accent); }

.newsletter { margin-top: var(--sp-5); }
.newsletter form { display: flex; gap: var(--sp-2); }
.newsletter input {
  background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); color: #fff;
  border-radius: var(--r-full); padding: 12px 18px; font-size: var(--fs-sm);
}
.newsletter input::placeholder { color: rgba(255,255,255,.42); }
.newsletter input:focus { border-color: var(--accent); box-shadow: none; background: rgba(255,255,255,.12); color: var(--white); }
.newsletter .btn { flex: none; }

.socials { display: flex; gap: var(--sp-2); }
.social-link {
  width: 38px; height: 38px; border-radius: var(--r-full); display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: var(--on-dark);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.social-link:hover { background: var(--accent); color: var(--ink); transform: translateY(-2px); }
.social-link svg { width: 17px; height: 17px; }

.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding-block: var(--sp-5); border-top: 1px solid var(--on-dark-line); font-size: var(--fs-xs);
}
.footer-bottom a { color: var(--on-dark-2); }
.footer-bottom a:hover { color: var(--accent); }
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--sp-5); }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 320;
  width: 54px; height: 54px; border-radius: var(--r-full);
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.4); transition: transform var(--dur) var(--ease);
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 27px; height: 27px; }

/* Back to top */
.to-top {
  position: fixed; right: 20px; bottom: 86px; z-index: 320;
  width: 44px; height: 44px; border-radius: var(--r-full);
  background: var(--white); color: var(--ink); box-shadow: var(--sh-md);
  display: grid; place-items: center; border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all var(--dur) var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--ink); color: #fff; }
.to-top svg { width: 18px; height: 18px; }

/* ===== 21. UTILITIES & MOTION ===== */
.u-center { text-align: center; }
.u-mt-0 { margin-top: 0 !important; }
.u-mb-0 { margin-bottom: 0 !important; }
.u-mt-5 { margin-top: var(--sp-5); }
.u-mt-6 { margin-top: var(--sp-6); }
.u-mt-7 { margin-top: var(--sp-7); }
.u-muted { color: var(--muted); }
.u-small { font-size: var(--fs-sm); }
.u-nowrap { white-space: nowrap; }
.u-flex-between { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

.spinner {
  width: 16px; height: 16px; border-radius: 50%; flex: none;
  border: 2px solid currentColor; border-top-color: transparent;
  animation: zion-spin .7s linear infinite;
}
@keyframes zion-spin { to { transform: rotate(360deg); } }

.zion-toast-wrap { position: fixed; right: 20px; bottom: 20px; z-index: 600; display: grid; gap: var(--sp-2); }
.zion-toast {
  display: flex; align-items: center; gap: var(--sp-3);
  background: var(--ink); color: #fff; padding: 13px 20px; border-radius: var(--r-full);
  font-size: var(--fs-sm); font-weight: 600; box-shadow: var(--sh-lg);
  animation: zion-toast-in .35s var(--ease-out);
}
.zion-toast.is-out { animation: zion-toast-out .3s var(--ease) forwards; }
.zion-toast--ok svg { color: var(--green); }
.zion-toast--err { background: var(--danger); }
.zion-toast svg { width: 17px; height: 17px; flex: none; }
@keyframes zion-toast-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes zion-toast-out { to { opacity: 0; transform: translateY(10px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== 22. RESPONSIVE =====
   Layout breakpoints live beside the components they affect, so this section
   only holds the few cross-cutting adjustments that have nowhere else to go.
   ===== */

/* Touch targets: 44px minimum for anything tappable. */
@media (pointer: coarse) {
  .btn { padding-block: 15px; }
  .btn--sm { padding-block: 12px; }
  .primary-nav a, .mobile-nav a, .filter-list a { min-height: 44px; }
  .qty button { width: 44px; height: 46px; }
  .qty input { height: 46px; }
  .tool-btn { width: 40px; height: 40px; }
  .cart-item-remove { padding-block: 8px; }
}

/* Small phones. */
@media (max-width: 400px) {
  :root { --header-h: 66px; }
  .brand-tag { display: none; }
  .brand-mark { width: 46px; height: 29px; }
  .container { padding-inline: var(--sp-4); }
  .hero-rail-track { margin-inline: calc(-1 * var(--sp-4)); padding-inline: var(--sp-4); }
  .wa-float { width: 50px; height: 50px; right: 14px; bottom: 14px; }
  .to-top { right: 14px; bottom: 74px; }
}

/* Wide screens: let the shop breathe rather than stretch. */
@media (min-width: 1600px) {
  :root { --container: 1360px; }
}

/* ===== PRINT ===== */
@media print {
  .site-header, .site-footer, .topbar, .wa-float, .to-top, .btn, .product-card-tools { display: none !important; }
  body { background: #fff; color: #000; }
}
