:root {
  --cream: #fdf7ec;
  --cream-2: #f6ead4;
  --cream-3: #efe0c5;
  --white: #ffffff;
  --burgundy: #8f152a;
  --burgundy-dark: #6c0e1f;
  --burgundy-bright: #b61c38;
  --burgundy-soft: #f9e7ea;
  --ink: #241512;
  --ink-2: #4a342e;
  --muted: #766059;
  --border: #e9dccb;
  --border-strong: #d8c4aa;
  --gold: #cf8f1e;
  --gold-soft: #fff5db;
  --green: #1d8a4b;
  --green-soft: #e6f6ec;
  --blue: #1f6fd6;
  --blue-soft: #e8f1fc;
  --danger: #d43838;
  --danger-soft: #fdecec;
  --shadow-sm: 0 2px 8px rgba(45, 22, 16, 0.06);
  --shadow-md: 0 10px 28px rgba(45, 22, 16, 0.09);
  --shadow-lg: 0 22px 54px rgba(36, 21, 18, 0.16);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Inter, sans-serif;
  --font-serif: Georgia, "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(253, 247, 236, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--burgundy);
  box-shadow: var(--shadow-sm);
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--burgundy);
  line-height: 1.1;
}

.brand-sub {
  font-size: 12px;
  color: var(--muted);
}

.header-search {
  flex: 1;
  max-width: 420px;
  position: relative;
}

.header-search input {
  width: 100%;
  height: 44px;
  padding: 0 40px 0 42px;
  border-radius: 999px;
  border: 1.5px solid var(--border-strong);
  background: var(--white);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.header-search input:focus {
  border-color: var(--burgundy);
  box-shadow: 0 0 0 4px rgba(143, 21, 42, 0.1);
}

.header-search .search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  pointer-events: none;
  opacity: 0.65;
}

.header-search .clear-search {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  font-size: 18px;
  color: var(--muted);
  cursor: pointer;
  display: none;
  padding: 4px 6px;
}

.header-search.has-value .clear-search {
  display: block;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: transparent;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}

.nav-pill:hover {
  background: var(--cream-2);
  color: var(--burgundy);
}

.nav-pill.outline {
  border-color: var(--border-strong);
  background: var(--white);
}

.nav-pill.outline:hover {
  border-color: var(--burgundy);
}

.cart-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: none;
  background: var(--burgundy);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(143, 21, 42, 0.28);
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}

.cart-trigger:hover {
  background: var(--burgundy-bright);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(143, 21, 42, 0.34);
}

.cart-trigger.pulse {
  animation: cartBounce 0.35s ease;
}

@keyframes cartBounce {
  0% { transform: scale(1); }
  45% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.cart-badge-pill {
  background: rgba(255, 255, 255, 0.22);
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 13px;
}

/* ---------- Hero Landing ---------- */

.hero {
  padding: 44px 0 36px;
  background: radial-gradient(circle at 82% 20%, rgba(182, 28, 56, 0.08), transparent 52%),
              linear-gradient(180deg, var(--cream-2) 0%, var(--cream) 100%);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--burgundy-soft);
  color: var(--burgundy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.hero h1 {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.2vw, 50px);
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.hero h1 span {
  color: var(--burgundy);
}

.hero-lead {
  margin: 0 0 26px;
  font-size: 17px;
  color: var(--ink-2);
  max-width: 580px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 24px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.14s, background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--burgundy);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(143, 21, 42, 0.26);
}

.btn-primary:hover {
  background: var(--burgundy-bright);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--burgundy);
  color: var(--burgundy);
}

.btn-success {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(29, 138, 75, 0.25);
}

.btn-success:hover {
  background: #17753f;
}

.btn-danger {
  background: var(--danger);
  color: var(--white);
}

.btn-sm {
  height: 38px;
  padding: 0 14px;
  font-size: 13px;
  border-radius: 10px;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border);
}

.trust-ico {
  font-size: 20px;
  line-height: 1.2;
}

.trust-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}

.trust-desc {
  font-size: 12.5px;
  color: var(--muted);
}

/* Hero Visual Showcase */

.hero-showcase {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.showcase-card {
  background: var(--white);
  border-radius: 20px;
  padding: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.showcase-card:nth-child(2) {
  transform: translateY(18px);
}

.showcase-card:nth-child(3) {
  transform: translateY(-6px);
}

.showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.showcase-card img {
  width: 100%;
  height: 138px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
}

.showcase-title {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.showcase-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--burgundy);
}

/* ---------- Category Strip ---------- */

.categories-section {
  padding: 28px 0 12px;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 16px 12px;
  border-radius: 18px;
  background: var(--white);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all 0.16s;
  box-shadow: var(--shadow-sm);
}

.cat-card:hover {
  border-color: var(--burgundy);
  transform: translateY(-2px);
}

.cat-card.active {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(143, 21, 42, 0.24);
}

.cat-icon {
  font-size: 28px;
  line-height: 1;
}

.cat-title {
  font-size: 13.5px;
  font-weight: 700;
}

.cat-count {
  font-size: 12px;
  color: var(--muted);
}

.cat-card.active .cat-count {
  color: rgba(255, 255, 255, 0.82);
}

/* ---------- Catalog Toolbar ---------- */

.catalog-section {
  padding: 20px 0 64px;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--ink);
}

