/* Storefront. Shared components (buttons, fields, badges, alerts) come from base.css.
   Breakpoints: up to 767 mobile, 768-1023 tablet, 1024+ desktop. */

.page { max-width: var(--bc-container); margin: 0 auto; padding: var(--bc-space-5) 20px var(--bc-space-7); }
.page--flush { padding-top: 0; }
@media (min-width: 1024px) { .page { padding-left: 40px; padding-right: 40px; } }
.section { margin-top: var(--bc-space-7); }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--bc-space-4); }
.section__link, .text-link { font-weight: 700; color: var(--bc-primary); }
.eyebrow { font-size: var(--bc-text-sm); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--bc-primary-hover); margin-bottom: var(--bc-space-3); }
.prose { max-width: 65ch; color: #4a3f37; line-height: 1.65; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--bc-ink); border-radius: 50%; }

/* ---------- Header ---------- */
.announce { background: var(--bc-ink); color: var(--bc-ink-inverse); font-size: var(--bc-text-xs); font-weight: 700; text-align: center; padding: 6px 20px; }
.site-header { background: var(--bc-surface); border-bottom: 1px solid var(--bc-line); position: relative; z-index: 30; }
.site-header__inner { max-width: var(--bc-container); margin: 0 auto; min-height: 60px; padding: 0 12px; display: grid;
  grid-template-columns: 44px 1fr 44px 44px; align-items: center; gap: 4px; }
.site-header .wordmark { justify-self: center; }
.site-nav, .site-search { display: none; }
.basket-link { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px;
  color: var(--bc-ink); text-decoration: none; font-weight: 700; }
.basket-link__label { display: none; }
.basket-link__count { position: absolute; top: 2px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--bc-primary); color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.basket-link__count[hidden] { display: none; }

@media (min-width: 1024px) {
  .site-header__inner { min-height: 80px; padding: 0 40px; display: flex; gap: 24px; }
  .site-header .wordmark { font-size: 26px; justify-self: auto; }
  .site-header__menu, .site-header__search { display: none; }
  .site-nav { display: block; flex: 1; }
  .site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
  .site-nav__item { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 10px; color: var(--bc-ink); text-decoration: none;
    white-space: nowrap; cursor: pointer; border-radius: 8px; list-style: none; }
  .site-nav__item::-webkit-details-marker { display: none; }
  .site-nav__item:hover { background: var(--bc-fill); }
  .site-nav__item--strong { font-weight: 700; }
  .site-search { display: flex; align-items: center; position: relative; width: 220px; }
  .basket-link__label { display: inline; }
  .basket-link__count { position: static; }
}
.dropdown { position: relative; }
.dropdown > summary { list-style: none; }
.dropdown[open] > summary .icon { transform: rotate(180deg); }
.dropdown__panel { position: absolute; top: calc(100% + 6px); left: 0; z-index: 40; width: 240px; list-style: none; margin: 0; padding: 8px;
  background: var(--bc-surface); border-radius: var(--bc-radius-md); box-shadow: var(--bc-shadow-2); animation: bc-fade .12s ease-out; }
.dropdown__panel a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; color: var(--bc-ink); text-decoration: none; }
.dropdown__panel a:hover { background: var(--bc-bg); }
@keyframes bc-fade { from { opacity: 0; } to { opacity: 1; } }

.site-search__icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--bc-ink-muted); pointer-events: none; }
.site-search__input { width: 100%; min-height: 44px; padding: 0 16px 0 40px; border: 1.5px solid var(--bc-line-strong); border-radius: 999px; background: var(--bc-surface); font-size: 16px; }
.site-search__input:focus { outline: 3px solid var(--bc-focus); outline-offset: 2px; }

/* ---------- Mobile menu (opens with :target, so it works without JavaScript) ---------- */
.menu-sheet { display: none; position: fixed; inset: 0; z-index: 50; background: var(--bc-surface); overflow-y: auto; }
.menu-sheet:target, .menu-sheet.is-open { display: block; }
.menu-sheet__top { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; padding: 8px 12px; border-bottom: 1px solid var(--bc-line); }
.menu-sheet__top .wordmark { justify-self: center; }
.menu-sheet__search { position: relative; padding: 16px 20px; border-bottom: 1px solid var(--bc-line); }
.menu-sheet__search .site-search__icon { left: 34px; }
.menu-sheet__list, .menu-sheet__secondary, .menu-sheet__group ul { list-style: none; margin: 0; padding: 0; }
.menu-sheet__list > li { border-bottom: 1px solid var(--bc-line); }
.menu-sheet__row { display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: 0 20px; color: var(--bc-ink);
  text-decoration: none; font-size: 18px; cursor: pointer; list-style: none; }
