:root {
  --bg: #120d0b;
  --bg-soft: #1a1412;
  --panel: #1c1714;
  --panel-2: #261f1c;
  --card: rgba(255, 255, 255, 0.04);
  --card-strong: rgba(255, 255, 255, 0.08);
  --text: #f2e7d9;
  --muted: rgba(242, 231, 217, 0.74);
  --gold: #c89b5a;
  --gold-soft: #e8c68b;
  --rose: #e9d7bf;
  --shadow: rgba(0, 0, 0, 0.28);
  --control-bg: #241c18;
  --line: rgba(255, 255, 255, 0.12);
}

body.light-mode {
  --bg: #f6f0e8;
  --bg-soft: #fffaf4;
  --panel: #fffaf4;
  --panel-2: #eee2d3;
  --card: rgba(67, 45, 28, 0.05);
  --card-strong: rgba(67, 45, 28, 0.1);
  --text: #2a1c15;
  --muted: rgba(42, 28, 21, 0.68);
  --gold: #9b672a;
  --gold-soft: #704617;
  --shadow: rgba(72, 47, 25, 0.18);
  --control-bg: #fffaf4;
  --line: rgba(67, 45, 28, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(200, 155, 90, 0.18), transparent 28%),
    linear-gradient(180deg, #0f0b0a 0%, #181210 100%);
  color: var(--text);
}

.cursor-glow {
  position: fixed;
  z-index: 1;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(200,155,90,0.16), transparent 68%);
  filter: blur(2px);
  transition: left 0.12s ease-out, top 0.12s ease-out;
}

.search-panel {
  position: fixed;
  inset: 0;
  z-index: 28;
  display: grid;
  align-items: start;
  justify-items: center;
  padding: 110px 20px 20px;
  background: rgba(5, 4, 3, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.notice-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 4, 3, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.notice-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.notice-card {
  width: min(420px, 100%);
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  color: var(--text);
  box-shadow: 0 25px 70px rgba(0,0,0,0.28);
  text-align: center;
}

.notice-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #1a120d;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  font-weight: 700;
}

.notice-message {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.7;
}

.catalog-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  padding-top: 26px;
}

.filter-label,
.sort-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filter-gender,
.price-sort {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.65rem 0.85rem;
  background: var(--control-bg);
  color: var(--text);
  cursor: pointer;
}

.filter-gender.is-active {
  border-color: var(--gold);
  background: rgba(200,155,90,0.16);
  color: var(--gold-soft);
}

.sort-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.price-sort {
  border-radius: 9px;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.search-panel.is-open {
  opacity: 1;
  pointer-events: auto;
}

.search-panel-inner {
  width: min(680px, 100%);
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: 0 24px 60px rgba(0,0,0,0.28);
}

.search-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
}

.search-head .eyebrow {
  margin-bottom: 18px;
}

