:root {
  --ink: #161411;
  --ink-soft: #2b2822;
  --charcoal: #24211d;
  --ivory: #f6f1e7;
  --paper: #fffdf8;
  --sand: #d9c6a4;
  --gold: #a56f35;
  --gold-dark: #765027;
  --line: rgba(22, 20, 17, 0.14);
  --muted: #706a60;
  --success: #47634f;
  --shadow: 0 28px 70px rgba(31, 24, 14, 0.12);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body.no-scroll {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button,
.button {
  cursor: pointer;
}

button:disabled,
.button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.announcement {
  padding: 9px 20px;
  color: #fff;
  background: var(--ink);
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(16px);
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 86px;
  gap: 24px;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-actions {
  justify-content: flex-end;
}

.nav-link,
.nav-action {
  border: 0;
  padding: 8px 0;
  color: var(--ink-soft);
  background: none;
  font-size: 0.88rem;
  font-weight: 600;
}

.nav-link:hover,
.nav-action:hover,
.nav-link[aria-current="page"] {
  color: var(--gold-dark);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.brand-main {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.brand-sub {
  margin-top: 7px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.46em;
}

.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-left: 5px;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  font-size: 0.7rem;
}

.menu-button {
  display: none;
  border: 0;
  padding: 8px 0;
  background: none;
  font-weight: 700;
}

.mobile-menu {
  display: none;
  padding: 0 0 22px;
}

.mobile-menu.is-open {
  display: grid;
  gap: 8px;
}

.hero {
  padding: 46px 0 74px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  min-height: 610px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ivory);
  box-shadow: var(--shadow);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px clamp(38px, 6vw, 86px);
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--gold-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
.display {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
}

h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.7rem);
  letter-spacing: -0.045em;
}

.hero-lead {
  max-width: 550px;
  margin: 28px 0 34px;
  color: var(--muted);
  font-size: 1.06rem;
}

.hero-actions,
.section-head,
.product-actions,
.qty-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0 25px;
  background: var(--ink);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.secondary {
  color: var(--ink);
  background: transparent;
}

.button.secondary:hover {
  color: #fff;
  background: var(--ink);
}

.button.light {
  border-color: #fff;
  color: var(--ink);
  background: #fff;
}

.button.full {
  width: 100%;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  padding: 60px;
  color: #fff;
  background:
    radial-gradient(circle at 50% 42%, rgba(190, 142, 76, 0.28), transparent 34%),
    linear-gradient(145deg, #28231e 0%, #0f0e0c 100%);
}

.hero-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 350px;
  height: 350px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.hero-product {
  width: min(92%, 420px);
  max-height: 440px;
  object-fit: contain;
  filter: drop-shadow(0 34px 34px rgba(0, 0, 0, 0.42));
  transform: rotate(-2deg);
}

.hero-product-link {
  display: grid;
  width: 100%;
  place-items: center;
}

.hero-note {
  position: absolute;
  right: 34px;
  bottom: 32px;
  left: 34px;
  display: flex;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trust-strip {
  border-block: 1px solid var(--line);
  background: #fff;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  padding: 22px 26px;
  border-right: 1px solid var(--line);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.trust-item:last-child {
  border-right: 0;
}

.section {
  padding: 92px 0;
}

.section.tint {
  background: var(--ivory);
}

.section.dark {
  color: #fff;
  background: var(--ink);
}

.section-head {
  justify-content: space-between;
  margin-bottom: 34px;
}

.section-head h2,
.page-intro h1 {
  margin: 0;
  font-size: clamp(2.15rem, 4vw, 3.9rem);
  letter-spacing: -0.035em;
}

.text-link {
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-size: 0.88rem;
  font-weight: 800;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.category-card {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 28px;
  color: #fff;
  background: var(--ink-soft);
  transition: transform 200ms ease;
}

.category-card:hover {
  transform: translateY(-5px);
}

.category-card:nth-child(2) {
  background: #7a4b28;
}

.category-card:nth-child(3) {
  color: var(--ink);
  background: #d5c09a;
}

.category-card:nth-child(4) {
  background: #435046;
}

.category-number {
  color: currentColor;
  opacity: 0.58;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.category-title {
  position: absolute;
  right: 28px;
  bottom: 26px;
  left: 28px;
  margin: 0;
  font-size: 1.65rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 20px;
}

.product-card {
  min-width: 0;
}

.product-image-wrap {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: #f2eee6;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.035);
}

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  border-radius: 999px;
  padding: 6px 10px;
  color: #fff;
  background: var(--ink);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quick-add {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--ink);
  font-size: 1.35rem;
  transition: transform 180ms ease;
}

.quick-add:hover {
  transform: scale(1.08);
}

.product-meta {
  padding: 16px 4px 0;
}

.product-kicker {
  margin: 0 0 5px;
  color: var(--gold-dark);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-name {
  display: block;
  overflow: hidden;
  min-height: 2.9em;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.35;
}

.product-price {
  margin: 8px 0 0;
  font-size: 0.92rem;
  font-weight: 800;
}

.story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: stretch;
  gap: 18px;
}

.story-copy,
.story-quote {
  min-height: 390px;
  border-radius: var(--radius-lg);
  padding: clamp(38px, 6vw, 72px);
}

.story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
}

.story-copy h2,
.story-quote blockquote {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.4vw, 4.5rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.story-copy p {
  margin: 24px 0 0;
  color: var(--muted);
}

.story-quote {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  background: linear-gradient(145deg, #8b5d30, #342518);
}

.story-quote cite {
  margin-top: 48px;
  font-style: normal;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-intro {
  padding: 72px 0 40px;
}

.page-intro p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
}

.shop-toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: end;
  margin: 8px 0 34px;
}

.filter-group,
.form-field {
  display: grid;
  gap: 8px;
}

.filter-label,
.form-field label,
.fieldset legend {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

.filter-chip.is-active {
  border-color: var(--ink);
  color: #fff;
  background: var(--ink);
}

.sort-select,
.form-field input,
.form-field select {
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
}

.product-page {
  padding: 70px 0 100px;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(40px, 7vw, 90px);
  align-items: start;
}

.product-gallery {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ivory);
}

.product-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-info {
  position: sticky;
  top: 130px;
}

.breadcrumbs {
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 0.8rem;
}

.product-info h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.product-info .product-price {
  margin: 20px 0;
  font-size: 1.35rem;
}

.product-description {
  color: var(--muted);
}

.product-description p {
  margin: 0 0 14px;
}

.stock-status {
  width: fit-content;
  margin: 22px 0;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.78rem;
  font-weight: 800;
}

.stock-status.in-stock {
  color: var(--success);
  background: #edf4ee;
}

.stock-status.out-of-stock {
  color: #8d3b32;
  background: #f8ece9;
}

.scent-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 26px 0;
}

.scent-note {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.scent-note strong,
.scent-note span {
  display: block;
}

.scent-note strong {
  margin-bottom: 4px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scent-note span {
  color: var(--muted);
  font-size: 0.82rem;
}

.quantity {
  display: grid;
  grid-template-columns: 40px 48px 40px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.quantity button,
.quantity input {
  border: 0;
  text-align: center;
  background: transparent;
}

.quantity input {
  width: 100%;
  font-weight: 800;
}

.product-assurances {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

.checkout-page {
  padding: 64px 0 100px;
  background: var(--ivory);
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 28px;
  align-items: start;
}

.checkout-card,
.account-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
  background: #fff;
}

.checkout-card + .checkout-card {
  margin-top: 18px;
}

.checkout-card h2,
.account-card h2 {
  margin: 0 0 24px;
  font-size: 1.65rem;
}

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

.form-field.full {
  grid-column: 1 / -1;
}

.checkout-checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
}

.checkout-checkbox input {
  flex: 0 0 auto;
  margin-top: 3px;
}

.invoice-option {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.invoice-toggle {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--ivory);
}

.invoice-toggle:has(input:checked) {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

.invoice-toggle strong,
.invoice-toggle small {
  display: block;
}

.invoice-toggle small {
  margin-top: 3px;
  color: var(--muted);
}

.invoice-fields {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}

.invoice-fields[hidden] {
  display: none;
}

.fieldset {
  display: grid;
  gap: 10px;
  margin: 0;
  border: 0;
  padding: 0;
}

.delivery-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 15px;
  cursor: pointer;
}

.delivery-option:has(input:checked) {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

.delivery-option.is-disabled {
  cursor: not-allowed;
  opacity: 0.52;
  background: var(--ivory);
}

.delivery-option small {
  display: block;
  color: var(--muted);
}

.pickup-selection {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-top: 16px;
  padding: 18px;
  border: 1px dashed var(--gold);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--ivory) 72%, white);
}

.pickup-selection[hidden] {
  display: none;
}

.pickup-selection.needs-point {
  border-style: solid;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--gold) 20%, transparent);
}

.pickup-selection.has-point {
  border-style: solid;
}

.pickup-selection strong,
.pickup-selection small {
  display: block;
}

.pickup-selection small {
  margin-top: 3px;
  color: var(--muted);
}

.pickup-label {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.checkout-message {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: #eef6ef;
  color: #24532c;
  font-size: 0.9rem;
}

.checkout-message.is-error {
  background: #fff0ef;
  color: #8a241f;
}

.payment-return-page {
  min-height: 62vh;
  display: grid;
  place-items: center;
  padding: 72px 0 100px;
  background: var(--ivory);
}

.payment-return-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.payment-return-card .button {
  margin-top: 20px;
}

.button.small {
  flex: 0 0 auto;
  padding: 11px 16px;
  font-size: 0.82rem;
}

.pickup-dialog-backdrop {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(20, 19, 17, 0.62);
  backdrop-filter: blur(5px);
}

.pickup-dialog-backdrop[hidden] {
  display: none;
}

.pickup-dialog {
  width: min(980px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.24);
}

.pickup-dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}

.pickup-dialog-header h2 {
  margin: 2px 0 0;
  font-size: clamp(1.45rem, 4vw, 2rem);
}

.pickup-dialog-kicker {
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pickup-dialog-body {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(360px, 1.15fr);
  height: min(610px, calc(100vh - 150px));
}

.pickup-dialog-body.inpost-dialog-body {
  display: block;
  overflow: auto;
  padding: 0;
  background: #f5f5f3;
}

.inpost-dialog-body inpost-geowidget {
  display: block;
  width: 100%;
  height: min(610px, calc(100vh - 150px));
  min-height: 420px;
}

.pickup-list-panel {
  overflow-y: auto;
  padding: 24px;
}

.pickup-search {
  display: grid;
  gap: 8px;
}

.pickup-search span {
  font-size: 0.82rem;
  font-weight: 750;
}

.demo-notice {
  margin: 16px 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--ivory);
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.pickup-points {
  display: grid;
  gap: 9px;
}

.pickup-point {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px;
  background: white;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.pickup-point:hover,
.pickup-point:focus-visible {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--gold) 16%, transparent);
}

.pickup-point small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}

.pickup-point-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--charcoal);
  color: white;
  font-weight: 900;
}

.pickup-map-preview {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: #e8e6df;
}

.map-grid {
  position: absolute;
  inset: -12%;
  opacity: 0.58;
  transform: rotate(-7deg) scale(1.08);
  background:
    linear-gradient(23deg, transparent 47%, rgba(255,255,255,.95) 48% 53%, transparent 54%),
    linear-gradient(92deg, transparent 45%, rgba(255,255,255,.8) 46% 51%, transparent 52%),
    repeating-linear-gradient(0deg, transparent 0 58px, rgba(185,181,169,.48) 59px 61px),
    repeating-linear-gradient(90deg, transparent 0 72px, rgba(185,181,169,.42) 73px 75px);
}

.map-pin {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 4px solid white;
  border-radius: 50% 50% 50% 8px;
  transform: rotate(-45deg);
  background: var(--charcoal);
  color: white;
  box-shadow: 0 8px 18px rgba(0,0,0,.2);
  font-weight: 900;
}

.map-pin.pin-one { top: 26%; left: 22%; }
.map-pin.pin-two { top: 48%; left: 60%; }
.map-pin.pin-three { top: 67%; left: 38%; }

.map-caption {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 12px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
  backdrop-filter: blur(8px);
}

.map-caption strong,
.map-caption span {
  display: block;
}

.map-caption span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
}

