@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;700&display=swap');

:root {
  --bg: #f6f2ec;
  --bg-soft: #fdfaf6;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --surface-alt: #f2ebe2;
  --surface-dark: #1d1719;
  --ink: #1f1c1d;
  --muted: #645d5f;
  --muted-strong: #484144;
  --accent: #9a2940;
  --accent-strong: #741d30;
  --accent-soft: rgba(154, 41, 64, 0.1);
  --gold: #d7aa6d;
  --gold-soft: rgba(215, 170, 109, 0.2);
  --line: rgba(31, 28, 29, 0.1);
  --line-strong: rgba(31, 28, 29, 0.18);
  --success: #1f7a52;
  --success-soft: rgba(31, 122, 82, 0.12);
  --danger-soft: rgba(154, 41, 64, 0.12);
  --shadow-sm: 0 12px 28px rgba(36, 24, 28, 0.08);
  --shadow: 0 24px 70px rgba(36, 24, 28, 0.12);
  --shadow-lg: 0 32px 90px rgba(36, 24, 28, 0.18);
  --radius-sm: 18px;
  --radius: 28px;
  --radius-lg: 36px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  min-height: 100vh;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(215, 170, 109, 0.18), transparent 28%),
    linear-gradient(180deg, #faf6f0 0%, #f6f2ec 36%, #f2ede5 100%);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}

body.has-nav-open,
body.has-modal-open {
  overflow: hidden;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
input, textarea, select, button { font: inherit; }
button { color: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 120;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--surface-dark);
  color: #fff;
  text-decoration: none;
  transition: top .2s ease;
}

.skip-link:focus {
  top: 16px;
}

.bg-orbit {
  position: fixed;
  inset: -10% auto auto 48%;
  width: 44vw;
  height: 54vh;
  background:
    radial-gradient(circle at top, rgba(215, 170, 109, 0.28), transparent 56%),
    radial-gradient(circle at center, rgba(154, 41, 64, 0.12), transparent 62%);
  filter: blur(18px);
  z-index: -1;
  pointer-events: none;
}

.container {
  width: min(var(--container), calc(100vw - 32px));
  margin: 0 auto;
}

.site-main {
  padding: 34px 0 88px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(246, 242, 236, 0.94);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease, background .2s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(250, 246, 240, 0.9);
}

.header-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 92px;
  padding: 8px 0;
}

.header-brand-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo-mark {
  width: 74px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 74px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-copy strong,
.logo-copy small {
  display: block;
}

.logo-copy strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .98rem;
  line-height: 1.05;
}

.logo-copy small {
  color: var(--muted);
  margin-top: 2px;
  font-size: .9rem;
}

.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle[aria-expanded="true"] > span:not(.sr-only):nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] > span:not(.sr-only):nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] > span:not(.sr-only):nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header-panel {
  display: grid;
  grid-template-columns: minmax(170px, .52fr) minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.header-search {
  display: grid;
  grid-template-columns: 1fr auto;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(31, 28, 29, 0.08);
  box-shadow: none;
  max-width: 280px;
  width: 100%;
}

.header-search input,
.header-search button {
  border: 0;
  background: transparent;
  padding: 9px 12px;
}

.header-search input:focus {
  outline: none;
}

.header-search button {
  width: 46px;
  min-width: 46px;
  background: rgba(255, 255, 255, 0.65);
  font-weight: 700;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  padding: 0;
}

.header-search button svg {
  width: 18px;
  height: 18px;
}

.site-nav,
.header-actions,
.hero-actions,
.form-actions,
.auth-links,
.consent-actions,
.consent-summary,
.consent-footer-actions,
.footer-highlight-actions,
.newsletter-banner-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.site-nav {
  justify-content: flex-start;
  gap: 4px;
}

.site-nav a,
.link-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted-strong);
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.site-nav a {
  border: 1px solid transparent;
  font-size: .98rem;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(31, 28, 29, 0.06);
}

.link-pill {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: none;
}

.link-pill:hover,
.cta:hover,
.category-pills a:hover,
.legal-link-card:hover,
.footer-bottom a:hover {
  transform: translateY(-1px);
}

.cart-pill span {
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-size: .82rem;
}

.ghost-pill {
  background: rgba(255, 255, 255, 0.54);
}

.footer-locale-form select,
.stacked-form input,
.stacked-form textarea,
.stacked-form select,
.choice-card,
.data-table input,
.newsletter-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-strong);
  padding: 13px 15px;
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.cart-icon-button {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  text-decoration: none;
}