.search-close {
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.search-input {
  width: 100%;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  background: var(--control-bg);
  color: var(--text);
  font: inherit;
  font-size: 1.05rem;
}

.search-input::placeholder {
  color: var(--muted);
}

.search-hint,
.search-empty {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.search-suggestions {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.suggestion-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--card);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.suggestion-item:hover,
.suggestion-item:focus-visible {
  border-color: var(--gold);
  background: var(--card-strong);
}

.suggestion-item strong {
  font-size: 0.9rem;
}

.suggestion-item span {
  color: var(--muted);
  font-size: 0.75rem;
}

.search-empty {
  color: var(--gold-soft);
}

body.light-mode {
  background: radial-gradient(circle at top left, rgba(200,155,90,0.2), transparent 30%), linear-gradient(180deg, #fffaf4 0%, #f1e5d7 100%);
}

body.light-mode .topbar {
  background: rgba(255, 250, 244, 0.82);
  border-bottom-color: rgba(67, 45, 28, 0.1);
}

body.light-mode .cart-drawer {
  background: #fffaf4;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(18, 13, 11, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #1a120d;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
  font-weight: 700;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  background: #0c0b0b;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.2));
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  background: var(--card);
  color: var(--text);
  cursor: pointer;
}

.theme-toggle-floating {
  position: fixed;
  z-index: 40;
  right: 18px;
  bottom: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.brand-text {
  font-size: 0.96rem;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--muted);
}

.nav a {
  position: relative;
  font-size: 0.9rem;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: var(--gold-soft);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-button {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  place-items: center;
  color: var(--text);
  cursor: pointer;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -4px;
  display: none;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 99px;
  background: var(--gold-soft);
  color: #1a120d;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 19px;
  text-align: center;
}

.notification-bell {
  position: relative;
  margin-left: 4px;
}

.notif-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #e22660;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  border: 2px solid var(--bg);
  display: none;
}

.notif-count.is-visible {
  display: block;
}

.notif-panel {
  position: fixed;
  top: 76px;
  right: 24px;
  z-index: 35;
  width: min(400px, calc(100vw - 48px));
  max-height: 440px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: 0 24px 80px rgba(0,0,0,0.4), 0 8px 24px rgba(0,0,0,0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.97);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.notif-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* ===== Admin editing ===== */
.edit-mode-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.edit-mode-toggle:hover {
  border-color: var(--gold);
  color: var(--text);
}
.edit-mode-toggle.is-active {
  border-color: var(--gold);
  background: rgba(200, 155, 90, 0.14);
  color: var(--gold-soft);
}
.edit-mode-toggle svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}
.account-logout {
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.account-logout:hover,
.account-link:hover {
  color: var(--gold-soft);
}

.admin-product-edit {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 20;
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--gold);
  color: var(--bg);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}
.product-detail {
  position: relative;
}

.product-image-picker {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-image-picker input {
  width: 100%;
}
.store-product-form .admin-checkbox {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.store-product-form .admin-checkbox input {
  width: auto;
}

.cms-edit-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--bg);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.22);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.15s, transform 0.15s;
  z-index: 10;
}
body.edit-mode [data-cms]:hover > .cms-edit-btn,
body.edit-mode [data-cms]:focus-within > .cms-edit-btn {
  opacity: 1;
  transform: scale(1);
}
.cms-edit-btn:hover {
  background: var(--gold-soft);
}

.cms-inline-editor {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  min-width: 320px;
  max-width: 480px;
  background: var(--panel);
  border: 1px solid var(--gold);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 8px 32px var(--shadow);
  z-index: 100;
  animation: slideDown 0.15s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.cms-editor-header {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.cms-editor-header strong { font-size: 0.85rem; }
.cms-editor-header .muted { font-size: 0.7rem; }
.cms-editor-textarea,
.cms-editor-input {
  width: 100%;
  background: var(--control-bg);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.85rem;
  line-height: 1.4;
  resize: vertical;
  min-height: 80px;
  max-height: 300px;
}
.cms-editor-textarea:focus,
.cms-editor-input:focus {
  outline: none;
  border-color: var(--gold);
}
.cms-editor-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .cms-inline-editor {
    left: -16px;
    right: -16px;
    min-width: auto;
  }
}

.notif-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px 14px;
  border-bottom: 1px solid var(--line);
}

.notif-head .eyebrow {
  margin: 0;
  font-size: 0.7rem;
}

.notif-clear {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 0.72rem;
  cursor: pointer;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  transition: border-color 0.2s, color 0.2s;
}

.notif-clear:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
}

.notif-list {
  padding: 6px 8px 10px;
}

.notif-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 14px;
  border-radius: 12px;
  margin: 0 4px 4px;
  transition: background 0.15s;
  border-left: 3px solid transparent;
}

.notif-item:hover {
  background: var(--card);
}

.notif-item.unread {
  background: rgba(200,155,90,0.06);
  border-left-color: var(--gold);
}

.notif-item strong {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.notif-item span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.notif-item small {
  color: var(--muted);
  font-size: 0.68rem;
  opacity: 0.6;
  letter-spacing: 0.02em;
}

.notif-item .muted {
  color: var(--muted);
  font-size: 0.78rem;
}

.icon-button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.96rem 1.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #1a120d;
  box-shadow: 0 10px 28px rgba(200, 155, 90, 0.28);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 42px;
  height: 42px;
  padding: 10px 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
  border-radius: 99px;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  padding: 72px 0 38px;
}

.category-hero {
  padding: 110px 0 70px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.category-hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.category-hero > p:not(.eyebrow) {
  max-width: 570px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.category-links a {
  padding: 0.7rem 1.1rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.8rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.category-links a:hover,
.category-links a:focus-visible {
  border-color: var(--gold-soft);
  color: var(--gold-soft);
}

.category-products {
  padding-top: 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 600;
}

.hero-copy h1,
.section-head h2,
.story-copy h2,
.cta-content h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.02em;
}

.hero-copy h1 {
  font-size: clamp(3.2rem, 6vw, 6rem);
  max-width: 580px;
}

.lead {
  max-width: 560px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 36px;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 38px;
}

.hero-metrics div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.hero-metrics strong {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.product-card {
  position: relative;
  width: min(500px, 100%);
  padding: clamp(18px, 2.2vw, 28px);
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 40px rgba(10, 8, 7, 0.52);
}

.glow-card {
  position: relative;
}

.glow-card::before {
  content: "";
  position: absolute;
  inset: 12% 8% auto 8%;
  height: 60%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 155, 90, 0.38), rgba(200, 155, 90, 0) 62%);
  filter: blur(8px);
  z-index: 0;
}

.product-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 10, 9, 0.32);
  color: var(--gold-soft);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bottle-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: end;
  height: clamp(250px, 30vw, 390px);
  margin-top: 12px;
}

