/* ============================================================
   Humidor — page-specific styles
   Design tokens come from styles.css (--bg, --gold, --ink, etc.)
   ============================================================ */

/* Porcelaine marble texture, dimmed so text + cards stay readable.
   `fixed` keeps the marble in place while content scrolls. */
body {
  min-height: 100vh;
  background-color: #0a0807;
  background-image:
    linear-gradient(rgba(10, 8, 7, 0.85), rgba(10, 8, 7, 0.85)),
    url('./assets/Porcelaine-background.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* --- Site navigation --- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  /* Flex with space-between keeps the brand-link / hamburger on the left
     and the humidor-btn on the right. The centered .nav-links is taken
     out of flow (position: absolute) and centered against the viewport. */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 48px);
  background: rgba(10, 8, 7, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 162, 99, 0.12);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  text-decoration: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.crown-sm { width: 28px; height: 22px; }

.nav-links {
  /* True-center across the viewport — independent of the widths of the
     brand-link / hamburger on the left and the cart on the right.
     .site-nav has `position: sticky`, which establishes the containing
     block for this absolute positioning. */
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: clamp(20px, 4vw, 44px);
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  transition: color 0.2s ease;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }

/* Right-side icon group (cart + profile). */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.humidor-btn,
.profile-btn {
  position: relative;
  background: transparent;
  border: 1px solid rgba(201, 162, 99, 0.3);
  color: var(--gold);
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.humidor-btn svg,
.profile-btn svg { width: 22px; height: 22px; }

.profile-btn[aria-current="page"] {
  border-color: var(--gold);
  background: rgba(201, 162, 99, 0.12);
}

/* --- Profile dropdown menu --- */
.profile-menu { position: relative; }

.profile-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 200px;
  background: #15110d;
  border: 1px solid rgba(201, 162, 99, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55);
  z-index: 100;
  padding: 6px 0;
  animation: dropdown-in 0.16s ease;
}
.profile-dropdown[hidden] { display: none; }

@keyframes dropdown-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.profile-dropdown a,
.profile-dropdown button {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: var(--ink);
  font: 500 11px/1 'Inter', sans-serif;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 16px 20px;
  text-decoration: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.18s ease, color 0.18s ease;
}
.profile-dropdown a:hover,
.profile-dropdown button:hover {
  background: rgba(201, 162, 99, 0.08);
  color: var(--gold);
}
.profile-dropdown .signout {
  border-top: 1px solid rgba(201, 162, 99, 0.12);
  color: var(--muted);
}
.profile-dropdown .signout:hover { color: #c87a72; background: rgba(176, 72, 72, 0.08); }

/* Hover comes AFTER the active-state rule and uses a slightly stronger
   tint so hover feedback is always visible — including on the page
   where .profile-btn is the active link. */
.humidor-btn:hover,
.profile-btn:hover { border-color: var(--gold); background: rgba(201, 162, 99, 0.16); }

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: var(--gold);
  color: #1a130a;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  transform: scale(0);
  transition: transform 0.18s ease;
}
.cart-count.visible { transform: scale(1); }

/* --- Hamburger button (mobile only) --- */
.hamburger {
  display: none;
  background: transparent;
  border: 1px solid rgba(201, 162, 99, 0.3);
  color: var(--gold);
  width: 44px;
  height: 44px;
  cursor: pointer;
  place-items: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.hamburger:hover { border-color: var(--gold); background: rgba(201, 162, 99, 0.08); }
.hamburger svg { width: 22px; height: 22px; }

/* --- Mobile menu drawer (left) --- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  pointer-events: none;
  display: block;
}
.mobile-menu[aria-hidden="false"] { pointer-events: auto; }

.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 3, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.mobile-menu[aria-hidden="false"] .mobile-menu-backdrop { opacity: 1; }

.mobile-menu-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: min(320px, 82%);
  height: 100%;
  background: #0d0a08;
  border-right: 1px solid rgba(201, 162, 99, 0.18);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
  box-shadow: 30px 0 60px rgba(0,0,0,0.5);
}
.mobile-menu[aria-hidden="false"] .mobile-menu-panel { transform: translateX(0); }

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(201, 162, 99, 0.15);
}

.mobile-menu-close {
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid rgba(201, 162, 99, 0.3);
  color: var(--gold);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.mobile-menu-close:hover { background: rgba(201, 162, 99, 0.1); }

.mobile-nav-links {
  list-style: none;
  padding: 24px 24px;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.mobile-nav-links a {
  display: block;
  padding: 18px 4px;
  color: var(--ink);
  text-decoration: none;
  font: 500 12px/1 'Inter', sans-serif;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(201, 162, 99, 0.08);
  transition: color 0.18s ease;
}
.mobile-nav-links a:hover { color: var(--gold); }
.mobile-nav-links a[aria-current="page"] { color: var(--gold); }

@media (max-width: 1080px) {
  /* .site-nav uses flex; the grid-template-columns override is no longer needed. */
  .site-nav > .brand-link { display: none; }
  .nav-links { display: none; }
  .hamburger { display: grid; }
}

/* --- Page hero --- */
.page-hero {
  text-align: center;
  padding: clamp(60px, 9vw, 110px) 24px clamp(40px, 6vw, 70px);
  max-width: 760px;
  margin: 0 auto;
}

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(48px, 7vw, 80px);
  letter-spacing: 0.06em;
  margin: 18px 0 0;
  color: #f7efe1;
}