.menu-sheet__row::-webkit-details-marker { display: none; }
.menu-sheet__row--strong, .menu-sheet__group[open] > .menu-sheet__row { font-weight: 700; }
.menu-sheet__toggle::after { content: "+"; font-size: 22px; }
.menu-sheet__group[open] { background: var(--bc-bg); }
.menu-sheet__group[open] .menu-sheet__toggle::after { content: "−"; }
.menu-sheet__group a { display: flex; align-items: center; min-height: 46px; padding: 0 36px; color: var(--bc-ink); text-decoration: none; font-size: 17px; }
.menu-sheet__secondary { padding: 12px 0 32px; }
.menu-sheet__secondary a { display: flex; align-items: center; min-height: 44px; padding: 0 20px; color: var(--bc-ink-muted); text-decoration: none; }
@media (min-width: 1024px) { .menu-sheet:target { display: none; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--bc-ink); color: var(--bc-ink-inverse); border-top: 4px dashed var(--bc-secondary); margin-top: var(--bc-space-7); }
.site-footer a { color: var(--bc-ink-inverse); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.site-footer__inner { max-width: var(--bc-container); margin: 0 auto; padding: var(--bc-space-6) 20px; display: grid; gap: var(--bc-space-5);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
@media (min-width: 1024px) { .site-footer__inner { padding-left: 40px; padding-right: 40px; } }
.site-footer__col a { display: inline-flex; min-height: 32px; align-items: center; }
.site-footer__tagline { margin-top: var(--bc-space-3); }
.site-footer__details { font-size: var(--bc-text-sm); }
.site-footer__heading { font-family: var(--bc-font-body); font-weight: 700; font-size: var(--bc-text-xs); letter-spacing: .08em; text-transform: uppercase;
  color: var(--bc-secondary); margin-bottom: var(--bc-space-2); }
.site-footer__base { max-width: var(--bc-container); margin: 0 auto; padding: var(--bc-space-4) 20px; font-size: var(--bc-text-xs); border-top: 1px solid rgba(248,243,234,.15); }

/* ---------- Home ---------- */
.hero { display: grid; gap: var(--bc-space-5); margin: 0 -20px; }
.hero__media { order: -1; }
.hero__img { width: 100%; height: 340px; object-fit: cover; display: flex; }
.hero__text { padding: 0 20px; }
.hero__intro { color: var(--bc-ink-muted); font-size: 18px; }
.hero__actions { display: flex; flex-direction: column; gap: var(--bc-space-3); }
.hero__secondary-desktop { display: none; }
.hero .eyebrow { display: none; }
@media (min-width: 1024px) {
  .hero { grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; margin: 0; padding: var(--bc-space-7) 0; }
  .hero__media { order: 0; }
  .hero__img { height: 520px; border-radius: var(--bc-radius-lg); }
  .hero__text { padding: 0; }
  .hero h1 { font-size: 52px; }
  .hero__actions { flex-direction: row; }
  .hero__secondary-mobile { display: none; }
  .hero__secondary-desktop { display: inline-flex; }
  .hero .eyebrow { display: block; }
}
.reassure { list-style: none; margin: 0; padding: 16px 20px; display: grid; gap: 12px; background: var(--bc-surface); border-radius: var(--bc-radius-lg); }
.reassure li { display: flex; gap: 12px; align-items: flex-start; }
.reassure__mark { width: 24px; height: 24px; border-radius: 50%; border: var(--bc-stitch); flex: none; margin-top: 2px; }
.reassure-strip { margin-top: var(--bc-space-5); }
@media (min-width: 1024px) {
  .reassure-strip { margin: 0 calc(50% - 50vw); background: var(--bc-surface); border-block: 1px solid var(--bc-line); }
  .reassure { max-width: var(--bc-container); margin: 0 auto; padding: 18px 40px; grid-template-columns: repeat(3, 1fr); border-radius: 0; background: none; }
}
.category-tiles { list-style: none; margin: var(--bc-space-4) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 768px) { .category-tiles { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .category-tiles { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); } }
.category-tile { display: flex; flex-direction: column; gap: 8px; color: var(--bc-ink); text-decoration: none; font-weight: 700; }
.category-tile__img { width: 100%; border-radius: var(--bc-radius-md); object-fit: cover; }
.category-tile:hover .category-tile__name { text-decoration: underline; }
.about-teaser { background: var(--bc-surface); border-radius: var(--bc-radius-lg); overflow: hidden; display: grid; }
.about-teaser__media > * { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.about-teaser__text { padding: var(--bc-space-5); }
@media (min-width: 1024px) {
  .about-teaser { grid-template-columns: 1fr 1fr; }
  .about-teaser__media > * { height: 100%; aspect-ratio: auto; min-height: 340px; }
  .about-teaser__text { padding: 48px 40px; align-self: center; }
}

/* ---------- Product grid and cards ---------- */
.product-grid { list-style: none; margin: var(--bc-space-4) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; } }
.product-card__link { display: flex; flex-direction: column; gap: 6px; color: var(--bc-ink); text-decoration: none; }
.product-card__media { position: relative; border-radius: var(--bc-radius-md); overflow: hidden; background: var(--bc-fill); }
.product-card__media > img, .product-card__media > .placeholder-img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: flex; }
.product-card__badge { position: absolute; top: 8px; left: 8px; z-index: 1; }
.product-card--sold .product-card__media::after { content: ""; position: absolute; inset: 0; background: rgba(248, 243, 234, .55); }
.product-card__name { font-size: 16px; line-height: 1.35; margin-top: 4px; }
.product-card__link:hover .product-card__name { text-decoration: underline; }
.product-card__meta { display: flex; gap: 8px; align-items: baseline; }
.product-card__price { font-weight: 700; font-family: var(--bc-font-mono); font-size: 15px; }
.product-card__note { font-size: 13px; color: var(--bc-ink-muted); }

/* ---------- Listing ---------- */
.listing-head { display: flex; flex-direction: column; gap: var(--bc-space-3); }
.listing-head h1 { margin-bottom: var(--bc-space-2); }
.listing-head__intro { color: var(--bc-ink-muted); margin: 0; max-width: 60ch; }
.listing-filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; order: 2; }
.listing-chips { margin-top: var(--bc-space-4); }
.check--box { border: 1.5px solid var(--bc-line-strong); border-radius: var(--bc-radius-sm); padding: 0 14px; background: var(--bc-surface); min-height: 48px; }
.select-wrap { position: relative; display: inline-flex; align-items: center; flex: 1; min-width: 180px; }
.select-wrap__label { position: absolute; left: 14px; color: var(--bc-ink-muted); pointer-events: none; }
.select-wrap .select { padding-left: 54px; }
@media (min-width: 768px) {
  .listing-head { flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .select-wrap { flex: none; width: 240px; }
}
.show-more { text-align: center; margin-top: var(--bc-space-6); display: grid; gap: var(--bc-space-2); justify-items: center; }
.show-more .btn { max-width: 420px; }
.pagination--numbered { justify-content: center; display: none; }
@media (min-width: 768px) { .show-more { display: none; } .pagination--numbered { display: flex; } }
.pagination [aria-disabled="true"] { color: var(--bc-ink-muted); opacity: .6; }

/* ---------- Product page ---------- */
.product { display: grid; gap: 0 48px; grid-template-areas: "gallery" "crumbs" "buy"; }
.product__crumbs { grid-area: crumbs; margin-top: var(--bc-space-4); }
.gallery { grid-area: gallery; margin: calc(-1 * var(--bc-space-5)) -20px 0; }
.buy { grid-area: buy; min-width: 0; }
@media (min-width: 768px) {
  .product { grid-template-columns: 1fr 1fr; grid-template-areas: "crumbs crumbs" "gallery buy"; align-items: start; }
  .product__crumbs { margin-top: 0; }
  .gallery { margin: 0; }
}
@media (min-width: 1024px) { .product { grid-template-columns: minmax(0, 1fr) 440px; } }
.gallery__main { position: relative; }
.gallery__track { list-style: none; margin: 0; padding: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 100%; scroll-snap-align: start; }
.gallery__slide img, .gallery__main > .placeholder-img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: flex; }
.gallery__count { position: absolute; top: 12px; right: 12px; background: var(--bc-surface); border-radius: 999px; padding: 4px 12px; font-size: 14px; font-weight: 700; }
.gallery__dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.gallery__dot { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--bc-ink); background: var(--bc-surface); }
.gallery__dot.is-active { background: var(--bc-ink); }
.gallery__badge { position: absolute; top: 12px; left: 12px; }
.gallery__thumbs { display: none; list-style: none; margin: 12px 0 0; padding: 0; gap: 10px; }
.gallery__thumb { display: block; width: 88px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; }
.gallery__thumb.is-active { border-color: var(--bc-ink); }
.gallery__thumb img { width: 100%; height: auto; display: block; }
@media (min-width: 768px) {
  .gallery__slide img, .gallery__main > .placeholder-img { border-radius: var(--bc-radius-md); }
  .gallery__dots, .gallery__count { display: none; }
  .gallery__thumbs { display: flex; }
}
@media (min-width: 1024px) {
  .gallery { display: grid; grid-template-columns: 88px 1fr; gap: 20px; }
  .gallery__thumbs { grid-row: 1; flex-direction: column; margin: 0; }
}
.buy__name { margin: var(--bc-space-2) 0; }
.buy__price { font-family: var(--bc-font-mono); font-weight: 700; font-size: 26px; margin-bottom: var(--bc-space-4); }
.buy__price.is-sold { color: var(--bc-ink-muted); }
.buy__subhead { font-size: var(--bc-text-xl); }
.variant-group { border: 0; margin: 0 0 var(--bc-space-4); padding: 0; min-width: 0; }
.variant-group__legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
.variant-group__legend span { font-weight: 400; }
.variant-group__values { display: flex; flex-wrap: wrap; gap: 10px; }
.variant { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; cursor: pointer;
  border: 1.5px solid var(--bc-line-strong); background: var(--bc-surface); }
