﻿/* ============================================================
   Focus Goods — Brand Stylesheet
   AuADHD-affirming: calm, clear, accessible
   ============================================================ */

/* ── Custom Properties ── */
:root {
  --navy:       #1e2a4a;
  --navy-l:     #2d3e6a;
  --teal:       #4ecdc4;
  --teal-d:     #38b2aa;
  --terra:      #e07a5f;
  --terra-d:    #c5613f;
  --cream:      #faf8f5;
  --white:      #ffffff;
  --text:       #2d2d2d;
  --muted:      #6b7280;
  --border:     #e5e0d8;
  --card:       #ffffff;
  --sh-sm:      0 1px 4px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
  --sh-md:      0 4px 16px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
  --sh-lg:      0 20px 48px rgba(0,0,0,.14), 0 8px 24px rgba(0,0,0,.08);
  --r-sm:       8px;
  --r-md:       12px;
  --r-lg:       20px;
  --ease:       200ms cubic-bezier(.4,0,.2,1);
  --f-body:     'Inter', system-ui, -apple-system, sans-serif;
  --f-head:     'Space Grotesk', 'Inter', system-ui, sans-serif;
  --accent:     #4ecdc4;
  --accent-rgb: 78 205 196;
  --bg:         var(--cream);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--f-body); background: var(--cream); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img  { display: block; max-width: 100%; }
a    { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; font-size: inherit; }
input, select { font-family: inherit; font-size: 1rem; color: var(--text); }

/* ── Container ── */
.container { width: 100%; max-width: 1920px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 56px); box-sizing: border-box; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--r-sm);
  font-size: 1rem; font-weight: 600; letter-spacing: -.01em;
  transition: all var(--ease); cursor: pointer; border: 2px solid transparent;
}
.btn--primary  { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--primary:hover { background: var(--navy-l); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(30,42,74,.3); }
.btn--outline  { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--full     { width: 100%; }
.btn:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

/* ── Header ── */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,248,245,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border); transition: box-shadow var(--ease);
}
.header__inner { display: flex; align-items: center; gap: 16px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo__mark    { width: 36px; height: 36px; }
.logo__mark--sm { width: 28px; height: 28px; }
.logo__text {
  font-family: var(--f-head); font-size: 1.2rem; font-weight: 700;
  color: var(--navy); letter-spacing: -.02em;
}
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav__link {
  padding: 6px 14px; border-radius: var(--r-sm);
  font-weight: 500; color: var(--muted); transition: all var(--ease);
}
.nav__link:hover { color: var(--navy); background: rgba(30,42,74,.06); }
.cart-toggle {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--r-sm); color: var(--navy);
  transition: background var(--ease);
}
.cart-toggle:hover { background: rgba(30,42,74,.06); }
.cart-toggle svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: 4px; right: 4px;
  min-width: 18px; height: 18px; background: var(--terra); color: #fff;
  font-size: .7rem; font-weight: 700; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
  opacity: 0; transform: scale(.6); transition: all var(--ease);
}
.cart-count.visible { opacity: 1; transform: scale(1); }

/* ── Hero ── */
.hero {
  position: relative; padding: 88px 0 110px;
  overflow: hidden; background: var(--navy); color: #fff;
}
.hero__inner { position: relative; z-index: 2; max-width: 620px; }
.hero__badge {
  display: inline-block; background: rgba(78,205,196,.18); color: var(--teal);
  border: 1px solid rgba(78,205,196,.35); padding: 5px 14px; border-radius: 100px;
  font-size: .8rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  margin-bottom: 22px;
}
.hero__title {
  font-family: var(--f-head); font-size: clamp(2.4rem,5vw,3.8rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -.03em; margin-bottom: 20px;
}
.hero__sub {
  font-size: 1.1rem; color: rgba(255,255,255,.72);
  margin-bottom: 36px; max-width: 480px; line-height: 1.65;
}
.hero__cta { font-size: 1rem; padding: 13px 30px; }
.hero__cta:hover {
  background: var(--teal); border-color: var(--teal); color: var(--navy);
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(78,205,196,.35);
}
/* Decorative background shapes */
.hero__shapes { position: absolute; inset: 0; z-index: 1; }
.shape { position: absolute; border-radius: 50%; opacity: .1; }
.shape--1 { width: 600px; height: 600px; background: var(--teal);  top: -200px; right: -80px; }
.shape--2 { width: 300px; height: 300px; background: var(--terra); bottom: -80px; right: 22%; }
.shape--3 { width: 200px; height: 200px; background: #fff;         top: 40px;   right: 36%; opacity: .04; }

/* ── Products Section ── */
.products-section { padding: 64px 0 80px; }
.section-header   { text-align: center; margin-bottom: 40px; }
.section-title {
  font-family: var(--f-head); font-size: 2rem; font-weight: 700;
  color: var(--navy); letter-spacing: -.02em; margin-bottom: 8px;
}
.section-sub { color: var(--muted); font-size: 1rem; }

/* ── Filters ── */
.filters {
  display: flex; gap: 8px; flex-wrap: wrap;
  justify-content: center; margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 18px; border-radius: 100px; font-size: .875rem; font-weight: 500;
  color: var(--muted); background: var(--white); border: 1.5px solid var(--border);
  transition: all var(--ease);
}
.filter-btn:hover  { color: var(--navy); border-color: var(--navy); }
.filter-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ── Product Grid ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px),1fr));
  gap: 24px;
}

