/* Sno — Beneto-inspired, sharp corners, contained layouts */

:root {
  /* Sno mineral water palette — water-blues, sharp corners */
  --bg: #f4f9fc;            /* page: pale glacier */
  --bg-soft: #e6f1f9;       /* product tile background */
  --surface: #ffffff;       /* cards / panels */
  --ink: #0a2540;            /* deep navy — primary text & buttons */
  --ink-2: #1f3b5c;
  --muted: #5b7184;
  --line: #d3e2ee;           /* hairline */
  --line-strong: #0a2540;
  --primary: #0d6efd;        /* brand blue */
  --primary-2: #0a4fc4;
  --accent: #17a2b8;         /* mountain stream cyan */
  --accent-2: #20c997;       /* mineral teal */
  --hot: #dc3545;            /* matches red სნო wordmark */
  --warn: #ffc107;           /* lime line */
  --ok: #28a745;
  --container: 1200px;
  --side: 24px;
  --radius: 0;
  --font: 'Noto Sans Georgian', 'Noto Sans', 'Helvetica Neue', Arial, system-ui, -apple-system, sans-serif;
  --font-display: 'Noto Sans Georgian', 'Noto Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }
*, *::before, *::after {
  border-radius: 0 !important;
  text-transform: lowercase !important;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--ink); }

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

button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--side);
}

/* ---------- TOP BAR ---------- */
.topbar {
  background: var(--primary);
  color: #ffffff;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 38px;
}
.topbar a {
  color: #ffffff;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
.topbar a:hover { border-bottom-color: rgba(255, 255, 255, 0.6); }

/* ---------- HEADER ---------- */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 76px;
  gap: 24px;
}
.brand {
  font-weight: 800;
  font-size: 28px;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.brand {
  color: var(--hot);
  font-family: var(--font-display);
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.brand-mark svg {
  display: block;
  width: 28px;
  height: 22px;
  flex-shrink: 0;
}
.brand-mark .word {
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 26px;
  color: var(--hot);
  line-height: 1;
}
.nav {
  display: flex;
  gap: 28px;
  justify-content: center;
}
.nav a {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.nav a:hover, .nav a.active {
  border-bottom-color: var(--primary);
  color: var(--primary);
}
.header-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  align-items: center;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 12px;
  letter-spacing: 0.06em;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  cursor: pointer;
}
.icon-btn:hover { border-color: var(--primary); color: var(--primary); }
.icon-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* user dropdown */
.user-menu {
  position: relative;
  outline: none;
}
.user-menu .user-trigger {
  white-space: nowrap;
}
.user-menu .user-trigger .chev {
  width: 10px;
  height: 6px;
  margin-left: 2px;
  transition: transform 0.15s ease;
}
.user-menu:hover .user-trigger,
.user-menu:focus-within .user-trigger {
  border-color: var(--ink);
}
.user-menu:hover .user-trigger .chev,
.user-menu:focus-within .user-trigger .chev {
  transform: rotate(180deg);
}
.user-submenu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 200px;
  background: var(--surface);
  border: 1px solid var(--ink);
  list-style: none;
  margin: 0;
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 60;
}
.user-menu:hover .user-submenu,
.user-menu:focus-within .user-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.user-submenu li { margin: 0; }
.user-submenu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.user-submenu a:hover {
  background: var(--bg-soft);
  color: var(--primary);
}
.user-submenu svg { width: 16px; height: 16px; flex-shrink: 0; }

.cart-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.cart-pill:hover {
  background: var(--primary-2);
  border-color: var(--primary-2);
  color: #fff;
}
.cart-pill svg { width: 16px; height: 16px; flex-shrink: 0; }
.cart-pill .count {
  background: transparent;
  color: #fff !important;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 700;
}
.cart-pill .count {
  background: var(--ink);
  color: #fff;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 700;
}

/* ---------- BUTTONS — flat, solid blue accent ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 600;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover {
  background: var(--primary-2);
  border-color: var(--primary-2);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.btn-accent { background: var(--primary); border-color: var(--primary); }
.btn-accent:hover { background: var(--primary-2); border-color: var(--primary-2); }
.btn-dark { background: var(--ink); border-color: var(--ink); }
.btn-dark:hover { background: var(--primary); border-color: var(--primary); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 16px; font-size: 11px; }
.btn-lg { padding: 18px 28px; }

/* ---------- HERO ---------- */
.hero {
  margin-top: 32px;
  margin-bottom: 64px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: stretch;
}
.hero-copy {
  background: var(--surface);
  padding: 56px 48px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 480px;
}
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.1;
  margin: 0 0 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  font-family: 'Times New Roman', Georgia, serif;
  font-size: 0.7em;
  white-space: nowrap;
}
.hero-sub {
  color: var(--muted);
  max-width: 460px;
  margin: 0 0 32px;
}
.hero-meta {
  display: flex;
  gap: 32px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 24px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.hero-meta strong { color: var(--primary); font-size: 18px; }

.hero-visual {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
  overflow: hidden;
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("../img/sno-history.a33c0d40587e.jpg");
  background-size: cover;
  background-position: center;
  opacity: 1;
}
.hero-visual .placeholder {
  font-size: 240px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.5);
  text-transform: lowercase;
  user-select: none;
  position: relative;
  z-index: 1;
}
.hero-tag {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  font-size: 11px;
  letter-spacing: 0.14em;
  z-index: 2;
}

