:root {
  --color-burgundy: #800020;
  --color-oxblood: #5c0c0c;
  --color-gold: #daa520;
  --color-rust: #9e3b1b;
  --color-dark-brown: #4f1d0e;
  --color-black: #000000;
  --color-cream: #f5f0e8;

  --font-serif: "Bodoni Moda", "Noto Serif SC", serif;
  --font-body: "Poppins", "Noto Serif SC", sans-serif;
  --font-label: "Cinzel", "Noto Serif SC", serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--color-black);
  color: var(--color-cream);
  font-family: var(--font-body);
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-x: contain;
}

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

.screen {
  display: none;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
}
.screen.active { display: block; padding-top: var(--toolbar-h, 54px); }

.logo-word {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  letter-spacing: 1px;
  color: var(--color-cream);
  cursor: pointer;
  user-select: none;
}
.logo-word span { color: var(--color-gold); }
.logo-word.small { font-size: 1.1rem; }

.btn {
  font-family: var(--font-label);
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 14px 30px;
  border-radius: 30px;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--color-gold);
  color: var(--color-oxblood);
}
.btn-primary:hover { box-shadow: 0 4px 18px rgba(218, 165, 32, 0.4); }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--color-gold);
  color: var(--color-gold);
}
.btn-text {
  background: transparent;
  color: var(--color-cream);
  opacity: 0.7;
  text-decoration: underline;
  padding: 8px 12px;
}

/* ============ SITE TOOLBAR ============ */
.site-toolbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  row-gap: 6px;
  padding: 10px 14px;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(218,165,32,0.15);
}
.toolbar-restart {
  font-family: var(--font-label);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 2px;
  background: transparent;
  border: 1px solid rgba(218,165,32,0.35);
  color: rgba(218,165,32,0.75);
  transition: all 0.25s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 70vw;
}
.toolbar-restart::before {
  content: "↺ ";
  font-size: 0.8em;
  opacity: 0.7;
}
.toolbar-restart:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: rgba(218,165,32,0.06);
}
.toolbar-left {
  display: none;
}
.toolbar-restart.prominent {
  background: var(--color-gold);
  color: var(--color-oxblood);
  border-color: var(--color-gold);
  animation: pulse-gold 1.8s ease-in-out infinite;
  /* Own full-width row — sits above the icons, never overlaps */
  order: -1;
  width: 100%;
  max-width: none;
  text-align: center;
}
@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(218,165,32,0.5); }
  50% { box-shadow: 0 0 0 8px rgba(218,165,32,0); }
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(245,240,232,0.08);
  border: 1px solid rgba(218,165,32,0.25);
  color: var(--color-cream);
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.social-icon svg {
  width: 16px;
  height: 16px;
}
.social-icon:hover {
  background: var(--color-gold);
  color: var(--color-oxblood);
  border-color: var(--color-gold);
}
.social-icon.unconfigured {
  opacity: 0.45;
}

.lang-toggle {
  display: flex;
  gap: 2px;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(218,165,32,0.3);
  padding: 3px;
  border-radius: 20px;
  flex-shrink: 0;
}
.lang-btn {
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 16px;
  background: transparent;
  color: rgba(245,240,232,0.6);
}
.lang-btn.active {
  background: var(--color-gold);
  color: var(--color-oxblood);
}

/* ============ COOKIE CONSENT ============ */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2500;
  background: var(--color-oxblood);
  border-top: 1px solid rgba(218,165,32,0.4);
  padding: 16px 20px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}
.cookie-banner.show { display: flex; }
.cookie-banner p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-cream);
  max-width: 520px;
}
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ============ RETURNING VISITOR BANNER ============ */
.returning-banner {
  display: none;
  margin-top: 28px;
  padding: 18px;
  border: 1px solid rgba(218,165,32,0.35);
  border-radius: 16px;
  background: rgba(218,165,32,0.08);
}
.returning-banner.show { display: block; }
.returning-banner p {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: var(--color-cream);
}

/* ============ WEEKLY PICK / ACCESSORIES BUTTONS ============ */
.results-header-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 14px;
}
.weekly-pick-btn, .accessories-btn {
  font-size: 0.82rem;
  padding: 10px 20px;
}

/* ============ TOOLBAR CART ============ */
.toolbar-cart {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(245,240,232,0.08);
  border: 1px solid rgba(218,165,32,0.25);
  color: var(--color-cream);
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--color-gold);
  color: var(--color-oxblood);
  font-family: var(--font-label);
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

/* ============ CATALOG MODE TOGGLE ============ */
.catalog-mode-toggle {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 12px 14px;
}
.mode-btn {
  flex: 1;
  max-width: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  white-space: nowrap;
  font-family: var(--font-label);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 20px;
  background: rgba(245,240,232,0.05);
  border: 1px solid rgba(218,165,32,0.25);
  color: var(--color-cream);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.mode-btn.active {
  background: var(--color-gold);
  color: var(--color-oxblood);
  border-color: var(--color-gold);
}
/* CSS cigar icon for the cigars tab */
.mode-btn[data-mode="cigars"]::before {
  content: '';
  display: inline-block;
  flex-shrink: 0;
  width: 20px;
  height: 7px;
  background: linear-gradient(to right,
    #3d1f0a 0%, #6b3820 10%, #8B5E3C 28%,
    #c8a84b 40%, #c8a84b 58%,
    #8B5E3C 72%, #6b3820 90%, #3d1f0a 100%);
  border-radius: 3.5px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.mode-btn[data-mode="cigars"].active::before {
  background: linear-gradient(to right,
    #2a1205 0%, #5a3018 10%, #6b4a2e 28%,
    #7a5a25 40%, #7a5a25 58%,
    #6b4a2e 72%, #5a3018 90%, #2a1205 100%);
}

/* ============ CART SCREEN ============ */
.cart-body {
  max-width: 700px;
  margin: 0 auto;
  padding: 16px;
}
.cart-empty {
  text-align: center;
  color: rgba(245,240,232,0.55);
  padding: 60px 16px;
}
.cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(218,165,32,0.12);
}
.cart-item-image {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--color-cream);
  margin: 0 0 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cart-item-price {
  font-family: var(--font-label);
  color: var(--color-gold);
  font-size: 0.9rem;
}
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}
.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(245,240,232,0.08);
  border: 1px solid rgba(218,165,32,0.25);
  color: var(--color-cream);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-item-remove {
  background: none;
  color: rgba(245,240,232,0.4);
  font-size: 0.78rem;
  text-decoration: underline;
  padding: 6px;
  flex-shrink: 0;
}
.cart-summary {
  max-width: 700px;
  margin: 0 auto;
  padding: 16px;
  border-top: 1px solid rgba(218,165,32,0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-label);
  font-size: 1.1rem;
  color: var(--color-cream);
}
.cart-summary .total-price { color: var(--color-gold); font-weight: 700; }
.cart-actions {
  max-width: 700px;
  margin: 0 auto;
  padding: 16px 16px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.cart-actions .btn { width: 100%; max-width: 360px; }

/* ============ UPSELL SECTION (shown on results/cart/product/checkout) ============ */
.upsell-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 8px 16px 32px;
}
.upsell-section.empty { display: none; }
.upsell-title {
  font-family: var(--font-label);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--color-gold);
  text-align: center;
  margin: 0 0 14px;
}
.upsell-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}
.upsell-card {
  background: #140a08;
  border: 1px solid rgba(218,165,32,0.18);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
}
.upsell-card-image {
  width: 100%;
  padding-top: 80%;
  background-size: cover;
  background-position: center;
  background-color: var(--color-dark-brown);
}
.upsell-card-info { padding: 10px; }
.upsell-card-name {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  color: var(--color-cream);
  margin: 0 0 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.upsell-card-price {
  font-family: var(--font-label);
  color: var(--color-gold);
  font-size: 0.82rem;
  font-weight: 600;
}
.upsell-card-add {
  margin-top: 6px;
  width: 100%;
  background: var(--color-burgundy);
  color: var(--color-cream);
  font-size: 0.72rem;
  padding: 7px;
  border-radius: 8px;
}

/* ============ SIMILAR CIGARS ============ */
.similar-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 4px 16px 24px;
  overflow: hidden;
}
.similar-title {
  font-family: var(--font-label);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--color-gold);
  text-align: center;
  margin: 0 0 14px;
}
.similar-carousel-wrap { overflow: hidden; }
.similar-carousel {
  display: flex;
  transition: transform 0.35s ease;
}
.similar-group {
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.similar-card {
  position: relative;
  background: #140a08;
  border: 1px solid rgba(218,165,32,0.18);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s;
}
.similar-card:hover { border-color: rgba(218,165,32,0.5); }
.similar-card-img {
  width: 100%;
  padding-top: 85%;
  background-size: cover;
  background-position: center;
  background-color: var(--color-dark-brown);
}
.similar-card-info { padding: 8px 8px 10px; }
.similar-card-name {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  color: var(--color-cream);
  margin: 0 0 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
  min-height: 2.6em;
}
.similar-card-price {
  font-family: var(--font-label);
  color: var(--color-gold);
  font-size: 0.8rem;
  font-weight: 600;
}
.similar-new-badge {
  position: absolute;
  top: 7px;
  left: 7px;
  background: var(--color-gold);
  color: #1a0800;
  font-family: var(--font-label);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  z-index: 1;
}
.similar-carousel-outer {
  position: relative;
}
.similar-carousel-wrap { overflow: hidden; }
.similar-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(18,14,10,0.72);
  border: 1px solid rgba(218,165,32,0.4);
  color: var(--color-gold);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, opacity 0.2s;
  padding: 0;
  backdrop-filter: blur(4px);
}
.similar-arrow-prev { left: 6px; }
.similar-arrow-next { right: 6px; }
.similar-arrow:hover:not(:disabled) { background: rgba(218,165,32,0.25); }
.similar-arrow:disabled { opacity: 0.2; cursor: default; }
.similar-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}
.similar-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(218,165,32,0.25);
  transition: background 0.2s;
}
.similar-dot.active { background: var(--color-gold); }
.similar-card-strength {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 4px 0 3px;
}
.similar-card-strength .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(218,165,32,0.2);
  border: 1px solid rgba(218,165,32,0.4);
}
.similar-card-strength .dot.filled { background: var(--color-gold); border-color: var(--color-gold); }
.similar-card-strength-label {
  font-size: 0.68rem;
  color: rgba(245,240,232,0.5);
  font-family: var(--font-label);
  letter-spacing: 0.03em;
}
.similar-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 4px 0 5px;
}
.similar-chip {
  font-size: 0.62rem;
  padding: 2px 6px;
  border-radius: 20px;
  font-family: var(--font-label);
  white-space: nowrap;
}
.similar-chip.origin {
  background: rgba(218,165,32,0.12);
  color: var(--color-gold);
  border: 1px solid rgba(218,165,32,0.25);
}
.similar-chip.flavor {
  background: rgba(255,255,255,0.05);
  color: rgba(245,240,232,0.6);
  border: 1px solid rgba(255,255,255,0.1);
}