.summary-card {
  position: sticky;
  top: 122px;
}

.summary-lines {
  display: grid;
  gap: 14px;
}

.summary-line {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 12px;
  align-items: center;
}

.summary-line img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
}

.summary-totals {
  display: grid;
  gap: 8px;
  margin: 24px 0;
  padding: 20px 0;
  border-block: 1px solid var(--line);
}

.summary-row {
  display: flex;
  justify-content: space-between;
}

.summary-row.total {
  font-size: 1.12rem;
  font-weight: 800;
}

.payment-note {
  margin-top: 14px;
  color: var(--muted);
  text-align: center;
  font-size: 0.76rem;
}

.account-page {
  min-height: 70vh;
  padding: 76px 0 110px;
  background: var(--ivory);
}

.account-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 900px;
  margin: 0 auto;
}

.account-layout.single {
  grid-template-columns: 1fr;
  max-width: 720px;
}

.account-coming-soon {
  text-align: center;
}

.account-coming-soon .button {
  margin-top: 16px;
}

.loading-state,
.empty-state,
.error-state {
  grid-column: 1 / -1;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  color: var(--muted);
  background: #fff;
  text-align: center;
}

.empty-state.compact {
  padding: 20px;
}

.empty-state h1 {
  margin-bottom: 24px;
}

