@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500&display=swap');

:root {
  --paper: #faf8f4;
  --surface: #fffefa;
  --ink: #22201c;
  --muted: #625d53;
  --gold: #785829;
  --line: #dcd6ca;
  --sand: #efeae1;
  --serif: "Playfair Display", Georgia, serif;
  --gutter: clamp(18px, 5vw, 80px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font: 16px/1.55 "DM Sans", Arial, sans-serif; }
main { flex: 1; min-width: 0; }
a { color: inherit; text-decoration: none; }
a:hover, .text-action:hover { color: var(--gold); }
button, input, textarea { font: inherit; }
button, summary { cursor: pointer; }
button { color: inherit; }
button:disabled { cursor: default; opacity: .55; }
input, textarea { min-width: 0; width: 100%; min-height: 46px; padding: 10px 13px; color: var(--ink); background: white; border: 1px solid #a9a293; border-radius: 2px; }
input[type=radio] { width: 18px; min-height: 0; height: 18px; accent-color: var(--ink); flex: none; }
:focus-visible { outline: 3px solid #94671e; outline-offset: 3px; }
h1, h2, .card h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: -.045em; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.65rem, 5.3vw, 5rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.55rem); }
p { margin: 0 0 1em; }
img { display: block; max-width: 100%; }
.wrap, .geo-faq-section { width: min(calc(100% - 2 * var(--gutter)), 1320px); margin-inline: auto; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 20px; border: 1px solid var(--ink); border-radius: 2px; background: transparent; color: var(--ink); font-size: .9rem; font-weight: 600; line-height: 1.4; text-align: center; }
.button:hover { background: #eee7da; color: var(--ink); }
.primary { background: var(--ink); color: #fff; }
.primary:hover { background: #463b2d; border-color: #463b2d; color: #fff; }
.text-action, .back-link { display: inline-flex; align-items: center; justify-self: start; min-height: 44px; border: 0; padding: 0; background: transparent; color: var(--gold); font-size: .92rem; text-decoration: underline; text-underline-offset: 4px; }
.back-link { gap: 8px; margin-bottom: 13px; color: var(--muted); }
.back-link::before { content: "←"; }
.skip-link, .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { inset: 8px auto auto 8px; width: auto; height: auto; margin: 0; padding: 12px; clip-path: none; z-index: 10; background: white; color: var(--ink); }
.top, .header { padding-inline: max(var(--gutter), calc((100vw - 1420px) / 2)); }
.top { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 34px; background: #292721; color: #fff9ef; font-size: .76rem; }
.top > span { text-transform: uppercase; letter-spacing: .12em; }
.top a { padding-block: 7px; text-decoration: underline; text-underline-offset: 3px; }
.top a:hover, .footer a:hover { color: #e6c693; }
.header { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; min-height: 82px; border-bottom: 1px solid var(--line); background: var(--surface); }
.logo { font: 600 clamp(1.4rem, 2.3vw, 2.05rem)/1 var(--serif); letter-spacing: .12em; }
.logo span { color: var(--gold); }
.category-nav, .header-actions, .footer nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 38px); }
.header nav a, .header-actions a { display: inline-flex; align-items: center; min-height: 44px; font-size: .92rem; }
.header a[aria-current] { text-decoration: underline; text-underline-offset: 6px; }
.header-actions { justify-self: end; gap: clamp(12px, 1.7vw, 26px); }
.cart-toggle,
.wishlist-toggle { gap: 7px; white-space: nowrap; }
#cart-badge,
#wishlist-badge {
  display: inline-grid;
  place-items: center;
  min-width: 21px;
  height: 21px;
  padding-inline: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--sand);
  font-size: .72rem;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  flex: 0 0 auto;
  box-sizing: border-box;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
#cart-badge:not([data-count="0"]),
#wishlist-badge:not([data-count="0"]) { color: #fff; }
#cart-badge:not([data-count="0"]) { background: var(--ink); border-color: var(--ink); }
#wishlist-badge:not([data-count="0"]) { background: var(--gold); border-color: var(--gold); }
.cart-toggle:hover #cart-badge:not([data-count="0"]) { background: var(--gold); border-color: var(--gold); }
.wishlist-toggle:hover #wishlist-badge:not([data-count="0"]) { background: var(--ink); border-color: var(--ink); }
.footer { background: #292721; color: #fff9ed; }
.footer-inner { min-height: 137px; padding-block: 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer .logo span { color: #c9a66a; }
.footer p { margin: 10px 0 0; color: #d9d1c5; font-size: .86rem; }
.footer nav { flex-wrap: wrap; font-size: .875rem; }
.footer nav a { padding-block: 10px; }
.eyebrow { margin: 0 0 17px; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.hero { display: grid; grid-template-columns: 1fr 1fr; background: #ede5d7; }
.hero-copy { align-self: center; padding: clamp(42px, 5vw, 85px) var(--gutter); }
.hero h1 { font-size: clamp(3.5rem, 7.5vw, 7.6rem); line-height: .98; }
.hero h1 em { color: var(--gold); }
.hero-copy > p:not(.eyebrow) { color: var(--muted); margin: 24px 0; max-width: 32ch; }
.hero-photo { position: relative; display: grid; place-items: center; min-width: 0; overflow: hidden; isolation: isolate; margin: 0; background: radial-gradient(ellipse, #f8f3eb, #dfd2bf); }
.hero-photo img { position: relative; width: 90%; height: clamp(310px, 35vw, 530px); object-fit: contain; mix-blend-mode: multiply; transform: rotate(-12deg) scale(1.13); }
.ring { position: absolute; width: min(71%,450px); aspect-ratio: 1; border-radius: 50%; border: 1px solid #b9a37e; }
.hero-photo figcaption { position: absolute; right: var(--gutter); bottom: 15px; font-size: .66rem; letter-spacing: .12em; }
.store-banner { padding: 14px var(--gutter); background: #e5d4b4; text-align: center; }
.store-banner p { margin: 3px 0 0; }
.catalog { padding-block: clamp(37px, 5.3vw, 82px); }
.catalog-bar { display: flex; align-items: center; justify-content: space-between; margin: 24px 0; gap: 18px; }
.filters, .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.filters a { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 7px 15px; border: 1px solid var(--line); border-radius: 2px; font-size: .86rem; }
.filters a:hover, .filters a[aria-current] { background: var(--ink); border-color: var(--ink); color: white; }
.search { display: flex; gap: 8px; align-items: center; }
.search label { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.search input { width: 175px; }
.note, .card-copy > p { color: var(--muted); font-size: .9rem; }
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 38px 20px; }
.card { display: flex; flex-direction: column; min-width: 0; }
.product-photo, .line-photo, .recommendations img { background: var(--sand); }
.product-photo { display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; }
.product-photo img { width: 100%; height: 100%; min-height: 0; object-fit: contain; mix-blend-mode: multiply; }
.product-photo.cs img { object-fit: cover; }
.card-copy { padding-top: 15px; display: flex; flex-direction: column; flex: 1; }
.card-copy small, .line-item > small:first-child { color: var(--gold); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; }
.card h3 { margin: 6px 0 8px; font-size: clamp(1.2rem, 1.7vw, 1.55rem); }
.card-copy > p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin: 0 0 14px; }
.card-bottom { border-top: 1px solid var(--line); margin-top: auto; padding-top: 12px; display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: 5px 10px; }
.card-bottom > div { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 10px; }
.card-bottom .button { padding-inline: 13px; }
.availability { display: inline-block; font-size: .8rem; }
.availability.available { color: #355b3f; }
.availability.unavailable, .error, [role=alert] { color: #8b3029; }
.cart-feedback { display: block; font-size: .83rem; color: var(--gold); }
.cart-feedback:empty, .notice:empty { display: none; }
.product-layout, .cart-layout, .checkout, .trade-inner { display: grid; grid-template-columns: minmax(0,1.18fr) minmax(0,1fr); gap: clamp(25px,5vw,80px); align-items: start; }
.product-info { padding-block: clamp(0px,3vw,48px); }
.product-info > p { margin: 18px 0; color: var(--muted); }
.product-info p strong { color: var(--ink); font-size: 1.4rem; }
.product-info form { margin-top: 12px; }
.product-info .variant-picker { display: grid; gap: 8px; max-width: 28rem; }
.variant-picker label { font-weight: 600; }
.variant-picker select { min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--ink); font: inherit; }
.product-info form .button { background: var(--ink); color: white; }
.gallery-thumbnails { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.gallery-thumb { background: var(--sand); border: 1px solid var(--line); padding: 4px; width: 60px; height: 60px; }
.gallery-thumb[aria-pressed=true] { border: 2px solid var(--gold); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-story { display: grid; gap: 32px; margin-block: clamp(40px,6vw,90px); }
.product-story-block { display: grid; align-items: center; }
.product-story-block.has-image { grid-template-columns: repeat(2,minmax(0,1fr)); background: var(--sand); }
.product-story-copy { max-width: 72ch; padding: clamp(16px,4vw,60px); }
.product-story-copy p { margin: 0; white-space: pre-line; }
.product-story-block figure { margin: 0; }
.product-story-block img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.product-story-block:nth-child(even) figure { order: -1; }
.geo-faq-section { padding-block: 12px 50px; }
.geo-faq-section h2, .product-faq h2 { font-size: clamp(1.75rem,3vw,2.65rem); margin-bottom: 16px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary, .account-integration summary { padding-block: 14px; font-weight: 600; }
.faq-item p { max-width: 80ch; margin: 0 0 16px; color: var(--muted); }
.category-intro { padding-top: 32px; }
.editorial, .confirmation { max-width: 78ch; }
.editorial h1, .confirmation h1 { margin-bottom: 25px; }
.trade { padding-block: clamp(45px,6vw,100px); background: #332f27; color: #fff7ea; }
.trade .eyebrow { color: #dcc49c; }
.trade h1 + p { margin: 20px 0 0; color: #e2dbce; max-width: 48ch; }
.trade .button { background: #ebd7b3; border-color: #ebd7b3; justify-self: start; }
.trade form, .account-form, .checkout-form, .checkout-form fieldset { display: grid; gap: 16px; }
.trade label, .account-form label, .checkout-form label:not(.radio) { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.trade-message { display: grid; gap: 10px; }
.trade-message textarea { resize: vertical; }
.trade [role=alert] { color: #ffcec5; }
.account-layout { display: grid; grid-template-columns: 1fr 1fr; max-width: 1100px; margin-block: clamp(26px,5vw,72px); background: var(--surface); border: 1px solid var(--line); }
.account-cover { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: end; min-height: 415px; background: #383329; color: white; }
.account-cover img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 53% 36%; transform: scale(1.32); }
.account-cover::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg,transparent 28%,#1d1816ad 65%,#171411f5 100%); }
.account-intro { padding: clamp(24px,3.6vw,52px); }
.account-intro h1 { font-size: clamp(2.7rem,4.6vw,4.65rem); }
.account-intro p { color: #fff9ec; margin: 12px 0 0; }
.account-panel { min-width: 0; align-self: center; padding: clamp(25px,4.6vw,69px); }
.account-panel h2, .cart-articles h2, .summary-panel h2, .cross-sell h2 { font-size: clamp(1.65rem,2.5vw,2.45rem); }
.account-form h2 { margin-bottom: 6px; }
.account-form label + .text-action { margin-top: -8px; }
.form-alternative { margin: 2px 0 0; border-top: 1px solid var(--line); padding-top: 9px; text-align: center; color: var(--muted); font-size: .9rem; }
.notice, .purchase-page [role=alert] { background: var(--sand); padding: 12px 16px; border-left: 3px solid var(--gold); }
.notice.error, .purchase-page [role=alert] { border-color: #8b3029; }
#account-email, #account-orders, #account-mcp-token { overflow-wrap: anywhere; }
#account-email { margin: 7px 0 18px; color: var(--muted); }
#account-orders { list-style: none; margin: 0 0 24px; padding: 0; }
#account-orders li { padding: 12px 0; border-bottom: 1px solid var(--line); }
#account-orders span, #account-orders strong { display: block; }
.account-integration { margin-bottom: 12px; border-block: 1px solid var(--line); }
.account-integration .actions { margin-bottom: 14px; }
#account-mcp-token { padding: 12px; background: var(--sand); }
.purchase-page h1 { margin-bottom: clamp(22px,3.2vw,46px); }
.cart-layout { grid-template-columns: minmax(0,1.65fr) minmax(270px,1fr); }
.cart-articles h2, .checkout-summary h2 { margin-bottom: 18px; }
.cart-lines { list-style: none; border-top: 1px solid var(--line); margin: 0; padding: 0; }
.cart-line { display: grid; grid-template-columns: auto minmax(0,1fr) auto auto; align-items: center; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line-photo { width: clamp(56px,6vw,84px); aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.line-item { grid-column: 2; display: grid; gap: 3px; overflow-wrap: anywhere; }
.line-item > a { font-weight: 600; }
.quantity { display: inline-flex; align-items: center; gap: 5px; font-variant-numeric: tabular-nums; }
.quantity button { width: 40px; min-height: 44px; font-size: 1.12rem; border: 1px solid var(--line); background: var(--surface); }
.quantity button:hover { background: var(--sand); }
.line-price, .totals dd { text-align: right; font-variant-numeric: tabular-nums; }
.summary-panel { border: 1px solid var(--line); background: var(--surface); padding: clamp(20px,2.5vw,38px); }
.summary-panel > .primary { width: 100%; }
.totals { margin: 18px 0; }
.totals > div { display: flex; justify-content: space-between; gap: 15px; padding: 7px 0; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; overflow-wrap: anywhere; }
.coupon-box { margin: 22px 0; padding: 16px; border: 1px solid var(--line); background: var(--sand); }
.coupon-box h3 { margin: 0 0 10px; font-size: 1rem; }
.coupon-box form { display: flex; align-items: end; gap: 10px; flex-wrap: wrap; }
.coupon-box label { display: grid; gap: 5px; flex: 1 1 180px; }
.coupon-box input { min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); background: var(--surface); }
.coupon-box p { margin: 8px 0; }
.totals .grand-total { align-items: baseline; margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 700; }
.grand-total dt { color: var(--ink); }
.grand-total dd { font-size: 1.4rem; }
.empty-cart { display: grid; grid-template-columns: 1.25fr 1fr; background: var(--sand); min-height: 240px; }
.empty-cart > div { align-self: center; padding: clamp(24px,5vw,76px); }
.empty-cart h2 { margin-bottom: 24px; }
.empty-cart img { width: 100%; height: 100%; max-height: 330px; object-fit: cover; }
.cross-sell { margin-top: 32px; padding-top: 25px; border-top: 1px solid var(--line); }
.cross-sell > p { margin: 12px 0 17px; max-width: 78ch; color: var(--muted); }
.recommendations { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,220px),1fr)); gap: 14px; }
.recommendations form { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); }
.recommendations img { flex: none; width: 59px; height: 70px; object-fit: contain; }
.recommendations form div { display: grid; overflow-wrap: anywhere; }
.recommendations a { font-weight: 600; }
.checkout { grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); }
.checkout-summary .cart-line { gap: 8px; font-size: .87rem; }
.checkout-summary .line-photo { width: 47px; }
.checkout-summary .quantity::before { content: "×"; }
.checkout-summary .cross-sell h2 { font-size: 1.45rem; }
.checkout-form fieldset { min-width: 0; border: 1px solid var(--line); padding: 22px; margin: 0; background: var(--surface); }
.checkout-form legend { font: 500 1.45rem var(--serif); padding-inline: 6px; }
.checkout-form p { margin: 0; color: var(--muted); }
.radio { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.review-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-content: start; gap: 8px; }
.review-gallery .thumb { width: 100%; height: 160px; }
@media (max-width: 1000px) {
  .header { grid-template-columns: auto 1fr; gap: 0 18px; padding-top: 14px; }
  .category-nav { grid-column: 1/-1; grid-row: 2; justify-content: center; flex-wrap: wrap; }
  .products { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .catalog-bar { align-items: start; flex-direction: column; }
  .cart-layout { grid-template-columns: minmax(0,1.3fr) minmax(240px,1fr); gap: 22px; }
}
.product-sticky-cta { display: none; }
@media (max-width: 740px) {
  .products { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 12px; }
  .product-layout, .cart-layout, .checkout, .trade-inner { grid-template-columns: minmax(0,1fr); }
  .account-layout { grid-template-columns: 1fr; max-width: 550px; }
  .account-cover { min-height: clamp(145px,30vw,225px); }
  .account-cover img { object-position: center 49%; transform: none; }
  .account-cover::after { background: linear-gradient(90deg,#171411ed,#211c1796 62%,#211c1740); }
  .account-intro { padding: 22px; }
  .account-intro p { max-width: 26ch; margin-top: 6px; }
  .account-panel { padding: 25px; }
  .footer-inner { align-items: start; flex-direction: column; gap: 8px; }
  .footer nav { gap: 8px 20px; }
  .hero-copy { padding: 32px var(--gutter); }
  .hero h1 { font-size: clamp(3rem,8.8vw,4.3rem); }
  .product-story-block.has-image { grid-template-columns: 1fr; }
  .product-story-block:nth-child(even) figure { order: 0; }
  .cart-articles .cart-line { grid-template-columns: auto minmax(0,1fr) auto; gap: 7px 12px; }
  .cart-articles .line-photo { grid-row: 1/3; }
  .cart-articles .quantity { grid-column: 2; grid-row: 2; }
  .cart-articles .line-price { grid-column: 3; grid-row: 1; }
  .summary-panel { padding: 19px; }
}
@media (max-width: 525px) {
  .top { font-size: .68rem; }
  .top > span { letter-spacing: .07em; }
  .header { gap: 0 6px; padding-top: 8px; }
  .header-actions { gap: 10px; }
  .header nav a, .header-actions a { font-size: .83rem; }
  .category-nav { justify-content: space-between; gap: 0 7px; }
  .hero { grid-template-columns: 1fr; }
  .hero-photo img { height: 240px; }
  .hero-photo figcaption { bottom: 7px; font-size: .59rem; }
  .search { width: 100%; }
  .search input { width: 0; flex: 1; }
  .filters { gap: 5px; }
  .filters a { padding-inline: 10px; }
  .card-bottom { display: grid; }
  .card-bottom > div { display: grid; gap: 4px; }
  .empty-cart { grid-template-columns: 1fr; }
  .empty-cart img { height: 145px; }
  .account-panel { padding: 21px; }
  .review-gallery { grid-template-columns: 1fr; }
  .review-gallery .thumb { height: 125px; }
}
@media (max-width: 360px) {
  .products, #advisor-conversation .products { grid-template-columns: minmax(0,1fr); }
  .card { display: grid; grid-template-columns: minmax(90px,.85fr) minmax(0,1.15fr); gap: 10px; }
  .card > .product-photo { grid-row: 1; }
  .card-copy { padding-top: 0; }
  .card-copy > p { display: none; }
  .card-bottom { display: grid; }
  .product-sticky-cta { grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); }
  .product-sticky-cta strong { grid-column: 1/-1; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (max-width: 365px) {
  .header .logo { font-size: 1.16rem; letter-spacing: .07em; }
  .header-actions { gap: 7px; }
  .cart-toggle, .wishlist-toggle { gap: 4px; }
}
.gallery-track { display: flex; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 2px; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 100%; min-width: 0; aspect-ratio: 1; overflow: hidden; scroll-snap-align: center; background: var(--sand); }
.gallery-slide img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }

.mobile-nav { display: none; }
.card { position: relative; }
.card > .wish-form { position: absolute; z-index: 1; top: 7px; right: 7px; }
.wish-button { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); }
.wish-button[aria-pressed=true] { color: var(--gold); }
.wish-button[aria-pressed=true] svg { fill: currentColor; }
.product-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 16px; }
.product-tools form { margin: 0; }
.share-feedback { overflow-wrap: anywhere; }
#wishlist-content .products { margin-block: 22px; }
.install-app, .ios-install summary { border: 0; padding: 10px 0; background: none; color: inherit; font: inherit; }
.ios-install p { max-width: 32ch; }
.advisor-page { max-width: 760px; }
.advisor-page h1 { margin-bottom: 20px; }
.advisor-page > p:not(.eyebrow) { max-width: 58ch; color: var(--muted); }
#advisor-conversation, .contact-panel { padding: clamp(16px,4vw,28px); border: 1px solid var(--line); background: var(--surface); }
#advisor-conversation form:not(.wish-form):not(.card form), .contact-panel form { display: grid; gap: 10px; }
#advisor-conversation .products { grid-template-columns: repeat(2,minmax(0,1fr)); margin-block: 18px; }
.advisor-question { color: var(--muted); }
.advisor-answer { border-left: 3px solid var(--gold); padding-left: 12px; }
.advisor-page small { color: var(--muted); }
.advisor-page textarea { resize: vertical; }
.advisor-page label { font-weight: 600; }
.contact-panel { margin-top: 12px; }
.contact-panel summary { min-height: 44px; align-content: center; cursor: pointer; }
.contact-panel .contact-consent { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; font-weight: 400; }
.contact-consent input { width: 20px; height: 20px; min-height: 20px; flex: none; }
.contact-panel button { justify-self: start; }
.htmx-indicator { visibility: hidden; font-size: .85rem; }
.htmx-request .htmx-indicator { visibility: visible; }
.shop-toast, .offline-banner { position: fixed; z-index: 12; left: 50%; max-width: calc(100vw - 24px); transform: translateX(-50%); padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); box-shadow: 0 5px 22px #27221a24; font-size: .88rem; text-align: center; }
.shop-toast { top: calc(env(safe-area-inset-top, 0px) + 12px); }
.offline-banner { top: calc(env(safe-area-inset-top, 0px) + 12px); border-color: #d4bd91; background: #f7efdf; }
.filters { min-width: 0; }
.page-back { margin: 10px var(--gutter) 0; }
@media (min-width: 1001px) and (max-width: 1300px) {
  .header { gap: 12px; padding-inline: 24px; }
  .category-nav, .header-actions { gap: 14px; }
}
@media (max-width: 740px) {
  html { scroll-padding-block-end: calc(80px + env(safe-area-inset-bottom, 0px)); }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .top { padding-top: env(safe-area-inset-top, 0px); }
  .header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 8; min-height: 56px; padding-block: 1px; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 3px 14px #352d2510; }
  .header .category-nav, .header-actions .desktop-action, .header-actions .cart-toggle { display: none; }
  .header-actions a:not(.desktop-action):not(.cart-toggle) { min-width: 44px; justify-content: center; }
  .mobile-nav { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); position: fixed; z-index: 9; inset: auto 0 0;
    padding: 0 max(2px,env(safe-area-inset-right,0px)) env(safe-area-inset-bottom,0px) max(2px,env(safe-area-inset-left,0px));
    border-top: 1px solid #dcd6cacc; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 -5px 20px #352d2518; }
  .mobile-nav a { min-height: 63px; min-width: 0; padding: 5px 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--muted); font-size: .69rem; }
  .mobile-nav a:focus-visible { outline-offset: -3px; }
  .mobile-nav a[aria-current] { color: var(--gold); font-weight: 700; }
  .nav-icon { display: grid; width: 37px; height: 26px; place-items: center; border-radius: 14px; position: relative; }
  .mobile-nav a[aria-current] .nav-icon { background: #efe6d7; }
  .mobile-count { position: absolute; top: -3px; right: -6px; padding-inline: 4px; line-height: 16px; min-width: 16px; border-radius: 9px; background: var(--ink); color: white; font-size: 10px; text-align: center; }
  .keyboard-open .mobile-nav, .keyboard-open .product-sticky-cta { display: none; }
  .filters { width: 100%; flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #b9ad98 transparent; padding: 2px 0 7px; }
  .filters a { flex: 0 0 auto; scroll-snap-align: start; }
  .product-detail { padding-bottom: calc(118px + env(safe-area-inset-bottom, 0px)); }
  .product-actions { display: none; }
  .gallery-track { display: flex; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 2px; }
  .gallery-track::-webkit-scrollbar { display: none; }
  .gallery-slide { flex: 0 0 100%; min-width: 0; aspect-ratio: 1; overflow: hidden; scroll-snap-align: center; background: var(--sand); }
  .gallery-slide img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
  .gallery-thumbnails { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; scrollbar-width: thin; padding: 4px 0 7px; }
  .gallery-thumb { flex: 0 0 60px; min-width: 48px; min-height: 48px; scroll-snap-align: start; }
  .product-sticky-cta { position: fixed; z-index: 8; inset: auto 0 calc(63px + env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: auto minmax(0,1fr) minmax(0,1.3fr); align-items: center; gap: 8px; padding: 9px max(12px,env(safe-area-inset-right,0px)) 9px max(12px,env(safe-area-inset-left,0px)); border-top: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 96%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 -4px 18px #352d2512; }
  .product-sticky-cta strong { white-space: nowrap; font-size: .9rem; }
  .product-sticky-cta form, .product-sticky-cta .button { min-width: 0; width: 100%; margin: 0; }
  .product-sticky-cta .button { min-height: 44px; padding: 8px 9px; font-size: .79rem; }
  input, select, textarea { font-size: 16px; }
  .purchase-page .summary-panel > .button, .checkout-form > .primary { width: 100%; min-height: 50px; }
  .quantity button, .filters a { min-height: 44px; min-width: 44px; }
  .advisor-page input, .advisor-page textarea, .checkout-form input, .search input { font-size: 16px; }
}
@media (max-width: 450px) {
  #advisor-conversation .products { grid-template-columns: minmax(0,1fr); }
  #advisor-conversation .card { display: grid; grid-template-columns: minmax(65px,.8fr) minmax(0,1.2fr); gap: 10px; }
  #advisor-conversation .card > .wish-form { top: 2px; left: 2px; right: auto; }
  #advisor-conversation .card-copy { padding-top: 0; }
  #advisor-conversation .card-copy > p { display: none; }
}

.consent-banner{position:fixed;z-index:1000;inset:auto 1rem 1rem;max-width:48rem;margin:auto;padding:1rem;background:#fff;color:#292721;border:1px solid #d9d4c9;border-radius:1rem;box-shadow:0 8px 36px #0003;display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.consent-banner p{flex:1 1 100%;margin:0}.consent-dialog{max-width:min(38rem,calc(100vw - 2rem));border:0;border-radius:1rem;padding:1.5rem;color:#292721}.consent-dialog::backdrop{background:#17161299}.consent-dialog form>label{display:block;margin:1rem 0}.consent-actions{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:1.5rem}
