/* ——— Tokens ——— */
:root {
  --ivory: #FBF6F1;
  --paper: #FFFDFB;
  --sand: #F3E8DE;
  --linen: #EADBCD;
  --blush: #F4DCD7;
  --rose: #E9BFBB;
  --mauve: #A5646D;
  --mauve-deep: #86474F;
  --cocoa: #3E2C29;
  --taupe: #8A7470;
  --gold: #BE9B6E;
  --line: rgba(62, 44, 41, .12);
  --shadow: 0 30px 60px -30px rgba(110, 60, 55, .35);

  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --r-arch: 999px 999px 18px 18px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--cocoa);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--mauve); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 em, h1 em { font-style: italic; color: var(--mauve); }
.eyebrow {
  font-family: var(--sans); font-size: .72rem; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase; color: var(--taupe); margin: 0 0 1rem;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 1.8em; border-radius: 999px;
  font-size: .78rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background .3s, color .3s, border-color .3s, transform .3s;
}
.btn--solid { background: var(--cocoa); color: var(--ivory); }
.btn--solid:hover { background: var(--mauve-deep); }
.btn--solid:disabled { background: var(--linen); color: var(--taupe); cursor: not-allowed; }
.btn--ghost { border-color: var(--cocoa); background: transparent; }
.btn--ghost:hover { background: var(--cocoa); color: var(--ivory); }
.btn--block { width: 100%; }
.btn--grow { flex: 1; }

/* ——— Ribbon ——— */
.ribbon { background: var(--blush); overflow: hidden; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--mauve-deep); }
.ribbon__track { display: flex; gap: 2.2rem; align-items: center; width: max-content; padding: .55rem 0; animation: marquee 38s linear infinite; }
.ribbon__track i { font-style: normal; color: var(--mauve); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ——— Header ——— */
.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 1rem var(--gutter);
  background: rgba(251, 246, 241, .86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__nav { display: flex; gap: 1.8rem; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; }
.header__nav a { text-decoration: none; position: relative; }
.header__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--mauve); transform: scaleX(0); transition: transform .3s; transform-origin: left; }
.header__nav a:hover::after { transform: scaleX(1); }
.brand { font-family: var(--display); font-style: italic; font-size: clamp(1.5rem, 3vw, 2rem); text-decoration: none; letter-spacing: .01em; white-space: nowrap; }
.cart-btn { justify-self: end; display: inline-flex; align-items: center; gap: .6rem; background: none; border: 0; cursor: pointer; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; position: relative; padding: .4rem; }
.cart-btn__count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  display: inline-grid; place-items: center; background: var(--mauve); color: #fff;
  font-size: .7rem; letter-spacing: 0; font-weight: 500;
}
.cart-btn__count.bump { animation: bump .5s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }

/* ——— Hero ——— */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(2rem, 4vw, 4rem); }
.hero__title { font-size: clamp(3.4rem, 9vw, 7.4rem); line-height: .92; margin-bottom: 1.6rem; }
.hero__title em { display: inline-block; padding-left: .6em; }
.hero__lead { font-family: var(--display); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.5rem); margin: 0 0 1rem; color: var(--mauve-deep); }
.hero__sub { max-width: 46ch; color: var(--taupe); margin: 0 0 2.2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero__visual { position: relative; padding: 0 0 2rem 3rem; }
.arch { border-radius: var(--r-arch); overflow: hidden; background: var(--sand); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch--hero { aspect-ratio: 4 / 5; max-width: 100%; box-shadow: var(--shadow); }
.arch--small { position: absolute; left: 0; bottom: 0; width: 38%; aspect-ratio: 3 / 4; border: 6px solid var(--ivory); box-shadow: var(--shadow); }
.hero__badge {
  position: absolute; right: -8px; top: 12%;
  width: 104px; height: 104px; border-radius: 50%;
  background: var(--paper); box-shadow: var(--shadow);
  display: grid; place-content: center; text-align: center; line-height: 1;
  animation: float 6s ease-in-out infinite;
}
.hero__badge span { font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); }
.hero__badge strong { font-family: var(--display); font-weight: 400; font-style: italic; font-size: 2rem; color: var(--mauve); margin-top: .2rem; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ——— Steps ——— */
.steps { padding-block: 1rem 4rem; }
.steps__list { list-style: none; margin: 0; padding: 2rem 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps__list li { display: flex; gap: 1.1rem; align-items: flex-start; }
.steps__n { font-family: var(--display); font-style: italic; font-size: 2.2rem; line-height: 1; color: var(--gold); min-width: 2.2rem; }
.steps h3 { font-size: 1.35rem; margin-bottom: .35rem; }
.steps p { margin: 0; color: var(--taupe); font-size: .95rem; }

/* ——— Section head ——— */
.section-head { text-align: center; margin-bottom: 2.4rem; }
.section-head__lead { color: var(--taupe); max-width: 52ch; margin: 1rem auto 0; }

/* ——— Shop ——— */
.shop { padding-block: 3rem 5rem; }
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.8rem; }
.tabs button, .tabs__link {
  background: transparent; border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
  padding: .7rem 1.4rem; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  transition: all .3s;
}
.tabs button[aria-selected="true"] { background: var(--cocoa); color: var(--ivory); border-color: var(--cocoa); }
.tabs button:hover, .tabs__link:hover { border-color: var(--cocoa); }
.tabs__link { color: var(--mauve-deep); border-style: dashed; border-color: var(--rose); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(1.4rem, 3vw, 2.6rem) clamp(1rem, 2.4vw, 2rem); }
.card { display: flex; flex-direction: column; text-align: center; cursor: pointer; background: none; border: 0; padding: 0; animation: rise .6s both; }
.card__img { aspect-ratio: 4 / 5; margin-bottom: 1.2rem; position: relative; }
.card__img img { transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card__img img { transform: scale(1.05); }
.card__quick {
  position: absolute; left: 50%; bottom: 1rem; transform: translate(-50%, 8px); opacity: 0;
  background: var(--paper); border-radius: 999px; padding: .6rem 1.2rem; white-space: nowrap;
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; transition: all .35s;
}
.card:hover .card__quick, .card:focus-visible .card__quick { opacity: 1; transform: translate(-50%, 0); }
.card__name { font-family: var(--display); font-size: 1.45rem; line-height: 1.15; margin-bottom: .35rem; }
.card__sizes { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); margin-bottom: .4rem; }
.card__price { font-size: .95rem; }
.card__price em { font-family: var(--display); font-size: 1.15rem; color: var(--mauve); }
@keyframes rise { from { opacity: .001; transform: translateY(14px); } }

/* ——— Mix ——— */
.mix { background: linear-gradient(180deg, var(--sand), var(--blush) 140%); padding-block: clamp(3.5rem, 7vw, 6rem); }
.mix__layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2.4rem; align-items: start; }
.mix__step + .mix__step { margin-top: 2.6rem; }
.mix__label { font-family: var(--sans); font-size: .78rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; display: flex; align-items: center; gap: .8rem; margin-bottom: 1.1rem; }
.mix__label span { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--cocoa); display: grid; place-items: center; font-family: var(--display); font-style: italic; letter-spacing: 0; font-size: .95rem; }
.mix__label-row { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .5rem 1rem; }
.mix__note { margin: 0 0 1.1rem; font-size: .85rem; color: var(--mauve-deep); font-style: italic; font-family: var(--display); }

