/* YogaGear shop components (extends yg-base.css). */

/* The hidden attribute always wins over component display rules (e.g. .button is display: flex). */
[hidden] { display: none !important; }

.dev-banner { position: fixed; left: .75rem; bottom: .75rem; z-index: 250; max-width: min(340px, calc(100vw - 1.5rem)); margin: 0; padding: .45rem .85rem; color: var(--ink); background: var(--lotus-soft); border: 1px solid var(--lotus); border-radius: .75rem; font-size: .72rem; font-weight: 600; line-height: 1.35; pointer-events: none; }

.img-missing { width: 100%; aspect-ratio: 4 / 5; background: linear-gradient(135deg, var(--warm), var(--soft)); }
.fine-print { margin: .75rem 0 0; color: var(--ink-soft); font-size: .78rem; line-height: 1.5; }
.page-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 0; }
.page-head h1 { margin-bottom: 1rem; }
.page-head--center { padding-block: clamp(5rem, 12vw, 9rem); text-align: center; }
.page-head--center .button-row { justify-content: center; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .5rem; padding: 1.5rem 0; color: var(--ink-soft); font-size: .82rem; }
.breadcrumbs a:hover { color: var(--accent); }

/* ---- Badges, stock, chips ---------------------------------------------------------------------------------- */
.badge { display: inline-block; padding: .3rem .7rem; border-radius: 999px; font-size: .72rem; font-weight: 600; letter-spacing: .02em; line-height: 1.3; }
.badge--offer { color: var(--ink); background: var(--lotus); }
.badge--inline { margin: 0 .4rem .9rem 0; }
.fulfilment-note { margin: 0 0 1rem; padding: .55rem .85rem; border-radius: .6rem; background: var(--warm); font-size: .88rem; font-weight: 600; }
.stock { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 600; }
.stock::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; }
.stock--in_stock { color: var(--success); }
.stock--low, .stock--backorder { color: var(--accent); }
.stock--out_of_stock { color: var(--ink-soft); }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0 1.5rem; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: .4rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: .84rem; font-weight: 600; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { color: var(--white); background: var(--ink); border-color: var(--ink); }

/* ---- Home hero --------------------------------------------------------------------------------------------- */
.home-hero { position: relative; min-height: min(100svh, 860px); display: grid; align-items: end; color: var(--white); overflow: hidden; background: var(--night); }
.home-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.home-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 15, 13, .45) 0%, rgba(20, 15, 13, 0) 22%), linear-gradient(0deg, rgba(20, 15, 13, .78) 0%, rgba(20, 15, 13, .35) 38%, rgba(20, 15, 13, 0) 62%); }
.home-hero__content { position: relative; width: min(calc(100% - (2 * var(--gutter))), 1440px); margin-inline: auto; padding: 10rem 0 clamp(3rem, 8vh, 6rem); }
.home-hero h1 { max-width: 900px; font-size: clamp(3rem, 7.5vw, 7rem); font-weight: 600; }
.home-hero h1 em { font-weight: 500; color: var(--lotus); }
.home-hero__intro { max-width: 560px; margin-top: 1.5rem; font-size: clamp(1.1rem, 1.8vw, 1.4rem); line-height: 1.55; }
.home-hero .button--text { color: var(--white); }

/* ---- Category tiles --------------------------------------------------------------------------------------- */
.category-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.category-tile { position: relative; display: block; overflow: hidden; border-radius: 1rem; background: var(--warm); color: var(--white); aspect-ratio: 4 / 5; }
.category-tile__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.category-tile:hover .category-tile__img, .category-tile:focus-visible .category-tile__img { transform: scale(1.04); }
.category-tile__body { position: absolute; inset: auto 0 0; display: flex; flex-direction: column; gap: .35rem; padding: 1.5rem; background: linear-gradient(0deg, rgba(20, 15, 13, .78), rgba(20, 15, 13, 0)); }
.category-tile__name { font-family: var(--display); font-size: clamp(1.6rem, 2.5vw, 2.2rem); line-height: 1.05; }
.category-tile__text { font-size: .9rem; opacity: .9; }