.variant input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.variant--colour { border-radius: 999px; padding: 0 16px 0 8px; }
.variant--size { border-radius: 8px; padding: 0 14px; min-width: 56px; justify-content: center; }
.variant__swatch { width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(43,33,27,.15); }
.variant:has(input:checked) { border: 2.5px solid var(--bc-ink); font-weight: 700; }
.variant:has(input:focus-visible) { outline: 3px solid var(--bc-focus); outline-offset: 2px; }
.variant.is-sold { border-style: dashed; color: #6f6257; }
.variant.is-sold .variant__swatch { opacity: .45; }
.stock-line { font-weight: 700; color: #7d3210; display: flex; align-items: center; gap: 8px; min-height: 1.5em; }
.stock-line:not(:empty)::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--bc-primary); flex: none; }
.stock-line.is-ok { color: var(--bc-success); }
.stock-line.is-ok::before { background: var(--bc-success); }
.made-to-order { display: flex; gap: 12px; border: 1.5px dashed var(--bc-primary); border-radius: var(--bc-radius-md); background: var(--bc-surface); padding: 14px 16px; margin-bottom: var(--bc-space-4); }
.made-to-order p { margin: 0; }
.made-to-order .icon { margin-top: 3px; }
.delivery-card { background: var(--bc-surface); border-radius: var(--bc-radius-md); padding: 16px 20px; margin-top: var(--bc-space-4); }
.delivery-card__row { display: flex; justify-content: space-between; gap: 12px; }
.delivery-card p { color: var(--bc-ink-muted); margin: 4px 0 8px; }
.sold-panel { margin-bottom: var(--bc-space-4); }
.sold-panel p:last-child { margin-bottom: 0; }
.notify-form { margin-bottom: var(--bc-space-4); }
.zoom { width: min(96vw, 900px); max-height: 96vh; padding: 0; border: 0; border-radius: var(--bc-radius-lg); background: var(--bc-surface); }
.zoom::backdrop { background: rgba(43,33,27,.8); }
.zoom img { width: 100%; height: auto; display: block; }
.zoom__close { position: absolute; top: 8px; right: 8px; background: var(--bc-surface); }