.error-state,
.toast.is-error {
  color: #fff;
  background: #8d3b32;
}

.muted-block {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
}

.site-footer {
  padding: 68px 0 26px;
  color: rgba(255, 255, 255, 0.78);
  background: #10100f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  letter-spacing: 0.18em;
}

.footer-copy {
  max-width: 330px;
  margin-top: 14px;
  font-size: 0.86rem;
}

.footer-title {
  margin: 0 0 16px;
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 8px;
  font-size: 0.86rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.74rem;
}

.overlay {
  position: fixed;
  z-index: 90;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, visibility 200ms ease;
}

.overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(460px, 100%);
  height: 100dvh;
  padding: 28px;
  background: var(--paper);
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.18);
  transform: translateX(102%);
  transition: transform 240ms ease;
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.cart-header h2 {
  margin: 0;
  font-size: 1.7rem;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
}

.cart-items {
  display: grid;
  gap: 16px;
  overflow: auto;
  flex: 1;
  align-content: start;
  padding: 24px 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 14px;
  align-items: center;
}

.cart-item img {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.cart-item-name {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.cart-item-meta {
  color: var(--muted);
  font-size: 0.78rem;
}

.cart-remove {
  border: 0;
  padding: 5px;
  color: var(--muted);
  background: transparent;
}

.cart-empty {
  margin: auto;
  color: var(--muted);
  text-align: center;
}

.cart-footer {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 1.06rem;
  font-weight: 800;
}

.toast {
  position: fixed;
  z-index: 130;
  right: 24px;
  bottom: 24px;
  max-width: min(380px, calc(100% - 48px));
  border-radius: var(--radius-sm);
  padding: 15px 18px;
  color: #fff;
  background: var(--success);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .nav {
    grid-template-columns: 1fr auto 1fr;
  }

  .nav-actions .account-link {
    display: none;
  }

  .hero-grid,
  .product-detail,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .pickup-dialog-body {
    grid-template-columns: 1fr;
  }

  .pickup-map-preview {
    display: none;
  }

  .hero-visual {
    min-height: 500px;
  }

  .trust-grid,
  .product-grid,
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .story-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-info,
  .summary-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .announcement {
    font-size: 0.66rem;
  }

  .nav {
    min-height: 72px;
    gap: 10px;
  }

  .brand-main {
    font-size: 1.35rem;
  }

  .brand-sub {
    font-size: 0.48rem;
  }

  .hero {
    padding: 20px 0 46px;
  }

  .hero-grid {
    min-height: 0;
  }

  .hero-copy {
    padding: 46px 26px;
  }

  h1 {
    font-size: clamp(2.65rem, 14vw, 4rem);
  }

  .hero-actions,
  .product-actions,
  .shop-toolbar,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .product-actions .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 400px;
    padding: 46px;
  }

  .hero-note {
    font-size: 0.62rem;
  }

  .section {
    padding: 64px 0;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .category-grid,
  .product-grid,
  .story-grid,
  .footer-grid,
  .account-layout,
  .form-grid,
  .shop-toolbar {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 190px;
  }

  .product-grid {
    gap: 30px 14px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-item,
  .trust-item:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .story-copy,
  .story-quote {
    min-height: 320px;
    padding: 34px 26px;
  }

  .scent-notes {
    grid-template-columns: 1fr;
  }

  .product-info h1 {
    font-size: 2.65rem;
  }

  .cart-drawer {
    padding: 22px;
  }

  .pickup-selection {
    align-items: stretch;
    flex-direction: column;
  }

  .pickup-selection .button {
    width: 100%;
  }

  .pickup-dialog-backdrop {
    align-items: end;
    padding: 0;
  }

  .pickup-dialog {
    max-height: 92vh;
    border-radius: 18px 18px 0 0;
  }

  .pickup-dialog-header {
    padding: 20px;
  }

  .pickup-dialog-body {
    height: auto;
    max-height: calc(92vh - 90px);
  }

  .pickup-list-panel {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