.page-hero .divider {
  width: 64px;
  height: 1px;
  background: var(--gold);
  margin: 24px auto;
  opacity: 0.7;
}

.page-intro {
  color: var(--muted);
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 300;
  max-width: 520px;
  margin: 0 auto;
}

/* --- Catalog --- */
.catalog {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px) 80px;
}

.catalog-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 28px;
  margin-bottom: 36px;
  border-bottom: 1px solid rgba(201, 162, 99, 0.15);
}

.filters { display: flex; gap: 4px; }

.filter {
  background: transparent;
  border: none;
  color: var(--muted-2);
  font: 500 11px/1 'Inter', sans-serif;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 12px 18px;
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.filter:hover { color: var(--ink); }
.filter.active { color: var(--gold); border-bottom-color: var(--gold); }

.sort-wrap { display: flex; align-items: center; gap: 10px; }

.sort-wrap label {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.sort-wrap select {
  background: transparent;
  border: 1px solid rgba(201, 162, 99, 0.25);
  color: var(--ink);
  font: 400 12px/1 'Inter', sans-serif;
  padding: 9px 28px 9px 12px;
  cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%),
                    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

.sort-wrap select:focus { outline: 1px solid var(--gold); outline-offset: 1px; }

/* --- Product grid --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.product-card {
  background: linear-gradient(180deg, #15110d 0%, #0d0a08 100%);
  border: 1px solid rgba(201, 162, 99, 0.12);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  border-color: rgba(201, 162, 99, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 24px 50px rgba(0,0,0,0.5);
}

.product-card.out { opacity: 0.55; }
.product-card.out:hover { transform: none; }

.product-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  background: radial-gradient(ellipse at 30% 30%, #2b1f15 0%, #0a0807 75%);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.product-visual svg { width: 80%; max-width: 320px; height: auto; }

.stock-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 6px 10px;
  background: rgba(10, 8, 7, 0.7);
  border: 1px solid;
  color: var(--ink);
}

.stock-badge.low { color: #d6a64b; border-color: rgba(214, 166, 75, 0.5); }
.stock-badge.out { color: #b04848; border-color: rgba(176, 72, 72, 0.5); }
.stock-badge.in  { color: #7fa67a; border-color: rgba(127, 166, 122, 0.4); }

.product-info {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.product-info .type {
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.product-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 24px;
  letter-spacing: 0.02em;
  color: #f7efe1;
  line-height: 1.15;
}

.product-info .meta {
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.55;
}

.strength-bar {
  display: flex;
  gap: 4px;
  margin-top: 4px;
  align-items: center;
}
.strength-bar span { font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted-2); margin-right: 8px; }
.strength-bar i {
  display: block;
  width: 14px;
  height: 3px;
  background: rgba(244, 236, 221, 0.15);
}
.strength-bar i.on { background: var(--gold); }

.product-foot {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(201, 162, 99, 0.1);
}

.product-foot .price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--ink);
}

.add-mini {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font: 600 10px/1 'Inter', sans-serif;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.add-mini:hover { background: var(--gold); color: #1a130a; }
.add-mini:disabled { opacity: 0.4; cursor: not-allowed; border-color: var(--muted-2); color: var(--muted-2); }
.add-mini:disabled:hover { background: transparent; color: var(--muted-2); }

/* --- Primary button (reused in modals) --- */
.primary-btn {
  width: 100%;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-soft) 100%);
  color: #1a130a;
  border: none;
  font: 600 12px/1 'Inter', sans-serif;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 16px 20px;
  cursor: pointer;
  transition: filter 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.primary-btn:hover { filter: brightness(1.08); box-shadow: 0 12px 28px rgba(201,162,99,0.22); }
.primary-btn:active { transform: translateY(1px); }
.primary-btn:disabled { opacity: 0.4; cursor: not-allowed; filter: grayscale(0.4); }
.primary-btn:disabled:hover { box-shadow: none; filter: grayscale(0.4); }

/* --- Modal --- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}
.modal.open { display: block; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 3, 0.78);
  backdrop-filter: blur(4px);
}

.modal-card {
  position: relative;
  background: linear-gradient(180deg, #15110d 0%, #0d0a08 100%);
  border: 1px solid rgba(201, 162, 99, 0.25);
  max-width: 880px;
  width: calc(100% - 40px);
  max-height: calc(100vh - 80px);
  overflow: auto;
  margin: 40px auto;
  box-shadow: 0 40px 80px rgba(0,0,0,0.7);
  z-index: 1;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid rgba(201, 162, 99, 0.3);
  color: var(--gold);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background 0.18s ease;
}
.modal-close:hover { background: rgba(201, 162, 99, 0.1); }

/* --- Profile modal --- */
.profile-card { display: grid; grid-template-columns: 1fr 1fr; }

.profile-visual {
  background: radial-gradient(ellipse at 30% 30%, #2b1f15 0%, #0a0807 80%);
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 32px;
}
.profile-visual svg { width: 100%; max-width: 380px; height: auto; }

.profile-body { padding: 48px 36px 36px; display: flex; flex-direction: column; gap: 14px; }

.profile-body h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 36px;
  color: #f7efe1;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.profile-tag {
  color: var(--muted);
  font-size: 14px;
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  margin-bottom: 4px;
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  padding: 18px 0;
  border-top: 1px solid rgba(201, 162, 99, 0.15);
  border-bottom: 1px solid rgba(201, 162, 99, 0.15);
}

.spec-grid .spec dt {
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 4px;
}
.spec-grid .spec dd { color: var(--ink); font-size: 14px; }

.notes-row { margin-top: 4px; }
.notes-label {
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 10px;
}
.notes { display: flex; flex-wrap: wrap; gap: 6px; }
.notes span {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink);
  padding: 5px 10px;
  border: 1px solid rgba(201, 162, 99, 0.3);
}

