@font-face {
  font-family: "Instrument Serif";
  src: url("fuentes/instrument-serif-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fuentes/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: light;
  --wine: #4a1728;
  --blush: #e8e4e5;
  --paper: #ffffff;
  --pistachio: #c4d5ad;
  --lemon: #f4f2f3;
  --white: #ffffff;
  --ink: #381c24;
  --accent: var(--wine);
  --muted: #66464b;
  --line: #ded8da;
  --rose: color-mix(in srgb, var(--blush) 33%, var(--paper));
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Aptos", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { --header-height: 62px; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 12px); }
body { margin: 0; color: var(--ink); background: var(--paper); font: 15px/1.55 var(--sans); }
button { color: inherit; font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { font: 1em/1.08 var(--serif); letter-spacing: -.01em; }
h2 i { color: var(--accent); }
.icon-library { position: absolute; overflow: hidden; }
.icon { display: block; flex: 0 0 auto; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; z-index: 3; inset: -100px auto auto 10px; background: var(--paper); padding: 10px; }
.skip:focus { top: 10px; }
.header { --header-line: #ffffff80; position: sticky; top: 0; z-index: 2; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: var(--header-height); padding: 0 max(28px, 5vw); color: var(--paper); background: var(--wine); }
.nav, .bag { display: flex; gap: 7px; align-items: center; font-size: 13px; }
.nav a, .bag { border-radius: 100px; transition: background-color .25s ease; }
.nav a { padding: 8px 12px; white-space: nowrap; }
.nav a:hover, .bag:hover { background: color-mix(in srgb, var(--ink) 30%, var(--wine)); }
.wordmark { display: block; width: 140px; }
.wordmark img { width: 100%; height: auto; }
.bag { justify-self: end; gap: 8px; border: 1px solid var(--header-line); background: transparent; padding: 7px 10px; }
.bag svg { width: 19px; }
#bag-count { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; color: var(--wine); background: var(--rose); font-size: 11px; }
.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(450px, 49vw, 800px); background: #4a1728; color: #fff; }
.hero-photos, .hero-photos::after, .hero-photo { position: absolute; inset: 0; }
.hero-photos { z-index: -1; overflow: hidden; }
.hero-photos::after { content: ""; background: linear-gradient(90deg, #24131673, #24131633 42%, transparent 69%); }
.hero-photo { opacity: 0; transition: opacity .9s ease; }
.hero-photo.is-active { opacity: 1; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 57% center; }
.hero-photo-candles img { object-position: 50% 44%; }
.hero-photo-lemon img { object-position: 50% 65%; }
.hero-photo-coffee img { object-position: 50% 57%; }
.hero-copy { padding: 40px max(24px, 7vw); }
.hero-copy .eyebrow { color: #fff; text-transform: uppercase; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.eyebrow { color: var(--muted); text-transform: uppercase; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 10px; font-weight: 650; letter-spacing: .19em; }
.star { width: 13px; height: 13px; color: var(--lemon); }
.hero h1 { max-width: 18ch; margin-top: 12px; font: clamp(39px, 4.2vw, 65px)/1.04 var(--serif); text-wrap: balance; text-shadow: 0 2px 17px #1b1110a8; }
.hero .ivory { color: var(--wine); background: var(--paper); }
.hero .ivory:hover { background: var(--lemon); }
.hero .outline { color: #fff; border-color: #fff9; background: #24131645; }
.hero .outline:hover { color: var(--wine); background: var(--paper); }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 46px; padding: 10px 17px; border: 1px solid transparent; border-radius: 100px; font-size: 13px; font-weight: 650; transition: background-color .22s, border-color .22s, color .22s, transform .22s; }
.button .icon { transition: transform .22s ease; }
.button:hover .icon, .button:focus-visible .icon { transform: translateX(3px); }
.button:active { transform: translateY(1px); }
.ivory { color: var(--white); background: var(--wine); }
.ivory:hover { background: var(--ink); }
.ivory:focus-visible { outline-color: var(--wine); }
.dark { color: var(--white); background: var(--accent); }
.dark:hover { background: var(--ink); }
.dark:focus-visible { outline-color: var(--ink); }
.outline { color: var(--accent); background: transparent; border-color: var(--line); }
.outline:hover { border-color: var(--accent); background: var(--rose); }
.shop { max-width: 1510px; padding: 79px max(28px, 6vw) 70px; margin: auto; }
.shop-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 30px; }
.shop .eyebrow, dialog .eyebrow { color: var(--accent); }
.shop .star { color: var(--accent); }
.shop h2 { margin-top: 14px; font-size: clamp(46px, 6vw, 78px); }
.edition-line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 16px; align-items: center; border-block: 1px solid var(--line); padding: 12px 0; color: var(--accent); font-size: 10px; font-weight: 650; letter-spacing: .09em; }
#family-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
#family-tabs button { padding: 7px 13px; border: 0; border-radius: 100px; background: var(--rose); font-size: 12px; }
#family-tabs button:hover { background: var(--blush); color: var(--ink); }
#family-tabs button[aria-selected="true"] { color: var(--white); background: var(--wine); }
.catalogue-group { margin-top: clamp(24px, 4vw, 52px); scroll-margin-top: 20px; }
#frutales { width: min(86%, 1000px); margin-inline: auto; }
.catalogue-group h3 { display: flex; align-items: center; gap: 20px; margin-bottom: 16px; font-size: clamp(32px, 3.5vw, 48px); }
.catalogue-group h3::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(16px, 2.5vw, 37px); row-gap: clamp(30px, 4vw, 55px); }
.product-photo { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 13px 13px 3px 3px; background: var(--rose); text-align: left; overflow: hidden; }
.product-photo img { width: 100%; aspect-ratio: 4 / 4.65; height: auto; object-fit: cover; transition: transform .65s cubic-bezier(.22,.61,.36,1); }
.product-photo[data-detail="frambuesa"] img { scale: 1.03; transform-origin: 50% 72%; }
.product-photo[data-detail="cerise"] img { scale: 1.34; transform-origin: 50% 73%; }
@media (hover: hover) { .product-photo:hover img { transform: scale(1.055); } }
.view-label { position: absolute; inset: 12px 12px auto auto; display: flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 100px; color: var(--wine); background: var(--paper); font-size: 11px; transition: background-color .22s, color .22s; }
.view-label .icon { width: 14px; height: 14px; }
.product-photo:hover .view-label, .product-photo:focus-visible .view-label { color: var(--white); background: var(--wine); text-decoration: none; }
.products h4 { font-size: 22px; margin-top: 12px; }
.catalogue-group:not([hidden]) .products article { animation: catalogue-enter .58s cubic-bezier(.22,.8,.25,1) both; }
.catalogue-group:not([hidden]) .products article:nth-child(2) { animation-delay: 85ms; }
.catalogue-group:not([hidden]) .products article:nth-child(3) { animation-delay: 170ms; }
@keyframes catalogue-enter { from { opacity: 0; transform: translateY(15px) scale(.985); } }
.notes { margin-top: 7px; color: var(--accent); font-size: 11px; }
.product-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 15px; padding-top: 12px; border-top: 1px solid var(--line); }
.price { font-size: 14px; font-variant-numeric: tabular-nums; }
.sale-price { display: grid; gap: 4px; }
.sale-price strong { color: var(--wine); font-weight: 700; }
.promo-prices { display: grid; gap: 3px; font-size: 12px; }
.promo-prices > span { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 8px; }
.promo-prices del { color: var(--muted); }
.promo-prices small { color: var(--accent); font-size: 11px; }
.price-primary strong { font-size: 15px; }
.price-transfer { border-top: 1px solid var(--line); padding-top: 4px; }
.store-strip { overflow: hidden; color: var(--wine); background: var(--white); font-size: 12px; }
.store-strip:focus-visible { outline: 2px solid var(--wine); outline-offset: -2px; }
.hero + .store-strip { color: var(--white); background: var(--wine); font-size: 13px; font-weight: 600; }
.hero + .store-strip:focus-visible { outline-color: var(--white); }
.hero + .store-strip .strip-group { padding-block: 11px; }
.strip-track { display: flex; width: max-content; animation: benefits-scroll 22s linear infinite; }
.strip-group { display: flex; flex: none; align-items: center; justify-content: space-around; gap: clamp(26px, 4vw, 60px); min-width: 100vw; padding: 7px 24px; white-space: nowrap; }
.store-strip:hover .strip-track, .store-strip:focus .strip-track { animation-play-state: paused; }
@keyframes benefits-scroll { to { transform: translateX(-50%); } }
.checkout-page { max-width: 1160px; min-height: 70vh; margin: 0 auto; padding: clamp(30px, 6vw, 72px) max(18px, 4vw) 80px; }
.checkout-page h1 { margin: 10px 0 26px; font-size: clamp(52px, 8vw, 94px); }
.checkout-page h1 i { color: var(--accent); }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(18px, 4vw, 45px); align-items: start; }
.checkout-layout[hidden], .checkout-totals [hidden] { display: none; }
.checkout-panel, .checkout-result { padding: clamp(18px, 3vw, 32px); border: 1px solid var(--line); border-radius: 17px; background: var(--white); }
.checkout-panel h2, .checkout-result h2 { font-size: clamp(33px, 4vw, 47px); }
.checkout-result { max-width: 640px; }
.checkout-result p { margin-top: 9px; }
.checkout-result .button { margin-top: 16px; }
.checkout-reference { overflow-wrap: anywhere; color: var(--muted); font-size: 13px; }
.checkout-form { display: grid; gap: 22px; margin-top: 21px; }
.checkout-form fieldset { display: grid; gap: 12px; min-width: 0; margin: 0; padding: 10px 14px 16px; border: 1px solid var(--line); border-radius: 10px; }
.checkout-form legend { padding: 0 5px; color: var(--wine); font-weight: 650; }
.checkout-form label { display: grid; gap: 5px; font-size: 13px; }
.checkout-form label[hidden] { display: none; }
.checkout-form input:not([type=radio]), .checkout-form select { width: 100%; min-height: 38px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 7px; background: var(--white); color: var(--wine); font: inherit; }
.checkout-form .payment-choices label { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 7px; cursor: pointer; }
.checkout-form .payment-choices label:has(:checked) { background: var(--rose); border-color: var(--accent); }
.checkout-form .payment-choices label:has(:disabled) { color: var(--muted); cursor: default; }
.checkout-form input[type=radio] { accent-color: var(--accent); }
.checkout-summary { position: sticky; top: 18px; }
.checkout-summary-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.checkout-edit { padding: 4px 0; border: 0; background: none; color: var(--accent); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.checkout-line { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 11px 0; border-bottom: 1px solid var(--line); }
.checkout-line img { width: 48px; height: 59px; border-radius: 5px; object-fit: cover; }
.checkout-line h3 { font-size: 24px; }
.checkout-line strong { font-size: 13px; white-space: nowrap; }
.checkout-quantity { color: var(--muted); font-size: 12px; margin-top: 4px; }
.checkout-totals { display: grid; gap: 7px; margin: 16px 0 0; }
.checkout-totals > div { display: flex; justify-content: space-between; gap: 12px; }
.checkout-totals dd { margin: 0; }
.checkout-total { padding-top: 10px; border-top: 1px solid var(--line); font-weight: 700; }
.checkout-summary .button { width: 100%; margin-top: 15px; }
.payment-return { padding: 12px max(24px, 6vw); background: var(--rose); }
.product-actions .button { padding: 8px 13px; min-height: 42px; gap: 9px; }
.fine { color: var(--muted); font-size: 12px; margin-top: 22px; }
.custom-section { padding: 26px max(18px, 5vw) clamp(48px, 7vw, 105px); }
.custom-intro, .custom-layout { max-width: 1320px; margin-inline: auto; }
.custom-intro { position: relative; text-align: center; }
.back-link { display: block; width: fit-content; margin-bottom: 6px; color: var(--accent); font-size: 12px; text-underline-offset: 4px; }
.back-link:hover { text-decoration: underline; }
.custom-intro h1 { margin: 8px 0 4px; font-size: clamp(34px, 4.5vw, 64px); }
.custom-intro > p { color: var(--muted); font: italic 20px/1.4 var(--serif); }
.custom-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(16px, 4vw, 54px); align-items: center; margin-top: 22px; }
.custom-layout[hidden] { display: none; }
.custom-preview { min-width: 0; overflow: hidden; background: var(--rose); }
.atelier-image { position: relative; aspect-ratio: 1.17; overflow: hidden; isolation: isolate; background: var(--wine); }
.atelier-image::before { content: ""; position: absolute; inset: -12px; background: var(--atelier-backdrop) center / cover; filter: blur(20px) brightness(.82); }
.atelier-scene { position: absolute; left: 50%; top: 50%; width: 94%; aspect-ratio: 760 / 828; transform: translate(-50%, -50%); isolation: isolate; transition: transform .55s cubic-bezier(.22,.8,.25,1); }
.atelier-scene[data-mode="detail"] { transform: translate(-50%, -50%) scale(1.82); transform-origin: 50% 22%; }
#atelier-photo { width: 100%; height: 100%; object-fit: cover; }
.atelier-wax, .atelier-wax span { position: absolute; inset: 0; }
.atelier-wax { mix-blend-mode: multiply; }
.atelier-wax span { mask-size: 100% 100%; transition: background-color .35s; opacity: .75; }
.atelier-wax span:last-child { opacity: .65; }
.atelier-ornaments { position: absolute; inset: auto 28% 82%; display: flex; justify-content: flex-end; align-items: end; gap: 5%; }
.atelier-ornaments img { width: 19%; max-height: 42px; object-fit: contain; filter: drop-shadow(1px 3px 2px #48180e75); animation: lift-in .35s ease both; }
.atelier-ornaments img:first-child:nth-last-child(2) { margin-right: 30%; }
.atelier-scene[data-cup="coupe"] .atelier-ornaments { bottom: 79%; }
.atelier-scene[data-mode="reference"] :is(.atelier-wax,.atelier-ornaments) { display: none; }
.atelier-views { position: absolute; top: 12px; left: 12px; display: grid; gap: 7px; }
.atelier-views button { width: clamp(36px, 4vw, 56px); aspect-ratio: 1; padding: 2px; border: 1px solid #fff7; background: #ffffff5c; transition: background-color .2s, border-color .2s; }
.atelier-views button:is(:hover,[aria-pressed="true"]) { border-color: var(--paper); background: var(--paper); }
.atelier-views button:focus-visible { outline-color: var(--paper); }
.atelier-views img { width: 100%; height: 100%; object-fit: cover; }
.atelier-views [data-view="detail"] img { object-position: 50% 18%; clip-path: inset(0); transform: scale(1.5); transform-origin: 50% 26%; }
.atelier-views [data-view="detail"] { overflow: hidden; }
.preview-card figcaption { display: flex; align-items: center; justify-content: space-between; gap: 7px 14px; padding: 10px 14px; }
#custom-model { font: 21px/1 var(--serif); }
.preview-card small { color: var(--muted); font-size: 11px; text-align: right; }
.custom-form { min-width: 0; }
.custom-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.custom-option { position: relative; display: grid; align-content: start; gap: 5px; min-height: 86px; padding: 12px 32px 12px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); text-align: left; }
.custom-option:hover { border-color: var(--wine); background: var(--rose); }
.custom-option-title { color: var(--ink); font: clamp(21px, 2.2vw, 29px)/1.05 var(--serif); }
.custom-option-value { color: var(--muted); font-size: 12px; line-height: 1.35; }
.custom-option .icon { position: absolute; top: 14px; right: 11px; color: var(--wine); }
.custom-dialog { width: min(680px, calc(100% - 28px)); max-height: calc(100dvh - 28px); padding: clamp(16px, 3vw, 29px); border-radius: 14px; overflow: auto; }
.custom-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.custom-dialog-header h2 { font-size: clamp(29px, 4vw, 40px); }
.custom-dialog-help { margin: 4px 0 12px; color: var(--muted); font: italic 17px/1.3 var(--serif); }
.custom-dialog-done { display: flex; width: fit-content; margin: 16px 0 0 auto; }
.custom-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.care-section { max-width: 1200px; margin-inline: auto; padding: clamp(42px, 7vw, 92px) max(22px, 5vw); }
.care-section h2 { font-size: clamp(48px, 7vw, 86px); margin-bottom: 22px; }
.care-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.care-grid article { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
.care-grid img { width: 100%; height: auto; aspect-ratio: 1.8; object-fit: cover; background: var(--rose); }
.care-copy { padding: clamp(18px, 3vw, 30px); }
.care-grid h3 { font-size: clamp(29px, 4vw, 44px); }
.care-grid p { max-width: 47ch; margin-top: 9px; color: var(--muted); }
.care-grid ul { margin: 10px 0 0; padding-left: 19px; color: var(--muted); }
.care-grid li + li { margin-top: 7px; }
.product-specs { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; margin: 18px 0 0; padding-block: 14px; border-top: 1px solid var(--line); }
.product-specs dt { color: var(--muted); font-size: 12px; }
.product-specs dd { margin: 4px 0 0; color: var(--ink); font-size: 14px; line-height: 1.4; }
.care-copy details { margin-top: 12px; color: var(--accent); }
.care-copy summary { width: fit-content; cursor: pointer; font-size: 13px; text-underline-offset: 4px; }
.care-copy summary:hover { text-decoration: underline; }
.cup-choices, .palette, .chip-choices, .topping-options { display: grid; gap: 5px; }
.cup-choices { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 500px; }
.palette, .chip-choices, .topping-options { grid-template-columns: repeat(auto-fit, minmax(64px, 1fr)); }
.custom-choice { position: relative; min-width: 0; cursor: pointer; }
.choice-body { display: flex; flex-direction: column; align-items: center; justify-content: start; gap: 5px; min-height: 44px; height: 100%; padding: 5px 2px; border: 1px solid transparent; color: var(--wine); font-size: 11px; line-height: 1.2; text-align: center; transition: background-color .24s, border-color .24s; }
.cup-choices .choice-body { padding: 3px 3px 7px; font-size: 13px; }
.cup-choices img { width: 100%; height: auto; aspect-ratio: 1 / 1.03; object-fit: cover; }
.custom-choice:hover .choice-body { background: var(--white); }
.custom-choice input:checked + .choice-body { border-color: var(--accent); background: var(--rose); }
.custom-choice input:focus-visible + .choice-body { outline: 2px solid var(--wine); outline-offset: 2px; }
.custom-choice:has(input:disabled) { cursor: default; }
.custom-choice input:disabled + .choice-body { opacity: .54; }
.color-choices { display: grid; gap: 10px; }
.color-choices fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.color-choices legend { padding: 0 0 5px; font-size: 12px; font-weight: 600; }
.option-photo, .color-swatch { width: clamp(35px, 4vw, 57px); height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; transition: transform .28s; }
.custom-choice:hover :is(.option-photo, .color-swatch) { transform: scale(1.06); }
.color-swatch { border: 1px solid #59313038; background: linear-gradient(145deg, #fff4, transparent 62%), var(--swatch) url("imagenes/atelier/wax-wax.webp") center / cover; background-blend-mode: normal, multiply; }
.custom-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 0 0; border-top: 1px solid var(--line); }
.custom-actions .price strong { font: 27px/1 var(--serif); }
.custom-actions .price small { display: block; color: var(--muted); font: 12px/1.5 var(--sans); }
.cart-variant { color: var(--muted); font-size: 12px; }
.custom-invite { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(22px, 5vw, 70px); padding: clamp(30px, 4vw, 55px) max(24px, 6vw); background: var(--pistachio); }
.custom-invite img { width: 100%; height: auto; }
.custom-invite h2 { font-size: clamp(42px, 5.5vw, 72px); }
.custom-invite .eyebrow { margin-bottom: 8px; }
.custom-invite h2 + p { margin-top: 8px; color: var(--muted); }
.custom-invite .button { margin-top: 20px; }
.club { display: grid; grid-template-columns: 1fr 1fr; background: var(--wine); color: var(--white); }
.club[hidden] { display: none; }
.club > img { width: 100%; height: 100%; object-fit: cover; }
.club-copy { display: flex; flex-direction: column; align-items: start; justify-content: center; padding: clamp(30px, 5.5vw, 85px); }
.club-copy .eyebrow, .club-copy h2 i, .club-copy small { color: var(--paper); }
.club-copy h2 { margin-top: 8px; font-size: clamp(58px, 7vw, 105px); }
.club-copy > p:not(.eyebrow) { margin-top: 13px; max-width: 40ch; }
.club-price strong { color: var(--white); font: 1.9em/1 var(--serif); }
.club-copy .button { margin: 20px 0 8px; color: var(--ink); background: var(--lemon); }
.club-copy .button:hover { background: var(--white); }
.club-copy .button:focus-visible { outline-color: var(--white); }
.club-copy .button[aria-pressed="true"] { background: var(--paper); }
#club-interest[hidden] { display: none; }
.footer { padding: clamp(30px, 5vw, 64px) max(22px, 6vw); color: var(--white); background: var(--wine); }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 1fr)); gap: clamp(20px, 4vw, 56px); max-width: 1200px; margin-inline: auto; }
.footer .wordmark { display: inline-block; }
.footer .wordmark { width: 156px; }
.footer-brand p { margin-top: 6px; color: #ffffffd6; font-size: 13px; }
.footer nav h2 { margin-bottom: 8px; font: 650 11px/1.4 var(--sans); letter-spacing: .13em; text-transform: uppercase; }
.footer nav a { display: flex; align-items: center; gap: 7px; width: fit-content; min-height: 34px; padding-block: 5px; font-size: 14px; text-underline-offset: 4px; overflow-wrap: anywhere; }
.footer nav a:is(:hover,:focus-visible) { text-decoration: underline; }
dialog { color: var(--ink); background: var(--paper); border: 0; padding: 0; }
dialog::backdrop { background: #310c17b8; }
body:has(dialog[open]) { overflow: hidden; }
.close { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); font-size: 24px; line-height: 1; }
.close:hover { border-color: var(--ink); }
.product-dialog { position: fixed; width: min(770px, calc(100% - 32px)); max-height: calc(100% - 32px); }
.product-dialog[open] { display: grid; grid-template-columns: 1fr 1fr; animation: lift-in .28s ease-out both; }
.product-dialog > .close { position: absolute; z-index: 1; top: 12px; right: 12px; }
.product-gallery { display: grid; align-content: start; min-width: 0; background: var(--rose); }
#product-image { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: contain; }
.product-thumbnails { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 14px; background: var(--paper); }
.product-thumbnails[hidden] { display: none; }
.product-thumbnails button { width: 56px; height: 56px; padding: 3px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
.product-thumbnails button[aria-pressed="true"] { border: 2px solid var(--wine); padding: 2px; }
.product-thumbnails img { width: 100%; height: 100%; border-radius: 3px; object-fit: cover; }
.product-content { align-self: center; padding: 48px 28px 28px; }
.product-content h2 { font-size: clamp(34px, 4.5vw, 49px); }
.product-content .notes { color: var(--muted); font-size: 12px; }
#product-description { color: var(--ink); margin-top: 14px; }
.product-purchase { display: grid; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.detail-price .price-primary strong { font-size: 20px; }
.detail-price .price-transfer { border-top: 0; padding-top: 0; }
.cart-dialog { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(100%, 460px); height: 100%; max-height: none; max-width: 100%; }
.cart-dialog[open] { display: flex; flex-direction: column; animation: slide-in .26s ease-out both; }
.cart-header, .cart-footer { padding: 22px; }
.cart-header { display: flex; align-items: start; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); }
.cart-header h2 { font-size: 42px; margin-top: 8px; }
.cart-body { flex: 1; overflow: auto; padding: 22px; }
.cart-footer { border-top: 1px solid var(--line); }
.cart-footer:empty { display: none; }
.cart-footer .button, .cart-body > .button { width: 100%; margin-top: 10px; }
.cart-line { display: grid; grid-template-columns: 65px minmax(0, 1fr) auto; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cart-line:first-child { padding-top: 0; }
.cart-line img { width: 65px; height: 78px; object-fit: cover; }
.cart-line h3 { font-size: 21px; margin: 3px 0 6px; }
.quantity { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.quantity button { display: grid; place-items: center; min-width: 31px; height: 32px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; }
.quantity button:hover { border-color: var(--ink); }
.quantity button:disabled { opacity: .45; cursor: default; }
.cart-line .price { text-align: right; }
.total { display: flex; justify-content: space-between; font-weight: 650; }
.cart-note { color: var(--muted); font-size: 13px; margin: 10px 0 0; }
.review-line { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
@keyframes lift-in { from { opacity: .35; transform: translateY(12px); } }
@keyframes slide-in { from { opacity: .6; transform: translateX(25px); } }
.hero-copy, .checkout-page > h1, .custom-intro, .custom-preview { animation: catalogue-enter .65s cubic-bezier(.22,.8,.25,1) both; }
@media (max-width: 760px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  html { --header-height: 74px; }
  .header { padding-inline: 18px; }
  .nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; gap: 6px; border-top: 1px solid var(--header-line); font-size: 12px; }
  .nav a { padding-block: 7px; }
  .header .wordmark { grid-column: 2; grid-row: 1; width: 110px; }
  .header .bag { grid-column: 3; grid-row: 1; }
  .bag { gap: 5px; font-size: 11px; }
  .hero-actions .button { gap: 7px; min-height: 42px; padding-inline: 11px; font-size: 12px; }
  .shop { padding: 52px 20px 48px; }
  .shop-heading { align-items: start; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .club-copy { padding: 36px 24px; }
  .custom-layout { display: flex; flex-direction: column; }
  .custom-preview, .custom-form { width: 100%; }
  .atelier-image { aspect-ratio: auto; height: clamp(205px, 65vw, 320px); }
  .atelier-image::before { filter: blur(14px) brightness(.72); }
  .atelier-scene { width: auto; height: 100%; }
  .atelier-ornaments img { max-height: 20px; }
  .care-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .product-dialog[open] { grid-template-columns: 1fr; }
  #product-image { height: clamp(240px, 78vw, 410px); }
  .product-content { padding: 20px; }
  .custom-invite { grid-template-columns: 1fr; }
  .hero { align-items: start; min-height: clamp(480px, 130vw, 690px); }
  .hero-copy { padding: clamp(26px, 8vw, 45px) 23px 64px; }
  .hero h1 { font-size: clamp(34px, 8.4vw, 46px); }
  .hero-actions { margin-top: 14px; }
  .hero-photo img { object-position: center; }
  .hero-photo-candles img { object-position: 64% 44%; }
  .hero-photos::after { background: linear-gradient(180deg, #23171bc9, #23171b58 36%, transparent 58%); }
}
@media (max-width: 490px) {
  .header { padding-inline: 12px; }
  .products { grid-template-columns: 1fr; gap: 30px; }
  .catalogue-group:not(#frutales) .product-photo img { aspect-ratio: 4 / 4.2; }
  .club { grid-template-columns: 1fr; }
  .club > img { height: auto; aspect-ratio: 1.4; }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; padding-bottom: 15px; border-bottom: 1px solid #ffffff40; }
}
@media (prefers-reduced-motion: reduce) {
  .strip-track { width: 100%; animation: none; }
  .strip-group { min-width: 0; width: 100%; flex-wrap: wrap; gap: 3px 18px; text-align: center; white-space: normal; }
  .strip-group[aria-hidden="true"] { display: none; }
  .catalogue-group:not([hidden]) .products article { animation: none; }
  .atelier-ornaments img { animation: none; }
  .atelier-scene, .atelier-wax span { transition: none; }
  html { scroll-behavior: auto; }
  .hero-copy, .checkout-page > h1, .shop-heading, .products article, .custom-intro, .custom-preview, .club-copy, .product-dialog[open], .cart-dialog[open] { animation: none; }
  .hero-photo, .button, .button .icon, .product-photo img, .view-label, .nav a, .choice-body, .option-photo, .color-swatch { transition: none; }
  .button:hover .icon, .button:focus-visible .icon, .button:active, .product-photo:hover img, .cup-choices .custom-choice:hover img { transform: none; }
}