/* ---------- SECTIONS ---------- */
.section {
  padding: 56px 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}
.section-head h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.01em;
  font-weight: 700;
}
.section-head .more {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--primary);
  border-bottom: 1px solid var(--primary);
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.section-head .more:hover {
  color: var(--primary-2);
  border-bottom-color: var(--primary-2);
}

/* ---------- PRODUCT GRID ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease;
}
.product-card:hover { border-color: var(--primary); }
.product-thumb {
  background: var(--bg-soft);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 18px;
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-thumb .ph {
  font-size: 80px;
  font-weight: 800;
  color: rgba(0,0,0,0.08);
  text-transform: lowercase;
}
.product-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.product-cat {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.product-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  color: var(--ink);
}
.product-price {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
}
.price-tag {
  font-weight: 700;
  font-size: 18px;
  color: var(--primary);
}
.product-price form { margin: 0; }

/* badge */
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 4px 8px;
}
.badge-out {
  background: var(--hot);
}

/* ---------- CATEGORIES STRIP ---------- */
.cat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cat-card {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 32px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.cat-card:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.cat-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}
.cat-card .arrow {
  font-size: 22px;
}

/* ---------- SHOP TOOLBAR ---------- */
.shop-head {
  padding: 40px 0 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.shop-head h1 {
  margin: 0 0 8px;
  font-size: 36px;
  letter-spacing: -0.01em;
}
.shop-head p { margin: 0; color: var(--muted); }

.shop-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  margin-bottom: 64px;
}
.shop-aside {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 24px;
  align-self: start;
  position: sticky;
  top: 96px;
}
.shop-aside h4 {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}
.shop-aside ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.shop-aside li { margin-bottom: 6px; }
.shop-aside li a {
  display: block;
  padding: 6px 0;
  color: var(--ink-2);
  font-size: 14px;
}
.shop-aside li a.active {
  font-weight: 700;
  color: var(--ink);
}
.shop-aside li a:hover { color: var(--ink); }

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 16px;
}
.shop-toolbar .count { font-size: 13px; color: var(--muted); }
.search-form {
  display: flex;
  border: 1px solid var(--ink);
  background: var(--surface);
}
.search-form input {
  border: none;
  padding: 10px 12px;
  font-size: 14px;
  background: transparent;
  outline: none;
  flex: 1;
  min-width: 0;
}
.search-form button {
  border: none;
  background: var(--ink);
  color: #fff;
  padding: 0 16px;
  font-size: 12px;
  letter-spacing: 0.1em;
}
.search-form button:hover { background: var(--primary); }
.search-form.aside-search {
  margin-bottom: 24px;
}
.search-form.aside-search input {
  padding: 14px 14px;
  font-size: 14px;
  height: 46px;
}
.search-form.aside-search button {
  width: 46px;
  height: 46px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.search-form.aside-search button svg {
  width: 18px;
  height: 18px;
}

.sort-form {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.sort-form .sort-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
select.sort-select {
  border: 1px solid var(--ink);
  padding: 10px 12px;
  background: var(--surface);
  font-size: 13px;
  font-family: inherit;
  outline: none;
}

.shop-grid .product-grid { grid-template-columns: repeat(3, 1fr); }

.empty-state {
  border: 1px dashed var(--line);
  padding: 80px 24px;
  text-align: center;
  color: var(--muted);
  background: var(--surface);
}

/* ---------- PRODUCT DETAIL ---------- */
.pd {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  padding: 48px 0;
}
.pd-gallery {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 32px;
}
.pd-gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pd-gallery .ph {
  font-size: 200px;
  color: rgba(0,0,0,0.08);
  font-weight: 800;
  text-transform: lowercase;
}
.pd-info { padding: 8px 0; }
.pd-cat {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 8px;
}
.pd-title {
  font-size: 36px;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  font-weight: 700;
}
.pd-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}
.pd-desc { color: var(--ink-2); margin-bottom: 24px; }
.pd-meta {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 16px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}
.qty-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
  margin-bottom: 16px;
}
.qty-input {
  width: 80px;
  border: 1px solid var(--ink);
  padding: 14px 12px;
  font-size: 14px;
  outline: none;
  text-align: center;
  font-family: inherit;
}