.cart-icon-button svg {
  width: 20px;
  height: 20px;
}

.cart-icon-button span {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-size: .75rem;
  font-weight: 800;
  line-height: 1;
}

.stacked-form,
.form-grid,
.choice-grid,
.stacked-sections,
.address-grid,
.gallery,
.notice-stack,
.legal-link-grid,
.legal-summary-grid,
.consent-grid {
  display: grid;
  gap: 16px;
}

.stacked-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.checkbox-row {
  display: flex !important;
  gap: 12px;
  align-items: flex-start;
  font-weight: 500;
}

.checkbox-row input,
.choice-card input {
  width: auto;
  margin-top: 4px;
}

.cta,
button.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: none;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.cta.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.54);
  border-color: var(--line);
  box-shadow: none;
}

.full-width { width: 100%; }

.hero,
.checkout-layout,
.footer-grid,
.product-detail,
.card-grid,
.split-showcase,
.section-header-block,
.newsletter-banner,
.footer-shell,
.account-hero,
.account-section-grid,
.account-hero-stats {
  display: grid;
  gap: 20px;
}

.hero {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  align-items: stretch;
  padding: 20px 0 8px;
}

.hero-copy,
.hero-panel,
.card,
.product-card,
.table-card,
.totals-card,
.auth-card,
.simple-page,
.detail-copy,
.footer-highlight,
.newsletter-modal,
.contact-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-copy,
.hero-panel,
.card,
.product-card,
.table-card,
.totals-card,
.auth-card,
.simple-page,
.detail-copy,
.contact-card {
  padding: 26px;
}

.hero-copy {
  position: relative;
  overflow: hidden;
}

.hero-copy::after {
  content: '';
  position: absolute;
  inset: auto -40px -56px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(215, 170, 109, 0.24), transparent 66%);
}

.hero-copy h1,
.section-header-block h1,
.auth-card h1,
.detail-copy h1 {
  margin: 12px 0 14px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 4vw, 4.3rem);
  line-height: .98;
  letter-spacing: -.04em;
}

.section-header-block h1,
.auth-card h1,
.detail-copy h1 {
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.hero-copy p,
.section-headline p,
.section-header-block p,
.product-copy p,
.contact-card p,
.newsletter-copy p,
.hero-panel-lead p {
  color: var(--muted);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-trust span,
.footer-trust-list li,
.newsletter-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-strong);
}

.hero-trust span::before,
.footer-trust-list li::before,
.newsletter-points li::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  gap: 18px;
}

.hero-panel-spotlight {
  background:
    radial-gradient(circle at top right, rgba(215, 170, 109, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 242, 235, 0.98));
}

.hero-panel-lead h2,
.showcase-card h2,
.newsletter-banner h2,
.footer-highlight h3,
.benefit-card h2,
.card h2,
.card h3 {
  margin: 0 0 10px;
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.1;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.84);
  display: grid;
  gap: 8px;
}

.stat-card strong {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-family: 'Space Grotesk', sans-serif;
}

.eyebrow,
.badge,
.status-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .03em;
}

.eyebrow,
.badge {
  background: var(--accent-soft);
  color: var(--accent);
}

.section-headline {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin: 36px 0 18px;
}

.section-headline h2 {
  margin: 10px 0 6px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.6rem, 2.8vw, 2.5rem);
  line-height: 1.05;
}

.section-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.breadcrumbs {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: .94rem;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.breadcrumbs li::after {
  content: '/';
  margin-left: 10px;
  color: rgba(31, 28, 29, 0.28);
}

.breadcrumbs li:last-child::after { display: none; }

.categories-grid,
.product-grid,
.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-col,
.checkout-layout,
.split-showcase {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-grid {
  grid-template-columns: 1.2fr .95fr .9fr .95fr;
}

.quick-benefits {
  margin: 22px 0 8px;
}

.benefit-card {
  position: relative;
  overflow: hidden;
}

.benefit-card::after,
.category-card::after,
.showcase-card::after,
.product-card::after {
  content: '';
  position: absolute;
  inset: auto -20px -40px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(215, 170, 109, 0.18), transparent 66%);
  pointer-events: none;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.category-pills a {
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.category-card {
  position: relative;
}

.category-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--gold-soft);
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 14px;
}

.card,
.product-card {
  position: relative;
  overflow: hidden;
}

.product-card {
  display: grid;
  gap: 16px;
}

.product-image {
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(242, 235, 226, 0.9), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(31, 28, 29, 0.06);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-copy h3,
.product-copy h3 a {
  color: var(--ink);
  text-decoration: none;
}

.product-meta,
.summary-line,
.price-row,
.info-list li,
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.product-meta strong,
.price-row strong {
  font-size: 1.2rem;
  font-family: 'Space Grotesk', sans-serif;
}

.stock-note,
.notice,
.auth-links a,
.contact-card p,
.footer-bottom p {
  color: var(--muted);
}

.product-detail {
  grid-template-columns: minmax(0, 1fr) minmax(340px, .92fr);
  align-items: start;
}

.gallery figure {
  margin: 0;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-sm);
}

.product-facts {
  display: grid;
  gap: 10px;
  margin: 18px 0 20px;
}

.lead {
  font-size: 1.08rem;
  color: var(--muted-strong);
}

.purchase-box {
  margin-top: 22px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
}

.wysiwyg {
  overflow-wrap: anywhere;
}

.cart-item-cell {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
}

.cart-item-cell img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 16px;
}