.profile-foot { margin-top: auto; padding-top: 20px; }

.stock-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.stock-line .dot { width: 7px; height: 7px; border-radius: 50%; background: #7fa67a; box-shadow: 0 0 8px currentColor; }
.stock-line .dot.low { background: #d6a64b; }
.stock-line .dot.out { background: #b04848; box-shadow: none; }

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.price-row .price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  color: #f7efe1;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(201, 162, 99, 0.3);
}
.qty-stepper button {
  background: transparent;
  border: none;
  color: var(--gold);
  width: 38px;
  height: 38px;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.18s ease;
}
.qty-stepper button:hover:not(:disabled) { background: rgba(201, 162, 99, 0.12); }
.qty-stepper button:disabled { color: var(--muted-2); cursor: not-allowed; }
.qty-stepper span {
  min-width: 38px;
  text-align: center;
  font-size: 14px;
  color: var(--ink);
  border-left: 1px solid rgba(201, 162, 99, 0.2);
  border-right: 1px solid rgba(201, 162, 99, 0.2);
  padding: 10px 0;
}

@media (max-width: 1080px) {
  .profile-card { grid-template-columns: 1fr; }
  .profile-visual { min-height: 220px; }
  .profile-body { padding: 32px 24px 28px; }
}

/* --- Humidor drawer --- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
}

.drawer[aria-hidden="false"] { pointer-events: auto; }

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 3, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.drawer[aria-hidden="false"] .drawer-backdrop { opacity: 1; }

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(440px, 100%);
  height: 100%;
  background: #0d0a08;
  border-left: 1px solid rgba(201, 162, 99, 0.18);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
  box-shadow: -30px 0 60px rgba(0,0,0,0.5);
}

.drawer[aria-hidden="false"] .drawer-panel { transform: translateX(0); }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(201, 162, 99, 0.15);
}

.drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 8px 28px;
}

.drawer-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--muted-2);
}
.drawer-empty p { font-size: 14px; line-height: 1.6; }
.drawer-empty svg { width: 48px; height: 48px; opacity: 0.3; margin-bottom: 18px; color: var(--gold); }

.drawer-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(201, 162, 99, 0.08);
}

.drawer-item .mini-visual {
  width: 70px;
  height: 70px;
  background: radial-gradient(ellipse at 30% 30%, #2b1f15 0%, #0a0807 80%);
  display: grid;
  place-items: center;
}
.drawer-item .mini-visual svg { width: 80%; height: auto; }

.drawer-item .info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.drawer-item .info h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 17px;
  color: var(--ink);
  line-height: 1.2;
}
.drawer-item .info .row-meta { font-size: 11px; color: var(--muted-2); }
.drawer-item .info .stepper { margin-top: 4px; }
.drawer-item .info .stepper button {
  background: transparent;
  border: 1px solid rgba(201, 162, 99, 0.25);
  color: var(--gold);
  width: 26px;
  height: 26px;
  cursor: pointer;
  font-size: 13px;
}
.drawer-item .info .stepper button:hover:not(:disabled) { background: rgba(201,162,99,0.1); }
.drawer-item .info .stepper button:disabled { opacity: 0.35; cursor: not-allowed; }
.drawer-item .info .stepper span { padding: 0 12px; font-size: 13px; color: var(--ink); }
/* Bin icon button (Bootstrap Icons) — inline below the qty stepper. */
.drawer-item .info .remove {
  background: none;
  border: none;
  color: var(--muted-2);
  cursor: pointer;
  padding: 6px;
  margin-top: 4px;
  font-size: 15px;
  line-height: 1;
  display: inline-grid;
  place-items: center;
  border-radius: 4px;
  align-self: flex-start;
  transition: color 0.18s ease, background 0.18s ease;
}
.drawer-item .info .remove:hover {
  color: #c87a72;
  background: rgba(176, 72, 72, 0.1);
}

.drawer-item .line-total {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: var(--ink);
  align-self: start;
}

.drawer-foot {
  padding: 24px 28px 28px;
  border-top: 1px solid rgba(201, 162, 99, 0.15);
  background: #0a0807;
}

.totals .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--ink);
}
.totals .row.muted span { color: var(--muted-2); font-size: 11px; }
.totals .row strong {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 24px;
  color: #f7efe1;
}