/* ── Product Card ── */
.product-card {
  background: var(--card); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-sm); transition: transform var(--ease), box-shadow var(--ease);
  cursor: pointer; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.product-card:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.product-card__img-wrap { aspect-ratio: 1; overflow: hidden; background: #f0ede8; }
.product-card__img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 350ms ease;
}
.product-card:hover .product-card__img { transform: scale(1.05); }
.product-card__body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.product-card__cat {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--teal-d); margin-bottom: 6px;
}
.product-card__name {
  font-family: var(--f-head); font-size: .97rem; font-weight: 600;
  color: var(--navy); line-height: 1.35; margin-bottom: 12px; flex: 1;
}
.product-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.product-card__price { font-size: 1.05rem; font-weight: 700; color: var(--navy); }
.price-from { font-size: .78rem; font-weight: 400; color: var(--muted); }
.quick-view {
  width: 36px; height: 36px; border-radius: 50%; background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--navy); transition: all var(--ease); flex-shrink: 0;
}
.quick-view:hover { background: var(--teal); color: #fff; transform: rotate(90deg); }

/* ── Loading ── */
.loading { grid-column: 1/-1; text-align: center; padding: 64px 0; color: var(--muted); }
.spinner {
  width: 40px; height: 40px; border: 3px solid var(--border);
  border-top-color: var(--teal); border-radius: 50%;
  animation: spin .85s linear infinite; margin: 0 auto 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── About ── */
.about-section { padding: 80px 0; background: var(--navy); color: #fff; }
.about__inner  { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.about__content h2 {
  font-family: var(--f-head); font-size: 2rem; font-weight: 700;
  letter-spacing: -.02em; margin-bottom: 20px; line-height: 1.2;
}
.about__content p { color: rgba(255,255,255,.72); margin-bottom: 16px; font-size: 1rem; line-height: 1.7; }
.about__cards  { display: flex; flex-direction: column; gap: 14px; }
.about-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md); padding: 18px 22px;
}
.about-card__icon { font-size: 1.5rem; flex-shrink: 0; }
.about-card h3    { font-size: .95rem; font-weight: 600; margin-bottom: 4px; }
.about-card p     { color: rgba(255,255,255,.58); font-size: .875rem; }

/* ── Footer ── */
.footer { padding: 28px 0; background: var(--cream); border-top: 1px solid var(--border); }
.footer__inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer__copy  { color: var(--muted); font-size: .875rem; margin-left: auto; }
.footer__email { color: var(--muted); font-size: .875rem; }
.footer__email:hover { color: var(--navy); }

/* ── Modal base ── */
.modal { position: fixed; inset: 0; z-index: 200; }
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(18,18,28,.6); backdrop-filter: blur(4px);
}
.modal__panel {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  background: var(--white); border-radius: var(--r-lg);
  width: min(640px, calc(100vw - 32px));
  max-height: calc(100vh - 48px); overflow-y: auto;
  box-shadow: var(--sh-lg);
  animation: modal-in 220ms cubic-bezier(.34,1.56,.64,1) both;
}
.modal__panel--wide { width: min(920px, calc(100vw - 32px)); }
.modal__panel--sm   { width: min(420px, calc(100vw - 32px)); text-align: center; }
@keyframes modal-in {
  from { transform: translate(-50%,-46%); opacity: 0; }
  to   { transform: translate(-50%,-50%); opacity: 1; }
}
.modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 10;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); background: var(--cream); transition: all var(--ease);
}
.modal__close:hover { background: var(--border); color: var(--text); }
.modal__close svg   { width: 17px; height: 17px; }

