@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");

/* ============================================================
   Nabeel Naqeeb Hardware — design tokens
   ============================================================ */
:root,
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f3ee;
  --surface: #ffffff;
  --surface-2: #faf9f5;
  --surface-3: #efeee8;
  --text: #161614;
  --muted: #6d6b62;
  --muted-2: #8d8a7f;
  --line: #e5e3d9;
  --line-strong: #cfccc0;
  --accent: #e3a02a;
  --accent-strong: #c98513;
  --accent-ink: #1b1405;
  --accent-soft: #f8ecd4;
  --danger: #b3261e;
  --danger-soft: #fbe7e5;
  --success: #1f7a4d;
  --success-soft: #e2f3ea;
  --info: #2b5b8c;
  --info-soft: #e4eef8;
  --shadow: 0 18px 50px rgba(22, 22, 20, 0.09);
  --shadow-sm: 0 6px 20px rgba(22, 22, 20, 0.06);
  --header: rgba(244, 243, 238, 0.86);
  --radius: 18px;
  --radius-sm: 12px;
  --font-body: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", ui-sans-serif, sans-serif;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #10100f;
  --surface: #191917;
  --surface-2: #1e1e1b;
  --surface-3: #252520;
  --text: #f2f0e7;
  --muted: #a3a096;
  --muted-2: #7d7a70;
  --line: #2c2c27;
  --line-strong: #454337;
  --accent: #f0ad3d;
  --accent-strong: #ffc367;
  --accent-ink: #1b1405;
  --accent-soft: #342817;
  --danger: #ff7b72;
  --danger-soft: #3a1c1a;
  --success: #5fd3a0;
  --success-soft: #173328;
  --info: #8dbbe8;
  --info-soft: #182a3b;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 6px 24px rgba(0, 0, 0, 0.35);
  --header: rgba(16, 16, 15, 0.86);
}

/* ============================================================
   Base
   ============================================================ */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { display: block; flex-shrink: 0; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--accent-ink); }

h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -0.015em; }

.container {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}

.display {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 0.95;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--accent);
}

.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.nowrap { white-space: nowrap; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.hr { height: 1px; background: var(--line); border: 0; margin: 20px 0; }

/* ============================================================
   Buttons & links
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn svg { width: 17px; height: 17px; }
label.btn { cursor: pointer; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-strong); }
.btn-dark { background: var(--text); color: var(--bg); }
.btn-dark:hover { background: var(--accent); color: var(--accent-ink); }
.btn-outline { border-color: var(--line-strong); background: transparent; color: var(--text); }
.btn-outline:hover { border-color: var(--text); }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { background: var(--surface-3); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { filter: brightness(1.08); }
.btn-sm { height: 38px; padding: 0 15px; font-size: 12.5px; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 14.5px; }
.btn-block { width: 100%; }

.icon-btn {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 50%;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.icon-btn:hover { border-color: var(--text); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn.sm { width: 32px; height: 32px; }
.icon-btn.sm svg { width: 15px; height: 15px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.18s ease; }
.link-arrow:hover svg { transform: translateX(3px); }
.link-underline { text-decoration: underline; text-underline-offset: 3px; }
.text-link { color: var(--accent-strong); font-weight: 700; }
.text-link:hover { text-decoration: underline; }

/* ============================================================
   Forms
   ============================================================ */
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 12.5px; font-weight: 700; }
.field .hint { font-size: 11.5px; color: var(--muted); }
.field .error { font-size: 12px; color: var(--danger); }
.input, .field input, .field select, .field textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  color: var(--muted);
}
.check input { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--accent); }
.form-error {
  background: var(--danger-soft);
  color: var(--danger);
  border: 1px solid color-mix(in srgb, var(--danger) 28%, transparent);
  border-radius: 10px;
  padding: 10px 13px;
  font-size: 12.5px;
  margin-bottom: 16px;
}
.form-success {
  background: var(--success-soft);
  color: var(--success);
  border: 1px solid color-mix(in srgb, var(--success) 28%, transparent);
  border-radius: 10px;
  padding: 10px 13px;
  font-size: 12.5px;
  margin-bottom: 16px;
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--text);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.brand-text small {
  display: block;
  margin-top: 4px;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--muted);
}
.brand-img {
  height: 38px;
  width: auto;
  max-width: 70px;
  object-fit: contain;
  display: none;
}
[data-theme="dark"] .brand-img { filter: invert(1); }
.brand.has-logo .brand-mark { display: none; }
.brand.has-logo .brand-img { display: block; order: -1; }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  position: relative;
  padding: 4px 0;
  transition: color 0.16s ease;
}
.site-nav a:hover, .site-nav a.active { color: var(--text); }
.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 9px; }
.header-search {
  position: relative;
  width: 210px;
}
.header-search input {
  width: 100%;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  padding: 0 16px 0 40px;
  font-size: 12.5px;
  outline: none;
}
.header-search input:focus { border-color: var(--accent); }
.header-search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--muted);
  pointer-events: none;
}
.cart-btn { position: relative; }
.cart-count {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 10px;
  font-weight: 800;
  display: grid;
  place-items: center;
  line-height: 1;
}
.menu-btn { display: none; }
.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 14px 0 18px;
}
.mobile-nav.open { display: block; }
.mobile-nav .container { display: grid; gap: 4px; }
.mobile-nav a, .mobile-nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 4px;
  border-bottom: 1px solid var(--line);
  background: none;
  border-left: 0; border-right: 0; border-top: 0;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}
