/* Yapi Store theme — the store's own look. Foundation lives in base.css.
   Scenic and local: New Zealand photography carries the look, products sit on plain plinths,
   and a muted sky blue, drawn from the photographs, marks every buying action. */

:root {
  --bg: #f4f4f1;
  --surface: #fbfbf9;
  --accent: #44739b;
  --accent-hover: #386386;
  --on-accent: #f6f4ee;
  --plinth: #eae9e5;
  --photo-ink: #fdfcf9;
}
@media (prefers-color-scheme: dark) {
  :root:not(.light-only) {
    --bg: #0d0e0c;
    --surface: #161714;
    --accent: #a9c8e3;
    --accent-hover: #c3daee;
    --on-accent: #0f141a;
    --plinth: #dddcd7;
  }
}

.mono { font: 500 12px/1.5 var(--mono); color: var(--ink-3); }
.cart-btn .btn__icon { font: 500 12px/1 var(--mono); font-variant-numeric: tabular-nums; }
.cart-btn.bump .btn__icon { animation: bump 0.7s var(--ease); }
@keyframes bump { 35% { transform: scale(1.35); } }

/* ── Photographic frames ───────────────────────────────────────────────── */
.photo { position: relative; overflow: hidden; border-radius: var(--r-shell); background: #1c1f1d; color: var(--photo-ink); }
.photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.16); }
.photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(8, 12, 16, 0.66), rgba(8, 12, 16, 0.08) 55%, rgba(8, 12, 16, 0.2)); }
.photo > :not(img) { position: relative; z-index: 1; }
.photo--plain::after { display: none; }
.btn--photo { background: var(--photo-ink); color: #151513; box-shadow: 0 18px 34px -18px rgba(0, 0, 0, 0.6); }
.btn--photo .btn__icon { background: rgba(21, 21, 19, 0.08); }
.btn--photo:hover { background: #fff; }
.btn--photo:hover .btn__icon { background: rgba(21, 21, 19, 0.14); }

/* ── Home hero ─────────────────────────────────────────────────────────── */
.shero { padding: 10px; }
.shero .photo { display: flex; flex-direction: column; justify-content: flex-end; min-height: calc(100dvh - 20px); padding: clamp(22px, 4.4vw, 60px); }
.shero .photo > img { object-position: 50% 62%; }
.shero h1 { margin-top: 22px; font-size: clamp(42px, min(8.4vw, 15vh), 128px); font-weight: 500; line-height: 0.95; letter-spacing: -0.05em; }
.shero__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px 48px; margin-top: clamp(22px, 3.4vh, 40px); }
.shero__row p { max-width: 34ch; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.4; opacity: 0.9; text-wrap: pretty; }
.eyebrow--photo { background: rgba(255, 255, 255, 0.16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); color: var(--photo-ink); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

.assure { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; padding-block: 22px; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.assure span { display: inline-flex; align-items: center; gap: 10px; }
.assure i { flex: none; width: 6px; height: 6px; border-radius: 28%; background: var(--accent); }

/* ── Product tiles ─────────────────────────────────────────────────────── */
.tiles { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 28px); }
.tiles--feature > :nth-child(odd) { grid-column: span 7; }
.tiles--feature > :nth-child(even) { grid-column: span 5; }
.tiles--grid > * { grid-column: span 4; }
.tile { display: flex; flex-direction: column; transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.tile[hidden] { display: none; }
.tile.out { opacity: 0; transform: scale(0.97); }
.plinth { position: relative; flex: 1; overflow: hidden; display: grid; place-items: center; min-height: clamp(260px, 34vw, 460px); border-radius: var(--r-core); background: var(--plinth); color: #151513; }
.plinth img { width: 100%; height: 100%; max-height: clamp(260px, 34vw, 460px); padding: 8%; object-fit: contain; mix-blend-mode: multiply; transition: transform 1.2s var(--ease); }
@media (hover: hover) { a.tile:hover .plinth img { transform: scale(1.045); } }
.plinth__tag { position: absolute; top: 14px; left: 14px; padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.7); font: 500 11px/1 var(--mono); color: #3d3b37; }
.plinth__soon { padding: 12%; text-align: center; }
.plinth__soon strong { display: block; font-size: clamp(34px, 4.4vw, 60px); font-weight: 300; letter-spacing: -0.045em; line-height: 1; }
.plinth__soon span { display: block; margin-top: 14px; font-size: 14.5px; color: #56544f; }
.tile__body { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; align-items: end; padding: 18px 6px 4px; }
.tile__body .mono { grid-column: 1 / -1; }
.tile h3 { font-size: clamp(21px, 2vw, 28px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; text-wrap: balance; }
.tile__why { grid-column: 1; margin-top: 4px; font-size: 15px; color: var(--ink-2); text-wrap: pretty; }
.tile__price { grid-column: 2; grid-row: 2 / 4; align-self: end; text-align: right; font-size: clamp(19px, 1.7vw, 24px); font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tile__price small { display: block; font: 500 11px/1.6 var(--mono); letter-spacing: 0; color: var(--ink-3); }
.stock { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.stock--soon .dot { background: var(--warn); }

/* ── About split ───────────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; }
.split__media { grid-column: 1 / 6; }
.split__media .photo { aspect-ratio: 4 / 5; }
.split__text { grid-column: 7 / 13; }
.split__text p { margin-top: 24px; max-width: 46ch; color: var(--ink-2); text-wrap: pretty; }
.quote { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 30ch; font-size: clamp(21px, 2vw, 28px); font-weight: 400; line-height: 1.25; letter-spacing: -0.025em; color: var(--ink); text-wrap: balance; }

/* ── Disclosure rows (questions) ───────────────────────────────────────── */
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa__q { display: flex; justify-content: space-between; align-items: center; gap: 24px; width: 100%; padding-block: clamp(20px, 2.4vw, 30px); text-align: left; font-size: clamp(19px, 1.8vw, 25px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; }
.qa__q i { position: relative; flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--tint); transition: transform 0.7s var(--ease), background-color 0.6s var(--ease); }
.qa__q i::before, .qa__q i::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 1.5px; margin: -0.75px 0 0 -6px; background: var(--ink); transition: transform 0.7s var(--ease); }
.qa__q i::after { transform: rotate(90deg); }
.qa__q[aria-expanded="true"] i { transform: rotate(180deg); }
.qa__q[aria-expanded="true"] i::after { transform: rotate(0deg); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.7s var(--ease); }
.qa__a > div { overflow: hidden; }
.qa__a p { max-width: 54ch; padding-bottom: clamp(20px, 2.4vw, 30px); color: var(--ink-2); text-wrap: pretty; }
.qa__q[aria-expanded="true"] + .qa__a { grid-template-rows: 1fr; }
.sec__head .photo { margin-top: 32px; max-width: 280px; aspect-ratio: 1; border-radius: var(--r-core); }

/* ── Newsletter band ───────────────────────────────────────────────────── */
.notify .photo { display: grid; align-content: end; min-height: clamp(420px, 56vw, 620px); padding: clamp(24px, 4.4vw, 60px); }
.notify .photo::after { background: linear-gradient(to top right, rgba(8, 12, 16, 0.78), rgba(8, 12, 16, 0.18) 60%, rgba(8, 12, 16, 0.05)); }
.notify h2 { max-width: 12ch; }
.notify p { margin-top: 14px; max-width: 34ch; opacity: 0.9; }
.notify form { display: flex; flex-wrap: wrap; gap: 10px; max-width: 520px; margin-top: 28px; }
.notify input { flex: 1 1 220px; min-width: 0; padding: 0 18px; height: 52px; border: 0; border-radius: var(--r-btn); background: rgba(255, 255, 255, 0.16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); color: var(--photo-ink); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.notify input::placeholder { color: rgba(255, 255, 255, 0.72); }
.notify input:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.form-note { flex-basis: 100%; min-height: 1.6em; font-size: 14.5px; }

/* ── Footer ────────────────────────────────────────────────────────────── */
.sfoot { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px 24px; padding-block: clamp(48px, 7vw, 96px) 36px; }
.sfoot__lead { grid-column: 1 / 6; }
.sfoot__lead p { margin-top: 16px; max-width: 32ch; color: var(--ink-2); }
.sfoot__col { grid-column: span 3; display: grid; align-content: start; gap: 10px; font-size: 15px; }
.sfoot__col:first-of-type { grid-column: 7 / span 3; }
.sfoot__col .mono { margin-bottom: 6px; }

/* ── Shop page ─────────────────────────────────────────────────────────── */
.page-head { padding-top: clamp(132px, 17vw, 208px); padding-bottom: clamp(32px, 5vw, 64px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 500 12px/1.4 var(--mono); color: var(--ink-3); }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { opacity: 0.5; }
.page-head h1 { margin-top: 20px; font-size: clamp(56px, 11vw, 168px); font-weight: 500; line-height: 0.92; letter-spacing: -0.055em; }
.page-head__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px 48px; margin-top: clamp(24px, 3.4vw, 44px); }
.page-head__row p { max-width: 40ch; font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); text-wrap: pretty; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; color: var(--ink-2); white-space: nowrap; transition: background-color 0.5s var(--ease), color 0.5s var(--ease), box-shadow 0.5s var(--ease), transform 0.5s var(--ease); }
.chip:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink-3); }
.chip:active { transform: scale(0.97); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); box-shadow: none; }
.chip sup { margin-left: 5px; font: 500 10px/1 var(--mono); opacity: 0.7; }
.prose { max-width: 62ch; color: var(--ink-2); }
.prose p + p { margin-top: 1em; }

/* ── Product page ──────────────────────────────────────────────────────── */
.pdp { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(24px, 4vw, 64px); align-items: start; padding-top: clamp(112px, 12vw, 150px); }
.pdp > .crumbs { grid-column: 1 / -1; margin-bottom: 22px; }
.gallery { grid-column: 1 / 8; }
.gallery__main { position: relative; overflow: hidden; display: grid; place-items: center; aspect-ratio: 1 / 1; border-radius: var(--r-shell); background: var(--plinth); }
.gallery__main img { width: 100%; height: 100%; padding: 7%; object-fit: contain; mix-blend-mode: multiply; transition: opacity 0.45s var(--ease), transform 0.9s var(--ease-out); }
.gallery__main img.cover { padding: 0; object-fit: cover; mix-blend-mode: normal; }
.gallery__main img.swap { opacity: 0; transform: scale(1.03); }
.thumbs { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-top: 8px; }
.thumb { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: 12px; background: var(--plinth); transition: transform 0.5s var(--ease); }
.thumb img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.thumb::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px var(--accent); opacity: 0; transition: opacity 0.5s var(--ease); }
.thumb[aria-current="true"]::after { opacity: 1; }
.thumb:active { transform: scale(0.96); }

.buy { grid-column: 8 / 13; position: sticky; top: 104px; }
.buy__brand { display: block; margin-bottom: 14px; letter-spacing: 0; }
.buy h1 { font-size: clamp(30px, 3.3vw, 46px); font-weight: 500; line-height: 1.04; letter-spacing: -0.04em; text-wrap: balance; }
.buy__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 20px; }
.buy__price strong { font-size: clamp(28px, 2.8vw, 38px); font-weight: 500; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.buy__group { margin-top: 28px; }
.buy__legend { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-size: 14.5px; font-weight: 500; }
.buy__legend a { font-weight: 400; color: var(--ink-2); }
.facts { margin-top: 26px; border-top: 1px solid var(--line); font-size: 14.5px; }
.facts li { display: flex; justify-content: space-between; gap: 20px; padding-block: 11px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.facts li b { font-weight: 500; color: var(--ink); white-space: nowrap; }
.pay-note { margin-top: 14px; font-size: 13.5px; color: var(--ink-3); }

.rows > li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 24px; padding-block: clamp(20px, 2.4vw, 30px); border-top: 1px solid var(--line); }
.rows > li:last-child { border-bottom: 1px solid var(--line); }
.rows h3 { font-size: clamp(19px, 1.8vw, 25px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; }
.rows p { color: var(--ink-2); text-wrap: pretty; }
.rows .mono { display: block; margin-bottom: 6px; }
.overview { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; }
.overview__text { grid-column: 1 / 7; }
.overview__text p { margin-top: 22px; max-width: 50ch; color: var(--ink-2); text-wrap: pretty; }
.overview__media { grid-column: 8 / 13; }
.overview__media .photo { aspect-ratio: 4 / 5; }

.buybar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: var(--z-bar); display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 18px; border-radius: 20px; background: var(--glass); -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5); box-shadow: 0 0 0 1px var(--line-soft), 0 20px 44px -20px var(--shadow); transform: translateY(140%); transition: transform 0.8s var(--ease); }
.buybar.show { transform: none; }
.buybar strong { font-weight: 500; font-variant-numeric: tabular-nums; }
.buybar small { display: block; font-size: 12.5px; color: var(--ink-2); }

/* ── Checkout header ───────────────────────────────────────────────────── */
.cbar { display: flex; justify-content: space-between; align-items: center; padding-block: 22px; border-bottom: 1px solid var(--line); position: relative; z-index: var(--z-content); }
.cbar .brand { margin: 0; }
[hidden] { display: none !important; }

/* ── Smaller screens ───────────────────────────────────────────────────── */
@media (max-width: 959px) {
  .tiles--feature > *, .tiles--grid > * { grid-column: 1 / -1 !important; }
  .split__media, .split__text, .overview__text, .overview__media { grid-column: 1 / -1; }
  .split__media, .overview__media { margin-bottom: 36px; }
  .overview__media { order: -1; }
  .split__media .photo, .overview__media .photo { aspect-ratio: 4 / 3.4; }
  .sec__head .photo { display: none; }
  .sfoot__lead, .sfoot__col, .sfoot__col:first-of-type { grid-column: span 6; }
  .sfoot__lead { grid-column: 1 / -1; }
  .gallery, .buy { grid-column: 1 / -1; }
  .buy { position: static; margin-top: 32px; }
  .rows > li { grid-template-columns: 1fr; row-gap: 8px; }
  .buybar { display: flex; }
}
@media (min-width: 761px) and (max-width: 959px) {
  .tiles--grid > * { grid-column: span 6 !important; }
}
@media (max-width: 760px) {
  .assure { flex-direction: column; }
  .thumbs { grid-template-columns: repeat(4, 1fr); }
  .shero .photo { border-radius: 22px; }
}

/* ══════════════════════════════════════════════════════════════════════════
   WooCommerce markup. Everything above is the design; everything below fits
   WooCommerce's own templates and blocks to it.
   ══════════════════════════════════════════════════════════════════════════ */

.stock--soon .dot { background: var(--warn); }
.stock--out .dot { background: var(--ink-3); }
.buy__price .stock { margin-left: auto; }
.buy__price .price del { opacity: 0.5; font-weight: 400; }
.buy__price .price ins { text-decoration: none; }
.qa__h { margin: 0; font: inherit; }
a.chip { display: inline-block; }
.chip[aria-current="page"] { background: var(--ink); color: var(--on-ink); box-shadow: none; }
.lede { max-width: 46ch; font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); text-wrap: pretty; }
.page__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 36px; }

