/* ============================================================
   SP WHOLESALE — wholesale toy distribution
   Design language: industrial-confident. Ink navy + signal amber.
   Display: Archivo (tight, freighted). Body: Inter.
   ============================================================ */

:root {
  --ink: #0b0f1a;          /* near-black slate */
  --ink-2: #141a2b;        /* raised slate */
  --paper: #ffffff;        /* clean white */
  --paper-2: #f7f9fc;      /* cool off-white panel */
  --amber: #2563ff;        /* electric blue accent */
  --amber-deep: #1d4ed8;   /* deeper blue */
  --accent-soft: #eaf0ff;  /* blue tint wash */
  --steel: #5a6478;        /* cool grey text */
  --line: #e6eaf1;         /* crisp hairline */
  --line-dark: #232c42;    /* hairline on dark */
  --green: #12b886;
  --red: #f03e3e;
  --radius: 12px;
  --maxw: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: 'Archivo', sans-serif; line-height: 1.05; letter-spacing: -0.02em; }

a { color: inherit; text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 15px;
  padding: 12px 22px; border-radius: var(--radius); cursor: pointer;
  border: 2px solid transparent; transition: transform .15s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 16px 30px; font-size: 17px; }
.btn-primary { background: var(--amber); color: #fff; box-shadow: 0 6px 20px -6px rgba(37,99,255,.5); }
.btn-primary:hover { background: var(--amber-deep); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover { color: var(--amber-deep); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.85); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: 'Archivo'; font-weight: 900; }
.logo-mark {
  display: grid; place-items: center; width: 38px; height: 38px;
  background: var(--amber); color: #fff; border-radius: 9px;
  font-size: 16px; letter-spacing: -0.04em;
}
.logo-text { font-size: 19px; line-height: 1; display: flex; flex-direction: column; }
.logo-text small { font-family: 'Inter'; font-weight: 600; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); margin-top: 3px; }
.main-nav { display: flex; gap: 26px; margin-left: 8px; }
.main-nav a { font-size: 15px; font-weight: 500; color: var(--ink); transition: color .2s; }
.main-nav a:hover { color: var(--amber-deep); }
.header-actions { margin-left: auto; display: flex; gap: 12px; align-items: center; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); transition: .3s; }