.mobile-nav svg { width: 17px; height: 17px; color: var(--muted); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  margin-top: 40px;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 1.1fr;
  gap: 44px;
  padding: 54px 0 42px;
}
.footer-brand p { margin: 16px 0 0; max-width: 34ch; color: var(--muted); font-size: 13px; }
.footer-logo { display: inline-flex; }
.footer-logo img { height: 92px; width: auto; max-width: 220px; object-fit: contain; }
[data-theme="dark"] .footer-logo img { filter: invert(1); }
.footer-col h3 {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-col a, .footer-col p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 9px;
  font-size: 13px;
  color: var(--muted);
}
.footer-col a:hover { color: var(--text); }
.footer-col svg { width: 14px; height: 14px; margin-top: 4px; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 11.5px;
  color: var(--muted-2);
}
.footer-badges { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   Hero / home
   ============================================================ */
.hero { padding: 62px 0 50px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(54px, 7.4vw, 104px);
  line-height: 0.88;
  letter-spacing: -0.005em;
  margin: 18px 0 22px;
  text-transform: uppercase;
  max-width: 11ch;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { max-width: 48ch; color: var(--muted); font-size: 16px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.hero-meta {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.hero-meta div { display: grid; gap: 1px; }
.hero-meta strong { font-family: var(--font-display); font-size: 26px; line-height: 1; }
.hero-meta span { font-size: 11px; color: var(--muted); }

.hero-visual { position: relative; min-height: 450px; display: grid; place-items: center; }
.hero-panel {
  position: relative;
  width: min(390px, 100%);
  aspect-ratio: 4 / 4.7;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 26px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: rotate(-1.5deg);
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.28;
  pointer-events: none;
}
.hero-panel-top { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 1; }
.hero-panel-top span { font-size: 10px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.hero-panel-top .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero-tool {
  flex: 1;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  color: var(--text);
  margin: 18px 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.hero-tool img { width: 100%; height: 100%; object-fit: cover; }
.hero-tool svg { width: 168px; height: 168px; }
.hero-panel-foot { position: relative; z-index: 1; }
.hero-panel-foot .cat { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.hero-panel-foot h3 { font-size: 17px; margin: 5px 0 4px; }
.hero-panel-foot .price { font-weight: 800; color: var(--accent-strong); }
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 13px;
  box-shadow: var(--shadow-sm);
  font-size: 11.5px;
  font-weight: 700;
  z-index: 2;
}
.float-card svg { width: 20px; height: 20px; color: var(--accent); }
.float-card small { display: block; font-size: 9.5px; color: var(--muted); font-weight: 500; }
.float-one { top: 7%; right: 0; transform: rotate(2deg); }
.float-two { bottom: 22%; left: -4px; transform: rotate(-2deg); }
.float-three { bottom: 30%; right: -6px; padding: 8px 12px; }

/* ============================================================
   Sections / categories
   ============================================================ */
.section { padding: 64px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.section-head h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 0.92;
  margin: 8px 0 0;
}
.section-head p { max-width: 50ch; margin: 8px 0 0; color: var(--muted); font-size: 14px; }

.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.category-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 17px 15px;
  min-height: 148px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.category-card:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.category-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  display: grid;
  place-items: center;
}
.category-icon svg { width: 21px; height: 21px; }
.category-card strong { display: block; font-size: 13px; line-height: 1.3; }
.category-card span { display: block; margin-top: 4px; font-size: 11px; color: var(--muted); }
.category-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}
.category-arrow svg { width: 13px; height: 13px; }
.category-card:hover .category-arrow { background: var(--text); color: var(--bg); border-color: var(--text); }

/* ============================================================
   Product cards / grids
   ============================================================ */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product-grid.three { grid-template-columns: repeat(3, 1fr); }
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 17px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.product-card:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--surface-2);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.product-media a { display: block; width: 100%; height: 100%; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.product-card:hover .product-media img { transform: scale(1.045); }
.product-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--accent-strong);
  position: relative;
  background-image:
    radial-gradient(circle at 70% 24%, var(--accent-soft), transparent 46%),
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: auto, 30px 30px, 30px 30px;
  background-position: center;
}
.product-placeholder::after {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px solid var(--line);
  border-radius: 50%;
  opacity: 0.55;
}
.product-placeholder svg { width: 32%; height: 32%; position: relative; z-index: 1; opacity: 0.9; }
.product-placeholder .ph-label {
  position: absolute;
  bottom: 11px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.badge {
  position: absolute;
  top: 11px;
  left: 11px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge.dark { background: var(--text); color: var(--bg); }
.quick-add {
  position: absolute;
  right: 11px;
  bottom: 11px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: var(--text);
  color: var(--bg);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease, background 0.18s ease;
}
.quick-add svg { width: 17px; height: 17px; }
.product-card:hover .quick-add, .quick-add:focus-visible { opacity: 1; transform: none; }
.quick-add:hover { background: var(--accent); color: var(--accent-ink); }
.product-body { padding: 13px 15px 15px; display: flex; flex-direction: column; flex: 1; gap: 4px; }
.product-cat { font-size: 9.5px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); }
.product-name { font-size: 13.5px; font-weight: 700; line-height: 1.35; margin: 0; }
.product-name a:hover { color: var(--accent-strong); }
.product-price { display: flex; align-items: baseline; gap: 7px; margin-top: auto; padding-top: 9px; flex-wrap: wrap; }
.product-price strong { font-size: 14px; }
.product-price s { color: var(--muted-2); font-size: 11.5px; }
.product-price span { color: var(--muted-2); font-size: 10.5px; }
.stock-line { font-size: 10.5px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.stock-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); }
.stock-dot.low { background: var(--accent); }
.stock-dot.out { background: var(--danger); }

/* ============================================================
   Page head / shop
   ============================================================ */
.page-head { padding: 50px 0 30px; border-bottom: 1px solid var(--line); }
.page-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.page-head-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-bottom: 3px; }
.page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 68px);
  line-height: 0.9;
  text-transform: uppercase;
  margin: 10px 0 10px;
}
.page-head p { max-width: 58ch; color: var(--muted); margin: 0; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}
.breadcrumb a:hover { color: var(--text); }
.breadcrumb svg { width: 12px; height: 12px; }
.shop-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 22px 0 18px;
}
.search-field { position: relative; flex: 1; min-width: 220px; }
.search-field input { padding-left: 42px; }
.search-field svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: var(--muted);
  pointer-events: none;
}
.chip-row { display: flex; gap: 7px; flex-wrap: wrap; }
.chip {
  height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  transition: all 0.16s ease;
}
.chip:hover { border-color: var(--line-strong); color: var(--text); }
.chip.active { background: var(--text); border-color: var(--text); color: var(--bg); }
.select {
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  padding: 0 36px 0 13px;
  font-size: 12.5px;
  font-weight: 600;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236d6b62' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
}
.results-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0 18px;
  font-size: 12px;
  color: var(--muted);
}

