@font-face {
  font-family: Baskervville;
  src: url('/assets/fonts/baskervville-regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('/assets/fonts/instrument-sans.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/assets/fonts/dm-sans.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}
:root {
  /* Use the authored palette in both system modes so Safari keeps it. */
  color-scheme: light dark;
  --ink: #351015;
  --dark: #3b0e20;
  --muted: #704a45;
  --accent: #b74c48;
  --button: #a74340;
  --wine: #801537;
  --cream: #fff7f0;
  --line: #e9c8b9;
  --peach: #f9e4d6;
  --nav-surface: #fcf1e8;
  --nav-border: #fff8f2;
  --nav-shadow: 0 2px 7px #61332414;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0;
  color-scheme: light;
  color-scheme: only light;
  color: var(--ink);
  font: 1rem/1.48 var(--serif);
  background: radial-gradient(ellipse at 66% 4%, #f9ebdf 0, transparent 46rem), #fcf4ec;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .57; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 4px; }
#main:focus { outline: none; }
[hidden], .mobile-only, #bottom-nav { display: none !important; }
.wrap { width: min(89%, 1430px); margin-inline: auto; }
.skip { position: fixed; top: 6px; left: 6px; padding: .6rem 1rem; z-index: 15; background: white; transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#header { position: relative; z-index: 4; }
.header-inner { width: min(86%, 1390px); }
.desktop-heading { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: clamp(.7rem,1.25vw,1.7rem); min-height: clamp(62px,4.2vw,75px); }
.wordmark { display: inline-flex; align-items: center; gap: .65rem; color: #5e1d10; line-height: 1.08; white-space: nowrap; }
.wordmark img { width: clamp(44px,4.45vw,68px); height: auto; }
.wordmark > span { font-size: clamp(1.02rem,1.44vw,1.43rem); letter-spacing: -.015em; text-transform: uppercase; text-align: center; }
.wordmark small { display: block; margin-top: .4rem; font-size: .59em; letter-spacing: .18em; color: var(--ink); }
.mobile-brand-mark, .mobile-intro-diamond { display: none; }
.desktop-heading nav ul {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: .18rem clamp(.15rem,.38vw,.5rem); list-style: none; padding: .18rem .3rem; margin: .36rem 0;
  border: 1px solid var(--nav-border); border-radius: 1.25rem; background: var(--nav-surface); box-shadow: var(--nav-shadow);
}
.desktop-heading nav li { display: flex; align-items: center; position: relative; white-space: nowrap; border-radius: 999px; transition: background-color .18s ease; }
.desktop-heading nav li > :is(a,.shop-toggle) { display: flex; align-items: center; min-height: 32px; padding-inline: clamp(.36rem,.56vw,.7rem); font-weight: 400; font-size: clamp(.84rem,1.12vw,1.07rem); }
.desktop-heading nav :is(a,.shop-toggle):is(.active,:hover), .section-link:hover { color: #9f3939; }
.desktop-heading nav li:has(:focus-visible, > .nav-toggle[aria-expanded="true"]) { background: #f7e7df; }
@media (hover: hover) {
  .desktop-heading nav li:hover { background: #f7e7df; }
}
.nav-toggle { min-width: 24px; min-height: 32px; padding: .25rem .38rem .25rem .18rem; background: none; border: 0; color: var(--accent); }
.nav-toggle svg { display: block; flex: none; transition: transform .18s ease; }
.nav-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.shop-toggle { gap: .42rem; color: inherit; }
.shop-toggle svg { color: var(--accent); }
.submenu { position: absolute; left: -.7rem; top: 100%; min-width: 190px; padding: .55rem; border: 1px solid var(--line); border-radius: 13px; background: var(--cream); box-shadow: 0 10px 25px #6d332d20; }
.submenu a { display: block; padding: .5rem .65rem; border-radius: 8px; }
.submenu :is(a,button):hover { background: #f8dfd4; }
.shop-submenu { width: min(23rem,calc(100vw - 2.5rem)); white-space: normal; }
.shop-all { color: var(--wine); font-weight: 600; }
.shop-submenu-groups { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .4rem; margin-top: .2rem; border-block: 1px solid var(--line); padding-block: .38rem; }
.shop-submenu-groups p { margin: .2rem .65rem .12rem; color: var(--muted); font-size: .78rem; }
.submenu-favorites { display: flex; align-items: center; gap: .55rem; text-align: left; width: 100%; margin-top: .3rem; padding: .52rem .65rem; border: 0; border-radius: 8px; background: transparent; color: #8d343c; }
.header-tools { display: flex; align-items: center; gap: clamp(.15rem,.55vw,.65rem); }
.icon-button { position: relative; display: inline-grid; place-items: center; min-inline-size: 42px; min-block-size: 42px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; }
.icon-button:hover { background: #f5dccf; color: var(--wine); }
.cart-badge, .favorite-badge { position: absolute; top: -1px; right: -2px; line-height: 1; min-width: 20px; padding: 3px 5px; background: #a84442; border: 1px solid #fff7ef; color: white; border-radius: 99px; font: 600 .76rem/1 var(--sans); }
.favorite-badge { background: var(--wine); }
.favorite-button.has-favorites { color: var(--wine); }
.favorite-button.has-favorites > svg { fill: currentColor; }
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero-picture {
  position: absolute; z-index: -1; inset: 0 0 0 auto; width: min(58vw, 1010px);
  background: url('/assets/hero.webp') center right / auto 100% no-repeat;
  mask-image: linear-gradient(to right, transparent 0%, black 9%);
}
.hero-wrap { min-height: clamp(338px,25.3vw,430px); display: flex; align-items: center; }
.hero-copy { padding: .85rem 0 2.15rem clamp(0rem,4vw,4.3rem); }
.eyebrow { margin: 0 0 .75rem; font-size: .92rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: #74271d; }
.hero h1 { margin: 0; font-size: clamp(3.3rem,4.8vw,5.15rem); font-weight: 500; line-height: .96; letter-spacing: -.048em; }
.hero h1 em { color: var(--accent); font-weight: 500; padding-right: .15em; }
.hero-intro { margin: .9rem 0 1.25rem; font-size: clamp(1.12rem,1.52vw,1.55rem); line-height: 1.17; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.button {
  display: inline-flex; justify-content: center; align-items: center; gap: .75rem; min-height: 45px; padding: .6rem 1.45rem; text-align: center;
  border: 1px solid var(--button); border-radius: 999px; color: white; background: var(--button); font-weight: 600;
}
.button:hover { background: #893234; border-color: #893234; }
.button.outline { background: transparent; color: #943a3a; }
.button.outline:hover { background: #f7e1d7; }
.hero .button { min-height: clamp(44px,3.2vw,53px); padding: .55rem clamp(1rem,1.72vw,1.72rem); font-size: clamp(.92rem,1.18vw,1.18rem); font-weight: 500; }
.hero .button:not(.outline) { background: linear-gradient(122deg,#aa4947,#b9514b); }
.benefits {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin: 0 0 1.05rem; padding: .7rem 0; list-style: none;
  background: linear-gradient(115deg,#fff8f1,#fcf1e7); border-radius: 25px; box-shadow: 0 6px 15px #ad5e3520;
}
.benefits li { display: flex; justify-content: center; align-items: center; gap: clamp(.4rem,1.3vw,1.2rem); min-height: 40px; padding: .1rem .6rem; position: relative; }
.benefits li + li::before { content: ''; position: absolute; left: 0; height: 80%; width: 1px; background: #d88d83; }
.benefits li > svg { color: #a74840; flex: none; }
.benefits strong, .benefits small { display: block; line-height: 1.28; }
.benefits strong { font-size: clamp(.75rem,1.03vw,1rem); }
.benefits small { font-size: clamp(.7rem,.91vw,.88rem); }
.section-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 0 .65rem; margin-bottom: .5rem; }
.section-heading h2 { margin: 0; font-size: clamp(1.55rem,1.96vw,2rem); font-weight: 500; line-height: 1.1; letter-spacing: -.03em; }
.section-link { display: inline-flex; align-items: center; gap: .72rem; color: #a03938; white-space: nowrap; font-weight: 600; font-size: clamp(.86rem,1.12vw,1.1rem); }
.collections-grid, .product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(.65rem,1.02vw,1rem); }
.collection-card, .product-card { overflow: hidden; min-width: 0; background: #fff7ef; border: 2px solid #fffaf6; border-radius: 21px; box-shadow: 0 3px 7px #9253371b; }
.collection-card { display: grid; background: #fbeddf; text-align: center; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.collection-card img { width: 100%; aspect-ratio: 2.81; object-fit: cover; border-radius: 18px 18px 12px 12px; transition: filter .2s ease; }
.collection-card strong { padding: .22rem .25rem .3rem; font-size: clamp(.93rem,1.23vw,1.22rem); font-weight: 600; }
.collection-card:focus-visible, .collection-card:active { background: #fff3e8; box-shadow: 0 7px 19px #70253930; }
.collection-card:focus-visible strong, .collection-card:active strong { color: var(--wine); text-decoration: underline; text-underline-offset: .2em; }
@media (hover: hover) {
  .collection-card:hover { transform: translateY(-4px); background: #fff3e8; box-shadow: 0 9px 20px #70253929; }
  .collection-card:hover img { filter: saturate(1.12); }
  .collection-card:hover strong { color: var(--wine); text-decoration: underline; text-underline-offset: .2em; }
}
.home-popular { margin-top: 1.15rem; }
.featured-controls { display: none; }
.card-visual { position: relative; overflow: hidden; background: radial-gradient(ellipse at 48% 79%,#f7dac9,#f9e9df 70%); border-radius: 17px 17px 12px 12px; }
.card-image { display: block; position: relative; width: 100%; aspect-ratio: 1.6; overflow: hidden; background: var(--photo-backdrop, transparent); }
.card-image .photo { position: absolute; inset: 0; width: 100%; height: 100%; padding: 8px; object-fit: contain; }
[data-photo-tone="pink"] {
  --photo-backdrop: radial-gradient(ellipse at 73% 24%, #fff8fc, transparent 57%), linear-gradient(155deg,#ed9fc5,#fce3ef 52%,#ec9cc6);
}
[data-photo-tone="deep-amber"] {
  --photo-backdrop: radial-gradient(ellipse at 73% 95%, #bc641d, transparent 63%), linear-gradient(160deg,#170d0a 17%,#40190d 58%,#754017);
}
[data-photo-tone="deep-rose"] {
  --photo-backdrop: radial-gradient(ellipse at 78% 95%, #aa4263, transparent 59%), linear-gradient(155deg,#180d13 14%,#411221 61%,#741632);
}
[data-photo-tone="cream"] {
  --photo-backdrop: linear-gradient(155deg,#eee9ec,#fff9f2 55%,#f0e2d7);
}
[data-photo-tone="blush"] {
  --photo-backdrop: linear-gradient(150deg,#f0e2ed,#fff9f7 52%,#f0d9e3);
}
[data-photo-tone="sand"] {
  --photo-backdrop: linear-gradient(150deg,#fcf2e7,#e6cdbc);
}
[data-photo-tone="sage"] {
  --photo-backdrop: linear-gradient(150deg,#e9ecdf,#fbf5ee 55%,#e7dfea);
}
[data-photo-tone="charcoal"] {
  --photo-backdrop: radial-gradient(ellipse at 50% 100%,#c9b6b2,transparent 60%), linear-gradient(155deg,#1c1923,#403948 62%,#71606a);
}
.card-visual--text-only { min-height: 2.55rem; background: none; }
.card-copy { padding: .42rem .88rem .56rem; display: flex; flex-direction: column; flex: 1; }
.card-copy h3 { font-size: clamp(.96rem,1.12vw,1.13rem); line-height: 1.18; margin: 0 0 .15rem; font-weight: 600; }
.card-copy h3 a:hover { text-decoration: underline; }
.size, .card-note { color: var(--muted); font-size: .8rem; line-height: 1.35; margin: .1rem 0; }
.card-note { color: #812f3c; }
.card-bottom { display: flex; justify-content: space-between; align-items: end; gap: .35rem; margin-top: auto; }
.prices { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: .45rem; }
.prices strong { font-size: 1.15rem; line-height: 1.25; white-space: nowrap; }
.prices del { color: #704d48; font-size: .78rem; white-space: nowrap; }
.quick-add { display: grid; flex: none; place-items: center; background: #a94442; color: white; border: 0; border-radius: 50%; width: 36px; height: 36px; }
.quick-add:hover, .quick-add:focus-visible { background: #8b2e37; }
.favorite { position: absolute; right: .29rem; top: .25rem; color: #a02d36; background: #fff8efda; min-inline-size: 39px; min-block-size: 39px; }
.favorite.chosen svg, .detail-favorite.chosen svg { fill: #a02d36; stroke: #a02d36; }
.missing-image { display: grid; gap: .4rem; place-items: center; color: #754a43; font-size: .8rem; text-align: center; }
.home-popular .product-card { display: flex; flex-direction: column; }
#footer { margin-top: 3.2rem; border-top: 1px solid #e9c7b7; background: linear-gradient(145deg,#fae9dc,#f5e0d3); }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1.05fr 1.1fr auto; gap: 1rem clamp(.8rem,2.8vw,2.6rem); padding: 2.1rem 0 1.6rem; }
.footer-inner > * { min-width: 0; }
.footer-inner h2 { margin: 0 0 .72rem; font-size: 1.15rem; line-height: 1.2; }
.footer-brand { --footer-logo-width: clamp(44px,4.45vw,68px); --footer-logo-gap: .65rem; }
.footer-brand p { margin: .34rem 0 0; padding-inline-start: calc(var(--footer-logo-width) + var(--footer-logo-gap)); color: var(--muted); }
.footer-brand .wordmark { display: flex; width: fit-content; max-width: 100%; gap: var(--footer-logo-gap); white-space: normal; }
.footer-brand .wordmark img { flex: none; width: var(--footer-logo-width); }
.footer-brand .wordmark > span { text-align: left; }
.footer-bottom { display: flex; justify-content: flex-end; align-items: center; padding: .9rem 0; border-top: 1px solid #e4bfb1; color: var(--muted); font-size: .86rem; }
.footer-bottom a:hover, .contact-details a:hover { color: var(--wine); text-decoration: underline; text-underline-offset: .2em; }
.install-buttons { display: flex; flex-wrap: wrap; gap: .58rem; }
.install-button { display: inline-flex; align-items: center; justify-content: flex-start; gap: .6rem; min-height: 53px; padding: .45rem .72rem; border: 1px solid #a7a6a6; border-radius: 9px; background: #090909; color: white; font: 500 .95rem/1.08 'Instrument Sans',var(--sans); text-align: left; }
.install-button svg { flex: none; width: 26px; height: 26px; }
.install-button :is(small,strong) { display: block; }
.install-button small { margin-bottom: .16rem; font-size: .64rem; font-weight: 400; white-space: nowrap; }
.install-button strong { font-size: 1.08rem; font-weight: 600; }
.install-button:is(:hover,:active) { background: #2a2427; border-color: #a88d90; }
.install-status { max-width: 30ch; margin: .46rem 0 0; color: var(--muted); font-size: .78rem; line-height: 1.35; }
.install-status:empty { margin: 0; }
.text-button { background: none; border: 0; padding: 0; text-align: left; color: #8d343c; text-decoration: underline; text-underline-offset: .23em; font-weight: 600; }
.text-button:hover { color: #591d31; }
.social-links { display: flex; gap: .4rem; flex-wrap: wrap; }
.social-icon { display: inline-grid; place-items: center; width: 43px; height: 43px; background: #fff6ee; color: #792641; border: 1px solid #e9c0b4; border-radius: 50%; }
.social-icon:is(a):hover { background: #80223d; border-color: #80223d; color: white; }
.social-pending { color: #78485d; }
.contact-details { list-style: none; padding: 0; margin: 0 0 .55rem; display: grid; gap: .58rem; }
.contact-details li { display: flex; align-items: flex-start; gap: .48rem; overflow-wrap: anywhere; }
.contact-details svg { flex: none; color: #9b4149; margin-top: .14rem; }
.float-help { position: fixed; z-index: 7; bottom: 1.2rem; right: 1.2rem; background: var(--wine); color: white; border-radius: 50%; display: grid; place-items: center; width: 48px; height: 48px; box-shadow: 0 4px 10px #54232b2b; }

.page { padding-top: clamp(1.35rem,4.6vw,4.35rem); min-height: 52vh; }
.page-heading { margin-bottom: clamp(1.25rem,2.5vw,2.35rem); }
.page-heading h1, .detail-copy h1 { margin: 0; font-size: clamp(2.35rem,5.3vw,4.25rem); letter-spacing: -.05em; line-height: .99; font-weight: 500; }
.page-heading p:not(.eyebrow) { margin: .75rem 0 0; color: var(--muted); font-size: 1.1rem; }
.content-card { background: #fff8f2; padding: clamp(1rem,2vw,2rem); border-radius: 20px; border: 1px solid var(--line); }
.content-card h2 { margin: 0 0 .65rem; font-size: 1.43rem; font-weight: 600; }
.content-card p { margin: .45rem 0 1rem; }
.content-card .button { margin-top: .3rem; }
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1rem; }
.about-grid img { width: 100%; border-radius: 20px; }
.catalog-page .page-heading { margin-bottom: .65rem; }
.catalog-back { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .25rem .45rem; margin: -.45rem 0 .3rem -.45rem; background: transparent; color: var(--wine); border: 0; border-radius: 8px; }
.catalog-back:hover { background: #f8e0d4; }
.catalog-tools { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: .75rem; }
.catalog-tools .results-count { margin: 0; }
.filter-toggle { display: inline-flex; align-items: center; gap: .45rem; min-height: 42px; padding: .38rem .8rem; border: 1px solid #dcb5ab; border-radius: 999px; background: #fff8f0; color: #772b41; box-shadow: 0 3px 8px #843c3520; font-weight: 600; }
.filter-toggle:hover { background: #f4ded2; border-color: #ad6975; }
.filter-count { display: inline-grid; place-items: center; min-width: 20px; min-height: 20px; border-radius: 99px; background: var(--wine); color: white; padding: 0 .22rem; font: 650 .72rem/1 var(--sans); }
.filters { display: grid; grid-template-columns: 1fr 1fr; gap: .72rem; align-items: end; }
.filter-actions { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
label { min-width: 0; }
.filters label, .field { display: grid; align-content: start; gap: .36rem; font-weight: 600; }
input:not([type="radio"]), select, textarea {
  width: 100%; min-height: 44px; padding: .45rem .62rem; border: 1px solid #c99e91; border-radius: 9px; color: var(--ink); background: white;
}
select { appearance: none; padding-right: 1.65rem; background: white url("data:image/svg+xml,%3Csvg width='13' height='9' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m1 1 5.5 6L12 1' stroke='%23794a45' fill='none' stroke-width='1.3'/%3E%3C/svg%3E") right .55rem center no-repeat; }
.filter-search { grid-column: 1/-1; }
.filter-search > span { position: relative; }
.filter-search svg { position: absolute; top: .77rem; left: .65rem; color: var(--muted); }
.filter-search input { padding-left: 2.15rem; }
.results-count, .fine { font-size: .9rem; color: var(--muted); }
#results .product-grid { row-gap: 1rem; }
#results .card-image { aspect-ratio: 1.45; }
#results .product-card { display: flex; flex-direction: column; }
#results .card-bottom { margin-top: auto; min-height: 40px; }
.breadcrumb { color: var(--muted); margin-bottom: 1rem; font-size: .92rem; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 4px; }
.product-detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.2rem,5vw,4rem); }
.product-detail--text-only { grid-template-columns: minmax(0,620px); }
.detail-media, .detail-copy { min-width: 0; }
.detail-image { position: relative; display: grid; place-items: center; aspect-ratio: 1.22; overflow: hidden; background: var(--photo-backdrop,#f9e2d3); border-radius: 23px; }
.detail-image:has(.missing-image:not([hidden])) { background: var(--cream); }
.detail-image img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 8px; object-fit: contain; }
.thumbnails { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .7rem; }
.thumbnails button { position: relative; flex: 0 0 58px; height: 58px; padding: 0; overflow: hidden; border: 1px solid var(--line); background: var(--photo-backdrop,#fae4d8); border-radius: 10px; }
.thumbnails button[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.thumbnails img { position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); object-fit: contain; }
.detail-copy h1 { margin-bottom: .9rem; }
.detail-copy .prices strong { font-size: 1.62rem; }
.detail-copy .prices del { font-size: .98rem; }
.facts { display: grid; gap: .3rem; margin: 1rem 0; }
.facts > div { display: grid; grid-template-columns: minmax(105px,.4fr) 1fr; gap: .5rem; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; }
.notice, .empty-state { padding: .7rem .85rem; color: #6c3440; border-radius: 10px; background: #f7e5d9; }
.purchase { margin: .9rem 0; }
.purchase > div { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: .35rem; }
.product-quantity { display: inline-flex; align-items: stretch; border: 1px solid #ce9a8c; border-radius: 9px; background: #fff; }
.product-quantity input { width: 46px; min-height: 44px; padding: .2rem; border: 0; background: transparent; text-align: center; appearance: textfield; }
.product-quantity input::-webkit-inner-spin-button, .product-quantity input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.product-quantity button { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0; border: 0; background: #fff3e9; color: var(--wine); }
.product-quantity button:first-child { border-right: 1px solid #ce9a8c; border-radius: 8px 0 0 8px; }
.product-quantity button:last-child { border-left: 1px solid #ce9a8c; border-radius: 0 8px 8px 0; }
.product-quantity button:hover:not(:disabled) { background: #f8e0d4; }
.detail-actions { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin-top: .65rem; }
.detail-actions button { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .3rem 0; }
details { border-top: 1px solid var(--line); padding: .65rem 0; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: .5rem 0; color: var(--muted); }
.payment-page { font-family: 'DM Sans',var(--sans); }
.checkout-grid { display: grid; grid-template-columns: minmax(0,1.18fr) minmax(0,.82fr); gap: clamp(.85rem,2.4vw,1.75rem); align-items: start; }
.payment-page .content-card { background: #fffbf8; border-color: #ecd6cb; border-radius: 19px; }
.checkout-steps { display: flex; align-items: center; gap: .48rem; margin-bottom: .85rem; color: var(--muted); font: 600 .82rem/1.2 var(--sans); }
.checkout-steps :is(button,span) { display: inline-flex; align-items: center; gap: .25rem; border-radius: 999px; padding: .38rem .65rem; }
.checkout-steps button { border: 0; background: transparent; }
.checkout-steps > svg { transform: rotate(-90deg); }
.checkout-steps [aria-current="step"], .checkout-steps button:hover { background: #f4ddd5; color: #691d39; }
.summary h2 { font-size: 1.2rem; font-weight: 600; margin-bottom: .9rem; }
.checkout-products { margin: 0; padding: 0; list-style: none; }
.checkout-products li { display: grid; grid-template-columns: 54px minmax(0,1fr) auto; align-items: center; gap: .65rem; padding: .65rem 0; border-bottom: 1px solid #ebdbd3; font-size: .9rem; }
.checkout-products li:first-child { padding-top: 0; }
.checkout-product-name { font-weight: 500; line-height: 1.26; overflow-wrap: anywhere; }
.checkout-product-name small, .checkout-totals dt small { display: block; margin-top: .15rem; color: var(--muted); font-size: .8rem; font-weight: 400; }
.checkout-product-visual { position: relative; display: grid; place-items: center; height: 54px; background: #f7e9e0; border: 1px solid #ecded5; border-radius: 12px; }
.checkout-product-visual img { width: 42px; height: 45px; object-fit: contain; }
.checkout-quantity { position: absolute; top: -.35rem; right: -.3rem; min-width: 19px; padding: .12rem .27rem; background: #783548; color: white; border-radius: 999px; font-size: .68rem; text-align: center; }
.checkout-products strong, .checkout-totals dd { white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums; }
.checkout-delivery-note { margin: .7rem 0 0; }
.checkout-totals { display: grid; gap: .48rem; margin: .9rem 0 0; font-size: .9rem; }
.checkout-totals > div { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; }
.checkout-totals dd { margin: 0; text-align: right; }
.checkout-savings { color: #793947; }
.checkout-totals .payment-total { border-top: 1px solid #ebdbd3; margin-top: .32rem; padding-top: .65rem; }
.payment-total dd { font-size: clamp(1rem,2vw,1.35rem); }
.form-actions { display: flex; flex-wrap: wrap; gap: .7rem 1rem; align-items: center; }
.form-actions button { margin: 0; }
.error { font-weight: 600; color: #802637; margin: 0; }
.error:empty { display: none; }
.payment-form { min-width: 0; }
.payment-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.payment-form legend { padding: 0; margin-bottom: .78rem; font-weight: 600; font-size: 1.15rem; }
.payment-group { min-width: 0; overflow: hidden; border: 1px solid #e8d3c9; border-radius: 14px; background: #fffcfa; }
.payment-group + .payment-group { margin-top: .72rem; }
.payment-group > h2 { margin: 0; padding: .68rem .85rem; background: #f8ede6; font-size: .88rem; font-weight: 600; }
.payment-card { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: .62rem; padding: .72rem .8rem; min-height: 48px; border: 1px solid transparent; border-radius: 0; line-height: 1.2; cursor: pointer; }
.payment-card + .payment-card { border-top-color: #ecdad2; }
.payment-card-label { min-width: 0; overflow-wrap: anywhere; font-weight: 500; }
.payment-card-label small { display: block; margin-top: .25rem; color: var(--muted); font-size: .77rem; line-height: 1.25; }
.payment-form input { margin: 0; accent-color: var(--wine); }
.payment-logos { display: flex; align-items: center; gap: .24rem; }
.payment-logo { display: inline-grid; place-items: center; min-height: 24px; border-radius: 5px; padding: .24rem .35rem; background: #f0f2f8; font: italic 750 .8rem/1 var(--sans); }
.payment-logo.visa { color: #263572; }
.payment-logo.mastercard { padding-block: 0; }
.payment-logo.wave { background: #e2f2fb; color: #205577; }
.payment-logo.orange { background: #ffead6; color: #863b0d; }
.payment-card:has(input:checked) { background: #faf0e9; }
@media (hover: hover) {
  .payment-card:hover { background: #faf0e9; }
}
.payment-card:has(:focus-visible) { outline: 2px solid var(--wine); outline-offset: -2px; }
.payment-status { margin: .46rem 0 0; color: var(--muted); font-size: .8rem; }
.payment-feedback { margin: .7rem 0 .45rem; }
.payment-feedback p:empty { display: none; }
.payment-feedback .error { font-size: .88rem; font-weight: 500; }
.payment-form .delivery-fields { margin-bottom: 1.4rem; }
.delivery-grid, .delivery-locality, .delivery-phone { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; }
.delivery-grid .field { margin: 0; min-width: 0; max-width: none; }
.delivery-grid .field :is(input,select) { width: 100%; min-width: 0; }
.delivery-wide { grid-column: 1/-1; }
.delivery-phone { grid-template-columns: 5.3rem minmax(0,1fr); align-items: end; }
.delivery-phone input[readonly] { background: #f8ede6; }
.receipt-actions { display: flex; flex-wrap: wrap; gap: .7rem 1rem; align-items: center; margin: 1rem 0; }
.receipt-actions .error { flex-basis: 100%; }
@media (max-width: 560px) {
  .delivery-grid { grid-template-columns: minmax(0,1fr); }
}
.payment-submit { width: 100%; flex-wrap: wrap; gap: .2rem .65rem; line-height: 1.25; }
.payment-submit span { white-space: nowrap; }
.tracking { max-width: 670px; }
.tracking-heading { display: flex; align-items: center; gap: .75rem; }
.tracking-heading h2, .tracking-heading p { margin: 0; }
.tracking-icon { display: grid; place-items: center; background: #f6ddce; color: var(--wine); border-radius: 50%; width: 50px; height: 50px; }
.order-items { padding-left: 1.2rem; }

#drawer {
  position: fixed; inset: 0 0 0 auto; margin: 0; width: min(100%, 450px); max-width: 100%; height: 100%; max-height: 100%;
  padding: 0; border: 0; color: var(--ink); background: #fff8f1; box-shadow: -7px 0 25px #38132226;
}
#drawer::backdrop { background: #34121d63; }
#drawer[data-view="cart"] { width: min(93%,450px); background: #fffaf6; font-family: 'DM Sans',var(--sans); }
#drawer:is([data-view="cart"],[data-view="favorites"])[open] { display: flex; flex-direction: column; }
#drawer:is([data-view="cart"],[data-view="favorites"]) .drawer-header { flex: none; }
#drawer[data-view="cart"] .drawer-header { background: #fffaf6; }
#drawer:is([data-view="cart"],[data-view="favorites"]) .drawer-body { min-height: 0; flex: 1; display: flex; flex-direction: column; padding: 0; }
.drawer-items { flex: 1; min-height: 0; overflow: auto; padding: .35rem 1.15rem 1rem; }
#drawer[data-view="favorites"] .drawer-items { padding-top: 1rem; }
.drawer-footer { padding: .5rem 1.15rem max(1rem,env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.drawer-footer .fine { margin: .16rem 0 .7rem; }
.drawer-footer .button { width: 100%; }
.drawer-empty { padding: 1rem 1.15rem; }
.favorites-footer { flex: none; margin-top: auto; }
.favorites-footer-actions { display: grid; gap: .5rem; }
.favorites-footer .button { gap: .45rem; padding-inline: .65rem; }
.favorites-footer .button svg { flex: none; }
.favorites-status { margin: 0; color: var(--wine); font-size: .9rem; }
.favorites-status:not(:empty) { margin-bottom: .35rem; }
@media (min-width: 641px) and (min-height: 500px) {
  .favorites-footer-actions { grid-auto-flow: column; grid-auto-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: no-preference) {
  #drawer[data-view="cart"][open] { animation: cart-slide-in .26s ease-out; }
  @keyframes cart-slide-in { from { transform: translateX(100%); } to { transform: translateX(0); } }
}
#drawer[data-view="help"] { inset: 0; margin: auto; width: min(calc(100% - 2rem),390px); height: fit-content; max-height: calc(100dvh - 2rem); border-radius: 20px; border: 1px solid #e7bfb3; box-shadow: 0 16px 45px #38132245; }
#drawer[data-view="help"] .drawer-body { padding-bottom: 1.15rem; }
.drawer-header { display: flex; justify-content: space-between; align-items: center; position: sticky; z-index: 1; top: 0; background: #fff8f1; padding: .85rem 1.15rem; border-bottom: 1px solid var(--line); }
.drawer-header h2 { margin: 0; font-size: 1.5rem; font-weight: 500; }
.drawer-body { padding: 1rem 1.15rem 2.4rem; }
#drawer[data-view="menu"] .drawer-header { gap: .4rem; background: var(--nav-surface); }
.drawer-wordmark { gap: clamp(.35rem,1.9vw,.62rem); }
.drawer-wordmark img { width: clamp(27px,8.7vw,39px); }
.drawer-wordmark > span { font: 400 clamp(.77rem,3.45vw,1.08rem)/1.13 var(--mobile-display,var(--serif)); }
.drawer-wordmark small { margin-top: .27rem; font-family: var(--mobile-text,var(--sans)); }
#drawer[data-view="menu"] .drawer-header .icon-button { flex: none; color: var(--wine); }
.support-actions { display: grid; gap: .6rem; }
.support-action { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .65rem; padding: .62rem; border: 1px solid #e6c3b7; border-radius: 14px; background: #fffaf5; overflow-wrap: anywhere; }
.support-action:is(a):hover { background: #f8e5da; border-color: #b87783; }
.support-action .support-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #f4d9cc; color: #7e2341; }
.support-action strong, .support-action small { display: block; }
.support-action small { color: var(--muted); }
.support-action.is-unavailable { background: #faf0e7; }
.drawer-item { display: grid; grid-template-columns: 82px 1fr; gap: .75rem; align-items: start; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.drawer-item h3 { margin: 0 0 .2rem; font-size: 1rem; line-height: 1.25; }
.drawer-image { display: grid; place-items: center; height: 75px; background: #f7e0d3; border-radius: 12px; overflow: hidden; padding: 2px; }
.drawer-image img { height: 68px; width: 100%; object-fit: contain; }
.stepper { margin-top: .25rem; display: flex; align-items: center; gap: .25rem; }
.stepper button { display: grid; place-items: center; width: 33px; height: 34px; padding: 0; border: 1px solid var(--line); border-radius: 7px; background: #fff9f3; }
.stepper span { min-width: 24px; text-align: center; }
.stepper .remove { margin-left: auto; }
.drawer-total { display: flex; justify-content: space-between; font-size: 1.15rem; padding-top: .8rem; }
.favorite-actions { display: flex; gap: .8rem; font-size: .9rem; }
.drawer-nav ul, .suggestions { padding: 0; list-style: none; margin: 0; }
.drawer-nav > ul { padding: .33rem .5rem; background: var(--nav-surface); border: 1px solid var(--nav-border); border-radius: 1.25rem; box-shadow: var(--nav-shadow); }
.drawer-nav > ul > li + li { border-top: 1px solid #edd9cb; }
.drawer-nav > ul > li > :is(a,.shop-toggle) { display: flex; align-items: center; width: 100%; min-height: 44px; margin-block: .12rem; padding: .58rem .72rem; border-radius: .7rem; }
.drawer-nav .shop-toggle { justify-content: space-between; }
.drawer-nav :is(.shop-toggle.active,a[aria-current="page"]) { color: var(--wine); }
.drawer-nav .shop-toggle[aria-expanded="true"] { background: #f8e5d9; }
.drawer-nav .submenu { position: static; min-width: 0; width: 100%; margin: .32rem 0 .5rem; border-color: #ecd5c8; background: #fff8f1; box-shadow: none; }
.drawer-nav .submenu a { display: flex; align-items: center; min-height: 44px; padding: .45rem .58rem; line-height: 1.25; }
.drawer-nav .shop-submenu-groups p { margin-inline: .58rem; }
.suggestions a { display: flex; align-items: center; gap: .5rem; width: 100%; padding: .7rem .35rem; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; }
.drawer-nav a:hover, .suggestions a:hover { background: #f8e5d9; }
.search-form { display: flex; gap: .45rem; }
.search-form input { min-width: 0; }
.loading { margin: 4rem auto; text-align: center; }
#toast { position: fixed; z-index: 8; bottom: 1.2rem; left: 50%; width: max-content; max-width: calc(100% - 1.4rem); transform: translate(-50%, 150%); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; color: white; background: #72233c; border-radius: 12px; padding: .7rem 1rem; text-align: center; }
#toast.shown { opacity: 1; transform: translate(-50%,0); }
@media (max-width: 1279px) and (min-width: 851px) {
  .header-inner { width: 92%; }
  .desktop-heading { gap: .7rem; }
  .header-tools .icon-button { min-width: 35px; }
}
@media (max-width: 1150px) and (min-width: 851px) {
  .hero-copy { padding-left: 2.5vw; }
  .hero h1 { font-size: clamp(3.45rem,5.2vw,4.5rem); }
  .hero-picture { width: 59vw; }
}
@media (max-width: 850px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: revert !important; }
  body {
    --mobile-display: Baskervville, Baskerville, Georgia, serif;
    --mobile-text: 'DM Sans', system-ui, sans-serif;
    padding: max(.55rem,env(safe-area-inset-top)) 4.7% 0;
    background: radial-gradient(ellipse at 50% 20%,#f9d8c5,#edbaa0 80%);
    color: #482631;
    font-family: var(--mobile-text);
    line-height: 1.55;
  }
  .mobile-intro h1, .mobile-brand-link, .section-heading h2, .page-heading h1,
  .detail-copy h1, .drawer-header h2, .footer-inner h2, .footer-brand .wordmark > span {
    font-family: var(--mobile-display);
    font-weight: 400;
    font-synthesis: none;
  }
  .content-card h2, .payment-form legend, .facts dt, .drawer-item h3, .tracking-heading h2 { font-weight: 500; }
  .page-heading h1, .detail-copy h1 { font-size: clamp(2rem,6.5vw,3.4rem); line-height: 1.09; letter-spacing: -.025em; }
  .detail-copy .eyebrow { font-weight: 500; letter-spacing: .075em; }
  .detail-copy .prices strong { font-size: 1.4rem; font-weight: 600; }
  #shell { min-height: calc(100vh - 9px); border-radius: clamp(18px,5vw,50px) clamp(18px,5vw,50px) 0 0; overflow: clip; background: radial-gradient(ellipse 65% 36rem at 48% 19rem,#f9ddca,transparent),linear-gradient(140deg,#fae6d9,#f8d6c2 65%,#fae6d9); box-shadow: 0 10px 30px #74412e2b; }
  .wrap, .header-inner { width: 91%; }
  .mobile-heading { display: flex !important; justify-content: space-between; align-items: center; min-height: 58px; padding-top: .28rem; }
  .mobile-heading .icon-button { min-block-size: clamp(39px,7.4vw,55px); min-inline-size: clamp(39px,7.4vw,55px); }
  .mobile-heading .icon-button:first-child svg { width: clamp(21px,4.9vw,33px); height: auto; }
  .mobile-heading .icon-button:last-child { background: #edab8d; color: #540d24; }
  .mobile-heading .icon-button:last-child svg { width: clamp(21px,4.3vw,28px); height: auto; }
  .mobile-brand-link { text-align: center; font-size: 1.12rem; }
  .mobile-intro { width: 89%; margin: .08rem auto 0; }
  .mobile-intro h1 { margin: 0; font-size: clamp(2.4rem,8.05vw,4.65rem); line-height: 1.05; letter-spacing: -.02em; color: #4b2030; }
  .mobile-intro > p { margin: .52rem 0 0 .08rem; font: 500 clamp(.68rem,2.7vw,1.31rem)/1.2 var(--mobile-text); letter-spacing: .17em; text-transform: uppercase; }
  .category-bar { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: .17rem; margin: clamp(1.2rem,4.6vw,2.8rem) -.25rem 0; }
  .category-bar a { display: grid; text-align: center; place-items: center; align-content: start; gap: .4rem; line-height: 1.18; font-size: clamp(.68rem,2.66vw,1.18rem); white-space: nowrap; }
  .category-bar a > span { display: grid; place-items: center; width: clamp(38px,11.1vw,79px); aspect-ratio: 1; border-radius: 50%; color: #65102d; background: #fff7ee; }
  .category-bar a svg { width: 62%; height: auto; stroke-width: 1.2; }
  .category-bar a:is(.highlight,:hover) > span { background: #861635; color: #fff7f3; }
  .home-sections { display: flex; flex-direction: column; gap: clamp(1.8rem,6vw,3rem); }
  .home-popular { order: -1; margin-top: clamp(1.75rem,6.2vw,3.5rem); }
  .home-popular .product-card:nth-child(n+3) { display: none; }
  .section-heading { padding: 0 .15rem; margin-bottom: clamp(.65rem,2.6vw,1.2rem); }
  .section-heading h2 { font-size: clamp(1.36rem,4.82vw,2.65rem); letter-spacing: -.024em; }
  .section-link { gap: .35rem; font-size: clamp(.65rem,2.15vw,.9rem); font-weight: 500; }
  .section-link svg { width: 15px; }
  .dots-link { padding: .3rem; }
  .dots-link svg { display: block; width: clamp(20px,5vw,36px); }
  .collections-grid, .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(.5rem,2.5vw,1.2rem); }
  .product-card, .collection-card { border: 0; border-radius: clamp(11px,3.9vw,30px); background: #fce9dc; box-shadow: none; }
  .card-visual { background: radial-gradient(ellipse at 50% 80%,#f9d9c6,#facdb8); border-radius: clamp(11px,3.9vw,30px); }
  .card-image { aspect-ratio: 1 / 1.04; }
  .card-visual--text-only { background: none; }
  .card-copy { padding: clamp(.45rem,2.15vw,1.2rem) clamp(.48rem,2.7vw,1.35rem) clamp(.55rem,2.2vw,1.15rem); }
  .card-copy h3 { font-size: clamp(.9rem,3.1vw,1.5rem); font-weight: 500; line-height: 1.31; }
  .size, .card-note { color: var(--muted); font-size: clamp(.76rem,2.6vw,1.12rem); margin-top: .18rem; }
  .card-note { color: #7c2942; font-size: clamp(.66rem,2.3vw,.95rem); }
  .card-bottom { margin-top: auto; padding-top: .4rem; }
  .prices { column-gap: .38rem; }
  .card-bottom .prices strong { font-size: clamp(.86rem,2.78vw,1.2rem); font-weight: 600; }
  .card-bottom .prices del { font-size: clamp(.64rem,2.05vw,.95rem); }
  .quick-add { width: clamp(27px,6.8vw,39px); height: clamp(27px,6.8vw,39px); }
  .quick-add svg { width: 16px; }
  .favorite { inset: .25rem .25rem auto auto; min-inline-size: clamp(31px,6.8vw,48px); min-block-size: clamp(31px,6.8vw,48px); }
  .favorite svg { width: 64%; height: auto; }
  .collection-card img { border-radius: inherit; }
  .collection-card strong { font-size: clamp(.78rem,2.65vw,1.15rem); font-weight: 500; padding: .4rem .25rem; }
  #bottom-nav {
    position: fixed; z-index: 5; bottom: max(.55rem,env(safe-area-inset-bottom)); left: 6.1%; right: 6.1%; display: grid !important;
    grid-template-columns: repeat(4,minmax(0,1fr)); align-items: center; justify-items: stretch; min-height: clamp(52px,11.7vw,73px);
    border-radius: 999px; color: #7d422f; background: #fff4ebf7; box-shadow: 0 4px 17px #63301e22; border: 1px solid #fff8f4;
  }
  #bottom-nav > * { width: 100%; min-height: 45px; display: grid; place-items: center; }
  #bottom-nav svg { width: clamp(22px,5.65vw,33px); height: auto; }
  #bottom-nav .active { color: #6e102d; }
  #bottom-nav :is(.cart-badge,.favorite-badge) { right: calc(50% - 23px); top: 0; }
  #footer { margin-top: 2rem; padding-bottom: calc(4rem + env(safe-area-inset-bottom)); }
  .footer-inner { grid-template-columns: minmax(0,1fr); justify-items: center; gap: .95rem; padding: 1.3rem 0 .85rem; text-align: center; }
  .footer-inner > * { max-width: 100%; }
  .footer-inner h2 { margin: 0 0 .45rem; font-size: .9rem; }
  .footer-brand { --footer-logo-width: 32px; --footer-logo-gap: .42rem; }
  .footer-brand p { margin-top: .26rem; font-size: .72rem; }
  .footer-brand .wordmark { margin-inline: auto; }
  .footer-brand .wordmark > span { font-size: .78rem; text-align: center; }
  .footer-brand .wordmark small { margin-top: .25rem; font-family: var(--mobile-text); }
  .footer-inner .contact-details { margin: 0; gap: .3rem; font-size: .72rem; }
  .footer-inner .contact-details li { justify-content: center; align-items: center; gap: .3rem; }
  .footer-inner .contact-details svg { width: 14px; height: 14px; margin: 0; }
  .footer-inner .social-links, .install-buttons { justify-content: center; }
  .footer-inner .social-links { gap: 0; }
  .footer-inner .social-icon { position: relative; width: 44px; height: 44px; border: 0; background: none; }
  .footer-inner .social-icon::before { content: ''; position: absolute; inset: 7px; border: 1px solid #e9c0b4; border-radius: 50%; background: #fff6ee; }
  .footer-inner .social-icon:is(a):hover::before { border-color: #80223d; background: #80223d; }
  .footer-inner .social-icon svg { position: relative; width: 15px; height: 15px; }
  .footer-bottom { justify-content: center; gap: .25rem 1rem; padding: .55rem 0; font-size: .67rem; text-align: center; }
  .install-buttons { gap: .42rem; }
  .install-button { min-width: 104px; min-height: 44px; gap: .42rem; padding: .27rem .5rem; border-radius: 7px; }
  .install-button svg { width: 18px; height: 18px; }
  .install-button small { margin-bottom: .12rem; font-size: .56rem; }
  .install-button strong { font-size: .8rem; }
  .install-status { margin-inline: auto; font-size: .69rem; }
  .float-help { bottom: calc(4rem + env(safe-area-inset-bottom)); right: 6%; }
  #toast { bottom: calc(4.4rem + env(safe-area-inset-bottom)); }
  .catalog-page #results .product-grid { grid-template-columns: minmax(0,1fr); }
  .catalog-page #results .card-image { aspect-ratio: 1.12; }
  .mobile-intro--seasonal .category-bar { margin-top: .25rem; }
}
@media (max-width: 740px) {
  .checkout-grid { grid-template-columns: 1fr; }
}
@media (max-width: 850px), (max-width: 1366px) and (pointer: coarse) {
  .catalog-page--group #results .product-grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 640px), (max-width: 850px) and (max-height: 500px) and (pointer: coarse) {
  .home-popular .product-grid { grid-template-columns: minmax(0,1fr); }
  .featured-grid .product-card:nth-child(-n+2) { grid-area: 1 / 1; visibility: hidden; }
  .featured-grid .product-card.featured-current { visibility: visible; }
  .home-popular .card-image { aspect-ratio: 1.12; }
  .featured-products { position: relative; }
  .featured-controls {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
  }
  .featured-controls button {
    display: grid;
    place-items: start center;
    width: 54px;
    min-height: 44px;
    padding: .55rem 0 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
  }
  .featured-controls button::before {
    content: '';
    width: calc(100% - 5px);
    height: 4px;
    border: 1px solid #65102d58;
    border-radius: 99px;
    background: #fffaf2b8;
    box-shadow: 0 1px 2px #49152630;
  }
  .featured-controls [aria-pressed="true"]::before { background: #801537d9; border-color: #fffaf28c; }
}
@media (prefers-reduced-motion: no-preference) {
  @media (max-width: 640px), (max-width: 850px) and (max-height: 500px) and (pointer: coarse) {
    .featured-grid .featured-current { animation: featured-appear .25s ease-out; }
  }
  @keyframes featured-appear { from { opacity: .6; } to { opacity: 1; } }
}
@media (max-width: 640px) {
  .mobile-heading .mobile-brand-link { display: none; }
  .mobile-heading .mobile-brand-mark { display: inline-flex; justify-content: center; gap: .38rem; min-height: 44px; }
  .mobile-brand-mark img { width: clamp(26px,7.6vw,38px); }
  .mobile-brand-mark > span { font: 400 clamp(.68rem,3vw,.93rem)/1.1 var(--mobile-display); }
  .mobile-brand-mark small { margin-top: .24rem; font-family: var(--mobile-text); }
  .mobile-intro-diamond { display: inline-block; height: .68em; height: 1cap; margin-inline-end: .15em; vertical-align: baseline; }
  .mobile-intro-diamond img { width: auto; height: 100%; max-width: none; }
}
@media (max-width: 560px) {
  .about-grid, .product-detail { grid-template-columns: 1fr; }
  #drawer[data-view="filters"] { inset: auto 0 0; width: 100%; height: auto; max-height: 84dvh; border-radius: 22px 22px 0 0; }
  #drawer[data-view="filters"][open] { display: flex; flex-direction: column; }
  #drawer[data-view="filters"] .drawer-header { flex: none; }
  #drawer[data-view="filters"] .drawer-body { display: flex; min-height: 0; padding: 0; }
  #filters { display: flex; flex-direction: column; min-height: 0; width: 100%; }
  .filters { min-height: 0; overflow: auto; padding: .85rem 1.15rem; }
  .filter-actions { flex: none; margin: 0; padding: .7rem 1.15rem max(.7rem,env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
  .payment-submit { padding-inline: .48rem; }
  .search-form .button { padding-inline: .75rem; }
}
@media (max-width: 420px) {
  .filters { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .drawer-nav .shop-submenu-groups { grid-template-columns: 1fr; }
}
@media (max-width: 340px) {
  body { padding-inline: 3%; }
  .category-bar { margin-inline: -.3rem; }
  .category-bar a { font-size: .63rem; }
  .hero .wide-only { display: none; }
  .checkout-products li { grid-template-columns: 45px minmax(0,1fr) auto; gap: .42rem; font-size: .82rem; }
  .checkout-product-visual { height: 45px; }
  .checkout-product-visual img { width: 34px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.hero--christmas {
  --christmas-photo-width: min(65vw,calc(clamp(350px,34vw,584px) * 1672 / 941));
  --christmas-photo-height: calc(var(--christmas-photo-width) * 941 / 1672);
  background: linear-gradient(105deg,#fbd1d7,#f3a0ad 56%,#da6d81);
}
.hero--christmas .hero-picture {
  inset: auto 0 0 auto;
  width: var(--christmas-photo-width);
  height: var(--christmas-photo-height);
  background: url('/assets/noel-paysage.webp') right center / contain no-repeat;
  mask-image: linear-gradient(to right,transparent,black 10%);
}
.hero--christmas .hero-wrap {
  align-items: flex-start;
  min-height: var(--christmas-photo-height);
}
.hero--christmas .hero-copy {
  width: min(49%,34rem);
  padding-top: clamp(2.8rem,5vw,5.2rem);
}
.hero--christmas .hero-copy :is(.eyebrow,.hero-intro) { color: #503451; }
.hero--christmas h1 { color: #452c54; }
.hero--christmas h1 em { color: #653861; }
.hero--christmas .button.outline { color: #731a33; border-color: #a64658; background: #fff6f0bd; }
.hero--christmas .button.outline:hover { background: #fff6f0; }
.hero--christmas .hero-actions { gap: .55rem .8rem; }

.christmas-portrait {
  display: none;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(91%,35rem);
  margin: .6rem auto 0;
  border-radius: clamp(16px,4vw,31px);
  aspect-ratio: 1071 / 1468;
  background: #ed9da8;
}
.christmas-portrait-picture {
  position: absolute;
  inset: 0;
  background: url('/assets/noel-portrait.webp') center / contain no-repeat;
}
.christmas-shortcuts {
  position: absolute;
  inset: 49% 0 auto;
  transform: translateY(-50%);
  display: flex;
  justify-content: center;
  gap: clamp(.4rem,2vw,.75rem);
  padding: .48rem .35rem;
  background: radial-gradient(ellipse at center,#210c17a8,transparent 73%);
}
.christmas-shortcut {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-height: 44px;
  padding: .35rem clamp(.55rem,2.6vw,1.15rem);
  color: #61213b;
  background: #fffaf6;
  border: 1px solid #ffffff;
  border-radius: 999px;
  box-shadow: 0 3px 12px #250e202b;
  font: 600 clamp(.76rem,3vw,.94rem)/1.2 'DM Sans',var(--sans);
  white-space: nowrap;
}
.christmas-shortcut:hover { background: #ffebee; }
.christmas-shortcut:focus-visible { outline-color: #fff3d5; }

.christmas-ribbon {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 42px;
  margin-bottom: 1.1rem;
  overflow: hidden;
  border: 1px solid #ad3452;
  border-radius: 12px;
  color: #fff8f3;
  background: linear-gradient(102deg,#78152f,#9b2544 55%,#71142d);
  font: 600 .803rem/1.4 'DM Sans',var(--sans);
  letter-spacing: .095em;
}
.christmas-ribbon-link { flex: 1; min-width: 0; overflow: hidden; }
.christmas-ribbon-link:focus-visible { outline-color: #ffdf9f; outline-offset: -3px; }
.christmas-ribbon-static { display: block; padding: .5rem .75rem; text-align: center; }
.christmas-ribbon-track { display: none; width: max-content; }
.christmas-ribbon-group { display: flex; flex: none; align-items: center; gap: 1.2rem; padding-right: 1.2rem; white-space: nowrap; }
.christmas-separator { color: #ffdc9d; }
.christmas-ribbon--portrait { display: none; }

#christmas-snow {
  position: fixed;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  #christmas-snow { display: none; }
}

@media (min-width: 851px) and (max-width: 1150px) {
  .hero--christmas { --christmas-photo-width: min(60vw,calc(350px * 1672 / 941)); }
  .hero--christmas .hero-copy { padding: 1.65rem 0 1.2rem 1vw; }
  .hero--christmas .eyebrow { font-size: .74rem; }
  .hero--christmas h1 { font-size: clamp(2.45rem,4.8vw,3.5rem); }
  .hero--christmas .hero-intro { margin-block: .65rem .9rem; font-size: clamp(.97rem,1.65vw,1.15rem); }
  .hero--christmas .hero-actions { gap: .45rem; }
  .hero--christmas .hero-actions .button { padding-inline: .78rem; font-size: .86rem; }
}
@media (max-width: 850px), (max-width: 1366px) and (pointer: coarse) {
  .christmas-portrait { display: block; }
  .christmas-ribbon--portrait {
    display: flex;
    width: min(91%,35rem);
    margin-top: .75rem;
    margin-bottom: 1.2rem;
    font-size: .715rem;
  }
  .christmas-ribbon--landscape, .hero--christmas.desktop-only { display: none !important; }
  .is-christmas-home .mobile-heading .mobile-brand-link { display: none; }
  .is-christmas-home .mobile-brand-mark { display: inline-flex; gap: .38rem; }
  .is-christmas-home .mobile-brand-mark img { width: clamp(26px,7.6vw,38px); }
  .is-christmas-home .mobile-brand-mark > span { font: 400 clamp(.68rem,3vw,.93rem)/1.1 Baskervville,Georgia,serif; }
  .is-christmas-home .mobile-brand-mark small { margin-top: .24rem; font-family: 'DM Sans',var(--sans); }
}
@media (641px <= width <= 1366px) and (min-height: 540px) {
  .christmas-portrait, .christmas-ribbon--portrait {
    max-width: calc((100svh - 9rem) * 1071 / 1468);
  }
}
@media (min-width: 851px) and (max-width: 1366px) and (pointer: coarse) {
  .is-christmas-home .desktop-heading { display: none; }
  .is-christmas-home .mobile-heading { display: flex !important; min-height: 64px; justify-content: space-between; align-items: center; }
  .is-christmas-home .mobile-heading > button:last-child { background: #edab8d; color: #540d24; }
}

@media (prefers-reduced-motion: no-preference) {
  .christmas-motion .christmas-ribbon-static { display: none; }
  .christmas-motion .christmas-ribbon-track { display: flex; animation: christmas-ribbon-scroll 32s linear infinite; }
  .christmas-motion .christmas-ribbon-link:focus-visible .christmas-ribbon-track { animation-play-state: paused; }
  .christmas-motion :is(.hero--christmas .hero-picture,.christmas-portrait-picture) {
    animation: christmas-appear .7s ease-out both;
  }
  .christmas-motion :is(.hero--christmas .hero-copy,.christmas-shortcuts) {
    animation: christmas-appear .65s .2s ease-out both;
  }
}
@keyframes christmas-ribbon-scroll { to { transform: translateX(-50%); } }
@keyframes christmas-appear { from { opacity: 0; } to { opacity: 1; } }