.bottle {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  width: 230px;
  height: 100%;
}

.cap {
  width: 94px;
  height: 92px;
  background: linear-gradient(180deg, #f0e1c3 0%, #c2995a 100%);
  border-radius: 24px 24px 10px 10px;
  border: 1px solid rgba(98, 74, 42, 0.7);
  box-shadow: inset 0 4px 10px rgba(255,255,255,0.25);
}

.glass {
  position: relative;
  width: 210px;
  height: 350px;
  margin-top: -12px;
  border-radius: 34px 34px 42px 42px;
  background: linear-gradient(180deg, rgba(255,255,255,0.26), rgba(243,220,185,0.08) 18%, rgba(148,105,59,0.18) 100%);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: inset 0 0 18px rgba(255,255,255,0.18), inset 0 -16px 30px rgba(68,39,22,0.36), 0 24px 32px rgba(0,0,0,0.18);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 52px;
}

.glass::before {
  content: "";
  position: absolute;
  inset: 14px 18px 18px 18px;
  border-radius: 24px 24px 34px 34px;
  border: 1px solid rgba(255, 255, 255, 0.17);
}

.glass span {
  position: relative;
  z-index: 1;
  font-size: 1.35rem;
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,245,234,0.92);
}

.product-meta {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding-top: 12px;
  gap: 12px;
}

.product-label {
  margin: 0 0 4px;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-meta h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2vw, 2.3rem);
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}

.price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-soft);
  white-space: nowrap;
}

.spotlight-notes {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.spotlight-notes .floating-note {
  position: static;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(17, 15, 14, 0.46);
}

.spotlight-notes .floating-note span {
  overflow-wrap: anywhere;
}

.spotlight-product-image {
  width: 100%;
  height: 100%;
  max-height: 390px;
  object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(0,0,0,0.3));
}

.spotlight-product-link {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  margin-top: 14px;
  padding: 11px 16px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.spotlight-product-link:hover {
  border-color: var(--gold);
  background: rgba(200,155,90,0.1);
  color: var(--gold-soft);
}

.floating-note {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(17, 15, 14, 0.84);
  box-shadow: 0 16px 32px rgba(0,0,0,0.18);
}

.floating-note span {
  color: rgba(242, 231, 217, 0.78);
  font-size: 0.76rem;
}

.floating-note strong {
  font-size: 0.88rem;
  color: #f2e7d9;
}

body.light-mode .floating-note {
  background: #fffaf4;
  border-color: rgba(67, 45, 28, 0.16);
  box-shadow: 0 16px 32px rgba(72, 47, 25, 0.18);
}

body.light-mode .floating-note span {
  color: rgba(42, 28, 21, 0.68);
}

body.light-mode .floating-note strong {
  color: #2a1c15;
}

.note-top {
  top: 58px;
  left: 14px;
}

.note-bottom {
  right: 10px;
  bottom: 60px;
}

.brand-strip {
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  background: rgba(255,255,255,0.02);
}

.strip-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  padding: 18px 0;
  text-align: center;
  color: rgba(242, 231, 217, 0.62);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.featured,
.story,
.reviews {
  padding-top: 110px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}

.section-head h2,
.story-copy h2,
.cta-content h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
}