/* ============================================================
   Product detail
   ============================================================ */
.product-layout {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 54px;
  padding: 34px 0 60px;
  align-items: start;
}
.gallery-main {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-open {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.gallery-open:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.gallery-zoom-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(20, 20, 19, 0.72);
  color: #fff;
  opacity: 0;
  transition: opacity 0.18s ease;
  pointer-events: none;
}
.gallery-zoom-hint svg { width: 17px; height: 17px; }
.gallery-open:hover .gallery-zoom-hint,
.gallery-open:focus-visible .gallery-zoom-hint { opacity: 1; }
@media (hover: none) {
  .gallery-zoom-hint { opacity: 0.88; }
}
.gallery-main .product-placeholder { border-radius: 22px; }
.gallery-main .product-placeholder svg { width: 30%; height: 30%; }
.gallery-thumbs { display: flex; gap: 9px; margin-top: 10px; flex-wrap: wrap; }
.gallery-thumb {
  width: 66px;
  height: 66px;
  border-radius: 10px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--surface);
  padding: 0;
}
.gallery-thumb.active { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
body.lightbox-open { overflow: hidden; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  background: rgba(9, 9, 8, 0.93);
  animation: lightbox-in 0.18s ease;
}
@keyframes lightbox-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0;
  max-width: min(1100px, 94vw);
  max-height: 92vh;
}
.lightbox-figure img {
  max-width: 100%;
  max-height: calc(92vh - 38px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.lightbox-figure figcaption {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.lightbox-close:hover,
.lightbox-nav:hover { background: rgba(255, 255, 255, 0.22); border-color: rgba(255, 255, 255, 0.5); }
.lightbox-close { top: 18px; right: 18px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-nav.prev { left: 18px; }
.lightbox-nav.next { right: 18px; }
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 640px) {
  .lightbox { padding: 14px; }
  .lightbox-close { top: 12px; right: 12px; width: 40px; height: 40px; }
  .lightbox-nav { width: 40px; height: 40px; }
  .lightbox-nav.prev { left: 10px; }
  .lightbox-nav.next { right: 10px; }
  .lightbox-figure { max-width: 100%; }
}
.product-info .eyebrow { margin-bottom: 12px; }
.product-info h1 { font-size: clamp(28px, 3.8vw, 42px); line-height: 1.06; margin: 0 0 10px; }
.product-info .short { color: var(--muted); font-size: 14px; max-width: 55ch; }
.price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 20px 0 4px; }
.price-row strong { font-size: 28px; letter-spacing: -0.02em; }
.price-row s { color: var(--muted-2); font-size: 15px; }
.price-row span { color: var(--muted); font-size: 12px; }
.buy-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 18px; align-items: stretch; }
.buy-row .btn { flex: 1; min-width: 170px; }
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  height: 46px;
  overflow: hidden;
  background: var(--surface);
}
.qty-stepper button {
  width: 40px;
  height: 100%;
  border: 0;
  background: none;
  display: grid;
  place-items: center;
}
.qty-stepper button:hover { background: var(--surface-3); }
.qty-stepper button svg { width: 15px; height: 15px; }
.qty-stepper input {
  width: 38px;
  border: 0;
  background: none;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  outline: none;
}
.detail-points { display: grid; gap: 8px; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); list-style: none; }
.detail-points li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.detail-points svg { width: 15px; height: 15px; color: var(--success); }
.detail-section { margin-top: 34px; }
.detail-section h2 {
  font-family: var(--font-display);
  font-size: 26px;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.detail-section p { color: var(--muted); font-size: 13.5px; }
.specs { width: 100%; border-collapse: collapse; }
.specs tr { border-bottom: 1px solid var(--line); }
.specs td { padding: 11px 0; font-size: 13px; vertical-align: top; }
.specs td:first-child { width: 42%; color: var(--muted); }
.specs td:last-child { font-weight: 600; }

/* ============================================================
   Cart / checkout / summary
   ============================================================ */
.cart-layout {
  display: grid;
  grid-template-columns: 1.45fr 0.55fr;
  gap: 32px;
  padding: 34px 0 64px;
  align-items: start;
}
.cart-list { border-top: 1px solid var(--line); }
.cart-item {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.cart-thumb {
  width: 88px;
  height: 88px;
  border-radius: 13px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  display: grid;
  place-items: center;
  color: var(--accent-strong);
}
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-thumb .product-placeholder { border: 0; }
.cart-thumb .product-placeholder .ph-label { display: none; }
.cart-thumb .product-placeholder::after { display: none; }
.cart-thumb svg { width: 40%; height: 40%; }
.cart-item-name { font-size: 13.5px; font-weight: 700; margin: 0 0 3px; }
.cart-item-meta { font-size: 11.5px; color: var(--muted); }
.cart-item-controls { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.cart-item-controls .qty-stepper { height: 34px; }
.cart-item-controls .qty-stepper button { width: 30px; }
.cart-item-controls .qty-stepper input { width: 30px; }
.cart-item-total { text-align: right; font-weight: 800; font-size: 14px; }
.remove-btn {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 11px;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-top: 7px;
}
.remove-btn:hover { color: var(--danger); }
.summary {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  position: sticky;
  top: 98px;
}
.summary h2 { font-size: 14px; margin: 0 0 16px; }
.summary-row { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; padding: 7px 0; color: var(--muted); }
.summary-row strong { color: var(--text); font-weight: 600; }
.summary-row.discount strong { color: var(--success); }
.summary-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  font-weight: 800;
}
.summary-note { font-size: 11px; color: var(--muted-2); margin: 12px 0 0; }
.summary .btn { margin-top: 16px; }
.coupon-row { display: flex; gap: 8px; margin: 14px 0; }
.coupon-row input { flex: 1; }
.coupon-row .btn { flex-shrink: 0; }
.coupon-message { font-size: 11.5px; margin-top: -6px; margin-bottom: 8px; }
.coupon-message.ok { color: var(--success); }
.coupon-message.bad { color: var(--danger); }

.checkout-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 28px;
  padding: 34px 0 64px;
  align-items: start;
}
.checkout-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 16px;
}
.checkout-section h2 { font-size: 15px; margin: 0 0 18px; }
.payment-options { display: grid; gap: 9px; }
.payment-option {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 13px 14px;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease;
}
.payment-option:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.payment-option input { margin-top: 4px; accent-color: var(--accent); }
.payment-option strong { display: block; font-size: 13px; }
.payment-option span { display: block; font-size: 11.5px; color: var(--muted); }
.checkout-items { display: grid; gap: 12px; max-height: 330px; overflow: auto; }
.checkout-item { display: flex; gap: 12px; align-items: center; font-size: 12.5px; }
.checkout-item .cart-thumb { width: 46px; height: 46px; border-radius: 8px; }
.checkout-item .ci-name { flex: 1; }
.checkout-item .ci-name span { display: block; color: var(--muted); font-size: 11px; }