/* ── Pages ─────────────────────────────────────────────────────────────── */
.page { padding-bottom: var(--section); }
.page-head--compact { padding-top: clamp(124px, 15vw, 190px); padding-bottom: clamp(28px, 4vw, 52px); }
.page-head--compact h1 { margin-top: 0; font-size: clamp(44px, 7.4vw, 108px); }
.page--flow .page-head--compact { padding-top: clamp(36px, 5vw, 72px); }
.woocommerce-cart .page--flow .page-head--compact, .woocommerce-account .page--flow .page-head--compact, .woocommerce-order-received .page--flow .page-head--compact { padding-top: clamp(124px, 15vw, 190px); }

/* ── Running text: policy pages, product descriptions, category text ───── */
.prose { max-width: 66ch; color: var(--ink-2); }
.prose--page { color: var(--ink); }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol, .prose table, .prose figure { margin: 0 0 1.05em; }
.prose h2 { margin: 2em 0 0.6em; font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; line-height: 1.15; letter-spacing: -0.03em; color: var(--ink); text-wrap: balance; }
.prose h3 { margin: 1.8em 0 0.5em; font-size: clamp(19px, 1.8vw, 23px); font-weight: 500; line-height: 1.25; letter-spacing: -0.02em; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin: 0.4em 0; }
.prose li::marker { color: var(--ink-3); }
.prose strong { font-weight: 500; color: var(--ink); }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; color: var(--ink); }
.prose a:hover { text-decoration-thickness: 2px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.prose th, .prose td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { font-weight: 500; color: var(--ink); }
.prose img { height: auto; border-radius: var(--r-core); }
.about-brand img { max-width: 100%; height: auto; }

/* ── Notices ───────────────────────────────────────────────────────────── */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-notices-wrapper { position: relative; z-index: var(--z-content); width: 100%; max-width: var(--max); margin: 0 auto; padding: 108px var(--pad) 0; }
.woocommerce-notices-wrapper:not(:empty) + .pdp { padding-top: 24px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 12px; padding: 14px 18px; border-radius: var(--r-btn); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); list-style: none; font-size: 15.5px; }
.woocommerce-error { box-shadow: inset 0 0 0 1.5px #b4472f; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; margin-left: auto; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* ── Product page: WooCommerce's add-to-cart form ──────────────────────── */
.buy__form form.cart { margin: 28px 0 0; }
.buy__form table.variations, .buy__form table.variations tbody, .buy__form table.variations tr, .buy__form table.variations th, .buy__form table.variations td { display: block; width: 100%; padding: 0; border: 0; text-align: left; }
.buy__form table.variations tr + tr { margin-top: 20px; }
.buy__form table.variations label { display: block; margin-bottom: 10px; font-size: 14.5px; font-weight: 500; }
.buy__form table.variations select { width: 100%; height: 52px; padding: 0 14px; border: 0; border-radius: var(--r-btn); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.buy__form table.variations select.is-enhanced { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.buy__form .reset_variations { display: none !important; }
.buy__form .single_variation { font-size: 14.5px; color: var(--ink-2); }
.buy__form .single_variation:not(:empty) { margin-top: 14px; }
.buy__form .single_variation .price { font-size: 19px; font-weight: 500; color: var(--ink); }
.buy__form .single_variation .stock { display: none; }
.buy__form .woocommerce-variation-add-to-cart, .buy__form form.cart:not(.variations_form) { display: flex; gap: 10px; margin-top: 28px; }
.opts-need { margin-top: 10px; font-size: 14px; color: var(--warn); }
.buy__form .ppc-button-wrapper { margin-top: 10px; border-radius: var(--r-btn); overflow: hidden; }
.buy__form .ppc-button-wrapper:empty, .buy__form .ppcp-messages:empty { display: none; }
.added { margin-top: 12px; font-size: 14.5px; color: var(--ink-2); }
.added:empty { display: none; }
.added a { color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

.opt-chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; }
.opt-chip { padding: 12px 14px; border-radius: var(--r-btn); box-shadow: inset 0 0 0 1px var(--line); text-align: left; transition: box-shadow 0.5s var(--ease), background-color 0.5s var(--ease), transform 0.5s var(--ease); }
.opt-chip b { display: block; font-size: 19px; font-weight: 500; }
.opt-chip small { display: block; font-size: 13px; line-height: 1.3; color: var(--ink-2); }
.opt-chip:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }
.opt-chip[aria-checked="true"] { background: var(--surface); box-shadow: inset 0 0 0 2px var(--accent); }
.opt-chip:active { transform: scale(0.97); }
.opt-chip[disabled] { opacity: 0.4; cursor: not-allowed; }

.buy__form .quantity { display: inline-flex; align-items: center; flex: none; border-radius: var(--r-btn); box-shadow: inset 0 0 0 1px var(--line); }
.buy__form .quantity.hidden { display: none; }
.buy__form .quantity input.qty { width: 3.4ch; height: 52px; min-height: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; color: inherit; text-align: center; font-weight: 500; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.buy__form .quantity input.qty::-webkit-outer-spin-button, .buy__form .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy__form .quantity input.qty:focus-visible { outline: none; }
.buy__form .quantity:focus-within { box-shadow: inset 0 0 0 2px var(--accent); }
.qty-btn { width: 40px; height: 52px; font-size: 18px; color: var(--ink-2); transition: color 0.4s var(--ease), transform 0.4s var(--ease); }
.qty-btn:hover { color: var(--ink); }
.qty-btn:active { transform: scale(0.86); }

.single_add_to_cart_button, .buybar .btn {
  position: relative; display: inline-flex; flex: 1; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 7px 7px 7px 22px; border-radius: var(--r-btn);
  background: var(--accent); color: var(--on-accent); font-size: 15.5px; font-weight: 500; white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 16px 30px -18px var(--shadow);
  transition: transform 0.6s var(--ease), background-color 0.6s var(--ease), opacity 0.6s var(--ease);
}
.single_add_to_cart_button::after {
  content: ""; flex: none; width: 38px; height: 38px; border-radius: 10px; background-color: color-mix(in srgb, var(--on-accent) 15%, transparent);
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor); background-size: 12px 1.5px, 1.5px 12px; background-position: center; background-repeat: no-repeat;
  transition: transform 0.6s var(--ease), background-color 0.6s var(--ease);
}
.single_add_to_cart_button:hover { background: var(--accent-hover); }
.single_add_to_cart_button:hover::after { transform: translate(3px, -1px) scale(1.06); }
.single_add_to_cart_button:active { transform: scale(0.975); }
.single_add_to_cart_button.disabled, .single_add_to_cart_button[disabled] { opacity: 0.6; cursor: not-allowed; }
.single_add_to_cart_button.is-busy { opacity: 0.75; pointer-events: none; }
.buybar .btn { flex: none; }

/* ── Archive pagination ────────────────────────────────────────────────── */
.woocommerce-pagination { margin-top: 48px; }
.woocommerce-pagination ul { display: flex; gap: 6px; }
.woocommerce-pagination a, .woocommerce-pagination span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; }
.woocommerce-pagination .current { background: var(--ink); color: var(--on-ink); box-shadow: none; }

/* ── Cart and checkout (WooCommerce blocks) ────────────────────────────── */
.page--flow .page__body { font-size: 16px; }
.page--flow .wp-block-woocommerce-cart, .page--flow .wp-block-woocommerce-checkout { max-width: none; margin: 0; padding: 0; }
.page--flow .wc-block-components-sidebar-layout { margin: 0; }
.wc-block-components-button:not(.is-link) {
  min-height: 54px; border-radius: var(--r-btn); background: var(--accent); color: var(--on-accent); font-size: 16.5px; font-weight: 500;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 16px 30px -18px var(--shadow); transition: background-color 0.6s var(--ease), transform 0.6s var(--ease);
}
.wc-block-components-button:not(.is-link):hover, .wc-block-components-button:not(.is-link):focus { background: var(--accent-hover); color: var(--on-accent); }
.wc-block-components-button:not(.is-link):active { transform: scale(0.985); }
.wc-block-components-button:not(.is-link):disabled { opacity: 0.6; }
.wc-block-components-title, .wc-block-cart__totals-title, .wc-block-components-checkout-step__title, .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title-text {
  font-family: var(--sans); font-weight: 500; letter-spacing: -0.02em; text-transform: none;
}
.wc-block-components-checkout-step__title { font-size: clamp(20px, 1.9vw, 25px); letter-spacing: -0.03em; }
.wc-block-cart-items .wc-block-cart-items__header th, .wc-block-cart__totals-title { font: 500 12px/1.4 var(--mono); letter-spacing: 0; text-transform: none; color: var(--ink-3); }
.page--flow .wc-block-components-text-input input, .page--flow .wc-block-components-text-input input[type="email"], .page--flow .wc-block-components-text-input input[type="tel"], .page--flow .wc-block-components-text-input input[type="text"],
.page--flow .wc-blocks-components-select .wc-blocks-components-select__container, .page--flow .wc-block-components-textarea, .page--flow .wc-block-components-combobox .components-combobox-control__input {
  border-radius: 12px; border-color: var(--line); background: var(--surface);
}
.wc-block-components-text-input input:focus, .wc-blocks-components-select .wc-blocks-components-select__select:focus { box-shadow: 0 0 0 1.5px var(--accent); border-color: var(--accent); }
.wc-block-components-radio-control--highlight-checked::after, .wc-block-components-radio-control-accordion-option, .wc-block-components-radio-control .wc-block-components-radio-control__option { border-radius: 12px; }
.wc-block-components-radio-control__input:checked { border-color: var(--accent); }
.wc-block-components-radio-control__input:checked::before { background: var(--accent); }
.wc-block-checkout__shipping-method-option { border-radius: 12px; }
.wc-block-checkout__shipping-method-option--selected { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.page--flow .wp-block-woocommerce-checkout-order-summary-block, .page--flow .wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block {
  border-radius: var(--r-core); border-color: var(--line); background: var(--surface);
}
.wp-block-woocommerce-checkout-order-summary-block { overflow: hidden; }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label, .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-size: 21px; font-weight: 500; letter-spacing: -0.02em; }
.wc-block-components-product-name { font-weight: 500; text-decoration: none; }
.wc-block-cart-item__image img, .wc-block-components-order-summary-item__image img { border-radius: 12px; background: var(--plinth); mix-blend-mode: normal; }
.wc-block-components-express-payment { border-radius: var(--r-core); border-color: var(--line); }
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] { border-radius: 6px; border-color: var(--ink-3); }
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked { background: var(--accent); border-color: var(--accent); }
.wc-block-components-notice-banner { border-radius: var(--r-btn); }
.wp-block-woocommerce-empty-cart-block { padding-bottom: 24px; }
/* An empty cart says so and stops: no "New in store" product row underneath. */
.wp-block-woocommerce-empty-cart-block > .wp-block-separator, .wp-block-woocommerce-empty-cart-block > h2:not(.wc-block-cart__empty-cart__title), .wp-block-woocommerce-empty-cart-block > .wp-block-woocommerce-product-new { display: none; }
.page--flow .wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block { padding: 6px 20px 10px; box-shadow: inset 0 0 0 1px var(--line); }
.page--flow .wc-block-cart .wc-block-cart__totals-title { padding: 14px 0 10px; font: 500 12px/1.4 var(--mono); letter-spacing: 0; text-transform: none; color: var(--ink-3); }
.page--flow .wc-block-cart__submit { margin-top: 16px; }