.section-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14.5px;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
}

.segmented {
  display: inline-flex;
  background: var(--cream);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.segmented button {
  border: none;
  background: transparent;
  padding: 7px 14px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
}

.segmented button.active {
  background: var(--burgundy);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.brand-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  align-items: center;
}

.chip-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  margin-right: 4px;
}

.chip {
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--white);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.14s;
}

.chip:hover, .chip.active {
  background: var(--burgundy-soft);
  border-color: var(--burgundy);
  color: var(--burgundy);
}

.toolbar-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.toggle-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  user-select: none;
}

.toggle-check input {
  width: 17px;
  height: 17px;
  accent-color: var(--burgundy);
}

.select-input {
  height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1.5px solid var(--border-strong);
  background: var(--white);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}

.results-meta {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ---------- Product Cards ---------- */

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

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 20px;
  border: 1.5px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.product-card.in-cart {
  border-color: var(--green);
  box-shadow: 0 6px 22px rgba(29, 138, 75, 0.14);
}

.card-photo-wrap {
  position: relative;
  height: 200px;
  background: var(--white);
  padding: 14px;
  border-bottom: 1px solid #f4ece2;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-photo-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.22s;
}

.card-photo-wrap:hover img {
  transform: scale(1.05);
}

.badge-sku {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(253, 247, 236, 0.94);
  border: 1px solid var(--border);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
}

.badge-pack {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--cream-2);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-2);
}

.badge-incart {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-size: 11.5px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(29, 138, 75, 0.3);
}

.card-body {
  padding: 14px 15px 15px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.card-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  min-height: 38px;
  cursor: pointer;
}

.card-title:hover {
  color: var(--burgundy);
}

/* Unit toggle inside product card */
.unit-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 3px;
  border-radius: 11px;
  background: var(--cream);
  border: 1px solid var(--border);
}

.unit-switch button {
  border: none;
  background: transparent;
  padding: 6px 6px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.14s;
}

.unit-switch button.active {
  background: var(--white);
  color: var(--burgundy);
  box-shadow: 0 2px 6px rgba(36, 21, 18, 0.1);
}

.price-block {
  margin-top: auto;
}

.price-main {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
}

.price-main span {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.price-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}

.price-request {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
}

.card-controls {
  display: flex;
  gap: 6px;
  align-items: center;
}

.btn-add {
  width: 100%;
  height: 42px;
  border-radius: 12px;
  border: none;
  background: var(--burgundy);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, transform 0.12s;
}

.btn-add:hover {
  background: var(--burgundy-bright);
}

.btn-request {
  width: 100%;
  height: 42px;
  border-radius: 12px;
  border: 1.5px dashed var(--border-strong);
  background: var(--cream);
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.14s;
}

.btn-request:hover {
  border-color: var(--burgundy);
  color: var(--burgundy);
  background: var(--burgundy-soft);
}

.stepper {
  display: flex;
  align-items: center;
  width: 100%;
  height: 42px;
  border-radius: 12px;
  background: var(--green-soft);
  border: 1.5px solid var(--green);
  overflow: hidden;
}

.stepper button {
  width: 38px;
  height: 100%;
  border: none;
  background: transparent;
  color: var(--green);
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.12s;
}

.stepper button:hover {
  background: rgba(29, 138, 75, 0.14);
}

.stepper input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  outline: none;
}

.btn-plus5 {
  height: 42px;
  padding: 0 11px;
  border-radius: 12px;
  border: 1.5px solid var(--green);
  background: var(--white);
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
}

.btn-plus5:hover {
  background: var(--green);
  color: var(--white);
}

/* ---------- How It Works + Price Banner ---------- */

.steps-section {
  padding: 52px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.step-card {
  padding: 24px;
  border-radius: 20px;
  background: var(--cream);
  border: 1px solid var(--border);
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--burgundy);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 12px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.step-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
}

.excel-banner {
  margin-top: 32px;
  padding: 28px 32px;
  border-radius: 24px;
  background: linear-gradient(120deg, var(--burgundy) 0%, #661020 100%);
  color: var(--white);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-lg);
}

.excel-banner h3 {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-size: 26px;
}

.excel-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
}

.btn-white {
  background: var(--white);
  color: var(--burgundy);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background: var(--cream);
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 32px 0 90px;
  color: var(--muted);
  font-size: 13.5px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

/* ---------- Drawers & Modals ---------- */

.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(24, 14, 12, 0.52);
  backdrop-filter: blur(4px);
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(500px, 100vw);
  height: 100vh;
  background: var(--white);
  z-index: 90;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -12px 0 40px rgba(24, 14, 12, 0.18);
}