/* ---------- Search ---------- */
.search-bar { display: flex; gap: 10px; margin-bottom: var(--bc-space-5); }
.search-bar__field { position: relative; flex: 1; }
.search-bar .site-search__input { min-height: 52px; font-size: 18px; }
.search-results__title { font-family: var(--bc-font-body); font-weight: 700; font-size: var(--bc-text-lg); }
.search-popular__title { font-family: var(--bc-font-body); font-weight: 700; font-size: var(--bc-text-md); margin-top: var(--bc-space-6); }

/* ---------- Content pages ---------- */
.prose-page { max-width: 720px; margin: 0 auto; }
.prose-page h2 { margin-top: var(--bc-space-6); font-size: var(--bc-text-xl); }
.prose-page p, .prose-page li { line-height: 1.65; }
.legal p, .legal li { max-width: 65ch; }
.toc { background: var(--bc-surface); border-radius: var(--bc-radius-md); padding: 16px 20px; margin: var(--bc-space-4) 0; }
.toc__title { font-family: var(--bc-font-body); font-weight: 700; font-size: var(--bc-text-md); margin: 0 0 8px !important; }
.toc ol { margin: 0; padding-left: 20px; }
.toc a { display: inline-block; padding: 4px 0; }
.about-photo { aspect-ratio: 4 / 3; border-radius: var(--bc-radius-lg); margin-bottom: var(--bc-space-5); }
.facts { list-style: none; padding: 0; display: grid; gap: 12px; margin: var(--bc-space-5) 0; }
.facts li { background: var(--bc-surface); border-radius: var(--bc-radius-md); padding: 14px 16px; border-left: 4px dashed var(--bc-secondary); }
.fact-tiles { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: var(--bc-space-5) 0; }
@media (min-width: 768px) { .fact-tiles { grid-template-columns: repeat(4, 1fr); } }
.fact-tiles li { background: var(--bc-surface); border-radius: var(--bc-radius-md); padding: 14px 16px; display: flex; flex-direction: column; }
.fact-tiles span { color: var(--bc-ink-muted); font-size: var(--bc-text-sm); }
.fact-tiles strong { font-family: var(--bc-font-heading); font-weight: 400; font-size: 26px; }
.contact-form { margin-top: var(--bc-space-5); }
.message-page { max-width: 560px; margin: var(--bc-space-7) auto; text-align: center; }
.message-page__code { font-family: var(--bc-font-heading); font-size: 72px; color: var(--bc-secondary); margin: 0; line-height: 1; }
.message-page__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: var(--bc-space-5) 0; }