.section-link {
  color: var(--gold-soft);
  font-weight: 600;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.product-item {
  position: relative;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 26px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.product-item:hover .image-box {
  transform: scale(1.04);
  filter: saturate(1.12) brightness(1.08);
}

.image-box {
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.product-hover-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-item:hover .product-hover-image,
.product-item:focus-within .product-hover-image {
  opacity: 1;
}

.starting-price del {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78em;
  font-weight: 500;
}

.product-detail,
.product-shell {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.product-shell {
  padding-top: 34px;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 90px 0;
}

.product-gallery-main {
  min-height: 520px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: var(--card);
  overflow: hidden;
}

.product-gallery-main img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.product-gallery-video,
.product-placeholder-image {
  width: 100%;
  height: 520px;
  border-radius: 28px;
  object-fit: cover;
}

.product-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.product-thumbs button.active { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(200,155,90,0.3); }

.product-hover-preview { display: none; margin-top: 12px; }
.product-detail:hover .product-hover-preview { display: block; }
.product-hover-preview-label { color: var(--muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.hover-preview-grid { display: flex; gap: 10px; flex-wrap: wrap; }
.hover-preview-btn { width: 80px; height: 80px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--control-bg); cursor: pointer; padding: 0; }
.hover-preview-btn:hover { border-color: var(--gold); }
.hover-preview-btn img, .hover-preview-btn video { width: 100%; height: 100%; object-fit: cover; }
.hover-preview-btn svg { display: flex; align-items: center; justify-content: center; margin: 24px; }

.product-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-copy h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.9;
}

.product-description {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.05rem;
}

.detail-prices {
  display: grid;
  gap: 10px;
  margin: 28px 0;
  color: var(--gold-soft);
  font-weight: 600;
}

.stock-note {
  color: var(--muted);
}

.product-item:hover {
  transform: translateY(-5px);
  border-color: rgba(200, 155, 90, 0.4);
}

.product-item.accent {
  box-shadow: 0 26px 40px rgba(180, 123, 60, 0.15);
}

.image-box {
  height: 360px;
  background-size: cover;
  background-position: center;
}

.image-one {
  background-image: linear-gradient(180deg, rgba(28,23,20,0.12), rgba(28,23,20,0.32)), url('https://images.unsplash.com/photo-1541643600914-78b084683601?auto=format&fit=crop&w=900&q=80');
}

.image-two {
  background-image: linear-gradient(180deg, rgba(28,23,20,0.12), rgba(28,23,20,0.32)), url('https://images.unsplash.com/photo-1523293182086-7651a899d37f?auto=format&fit=crop&w=900&q=80');
}

.image-three {
  background-image: linear-gradient(180deg, rgba(28,23,20,0.12), rgba(28,23,20,0.32)), url('https://images.unsplash.com/photo-1594035910387-fea47794261f?auto=format&fit=crop&w=900&q=80');
}

.product-info {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 22px 26px;
}

.product-info p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-info h3 {
  margin: 0;
  font-size: 1.5rem;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}

.product-info span {
  color: var(--gold-soft);
  font-weight: 700;
  font-size: 1.08rem;
}

.product-info .starting-price {
  color: var(--gold-soft);
  font-size: 0.88rem;
  white-space: nowrap;
}

.product-options {
  padding: 0 22px 24px;
}

.product-options label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.size-select {
  width: 100%;
  padding: 0.75rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--control-bg);
  color: var(--text);
  cursor: pointer;
}

.buy-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.buy-row .button {
  flex: 1;
  padding: 0.72rem 0.8rem;
  font-size: 0.8rem;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
}

.quantity-control button {
  width: 30px;
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--gold-soft);
  font-size: 1.2rem;
  cursor: pointer;
}

.quantity-control span {
  min-width: 20px;
  color: var(--text);
  font-size: 0.85rem;
  text-align: center;
}

.story {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 50px;
}

.story-image {
  position: relative;
  min-height: 520px;
}

.story-card {
  position: absolute;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 40px rgba(0,0,0,0.24);
}

.card-one {
  inset: 0 140px 80px 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.26)), url('https://images.unsplash.com/photo-1592945403244-b3fbafd7f539?auto=format&fit=crop&w=1000&q=80') center/cover no-repeat;
}

.card-two {
  right: 0;
  bottom: 0;
  width: 48%;
  height: 58%;
  background: linear-gradient(180deg, rgba(0,0,0,0.06), rgba(0,0,0,0.3)), url('https://images.unsplash.com/photo-1528740561666-dc2479dc08ab?auto=format&fit=crop&w=1000&q=80') center/cover no-repeat;
}

.story-copy {
  max-width: 560px;
}

.story-copy p {
  color: var(--muted);
  line-height: 1.9;
  font-size: 1.02rem;
}

.benefits {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  gap: 14px;
}

.benefits li {
  position: relative;
  padding-left: 30px;
  color: var(--text);
  line-height: 1.6;
}

.benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-soft);
  font-weight: 700;
}

.experience {
  padding-top: 110px;
}

.experience-inner {
  padding: 46px 48px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 34px;
}

.left {
  margin-bottom: 28px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  padding: 26px 24px;
  border-radius: 22px;
  background: rgba(14, 11, 10, 0.32);
  border: 1px solid rgba(255,255,255,0.05);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(200, 155, 90, 0.12);
  color: var(--gold-soft);
  font-weight: 700;
  margin-bottom: 18px;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.4rem;
  font-weight: 600;
}

