/* ===== Storefront Styles — Pennate ===== */
:root {
  --bg: #0f0f0f;
  --bg-alt: #141414;
  --fg: #f4f1ea;
  --fg-muted: #8a8578;
  --accent: #b8963e;
  --accent-dim: rgba(184,150,62,0.12);
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 4px;
  --transition: 0.2s ease;
  /* Aliases used in cart/drawer/confirmation */
  --gold: #b8963e;
  --surface-2: #141414;
  --surface-3: #1e1e1e;
  --border: rgba(244,241,234,0.08);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

/* Layout */
.store-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Store Header */
.store-header {
  border-bottom: 1px solid rgba(244,241,234,0.08);
  padding: 28px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.store-header .brand { display: flex; align-items: center; gap: 10px; }
.store-header .brand-mark { font-size: 18px; color: var(--accent); }
.store-header .brand-name { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: 0.02em; }
.store-header .breadcrumb { color: var(--fg-muted); font-size: 13px; }
.store-header .breadcrumb span { color: var(--fg); }

/* Overline label */
.overline-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

/* Catalog Hero */
.catalog-hero {
  padding: 80px 0 60px;
  text-align: center;
}
.catalog-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.catalog-hero h1 em { font-style: italic; color: var(--accent); }
.catalog-hero p { color: var(--fg-muted); font-size: 15px; max-width: 480px; margin: 0 auto; }

/* Filter Bar */
.filter-bar {
  display: flex;
  gap: 12px;
  padding: 20px 0 40px;
  border-bottom: 1px solid rgba(244,241,234,0.06);
  flex-wrap: wrap;
}
.filter-btn {
  background: transparent;
  border: 1px solid rgba(244,241,234,0.12);
  color: var(--fg-muted);
  padding: 8px 18px;
  border-radius: var(--radius);
  font-size: 13px;
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  padding: 48px 0 80px;
}

/* Product Card */
.product-card {
  background: var(--bg-alt);
  border: 1px solid rgba(244,241,234,0.06);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: rgba(184,150,62,0.3);
  transform: translateY(-2px);
}
.product-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.04); }
.product-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.product-category { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.product-tagline-sm { color: var(--fg-muted); font-size: 12px; font-style: italic; font-family: var(--font-display); margin-bottom: 6px; }
.product-name { font-family: var(--font-display); font-size: 22px; font-weight: 400; margin-bottom: 16px; line-height: 1.2; }
.product-desc { color: var(--fg-muted); font-size: 13px; flex: 1; margin-bottom: 20px; }
.product-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.product-price { font-family: var(--font-display); font-size: 24px; color: var(--fg); }
.product-cta {
  background: var(--accent);
  color: #0f0f0f;
  border: none;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  transition: opacity var(--transition);
}
.product-cta:hover { opacity: 0.85; }

/* ===== Product Detail Page ===== */
.pdp-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fg-muted);
  font-size: 13px;
  padding: 28px 0 0;
  transition: color var(--transition);
}
.back-link:hover { color: var(--fg); }

/* PDP Layout */
.pdp-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 40px 0 80px;
  align-items: start;
}