/* ---------- CART ---------- */
.page-head {
  padding: 48px 0 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.page-head h1 {
  margin: 0 0 8px;
  font-size: 36px;
  letter-spacing: -0.01em;
}
.page-head p { color: var(--muted); margin: 0; }

.cart-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
  margin-bottom: 64px;
}
.cart-list {
  border: 1px solid var(--line);
  background: var(--surface);
}
.cart-line {
  display: grid;
  grid-template-columns: 100px 1fr auto auto auto;
  gap: 20px;
  padding: 18px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.cart-line:last-child { border-bottom: none; }
.cart-thumb {
  width: 100px;
  height: 100px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8px;
}
.cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cart-line h4 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
}
.cart-line .price { color: var(--muted); font-size: 13px; }

.qty-stepper {
  display: inline-flex;
  border: 1px solid var(--ink);
}
.qty-stepper a, .qty-stepper span {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  background: var(--surface);
  color: var(--ink);
}
.qty-stepper a:hover { background: var(--primary); color: #fff; }
.qty-stepper span { border-left: 1px solid var(--ink); border-right: 1px solid var(--ink); min-width: 40px; }

.line-total { font-weight: 700; color: var(--primary); }
.remove-link {
  color: var(--muted);
  font-size: 18px;
  padding: 4px 8px;
}
.remove-link:hover { color: var(--hot); }

.summary {
  border: 1px solid var(--ink);
  background: var(--surface);
  padding: 24px;
  position: sticky;
  top: 96px;
}
.summary h3 {
  margin: 0 0 16px;
  font-size: 14px;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.summary .row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
}
.summary .row.total {
  border-top: 2px solid var(--primary);
  margin-top: 8px;
  padding-top: 16px;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

/* ---------- FORMS ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-grid .full { grid-column: 1 / -1; }
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.field input, .field textarea, .field select {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--ink);
}
.field .errors {
  color: var(--hot);
  font-size: 12px;
}
.checkout-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  margin-bottom: 64px;
}
.panel {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 28px;
}
.panel h2 {
  margin: 0 0 20px;
  font-size: 14px;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.review-line {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.review-line:last-child { border-bottom: none; }

/* ---------- AUTH ---------- */
.auth-wrap {
  max-width: 440px;
  margin: 64px auto;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 40px 32px;
}
.auth-wrap h1 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 700;
}
.auth-wrap p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
}
.auth-wrap .alt {
  margin-top: 20px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.auth-wrap .alt a {
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1px;
}

/* ---------- DASHBOARD ---------- */
.dash-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  margin-bottom: 64px;
}
.dash-aside {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 24px;
  align-self: start;
}
.dash-aside h3 {
  margin: 0 0 4px;
  font-size: 16px;
}
.dash-aside .who {
  color: var(--muted);
  font-size: 13px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 12px;
}
.dash-aside ul { list-style: none; padding: 0; margin: 0; }
.dash-aside li a {
  display: block;
  padding: 8px 0;
  font-size: 13px;
  letter-spacing: 0.05em;
}
.dash-aside li a:hover { font-weight: 700; }