.feature-card p,
.quote-card p,
.site-footer p,
.footer-meta {
  color: var(--muted);
  line-height: 1.8;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.quote-card {
  padding: 28px 22px 24px;
  border-radius: 22px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
}

.stars {
  color: var(--gold-soft);
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}

.quote-card p {
  margin: 0 0 24px;
  font-size: 1.02rem;
}

.person {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--text);
}

.person span {
  color: var(--muted);
  font-size: 0.8rem;
}

.cta-banner {
  margin-top: 110px;
  margin-bottom: 80px;
  padding: 38px 36px;
  background: linear-gradient(135deg, rgba(200,155,90,0.12), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-footer {
  padding: 0 0 36px;
}

.account-link {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 4, 3, 0.68);
  opacity: 0;
  pointer-events: none;
}

.auth-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.auth-card,
.account-panel,
.admin-stats article {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  color: var(--text);
}

.auth-card {
  position: relative;
  width: min(460px, 100%);
  padding: 30px;
}

.auth-card h2,
.account-panel h2 {
  margin: 0 0 18px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
}

.auth-close {
  position: absolute;
  top: 16px;
  right: 18px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 1.8rem;
  cursor: pointer;
}

.auth-form,
.account-page {
  display: grid;
  gap: 14px;
}

.auth-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.8rem;
}

.auth-form input {
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--control-bg);
  color: var(--text);
}

.auth-card small,
.muted {
  color: var(--muted);
  line-height: 1.6;
}

.account-page {
  min-height: 100vh;
  padding: 40px 20px;
  background: var(--bg);
  grid-template-columns: minmax(0, 1fr);
}

.account-shell {
  width: min(1100px, 100%);
  min-width: 0;
  margin: 0 auto;
}

#admin-app,
.account-panel,
.admin-stats article {
  min-width: 0;
}

.account-heading {
  padding: 80px 0 42px;
}

.account-heading-actions,
.admin-heading-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.account-heading h1,
.account-empty h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.95;
}

.account-heading p:not(.eyebrow) {
  color: var(--muted);
}

.account-grid,
.admin-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.admin-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 20px;
}

.admin-stats article,
.account-panel {
  padding: 24px;
}

.admin-stats article {
  display: grid;
  gap: 8px;
}

.admin-stats span {
  color: var(--muted);
}

.admin-stats strong {
  color: var(--gold-soft);
  font-size: 2rem;
}

.cms-panel { margin-bottom: 20px; }

.cms-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.cms-tab {
  padding: 0.5rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.cms-tab:hover { border-color: var(--gold); color: var(--gold-soft); }

.cms-tab.is-active {
  border-color: var(--gold);
  background: rgba(200,155,90,0.12);
  color: var(--gold-soft);
}

.cms-content-form { display: grid; gap: 24px; }

.cms-section {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  background: var(--card);
}

.cms-section-header {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.cms-section-header h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  color: var(--text);
}

.cms-fields {
  display: grid;
  gap: 14px;
}

.cms-fields label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cms-fields input,
.cms-fields textarea {
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--control-bg);
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  resize: vertical;
}

.cms-actions {
  display: flex;
  gap: 10px;
  padding-top: 10px;
}

.cms-actions .button {
  padding: 0.7rem 1.4rem;
}

.product-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}

.product-form input,
.product-form select {
  min-width: 0;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--control-bg);
  color: var(--text);
}

.product-form .button {
  padding: 0.75rem 1rem;
}

.product-admin-list {
  display: grid;
  gap: 10px;
}

.product-admin-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.product-admin-row > div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.product-admin-row span {
  color: var(--muted);
  font-size: 0.8rem;
}

.product-form {
  display: grid;
  gap: 16px;
}

.product-form-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.product-form-fields textarea,
.product-form-fields .discount-field {
  grid-column: span 1;
}

.size-price-fieldset {
  min-width: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.size-price-fieldset legend {
  padding: 0 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.size-price-list,
.size-price-row {
  display: grid;
  gap: 10px;
}

.size-price-row {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: end;
  padding: 8px 0;
}

.size-price-row label,
.store-settings-form label,
.product-edit-modal form > label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.8rem;
}

.size-price-row input,
.store-settings-form input,
.product-edit-modal form input:not([type="checkbox"]),
.product-edit-modal form select,
.product-edit-modal form textarea {
  width: 100%;
  min-width: 0;
  padding: 0.72rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--control-bg);
  color: var(--text);
  font: inherit;
}

.size-row-remove,
.media-delete {
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.size-row-remove:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.product-active-field {
  display: flex !important;
  align-items: center;
  gap: 8px !important;
}

.product-active-field input {
  width: auto !important;
}

.store-settings-form {
  display: grid;
  gap: 18px;
  max-width: 760px;
}

.settings-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.settings-security-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.media-library-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.media-library-intro h3 {
  margin: 0 0 6px;
  font-size: 1.4rem;
}

.media-library-intro p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
}