.table-card {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 15px 10px;
  border-bottom: 1px solid var(--line);
}

.data-table input {
  width: 90px;
}

.totals-card {
  align-content: start;
  height: fit-content;
}

.total-row {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 1.05rem;
}

.choice-card {
  display: grid;
  gap: 6px;
  cursor: pointer;
}

.choice-card span {
  font-weight: 700;
}

.empty-state,
.auth-card,
.simple-page {
  max-width: 880px;
  margin: 0 auto;
}

.auth-links {
  margin-top: 14px;
}

.flash-stack {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: grid;
  gap: 10px;
  width: min(420px, calc(100vw - 24px));
}

.flash {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
  animation: toast-in .28s ease;
}

.flash-success {
  border-color: rgba(31, 122, 82, 0.24);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(31, 122, 82, 0.06));
}

.flash-error {
  border-color: rgba(154, 41, 64, 0.22);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(154, 41, 64, 0.06));
}

.flash-close,
.newsletter-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: rgba(31, 28, 29, 0.06);
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
}

.address-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
}

.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.info-list li {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.site-footer {
  margin-top: 64px;
  padding: 34px 0 52px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(50, 30, 35, 0.98), rgba(28, 19, 22, 1));
  color: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 18px 40px rgba(0, 0, 0, 0.08);
}

.footer-shell {
  gap: 28px;
}

.footer-highlight {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 24px 26px;
  background:
    radial-gradient(circle at top right, rgba(215, 170, 109, 0.2), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.footer-brand p {
  max-width: 34ch;
}

.site-footer h3,
.site-footer h4 {
  margin: 0 0 12px;
  font-family: 'Space Grotesk', sans-serif;
  color: #fff;
}

.site-footer ul,
.footer-trust-list,
.newsletter-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.site-footer a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.88);
}

.site-footer .eyebrow {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.site-footer .cta.secondary,
.site-footer .link-button {
  color: #fff;
}

.site-footer .notice,
.site-footer p,
.site-footer li,
.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-locale-form {
  margin: 0;
}

.footer-locale-form select {
  min-width: 118px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
  box-shadow: none;
}

.footer-locale-form option {
  color: var(--ink);
}

.footer-bottom a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
}

.link-button {
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.legal-page-head {
  margin-bottom: 18px;
}

.legal-link-grid,
.legal-summary-grid {
  margin-top: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.legal-summary-grid.compact {
  margin-top: 14px;
}

.legal-link-card {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, border-color .2s ease;
}

.legal-highlight-card {
  border-color: rgba(154, 41, 64, 0.18);
  background: rgba(255, 248, 244, 0.94);
}

.consent-shell,
.newsletter-shell {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
}

.consent-shell.is-visible,
.newsletter-shell.is-visible {
  display: block;
}

.consent-backdrop,
.newsletter-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 16, 16, 0.46);
  backdrop-filter: blur(4px);
}

.consent-banner {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: min(1080px, calc(100vw - 24px));
  display: grid;
  gap: 18px;
  box-shadow: var(--shadow-lg);
}

.consent-summary,
.consent-footer-actions {
  justify-content: space-between;
}

.consent-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.consent-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface-alt);
}

.consent-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  margin-bottom: 12px;
}