/* ---------- Cookie banner and settings ---------- */
.cookie-banner { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45; max-width: 560px; margin: 0 auto; background: var(--bc-surface);
  border-radius: var(--bc-radius-lg); box-shadow: var(--bc-shadow-2); padding: 20px; border-top: 4px dashed var(--bc-secondary); animation: bc-slide-up .2s ease-out; }
.cookie-banner__title { font-family: var(--bc-font-body); font-weight: 700; font-size: 19px; margin-bottom: 6px; }
.cookie-banner p { font-size: var(--bc-text-sm); color: var(--bc-ink-muted); }
.cookie-banner__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookie-banner__more { display: block; text-align: center; margin-top: 8px; min-height: 44px; line-height: 44px; color: var(--bc-ink); font-weight: 700; }
.cookie-settings { margin-top: var(--bc-space-5); }
.cookie-settings__title { font-family: var(--bc-font-body); font-weight: 700; font-size: 24px; }
.cookie-settings__row { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--bc-line); }
.cookie-settings__row h2 { font-family: var(--bc-font-body); font-weight: 700; font-size: 19px; margin: 0 0 4px; }
.cookie-settings__row p { margin: 0; color: var(--bc-ink-muted); }
.cookie-settings .btn { margin: 20px 0 12px; }
.switch { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch__track { width: 56px; height: 32px; border-radius: 999px; background: var(--bc-line-strong); position: relative; }
.switch__track::after { content: ""; position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: left .12s; }
.switch input:checked + .switch__track { background: var(--bc-success); }
.switch input:checked + .switch__track::after { left: 28px; }
.switch input:focus-visible + .switch__track { outline: 3px solid var(--bc-focus); outline-offset: 2px; }
.switch__state::after { content: "Off"; font-weight: 700; font-size: 14px; }
.switch input:checked ~ .switch__state::after { content: "On"; }

/* ---------- Toast ---------- */
.toast__keep { background: transparent; color: var(--bc-ink-inverse); border: 1.5px solid rgba(248,243,234,.5); }

/* ---------- Basket ---------- */
.basket-page h1 { margin-bottom: var(--bc-space-5); }
.basket-layout { display: grid; gap: var(--bc-space-5); align-items: start; }
@media (min-width: 1024px) { .basket-layout { grid-template-columns: minmax(0, 1fr) 400px; } }
.basket-lines { list-style: none; margin: 0; padding: 0; background: var(--bc-surface); border-radius: var(--bc-radius-lg); overflow: hidden; }
.basket-line { display: grid; grid-template-columns: 76px 1fr; gap: 16px; padding: 14px; border-top: 1px solid var(--bc-line); position: relative; }
.basket-line:first-child { border-top: 0; }
.basket-line--flagged { box-shadow: inset 5px 0 0 var(--bc-secondary); background: #fffaf0; }
.basket-line__thumb img, .basket-line__thumb .placeholder-img { width: 76px; height: 95px; border-radius: 8px; object-fit: cover; }
.basket-line__name { font-weight: 700; color: var(--bc-ink); text-decoration: none; font-size: 18px; }
.basket-line__meta { color: var(--bc-ink-muted); margin: 2px 0 8px; font-size: var(--bc-text-sm); }
.basket-line__problem { color: var(--bc-danger); font-weight: 700; margin: 0 0 8px; }
.basket-line__actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.basket-line__total { margin-left: auto; font-family: var(--bc-font-mono); }
.basket-line__remove { margin-top: 4px; }
.link-btn--ink { color: var(--bc-ink); font-weight: 400; }
.link-btn--muted { color: var(--bc-ink-muted); font-weight: 400; font-size: var(--bc-text-sm); min-height: 36px; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--bc-line-strong); border-radius: 999px; height: 44px; }
.stepper button { width: 44px; height: 44px; background: none; border: 0; font-size: 22px; cursor: pointer; border-radius: 999px; }
.stepper button:disabled { color: var(--bc-line-strong); cursor: not-allowed; }
.stepper__value { min-width: 24px; text-align: center; font-weight: 700; }
.summary-card { background: var(--bc-surface); border-radius: var(--bc-radius-lg); padding: 18px 20px; margin-bottom: var(--bc-space-4); }
.summary-card__title { font-family: var(--bc-font-body); font-weight: 700; font-size: 19px; margin-bottom: 8px; }
.summary-card__row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.summary-card__row span:last-child { font-family: var(--bc-font-mono); }
.summary-card__total { border-top: 1.5px solid var(--bc-line); margin-top: 8px; padding-top: 12px; font-weight: 700; font-size: 20px; }
.summary-card__note { font-size: var(--bc-text-sm); color: var(--bc-ink-muted); margin: 8px 0 12px; }
.summary-card__note--centre { text-align: center; }
.summary-card .btn { margin-top: 12px; }

/* ---------- Checkout ---------- */
.checkout-header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding: 10px 16px; background: var(--bc-surface); border-bottom: 1px solid var(--bc-line); }
.checkout-header__back { color: var(--bc-ink); min-height: 44px; display: inline-flex; align-items: center; gap: 4px; }
.checkout-header__secure { justify-self: end; display: inline-flex; align-items: center; gap: 6px; color: var(--bc-ink-muted); font-size: var(--bc-text-sm); }
.checkout { display: grid; gap: var(--bc-space-6); max-width: 1100px; margin: 0 auto; }
@media (min-width: 1024px) { .checkout { grid-template-columns: minmax(0, 1fr) 420px; align-items: start; } .checkout--pay { grid-template-columns: minmax(0, 640px); justify-content: center; } }
.checkout__side { display: none; }
@media (min-width: 1024px) { .checkout__side { display: block; } .checkout-summary-bar { display: none; } }
.summary-card--sticky { position: sticky; top: 16px; }
.checkout-summary-bar { background: var(--bc-surface); border-radius: var(--bc-radius-md); padding: 0 16px; margin-bottom: var(--bc-space-5); }
.checkout-summary-bar summary { display: flex; justify-content: space-between; align-items: center; min-height: 52px; cursor: pointer; list-style: none; }
.checkout-summary-bar summary::-webkit-details-marker { display: none; }
.checkout-summary-bar__show { text-decoration: underline; }
.checkout-summary-bar[open] .checkout-summary-bar__show::after { content: " (hide)"; }
.checkout-step h2 { display: flex; align-items: center; gap: 12px; font-size: var(--bc-text-xl); margin: var(--bc-space-5) 0 var(--bc-space-4); }
.checkout-step__num { width: 30px; height: 30px; border-radius: 50%; background: var(--bc-ink); color: var(--bc-ink-inverse); font-family: var(--bc-font-body);
  font-weight: 700; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.field--short { max-width: 220px; }
.checkout-country { margin: 0; }
.radio-group { border: 0; padding: 0; margin: 0 0 var(--bc-space-4); }
.checkout-totals { margin-top: var(--bc-space-5); }
.checkout-lines { list-style: none; margin: 0 0 12px; padding: 0; }
.checkout-line { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--bc-fill); }
.checkout-line__thumb { width: 48px; height: 48px; border-radius: 6px; object-fit: cover; flex: none; }
.checkout-line__text { flex: 1; font-size: var(--bc-text-sm); }
.checkout-line > span:last-child { font-family: var(--bc-font-mono); }
.checkout-line--unavailable { opacity: .55; justify-content: space-between; background: var(--bc-surface); border-radius: 8px; padding: 10px 14px; margin-bottom: var(--bc-space-4); text-decoration: line-through; }
.checkout-pay__title { font-size: var(--bc-text-2xl); }
.payment-area { margin-top: var(--bc-space-4); }
.hold-notice .icon { margin-top: 3px; }