/* ── Product Detail (modal) ── */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; }
.product-detail__gallery {
  aspect-ratio: 1; background: #f0ede8; overflow: hidden; position: relative;
  border-radius: var(--r-lg) 0 0 var(--r-lg);
}
.product-detail__img   { width: 100%; height: 100%; object-fit: cover; }
.product-detail__thumbs {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
}
.thumb-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.5); transition: background var(--ease);
}
.thumb-dot.active { background: #fff; }
.product-detail__info  { padding: 32px 28px; display: flex; flex-direction: column; }
.product-detail__cat   { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--teal-d); margin-bottom: 10px; }
.product-detail__name  { font-family: var(--f-head); font-size: 1.45rem; font-weight: 700; color: var(--navy); letter-spacing: -.02em; line-height: 1.25; margin-bottom: 10px; }
.product-detail__price { font-size: 1.35rem; font-weight: 700; color: var(--terra); margin-bottom: 16px; }
.product-detail__desc  { color: var(--muted); font-size: .9rem; line-height: 1.7; margin-bottom: 22px; flex: 1; overflow-y: auto; max-height: 130px; }
.variant-label  { font-size: .82rem; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.variant-select {
  width: 100%; padding: 10px 13px; border: 1.5px solid var(--border);
  border-radius: var(--r-sm); background: #fff; color: var(--text);
  margin-bottom: 20px; font-size: .9rem; cursor: pointer;
  transition: border-color var(--ease);
}
.variant-select:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(78,205,196,.15); }
.add-to-cart-btn { margin-top: auto; padding: 13px 22px; }

/* ── Cart Drawer ── */
.cart-drawer { position: fixed; inset: 0; z-index: 200; }
.cart-drawer[hidden] { display: none; }
.cart-drawer__backdrop { position: absolute; inset: 0; background: rgba(18,18,28,.5); backdrop-filter: blur(3px); }
.cart-drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(400px, 100vw); background: var(--white);
  display: flex; flex-direction: column; box-shadow: -8px 0 40px rgba(0,0,0,.14);
  animation: drawer-in 240ms cubic-bezier(.4,0,.2,1) both;
}
@keyframes drawer-in { from { transform: translateX(100%); } to { transform: none; } }
.cart-drawer__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--border);
}
.cart-drawer__title { font-family: var(--f-head); font-size: 1.2rem; font-weight: 700; color: var(--navy); }
.cart-drawer__close { position: static; }
.cart-drawer__body  { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-empty { text-align: center; padding: 56px 0; color: var(--muted); }
.cart-empty__icon { font-size: 2.8rem; margin-bottom: 12px; }
.cart-item {
  display: grid; grid-template-columns: 72px 1fr auto;
  gap: 14px; align-items: start; padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; }
.cart-item__img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--r-sm); background: #f0ede8; }
.cart-item__name    { font-size: .875rem; font-weight: 600; color: var(--navy); margin-bottom: 3px; line-height: 1.35; }
.cart-item__variant { font-size: .78rem; color: var(--muted); margin-bottom: 8px; }
.cart-item__qty     { display: flex; align-items: center; gap: 10px; }
.qty-btn {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--cream); border: 1.5px solid var(--border);
  font-size: 1rem; display: flex; align-items: center; justify-content: center;
  transition: all var(--ease);
}
.qty-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.qty-val { font-weight: 600; font-size: .875rem; min-width: 20px; text-align: center; }
.cart-item__price { font-weight: 700; color: var(--navy); font-size: .9rem; white-space: nowrap; }
.cart-drawer__footer { padding: 18px 24px; border-top: 1px solid var(--border); background: var(--cream); }
.cart-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.05rem; color: var(--navy); margin-bottom: 14px; }