.newsletter-modal {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(860px, calc(100vw - 24px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .82fr);
  gap: 22px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.newsletter-close {
  position: absolute;
  right: 18px;
  top: 18px;
}

.newsletter-form {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
}

.newsletter-banner {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  margin-top: 12px;
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(215, 170, 109, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(249, 242, 234, 0.96));
}

.contact-card {
  align-content: start;
}

.contact-card h2 {
  margin-top: 0;
  font-family: 'Space Grotesk', sans-serif;
}

.account-hero {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  align-items: stretch;
  margin-bottom: 20px;
}

.account-hero-copy {
  padding-right: 12px;
}

.account-hero-copy h1 {
  margin-bottom: 10px;
}

.account-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.account-hero-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
}

.account-panel {
  align-content: start;
}

.account-section-grid {
  align-items: start;
}

.account-panel h2 {
  margin-top: 0;
  margin-bottom: 18px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s ease, transform .5s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.is-disabled {
  opacity: .62;
}

.admin-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(215, 170, 109, 0.18), transparent 28%),
    linear-gradient(180deg, #f6f5f1 0%, #ece8df 100%);
}

.admin-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 20px;
  padding: 28px 0 40px;
  align-items: start;
}

.admin-nav {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 18px;
}

.admin-nav-head h2,
.admin-content h1,
.admin-content h2,
.admin-content h3 {
  margin-top: 0;
  font-family: 'Space Grotesk', sans-serif;
}

.admin-nav-head p {
  margin: 6px 0 0;
  color: var(--muted);
}

.admin-nav nav {
  display: grid;
  gap: 8px;
}

.admin-nav nav a {
  text-decoration: none;
  padding: 11px 14px;
  border-radius: 16px;
  color: var(--muted);
  border: 1px solid transparent;
}

.admin-nav nav a:hover,
.admin-nav nav a.is-active {
  background: var(--surface-alt);
  border-color: var(--line);
  color: var(--ink);
}

.admin-content {
  display: grid;
  gap: 18px;
}

.status-pill {
  justify-content: center;
  text-transform: uppercase;
}

.status-positive {
  background: var(--success-soft);
  color: var(--success);
}

.status-warn {
  background: rgba(215, 170, 109, 0.18);
  color: #8b622d;
}

.status-negative {
  background: var(--danger-soft);
  color: var(--accent);
}

.status-neutral {
  background: rgba(31, 28, 29, 0.08);
  color: var(--ink);
}

.admin-form-block {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.64);
}

.admin-login-body {
  display: grid;
  place-items: center;
}

.admin-login-shell {
  width: min(560px, calc(100vw - 32px));
  padding: 48px 0;
}

.admin-login-card {
  max-width: none;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1120px) {
  .header-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .header-panel {
    grid-template-columns: 1fr;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .header-actions {
    justify-content: flex-start;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hero,
  .checkout-layout,
  .footer-grid,
  .product-detail,
  .categories-grid,
  .product-grid,
  .two-col,
  .split-showcase,
  .three-col,
  .account-hero,
  .legal-link-grid,
  .legal-summary-grid,
  .consent-grid,
  .admin-shell,
  .newsletter-modal,
  .newsletter-banner,
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .account-hero-stats {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-block;
  }

  .header-panel {
    display: none;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow);
  }

  .header-panel.is-open {
    display: grid;
  }

  .header-search,
  .site-nav,
  .header-actions {
    width: 100%;
  }

  .site-nav a,
  .link-pill,
  .cart-icon-button,
  .cta {
    width: 100%;
  }

  .header-actions {
    display: grid;
  }

  .footer-highlight,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .newsletter-modal {
    width: min(720px, calc(100vw - 24px));
  }

  .admin-nav {
    position: static;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100vw - 20px));
  }

  .site-main {
    padding-top: 26px;
  }

  .hero-copy,
  .hero-panel,
  .card,
  .product-card,
  .table-card,
  .totals-card,
  .auth-card,
  .simple-page,
  .detail-copy,
  .contact-card,
  .footer-highlight,
  .newsletter-modal,
  .newsletter-banner {
    padding: 20px;
  }

  .logo-copy strong {
    font-size: .96rem;
  }

  .logo-mark {
    width: 68px;
    height: 54px;
    flex-basis: 68px;
  }

  .header-search {
    max-width: none;
  }

  .hero-copy h1,
  .section-header-block h1,
  .auth-card h1,
  .detail-copy h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .section-headline,
  .product-meta,
  .summary-line,
  .price-row,
  .info-list li,
  .consent-summary,
  .consent-footer-actions,
  .consent-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .cart-item-cell {
    grid-template-columns: 1fr;
  }

  .flash-stack {
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: auto;
  }

  .consent-banner {
    bottom: 10px;
    width: calc(100vw - 16px);
  }

  .newsletter-modal {
    top: auto;
    bottom: 12px;
    transform: translateX(-50%);
    max-height: calc(100vh - 24px);
    overflow-y: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
