:root {
  color-scheme: light;
  /* Light luxury surfaces (page, products, order form, cards) */
  --paper: #FAF7F2;
  --paper-alt: #F3EEE6;
  --surface: #FFFFFF;
  --surface-2: #FFFFFF;
  --soft: #F3EEE6;
  --milk: #FBF6EB;
  --line: #E7DDCF;
  --line-strong: #D6C9B3;
  --ink: #2A2A2A;
  --muted: #6B6B6B;
  --subtle: #9a9080;
  /* Honey gold accent — used everywhere a CTA/highlight appeared */
  --gold: #C89B3C;
  --gold-bright: #E0B964;
  --gold-dark: #8C6B22;
  --on-gold: #1A1304;
  /* Status */
  --green: #4F8C5E;
  --red: #B14A38;
  /* Dark surfaces used in hero / footer / admin & order panel inner */
  --dark: #121212;
  --dark-soft: #1c1c1c;
  --on-dark: #F4E8D0;
  --on-dark-muted: rgba(244, 232, 208, 0.7);
  --on-dark-line: rgba(244, 232, 208, 0.14);
  /* Shadows — soft, premium */
  --shadow-sm: 0 4px 14px rgba(42, 28, 10, 0.05);
  --shadow: 0 12px 32px rgba(42, 28, 10, 0.08);
  --shadow-lg: 0 28px 60px rgba(42, 28, 10, 0.14);
  --ring: 0 0 0 3px rgba(200, 155, 60, 0.28);
  --radius: 14px;
  --radius-lg: 22px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-feature-settings: 'cv11';
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.005em;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6,
.brand strong,
.product-card h3,
.admin-product-head strong,
.notice strong,
.notice-row strong,
.order-card strong,
.customer-row strong,
.summary-total,
.order-success-panel h2 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  font-weight: 700;
  letter-spacing: -0.015em;
}

h1 { font-weight: 800; letter-spacing: -0.03em; }
h2 { font-weight: 700; letter-spacing: -0.022em; }
h3 { font-weight: 600; letter-spacing: -0.012em; }

::selection {
  background: rgba(200, 155, 60, 0.28);
  color: var(--ink);
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  min-height: 100vh;
}

.topbar {
  background: rgba(250, 247, 242, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.topbar-inner {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1240px;
  padding: 16px clamp(20px, 5vw, 56px);
}

.brand {
  align-items: center;
  color: inherit;
  display: flex;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
  height: 46px;
  object-fit: cover;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  width: 46px;
}

.brand:hover img {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 155, 60, 0.12);
}

.brand strong {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 700;
  letter-spacing: 0.005em;
}

.brand strong {
  display: block;
  font-size: 1.2rem;
}

.brand small {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
}

.tabs {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  padding: 4px;
}

.tabs-center {
  background: transparent;
  border: 0;
  gap: 6px;
  left: 50%;
  padding: 0;
  position: absolute;
  transform: translateX(-50%);
}

.tabs-center .tab-link {
  background: transparent !important;
  border-radius: 0;
  box-shadow: none !important;
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  min-height: 38px;
  padding: 8px 18px;
  position: relative;
  transition: color 0.22s ease;
}

.tabs-center .tab-link::after {
  background: var(--gold);
  bottom: 4px;
  content: "";
  height: 1.5px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  transition: width 0.25s ease, opacity 0.25s ease;
  width: 0;
}

.tabs-center .tab-link:hover {
  color: var(--gold);
}

.tabs-center .tab-link:hover::after {
  opacity: 0.6;
  width: 22px;
}

.tabs-center .tab-link.active {
  color: var(--gold);
  font-weight: 700;
}

.tabs-center .tab-link.active::after {
  opacity: 1;
  width: 28px;
}

.tab {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: inherit;
  font-weight: 500;
  justify-content: center;
  min-height: 38px;
  padding: 0 20px;
  text-decoration: none;
  transition: color 0.22s ease, background 0.22s ease;
}

.tab:hover:not(.active) {
  color: var(--ink);
}

.tab.active {
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.28) inset, 0 6px 18px rgba(200, 155, 60, 0.28);
  color: var(--on-gold);
  font-weight: 700;
}

.nav-actions {
  align-items: center;
  display: flex;
  gap: 10px;
}

.nav-icon-link {
  align-items: center;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  text-decoration: none;
  transition: border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
  width: 42px;
}

.nav-icon-link:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.nav-menu {
  position: relative;
}