/* ---- Product grid & cards --------------------------------------------------------------------------------- */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); }
.product-card { min-width: 0; }
.product-card__link { display: flex; flex-direction: column; height: 100%; }
.product-card__media { position: relative; overflow: hidden; aspect-ratio: 871 / 1014; border-radius: .9rem; background: var(--white); }
.product-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card__link:hover .product-card__img, .product-card__link:focus-visible .product-card__img { transform: scale(1.03); }
.product-card__media .badge { position: absolute; top: .75rem; left: .75rem; }
.product-card__body { display: flex; flex-direction: column; gap: .2rem; padding: .9rem .1rem 0; }
.product-card__brand { margin: 0; color: var(--ink-soft); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.product-card__title { font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing: 0; line-height: 1.35; }
.product-card__variant { display: flex; align-items: center; gap: .4rem; margin: 0; color: var(--ink-soft); font-size: .88rem; }
.product-card__price { margin: .1rem 0 .4rem; font-weight: 500; }
.product-card__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; margin-top: auto; }
.swatch-row { display: inline-flex; gap: .3rem; }
.swatch-dot { width: .85rem; height: .85rem; border-radius: 50%; background: var(--warm); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }

/* ---- Offers ------------------------------------------------------------------------------------------------- */
.offer-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.offer-card { display: flex; flex-direction: column; gap: .6rem; height: 100%; padding: clamp(1.5rem, 3vw, 2.25rem); border: 1px solid var(--line); border-radius: 1rem; background: var(--white); transition: border-color .2s ease, transform .2s ease; }
.offer-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.offer-card__badge { align-self: flex-start; padding: .25rem .65rem; border-radius: 999px; background: var(--lotus); font-size: .72rem; font-weight: 600; }
.offer-card__title { font-family: var(--display); font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.1; }
.offer-card__product { color: var(--accent); font-weight: 600; }

/* ---- Split feature (about / pickup) ------------------------------------------------------------------------ */
.split-feature__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); align-items: center; gap: clamp(2.5rem, 7vw, 7rem); }
.split-feature--reverse .split-feature__media { order: 2; }
.split-feature__img { width: 100%; border-radius: 1rem; aspect-ratio: 4 / 5; object-fit: cover; }
.split-feature__content h2 { margin-bottom: 1.75rem; }
.section--dark .lead { color: rgba(255, 255, 255, .85); }
.pickup-address { margin: 1.25rem 0 0; font-style: normal; font-weight: 600; }

/* ---- Catalogue ---------------------------------------------------------------------------------------------- */
.catalogue-toolbar { display: flex; flex-wrap: wrap; align-items: end; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.field--search { flex: 1 1 320px; }
.field label { font-size: .78rem; font-weight: 600; letter-spacing: .04em; }
.field input, .field select { min-height: 48px; padding: .6rem .9rem; border: 1px solid var(--line); border-radius: .6rem; background: var(--white); }
.field input:focus, .field select:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px var(--lotus-soft); }
.catalogue-count { margin: 0 0 1.25rem; color: var(--ink-soft); font-size: .88rem; }
.catalogue-empty { padding: 3rem 0; text-align: center; color: var(--ink-soft); }

