/* ==========================================================================
   Akotech Phones and Accessories — stylesheet
   Theme: copper traces on a circuit board. Dark surface, copper accent,
   signal-green for live/positive states, muted brick for errors.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

/* ---------------------------------- tokens ---------------------------------- */

:root {
--bg: #0f1420;
  --bg-alt: #141a2a;
  --surface: #1a2235;
  --surface-hover: #212b42;
  --surface-raised: #232d47;
  --line: #2b3552;
  --line-strong: #3d4a6b;

  --text: #edf3ee;
  --text-muted: #9bad9f;
  --text-faint: #6d8177;

  --copper: #4f8ff7;
  --copper-bright: #6fa4ff;
  --copper-dim: #3a6bc4;
  --copper-wash: rgba(79, 143, 247, 0.14);

  --silver: #c7d0e0;
  --signal: #4ade80;
  --signal-wash: rgba(74, 222, 128, 0.14);
  --danger: #f75f6f;
  --danger-wash: rgba(247, 95, 111, 0.14);

  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'IBM Plex Sans', 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px;

  --radius-sm: 6px; --radius-md: 12px; --radius-lg: 20px; --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(0,0,0,0.28);
  --shadow-md: 0 10px 28px rgba(0,0,0,0.38);
  --shadow-lg: 0 24px 60px rgba(0,0,0,0.5);

  --transition: 180ms ease;
  --container-w: 1240px;
}

/* ---------------------------------- reset ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, ol, ul { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
table { border-collapse: collapse; width: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--copper-bright);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------------------------------- layout ---------------------------------- */
.container { width: 100%; max-width: var(--container-w); margin: 0 auto; padding: 0 var(--space-5); }
.section { padding: var(--space-8) 0; }
.section--tight { padding: var(--space-6) 0; }
.section-head { max-width: 640px; margin-bottom: var(--space-6); }
.section-head--between { display: flex; align-items: flex-end; justify-content: space-between; max-width: none; gap: var(--space-4); flex-wrap: wrap; }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--copper); margin-bottom: var(--space-3);
}
.eyebrow::before { content: ''; width: 16px; height: 2px; background: var(--copper); }

.lead { font-size: 1.1rem; color: var(--text-muted); max-width: 52ch; }
.muted { color: var(--text-muted); }
.faint { color: var(--text-faint); }
.mono { font-family: var(--font-mono); }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.grid { display: grid; gap: var(--space-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------------------------------- buttons ---------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  padding: 13px 26px; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), opacity var(--transition);
  white-space: nowrap;
}
.btn--primary { background: var(--copper); color: #0e1712; }
.btn--primary:hover { background: var(--copper-bright); transform: translateY(-1px); }
.btn--secondary { background: transparent; color: var(--text); border: 1px solid var(--line-strong); }
.btn--secondary:hover { border-color: var(--copper); color: var(--copper-bright); }
.btn--ghost { background: transparent; color: var(--copper-bright); padding: 13px 6px; }
.btn--ghost:hover { color: var(--copper); }
.btn--block { width: 100%; }
.btn--lg { padding: 16px 32px; font-size: 1.02rem; }
.btn--sm { padding: 9px 18px; font-size: 0.85rem; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none !important; }
.btn--danger-outline { background: transparent; border: 1px solid var(--danger); color: var(--danger); }
.btn--danger-outline:hover { background: var(--danger-wash); }

.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; }
.icon-btn svg { width: 20px; height: 20px; }

/* ---------------------------------- badges ---------------------------------- */
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 10px; border-radius: var(--radius-pill); background: var(--copper); color: #0e1712;
}
.badge--new { background: var(--copper); }
.badge--best { background: var(--signal); }
.badge--sale { background: var(--danger); }