/* Image Gallery */
.pdp-gallery { display: flex; flex-direction: column; gap: 12px; }
.pdp-main-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 6px;
  background: var(--bg-alt);
}
.pdp-main-img img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pdp-thumb {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--transition);
}
.pdp-thumb.active, .pdp-thumb:hover { border-color: var(--accent); }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* PDP Info */
.pdp-info { padding-top: 8px; }
.pdp-category { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.pdp-tagline-sm { color: var(--fg-muted); font-size: 13px; font-style: italic; font-family: var(--font-display); margin-bottom: 10px; }
.pdp-title { font-family: var(--font-display); font-size: 42px; font-weight: 400; line-height: 1.15; margin-bottom: 8px; }
.pdp-price { font-family: var(--font-display); font-size: 32px; margin-bottom: 28px; }
.pdp-desc { color: var(--fg-muted); font-size: 15px; line-height: 1.7; margin-bottom: 32px; }

.pdp-financing { font-size: 13px; color: var(--fg-muted); margin-top: 12px; margin-bottom: 36px; }
.pdp-financing a { color: var(--accent); text-decoration: none; }
.pdp-financing a:hover { text-decoration: underline; }

.pdp-actions { display: flex; gap: 12px; margin-bottom: 40px; }
.btn-primary {
  background: var(--accent);
  color: #0f0f0f;
  border: none;
  padding: 16px 40px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  transition: opacity var(--transition);
  flex: 1;
}
.btn-primary:hover { opacity: 0.85; }
.btn-secondary {
  background: transparent;
  border: 1px solid rgba(244,241,234,0.2);
  color: var(--fg);
  padding: 16px 28px;
  border-radius: var(--radius);
  font-size: 14px;
  transition: border-color var(--transition);
}
.btn-secondary:hover { border-color: var(--fg); }
.btn-buy {
  background: var(--accent);
  color: #0f0f0f;
  border: none;
}

/* Trust Bar */
.trust-bar { display: flex; gap: 28px; flex-wrap: wrap; margin-bottom: 48px; padding-bottom: 32px; border-bottom: 1px solid rgba(244,241,234,0.06); }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--fg-muted); }
.trust-item svg { color: var(--accent); flex-shrink: 0; }

/* Specs Accordion — per-section toggle, only one open at a time */
.specs-accordion { margin-bottom: 48px; }
.spec-item { margin-bottom: 6px; }
.spec-btn {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(244,241,234,0.1);
  color: var(--fg);
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 13px;
  font-family: var(--font-body);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color var(--transition);
}
.spec-btn:hover { border-color: rgba(184,150,62,0.3); }
.spec-chevron { color: var(--accent); transition: transform 0.2s ease; }
.spec-panel {
  display: none;
  border: 1px solid rgba(244,241,234,0.1);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 16px 18px;
  background: var(--bg-alt);
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}
.spec-panel.open { display: block; }

/* Reviews */
.reviews-section { margin-bottom: 48px; }
.reviews-header { display: flex; align-items: center; gap: 24px; margin-bottom: 24px; flex-wrap: wrap; }
.reviews-title { font-family: var(--font-display); font-size: 24px; font-weight: 400; margin: 0; }
.reviews-rating { display: flex; align-items: center; gap: 8px; }
.rating-stars { color: var(--accent); font-size: 18px; letter-spacing: 1px; }
.rating-half { color: var(--fg-muted); }
.rating-score { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.rating-count { color: var(--fg-muted); font-size: 13px; }
.review-card { background: var(--bg-alt); border: 1px solid rgba(244,241,234,0.06); border-radius: 6px; padding: 24px; margin-bottom: 16px; }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-dim); display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--accent); }
.review-name { font-weight: 500; font-size: 14px; }
.review-stars { color: var(--accent); font-size: 14px; }
.review-text { color: var(--fg-muted); font-size: 14px; line-height: 1.6; font-style: italic; }

/* Related Products */
.related-section { margin-bottom: 80px; }
.related-title { font-family: var(--font-display); font-size: 28px; font-weight: 400; margin-bottom: 24px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card { background: var(--bg-alt); border: 1px solid rgba(244,241,234,0.06); border-radius: 6px; overflow: hidden; }
.related-card-img { aspect-ratio: 16/9; overflow: hidden; }
.related-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.related-card:hover .related-card-img img { transform: scale(1.04); }
.related-card-body { padding: 16px; }
.related-name { font-family: var(--font-display); font-size: 16px; margin-bottom: 4px; }
.related-price { font-size: 14px; color: var(--fg-muted); }
.related-rating { display: flex; align-items: center; gap: 2px; margin-bottom: 4px; }
.star-rel { font-size: 11px; color: rgba(244,241,234,0.15); }
.star-rel.filled, .star-rel.half { color: var(--gold); }
.rel-rating-num { font-size: 11px; color: var(--fg-muted); margin-left: 2px; }
.rel-rating-count { font-size: 11px; color: var(--fg-muted); }

/* ===== Store Nav ===== */
.store-nav {
  background: var(--bg);
  border-bottom: 1px solid rgba(244,241,234,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}
.store-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.store-nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.store-nav-brand .brand-mark { font-size: 18px; color: var(--accent); }
.store-nav-brand .brand-name { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--fg); letter-spacing: 0.02em; }
.store-nav-links { display: flex; align-items: center; gap: 4px; }
.store-nav-link {
  color: var(--fg-muted);
  font-size: 13px;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
}
.store-nav-link:hover, .store-nav-link.active { color: var(--fg); }
.store-nav-dropdown { position: relative; }
.store-nav-dropdown-btn { display: flex; align-items: center; gap: 6px; }
.dropdown-arrow { font-size: 9px; color: var(--fg-muted); }
.store-nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #1a1a1a;
  border: 1px solid rgba(244,241,234,0.1);
  border-radius: 6px;
  padding: 8px 0;
  min-width: 200px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  z-index: 200;
}
.store-nav-dropdown-menu.open { display: block; }
.dropdown-item {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color var(--transition), background var(--transition);
}
.dropdown-item:hover { color: var(--fg); background: rgba(244,241,234,0.05); }