.nav-menu-toggle {
  align-items: center;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  padding: 0;
  transition: border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
  width: 42px;
}

.nav-menu-toggle:hover,
.nav-menu-toggle[aria-expanded="true"] {
  border-color: var(--gold);
  color: var(--gold);
}

.nav-dots {
  font-size: 1.5rem;
  line-height: 1;
}

.nav-menu-dropdown {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(40, 30, 10, 0.16);
  display: flex;
  flex-direction: column;
  min-width: 168px;
  overflow: hidden;
  padding: 6px;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 30;
}

.nav-menu-item {
  background: transparent;
  border: 0;
  border-radius: 9px;
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 500;
  padding: 10px 14px;
  text-align: left;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
  width: 100%;
}

.nav-menu-item:hover {
  background: var(--soft);
  color: var(--gold);
}

main {
  padding-bottom: 48px;
}

.site-footer {
  background: var(--dark);
  border-top: 1px solid var(--on-dark-line);
  color: var(--on-dark-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  justify-content: center;
  padding: 36px 22px;
  text-align: center;
}

.site-footer-attribution {
  color: var(--on-dark-muted);
  flex-basis: 100%;
  font-size: 0.8rem;
  opacity: 0.7;
}

.site-footer a {
  color: var(--on-dark);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color 0.22s ease;
}

.site-footer a:hover {
  color: var(--gold);
}

.legal-brand {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.legal-page {
  margin: 0 auto;
  max-width: 820px;
  padding: 28px clamp(18px, 5vw, 54px) 64px;
}

.legal-page h1 {
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 3.6rem);
  margin-top: 28px;
}

.legal-page h2 {
  font-size: 1.25rem;
  margin-top: 28px;
}

.legal-page p {
  color: var(--muted);
  line-height: 1.65;
}

.legal-brand {
  align-items: center;
  display: inline-flex;
  gap: 10px;
}

.legal-brand img {
  background: var(--surface);
  border-radius: 50%;
  height: 44px;
  object-fit: cover;
  width: 44px;
}

.hero-banner {
  background: var(--paper);
  color: var(--ink);
  position: relative;
  width: 100%;
}

.hero-banner-inner {
  margin: 0 auto;
  max-width: 1240px;
  padding: 24px clamp(20px, 5vw, 56px) 8px;
}

/* Tighten the space between the carousel and the content directly below it. */
.hero-banner + .notice-band,
.hero-banner + .order-layout {
  padding-top: 16px;
}

.eyebrow {
  color: var(--gold);
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 22px;
}

h2 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.15;
  margin-bottom: 0;
}

h3 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.012em;
}

.lead {
  color: var(--on-dark-muted);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.65;
  max-width: 560px;
}

.hero-actions,
.panel-actions,
.pin-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.primary-action,
.secondary-action,
.small-action {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  justify-content: center;
  letter-spacing: 0.005em;
  min-height: 48px;
  padding: 0 26px;
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.18s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.primary-action {
  background: var(--gold);
  border: 1px solid var(--gold);
  box-shadow: 0 10px 22px rgba(200, 155, 60, 0.22);
  color: var(--on-gold);
  font-weight: 700;
}

.primary-action:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  box-shadow: 0 14px 28px rgba(200, 155, 60, 0.3);
  transform: translateY(-2px);
}

.primary-action:active {
  transform: translateY(0);
}

.secondary-action,
.small-action {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
}

.secondary-action:hover,
.small-action:hover {
  background: var(--paper);
  border-color: var(--gold);
  color: var(--gold-dark);
}

/* On dark surfaces (hero, footer): give secondary/small a glassy treatment */
.hero .secondary-action,
.hero .small-action,
.lux-cta-dark .secondary-action {
  background: rgba(244, 232, 208, 0.04);
  border-color: rgba(244, 232, 208, 0.18);
  color: var(--on-dark);
}

.hero .secondary-action:hover,
.hero .small-action:hover {
  background: rgba(200, 155, 60, 0.1);
  border-color: var(--gold);
  color: var(--gold);
}

.primary-action:focus-visible,
.secondary-action:focus-visible,
.small-action:focus-visible {
  box-shadow: var(--ring);
  outline: none;
}

.small-action {
  min-height: 40px;
  padding: 0 18px;
}

.full {
  width: 100%;
}