.size-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.size-card { position: relative; }
.size-card input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.size-card label {
  display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: 1.1rem .5rem;
  border-radius: 16px; background: rgba(255, 253, 251, .7); border: 1px solid transparent; cursor: pointer; transition: all .25s; text-align: center;
}
.size-card label b { font-family: var(--display); font-weight: 400; font-size: 1.8rem; line-height: 1; }
.size-card label small { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); }
.size-card label span { font-size: .95rem; }
.size-card input:checked + label { background: var(--paper); border-color: var(--cocoa); box-shadow: 0 10px 30px -18px rgba(62,44,41,.5); }
.size-card input:focus-visible + label { outline: 2px solid var(--mauve); outline-offset: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.2rem; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .9rem; border-radius: 999px; cursor: pointer;
  background: rgba(255, 253, 251, .6); border: 1px solid transparent; font-size: .8rem; text-transform: capitalize; transition: all .2s;
}
.chip i { width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.chip[aria-pressed="true"] { background: var(--cocoa); color: var(--ivory); }

.flower-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: .8rem; }
.flower {
  display: flex; flex-direction: column; justify-content: flex-start; position: relative; padding: 0; border: 0; cursor: pointer; background: var(--paper); border-radius: 16px; overflow: hidden; text-align: left;
  transition: transform .25s, box-shadow .25s; box-shadow: 0 0 0 1px transparent;
}
.flower:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -20px rgba(62,44,41,.5); }
.flower img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.flower__txt { display: block; padding: .55rem .75rem .7rem; }
.flower__name { display: block; font-family: var(--display); font-size: 1rem; line-height: 1.2; }
.flower__color { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); }
.flower__tag { position: absolute; top: .5rem; left: .5rem; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; background: var(--blush); color: var(--mauve-deep); padding: .2rem .5rem; border-radius: 999px; }
.flower__check {
  position: absolute; top: .5rem; right: .5rem; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,.85); border: 1px solid var(--line); display: grid; place-items: center; font-size: .9rem; color: transparent; transition: all .2s;
}
.flower[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--mauve); }
.flower[aria-pressed="true"] .flower__check { background: var(--mauve); border-color: var(--mauve); color: #fff; }
.flower[aria-disabled="true"] { opacity: .45; }

.mix__summary { position: sticky; top: 96px; background: var(--paper); border-radius: 24px; padding: 1.8rem; box-shadow: var(--shadow); }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: 1.4rem; }
.slot { aspect-ratio: 3 / 4; border-radius: 999px 999px 12px 12px; border: 1px dashed var(--rose); display: grid; place-items: center; overflow: hidden; position: relative; background: var(--ivory); color: var(--rose); font-family: var(--display); font-style: italic; font-size: 1.4rem; }
.slot img { width: 100%; height: 100%; object-fit: cover; }
.slot button { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); cursor: pointer; font-size: .85rem; line-height: 1; display: grid; place-items: center; }
.mix__lines { margin: 0 0 1rem; display: grid; gap: .35rem; font-size: .9rem; }
.mix__lines div { display: flex; justify-content: space-between; gap: 1rem; }
.mix__lines dt { color: var(--taupe); }
.mix__lines dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.mix__total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 1rem; margin-bottom: 1.2rem; }
.mix__total span { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; }
.mix__total strong { font-family: var(--display); font-weight: 400; font-size: 2rem; }

/* ——— Story ——— */
.story { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; padding-block: clamp(4rem, 8vw, 7rem); }
.story__img { aspect-ratio: 4 / 5; max-width: 440px; width: 100%; justify-self: center; }
.story__text p { max-width: 54ch; color: var(--taupe); }
.story__text h2 { margin-bottom: 1.4rem; }
.story__sign { font-family: var(--display); font-style: italic; font-size: 1.3rem; color: var(--mauve) !important; margin-top: 1.6rem; }

/* ——— FAQ ——— */
.info { padding-block: 2rem 5rem; }
.faq { max-width: 780px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.3rem 0; font-family: var(--display); font-size: 1.3rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 300; font-size: 1.5rem; color: var(--mauve); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 1.4rem; color: var(--taupe); max-width: 62ch; }
.faq a { color: var(--mauve-deep); }

/* ——— Insta ——— */
.insta { padding-block: 0 5rem; }
.insta__inner { text-align: center; background: var(--blush); border-radius: 32px; padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem; }
.insta h2 a { text-decoration: none; font-style: italic; color: var(--mauve-deep); word-break: break-word; }
.insta p { color: var(--mauve-deep); margin: 1rem auto 1.8rem; max-width: 44ch; }