.media-library-upload {
  display: flex;
  align-items: center;
  gap: 12px;
}

.media-upload-drop {
  position: relative;
  display: grid;
  gap: 4px;
  min-width: 220px;
  padding: 14px;
  overflow: hidden;
  border: 1px dashed var(--line);
  border-radius: 12px;
  color: var(--text);
  font-size: 0.8rem;
  cursor: pointer;
}

.media-upload-drop span:not(.media-upload-icon) {
  color: var(--muted);
  font-size: 0.72rem;
}

.media-upload-icon {
  color: var(--gold-soft);
  font-size: 1.3rem;
  line-height: 1;
}

.media-upload-drop input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.media-library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: 14px;
}

.media-library-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}

.media-library-preview {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  background: rgba(127, 127, 127, 0.08);
}

.media-library-preview img,
.media-library-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-library-meta {
  display: grid;
  gap: 4px;
  padding: 10px 10px 0;
}

.media-library-meta strong {
  overflow: hidden;
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-library-meta small {
  color: var(--muted);
  font-size: 0.7rem;
}

.media-library-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px;
}

.media-library-actions .button,
.media-library-actions .media-delete {
  padding: 0.48rem 0.6rem;
  font-size: 0.7rem;
}

.media-empty,
.media-error {
  grid-column: 1 / -1;
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  text-align: center;
}

.media-error {
  color: #bd453e;
}

.product-inactive-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(200, 155, 90, 0.14);
  color: var(--gold-soft);
  font-size: 0.65rem;
  vertical-align: middle;
}

.media-picker-card {
  width: min(1000px, 100%);
  max-height: min(90vh, 900px);
  overflow: auto;
}

@media (max-width: 700px) {
  .product-form-fields,
  .settings-form-grid {
    grid-template-columns: 1fr;
  }

  .media-library-intro,
  .media-library-upload {
    align-items: stretch;
    flex-direction: column;
  }

  .media-upload-drop {
    min-width: 0;
  }

  .size-price-row {
    grid-template-columns: 1fr 1fr;
  }

  .size-price-row .size-row-remove {
    grid-column: 1 / -1;
  }

  .product-admin-row {
    align-items: stretch;
    flex-direction: column;
  }

  .product-admin-row > div:last-child {
    display: flex;
    flex-wrap: wrap;
  }
}

.order-row,
.recommendation-row,
.activity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.order-row div,
.activity-row {
  display: grid;
  gap: 5px;
}

.order-row span,
.activity-row span,
.activity-row small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.admin-order > div {
  min-width: 0;
}

.admin-order span {
  display: block;
  margin-top: 7px;
  line-height: 1.8;
}

.admin-order span b {
  color: var(--text);
  font-weight: 600;
}

.order-row b {
  color: var(--gold-soft);
  white-space: nowrap;
}

.recommendation-row a {
  color: var(--gold-soft);
  font-size: 0.8rem;
}

.account-empty {
  padding: 130px 0;
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(5, 4, 3, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.cart-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 31;
  display: flex;
  flex-direction: column;
  width: min(440px, 100%);
  height: 100vh;
  padding: 30px 26px;
  background: #17110f;
  border-left: 1px solid rgba(255,255,255,0.08);
  box-shadow: -24px 0 50px rgba(0,0,0,0.3);
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.cart-header h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.4rem;
  font-weight: 600;
}

.cart-header .eyebrow {
  margin-bottom: 6px;
}

.cart-close {
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.cart-items {
  display: grid;
  gap: 14px;
  overflow-y: auto;
  padding: 20px 0;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.cart-item > div:first-child {
  display: grid;
  gap: 5px;
}

.cart-item strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
}

.cart-item span {
  color: var(--muted);
  font-size: 0.78rem;
}

.cart-item-actions {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.cart-item-actions .quantity-control {
  height: 34px;
}

.cart-item-actions .quantity-control button {
  width: 26px;
}

.remove-item {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.72rem;
  cursor: pointer;
}

.cart-empty {
  padding: 50px 10px;
  color: var(--muted);
  text-align: center;
  line-height: 1.7;
}

.cart-summary {
  display: grid;
  gap: 14px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.checkout-fields {
  display: grid;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  overflow-y: auto;
}

.checkout-fields label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.checkout-fields .checkout-address-select {
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--control-bg);
  color: var(--text);
  font: inherit;
}

.checkout-fields input,
.checkout-fields textarea,
.checkout-fields select,
.checkout-fields .screenshot-upload {
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: none;
  background: var(--card);
  color: var(--text);
  font: inherit;
  resize: vertical;
}

.checkout-fields select {
  background: var(--control-bg);
  color: var(--text);
}

.screenshot-label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 8px;
}

.screenshot-upload {
  padding: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--control-bg);
  color: var(--text);
  font: inherit;
}

.bkash-panel {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(226, 38, 96, 0.35);
  border-radius: 12px;
  background: rgba(226, 38, 96, 0.08);
}

.bkash-brand {
  color: #e22660;
  font-size: 1.05rem;
  font-weight: 800;
}

.bkash-panel p,
.bkash-panel small {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.bkash-number-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--text);
  font-size: 1.05rem;
}