.order-list { display: flex; flex-direction: column; gap: 16px; }
.order {
  border: 1px solid var(--line);
  background: var(--surface);
}
.order-head {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  font-size: 13px;
}
.order-head .label {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  display: block;
}
.order-head .value {
  font-weight: 600;
  font-size: 14px;
}
.status {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  border: 1px solid var(--ink);
  font-weight: 600;
}
.status.pending { background: #fff8e1; border-color: #c9a227; color: #6b5300; }
.status.processing { background: #e6f0fa; border-color: #2563a8; color: #144d80; }
.status.shipped { background: #ece9ff; border-color: #5046cc; color: #2f288c; }
.status.delivered { background: #e7f3ec; border-color: #2f7d4d; color: #1c5331; }
.status.cancelled { background: #fbe7e3; border-color: #c1382b; color: #841a0f; }

.order-items {
  padding: 12px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- MESSAGES ---------- */
.messages {
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.flash {
  border: 1px solid var(--ink);
  background: var(--surface);
  padding: 12px 16px;
  font-size: 13px;
  border-left-width: 4px;
}
.flash.success { border-left-color: var(--ok); }
.flash.error { border-left-color: var(--hot); }

/* ---------- FOOTER ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  margin-top: 64px;
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer h4 {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; font-size: 14px; }
.footer .brand { margin-bottom: 12px; }
.footer .tagline {
  color: var(--muted);
  font-size: 14px;
  max-width: 320px;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}

/* ---------- LIFESTYLE STRIP ---------- */
.lifestyle {
  margin-bottom: 64px;
}
.lifestyle-card {
  border: 1px solid var(--line);
  background: var(--surface);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}
.lifestyle-img {
  background-size: cover;
  background-position: center;
  min-height: 480px;
}
.lifestyle-body {
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.lifestyle-body .eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--primary);
  margin-bottom: 14px;
}
.lifestyle-body h2 {
  font-size: 36px;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
  font-weight: 700;
  line-height: 1.15;
}
.lifestyle-body p {
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 460px;
  font-size: 16px;
  line-height: 1.6;
}

/* ---------- FEATURE TILES ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 16px 0 64px;
}
.feature {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 28px 24px;
}
.feature .num {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 12px;
}
.feature h4 {
  margin: 0 0 8px;
  font-size: 16px;
}
.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- ABOUT ---------- */
.about-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: stretch;
  margin: 32px 0 48px;
}
.about-hero .panel { padding: 56px 48px; }
.about-hero h1 {
  font-size: 44px;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}
.about-hero p {
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 12px;
  line-height: 1.7;
}
.about-img {
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
  min-height: 420px;
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.about-card {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 32px;
}
.about-card h3 {
  font-size: 20px;
  margin: 0 0 12px;
}
.about-card p {
  margin: 0 0 8px;
  color: var(--ink-2);
  line-height: 1.7;
}
.fact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 64px;
}
.fact {
  background: var(--surface);
  padding: 28px 24px;
  text-align: center;
}
.fact .big {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.fact .lbl {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ---------- ORDER SUCCESS ---------- */
.success-box {
  max-width: 640px;
  margin: 64px auto;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 48px 40px;
  text-align: center;
}
.success-box h1 { font-size: 28px; margin: 0 0 12px; }
.success-box p { color: var(--muted); margin: 0 0 24px; }
.success-box .id {
  display: inline-block;
  border: 1px solid var(--ink);
  padding: 8px 14px;
  letter-spacing: 0.06em;
  font-size: 13px;
  margin-bottom: 24px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 320px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-grid { grid-template-columns: 1fr; }
  .shop-aside { position: static; }
  .shop-grid .product-grid { grid-template-columns: repeat(2, 1fr); }
  .pd { grid-template-columns: 1fr; gap: 24px; }
  .cart-grid { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cat-strip { grid-template-columns: 1fr; }
  .lifestyle-card { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .about-hero { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .fact-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .site-header .container { grid-template-columns: 1fr auto; }
  .product-grid, .shop-grid .product-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 80px 1fr auto; }
  .cart-line .qty-stepper, .cart-line .line-total { grid-column: 2 / 4; }
  .order-head { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