/* ============================================================
   Auth
   ============================================================ */
.auth-wrap { min-height: calc(100vh - 76px); display: grid; place-items: center; padding: 44px 20px 64px; }
.auth-card {
  width: min(440px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--shadow-sm);
}
.auth-card .auth-logo { margin-bottom: 24px; }
.auth-card h1 { font-family: var(--font-display); text-transform: uppercase; font-size: 40px; line-height: 0.95; margin: 0 0 7px; }
.auth-card > p { color: var(--muted); font-size: 13px; margin-bottom: 24px; }
.auth-foot { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); text-align: center; }
.auth-foot a { color: var(--text); font-weight: 700; }
.auth-foot a:hover { color: var(--accent-strong); }

/* ============================================================
   Account
   ============================================================ */
.account-layout {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 26px;
  padding: 34px 0 64px;
  align-items: start;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.panel h2 { font-size: 14px; margin: 0 0 15px; }
.profile-block { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
}
.profile-block strong { display: block; font-size: 14px; }
.profile-block span { display: block; font-size: 11.5px; color: var(--muted); }
.profile-lines { display: grid; gap: 9px; font-size: 12.5px; color: var(--muted); margin-bottom: 18px; }
.profile-lines span { display: flex; gap: 8px; align-items: center; }
.profile-lines svg { width: 14px; height: 14px; }
.account-actions { display: grid; gap: 7px; }
.account-actions .btn { justify-content: flex-start; }
.order-list { display: grid; gap: 11px; }
.order-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 15px 17px;
  background: var(--surface);
  transition: border-color 0.16s ease;
}
.order-card:hover { border-color: var(--line-strong); }
.order-card-main { min-width: 0; }
.order-ref { font-weight: 800; font-size: 13px; margin: 0 0 3px; }
.order-meta { font-size: 11.5px; color: var(--muted); }
.order-card-side { text-align: right; flex-shrink: 0; }
.order-card-side strong { display: block; font-size: 13px; }
.order-card-side span { display: block; font-size: 10.5px; color: var(--muted); margin-top: 2px; }
.order-card-side span svg { display: inline-block; width: 11px; height: 11px; vertical-align: -1px; }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 23px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.status-pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-pending_payment { background: var(--accent-soft); color: var(--accent-strong); }
.status-payment_review { background: var(--info-soft); color: var(--info); }
.status-processing { background: #ede8fb; color: #6642b8; }
.status-shipped { background: #dff3f1; color: #1c6d65; }
.status-completed { background: var(--success-soft); color: var(--success); }
.status-cancelled { background: var(--surface-3); color: var(--muted); }
[data-theme="dark"] .status-processing { background: #2a213f; color: #bda7f2; }
[data-theme="dark"] .status-shipped { background: #173330; color: #77d3c9; }

/* ============================================================
   Order detail
   ============================================================ */
.order-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 26px;
  padding: 34px 0 64px;
  align-items: start;
}
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  position: relative;
  padding: 0 0 20px 26px;
  border-left: 1px solid var(--line);
}
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 3px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--line-strong);
}
.timeline li.done::before { background: var(--accent); border-color: var(--accent); }
.timeline li.current::before { background: var(--text); border-color: var(--text); box-shadow: 0 0 0 4px var(--accent-soft); }
.timeline strong { display: block; font-size: 12.5px; }
.timeline span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.timeline time { display: block; font-size: 10.5px; color: var(--muted-2); margin-top: 3px; }
.order-items { display: grid; gap: 10px; }
.order-item { display: flex; gap: 11px; align-items: center; font-size: 12.5px; }
.order-item .cart-thumb { width: 44px; height: 44px; border-radius: 8px; }
.order-item .oi-name { flex: 1; }
.order-item .oi-name span { display: block; color: var(--muted); font-size: 11px; }
.payment-box {
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line));
  background: var(--accent-soft);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
}
.payment-box h3 { margin: 0 0 8px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.payment-box p { margin: 0 0 10px; font-size: 12px; }
.payment-line { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px dashed color-mix(in srgb, var(--accent) 35%, transparent); font-size: 12px; }
.payment-line span { color: var(--muted); }
.payment-line strong { text-align: right; word-break: break-word; }
.copy-btn { border: 0; background: none; color: var(--accent-strong); font-size: 10.5px; font-weight: 700; padding: 0; }
.receipt-drop {
  display: block;
  cursor: pointer;
  border: 1px dashed var(--line-strong);
  border-radius: 13px;
  padding: 18px;
  text-align: center;
  transition: border-color 0.16s ease, background 0.16s ease;
}
.receipt-drop:hover { border-color: var(--accent); background: var(--accent-soft); }
.receipt-drop svg { width: 24px; height: 24px; margin: 0 auto 8px; color: var(--muted); }
.receipt-drop strong { display: block; font-size: 12.5px; }
.receipt-drop span { display: block; font-size: 10.5px; color: var(--muted); margin-top: 3px; }
.receipt-list { display: grid; gap: 8px; margin-top: 12px; }
.receipt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 11px;
  font-size: 11.5px;
}
.receipt-row a { font-weight: 700; }
.receipt-row a:hover { color: var(--accent-strong); }
.receipt-status { font-size: 9.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; }
.receipt-status.pending { color: var(--info); }
.receipt-status.approved { color: var(--success); }
.receipt-status.rejected { color: var(--danger); }
.receipt-status.replaced { color: var(--muted); }
.note-box {
  border-left: 3px solid var(--accent);
  background: var(--surface-2);
  border-radius: 0 10px 10px 0;
  padding: 11px 13px;
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0;
}