/* ---- Product page ------------------------------------------------------------------------------------------- */
.product-page { padding-bottom: var(--section); }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.product-layout > *, .cart > *, .split-feature__grid > * { min-width: 0; }
.gallery { position: sticky; top: calc(var(--header-h) + 1rem); }
.gallery__main { overflow: hidden; border-radius: 1rem; background: var(--white); }
.gallery__image { width: 100%; aspect-ratio: 871 / 1014; object-fit: contain; background: var(--white); }
.gallery__thumbs { display: flex; gap: .6rem; margin: .8rem 0 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: thin; }
.gallery__thumb { flex: 0 0 auto; width: 72px; padding: 0; border: 2px solid transparent; border-radius: .6rem; overflow: hidden; background: var(--white); cursor: pointer; }
.gallery__thumb.is-active { border-color: var(--ink); }
.gallery__thumb img { width: 100%; aspect-ratio: 871 / 1014; object-fit: cover; }
.product-info h1 { font-size: clamp(2.1rem, 3.6vw, 3.3rem); margin-bottom: 1rem; }
.product-info__summary { color: var(--ink-soft); }
.product-info__intro { padding-bottom: .4rem; }
.product-info__intro > h3:first-child { margin: 0 0 .9rem; font-family: var(--display); font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 500; letter-spacing: -.02em; }
.product-info__intro li::marker { color: var(--lotus); }
.price-box { display: flex; flex-wrap: wrap; align-items: baseline; gap: 1rem; margin: .5rem 0 1.5rem; }
.price-box__price { font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.4rem); }
.option-group { margin: 0 0 1.5rem; padding: 0; border: 0; }
.option-group legend { margin-bottom: .7rem; padding: 0; font-size: .85rem; font-weight: 600; }
.option-group__value { font-weight: 400; color: var(--ink-soft); }
.option-group__values { display: flex; flex-wrap: wrap; gap: .6rem; }
.option { position: relative; cursor: pointer; }
.option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option__swatch { display: block; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--warm); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), 0 0 0 3px var(--paper), 0 0 0 4px transparent; transition: box-shadow .15s ease; }
.option input:checked + .option__swatch { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), 0 0 0 3px var(--paper), 0 0 0 5px var(--ink); }
.option input:focus-visible + .option__swatch, .option input:focus-visible + .option__text { outline: 2px solid var(--lotus); outline-offset: 4px; }
.option__text { display: inline-flex; align-items: center; min-height: 44px; padding: .45rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: .9rem; font-weight: 600; }
.option input:checked + .option__text { color: var(--white); background: var(--ink); border-color: var(--ink); }
.option.is-unavailable .option__swatch, .option.is-unavailable .option__text { opacity: .4; background-image: linear-gradient(135deg, transparent 47%, var(--ink-soft) 48%, var(--ink-soft) 52%, transparent 53%); }
/* Colour photos (display 'image'): a round crop of the colour's own product photo, ring when selected. */
.option__photo { position: relative; display: block; width: 3.5rem; height: 3.5rem; overflow: hidden; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 3px var(--paper), 0 0 0 4px transparent; transition: box-shadow .15s ease; }
.option__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.9); }
.option:hover .option__photo { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 3px var(--paper), 0 0 0 4px var(--line); }
.option input:checked + .option__photo { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 3px var(--paper), 0 0 0 5px var(--ink); }
.option input:focus-visible + .option__photo { outline: 2px solid var(--lotus); outline-offset: 6px; }
.option.is-unavailable .option__photo img { opacity: .4; }
.option.is-unavailable .option__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 48%, var(--ink-soft) 49%, var(--ink-soft) 51%, transparent 52%); }
/* Sizes with their dimensions: name on top, measurements below. */
.option__text--stack { flex-direction: column; justify-content: center; gap: .05rem; min-height: 56px; padding: .45rem 1.15rem; border-radius: .8rem; line-height: 1.2; text-align: center; }
.option__text--stack small { font-size: .74rem; font-weight: 400; color: var(--ink-soft); }
.option input:checked + .option__text--stack small { color: rgba(255, 255, 255, .8); }
.option.is-missing .option__text { border-style: dashed; }
.option.is-unavailable .option__text--stack { background-image: none; }
.option.is-unavailable .option__text--stack span { text-decoration: line-through; }
.option-group__note { margin: .6rem 0 0; color: var(--ink-soft); font-size: .82rem; }
.buy-row { display: flex; gap: .75rem; margin-top: .5rem; }
.buy-row__add { flex: 1 1 auto; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.qty__btn { width: 44px; height: 48px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; }
.qty__btn:disabled { opacity: .35; cursor: not-allowed; }
.qty__input { width: 3rem; height: 48px; border: 0; background: none; text-align: center; font-weight: 600; -moz-appearance: textfield; }
.qty__input::-webkit-outer-spin-button, .qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--small .qty__btn { width: 38px; height: 40px; }
.qty--small .qty__input { width: 2.4rem; height: 40px; }
.product-info__sku { margin-top: 1rem; font-size: .78rem; }

.multi-form__title { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; letter-spacing: 0; margin: 1rem 0 .3rem; }
.multi-list { margin: 1rem 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.multi-row { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: .9rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.multi-row .option__swatch { width: 2rem; height: 2rem; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.multi-row__label { font-weight: 600; }
.multi-row.is-unavailable .multi-row__label { color: var(--ink-soft); }
.multi-summary { padding: 1.25rem; border-radius: 1rem; background: var(--white); box-shadow: 0 0 0 1px var(--line-soft); }
.multi-summary dl, .cart-summary dl, .bundle-box__prices { margin: 0 0 1rem; }
.multi-summary dl > div, .cart-summary dl > div, .bundle-box__prices > div { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; }
.multi-summary dt, .cart-summary dt, .bundle-box__prices dt { color: var(--ink-soft); }
.multi-summary dd, .cart-summary dd, .bundle-box__prices dd { margin: 0; font-weight: 600; }
.multi-summary__total, .cart-summary__total { margin-top: .3rem; padding-top: .7rem !important; border-top: 1px solid var(--line); font-size: 1.15rem; }
.multi-summary__saving { margin: 0 0 .4rem; color: var(--success); font-weight: 600; }
.multi-summary__next { margin: 0 0 1rem; color: var(--accent); font-size: .9rem; font-weight: 600; }

.tier-table { margin: 2rem 0 0; }
.tier-table__title, .bundle-box__title { font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing: 0; margin-bottom: .6rem; }
.tier-table table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tier-table th, .tier-table td { padding: .55rem .75rem; border-bottom: 1px solid var(--line); text-align: left; }
.tier-table th { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.tier-table tr.is-current td { background: var(--lotus-soft); font-weight: 600; }

.bundle-box { margin: 2rem 0 0; padding: 1.5rem; border: 1px solid var(--lotus); border-radius: 1rem; background: var(--white); }
.bundle-box .eyebrow { margin-bottom: .4rem; }
.bundle-box__pick { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.bundle-box__img { width: 80px; flex: 0 0 80px; border-radius: .5rem; aspect-ratio: 871 / 1014; object-fit: cover; }
.bundle-box__pick .field { flex: 1 1 auto; }
.bundle-box__price { color: var(--accent); font-size: 1.2rem; }

.product-details { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.product-details details { border-bottom: 1px solid var(--line); }
.product-details summary { padding: 1.1rem 0; cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.product-details summary::-webkit-details-marker { display: none; }
.product-details summary::after { content: "+"; content: "+" / ""; flex: none; margin-left: 1rem; font-weight: 400; }
.product-details details[open] summary::after { content: "−"; content: "−" / ""; }
.product-details summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
.prose { padding-bottom: 1.1rem; color: var(--ink-soft); }
.prose h3 { margin: 1.9rem 0 .7rem; color: var(--ink); font-family: inherit; font-size: 1rem; font-weight: 600; letter-spacing: 0; line-height: 1.4; }
.prose > h3:first-child { margin-top: .2rem; }
.prose ul { margin: 0 0 1.25rem; padding-left: 1.2rem; }
.prose li { margin-bottom: .3rem; }
.prose strong { color: var(--ink); font-weight: 600; }
/* Video in a product description (YouTube, loaded only when play is pressed) */
.video-embed { position: relative; margin: 0 0 1.25rem; aspect-ratio: 16 / 9; overflow: hidden; border-radius: .9rem; background: var(--night); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prose .video-embed__play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .55rem; color: var(--white); font-weight: 600; text-decoration: none; }
.video-embed__icon { position: relative; width: 64px; height: 64px; border-radius: 50%; background: var(--accent); transition: transform .25s ease; }
.video-embed__icon::after { content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%); border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--white); }
.video-embed__play:hover .video-embed__icon, .video-embed__play:focus-visible .video-embed__icon { transform: scale(1.06); }
.video-embed__play:focus-visible { outline: 2px solid var(--white); outline-offset: -6px; border-radius: .9rem; }
.video-embed__note { font-size: .78rem; font-weight: 400; opacity: .75; }
/* Step cards in a product description ("{{guide:key}}"): two per row, one per row on narrow screens */
.guide-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.prose .guide-cards li { margin: 0; }
.guide-cards a { display: block; border-radius: .9rem; cursor: zoom-in; }
.guide-cards a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.guide-cards img { display: block; width: 100%; height: auto; aspect-ratio: 640 / 760; border-radius: .9rem; }
.guide-viewer { max-width: min(640px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 1rem; background: var(--white); overflow: auto; }
.guide-viewer::backdrop { background: rgba(20, 20, 20, .6); }
.guide-viewer__img { display: block; width: 100%; height: auto; max-height: calc(100dvh - 100px); object-fit: contain; }
.guide-viewer__nav { display: flex; align-items: center; justify-content: center; gap: .75rem; padding: .5rem; }
.guide-viewer__nav button { min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font: inherit; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.guide-viewer__nav button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.guide-viewer__nav [data-close] { margin-left: auto; }
.guide-viewer__count { min-width: 3.5em; text-align: center; font-size: .9rem; color: var(--ink-soft); }
@media (max-width: 520px) { .guide-cards { grid-template-columns: minmax(0, 1fr); max-width: 400px; margin-inline: auto; } }

/* ---- Cart --------------------------------------------------------------------------------------------------- */
.cart { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.cart-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.cart-line { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 1rem 1.25rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.cart-line__img { width: 88px; border-radius: .6rem; aspect-ratio: 871 / 1014; object-fit: cover; background: var(--white); }
.cart-line__name { font-weight: 600; }
.cart-line__label { color: var(--ink-soft); font-size: .88rem; }
.cart-line__controls { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: .6rem; }
.cart-line__remove { padding: .3rem 0; border: 0; background: none; color: var(--ink-soft); text-decoration: underline; cursor: pointer; font-size: .85rem; }
.cart-line__price { text-align: right; font-weight: 600; white-space: nowrap; }
.cart-line__was { display: block; color: var(--ink-soft); font-weight: 400; font-size: .85rem; text-decoration: line-through; }
.cart-line__discount { display: block; color: var(--success); font-size: .8rem; font-weight: 600; }
.cart-line__notice { grid-column: 2 / -1; margin: 0; color: var(--danger); font-size: .85rem; font-weight: 600; }
.cart__notices p { margin: 1rem 0 0; padding: .8rem 1rem; border-radius: .6rem; background: var(--lotus-soft); font-size: .9rem; font-weight: 600; }
.cart-summary { position: sticky; top: calc(var(--header-h) + 1rem); padding: 1.5rem; border-radius: 1rem; background: var(--white); box-shadow: 0 0 0 1px var(--line-soft); }
.cart-summary__vat { font-size: .82rem; }
.cart-summary__promos { margin: 0 0 1rem; padding: 0; list-style: none; font-size: .88rem; }
.cart-summary__promos li { display: flex; justify-content: space-between; gap: 1rem; padding: .25rem 0; color: var(--success); font-weight: 600; }
.cart__status:empty { display: none; }

/* ---- Info pages --------------------------------------------------------------------------------------------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.info-card { padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: 1rem; background: var(--white); box-shadow: 0 0 0 1px var(--line-soft); }
.info-card h2 { font-size: clamp(1.4rem, 2vw, 1.8rem); margin-bottom: 1rem; }
.info-card--accent { background: var(--warm); }
.notice--draft { display: inline-block; margin: 0 0 1rem; padding: .6rem 1rem; border-radius: .6rem; background: var(--lotus-soft); font-size: .9rem; font-weight: 600; }
.legal-text h2 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin: 2rem 0 .75rem; }
.legal-text p, .legal-text address { max-width: 68ch; color: var(--ink-soft); }

.site-footer__pending { display: block; margin: .5rem 0; opacity: .6; }

/* ---- Toast -------------------------------------------------------------------------------------------------- */
.toast { position: fixed; left: 50%; bottom: 1.5rem; z-index: 300; transform: translateX(-50%); padding: .85rem 1.25rem; border-radius: 999px; color: var(--white); background: var(--ink); box-shadow: 0 12px 30px rgba(0, 0, 0, .25); font-size: .9rem; font-weight: 600; }
.toast a { margin-left: .75rem; color: var(--lotus); text-decoration: underline; }

/* ---- Responsive --------------------------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .nav-category { display: none !important; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-layout, .cart, .split-feature__grid { grid-template-columns: minmax(0, 1fr); }
  .split-feature--reverse .split-feature__media { order: 0; }
  .gallery, .cart-summary { position: static; }
  .info-grid { grid-template-columns: 1fr; }
}
@media (min-width: 981px) and (max-width: 1180px) {
  .nav-category { display: none; }
}
@media (max-width: 640px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-tiles { grid-template-columns: 1fr; }
  .category-tile { aspect-ratio: 16 / 10; }
  /* Phone: the whole hero (photo, text and buttons) fits in about half the screen */
  .home-hero { min-height: 50svh; }
  .home-hero__content { padding: calc(var(--header-h) + .5rem) 0 1.25rem; }
  .home-hero .eyebrow { margin-bottom: .4rem; font-size: .62rem; }
  .home-hero h1 { font-size: 1.9rem; }
  .home-hero__intro { margin-top: .5rem; font-size: .9rem; line-height: 1.4; }
  .home-hero .button-row { gap: .5rem 1rem; margin-top: .9rem; }
  .home-hero .button { min-height: 38px; padding: .5rem 1rem; font-size: .76rem; }
  .multi-row { grid-template-columns: auto 1fr auto; }
  .multi-row .stock { grid-column: 2; grid-row: 2; }
  .multi-row .qty { grid-row: 1 / span 2; grid-column: 3; }
  .cart-line { grid-template-columns: 72px minmax(0, 1fr); }
  .cart-line__img { width: 72px; }
  .cart-line__price { grid-column: 2; text-align: left; }
  .buy-row { flex-direction: column; }
  .buy-row .qty { align-self: flex-start; }
}

.preview-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 300; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem .8rem; margin: 0; padding: .55rem 1rem; color: var(--ink); background: var(--lotus-soft); border-top: 2px solid var(--lotus); box-shadow: 0 -4px 16px rgba(0,0,0,.08); font-size: .9rem; text-align: center; }
.preview-banner button { font: inherit; font-weight: 600; padding: .3rem .8rem; border-radius: 999px; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; }
.draft-note { display: inline-block; margin: 0 0 1rem; padding: .35rem .8rem; border-radius: .6rem; background: var(--lotus-soft); font-weight: 600; font-size: .9rem; }
@media (max-width: 640px) {
  .preview-banner { flex-wrap: nowrap; justify-content: space-between; padding: .45rem 16px; font-size: .82rem; text-align: left; }
  .preview-banner__text { display: none; }   /* the draft note on each page already says it; keep the bar to one line */
}

/* ---- Checkout ---------------------------------------------------------------------------------------------- */
.checkout__main { display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; }
.checkout__box { margin: 0; padding: 1.25rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--white); display: flex; flex-direction: column; gap: .9rem; }
.checkout__box legend { padding: 0 .4rem; font-weight: 600; }
.checkout__row { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: .75rem; }
.checkout__subtitle { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; letter-spacing: 0; margin: .25rem 0 .5rem; }
.checkout__options, .checkout__points { display: flex; flex-direction: column; gap: .5rem; }
.co-option { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: .75rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: .8rem; cursor: pointer; background: var(--white); }
.co-point { display: flex; align-items: flex-start; gap: .75rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: .8rem; cursor: pointer; background: var(--white); }
.co-option:has(input:checked), .co-point:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.co-option input, .co-point input { margin-top: .2rem; accent-color: var(--ink); flex: 0 0 auto; }
.co-option__text, .co-point__body { display: flex; flex-direction: column; gap: .15rem; flex: 1 1 auto; min-width: 0; }
.co-option__name, .co-point__name { font-weight: 600; }
.co-option__eta, .co-point__addr, .co-point__dist { color: var(--ink-soft); font-size: .88rem; }
.co-option__price { font-weight: 600; white-space: nowrap; }
.co-point__hours { font-size: .85rem; color: var(--ink-soft); }
.co-point__hours summary { cursor: pointer; }
.co-point__hours ul { margin: .3rem 0 0; padding-left: 1.1rem; }
.checkout__pickup { margin-top: .5rem; }
.checkout__terms { display: flex; gap: .6rem; align-items: flex-start; margin: 1rem 0; font-size: .9rem; }
.checkout__terms input { margin-top: .25rem; accent-color: var(--ink); }
.checkout__result { margin: .75rem 0 0; font-size: .9rem; font-weight: 600; }
.checkout .is-invalid, .checkout__terms.is-invalid { outline: 2px solid var(--danger); outline-offset: 2px; border-radius: .4rem; }
@media (max-width: 640px) { .checkout__row { grid-template-columns: 1fr; } }
.checkout__search { display: flex; align-items: end; gap: .6rem; margin-bottom: .25rem; }
.checkout__search .field { flex: 0 1 16rem; }
.co-point__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .5rem; }
.co-point__kind { padding: .05rem .5rem; border-radius: 999px; background: var(--warm); font-size: .75rem; font-weight: 600; }
.co-point--box .co-point__kind { background: var(--lotus-soft); }
.co-point__app { font-size: .82rem; font-weight: 600; color: var(--accent-dark); }

/* ---- Receipt (after Frisbii's payment window) ---------------------------------------------------------------- */
.receipt { display: grid; gap: 1.25rem; }
.receipt__status { font-size: 1.125rem; margin: 0; }
.receipt__grid { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .receipt__grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); } }
.receipt__lines { list-style: none; margin: 0; padding: 0; }
.receipt__lines li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.receipt__lines li span:last-child { white-space: nowrap; }
.receipt__totals { margin: .75rem 0 0; }
.receipt__totals div { display: flex; justify-content: space-between; gap: 1rem; padding: .25rem 0; }
.receipt__totals dt, .receipt__totals dd { margin: 0; }
.receipt__totals div:first-child { font-weight: 600; }
[data-co-resume] { display: grid; gap: .75rem; margin-bottom: 1rem; }
[data-co-resume] p { margin: 0; }
