/* Grunder Gourmet Shop – Brand-aligned Stylesheet */
:root {
  --red: #8b1a1a;
  --red-dark: #6d1414;
  --red-light: #a82020;
  --gold: #c9a84c;
  --dark: #1a1a1a;
  --gray: #6b7280;
  --gray-light: #9ca3af;
  --light: #f8f6f3;
  --white: #ffffff;
  --border: #e5ddd5;
  --shadow-sm: 0 1px 4px rgba(0,0,0,.07);
  --shadow: 0 2px 12px rgba(0,0,0,.09);
  --shadow-lg: 0 6px 28px rgba(0,0,0,.13);
  --radius: 6px;
  --radius-lg: 10px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --topbar-h: 38px;
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); background: var(--light); color: var(--dark); line-height: 1.6; font-size: 15px; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── TOP BAR ── */
.topbar {
  background: var(--red-dark);
  color: rgba(255,255,255,.85);
  font-size: .78rem;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.topbar-left { display: flex; gap: 20px; align-items: center; }
.topbar-left a { color: rgba(255,255,255,.85); display: flex; align-items: center; gap: 5px; font-size: .78rem; }
.topbar-left a:hover { color: #fff; text-decoration: none; }
.topbar-social { display: flex; gap: 10px; }
.topbar-social a { color: rgba(255,255,255,.7); font-size: .85rem; }
.topbar-social a:hover { color: #fff; text-decoration: none; }

/* ── HEADER ── */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 20px;
}
.logo { display: flex; align-items: center; }
.logo img { height: 56px; width: auto; }
.logo-text {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: -.5px;
  line-height: 1;
}
.logo-text span {
  display: block;
  font-size: .75rem;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--gray);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  gap: 6px;
  align-items: center;
}
.main-nav a {
  color: var(--dark);
  font-weight: 500;
  font-size: .88rem;
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: all .18s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.main-nav a:hover { background: var(--light); color: var(--red); text-decoration: none; }
.main-nav a.active { color: var(--red); background: #fdf2f2; }
.nav-cart {
  position: relative;
  background: var(--red) !important;
  color: #fff !important;
  border-radius: var(--radius) !important;
  padding: 7px 14px !important;
  font-weight: 600 !important;
}
.nav-cart:hover { background: var(--red-dark) !important; }
.cart-badge {
  background: var(--gold);
  color: var(--dark);
  border-radius: 50%;
  width: 19px; height: 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
}
.nav-divider { width: 1px; height: 24px; background: var(--border); margin: 0 4px; }
.mobile-menu-btn {
  display: none;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 10px;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--dark);
}

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 60%, #3d0808 100%);
  color: #fff;
  padding: 48px 0 44px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero .container { position: relative; }
.page-hero h1 { font-family: var(--font-serif); font-size: 2.4rem; margin-bottom: 8px; }
.page-hero p { opacity: .85; font-size: 1rem; }
.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  opacity: .75;
  margin-bottom: 14px;
}
.page-hero-breadcrumb a { color: rgba(255,255,255,.8); }
.page-hero-breadcrumb a:hover { color: #fff; text-decoration: none; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .18s;
  text-decoration: none !important;
  line-height: 1.2;
  white-space: nowrap;
}
.btn-primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-secondary { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.btn-secondary:hover { background: #b8973d; }
.btn-outline { background: transparent; color: var(--red); border-color: var(--red); }
.btn-outline:hover { background: var(--red); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline-white:hover { background: rgba(255,255,255,.15); border-color: #fff; }
.btn-ghost { background: transparent; color: var(--gray); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }
.btn-sm { padding: 7px 14px; font-size: .82rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-danger { background: #dc2626; color: #fff; border-color: #dc2626; }
.btn-danger:hover { background: #b91c1c; }
.btn-success { background: #16a34a; color: #fff; border-color: #16a34a; }
.btn-success:hover { background: #15803d; }

/* ── ALERTS ── */
.alert { padding: 13px 16px; border-radius: var(--radius); margin: 14px 0; font-size: .88rem; border-left: 4px solid; }
.alert-success { background: #f0fdf4; border-color: #16a34a; color: #15803d; }
.alert-error, .alert-danger { background: #fef2f2; border-color: var(--red); color: #991b1b; }
.alert-warning { background: #fffbeb; border-color: #d97706; color: #92400e; }
.alert-info { background: #eff6ff; border-color: #3b82f6; color: #1d4ed8; }

/* ── FORM ELEMENTS ── */
input[type=text], input[type=email], input[type=tel], input[type=password],
input[type=number], input[type=date], input[type=time], input[type=url],
select, textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .9rem;
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--dark);
  transition: border-color .18s, box-shadow .18s;
  appearance: none;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(139,26,26,.1);
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 16px; padding-right: 36px; }
label { display: block; margin-bottom: 5px; font-weight: 600; font-size: .83rem; color: #374151; text-transform: uppercase; letter-spacing: .04em; }
.form-group { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint { font-size: .78rem; color: var(--gray); margin-top: 4px; }
.required { color: var(--red); }

/* ── CARDS ── */
.card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.card-body { padding: 22px; }
.card-header {
  padding: 14px 22px;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray);
  background: #fafaf9;
}

/* ── ZIP CHECK ── */
.zip-check-wrap {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}
.zip-check {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  text-align: center;
  border-top: 4px solid var(--red);
}
.zip-check .icon { font-size: 3rem; margin-bottom: 14px; }
.zip-check h2 { font-family: var(--font-serif); font-size: 1.7rem; margin-bottom: 10px; color: var(--dark); }
.zip-check p { color: var(--gray); margin-bottom: 26px; font-size: .92rem; }
.zip-input-row { display: flex; gap: 10px; }
.zip-input-row input { flex: 1; font-size: 1.1rem; text-align: center; letter-spacing: .1em; }

/* ── SECTION TITLES ── */
.section-title {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  color: var(--dark);
  margin-bottom: 6px;
}
.section-sub { color: var(--gray); font-size: .9rem; margin-bottom: 30px; }

/* ── CATEGORY GRID ── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}
.category-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .22s, box-shadow .22s;
  text-decoration: none !important;
  color: var(--dark) !important;
  border-bottom: 3px solid transparent;
}
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--red);
}
.category-card img { width: 100%; height: 170px; object-fit: cover; }
.category-card-placeholder {
  width: 100%; height: 170px;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  display: flex; align-items: center; justify-content: center; font-size: 3rem;
}
.category-card-body { padding: 16px 18px; }
.category-card-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.category-card-body p { font-size: .8rem; color: var(--gray); line-height: 1.4; }
.product-count {
  display: inline-block;
  font-size: .75rem;
  background: #fdf2f2;
  color: var(--red);
  padding: 2px 9px;
  border-radius: 20px;
  font-weight: 600;
  margin-top: 8px;
}

/* ── PRODUCT GRID ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
  margin-bottom: 50px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: box-shadow .22s, transform .22s;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.product-card img { width: 100%; height: 210px; object-fit: cover; }
.product-card-placeholder {
  width: 100%; height: 210px;
  background: linear-gradient(135deg, #f5ede5, #e8d8c8);
  display: flex; align-items: center; justify-content: center; font-size: 4rem;
}
.product-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.product-card-body h3 { font-family: var(--font-serif); font-size: 1.15rem; margin-bottom: 6px; line-height: 1.3; }
.product-card-body .desc { font-size: .82rem; color: var(--gray); flex: 1; line-height: 1.5; }
.product-price { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
.price-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gray); }
.price-value { font-size: 1.35rem; font-weight: 700; color: var(--red); font-family: var(--font-serif); }
.price-alt { font-size: .78rem; color: var(--gray); margin-top: 1px; }
.price-tax { font-size: .72rem; color: var(--gray-light); }
.product-card-footer { padding: 0 18px 18px; }

/* ── PRODUCT DETAIL ── */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 30px 0;
  align-items: start;
}
.product-detail-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.product-detail-img img { width: 100%; height: 420px; object-fit: cover; }
.product-detail-info {}
.product-detail-info .cat-label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 8px;
}
.product-detail-info h1 {
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 14px;
}
.product-detail-info .description { color: var(--gray); margin-bottom: 24px; font-size: .9rem; line-height: 1.7; }
.product-detail-info .description h4,
.product-detail-info .description h5 { color: var(--dark); margin-bottom: 6px; font-family: var(--font-serif); }
.product-detail-info .description ul { padding-left: 18px; list-style: disc; }
.product-detail-info .description li { margin-bottom: 3px; }

/* ── OPTION GROUPS ── */
.option-group {
  background: #fafaf9;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 16px;
}
.option-group h4 {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  color: var(--gray);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.badge-required {
  font-size: .7rem;
  background: var(--red);
  color: #fff;
  padding: 2px 8px;
  border-radius: 20px;
  text-transform: none;
  letter-spacing: 0;
}

/* Service options */
.service-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.service-option {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  cursor: pointer;
  transition: all .18s;
  background: var(--white);
}
.service-option:hover { border-color: var(--red); }
.service-option.selected { border-color: var(--red); background: #fdf2f2; }
.service-option h5 { font-size: .88rem; font-weight: 700; margin-bottom: 4px; }
.service-option p { font-size: .78rem; color: var(--gray); margin-bottom: 6px; }
.svc-price { color: var(--red); font-weight: 700; font-size: .95rem; }

/* Variants */
.variants-list { display: flex; flex-direction: column; gap: 7px; }
.variant-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .18s;
  background: var(--white);
  font-size: .88rem;
}
.variant-item:hover { border-color: var(--red); }
.variant-item.checked { border-color: var(--red); background: #fdf2f2; }
.variant-item input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--red); flex-shrink: 0; }

/* Qty control */
.qty-control { display: flex; align-items: center; gap: 10px; }
.qty-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid var(--red);
  background: transparent;
  color: var(--red);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .18s;
  line-height: 1;
}
.qty-btn:hover { background: var(--red); color: #fff; }
.qty-val { font-size: 1.15rem; font-weight: 700; min-width: 50px; text-align: center; }

/* Price calc box */
.price-calc {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-top: 16px;
}
.price-calc table { width: 100%; border-collapse: collapse; }
.price-calc td { padding: 4px 0; font-size: .88rem; }
.price-calc td:last-child { text-align: right; font-weight: 600; }
.price-calc .total-row td {
  font-size: 1.1rem; font-weight: 700;
  border-top: 1px solid rgba(255,255,255,.25);
  padding-top: 10px; margin-top: 6px;
}
.tax-note { font-size: .72rem; opacity: .75; margin-top: 8px; }

/* Checkbox labels */
.check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: all .18s;
  font-size: .88rem;
}
.check-label input { width: 16px; height: 16px; accent-color: var(--red); flex-shrink: 0; margin-top: 2px; }
.check-label:hover { border-color: var(--red); }
.check-label.checked { border-color: var(--red); background: #fdf2f2; }
.leergut-options { display: flex; flex-direction: column; gap: 8px; }

/* ── CART ── */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 2px solid var(--border);
  font-size: .75rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .07em;
  font-weight: 700;
  background: #fafaf9;
}
.cart-table td { padding: 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cart-table tr:last-child td { border-bottom: none; }
.cart-item-img { width: 68px; height: 54px; object-fit: cover; border-radius: var(--radius); }
.cart-item-name { font-weight: 600; font-size: .92rem; }
.cart-item-meta { font-size: .78rem; color: var(--gray); margin-top: 3px; }

/* Cart summary */
.cart-summary { background: var(--white); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow); border-top: 3px solid var(--red); }
.cart-summary h3 { font-family: var(--font-serif); font-size: 1.1rem; margin-bottom: 16px; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: .9rem; border-bottom: 1px solid var(--border); }
.summary-row:last-of-type { border: none; padding-top: 10px; font-weight: 700; font-size: 1.05rem; color: var(--red); }

/* ── CHECKOUT STEPS ── */
.checkout-steps { display: flex; margin-bottom: 32px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.step {
  flex: 1; text-align: center; padding: 13px 10px;
  background: var(--white);
  border-bottom: 3px solid var(--border);
  color: var(--gray); font-size: .82rem; font-weight: 600;
}
.step.active { border-color: var(--red); color: var(--red); background: #fdf2f2; }
.step.done { border-color: var(--gold); color: #6b521a; }
.step-num { display: block; font-size: 1.1rem; font-weight: 700; margin-bottom: 2px; }

/* ── ORDER STATUS BADGES ── */
.status-badge {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 20px;
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.status-pending { background: #fef9c3; color: #854d0e; }
.status-confirmed { background: #dcfce7; color: #166534; }
.status-in_production { background: #dbeafe; color: #1e40af; }
.status-delivered { background: #f0fdf4; color: #166534; }
.status-cancelled { background: #fee2e2; color: #991b1b; }
.status-invoice_sent { background: #f3f4f6; color: #374151; }

/* ── ACCOUNT ── */
.account-grid { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; margin-top: 30px; }
.account-nav { display: flex; flex-direction: column; gap: 3px; }
.account-nav a {
  padding: 10px 14px;
  border-radius: var(--radius);
  color: var(--dark);
  font-weight: 500;
  font-size: .88rem;
  transition: all .18s;
  border-left: 3px solid transparent;
}
.account-nav a:hover { background: #fdf2f2; color: var(--red); text-decoration: none; }
.account-nav a.active { background: #fdf2f2; color: var(--red); border-left-color: var(--red); }

/* ── ORDER LIST ── */
.order-list { display: flex; flex-direction: column; gap: 14px; }
.order-item { background: var(--white); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); border-left: 4px solid var(--border); transition: border-color .2s; }
.order-item:hover { border-left-color: var(--red); }
.order-item-header { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.order-num { font-weight: 700; font-size: .95rem; color: var(--dark); }

/* ── ADMIN TABLES ── */
.admin-table { width: 100%; border-collapse: collapse; font-size: .87rem; }
.admin-table th { background: var(--dark); color: rgba(255,255,255,.9); padding: 11px 14px; text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .07em; }
.admin-table td { padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-table tbody tr:hover td { background: #fafaf9; }
.admin-table tbody tr:last-child td { border-bottom: none; }

/* ── PAGINATION ── */
.pagination { display: flex; justify-content: center; gap: 6px; margin: 28px 0; }
.page-btn { padding: 7px 13px; border: 1.5px solid var(--border); border-radius: var(--radius); color: var(--dark); font-weight: 500; font-size: .85rem; transition: all .18s; }
.page-btn:hover { border-color: var(--red); color: var(--red); text-decoration: none; }
.page-btn.active { background: var(--red); border-color: var(--red); color: #fff; }

/* ── ADMIN LAYOUT ── */
.admin-layout { display: grid; grid-template-columns: 230px 1fr; min-height: 100vh; }
.admin-sidebar { background: #111827; }
.admin-sidebar-logo {
  padding: 22px 20px 18px;
  border-bottom: 1px solid #1f2937;
  display: flex;
  align-items: center;
  gap: 10px;
}
.admin-sidebar-logo .logo-mark {
  width: 36px; height: 36px;
  background: var(--red);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
}
.admin-sidebar-logo span { color: #fff; font-weight: 600; font-size: .95rem; }
.admin-sidebar-logo small { color: #6b7280; font-size: .72rem; display: block; }
.admin-sidebar nav { padding: 12px 0; }
.admin-sidebar nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: #9ca3af;
  font-size: .87rem;
  transition: all .18s;
  border-left: 3px solid transparent;
}
.admin-sidebar nav a:hover { color: #fff; background: #1f2937; text-decoration: none; }
.admin-sidebar nav a.active { color: #fff; background: #1f2937; border-left-color: var(--red); }
.admin-sidebar nav hr { border-color: #1f2937; margin: 8px 0; }
.admin-main { background: #f9fafb; padding: 28px 32px; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; flex-wrap: wrap; gap: 12px; }
.admin-header h1 { font-family: var(--font-serif); font-size: 1.7rem; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 26px; }
.stat-card { background: var(--white); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); border-top: 3px solid var(--border); }
.stat-card.red { border-top-color: var(--red); }
.stat-card.gold { border-top-color: var(--gold); }
.stat-card.green { border-top-color: #16a34a; }
.stat-card .stat-val { font-size: 1.8rem; font-weight: 700; color: var(--dark); line-height: 1.2; }
.stat-card .stat-label { font-size: .78rem; color: var(--gray); margin-top: 4px; text-transform: uppercase; letter-spacing: .05em; }

/* ── FOOTER ── */
.site-footer { background: #111827; color: #9ca3af; padding: 50px 0 24px; margin-top: 70px; }
.site-footer h4 { color: #fff; font-size: .88rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; font-weight: 700; }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr; gap: 48px; margin-bottom: 36px; }
.footer-grid ul li { margin-bottom: 7px; }
.footer-grid a { color: #6b7280; font-size: .85rem; transition: color .18s; }
.footer-grid a:hover { color: #fff; text-decoration: none; }
.footer-grid p { font-size: .85rem; line-height: 1.8; }
.footer-logo { font-family: var(--font-serif); font-size: 1.4rem; color: #fff; margin-bottom: 12px; }
.footer-logo span { color: var(--gold); }
.footer-divider { border-color: #1f2937; margin: 0 0 20px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: .78rem; color: #4b5563; }

/* ── BACK LINK ── */
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--gray); font-size: .85rem; margin-bottom: 18px; transition: color .18s; }
.back-link:hover { color: var(--red); text-decoration: none; }

/* ── SIDEBAR ── */
.sidebar { display: flex; flex-direction: column; gap: 18px; }

/* ── CHECKOUT GRID ── */
.checkout-grid { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }

/* ── TRUST BADGES ── */
.trust-badges { display: flex; flex-direction: column; gap: 8px; }
.trust-badge { display: flex; align-items: center; gap: 10px; font-size: .82rem; color: var(--gray); }
.trust-badge .icon { width: 28px; text-align: center; font-size: 1rem; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 900px) {
  .product-detail { grid-template-columns: 1fr; }
  .account-grid { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .service-options { grid-template-columns: 1fr; }
  .topbar { display: none; }
}
@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .mobile-menu-btn { display: block; }
  .main-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 2px solid var(--border);
    padding: 12px 16px;
    z-index: 199;
    box-shadow: var(--shadow-lg);
    gap: 4px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 14px; font-size: .92rem; }
  .nav-divider { display: none; }
  .category-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .product-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .page-hero h1 { font-size: 1.7rem; }
  .checkout-steps .step-label { display: none; }
  .cart-table { font-size: .82rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