.copy-bkash {
  border: 1px solid rgba(226, 38, 96, 0.42);
  border-radius: 7px;
  padding: 0.38rem 0.6rem;
  background: transparent;
  color: #e22660;
  cursor: pointer;
}

.bkash-open {
  padding: 0.7rem 0.9rem;
  background: #e22660;
  color: #fff;
  box-shadow: none;
  font-size: 0.8rem;
}

.bkash-amount {
  color: var(--gold-soft);
}

.checkout-fields option,
.size-select option {
  background: var(--control-bg);
  color: var(--text);
}

body.light-mode .strip-inner {
  color: var(--muted);
}

body.light-mode .cart-summary,
body.light-mode .checkout-fields,
body.light-mode .order-total {
  border-color: var(--line);
}

.order-total {
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.cart-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-summary .cart-subtotal-row {
  order: 1;
}

.cart-summary .delivery-row {
  order: 2;
}

.cart-summary .order-total {
  order: 3;
}

.cart-summary strong {
  color: var(--gold-soft);
  font-size: 1.3rem;
}

.cart-summary small {
  color: var(--muted);
  line-height: 1.5;
}

.checkout-button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.account-tabs {
  display: flex;
  gap: 6px;
  margin-top: 24px;
}

.tab-btn {
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.tab-btn.is-active {
  border-color: var(--gold);
  background: rgba(200,155,90,0.12);
  color: var(--gold-soft);
}

.account-profile-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 40px;
}

.account-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  flex-shrink: 0;
  background: var(--control-bg);
}

.account-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  color: var(--gold-soft);
}

.profile-edit-panel,
.addresses-panel,
.orders-panel {
  padding: 30px 0;
}

.account-form {
  display: grid;
  gap: 14px;
  max-width: 500px;
}

.account-form label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.account-form input,
.account-form textarea {
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--control-bg);
  color: var(--text);
  font: inherit;
  resize: vertical;
}

.account-form textarea {
  min-height: 80px;
}

.form-actions {
  margin-top: 8px;
}

.address-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.address-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  background: var(--card);
  position: relative;
}

.address-card.default {
  border-color: var(--gold);
  background: rgba(200,155,90,0.06);
}

.address-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.default-badge {
  background: var(--gold);
  color: #1a120d;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.address-card p {
  margin: 2px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.address-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.address-actions .button {
  padding: 0.5rem 0.9rem;
  font-size: 0.75rem;
}

.media-modal .notice-card {
  width: min(520px, 100%);
}

.media-tag {
  display: inline-block;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  margin: 2px;
}

.media-tag.video {
  border-color: rgba(226, 38, 96, 0.3);
  color: #e22660;
}

.media-tag.image {
  border-color: rgba(200, 155, 90, 0.3);
  color: var(--gold-soft);
}

.footer-inner {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-links,
.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--muted);
}

@media (max-width: 1060px) {
  .hero,
  .story,
  .feature-grid,
  .product-grid,
  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    width: min(100%, 540px);
    margin: 0 auto;
  }

  .story {
    grid-template-columns: 1fr;
  }

  .story-copy {
    max-width: none;
  }

  .feature-grid,
  .product-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .strip-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .nav.mobile-open {
    display: flex;
    position: absolute;
    top: 72px;
    left: 20px;
    right: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px;
    background: rgba(18, 13, 11, 0.97);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
  }

  .nav.mobile-open a {
    padding: 12px 0;
  }

  .menu-toggle {
    display: block;
  }

  .nav-actions .button {
    display: none;
  }

  .nav-actions {
    gap: 8px;
  }
}

