/* ============================================================
   C3DP — Main Stylesheet
   Design: Signal / Blue Nav
   Brand: #2487ce blue · #a3e635 lime · white body
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #f8f9fa;
  color: #111;
  line-height: 1.5;
}

html, body { overflow-x: hidden; }

img {
  max-width: 100%;
  display: block;
}

a {
  color: #2487ce;
  text-decoration: none;
}

a:hover {
  color: #1a6aad;
}

/* ── Site Header (PS-01: sticky) ──────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow .2s;
}

.site-header.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,.18);
}

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  background: #2487ce;
  display: flex;
  align-items: center;
  padding: 0 48px;
  height: 60px;
  gap: 0;
}

.logo-group {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 48px;
  width: auto;
  max-width: none;
  display: block;
  flex-shrink: 0;
}

.logo-img--footer {
  height: 64px;
}

.logo-name {
  font-size: 25px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .04em;
  white-space: nowrap;
  line-height: 1.2;
}

.nav-divider {
  width: 1px;
  height: 30px;
  background: rgba(255,255,255,.2);
  margin: 0 32px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  display: contents;
}

.nav-links a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 0 18px;
  height: 60px;
  display: flex;
  align-items: center;
  transition: color .15s;
  border-right: 1px solid rgba(255,255,255,.15);
}

.nav-links a:first-child {
  border-left: 1px solid rgba(255,255,255,.15);
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a.active {
  border-bottom: 2px solid #a3e635;
}

.nav-right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.nav-tag {
  border: 1.5px solid rgba(255,255,255,.4);
  color: #fff;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 2px;
}

.nav-account {
  color: rgba(255,255,255,.7);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .15s;
}

.nav-account:hover {
  color: #fff;
}

.nav-account--logout {
  color: rgba(255,255,255,.45);
  font-size: 11px;
  margin-left: 2px;
}
.nav-account--logout:hover { color: rgba(255,255,255,.8); }

.nav-cta {
  background: #a3e635;
  color: #111;
  padding: 8px 20px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .15s;
  white-space: nowrap;
}

.nav-cta:hover {
  background: #bef264;
  color: #111;
}

/* ── PS-01: Cart Icon + Badge ─────────────────────────────── */
.nav-cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  transition: color .15s;
}

.nav-cart:hover {
  color: #fff;
}

.nav-cart-icon {
  width: 22px;
  height: 22px;
}

.cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: #a3e635;
  color: #111;
  font-size: 9px;
  font-weight: 900;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
  letter-spacing: 0;
  transition: transform .15s;
}

.cart-badge.badge-hidden {
  display: none;
}

/* ── PS-01: Hamburger ─────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  transition: all .2s;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── PS-01: Mobile Nav Panel ──────────────────────────────── */
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #1a6aad;
  z-index: 999;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.mobile-nav.open {
  max-height: 500px;
}

/* Prevent background scroll when mobile nav is open */
body.nav-open { overflow: hidden; }

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav a {
  display: block;
  padding: 14px 24px;
  color: rgba(255,255,255,.8);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.1);
  transition: color .15s, background .15s;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: #fff;
  background: rgba(255,255,255,.08);
}

/* ── Ticker ───────────────────────────────────────────────── */
.ticker {
  background: #1a6aad;
  padding: 8px 0;
  display: flex;
  gap: 48px;
  font-size: 11px;
  color: rgba(255,255,255,.65);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
}

