@font-face {
  font-family: Archivo;
  src: url('/fonts/archivo-600.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Plex;
  src: url('/fonts/ibm-plex-sans-400.woff2') format('woff2');
  font-display: swap;
}
:root {
  --paper: #faf9f5;
  --ink: #191713;
  --muted: #565046;
  --gold: #ffdc66;
  --rule: #dedacf;
  --accent: #67471d;
  --display: Archivo, system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 Plex, system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
header, main, footer { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
header, footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 75px;
}
header { border-bottom: 1px solid var(--rule); }
footer { border-top: 1px solid var(--rule); margin-top: 68px; font-size: .86rem; flex-wrap: wrap; }
nav { display: flex; gap: 23px; flex-wrap: wrap; align-items: center; }
a { color: var(--accent); text-underline-offset: .23em; }
a:hover { color: var(--ink); }
header nav a, footer nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .88rem; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  text-decoration: none;
  font: 600 1rem Archivo, system-ui, sans-serif;
  color: inherit;
}
.brand img { display: block; }
.product {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(225px, 1fr);
  gap: clamp(30px, 5.5vw, 76px);
  align-items: start;
  padding: clamp(32px, 5vw, 62px) 0 27px;
}
.product-info { min-width: 0; padding-top: clamp(10px, 3.5vw, 50px); }
.product-gallery { min-width: 0; }
.gallery-track {
  display: flex;
  aspect-ratio: 1.08;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  background: #f1f0ec;
  border: 1px solid #eae8e1;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
  margin: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.gallery-slide:first-child img { width: 100%; height: 100%; max-width: 100%; object-fit: cover; box-shadow: none; }
.gallery-slide:has(a) { background: #eeeae0; }
.gallery-slide img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: auto;
  height: 86%;
  max-width: 90%;
  object-fit: contain;
  box-shadow: 0 9px 25px #211a152d;
}
.gallery-slide a { display: grid; place-items: center; width: 100%; height: 100%; min-height: 0; }
.gallery-slide a:focus-visible { outline-offset: -5px; }
.gallery-nav { display: flex; justify-content: center; margin-top: 3px; }
.gallery-nav button {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.gallery-nav button span { width: 8px; height: 8px; border-radius: 50%; background: #b6b1a7; }
.gallery-nav button[aria-pressed=true] span { background: #25211b; }
.product h1 { max-width: 14ch; margin: 0 0 10px; font-size: clamp(40px, 5vw, 64px); }
.product-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; font: 600 1.45rem/1.3 var(--display); margin: 0 0 18px; }
.product-price span { color: var(--muted); font: .8rem Plex, system-ui, sans-serif; }
.buyer-reviews-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.product-highlights { margin: 19px 0 14px; padding: 0; list-style: none; }
.product-highlights li { display: flex; gap: 10px; align-items: baseline; padding: 5px 0; font-weight: 600; }
.product-highlights li::before { content: '✓' / ''; color: var(--accent); font-size: .92em; }
.purchase-jump { display: inline-flex; min-height: 44px; gap: 8px; align-items: center; font-weight: 600; }
.product-details { margin-bottom: 34px; border-top: 1px solid var(--rule); }
.product-details summary { font: 600 1rem/1.4 var(--display); padding: 14px 0; }
.product-details summary::marker { color: var(--muted); }
.product-details .contents-list { padding: 5px 0 16px; }
.product-details .contents-list div:last-child { border-bottom: 0; }
.review-details-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; }
h1, h2 { font-family: var(--display); font-weight: 600; line-height: 1.04; letter-spacing: -.044em; }
h1 { font-size: clamp(39px,5.3vw,75px); margin: 0 0 19px; }
h2 { font-size: clamp(25px,3.1vw,38px); margin: 0 0 14px; }
p { max-width: 67ch; }
.intro { font-size: clamp(17px,1.65vw,21px); line-height: 1.56; margin: 0 0 10px; color: var(--muted); }
.store-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  align-items: start;
  gap: 28px 52px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: #f7f6f2;
  padding: clamp(18px, 4vw, 42px);
}
.checkout-product { display: flex; gap: 18px; align-items: center; }
.checkout-product img { width: 62px; height: auto; box-shadow: 0 5px 12px #211a1528; }
.checkout-product h2 { margin: 0; font-size: clamp(24px, 3vw, 34px); }
.buy-panel { min-width: 0; }
.price { font: 600 2rem/1.15 Archivo, sans-serif; margin: 0 0 14px; }
.price small { font: .81rem Plex, sans-serif; color: var(--muted); margin-left: 8px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 48px;
  background: var(--ink);
  color: #fffaf1;
  border: 1px solid var(--ink);
  border-radius: 7px;
  padding: 11px 16px;
  font: 600 .94rem/1.4 Archivo, system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: background .16s, color .16s;
}
.buy-panel .button { width: 100%; }
.button:hover { background: #3b3228; color: #fffaf1; }
.card-checkout-link.secondary { background: transparent; color: var(--ink); border-color: var(--rule); }
.card-checkout-link.secondary:hover { background: #eee8dd; }
.delivery, .voucher-note { font-size: .82rem; line-height: 1.55; color: var(--muted); margin: 9px 0 0; }
.voucher-note { color: var(--accent); margin-top: 3px; }
.details-section {
  display: grid;
  grid-template-columns: minmax(200px,.78fr) minmax(0,1.22fr);
  gap: 30px 62px;
  padding: 39px 0 48px;
  border-top: 1px solid var(--rule);
  scroll-margin-top: 18px;
}
.section-heading p { max-width: 27ch; margin: 0; color: var(--muted); }
.section-heading a { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; }
.contents-list { margin: 0; }
.contents-list div { border-bottom: 1px solid var(--rule); padding: 12px 0 14px; }
.contents-list div:first-child { padding-top: 0; }
.contents-list dt { font: 600 1rem/1.4 Archivo,sans-serif; }
.contents-list dd { margin: 3px 0 0; color: var(--muted); line-height: 1.5; }
.review-empty { color: var(--muted); margin-top: 0; }
.review { border-bottom: 1px solid var(--rule); margin: 0 0 16px; padding: 0 0 15px; overflow-wrap: anywhere; }
.review-top { display: flex; gap: 10px 16px; align-items: baseline; flex-wrap: wrap; }
.stars { color: var(--accent); font-size: 1.1rem; letter-spacing: .07em; }
.review time, .review figcaption, .review figcaption span { color: var(--muted); font-size: .84rem; }
.review blockquote { margin: 7px 0; white-space: pre-line; }
.shop-help { gap: 0 62px; }
.shop-help h2 { grid-row: span 3; }
details { border-bottom: 1px solid var(--rule); }
summary { padding: 12px 0; min-height: 44px; cursor: pointer; }
details p { color: var(--muted); margin: 0 0 16px; }
article { max-width: 740px; margin: 52px auto; overflow-wrap: anywhere; }
article h1 { font-size: clamp(35px,6vw,64px); }
article h2 { margin-top: 30px; font-size: clamp(25px,4vw,35px); }
article section { margin: 30px 0; }
.narrow { max-width: 570px; }
form label { display: grid; gap: 6px; margin: 19px 0; font-weight: 600; }
form label:has(input[type=checkbox]) { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; }
form input[type=checkbox] { margin-top: 7px; flex: none; accent-color: var(--ink); }
input:not([type=checkbox]), select, textarea {
  min-height: 44px; max-width: 100%;
  border: 1px solid #867f70; border-radius: 0;
  background: #fffdf8; color: var(--ink); padding: 8px 11px;
  font: inherit; font-weight: 400;
}
textarea { resize: vertical; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid #866427; outline-offset: 4px;
}
table { border-collapse: collapse; width: 100%; }
td, th { padding: 8px; border-bottom: 1px solid var(--rule); text-align: left; }
.table-scroll { overflow: auto; }
.guide-list>div { border-bottom: 1px solid var(--rule); padding: 5px 0 12px; }
@media (max-width: 850px) {
  header, main, footer { width: calc(100% - 40px); }
  .product { gap: 27px; }
  .details-section { column-gap: 31px; }
}
@media (max-width: 640px) {
  :root { font-size: 16px; }
  header, main, footer { width: calc(100% - 32px); }
  header { flex-wrap: wrap; gap: 0 12px; padding: 6px 0; min-height: 0; }
  header nav { gap: 12px; }
  header nav a { font-size: .82rem; }
  .product { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 18px 0 24px; }
  .product-info { padding: 0; }
  .gallery-track { aspect-ratio: 1.05; }
  .store-checkout { grid-template-columns: 1fr; gap: 16px; }
  .checkout-product img { width: 48px; }
  .product h1 { font-size: clamp(34px, 9vw, 48px); max-width: 16ch; margin-bottom: 10px; }
  .price { font-size: 1.8rem; margin-bottom: 8px; }
  .details-section { grid-template-columns: 1fr; gap: 16px; padding: 26px 0 34px; }
  .shop-help h2 { grid-row: auto; }
  .shop-help { gap: 0; }
  article { margin-top: 35px; }
}
@media (prefers-reduced-motion: reduce) { .button { transition: none; } }

.checkout-panel { max-width: 500px; }
.checkout-panel button { width: 100%; justify-content: center; }
.checkout-panel label:has(input[name=code]) input { letter-spacing: .18em; font-variant-numeric: tabular-nums; }
.rating-picker { padding: 0; margin: 22px 0 0; border: 0; }
.rating-picker legend { font-weight: 600; }
.rating-picker > div { display: flex; gap: 8px; flex-wrap: wrap; }
.rating-picker label { position: relative; display: grid; gap: 0; place-items: center; min-width: 49px; min-height: 55px; margin: 8px 0 0; padding: 4px; border: 1px solid var(--rule); cursor: pointer; }
.rating-picker label:has(input:checked) { background: #f5ebcf; border-color: var(--accent); }
.rating-picker label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.rating-picker input { position: absolute; width: 1px; height: 1px; min-height: 0; opacity: 0; }
.rating-picker label span { color: var(--accent); font-size: 23px; line-height: 1; }
.rating-picker label small { color: var(--muted); font-size: .75rem; }
form label small { color: var(--muted); font-weight: 400; }

[data-wallet-checkout] { margin: 0 0 10px; }
[data-wallet-checkout]:not(.wallet-ready) { visibility: hidden; height: 0; overflow: hidden; margin: 0; }
[data-wallet-checkout] [data-payment][inert] { opacity: .65; }
.wallet-consent { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; cursor: pointer; font-size: .86rem; line-height: 1.45; }
.wallet-consent input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); }
.wallet-status { margin: 7px 0; font-size: .86rem; color: var(--muted); }
.wallet-discount { border: 0; }
.wallet-discount summary { min-height: 44px; font-size: .86rem; color: var(--accent); }
[data-discount] {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 8px;
  margin: 0 0 10px;
}
[data-discount] label { grid-column: 1 / -1; margin: 0; font-size: .83rem; }
[data-discount] input { min-width: 0; width: 100%; min-height: 46px; padding: 8px 10px; border-radius: 7px; font-size: 16px; }
.buy-panel [data-discount] .button { min-height: 46px; justify-content: center; padding: 0 15px; }
[data-discount] .button:disabled { opacity: .65; cursor: wait; }
.checkout-panel textarea { box-sizing: border-box; width: 100%; font: inherit; padding: .7rem; border: 1px solid #aaa; border-radius: 0; }

.store-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  margin-top: clamp(20px, 4vw, 46px);
  overflow: hidden;
  border-radius: 22px;
  background: #fff1b8;
  color: var(--ink);
}
.feature-image { display: block; min-width: 0; overflow: hidden; aspect-ratio: 1.56; background: #edca56; }
.feature-image img, .catalog-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.feature-info { align-self: center; padding: clamp(23px, 3.5vw, 43px); }
.feature-saving { display: inline-block; border: 1px solid #b6a577; padding: 3px 9px; font: 600 .75rem/1.45 var(--display); color: #493615; border-radius: 30px; }
.feature-info h1 { margin: 14px 0 11px; font-size: clamp(35px, 5vw, 65px); line-height: .94; letter-spacing: -.06em; }
.feature-info p { margin: 0 0 15px; max-width: 31ch; color: #463929; line-height: 1.48; }
.feature-price { display: flex; gap: 10px; align-items: baseline; margin-bottom: 17px; }
.feature-price strong { font-size: 1.28rem; }
.feature-price s { color: #66563d; font-size: .92rem; }
.feature-link { background: var(--ink); border-color: var(--ink); color: #fff9ec; border-radius: 30px; }
.feature-link:hover { background: #ffe88e; border-color: #ffe88e; color: #1c180d; }
.catalog { padding-top: clamp(31px, 5vw, 55px); }
.catalog-heading { border-bottom: 1px solid var(--rule); padding-bottom: 12px; }
.catalog-heading h2 { margin: 0; }
.catalog-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(12px, 2vw, 24px); margin-top: 17px; }
.catalog-item { display: block; min-width: 0; color: var(--ink); text-decoration: none; }
.catalog-item h3 { font: 600 clamp(17px, 2.3vw, 29px)/1.14 var(--display); letter-spacing: -.033em; margin: 4px 0 7px; }
.catalog-item:hover h3 { text-decoration: underline; text-underline-offset: .15em; }
.catalog-item small { display: block; margin-top: 10px; font-size: .79rem; color: var(--muted); }
.catalog-item p { margin: 0; font-weight: 600; }
.catalog-image { aspect-ratio: 1; background: #e7e3d8; overflow: hidden; }
.catalog-image img { transition: transform .22s ease-out; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .catalog-item:hover .catalog-image img { transform: scale(1.035); }
}
.product-photo, .gallery-track { aspect-ratio: 1; border-radius: 20px; }
.shop-back { margin-top: 24px; }
.secondary-product { padding-top: 8px; }

.shipping-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 5px 15px;
  color: #26201a;
  background: #f5d368;
  font-size: .78rem;
}
.shipping-strip svg { width: 15px; height: 15px; }
.shop-header {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto auto;
  align-items: center;
  gap: 12px;
  min-height: 70px;
}
.shop-header .brand { justify-self: start; }
.shop-header .brand img { filter: drop-shadow(0 1px 0 #7d5d22); }
.shop-header .shop-icon { border-radius: 50%; background: #f1efea; }
.shop-icon {
  -webkit-appearance: none;
  appearance: none;
  display: grid;
  place-items: center;
  position: relative;
  width: 44px;
  min-height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
}
.shop-icon:hover { background: #f2eee7; }
.shop-header .shop-icon:hover { background: #e7e3db; }
[data-bag-count] {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 17px;
  height: 17px;
  padding: 0 3px;
  color: #fff;
  background: #242019;
  border-radius: 50%;
  font: 600 11px/17px var(--display);
}
.desktop-shop-nav { justify-content: end; }
.desktop-shop-nav a { text-decoration: none; color: var(--ink); }
.desktop-shop-nav a:hover { text-decoration: underline; }
.catalog-card { display: flex; flex-direction: column; min-width: 0; padding: 8px; background: white; border: 1px solid var(--rule); border-radius: 18px; }
.catalog-card .catalog-item { flex: 1; }
.catalog-card .catalog-item > :not(.catalog-image) { margin-inline: 5px; }
.catalog-card .catalog-image { border-radius: 11px; }
.add-to-bag { justify-content: center; gap: 8px; border-radius: 30px; }
.add-to-bag svg { width: 18px; height: 18px; flex: none; }
.catalog-card .add-to-bag { margin: 10px 3px 3px; background: #fff3c3; border-color: #f1dea2; color: var(--ink); padding-inline: 6px; }
.catalog-card .add-to-bag:hover { background: #f3efe8; }
.buy-panel > .add-to-bag { margin: 0 0 9px; }
.buy-panel > .card-checkout-link { justify-content: center; border-radius: 4px; }
.buy-panel > .add-to-bag ~ .card-checkout-link { background: transparent; color: var(--ink); border-color: #aaa197; }
.store-service { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 36px; padding: 13px 0; border-top: 1px solid var(--rule); font-size: .87rem; }
.store-service p { margin: 0; }
.store-service a { margin-left: auto; }
.shop-drawer {
  position: fixed;
  inset: 0;
  width: min(100%, 420px);
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0 0 0 auto;
  padding: 18px 22px 28px;
  overflow-y: auto;
  border: 0;
  background: #fff;
  color: var(--ink);
}
.menu-drawer { margin: 0 auto 0 0; }
.shop-drawer::backdrop { background: #17130fb3; }
.drawer-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--rule); }
.drawer-header h2 { margin: 0; font-size: 1.6rem; }
.drawer-links { display: grid; gap: 0; margin-top: 14px; }
.drawer-links a { display: flex; align-items: center; min-height: 48px; color: var(--ink); text-decoration: none; }
.drawer-links a:hover { text-decoration: underline; }
.drawer-extras { border-top: 1px solid var(--rule); padding-top: 10px; }
.bag-items { padding: 0; margin: 0; list-style: none; }
.bag-items li { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: baseline; gap: 2px 16px; padding-top: 17px; border-bottom: 1px solid var(--rule); }
.bag-items button { width: max-content; min-height: 44px; padding: 0; border: 0; background: none; color: var(--accent); text-decoration: underline; cursor: pointer; font: inherit; font-size: .86rem; }
.bag-saving { color: var(--accent); }
.bag-checkout a { width: 100%; justify-content: center; margin-top: 8px; }
@media (max-width:640px) {
  .shop-header { grid-template-columns: 44px minmax(0,1fr) 44px; gap: 5px; min-height: 57px; }
  .shop-header .brand { justify-self: center; gap: 7px; font-size: .94rem; white-space: nowrap; }
  .desktop-shop-nav { display: none; }
  .store-feature { grid-template-columns: minmax(0,1fr) minmax(0,1.17fr); margin-top: 14px; border-radius: 18px; }
  .feature-image { aspect-ratio: auto; display: grid; align-items: center; padding: 7px; background: #edca56; }
  .feature-image img { aspect-ratio: 1; height: auto; border-radius: 11px; }
  .feature-info { padding: 13px 12px 14px; }
  .feature-info h1 { font-size: clamp(23px, 6.8vw, 42px); margin: 8px 0 6px; }
  .feature-info p { max-width: none; margin-bottom: 6px; font-size: .77rem; }
  .feature-price { margin-bottom: 8px; }
  .feature-price strong { font-size: 1.04rem; }
  .feature-price s { font-size: .75rem; }
  .feature-link { width: 100%; gap: 3px; min-height: 44px; font-size: .76rem; padding-inline: 9px; }
  .catalog-card .add-to-bag { min-height: 44px; font-size: .83rem; }
  .catalog-card .add-to-bag svg { width: 15px; }
}
@media (min-width: 850px) {
  .catalog-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
.stock-preview { margin: 0 0 29px; }
.stock-preview h2 { margin-bottom: 8px; }
.stock-preview p { color: var(--muted); margin: 0 0 14px; }
.stock-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.stock-grid a { display: block; overflow: hidden; border: 1px solid var(--rule); border-radius: 14px; color: var(--ink); background: white; text-decoration: none; }
.stock-grid a:hover { text-decoration: underline; }
.stock-grid img { width: 100%; height: auto; aspect-ratio: 1.25; display: block; object-fit: cover; background: #edeae3; }
.stock-grid > a > span { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 3px; padding: 8px; min-height: 44px; font-size: .83rem; line-height: 1.2; }
@media (max-width: 420px) {
  .stock-grid { gap: 6px; }
  .stock-grid > a > span { font-size: .73rem; padding-inline: 6px; }
}