/* ============================================================
   Admin
   ============================================================ */
.admin-shell { display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; }
.admin-sidebar {
  border-right: 1px solid var(--line);
  background: var(--surface);
  padding: 20px 14px;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.admin-brand { display: flex; align-items: center; gap: 10px; padding: 0 8px; }
.admin-brand .brand-mark { width: 36px; height: 36px; font-size: 18px; border-radius: 9px; }
.admin-brand-img { width: 38px; height: 38px; object-fit: contain; flex-shrink: 0; }
[data-theme="dark"] .admin-brand-img { filter: invert(1); }
.admin-brand strong { display: block; font-family: var(--font-display); font-size: 17px; line-height: 1; text-transform: uppercase; }
.admin-brand small { display: block; font-size: 9px; color: var(--muted); letter-spacing: 0.14em; margin-top: 3px; text-transform: uppercase; }
.admin-nav { display: grid; gap: 3px; }
.admin-nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 11px;
  border: 0;
  border-radius: 9px;
  background: none;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  text-align: left;
}
.admin-nav button svg { width: 17px; height: 17px; }
.admin-nav button:hover { background: var(--surface-3); color: var(--text); }
.admin-nav button.active { background: var(--accent-soft); color: var(--text); }
.admin-sidebar-foot { margin-top: auto; display: grid; gap: 4px; }
.admin-sidebar-foot a, .admin-sidebar-foot button {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border: 0;
  border-radius: 9px;
  background: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-align: left;
}
.admin-sidebar-foot a:hover, .admin-sidebar-foot button:hover { background: var(--surface-3); color: var(--text); }
.admin-sidebar-foot svg { width: 15px; height: 15px; }
.admin-main { padding: 28px 32px 60px; min-width: 0; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.admin-topbar h1 { font-family: var(--font-display); text-transform: uppercase; font-size: 34px; line-height: 1; margin: 0; }
.admin-topbar p { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.admin-topbar-actions { display: flex; gap: 8px; align-items: center; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
.stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}
.stat-card span { display: block; font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.stat-card strong { display: block; font-family: var(--font-display); font-size: 32px; line-height: 1; margin-top: 8px; }
.stat-card small { display: block; font-size: 10.5px; color: var(--muted); margin-top: 4px; }
.admin-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; align-items: start; }
.admin-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.admin-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.admin-card-head h2 { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; margin: 0; }
.admin-card-body { padding: 16px; }
.table-wrap { overflow-x: auto; }
table.data-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
table.data-table th, table.data-table td { padding: 11px 13px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data-table th { font-size: 9.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); }
table.data-table tr:last-child td { border-bottom: 0; }
table.data-table tbody tr:hover { background: var(--surface-2); }
.table-product { display: flex; align-items: center; gap: 9px; }
.table-product .mini-thumb {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  overflow: hidden;
  background: var(--surface-2);
  display: grid;
  place-items: center;
  color: var(--accent-strong);
  flex-shrink: 0;
}
.table-product .mini-thumb img { width: 100%; height: 100%; object-fit: cover; }
.table-product .mini-thumb svg { width: 16px; height: 16px; }
.admin-toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.admin-toolbar .input { max-width: 260px; }
.admin-toolbar .select { height: 40px; }
.admin-section { display: none; }
.admin-section.active { display: block; }
.low-stock-row { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.low-stock-row:last-child { border-bottom: 0; }
.low-stock-row span { color: var(--muted); }
.spec-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; margin-bottom: 8px; }
.spec-row input { padding: 9px 11px; font-size: 12.5px; }
.image-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.image-tile { position: relative; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.image-tile img { width: 100%; height: 100%; object-fit: cover; }
.image-tile button {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 0;
  background: rgba(0,0,0,0.65);
  color: #fff;
  display: grid;
  place-items: center;
}
.image-tile button svg { width: 12px; height: 12px; }
.upload-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.order-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.detail-list { display: grid; gap: 7px; font-size: 12.5px; }
.detail-list div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.detail-list span { color: var(--muted); }
.detail-list strong { text-align: right; word-break: break-word; }
.admin-action-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.admin-note { font-size: 12px; color: var(--muted); margin-top: 8px; }

/* Customers, reviews, staff and tasks */
.stat-grid-secondary { margin-top: -10px; }
.customer-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.customer-summary > div:nth-child(2) { flex: 1; min-width: 0; }
.customer-summary strong { display: block; font-size: 14px; }
.customer-summary span { display: block; font-size: 11.5px; color: var(--muted); }
.customer-summary-points {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong) !important;
}
.points-form {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.table-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
}
.review-counts {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.review-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 11px;
  padding: 9px 13px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
}
.review-count strong { font-family: var(--font-display); font-size: 19px; line-height: 1; color: var(--text); }
.review-count:hover { border-color: var(--line-strong); }
.review-count.active { border-color: var(--accent); background: var(--accent-soft); color: var(--text); }
.review-cell { display: grid; gap: 2px; max-width: 360px; white-space: normal; }
.review-cell span { line-height: 1.5; }
.review-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.review-detail-head strong { display: block; font-size: 14px; }
.review-detail-rating { margin-bottom: 14px; }
.review-detail-rating > div:last-child { flex: 1; min-width: 220px; }
.review-detail-rating p { margin: 6px 0; font-size: 12.5px; color: var(--muted); line-height: 1.6; white-space: pre-wrap; }
.temp-password-box > p:first-child { margin-top: 0; }
.temp-password {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: var(--surface-2);
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  padding: 13px 15px;
  margin: 12px 0;
}
.temp-password code {
  flex: 1;
  min-width: 180px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 16px;
  letter-spacing: 0.04em;
  word-break: break-all;
}
.task-priority {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--surface-3);
  color: var(--muted);
}
.task-priority.high { background: var(--danger-soft); color: var(--danger); }
.task-priority.low { background: var(--success-soft); color: var(--success); }
.action-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10.5px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 2px 6px;
  white-space: nowrap;
}
.customer-review-list { display: grid; gap: 8px; }
.customer-review {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
  font-size: 12px;
}
.customer-review:last-child { border-bottom: 0; padding-bottom: 0; }
.customer-review a { font-weight: 700; }