/* ── Checkout ── */
.checkout { display: grid; grid-template-columns: 1fr 360px; min-height: 500px; }
.checkout__form-side   { padding: 36px 32px; border-right: 1px solid var(--border); }
.checkout__title       { font-family: var(--f-head); font-size: 1.5rem; font-weight: 700; color: var(--navy); margin-bottom: 28px; }
.checkout-form fieldset { border: none; margin-bottom: 24px; }
.checkout-form legend {
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; padding: 0;
  width: 100%;
}
.form-row { margin-bottom: 13px; }
.form-row label { display: block; font-size: .85rem; font-weight: 500; color: var(--navy); margin-bottom: 5px; }
.label-opt { font-weight: 400; color: var(--muted); }
.form-row input,
.form-row select {
  width: 100%; padding: 10px 13px;
  border: 1.5px solid var(--border); border-radius: var(--r-sm);
  background: #fff; transition: border-color var(--ease);
}
.form-row input:focus,
.form-row select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(78,205,196,.15); }
.form-row--half  { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row--third { display: grid; grid-template-columns: 2fr 1.2fr 1.6fr; gap: 12px; }
.payment-notice {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(78,205,196,.08); border: 1px solid rgba(78,205,196,.25);
  border-radius: var(--r-sm); padding: 14px 16px; margin-bottom: 20px;
  font-size: .875rem; color: var(--muted); line-height: 1.5;
}
.payment-notice__icon { font-size: 1.3rem; flex-shrink: 0; }
.payment-notice strong { color: var(--navy); }
.checkout__summary-side { padding: 36px 28px; background: var(--cream); }
.checkout__summary-title { font-family: var(--f-head); font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--navy); margin-bottom: 20px; }
.checkout-summary-item { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.checkout-summary-item__img { width: 56px; height: 56px; border-radius: var(--r-sm); object-fit: cover; background: #e8e4de; flex-shrink: 0; }
.checkout-summary-item__name    { font-size: .85rem; font-weight: 600; color: var(--navy); line-height: 1.3; }
.checkout-summary-item__variant { font-size: .75rem; color: var(--muted); }
.checkout-summary-item__price   { font-size: .9rem; font-weight: 700; color: var(--navy); white-space: nowrap; margin-left: auto; padding-left: 8px; flex-shrink: 0; }
.checkout-total { display: flex; justify-content: space-between; font-weight: 700; color: var(--navy); font-size: 1.05rem; padding-top: 16px; border-top: 2px solid var(--border); margin-top: 16px; }

/* ── Success ── */
.success-content { padding: 52px 36px; }
.success-icon    { font-size: 3.5rem; margin-bottom: 16px; }
.success-content h2 { font-family: var(--f-head); font-size: 1.5rem; color: var(--navy); margin-bottom: 12px; }
.success-content p  { color: var(--muted); margin-bottom: 28px; line-height: 1.6; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .about__inner   { grid-template-columns: 1fr; gap: 40px; }
  .checkout       { grid-template-columns: 1fr; }
  .checkout__form-side { border-right: none; border-bottom: 1px solid var(--border); }
  .checkout__summary-side { padding: 28px; }
}
@media (max-width: 768px) {
  .container    { padding: 0 clamp(12px, 4vw, 24px); }
  .nav          { display: none; }
  .hero         { padding: 56px 0 72px; }
  .hero__title  { font-size: 2rem; }
  .product-detail { grid-template-columns: 1fr; }
  .product-detail__gallery { border-radius: var(--r-lg) var(--r-lg) 0 0; aspect-ratio: 4/3; }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer__copy  { margin-left: 0; }
}
@media (max-width: 480px) {
  .product-grid  { grid-template-columns: 1fr 1fr; gap: 14px; }
  .filter-btn    { padding: 6px 12px; font-size: .8rem; }
  .form-row--half, .form-row--third { grid-template-columns: 1fr; }
}

/* ── Breadcrumb ─────────────────────────────────────────── */
.breadcrumb {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  font-size: .82rem;
  color: var(--muted);
}
.breadcrumb__inner {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb [aria-current="page"] { color: var(--text); font-weight: 500; }

/* ── Collection hero ────────────────────────────────────── */
.collection-hero {
  padding: 48px 0 32px;
  background: linear-gradient(135deg, var(--surface) 0%, #f0fafa 100%);
  border-bottom: 1px solid var(--border);
}
.collection-hero__h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.collection-hero__intro {
  max-width: 640px;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Section header small variant ──────────────────────── */
.section-header--sm { margin-bottom: 24px; }
.section-header--sm .section-sub { font-size: .88rem; color: var(--muted); }

.collection-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 0;
  color: var(--muted);
  font-size: .95rem;
}

/* ── Trust bar ──────────────────────────────────────────── */
.trust-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  margin: 32px 0 0;
}
.trust-bar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: center;
}
.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  color: var(--muted);
  font-weight: 500;
}

/* ── Related collections ────────────────────────────────── */
.related-collections {
  padding: 40px 0;
}
.related-coll__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}
.related-coll__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.related-coll__link {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: border-color .15s, background .15s, color .15s;
}
.related-coll__link:hover {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

/* ── Static pages (delivery, returns, about, contact) ───── */
.static-page {
  padding: 48px 0 80px;
}
.static-page__inner {
  max-width: 720px;
}
.static-page__inner h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 32px;
}
.static-page__content h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 28px 0 8px;
  color: var(--text);
}
.static-page__content p,
.static-page__content li {
  font-size: .97rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 8px;
}
.static-page__content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}
.static-page__content a {
  color: var(--teal);
  text-decoration: none;
}
.static-page__content a:hover { text-decoration: underline; }
.small-note {
  font-size: .82rem !important;
  color: var(--muted);
}

/* ── Delivery table ─────────────────────────────────────── */
.delivery-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
  margin: 8px 0 16px;
}
.delivery-table th,
.delivery-table td {
  text-align: left;
  padding: 10px 14px;
  border: 1px solid var(--border);
}
.delivery-table th {
  background: var(--surface);
  font-weight: 600;
  color: var(--text);
}
.delivery-table td { color: var(--muted); }