/* ---------------------------------- header / nav ---------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #141a2a; backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__bar { 
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-5);
  padding: 16px 0;
}

.container.site-header__bar{
  max-width: none;
  width: 100%;
  margin:  0;
  padding-left: 20px;
  padding-right:20px;
}

.logo { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; }
.logo__bolt { color: var(--copper); display: inline-flex; align-items: center; }
.logo-bolt-icon { width: 17px; height: 17px; }

.nav-menu { display: flex; align-items: center; gap: var(--space-6); }
.nav-menu__links { display: flex; gap: var(--space-5); }
.nav-menu__links a {
  position: relative; font-size: 0.95rem; color: var(--text-muted); padding-bottom: 6px; transition: color var(--transition);
}
.nav-menu__links a:hover { color: var(--text); }
.nav-menu__links a::after {
  content: ''; position: absolute; left: 50%; bottom: 0; width: 5px; height: 5px; border-radius: 50%;
  background: var(--copper); transform: translateX(-50%) scale(0); transition: transform var(--transition);
}
.nav-menu__links a:hover::after, .nav-menu__links a[aria-current="page"]::after { transform: translateX(-50%) scale(1); }
.nav-menu__links a[aria-current="page"] { color: var(--text); }

.header-actions { display: flex; align-items: center; gap: var(--space-4); }
.account-link { display: inline-flex; color: var(--text); }
.account-link svg { width: 22px; height: 22px; }
.account-link:hover { color: var(--copper-bright); }
.cart-link { position: relative; display: inline-flex; }
.cart-link svg { width: 24px; height: 24px; }
.cart-count {
  position: absolute; top: -8px; right: -10px; min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--copper); color: #0e1712; border-radius: var(--radius-pill);
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); transition: transform var(--transition), opacity var(--transition); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; inset: 65px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-alt); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity var(--transition), transform var(--transition);
    padding: var(--space-4) var(--space-5) var(--space-6);
  }
  .nav-menu.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-menu__links { flex-direction: column; gap: 0; }
  .nav-menu__links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-menu__links a::after { display: none; }
  body.nav-open { overflow: hidden; }
}

/* ---------------------------------- hero ---------------------------------- */
.hero { position: relative; padding: var(--space-8) 0 var(--space-7); overflow: hidden; min-height: 520px; display: flex; align-items: center; }
.hero__bg-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(14, 23, 18, 0.85) 0%, rgba(14, 23, 18, 0.72) 45%, rgba(14, 23, 18, 0.9) 100%);
}
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; gap: var(--space-8); align-items: center; justify-items: center; text-align: center; }
.hero__grid > div { max-width: 780px; }
.hero__grid .lead { margin: 0 auto; }
.hero__ctas { display: flex; gap: var(--space-4); margin: var(--space-6) 0; flex-wrap: wrap; justify-content: center; }
.hero__trust { display: flex; gap: var(--space-6); flex-wrap: wrap; color: var(--text-muted); font-size: 0.88rem; justify-content: center; }
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); flex-shrink: 0; }

/* ---------------------------------- trace divider (signature element) ---------------------------------- */
.trace { width: 100%; height: 44px; color: var(--copper); overflow: visible; }
.trace path { fill: none; stroke: currentColor; stroke-width: 2; stroke-dasharray: 2200; stroke-dashoffset: 2200; transition: stroke-dashoffset 1.5s ease; }
.trace circle { fill: currentColor; opacity: 0; transition: opacity 0.4s ease 0.9s; }
.trace.is-visible path { stroke-dashoffset: 0; }
.trace.is-visible circle { opacity: 1; }