.drawer-foot .primary-btn { margin-top: 14px; }

.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 14px;
}
.secure-note svg { width: 14px; height: 14px; }

/* --- Checkout modal --- */
.checkout-card { max-width: 520px; padding: 44px 36px 32px; }
.checkout-card h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 32px;
  color: #f7efe1;
  margin: 12px 0;
  text-align: center;
}
.checkout-card .divider { width: 48px; height: 1px; background: var(--gold); margin: 18px auto 24px; opacity: 0.6; }
.checkout-card .eyebrow { text-align: center; display: block; }

.checkout-items { margin-bottom: 18px; max-height: 280px; overflow-y: auto; }
.checkout-items .line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(201, 162, 99, 0.08);
  font-size: 13px;
}
.checkout-items .line .name { color: var(--ink); font-family: 'Cormorant Garamond', serif; font-size: 16px; }
.checkout-items .line .qty { color: var(--muted-2); font-size: 11px; margin-left: 8px; }
.checkout-items .line .amount { color: var(--ink); font-family: 'Cormorant Garamond', serif; font-size: 16px; }

.checkout-total {
  display: flex;
  justify-content: space-between;
  padding: 18px 0;
  border-top: 1px solid rgba(201, 162, 99, 0.2);
  margin-bottom: 22px;
}
.checkout-total span { color: var(--muted); font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; }
.checkout-total strong {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 28px;
  color: #f7efe1;
}

/* --- Toast --- */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #15110d;
  border: 1px solid rgba(201, 162, 99, 0.35);
  color: var(--ink);
  padding: 14px 22px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  z-index: 200;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