/* ── Contact card ───────────────────────────────────────── */
.contact-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
}
.contact-card h2 { margin-top: 0 !important; }
.contact-link {
  font-size: 1.1rem;
  font-weight: 600;
}

/* ── Rich footer ────────────────────────────────────────── */
.footer__inner--rich {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px 40px;
  padding: 32px 0;
}
.footer__brand { flex: 1 1 200px; }
.footer__links {
  flex: 2 1 300px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
}
.footer__links a {
  font-size: .85rem;
  color: var(--muted);
  text-decoration: none;
  transition: color .15s;
}
.footer__links a:hover { color: var(--teal); }
.footer__inner--rich .footer__email {
  flex: 0 0 auto;
  align-self: center;
}

/* ── Scheme swatches ──────────────────────────────────────────────────────── */
.scheme-swatches {
  display: flex;
  gap: 6px;
  margin: 6px 0 4px;
  flex-wrap: wrap;
}
.swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #ccc;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: transform .15s, box-shadow .15s;
}
.swatch--active {
  transform: scale(1.25);
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #555;
}
.swatch:hover:not(.swatch--active) {
  transform: scale(1.15);
}

/* ── Shop toolbar ─────────────────────────────────────────────────────────── */
.shop-toolbar {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.shop-toolbar__search {
  position: relative;
}
.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
}
.search-input {
  width: 100%;
  padding: 10px 16px 10px 38px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  background: var(--bg);
  color: var(--text);
  box-sizing: border-box;
  transition: border-color .2s, box-shadow .2s;
}
.search-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb, 255 221 0) / .15);
}
.shop-toolbar__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.colourway-bar {
  display: flex;
  align-items: center;
  gap: 12px;
}
.colourway-label {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.colourway-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.colourway-btn {
  padding: 5px 14px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 500;
  color: var(--text);
  transition: background .15s, border-color .15s, color .15s;
}
.colourway-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
}
.colourway-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.shop-toolbar__meta {
  display: flex;
  justify-content: flex-end;
}
.results-count {
  font-size: .82rem;
  color: var(--muted);
}

/* ── Modal scheme swatches ────────────────────────────────────────────────── */
.modal-scheme-label {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  margin: 12px 0 6px;
}
.modal-scheme-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.swatch--lg {
  width: auto;
  height: auto;
  border-radius: 20px;
  padding: 4px 12px 4px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.swatch--lg::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: inherit;
  flex-shrink: 0;
}
.swatch--lg .swatch-label {
  font-size: .85rem;
  color: var(--text);
  white-space: nowrap;
}
.swatch--lg.swatch--active {
  box-shadow: 0 0 0 2px var(--accent);
  transform: none;
}

/* ══ Skip nav ════════════════════════════════════════════════ */
.skip-nav {
  position: absolute; top: -100px; left: 16px; z-index: 9999;
  background: var(--navy); color: #fff;
  padding: 10px 18px; border-radius: 0 0 8px 8px;
  font-size: .9rem; font-weight: 600; text-decoration: none;
  transition: top .15s;
}
.skip-nav:focus { top: 0; }

/* ══ WCAG 2.4.13 enhanced focus ══════════════════════════════ */
:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(78,205,196,.18);
}