@media (max-width: 760px) {
  .nav {
    display: none;
  }

  .nav.mobile-open {
    display: flex;
    position: absolute;
    top: 72px;
    left: 20px;
    right: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px;
    background: rgba(18, 13, 11, 0.97);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
  }

  .nav.mobile-open a {
    padding: 12px 0;
  }

  body.light-mode .nav.mobile-open {
    background: rgba(255, 250, 244, 0.98);
    border-color: rgba(67, 45, 28, 0.14);
    box-shadow: 0 18px 32px rgba(72, 47, 25, 0.18);
  }

  body.light-mode .nav.mobile-open a {
    color: var(--text);
  }

  .menu-toggle {
    display: block;
  }

  .nav-wrap {
    min-height: 72px;
  }

  .nav-actions {
    gap: 7px;
  }

  .edit-mode-toggle {
    width: 38px;
    min-height: 38px;
    padding: 0;
  }

  .edit-mode-label {
    display: none;
  }

  .nav-actions .button {
    display: none;
  }

  .account-grid,
  .admin-stats {
    grid-template-columns: 1fr;
  }

  .product-form {
    grid-template-columns: 1fr;
  }

  .sort-label {
    width: 100%;
    margin-left: 0;
  }

  .price-sort {
    flex: 1;
  }

  .product-info {
    align-items: start;
    flex-direction: column;
  }

  .product-detail {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 55px;
  }

  .product-gallery-main,
  .product-gallery-main img,
  .product-gallery-video,
  .product-placeholder-image {
    min-height: 360px;
    height: 360px;
  }

  .buy-row {
    align-items: stretch;
  }

  .buy-row .button {
    min-width: 0;
  }

  .hero {
    padding-top: 40px;
  }

  .category-hero {
    padding-top: 64px;
  }

  .hero-metrics {
    gap: 18px;
  }

  .hero-visual { min-height: 0; }

  .product-card {
    padding: 22px 18px 18px;
  }

  .bottle-wrap {
    height: 340px;
  }

  .glass {
    width: 180px;
    height: 290px;
  }

  .cap {
    width: 78px;
    height: 72px;
  }

  .cta-banner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .strip-inner {
    grid-template-columns: 1fr;
    letter-spacing: 0.12em;
  }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 24px); }
  .hero-copy h1, .category-hero h1 { font-size: 2.4rem !important; }
  .product-gallery-main,
  .product-gallery-main img,
  .product-gallery-video,
  .product-placeholder-image { min-height: 260px; height: 260px; }
  .hero-visual { min-height: 300px; }
  .product-card { padding: 16px; }
  .bottle-wrap { height: 240px; }
  .glass { width: 140px; height: 220px; }
  .cap { width: 60px; height: 55px; }
  .account-heading h1 { font-size: 2.8rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 24px; }
  .cart-drawer { width: 100%; }
  .search-panel { padding: 80px 10px 10px; }
  .notif-panel { top: 65px; right: 10px; width: calc(100vw - 20px); }
  .admin-stats article { padding: 16px; }
  .admin-stats strong { font-size: 1.5rem; }
  .cms-tabs { gap: 4px; }
  .cms-tab { padding: 0.4rem 0.7rem; font-size: 0.72rem; }
  .cms-section { padding: 14px; }
  .product-item .product-options { padding: 0 14px 16px; }
  .hero-metrics strong { font-size: 1.2rem; }
  .hero-metrics span { font-size: 0.72rem; }
  .floating-note { display: none; }
  .spotlight-notes .floating-note { display: flex; padding: 10px; }
  .spotlight-notes { gap: 8px; margin-top: 12px; }
  .spotlight-notes .floating-note span { font-size: 0.68rem; }
  .spotlight-notes .floating-note strong { font-size: 0.74rem; }
  .spotlight-product-link { margin-top: 10px; }
  .strip-inner { gap: 10px; padding: 14px 0; font-size: 0.6rem; }
  .nav-wrap { min-height: 60px; }
  .brand-text { font-size: 0.8rem; }
  .brand-logo { width: 36px; height: 36px; }
  .nav-actions { gap: 5px; }
  .nav-actions .search-trigger,
  .nav-actions .notification-bell,
  .nav-actions .account-logout { display: none; }
  .nav-actions .account-link { font-size: 0.72rem; }
  .nav-actions .icon-button,
  .nav-actions .edit-mode-toggle { width: 34px; height: 34px; min-height: 34px; }
  .account-heading-actions { gap: 8px; }
  .account-heading-actions .button { padding: 10px 14px; }
}

@media (hover: none) {
  .button:hover { transform: none; }
  .product-item:hover { transform: none; }
  .product-thumbs button:hover { border-color: var(--line); }
  .hover-preview-btn:hover { border-color: var(--line); }
  .nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(0); }
  .notif-item:hover { background: transparent; }
  .cms-tab:hover { background: transparent; }
  body.edit-mode [data-cms] > .cms-edit-btn { opacity: 1; transform: scale(1); }
}