/* ——— Footer ——— */
.footer { background: var(--cocoa); color: var(--sand); padding-block: 3.5rem 2rem; font-size: .9rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer p { margin: 0 0 .4rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--rose); }
.footer__brand { font-family: var(--display); font-style: italic; font-size: 1.8rem; margin-bottom: .6rem !important; color: var(--ivory); }
.footer__h { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--rose); margin-bottom: .8rem !important; }
.footer__muted { color: rgba(243, 232, 222, .65); }
.footer__copy { margin-top: 2.5rem !important; padding-top: 1.4rem; border-top: 1px solid rgba(243, 232, 222, .15); font-size: .75rem; letter-spacing: .12em; color: rgba(243, 232, 222, .55); }

/* ——— Overlays & sheets ——— */
.overlay { position: fixed; inset: 0; z-index: 50; background: rgba(62, 44, 41, .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.sheet { position: relative; display: flex; flex-direction: column; background: var(--ivory); border-radius: 28px; width: min(1040px, 100%); max-height: calc(100dvh - 32px); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(62,44,41,.5); animation: pop .4s cubic-bezier(.2,.8,.2,1); overscroll-behavior: contain; }
.sheet > .product, .sheet > .order, .sheet > .legal { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.sheet__close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--paper); cursor: pointer; font-size: 1.6rem; line-height: 1; box-shadow: 0 4px 14px -6px rgba(0,0,0,.2); }
.sheet__close--static { position: static; box-shadow: none; background: transparent; }

.product { display: grid; grid-template-columns: 1fr 1fr; }
.product__img { background: var(--sand); min-height: 100%; }
.product__img img { width: 100%; height: 100%; object-fit: cover; max-height: 760px; position: sticky; top: 0; }
.product__body { padding: clamp(1.6rem, 4vw, 3rem); display: flex; flex-direction: column; gap: 0; }
.product__body h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: .8rem; padding-right: 2.5rem; }
.product__desc { color: var(--taupe); margin: 0 0 .4rem; }
.product__meta { font-size: .8rem; letter-spacing: .1em; color: var(--taupe); margin: 0 0 1.6rem; }
.product__meta b { font-weight: 500; color: var(--cocoa); }

.field { border: 0; padding: 0; margin: 0 0 1.5rem; }
.field legend, .field__label { font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; margin-bottom: .7rem; padding: 0; display: block; }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.pill label { display: flex; flex-direction: column; align-items: center; min-width: 76px; padding: .6rem .9rem; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; transition: all .2s; line-height: 1.25; }
.pill label b { font-family: var(--display); font-weight: 500; font-size: 1.1rem; }
.pill label small { font-size: .72rem; color: var(--taupe); }
.pill label span { font-size: .85rem; }
.pill input:checked + label { border-color: var(--cocoa); background: var(--cocoa); color: var(--ivory); }
.pill input:checked + label small { color: var(--rose); }
.pill input:focus-visible + label { outline: 2px solid var(--mauve); outline-offset: 2px; }
.pill--simple label { flex-direction: row; min-width: 0; padding: .55rem 1rem; gap: .5rem; }