.ticker span {
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker em {
  color: #a3e635;
  font-style: normal;
  font-weight: 900;
}

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb {
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  padding: 10px 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #94a3b8;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.breadcrumb a {
  color: #2487ce;
  font-weight: 600;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #1a6aad;
}

.breadcrumb span {
  color: #cbd5e1;
}

/* ── Buttons ──────────────────────────────────────────────── */
/* Generic .btn + modifier aliases so cart/checkout/blog can use btn--primary etc. */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.btn--primary { background: #a3e635; color: #111; }
.btn--primary:hover { background: #bef264; color: #111; }
.btn--secondary { background: #fff; color: #2487ce; border: 1.5px solid #2487ce; padding: 13px 31px; }
.btn--secondary:hover { background: #2487ce; color: #fff; }

/* Badge: delivery mode + licence (used in cart rows) */
.badge-mode {
  display: inline-block;
  padding: 2px 7px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.badge-mode--digital  { background: #f7fee7; color: #65a30d; }
.badge-mode--physical { background: #eff6ff; color: #2487ce; }
.badge-mode--both     { background: #f0fdf4; color: #16a34a; }

.btn-lime {
  background: #a3e635;
  color: #111;
  padding: 14px 32px;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .15s;
  display: inline-block;
  white-space: nowrap;
}

.btn-lime:hover {
  background: #bef264;
  color: #111;
}

.btn-blue {
  background: #2487ce;
  color: #fff;
  padding: 14px 32px;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .15s;
  display: inline-block;
  white-space: nowrap;
}

.btn-blue:hover {
  background: #1a6aad;
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #2487ce;
  padding: 14px 24px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1.5px solid #2487ce;
  text-decoration: none;
  cursor: pointer;
  transition: all .15s;
  display: inline-block;
}

.btn-ghost:hover {
  background: #2487ce;
  color: #fff;
}

.btn-ghost-white {
  background: transparent;
  color: rgba(255,255,255,.8);
  padding: 14px 24px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.35);
  text-decoration: none;
  cursor: pointer;
  transition: all .15s;
  display: inline-block;
}

.btn-ghost-white:hover {
  border-color: #fff;
  color: #fff;
}

/* ── Homepage Hero ────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  border-bottom: 1.5px solid #e2e8f0;
}

.hero-left {
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  border-right: 1.5px solid #e2e8f0;
  background: #fff;
}

.hero-number {
  font-size: 11px;
  color: #cbd5e1;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-number::before {
  content: '';
  width: 30px;
  height: 1px;
  background: #cbd5e1;
}

.hero-number span {
  color: #2487ce;
}

.hero-h1 {
  font-size: 60px;
  font-weight: 900;
  line-height: .95;
  color: #0f172a;
  letter-spacing: -.04em;
  text-transform: uppercase;
}

.hero-h1 em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1.5px #2487ce;
}

.hero-h1 mark {
  background: none;
  color: #a3e635;
}

.hero-sub {
  font-size: 15px;
  color: #64748b;
  line-height: 1.7;
  max-width: 400px;
  border-left: 3px solid #2487ce;
  padding-left: 16px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-right {
  position: relative;
  overflow: hidden;
  background: #f8f9fa;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 39px, #e8ecf0 39px, #e8ecf0 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, #e8ecf0 39px, #e8ecf0 40px);
}

.hero-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(36,135,206,.07) 0%, transparent 70%);
}

/* ── Hero Cards (floating product previews) ───────────────── */
.hero-cards {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 300px;
  z-index: 1;
}

.h-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all .2s;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.h-card:hover {
  border-color: #a3e635;
  box-shadow: 0 4px 16px rgba(163,230,53,.15);
}

.h-card:first-child {
  border-color: #2487ce;
  box-shadow: 0 4px 16px rgba(36,135,206,.12);
}

.hc-box {
  width: 42px;
  height: 42px;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #f8f9fa;
  font-size: 20px;
}

.h-card:first-child .hc-box {
  border-color: #dbeafe;
  background: #eff6ff;
}

.hc-info {
  flex: 1;
  min-width: 0;
}

.hc-name {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  letter-spacing: .04em;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hc-meta {
  font-size: 11px;
  color: #94a3b8;
}

.hc-price {
  font-size: 16px;
  font-weight: 900;
  color: #2487ce;
  flex-shrink: 0;
}

/* ── Specbar (stats strip) ────────────────────────────────── */
.specbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-top: 1.5px solid #e2e8f0;
  border-bottom: 1.5px solid #e2e8f0;
}

.spec {
  padding: 24px 32px;
  border-right: 1.5px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.spec:last-child {
  border-right: none;
}

.spec-n {
  font-size: 32px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -.03em;
}

.spec-n span {
  color: #2487ce;
}

.spec-l {
  font-size: 11px;
  color: #94a3b8;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ── Section headers ──────────────────────────────────────── */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  border-bottom: 2px solid #2487ce;
  padding-bottom: 16px;
}

.section-title {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.section-title span {
  color: #2487ce;
}

.section-link {
  font-size: 12px;
  color: #2487ce;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .15s;
}

.section-link:hover {
  color: #1a6aad;
}

/* ── Product Grid ─────────────────────────────────────────── */
.products-section {
  padding: 48px;
  background: #f8f9fa;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #e2e8f0;
}

.product-card {
  background: #fff;
  padding: 24px;
  cursor: pointer;
  transition: background .2s;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.product-card:hover {
  background: #eff6ff;
}

.product-card:hover .pc-img-wrap {
  border-color: #2487ce;
}

.pc-img-wrap {
  aspect-ratio: 1 / 1;
  width: 100%;
  border: 1px solid #f1f5f9;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s;
  font-size: 52px;
  overflow: hidden;
}

.pc-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Badges ───────────────────────────────────────────────── */
.badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 8px;
  display: inline-block;
}

.badge-blue  { background: #eff6ff; color: #2487ce; }
.badge-lime  { background: #f7fee7; color: #65a30d; }
.badge-new   { background: #2487ce; color: #fff; }
.badge-sale  { background: #fef2f2; color: #dc2626; }

.pc-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.pc-type {
  font-size: 10px;
  color: #94a3b8;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
}

.pc-type.lime { color: #65a30d; }

.pc-name {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.pc-meta {
  font-size: 11px;
  color: #94a3b8;
  letter-spacing: .03em;
}

.pc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}

.pc-price {
  font-size: 20px;
  font-weight: 900;
  color: #2487ce;
}

.pc-price-old {
  font-size: 12px;
  color: #cbd5e1;
  text-decoration: line-through;
  margin-left: 4px;
}

.pc-btn {
  background: #a3e635;
  color: #111;
  border: none;
  width: 34px;
  height: 34px;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  flex-shrink: 0;
}

.pc-btn:hover {
  background: #bef264;
}

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner {
  background: #fff;
  border-top: 1.5px solid #e2e8f0;
  border-bottom: 1.5px solid #e2e8f0;
  padding: 56px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.cta-banner h2 {
  font-size: 28px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -.02em;
  max-width: 460px;
  text-transform: uppercase;
}

.cta-banner h2 span {
  color: #2487ce;
}

.cta-banner p {
  color: #64748b;
  margin-top: 8px;
  font-size: 14px;
}

/* ── Ticker animation ─────────────────────────────────────── */
.ticker-inner {
  display: flex;
  gap: 48px;
  animation: ticker-scroll 30s linear infinite;
  white-space: nowrap;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── PS-02: Trust Strip ───────────────────────────────────── */
.trust-strip {
  display: flex;
  justify-content: center;
  gap: 0;
  background: #fff;
  border-bottom: 1.5px solid #e2e8f0;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 32px;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  letter-spacing: .04em;
  border-right: 1px solid #e2e8f0;
}

.trust-item:last-child { border-right: none; }

.trust-item svg {
  width: 18px;
  height: 18px;
  color: #2487ce;
  flex-shrink: 0;
}

.trust-item__icon-image-wrap {
  width: 18px;
  height: 18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}

.trust-item__icon-image {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display:block;
}

/* ── PS-02: About Section ─────────────────────────────────── */
.about-section {
  background: #fff;
  padding: 80px 48px;
  border-bottom: 1.5px solid #e2e8f0;
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: center;
}

.about-text h2 {
  font-size: 36px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -.03em;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 20px;
}

.about-text h2 mark {
  background: none;
  color: #2487ce;
}

.about-text p {
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #e2e8f0;
  border: 1px solid #e2e8f0;
}

.stat {
  background: #f8f9fa;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-n {
  font-size: 36px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -.04em;
  line-height: 1;
}

.stat-n sup {
  font-size: 14px;
  color: #2487ce;
  font-weight: 900;
}

.stat-l {
  font-size: 10px;
  color: #94a3b8;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
}

/* ── PS-02: Section CTA ───────────────────────────────────── */
.section-cta {
  text-align: center;
  padding-top: 40px;
}

/* ── PS-02: Blog Section ──────────────────────────────────── */


.category-tiles-section {
  padding: 32px 48px 8px;
  background: #f8f9fa;
}

.category-tiles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.category-tile-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
  overflow: hidden;
  min-height: 100%;
}
.category-tile-card:hover {
  transform: translateY(-2px);
  border-color: #2487ce;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}
.category-tile-card__media {
  aspect-ratio: 4 / 3;
  background: #eff6ff;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.category-tile-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.category-tile-card__placeholder {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #dbeafe;
  color: #2487ce;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.category-tile-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 18px 20px;
  flex: 1;
}
.category-tile-card__topline {
  min-height: 16px;
}
.category-tile-card__count {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  background: #eff6ff;
  color: #2487ce;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.category-tile-card__title {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -.02em;
}
.category-tile-card__desc {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.7;
}
.category-tile-card__link {
  margin-top: auto;
  color: #2487ce;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.blog-section {
  padding: 64px 48px;
  background: #f8f9fa;
  border-bottom: 1.5px solid #e2e8f0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #e2e8f0;
}

.blog-card {
  background: #fff;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: background .2s;
}

.blog-card:hover {
  background: #eff6ff;
}

.bc-img-wrap {
  height: 200px;
  overflow: hidden;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.bc-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.blog-card:hover .bc-img-wrap img {
  transform: scale(1.03);
}

.bc-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.bc-date {
  font-size: 10px;
  color: #94a3b8;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
}

.bc-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
}

.bc-excerpt {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
  flex: 1;
}

.bc-read-more {
  font-size: 11px;
  font-weight: 700;
  color: #2487ce;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: auto;
  padding-top: 12px;
}

/* ── PS-02/PS-13: Contact Section ─────────────────────────── */
.contact-section {
  padding: 80px 48px;
  background: #fff;
  border-bottom: 1.5px solid #e2e8f0;
}

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
}

.contact-info h2 {
  font-size: 36px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -.03em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.contact-info h2 span {
  color: #2487ce;
}

.contact-info > p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-info address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-info address p {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #475569;
}

.contact-info address svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: #2487ce;
}

.contact-info address a {
  color: #2487ce;
  text-decoration: none;
}

.contact-info address a:hover {
  color: #1a6aad;
  text-decoration: underline;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-success {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #f7fee7;
  border-left: 4px solid #a3e635;
  padding: 24px;
  color: #365314;
}
.contact-success svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: #65a30d;
  margin-top: 2px;
}
.contact-success strong {
  display: block;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.01em;
  margin-bottom: 4px;
  color: #1a2e05;
}
.contact-success p {
  margin: 0;
  font-size: 13px;
  color: #4d7c0f;
}

.form-error-banner {
  background: #fef2f2;
  border-left: 4px solid #dc2626;
  color: #7f1d1d;
  padding: 12px 16px;
  font-size: 13px;
  margin-bottom: 8px;
}

.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select {
  border-color: #dc2626;
}

.field-error {
  font-size: 11px;
  color: #dc2626;
  font-weight: 600;
}

.req {
  color: #dc2626;
}

.btn-full {
  width: 100%;
  text-align: center;
}

/* ── PS-01: Footer ────────────────────────────────────────── */
.footer {
  background: #0f172a;
  border-top: 3px solid #2487ce;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .footer-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.5);
  transition: all .15s;
  text-decoration: none;
}

.social-link:hover {
  border-color: #a3e635;
  color: #a3e635;
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.footer-heading {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,.3);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-contact address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact address p {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  line-height: 1.5;
}

.footer-contact address a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color .15s;
}

.footer-contact address a:hover {
  color: #a3e635;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: color .15s;
}

.footer-nav a:hover {
  color: #a3e635;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom p {
  font-size: 11px;
  color: rgba(255,255,255,.25);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.footer-registered {
  margin-top: 4px;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 10px !important;
  color: rgba(255,255,255,.18) !important;
}

/* ── PC: image placeholder ────────────────────────────────── */
.pc-img-placeholder {
  font-size: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.badge-grey   { background: #f1f5f9; color: #64748b; }
.badge-purple { background: #f5f3ff; color: #7c3aed; }

/* ── Add-to-cart feedback ─────────────────────────────────── */
.pc-btn.btn-added {
  background: #65a30d;
  color: #fff;
}

/* ── Forms ────────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid #e2e8f0;
  background: #f8f9fa;
  color: #0f172a;
  padding: 11px 14px;
  font-size: 13px;
  outline: none;
  transition: border-color .15s;
  font-family: inherit;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #2487ce;
  background: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-error {
  font-size: 11px;
  color: #dc2626;
  margin-top: 4px;
}

.form-note {
  font-size: 11px;
  color: #94a3b8;
}

/* ── Flash messages ───────────────────────────────────────── */
.flash {
  padding: 14px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  border-left: 4px solid;
  margin: 16px 48px;
}

.flash-success {
  background: #f7fee7;
  color: #365314;
  border-color: #a3e635;
}

.flash-error {
  background: #fef2f2;
  color: #7f1d1d;
  border-color: #dc2626;
}

.flash-info {
  background: #eff6ff;
  color: #1e3a5f;
  border-color: #2487ce;
}

/* ── Pagination ───────────────────────────────────────────── */
.pagination {
  display: flex;
  gap: 1px;
  background: #e2e8f0;
  margin-top: 1px;
}

.pag-btn {
  flex: 1;
  padding: 14px;
  background: #fff;
  border: none;
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  cursor: pointer;
  letter-spacing: .06em;
  transition: all .15s;
  text-align: center;
  text-decoration: none;
  display: block;
}

.pag-btn:hover {
  background: #eff6ff;
  color: #2487ce;
}

.pag-btn.active {
  background: #2487ce;
  color: #fff;
}

/* ── Utility ──────────────────────────────────────────────── */
.text-blue  { color: #2487ce; }
.text-lime  { color: #65a30d; }
.text-muted { color: #94a3b8; }
.text-dark  { color: #0f172a; }

.mt-0  { margin-top: 0; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

/* ── Responsive ───────────────────────────────────────────── */

/* PS-01: hamburger at 1200px (AC-01 PS-01 AC#5) */
@media (max-width: 1200px) {
  .nav-links   { display: none; }
  .nav-divider { display: none; }
  .hamburger   { display: flex; }
  .mobile-nav  { display: block; }
}

/* PS-01: stack logo text on small phones to prevent nav overflow */
@media (max-width: 640px) {
  .logo-name {
    font-size: 13px;
    line-height: 1.2;
    white-space: normal;
    width: min-content;
    letter-spacing: .02em;
  }
}

@media (max-width: 1280px) {
  .nav  { padding: 0 32px; }
  .about-inner { gap: 48px; }
  .contact-inner { gap: 48px; }
}

@media (max-width: 1024px) {
  .nav              { padding: 0 24px; }
  .hero-left        { padding: 48px 32px; }
  .hero-h1          { font-size: 44px; }
  .products-grid    { grid-template-columns: repeat(3, 1fr); }
  .specbar          { grid-template-columns: repeat(2, 1fr); }
  .blog-grid        { grid-template-columns: repeat(2, 1fr); }
  .about-inner      { grid-template-columns: 1fr; gap: 40px; }
  .contact-inner    { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner     { grid-template-columns: 1fr 1fr; padding: 48px 32px; }
  .footer-brand     { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .hero              { grid-template-columns: 1fr; }
  .hero-right        { display: none; }
  .hero-left         { padding: 48px 24px; }
  .hero-h1           { font-size: 40px; }
  .products-grid     { grid-template-columns: repeat(2, 1fr); }
  .specbar           { grid-template-columns: repeat(2, 1fr); }
  .cta-banner        { flex-direction: column; align-items: flex-start; }
  .products-section  { padding: 32px 24px; }
  .blog-section      { padding: 48px 24px; }
  .blog-grid         { grid-template-columns: 1fr; }
  .about-section     { padding: 48px 24px; }
  .contact-section   { padding: 48px 24px; }
  .trust-item        { padding: 14px 20px; font-size: 11px; }
  .breadcrumb        { padding: 10px 24px; }
  .footer-inner      { grid-template-columns: 1fr; padding: 40px 24px; }
  .footer-bottom     { padding: 16px 24px; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .specbar       { grid-template-columns: 1fr 1fr; }
  .trust-strip   { justify-content: flex-start; }
  .trust-item    { flex: 1 1 45%; border: none; border-bottom: 1px solid #e2e8f0; }
  .hero-h1       { font-size: 32px; }
}


/* ============================================================
   PS-03: SHOP / PRODUCT LISTING
   ============================================================ */

.shop-page { background: #f8f9fa; min-height: 60vh; }

/* ── Shop header ──────────────────────────────────────────── */
.shop-header {
  background: #fff;
  border-bottom: 1.5px solid #e2e8f0;
  padding: 28px 48px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.sh-left h1 {
  font-size: 28px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -.02em;
  text-transform: uppercase;
  margin: 0 0 6px;
}
.sh-left h1 span { color: #2487ce; }
.sh-left p  { font-size: 13px; color: #94a3b8; margin: 0; letter-spacing: .04em; }

.sh-right { display: flex; gap: 8px; align-items: center; }
.sort-label { font-size: 11px; color: #94a3b8; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.sort-select {
  border: 1.5px solid #e2e8f0;
  background: #fff;
  color: #475569;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  outline: none;
  font-family: inherit;
}
.sort-select:focus { border-color: #2487ce; }

.view-btns { display: flex; border: 1.5px solid #e2e8f0; }
.vb {
  width: 34px;
  height: 34px;
  border: none;
  background: #fff;
  cursor: pointer;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background .15s, color .15s;
}
.vb.active, .vb:hover { background: #2487ce; color: #fff; }

/* ── Shop body: sidebar + product area ───────────────────── */
.shop-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 600px;
}

/* ── Sidebar ─────────────────────────────────────────────── */
.sidebar {
  background: #fff;
  border-right: 1.5px solid #e2e8f0;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: sticky;
  top: 68px;
  align-self: start;
  max-height: calc(100vh - 70px);
  overflow-y: auto;
}

.filter-group {}

.fg-title {
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.fg-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #f1f5f9;
}

.filter-pill {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pill {
  display: inline-block;
  padding: 5px 12px;
  border: 1.5px solid #e2e8f0;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}
.pill:hover { border-color: #2487ce; color: #2487ce; }
.pill.active { background: #2487ce; border-color: #2487ce; color: #fff; }
.pill.lime { border-color: #a3e635; color: #65a30d; }
.pill.lime:hover { background: #a3e635; color: #111; }
.pill.lime.active { background: #a3e635; border-color: #a3e635; color: #111; }

/* Price range */
.price-range { display: flex; flex-direction: column; gap: 10px; }
.pr-row { display: flex; justify-content: space-between; font-size: 12px; color: #64748b; }
.pr-row span { color: #2487ce; font-weight: 700; }
.pr-slider { width: 100%; accent-color: #2487ce; }
.apply-btn {
  background: #2487ce;
  color: #fff;
  border: none;
  padding: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  width: 100%;
  transition: background .15s;
  font-family: inherit;
}
.apply-btn:hover { background: #1a6aad; }

/* ── Product area ─────────────────────────────────────────── */
.product-area { padding: 32px; }

/* Active filter bar */
.filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.active-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  font-size: 11px;
  color: #2487ce;
  font-weight: 600;
  letter-spacing: .04em;
}
.af-remove {
  color: #93c5fd;
  text-decoration: none;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}
.af-remove:hover { color: #2487ce; }
.result-count {
  font-size: 11px;
  color: #94a3b8;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-left: auto;
}

/* ── Products grid ────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #e2e8f0;
}

/* ── Product card ─────────────────────────────────────────── */
.product-card {
  background: #fff;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: background .2s;
}
.product-card:hover { background: #eff6ff; }
.product-card:hover .pc-img { border-color: #2487ce; }

.pc-cover {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 24px 24px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pc-img {
  aspect-ratio: 1 / 1;
  width: 100%;
  border: 1px solid #f1f5f9;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  overflow: hidden;
  transition: border-color .2s;
  flex-shrink: 0;
}
.pc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-img svg { width: 48px; height: 48px; opacity: .3; }

.pc-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 8px;
  display: inline-block;
}
.badge-blue { background: #eff6ff; color: #2487ce; }
.badge-lime { background: #f7fee7; color: #65a30d; }
.badge-new  { background: #2487ce; color: #fff; }

.pc-name { font-size: 13px; font-weight: 700; color: #0f172a; line-height: 1.3; }
.pc-meta { font-size: 11px; color: #94a3b8; letter-spacing: .04em; }

.pc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 24px 24px;
  margin-top: auto;
  border-top: 1px solid #f1f5f9;
}
.pc-price { font-size: 20px; font-weight: 900; color: #2487ce; }
.pc-price-old { font-size: 12px; color: #cbd5e1; text-decoration: line-through; margin-left: 4px; }
.pc-price--quote { font-size: 13px; font-weight: 700; }

.pc-btn {
  background: #a3e635;
  color: #111;
  border: none;
  width: 34px;
  height: 34px;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  flex-shrink: 0;
  text-decoration: none;
}
.pc-btn:hover { background: #bef264; }

/* ── Empty state ──────────────────────────────────────────── */
.shop-empty {
  text-align: center;
  padding: 80px 32px;
  background: #fff;
  border: 1.5px solid #e2e8f0;
}
.shop-empty__icon    { width: 80px; height: 80px; margin: 0 auto 24px; }
.shop-empty__heading { font-size: 22px; font-weight: 900; color: #0f172a; margin: 0 0 12px; text-transform: uppercase; }
.shop-empty__text    { color: #64748b; margin: 0 0 24px; font-size: 14px; }

/* ── Pagination ───────────────────────────────────────────── */
.pagination {
  display: flex;
  gap: 1px;
  background: #e2e8f0;
  margin-top: 1px;
}
.pag-btn {
  flex: 1;
  padding: 14px;
  background: #fff;
  border: none;
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  cursor: pointer;
  letter-spacing: .06em;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, color .15s;
}
.pag-btn:hover  { background: #eff6ff; color: #2487ce; }
.pag-btn.active { background: #2487ce; color: #fff; }
.pag-ellipsis   { background: #fff; padding: 14px 8px; font-size: 12px; color: #94a3b8; display: flex; align-items: center; }

/* ── List view (toggled by JS) ────────────────────────────── */
.products-grid--list {
  grid-template-columns: 1fr;
}
.products-grid--list .product-card {
  flex-direction: row;
  align-items: center;
}
.products-grid--list .pc-cover {
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 16px 24px;
  flex: 1;
}
.products-grid--list .pc-img {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}
.products-grid--list .pc-footer {
  padding: 16px 24px;
  border-top: none;
  border-left: 1px solid #f1f5f9;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  min-width: 120px;
}

/* ── PS-03 Responsive ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .shop-body        { grid-template-columns: 1fr; }
  .sidebar          { position: static; border-right: none; border-bottom: 1.5px solid #e2e8f0; flex-direction: row; flex-wrap: wrap; gap: 16px; max-height: none; overflow: visible; }
  .filter-group     { margin-bottom: 0; }
  .products-grid    { grid-template-columns: repeat(2, 1fr); }
  .shop-header      { padding: 20px 24px; }
  .product-area     { padding: 24px; }
}
@media (max-width: 640px) {
  .sh-right         { flex-wrap: wrap; }
  .products-grid    { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .products-grid    { grid-template-columns: 1fr; }
}


/* ============================================================
   PS-04: PRODUCT DETAIL
   ============================================================ */

.product-detail-page { background: #f8f9fa; padding-bottom: 80px; }

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb { background: #f1f5f9; border-bottom: 1px solid #e2e8f0; padding: 10px 48px; }
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 11px;
  color: #94a3b8;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.breadcrumb__item        { display: flex; align-items: center; gap: 8px; }
.breadcrumb__sep         { color: #cbd5e1; }
.breadcrumb__item a      { color: #2487ce; text-decoration: none; font-weight: 600; }
.breadcrumb__item a:hover { text-decoration: underline; }
.breadcrumb__item--current { color: #475569; }

/* ── Detail body: images + info ──────────────────────────── */
.detail-body {
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: start;
  background: #fff;
  border-bottom: 1.5px solid #e2e8f0;
}
/* Full-width grid children (for HTML builds where tabs/panels sit inside .detail-body) */
.detail-body > .product-specbar,
.detail-body > .detail-tabs,
.detail-body > .tab-panel,
.detail-body > .related {
  grid-column: 1 / -1;
}

/* ── Gallery ─────────────────────────────────────────────── */
.detail-images {
  padding: 40px;
  border-right: 1.5px solid #e2e8f0;
  position: sticky;
  top: 20px;
  align-self: start;
}

/* ── Gallery: thumb column (left) + main image (right) ────── */
.gallery-col {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: flex-start;
}

.main-img {
  aspect-ratio: 1 / 1;
  flex: 1;
  min-width: 0;
  border: 1.5px solid #e2e8f0;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  overflow: hidden;
  position: relative;
}
.main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}
.gallery-placeholder svg { width: 80px; height: 80px; opacity: .3; }

.thumb-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 520px;
  overflow-y: auto;
  flex-shrink: 0;
}
.thumb {
  width: 72px;
  height: 72px;
  border: 1.5px solid #e2e8f0;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .15s;
  overflow: hidden;
  flex-shrink: 0;
  padding: 0;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb.active, .thumb:hover { border-color: #2487ce; }

/* ── Info panel ──────────────────────────────────────────── */
.detail-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.di-badges { display: flex; gap: 8px; flex-wrap: wrap; }

.di-title {
  font-size: 32px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -.03em;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0;
}

.di-meta {
  font-size: 12px;
  color: #94a3b8;
  letter-spacing: .08em;
  text-transform: uppercase;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.di-price-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 20px 0;
  border-top: 1.5px solid #e2e8f0;
  border-bottom: 1.5px solid #e2e8f0;
  flex-wrap: wrap;
}
.di-price {
  font-size: 38px;
  font-weight: 900;
  color: #2487ce;
  letter-spacing: -.02em;
}
.di-price-note {
  font-size: 12px;
  color: #94a3b8;
  margin-left: auto;
  text-align: right;
  line-height: 1.5;
}

.di-options { display: flex; flex-direction: column; gap: 14px; }

.option-label {
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* Colour swatches */
.colour-row { display: flex; gap: 8px; flex-wrap: wrap; }
.col-swatch {
  width: 32px;
  height: 32px;
  border: 2px solid #e2e8f0;
  cursor: pointer;
  transition: border-color .15s, transform .15s;
  flex-shrink: 0;
}
.col-swatch:hover  { border-color: #2487ce; transform: scale(1.08); }
.col-swatch.active { border-color: #2487ce; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #2487ce; }

/* Qty control inside detail-info */
.qty-row {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid #e2e8f0;
  width: fit-content;
}
.qty-btn {
  width: 38px;
  height: 38px;
  background: #f8f9fa;
  border: none;
  font-size: 18px;
  color: #475569;
  cursor: pointer;
  font-weight: 700;
  transition: background .15s, color .15s;
}
.qty-btn:hover:not(:disabled) { background: #2487ce; color: #fff; }
.qty-btn:disabled { opacity: .4; cursor: default; }
.qty-val {
  width: 52px;
  height: 38px;
  border: none;
  border-left: 1.5px solid #e2e8f0;
  border-right: 1.5px solid #e2e8f0;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  background: #fff;
  font-family: inherit;
}
.qty-val:focus { outline: none; }

.di-actions { display: flex; gap: 10px; padding-top: 4px; }
.btn-add {
  flex: 1;
  background: #a3e635;
  color: #111;
  border: none;
  padding: 14px 24px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s;
  font-family: inherit;
}
.btn-add:hover, .btn-add--added { background: #bef264; }
.btn-wish {
  background: #fff;
  color: #2487ce;
  border: 1.5px solid #2487ce;
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, color .15s;
  white-space: nowrap;
  font-family: inherit;
}
.btn-wish:hover { background: #2487ce; color: #fff; }

.di-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1.5px solid #e2e8f0;
}
.trust-item {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-right: 1px solid #e2e8f0;
}
.trust-item:last-child { border-right: none; }
.trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.trust-text  { display: flex; flex-direction: column; gap: 1px; }
.trust-label { font-size: 11px; font-weight: 700; color: #0f172a; letter-spacing: .04em; text-transform: uppercase; }
.trust-sub   { font-size: 10px; color: #94a3b8; }

.purchase-error { font-size: 13px; color: #dc2626; margin: 0; }

/* ── Detail tabs ─────────────────────────────────────────── */
.detail-tabs {
  background: #fff;
  border-bottom: 1.5px solid #e2e8f0;
  border-left: 4px solid #2487ce;
  display: flex;
}
.dtab {
  padding: 18px 28px;
  border: none;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  border-right: 1px solid #e2e8f0;
  transition: color .15s, border-color .15s, background .15s;
  white-space: nowrap;
  font-family: inherit;
}
.dtab:last-child { border-right: none; }
.dtab.active { color: #2487ce; border-bottom-color: #2487ce; background: #f0f7ff; }
.dtab:hover:not(.active) { color: #2487ce; background: #f8f9fa; }

/* ── Tab panels ──────────────────────────────────────────── */
.tab-panel[hidden] { display: none; }

/* ── Detail content ──────────────────────────────────────── */
.detail-content {
  background: #fff;
  padding: 48px;
}

/* Description (prose) */
.dc-desc { font-size: 14px; color: #475569; line-height: 1.8; }
.dc-desc p           { margin: 0 0 16px; }
.dc-desc p:last-child { margin: 0; }
.dc-desc strong      { color: #0f172a; }
.dc-desc h2          { font-size: 15px; font-weight: 900; color: #0f172a; margin: 28px 0 12px; text-transform: uppercase; letter-spacing: .04em; border-left: 3px solid #2487ce; padding-left: 12px; }
.dc-desc h3          { font-size: 16px; font-weight: 700; color: #0f172a; margin: 20px 0 10px; }
.dc-desc ul, .dc-desc ol { padding-left: 24px; margin: 0 0 16px; }
.dc-desc li          { margin-bottom: 6px; }
.dc-desc a           { color: #2487ce; }
.dc-desc a:hover     { text-decoration: underline; }
.dc-desc img         { max-width: 100%; margin: 16px 0; }
.dc-desc code        { background: #f8f9fa; padding: 2px 6px; font-family: monospace; font-size: .9em; }
.dc-desc pre         { background: #f8f9fa; border: 1px solid #e2e8f0; padding: 20px; margin: 16px 0; overflow-x: auto; }
.dc-desc pre code    { background: none; padding: 0; }

/* Specs column */
.dc-specs {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1.5px solid #e2e8f0;
  align-self: start;
}
/* Section header label used inside tab right panels (shipping rates, specs quick-ref) */
.tab-section-header {
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 12px 16px 8px;
  background: #f8f9fa;
  border-bottom: 1px solid #f1f5f9;
}
.spec-row { display: flex; border-bottom: 1px solid #f1f5f9; font-size: 12px; }
.spec-row:last-child { border-bottom: none; }
.spec-k {
  padding: 12px 16px;
  background: #f8f9fa;
  color: #94a3b8;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  width: 44%;
  border-right: 1px solid #f1f5f9;
  flex-shrink: 0;
}
.spec-v { padding: 12px 16px; color: #475569; font-weight: 600; }

/* Specs table (full-width in specs tab) */
.specs-table { width: 100%; border-collapse: collapse; font-size: 13px; border: 1.5px solid #e2e8f0; max-width: 680px; }
.specs-table tr                    { border-bottom: 1px solid #f1f5f9; }
.specs-table tr:last-child         { border-bottom: none; }
.specs-table tr:nth-child(even) th,
.specs-table tr:nth-child(even) td { background: #f8f9fa; }
.specs-table th { padding: 13px 18px; background: #fff; color: #94a3b8; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 11px; width: 40%; border-right: 1px solid #e2e8f0; text-align: left; }
.specs-table td { padding: 13px 18px; color: #334155; font-weight: 600; }

/* Specs tab section title */
.specs-tab-title {
  font-size: 11px; font-weight: 700; color: #94a3b8; letter-spacing: .12em;
  text-transform: uppercase; margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 2px solid #2487ce; display: flex; justify-content: space-between; align-items: center;
  max-width: 680px;
}
.specs-tab-title span { color: #2487ce; }

/* ── Product page header strip ───────────────────────────── */
.product-page-header {
  background: #fff;
  border-bottom: 2px solid #2487ce;
  padding: 20px 48px;
}
.pph-label {
  font-size: 10px; font-weight: 700; color: #94a3b8;
  letter-spacing: .15em; text-transform: uppercase;
  display: flex; align-items: center; gap: 8px; margin-bottom: 4px;
}
.pph-label::before { content: '//'; color: #2487ce; font-weight: 900; }
.pph-title {
  font-size: 22px; font-weight: 900; color: #0f172a;
  letter-spacing: -.02em; text-transform: uppercase; line-height: 1;
}

/* ── Best Seller image ribbon ────────────────────────────── */
.img-bestseller {
  position: absolute;
  bottom: 0; left: 0;
  background: #a3e635;
  color: #111;
  font-size: 10px; font-weight: 900; letter-spacing: .12em;
  text-transform: uppercase; padding: 6px 16px;
  pointer-events: none;
}

/* ── Tier pricing block (sharp wrapper) ──────────────────── */
.tier-block { border: 1.5px solid #e2e8f0; }
.tier-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.tier-table th {
  padding: 9px 14px; background: #f8f9fa; text-align: left;
  color: #94a3b8; font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; border-bottom: 1px solid #e2e8f0;
}
.tier-table th:last-child { text-align: right; }
.tier-table td { padding: 10px 14px; border-top: 1px solid #f1f5f9; color: #334155; font-weight: 600; }
.tier-table td:last-child { text-align: right; font-weight: 900; color: #0f172a; }
.tier-table tr.active-tier { background: #eff6ff; }
.tier-table tr.active-tier td { color: #1a6aad; }
.tier-table tr.active-tier td:last-child { color: #2487ce; }
.tier-active-chip {
  display: inline-block; background: #2487ce; color: #fff;
  font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase;
  padding: 2px 6px; margin-left: 6px; vertical-align: middle;
}

/* ── Product specbar ─────────────────────────────────────── */
.product-specbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-bottom: 2px solid #2487ce;
}
.ps-item {
  padding: 18px 28px; border-right: 1.5px solid #e2e8f0;
  display: flex; align-items: center; gap: 12px;
}
.ps-item:last-child { border-right: none; }
.ps-icon {
  display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0;
}
.ps-text  { display: flex; flex-direction: column; gap: 2px; }
.ps-value { font-size: 14px; font-weight: 900; color: #0f172a; letter-spacing: -.01em; }
.ps-label { font-size: 10px; font-weight: 700; color: #94a3b8; letter-spacing: .08em; text-transform: uppercase; }

/* ── Documents tab ───────────────────────────────────────── */
.doc-list { display: flex; flex-direction: column; border: 1.5px solid #e2e8f0; max-width: 600px; }
.doc-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px; border-bottom: 1px solid #f1f5f9;
  transition: background .15s; text-decoration: none; color: inherit;
}
.doc-item:last-child { border-bottom: none; }
.doc-item:hover { background: #f0f7ff; }
.doc-icon {
  width: 40px; height: 40px; background: #eff6ff; border: 1px solid #bfdbfe;
  display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0;
}
.doc-info  { flex: 1; min-width: 0; }
.doc-name  { font-size: 13px; font-weight: 700; color: #0f172a; margin-bottom: 2px; }
.doc-meta  { font-size: 11px; color: #94a3b8; letter-spacing: .04em; }
.doc-dl {
  background: #2487ce; color: #fff; font-size: 10px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; padding: 7px 16px;
  flex-shrink: 0; border: none; cursor: pointer; font-family: inherit;
  transition: background .15s; text-decoration: none; display: inline-block;
}
.doc-dl:hover { background: #1a6aad; color: #fff; }
.doc-empty { padding: 40px; text-align: center; color: #94a3b8; font-size: 13px; }

/* ── Related products ────────────────────────────────────── */
.related { background: #f8f9fa; padding: 40px 48px; border-top: 1.5px solid #e2e8f0; }

.section-title {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #2487ce;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.section-title span { color: #2487ce; }
.section-title a    { font-size: 11px; color: #2487ce; text-decoration: none; font-weight: 700; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #e2e8f0;
}
.rc {
  background: #fff;
  padding: 20px;
  cursor: pointer;
  transition: background .2s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.rc:hover { background: #eff6ff; }
.rc-img {
  height: 110px;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin-bottom: 12px;
  overflow: hidden;
}
.rc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rc-img svg { width: 40px; height: 40px; opacity: .3; }
.rc-name  { font-size: 12px; font-weight: 700; color: #0f172a; margin-bottom: 4px; line-height: 1.3; }
.rc-price { font-size: 16px; font-weight: 900; color: #2487ce; }

/* ── Lightbox ─────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox[hidden]  { display: none; }
.lightbox__img     { max-width: 90vw; max-height: 90vh; object-fit: contain; box-shadow: 0 24px 80px rgba(0,0,0,.5); }
.lightbox__close   { position: absolute; top: 16px; right: 20px; font-size: 36px; color: #fff; background: none; border: none; cursor: pointer; line-height: 1; z-index: 9001; }
.lightbox-overlay  { position: fixed; inset: 0; background: rgba(0,0,0,.85); z-index: 8999; }
.lightbox-overlay[hidden] { display: none; }

/* ── PS-04 Responsive ─────────────────────────────────────── */
@media (max-width: 1280px) {
  .related-grid        { grid-template-columns: repeat(3, 1fr); }
  .product-specbar     { grid-template-columns: repeat(2, 1fr); }
  .product-specbar .ps-item:nth-child(2) { border-right: none; }
  .product-specbar .ps-item:nth-child(3) { border-top: 1.5px solid #e2e8f0; }
  .product-specbar .ps-item:nth-child(4) { border-top: 1.5px solid #e2e8f0; border-right: none; }
}
@media (max-width: 1024px) {
  .detail-body         { grid-template-columns: 1fr; }
  .detail-images       { border-right: none; border-bottom: 1.5px solid #e2e8f0; padding: 24px; position: static; min-width: 0; }
  .gallery-col         { flex-direction: column-reverse; }
  .thumb-col           { flex-direction: row; max-height: none; overflow-x: auto; overflow-y: hidden; width: 100%; max-width: 100%; min-width: 0; }
  .detail-content      { padding: 32px 24px; }
  .related             { padding: 32px 24px; }
  .related-grid        { grid-template-columns: repeat(2, 1fr); }
  .breadcrumb          { padding: 10px 24px; }
  .product-page-header { padding: 16px 24px; }
  .di-trust            { grid-template-columns: repeat(3, 1fr); }
  /* Mobile cleanup: kill duplicated/redundant info — keep DOM intact (SEO/a11y). */
  .di-badges--physical { display: none; }
  .di-title            { display: none; }
  .di-meta             { display: none; }
  .di-tags             { display: none; }
}
@media (max-width: 768px) {
  .di-title            { font-size: 24px; }
  .di-price            { font-size: 28px; }
  .detail-tabs         { overflow-x: auto; border-left: none; }
  .detail-content      { padding: 24px; }
  .related-grid        { grid-template-columns: repeat(2, 1fr); }
  .product-specbar     { grid-template-columns: repeat(2, 1fr); }
  .di-trust            { grid-template-columns: 1fr; }
  .trust-item          { border-right: none; border-bottom: 1px solid #e2e8f0; }
  .trust-item:last-child { border-bottom: none; }
  .pph-title           { font-size: 18px; }
}
@media (max-width: 480px) {
  .related-grid { grid-template-columns: 1fr 1fr; }
}


/* ============================================================
   PS-05: CART PAGE
   ============================================================ */

.cart-page { min-height: 60vh; background: #f8f9fa; padding-bottom: 80px; }

/* Page header — same white-strip pattern as shop/contact/quote */
.cart-header {
  background: #fff;
  border-bottom: 1.5px solid #e2e8f0;
  padding: 28px 48px;
  margin-bottom: 0;
}
.cart-header__inner { max-width: 1440px; margin: 0 auto; }
.cart-header__title {
  font-size: 28px; font-weight: 900; color: #0f172a;
  letter-spacing: -.02em; text-transform: uppercase; margin: 0;
}
.cart-header__title span { color: #2487ce; }
.cart-header__sub { font-size: 13px; color: #94a3b8; margin-top: 6px; letter-spacing: .04em; }

.cart-page .container { padding-top: 32px; }


/* Respect hidden state on cart/checkout blocks */
.cart-empty[hidden],
.cart-layout[hidden],
.shipping-options[hidden],
#shipping-row[hidden] {
  display: none !important;
}

/* Empty state */
.cart-empty          { text-align: center; padding: 80px 32px; background: #fff; border: 1.5px solid #e2e8f0; }
.cart-empty__icon    { width: 80px; height: 80px; margin: 0 auto 24px; }
.cart-empty__heading { font-size: 22px; font-weight: 900; color: #0f172a; text-transform: uppercase; margin: 0 0 12px; }
.cart-empty__text    { color: #64748b; margin: 0 0 24px; }

/* Layout */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}

/* Items column */
.cart-items {
  background: #fff;
  border: 1.5px solid #e2e8f0;
}

.cart-items__header {
  display: grid;
  grid-template-columns: 1fr 100px 130px 100px 40px;
  padding: 14px 20px;
  background: #f8f9fa;
  border-bottom: 1px solid #e2e8f0;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #94a3b8;
}

.cart-rows { list-style: none; margin: 0; padding: 0; }

.cart-row {
  display: grid;
  grid-template-columns: 1fr 100px 130px 100px 40px;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9;
  transition: background .15s;
}
.cart-row:last-child { border-bottom: none; }
.cart-row:hover { background: #eff6ff; }

.cart-col--product { min-width: 0; }
.cart-col--price,
.cart-col--total   { font-size: 15px; font-weight: 700; color: #2487ce; }
.cart-col--remove  { display: flex; justify-content: flex-end; }

.cart-row__product {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.cart-row__image-wrap {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  overflow: hidden;
  background: #f8f9fa;
  border: 1px solid #e2e8f0;
}
.cart-row__image { width: 100%; height: 100%; object-fit: cover; }
.cart-row__meta  { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding-top: 2px; }

.cart-row__title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-row__title:hover { color: #2487ce; }
.cart-row__category { font-size: 11px; color: #94a3b8; text-transform: uppercase; letter-spacing: .05em; }
.cart-row__badges   { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }

/* Inline colour swatch in cart row */
.cart-swatch {
  display: inline-block;
  width: 16px; height: 16px;
  border: 1.5px solid #e2e8f0;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Compact qty control (cart) */
.qty-control--compact       { display: flex; align-items: center; border: 1.5px solid #e2e8f0; width: fit-content; }
.qty-control--compact .qty-btn   { width: 30px; height: 30px; font-size: 16px; }
.qty-control--compact .qty-input { width: 40px; height: 30px; font-size: 13px; }

/* Remove button */
.cart-row__remove {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
  transition: color .15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-row__remove:hover { color: #dc2626; }
.cart-row__remove svg   { width: 18px; height: 18px; }

/* Cart summary */
.cart-summary {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  padding: 24px;
  position: sticky;
  top: 80px;
}
.cart-summary__heading { font-size: 11px; font-weight: 700; color: #94a3b8; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 16px; padding-bottom: 12px; border-bottom: 2px solid #2487ce; }

/* Shipping options */
.shipping-options          { margin-bottom: 20px; }
.shipping-options__heading { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #94a3b8; margin: 0 0 10px; }
.shipping-options__list    { display: flex; flex-direction: column; gap: 1px; background: #e2e8f0; }

.shipping-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #fff;
  cursor: pointer;
  transition: background .15s;
}
.shipping-option:hover,
.shipping-option--selected { background: #eff6ff; }
.shipping-option--selected { border-left: 2px solid #2487ce; }
.shipping-option__label    { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.shipping-option__label strong { font-size: 13px; color: #0f172a; font-weight: 700; }
.shipping-option__label small  { font-size: 11px; color: #64748b; }
.shipping-option__price    { font-size: 14px; font-weight: 700; color: #2487ce; white-space: nowrap; }

/* Totals */
.cart-totals { border-top: 1px solid #e2e8f0; padding-top: 16px; margin-bottom: 20px; display: flex; flex-direction: column; gap: 10px; }
.cart-total-row { display: flex; justify-content: space-between; font-size: 13px; color: #475569; }
.cart-total-row--grand {
  font-size: 18px;
  font-weight: 900;
  color: #0f172a;
  padding: 12px 0 0;
  margin-top: 4px;
  border-top: 2px solid #0f172a;
}

.btn--checkout {
  width: 100%;
  padding: 15px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.cart-continue-link {
  display: block;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #2487ce;
  text-decoration: none;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.cart-continue-link:hover { text-decoration: underline; }

.cart-clear-btn {
  display: block;
  width: 100%;
  background: none;
  border: none;
  font-size: 11px;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px 0;
  margin-bottom: 12px;
  text-align: center;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: color .15s;
}
.cart-clear-btn:hover { color: #dc2626; }

.cart-trust { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid #f1f5f9; display: flex; flex-direction: column; gap: 6px; }
.cart-trust li { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #64748b; }
.cart-trust li::before { content: ''; width: 6px; height: 6px; background: #a3e635; border-radius: 50%; flex-shrink: 0; }

/* Cart responsive */
@media (max-width: 1024px) {
  .cart-layout  { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
}
@media (max-width: 768px) {
  .cart-header { padding: 20px 24px; }
  .cart-items__header { display: none; }
  .cart-row {
    grid-template-columns: 1fr auto;
    grid-template-areas: "product remove" "price qty" "total total";
    gap: 8px;
  }
  .cart-col--product { grid-area: product; }
  .cart-col--remove  { grid-area: remove; }
  .cart-col--price   { grid-area: price; font-size: 13px; }
  .cart-col--qty     { grid-area: qty; }
  .cart-col--total   { grid-area: total; font-size: 15px; }
  .cart-row__image-wrap { width: 56px; height: 56px; }
}


/* ============================================================
   PS-09 / PS-10 — BLOG
   ============================================================ */

/* ── Shared page header ─────────────────────────────────── */
.page-header {
  background: #fff;
  border-bottom: 1.5px solid #e2e8f0;
  padding: 32px 48px;
}
.page-header__title {
  font-size: 28px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -.02em;
  text-transform: uppercase;
  margin: 0 0 6px;
}
.page-header__title span { color: #2487ce; }
.page-header__lead {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
  letter-spacing: .04em;
}

/* ── Blog listing ───────────────────────────────────────── */
.blog-listing-page { background: #f8f9fa; padding-bottom: 80px; }

.blog-listing-page .container { padding: 32px 48px; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #e2e8f0;
}

.blog-card {
  background: #fff;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: background .2s;
  text-decoration: none;
  color: inherit;
}
.blog-card:hover { background: #eff6ff; }

.blog-card__img-link { display: block; overflow: hidden; }

.blog-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.blog-card:hover .blog-card__img { transform: scale(1.03); }

.blog-card__img--placeholder {
  width: 100%;
  height: 200px;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card__img--placeholder svg { width: 64px; height: 64px; opacity: .3; }

.blog-card__body { padding: 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }

.blog-card__date {
  font-size: 10px;
  color: #94a3b8;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
}

.blog-card__title { font-size: 15px; font-weight: 700; color: #0f172a; line-height: 1.4; }
.blog-card__title a { color: inherit; text-decoration: none; }
.blog-card__title a:hover { color: #2487ce; }

.blog-card__excerpt { font-size: 13px; color: #64748b; line-height: 1.6; flex: 1; }

.blog-card__read-more {
  font-size: 11px;
  font-weight: 700;
  color: #2487ce;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: auto;
  padding-top: 12px;
  text-decoration: none;
}

.blog-empty {
  text-align: center;
  padding: 64px 32px;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  color: #64748b;
}
.blog-empty .btn { margin-top: 20px; }

/* Blog pagination */
.blog-pagination {
  display: flex;
  gap: 1px;
  background: #e2e8f0;
  margin-top: 32px;
}
.blog-pagination__link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 14px 20px;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  text-decoration: none;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background .15s, color .15s;
}
.blog-pagination__link:hover { background: #eff6ff; color: #2487ce; }
.blog-pagination__info {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  font-size: 11px;
  color: #94a3b8;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 14px;
}

/* ── Blog post ──────────────────────────────────────────── */
.blog-post-page  { background: #f8f9fa; padding-bottom: 80px; }
.blog-post-layout { max-width: 760px; margin: 0 auto; padding: 0 48px; }

.blog-post__hero { margin: 32px 0; border: 1.5px solid #e2e8f0; overflow: hidden; }
.blog-post__hero-img { width: 100%; height: auto; max-height: 480px; object-fit: cover; display: block; }

.blog-post__header { margin-bottom: 32px; }
.blog-post__date { font-size: 10px; color: #94a3b8; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; display: block; margin-bottom: 12px; }
.blog-post__title { font-size: 32px; font-weight: 900; color: #0f172a; line-height: 1.15; letter-spacing: -.02em; text-transform: uppercase; margin-bottom: 16px; }
.blog-post__excerpt { font-size: 16px; color: #64748b; line-height: 1.7; font-style: italic; }

.blog-post__body { margin-bottom: 48px; }
.blog-post__footer { padding-top: 32px; border-top: 1.5px solid #e2e8f0; }

/* Related posts */
.related-posts { padding: 40px 48px; background: #fff; border-top: 1.5px solid #e2e8f0; }
.related-posts__heading {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #2487ce;
}
.blog-grid--related { grid-template-columns: repeat(3, 1fr); }

/* Blog responsive */
@media (max-width: 1024px) {
  .blog-grid,
  .blog-grid--related { grid-template-columns: repeat(2, 1fr); }
  .blog-listing-page .container { padding: 24px; }
  .blog-post-layout { padding: 0 24px; }
  .related-posts { padding: 32px 24px; }
  .page-header { padding: 24px; }
}
@media (max-width: 640px) {
  .blog-grid,
  .blog-grid--related { grid-template-columns: 1fr; }
  .blog-post__title { font-size: 24px; }
  .page-header__title { font-size: 22px; }
}


/* ============================================================
   PS-11 — FAQ
   ============================================================ */

.faq-page { background: #f8f9fa; padding-bottom: 80px; }
.faq-page .container { padding: 0 48px 48px; }

.faq-accordion { margin-top: 32px; background: #fff; border: 1.5px solid #e2e8f0; }

.faq-item { border-bottom: 1px solid #f1f5f9; }
.faq-item:last-child { border-bottom: none; }

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  text-align: left;
  gap: 16px;
  transition: color .15s, background .15s;
  letter-spacing: .01em;
}
.faq-item__question:hover { background: #eff6ff; color: #2487ce; }
.faq-item__question[aria-expanded="true"] { color: #2487ce; background: #eff6ff; }

.faq-item__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
}
.faq-item__icon::before { width: 12px; height: 2px; transform: translate(-50%, -50%); }
.faq-item__icon::after  { width: 2px; height: 12px; transform: translate(-50%, -50%); transition: transform .2s ease; }
.faq-item__question[aria-expanded="true"] .faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq-item__answer { }
.faq-item__answer-inner {
  padding: 0 24px 24px;
  font-size: 14px;
  color: #475569;
  line-height: 1.8;
}

.faq-empty {
  text-align: center;
  padding: 64px 32px;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  color: #64748b;
  margin-top: 32px;
}

.faq-cta {
  margin-top: 24px;
  text-align: center;
  padding: 24px 32px;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  color: #64748b;
  font-size: 14px;
}
.faq-cta a { color: #2487ce; font-weight: 700; text-decoration: none; }
.faq-cta a:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .faq-page .container { padding: 0 24px 48px; }
  .faq-item__question { padding: 16px; }
  .faq-item__answer-inner { padding: 0 16px 20px; }
}


/* ============================================================
   PS-12 — QUOTE FORM
   ============================================================ */

.quote-page { background: #f8f9fa; padding-bottom: 80px; }

/* Process bar */
.quote-process-bar { background: #fff; border-bottom: 1.5px solid #e2e8f0; padding: 0 48px; }
.quote-process-bar__inner { display: flex; align-items: stretch; }
.qpb-step { display: flex; align-items: center; gap: 12px; padding: 16px 24px 16px 0; flex: 1; position: relative; }
.qpb-step:not(:last-child)::after { content: '→'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: #94a3b8; font-size: 14px; font-weight: 700; }
.qpb-num { width: 26px; height: 26px; background: #2487ce; color: #fff; font-size: 11px; font-weight: 900; display: flex; align-items: center; justify-content: center; flex-shrink: 0; letter-spacing: .04em; }
.qpb-text strong { display: block; font-size: 11px; font-weight: 700; color: #0f172a; text-transform: uppercase; letter-spacing: .06em; }
.qpb-text span { font-size: 11px; color: #94a3b8; }

/* Sidebar contact link */
.qsc-link { display: flex; align-items: center; gap: 10px; color: #2487ce; font-weight: 700; font-size: 13px; text-decoration: none; margin-bottom: 8px; }
.qsc-link:last-child { margin-bottom: 0; }
.qsc-link:hover { color: #1a6aad; text-decoration: underline; }
.qsc-link svg { width: 14px; height: 14px; flex-shrink: 0; color: #a3e635; }

/* Sidebar response time card */
.quote-sidebar__response { padding: 20px 24px; background: #f8f9fa; border-top: 2px solid #2487ce; }
.quote-sidebar__response-label { font-size: 10px; font-weight: 700; color: #94a3b8; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.quote-sidebar__response-value { font-size: 22px; font-weight: 900; color: #2487ce; letter-spacing: -.02em; margin-bottom: 2px; }
.quote-sidebar__response-sub { font-size: 11px; color: #94a3b8; }

.quote-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 0;
  align-items: start;
  padding: 0 48px;
  margin-top: 0;
}

.quote-form-wrap { padding: 32px 40px 32px 0; }

/* Form sections (numbered cards) */
.form-section {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  margin-bottom: 16px;
}
.fs-header {
  padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 10px;
}
.fs-num {
  width: 24px;
  height: 24px;
  background: #2487ce;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fs-title { font-size: 12px; font-weight: 700; color: #0f172a; letter-spacing: .06em; text-transform: uppercase; }
.fs-body  { padding: 20px; }

/* Form fields */
.form-row     { display: flex; gap: 20px; }
.form-row--2col > .form-group { flex: 1; }

.form-group   { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group:last-child { margin-bottom: 0; }
.form-group--error .form-input { border-color: #dc2626; }

.form-label   { font-size: 10px; font-weight: 700; color: #94a3b8; letter-spacing: .12em; text-transform: uppercase; }
.form-required { color: #dc2626; }
.form-optional { color: #94a3b8; font-weight: 400; }
.form-hint     { font-size: 11px; color: #94a3b8; margin: 0; }

.form-input {
  padding: 10px 14px;
  background: #f8f9fa;
  border: 1.5px solid #e2e8f0;
  color: #0f172a;
  font-size: 13px;
  transition: border-color .15s, background .15s;
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
}
.form-input:focus { outline: none; border-color: #2487ce; background: #fff; }
.form-input::placeholder { color: #94a3b8; }

.form-textarea { min-height: 90px; resize: vertical; }
.form-select   { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-color: #f8f9fa; padding-right: 36px; }
.form-input--file { padding: 9px 14px; cursor: pointer; }
.form-input--file::-webkit-file-upload-button { background: #e2e8f0; color: #475569; border: none; padding: 4px 10px; cursor: pointer; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }

.form-error { font-size: 11px; color: #dc2626; font-weight: 600; }

/* Upload area */
.upload-area {
  border: 2px dashed #e2e8f0;
  padding: 28px;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  background: #f8f9fa;
}
.upload-area:hover { border-color: #2487ce; background: #eff6ff; }
.upload-icon  { font-size: 28px; margin-bottom: 8px; }
.upload-text  { font-size: 12px; font-weight: 700; color: #475569; text-transform: uppercase; letter-spacing: .06em; }
.upload-note  { font-size: 11px; color: #94a3b8; margin-top: 4px; }

.btn--submit-quote { width: 100%; justify-content: center; padding: 15px; font-size: 13px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; margin-top: 8px; }

/* Alert banners */
.alert { padding: 14px 18px; font-size: 13px; font-weight: 700; margin-bottom: 16px; border-left: 4px solid; }
.alert--success { background: #f7fee7; border-color: #a3e635; color: #365314; }
.alert--error   { background: #fef2f2; border-color: #dc2626; color: #7f1d1d; }

/* Quote sidebar */
.quote-sidebar {
  padding: 32px 0 32px 32px;
  border-left: 1.5px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  position: sticky;
  top: 68px;
}

.quote-sidebar__card { padding: 24px; border-bottom: 1px solid #f1f5f9; }
.quote-sidebar__card:last-child { border-bottom: none; }

.quote-sidebar__heading {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid #2487ce;
}

.quote-sidebar__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.quote-sidebar__steps li { font-size: 13px; color: #475569; line-height: 1.6; padding-left: 28px; position: relative; }
.quote-sidebar__steps li::before { content: counter(step); counter-increment: step; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background: #2487ce; color: #fff; font-size: 10px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.quote-sidebar__steps { counter-reset: step; }
.quote-sidebar__steps strong { color: #0f172a; font-weight: 700; }

.quote-sidebar__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.quote-sidebar__list li { font-size: 13px; color: #475569; padding-left: 14px; position: relative; }
.quote-sidebar__list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; background: #a3e635; }

.quote-sidebar__contact p { font-size: 13px; color: #64748b; margin: 0 0 8px; }
.quote-sidebar__phone,
.quote-sidebar__email { display: block; color: #2487ce; font-weight: 700; font-size: 14px; text-decoration: none; margin-bottom: 4px; }
.quote-sidebar__phone:hover,
.quote-sidebar__email:hover { text-decoration: underline; }

/* Quote responsive */
@media (max-width: 1024px) {
  .quote-layout { grid-template-columns: 1fr; padding: 0 24px; }
  .quote-form-wrap { padding: 24px 0; }
  .quote-sidebar { position: static; border-left: none; border-top: 1.5px solid #e2e8f0; padding: 24px 0 0; flex-direction: row; flex-wrap: wrap; }
  .quote-sidebar__card { flex: 1 1 260px; border-bottom: none; border-right: 1px solid #f1f5f9; }
  .quote-sidebar__card:last-child { border-right: none; }
}
@media (max-width: 640px) {
  .form-row--2col { flex-direction: column; }
  .quote-sidebar__card { flex: 1 1 100%; border-right: none; border-bottom: 1px solid #f1f5f9; }
  .quote-page .page-header { padding: 20px 24px; }
  .quote-process-bar { padding: 0 24px; }
  .quote-process-bar__inner { flex-direction: column; }
  .qpb-step { padding: 12px 0; border-bottom: 1px solid #f1f5f9; }
  .qpb-step:not(:last-child)::after { display: none; }
  .qpb-step:last-child { border-bottom: none; }
}

/* ============================================================
   PS-06 CHECKOUT PAGE — /checkout
   ============================================================ */

.checkout-page { background: #f8f9fa; min-height: 70vh; padding-bottom: 80px; }

/* Page header — white strip with step indicator (matches shop/cart pattern) */
.ck-page-header {
  background: #fff;
  border-bottom: 1.5px solid #e2e8f0;
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.ck-page-header__title {
  font-size: 28px; font-weight: 900; color: #0f172a;
  letter-spacing: -.02em; text-transform: uppercase; margin: 0;
}
.ck-page-header__sub { font-size: 13px; color: #94a3b8; margin-top: 6px; letter-spacing: .04em; }

/* Step indicator (matches quote page .qh-steps pattern) */
.ck-steps {
  display: flex;
  background: #f8f9fa;
  border: 1.5px solid #e2e8f0;
  flex-shrink: 0;
}
.ck-step {
  flex: 1;
  padding: 14px 24px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-right: 1px solid #e2e8f0;
  position: relative;
  min-width: 100px;
}
.ck-step:last-child { border-right: none; }
.ck-step__num   { font-size: 20px; font-weight: 900; color: #dbeafe; letter-spacing: -.03em; }
.ck-step__label { font-size: 10px; font-weight: 700; color: #94a3b8; letter-spacing: .1em; text-transform: uppercase; }
.ck-step__bar   { position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: #e2e8f0; }
.ck-step--active .ck-step__num   { color: #2487ce; }
.ck-step--active .ck-step__label { color: #0f172a; }
.ck-step--active .ck-step__bar   { background: #2487ce; }
.ck-step--done .ck-step__num     { color: #a3e635; }
.ck-step--done .ck-step__bar     { background: #a3e635; }

.checkout-page .container { padding-top: 32px; }

/* Alert */
.ck-alert { padding: 12px 16px; margin: 20px 0 0; font-size: 13px; font-weight: 600; }
.ck-alert--error { background: #fef2f2; border: 1.5px solid #fca5a5; color: #dc2626; }

/* Two-column layout: form (2fr) + summary (1fr) */
.ck-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0;
  align-items: start;
}

/* ── Form column ─────────────────────────────────────── */
.ck-form-col { display: flex; flex-direction: column; gap: 0; }

.ck-section {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-bottom: none;
  padding: 28px 32px;
}
.ck-section:last-child { border-bottom: 1.5px solid #e2e8f0; }

.ck-section-title {
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #0f172a; margin-bottom: 20px;
  padding-bottom: 10px; border-bottom: 2px solid #2487ce;
}

.ck-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ck-field { display: flex; flex-direction: column; gap: 5px; }
.ck-field--full { grid-column: 1 / -1; }

.ck-label {
  font-size: 10px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #94a3b8;
}
.ck-opt { font-weight: 400; text-transform: none; letter-spacing: 0; }

.ck-input {
  border: 1.5px solid #e2e8f0; background: #f8f9fa; color: #0f172a;
  padding: 11px 14px; font-size: 13px; outline: none;
  transition: border-color .15s, background .15s;
  font-family: inherit;
}
.ck-input:focus   { border-color: #2487ce; background: #fff; }
.ck-input--error  { border-color: #dc2626; background: #fef2f2; }
.ck-select        { cursor: pointer; appearance: auto; }

/* Payment method tabs */
.ck-pay-tabs { display: flex; flex-direction: column; gap: 0; margin-bottom: 16px; }

.ck-pay-tab {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; cursor: pointer;
  border: 1.5px solid #e2e8f0; border-bottom: none;
  background: #fff; transition: all .15s;
}
.ck-pay-tab:last-child { border-bottom: 1.5px solid #e2e8f0; }
.ck-pay-tab input[type="radio"] { margin: 0; flex-shrink: 0; accent-color: #2487ce; }
.ck-pay-tab--active { background: #eff6ff; border-color: #2487ce; }
.ck-pay-tab--active + .ck-pay-tab { border-top-color: #2487ce; }

.ck-pay-tab__inner { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.ck-pay-tab__icon  { display: none; }
.ck-pay-tab__label { font-size: 13px; font-weight: 700; color: #0f172a; }
.ck-pay-tab__sub   { font-size: 11px; color: #94a3b8; }
.ck-pay-tab__unavail { font-size: 10px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }

.ck-pay-info { padding: 12px 0; }
.ck-pay-info__text { font-size: 12px; color: #64748b; line-height: 1.6; }

.ck-terms { font-size: 11px; color: #94a3b8; padding: 16px 32px; background: #f8f9fa; border: 1.5px solid #e2e8f0; border-top: none; }
.ck-terms a { color: #2487ce; }

/* ── Ship-to-different-address toggle ────────────────── */
.ck-ship-toggle { display: flex; align-items: center; gap: 8px; margin-top: 16px; cursor: pointer; font-size: 13px; color: #374151; user-select: none; }
.ck-ship-toggle input[type="checkbox"] { width: 16px; height: 16px; accent-color: #2487ce; cursor: pointer; flex-shrink: 0; }
.ck-section--shipping { border-top: 2px dashed #e2e8f0; margin-top: 4px; }

/* ── Shipping method options ─────────────────────────── */
.ck-ship-options { display: flex; flex-direction: column; gap: 10px; }

.ck-ship-option {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border: 1.5px solid #e2e8f0;
  background: #f8f9fa;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  user-select: none;
}
.ck-ship-option:hover { border-color: #93c5fd; background: #f0f7ff; }
.ck-ship-option--selected { border-color: #2487ce; background: #f0f7ff; }

.ck-ship-option input[type="radio"] {
  flex-shrink: 0; width: 17px; height: 17px; margin: 0; cursor: pointer;
}

.ck-ship-option__label {
  flex: 1; display: flex; flex-direction: column; gap: 2px;
}
.ck-ship-option__label strong {
  font-size: 13px; font-weight: 600; color: #0f172a;
}
.ck-ship-option__label small {
  font-size: 11px; color: #64748b; font-weight: 400;
}

.ck-ship-option__price {
  font-size: 14px; font-weight: 700; color: #2487ce; white-space: nowrap;
}

/* Free shipping banner */
.ck-ship-free {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  border: 1.5px solid #a3e635;
  background: #f7fee7;
}
.ck-ship-free__label { font-size: 13px; font-weight: 600; color: #3a5a04; }
.ck-ship-free__price { font-size: 14px; font-weight: 700; color: #3a5a04; }

/* Legacy / disabled message */
.ck-ship-legacy { font-size: 13px; color: #64748b; margin: 0; }

/* ── Order summary sidebar ───────────────────────────── */
.ck-summary {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  padding: 28px 24px;
  position: sticky;
  top: 80px;
  margin-left: 24px;
}

.ck-sum-title {
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #0f172a; margin-bottom: 16px;
  padding-bottom: 10px; border-bottom: 2px solid #2487ce;
}

.ck-sum-items { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 10px; }

.ck-sum-item { display: flex; align-items: flex-start; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid #f1f5f9; }
.ck-sum-item:last-child { border-bottom: none; }
.ck-sum-item__info  { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.ck-sum-item__title { font-size: 13px; font-weight: 700; color: #0f172a; }
.ck-sum-item__meta  { font-size: 11px; color: #94a3b8; display: flex; align-items: center; gap: 5px; }
.ck-sum-item__price { font-size: 13px; font-weight: 700; color: #2487ce; white-space: nowrap; }

.ck-sum-totals { display: flex; flex-direction: column; gap: 8px; padding: 14px 0; border-top: 1.5px solid #e2e8f0; border-bottom: 1.5px solid #e2e8f0; margin-bottom: 16px; }
.ck-sum-row { display: flex; justify-content: space-between; font-size: 12px; color: #475569; }
.ck-sum-row--total { font-size: 16px; font-weight: 900; color: #0f172a; margin-top: 4px; }
.ck-sum-row--total span:last-child { color: #2487ce; }
.ck-free { color: #65a30d; font-weight: 700; }

.ck-place-btn {
  width: 100%; background: #a3e635; color: #111; border: none;
  padding: 16px; font-size: 13px; font-weight: 900; letter-spacing: .1em;
  text-transform: uppercase; cursor: pointer; transition: background .15s;
  margin-bottom: 12px;
}
.ck-place-btn:hover    { background: #bef264; }
.ck-place-btn:disabled { background: #d1fae5; cursor: not-allowed; }

.ck-back-link { display: block; text-align: center; font-size: 12px; color: #2487ce; margin-bottom: 16px; }
.ck-back-link:hover { text-decoration: underline; }

/* ── Consent checkboxes (right column, under Place Order) ── */
.ck-consent-checks { display: flex; flex-direction: column; gap: 0; margin-bottom: 12px; }
.ck-check-row {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer; font-size: 12px; color: #374151; line-height: 1.5;
  user-select: none;
}
.ck-check-row:first-child { border-top: 1px solid #f1f5f9; }
.ck-check-row input[type="checkbox"] { flex-shrink: 0; margin-top: 2px; accent-color: #2487ce; width: 15px; height: 15px; cursor: pointer; }
.ck-check-row span { flex: 1; }
.ck-check-row--required span::after { content: ' *'; color: #ef4444; }
.ck-check-error { margin: 0 0 6px 0; font-size: 11px; color: #ef4444; padding-left: 25px; }

.ck-trust-list { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; border-top: 1px solid #f1f5f9; padding-top: 14px; }
.ck-trust-list li { font-size: 11px; color: #94a3b8; }

/* ============================================================
   PS-07 CHECKOUT OUTCOMES — success / pending / cancel
   ============================================================ */

.ck-outcome-page { background: #f8f9fa; min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 60px 0; }

.ck-outcome {
  background: #fff; border: 1.5px solid #e2e8f0;
  max-width: 640px; margin: 0 auto;
  padding: 48px 48px 40px; text-align: center;
}

.ck-outcome__icon { margin: 0 auto 24px; width: 64px; height: 64px; }
.ck-outcome__icon--success circle { stroke: #a3e635; }

.ck-outcome__heading {
  font-size: 24px; font-weight: 900; color: #0f172a;
  text-transform: uppercase; letter-spacing: -.02em; margin-bottom: 10px;
}

.ck-outcome__ref {
  font-size: 13px; color: #475569; margin-bottom: 16px;
}
.ck-outcome__ref strong { color: #2487ce; font-size: 15px; }

.ck-outcome__body {
  font-size: 14px; color: #475569; line-height: 1.7; margin-bottom: 24px;
}

.ck-outcome__note {
  font-size: 12px; color: #94a3b8; margin-bottom: 24px; line-height: 1.6;
}

.ck-outcome__info-box {
  background: #eff6ff; border: 1.5px solid #bfdbfe;
  padding: 14px 18px; font-size: 12px; color: #1d4ed8;
  text-align: left; margin-bottom: 24px; line-height: 1.6;
}

.ck-outcome__actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ck-outcome__link { font-size: 12px; color: #2487ce; }
.ck-outcome__link:hover { text-decoration: underline; }

/* Bank transfer box */
.ck-bank-box {
  background: #f8f9fa; border: 1.5px solid #e2e8f0;
  text-align: left; margin-bottom: 24px;
}
.ck-bank-title {
  font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #94a3b8; padding: 12px 18px; border-bottom: 1px solid #e2e8f0; background: #fff;
}
.ck-bank-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 18px; border-bottom: 1px solid #f1f5f9; font-size: 12px;
}
.ck-bank-row:last-child { border-bottom: none; }
.ck-bank-row--ref { background: #eff6ff; }
.ck-bank-key { color: #94a3b8; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 10px; }
.ck-bank-val { color: #0f172a; font-weight: 600; }
.ck-bank-mono { font-family: 'Courier New', monospace; letter-spacing: .08em; }
.ck-bank-val--amount { color: #2487ce; font-size: 15px; font-weight: 900; }
.ck-bank-note { font-size: 11px; color: #94a3b8; padding: 10px 18px; line-height: 1.6; }
.ck-bank-note a { color: #2487ce; }

/* Success order items */
.ck-success-items { text-align: left; border: 1.5px solid #e2e8f0; margin-bottom: 24px; }
.ck-success-items__title { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #94a3b8; padding: 10px 16px; border-bottom: 1px solid #e2e8f0; }
.ck-success-item { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid #f1f5f9; font-size: 12px; }
.ck-success-item:last-of-type { border-bottom: 1px solid #e2e8f0; }
.ck-success-item__title { flex: 1; color: #0f172a; font-weight: 600; }
.ck-success-item__meta { color: #94a3b8; }
.ck-success-item__price { color: #2487ce; font-weight: 700; }
.ck-success-total { padding: 10px 16px; font-size: 13px; color: #0f172a; font-weight: 700; text-align: right; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .ck-page-header { flex-direction: column; align-items: flex-start; padding: 24px 32px; }
  .ck-steps { width: 100%; }
}
@media (max-width: 900px) {
  .ck-layout { grid-template-columns: 1fr; }
  .ck-summary { margin-left: 0; margin-top: 24px; position: static; }
}
@media (max-width: 640px) {
  .ck-page-header { padding: 20px 20px; }
  .ck-page-header__title { font-size: 22px; }
  .ck-steps { display: none; }
  .ck-fields { grid-template-columns: 1fr; }
  .ck-section { padding: 20px 18px; }
  .ck-outcome { padding: 32px 20px; }
  .ck-bank-row { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* ============================================================
   PS-13 STANDALONE CONTACT PAGE — /contact
   ============================================================ */

.contact-section--page { padding: 56px 0 72px; }
.contact-section--page .contact-info__intro {
  font-size: 15px; color: #475569; line-height: 1.7; margin-bottom: 24px;
}

/* ============================================================
   PS-15 UNSUBSCRIBE PAGE — /unsubscribe
   ============================================================ */

.unsub-page {
  background: #f8f9fa; min-height: 70vh;
  display: flex; align-items: center; justify-content: center;
  padding: 60px 24px;
}

.unsub-card {
  background: #fff; border: 1.5px solid #e2e8f0;
  max-width: 480px; width: 100%;
  padding: 48px 40px; text-align: center;
}

.unsub-icon {
  width: 56px; height: 56px; margin: 0 auto 24px;
  color: #94a3b8;
}
.unsub-icon--success { color: #22c55e; }
.unsub-icon--warn    { color: #f59e0b; }
.unsub-icon svg { width: 100%; height: 100%; }

.unsub-card__title {
  font-size: 22px; font-weight: 800; color: #0f172a;
  margin-bottom: 12px; line-height: 1.3;
}

.unsub-card__body {
  font-size: 15px; color: #475569; line-height: 1.7;
  margin-bottom: 20px;
}

.unsub-card__note {
  font-size: 13px; color: #94a3b8; line-height: 1.6;
  margin-top: 20px;
}

.unsub-card__cta { display: inline-block; margin-top: 8px; }

.unsub-form { text-align: left; margin-top: 24px; }
.unsub-form .form-group { margin-bottom: 16px; }
.unsub-form .btn { width: 100%; justify-content: center; }

@media (max-width: 540px) {
  .unsub-card { padding: 32px 20px; }
  .unsub-card__title { font-size: 19px; }
}

/* ============================================================
   CA-01–CA-05: Customer Auth + Account Pages
   ============================================================ */

/* ── Auth pages (login / register / forgot / reset) ── */
.auth-wrap {
  min-height: calc(100vh - 60px);
  background: #f8f9fa;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 20px;
}
.auth-card {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  width: 100%;
  max-width: 440px;
  padding: 40px;
}
.auth-card__header { margin-bottom: 28px; }
.auth-card__title { font-size: 22px; font-weight: 900; color: #0f172a; letter-spacing: -.02em; text-transform: uppercase; margin: 0 0 6px; }
.auth-card__sub { font-size: 13px; color: #475569; margin: 0; }

.auth-alert { padding: 12px 16px; font-size: 13px; margin-bottom: 20px; border-left: 3px solid; }
.auth-alert--error { background: #fef2f2; color: #dc2626; border-color: #dc2626; }
.auth-alert--success { background: #f0fdf4; color: #16a34a; border-color: #16a34a; }
.auth-alert a { color: inherit; font-weight: 700; }

.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-form__group { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.auth-form__label {
  font-size: 10px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #94a3b8;
  display: flex; justify-content: space-between; align-items: center;
}
.auth-form__label-link { font-size: 10px; color: #2487ce; font-weight: 700; text-decoration: none; }
.auth-form__label-link:hover { text-decoration: underline; }
.auth-form__hint { font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 10px; }
.auth-form__input {
  border: 1.5px solid #e2e8f0; background: #f8f9fa;
  color: #0f172a; padding: 11px 14px;
  font-size: 14px; outline: none; transition: border-color .15s, background .15s;
  width: 100%; box-sizing: border-box;
}
.auth-form__input:focus { border-color: #2487ce; background: #fff; }

.auth-btn { display: block; width: 100%; padding: 13px; font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; border: none; cursor: pointer; text-align: center; margin-top: 8px; }
.auth-btn--primary { background: #a3e635; color: #111; }
.auth-btn--primary:hover { background: #bef264; }
.auth-btn--secondary { background: #fff; color: #2487ce; border: 1.5px solid #2487ce; display: inline-block; width: auto; text-decoration: none; }
.auth-btn--secondary:hover { background: #2487ce; color: #fff; }
.auth-btn--sm { padding: 7px 14px; font-size: 10px; }

.auth-card__footer { margin-top: 24px; text-align: center; font-size: 13px; color: #475569; }
.auth-card__footer a { color: #2487ce; font-weight: 700; text-decoration: none; }
.auth-card__footer a:hover { text-decoration: underline; }

@media (max-width: 480px) {
  .auth-card { padding: 28px 20px; }
  .auth-form__row { grid-template-columns: 1fr; }
}

/* ── Account layout (dashboard / orders / settings) ── */
.acct-wrap {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
  align-items: start;
}

/* ── Sidebar ── */
.acct-sidebar {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  position: sticky;
  top: 80px;
}
.acct-sidebar__user { display: flex; gap: 12px; align-items: center; padding: 20px 20px 16px; border-bottom: 1px solid #f1f5f9; }
.acct-sidebar__avatar { width: 38px; height: 38px; background: #2487ce; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 900; flex-shrink: 0; }
.acct-sidebar__name { font-size: 13px; font-weight: 700; color: #0f172a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 134px; line-height: 1.3; }
.acct-sidebar__email { font-size: 11px; color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 134px; margin-top: 2px; }
.acct-sidebar__nav { padding: 8px 0; }
.acct-sidebar__link { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #475569; text-decoration: none; padding: 10px 20px; display: flex; align-items: center; gap: 10px; transition: background .12s, color .12s; border-left: 3px solid transparent; }
.acct-sidebar__link:hover { background: #f8f9fa; color: #0f172a; }
.acct-sidebar__link.active { background: #eff6ff; color: #2487ce; border-left-color: #2487ce; }
.acct-sidebar__link svg { width: 15px; height: 15px; flex-shrink: 0; opacity: .55; }
.acct-sidebar__link.active svg { opacity: 1; }
.acct-sidebar__badge { margin-left: auto; background: #a3e635; color: #111; font-size: 9px; font-weight: 900; padding: 2px 6px; letter-spacing: .06em; flex-shrink: 0; }
.acct-sidebar__divider { height: 1px; background: #f1f5f9; margin: 8px 0; }
.acct-sidebar__logout { display: block; padding: 10px 20px 14px; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #94a3b8; text-decoration: none; }
.acct-sidebar__logout:hover { color: #dc2626; }

/* ── Main content ── */
.acct-main { min-width: 0; }

.acct-header { display: flex; align-items: baseline; gap: 14px; margin-bottom: 28px; padding-bottom: 16px; border-bottom: 2px solid #2487ce; }
.acct-header__title { font-size: 22px; font-weight: 900; color: #0f172a; letter-spacing: -.02em; text-transform: uppercase; margin: 0; }
.acct-header__count { font-size: 12px; color: #94a3b8; font-weight: 700; }

/* ── Flash messages ── */
.acct-flash { padding: 12px 16px; font-size: 13px; margin-bottom: 20px; border-left: 3px solid; font-weight: 600; }
.acct-flash--success { background: #f0fdf4; color: #16a34a; border-color: #16a34a; }
.acct-flash--error { background: #fef2f2; color: #dc2626; border-color: #dc2626; }

/* ── Download prompt (dashboard — conditional) ── */
.acct-dl-prompt { background: #fff; border: 1.5px solid #a3e635; padding: 16px 20px; margin-bottom: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.acct-dl-prompt__text { font-size: 13px; font-weight: 700; color: #0f172a; }
.acct-dl-prompt__sub { font-size: 11px; color: #64748b; margin-top: 3px; font-weight: 400; }
.acct-dl-prompt__btn { background: #a3e635; color: #111; font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; padding: 10px 20px; white-space: nowrap; flex-shrink: 0; text-decoration: none; display: inline-block; }
.acct-dl-prompt__btn:hover { background: #bef264; }

/* ── Stat cards (dashboard) ── */
.acct-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; }
.acct-stat { background: #fff; border: 1.5px solid #e2e8f0; padding: 20px; text-decoration: none; display: block; transition: border-color .15s; }
.acct-stat:hover { border-color: #2487ce; }
.acct-stat__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 12px; }
.acct-stat__icon { width: 30px; height: 30px; background: #eff6ff; display: flex; align-items: center; justify-content: center; }
.acct-stat__icon svg { width: 16px; height: 16px; color: #2487ce; }
.acct-stat__pill { font-size: 9px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; padding: 3px 7px; }
.acct-stat__pill--lime { background: #a3e635; color: #111; }
.acct-stat__pill--muted { background: #f1f5f9; color: #64748b; }
.acct-stat__value { font-size: 30px; font-weight: 900; color: #0f172a; line-height: 1; }
.acct-stat__label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #94a3b8; margin-top: 4px; }
.acct-stat__action { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #2487ce; margin-top: 12px; display: block; }

/* ── Sections ── */
.acct-section { margin-bottom: 32px; }
.acct-section__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid #e2e8f0; }
.acct-section__title { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #64748b; margin: 0; }
.acct-section__link { font-size: 11px; font-weight: 700; color: #2487ce; text-decoration: none; letter-spacing: .06em; text-transform: uppercase; }
.acct-section__link:hover { text-decoration: underline; }

/* ── Table ── */
.acct-table-wrap { overflow-x: auto; }
.acct-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.acct-table th { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #94a3b8; padding: 8px 14px; text-align: left; border-bottom: 1.5px solid #e2e8f0; background: #f8f9fa; }
.acct-table td { padding: 13px 14px; border-bottom: 1px solid #f1f5f9; color: #475569; vertical-align: middle; }
.acct-table tr:last-child td { border-bottom: none; }
.acct-table tbody tr:hover td { background: #f8f9fa; }
.acct-table__order-ref { font-weight: 800; color: #0f172a; font-family: monospace; font-size: 12px; letter-spacing: .04em; }
.acct-table__amount { font-weight: 700; color: #0f172a; }
.acct-table__link { color: #2487ce; text-decoration: none; font-weight: 700; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.acct-table__link:hover { text-decoration: underline; }
.acct-table tfoot td { border-top: 1.5px solid #e2e8f0; border-bottom: none; font-size: 13px; color: #475569; padding: 8px 14px; }
.acct-table__tfoot-label { text-align: right; font-weight: 600; }
.acct-table__total-row td { font-weight: 900; color: #0f172a; font-size: 15px; border-top: 2px solid #0f172a !important; }

/* ── Empty state ── */
.acct-empty { text-align: center; padding: 48px 20px; color: #475569; font-size: 14px; }
.acct-empty p { margin-bottom: 20px; }

/* ── Buttons (account context) ── */
.acct-btn { display: inline-block; padding: 11px 22px; font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; border: none; cursor: pointer; text-decoration: none; text-align: center; transition: background .15s, color .15s; }
.acct-btn--primary { background: #a3e635; color: #111; }
.acct-btn--primary:hover { background: #bef264; }
.acct-btn--secondary { background: #fff; color: #2487ce; border: 1.5px solid #2487ce; }
.acct-btn--secondary:hover { background: #2487ce; color: #fff; }
.acct-btn--sm { padding: 7px 14px; font-size: 10px; }

/* ── Pagination ── */
.acct-pagination { display: flex; gap: 6px; margin-top: 24px; flex-wrap: wrap; }
.acct-pagination__btn { padding: 7px 13px; font-size: 12px; font-weight: 700; border: 1.5px solid #e2e8f0; color: #475569; text-decoration: none; }
.acct-pagination__btn:hover { border-color: #2487ce; color: #2487ce; }
.acct-pagination__btn.active { background: #2487ce; color: #fff; border-color: #2487ce; }

/* ── Order detail layout ── */
.acct-order-grid { display: grid; grid-template-columns: 1fr 268px; gap: 24px; align-items: start; }
.acct-order-grid__items { margin-bottom: 0; }

/* ── Cards (order detail info boxes) ── */
.acct-card { background: #fff; border: 1.5px solid #e2e8f0; margin-bottom: 16px; }
.acct-card__head { padding: 12px 20px; border-bottom: 1px solid #f1f5f9; display: flex; align-items: center; justify-content: space-between; }
.acct-card__title { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #64748b; }
.acct-card__body { padding: 20px; }
.acct-dl { font-size: 13px; }
.acct-dl dt { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #94a3b8; margin-top: 10px; }
.acct-dl dt:first-child { margin-top: 0; }
.acct-dl dd { margin: 2px 0 0; color: #0f172a; font-weight: 600; }
.acct-address { font-style: normal; font-size: 13px; color: #475569; line-height: 1.8; }

/* ── Doc items inside order cards ── */
.acct-doc-item { padding: 12px 0; border-bottom: 1px solid #f1f5f9; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.acct-doc-item:last-child { border-bottom: none; }
.acct-doc-item__info { flex: 1; min-width: 0; }
.acct-doc-item__name { font-size: 13px; font-weight: 700; color: #0f172a; }
.acct-doc-item__meta { font-size: 11px; color: #94a3b8; margin-top: 2px; }
/* Legacy alias kept for backwards compat */
.acct-download-item { padding: 12px 0; border-bottom: 1px solid #f1f5f9; }
.acct-download-item:last-child { border-bottom: none; }
.acct-download-item__name { font-size: 13px; font-weight: 700; color: #0f172a; margin-bottom: 4px; }
.acct-download-item__meta { font-size: 11px; color: #94a3b8; margin-bottom: 8px; }

/* ── Downloads page — card grid ── */
.acct-dl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.acct-dl-card { background: #fff; border: 1.5px solid #e2e8f0; padding: 20px; transition: border-color .15s; }
.acct-dl-card:hover { border-color: #2487ce; }
.acct-dl-card--expired { opacity: .6; }
.acct-dl-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.acct-dl-card__name { font-size: 14px; font-weight: 700; color: #0f172a; line-height: 1.35; }
.acct-dl-card__type { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #94a3b8; margin-top: 3px; }
.acct-dl-card__meta { font-size: 11px; color: #94a3b8; margin-bottom: 10px; display: flex; gap: 12px; flex-wrap: wrap; }
.acct-dl-card__progress { height: 3px; background: #e2e8f0; margin-bottom: 14px; }
.acct-dl-card__progress-bar { height: 100%; background: #2487ce; transition: width .3s; }
.acct-dl-card__progress-bar--warn { background: #f59e0b; }
.acct-dl-card__progress-bar--full { background: #dc2626; }
.acct-dl-card__actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.acct-dl-card__order-link { font-size: 10px; color: #94a3b8; font-weight: 600; text-decoration: none; }
.acct-dl-card__order-link:hover { color: #2487ce; }
.acct-dl-filter { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.acct-dl-filter__btn { padding: 7px 14px; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; border: 1.5px solid #e2e8f0; color: #475569; background: #fff; cursor: pointer; text-decoration: none; display: inline-block; transition: all .12s; }
.acct-dl-filter__btn:hover, .acct-dl-filter__btn.active { background: #2487ce; color: #fff; border-color: #2487ce; }
.acct-dl-filter__btn--lime { background: #a3e635; color: #111; border-color: #a3e635; }
.acct-dl-filter__btn--lime:hover { background: #bef264; border-color: #bef264; }

/* ── Settings tabs ── */
.acct-settings-tabs { display: flex; border-bottom: 2px solid #e2e8f0; margin-bottom: 28px; }
.acct-settings-tab { padding: 10px 20px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #94a3b8; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; user-select: none; }
.acct-settings-tab:hover { color: #0f172a; }
.acct-settings-tab.active { color: #2487ce; border-bottom-color: #2487ce; }

/* ── Settings form sections ── */
.acct-form-section { background: #fff; border: 1.5px solid #e2e8f0; padding: 24px; margin-bottom: 20px; }
.acct-form-section__title { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #64748b; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid #f1f5f9; }
.acct-form { }
.acct-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.acct-form__group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 16px; }
.acct-form__group:last-of-type { margin-bottom: 0; }
.acct-form__label { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #94a3b8; display: flex; justify-content: space-between; align-items: center; }
.acct-form__hint { font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 10px; color: #cbd5e1; }
.acct-form__input { border: 1.5px solid #e2e8f0; background: #f8f9fa; color: #0f172a; padding: 11px 14px; font-size: 14px; outline: none; transition: border-color .15s, background .15s; width: 100%; }
.acct-form__input:focus { border-color: #2487ce; background: #fff; }
.acct-form__helper { font-size: 12px; color: #94a3b8; margin: 0 0 16px; }
.acct-form__actions { margin-top: 20px; display: flex; gap: 12px; align-items: center; }
.acct-form__actions .acct-btn { margin: 0; }

/* ── Address cards (settings addresses tab) ── */
.acct-addr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.acct-addr-card { background: #fff; border: 1.5px solid #e2e8f0; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.acct-addr-card__label { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #94a3b8; }
.acct-addr-card__content { font-size: 13px; color: #475569; line-height: 1.8; }
.acct-addr-card__empty { font-size: 13px; color: #cbd5e1; font-style: italic; }
.acct-addr-card__actions { display: flex; gap: 8px; }

/* ── Badges reused from store but in account context ── */
.badge--blue    { background: #eff6ff; color: #2487ce; }
.badge--info    { background: #f0f9ff; color: #0369a1; }
.badge--warning { background: #fffbeb; color: #d97706; }
.badge--success { background: #f0fdf4; color: #16a34a; }
.badge--danger  { background: #fef2f2; color: #dc2626; }
.badge--muted   { background: #f1f5f9; color: #64748b; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .acct-wrap { grid-template-columns: 1fr; gap: 0; }
  .acct-sidebar { position: static; margin-bottom: 24px; }
  .acct-order-grid { grid-template-columns: 1fr; }
  .acct-order-grid__aside .acct-card { margin-bottom: 16px; }
  .acct-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .acct-stats { grid-template-columns: 1fr 1fr; }
  .acct-form__grid { grid-template-columns: 1fr; }
  .acct-addr-grid { grid-template-columns: 1fr; }
  .auth-form__row { grid-template-columns: 1fr; }
  .acct-wrap { padding: 24px 16px; }
  .acct-dl-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   PS-03 / PS-04 — Sale / Compare-at price, Tags, OOS
   ============================================================ */

/* ── Product card price ──────────────────────────────────── */
.pc-price-wrap { display: flex; flex-direction: column; gap: 1px; }
.pc-price-was {
    font-size: .75rem;
    color: #94a3b8;
    text-decoration: line-through;
    line-height: 1.2;
}
.pc-price--sale { color: #dc2626; }
.pc-oos {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #dc2626;
}
.pc-btn--disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #e2e8f0;
    color: #94a3b8;
    font-size: 1rem;
    cursor: not-allowed;
}
.badge-sale {
    background: #dc2626;
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 2px 7px;
}

/* ── Product detail price block ──────────────────────────── */
.di-price-block {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .5rem;
}
.di-price-was {
    font-size: 1.1rem;
    color: #94a3b8;
    text-decoration: line-through;
}
.di-price--sale { color: #dc2626; }
.di-price-save {
    font-size: .8rem;
    font-weight: 700;
    color: #dc2626;
    background: #fee2e2;
    padding: 2px 8px;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.di-out-of-stock {
    display: inline-block;
    margin-top: .5rem;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #dc2626;
    border: 1px solid #dc2626;
    padding: 2px 10px;
}

/* ── Product tags ────────────────────────────────────────── */
.di-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin-bottom: .75rem;
}
.di-tag {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #2487ce;
    border: 1px solid #2487ce;
    padding: 1px 8px;
    text-decoration: none;
    transition: background .12s, color .12s;
}
.di-tag:hover {
    background: #2487ce;
    color: #fff;
}


/* ── CMS pages / landing pages / forms (R7 foundation) ───── */
.cms-page-hero, .cms-landing-hero { position:relative; padding:56px 24px; border-bottom:1.5px solid #e2e8f0; background:#fff; }
.cms-page-hero.has-image, .cms-landing-hero.has-image { background:#f8fafc; }
.cms-page-hero__inner, .cms-landing-hero__inner { max-width:1280px; margin:0 auto; display:grid; gap:24px; align-items:center; }
.cms-page-hero__inner { grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr); }
.cms-landing-hero__inner { grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr); position:relative; z-index:1; }
.cms-page-hero__eyebrow { font-size:11px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:#2487ce; margin-bottom:10px; }
.cms-page-hero__title { font-size:44px; line-height:1.02; letter-spacing:-.03em; text-transform:uppercase; color:#0f172a; margin:0; }
.cms-page-hero__lead { font-size:16px; line-height:1.7; color:#475569; max-width:760px; margin-top:14px; }
.cms-page-hero__media img { width:100%; border:1px solid #e2e8f0; border-radius:16px; display:block; }
.cms-landing-hero.has-image::before { content:''; position:absolute; inset:0; background-image:linear-gradient(rgba(255,255,255,.84), rgba(255,255,255,.92)), var(--landing-bg, none); background-size:cover; background-position:center; }
.cms-page-body { max-width:1280px; margin:0 auto; padding:40px 24px 64px; display:grid; gap:32px; grid-template-columns:minmax(0,1fr) minmax(300px,360px); }
.cms-page-body__content { min-width:0; }
.prose { color:#334155; font-size:16px; line-height:1.8; }
.prose h2, .prose h3 { color:#0f172a; line-height:1.2; margin-top:28px; margin-bottom:12px; }
.prose p, .prose ul, .prose ol { margin:0 0 16px; }
.prose a { color:#2487ce; }
.cms-form-card { background:#fff; border:1px solid #e2e8f0; border-radius:18px; padding:20px; box-shadow:0 10px 28px rgba(15,23,42,.05); }
.cms-form-card__intro { margin:0 0 14px; color:#64748b; line-height:1.7; }
.cms-form { display:grid; gap:14px; }
.cms-form__group { display:grid; gap:6px; }
.cms-form__label { font-size:11px; font-weight:700; color:#64748b; letter-spacing:.08em; text-transform:uppercase; }
.cms-form__input, .cms-form__textarea { width:100%; border:1.5px solid #dbe3ef; background:#fff; border-radius:12px; padding:12px 14px; font:inherit; color:#0f172a; }
.cms-form__textarea { min-height:120px; resize:vertical; }
.cms-form__choices { display:grid; gap:10px; font-size:14px; color:#334155; }
.cms-form__consent { display:flex; gap:10px; align-items:flex-start; font-size:14px; color:#334155; }
.form-success, .form-error { font-size:14px; border-radius:12px; padding:12px 14px; }
.form-success { background:#f0fdf4; color:#166534; border:1px solid #bbf7d0; }
.form-error { background:#fff7ed; color:#9a3412; border:1px solid #fdba74; }
.cms-landing-hero__content { margin-top:22px; }
.cms-landing-hero__form { align-self:start; }
@media (max-width: 960px) {
  .cms-page-hero__inner, .cms-landing-hero__inner, .cms-page-body { grid-template-columns:1fr; }
  .cms-page-hero__title { font-size:34px; }
}

/* ── R7 navigation + homepage parity ─────────────────────── */
.nav-links .nav-item { display:block; position:relative; }
.nav-links .nav-item > a { border-left:none; }
.nav-links .nav-item:first-child > a { border-left:1px solid rgba(255,255,255,.15); }
.nav-dropdown {
  position:absolute; left:0; top:100%; min-width:220px; background:#fff;
  border:1px solid #dbeafe; box-shadow:0 16px 32px rgba(15,23,42,.14);
  opacity:0; visibility:hidden; transform:translateY(8px); transition:all .16s ease; z-index:1100;
}
.nav-dropdown ul { list-style:none; margin:0; padding:8px 0; }
.nav-dropdown a {
  display:block; height:auto; padding:12px 16px; border:none !important;
  color:#0f172a; text-transform:none; letter-spacing:.03em; font-size:13px;
}
.nav-dropdown a:hover, .nav-dropdown a.active { color:#2487ce; background:#eff6ff; }
.nav-item--has-children:hover > .nav-dropdown,
.nav-item--has-children:focus-within > .nav-dropdown { opacity:1; visibility:visible; transform:translateY(0); }
.mobile-nav__children { list-style:none; margin:8px 0 0; padding:0 0 0 14px; border-left:2px solid rgba(255,255,255,.12); }
.mobile-nav__children a { font-size:13px; padding:10px 0 10px 12px; text-transform:none; letter-spacing:.03em; }

.hero.hero-slider { display:block; position:relative; }
.hero-slide { display:none; }
.hero-slide.is-active { display:grid; grid-template-columns:1fr 1fr; min-height:560px; }
.hero-slide.is-active.hero-slide--height-compact { min-height:480px; }
.hero-slide.is-active.hero-slide--height-standard { min-height:560px; }
.hero-slide.is-active.hero-slide--height-tall { min-height:640px; }
.hero-slide .hero-right { position:relative; }
.hero-right__visual {
  position:absolute; inset:0;
  background-image:linear-gradient(rgba(var(--hero-overlay-rgb,255,255,255), var(--hero-overlay-opacity,.18)), rgba(var(--hero-overlay-rgb,255,255,255), var(--hero-overlay-opacity,.18))), var(--hero-slide-bg, none);
  background-size:cover; background-position:var(--hero-slide-bg-pos, center);
}
.hero-right__fallback-card {
  position:absolute; left:50%; top:50%; transform:translate(-50%, -50%); width:min(320px, calc(100% - 48px));
  background:rgba(255,255,255,.92); border:1px solid #dbeafe; padding:18px; display:flex; gap:14px; align-items:center;
  box-shadow:0 12px 30px rgba(15,23,42,.12);
}
.hero-h1--plain em, .hero-h1--plain mark { color:inherit; -webkit-text-stroke:0; }
.hero-h1--stacked { line-height:.88; }
.hero-h1__stack { display:flex; flex-direction:column; gap:4px; }
.hero-h1__line { display:block; }
.hero-h1__line--outline { color:transparent; -webkit-text-stroke:1.5px #2487ce; text-stroke:1.5px #2487ce; }
.hero-h1__line--accent { color:#a3e635; }
.hero-h1__line--solid { color:#0f172a; }
.hero-slide--light .hero-h1__line--outline { -webkit-text-stroke-color:#93c5fd; text-stroke-color:#93c5fd; }
.hero-slide--light .hero-h1__line--accent { color:#a3e635; }
.hero-slide--light .hero-h1__line--solid { color:#fff; }
.hero-slide--light .hero-left { background:#0f172a; border-right-color:#1e293b; }
.hero-slide--light .hero-number { color:#64748b; }
.hero-slide--light .hero-number::before { background:#334155; }
.hero-slide--light .hero-number span { color:#93c5fd; }
.hero-slide--light .hero-h1 { color:#fff; }
.hero-slide--light .hero-sub { color:#cbd5e1; border-left-color:#93c5fd; }
.hero-slide--light .btn-ghost { color:#cbd5e1; border-color:#475569; }
.hero-slide--light .btn-ghost:hover { color:#fff; border-color:#93c5fd; }
.hero-slide--align-center .hero-left { align-items:center; text-align:center; }
.hero-slide--align-center .hero-number { justify-content:center; }
.hero-slide--align-center .hero-number::before { display:none; }
.hero-slide--align-center .hero-sub { border-left:none; border-top:3px solid #2487ce; padding-left:0; padding-top:16px; max-width:560px; text-align:center; }
.hero-slide--align-center .hero-actions { justify-content:center; }
.hero-slide--light.hero-slide--align-center .hero-sub { border-top-color:#93c5fd; }
.hero-slider__controls {
  position:absolute; left:0; right:0; bottom:18px; display:flex; align-items:center; justify-content:center; gap:14px; z-index:3;
}
.hero-slider__nav {
  width:40px; height:40px; border:none; background:rgba(15,23,42,.75); color:#fff; cursor:pointer; font-size:26px; line-height:1;
}
.hero-slider__dots { display:flex; gap:8px; }
.hero-slider__dot {
  width:12px; height:12px; border-radius:999px; border:none; background:rgba(255,255,255,.5); cursor:pointer;
}
.hero-slider__dot.is-active { background:#a3e635; }

.footer-inner { grid-template-columns:1.2fr 1fr 1fr 1fr; }
.footer-legal { display:flex; flex-wrap:wrap; gap:16px; }
.footer-legal a { color:rgba(255,255,255,.55); font-size:11px; text-transform:uppercase; letter-spacing:.06em; }
.footer-legal a:hover { color:#a3e635; }

@media (max-width: 1024px) {
  .footer-inner { grid-template-columns:1fr 1fr; }
  .footer-nav--secondary { grid-column:auto; }
}
@media (max-width: 768px) {
  .hero-slide.is-active { grid-template-columns:1fr; }
  .hero-slide .hero-right { display:none; }
  .hero-slider__controls { position:static; padding:16px 0 0; background:#fff; }
  .footer-legal { margin-top:8px; justify-content:center; }
}


@media (max-width: 1024px) {
  .category-tiles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .category-tiles-section { padding: 32px 24px 8px; }
  .category-tiles-grid { grid-template-columns: 1fr; }
}

/* ── Homepage admin IA refresh ───────────────────────────── */
.adm-section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}
.adm-section-nav__link {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all .15s ease;
}
.adm-section-nav__link:hover,
.adm-section-nav__link.is-active {
  border-color: #2487ce;
  color: #2487ce;
  background: #eff6ff;
}
.adm-home-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.adm-home-overview-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1.5px solid #e2e8f0;
}
.adm-home-overview-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 20px 0;
}
.adm-home-overview-card__eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 6px;
}
.adm-home-overview-card__title {
  font-size: 18px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -.02em;
}
.adm-home-overview-card__body {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.adm-home-overview-card__body p {
  margin: 0;
  color: #475569;
  line-height: 1.6;
}
.adm-home-overview-card__meta {
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.5;
}
.adm-home-overview-card__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.adm-home-overview-card__list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #f1f5f9;
  background: #f8fafc;
  font-size: 12px;
  color: #334155;
}
.adm-home-overview-card__actions {
  display: flex;
  gap: 8px;
  padding: 0 20px 20px;
  flex-wrap: wrap;
}
@media (max-width: 1100px) {
  .adm-home-overview-grid { grid-template-columns: 1fr; }
}

/* ── Homepage promo block ───────────────────────────────── */
.promo-banner-shell {
  padding: 0 48px;
  background: #f8f9fa;
}
.promo-banner__wrap {
  max-width: 1360px;
  margin: 0 auto;
}
.promo-banner {
  position: relative;
  overflow: hidden;
  border: 1.5px solid #e2e8f0;
}
.promo-banner__content,
.promo-banner__actions {
  position: relative;
  z-index: 1;
}
.promo-banner__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.promo-banner__eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #2487ce;
}
.promo-banner__headline {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.05;
  text-transform: uppercase;
  color: #0f172a;
}
.promo-banner__body {
  color: #475569;
  line-height: 1.6;
  font-size: 14px;
}
.promo-banner__actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.promo-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 12px 18px;
  transition: all .15s ease;
}
.promo-banner__btn--primary {
  background: #a3e635;
  color: #111;
}
.promo-banner__btn--primary:hover { background: #bef264; }
.promo-banner__btn--secondary {
  border: 1.5px solid currentColor;
  color: inherit;
}
.promo-banner--blue {
  background: #eff6ff;
  border-color: #dbeafe;
}
.promo-banner--offwhite {
  background: #fffdf8;
  border-color: #e7e5e4;
}
.promo-banner--lime {
  background: #f7fee7;
  border-color: #d9f99d;
}
.promo-banner--dark {
  background: #0f172a;
  border-color: #1e293b;
}
.promo-banner--tone-light .promo-banner__headline,
.promo-banner--tone-light .promo-banner__body,
.promo-banner--tone-light .promo-banner__btn--secondary {
  color: #fff;
}
.promo-banner--tone-light .promo-banner__eyebrow { color: #a3e635; }
.promo-banner--tone-dark .promo-banner__btn--secondary { color: #0f172a; }

/* Promo strip = compact commerce message */
.promo-banner--strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 24px;
  border-top-width: 2px;
}
.promo-banner--strip.promo-banner--compact {
  padding: 16px 20px;
}
.promo-banner--strip .promo-banner__content {
  max-width: 760px;
}
.promo-banner--strip .promo-banner__headline {
  font-size: 20px;
  line-height: 1.15;
}
.promo-banner--strip .promo-banner__body {
  max-width: 680px;
}
.promo-banner--strip::before,
.promo-banner--strip::after {
  content: none;
}

/* Seasonal banner = larger campaign block */
.promo-banner--banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  min-height: 220px;
  padding: 34px 32px;
}
.promo-banner--banner.promo-banner--compact {
  min-height: 180px;
  padding: 24px 24px;
}
.promo-banner--banner.promo-banner--standard {
  min-height: 220px;
}
.promo-banner--banner .promo-banner__content {
  max-width: 760px;
}
.promo-banner--banner .promo-banner__headline {
  font-size: 34px;
}
.promo-banner--banner .promo-banner__body {
  max-width: 620px;
  font-size: 15px;
}
.promo-banner--banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,23,42,.74) 0%, rgba(15,23,42,.42) 48%, rgba(15,23,42,.18) 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.promo-banner--banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--promo-bg-image, none);
  background-size: cover;
  background-position: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.promo-banner--banner.promo-banner--has-image::before,
.promo-banner--banner.promo-banner--has-image::after {
  opacity: 1;
}
.promo-banner--banner.promo-banner--has-image {
  border-color: transparent;
}
.promo-banner--banner.promo-banner--has-image .promo-banner__headline,
.promo-banner--banner.promo-banner--has-image .promo-banner__body,
.promo-banner--banner.promo-banner--has-image .promo-banner__btn--secondary {
  color: #fff;
}
.promo-banner--banner.promo-banner--has-image .promo-banner__eyebrow {
  color: #a3e635;
}

@media (max-width: 900px) {
  .promo-banner-shell { padding: 0 24px; }
  .promo-banner--strip,
  .promo-banner--banner {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }
  .promo-banner--banner { min-height: 0; }
  .promo-banner__headline { font-size: 24px; }
  .promo-banner--banner .promo-banner__headline { font-size: 28px; }
}
@media (max-width: 640px) {
  .promo-banner-shell { padding: 0 16px; }
  .promo-banner--strip .promo-banner__headline { font-size: 19px; }
  .promo-banner--banner .promo-banner__headline { font-size: 22px; }
}


/* Testimonials section (carousel — Phase 4 polish) */
.testimonials-section{padding:48px;background:#f8f9fa;position:relative;}
.testimonials-grid{
  display:flex;
  flex-direction:row;
  gap:24px;
  overflow-x:auto;
  scroll-behavior:smooth;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  padding:8px 4px 16px 4px;
}
.testimonials-grid::-webkit-scrollbar{display:none;}
.testimonial-card{
  background:#fff;
  padding:28px 24px;
  display:flex;
  flex-direction:column;
  gap:14px;
  min-width:0;
  flex:0 0 calc((100% - 48px) / 3);
  scroll-snap-align:start;
  border:1px solid #e5edf3;
  border-top:3px solid #2487ce;
  box-shadow:0 1px 3px rgba(15,23,42,.06);
}
.testimonial-card__rating{font-size:18px;letter-spacing:.18em;color:#a3e635;font-weight:900;line-height:1;}
.testimonial-card__quote{margin:0;font-size:15px;line-height:1.75;color:#334155;flex:1 1 auto;}
.testimonial-card__meta{display:flex;flex-direction:column;gap:4px;padding-top:10px;border-top:1px solid #f1f5f9;}
.testimonial-card__name{font-size:13px;font-weight:800;letter-spacing:.04em;color:#0f172a;text-transform:uppercase;}
.testimonial-card__role{font-size:12px;color:#64748b;line-height:1.5;}
.testimonial-card__source{font-size:11px;color:#94a3b8;letter-spacing:.05em;text-transform:uppercase;margin-top:2px;}
/* Prev/next arrow controls (visible on hover; always tab-focusable) */
.testimonials-section .testimonials-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:42px;height:42px;
  display:flex;align-items:center;justify-content:center;
  background:#ffffff;
  color:#2487ce;
  border:1px solid #cbd5e1;
  font-size:20px;font-weight:700;line-height:1;
  cursor:pointer;
  z-index:2;
  opacity:0;
  transition:opacity .2s ease,background-color .2s ease;
}
.testimonials-section:hover .testimonials-arrow,
.testimonials-section .testimonials-arrow:focus-visible{opacity:1;}
.testimonials-section .testimonials-arrow:hover{background:#2487ce;color:#ffffff;}
.testimonials-section .testimonials-arrow--prev{left:8px;}
.testimonials-section .testimonials-arrow--next{right:8px;}
/* Tablet — 2 cards visible */
@media (max-width:980px){
  .testimonial-card{flex-basis:calc((100% - 24px) / 2);}
}
/* Mobile — 1 card visible */
@media (max-width:640px){
  .testimonials-section{padding:32px 24px;}
  .testimonial-card{flex-basis:100%;}
  .testimonials-section .testimonials-arrow{width:36px;height:36px;font-size:18px;}
}
/* Reduced-motion users keep the manual arrows but the JS skips auto-scroll */
@media (prefers-reduced-motion:reduce){
  .testimonials-grid{scroll-behavior:auto;}
}


/* === Product Tab Redesign === */

/* ── Layout shell ── */
.new-detail-content {
  display: grid;
  grid-template-columns: 1fr 240px;
  background: #ffffff;
}
.new-dc-main {
  padding: 32px;
  border-right: 1px solid #e2e8f0;
}
.new-dc-side {
  display: flex;
  flex-direction: column;
}

/* ── Key spec cards ── */
.key-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1.5px solid #e2e8f0;
  border-bottom: none;
  margin-bottom: 24px;
}
.ks-card {
  padding: 20px 18px;
  border-right: 1.5px solid #e2e8f0;
  border-bottom: 1.5px solid #e2e8f0;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.ks-card:last-child { border-right: none; }
.ks-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: #2487ce;
}
.ks-icon {
  width: 32px; height: 32px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.ks-value {
  font-size: 18px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -.02em;
  line-height: 1;
}
.ks-label {
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* ── Specs section title ── */
.specs-section-title {
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.specs-section-title::before {
  content: '';
  display: block;
  width: 3px; height: 12px;
  background: #2487ce;
}

/* ── Full spec table (new) ── */
.specs-table-new {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  border: 1.5px solid #e2e8f0;
}
.specs-table-new tr { border-bottom: 1px solid #f1f5f9; }
.specs-table-new tr:last-child { border-bottom: none; }
.specs-table-new tr:hover td,
.specs-table-new tr:hover th { background: #eff6ff; }
.specs-table-new th {
  padding: 12px 16px;
  background: #f8f9fa;
  color: #334155;
  font-weight: 700;
  font-size: 12px;
  width: 38%;
  border-right: 1.5px solid #e2e8f0;
  text-align: left;
  transition: background .1s;
}
.specs-table-new td {
  padding: 12px 16px;
  color: #0f172a;
  font-weight: 600;
  transition: background .1s;
}
.specs-table-new tbody tr:first-child th { border-left: 3px solid #2487ce; }

/* ── Quick Reference sidebar ── */
.qr-header {
  font-size: 10px; font-weight: 700; color: #94a3b8;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 10px 14px 8px;
  background: #f8f9fa;
  border-bottom: 1px solid #e2e8f0;
}
.qr-row {
  display: flex;
  border-bottom: 1px solid #f1f5f9;
  font-size: 11px;
  align-items: stretch;
}
.qr-row:last-of-type { border-bottom: none; }
.qr-k {
  padding: 10px 14px; background: #f8f9fa; color: #64748b;
  font-weight: 700; font-size: 10px; letter-spacing: .05em; text-transform: uppercase;
  width: 44%; border-right: 1px solid #f1f5f9; flex-shrink: 0;
}
.qr-v {
  padding: 10px 14px; color: #0f172a; font-weight: 700; font-size: 12px;
  display: flex; align-items: center;
}

/* ── Shipping: process strip ── */
.ship-process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1.5px solid #e2e8f0;
  margin-bottom: 24px;
  position: relative;
}
.ship-process::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: #2487ce;
}
.sp-step {
  padding: 20px 18px;
  border-right: 1.5px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.sp-step:last-child { border-right: none; }
.sp-num {
  width: 22px; height: 22px;
  background: #2487ce;
  color: #ffffff;
  font-size: 11px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sp-icon-wrap { display: flex; align-items: center; gap: 8px; }
.sp-icon {
  width: 36px; height: 36px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.sp-title {
  font-size: 12px; font-weight: 900; color: #0f172a;
  text-transform: uppercase; letter-spacing: .04em;
}
.sp-note { font-size: 11px; color: #64748b; line-height: 1.5; }
.sp-badge {
  margin-top: 4px;
  font-size: 10px; font-weight: 700; color: #2487ce;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 8px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  display: inline-block; width: fit-content;
}

/* ── Shipping: rate cards ── */
.rates-title {
  font-size: 10px; font-weight: 700; color: #94a3b8;
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 12px; padding-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
  display: flex; align-items: center; gap: 8px;
}
.rates-title::before {
  content: '';
  display: block;
  width: 3px; height: 12px;
  background: #2487ce;
}
.rate-cards {
  display: flex; flex-direction: column;
  gap: 1px; background: #e2e8f0;
  border: 1.5px solid #e2e8f0;
  margin-bottom: 16px;
}
.rate-card {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  background: #ffffff;
  border-left: 3px solid transparent;
  transition: border-color .15s, background .15s;
}
.rate-card:hover { background: #eff6ff; border-left-color: #2487ce; }
.rate-icon {
  width: 36px; height: 36px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.rate-info { flex: 1; }
.rate-service { font-size: 13px; font-weight: 700; color: #0f172a; margin-bottom: 2px; }
.rate-note { font-size: 11px; color: #64748b; }
.rate-price { font-size: 16px; font-weight: 900; color: #2487ce; white-space: nowrap; }

/* ── Free shipping banner ── */
.free-ship-banner {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: #f7fee7;
  border: 1.5px solid #d9f99d;
  margin-bottom: 16px;
}
.fsb-icon { font-size: 18px; flex-shrink: 0; }
.fsb-text { font-size: 12px; font-weight: 700; color: #365314; }
.fsb-sub { font-size: 11px; color: #4d7c0f; font-weight: 400; margin-top: 1px; }

/* ── Coverage notice ── */
.coverage-notice {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 16px;
  border: 1.5px solid #e2e8f0;
  background: #f8f9fa;
  margin-top: 16px;
}
.cn-icon { font-size: 16px; flex-shrink: 0; padding-top: 1px; }
.cn-text { font-size: 12px; color: #64748b; line-height: 1.5; }
.cn-text strong { color: #334155; }

/* ── Shipping sidebar sections ── */
.ship-sidebar-section {
  border-bottom: 1.5px solid #e2e8f0;
}
.ship-sidebar-section:last-child { border-bottom: none; }

/* ── Digital download flow ── */
.dl-flow {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1.5px solid #e2e8f0;
  margin-bottom: 20px;
  position: relative;
}
.dl-flow::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #2487ce 0%, #2487ce 60%, #a3e635 100%);
}
.dl-step {
  padding: 18px 16px;
  border-right: 1.5px solid #e2e8f0;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 6px;
}
.dl-step:last-child { border-right: none; }
.dl-step-wrap { position: relative; }
.dl-step-icon {
  width: 40px; height: 40px;
  background: #eff6ff; border: 1px solid #bfdbfe;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; margin-bottom: 4px;
}
.dl-step-num {
  position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
  width: 16px; height: 16px;
  background: #2487ce; color: #ffffff;
  font-size: 9px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.dl-step-title { font-size: 11px; font-weight: 900; color: #0f172a; text-transform: uppercase; letter-spacing: .04em; }
.dl-step-note { font-size: 11px; color: #64748b; line-height: 1.4; }
.dl-info-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: #e2e8f0;
  border: 1.5px solid #e2e8f0;
}
.dl-info-card {
  padding: 14px 16px;
  background: #ffffff;
  display: flex; flex-direction: column; gap: 4px;
}
.dl-ic-label { font-size: 10px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .1em; }
.dl-ic-value { font-size: 15px; font-weight: 900; color: #0f172a; }
.dl-ic-sub { font-size: 11px; color: #64748b; }

/* ── Tab redesign responsive ── */
@media (max-width: 900px) {
  .new-detail-content { grid-template-columns: 1fr; }
  .new-dc-main { border-right: none; border-bottom: 1px solid #e2e8f0; }
  .key-specs-grid { grid-template-columns: repeat(2, 1fr); }
  .ship-process { grid-template-columns: 1fr; }
  .sp-step { border-right: none; border-bottom: 1.5px solid #e2e8f0; }
  .sp-step:last-child { border-bottom: none; }
  .dl-flow { grid-template-columns: 1fr; }
  .dl-step { border-right: none; border-bottom: 1.5px solid #e2e8f0; }
  .dl-step:last-child { border-bottom: none; }
  .dl-info-cards { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .key-specs-grid { grid-template-columns: repeat(2, 1fr); }
  .new-dc-main { padding: 20px; }
}

/* ── Cookie Consent Modal ───────────────────────────────────── */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  animation: cookieBackdropFadeIn 0.2s ease;
}
@keyframes cookieBackdropFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: cookieDialogFadeIn 0.25s ease;
}
@keyframes cookieDialogFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-modal__dialog {
  background: #fff;
  max-width: 480px;
  width: 100%;
  padding: 32px;
  border-top: 4px solid #2487ce;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25);
}
.cookie-modal__title {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 12px;
  line-height: 1.3;
}
.cookie-modal__text {
  font-size: 14px;
  line-height: 1.55;
  color: #374151;
  margin: 0 0 20px;
}
.cookie-modal__link {
  color: #2487ce;
  text-decoration: underline;
  white-space: nowrap;
  margin-left: 4px;
}
.cookie-modal__link:hover { color: #1a6ba8; }
.cookie-modal__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  flex: 1 1 auto;
}
.cookie-btn--accept {
  background: #a3e635;
  color: #111827;
  border-color: #a3e635;
  font-weight: 700;
}
.cookie-btn--accept:hover {
  background: #8fcc1f;
  border-color: #8fcc1f;
}
.cookie-btn--reject {
  background: transparent;
  color: #2487ce;
  border-color: #2487ce;
}
.cookie-btn--reject:hover {
  background: #f0f7fe;
}
.cookie-modal.is-hidden,
.cookie-modal-backdrop.is-hidden {
  display: none;
}
body.cookie-modal-open {
  overflow: hidden;
}
@media (max-width: 600px) {
  .cookie-modal__dialog {
    padding: 24px;
    width: 92vw;
  }
  .cookie-modal__actions {
    flex-direction: column-reverse;
  }
  .cookie-btn {
    width: 100%;
  }
}
/* ── Shop page — inline search (added 2026-05-14, restyled 2026-05-14c) ── */
/* Matches .sort-select + .apply-btn aesthetic. Square corners, Segoe UI.
   Grows to fill .filter-bar row up to the result count.                   */
.shop-search {
  flex: 1 1 auto;
  display: flex;
  align-items: stretch;
  gap: 0;
}
.shop-search__field {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
}
.shop-search__input {
  width: 100%;
  height: 34px;
  padding: 0 30px 0 14px;
  border: 1px solid #cbd5e1;
  border-right: none;
  border-radius: 0;
  background: #fff;
  color: #0f172a;
  font: 600 12px/34px "Segoe UI", system-ui, -apple-system, sans-serif;
  letter-spacing: 0.48px;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}
.shop-search__input::placeholder {
  color: #94a3b8;
  font-weight: 500;
  letter-spacing: 0.4px;
}
.shop-search__input::-webkit-search-cancel-button { display: none; }
.shop-search__input:focus {
  outline: none;
  border-color: #2487ce;
}
.shop-search__clear {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.shop-search__clear:hover { background: #e2e8f0; }
.shop-search__btn {
  flex: 0 0 auto;
  height: 34px;
  padding: 0 18px;
  background: #2487ce;
  color: #fff;
  border: 1px solid #2487ce;
  border-radius: 0;
  font: 700 11px/1 "Segoe UI", system-ui, -apple-system, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
.shop-search__btn:hover {
  background: #1a6aad;
  border-color: #1a6aad;
}
.filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