/* ============ PRODUCT DETAIL ============ */
.product-detail-topbar {
  max-width: 900px;
  margin: 0 auto;
  padding: 10px 16px 0;
}
.product-detail {
  max-width: 900px;
  margin: 0 auto;
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 720px) {
  .product-detail { grid-template-columns: 1fr 1fr; align-items: start; }
}
.product-image-wrap { width: 100%; }
.product-detail-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 16px;
  background-color: #ffffff;
}

/* Multi-photo carousel on product detail */
.pd-carousel-track {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  background-color: #ffffff;
}
.pd-carousel-track .product-detail-image {
  position: absolute;
  inset: 0;
  width: 100%;
  aspect-ratio: unset;
  border-radius: 0;
  opacity: 0;
  transition: opacity 0.32s ease;
}
.pd-carousel-track .product-detail-image.active { opacity: 1; }
.pd-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(0,0,0,0.48);
  color: #fff;
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  transition: background 0.18s;
}
.pd-carousel-btn:hover { background: rgba(0,0,0,0.72); }
.pd-carousel-prev { left: 8px; }
.pd-carousel-next { right: 8px; }
.pd-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 9px;
}
.pd-carousel-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(218,165,32,0.28);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.pd-carousel-dot.active { background: var(--color-gold); transform: scale(1.35); }
.product-detail-info { display: flex; flex-direction: column; gap: 10px; }
.product-detail-brand {
  font-family: var(--font-label);
  font-size: 0.8rem;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}
.product-detail-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--color-cream);
  margin: 0;
}
.product-detail-name-zh {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(245,240,232,0.7);
  margin: -4px 0 0;
}
.product-detail-meta {
  font-size: 0.9rem;
  color: rgba(245,240,232,0.7);
}
.product-detail-price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 6px 0;
}
.product-detail-price { font-family: var(--font-label); font-size: 1.8rem; color: var(--color-gold); font-weight: 700; }
.product-detail-description {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(245,240,232,0.85);
  border-top: 1px solid rgba(218,165,32,0.15);
  padding-top: 14px;
}
.product-detail-description.empty {
  color: rgba(245,240,232,0.4);
  font-style: italic;
}
.product-detail-qty-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}

/* ============ CHECKOUT ============ */
.checkout-body {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 16px 20px;
}
.checkout-summary {
  background: rgba(245,240,232,0.04);
  border: 1px solid rgba(218,165,32,0.2);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 20px;
  font-size: 0.88rem;
}
.checkout-summary-line {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  color: rgba(245,240,232,0.8);
}
.checkout-summary-total {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-label);
  font-weight: 700;
  color: var(--color-gold);
  font-size: 1.05rem;
  border-top: 1px solid rgba(218,165,32,0.2);
  margin-top: 8px;
  padding-top: 10px;
}
.checkout-form { display: flex; flex-direction: column; gap: 14px; }
.checkout-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-label);
  font-size: 0.8rem;
  color: var(--color-gold);
}
.checkout-form .label-row {
  display: flex;
  align-items: center;
  gap: 5px;
}
.field-tooltip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(218,165,32,0.12);
  border: 1px solid rgba(218,165,32,0.4);
  color: var(--color-gold);
  font-size: 9px;
  font-weight: 700;
  cursor: help;
  position: relative;
  flex-shrink: 0;
}
.field-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 7px);
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a18;
  color: #e0d8cc;
  font-size: 11px;
  font-weight: 400;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
  z-index: 20;
  border: 1px solid rgba(218,165,32,0.25);
  font-family: var(--font-body);
}
.field-tooltip:hover::after { opacity: 1; }
.checkout-form select {
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(218,165,32,0.3);
  background: rgba(30,10,5,0.85);
  color: var(--color-cream);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23DAA520' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.checkout-form select option { background: #1e0a05; color: var(--color-cream); }
.checkout-form input, .checkout-form textarea {
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(218,165,32,0.3);
  background: rgba(245,240,232,0.05);
  color: var(--color-cream);
  resize: vertical;
}
.checkout-note {
  font-size: 0.78rem;
  color: rgba(245,240,232,0.55);
  margin: 0;
}
.checkout-submit { margin-top: 6px; }

/* ── ABA payment step ── */
.aba-payment-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px 16px 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(218,165,32,0.25);
  border-radius: 14px;
  margin: 8px 0;
  text-align: center;
}
.aba-label {
  font-size: 0.88rem;
  color: var(--color-cream);
  margin: 0;
  opacity: 0.8;
}
.aba-amount {
  font-family: var(--font-body);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.02em;
}
.aba-qr-img {
  width: 220px;
  height: 220px;
  object-fit: fill;
  border-radius: 10px;
  background: #fff;
  padding: 0;
  display: block;
}
.aba-beneficiary {
  font-size: 0.72rem;
  color: rgba(245,240,232,0.6);
  letter-spacing: 0.03em;
  margin: -6px 0 0;
  text-align: center;
}
.aba-beneficiary strong {
  color: rgba(245,240,232,0.85);
  font-weight: 600;
}
.btn-maps-link {
  display: block;
  margin-top: 8px;
  padding: 10px 16px;
  background: rgba(66,133,244,0.15);
  border: 1px solid rgba(66,133,244,0.4);
  border-radius: 10px;
  color: #7ab3f7;
  font-family: var(--font-label);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-align: center;
  text-decoration: none;
}
.btn-maps-link:active { opacity: 0.75; }
.aba-wechat-divider {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0;
  font-size: 0.75rem;
  color: rgba(245,240,232,0.4);
  letter-spacing: 0.04em;
}
.aba-wechat-divider::before,
.aba-wechat-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.1);
}
.btn-wechat {
  width: 100%;
  padding: 14px 20px;
  background: #07C160;
  color: #fff;
  border: none;
  border-radius: 14px;
  font-family: var(--font-label);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-transform: uppercase;
}
.aba-note {
  font-size: 0.78rem;
  color: rgba(245,240,232,0.55);
  margin: 0;
  max-width: 280px;
}
/* ── New payment step layout ── */
.pay-step-label {
  font-size: 0.82rem;
  color: rgba(245,240,232,0.6);
  margin: 0;
  text-align: center;
}
.pay-total-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.pay-total-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(245,240,232,0.4);
}
.pay-qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.pay-confirm-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.pay-confirm-btn {
  width: 100%;
  font-size: 0.88rem;
  padding: 15px 16px;
  letter-spacing: 0.02em;
}

/* ============ MODAL ============ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0,0,0,0.75);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.show { display: flex; }
.modal-card {
  background: #140a08;
  border: 1px solid rgba(218,165,32,0.3);
  border-radius: 18px;
  max-width: 420px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 0;
}
.modal-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--color-gold);
  text-align: center;
  margin: 24px 20px 4px;
}
.modal-subtitle {
  text-align: center;
  font-size: 0.82rem;
  color: var(--color-gold);
  margin: 0 20px 12px;
  letter-spacing: 0.4px;
  opacity: 0.85;
}
.modal-card .product-card {
  border: none;
  border-radius: 0 0 18px 18px;
}
.accessories-grid {
  grid-template-columns: 1fr 1fr;
  padding: 16px;
  gap: 12px;
}
.accessories-grid .product-card {
  border-radius: 14px;
  border: 1px solid rgba(218,165,32,0.18);
}

/* ============ WEEKLY PICK CAROUSEL (swipeable, 4 items) ============ */
.carousel-wrapper {
  position: relative;
}
.carousel-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.28);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #fff;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s, background 0.2s;
}
.carousel-arrow:hover { background: rgba(0,0,0,0.52); }
.carousel-arrow.hidden { opacity: 0; pointer-events: none; }
.carousel-arrow-prev { left: 10px; }
.carousel-arrow-next { right: 10px; }