/* ---------- Hero ---------- */
.hero { padding: 80px 0 70px; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.25fr .85fr; gap: 60px; align-items: center; }
.eyebrow { font-family: 'Archivo'; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--amber-deep); margin-bottom: 18px; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 900; }
.hero .lede { font-size: 19px; color: var(--steel); margin: 22px 0 30px; max-width: 38ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { list-style: none; display: flex; gap: 28px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust li { font-size: 14px; color: var(--steel); }
.hero-trust strong { display: block; font-family: 'Archivo'; font-size: 20px; color: var(--ink); font-weight: 800; }

.hero-visual { position: relative; }
.hero-img {
  width: 100%; aspect-ratio: 4/3.4; object-fit: cover; border-radius: 18px;
  box-shadow: 0 40px 80px -30px rgba(11,15,26,.45); display: block;
}
.hero-badge {
  position: absolute; bottom: -18px; left: -18px;
  background: linear-gradient(150deg, #141a2b 0%, #0b0f1a 100%);
  color: #fff; padding: 16px 22px; border-radius: 14px;
  box-shadow: 0 20px 40px -18px rgba(11,15,26,.6);
  border: 1px solid rgba(255,255,255,.08);
}
.hero-badge-qty { display: block; font-family: 'Archivo'; font-weight: 900; font-size: 28px; color: #5b8bff; line-height: 1; }
.hero-badge-label { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #aeb8cf; margin-top: 4px; }

/* ---------- Brand bar ---------- */
.brandbar { background: linear-gradient(180deg, #0b0f1a, #141a2b); color: var(--paper); padding: 32px 0; }
.brandbar-label { text-align: center; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #5b8bff; margin-bottom: 16px; }
.brandbar-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 38px; }
.brandbar-list li { font-family: 'Archivo'; font-weight: 700; font-size: 18px; color: var(--paper); opacity: .72; transition: opacity .2s; }
.brandbar-list li:hover { opacity: 1; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 72px 24px; }
.feature-num { font-family: 'Archivo'; font-weight: 900; font-size: 15px; color: var(--amber-deep); margin-bottom: 14px; letter-spacing: .05em; }
.feature h3 { font-size: 20px; margin-bottom: 10px; }
.feature p { font-size: 15px; color: var(--steel); }

/* ---------- Section title ---------- */
.section-title { font-size: clamp(30px, 4vw, 42px); font-weight: 800; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 34px; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-family: 'Archivo'; font-weight: 700; color: var(--amber-deep); }
.link-arrow:hover { color: var(--ink); }

/* ---------- How to ---------- */
.howto { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 72px 0; }
.howto .section-title { margin-bottom: 40px; }
.howto-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.howto-step { padding: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.step-index { font-family: 'Archivo'; font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--amber-deep); }
.howto-step h3 { font-size: 18px; margin: 12px 0 8px; }
.howto-step p { font-size: 14.5px; color: var(--steel); }

/* ---------- Catalog ---------- */
.catalog-preview { padding: 72px 0; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s var(--ease), box-shadow .2s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -22px rgba(14,23,38,.4); }
.product-thumb { width: 100%; height: 240px; background: #fff; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); overflow: hidden; padding: 14px; box-sizing: border-box; }
.product-thumb img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.product-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-brand { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--amber-deep); font-weight: 700; }
.product-name { font-family: 'Archivo'; font-weight: 700; font-size: 15px; line-height: 1.2; }
.product-meta { font-size: 13px; color: var(--steel); margin-top: auto; }
.product-price { font-family: 'Archivo'; font-weight: 800; font-size: 18px; }
.product-price small { font-weight: 500; font-size: 12px; color: var(--steel); }
.product-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 20px; text-transform: uppercase; letter-spacing: .04em; }
.tag-fnsku { background: #fff0f0; color: var(--red); border: 1px solid #ffd4d4; }
.tag-noamazon { background: var(--red); color: #fff; border: 1px solid var(--red); font-weight: 800; }
.tag-sealed { background: var(--accent-soft); color: var(--amber-deep); border: 1px solid #cfddff; }
.fnsku-flag { background: #fff0f0; color: var(--red); padding: 2px 8px; border-radius: 5px; font-weight: 700; font-size: 13px; white-space: nowrap; }

/* ---------- Disclosure ---------- */
.disclosure { padding: 20px 24px 72px; }
.disclosure-box { display: flex; gap: 20px; background: linear-gradient(150deg, #141a2b, #0b0f1a); color: var(--paper); padding: 32px 36px; border-radius: 16px; align-items: flex-start; border: 1px solid rgba(255,255,255,.06); }
.disclosure-mark { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--amber); color: #fff; display: grid; place-items: center; font-family: 'Archivo'; font-weight: 900; font-size: 22px; }
.disclosure-box h3 { font-size: 19px; margin-bottom: 8px; }
.disclosure-box p { font-size: 15px; color: #aeb8cf; }

/* ---------- Final CTA ---------- */
.cta-final { background: linear-gradient(135deg, #141a2b 0%, #0b0f1a 60%, #16224a 100%); padding: 64px 0; position: relative; overflow: hidden; }
.cta-final-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-final h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 900; color: #fff; }
.cta-final p { color: #aeb8cf; font-size: 17px; margin-top: 8px; max-width: 50ch; }
.contact-line { font-weight: 500; color: #cdd5e6 !important; }
.contact-line a { color: #5b8bff; text-decoration: none; }
.contact-line a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #aab6cc; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 36px; border-bottom: 1px solid var(--line-dark); }
.logo--footer .logo-text { color: var(--paper); }
.footer-blurb { font-size: 14px; margin-top: 16px; max-width: 34ch; }
.footer-grid h4 { color: var(--paper); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.footer-grid a { display: block; font-size: 14px; padding: 5px 0; color: #aab6cc; transition: color .2s; }
.footer-grid a:hover { color: var(--amber); }
.footer-base { display: flex; justify-content: space-between; padding-top: 22px; font-size: 13px; color: #7e8aa3; flex-wrap: wrap; gap: 10px; }

/* ---------- Forms (register/login) ---------- */
.page-wrap { padding: 56px 0 80px; }
.form-shell { max-width: 640px; margin: 0 auto; background: var(--paper-2); border: 1px solid var(--line); border-radius: 16px; padding: 40px; }
.form-shell.narrow { max-width: 440px; }
.form-shell h1 { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.form-intro { color: var(--steel); margin-bottom: 28px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px;
  font-family: inherit; font-size: 15px; background: var(--paper); transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-hint { font-size: 12.5px; color: var(--steel); margin-top: 5px; }
.upload-box { border: 2px dashed var(--line); border-radius: 10px; padding: 24px; text-align: center; color: var(--steel); cursor: pointer; transition: border-color .2s; }
.upload-box:hover { border-color: var(--amber); }
.form-foot { margin-top: 24px; }
.form-note { font-size: 13px; color: var(--steel); text-align: center; margin-top: 16px; }
.backend-flag { background: var(--accent-soft); border: 1px solid #cfddff; border-radius: 8px; padding: 12px 14px; font-size: 13px; color: #2a4a9e; margin-top: 18px; }

/* ---------- Catalog page ---------- */
.catalog-head { padding: 48px 0 28px; border-bottom: 1px solid var(--line); }
.catalog-head h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 900; }
.catalog-head p { color: var(--steel); font-size: 17px; margin-top: 10px; }
.catalog-layout { display: grid; grid-template-columns: 230px 1fr; gap: 36px; padding: 36px 0 80px; }
.filters { position: sticky; top: 90px; align-self: start; }
.filter-group { margin-bottom: 26px; }
.filter-group h4 { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
.filter-group label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--steel); padding: 4px 0; cursor: pointer; }
.catalog-results .product-grid { grid-template-columns: repeat(3, 1fr); }
.results-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.results-count { font-size: 14px; color: var(--steel); }

/* ---------- Bulk pricing table on card ---------- */
.bulk-tiers { font-size: 12px; color: var(--steel); border-top: 1px dashed var(--line); padding-top: 8px; margin-top: 4px; }
.bulk-tiers span { display: inline-block; margin-right: 10px; }
.bulk-tiers b { color: var(--green); font-family: 'Archivo'; }
.box-note { font-size: 11.5px; color: var(--amber-deep); background: var(--accent-soft); border-radius: 6px; padding: 4px 8px; display: inline-block; font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .features, .howto-steps, .product-grid, .catalog-results .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
}
@media (max-width: 680px) {
  .main-nav, .header-actions { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: var(--paper); padding: 18px 24px; border-bottom: 1px solid var(--line); gap: 4px; }
  .main-nav.open a { padding: 10px 0; }
  .features, .howto-steps, .product-grid, .catalog-results .product-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CART / PRODUCT PAGE / CHECKOUT — added for store functionality
   ============================================================ */

/* Cart badge in header */
.cart-btn { position: relative; }
.cart-count {
  display: none; place-items: center; min-width: 20px; height: 20px; padding: 0 6px;
  background: #fff; color: var(--amber); border-radius: 20px; font-size: 12px;
  font-weight: 800; margin-left: 6px; vertical-align: middle;
}

/* Product card: clickable link + add button */
.product-card { position: relative; }
.product-card-link { display: flex; flex-direction: column; flex: 1; color: inherit; }
.card-add {
  margin: 0 16px 16px; padding: 10px; border: 1px solid var(--amber);
  background: var(--accent-soft); color: var(--amber-deep); font-family: 'Archivo';
  font-weight: 700; font-size: 13px; border-radius: 8px; cursor: pointer; transition: .2s;
}
.card-add:hover { background: var(--amber); color: #fff; }

/* Breadcrumb */
.breadcrumb { padding: 20px 0 0; font-size: 13px; color: var(--steel); }
.breadcrumb a { color: var(--amber-deep); }

/* Product detail page */
.product-page { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding: 30px 24px 70px; }
.pp-image { background: #fff; border: 1px solid var(--line); border-radius: 16px; height: 480px; display: flex; align-items: center; justify-content: center; position: sticky; top: 90px; overflow: hidden; padding: 24px; box-sizing: border-box; }
.pp-image img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; cursor: zoom-in; }

/* Gallery wrapper + thumbnails */
.pp-gallery { position: sticky; top: 90px; align-self: start; }
.pp-gallery .pp-image { position: static; }
.pp-zoom-btn { position: absolute; bottom: 14px; right: 14px; width: 38px; height: 38px; border-radius: 9px; border: 1px solid var(--line); background: rgba(255,255,255,.92); color: var(--ink); font-size: 18px; cursor: pointer; display: grid; place-items: center; transition: .15s; }
.pp-zoom-btn:hover { background: var(--amber); color: #fff; border-color: var(--amber); }
.pp-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pp-thumb { width: 70px; height: 70px; border: 1px solid var(--line); border-radius: 9px; background: #fff; padding: 6px; cursor: pointer; display: grid; place-items: center; transition: .15s; overflow: hidden; }
.pp-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pp-thumb:hover { border-color: var(--amber); }
.pp-thumb.active { border-color: var(--amber); border-width: 2px; box-shadow: 0 0 0 3px var(--accent-soft); }

/* Lightbox / enlarge overlay */
.lightbox { position: fixed; inset: 0; background: rgba(11,15,26,.86); display: none; align-items: center; justify-content: center; z-index: 1000; padding: 40px; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: 8px; background: #fff; }
.lightbox-close { position: absolute; top: 22px; right: 28px; width: 46px; height: 46px; border-radius: 50%; border: none; background: rgba(255,255,255,.15); color: #fff; font-size: 28px; cursor: pointer; line-height: 1; transition: .15s; }
.lightbox-close:hover { background: rgba(255,255,255,.3); }
.pp-image--empty span { font-family: 'Archivo'; font-weight: 800; color: #c9c2b4; text-align: center; font-size: 15px; }
.pp-info h1 { font-size: clamp(26px, 4vw, 38px); font-weight: 900; margin: 6px 0; }
.pp-specs { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin: 22px 0; }
.pp-specs > div { display: flex; justify-content: space-between; padding: 12px 16px; background: var(--paper-2); font-size: 14px; }
.pp-specs span { color: var(--steel); }
.pp-specs strong { font-family: 'Archivo'; }
.pp-bulk { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 14px; }
.pp-bulk th { text-align: left; font-family: 'Archivo'; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--steel); padding: 8px 12px; border-bottom: 2px solid var(--line); }
.pp-bulk td { padding: 10px 12px; border-bottom: 1px solid var(--line); }
.pp-bulk tbody tr:hover { background: var(--accent-soft); }

/* Order box on product page */
.pp-order { background: var(--paper-2); border: 1px solid var(--line); border-radius: 14px; padding: 22px; margin-bottom: 26px; }
.qty-control { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.qty-btn { width: 40px; height: 40px; border: 1px solid var(--line); background: #fff; border-radius: 8px; font-size: 20px; cursor: pointer; font-family: 'Archivo'; transition: .15s; }
.qty-btn:hover { border-color: var(--amber); color: var(--amber); }
.qty-control input { width: 70px; height: 40px; text-align: center; border: 1px solid var(--line); border-radius: 8px; font-size: 16px; font-family: 'Archivo'; font-weight: 700; }
.qty-label { font-size: 14px; color: var(--steel); }
.pp-line { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; padding-top: 4px; }
.pp-line #pp-unit { font-size: 13px; color: var(--steel); }
.pp-total { font-family: 'Archivo'; font-weight: 900; font-size: 26px; }
.pp-min-note { font-size: 12.5px; color: var(--steel); margin-top: 12px; text-align: center; }
.pp-desc h3 { font-size: 18px; margin-bottom: 8px; }
.pp-desc p { color: var(--steel); font-size: 15px; }

.related { padding-bottom: 70px; }

/* Cart page */
.cart-page { padding: 30px 24px 70px; }
.cart-page h1 { font-size: clamp(30px, 5vw, 44px); font-weight: 900; margin-bottom: 28px; }
.cart-empty { text-align: center; padding: 60px 0; }
.cart-empty p { color: var(--steel); margin-bottom: 20px; font-size: 18px; }
.cart-grid { display: grid; grid-template-columns: 1fr 340px; gap: 36px; align-items: start; }
.cart-row { display: grid; grid-template-columns: 80px 1fr auto auto auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { width: 80px; height: 80px; background: #fff; border: 1px solid var(--line); border-radius: 8px; display: grid; place-items: center; padding: 8px; }
.cart-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cart-thumb span { font-family: 'Archivo'; font-weight: 700; font-size: 12px; color: #c9c2b4; }
.cart-row-name { font-family: 'Archivo'; font-weight: 700; font-size: 15px; display: block; }
.cart-row-meta { font-size: 12.5px; color: var(--steel); }
.cart-row-qty { display: flex; align-items: center; gap: 6px; }
.cart-row-qty .qty-btn { width: 32px; height: 32px; font-size: 16px; }
.cart-row-qty input { width: 50px; height: 32px; text-align: center; border: 1px solid var(--line); border-radius: 6px; font-family: 'Archivo'; font-weight: 700; }
.cart-row-boxlabel { font-size: 12px; color: var(--steel); }
.cart-row-total { font-family: 'Archivo'; font-weight: 800; font-size: 16px; min-width: 80px; text-align: right; }
.cart-remove { background: none; border: none; font-size: 22px; color: var(--steel); cursor: pointer; line-height: 1; padding: 4px; }
.cart-remove:hover { color: var(--red); }
.cart-summary { background: var(--paper-2); border: 1px solid var(--line); border-radius: 14px; padding: 24px; position: sticky; top: 90px; }
.cart-summary h2 { font-size: 20px; margin-bottom: 16px; }
.cart-sum-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.cart-sum-row.muted { color: var(--steel); }
.cart-sum-row.total { border-top: 2px solid var(--line); margin-top: 8px; padding-top: 14px; font-family: 'Archivo'; font-weight: 800; font-size: 17px; }
.cart-min-warn { background: #fff7ed; border: 1px solid #fcd9a8; color: #9a5b14; padding: 12px; border-radius: 8px; font-size: 13px; margin-top: 14px; text-align: center; }
.cart-continue { display: block; text-align: center; margin-top: 14px; font-size: 14px; color: var(--amber-deep); }

/* Checkout page */
.checkout-page { padding: 30px 24px 70px; }
.checkout-page h1 { font-size: clamp(28px, 5vw, 42px); font-weight: 900; margin-bottom: 28px; }
.checkout-grid { display: grid; grid-template-columns: 1fr 340px; gap: 36px; align-items: start; }
.co-block { background: var(--paper-2); border: 1px solid var(--line); border-radius: 14px; padding: 24px; margin-bottom: 22px; }
.co-block h2 { font-size: 19px; margin-bottom: 16px; }
.ship-quote { margin-top: 14px; font-size: 14px; }
.ship-ok { display: block; color: var(--ink); }
.ship-note, .ship-err { display: block; font-size: 12.5px; color: var(--steel); margin-top: 4px; }
.ship-err { color: var(--red); }
.payment-slot { margin-bottom: 12px; }
.payment-placeholder { border: 2px dashed var(--line); border-radius: 10px; padding: 22px; color: var(--steel); }
.payment-placeholder strong { color: var(--ink); display: block; margin-bottom: 6px; }
.payment-placeholder p { font-size: 13.5px; }
.co-invoice { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--steel); }
.co-summary { background: var(--paper-2); border: 1px solid var(--line); border-radius: 14px; padding: 24px; position: sticky; top: 90px; }
.co-summary h2 { font-size: 20px; margin-bottom: 16px; }
.co-line { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; padding: 6px 0; }
.co-lines { border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 10px; }
.co-sum-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.co-sum-row.total { border-top: 2px solid var(--line); margin-top: 8px; padding-top: 12px; font-family: 'Archivo'; font-weight: 800; font-size: 18px; }
.co-done { text-align: center; padding: 10px; }
.co-done-check { width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 30px; margin: 0 auto 14px; }
.co-done h2 { font-size: 22px; margin-bottom: 8px; }
.co-done p { font-size: 14px; color: var(--steel); margin-bottom: 6px; }

/* Toast */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; padding: 13px 22px; border-radius: 10px;
  font-size: 14px; font-weight: 500; opacity: 0; pointer-events: none; transition: .3s var(--ease);
  z-index: 200; box-shadow: 0 12px 30px -10px rgba(0,0,0,.4);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 940px) {
  .product-page { grid-template-columns: 1fr; gap: 30px; }
  .pp-image { position: static; }
  .cart-grid, .checkout-grid { grid-template-columns: 1fr; }
  .cart-summary, .co-summary { position: static; }
}
@media (max-width: 680px) {
  .cart-row { grid-template-columns: 60px 1fr auto; grid-template-areas: "thumb info remove" "thumb qty total"; gap: 10px; }
  .cart-thumb { grid-area: thumb; width: 60px; height: 60px; }
  .cart-row-info { grid-area: info; }
  .cart-row-qty { grid-area: qty; }
  .cart-row-total { grid-area: total; }
  .cart-remove { grid-area: remove; justify-self: end; }
}

/* Amazon restriction banner on product page */
.noamazon-banner {
  background: #fff0f0; border: 1px solid #ffc9c9; border-left: 4px solid var(--red);
  color: #c01818; padding: 12px 16px; border-radius: 8px; font-size: 13.5px; margin: 14px 0;
}
.noamazon-banner strong { display: block; margin-bottom: 2px; }

/* Catalog search box */
.catalog-search { margin-bottom: 18px; }
.catalog-search input {
  width: 100%; padding: 14px 18px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 15px; background: var(--paper-2); transition: border-color .2s, box-shadow .2s;
}
.catalog-search input:focus {
  outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px var(--accent-soft);
}

/* Legal / policy / FAQ pages */
.legal-page { max-width: 820px; padding: 40px 24px 80px; }
.legal-page h1 { font-size: clamp(30px, 5vw, 44px); font-weight: 900; margin-bottom: 8px; }
.legal-updated { color: var(--steel); font-size: 14px; margin-bottom: 28px; }
.legal-page h2 { font-size: 20px; margin: 30px 0 10px; }
.legal-page p { color: #3a4254; font-size: 15.5px; margin-bottom: 14px; line-height: 1.7; }
.legal-page a { color: var(--amber-deep); text-decoration: underline; }
.legal-callout { background: #fff0f0; border: 1px solid #ffc9c9; border-left: 4px solid var(--red); border-radius: 8px; padding: 16px 18px; margin-bottom: 24px; font-size: 15.5px; color: #9a2020; }
.legal-callout strong { color: var(--red); }
.legal-disclaimer { margin-top: 36px; padding: 16px 18px; background: var(--accent-soft); border: 1px solid #cfddff; border-radius: 8px; font-size: 13px; color: #2a4a9e; }

/* Footer policy links row */
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-bottom: 16px; }
.footer-links a { color: #aab6cc; font-size: 13.5px; transition: color .2s; }
.footer-links a:hover { color: var(--amber); }

/* ============================================================
   SEO landing pages, brands hub, blog (added 16 Nov 2026)
   ============================================================ */
.pp-desc h2 { font-size: 18px; margin-bottom: 8px; }
.landing-hero { background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 60%, #1a2a5e 100%); color: #fff; padding: 10px 0 56px; }
.landing-hero .breadcrumb { color: #9aa6c0; padding-bottom: 28px; }
.landing-hero .breadcrumb a { color: #8fb0ff; }
.landing-hero .eyebrow { color: #8fb0ff; }
.landing-hero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 900; max-width: 22ch; margin-bottom: 18px; }
.landing-lede { font-size: 18px; color: #c4cbe0; max-width: 60ch; }
.landing-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 26px; margin: 6px 0 28px; color: #c4cbe0; font-size: 15px; }
.landing-facts strong { color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.landing-body { padding: 48px 24px 80px; }
.landing-intro { max-width: 820px; margin-bottom: 56px; }
.landing-products { margin-bottom: 56px; }
.landing-products .section-title { margin-bottom: 24px; }
.prose h2 { font-size: 26px; font-weight: 800; margin: 36px 0 12px; }
.prose h3 { font-size: 19px; font-weight: 700; margin: 26px 0 8px; }
.prose p, .prose li { color: #3a4254; font-size: 16.5px; line-height: 1.75; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 18px 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--amber-deep); text-decoration: underline; text-underline-offset: 2px; }
.prose a.btn { text-decoration: none; }
.prose a.btn-primary { color: #fff; }
.faq-block { max-width: 820px; }
.faq-item { border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; margin-bottom: 10px; background: #fff; }
.faq-item summary { font-weight: 700; cursor: pointer; font-size: 16px; list-style: none; }
.faq-item summary::after { content: '+'; float: right; color: var(--amber-deep); font-weight: 800; }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { margin: 12px 0 0; }
.related-guides { max-width: 820px; margin-top: 48px; padding: 24px 28px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); }
.related-guides h2 { font-size: 20px; margin-bottom: 12px; }
.related-guides ul { list-style: none; }
.related-guides li { padding: 8px 0; border-top: 1px solid var(--line); }
.related-guides li:first-child { border-top: 0; }
.related-guides a { color: var(--amber-deep); font-weight: 600; }
.brand-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.brand-tile { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.brand-tile:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(11,15,26,.08); }
.brand-tile-img { height: 190px; display: flex; align-items: center; justify-content: center; background: var(--paper-2); padding: 18px; }
.brand-tile-img img { max-height: 100%; max-width: 100%; object-fit: contain; }
.brand-tile-body { padding: 18px 20px 22px; }
.brand-tile-body h2 { font-size: 22px; font-weight: 800; }
.brand-tile-body p { color: var(--steel); font-size: 14px; margin: 4px 0 10px; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.blog-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(11,15,26,.08); }
.blog-card-img { height: 200px; background: var(--paper-2); display: flex; align-items: center; justify-content: center; padding: 16px; }
.blog-card-img img { max-height: 100%; max-width: 100%; object-fit: contain; }
.blog-card-body { padding: 20px 22px 24px; }
.blog-card-body h2 { font-size: 20px; font-weight: 800; line-height: 1.25; margin-bottom: 10px; }
.blog-card-body p { color: var(--steel); font-size: 14.5px; margin-bottom: 12px; }
.article-wrap { padding-bottom: 80px; }
.article { max-width: 760px; padding-top: 24px; }
.article h1 { font-size: clamp(32px, 4.6vw, 48px); font-weight: 900; line-height: 1.1; margin-bottom: 14px; }
.article-meta { color: var(--steel); font-size: 14px; }
.quick-answer { background: var(--accent-soft); border: 1px solid #cfddff; border-left: 4px solid var(--amber); border-radius: 10px; padding: 18px 22px; margin: 26px 0; }
.quick-answer strong { display: block; font-family: 'Archivo'; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; color: var(--amber-deep); margin-bottom: 6px; }
.quick-answer p { margin: 0; color: var(--ink); }
.article-figure { margin: 10px 0 24px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 14px; height: 360px; display: flex; align-items: center; justify-content: center; padding: 20px; }
.article-figure img { max-height: 100%; max-width: 100%; object-fit: contain; }
.article-cta { max-width: 760px; margin-top: 40px; padding: 28px; border-radius: 14px; background: linear-gradient(135deg, var(--ink), #1a2a5e); color: #fff; }
.article-cta h2 { font-size: 24px; margin-bottom: 8px; }
.article-cta p { color: #c4cbe0; margin-bottom: 18px; }
.article-cta .btn { margin: 0 8px 8px 0; }
.article-cta .btn-ghost { color: #fff; }
.guide-table { width: 100%; border-collapse: collapse; margin: 8px 0 22px; font-size: 15px; }
.guide-table th, .guide-table td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.guide-table th { background: var(--paper-2); font-weight: 700; }
.formula { background: var(--paper-2); border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; font-weight: 600; color: var(--ink) !important; }
.brandbar-list a { color: inherit; }
.brandbar-list a:hover { color: var(--amber-deep); }
.guides-strip { padding: 70px 0; background: var(--paper-2); border-top: 1px solid var(--line); }
.guides-strip ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin-top: 24px; }
.guides-strip li a { display: block; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; font-weight: 700; color: var(--ink); }
.guides-strip li a:hover { border-color: var(--amber); color: var(--amber-deep); }
@media (max-width: 760px) { .guide-table { font-size: 13px; } .article-figure { height: 260px; } }

/* Gallery navigation: prev/next arrows, counter (main image + lightbox) */
.pp-gallery .pp-image { position: relative; }
.pp-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.94); color: var(--ink); font-size: 30px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 4px; box-shadow: 0 2px 10px rgba(11,15,26,.12); transition: .15s; z-index: 2; }
.pp-nav:hover { background: var(--amber); color: #fff; border-color: var(--amber); }
.pp-prev { left: 12px; }
.pp-next { right: 12px; }
.pp-count { position: absolute; bottom: 14px; left: 14px; background: rgba(11,15,26,.7); color: #fff; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(11,15,26,.6); color: #fff; font-size: 38px; z-index: 2; line-height: 1; cursor: pointer; padding: 0 0 5px; transition: .15s; }
.lightbox-nav:hover { background: rgba(11,15,26,.85); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 14px; font-weight: 600; }
@media (max-width: 720px) {
  .pp-nav { width: 38px; height: 38px; font-size: 26px; }
  .lightbox { padding: 12px; }
  .lightbox-nav { width: 44px; height: 44px; font-size: 30px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}