[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------------------------------- category tiles ---------------------------------- */
.category-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.category-tile {
  display: flex; align-items: center; gap: var(--space-4); padding: var(--space-5);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.category-tile:hover { border-color: var(--copper); background: var(--surface-hover); transform: translateY(-2px); }
.category-tile__icon {
  width: 52px; height: 52px; flex-shrink: 0; display: grid; place-items: center;
  background: var(--copper-wash); border-radius: var(--radius-md); color: var(--copper);
}
.category-tile__icon svg { width: 28px; height: 28px; }
.category-tile__arrow { margin-left: auto; color: var(--text-faint); transition: transform var(--transition), color var(--transition); }
.category-tile:hover .category-tile__arrow { color: var(--copper); transform: translateX(3px); }
@media (max-width: 700px) { .category-strip { grid-template-columns: 1fr; } }

/* ---------------------------------- product cards ---------------------------------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
@media (max-width: 1080px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
  overflow: hidden; display: flex; flex-direction: column; transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.product-card:hover { border-color: var(--copper); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.product-card__media {
  position: relative; display: block; aspect-ratio: 1 / 0.9; background: var(--bg-alt);
  display: grid; place-items: center; overflow: hidden;
}
.product-card__icon { width: 46%; color: var(--copper); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-card__body { padding: var(--space-4); display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card__body .btn { margin-top: auto; }
.product-card__brand { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); }
.product-card__name a:hover { color: var(--copper-bright); }
.product-card__name { font-size: 1rem; }
.product-card__rating { font-size: 0.82rem; }
.rating { display: inline-flex; align-items: center; gap: 5px; color: var(--text-muted); }
.star-icon { width: 14px; height: 14px; fill: var(--copper); }
.product-card__price { font-family: var(--font-mono); font-size: 1.05rem; font-weight: 600; display: flex; gap: 8px; align-items: baseline; margin: 2px 0 8px; }
.price-old { text-decoration: line-through; color: var(--text-faint); font-size: 0.85rem; font-weight: 400; }
.price-now { color: var(--text); }
.empty-state { grid-column: 1 / -1; color: var(--text-muted); padding: var(--space-7) 0; text-align: center; }
.empty-state a { color: var(--copper-bright); }

/* icon tint per category on cards/hero */
.product-card[data-category="phones"] .product-card__icon { color: var(--copper-bright); }
.product-card[data-category="laptops"] .product-card__icon { color: var(--silver); }
.product-card[data-category="accessories"] .product-card__icon { color: var(--signal); }

/* ---------------------------------- feature band ---------------------------------- */
.feature-item { display: flex; flex-direction: column; gap: var(--space-3); }
.feature-item__icon { width: 44px; height: 44px; display: grid; place-items: center; background: var(--copper-wash); border-radius: var(--radius-md); color: var(--copper); }
.feature-item__icon svg { width: 22px; height: 22px; }
.feature-item p { color: var(--text-muted); font-size: 0.92rem; }

/* ---------------------------------- testimonials ---------------------------------- */
.testimonial-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-4); }
.testimonial-card__quote { font-size: 1.02rem; }
.testimonial-card__author { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--text-muted); }
.testimonial-card__author span { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); }

/* ---------------------------------- stats ---------------------------------- */
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); text-align: center; }
.stats-bar__num { font-family: var(--font-mono); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 600; color: var(--copper-bright); }
.stats-bar__label { color: var(--text-muted); font-size: 0.88rem; margin-top: 4px; }
@media (max-width: 700px) { .stats-bar { grid-template-columns: repeat(2, 1fr); } }

/* ---------------------------------- newsletter band ---------------------------------- */
.newsletter { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-7); display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); flex-wrap: wrap; }
.newsletter form { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.newsletter input[type="email"] { min-width: 260px; }

/* ---------------------------------- footer ---------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding: var(--space-8) 0 var(--space-6); background: var(--bg-alt); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-6); margin-bottom: var(--space-7); }
.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); margin-bottom: var(--space-4); }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--text-muted); font-size: 0.92rem; }
.footer-col a:hover { color: var(--copper-bright); }
.footer-brand p { color: var(--text-muted); font-size: 0.92rem; max-width: 32ch; margin: var(--space-3) 0 var(--space-4); }
.footer-socials { display: flex; gap: var(--space-3); }
.footer-socials a { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; }
.footer-socials svg { width: 16px; height: 16px; }
.footer-socials a:hover { border-color: var(--copper); color: var(--copper-bright); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: var(--space-5); border-top: 1px solid var(--line); color: var(--text-faint); font-size: 0.82rem; flex-wrap: wrap; gap: var(--space-3); }
.footer-payments { display: flex; gap: 8px; align-items: center; }
.footer-payments span { border: 1px solid var(--line); border-radius: 4px; padding: 3px 7px; font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-faint); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
/* ---------------------------------- breadcrumb ---------------------------------- */
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.85rem; color: var(--text-faint); margin-bottom: var(--space-5); flex-wrap: wrap; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--copper-bright); }