.weekly-pick-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.weekly-pick-carousel::-webkit-scrollbar { display: none; }
.carousel-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
}
.carousel-slide .product-card {
  border: none;
  border-radius: 0 0 18px 18px;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  padding: 12px 0 18px;
}
.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(245,240,232,0.25);
  transition: background 0.2s ease;
}
.carousel-dot.active { background: var(--color-gold); }
/* Box / individual purchase prompt */
.box-prompt-title {
  font-family: var(--font-serif); font-size: 1.1rem; text-align: center;
  margin: 0 0 4px; color: var(--color-cream);
}
.box-prompt-product {
  text-align: center; font-size: 0.8rem; color: rgba(245,240,232,0.55);
  margin: 0 0 20px;
}
.box-prompt-options {
  display: flex; gap: 12px; margin-bottom: 20px;
}
.box-opt-btn {
  flex: 1; background: rgba(245,240,232,0.06); border: 1px solid rgba(218,165,32,0.25);
  border-radius: 12px; padding: 16px 10px; cursor: pointer; display: flex;
  flex-direction: column; align-items: center; gap: 6px;
  transition: background 0.2s, border-color 0.2s;
}
.box-opt-btn:hover { background: rgba(218,165,32,0.1); }
.box-opt-btn.selected { border-color: var(--color-gold); background: rgba(218,165,32,0.15); }
.box-opt-label { font-family: var(--font-label); font-size: 0.82rem; color: var(--color-cream); letter-spacing: 0.04em; }
.box-opt-detail { font-size: 0.75rem; color: rgba(245,240,232,0.65); }
.box-prompt-qty {
  display: flex; align-items: center; gap: 12px; justify-content: center;
  margin-bottom: 8px;
}
.box-prompt-qty-label { font-family: var(--font-label); font-size: 0.8rem; color: rgba(245,240,232,0.7); }
.box-prompt-qty-max { font-size: 0.78rem; color: rgba(245,240,232,0.4); }
#bop-qty-val { font-size: 1.1rem; font-weight: 600; min-width: 28px; text-align: center; color: var(--color-cream); }

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: var(--color-cream);
  font-size: 1.1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============ DISCOVER TAG ============ */
.discover-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  font-size: 0.65rem;
  font-family: var(--font-label);
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 20px;
  background: var(--color-burgundy);
  color: var(--color-cream);
}

/* ============ LOADING ============ */
#loading-screen {
  background: radial-gradient(circle at center, var(--color-dark-brown), var(--color-black));
}
#loading-screen.active {
  display: flex;
  align-items: center;
  justify-content: center;
}
.loading-wrap { text-align: center; }
.loading-spinner {
  width: 38px; height: 38px;
  margin: 24px auto;
  border: 3px solid rgba(218,165,32,0.25);
  border-top-color: var(--color-gold);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ LANDING ============ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a0505;
  text-align: center;
  padding: 24px;
  overflow: hidden;
}

/* Option 1: ambient slideshow */
.hero-slideshow {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 20%;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}
.hero-slide.active {
  opacity: 1;
  animation: hero-kb 10s ease-in-out forwards;
}
@keyframes hero-kb {
  from { transform: scale(1.05); }
  to   { transform: scale(1.0); }
}

.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(160deg, rgba(80,8,8,0.82), rgba(0,0,0,0.88)),
    radial-gradient(circle at 30% 20%, rgba(218,165,32,0.14), transparent 50%);
  background-image:
    radial-gradient(rgba(218,165,32,0.05) 1px, transparent 1px),
    linear-gradient(160deg, rgba(80,8,8,0.82), rgba(0,0,0,0.88));
  background-size: 18px 18px, 100% 100%;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 480px; }
.hero-content .logo-word { font-size: 2rem; margin-bottom: 24px; }
.hero-headline {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--color-cream);
  margin: 0 0 12px;
}
.hero-subline {
  font-size: 1.05rem;
  color: rgba(245,240,232,0.8);
  margin: 0 0 32px;
}
.btn-cta { font-size: 1.1rem; padding: 16px 38px; }
.btn-skip-catalog {
  display: inline-block;
  margin-top: 18px;
  background: none;
  border: none;
  color: rgba(245,240,232,0.5);
  font-family: var(--font-label);
  font-size: 0.75rem;
  letter-spacing: 0.8px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.btn-skip-catalog:hover { color: rgba(245,240,232,0.85); }
.hero-tagline {
  margin-top: 28px;
  font-size: 0.82rem;
  color: rgba(218,165,32,0.75);
  line-height: 1.6;
}

/* ============ QUIZ ============ */
#quiz-screen {
  background: linear-gradient(180deg, var(--color-oxblood), var(--color-black) 60%);
  padding-left: 16px;
  padding-right: 16px;
  padding-bottom: 40px;
  min-height: 100vh;
  min-height: 100dvh;
}
#quiz-screen.active {
  display: flex;
  flex-direction: column;
}
.quiz-header { max-width: 480px; margin: 0 auto 24px; width: 100%; }
.quiz-header-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 8px;
}
.quiz-header-nav { display: flex; align-items: center; gap: 16px; }
.btn-quiz-back, .btn-quiz-skip {
  background: none; border: none; padding: 0;
  font-family: var(--font-label); font-size: 0.75rem; letter-spacing: 0.04em;
  color: rgba(245,240,232,0.45); cursor: pointer;
  transition: color 0.2s;
}
.btn-quiz-back:hover, .btn-quiz-skip:hover { color: rgba(245,240,232,0.8); }
.btn-quiz-skip { color: rgba(218,165,32,0.6); }
.btn-quiz-skip:hover { color: var(--color-gold); }
.progress-track {
  height: 6px;
  background: rgba(245,240,232,0.15);
  border-radius: 4px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--color-gold);
  transition: width 0.4s ease;
}
.progress-label {
  font-family: var(--font-label);
  font-size: 0.85rem;
  color: var(--color-gold);
  margin-top: 8px;
  display: block;
}

.card-stack {
  flex: 1;
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quiz-card {
  width: 100%;
  background: linear-gradient(160deg, #2a1410, #160a08);
  border: 1px solid rgba(218,165,32,0.3);
  border-radius: 24px;
  padding: 40px 28px;
  text-align: center;
  user-select: none;
  cursor: grab;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  /* let JS own horizontal drags (swipe), let the browser keep vertical
     scroll — without this iOS treats edge swipes as "go back" and Android
     can trigger overscroll glow/refresh mid-drag */
  touch-action: pan-y;
}
.quiz-card:active { cursor: grabbing; }
.quiz-card-image {
  font-size: 4rem;
  margin-bottom: 16px;
}
.quiz-card-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--color-cream);
  margin: 0 0 28px;
  line-height: 1.5;
}
.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.quiz-options:has(.quiz-option:nth-child(3):last-child) {
  grid-template-columns: 1fr;
}
.quiz-option {
  background: rgba(245,240,232,0.05);
  border: 1px solid rgba(218,165,32,0.25);
  border-radius: 14px;
  padding: 18px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-cream);
  font-family: var(--font-label);
  font-size: 0.95rem;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.quiz-option:hover, .quiz-option:active {
  background: rgba(218,165,32,0.15);
  border-color: var(--color-gold);
}
.quiz-option-icon { font-size: 1.8rem; }

.quiz-hint {
  text-align: center;
  font-size: 0.78rem;
  color: rgba(245,240,232,0.45);
  margin-top: 20px;
  font-family: var(--font-label);
}

/* ============ RESULTS / CATALOG SHARED ============ */
.results-header, .catalog-banner, .catalog-topbar {
  text-align: center;
}
#results-screen, #catalog-screen {
  background: var(--color-black);
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: 60px;
}
.results-header {
  padding: 32px 16px 16px;
  background: linear-gradient(180deg, var(--color-oxblood), var(--color-black));
}
.results-header h2 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  margin: 16px 0 6px;
  color: var(--color-cream);
}
.results-header p { color: rgba(245,240,232,0.7); margin: 0; font-size: 0.92rem; }

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 24px 16px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 720px) {
  .results-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .results-grid { grid-template-columns: repeat(4, 1fr); }
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  color: rgba(245,240,232,0.5);
  padding: 40px;
}

.product-card {
  background: #140a08;
  border: 1px solid rgba(218,165,32,0.18);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-badge {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  font-size: 0.6rem;
  font-family: var(--font-label);
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 0;
  letter-spacing: 0.4px;
  text-align: center;
  backdrop-filter: blur(2px);
}
.badge-box { background: rgba(218,165,32,0.85); color: var(--color-oxblood); }
.badge-catalog { background: rgba(160,45,28,0.82); color: var(--color-cream); }

/* ============ SPOTLIGHT CARD ============ */
.product-card.spotlight {
  grid-column: 1 / -1;
  border: 2px solid var(--color-gold);
  box-shadow: 0 0 0 1px rgba(218,165,32,0.25), 0 14px 40px rgba(218,165,32,0.3);
}
.new-arrival-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--color-gold);
  color: var(--color-oxblood);
  font-family: var(--font-label);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 7px;
  border-radius: 4px;
  z-index: 3;
}
.spotlight-ribbon {
  background: linear-gradient(90deg, var(--color-gold), var(--color-rust));
  color: var(--color-oxblood);
  font-family: var(--font-label);
  font-weight: 700;
  text-align: center;
  padding: 10px 12px;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
}
.product-card.spotlight .product-badge,
.product-card.spotlight .discover-tag {
  bottom: 0; top: auto;
}
.product-card.spotlight .product-image {
  padding-top: 50%;
}
@media (min-width: 720px) {
  .product-card.spotlight .product-info {
    padding: 20px 24px;
  }
  .product-card.spotlight .product-name {
    font-size: 1.3rem;
  }
}