.swatches { display: flex; flex-wrap: wrap; gap: .6rem; }
.swatch { position: relative; }
.swatch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.swatch label { display: flex; align-items: center; gap: .5rem; padding: .35rem .8rem .35rem .35rem; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-size: .85rem; transition: all .2s; }
.swatch label i { width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.swatch input:checked + label { border-color: var(--cocoa); box-shadow: 0 0 0 1px var(--cocoa); }
.swatch input:focus-visible + label { outline: 2px solid var(--mauve); outline-offset: 2px; }

.extras { border-top: 1px solid var(--line); padding-top: 1.4rem; }
.extra { border-bottom: 1px solid var(--line); padding: .9rem 0; }
.extra__toggle { display: flex; align-items: center; gap: .9rem; cursor: pointer; }
.extra__toggle input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; border-radius: 7px; border: 1px solid var(--taupe); margin: 0; display: grid; place-items: center; cursor: pointer; flex: none; background: var(--paper); }
.extra__toggle input:checked { background: var(--mauve); border-color: var(--mauve); }
.extra__toggle input:checked::after { content: "✓"; color: #fff; font-size: .8rem; }
.extra__name { flex: 1; }
.extra__price { font-size: .9rem; color: var(--taupe); font-variant-numeric: tabular-nums; }
.extra__panel { padding: 1rem 0 .4rem 2.2rem; display: grid; gap: 1rem; }
.input, .textarea {
  width: 100%; padding: .85rem 1rem; border-radius: 12px; border: 1px solid var(--line); background: var(--paper);
  font: inherit; font-weight: 400; color: var(--cocoa); transition: border-color .2s;
}
.input:focus, .textarea:focus { outline: none; border-color: var(--mauve); }
.textarea { resize: vertical; min-height: 80px; }
.input-hint { font-size: .75rem; color: var(--taupe); margin-top: .3rem; display: block; text-transform: none; letter-spacing: 0; }

.product__footer { display: flex; gap: .8rem; align-items: center; margin-top: 1.6rem; position: sticky; bottom: 0; background: var(--ivory); padding: 1rem 0 .2rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; height: 52px; background: var(--paper); }
.qty button { width: 44px; height: 100%; border: 0; background: none; cursor: pointer; font-size: 1.2rem; }
.qty output { min-width: 1.6rem; text-align: center; font-variant-numeric: tabular-nums; }
.qty--sm { height: 36px; }
.qty--sm button { width: 32px; font-size: 1rem; }

/* ——— Drawer ——— */
.overlay--drawer { display: flex; justify-content: flex-end; align-items: stretch; padding: 0; }
.drawer { width: min(460px, 100%); height: 100%; height: 100dvh; max-height: 100%; min-height: 0; background: var(--ivory); display: flex; flex-direction: column; animation: slide .45s cubic-bezier(.2,.8,.2,1); padding-top: env(safe-area-inset-top, 0px); }
@keyframes slide { from { transform: translateX(100%); } }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 1.5rem; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.9rem; font-style: italic; }
.drawer__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 0 1.5rem; overscroll-behavior: contain; }
.drawer__foot { padding: 1.2rem 1.5rem calc(1.2rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--paper); }
.line-item { display: grid; grid-template-columns: 76px 1fr; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.line-item__img { aspect-ratio: 3 / 4; border-radius: 999px 999px 10px 10px; overflow: hidden; background: var(--sand); }
.line-item__img img { width: 100%; height: 100%; object-fit: cover; }
.line-item__top { display: flex; justify-content: space-between; gap: .8rem; align-items: baseline; }
.line-item__name { font-family: var(--display); font-size: 1.15rem; line-height: 1.2; }
.line-item__price { font-variant-numeric: tabular-nums; white-space: nowrap; }
.line-item__details { list-style: none; margin: .35rem 0 .6rem; padding: 0; font-size: .82rem; color: var(--taupe); }
.line-item__actions { display: flex; justify-content: space-between; align-items: center; }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; color: var(--taupe); }
.link-btn:hover { color: var(--mauve-deep); }
.empty { text-align: center; padding: 4rem 1rem; }
.empty p { color: var(--taupe); }
.empty h3 { font-size: 1.8rem; font-style: italic; margin-bottom: .5rem; }
.totals { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .3rem; }
.totals span { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; }
.totals strong { font-family: var(--display); font-weight: 400; font-size: 2rem; }
.totals-note { font-size: .8rem; color: var(--taupe); margin: 0 0 1rem; }
.checkout-form { display: grid; gap: .8rem; padding: 1.4rem 0 1.6rem; }
.checkout-form h3 { font-size: 1.4rem; font-style: italic; margin: 0 0 .2rem; }
.checkout-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.checkout-form label { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; display: grid; gap: .35rem; }
.checkout-form .req { color: var(--mauve); }
.form-error { color: #9b2c3a; font-size: .85rem; margin: 0; }

/* ——— Order overview ——— */
.sheet--order { width: min(1120px, 100%); }
.order { display: grid; grid-template-columns: 340px 1fr; align-content: start; }
.order__intro { padding: clamp(1.6rem, 4vw, 2.8rem); background: var(--blush); }
.order__intro h2 { font-size: 2.6rem; margin-bottom: 1rem; }
.order__intro p { color: var(--mauve-deep); font-size: .95rem; }
.order__intro a { color: var(--mauve-deep); }
.order__actions { display: grid; gap: .6rem; margin: 1.6rem 0 1rem; }
.order__send { display: grid; gap: .4rem; }
.send-link { background: none; border: 0; border-bottom: 1px solid rgba(134, 71, 79, .25); cursor: pointer; font: inherit; color: inherit; width: 100%; text-align: left; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; padding: .6rem 0; display: flex; justify-content: space-between; }
.is-busy { opacity: .6; }
.btn--sm { min-height: 42px; font-size: .68rem; padding: 0 1.2em; }
.inapp { background: var(--paper); border-radius: 16px; padding: 1rem 1.1rem; margin: 1.2rem 0 0; border: 1px solid var(--rose); }
.inapp p { margin: 0 0 .8rem; font-size: .88rem; color: var(--cocoa) !important; }
.order__status { min-height: 1.4em; font-size: .85rem; font-style: italic; }
.order__paper-wrap { padding: clamp(1rem, 3vw, 2.4rem); background: var(--sand); min-width: 0; }

/* Het document zelf (ook gebruikt voor de PDF) */
.paper { width: 100%; max-width: 720px; margin-inline: auto; background: var(--paper); box-shadow: 0 20px 50px -30px rgba(62,44,41,.45); }
.doc { padding: 48px 52px 40px; color: var(--cocoa); font-family: var(--sans); font-weight: 300; font-size: 13px; line-height: 1.55; background: var(--paper); }
.doc__head { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 1px solid var(--linen); padding-bottom: 22px; margin-bottom: 26px; gap: 16px; }
.doc__brand { font-family: var(--display); font-style: italic; font-size: 30px; line-height: 1; }
.doc__tag { font-size: 9px; letter-spacing: .28em; text-transform: uppercase; color: var(--taupe); margin-top: 8px; }
.doc__no { text-align: right; font-size: 11px; color: var(--taupe); }
.doc__no b { display: block; font-family: var(--sans); font-weight: 500; font-size: 15px; letter-spacing: .08em; white-space: nowrap; color: var(--cocoa); margin: 2px 0; }
.doc__title { font-family: var(--display); font-size: 34px; line-height: 1; margin: 0 0 20px; }
.doc__title em { color: var(--mauve); }
.doc__meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; background: var(--ivory); border-radius: 14px; padding: 16px 18px; margin-bottom: 26px; }
.doc__meta div span { display: block; font-size: 8.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--taupe); margin-bottom: 2px; }
.doc__meta div b { font-weight: 400; word-break: break-word; }
.doc__item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--linen); }
.doc__thumb { width: 62px; height: 78px; flex: none; border-radius: 40px 40px 8px 8px; background-size: cover; background-position: center; background-color: var(--sand); }
.doc__body { flex: 1; min-width: 0; }
.doc__row { display: flex; justify-content: space-between; gap: 12px; }
.doc__name { font-family: var(--display); font-size: 16px; line-height: 1.25; }
.doc__qty { color: var(--taupe); font-size: 12px; }
.doc__amt { font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 14px; }
.doc__lines { margin: 6px 0 0; padding: 0; list-style: none; font-size: 11.5px; color: var(--taupe); }
.doc__lines li { display: flex; justify-content: space-between; gap: 10px; }
.doc__total { display: flex; justify-content: space-between; align-items: baseline; padding: 20px 0 6px; }
.doc__total span { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; }
.doc__total b { font-family: var(--display); font-weight: 400; font-size: 30px; }
.doc__notes { margin-top: 14px; padding: 14px 18px; border-left: 2px solid var(--rose); background: var(--ivory); font-size: 12px; }
.doc__notes b { font-weight: 500; }
.doc__next { margin-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.doc__next div { border: 1px solid var(--linen); border-radius: 14px; padding: 14px; }
.doc__next i { font-family: var(--display); font-size: 18px; color: var(--gold); display: block; line-height: 1; margin-bottom: 6px; }
.doc__next p { margin: 0; font-size: 11px; color: var(--taupe); }
.doc__next p b { color: var(--cocoa); font-weight: 500; display: block; font-size: 12px; margin-bottom: 2px; }
.doc__foot { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--linen); display: flex; justify-content: space-between; gap: 12px; font-size: 10px; color: var(--taupe); letter-spacing: .04em; }