/* ============================================================
   Modals / toasts / empty states
   ============================================================ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 10, 9, 0.52);
  backdrop-filter: blur(5px);
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.modal-backdrop.open { opacity: 1; pointer-events: auto; }
.modal {
  width: min(700px, 100%);
  max-height: 92vh;
  overflow: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  transform: translateY(10px);
  transition: transform 0.2s ease;
}
.modal-backdrop.open .modal { transform: none; }
.modal.wide { width: min(900px, 100%); }
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--surface);
  z-index: 2;
}
.modal-head h2 { font-size: 15px; margin: 0; }
.modal-head .icon-btn { font-size: 20px; line-height: 1; }
.modal-head p { margin: 2px 0 0; font-size: 11.5px; color: var(--muted); }
.modal-body { padding: 20px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; padding: 15px 20px; border-top: 1px solid var(--line); position: sticky; bottom: 0; background: var(--surface); }

.toast-stack { position: fixed; right: 18px; bottom: 18px; z-index: 130; display: grid; gap: 8px; max-width: 360px; }
.toast {
  background: var(--text);
  color: var(--bg);
  border-radius: 11px;
  padding: 11px 15px;
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: toast-in 0.25s ease;
}
.toast svg { width: 15px; height: 15px; color: var(--accent); }
.toast.out { animation: toast-out 0.25s ease forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px); } }

.empty { padding: 46px 20px; text-align: center; border: 1px dashed var(--line-strong); border-radius: 14px; background: var(--surface); }
.empty svg { width: 32px; height: 32px; margin: 0 auto 10px; color: var(--muted-2); }
.empty h3 { font-size: 14px; margin: 0 0 5px; }
.empty p { font-size: 12px; color: var(--muted); margin: 0 0 16px; }
.cart-layout.is-empty { grid-template-columns: 1fr; }
.cart-layout.is-empty #cart-summary { display: none; }
.cart-suggestions { margin-top: 28px; }
.cart-suggestions-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.cart-suggestions-head h2 { font-size: 22px; margin: 0; }
.cart-suggestions .product-grid { gap: 12px; }
.skeleton {
  background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 37%, var(--surface-2) 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 10px;
}
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
.spinner {
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-bar { height: 3px; background: var(--surface-3); overflow: hidden; border-radius: 3px; }
.loading-bar::after { content: ""; display: block; width: 40%; height: 100%; background: var(--accent); animation: load 1s infinite ease-in-out; }
@keyframes load { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }

/* ============================================================
   Ordering steps / FAQ
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 23px 21px 24px;
  position: relative;
  overflow: hidden;
}
.step-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -46px;
  width: 120px;
  height: 120px;
  border: 20px solid var(--accent-soft);
  border-radius: 50%;
  pointer-events: none;
}
.step-num {
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 0.8;
  color: var(--accent-strong);
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 24px;
}
.step-card h3 { font-size: 13.5px; margin: 0 0 7px; position: relative; z-index: 1; }
.step-card p { font-size: 12px; color: var(--muted); line-height: 1.65; margin: 0; position: relative; z-index: 1; }
.steps-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding: 15px 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  font-size: 12.5px;
  color: var(--muted);
}
.steps-note strong { color: var(--text); }

.faq-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 32px;
  align-items: start;
  padding-bottom: 64px;
}
.faq-side { position: sticky; top: 92px; display: grid; gap: 14px; }
.faq-side .panel { margin: 0; }
.faq-jump { display: grid; gap: 3px; }
.faq-jump a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.faq-jump a:last-child { border-bottom: 0; }
.faq-jump a:hover { color: var(--text); }
.faq-jump svg { width: 13px; height: 13px; }
.faq-group { margin-bottom: 34px; scroll-margin-top: 100px; }
.faq-group h2 {
  font-family: var(--font-display);
  font-size: 30px;
  text-transform: uppercase;
  line-height: 0.95;
  margin: 0 0 14px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 8px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 17px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 1;
  color: var(--accent-strong);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-answer { padding: 14px 17px 16px; font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.faq-answer p { margin: 0 0 9px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer a { color: var(--accent-strong); font-weight: 700; }
.faq-answer ol, .faq-answer ul { margin: 8px 0 10px; padding-left: 18px; }
.faq-answer li { margin-bottom: 5px; }

/* ============================================================
   404
   ============================================================ */
.not-found { padding: 54px 0 18px; text-align: center; overflow: hidden; }
.not-found-code {
  font-family: var(--font-display);
  font-size: clamp(130px, 26vw, 260px);
  line-height: 0.78;
  letter-spacing: -0.02em;
  margin: 16px 0 6px;
}
.not-found-code span { color: var(--accent); }
.not-found p { max-width: 52ch; margin: 12px auto 24px; color: var(--muted); font-size: 14px; }
.not-found-actions { display: flex; justify-content: center; gap: 9px; flex-wrap: wrap; }
.not-found-links { padding: 34px 0 64px; }

/* ============================================================
   WhatsApp CTA
   ============================================================ */