/* ══ Calm Mode toggle ════════════════════════════════════════ */
.calm-toggle {
  display: flex; align-items: center; gap: 5px;
  padding: 6px 12px; border-radius: var(--r-sm);
  border: 1.5px solid var(--border);
  font-size: .8rem; font-weight: 500;
  color: var(--muted); background: transparent;
  transition: all var(--ease); margin-right: 4px; cursor: pointer;
}
.calm-toggle svg { width: 16px; height: 16px; }
.calm-label { font-size: .78rem; }
.calm-toggle:hover { color: var(--navy); border-color: var(--navy); }
.calm-toggle--active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Calm Mode variable overrides */
[data-calm="1"] {
  --cream: #F2EFE9; --white: #F8F6F2; --card: #F8F6F2;
  --text: #2A2A2A; --border: #D8D3CB;
}
[data-calm="1"] body { background: var(--cream); }
[data-calm="1"] .hero { background: #1a2238; }
[data-calm="1"] .hero__shapes { display: none; }
[data-calm="1"] .product-card:hover { transform: none; box-shadow: var(--sh-sm); }
[data-calm="1"] .product-card:hover .product-card__img { transform: none; }
[data-calm="1"] .btn--primary:hover { transform: none; }
[data-calm="1"] .hero__cta:hover { transform: none; }
[data-calm="1"] .shape { display: none; }

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

/* ══ Social proof strip ══════════════════════════════════════ */
.social-proof {
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 13px 0;
}
.social-proof__inner {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 0 24px;
}
.sp-item {
  display: flex; align-items: center; gap: 7px;
  font-size: .83rem; color: rgba(255,255,255,.78);
  white-space: nowrap; padding: 4px 0;
}
.sp-item em { font-style: normal; color: var(--teal); }
.sp-stars { color: #ffd700; letter-spacing: 1px; }
.sp-icon  { font-size: .95rem; }
.sp-divider { width: 1px; height: 18px; background: rgba(255,255,255,.2); flex-shrink: 0; }
@media (max-width: 640px) {
  .sp-divider { display: none; }
  .sp-item { font-size: .76rem; }
  .social-proof__inner { gap: 0 16px; }
}

/* ══ Colourway tooltips (CSS-only) ══════════════════════════ */
.colourway-btn { position: relative; }
.colourway-btn::after {
  content: attr(data-tooltip);
  position: absolute; bottom: calc(100% + 8px); left: 50%;
  transform: translateX(-50%);
  background: var(--navy); color: #fff;
  font-size: .74rem; font-weight: 400; line-height: 1.4;
  padding: 6px 10px; border-radius: 6px;
  max-width: 200px; white-space: normal; text-align: center;
  pointer-events: none; opacity: 0; transition: opacity .15s;
  z-index: 50; box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.colourway-btn::before {
  content: ''; position: absolute;
  bottom: calc(100% + 3px); left: 50%; transform: translateX(-50%);
  border: 5px solid transparent; border-top-color: var(--navy);
  pointer-events: none; opacity: 0; transition: opacity .15s; z-index: 50;
}
.colourway-btn:hover::after, .colourway-btn:focus::after,
.colourway-btn:hover::before, .colourway-btn:focus::before { opacity: 1; }

/* ══ Card delivery estimate ══════════════════════════════════ */
.card-delivery { font-size: .73rem; color: var(--muted); margin-bottom: 8px; }
.card-delivery strong { color: var(--navy); }

/* ══ Modal trust strip ═══════════════════════════════════════ */
.modal-trust-strip {
  display: flex; flex-wrap: wrap; gap: 4px 10px;
  background: rgba(78,205,196,.07);
  border: 1px solid rgba(78,205,196,.2);
  border-radius: 8px; padding: 9px 14px; margin-bottom: 10px;
}
.mts-item { font-size: .77rem; color: var(--navy); font-weight: 500; }
.mts-sep  { font-size: .77rem; color: var(--muted); }
.modal-delivery { font-size: .79rem; color: var(--muted); margin-bottom: 12px; }
.modal-delivery strong { color: var(--navy); }
.modal-delivery__region { font-size: .74rem; }

/* ══ Form validation ════════════════════════════════════════ */
.field-error {
  display: block; font-size: .77rem; color: #b35c00;
  margin-top: 4px; padding: 0 2px;
}
.input--error { border-color: #b35c00 !important; box-shadow: 0 0 0 3px rgba(179,92,0,.1) !important; }
.input--ok    { border-color: #2a8a4e !important; }

/* ══ Checkout progress bar ══════════════════════════════════ */
.checkout-progress {
  display: flex; align-items: center; justify-content: center;
  padding: 18px 32px 0; background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.checkout-progress__step {
  display: flex; flex-direction: column; align-items: center;
  gap: 4px; opacity: .4; transition: opacity .2s;
}
.checkout-progress__step--active { opacity: 1; }
.checkout-progress__step--done   { opacity: .8; }
.cp-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--border); color: var(--muted);
  font-size: .8rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
.checkout-progress__step--active .cp-num { background: var(--navy); color: #fff; }
.checkout-progress__step--done .cp-num   { background: #2a8a4e; color: #fff; }
.cp-label {
  font-size: .7rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .05em; color: var(--muted); white-space: nowrap;
}
.checkout-progress__line {
  flex: 1; height: 2px; background: var(--border);
  margin: 0 8px; margin-bottom: 18px; min-width: 28px;
}

/* ══ Focus Mode ═════════════════════════════════════════════ */
body.focus-mode .header,
body.focus-mode .social-proof,
body.focus-mode .hero,
body.focus-mode .products-section,
body.focus-mode .about-section,
body.focus-mode .footer {
  opacity: .15;
  pointer-events: none;
  transition: opacity .3s;
}

/* ══ Cart restored notice ═══════════════════════════════════ */
.cart-restored-notice {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--navy); color: #fff;
  padding: 12px 18px; border-radius: 10px;
  font-size: .86rem; display: flex; align-items: center; gap: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,.25);
  z-index: 500; transition: transform .3s cubic-bezier(.34,1.56,.64,1);
  white-space: nowrap; max-width: calc(100vw - 32px);
}
.cart-restored-notice.crn-visible { transform: translateX(-50%) translateY(0); }
.crn-link {
  color: var(--teal); text-decoration: underline; font-weight: 600;
  background: none; border: none; cursor: pointer; font-size: inherit; padding: 0;
}
.crn-dismiss { color: rgba(255,255,255,.5); font-size: .9rem; padding: 2px 6px; }
.crn-dismiss:hover { color: #fff; }

/* ══ Footer help link ═══════════════════════════════════════ */
.footer__help-link {
  font-size: .85rem; color: var(--teal);
  text-decoration: underline; font-weight: 500;
}
.footer__help-link:hover { color: var(--teal-d); }

/* ============================================================
   Shop layout — sidebar + main
   ============================================================ */

.shop-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0 1rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.shop-bar__left { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; flex: 1; }
.shop-bar__right { display: flex; align-items: center; gap: 0.75rem; }
.shop-bar__search { position: relative; display: flex; align-items: center; }
.shop-bar__search .search-icon { position: absolute; left: 0.65rem; width: 16px; height: 16px; pointer-events: none; opacity: 0.5; }
.shop-bar__search .search-input { padding-left: 2rem; padding-right: 0.75rem; height: 2.2rem; font-size: 0.85rem; border-radius: 6px; }

.filters-toggle {
  display: flex; align-items: center; gap: 0.4rem;
  background: var(--card); border: 1.5px solid var(--border);
  color: var(--fg); padding: 0.45rem 0.9rem; border-radius: 8px;
  font-size: 0.85rem; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: border-color 0.2s, background 0.2s;
}
.filters-toggle svg { width: 16px; height: 16px; }
.filters-toggle:hover { border-color: var(--accent); background: var(--accent-dim, rgba(255,221,0,0.08)); }

.sort-select {
  background: var(--card); border: 1.5px solid var(--border); color: var(--fg);
  padding: 0.45rem 0.75rem; border-radius: 8px; font-size: 0.85rem; cursor: pointer;
}

/* Active filter chips */
.active-chips { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.filter-chip {
  display: inline-flex; align-items: center; gap: 0.3rem;
  background: var(--accent); color: var(--bg);
  padding: 0.25rem 0.6rem; border-radius: 20px;
  font-size: 0.75rem; font-weight: 700; cursor: pointer; border: none;
  text-transform: capitalize; white-space: nowrap;
}
.filter-chip:hover { opacity: 0.85; }
.chip-clear-all {
  display: inline-flex; align-items: center;
  background: none; border: 1.5px solid var(--border); border-radius: 20px;
  padding: 0.25rem 0.75rem; font-size: 0.75rem; font-weight: 700; cursor: pointer;
  color: var(--text); white-space: nowrap; transition: all 0.15s;
}
.chip-clear-all:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Shop layout */
.shop-layout {
  display: grid;
  grid-template-columns: clamp(200px, 17%, 260px) 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-top: 1.25rem;
}

/* Sidebar */
.shop-sidebar {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  position: sticky;
  top: 80px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  scrollbar-width: thin;
}
.sidebar-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem; padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.sidebar-title { font-weight: 700; font-size: 1rem; }
.sidebar-close { display: none; background: none; border: none; color: var(--muted); font-size: 1.1rem; cursor: pointer; padding: 0.25rem; }

/* Filter groups */
.filter-group { border-bottom: 1px solid var(--border); padding: 0.75rem 0; }
.filter-group:last-of-type { border-bottom: none; }
.filter-group__head {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; background: none; border: none; color: var(--fg);
  font-size: 0.875rem; font-weight: 700; cursor: pointer; padding: 0;
  text-align: left;
}
.filter-group__head .chevron { width: 16px; height: 16px; transition: transform 0.2s; }
.filter-group__head[aria-expanded=false] .chevron { transform: rotate(-90deg); }
.filter-group__body { margin-top: 0.6rem; display: flex; flex-direction: column; gap: 0.4rem; }
.filter-opt {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; color: var(--muted); cursor: pointer;
  padding: 0.2rem 0; transition: color 0.15s;
}
.filter-opt:hover { color: var(--fg); }
.filter-opt input[type=radio] { accent-color: var(--accent); width: 14px; height: 14px; flex-shrink: 0; }
.filter-opt input[type=radio]:checked + * { color: var(--fg); font-weight: 600; }

/* Colour dot swatches in sidebar */
.swatch-dot {
  display: inline-block; width: 14px; height: 14px;
  border-radius: 50%; border: 1.5px solid var(--border); flex-shrink: 0;
}
.swatch-dot--rainbow {
  background: linear-gradient(135deg, #ff6b6b, #ffd700, #00e676, #40c4ff, #ce93d8);
  border-color: transparent;
}

.clear-filters-btn {
  margin-top: 0.75rem; width: 100%;
  background: none; border: 1.5px solid var(--border); color: var(--muted);
  padding: 0.5rem; border-radius: 8px; font-size: 0.8rem; cursor: pointer;
}
.clear-filters-btn:hover { border-color: var(--terra, #e05a3a); color: var(--terra, #e05a3a); }

/* Sidebar overlay (mobile) */
.sidebar-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.5); z-index: 199;
}
.sidebar-overlay--visible { display: block; }

/* Card additions */
.product-card__meta { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.2rem; }
.product-card__theme {
  font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--accent); opacity: 0.75;
}
.see-all-link {
  display: inline-block; max-width: 100%;
  background: none; border: none; padding: 0.25rem 0 0;
  color: var(--muted); font-size: 0.72rem; cursor: pointer;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color 0.15s; text-decoration: underline; text-underline-offset: 2px;
}
.see-all-link:hover { color: var(--accent); }

/* ── Mobile sidebar ── */
@media (max-width: 900px) {
  .shop-layout { grid-template-columns: 1fr; }

  .shop-sidebar {
    position: fixed; left: 0; top: 0; bottom: 0; z-index: 200;
    width: min(320px, 85vw); border-radius: 0;
    transform: translateX(-110%); transition: transform 0.28s ease;
    max-height: 100vh;
  }
  .shop-sidebar--open { transform: translateX(0); }
  .sidebar-close { display: block; }
}

@media (max-width: 600px) {
  .shop-bar { gap: 0.5rem; }
  .shop-bar__right { flex-wrap: wrap; }
  .sort-select { font-size: 0.8rem; }
}
/* ============================================================
   Dark theme
   ============================================================ */

[data-theme=dark] {
  --cream:   #0f1117;
  --white:   #1a1d27;
  --text:    #e8e6e1;
  --muted:   #8b909a;
  --border:  #2a2d3a;
  --card:    #1a1d27;
  --navy:    #c8d4f0;
  --navy-l:  #a8b8e0;
  --sh-sm:   0 1px 4px rgba(0,0,0,.4), 0 1px 2px rgba(0,0,0,.3);
  --sh-md:   0 4px 16px rgba(0,0,0,.5), 0 2px 6px rgba(0,0,0,.3);
  --sh-lg:   0 20px 48px rgba(0,0,0,.6), 0 8px 24px rgba(0,0,0,.4);
  --accent:  #38d9d0;
  --accent-rgb: 56 217 208;
  --bg:      #0f1117;
}

[data-theme=dark] body            { background: var(--cream); color: var(--text); }
[data-theme=dark] .nav            { background: #0f1117; border-color: var(--border); }
[data-theme=dark] .hero           { background: #0a0c12; }
[data-theme=dark] .hero__tagline  { color: var(--muted); }
[data-theme=dark] .product-card   { background: var(--card); border-color: var(--border); }
[data-theme=dark] .modal__overlay,
[data-theme=dark] .cart-backdrop,
[data-theme=dark] .checkout-modal__backdrop { background: rgba(0,0,0,.75); }
[data-theme=dark] .modal__panel,
[data-theme=dark] .cart-drawer,
[data-theme=dark] .checkout-modal__panel { background: #1a1d27; border-color: var(--border); }
[data-theme=dark] input,
[data-theme=dark] select,
[data-theme=dark] textarea        { background: #12141e; border-color: var(--border); color: var(--text); }
[data-theme=dark] .search-input   { background: #12141e; }
[data-theme=dark] .shop-sidebar   { background: #1a1d27; }
[data-theme=dark] .sort-select    { background: #1a1d27; }
[data-theme=dark] .filters-toggle { background: #1a1d27; }
[data-theme=dark] .about-section  { background: #12141e; }
[data-theme=dark] .footer         { background: #0a0c12; border-color: var(--border); }
[data-theme=dark] .stripe-bar     { background: #0a0c12; }
[data-theme=dark] .btn--primary   { background: var(--teal); color: #0f1117; }

/* Theme toggle buttons */
.theme-toggles { display: flex; gap: 0.35rem; }

.theme-btn {
  display: flex; align-items: center; gap: 0.35rem;
  border: 1.5px solid var(--border); border-radius: 8px;
  padding: 0.35rem 0.7rem; font-size: 0.78rem; font-weight: 600;
  color: var(--muted); background: transparent;
  transition: all var(--ease); white-space: nowrap;
}
.theme-btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.theme-btn__label { display: none; }
.theme-btn:hover { color: var(--text); border-color: var(--text); }
.theme-btn--active { background: var(--navy); border-color: var(--navy); color: #fff; }

[data-theme=dark] .theme-btn--active { background: var(--teal); border-color: var(--teal); color: #0f1117; }

@media (min-width: 700px) {
  .theme-btn__label { display: inline; }
}