/* ===== Category Hero ===== */
.category-hero {
  position: relative;
  height: 420px;
  overflow: hidden;
  margin-bottom: 0;
}
.category-hero-img {
  position: absolute;
  inset: 0;
}
.category-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.category-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  height: 100%;
}
.category-hero-inner { max-width: 600px; }
.back-link-sm {
  display: inline-block;
  font-size: 13px;
  color: var(--fg-muted);
  margin-bottom: 20px;
  transition: color var(--transition);
}
.back-link-sm:hover { color: var(--fg); }
.category-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.category-tagline {
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
  color: var(--accent);
  margin-bottom: 20px;
}
.category-intro p {
  color: var(--fg-muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 540px;
}

/* Filter bar active state for anchor links */
.filter-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

/* Category footer section */
.category-footer { padding: 40px 0; border-top: 1px solid rgba(244,241,234,0.06); }
.financing-note {
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: 16px;
}
.financing-note span { color: var(--fg); }
.financing-note a { color: var(--accent); text-decoration: none; }
.financing-note a:hover { text-decoration: underline; }

/* Adjacent categories */
.adjacent-categories { padding: 40px 0 80px; }
.adjacent-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 20px;
}
.adjacent-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 600px; }
.adjacent-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-alt);
  border: 1px solid rgba(244,241,234,0.08);
  border-radius: 6px;
  padding: 16px;
  text-decoration: none;
  transition: border-color var(--transition);
}
.adjacent-card:hover { border-color: rgba(184,150,62,0.3); }
.adjacent-img { width: 56px; height: 56px; border-radius: 4px; overflow: hidden; flex-shrink: 0; }
.adjacent-img img { width: 100%; height: 100%; object-fit: cover; }
.adjacent-body { display: flex; align-items: center; justify-content: space-between; flex: 1; }
.adjacent-label { font-size: 14px; color: var(--fg); font-family: var(--font-display); }
.adjacent-arrow { font-size: 18px; color: var(--accent); }

/* Footer sitemap */
.footer-sitemap { display: flex; gap: 48px; margin-bottom: 40px; }
.sitemap-col { }
.sitemap-heading {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-family: var(--font-body);
  font-weight: 500;
  margin-bottom: 14px;
}
.sitemap-links { display: flex; flex-direction: column; gap: 8px; }
.sitemap-links a { font-size: 13px; color: var(--fg-muted); text-decoration: none; transition: color var(--transition); }
.sitemap-links a:hover { color: var(--fg); }