/* ---------------------------------- toolbar (products page) ---------------------------------- */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; margin-bottom: var(--space-6); padding-bottom: var(--space-5); border-bottom: 1px solid var(--line); }
.filter-group { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-btn {
  padding: 9px 18px; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); color: var(--text-muted); font-size: 0.88rem;
  transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--copper); color: var(--text); }
.filter-btn.is-active { background: var(--copper); border-color: var(--copper); color: #0e1712; font-weight: 600; }
.toolbar-right { display: flex; align-items: center; gap: var(--space-4); }
.results-count { color: var(--text-faint); font-size: 0.85rem; white-space: nowrap; }

/* ---------------------------------- forms ---------------------------------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--space-4); }
.field label { font-size: 0.85rem; color: var(--text-muted); }
.field-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field-row--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) { .field-row--3 { grid-template-columns: 1fr 1fr; } }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], select, textarea {
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 12px 14px; color: var(--text); width: 100%; transition: border-color var(--transition);
}
input::placeholder, textarea::placeholder { color: var(--text-faint); }
input:focus, select:focus, textarea:focus { border-color: var(--copper); }
textarea { resize: vertical; min-height: 110px; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%239bad9f'%3E%3Cpath d='M5.5 7.5l4.5 4.5 4.5-4.5' stroke='%239bad9f' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field-error { color: var(--danger); font-size: 0.8rem; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field.has-error .field-error { display: block; }

.checkbox-row, .radio-row { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; accent-color: var(--copper); flex-shrink: 0; }

.option-card {
  display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4);
  border: 1px solid var(--line-strong); border-radius: var(--radius-md); cursor: pointer; transition: border-color var(--transition), background var(--transition);
}
.option-card:hover { border-color: var(--copper); }
.option-card input { flex-shrink: 0; }
.option-card__body { flex: 1; }
.option-card__title { display: flex; justify-content: space-between; gap: var(--space-3); font-weight: 600; }
.option-card__sub { color: var(--text-muted); font-size: 0.85rem; }
.option-card.is-selected { border-color: var(--copper); background: var(--copper-wash); }

.payment-methods { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
@media (max-width: 560px) { .payment-methods { grid-template-columns: 1fr; } }

/* ---------------------------------- step indicator ---------------------------------- */
.steps { display: flex; align-items: flex-start; justify-content: space-between; max-width: 640px; margin: 0 auto var(--space-8); }
.steps__item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; text-align: center; }
.steps__item:not(:last-child)::after {
  content: ''; position: absolute; top: 17px; left: calc(50% + 24px); width: calc(100% - 48px); height: 1px; background: var(--line-strong);
}
.steps__item.is-complete:not(:last-child)::after { background: var(--copper); }
.steps__num {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; z-index: 1;
  font-family: var(--font-mono); font-size: 0.9rem; background: var(--surface); border: 1px solid var(--line-strong); color: var(--text-muted);
}
.steps__item.is-active .steps__num { background: var(--copper); border-color: var(--copper); color: #0e1712; font-weight: 600; }
.steps__item.is-complete .steps__num { background: var(--bg); border-color: var(--copper); color: var(--copper); }
.steps__label { font-size: 0.8rem; color: var(--text-faint); }
.steps__item.is-active .steps__label { color: var(--text); }
@media (max-width: 560px) { .steps__label { display: none; } }

/* ---------------------------------- cart & checkout layout ---------------------------------- */
.commerce-layout { display: grid; grid-template-columns: 1.7fr 1fr; gap: var(--space-6); align-items: start; }
@media (max-width: 900px) { .commerce-layout { grid-template-columns: 1fr; } }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-6); }
.panel + .panel { margin-top: var(--space-5); }
.panel h2 { margin-bottom: var(--space-5); }