.drawer.open {
  transform: translateX(0);
}

.drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--cream);
}

.drawer-header h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--ink);
}

.icon-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--white);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}

.icon-close:hover {
  background: var(--burgundy-soft);
  color: var(--burgundy);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

.cart-item {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 4px;
  background: var(--white);
}

.cart-item-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.cart-item-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.cart-remove {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
  padding: 0 4px;
}

.cart-remove:hover {
  color: var(--danger);
}

.cart-item-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
}

.mini-unit {
  display: inline-flex;
  background: var(--cream);
  border-radius: 8px;
  border: 1px solid var(--border);
  padding: 2px;
}

.mini-unit button {
  border: none;
  background: transparent;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}

.mini-unit button.active {
  background: var(--burgundy);
  color: var(--white);
}

.mini-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  overflow: hidden;
  height: 32px;
}

.mini-stepper button {
  width: 30px;
  height: 100%;
  border: none;
  background: var(--cream);
  font-weight: 800;
  cursor: pointer;
}

.mini-stepper input {
  width: 44px;
  border: none;
  text-align: center;
  font-weight: 700;
  font-size: 13.5px;
  outline: none;
}

.cart-item-sum {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--burgundy);
}

.price-radio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0;
}

.price-radio {
  padding: 12px;
  border-radius: 14px;
  border: 2px solid var(--border);
  background: var(--cream);
  cursor: pointer;
  text-align: left;
  transition: all 0.14s;
}

.price-radio.active {
  border-color: var(--burgundy);
  background: var(--burgundy-soft);
}

.price-radio .pr-lbl {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.price-radio .pr-val {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin-top: 2px;
}

.checkout-form {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  margin-bottom: 5px;
}

.field input, .field textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--border-strong);
  font-size: 14.5px;
  color: var(--ink);
  outline: none;
  background: var(--white);
}

.field input:focus, .field textarea:focus {
  border-color: var(--burgundy);
  box-shadow: 0 0 0 4px rgba(143, 21, 42, 0.08);
}

.field textarea {
  min-height: 76px;
  resize: vertical;
}

.form-error {
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--danger-soft);
  color: var(--danger);
  font-size: 13.5px;
  font-weight: 600;
}

/* Modal */

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%) scale(0.96);
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--white);
  border-radius: 24px;
  padding: 26px;
  z-index: 100;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s;
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

/* Toast */

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  transition: all 0.22s;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Mobile Floating Cart Bar */

.mobile-cart-bar {
  display: none;
  position: fixed;
  bottom: 14px;
  left: 14px;
  right: 14px;
  z-index: 50;
  background: var(--burgundy);
  color: var(--white);
  border: none;
  border-radius: 18px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(143, 21, 42, 0.36);
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

/* ---------- Admin Styles ---------- */

.admin-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: radial-gradient(circle at 50% 20%, rgba(143, 21, 42, 0.1), transparent 55%), var(--cream);
}

.admin-login-card {
  width: min(420px, 100%);
  background: var(--white);
  border-radius: 26px;
  padding: 36px 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.admin-login-card img {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 3px solid var(--burgundy);
  margin-bottom: 14px;
}

.admin-login-card h1 {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-size: 28px;
}

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

.kpi-card {
  background: var(--white);
  border-radius: 18px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.kpi-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.kpi-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
  margin-top: 6px;
}

.kpi-sub {
  font-size: 12.5px;
  color: var(--burgundy);
  font-weight: 600;
  margin-top: 4px;
}

.panel-card {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table th {
  text-align: left;
  padding: 13px 16px;
  background: var(--cream);
  color: var(--muted);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 1px solid var(--border);
}

.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f2e8dc;
  vertical-align: middle;
}

.data-table tbody tr {
  cursor: pointer;
  transition: background 0.12s;
}

.data-table tbody tr:hover {
  background: #fdf9f2;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}

.status-new { background: var(--blue-soft); color: var(--blue); }
.status-confirmed { background: var(--green-soft); color: var(--green); }
.status-complete { background: var(--cream-2); color: var(--ink-2); }
.status-cancelled { background: var(--danger-soft); color: var(--danger); }

.source-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  background: var(--cream);
  color: var(--muted);
  border: 1px solid var(--border);
}

/* ---------- Responsive ---------- */

@media (max-width: 1120px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-showcase { display: none; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .steps-grid { grid-template-columns: 1fr; }
  .header-inner { flex-wrap: wrap; height: auto; padding: 12px 0; }
  .header-search { order: 3; max-width: none; flex-basis: 100%; }
  .nav-pill.hide-mobile { display: none; }
  .mobile-cart-bar.visible { display: flex; }
}

@media (max-width: 520px) {
  .container { padding: 0 14px; }
  .hero-trust { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-photo-wrap { height: 150px; }
  .price-main { font-size: 17px; }
  .price-radio-grid { grid-template-columns: 1fr; }
}