.carousel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px rgba(40, 30, 10, 0.12);
  overflow: hidden;
  position: relative;
  width: 100%;
  z-index: 1;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  height: clamp(220px, 34vw, 440px);
  min-width: 100%;
}

.carousel-slide img,
.carousel-slide video {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.carousel-slide.is-video {
  position: relative;
}

/* Play button overlay for video slides. */
.carousel-play {
  background: transparent;
  border: 0;
  cursor: pointer;
  height: 78px;
  left: 50%;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.18s ease, opacity 0.25s ease;
  width: 78px;
  z-index: 4;
}

/* Pulsing halo behind the core. */
.carousel-play-ring {
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  inset: 0;
  position: absolute;
  animation: carousel-play-pulse 2.2s ease-out infinite;
}

/* The solid gradient disc holding the icon. */
.carousel-play-core {
  align-items: center;
  background: linear-gradient(180deg, var(--gold-bright, #e0b455) 0%, var(--gold, #c89b3c) 100%);
  border-radius: 50%;
  color: #fff;
  display: flex;
  height: 58px;
  justify-content: center;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: background 0.2s ease;
  width: 58px;
}

.carousel-play-core svg {
  display: block;
}

.carousel-play:hover {
  transform: translate(-50%, -50%) scale(1.08);
}

.carousel-play:focus-visible {
  outline: none;
}

.carousel-play:focus-visible .carousel-play-core {
  box-shadow: 0 0 0 4px rgba(200, 155, 60, 0.45);
}

@keyframes carousel-play-pulse {
  0% {
    opacity: 0.85;
    transform: scale(1);
  }
  70% {
    opacity: 0;
    transform: scale(1.5);
  }
  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}

/* Hide the play button while the video is playing. */
.carousel-slide.playing .carousel-play {
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .carousel-play-ring {
    animation: none;
  }
}

.carousel-arrow {
  align-items: center;
  background: rgba(18, 18, 18, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 1.4rem;
  height: 40px;
  justify-content: center;
  line-height: 1;
  opacity: 0.7;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: opacity 0.25s ease, background 0.2s ease;
  width: 40px;
  z-index: 3;
}

.carousel:hover .carousel-arrow {
  opacity: 1;
}

.carousel-arrow:hover {
  background: rgba(200, 155, 60, 0.9);
  opacity: 1;
}

.carousel-prev {
  left: 12px;
}

.carousel-next {
  right: 12px;
}

.carousel-dots {
  bottom: 12px;
  display: flex;
  gap: 8px;
  justify-content: center;
  left: 0;
  position: absolute;
  right: 0;
  z-index: 3;
}

.carousel-dot {
  background: rgba(255, 255, 255, 0.45);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 8px;
  padding: 0;
  transition: background 0.2s ease, width 0.2s ease;
  width: 8px;
}

.carousel-dot.active {
  background: var(--gold);
  width: 22px;
}

.carousel-admin-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.carousel-admin-row {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 8px 12px;
}

.carousel-admin-row.dragging {
  opacity: 0.5;
}

.carousel-admin-row.drag-over {
  border-color: var(--gold);
  box-shadow: 0 -3px 0 var(--gold) inset;
}

.carousel-drag-handle {
  color: var(--muted);
  cursor: grab;
  font-size: 1rem;
  letter-spacing: -3px;
  line-height: 1;
  padding: 0 2px;
  user-select: none;
}

.carousel-admin-row.dragging .carousel-drag-handle {
  cursor: grabbing;
}

.carousel-row-actions {
  align-items: center;
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.order-btn {
  min-width: 34px;
  padding: 0 8px;
}

.order-btn[disabled] {
  cursor: not-allowed;
  opacity: 0.4;
}

.carousel-admin-row img,
.carousel-admin-row video {
  border-radius: 8px;
  height: 56px;
  object-fit: cover;
  width: 84px;
}

.carousel-admin-preview {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: block;
  margin-bottom: 12px;
  max-height: 160px;
  object-fit: cover;
  width: 100%;
}

.notice-band,
.order-layout,
.admin-view,
.account-view {
  margin: 0 auto;
  max-width: 1240px;
  padding: 48px clamp(20px, 5vw, 56px) 0;
}

.notice-band:empty {
  display: none;
}

.notice-band {
  padding-bottom: 0;
}

.notice {
  background: linear-gradient(90deg, rgba(200, 155, 60, 0.08) 0%, var(--surface) 30%);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 18px 22px;
}

.notice + .notice {
  margin-top: 12px;
}

.notice strong {
  color: var(--ink);
  display: block;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 700;
  margin-bottom: 4px;
}

.notice span {
  color: var(--muted);
  font-size: 0.95rem;
}

.order-layout {
  align-items: start;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1fr);
  padding-bottom: 80px;
}

.section-heading {
  align-items: baseline;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-heading h2 {
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.section-heading .eyebrow {
  margin-bottom: 4px;
}

.product-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.product-card,
.order-panel,
.admin-card,
.admin-lock {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: space-between;
  min-height: 224px;
  padding: 26px;
  position: relative;
}

.product-card:not(.sold-out):hover {
  border-color: rgba(200, 155, 60, 0.45);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.product-card.sold-out {
  opacity: 0.55;
}

.product-card.sold-out .qty-control {
  display: none;
}

.product-card h3 {
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.product-size,
.product-description {
  color: var(--muted);
  line-height: 1.55;
}

.product-size {
  color: var(--gold);
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  margin-bottom: 8px;
  margin-top: 6px;
  text-transform: uppercase;
}

.product-description {
  font-size: 0.92rem;
  margin: 0;
}

.product-footer,
.summary-total {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.product-price {
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 700;
}

.qty-control {
  align-items: center;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: grid;
  grid-template-columns: 38px 36px 38px;
  min-height: 40px;
  overflow: hidden;
}

.qty-control button {
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  height: 40px;
  transition: background 0.18s ease, color 0.18s ease;
}

.qty-control button:hover {
  background: rgba(200, 155, 60, 0.12);
  color: var(--gold-dark);
}

.qty-value {
  color: var(--ink);
  font-weight: 700;
  text-align: center;
}

.cart-toast {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  gap: 18px;
  max-width: calc(100vw - 32px);
  opacity: 0;
  padding: 14px 18px;
  position: fixed;
  right: 24px;
  top: 96px;
  transform: translateY(-12px);
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(.2,.7,.3,1);
  width: 380px;
  z-index: 60;
}

.cart-toast-in {
  opacity: 1;
  transform: translateY(0);
}

.cart-toast-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 2px;
  min-width: 0;
}

.cart-toast-body strong {
  color: var(--ink);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-toast-body span {
  color: var(--muted);
  font-size: 0.85rem;
}

.cart-toast-cta {
  background: transparent;
  border: 0;
  color: var(--gold);
  cursor: pointer;
  flex: 0 0 auto;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 6px 0;
  transition: color 0.18s ease;
  white-space: nowrap;
}

.cart-toast-cta:hover {
  color: var(--gold-dark, var(--gold));
}

@media (max-width: 560px) {
  .cart-toast {
    left: 12px;
    right: 12px;
    top: 80px;
    width: auto;
  }
}

.order-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-inline: auto;
  margin-top: 64px;
  max-width: 1100px;
  padding: clamp(28px, 4vw, 56px);
  width: 100%;
}

.order-panel-head {
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
  padding-bottom: 22px;
  text-align: center;
}

.order-panel-head h2 {
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  margin: 4px 0 8px;
}

.order-panel-sub {
  color: var(--muted);
  font-size: 0.98rem;
  margin: 0;
}

.order-panel-grid {
  display: grid;
  gap: clamp(28px, 3vw, 48px);
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: start;
}

.order-panel-form {
  display: grid;
  gap: 16px;
}

.order-panel-summary {
  background: var(--paper-alt, var(--milk));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 100px;
}

.order-panel-summary .eyebrow {
  margin-bottom: 14px;
}

.order-panel-summary .summary-list {
  border: 0;
  margin: 0 0 14px;
  min-height: 40px;
  padding: 0;
}

.order-panel-summary .summary-total {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

@media (max-width: 820px) {
  .order-panel-grid {
    grid-template-columns: 1fr;
  }
  .order-panel-summary {
    position: static;
  }
}

.order-panel h2 {
  font-size: 1.4rem;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

form {
  display: grid;
  gap: 14px;
}

label {
  color: var(--muted);
  display: grid;
  font-size: 0.78rem;
  font-weight: 600;
  gap: 6px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

input,
textarea,
select {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0;
  min-height: 46px;
  padding: 12px 14px;
  text-transform: none;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  width: 100%;
}

input:hover,
textarea:hover,
select:hover {
  border-color: var(--line-strong);
}

input:focus,
textarea:focus,
select:focus {
  background: var(--surface);
  border-color: var(--gold);
  box-shadow: var(--ring);
  outline: none;
}

::placeholder { color: var(--subtle); }

textarea {
  resize: vertical;
}

.form-row {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

.summary-list {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  margin: 22px 0;
  min-height: 56px;
  padding: 18px 0;
}

.summary-empty {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
}

.summary-item {
  color: var(--muted);
  display: flex;
  font-size: 0.95rem;
  justify-content: space-between;
}

.summary-item strong {
  color: var(--ink);
}

.summary-total {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 22px;
}

.admin-view,
.account-view {
  display: block;
}

.hidden {
  display: none !important;
}

.admin-pin {
  color: var(--muted);
  margin: 0;
}

.admin-lock {
  max-width: 560px;
  padding: 32px;
}

.pin-row {
  margin-top: 14px;
}

.admin-subtabs {
  display: flex;
  justify-content: flex-start;
  margin: 4px 0 18px;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.admin-subtabs::-webkit-scrollbar {
  display: none;
}

.admin-subtabs .tabs {
  display: inline-flex;
  flex-wrap: nowrap;
}

.admin-subtabs .tab {
  flex: 0 0 auto;
  white-space: nowrap;
}

.admin-tab-panel {
  display: block;
}

.admin-grid {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-auto-rows: min-content;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 8px;
}

.admin-card {
  align-self: start;
  padding: 28px;
}

.admin-card h3 {
  margin-bottom: 18px;
}

.admin-card-full {
  grid-column: 1 / -1;
}

.wide-card {
  grid-column: 1 / span 2;
}

.admin-products {
  display: grid;
  gap: 14px;
}

.admin-product {
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 14px;
  padding: 20px;
  transition: background 0.22s ease, border-color 0.22s ease;
}

.admin-product:hover {
  background: var(--milk);
  border-color: var(--line-strong);
}

.admin-product-head {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.admin-product-head strong {
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.admin-product-head .status-pill {
  margin-top: 0;
}

.admin-product-fields {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  color: var(--muted);
  display: flex;
  flex-direction: column;
  font-size: 0.72rem;
  font-weight: 600;
  gap: 6px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field input {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0;
  min-height: 40px;
  padding: 10px 12px;
  text-transform: none;
  width: 100%;
}

.field input:focus {
  border-color: var(--gold);
  box-shadow: var(--ring);
  outline: none;
}

.field-row {
  display: flex;
  gap: 8px;
}

.field-row input {
  flex: 1 1 auto;
  min-width: 0;
}

.field-row .mini-button {
  flex: 0 0 auto;
}

.admin-product-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-product-buttons .mini-button {
  flex: 1 1 auto;
  min-width: 110px;
}

.mini-button {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  min-height: 36px;
  padding: 0 14px;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.18s ease;
}

.mini-button:hover {
  background: var(--milk);
  border-color: var(--gold);
  color: var(--gold-dark);
}

.danger {
  color: var(--red);
}

.mini-button.danger:hover {
  background: rgba(177, 74, 56, 0.08);
  border-color: var(--red);
  color: var(--red);
}

.helper-text,
.empty-state {
  background: var(--paper-alt);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  padding: 24px;
  text-align: center;
}

.helper-text {
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
}

.customer-status {
  align-items: center;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  min-height: 52px;
  padding: 12px 16px;
}

.customer-status span {
  color: var(--muted);
  font-size: 0.9rem;
}

.orders-list,
.customers-list {
  display: grid;
  gap: 12px;
}

.order-card,
.customer-row {
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  transition: background 0.22s ease, border-color 0.22s ease;
}

.order-card:hover,
.customer-row:hover {
  background: var(--milk);
  border-color: var(--line-strong);
}

.order-card strong,
.customer-row strong {
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.order-card p,
.customer-row p {
  color: var(--muted);
  font-size: 0.92rem;
}

.customer-row {
  align-items: start;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.customer-row > div {
  flex: 1;
  min-width: 0;
}

.customer-select {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  padding-top: 4px;
}

.customer-select input,
.customer-select-all input {
  accent-color: var(--gold);
  cursor: pointer;
  height: 18px;
  width: 18px;
}

.customer-row-selected {
  background: rgba(200, 155, 60, 0.08);
  border-color: rgba(200, 155, 60, 0.45);
}

.whatsapp-fallback-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 4px;
}

.whatsapp-fallback-list .secondary-action {
  font-size: 0.88rem;
  justify-content: flex-start;
  min-height: 42px;
  padding: 0 16px;
  text-align: left;
}

.customer-search {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.customer-search input {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  flex: 1;
  font-size: 0.95rem;
  min-height: 42px;
  padding: 10px 14px;
}

.customer-search input:focus {
  border-color: var(--gold);
  box-shadow: var(--ring);
  outline: none;
}

.customer-search .mini-button {
  flex: 0 0 auto;
}

.customer-select-bar {
  align-items: center;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 12px 16px;
}

.customer-select-all {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 600;
  gap: 8px;
}

.customer-select-count {
  color: var(--muted);
  font-size: 0.85rem;
}

.customer-row-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
}

.customer-row-actions .mini-button {
  font-size: 0.78rem;
  min-height: 30px;
  padding: 0 10px;
}

.customer-edit-actions .mini-button {
  font-size: 0.78rem;
  min-height: 30px;
  padding: 0 12px;
}

.customer-row-editing {
  align-items: stretch;
  flex-direction: column;
}

.customer-edit-fields {
  display: grid;
  gap: 10px;
}

.customer-edit-fields textarea {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
  min-height: 60px;
  padding: 10px 12px;
  resize: vertical;
  width: 100%;
}

.customer-edit-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.notices-divider {
  border-top: 1px solid var(--line);
  margin: 18px 0 14px;
}

.notices-heading {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.notices-list {
  display: grid;
  gap: 10px;
}

.notice-row {
  align-items: start;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 16px 20px;
}

.notice-row strong {
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 700;
}

.notice-row > div {
  flex: 1;
  min-width: 0;
}

.notice-row p {
  color: var(--muted);
  line-height: 1.4;
  margin: 4px 0 6px;
}

.notice-date {
  color: var(--muted);
  font-size: 0.78rem;
}

.order-card {
  align-items: start;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) 180px;
}

.order-card p,
.customer-row p {
  color: var(--muted);
  line-height: 1.4;
  margin: 6px 0;
}

.order-card ul {
  color: var(--muted);
  margin: 8px 0 0;
  padding-left: 18px;
}

.order-controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.order-controls label {
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
  gap: 4px;
}

.order-controls .mini-button {
  align-self: stretch;
}

.customer-row span {
  color: var(--muted);
  display: block;
  margin-top: 4px;
}

.modal {
  align-items: center;
  background: rgba(18, 18, 18, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 18px;
  position: fixed;
  z-index: 50;
}

.modal-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 440px;
  padding: 36px;
  position: relative;
  width: 100%;
}

.order-success-panel {
  text-align: center;
}

.spinner {
  animation: spin 0.9s linear infinite;
  border: 3px solid var(--line);
  border-radius: 50%;
  border-top-color: var(--gold);
  height: 40px;
  margin: 0 auto 16px;
  width: 40px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.order-success-image {
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: 50%;
  display: block;
  height: 96px;
  margin: 4px auto 18px;
  object-fit: cover;
  width: 96px;
}

.order-success-panel h2 {
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.order-success-id {
  color: var(--gold-dark);
  font-weight: 700;
  margin: 0 0 10px;
}

.order-success-message {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}

.modal-close {
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.2rem;
  height: 36px;
  position: absolute;
  right: 16px;
  top: 16px;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
  width: 36px;
}

.modal-close:hover {
  background: var(--milk);
  border-color: var(--gold);
  color: var(--gold-dark);
}

.status-pill {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 600;
  gap: 6px;
  letter-spacing: 0.02em;
  margin-top: 8px;
  padding: 4px 10px 4px 8px;
}

.status-pill::before {
  background: currentColor;
  border-radius: 50%;
  content: "";
  height: 6px;
  width: 6px;
}

.status-pill.available {
  background: rgba(79, 140, 94, 0.1);
  border: 1px solid rgba(79, 140, 94, 0.3);
  color: var(--green);
}

.status-pill.sold {
  background: rgba(177, 74, 56, 0.1);
  border: 1px solid rgba(177, 74, 56, 0.3);
  color: var(--red);
}

@media (max-width: 980px) {
  .order-layout,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .wide-card,
  .admin-card-full {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .topbar-inner {
    align-items: center;
    flex-direction: row;
    gap: 12px;
  }

  .hero-actions,
  .panel-actions,
  .pin-row,
  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .admin-product-fields {
    grid-template-columns: 1fr;
  }

  .order-card {
    grid-template-columns: 1fr;
  }
}