.whatsapp-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 48px;
  padding: 0 18px 0 15px;
  border-radius: 999px;
  background: #128c4a;
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 32px rgba(18, 140, 74, 0.26);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.whatsapp-cta:hover { transform: translateY(-2px); background: #0f7c42; box-shadow: 0 18px 38px rgba(18, 140, 74, 0.32); }
.whatsapp-cta svg { width: 22px; height: 22px; flex-shrink: 0; }
.has-whatsapp .toast-stack { bottom: 82px; }

/* ============================================================
   Print
   ============================================================ */
.print-only { display: none; }
@media print {
  @page { margin: 13mm; }
  body { background: #fff !important; color: #000 !important; }
  .site-header, .site-footer, .whatsapp-cta, .toast-stack, .skip-link,
  .breadcrumb, .page-head, .form-success, .no-print, .btn, .copy-btn, .receipt-drop,
  .modal-backdrop, .lightbox, .gallery-zoom-hint, .faq-side { display: none !important; }
  .container { width: 100% !important; max-width: none !important; padding: 0 !important; }
  .order-layout { display: block !important; padding: 0 !important; }
  .order-layout > aside { margin-top: 18px; }
  .panel, .summary {
    border: 1px solid #c9c9c9 !important;
    box-shadow: none !important;
    background: #fff !important;
    break-inside: avoid;
    margin-bottom: 14px !important;
  }
  .print-only { display: block !important; }
  .print-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    padding-bottom: 12px;
    margin-bottom: 16px;
    border-bottom: 2px solid #000;
  }
  .print-head strong { font-family: var(--font-display); font-size: 22px; text-transform: uppercase; }
  .print-head span, .print-head small { display: block; font-size: 11px; color: #333; }
  .timeline li { break-inside: avoid; }
  .order-item, .detail-list > div, .summary-row, .summary-total { break-inside: avoid; }
  a { color: #000 !important; text-decoration: none !important; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-side { position: static; grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1.3fr 0.7fr 0.7fr; }
  .footer-col:last-child { grid-column: 1 / -1; display: flex; gap: 24px; flex-wrap: wrap; }
  .footer-col:last-child h3 { width: 100%; margin-bottom: 0; }
  .admin-grid { grid-template-columns: 1fr; }
}

@media (max-width: 940px) {
  .site-nav { display: none; }
  .menu-btn { display: inline-grid; }
  .header-search { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 400px; }
  .product-layout { grid-template-columns: 1fr; gap: 28px; }
  .cart-layout, .checkout-layout, .order-layout, .account-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar {
    position: static;
    height: auto;
    flex-direction: row;
    align-items: center;
    overflow-x: auto;
    padding: 10px 14px;
    gap: 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .admin-brand { display: none; }
  .admin-nav { display: flex; gap: 3px; }
  .admin-nav button { white-space: nowrap; height: 36px; }
  .admin-sidebar-foot { margin-top: 0; display: flex; }
  .admin-sidebar-foot a, .admin-sidebar-foot button { white-space: nowrap; }
  .admin-main { padding: 22px 18px 50px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .container { width: min(1200px, calc(100% - 28px)); }
  .page-head-row { align-items: flex-start; }
  .page-head-actions { padding-bottom: 0; }
  .steps-grid { grid-template-columns: 1fr; }
  .faq-side { grid-template-columns: 1fr; }
  .whatsapp-cta {
    right: 12px;
    bottom: 12px;
    width: 52px;
    height: 52px;
    padding: 0;
  }
  .whatsapp-cta span { display: none; }
  .has-whatsapp .toast-stack { bottom: 76px; }
  .header-inner { height: 66px; gap: 14px; }
  .header-actions .account-btn { display: none; }
  .brand-text strong { font-size: 19px; }
  .brand-text small { font-size: 7.5px; }
  .brand-mark { width: 38px; height: 38px; }
  .hero { padding: 42px 0 34px; }
  .hero h1 { font-size: clamp(48px, 13vw, 72px); }
  .hero-visual { min-height: 360px; }
  .float-three { display: none; }
  .section { padding: 48px 0; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 10px; }
  .product-grid, .product-grid.three { grid-template-columns: repeat(2, 1fr); gap: 11px; }
  .product-body { padding: 11px 12px 13px; }
  .product-name { font-size: 12.5px; }
  .product-price strong { font-size: 13px; }
  .quick-add { opacity: 1; transform: none; width: 34px; height: 34px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .category-card { min-height: 132px; padding: 14px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: auto; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 30px; }
  .footer-col:last-child { display: block; }
  .footer-bottom { flex-direction: column; }
  .cart-item { grid-template-columns: 70px 1fr; gap: 12px; }
  .cart-thumb { width: 70px; height: 70px; }
  .cart-item-total { grid-column: 2; text-align: left; }
  .product-info h1 { font-size: 30px; }
  .buy-row .btn { min-width: 0; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .admin-topbar { flex-direction: column; align-items: flex-start; }
  .admin-topbar-actions { width: 100%; }
  .admin-toolbar .input { max-width: none; flex: 1; }
  .order-detail-grid { grid-template-columns: 1fr; }
  .modal { max-height: 94vh; }
}

@media (max-width: 480px) {
  .product-grid, .product-grid.three { grid-template-columns: 1fr 1fr; }
  .product-cat { font-size: 8.5px; }
  .product-name { font-size: 12px; }
  .hero-actions .btn { flex: 1; }
  .hero-meta { gap: 18px; }
  .auth-card { padding: 24px; }
  .spec-row { grid-template-columns: 1fr auto; }
  .spec-row input:nth-child(2) { grid-column: 1; }
  .checkout-item .cart-thumb { width: 38px; height: 38px; }
}

@media (max-width: 360px) {
  .header-inner { gap: 8px; }
  .brand { gap: 8px; }
  .brand-mark { width: 34px; height: 34px; font-size: 17px; }
  .brand-text strong { font-size: 16px; }
  .brand-text small { font-size: 6.5px; letter-spacing: 0.16em; }
  .header-actions { gap: 3px; }
  .icon-btn { width: 36px; height: 36px; }
  .icon-btn svg { width: 17px; height: 17px; }
}

/* ============================================================
   Home additions
   ============================================================ */
[data-icon] { display: inline-flex; align-items: center; justify-content: center; }
[data-icon] svg { width: 1em; height: 1em; }
.skip-link:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 16px;
  background: var(--text);
  color: var(--bg);
  border-radius: 8px;
}
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.value-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.value-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.value-icon svg { width: 19px; height: 19px; }
.value-card h3 { font-size: 13.5px; margin: 0 0 6px; }
.value-card p { font-size: 12px; color: var(--muted); margin: 0; }
.cta-band {
  background: var(--text);
  color: var(--bg);
  border-radius: 24px;
  padding: 38px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border: 44px solid var(--accent);
  opacity: 0.16;
  border-radius: 50%;
  right: -120px;
  top: -130px;
  pointer-events: none;
}
.cta-band h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 0.95;
  margin: 8px 0 8px;
}
.cta-band p { color: color-mix(in srgb, var(--bg) 66%, transparent); font-size: 13px; max-width: 52ch; margin: 0; }
.cta-band .eyebrow { color: color-mix(in srgb, var(--bg) 55%, transparent); }
.cta-band .eyebrow::before { background: var(--accent); }
.cta-band-actions { display: flex; gap: 9px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band .btn-outline { border-color: color-mix(in srgb, var(--bg) 28%, transparent); color: var(--bg); }
.cta-band .btn-outline:hover { border-color: var(--bg); background: color-mix(in srgb, var(--bg) 8%, transparent); }
.category-card.skeleton, .product-card.skeleton { border-color: transparent; }
@media (max-width: 1100px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .cta-band { padding: 28px 24px; }
  .cta-band-actions { width: 100%; }
  .cta-band-actions .btn { flex: 1; }
  .value-grid { grid-template-columns: 1fr; }
  .float-card { font-size: 10.5px; padding: 9px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ============================================================
   Loyalty, wholesale, reviews and account additions
   ============================================================ */
.wholesale-hint, .points-hint {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  font-size: 11.5px;
  color: var(--muted);
  background: var(--surface-2);
  border-radius: 9px;
  padding: 8px 10px;
  margin: 8px 0;
}
.wholesale-hint svg, .points-hint svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--accent-strong);
}
.points-hint strong { color: var(--text); }
.check strong { display: block; font-size: 12.5px; color: var(--text); }
.check span span {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 11.5px;
  margin-top: 2px;
  line-height: 1.45;
}

.account-main { display: grid; gap: 16px; }
.account-alert { padding-top: 24px; }
.account-alert-inner {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-wrap: wrap;
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line));
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 12.5px;
}
.account-alert-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent-strong);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.account-alert-icon svg { width: 18px; height: 18px; }
.account-alert-inner > span:nth-child(2) { flex: 1; min-width: 220px; color: var(--muted); }
.account-alert-inner strong { display: block; color: var(--text); margin-bottom: 2px; }

.panel-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.panel-title-row h2 { margin: 0; }
.points-balance {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  background: var(--accent-soft);
  color: var(--accent-strong);
  border-radius: 999px;
  padding: 6px 13px;
}
.points-intro { margin: 0 0 14px; }
.points-list { display: grid; }
.points-entry {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.points-entry:first-child { border-top: 0; }
.points-delta { min-width: 54px; font-weight: 800; font-size: 12.5px; }
.points-delta.plus { color: var(--success); }
.points-delta.minus { color: var(--danger); }
.points-entry-main { flex: 1; display: grid; gap: 2px; }
.points-entry-main span { color: var(--muted); font-size: 11px; }
.points-entry-meta {
  display: grid;
  gap: 2px;
  text-align: right;
  color: var(--muted);
  font-size: 10.5px;
  white-space: nowrap;
}
.points-row strong { color: var(--success); }

.account-review-list { display: grid; gap: 12px; }
.account-review {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 15px;
}
.account-review-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.account-review-head a { font-weight: 700; font-size: 12.5px; }
.review-stars {
  display: block;
  color: var(--accent-strong);
  letter-spacing: 0.08em;
  font-size: 12px;
  margin-top: 2px;
}
.review-status {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.review-status.pending { background: var(--info-soft); color: var(--info); }
.review-status.approved { background: var(--success-soft); color: var(--success); }
.review-status.rejected { background: var(--danger-soft); color: var(--danger); }
.account-review-title { display: block; font-size: 12.5px; margin: 8px 0 4px; }
.account-review-body { font-size: 12px; color: var(--muted); margin: 6px 0; line-height: 1.55; }
.account-review-meta { font-size: 10.5px; color: var(--muted-2); }

.product-reviews { padding: 34px 0 64px; }
.reviews-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 28px;
  align-items: start;
}
.reviews-main { min-width: 0; }
.rating-summary {
  display: flex;
  gap: 28px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.rating-score { display: grid; justify-items: center; gap: 2px; min-width: 96px; }
.rating-score strong { font-family: var(--font-display); font-size: 44px; line-height: 1; }
.rating-score > span:last-child { font-size: 11px; color: var(--muted); }
.rating-bars { flex: 1; min-width: 180px; display: grid; gap: 5px; }
.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  color: var(--muted);
}
.rating-bar-row > span:first-child { width: 46px; }
.rating-bar {
  flex: 1;
  height: 6px;
  background: var(--surface-3);
  border-radius: 999px;
  overflow: hidden;
}
.rating-bar i { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.review-list { display: grid; gap: 11px; }
.review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px 17px;
}
.review-card-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.review-card-head strong { font-size: 12.5px; }
.review-card-head time { margin-left: auto; font-size: 10.5px; color: var(--muted-2); }
.review-card h3 { font-size: 12.5px; margin: 10px 0 4px; }
.review-card p { font-size: 12px; color: var(--muted); margin: 4px 0 0; line-height: 1.55; }
.review-side {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  position: sticky;
  top: 90px;
}
.review-side .note-box { margin: 10px 0 12px; }
.review-form h3 { font-size: 14px; margin: 6px 0 4px; }
.review-form > p { margin: 0 0 14px; }
.star-input { display: flex; gap: 5px; }
.star-input label { cursor: pointer; font-size: 22px; line-height: 1; color: var(--line-strong); }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label:has(input:checked) span,
.star-input label:has(input:focus-visible) span { color: var(--accent-strong); }
.star-input label:hover span { color: var(--accent-strong); }

@media (max-width: 940px) {
  .reviews-layout { grid-template-columns: 1fr; }
  .review-side { position: static; }
}
@media (max-width: 760px) {
  .rating-summary { gap: 18px; }
  .rating-score strong { font-size: 36px; }
  .points-entry-meta { font-size: 10px; }
  .account-alert { padding-top: 18px; }
}