/* ---------------------------------- auth pages ---------------------------------- */
.auth-layout { display: flex; justify-content: center; }
.auth-card { width: 100%; max-width: 440px; }
.auth-card .btn.auth-submit { width: 100%; margin-top: var(--space-2); }
.auth-row { display: flex; align-items: center; justify-content: space-between; margin: var(--space-2) 0 var(--space-5); font-size: 0.88rem; }
.auth-checkbox { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 0.88rem; cursor: pointer; }
.auth-checkbox--terms { align-items: flex-start; margin: var(--space-2) 0 var(--space-5); line-height: 1.4; }
.auth-checkbox--terms input { margin-top: 3px; }
.auth-link { color: var(--copper-bright); }
.auth-switch { text-align: center; margin-top: var(--space-5); color: var(--text-muted); font-size: 0.9rem; }

.summary-card { position: sticky; top: 96px; }
.summary-line { display: flex; justify-content: space-between; padding: 10px 0; color: var(--text-muted); font-size: 0.95rem; }
.summary-line--total { color: var(--text); font-weight: 600; font-size: 1.15rem; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; font-family: var(--font-mono); }
.summary-line span:last-child { font-family: var(--font-mono); }
.summary-items { display: flex; flex-direction: column; gap: var(--space-4); margin-bottom: var(--space-5); max-height: 320px; overflow-y: auto; }
.summary-item { display: flex; gap: var(--space-3); align-items: center; }
.summary-item__media { width: 52px; height: 52px; background: var(--bg-alt); border-radius: var(--radius-sm); display: grid; place-items: center; color: var(--copper); flex-shrink: 0; }
.summary-item__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); }
.summary-item__media svg { width: 60%; }
.summary-item__info { flex: 1; font-size: 0.88rem; }
.summary-item__info strong { display: block; font-size: 0.92rem; }
.summary-item__price { font-family: var(--font-mono); font-size: 0.9rem; }

.promo-row { display: flex; gap: var(--space-2); margin: var(--space-4) 0; }
.promo-row input { flex: 1; }
.promo-msg { font-size: 0.82rem; margin-top: -8px; margin-bottom: var(--space-3); }
.promo-msg--ok { color: var(--signal); }
.promo-msg--bad { color: var(--danger); }

/* ---------------------------------- cart table ---------------------------------- */
.cart-row { display: grid; grid-template-columns: 72px 1fr auto auto; gap: var(--space-4); align-items: center; padding: var(--space-5) 0; border-bottom: 1px solid var(--line); }
.cart-row:last-child { border-bottom: none; }
.cart-row__media { width: 72px; height: 72px; background: var(--bg-alt); border-radius: var(--radius-sm); display: grid; place-items: center; color: var(--copper); }
.cart-row__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); }
.cart-row__media svg { width: 55%; }
.cart-row__name a:hover { color: var(--copper-bright); }
.cart-row__meta { font-size: 0.82rem; color: var(--text-faint); margin-top: 2px; }
.cart-row__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cart-row__price { font-family: var(--font-mono); white-space: nowrap; }
.cart-row__remove { color: var(--text-faint); font-size: 0.82rem; }
.cart-row__remove:hover { color: var(--danger); }

@media (max-width: 700px) {
  .cart-row { grid-template-columns: 60px 1fr; grid-template-areas: "media name" "media qty" "media actions"; row-gap: 10px; }
  .cart-row__media { grid-area: media; width: 60px; height: 60px; }
  .cart-row__name { grid-area: name; }
  .cart-row__qty { grid-area: qty; }
  .cart-row__actions { grid-area: actions; flex-direction: row; justify-content: space-between; align-items: center; width: 100%; }
}

