:root {
  color-scheme: light;
  --ink: #1d1f1a;
  --paper: #f3f1eb;
  --white: #fff;
  --orange: #ee684a;
  --lime: #efff9b;
  --purple: #d8d4ff;
  --muted: #77776e;
  --line: rgba(29, 31, 26, 0.13);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --page-width: 1320px;
}

* { box-sizing: border-box; }

html { overflow-x: hidden; scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  margin: 0;
  min-width: 320px;
  padding-bottom: 96px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body.drawer-open,
body.dialog-open { overflow: hidden; }

button,
input,
select { font: inherit; }

button,
a,
select { -webkit-tap-highlight-color: transparent; }

button { color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.65; }
[hidden] { display: none !important; }

.page-shell { width: min(calc(100% - 64px), var(--page-width)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.announcement-bar {
  padding: 10px 20px;
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.announcement-bar span { padding-inline: 8px; color: var(--lime); }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 14px max(32px, calc((100% - var(--page-width)) / 2));
  border-bottom: 1px solid rgba(29, 31, 26, 0.08);
  background: rgba(243, 241, 235, 0.94);
  backdrop-filter: blur(18px);
}

.brand-lockup { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 9px; }
.brand-logo { width: 43px; height: 43px; border: 1px solid rgba(29, 31, 26, 0.1); border-radius: 50%; background: #08060e; object-fit: cover; }
.wordmark {
  flex: 0 0 auto;
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -0.085em;
}

.wordmark span { color: var(--orange); }

.desktop-navigation { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.desktop-navigation a,
.footer-links a,
.footer-links button { transition: color 160ms ease; }
.desktop-navigation a { color: #55564f; font-size: 13px; font-weight: 600; }
.desktop-navigation a:hover,
.footer-links a:hover,
.footer-links button:hover { color: var(--orange); }

.header-tools { display: flex; align-items: center; gap: 15px; }

.header-search {
  display: flex;
  width: clamp(180px, 20vw, 260px);
  height: 42px;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}

.header-search svg { width: 17px; color: #65665e; }
.header-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 12px; }
.header-search input::placeholder { color: #92928b; }
.header-search kbd { color: #999991; font-size: 12px; }

.icon-button {
  position: relative;
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  transition: background 160ms ease, transform 160ms ease;
}

.icon-button:hover { transform: translateY(-1px); background: rgba(29, 31, 26, 0.06); }
.icon-button svg { width: 19px; height: 19px; }
.icon-label { font-size: 11px; font-weight: 600; }

.count-badge {
  position: absolute;
  top: 0;
  right: -2px;
  display: grid;
  min-width: 18px;
  height: 18px;
  place-items: center;
  padding: 0 4px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
}

.account-button {
  min-height: 42px;
  padding: 0 19px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease;
}

.account-button:hover,
.button-dark:hover { transform: translateY(-2px); background: #35372f; }
.menu-button,
.mobile-navigation { display: none; }

.hero {
  display: grid;
  min-height: 650px;
  align-items: stretch;
  padding-top: 46px;
  grid-template-columns: 0.93fr 1.07fr;
}

.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 40px 32px 55px 3.8vw; }
.eyebrow { margin: 0; color: #76766d; font-size: 10px; font-weight: 700; letter-spacing: 0.17em; line-height: 1.5; text-transform: uppercase; }
.eyebrow-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--orange); vertical-align: 1px; }

.hero h1 {
  margin: 26px 0 20px;
  font-size: clamp(58px, 7.3vw, 104px);
  font-weight: 750;
  letter-spacing: -0.085em;
  line-height: 0.93;
}

.hero h1 em,
.editorial-copy h2 em { color: var(--orange); font-family: var(--serif); font-weight: 400; letter-spacing: -0.065em; }
.hero-description { max-width: 390px; margin: 0; color: #696a61; font-size: 15px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 29px; }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 21px;
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button span { font-size: 16px; }
.button-dark { background: var(--ink); color: var(--white); }
.button-light { background: var(--lime); color: var(--ink); }
.button-light:hover { transform: translateY(-2px); background: #e4f48e; }
.quiet-link { color: #65665e; font-size: 12px; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(29, 31, 26, 0.25); text-underline-offset: 4px; }
.quiet-link:hover { color: var(--orange); text-decoration-color: currentColor; }

.hero-proof { display: flex; align-items: center; gap: 13px; margin-top: 46px; }
.proof-avatars { display: flex; align-items: center; padding-left: 3px; }
.proof-avatars span,
.proof-avatars b { display: grid; width: 31px; height: 31px; place-items: center; margin-left: -4px; border: 2px solid var(--paper); border-radius: 50%; background: #d1a888; color: var(--ink); font-size: 8px; font-weight: 700; }
.proof-avatars span:nth-child(2) { background: #b6b8a5; }
.proof-avatars span:nth-child(3) { background: #d9b8a7; }
.proof-avatars b { background: var(--lime); font-size: 16px; }
.hero-proof p { margin: 0; color: #77776e; font-size: 10px; line-height: 1.5; }
.hero-proof strong { color: var(--ink); }

.hero-visual { position: relative; min-height: 550px; overflow: hidden; border-radius: 8px 8px 8px 120px; background: #d7d0c3; }
.hero-visual > img { width: 100%; height: 100%; min-height: 550px; object-fit: cover; }
.hero-visual::after { position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(20, 20, 16, 0.45)); content: ""; pointer-events: none; }
.hero-sticker { position: absolute; z-index: 1; top: 32px; right: 31px; display: flex; width: 118px; height: 118px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid rgba(29, 31, 26, 0.12); border-radius: 50%; background: var(--lime); text-align: center; transform: rotate(9deg); }
.hero-sticker span { font-size: 6px; font-weight: 800; letter-spacing: 0.1em; }
.hero-sticker b { font-size: 18px; letter-spacing: -0.08em; line-height: 0.95; }
.hero-image-note { position: absolute; z-index: 1; right: 27px; bottom: 23px; left: 30px; display: flex; justify-content: space-between; color: var(--white); font-size: 9px; font-weight: 700; letter-spacing: 0.16em; }

.trust-strip { display: flex; justify-content: center; gap: clamp(35px, 8vw, 130px); padding-block: 35px; border-bottom: 1px solid var(--line); }
.trust-strip p { margin: 0; color: #67685f; font-size: 11px; font-weight: 600; }
.trust-strip span { margin-right: 8px; color: var(--orange); font-size: 15px; }

.categories-section,
.catalogue-section { padding-block: 112px 35px; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.section-heading h2 { margin: 11px 0 0; font-size: clamp(36px, 4.7vw, 58px); font-weight: 700; letter-spacing: -0.075em; line-height: 1.02; }
.section-heading > .quiet-link { margin-bottom: 9px; }
.category-grid { display: grid; margin-top: 37px; gap: 16px; grid-template-columns: repeat(5, minmax(0, 1fr)); }

.category-card { position: relative; min-width: 0; overflow: hidden; padding: 0; border: 0; border-radius: 6px; background: #ded8ce; text-align: left; }
.category-card img { width: 100%; aspect-ratio: 0.9; object-fit: cover; transition: transform 500ms ease; }
.category-card:hover img { transform: scale(1.05); }
.category-card::after { position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(25, 24, 21, 0.65)); content: ""; }
.category-card span { position: absolute; z-index: 1; right: 15px; bottom: 15px; left: 15px; color: var(--white); font-size: 17px; font-weight: 700; letter-spacing: -0.04em; }
.category-card span small { display: block; margin-top: 4px; color: rgba(255, 255, 255, 0.76); font-size: 9px; font-weight: 500; letter-spacing: 0.05em; }

.editorial-section { display: grid; min-height: 490px; margin-top: 108px; overflow: hidden; border-radius: 5px; background: var(--purple); grid-template-columns: 1fr 1fr; }
.editorial-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(40px, 7vw, 90px); }
.editorial-copy h2 { margin: 20px 0 14px; font-size: clamp(42px, 5vw, 68px); font-weight: 700; letter-spacing: -0.085em; line-height: 0.98; }
.editorial-copy > p:not(.eyebrow) { max-width: 340px; margin: 0 0 25px; color: #5e5c70; font-size: 13px; line-height: 1.8; }
.editorial-image { position: relative; min-height: 450px; }
.editorial-image img { width: 100%; height: 100%; object-fit: cover; }
.editorial-image span { position: absolute; right: 20px; bottom: 20px; padding: 10px 14px; border-radius: 999px; background: var(--white); font-size: 10px; font-weight: 700; }

.catalogue-section { padding-top: 110px; scroll-margin-top: 85px; }
.catalogue-heading { align-items: end; }
.sort-control { display: flex; align-items: center; gap: 11px; color: var(--muted); font-size: 11px; font-weight: 600; }
.sort-control select { min-width: 150px; padding: 12px 31px 12px 14px; border: 1px solid var(--line); border-radius: 999px; outline: none; appearance: none; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4 3 3 3-3' fill='none' stroke='%231d1f1a'/%3E%3C/svg%3E") no-repeat right 12px center; color: var(--ink); font-size: 11px; font-weight: 600; }
.catalogue-toolbar { display: flex; min-height: 64px; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px; border-bottom: 1px solid var(--line); }
.category-filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.category-filters::-webkit-scrollbar { display: none; }
.filter-chip { flex: 0 0 auto; padding: 9px 14px; border: 1px solid transparent; border-radius: 999px; background: transparent; color: #77776e; font-size: 11px; font-weight: 600; transition: all 150ms ease; }
.filter-chip:hover { border-color: var(--line); color: var(--ink); }
.filter-chip.active { border-color: var(--ink); background: var(--ink); color: var(--white); }
.result-count { flex: 0 0 auto; margin: 0; color: var(--muted); font-size: 10px; }

.product-grid { display: grid; margin-top: 28px; gap: 43px 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-grid.search-results { display: flex; flex-direction: column; gap: 0; }
.product-name-result { padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; font-size: 15px; font-weight: 600; text-align: left; }
.product-name-result:hover { color: var(--orange); }
.product-card { min-width: 0; animation: fade-up 350ms ease both; }
.product-image-wrap { position: relative; overflow: hidden; background: #e6e2d9; }
.product-image-button { display: block; width: 100%; padding: 0; border: 0; background: transparent; }
.product-image { width: 100%; aspect-ratio: 0.83; object-fit: cover; transition: transform 450ms ease; }
.product-card:hover .product-image { transform: scale(1.035); }
.product-badge { position: absolute; top: 12px; left: 12px; padding: 7px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.91); font-size: 8px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.product-badge.sold-out { background: #eee4dc; color: #7b4437; }
.favorite-button { position: absolute; top: 10px; right: 10px; display: grid; width: 37px; height: 37px; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.92); transition: transform 160ms ease, background 160ms ease; }
.favorite-button:hover { transform: scale(1.08); }
.favorite-button svg { width: 17px; height: 17px; }
.favorite-button.active { background: var(--orange); color: var(--white); }
.favorite-button.active svg { fill: currentColor; }
.product-card-info { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-top: 14px; }
.product-title { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: -0.025em; }
.product-meta { margin: 5px 0 0; color: var(--muted); font-size: 10px; }
.product-price { flex: 0 0 auto; margin: 0; font-size: 12px; font-weight: 700; }
.seller-byline { display: flex; align-items: center; gap: 5px; margin-top: 10px; color: #77776e; font-size: 9px; }
.seller-byline svg { width: 12px; height: 12px; color: #73844e; }
.seller-rating { margin-left: auto; color: var(--ink); font-size: 9px; font-weight: 600; }
.add-button { display: flex; width: 100%; min-height: 40px; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; padding: 8px; border: 1px solid var(--line); border-radius: 999px; background: transparent; font-size: 10px; font-weight: 700; transition: all 160ms ease; }
.add-button:hover:not(:disabled) { border-color: var(--ink); background: var(--ink); color: var(--white); }
.add-button:disabled { cursor: not-allowed; opacity: 0.58; }
.add-button svg { width: 15px; height: 15px; }

.empty-state { padding: 75px 20px; text-align: center; }
.empty-state > span { color: var(--orange); font-size: 30px; }
.empty-state h3 { margin: 14px 0 6px; font-size: 23px; letter-spacing: -0.04em; }
.empty-state p { margin: 0 0 22px; color: var(--muted); font-size: 12px; }
.loading-state { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 32px; color: #77776e; font-size: 11px; }
.loading-spinner { width: 17px; height: 17px; border: 2px solid var(--line); border-top-color: var(--orange); border-radius: 50%; animation: spin 650ms linear infinite; }
.scroll-sentinel { height: 1px; }
.newsletter { display: grid; align-items: center; gap: 14px 45px; padding-block: 90px; grid-template-columns: 1fr 0.8fr; }
.newsletter h2 { margin: 10px 0 0; font-size: clamp(26px, 3.1vw, 39px); letter-spacing: -0.07em; }
.newsletter-form { display: flex; min-height: 53px; align-items: center; padding: 5px 6px 5px 17px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.newsletter-form input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 11px; }
.newsletter-form button { min-width: 91px; height: 41px; border: 0; border-radius: 999px; background: var(--lime); font-size: 10px; font-weight: 700; }
.newsletter-form button span { margin-left: 8px; font-size: 14px; }
.newsletter-note { grid-column: 2; margin: -3px 0 0 17px; color: var(--muted); font-size: 9px; }

.site-footer { background: #e9e7df; }
.footer-main { display: grid; gap: 40px; padding-block: 57px 49px; grid-template-columns: 1.3fr 0.8fr 0.9fr 0.7fr; }
.footer-brand .wordmark { display: inline-block; }
.footer-brand p,
.footer-note p { color: #707067; font-size: 11px; line-height: 1.8; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-links h2 { margin: 5px 0 6px; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-links a,
.footer-links button { padding: 0; border: 0; background: none; color: #707067; font-size: 10px; }
.footer-note { text-align: right; }
.footer-note > span:first-child { color: #77776e; font-size: 8px; font-weight: 700; letter-spacing: 0.1em; }
.footer-triangle { position: relative; display: block; width: 42px; height: 39px; margin: 13px 0 8px auto; filter: drop-shadow(0 5px 3px rgba(13, 30, 18, 0.2)); transform: rotate(-8deg); }
.triangle-shadow,
.triangle-face { position: absolute; inset: 0; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.triangle-shadow { background: #101914; transform: translate(6px, 5px); }
.triangle-face-left { background: linear-gradient(145deg, #385c40, #15251b 78%); }
.triangle-face-right { background: linear-gradient(155deg, #17241b, #050806 86%); clip-path: polygon(50% 0, 100% 100%, 50% 100%); }
.footer-bottom { display: flex; justify-content: space-between; gap: 15px; padding-block: 17px; border-top: 1px solid rgba(29, 31, 26, 0.13); color: #797970; font-size: 9px; }
.footer-bottom a { color: var(--ink); font-weight: 700; }

.drawer-backdrop { position: fixed; z-index: 40; inset: 0; background: rgba(20, 20, 17, 0.42); opacity: 0; transition: opacity 200ms ease; }
.drawer-backdrop.visible { opacity: 1; }
.cart-drawer { position: fixed; z-index: 41; top: 0; right: 0; display: flex; width: min(460px, 100%); height: 100dvh; flex-direction: column; padding: 28px; background: var(--paper); box-shadow: -15px 0 50px rgba(0, 0, 0, 0.12); transform: translateX(105%); transition: transform 250ms ease; }
.cart-drawer:not(.open) { pointer-events: none; }
.cart-drawer.open { transform: translateX(0); }
.drawer-heading { display: flex; align-items: center; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.drawer-heading h2 { margin: 6px 0 0; font-size: 27px; letter-spacing: -0.06em; }
.drawer-heading h2 span { color: var(--muted); font-size: 13px; font-weight: 500; letter-spacing: 0; }
.close-button { display: grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(29, 31, 26, 0.07); font-size: 25px; line-height: 1; }
.close-button:hover { background: rgba(29, 31, 26, 0.13); }
.cart-items { flex: 1; overflow-y: auto; }
.cart-row { display: grid; align-items: center; gap: 14px; padding-block: 17px; border-bottom: 1px solid var(--line); grid-template-columns: 75px 1fr auto; }
.cart-row img { width: 75px; height: 85px; object-fit: cover; }
.cart-row h3 { margin: 0; font-size: 12px; }
.cart-row p { margin: 5px 0 0; color: var(--muted); font-size: 10px; }
.quantity-control { display: inline-flex; align-items: center; gap: 12px; margin-top: 10px; }
.quantity-control button { display: grid; width: 25px; height: 25px; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 14px; }
.quantity-control output { min-width: 9px; font-size: 10px; text-align: center; }
.cart-line-price { align-self: start; font-size: 11px; font-weight: 700; }
.cart-empty { display: none; flex: 1; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.cart-empty.visible { display: flex; }
.cart-empty > span { color: var(--orange); font-size: 34px; }
.cart-empty h3 { max-width: 240px; margin: 15px 0 5px; font-size: 20px; letter-spacing: -0.05em; }
.cart-empty p { max-width: 240px; margin: 0 0 20px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.cart-summary { padding-top: 16px; border-top: 1px solid var(--line); }
.cart-summary > div { display: flex; justify-content: space-between; padding-block: 8px; font-size: 11px; }
.cart-summary > div strong { font-size: 11px; }
.cart-summary .cart-total { margin-top: 4px; padding-top: 13px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 700; }
.cart-summary .cart-total strong { font-size: 15px; }
.cart-summary > p { margin: 9px 0 14px; color: var(--muted); font-size: 9px; }
.checkout-button { width: 100%; }
.cart-summary > small { display: block; margin-top: 10px; color: var(--muted); font-size: 8px; text-align: center; }

.floating-toolbar {
  position: fixed;
  z-index: 35;
  right: 50%;
  bottom: 18px;
  display: flex;
  width: min(390px, calc(100% - 32px));
  min-height: 65px;
  align-items: center;
  justify-content: space-around;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(29, 31, 26, 0.96);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
  color: var(--white);
  transform: translateX(50%);
  backdrop-filter: blur(16px);
}

.toolbar-item {
  display: flex;
  min-width: 67px;
  min-height: 50px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 5px 8px;
  border: 0;
  border-radius: 15px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
  font-weight: 600;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.toolbar-item svg { width: 19px; height: 19px; }
.toolbar-item:hover:not(:disabled) { transform: translateY(-2px); color: var(--white); }
.toolbar-item.active { background: var(--lime); color: var(--ink); }
.toolbar-item:disabled { cursor: not-allowed; opacity: 0.55; }

dialog { color: var(--ink); }
.product-dialog,
.account-dialog,
.settings-dialog { position: fixed; max-height: min(90dvh, 850px); padding: 0; border: 0; background: var(--paper); box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25); }
dialog::backdrop { background: rgba(20, 20, 17, 0.52); backdrop-filter: blur(5px); }
.product-dialog { width: min(820px, calc(100% - 28px)); overflow: auto; }
.dialog-close { position: absolute; z-index: 2; top: 15px; right: 15px; }
.product-detail { display: grid; min-height: 450px; grid-template-columns: 1fr 1fr; }
.detail-image { position: relative; min-height: 450px; background: #e6e2d9; }
.detail-image img { width: 100%; height: 100%; min-height: 450px; object-fit: cover; }
.detail-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 43px; }
.detail-copy h2 { margin: 10px 0; font-size: 34px; letter-spacing: -0.07em; line-height: 1; }
.detail-price { margin: 0; font-size: 19px; font-weight: 700; }
.detail-rating { margin: 12px 0 0; color: #866943; font-size: 10px; }
.detail-description { margin: 18px 0; color: #6b6b62; font-size: 11px; line-height: 1.8; }
.detail-seller { width: 100%; padding-block: 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 10px; line-height: 1.8; }
.detail-seller strong { font-size: 11px; }
.detail-review { margin: 13px 0 20px; color: var(--muted); font-size: 9px; font-style: italic; line-height: 1.6; }
.detail-copy .add-button { margin-top: auto; }

.account-dialog,
.settings-dialog { width: min(440px, calc(100% - 28px)); padding: 40px; }
.account-dialog h2,
.settings-dialog h2 { margin: 8px 0 0; font-size: 35px; letter-spacing: -0.08em; }
.dialog-intro { margin: 12px 0 23px; color: #717168; font-size: 11px; line-height: 1.8; }
.account-form { display: grid; gap: 14px; }
.account-form label { display: grid; gap: 7px; font-size: 10px; font-weight: 700; }
.account-form input { width: 100%; height: 43px; padding: 0 13px; border: 1px solid var(--line); border-radius: 3px; outline: 0; background: var(--white); font-size: 11px; }
.account-form input:focus,
.newsletter-form:focus-within { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(238, 104, 74, 0.12); }
.account-form .button { margin-top: 4px; }
.backend-note { margin: 15px 0 0; color: var(--muted); font-size: 9px; line-height: 1.6; }
.setting-row { display: flex; justify-content: space-between; gap: 15px; padding-block: 17px; border-top: 1px solid var(--line); font-size: 11px; font-weight: 600; }
.setting-row:first-of-type { margin-top: 24px; }
.setting-row input { width: 18px; height: 18px; margin: 0; accent-color: var(--orange); }

.toast { position: fixed; z-index: 80; right: 22px; bottom: 96px; max-width: min(360px, calc(100% - 44px)); padding: 13px 18px; border-radius: 3px; background: var(--ink); color: var(--white); font-size: 11px; opacity: 0; pointer-events: none; transform: translateY(12px); transition: transform 180ms ease, opacity 180ms ease; }
.toast.visible { opacity: 1; transform: translateY(0); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

@media (max-width: 1120px) {
  .site-header { gap: 20px; padding-inline: 24px; }
  .desktop-navigation { gap: 17px; }
  .desktop-navigation a { font-size: 11px; }
  .header-tools { gap: 8px; }
  .icon-label { display: none; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero { min-height: 580px; }
  .hero-visual,
  .hero-visual > img { min-height: 500px; }
}

@media (max-width: 780px) {
  .page-shell { width: min(calc(100% - 40px), var(--page-width)); }
  .site-header { min-height: 72px; padding-inline: 20px; }
  .desktop-navigation { display: none; }
  .header-tools { margin-left: auto; }
  .header-search { width: clamp(120px, 20vw, 160px); }
  .menu-button { display: inline-flex; }
  .mobile-navigation:not([hidden]) { position: absolute; top: calc(100% - 1px); right: 0; left: 0; display: grid; gap: 0; padding: 8px 20px 17px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 12px 20px rgba(29, 31, 26, 0.08); }
  .mobile-navigation a { padding: 13px 2px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; }
  .mobile-navigation a:last-child { border: 0; }
  .hero { min-height: 0; padding-top: 25px; grid-template-columns: 1fr 0.95fr; }
  .hero-copy { padding: 28px 15px 35px 0; }
  .hero h1 { font-size: clamp(53px, 9.5vw, 76px); }
  .hero-description { font-size: 13px; }
  .hero-visual,
  .hero-visual > img { min-height: 430px; }
  .hero-visual { border-bottom-left-radius: 80px; }
  .hero-sticker { top: 20px; right: 16px; width: 91px; height: 91px; }
  .hero-sticker b { font-size: 14px; }
  .hero-sticker span { font-size: 5px; }
  .hero-proof { margin-top: 30px; }
  .trust-strip { gap: 22px; }
  .trust-strip p { font-size: 9px; }
  .categories-section,
  .catalogue-section { padding-top: 80px; }
  .category-grid { gap: 11px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-card:nth-child(n + 4) { display: none; }
  .category-card img { aspect-ratio: 1.1; }
  .editorial-section { min-height: 390px; margin-top: 80px; }
  .editorial-copy { padding: 34px; }
  .editorial-image { min-height: 390px; }
  .section-heading h2 { font-size: 43px; }
  .product-grid { gap: 35px 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-main { gap: 28px; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
  html { scroll-padding-top: 75px; }
  .page-shell { width: calc(100% - 32px); }
  body { padding-bottom: 96px; }
  .announcement-bar { padding: 9px 10px; font-size: 9px; }
  .site-header { min-height: 64px; gap: 8px; padding-inline: 13px; }
  .brand-lockup { gap: 6px; }
  .brand-logo { width: 37px; height: 37px; }
  .wordmark { font-size: 23px; }
  .header-tools { gap: 3px; }
  .header-search { width: 38px; height: 40px; justify-content: center; padding: 0; border: 0; background: transparent; }
  .header-search input,
  .header-search kbd { display: none; }
  .header-search svg { width: 20px; }
  .header-search.expanded { position: absolute; z-index: 3; top: 12px; right: 12px; left: 12px; width: auto; height: 40px; justify-content: flex-start; padding-inline: 12px; border: 1px solid var(--line); background: var(--white); }
  .header-search.expanded input { display: block; }
  .icon-button { min-width: 37px; min-height: 40px; padding: 0 6px; }
  .icon-button svg { width: 18px; height: 18px; }
  .account-button { display: none; }
  #signInButton:not([hidden]),
  #myAccountButton:not([hidden]) { display: inline-flex; min-height: 36px; align-items: center; padding-inline: 10px; white-space: nowrap; }
  .count-badge { top: 0; right: -1px; min-width: 16px; height: 16px; font-size: 9px; }
  .hero { padding-top: 18px; grid-template-columns: 1fr; }
  .hero-copy { padding: 33px 8px 24px; }
  .hero h1 { margin-top: 20px; font-size: clamp(59px, 17vw, 84px); }
  .hero-description { max-width: 350px; font-size: 13px; }
  .hero-actions { gap: 15px; margin-top: 22px; }
  .button { min-height: 46px; padding-inline: 17px; font-size: 11px; }
  .hero-actions .quiet-link { font-size: 10px; }
  .hero-proof { margin-top: 24px; }
  .hero-visual { min-height: 365px; border-radius: 4px 4px 4px 78px; }
  .hero-visual > img { min-height: 365px; }
  .hero-sticker { top: 15px; right: 15px; }
  .hero-image-note { right: 18px; bottom: 17px; left: 18px; font-size: 8px; }
  .trust-strip { justify-content: space-between; gap: 7px; padding-block: 22px; }
  .trust-strip p { max-width: 105px; font-size: 8px; line-height: 1.5; }
  .trust-strip span { margin-right: 3px; }
  .categories-section,
  .catalogue-section { padding-top: 70px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 15px; }
  .section-heading h2 { font-size: 39px; }
  .section-heading > .quiet-link { margin: 0; }
  .category-grid { gap: 9px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-card:nth-child(3) { display: block; }
  .category-card:nth-child(n + 4) { display: none; }
  .category-card img { aspect-ratio: 1.17; }
  .category-card span { right: 11px; bottom: 11px; left: 11px; font-size: 14px; }
  .category-card span small { font-size: 8px; }
  .editorial-section { margin-top: 70px; grid-template-columns: 1fr; }
  .editorial-copy { min-height: 325px; padding: 33px 26px; }
  .editorial-copy h2 { font-size: 51px; }
  .editorial-image { min-height: 270px; }
  .editorial-image img { position: absolute; inset: 0; }
  .catalogue-heading { flex-direction: row; align-items: flex-end; gap: 10px; }
  .catalogue-heading h2 { max-width: 240px; font-size: 37px; }
  .catalogue-heading .eyebrow { max-width: 200px; font-size: 8px; }
  .sort-control { flex-direction: column; align-items: flex-end; gap: 4px; font-size: 9px; }
  .sort-control select { min-width: 120px; padding-block: 10px; font-size: 9px; }
  .catalogue-toolbar { align-items: flex-start; flex-direction: column; gap: 7px; padding-block: 10px; }
  .category-filters { width: 100%; }
  .filter-chip { padding: 8px 11px; font-size: 10px; }
  .result-count { align-self: flex-end; font-size: 9px; }
  .product-grid { gap: 29px 11px; margin-top: 20px; }
  .product-image { aspect-ratio: 0.78; }
  .product-badge { top: 8px; left: 8px; padding: 6px 7px; font-size: 7px; }
  .favorite-button { top: 7px; right: 7px; width: 33px; height: 33px; }
  .product-card-info { gap: 5px; padding-top: 11px; }
  .product-title { font-size: 11px; }
  .product-meta { font-size: 9px; }
  .product-price { font-size: 10px; }
  .seller-byline { flex-wrap: wrap; gap: 4px; font-size: 8px; }
  .seller-rating { margin-left: 0; }
  .add-button { min-height: 36px; margin-top: 9px; font-size: 9px; }
  .newsletter { gap: 18px; padding-block: 66px; grid-template-columns: 1fr; }
  .newsletter h2 { max-width: 340px; font-size: 34px; }
  .newsletter-note { grid-column: 1; margin: -9px 0 0 9px; }
  .footer-main { gap: 29px 18px; padding-block: 43px 35px; grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-note { text-align: left; }
  .footer-bottom { flex-wrap: wrap; font-size: 8px; }
  .footer-bottom span:nth-child(2) { display: none; }
  .cart-drawer { padding: 21px 17px; }
  .floating-toolbar { bottom: 10px; width: min(390px, calc(100% - 24px)); min-height: 60px; }
  .toolbar-item { flex: 1; min-width: 0; min-height: 46px; }
  .product-detail { grid-template-columns: 1fr; }
  .detail-image,
  .detail-image img { min-height: 320px; max-height: 43dvh; }
  .detail-copy { padding: 25px; }
  .detail-copy h2 { font-size: 29px; }
  .account-dialog,
  .settings-dialog { padding: 33px 24px 25px; }
}

@media (max-width: 380px) {
  .header-search { display: none; }
  .header-tools { gap: 0; }
  .icon-button { min-width: 32px; padding-inline: 4px; }
  #signInButton:not([hidden]),
  #myAccountButton:not([hidden]) { padding-inline: 7px; }
}

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

#signInButton[hidden],
#myAccountButton[hidden] {
    display: none !important;
}

#accountEmail {
    margin: 20px 0;
    color: #666;
    overflow-wrap: anywhere;
}

#logoutButton {
    width: 100%;
}

/* Account button — USER and ADMIN */

.account-split {
  display: inline-flex;
  align-items: stretch;
  overflow: hidden;
  border-radius: 12px;
  flex-shrink: 0;
}

.account-split[hidden],
.account-half[hidden] {
  display: none !important;
}

.account-split .account-half {
  border-radius: 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  white-space: nowrap;
  min-height: 42px;
}

.account-split .account-half:only-child,
.account-split .account-half:first-child {
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

.account-split .account-half:last-child {
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}

.account-split .admin-half {
  background: #91c153;
  color: #000000;
  border: 1px solid #b9f56a;
  border-left: 1px solid rgba(0, 0, 0, 0.18);
  font-weight: 700;
}

.account-split .admin-half:hover {
  background: #000000;
}

@media (max-width: 600px) {
  .account-split .account-half {
    padding: 9px 11px;
    font-size: 12px;
  }
}