/* Delivery quoted by email (class set by checkout.js): no "Free", and the total says what it leaves out. */
.needs-quote .wc-block-components-totals-shipping .wc-block-components-totals-item__value,
.needs-quote .wp-block-woocommerce-checkout-shipping-methods-block .wc-block-components-radio-control__secondary-label { font-size: 0; }
.needs-quote .wc-block-components-totals-shipping .wc-block-components-totals-item__value::after,
.needs-quote .wp-block-woocommerce-checkout-shipping-methods-block .wc-block-components-radio-control__secondary-label::after { content: "Quoted by email"; font-size: 14px; font-weight: 400; color: var(--ink-2); }
.needs-quote .wc-block-components-totals-footer-item .wc-block-components-totals-item__label::after { content: " before delivery"; }
/* Wallet buttons would pay in full with nothing charged for delivery, so they step aside too. */
.needs-quote .wc-block-components-express-payment, .needs-quote .wc-block-components-express-payment-continue-rule { display: none; }

/* ── Order received ────────────────────────────────────────────────────── */
.woocommerce-order { max-width: 760px; font-size: 16px; }
.woocommerce-order .woocommerce-thankyou-order-received, .woocommerce-order .wc-block-order-confirmation-status h1 { font-size: clamp(26px, 3vw, 40px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.1; }
.woocommerce-order ul.order_details { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin: 28px 0; padding: 20px; border-radius: var(--r-core); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.woocommerce-order ul.order_details li { font: 500 12px/1.5 var(--mono); color: var(--ink-3); }
.woocommerce-order ul.order_details strong { display: block; margin-top: 4px; font: 500 16px/1.4 var(--sans); color: var(--ink); }
.woocommerce-order h2 { margin: 36px 0 12px; font-size: 23px; font-weight: 500; letter-spacing: -0.02em; }
.woocommerce-order table { width: 100%; border-collapse: collapse; }
.woocommerce-order th, .woocommerce-order td { padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.woocommerce-order tfoot th { font-weight: 500; }
.woocommerce-order address { font-style: normal; color: var(--ink-2); }

/* ── Pay for an existing order (the link sent after a delivery quote) ──── */
.woocommerce #order_review { max-width: 760px; font-size: 16px; }
.woocommerce table.shop_table { width: 100%; border-collapse: collapse; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; vertical-align: top; }
.woocommerce table.shop_table thead th, .woocommerce table.shop_table tfoot th { font-weight: 500; }
.woocommerce #payment { margin-top: 28px; }
.woocommerce #payment ul.payment_methods { display: grid; gap: 8px; margin-bottom: 18px; }
.woocommerce #payment ul.payment_methods > li { padding: 14px 18px; border-radius: var(--r-btn); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.woocommerce #payment ul.payment_methods label { font-size: 15.5px; color: var(--ink); }
.woocommerce #payment .payment_box { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); }
.woocommerce #payment .woocommerce-privacy-policy-text { margin-bottom: 16px; font-size: 13.5px; color: var(--ink-2); }

/* ── Account and other WooCommerce forms ───────────────────────────────── */
.woocommerce form .form-row { display: grid; gap: 7px; margin: 0 0 14px; }
.woocommerce form label { font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.woocommerce form .input-text, .woocommerce form select, .prose--page input[type="text"], .prose--page input[type="email"], .prose--page input[type="tel"], .prose--page textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border: 0; border-radius: var(--r-btn); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
}
.woocommerce form .input-text:focus-visible, .prose--page input:focus-visible, .prose--page textarea:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
.woocommerce form button.button, .woocommerce a.button, .woocommerce button.button, .prose--page button[type="submit"], .prose--page .wp-block-button__link {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: var(--r-btn); background: var(--accent); color: var(--on-accent); font-weight: 500; text-decoration: none;
}
.woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 9px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--ink); color: var(--on-ink); box-shadow: none; }
.woocommerce-account .page__body { max-width: 760px; }
.woocommerce-account .page__body h2 { margin: 0 0 18px; font-size: 23px; font-weight: 500; letter-spacing: -0.02em; }
.woocommerce form .form-row button.button { justify-self: start; margin-top: 8px; }
.woocommerce form .woocommerce-form__label-for-checkbox { display: flex; align-items: center; gap: 8px; }
.woocommerce-LostPassword { margin-top: 6px; font-size: 14.5px; }
.woocommerce-LostPassword a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 959px) {
  .woocommerce-notices-wrapper { padding-top: 96px; }
}