.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); }
.qty-stepper button { width: 32px; height: 32px; font-size: 1.1rem; color: var(--text-muted); }
.qty-stepper button:hover { color: var(--copper-bright); }
.qty-stepper input { width: 40px; text-align: center; border: none; background: none; padding: 0; -moz-appearance: textfield; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.cart-empty { text-align: center; padding: var(--space-9) var(--space-5); }
.cart-empty svg { width: 64px; height: 64px; color: var(--text-faint); margin: 0 auto var(--space-5); }

/* ---------------------------------- product detail page ---------------------------------- */
.pd-layout { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); }
@media (max-width: 860px) { .pd-layout { grid-template-columns: 1fr; } }
.pd-media { aspect-ratio: 1; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); display: grid; place-items: center; position: relative; }
.pd-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); }
.pd-media svg { width: 40%; color: var(--copper); }
.pd-brand { font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--copper); margin-bottom: var(--space-2); }
.pd-price { font-family: var(--font-mono); font-size: 1.6rem; font-weight: 600; margin: var(--space-4) 0; display: flex; gap: 12px; align-items: baseline; }
.pd-stock { font-size: 0.85rem; color: var(--signal); margin-bottom: var(--space-5); display: flex; align-items: center; gap: 6px; }
.pd-stock::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }
.pd-colors { margin-bottom: var(--space-5); }
.pd-colors__label { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 10px; }
.pd-colors__swatches { display: flex; gap: 10px; }
.color-swatch { width: 34px; height: 34px; border-radius: 50%; border: 2px solid transparent; padding: 2px; position: relative; }
.color-swatch span { display: block; width: 100%; height: 100%; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15); }
.color-swatch.is-selected { border-color: var(--copper); }
.pd-actions { display: flex; gap: var(--space-4); align-items: center; margin-bottom: var(--space-6); flex-wrap: wrap; }
.pd-specs { border-top: 1px solid var(--line); padding-top: var(--space-5); }
.pd-specs li { display: flex; gap: 10px; padding: 8px 0; color: var(--text-muted); font-size: 0.92rem; }
.pd-specs li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--copper); margin-top: 8px; flex-shrink: 0; }
.pd-tabs-desc { color: var(--text-muted); margin-bottom: var(--space-5); }

/* ---------------------------------- accordion (FAQ) ---------------------------------- */
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-trigger { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: var(--space-5) 0; text-align: left; font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; }
.accordion-icon { width: 20px; height: 20px; position: relative; flex-shrink: 0; }
.accordion-icon::before, .accordion-icon::after { content: ''; position: absolute; background: var(--copper); top: 50%; left: 50%; transform: translate(-50%, -50%); }
.accordion-icon::before { width: 14px; height: 2px; }
.accordion-icon::after { width: 2px; height: 14px; transition: transform var(--transition); }
.accordion-trigger[aria-expanded="true"] .accordion-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.accordion-panel p { color: var(--text-muted); padding-bottom: var(--space-5); max-width: 62ch; }

/* ---------------------------------- contact page ---------------------------------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-7); }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-info-item { display: flex; gap: var(--space-4); padding: var(--space-4) 0; border-bottom: 1px solid var(--line); }
.contact-info-item__icon { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; background: var(--copper-wash); border-radius: var(--radius-md); color: var(--copper); }
.contact-info-item__icon svg { width: 20px; height: 20px; }
.map-placeholder {
  aspect-ratio: 16/9; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
  display: grid; place-items: center; color: var(--text-faint); margin-top: var(--space-5);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 28px 28px;
}
.map-placeholder svg { width: 32px; height: 32px; color: var(--copper); }
.form-message { background: var(--signal-wash); color: var(--signal); border-radius: var(--radius-sm); padding: var(--space-4); font-size: 0.9rem; margin-top: var(--space-4); }

/* ---------------------------------- about page ---------------------------------- */
.about-hero { text-align: center; max-width: 720px; margin: 0 auto; }
.value-card { padding: var(--space-5); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.value-card__num { font-family: var(--font-mono); color: var(--copper); font-size: 0.85rem; margin-bottom: var(--space-3); }
.timeline { border-left: 1px solid var(--line-strong); padding-left: var(--space-5); display: flex; flex-direction: column; gap: var(--space-6); margin-left: 6px; }
.timeline-item { position: relative; }
.timeline-item::before { content: ''; position: absolute; left: -25px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--copper); }
.timeline-item__year { font-family: var(--font-mono); color: var(--copper); font-size: 0.85rem; }