/* Responsive */
@media (max-width: 768px) {
  .pdp-layout { grid-template-columns: 1fr; gap: 32px; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .pdp-title { font-size: 32px; }
  .category-hero { height: 320px; }
  .adjacent-grid { grid-template-columns: 1fr; max-width: 100%; }
  .store-nav-dropdown-menu { right: 0; left: auto; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .store-nav-links { gap: 0; }
  .store-nav-link { padding: 8px 10px; font-size: 12px; }
}
/* ── Cart Nav Icon ─────────────────────────────────────── */
.store-nav-cart {
  position: relative;
  display: flex;
  align-items: center;
  padding: 8px 12px;
}
.cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--gold);
  color: #0a0a0a;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ── Cart Drawer ───────────────────────────────────────── */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 95vw;
  height: 100vh;
  background: var(--surface-2);
  border-left: 1px solid var(--border);
  z-index: 9000;
  transition: right 0.3s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { right: 0; }
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 8999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.cart-overlay.open { display: block; opacity: 1; }
.cart-drawer-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.cart-drawer-title {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--fg);
}
.cart-drawer-close {
  background: none;
  border: none;
  color: var(--fg-muted);
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  transition: color var(--transition);
}
.cart-drawer-close:hover { color: var(--fg); }
.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}
.drawer-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.drawer-item-img {
  width: 60px;
  height: 60px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface-3);
}
.drawer-item-img img { width: 100%; height: 100%; object-fit: cover; }
.drawer-item-info { flex: 1; }
.drawer-item-name { font-size: 13px; color: var(--fg); margin-bottom: 4px; line-height: 1.3; }
.drawer-item-price { font-size: 13px; color: var(--fg-muted); }
.drawer-remove {
  background: none;
  border: none;
  color: var(--fg-muted);
  cursor: pointer;
  font-size: 13px;
  padding: 4px;
  transition: color var(--transition);
  flex-shrink: 0;
}
.drawer-remove:hover { color: var(--fg); }
.cart-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}
.cart-drawer-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  color: var(--fg);
  margin-bottom: 16px;
  font-family: var(--font-display);
}

/* ── /cart page ────────────────────────────────────────── */
.cart-page { padding: 60px 0 120px; }
.cart-title {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--fg);
  margin-bottom: 48px;
}
.cart-empty { text-align: center; padding: 80px 0; color: var(--fg-muted); }
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}
.cart-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item-img {
  width: 100px;
  height: 100px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface-2);
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-name { font-family: var(--font-display); font-size: 18px; color: var(--fg); margin-bottom: 6px; }
.cart-item-price { font-size: 14px; color: var(--fg-muted); margin-bottom: 14px; }
.cart-qty-row { display: flex; align-items: center; gap: 12px; }
.qty-btn {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--fg);
  width: 32px;
  height: 32px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.qty-btn:hover { background: var(--surface-3); }