/* ---------- Payment, confirmation and order status ---------- */
.btn--paypal { background: #ffc439; color: #111; }
.btn--paypal:hover { background: #f2b52e; color: #111; }
.paypal__buttons { min-height: 56px; margin: 8px 0; }
.fake-pay { display: grid; gap: 10px; }
.payment-failed { display: block; padding: 20px 24px; }
.payment-failed__title { font-family: var(--bc-font-body); font-weight: 700; font-size: 24px; margin-bottom: 8px; color: #7d1124; }
.payment-failed p { margin: 0; }
.alert--neutral { background: var(--bc-fill); color: var(--bc-ink); }
.btn__spinner--dark { border-color: rgba(43,33,27,.2); border-top-color: var(--bc-ink); flex: none; margin-top: 3px; }
.confirmation, .order-status { max-width: 640px; margin: 0 auto; }
.confirmation__tick { width: 56px; height: 56px; border-radius: 50%; background: var(--bc-success); color: #fff; font-size: 30px;
  display: flex; align-items: center; justify-content: center; margin: var(--bc-space-4) 0; }
.confirmation__lead { font-size: 18px; color: var(--bc-ink-muted); }
.order-status__ref { color: var(--bc-ink-muted); margin-bottom: 4px; }
.order-status__tracking { font-size: 24px; font-weight: 700; margin: 4px 0 16px; letter-spacing: .04em; }
.order-status__details summary { cursor: pointer; padding: 12px 0; }
.stepper-v { list-style: none; padding: 20px 24px; }
.stepper-v__step { display: flex; gap: 16px; position: relative; padding-bottom: 28px; }
.stepper-v__step:last-child { padding-bottom: 0; }
.stepper-v__step:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 30px; bottom: 2px; border-left: 2px dashed var(--bc-line-strong); }
.stepper-v__step.is-done:not(:last-child)::after { border-left: 2px solid var(--bc-success); }
.stepper-v__dot { width: 28px; height: 28px; border-radius: 50%; border: 2px dashed var(--bc-line-strong); flex: none; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 15px; }
.stepper-v__step.is-done .stepper-v__dot { background: var(--bc-success); border: 0; }
