/*
|--------------------------------------------------------------------------
| Qadman — product page, cart and checkout
|--------------------------------------------------------------------------
| Loaded after qadman.css. Only these three pages are restyled here; the
| tokens (--qd-*) and the base components stay in qadman.css.
*/

/* A [hidden] element must stay hidden, also when a class sets display. */
.qd-body [hidden] { display: none !important; }

.qd-num { font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- Steps */
.qd-co-steps { gap: 0; padding: 1.25rem var(--qd-pad); background: #fff; }
.qd-co-steps li { gap: .65rem; }
.qd-co-steps li::before { width: 1.75rem; height: 1.75rem; font-weight: 600; }
.qd-co-steps li:not(:last-child)::after { content: ""; width: clamp(1rem, 5vw, 4.5rem); height: 1px; margin: 0 clamp(.5rem, 1.4vw, 1.1rem); background: rgba(42,36,32,.2); }
.qd-co-steps li.is-done:not(:last-child)::after { background: var(--qd-gold); }
.qd-co-steps li.is-done { color: var(--qd-ink); }
.qd-co-steps li.is-done::before { background: transparent; border-color: var(--qd-gold); color: var(--qd-gold-ink); }
.qd-co-steps a { color: inherit; text-decoration: none; }
.qd-co-steps a:hover { color: var(--qd-gold-ink); }

/* -------------------------------------------------------- Trust / perks */
.qd-trust { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; font-size: .85rem; }
.qd-trust li { display: flex; align-items: center; gap: .7rem; }
.qd-trust svg { flex: none; color: var(--qd-gold); }

.qd-perks { list-style: none; margin: 2.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--qd-line); background: #fff; }
.qd-perks li { display: grid; grid-template-columns: auto 1fr; gap: .15rem .9rem; align-items: center; padding: 1.25rem 1.4rem; }
.qd-perks li + li { border-left: 1px solid var(--qd-line); }
.qd-perks svg { grid-row: span 2; color: var(--qd-gold-ink); }
.qd-perks strong { font-size: .9rem; }
.qd-perks small { color: var(--qd-muted); font-size: .8rem; line-height: 1.4; }
@media (max-width: 700px) {
  .qd-perks { grid-template-columns: minmax(0, 1fr); }
  .qd-perks li + li { border-left: 0; border-top: 1px solid var(--qd-line); }
}

/* ------------------------------------------------------- Order summary */
.qd-summary--dark { padding: clamp(1.5rem, 2.4vw, 2.25rem); background: var(--qd-dark); border: 0; color: var(--qd-sand); gap: .95rem; box-shadow: 0 34px 60px -34px rgba(42,36,32,.6); }
.qd-summary--dark::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, #8A6A38, #DCC08E 50%, #8A6A38); }
.qd-summary--dark h2 { color: var(--qd-sand); font-size: 1.45rem; padding-bottom: 1.1rem; margin-bottom: .3rem; border-bottom: 1px solid rgba(243,238,230,.16); }
.qd-summary--dark .qd-summary__row { font-size: .93rem; font-variant-numeric: tabular-nums; }
.qd-summary--dark .qd-summary__row span:first-child { color: rgba(243,238,230,.68); }
.qd-summary--dark .qd-summary__total { align-items: baseline; padding-top: 1.2rem; margin-top: .3rem; border-top: 1px solid rgba(243,238,230,.16); font-weight: 500; font-size: 1rem; font-variant-numeric: tabular-nums; }
.qd-summary--dark .qd-summary__total span:first-child { font: 600 .74rem var(--qd-body); letter-spacing: .2em; text-transform: uppercase; }
.qd-summary--dark .qd-summary__total span:last-child { font-size: 1.75rem; font-weight: 600; color: #E4CB9C; letter-spacing: -.01em; }
.qd-summary--dark .qd-summary__note { margin-top: -.6rem; text-align: right; color: rgba(243,238,230,.6); }
.qd-summary--dark .qd-btn { margin-top: .5rem; }
.qd-summary--dark .qd-btn__label { min-height: 3.6rem; }
.qd-summary--dark .qd-btn__arrow { background: rgba(42,36,32,.28); color: #fff; }
.qd-summary--dark .qd-btn:hover { background: #C29F66; }
.qd-summary--dark .qd-trust { padding-top: 1.2rem; margin-top: .4rem; border-top: 1px solid rgba(243,238,230,.16); color: rgba(243,238,230,.82); }
.qd-summary--dark .qd-secure { color: rgba(243,238,230,.65); }
.qd-summary--dark .qd-link, .qd-summary--dark a { color: #E4CB9C; }

.qd-summary--dark .qd-progress { padding: 1rem 1.1rem; background: rgba(243,238,230,.07); color: var(--qd-sand); }
.qd-summary--dark .qd-progress__bar { height: 3px; background: rgba(243,238,230,.18); }
.qd-summary--dark .qd-progress__bar i { background: linear-gradient(90deg, #B08D57, #E4CB9C); }

.qd-summary--dark .qd-coupon .qd-input { background: transparent; border-color: rgba(243,238,230,.28); color: var(--qd-sand); }
.qd-summary--dark .qd-coupon .qd-input::placeholder { color: rgba(243,238,230,.5); }
.qd-summary--dark .qd-coupon button { border-color: rgba(243,238,230,.28); color: var(--qd-sand); }
.qd-summary--dark .qd-coupon button:hover { background: rgba(243,238,230,.1); }

.qd-summary--dark .qd-pay { margin-top: .2rem; gap: .4rem; }
.qd-summary--dark .qd-paylogo, .qd-summary--dark .qd-pay span { height: 1.9rem; min-width: 0; padding: 0 .6rem; background: transparent; border-color: rgba(243,238,230,.22); color: rgba(243,238,230,.78); font-weight: 600; font-size: .66rem; letter-spacing: .08em; }

.qd-summary--dark .qd-mini-lines { gap: 1rem; padding-bottom: 1.1rem; border-bottom: 1px solid rgba(243,238,230,.16); }
.qd-summary--dark .qd-mini-lines li { grid-template-columns: 4.25rem 1fr auto; gap: 1rem; font-variant-numeric: tabular-nums; }
.qd-summary--dark .qd-mini-lines img { background: var(--qd-sand); padding: .35rem; }
.qd-summary--dark .qd-mini-lines small { color: rgba(243,238,230,.6); margin-top: .15rem; }
.qd-summary--dark .qd-mini-lines b { font-weight: 600; }

/* ----------------------------------------------------------------- Cart */
.qd-carthead { display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; flex-wrap: wrap; padding-top: 2.25rem; padding-bottom: 2rem; }
.qd-carthead .qd-label { display: block; margin-bottom: .7rem; color: var(--qd-gold-ink); }
.qd-carthead p { margin: 0; }
.qd-carthead .qd-link { margin-left: .4rem; }

.qd-cart { grid-template-columns: minmax(0, 1fr) 26rem; }
.qd-cart .qd-line { grid-template-columns: 9.5rem minmax(0, 1fr) auto; gap: 1.75rem; padding: 1.75rem 0; align-items: center; }
.qd-cart .qd-line__img { background: radial-gradient(circle at 50% 38%, #FBF8F3, #EEE7DC); }
.qd-cart .qd-line__img img { padding: 10%; filter: drop-shadow(0 12px 12px rgba(42,36,32,.14)); }
.qd-cart .qd-pcard__cat { color: var(--qd-gold-ink); }
.qd-cart .qd-line h3 { margin-top: .35rem; font-size: 1.35rem; }
.qd-cart .qd-line h3 a:hover { color: var(--qd-gold-ink); }
.qd-cart .qd-line__meta { margin-top: .45rem; }
.qd-cart .qd-line__actions { gap: 1.4rem; margin-top: 1.1rem; }
.qd-cart .qd-qty { height: 2.75rem; grid-template-columns: 2.5rem 2.8rem 2.5rem; }
.qd-cart .qd-line__remove { display: inline-flex; align-items: center; gap: .4rem; font: 600 .7rem var(--qd-body); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.qd-cart .qd-line__remove:hover { color: var(--qd-sale); }
.qd-cart .qd-line__total { align-self: start; padding-top: .3rem; font-size: 1.2rem; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) {
  .qd-cart { grid-template-columns: minmax(0, 1fr); }
  .qd-cart .qd-line { grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1.1rem; align-items: start; }
  .qd-cart .qd-line h3 { font-size: 1.15rem; }
  .qd-cart .qd-line__total { padding-top: 0; }
}

/* ------------------------------------------------------------- Checkout */
.qd-checkout { grid-template-columns: minmax(0, 1fr) 27rem; padding-top: 2.5rem; }
.qd-checkout .qd-co-section { padding: clamp(1.25rem, 2.6vw, 2.4rem); margin-bottom: 1.25rem; gap: 1.3rem; background: #fff; border: 1px solid var(--qd-line); }
.qd-checkout .qd-co-section h2 { gap: 1rem; padding-bottom: 1.15rem; font-size: 1.4rem; border-bottom: 1px solid var(--qd-line); }
.qd-checkout .qd-co-section h2 span { display: inline-block; white-space: nowrap; width: auto; height: auto; background: none; border-radius: 0; color: var(--qd-gold); font: 500 1.4rem/1 var(--qd-display); letter-spacing: .04em; }
.qd-checkout .qd-co-section h2 span::before { content: "0"; }
.qd-checkout .qd-co-section h2 small { margin-left: auto; font: 500 .8rem var(--qd-body); letter-spacing: 0; text-transform: none; color: var(--qd-muted); }

.qd-checkout .qd-input, .qd-checkout .qd-textarea { min-height: 3.3rem; background: #FCFAF7; border-color: rgba(42,36,32,.16); transition: border-color .2s, background .2s, box-shadow .2s; }
.qd-checkout .qd-input:hover, .qd-checkout .qd-textarea:hover { border-color: rgba(42,36,32,.4); }
.qd-checkout .qd-input:focus, .qd-checkout .qd-textarea:focus { background: #fff; outline: 0; border-color: var(--qd-gold); box-shadow: 0 0 0 3px rgba(176,141,87,.18); }
.qd-checkout .qd-textarea { min-height: 6.5rem; }
.qd-checkout .qd-field > span { font-size: .68rem; letter-spacing: .16em; }

.qd-checkout .qd-radio-cards { gap: .7rem; }
.qd-checkout .qd-radio-card { grid-template-columns: auto auto 1fr auto; gap: 1rem; padding: 1.15rem 1.25rem; border-color: rgba(42,36,32,.16); transition: border-color .2s, background .2s; }
.qd-checkout .qd-radio-card:hover { border-color: rgba(42,36,32,.45); }
.qd-checkout .qd-radio-card:has(input:checked) { background: #FBF7F0; border-color: var(--qd-gold); box-shadow: inset 0 0 0 1px var(--qd-gold); }
.qd-checkout .qd-radio-card__icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; background: var(--qd-sand); color: var(--qd-gold-ink); }
.qd-checkout .qd-radio-card:has(input:checked) .qd-radio-card__icon { background: var(--qd-dark); color: #E4CB9C; }
.qd-checkout .qd-radio-card small { display: block; margin-top: .15rem; line-height: 1.45; }
.qd-checkout .qd-radio-card b { font-weight: 600; font-variant-numeric: tabular-nums; }

.qd-radio-cards--pay { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.qd-checkout .qd-radio-cards--pay .qd-radio-card { grid-template-columns: auto 1fr; }
.qd-radio-cards--pay > :last-child:nth-child(odd) { grid-column: 1 / -1; }
.qd-co-note { display: flex; gap: .7rem; align-items: flex-start; padding: .9rem 1.1rem; background: var(--qd-sand); font-size: .85rem; color: var(--qd-muted); }
.qd-co-note svg { flex: none; margin-top: .15rem; color: var(--qd-gold-ink); }

@media (max-width: 900px) {
  .qd-checkout { grid-template-columns: minmax(0, 1fr); padding-top: 1.5rem; }
  /* The pay button lives in the summary: keep it after the form, not before it. */
  .qd-checkout .qd-summary { order: 0; }
  .qd-summary--dark { position: relative; top: 0; }
}
@media (max-width: 600px) {
  .qd-radio-cards--pay { grid-template-columns: minmax(0, 1fr); }
  .qd-checkout .qd-radio-card { grid-template-columns: auto 1fr auto; }
  .qd-checkout .qd-radio-card__icon { display: none; }
  .qd-co-steps li:not(:last-child)::after { width: 1.5rem; }
}

/* --------------------------------------------------------- Product page */
.qd-pdp { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); grid-template-areas: "gallery buy" "details buy"; grid-template-rows: auto 1fr; gap: clamp(2.5rem, 5vh, 3.5rem) clamp(2rem, 4vw, 4.5rem); padding-top: 1rem; padding-bottom: 5rem; }
.qd-pdp .qd-gallery { grid-area: gallery; position: static; grid-template-columns: 5.5rem minmax(0, 1fr); }
.qd-pdp .qd-buy { grid-area: buy; }
.qd-pdp__details { grid-area: details; min-width: 0; }
.qd-pdp--compact .qd-buy { position: sticky; top: 100px; }

.qd-pdp .qd-gallery__main { background: radial-gradient(circle at 50% 40%, #FCFAF6 0%, #F1EADF 70%, #EAE2D5 100%); }
.qd-pdp .qd-gallery__main::after { content: ""; position: absolute; inset: 14px; z-index: 1; border: 1px solid rgba(176,141,87,.32); pointer-events: none; }
.qd-pdp .qd-gallery__main img { padding: 11%; filter: drop-shadow(0 34px 30px rgba(42,36,32,.2)); }
.qd-pdp .qd-gallery__main img.is-ambiance { padding: 0; filter: none; }
.qd-pdp .qd-gallery__thumbs { gap: .7rem; }
.qd-pdp .qd-gallery__thumbs button { background: #F1EADF; border-color: transparent; opacity: .7; transition: opacity .2s, border-color .2s; }
.qd-pdp .qd-gallery__thumbs button:hover { opacity: 1; }
.qd-pdp .qd-gallery__thumbs button[aria-pressed="true"] { opacity: 1; border-color: var(--qd-gold); box-shadow: inset 0 0 0 1px var(--qd-gold); }

.qd-pdp .qd-buy { padding: clamp(1.5rem, 2.6vw, 2.6rem); background: #fff; border: 1px solid var(--qd-line); box-shadow: 0 40px 70px -50px rgba(42,36,32,.35); }
.qd-pdp .qd-buy h1 { font-size: clamp(1.9rem, 2.7vw, 2.6rem); line-height: 1.1; }
.qd-buy__rating { display: inline-flex; align-items: center; gap: .6rem; margin-top: .9rem; font-size: .85rem; color: var(--qd-muted); text-decoration: none; }
.qd-buy__rating span { color: var(--qd-gold); letter-spacing: .12em; font-size: .95rem; }
.qd-buy__rating:hover { color: var(--qd-ink); }
.qd-buy__rule { width: 3rem; height: 2px; margin-top: 1.3rem; background: var(--qd-gold); }
.qd-pdp .qd-buy__price { margin-top: 1.3rem; font-size: 2.1rem; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.qd-pdp .qd-buy__price small { font-size: .95rem; }
.qd-pdp .qd-buy__vat { margin-top: .25rem; }
.qd-pdp .qd-stock { margin-top: .9rem; padding: .5rem .8rem; width: fit-content; background: var(--qd-sand); font-size: .8rem; }
.qd-pdp .qd-buy__lead { font-size: 1.02rem; line-height: 1.7; }
.qd-pdp .qd-buy__block { margin-top: 1.7rem; padding-top: 1.6rem; }
.qd-pdp .qd-opt { min-height: 3rem; transition: border-color .2s; }
.qd-pdp .qd-opt:hover { border-color: var(--qd-ink); }
.qd-pdp .qd-opt--swatch { width: 3rem; }
.qd-pdp .qd-opt--swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--qd-gold); }
.qd-pdp .qd-buy__row .qd-btn__label { min-height: 3.6rem; }
.qd-pdp .qd-buy__row .qd-qty { height: auto; }
.qd-pdp .qd-floorcalc { padding: 1.3rem; background: #F8F4EE; border: 1px solid var(--qd-line); }
.qd-pdp .qd-floorcalc .qd-input { background: #fff; }
.qd-pdp .qd-addon { padding: .75rem .9rem; transition: border-color .2s, background .2s; }
.qd-pdp .qd-addon:has(input:checked) { background: #FBF7F0; border-color: var(--qd-gold); }

.qd-assure { list-style: none; margin: 1.7rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--qd-line); }
.qd-assure li { display: grid; justify-items: center; gap: .3rem; padding: 1.1rem .6rem; text-align: center; }
.qd-assure li + li { border-left: 1px solid var(--qd-line); }
.qd-assure svg { color: var(--qd-gold-ink); margin-bottom: .2rem; }
.qd-assure strong { font-size: .8rem; line-height: 1.3; }
.qd-assure small { font-size: .74rem; line-height: 1.35; color: var(--qd-muted); }
.qd-pdp .qd-usps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1.2rem; font-size: .88rem; }

.qd-pdp__details > h2 { font-size: clamp(1.5rem, 2vw, 1.9rem); margin-bottom: 1.4rem; }
.qd-pdp__details .qd-acc { margin-top: 0; }
.qd-pdp__details .qd-acc summary { padding: 1.35rem 0; font-size: .8rem; }
.qd-pdp__details .qd-acc summary:hover { color: var(--qd-gold-ink); }
.qd-pdp__details .qd-acc__body { padding-bottom: 1.7rem; max-width: 46rem; font-size: 1rem; line-height: 1.75; }
.qd-pdp__details .qd-specs { font-size: .93rem; }
.qd-pdp__details .qd-specs th, .qd-pdp__details .qd-specs td { padding: .8rem 1rem; border-bottom: 0; }
.qd-pdp__details .qd-specs tr:nth-child(odd) { background: var(--qd-sand); }
.qd-pdp__details .qd-specs th { width: 42%; }

.qd-service { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding: 0 var(--qd-pad); background: var(--qd-dark); color: var(--qd-sand); }
.qd-service div { display: grid; grid-template-columns: auto 1fr; gap: .2rem 1.1rem; align-items: center; padding: 2.4rem 1.5rem 2.4rem 0; }
.qd-service div + div { padding-left: 1.5rem; border-left: 1px solid rgba(243,238,230,.12); }
.qd-service svg { grid-row: span 2; color: var(--qd-gold); }
.qd-service strong { font: 500 1rem var(--qd-display); letter-spacing: .04em; }
.qd-service small { font-size: .82rem; line-height: 1.45; color: rgba(243,238,230,.66); }

@media (max-width: 1100px) {
  .qd-service { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qd-service div { padding: 1.6rem 1rem 1.6rem 0; }
  .qd-service div:nth-child(3) { padding-left: 0; border-left: 0; }
  .qd-service div:nth-child(n+3) { border-top: 1px solid rgba(243,238,230,.12); }
}
@media (max-width: 900px) {
  .qd-pdp { grid-template-columns: minmax(0, 1fr); grid-template-areas: "gallery" "buy" "details"; grid-template-rows: none; gap: 1.75rem; padding-bottom: 3.5rem; }
  .qd-pdp .qd-gallery { grid-template-columns: minmax(0, 1fr); }
  .qd-pdp .qd-buy, .qd-pdp--compact .qd-buy { position: static; padding: 0; background: none; border: 0; box-shadow: none; }
  .qd-pdp .qd-gallery__main::after { inset: 9px; }
}
@media (max-width: 560px) {
  .qd-service { grid-template-columns: minmax(0, 1fr); }
  .qd-service div, .qd-service div + div { padding: 1.3rem 0; border-left: 0; }
  .qd-service div + div { border-top: 1px solid rgba(243,238,230,.12); }
  .qd-pdp .qd-usps { grid-template-columns: minmax(0, 1fr); }
  .qd-assure small { display: none; }
}

/* Quantity + button must fit a phone screen side by side. */
.qd-pdp .qd-buy__row .qd-btn { min-width: 0; }
@media (max-width: 560px) {
  .qd-pdp .qd-buy__row .qd-btn__label { padding: 0 .7rem; letter-spacing: .12em; }
  .qd-pdp .qd-buy__row .qd-qty { grid-template-columns: 2.3rem 2.4rem 2.3rem; }
}

/* ------------------------------------------- Coming soon (stock is 0) */
.qd-soon { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; padding: 1rem 1.2rem; background: rgba(42,36,32,.92); color: #E4CB9C; text-align: center; font: 600 .78rem var(--qd-body); letter-spacing: .24em; text-transform: uppercase; }
.qd-pdp:has(.qd-soon) .qd-gallery__main img { opacity: 0; }
.qd-pdp:has(.qd-soon) .qd-gallery__main img.is-active { opacity: .72; }
.qd-soon-note { padding: .9rem 1.1rem; background: var(--qd-sand); font-size: .9rem; line-height: 1.55; color: var(--qd-muted); }
.qd-pdp .qd-stock--out { background: var(--qd-dark); color: #E4CB9C; }
.qd-pdp .qd-stock--out::before { background: var(--qd-gold); }
.qd-pdp .qd-btn[disabled] { opacity: 1; background: #CFC6B8; color: #5E554C; }
.qd-pdp .qd-btn[disabled] .qd-btn__arrow { display: none; }
@media (max-width: 900px) { .qd-soon { left: 9px; right: 9px; bottom: 9px; } }

/* ------------------------------------------------------ Payment pop-up */
.qd-paymodal { position: fixed; inset: 0; z-index: 3000; display: flex; padding: clamp(.75rem, 3vw, 2.5rem); background: rgba(30,25,22,.82); overflow-y: auto; animation: qd-pay-fade .25s ease-out; }
.qd-paymodal__box { position: relative; width: min(100%, 66rem); min-width: 0; margin: auto; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; background: #fff; box-shadow: 0 50px 100px -30px rgba(0,0,0,.6); animation: qd-pay-rise .35s var(--qd-ease); }
.qd-paymodal__box::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, #8A6A38, #DCC08E 50%, #8A6A38); }
.qd-paymodal__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.4rem clamp(1.1rem, 3vw, 2.2rem) 1.2rem; background: var(--qd-dark); color: var(--qd-sand); }
.qd-paymodal__head h2 { color: var(--qd-sand); font-size: 1.35rem; }
.qd-paymodal__head p { margin-top: .35rem; font-size: .85rem; color: rgba(243,238,230,.7); font-variant-numeric: tabular-nums; }
.qd-paymodal__head b { color: #E4CB9C; font-weight: 600; }
.qd-paymodal__head button { flex: none; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid rgba(243,238,230,.28); background: transparent; color: var(--qd-sand); cursor: pointer; transition: background .2s; }
.qd-paymodal__head button:hover { background: rgba(243,238,230,.12); }
.qd-paymodal__body { min-width: 0; min-height: 16rem; overflow-x: auto; padding: clamp(.5rem, 2vw, 1.5rem); -webkit-overflow-scrolling: touch; }
.qd-paymodal__loading { display: grid; place-items: center; min-height: 14rem; color: var(--qd-muted); font-size: .95rem; }
.qd-paymodal__foot { display: flex; align-items: center; justify-content: center; gap: .6rem; margin: 0; padding: .9rem 1.2rem; border-top: 1px solid var(--qd-line); background: var(--qd-paper); font-size: .78rem; color: var(--qd-muted); text-align: center; }
.qd-paymodal__foot svg { flex: none; color: var(--qd-gold-ink); }
@keyframes qd-pay-fade { from { opacity: 0; } }
@keyframes qd-pay-rise { from { opacity: 0; transform: translateY(18px); } }
@media (max-width: 700px) {
  .qd-paymodal { padding: 0; }
  .qd-paymodal__box { width: 100%; min-height: 100%; margin: 0; }
}
@media (prefers-reduced-motion: reduce) { .qd-paymodal, .qd-paymodal__box { animation: none; } }

/* ------------------------------------------ Mijn bestelling (tracking) */
.qd-track { position: relative; margin: 0 var(--qd-pad) 2.5rem; background: #fff; border: 1px solid var(--qd-line); box-shadow: 0 40px 70px -50px rgba(42,36,32,.4); }
.qd-track::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; z-index: 1; background: linear-gradient(90deg, #8A6A38, #DCC08E 50%, #8A6A38); }
.qd-track__head { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem 2rem; flex-wrap: wrap; padding: clamp(1.6rem, 3vw, 2.6rem) clamp(1.25rem, 3.5vw, 3rem); background: var(--qd-dark); color: var(--qd-sand); }
.qd-track__head .qd-label { color: var(--qd-gold); }
.qd-track__head h2 { margin-top: .6rem; color: var(--qd-sand); font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: .04em; }
.qd-track__head p { margin-top: .6rem; font-size: .9rem; color: rgba(243,238,230,.68); }
.qd-track__state { display: grid; justify-items: end; gap: .8rem; }
.qd-track__state strong { font-size: 1.6rem; font-weight: 600; color: #E4CB9C; font-variant-numeric: tabular-nums; }
.qd-track__pill { display: inline-flex; align-items: center; gap: .6rem; padding: .5rem 1rem; border: 1px solid rgba(228,203,156,.45); color: #E4CB9C; font: 600 .7rem var(--qd-body); letter-spacing: .18em; text-transform: uppercase; }
.qd-track__pill i { width: .5rem; height: .5rem; border-radius: 50%; background: #E4CB9C; animation: qd-blink 1.8s ease-in-out infinite; }
.qd-track.is-cancelled .qd-track__pill { border-color: rgba(243,238,230,.3); color: rgba(243,238,230,.8); }
.qd-track.is-cancelled .qd-track__pill i { background: #D0796B; animation: none; }

.qd-tracker { --dot: 3.5rem; position: relative; list-style: none; margin: 0; padding: clamp(2rem, 4vw, 3rem) clamp(.5rem, 2vw, 2rem) clamp(1.75rem, 3vw, 2.5rem); display: grid; grid-template-columns: repeat(var(--qd-steps), minmax(0, 1fr)); }
.qd-tracker li { position: relative; display: grid; justify-items: center; align-content: start; gap: .2rem; padding: 0 .4rem; text-align: center; }
.qd-tracker li::before, .qd-tracker li::after { content: ""; position: absolute; top: calc(var(--dot) / 2 - 1px); left: 50%; width: 100%; height: 2px; }
.qd-tracker li::before { background: rgba(42,36,32,.12); }
.qd-tracker li::after { top: calc(var(--dot) / 2 - 2px); height: 4px; background: linear-gradient(90deg, #8A6A38, var(--qd-gold)); transform: scaleX(0); transform-origin: left; }
.qd-tracker li:last-child::before, .qd-tracker li:last-child::after { display: none; }
.qd-tracker li.is-done:not(.is-now)::after { animation: qd-fill .45s ease-out both; animation-delay: calc(var(--i) * .4s + .35s); }
.qd-tracker__dot { position: relative; z-index: 1; display: grid; place-items: center; width: var(--dot); height: var(--dot); margin-bottom: .8rem; border-radius: 50%; background: #fff; border: 1px solid rgba(42,36,32,.18); color: #A79D92; }
.qd-tracker li.is-done .qd-tracker__dot { background: var(--qd-dark); border-color: var(--qd-dark); color: #E4CB9C; animation: qd-pop .5s var(--qd-ease) both; animation-delay: calc(var(--i) * .4s); }
.qd-tracker li.is-now .qd-tracker__dot { background: var(--qd-gold); border-color: var(--qd-gold); color: #fff; }
.qd-tracker li.is-now .qd-tracker__dot::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--qd-gold); animation: qd-ring 2s ease-out infinite; animation-delay: calc(var(--i) * .4s + .5s); }
.qd-tracker strong { font-size: .92rem; }
.qd-tracker small { min-height: 1.2em; font-size: .78rem; line-height: 1.4; color: var(--qd-muted); }
.qd-tracker li:not(.is-done) strong { color: #8F857B; font-weight: 500; }
.qd-tracker li.is-now strong { color: var(--qd-gold-ink); }
@keyframes qd-fill { to { transform: scaleX(1); } }
@keyframes qd-fill-y { to { transform: scaleY(1); } }
@keyframes qd-pop { from { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.12); } }
@keyframes qd-ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.75); opacity: 0; } }
@keyframes qd-blink { 50% { opacity: .3; } }

.qd-track__message { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem 2rem; flex-wrap: wrap; margin: 0 clamp(1.25rem, 3.5vw, 3rem); padding: 1.5rem clamp(1.1rem, 2.4vw, 2rem); background: var(--qd-sand); border-left: 3px solid var(--qd-gold); }
.qd-track.is-cancelled .qd-track__message { margin-top: clamp(1.5rem, 3vw, 2.5rem); border-left-color: var(--qd-warn); }
.qd-track__message h3 { font-size: 1.3rem; }
.qd-track__message p { margin-top: .5rem; max-width: 40rem; color: var(--qd-muted); }
.qd-track__actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.qd-track__body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr); gap: clamp(1.75rem, 4vw, 4rem); padding: clamp(1.75rem, 3.5vw, 3rem) clamp(1.25rem, 3.5vw, 3rem); }
.qd-track__body .qd-label { display: block; margin-bottom: 1rem; color: var(--qd-gold-ink); font-family: var(--qd-body); }
.qd-track__items { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--qd-line); }
.qd-track__items li { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) auto; gap: 1.2rem; align-items: center; padding: 1.1rem 0; border-bottom: 1px solid var(--qd-line); }
.qd-track__items img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 8%; background: radial-gradient(circle at 50% 38%, #FBF8F3, #EEE7DC); }
.qd-track__items strong { display: block; font: 500 1.05rem/1.25 var(--qd-display); letter-spacing: .01em; }
.qd-track__items small { display: block; margin-top: .25rem; font-size: .84rem; color: var(--qd-muted); }
.qd-track__items b { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.qd-track__side { display: grid; gap: 1.5rem; align-content: start; }
.qd-track__side dl { margin: 0; display: grid; border: 1px solid var(--qd-line); }
.qd-track__side dl div { padding: 1rem 1.2rem; }
.qd-track__side dl div + div { border-top: 1px solid var(--qd-line); }
.qd-track__side dt { font: 600 .68rem var(--qd-body); letter-spacing: .16em; text-transform: uppercase; color: var(--qd-muted); }
.qd-track__side dd { margin: .4rem 0 0; font-weight: 500; }
.qd-track__side dd small { display: block; margin-top: .15rem; font-size: .86rem; font-weight: 400; line-height: 1.5; color: var(--qd-muted); }
.qd-track__totals { display: grid; gap: .6rem; padding: 1.3rem 1.2rem; background: var(--qd-dark); color: var(--qd-sand); font-size: .92rem; font-variant-numeric: tabular-nums; }
.qd-track__totals div { display: flex; justify-content: space-between; gap: 1rem; }
.qd-track__totals div span:first-child { color: rgba(243,238,230,.68); }
.qd-track__totals .is-total { align-items: baseline; margin-top: .3rem; padding-top: .9rem; border-top: 1px solid rgba(243,238,230,.16); }
.qd-track__totals .is-total span:first-child { font: 600 .72rem var(--qd-body); letter-spacing: .2em; text-transform: uppercase; color: var(--qd-sand); }
.qd-track__totals .is-total span:last-child { font-size: 1.4rem; font-weight: 600; color: #E4CB9C; }
.qd-track__foot { display: flex; justify-content: center; gap: .4rem 1rem; flex-wrap: wrap; padding: 1.1rem 1.25rem; border-top: 1px solid var(--qd-line); background: var(--qd-paper); font-size: .9rem; color: var(--qd-muted); }

.qd-lookup { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-top: 0; }
.qd-lookup .qd-auth__card h2 { font-size: 1.5rem; }
.qd-lookup__error { margin: 0; padding: .8rem 1rem; background: #F8E6DD; border-left: 3px solid var(--qd-warn); color: #6B2E12 !important; font-size: .92rem; }
.qd-lookup__hint { font-size: .84rem; }
.qd-lookup__info .qd-trust { padding: 0; gap: 1rem; font-size: .95rem; color: var(--qd-ink); }
.qd-lookup__info .qd-trust li { align-items: flex-start; }
.qd-lookup__info .qd-trust svg { margin-top: .15rem; color: var(--qd-gold-ink); }

@media (max-width: 900px) {
  .qd-track__body { grid-template-columns: minmax(0, 1fr); }
  .qd-lookup { grid-template-columns: minmax(0, 1fr); }
  .qd-track__state { justify-items: start; }
}
@media (max-width: 700px) {
  .qd-tracker { --dot: 3rem; grid-template-columns: minmax(0, 1fr); gap: 0; padding: 1.75rem 1.25rem 1.25rem; }
  .qd-tracker li { grid-template-columns: var(--dot) minmax(0, 1fr); justify-items: start; column-gap: 1.1rem; row-gap: 0; padding: 0 0 1.6rem; text-align: left; }
  .qd-tracker li:last-child { padding-bottom: 0; }
  .qd-tracker__dot { grid-row: span 2; margin: 0; }
  .qd-tracker strong { align-self: end; }
  .qd-tracker li::before, .qd-tracker li::after { top: calc(var(--dot) / 2); left: calc(var(--dot) / 2 - 1px); width: 2px; height: 100%; }
  .qd-tracker li::after { background: linear-gradient(180deg, var(--qd-gold), #D9BC8A); transform: scaleY(0); transform-origin: top; }
  .qd-tracker li.is-done:not(.is-now)::after { animation-name: qd-fill-y; }
  .qd-track__items li { grid-template-columns: 4.25rem minmax(0, 1fr); }
  .qd-track__items b { grid-column: 2; }
  .qd-track__actions, .qd-track__actions .qd-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .qd-tracker li.is-done:not(.is-now)::after { animation: none; transform: none; }
  .qd-tracker li.is-done .qd-tracker__dot, .qd-tracker li.is-now .qd-tracker__dot::after, .qd-track__pill i { animation: none; }
}

/* --------------------------------------------- Outlet block (homepage) */
.qd-outlet { position: relative; isolation: isolate; overflow: hidden; padding: clamp(4rem, 11vh, 7.5rem) var(--qd-pad) clamp(3.5rem, 9vh, 6.5rem); background: radial-gradient(70rem 34rem at 88% 0%, rgba(176,141,87,.16), transparent 62%), linear-gradient(180deg, #241F1B, #1E1A17); color: var(--qd-sand); }
.qd-outlet::before, .qd-outlet::after { content: ""; position: absolute; left: var(--qd-pad); right: var(--qd-pad); height: 1px; background: linear-gradient(90deg, transparent, rgba(228,203,156,.55) 20%, rgba(228,203,156,.55) 80%, transparent); }
.qd-outlet::before { top: 0; } .qd-outlet::after { bottom: 0; }
.qd-outlet__top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.qd-outlet__tag { display: inline-flex; align-items: center; gap: .7rem; padding: .6rem 1.1rem; border: 1px solid rgba(228,203,156,.5); color: #E4CB9C; font: 600 .74rem var(--qd-body); letter-spacing: .24em; text-transform: uppercase; }
.qd-outlet__tag i { width: .55rem; height: .55rem; border-radius: 50%; background: #E4CB9C; animation: qd-blink 1.8s ease-in-out infinite; }
.qd-outlet .qd-title { margin-top: 1.6rem; color: var(--qd-sand); font-size: clamp(2.8rem, 7.2vw, 6.6rem); line-height: .98; }
.qd-outlet .qd-title em { font-style: normal; color: #D9BC8A; white-space: nowrap; }
.qd-outlet__copy p { margin-top: 1.6rem; max-width: 36rem; font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.7; color: rgba(243,238,230,.76); }
.qd-outlet__btns { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.qd-outlet__btns .qd-btn__label { min-height: 3.6rem; padding: 0 1.8rem 0 1.5rem; }
.qd-outlet__facts { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid rgba(243,238,230,.16); }
.qd-outlet__facts li { display: grid; grid-template-columns: auto 1fr; gap: .1rem 1.2rem; align-items: baseline; padding: 1.2rem 0; border-bottom: 1px solid rgba(243,238,230,.16); }
.qd-outlet__facts span { grid-row: span 2; font: 500 1.5rem var(--qd-display); color: var(--qd-gold); }
.qd-outlet__facts strong { font: 500 1.2rem var(--qd-display); letter-spacing: .04em; }
.qd-outlet__facts small { font-size: .88rem; color: rgba(243,238,230,.66); }
.qd-outlet__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.8rem, 1.6vw, 1.5rem); margin-top: clamp(2.5rem, 6vh, 4.5rem); }
.qd-outlet__item { display: grid; align-content: start; gap: .35rem; padding: .7rem .7rem 1.2rem; background: rgba(243,238,230,.05); border: 1px solid rgba(243,238,230,.12); color: var(--qd-sand); text-decoration: none; transition: transform .35s var(--qd-ease), border-color .25s, background .25s; }
.qd-outlet__item:hover { transform: translateY(-6px); border-color: rgba(228,203,156,.6); background: rgba(243,238,230,.09); }
.qd-outlet__media { position: relative; display: block; aspect-ratio: 1; margin-bottom: .7rem; overflow: hidden; background: radial-gradient(circle at 50% 38%, #FBF8F3, #E9E1D4); }
.qd-outlet__media img { width: 100%; height: 100%; object-fit: contain; padding: 9%; filter: drop-shadow(0 18px 16px rgba(42,36,32,.2)); transition: transform .6s var(--qd-ease); }
.qd-outlet__item:hover .qd-outlet__media img { transform: scale(1.06); }
.qd-outlet__pct { position: absolute; top: .7rem; left: .7rem; z-index: 1; padding: .35rem .6rem; background: var(--qd-sale); color: #fff; font: 700 .8rem var(--qd-body); letter-spacing: .04em; }
.qd-outlet__cat { padding: 0 .4rem; font: 600 .66rem var(--qd-body); letter-spacing: .18em; text-transform: uppercase; color: var(--qd-gold); }
.qd-outlet__item strong { padding: 0 .4rem; font: 500 1.1rem/1.25 var(--qd-display); letter-spacing: .01em; }
.qd-outlet__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .6rem; padding: .2rem .4rem 0; font-variant-numeric: tabular-nums; }
.qd-outlet__price b { font-size: 1.15rem; font-weight: 600; color: #E4CB9C; }
.qd-outlet__price small { font-size: .82rem; color: rgba(243,238,230,.66); }
.qd-outlet__price s { font-size: .88rem; color: rgba(243,238,230,.5); }
@media (max-width: 1000px) {
  .qd-outlet__top { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .qd-outlet__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 1.5rem; border-top: 0; }
  .qd-outlet__facts li { grid-template-columns: minmax(0, 1fr); border-top: 1px solid rgba(243,238,230,.16); border-bottom: 0; }
  .qd-outlet__facts span { grid-row: auto; }
  .qd-outlet__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .qd-outlet__facts { grid-template-columns: minmax(0, 1fr); }
  .qd-outlet__facts li { grid-template-columns: auto 1fr; }
  .qd-outlet__facts span { grid-row: span 2; }
  .qd-outlet__btns .qd-btn { width: 100%; }
  .qd-outlet__item strong { font-size: .98rem; }
}
@media (prefers-reduced-motion: reduce) { .qd-outlet__tag i { animation: none; } .qd-outlet__item, .qd-outlet__media img { transition: none; } }

.qd-outlet__leeg { max-width: 46rem; margin: 0 0 2rem; padding: 1rem 1.2rem; border: 1px dashed rgba(228,203,156,.6); color: #E4CB9C; font-size: .9rem; line-height: 1.6; }