.qty-val { font-size: 15px; color: var(--fg); min-width: 24px; text-align: center; }
.remove-btn {
  background: none;
  border: none;
  color: var(--fg-muted);
  cursor: pointer;
  font-size: 13px;
  padding: 0;
  transition: color var(--transition);
  margin-left: 8px;
}
.remove-btn:hover { color: var(--fg); }
.cart-summary {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 24px;
  position: sticky;
  top: 100px;
}
.trust-bar--vertical { flex-direction: column; margin-bottom: 24px; }
.cart-totals { }
.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-family: var(--font-display);
  color: var(--fg);
  margin-bottom: 8px;
}
.cart-shipping-note { font-size: 12px; color: var(--fg-muted); margin-bottom: 20px; }
.btn-checkout { width: 100%; margin-bottom: 12px; }
.checkout-error { color: #e05c5c; font-size: 13px; margin-bottom: 8px; }
.cart-secure-note {
  font-size: 11px;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: center;
}

/* ── Order Confirmation ────────────────────────────────── */
.confirmation-page { padding: 80px 0 120px; }
.confirmation-wrap {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.confirmation-icon {
  color: var(--gold);
  margin-bottom: 24px;
}
.confirmation-title {
  font-family: var(--font-display);
  font-size: 44px;
  color: var(--fg);
  margin-bottom: 16px;
}
.confirmation-sub {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}
.confirmation-order-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  text-align: left;
  margin-bottom: 36px;
}
.confirmation-order-header {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.confirmation-line-items { list-style: none; padding: 0; margin: 0 0 20px; }
.confirmation-li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.li-name { flex: 1; color: var(--fg); }
.li-meta { color: var(--fg-muted); }
.li-price { color: var(--fg); font-family: var(--font-display); }
.confirmation-total {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--fg);
  padding-top: 16px;
}
.confirmation-trust {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.confirmation-cta { display: inline-block; text-decoration: none; }

/* ── PDP Rating Inline (near price) ────────────────────── */
.pdp-rating-inline {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0 8px;
}
.star-inline {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1;
}
.star-inline.filled { color: var(--gold); }
.star-inline.half { color: var(--gold); opacity: 0.6; }
.pdp-rating-num {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--fg);
}
.pdp-rating-link {
  font-size: 13px;
  color: var(--fg-muted);
  text-decoration: none;
}
.pdp-rating-link:hover { color: var(--gold); }

/* ── Reviews Section ─────────────────────────────────────── */
.reviews-section { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border); }
.reviews-title {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--fg);
  margin: 0 0 20px;
}
.reviews-summary {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 28px;
  padding: 24px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.reviews-score-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 100px;
  gap: 6px;
}
.reviews-avg-num {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--gold);
  line-height: 1;
}
.reviews-stars-lg { display: flex; gap: 2px; }
.star-icon { font-size: 18px; color: var(--fg-muted); }
.star-icon.filled { color: var(--gold); }
.star-icon.half { color: var(--gold); opacity: 0.6; }
.reviews-count-sm { font-size: 11px; color: var(--fg-muted); text-align: center; letter-spacing: 0.04em; }
.reviews-dist { flex: 1; display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.dist-row { display: flex; align-items: center; gap: 8px; }
.dist-label { font-size: 12px; color: var(--fg-muted); width: 12px; text-align: right; }
.dist-bar-track { flex: 1; height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.dist-bar-fill { height: 100%; background: var(--gold); border-radius: 3px; }
.dist-pct { font-size: 11px; color: var(--fg-muted); width: 32px; text-align: right; }

/* ── Review Cards ────────────────────────────────────────── */
.review-card {
  padding: 20px 0 20px;
  border-bottom: 1px solid var(--border);
}
.review-card:last-child { border-bottom: none; }
.review-meta-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  flex-shrink: 0;
  letter-spacing: 0.04em;
}
.review-meta-info { flex: 1; }
.review-name-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 3px; }
.review-name { font-size: 14px; font-weight: 600; color: var(--fg); }
.verified-badge {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(180,144,80,0.1);
  border: 1px solid rgba(180,144,80,0.25);
  padding: 1px 6px;
  border-radius: 10px;
}
.review-stars-row { display: flex; align-items: center; gap: 6px; }
.star-sm { font-size: 13px; color: var(--fg-muted); line-height: 1; }
.star-sm.filled { color: var(--gold); }
.review-date { font-size: 11px; color: var(--fg-muted); margin-left: 2px; }
.review-headline {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 6px;
}
.review-card-photo {
  margin-bottom: 10px;
  border-radius: 4px;
  overflow: hidden;
  max-width: 280px;
}
.review-card-photo img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.review-text {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin: 0 0 10px;
}
.review-footer { display: flex; gap: 12px; }
.review-helpful {
  font-size: 11px;
  color: var(--fg-muted);
  cursor: default;
  letter-spacing: 0.02em;
}

/* ── Brand Reply ─────────────────────────────────────────── */
.brand-reply {
  margin-top: 12px;
  padding: 14px 16px;
  background: rgba(180,144,80,0.06);
  border-left: 2px solid var(--gold);
  border-radius: 0 6px 6px 0;
}
.brand-reply-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.brand-reply-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.brand-reply-date { font-size: 11px; color: var(--fg-muted); }
.brand-reply-text {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.65;
  margin: 0;
}

/* ── Catalog / Category Card Ratings ────────────────────── */
.card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
}
.star-card { font-size: 13px; color: var(--fg-muted); line-height: 1; }
.star-card.filled { color: var(--gold); }
.star-card.half { color: var(--gold); opacity: 0.6; }
.card-rating-num { font-size: 12px; color: var(--fg); font-weight: 600; margin-left: 2px; }
.card-rating-count { font-size: 11px; color: var(--fg-muted); }

@media (max-width: 900px) {
  .cart-layout { grid-template-columns: 1fr; }
  .reviews-summary { flex-direction: column; gap: 16px; }
  .reviews-score-block { flex-direction: row; min-width: unset; gap: 12px; }
}
@media (max-width: 600px) {
  .cart-drawer { width: 100vw; right: -100vw; }
  .confirmation-title { font-size: 32px; }
}