/* ——— Legal ——— */
.sheet--legal { width: min(720px, 100%); }
.legal { padding: clamp(1.6rem, 5vw, 3rem); }
.legal h2 { font-size: 2.2rem; margin-bottom: 1rem; padding-right: 2.5rem; }
.legal p, .legal li { color: var(--taupe); }

/* ——— Toast ——— */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 80;
  transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  background: var(--cocoa); color: var(--ivory); padding: .9rem 1.4rem; border-radius: 999px;
  font-size: .85rem; transition: all .35s; display: flex; align-items: center; gap: 1rem; max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast button { background: none; border: 0; color: var(--rose); cursor: pointer; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* ——— Responsive ——— */
@media (max-width: 1000px) {
  .mix__layout { grid-template-columns: 1fr; }
  .mix__summary { position: sticky; bottom: 12px; top: auto; z-index: 5; padding: 1.1rem 1.2rem; border-radius: 20px; }
  .mix__summary .eyebrow, .mix__lines { display: none; }
  .slots { grid-template-columns: repeat(3, 44px); justify-content: start; margin-bottom: .8rem; gap: .4rem; }
  .slot { font-size: 1rem; }
  .slot button { width: 18px; height: 18px; top: 2px; right: 2px; font-size: .7rem; }
  .mix__summary { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: center; }
  .mix__summary .slots { margin: 0; }
  .mix__total { border: 0; padding: 0; margin: 0; justify-content: flex-end; gap: .8rem; }
  .mix__total strong { font-size: 1.6rem; }
  .mix__summary .btn { grid-column: 1 / -1; margin-top: .8rem; }
  .order { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .header { grid-template-columns: auto 1fr auto; }
  .header__nav { display: none; }
  .brand { grid-column: 1; }
  .cart-btn { grid-column: 3; }
  .cart-btn__label { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero__visual { order: -1; padding: 0 0 1.5rem 2rem; max-width: 440px; margin-inline: auto; width: 100%; }
  .hero__badge { width: 84px; height: 84px; right: 0; }
  .hero__badge strong { font-size: 1.6rem; }
  .steps__list { grid-template-columns: 1fr; gap: 1.4rem; }
  .story { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; }
  .product__img img { max-height: 46vh; position: static; }
  .size-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .overlay:not(.overlay--drawer) { padding: 0; place-items: end stretch; }
  .sheet { border-radius: 24px 24px 0 0; max-height: 94dvh; width: 100%; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem .8rem; }
  .card__name { font-size: 1.1rem; }
  .card__sizes { font-size: .6rem; letter-spacing: .16em; }
  .card__quick { display: none; }
  .flower-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
  .flower__txt { padding: .4rem .5rem .5rem; }
  .flower__name { font-size: .85rem; }
  .flower__color { font-size: .6rem; }
  .checkout-form .row { grid-template-columns: 1fr; }
  .tabs button, .tabs__link { padding: .6rem 1rem; font-size: .66rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__cta .btn { flex: 1; }
  /* alleen de preview op het scherm; de PDF wordt altijd op A4-breedte gemaakt */
  .order__paper-wrap { padding: 12px; }
  .order__paper-wrap .doc { padding: 26px 18px 22px; }
  .order__paper-wrap .doc__head { flex-direction: column; align-items: flex-start; }
  .order__paper-wrap .doc__no { text-align: left; }
  .order__paper-wrap .doc__meta, .order__paper-wrap .doc__next { grid-template-columns: 1fr; }
  .order__paper-wrap .doc__foot { flex-direction: column; }
}

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