/* ── Cigar Aficionado score badges ───────────────────────── */
.ca-badge-card {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(10,6,2,0.82);
  border: 1px solid rgba(218,165,32,0.55);
  border-radius: 6px;
  padding: 3px 7px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.02em;
  line-height: 1.2;
  pointer-events: all;
  cursor: pointer;
  z-index: 2;
}
.ca-tip {
  display: none;
  position: absolute;
  bottom: calc(100% + 7px);
  right: 0;
  background: #1a1a18;
  border: 1px solid rgba(218,165,32,0.4);
  border-radius: 8px;
  padding: 7px 11px;
  font-size: 11px;
  font-weight: 400;
  color: #e0d8cc;
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0;
  line-height: 1.5;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
.ca-badge-card:hover .ca-tip,
.ca-badge-card.ca-tip-on .ca-tip { display: block; }
.ca-badge-card::before {
  content: "CA ";
  font-size: 0.6rem;
  font-weight: 500;
  color: rgba(218,165,32,0.6);
  letter-spacing: 0.05em;
}
.ca-badge-detail {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  background: rgba(218,165,32,0.08);
  border: 1px solid rgba(218,165,32,0.35);
  border-radius: 7px;
  padding: 3px 10px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.01em;
  margin-left: 8px;
}
.ca-badge-label {
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(218,165,32,0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-image {
  width: 100%;
  padding-top: 100%;
  position: relative;
  overflow: hidden;
  background-color: var(--color-dark-brown);
  cursor: pointer;
}
.product-image-inner {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
/* Diagonal orientation: head top-left, foot bottom-right */
.product-image.cigar-stick {
  background-color: #ffffff;
}
.product-image.cigar-stick .product-image-inner {
  inset: 0;
  width: 100%;
  height: 100%;
  transform: scaleX(-1) rotate(-22deg);
  transform-origin: center;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
/* "/" image with head at bottom-left: rotate 180° then mirror puts head at top-left */
.product-image.cigar-stick-inv .product-image-inner {
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(180deg) scaleX(-1) rotate(-22deg);
  transform-origin: center;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
/* "\" image with head at bottom-right: rotate 158° puts head at top-left */
.product-image.cigar-stick-180 .product-image-inner {
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(158deg);
  transform-origin: center;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.product-info { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-brand {
  font-family: var(--font-label);
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--color-gold);
  margin: 0;
  letter-spacing: 0.5px;
}
.clickable-brand {
  cursor: pointer;
}
.clickable-brand:hover {
  text-decoration: underline;
  opacity: 0.85;
}
.product-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  margin: 0;
  color: var(--color-cream);
  line-height: 1.3;
  cursor: pointer;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-name.expanded {
  display: block;
  overflow: visible;
}
.product-meta { font-size: 0.78rem; color: rgba(245,240,232,0.6); margin: 0; }

.product-strength { display: flex; align-items: center; gap: 6px; font-size: 0.75rem; color: rgba(245,240,232,0.7); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(245,240,232,0.2); display: inline-block; }
.dot.filled { background: var(--color-gold); }
.strength-label { font-family: var(--font-label); margin-left: 4px; }

.product-tags { display: flex; flex-wrap: wrap; gap: 4px; margin: 5px 0 2px; }
.info-chip {
  font-size: 0.67rem;
  padding: 2px 8px;
  border-radius: 20px;
  border: 1px solid rgba(218,165,32,0.3);
  color: rgba(245,240,232,0.72);
  letter-spacing: 0.2px;
}
.origin-chip {
  font-size: 0.78rem;
  padding: 3px 10px;
  border-color: rgba(218,165,32,0.6);
  color: rgba(245,240,232,0.95);
  font-weight: 500;
  background: rgba(218,165,32,0.07);
}
.origin-chip .flag { font-size: 1.15em; margin-right: 2px; }

/* Size vitola chip — distinct rectangular style vs round country chip */
.size-chip {
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 6px;
  border-color: rgba(130,180,200,0.5);
  color: rgba(180,220,235,0.9);
  background: rgba(100,160,190,0.08);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
/* deviant size: amber tint signals non-standard dimensions */
.size-deviant {
  border-color: rgba(218,165,32,0.45);
  color: rgba(218,185,80,0.9);
  background: rgba(218,165,32,0.07);
}

/* Clickable chips — pointer + subtle hover lift */
.clickable-chip {
  cursor: pointer;
  transition: filter 0.15s, transform 0.1s, box-shadow 0.15s;
  user-select: none;
}
.clickable-chip:hover {
  filter: brightness(1.25);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.clickable-chip:active { transform: translateY(0); filter: brightness(0.95); }

.flavor-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.flavor-chip {
  font-size: 0.68rem;
  background: rgba(218,165,32,0.12);
  color: var(--color-gold);
  padding: 3px 9px;
  border-radius: 20px;
}

/* Tag recommendation banner */
.tag-rec-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(100,160,190,0.1);
  border: 1px solid rgba(100,160,190,0.25);
  border-radius: 10px;
  padding: 8px 12px;
  margin-bottom: 10px;
  font-size: 0.78rem;
  color: rgba(180,220,235,0.9);
  flex-wrap: wrap;
}
.tag-rec-banner .rec-icon { font-size: 1em; flex-shrink: 0; }
.tag-rec-banner .rec-label { flex: 1; min-width: 0; }
.tag-rec-banner .rec-label strong { color: #b4dceb; }
.tag-rec-banner .rec-cart-hint { font-size: 0.72rem; color: rgba(180,220,235,0.6); }
.tag-rec-banner .rec-dismiss {
  background: none; border: none; color: rgba(180,220,235,0.5);
  font-size: 1rem; cursor: pointer; padding: 0 2px; line-height: 1;
  flex-shrink: 0;
}
.tag-rec-banner .rec-dismiss:hover { color: rgba(180,220,235,0.9); }

.product-price-row { display: flex; align-items: center; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.price { font-family: var(--font-label); font-size: 1.3rem; color: var(--color-gold); font-weight: 700; }
.box-price {
  font-size: 0.74rem;
  color: #e8a864;
  font-weight: 600;
  background: rgba(232,168,100,0.12);
  border: 1px solid rgba(232,168,100,0.35);
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
}

.product-btn-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
  margin-top: auto;
  padding-top: 8px;
}
.btn-cart {
  background: var(--color-burgundy);
  color: var(--color-cream);
  font-size: 0.82rem;
  padding: 10px;
  border-radius: 10px;
  flex: 1;
}
.btn-cart:hover { background: var(--color-rust); }
.btn-share {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  flex-shrink: 0;
  background: transparent;
  border: 1px solid rgba(218,165,32,0.35);
  border-radius: 10px;
  color: rgba(218,165,32,0.7);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-share:hover {
  background: rgba(218,165,32,0.1);
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.results-footer {
  text-align: center;
  padding: 30px 16px;
}
.results-footer p { color: rgba(245,240,232,0.7); margin-bottom: 14px; }

/* ============ CATALOG ============ */
.catalog-banner {
  background: var(--color-rust);
  color: var(--color-cream);
  font-size: 0.85rem;
  padding: 10px 16px;
  font-family: var(--font-label);
}
.catalog-topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(218,165,32,0.15);
}
.catalog-topbar .logo-word { flex-shrink: 0; }
#back-to-results-btn { justify-self: end; }
#catalog-search {
  width: 100%;
  min-width: 0;
  background: rgba(245,240,232,0.06);
  border: 1px solid rgba(218,165,32,0.25);
  border-radius: 20px;
  padding: 10px 16px;
  color: var(--color-cream);
  font-family: var(--font-body);
  text-align: center;
}
#catalog-search:focus { text-align: left; }
@media (max-width: 540px) {
  /* Topbar: logo + back on row 1, search on row 2 */
  .catalog-topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
  }
  .catalog-topbar .logo-word { flex: 1; }
  #back-to-results-btn {
    font-size: 0.72rem;
    padding: 5px 10px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  #catalog-search {
    flex: 0 0 100%;
    order: 3;
    margin: 0;
  }
  /* Mode tabs: horizontal scroll so none clip */
  .catalog-mode-toggle {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 8px 12px;
    gap: 5px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .catalog-mode-toggle::-webkit-scrollbar { display: none; }
  .mode-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    scroll-snap-align: start;
    max-width: none;
  }
}

.catalog-body { display: flex; max-width: 1300px; margin: 0 auto; }
.catalog-filters { width: 240px; flex-shrink: 0; padding: 16px; }
.filters-toggle { display: none; width: 100%; background: rgba(245,240,232,0.06); color: var(--color-cream); padding: 10px; border-radius: 10px; font-family: var(--font-label); }
.filter-group { margin-bottom: 22px; }
.filter-group h4 {
  font-family: var(--font-label);
  font-size: 0.85rem;
  color: var(--color-gold);
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.filter-options { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-chip {
  font-size: 0.75rem;
  background: rgba(245,240,232,0.05);
  border: 1px solid rgba(218,165,32,0.2);
  color: var(--color-cream);
  padding: 6px 12px;
  border-radius: 20px;
}
.filter-chip.active { background: var(--color-gold); color: var(--color-oxblood); border-color: var(--color-gold); }

.price-range { display: flex; flex-direction: column; gap: 4px; }
.price-range input[type="range"] { width: 100%; accent-color: var(--color-gold); }
.price-range-label { font-size: 0.78rem; color: rgba(245,240,232,0.7); }

.catalog-results { flex: 1; padding: 16px; min-width: 0; }
.catalog-count { color: rgba(245,240,232,0.6); font-size: 0.85rem; margin: 0 0 10px 16px; }

@media (max-width: 860px) {
  .catalog-body { flex-direction: column; }
  .catalog-filters { width: 100%; padding: 8px 16px; }
  .filters-toggle { display: block; }
  .filters-panel {
    display: block;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #1a1008;
    border-top: 1px solid rgba(218,165,32,0.3);
    border-radius: 18px 18px 0 0;
    padding: 20px 20px 32px;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 500;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -8px 40px rgba(0,0,0,0.6);
  }
  .filters-panel.open { transform: translateY(0); }
  .filter-drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 499;
  }
  .filter-drawer-overlay.visible { display: block; }
  .filter-drawer-handle {
    display: flex;
    justify-content: center;
    padding: 0 0 16px;
  }
  .filter-drawer-handle span {
    width: 40px; height: 4px;
    background: rgba(218,165,32,0.35);
    border-radius: 2px;
  }
}

/* ============ TOAST ============ */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--color-gold);
  color: var(--color-oxblood);
  padding: 12px 22px;
  border-radius: 30px;
  font-family: var(--font-label);
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============ LEARNING PANEL ============ */
.learning-panel {
  max-width: 900px;
  margin: 0 auto;
  padding: 12px 20px 60px;
}
.learning-content {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.learn-section {
  border-top: 1px solid rgba(218,165,32,0.2);
  padding-top: 32px;
}
.learn-section h2 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-gold);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}
.learn-section h2 .zh {
  font-family: var(--font-body);
  font-size: 0.85em;
  color: rgba(218,165,32,0.6);
  margin-left: 8px;
}
.learn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.learn-card {
  background: rgba(245,240,232,0.04);
  border: 1px solid rgba(218,165,32,0.15);
  border-radius: 6px;
  padding: 16px 18px;
}
.learn-card h3 {
  font-family: var(--font-label);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-cream);
  margin-bottom: 8px;
}
.learn-card h3 .zh {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.85em;
  color: rgba(245,240,232,0.5);
  margin-left: 6px;
}
.learn-card p {
  font-size: 0.82rem;
  color: rgba(245,240,232,0.7);
  line-height: 1.6;
}
.learn-card-browse {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(218,165,32,0.45);
  background: rgba(218,165,32,0.08);
  color: var(--color-gold);
  font-size: 0.75rem;
  font-family: var(--font-label);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.learn-card-browse:hover { background: rgba(218,165,32,0.2); border-color: var(--color-gold); }

/* Strength bar */
.strength-bar-wrap { display: flex; flex-direction: column; gap: 0; }
.strength-bar { display: flex; border-radius: 4px; overflow: hidden; }
.strength-segment {
  flex: 1;
  padding: 10px 6px;
  text-align: center;
  font-family: var(--font-label);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.strength-segment .zh {
  font-family: var(--font-body);
  font-size: 0.8em;
  font-weight: 400;
  letter-spacing: 0;
  opacity: 0.8;
}
.s-mild    { background: rgba(218,165,32,0.15); color: var(--color-cream); }
.s-medium  { background: rgba(218,165,32,0.3);  color: var(--color-cream); }
.s-medful  { background: rgba(218,165,32,0.5);  color: var(--color-oxblood); }
.s-full    { background: var(--color-gold);      color: var(--color-oxblood); }
.strength-desc-row { display: flex; }
.strength-desc {
  flex: 1;
  padding: 10px 8px;
  font-size: 0.74rem;
  color: rgba(245,240,232,0.55);
  line-height: 1.5;
  border: 1px solid rgba(218,165,32,0.1);
  border-top: none;
  text-align: center;
}

/* Steps */
.learn-steps {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.learn-steps li {
  font-size: 0.84rem;
  color: rgba(245,240,232,0.75);
  line-height: 1.6;
}
.learn-steps li strong {
  color: var(--color-cream);
}

/* Flavour tags */
.flavor-tags-learn {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fl-tag {
  background: rgba(218,165,32,0.1);
  border: 1px solid rgba(218,165,32,0.25);
  color: var(--color-cream);
  border-radius: 20px;
  padding: 5px 14px;
  font-family: var(--font-label);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

/* ============ QUALITY / COMPLETENESS DOT ============ */
.quality-dot {
  display: none;
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 4px;
}
.is-admin .quality-dot { display: inline-block; }
.quality-high   { background: #4caf50; box-shadow: 0 0 5px rgba(76,175,80,0.55); }
.quality-medium { background: #ff9800; box-shadow: 0 0 4px rgba(255,152,0,0.45); }
.quality-low    { background: #f44336; box-shadow: 0 0 4px rgba(244,67,54,0.4); }
.product-price-row { display: flex; align-items: center; gap: 12px; }

/* ============ CHEAT SHEET ============ */
/* ===== FUN FACT ===== */
.learn-funfact { border: none !important; }
.funfact-card {
  background: linear-gradient(135deg, rgba(218,165,32,0.06) 0%, rgba(100,50,10,0.08) 100%);
  border: 1px solid rgba(218,165,32,0.25);
  border-left: 4px solid var(--color-gold);
  border-radius: 10px;
  padding: 16px 18px 12px;
  text-align: center;
}
.funfact-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.funfact-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(245,240,232,0.9);
  margin-bottom: 8px;
  font-style: italic;
}
.funfact-source {
  font-size: 0.7rem;
  color: rgba(218,165,32,0.45);
}
.funfact-nav {
  display: flex;
  gap: 6px;
  margin-top: 12px;
  justify-content: center;
  align-items: center;
}
.funfact-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(218,165,32,0.25);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}
.funfact-dot.active { background: var(--color-gold); }
.funfact-dot:hover { background: rgba(218,165,32,0.6); }
.funfact-arrow {
  background: none;
  border: none;
  color: rgba(218,165,32,0.55);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.2s;
  user-select: none;
}
.funfact-arrow:hover { color: var(--color-gold); }

/* ===== TOC ===== */
.learn-toc { border: none !important; }
.learn-toc h2 { margin-bottom: 10px !important; }
.toc-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.toc-btn {
  background: rgba(218,165,32,0.06);
  border: 1px solid rgba(218,165,32,0.22);
  border-radius: 16px;
  color: rgba(245,240,232,0.7);
  font-size: 0.75rem;
  padding: 5px 11px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.toc-btn:hover {
  background: rgba(218,165,32,0.16);
  color: var(--color-gold);
}

/* ===== CHEAT SHEET with categories ===== */
.learn-cheatsheet { border-left: 3px solid var(--color-gold); padding-left: 12px; }
.cheat-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-bottom: 10px;
  font-size: 0.7rem;
  color: rgba(245,240,232,0.5);
  align-items: center;
}
.cheat-legend-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
}
.cheat-legend-label { margin-left: -8px; }
.cheat-legend-dot.cat-cigar-part  { background: #5a9c4f; }
.cheat-legend-dot.cat-wrapper-type { background: #c8862a; }
.cheat-legend-dot.cat-format       { background: #4a8ab5; }
.cheat-legend-dot.cat-tip          { background: #c8a84b; }

.cheat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
}
.cheat-card {
  border-radius: 6px;
  padding: 10px 12px 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  position: relative;
  overflow: hidden;
}
.cheat-cat-bar {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  border-radius: 6px 0 0 6px;
}
.cheat-card.cat-cigar-part  { background: rgba(90,156,79,0.07);  border: 1px solid rgba(90,156,79,0.2); }
.cheat-card.cat-wrapper-type { background: rgba(200,134,42,0.07); border: 1px solid rgba(200,134,42,0.2); }
.cheat-card.cat-format       { background: rgba(74,138,181,0.07); border: 1px solid rgba(74,138,181,0.2); }
.cheat-card.cat-tip          { background: rgba(200,168,75,0.07);  border: 1px solid rgba(200,168,75,0.2); }
.cheat-card.cat-cigar-part  .cheat-cat-bar { background: #5a9c4f; }
.cheat-card.cat-wrapper-type .cheat-cat-bar { background: #c8862a; }
.cheat-card.cat-format       .cheat-cat-bar { background: #4a8ab5; }
.cheat-card.cat-tip          .cheat-cat-bar { background: #c8a84b; }
.cheat-card.cat-cigar-part  .cheat-term { color: #81c784; }
.cheat-card.cat-wrapper-type .cheat-term { color: #e0a050; }
.cheat-card.cat-format       .cheat-term { color: #7ab0d8; }
.cheat-card.cat-tip          .cheat-term { color: var(--color-gold); }
.cheat-term {
  font-family: var(--font-label);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.cheat-def {
  font-size: 0.78rem;
  color: rgba(245,240,232,0.72);
  line-height: 1.45;
}

/* ===== ANATOMY ===== */
.anatomy-wrap { display: flex; flex-direction: column; gap: 14px; }
.anatomy-cigar-svg { width: 100%; max-width: 380px; display: block; margin: 0 auto; }

/* ── Anatomy carousel ── */
.anatomy-carousel {
  display: flex;
  align-items: center;
  gap: 8px;
}
.anatomy-carousel-track {
  flex: 1;
  min-width: 0;
}
.anatomy-carousel-arrow {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(218,165,32,0.12);
  border: 1px solid rgba(218,165,32,0.3);
  color: var(--color-gold);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  padding: 0;
}
.anatomy-carousel-arrow:hover { background: rgba(218,165,32,0.28); }
.anatomy-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}
.anatomy-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(218,165,32,0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.anatomy-carousel-dot.active {
  background: var(--color-gold);
  transform: scale(1.3);
}

/* ── Photo-based anatomy diagram ── */
.anatomy-photo-diagram {
  display: none;
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #1a1008;
}
.anatomy-photo-diagram.active { display: block; }
.anatomy-photo-img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.anatomy-hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.anatomy-photo-diagram .anatomy-hotspot {
  width: auto;
}
.anatomy-hotspot-pulse {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  opacity: 0.9;
  box-shadow: 0 0 0 0 var(--part-color, #c8862a);
  animation: hotspot-ring 2s ease-out infinite;
  flex-shrink: 0;
}
@keyframes hotspot-ring {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.5); }
  70%  { box-shadow: 0 0 0 10px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.anatomy-hotspot-label {
  font-size: 0.68rem;
  font-weight: 700;
  font-family: var(--font-label);
  letter-spacing: 0.08em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.9), 0 0 8px rgba(0,0,0,0.7);
  white-space: nowrap;
}
.anatomy-hotspot.active .anatomy-hotspot-pulse {
  box-shadow: 0 0 0 4px var(--part-color, #c8862a);
  animation: none;
}

/* Legacy row buttons (hidden when photo diagram present) */
.anatomy-parts-btns {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.anatomy-part-btn {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 9px 12px;
  cursor: pointer;
  color: rgba(245,240,232,0.7);
  text-align: left;
  transition: background 0.15s, border-color 0.15s;
  font-size: 0.82rem;
  line-height: 1.4;
  width: 100%;
}
.anatomy-part-btn:hover { background: rgba(255,255,255,0.06); border-color: var(--part-color, rgba(218,165,32,0.3)); }
.anatomy-part-btn.active {
  background: rgba(255,255,255,0.08);
  border-color: var(--part-color, var(--color-gold));
  color: rgba(245,240,232,0.95);
}
.anatomy-btn-dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 3px;
  flex-shrink: 0;
  margin-top: 3px;
}
.anatomy-part-btn .anatomy-btn-short {
  font-size: 0.73rem;
  color: rgba(245,240,232,0.45);
  display: block;
  margin-top: 2px;
}
.anatomy-detail {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 14px;
  min-height: 140px;
}
.anatomy-detail > div { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
.cross-section-svg { width: 100px; height: 100px; flex-shrink: 0; }
.anatomy-detail-text { flex: 1; min-width: 160px; }
.anatomy-detail-text h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; font-family: var(--font-label); }
.anatomy-long { font-size: 0.8rem; color: rgba(245,240,232,0.8); line-height: 1.55; margin-bottom: 6px; }
.anatomy-note { font-size: 0.74rem; color: rgba(245,240,232,0.45); line-height: 1.45; font-style: italic; }

/* ============ WORLD MAP ============ */
.learn-map-hint {
  font-size: 0.8rem;
  color: rgba(218,165,32,0.55);
  margin-bottom: 10px;
  font-style: italic;
}
.world-map-container {
  position: relative;
  width: 100%;
  margin-bottom: 12px;
}
.world-map-svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  border: 1px solid rgba(218,165,32,0.12);
}
.continent {
  fill: #2a1e14;
  stroke: #4a3020;
  stroke-width: 0.8;
  stroke-linejoin: round;
}
.continent-island {
  fill: #2e2018;
}
.country-dot {
  fill: rgba(200,168,75,0.18);
  stroke: #c8a84b;
  stroke-width: 1.5;
  cursor: pointer;
  transition: fill 0.2s, stroke-width 0.2s;
}
.country-pulse-ring {
  fill: none;
  stroke: #c8a84b;
  stroke-width: 1;
  opacity: 0;
}
.country-marker:hover .country-dot,
.country-marker:focus .country-dot {
  fill: rgba(200,168,75,0.55);
  stroke-width: 2;
}
.country-marker.active .country-dot {
  fill: rgba(200,168,75,0.85);
  stroke-width: 2.5;
}
.country-label {
  font-size: 8px;
  fill: rgba(218,165,32,0.8);
  pointer-events: none;
  font-weight: 600;
  font-family: var(--font-label, sans-serif);
}
.country-marker.active .country-label {
  fill: #c8a84b;
}

/* Country info panel */
.country-info-panel {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(218,165,32,0.2);
  border-radius: 8px;
  padding: 16px;
  min-height: 72px;
  transition: all 0.3s ease;
}
.country-info-placeholder {
  color: rgba(218,165,32,0.38);
  text-align: center;
  font-size: 0.82rem;
  padding: 12px 0;
}
.country-info-header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.country-flag-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-gold);
  font-family: var(--font-display);
}
.country-strength-badge {
  font-size: 0.72rem;
  color: rgba(218,165,32,0.6);
  font-family: var(--font-label);
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border: 1px solid rgba(218,165,32,0.2);
  border-radius: 10px;
}
.country-region {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 8px;
}
.country-desc {
  font-size: 0.83rem;
  color: rgba(245,240,232,0.8);
  line-height: 1.55;
  margin-bottom: 10px;
}
.country-notes-row {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.country-note-tag {
  background: rgba(218,165,32,0.1);
  border: 1px solid rgba(218,165,32,0.28);
  color: var(--color-gold);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.72rem;
  font-family: var(--font-label);
}
.country-brands {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.48);
  margin-bottom: 8px;
  line-height: 1.4;
}
.country-brands strong {
  color: rgba(255,255,255,0.65);
}
.country-fun {
  font-size: 0.77rem;
  color: rgba(218,165,32,0.65);
  font-style: italic;
  padding: 8px 10px;
  background: rgba(218,165,32,0.04);
  border-radius: 5px;
  border-left: 2px solid rgba(218,165,32,0.28);
  line-height: 1.5;
}

/* Flavor tag secondary label */
.fl-tag em {
  font-style: normal;
  opacity: 0.45;
  font-size: 0.88em;
  margin-left: 3px;
}

/* ============ LEARN SECTION HEADINGS ============ */
.learn-section h2 {
  font-family: var(--font-label);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-cream);
  margin-bottom: 14px;
}

/* ── Vitola size tooltip ──────────────────────────────── */
.vitola-tooltip {
  position: fixed;
  z-index: 9999;
  background: rgba(18,14,10,0.97);
  border: 1px solid rgba(218,165,32,0.35);
  border-radius: 12px;
  padding: 12px 14px 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.7);
  pointer-events: none;
  animation: vitolaTipIn 0.15s ease;
}
@keyframes vitolaTipIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.vitola-tooltip-title {
  font-family: var(--font-label);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 8px;
  text-align: center;
}
.vitola-tooltip-hint {
  font-size: 0.65rem;
  color: rgba(245,240,232,0.35);
  text-align: center;
  margin-top: 6px;
}
.vitola-scale-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

/* ── Learning section — size explainer (length + ring gauge) ── */
.size-explainer {
  background: rgba(218,165,32,0.04);
  border: 1px solid rgba(218,165,32,0.15);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}
.size-explainer h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-gold);
  margin-bottom: 10px;
}
.size-explainer > p {
  font-size: 0.85rem;
  color: rgba(245,240,232,0.75);
  line-height: 1.6;
  margin-bottom: 16px;
}
.size-explainer-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.size-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(218,165,32,0.3);
  border-radius: 10px;
  padding: 10px 18px;
  min-width: 90px;
}
.size-pill-length { border-color: rgba(218,165,32,0.5); }
.size-pill-ring   { border-color: rgba(120,180,120,0.5); }
.size-pill-num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-cream);
  line-height: 1;
  margin-bottom: 4px;
}
.size-pill-length .size-pill-num { color: var(--color-gold); }
.size-pill-ring   .size-pill-num { color: #8ec98e; }
.size-pill-label {
  font-size: 0.68rem;
  color: rgba(245,240,232,0.5);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.size-pill-x {
  font-size: 1.4rem;
  color: rgba(245,240,232,0.4);
  font-weight: 300;
}
.size-explainer-sub {
  font-size: 0.82rem;
  color: rgba(245,240,232,0.6);
  line-height: 1.6;
  margin-bottom: 18px;
}
.size-explainer-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 560px) {
  .size-explainer-imgs { grid-template-columns: 1fr; }
}
.size-fig {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.size-fig img {
  width: 100%;
  border-radius: 8px;
  display: block;
  border: 1px solid rgba(218,165,32,0.12);
}
.size-fig figcaption {
  font-size: 0.72rem;
  color: rgba(245,240,232,0.4);
  line-height: 1.4;
  text-align: center;
}

/* ── Learning section — vitola interactive scale ─────── */
.learn-vitola-scale-wrap {
  margin-bottom: 24px;
  background: rgba(218,165,32,0.04);
  border: 1px solid rgba(218,165,32,0.15);
  border-radius: 12px;
  padding: 16px 14px 12px;
}
.learn-vitola-scale-label {
  font-size: 0.72rem;
  color: rgba(245,240,232,0.45);
  text-align: center;
  margin: 0 0 10px;
  letter-spacing: 0.04em;
}
.learn-vitola-scale {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 14px;
}
.learn-vitola-btn {
  background: rgba(218,165,32,0.08);
  border: 1px solid rgba(218,165,32,0.25);
  border-radius: 20px;
  color: rgba(245,240,232,0.7);
  font-size: 0.72rem;
  font-family: var(--font-label);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.learn-vitola-btn:hover,
.learn-vitola-btn.active {
  background: rgba(218,165,32,0.22);
  border-color: var(--color-gold);
  color: var(--color-gold);
}
.learn-vitola-svg-wrap {
  width: 100%;
  overflow-x: auto;
  padding: 4px 0 2px;
}
.learn-vitola-svg-wrap .vitola-scale-svg {
  min-width: 320px;
}

/* ============ ENRICHMENT BLOCK (product detail) ============ */
.enrichment-block {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(218,165,32,0.15);
}
.enrichment-images {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.enrichment-img {
  flex: 1;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  background-color: var(--color-dark-brown);
  max-width: 120px;
}
.enrichment-story {
  font-size: 0.82rem;
  color: rgba(245,240,232,0.7);
  line-height: 1.65;
  margin: 0 0 8px;
}
.enrichment-notes {
  font-size: 0.8rem;
  color: rgba(218,165,32,0.75);
  background: rgba(218,165,32,0.05);
  border-left: 3px solid rgba(218,165,32,0.3);
  padding: 8px 12px;
  border-radius: 0 6px 6px 0;
  margin: 0;
  line-height: 1.55;
}

/* ============ LEARN MORE SECTION (social content) ============ */
.learn-more-intro {
  font-size: 0.82rem;
  color: rgba(245,240,232,0.55);
  margin: 0 0 18px;
}
.learn-more-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.learn-more-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: rgba(245,240,232,0.3);
  font-size: 0.82rem;
  padding: 32px 0;
  border: 1px dashed rgba(218,165,32,0.15);
  border-radius: 10px;
}
.learn-more-card {
  display: flex;
  flex-direction: column;
  background: rgba(245,240,232,0.03);
  border: 1px solid rgba(218,165,32,0.15);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: var(--color-cream);
  transition: border-color 0.2s, transform 0.15s;
}
.learn-more-card:hover {
  border-color: rgba(218,165,32,0.4);
  transform: translateY(-2px);
}
.learn-more-thumb {
  width: 100%;
  aspect-ratio: 9/16;
  background-size: cover;
  background-position: center;
  background-color: var(--color-dark-brown);
}
.learn-more-thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: rgba(218,165,32,0.05);
}
.learn-more-card-info {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.learn-more-type {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  font-family: var(--font-label);
}
.learn-more-title {
  font-size: 0.78rem;
  margin: 0;
  line-height: 1.4;
  color: rgba(245,240,232,0.85);
}
.learn-more-cigar {
  font-size: 0.7rem;
  margin: 0;
  color: rgba(245,240,232,0.45);
  font-style: italic;
}

/* ============ MOBILE BALANCE ============ */
@media (max-width: 540px) {
  /* Fun fact nav dots: centered + with prev/next room */
  .funfact-nav {
    justify-content: center;
  }

  /* Product name slightly smaller in 2-col grid */
  .product-name {
    font-size: 0.9rem;
  }

  /* Product info tighter padding on small screens */
  .product-info {
    padding: 10px 11px;
    gap: 5px;
  }

  /* Learning panel: tighter horizontal padding */
  .learning-panel {
    padding: 10px 14px 60px;
  }

  /* Section headers: scale down slightly */
  .learn-section h2 {
    font-size: 1rem;
  }

  /* TOC grid: smaller chips on mobile */
  .toc-btn {
    font-size: 0.7rem;
    padding: 5px 10px;
  }

  /* Results header: tighten */
  .results-header {
    padding: 20px 16px 10px;
  }
  .results-header-actions {
    gap: 7px;
  }
  .weekly-pick-btn, .accessories-btn {
    font-size: 0.75rem;
    padding: 8px 14px;
  }

  /* Announcement banner: 1 line max */
  .catalog-banner {
    font-size: 0.78rem;
    padding: 8px 14px;
  }
}

/* ============ OPTION 2: product detail blurred brand backdrop ============ */
#product-screen.has-backdrop::before {
  content: '';
  position: fixed; inset: 0; z-index: -1;
  background-image: var(--product-backdrop);
  background-size: cover;
  background-position: center;
  filter: blur(40px) brightness(0.18) saturate(0.5);
  transform: scale(1.1);
  pointer-events: none;
}

/* ============ OPTION 3: learning section photo headers ============ */
.learn-section-banner {
  width: 100%;
  height: 150px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  margin-bottom: 18px;
  opacity: 0.78;
  overflow: hidden;
  position: relative;
}
.learn-section-banner::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.55) 100%);
}
@media (max-width: 540px) {
  .learn-section-banner { height: 110px; }
}

/* ============ OPTION 4: fun fact card thumbnail ============ */
.funfact-thumb {
  width: 110px; height: 110px;
  border-radius: 50%;
  background-size: 130%;
  background-position: center;
  margin: 0 auto 14px;
  border: 2px solid rgba(218,165,32,0.5);
  flex-shrink: 0;
}

/* ============ OPTION 5: country/origin banner in catalog ============ */
.country-origin-banner {
  position: relative;
  width: 100%;
  height: 130px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 14px;
  flex: 0 0 auto;
}
.country-origin-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.1) 100%);
}
.country-origin-banner-text {
  position: absolute;
  bottom: 14px; left: 18px;
  color: var(--color-cream);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0,0,0,0.7);
  z-index: 1;
}
.country-origin-banner-sub {
  position: absolute;
  bottom: 14px; right: 14px;
  color: rgba(218,165,32,0.85);
  font-size: 0.72rem;
  font-family: var(--font-label);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  z-index: 1;
  text-shadow: 0 1px 6px rgba(0,0,0,0.8);
}
@media (max-width: 540px) {
  .country-origin-banner { height: 90px; }
  .country-origin-banner-text { font-size: 1rem; bottom: 10px; left: 12px; }
}

/* ============ SIZE CHART: vitola photo preview ============ */
.vitola-photo-preview {
  width: 100%;
  height: 180px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  margin-top: 10px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(218,165,32,0.2);
  animation: fadeInPhoto 0.3s ease;
}
@keyframes fadeInPhoto {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.vitola-photo-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 14px 10px;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 100%);
  color: var(--color-cream);
  font-family: var(--font-serif);
  font-size: 0.88rem;
  display: flex;
  gap: 8px;
  align-items: baseline;
}
.vitola-photo-dim {
  color: rgba(218,165,32,0.85);
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.5px;
  margin-left: auto;
}

/* Improved text contrast on learn-section banners */
.learn-section-banner {
  opacity: 1;
}
.learn-section-banner::after {
  background: linear-gradient(to bottom, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.60) 100%);
}

/* Size deviant chip */
.size-chip.size-deviant {
  border-color: rgba(218,165,32,0.45);
  color: rgba(218,185,80,0.9);
  background: rgba(218,165,32,0.07);
}

/* ── Order Sent Screen ─────────────────────────── */
.order-sent-body {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sent-receipt-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(218,165,32,0.25);
  border-radius: 12px;
  padding: 16px;
}
.sent-order-num {
  font-size: 0.72rem;
  letter-spacing: 1px;
  color: rgba(218,165,32,0.7);
  font-family: var(--font-label);
  margin-bottom: 12px;
}
.sent-item-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.88rem;
}
.sent-item-row:last-child { border-bottom: none; }
.sent-item-name { flex: 1; color: var(--color-cream); }
.sent-item-qty { color: rgba(218,165,32,0.7); font-size: 0.8rem; }
.sent-item-price { color: var(--color-cream); min-width: 52px; text-align: right; }
.sent-totals {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.sent-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: rgba(245,240,232,0.7);
  padding: 3px 0;
}
.sent-grand-total {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-gold);
  margin-top: 4px;
}
.sent-eta {
  margin: 12px 0 0;
  font-size: 0.78rem;
  color: rgba(245,240,232,0.55);
  line-height: 1.5;
}
.sent-tracking {
  margin: 8px 0 0;
  font-size: 0.78rem;
  color: rgba(245,240,232,0.45);
  line-height: 1.5;
  font-style: italic;
}
.owner-template-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 14px 16px;
}
.owner-template-label-txt {
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(245,240,232,0.4);
  margin-bottom: 10px;
  font-family: var(--font-label);
}
.owner-template-pre {
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(245,240,232,0.8);
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0 0 12px;
}
.btn-copy-template {
  background: transparent;
  border: 1px solid rgba(218,165,32,0.35);
  border-radius: 8px;
  color: rgba(218,165,32,0.75);
  padding: 7px 16px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn-copy-template:hover {
  background: rgba(218,165,32,0.1);
  border-color: var(--color-gold);
  color: var(--color-gold);
}
.sent-continue-btn { width: 100%; margin-top: 4px; }

/* ── Delivery notice (product detail + card) ─── */
.delivery-notice {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  padding: 5px 10px;
  border-radius: 20px;
  margin: 6px 0 10px;
  font-family: var(--font-label);
  letter-spacing: 0.3px;
}
.delivery-express {
  background: rgba(218,165,32,0.12);
  border: 1px solid rgba(218,165,32,0.4);
  color: var(--color-gold);
}
.delivery-standard {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(245,240,232,0.6);
}

/* Weekly pick badge */
.badge-weekly {
  background: linear-gradient(90deg, rgba(218,165,32,0.85) 0%, rgba(218,165,32,0.65) 100%);
  color: #1a0e00;
  font-weight: 600;
}

/* ── Inventory admin panel ─── */
.toolbar-inventory {
  background: rgba(218,165,32,0.15);
  border: 1px solid rgba(218,165,32,0.4);
  border-radius: 8px;
  color: var(--color-gold);
  font-size: 1rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.inventory-panel {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.inventory-inner {
  background: #1a0e00;
  border: 1px solid rgba(218,165,32,0.3);
  border-radius: 16px 16px 0 0;
  width: 100%;
  max-width: 540px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 0 0 24px;
}
.inventory-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 12px;
  font-family: var(--font-label);
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: var(--color-gold);
  border-bottom: 1px solid rgba(218,165,32,0.2);
  position: sticky;
  top: 0;
  background: #1a0e00;
}
.inventory-close {
  background: transparent;
  border: none;
  color: rgba(245,240,232,0.5);
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
}
.inventory-hint {
  font-size: 0.75rem;
  color: rgba(245,240,232,0.45);
  line-height: 1.5;
  padding: 10px 20px 4px;
  margin: 0;
}
.inventory-hint code {
  font-family: monospace;
  color: rgba(218,165,32,0.7);
}
.inventory-list {
  padding: 8px 0;
}
.inv-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.inv-row-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.inv-brand {
  font-size: 0.68rem;
  letter-spacing: 0.5px;
  color: rgba(218,165,32,0.65);
  font-family: var(--font-label);
  text-transform: uppercase;
}
.inv-name {
  font-size: 0.85rem;
  color: var(--color-cream);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.inv-qty-ctrl {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.inv-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(218,165,32,0.4);
  background: transparent;
  color: var(--color-gold);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.inv-btn:active { background: rgba(218,165,32,0.15); }
.inv-qty-val {
  min-width: 28px;
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-cream);
}
.inventory-copy-btn {
  display: block;
  width: calc(100% - 40px);
  margin: 16px 20px 0;
  padding: 12px;
  background: var(--color-burgundy);
  color: var(--color-cream);
  border: none;
  border-radius: 10px;
  font-size: 0.88rem;
  font-family: var(--font-label);
  letter-spacing: 0.5px;
  cursor: pointer;
}
.inventory-copy-btn:active { background: var(--color-rust); }

/* ── Outside delivery notice ─── */
.outside-delivery-notice {
  margin: -4px 0 8px;
  padding: 8px 12px;
  background: rgba(158,59,27,0.12);
  border: 1px solid rgba(158,59,27,0.4);
  border-radius: 8px;
  font-size: 0.8rem;
  color: rgba(245,200,170,0.9);
  line-height: 1.5;
}

/* ── Mixed-cart checkout notice ─── */
.checkout-mixed-notice {
  margin-top: 10px;
  padding: 8px 12px;
  background: rgba(218,165,32,0.08);
  border: 1px solid rgba(218,165,32,0.3);
  border-radius: 8px;
  font-size: 0.78rem;
  color: rgba(218,165,32,0.85);
  line-height: 1.4;
}

/* ── Tobacco info block (wrapper / binder / filler) on product detail ─── */
.tobacco-info {
  margin: 14px 0 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tobacco-row {
  display: flex;
  gap: 8px;
  font-size: 0.82rem;
  line-height: 1.4;
}
.tobacco-label {
  color: rgba(218,165,32,0.55);
  min-width: 110px;
  flex-shrink: 0;
}
.tobacco-value {
  color: rgba(245,230,200,0.85);
  display: flex;
  align-items: center;
  gap: 6px;
}
.wrapper-swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.15);
  flex-shrink: 0;
}

/* ── Wing payment ─── */
.wing-row {
  margin-top: 18px;
  text-align: center;
}
.btn-wing-toggle {
  background: transparent;
  border: 1px solid rgba(218,165,32,0.4);
  color: rgba(218,165,32,0.85);
  border-radius: 6px;
  padding: 8px 18px;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-wing-toggle:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}
.wing-details {
  margin-top: 12px;
  padding: 14px 16px;
  background: rgba(218,165,32,0.06);
  border: 1px solid rgba(218,165,32,0.25);
  border-radius: 8px;
  text-align: center;
}
.wing-label-txt {
  font-size: 0.75rem;
  color: rgba(218,165,32,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.wing-account-num {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.wing-hint-txt {
  font-size: 0.78rem;
  color: rgba(245,200,170,0.6);
  line-height: 1.4;
}

/* ── Cash on Delivery (discouraged) ─── */
.cash-row {
  margin-top: 10px;
  text-align: center;
}
.btn-cash-toggle {
  background: transparent;
  border: 1px solid rgba(180,180,180,0.25);
  color: rgba(200,200,200,0.5);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-cash-toggle:hover {
  border-color: rgba(180,180,180,0.4);
  color: rgba(200,200,200,0.7);
}
.cash-details {
  margin-top: 10px;
}
.cash-note-txt {
  font-size: 0.75rem;
  color: rgba(200,120,80,0.75);
  line-height: 1.4;
  margin-bottom: 10px;
  padding: 8px 12px;
  background: rgba(200,80,40,0.06);
  border: 1px solid rgba(200,80,40,0.2);
  border-radius: 6px;
}
.btn-cash-confirm {
  display: block;
  width: 100%;
  padding: 10px 14px;
  margin-top: 8px;
  background: transparent;
  border: 1px solid rgba(180,180,180,0.3);
  color: rgba(200,200,200,0.6);
  border-radius: 6px;
  font-size: 0.82rem;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
}
.btn-cash-confirm:hover {
  border-color: rgba(200,200,200,0.5);
  color: rgba(200,200,200,0.85);
}

/* ============ BOX RECS SECTION ============ */
.box-recs-label {
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  text-transform: uppercase;
  padding: 4px 0 10px;
  margin: 0;
}
#box-recs-section { margin-bottom: 8px; }

/* ============ LEARNING CATALOG CTA ============ */
.learn-catalog-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(218,165,32,0.07);
  border: 1px solid rgba(218,165,32,0.2);
  border-radius: 10px;
  margin-bottom: 24px;
}
.learn-catalog-cta span {
  font-size: 0.85rem;
  color: rgba(245,240,232,0.7);
}
.btn-sm {
  padding: 7px 14px;
  font-size: 0.78rem;
  white-space: nowrap;
}

/* ============ FAQ ACCORDION ============ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  border: 1px solid rgba(218,165,32,0.2);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(245,240,232,0.03);
  transition: border-color 0.2s;
}
.faq-item.open {
  border-color: rgba(218,165,32,0.45);
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  cursor: pointer;
  font-family: var(--font-label);
  font-size: 0.9rem;
  color: var(--color-cream);
  gap: 12px;
  user-select: none;
}
.faq-q::after {
  content: '+';
  color: var(--color-gold);
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item.open .faq-q::after {
  transform: rotate(45deg);
}
.faq-a {
  display: none;
  padding: 0 18px 16px;
  font-size: 0.88rem;
  color: rgba(245,240,232,0.72);
  line-height: 1.65;
}
.faq-item.open .faq-a {
  display: block;
}
.faq-a ul {
  margin: 8px 0 0 0;
  padding-left: 18px;
}
.faq-a ul li {
  margin-bottom: 4px;
}

/* ============ STORAGE SECTION ============ */
.storage-climate-callout {
  background: rgba(218,165,32,0.06);
  border: 1px solid rgba(218,165,32,0.22);
  border-left: 3px solid var(--color-gold);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 20px;
}
.storage-climate-callout strong {
  display: block;
  font-family: var(--font-label);
  font-size: 0.9rem;
  color: var(--color-gold);
  margin-bottom: 6px;
}
.storage-climate-callout p {
  font-size: 0.86rem;
  color: rgba(245,240,232,0.75);
  line-height: 1.6;
  margin: 0;
}
.storage-accessories-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(218,165,32,0.05);
  border: 1px solid rgba(218,165,32,0.18);
  border-radius: 10px;
  margin-top: 20px;
}
.storage-accessories-cta span {
  font-size: 0.85rem;
  color: rgba(245,240,232,0.7);
}
@media (max-width: 480px) {
  .learn-catalog-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .learn-catalog-cta span { font-size: 0.82rem; }
  .storage-accessories-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ── Stock notice (product detail) ─────────────────── */
.stock-notice {
  font-size: 0.75rem;
  color: rgba(245,240,232,0.45);
  margin: -4px 0 12px;
  font-style: italic;
}

/* ── Cart summary multi-row ─────────────────────────── */
.cart-summary {
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-delivery-row { opacity: 0.65; font-size: 0.9em; }
.cart-delivery-val { font-size: 0.85em; text-align: right; }
.cart-min-warning {
  font-size: 0.8rem;
  color: #e07b2a;
  background: rgba(224,123,42,0.1);
  border: 1px solid rgba(224,123,42,0.3);
  border-radius: 8px;
  padding: 7px 12px;
  text-align: center;
  margin-top: 4px;
}

/* ── How-to-order inline chip ───────────────────────── */
.howto-chip {
  background: rgba(218,165,32,0.07);
  border-bottom: 1px solid rgba(218,165,32,0.15);
  padding: 0 16px;
}
.howto-chip-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 9px 0;
  background: none;
  border: none;
  color: rgba(218,165,32,0.75);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-align: left;
}
.howto-chip-toggle:hover { color: var(--color-gold); }
.howto-chip-body {
  padding: 4px 0 12px;
}
.howto-chip-steps {
  margin: 0 0 10px 16px;
  padding: 0;
  font-size: 0.78rem;
  line-height: 1.75;
  color: rgba(245,240,232,0.7);
}
.howto-chip-dismiss {
  background: none;
  border: none;
  color: rgba(218,165,32,0.6);
  font-size: 0.72rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.howto-chip-dismiss:hover { color: var(--color-gold); }

/* ===== HERO CONTACT BUTTONS (Item 7) ===== */
.hero-contact-btns {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 12px 0 4px;
}
.hero-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 16px;
  border-radius: 20px;
  border: 1px solid rgba(218,165,32,0.45);
  color: rgba(245,240,232,0.85);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(4px);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.hero-contact-btn:hover {
  border-color: var(--color-gold);
  background: rgba(218,165,32,0.12);
  color: var(--color-gold);
}
.hero-contact-wc { border-color: rgba(9,188,138,0.45); }
.hero-contact-wc:hover { border-color: #09bc8a; color: #09bc8a; background: rgba(9,188,138,0.1); }

/* ===== PROMO BANNER (Item 10) ===== */
.promo-banner {
  margin: 10px 16px 0;
  padding: 10px 16px;
  background: linear-gradient(135deg, rgba(139,0,20,0.7), rgba(80,0,10,0.7));
  border: 1px solid rgba(218,165,32,0.35);
  border-radius: 10px;
  color: var(--color-cream);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  backdrop-filter: blur(4px);
}

/* ===== LAST ORDER BANNER (Item 9) ===== */
.last-order-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 8px 0 0;
  flex-wrap: wrap;
}
.last-order-banner p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(245,240,232,0.6);
}
.last-order-banner .btn {
  font-size: 0.75rem;
  padding: 4px 12px;
}

/* ===== CHECKOUT TIMESLOT (Item 12) ===== */
#checkout-label-timeslot { display: flex; flex-direction: column; gap: 5px; }
#checkout-timeslot { width: 100%; }

/* ===== CATALOG SORT (Item 14) ===== */
.catalog-sort-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.catalog-sort-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-muted);
  white-space: nowrap;
}
#catalog-sort-select {
  font-size: 0.78rem;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
}