.team-card { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.team-avatar {
  width: 76px; height: 76px; border-radius: 50%; background: var(--copper-wash); color: var(--copper);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
  margin-bottom: var(--space-3); border: 1px solid var(--line);
}
.team-card__role { color: var(--text-faint); font-size: 0.85rem; }

.cta-band {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--space-8); text-align: center;
}
.cta-band h2 { margin-bottom: var(--space-3); }
.cta-band .lead { margin: 0 auto var(--space-6); }

/* ---------------------------------- toast ---------------------------------- */
.toast-container { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.toast {
  background: var(--surface-raised); border: 1px solid var(--copper); color: var(--text); padding: 12px 22px; border-radius: var(--radius-pill);
  font-size: 0.9rem; box-shadow: var(--shadow-md); opacity: 0; transform: translateY(10px); transition: opacity 0.25s ease, transform 0.25s ease;
}
.toast--show { opacity: 1; transform: translateY(0); }

/* ---------------------------------- receipt ---------------------------------- */
.receipt-card { max-width: 640px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-8); }
.receipt-check { width: 64px; height: 64px; border-radius: 50%; background: var(--signal-wash); color: var(--signal); display: grid; place-items: center; margin: 0 auto var(--space-5); }
.receipt-check svg { width: 32px; height: 32px; }
.receipt-meta { display: flex; justify-content: space-between; padding: var(--space-5) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: var(--space-6) 0; }
.receipt-meta div span { display: block; }
.receipt-meta .label { font-size: 0.78rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.receipt-meta .value { font-family: var(--font-mono); font-size: 0.95rem; }
.receipt-address { color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; }
.receipt-actions { display: flex; gap: var(--space-4); margin-top: var(--space-7); flex-wrap: wrap; }

@media print {
  .site-header, .site-footer, .receipt-actions, .toast-container { display: none !important; }
  body { background: #fff; color: #111; }
  .receipt-card { border: none; box-shadow: none; color: #111; }
  .receipt-meta, .cart-row, .summary-line { border-color: #ccc; }
}

/* ---------------------------------- page hero (interior pages) ---------------------------------- */
.page-hero { padding: var(--space-7) 0 var(--space-6); border-bottom: 1px solid var(--line); }
.page-hero h1 { margin-bottom: var(--space-3); }

/* ---------------------------------- utility spacing ---------------------------------- */
.mt-6 { margin-top: var(--space-6); }
.mb-6 { margin-bottom: var(--space-6); }

/* ---------------------------------- server-rendered flash / form messages ---------------------------------- */
.flash-message { border-radius: var(--radius-sm); padding: var(--space-3) var(--space-4); font-size: 0.9rem; margin: var(--space-4) 0 0; }
.flash-message--ok { background: var(--signal-wash); color: var(--signal); }
.flash-message--bad { background: var(--danger-wash); color: var(--danger); }
.form-message--bad, p.form-message.is-error { background: var(--danger-wash); color: var(--danger); }
.promo-msg--ok { color: var(--signal); font-size: 0.85rem; margin-top: var(--space-2); }
.promo-msg--bad { color: var(--danger); font-size: 0.85rem; margin-top: var(--space-2); }
.color-swatch input { position: absolute; opacity: 0; pointer-events: none; }

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: white;
  font-weight: 700;
  font-size: 26px;
}

.logo-icon {
  height: 48px; 
  width: 68px;
  border-radius: 50%; /* makes the IMAGE itself round */
  object-fit: cover; /* crops it to fit the circle */
  background: none; /* no background circle */
  padding: 0;
}

.map-wrap {
  margin-top: -15px;   /* negative = move up */
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  position: relative;
  z-index: 2; /* makes sure it sits on top if it overlaps */
}

.map-wrap iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
}
section .map-wrap, .container .map-wrap {
  margin-top: -15px;
}

.pd-main-image{
  width: 100%;
  max-height: 700px;
  object-fit: cover;
  display: block;
}

.logo{
  justify-self: start;
}

.nav-menu {
  justify-self: center;
}

.header-actions {
  justify-self: end;
}

/* ---------------------------------- admin panel color variables --------
   Scoped, readable light-theme aliases now live in css/admin.css under
   .admin-body — see that file. */
