/* Shop and product pages (Phase 5)
   Generated by tools/theme/build_pages.py from prototype/shop/shop.css
   (header, menu, footer and thumb bar rules removed: the theme has them). */
.shop { background: var(--cream); color: var(--ink); --fg: var(--ink); --mute: var(--mute-light); --line: var(--line-light); --accent: var(--gold-600); }
.shop em { color: var(--gold-600); }
.shop .chapter { color: var(--accent); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font: 500 11.5px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color .2s; }
.crumbs a:hover { text-decoration-color: var(--gold-500); }
.crumbs [aria-current] { color: var(--fg); }
.shop-hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 300px; color: var(--on-dark); overflow: hidden; background: var(--night); }
.shop-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.shop-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 18, 27, .5) 0%, rgba(6, 18, 27, .35) 35%, rgba(6, 18, 27, .92) 100%); }
.shop-hero__in { padding-block: 16px 30px; }
.shop-hero .crumbs { color: rgba(239, 231, 214, .75); }
.shop-hero .crumbs [aria-current] { color: #fff; }
.shop-hero h1 { margin: 6px 0 12px; font: 400 clamp(56px, 16vw, 132px)/.9 var(--serif); letter-spacing: -.025em; }
.shop-hero p:last-child { max-width: 40ch; font-size: 17px; color: rgba(255, 255, 255, .86); }
.shop-hero em { color: var(--gold-300); }
.shop-cats { position: sticky; top: 64px; z-index: 20; background: rgba(246, 241, 230, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.shop-cats__row { display: flex; gap: 8px; margin-inline: calc(var(--gutter) * -1); padding: 10px var(--gutter); overflow-x: auto; scrollbar-width: none; }
.shop-cats__row::-webkit-scrollbar, .series__rail::-webkit-scrollbar, .related__rail::-webkit-scrollbar, .gallery::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; font-size: 14.5px; font-weight: 500; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .5); transition: background .2s, color .2s, border-color .2s; }
.chip span { font: 500 11px/1 var(--mono); color: var(--mute); }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.chip[aria-pressed="true"] span { color: var(--gold-300); }
.series { padding: 56px 0 60px; color: var(--on-dark); --fg: var(--on-dark); --mute: var(--mute-dark); --line: var(--line-dark); --accent: var(--gold-300); }
.series .chapter { color: var(--gold-300); }
.series em { color: var(--gold-300); }
.series__head { display: grid; gap: 20px; margin-bottom: 28px; }
.series h2 { margin-top: 18px; font-size: clamp(38px, 10vw, 72px); }
.series__side p { max-width: 44ch; color: var(--mute); margin-bottom: 18px; }
.series__rail, .related__rail { display: grid; grid-auto-flow: column; grid-auto-columns: 62vw; gap: 12px; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.series__rail li, .related__rail li { scroll-snap-align: start; }
.series .p__img { background: #d9cfba; }
.series .p__sub { color: var(--mute-dark); }
.series .p__price { color: var(--gold-300); }
.listing { padding: 28px 0 72px; }
.listing__bar { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.listing__count { grid-column: 1 / -1; font: 500 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.listing__count b { color: var(--ink); font-weight: 600; }
.listing__toggle { justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; font-weight: 600; font-size: 14.5px; border: 1px solid var(--ink); border-radius: 999px; }
.listing__toggle::before { content: ""; width: 14px; height: 10px; background: linear-gradient(currentColor, currentColor) 0 0 / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) 50% 50% / 64% 1.5px no-repeat, linear-gradient(currentColor, currentColor) 50% 100% / 30% 1.5px no-repeat; }
.listing__toggle [data-active-count] { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; font: 600 11px/1 var(--mono); border-radius: 999px; background: var(--gold-500); color: var(--navy-950); }
.listing__toggle [hidden] { display: none; }
.sort { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; }
.sort span { color: var(--mute); }
.sort select { min-height: 44px; max-width: 180px; padding: 0 30px 0 12px; font: inherit; font-weight: 600; color: var(--ink); background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%230a2433' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center; border: 1px solid var(--line); border-radius: 999px; appearance: none; }
.filters { display: none; padding: 6px 0 18px; border-bottom: 1px solid var(--line); }
.filters.is-open { display: block; }
.filters fieldset { margin: 20px 0 0; padding: 0; border: 0; }
.filters legend { padding: 0; margin-bottom: 6px; font: 500 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.filters label { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 15.5px; cursor: pointer; }
.filters label i { margin-left: auto; font: 500 11.5px/1 var(--mono); font-style: normal; color: var(--mute); }
.filters input[type="radio"], .filters input[type="checkbox"] { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--ink); }
.filters__sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.filters__sizes legend { width: 100%; }
.filters__clear { margin-top: 14px; min-height: 44px; font-weight: 600; font-size: 14.5px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--gold-500); }
.pill { position: relative; display: inline-flex !important; min-height: 0 !important; gap: 0 !important; }
.pill input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pill span { display: grid; place-items: center; min-width: 48px; height: 44px; padding: 0 12px; font: 600 13.5px/1 var(--sans); border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .5); transition: background .2s, color .2s, border-color .2s; }
.pill:hover span { border-color: var(--ink); }
.pill input:checked + span { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.pill input:focus-visible + span { outline: 2px solid var(--gold-500); outline-offset: 3px; }
.pill input:disabled { cursor: not-allowed; }
.pill input:disabled + span { color: rgba(10, 36, 51, .35); background: none; border-style: dashed; text-decoration: line-through; }
.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 12px; margin-top: 22px; }
.products-grid .p__name, .series .p__name, .related .p__name { font-size: 19px; }
@media (max-width: 719.98px) {
  .products-grid .p { grid-template-columns: 1fr; }
  .products-grid .p__name { font-size: 18px; }
  .products-grid .p__price { line-height: 1.3; }
  .pdp ~ * .crumbs [aria-current] { display: none; }
}
.listing__empty { padding: 50px 0; text-align: center; color: var(--mute); }
.listing__empty button { font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; min-height: 44px; }
.listing__empty[hidden], .products-grid li[hidden] { display: none; }
.pdp { display: grid; gap: 22px; padding-bottom: 56px; }
.pdp__gallery { position: relative; margin-inline: calc(var(--gutter) * -1); }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--card); }
.gallery li { scroll-snap-align: start; aspect-ratio: 1; }
.gallery li[hidden] { display: none; }
.gallery img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.pdp--single .gallery img { mix-blend-mode: normal; }
.gallery__count { position: absolute; right: 12px; bottom: 12px; padding: 5px 10px; font: 600 11.5px/1 var(--mono); color: #fff; background: rgba(6, 18, 27, .7); border-radius: 999px; }
.pdp--single .gallery__count { display: none; }
.pdp__info h1 { margin: 14px 0 4px; font: 400 clamp(38px, 10vw, 60px)/1 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.pdp__sub { color: var(--mute); font-size: 16px; }
.pdp__price { margin: 16px 0 0; font: 500 22px/1 var(--mono); }
.opt { position: relative; margin: 24px 0 0; padding: 0; border: 0; }
.opt legend, .opt__legend { padding: 0; margin-bottom: 12px; font: 500 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.opt legend span, .opt__legend span { margin-left: 8px; color: var(--ink); letter-spacing: .04em; }
.opt__link { display: inline-flex; align-items: center; margin-top: 4px; min-height: 44px; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--gold-500); }
.opt__hint { margin-top: 10px; font-size: 13.5px; color: var(--mute); }
.opt__hint[hidden] { display: none; }
.swatches { display: flex; flex-wrap: wrap; gap: 0; margin-left: -6px; }
.swatch { position: relative; display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; }
.swatch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.swatch span { width: 32px; height: 32px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(10, 36, 51, .22); transition: box-shadow .2s; }
.swatch input:checked + span { box-shadow: inset 0 0 0 1px rgba(10, 36, 51, .22), 0 0 0 3px var(--cream), 0 0 0 5px var(--ink); }
.swatch input:focus-visible + span { outline: 2px solid var(--gold-500); outline-offset: 6px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.sibs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 420px; }
.sib { display: grid; gap: 8px; padding: 6px 6px 10px; text-align: center; font-size: 14px; font-weight: 600; border: 1px solid var(--line); border-radius: 4px; background: rgba(255, 255, 255, .5); transition: border-color .2s; }
.sib img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; }
.sib:hover { border-color: var(--ink); }
.sib[aria-current="page"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.buy { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-top: 26px; }
.qty { display: grid; grid-template-columns: 44px 44px 44px; align-items: center; height: 54px; border: 1px solid var(--ink); border-radius: 999px; }
.qty button { height: 100%; font-size: 20px; }
.qty input { width: 100%; height: 100%; padding: 0; text-align: center; font: 600 16px/1 var(--mono); color: var(--ink); background: none; border: 0; appearance: textfield; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { appearance: none; margin: 0; }
.buy__btn { min-height: 54px; width: 100%; }
.buy__status { min-height: 22px; margin-top: 10px; font-size: 14px; color: var(--mute); }
.buy__status.is-error { color: #a3341c; font-weight: 600; }
.buy__status.is-note { padding: 12px 14px; color: var(--ink); background: #fffdf7; border: 1px dashed var(--ink); border-radius: 4px; }
.acc { margin-top: 22px; border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { display: flex; justify-content: space-between; align-items: center; min-height: 54px; font-weight: 600; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font: 400 22px/1 var(--mono); color: var(--accent); }
.acc details[open] summary::after { content: "−"; }
.acc details > div { padding: 0 0 20px; font-size: 15.5px; color: var(--mute); }
.acc p + p, .acc ul + p, .acc p + ul { margin-top: 10px; }
.acc ul { list-style: disc; padding-left: 20px; }
.acc li + li { margin-top: 4px; }
.acc a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold-500); color: var(--ink); }
.sizes { width: min(560px, calc(100vw - 32px)); max-height: calc(100svh - 32px); padding: 26px 24px 28px; color: var(--ink); background: var(--cream); border: 1px solid var(--line); border-radius: 6px; }
.sizes::backdrop { background: rgba(6, 18, 27, .6); }
.sizes h2 { font: 400 40px/1 var(--serif); margin-bottom: 14px; }
.sizes p { font-size: 15px; color: var(--mute); }
.sizes .sample { display: inline-block; margin-bottom: 10px; color: var(--ink); }
.sizes__close { position: absolute; right: 8px; top: 8px; width: 44px; height: 44px; font-size: 26px; }
.sizes table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 15px; }
.sizes th, .sizes td { padding: 10px 8px; text-align: left; border-bottom: 1px solid var(--line); }
.sizes thead th { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.related { padding: 48px 0 60px; background: var(--sand); border-top: 3px solid var(--gold-500); }
.related h2 { margin-bottom: 24px; font-size: clamp(34px, 8vw, 56px); }
@media (min-width: 720px) {
  .shop-hero { min-height: 380px; }
  .shop-hero__in { padding-bottom: 44px; }
  .series__head { grid-template-columns: 1.3fr 1fr; align-items: end; gap: 40px; }
  .series__rail, .related__rail { grid-auto-columns: 30vw; }
  .listing__bar { grid-template-columns: auto 1fr auto; }
  .listing__count { grid-column: auto; grid-row: 1; grid-column-start: 2; text-align: center; }
  .products-grid { grid-template-columns: repeat(3, 1fr); gap: 34px 14px; }
  .pdp { grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
  .pdp__gallery { margin-inline: 0; }
}
@media (min-width: 1040px) {
  .shop-hero { min-height: 440px; }
  .shop-hero__in { padding-bottom: 56px; }
  .shop-cats { top: 76px; }
  .shop-cats__row { margin: 0; padding-inline: 0; overflow: visible; flex-wrap: wrap; }
  .series { padding: 96px 0 100px; }
  .series__head { margin-bottom: 44px; }
  .series__rail { grid-auto-columns: calc((100% - 3 * 14px) / 4.4); gap: 14px; margin: 0; padding: 2px 0 10px; scroll-padding: 0; }
  .related__rail { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto; gap: 14px; margin: 0; padding: 0; overflow: visible; }
  .listing { padding: 56px 0 120px; }
  .listing__grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); column-gap: 56px; align-items: start; }
  .listing__bar { grid-column: 1 / -1; grid-template-columns: 1fr auto; padding-bottom: 18px; }
  .listing__count { grid-column: 1; text-align: left; }
  .listing__toggle { display: none; }
  .filters { display: block; position: sticky; top: 150px; padding: 0; border: 0; max-height: calc(100vh - 170px); overflow-y: auto; }
  .filters fieldset { margin-top: 26px; }
  .filters fieldset:first-child { margin-top: 30px; }
  .filters label { min-height: 40px; }
  .products-grid { margin-top: 30px; gap: 44px 14px; }
  @media (min-width: 1240px) {
    .products-grid { grid-template-columns: repeat(4, 1fr); }
  }
  .pdp { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 88px); padding-bottom: 110px; }
  .gallery { grid-auto-flow: row; grid-template-columns: 1fr 1fr; grid-auto-columns: auto; gap: 10px; overflow: visible; background: none; }
  .gallery li { background: var(--card); border-radius: 2px; overflow: hidden; }
  .gallery li.is-lead { grid-column: 1 / -1; }
  .gallery.is-pair { grid-template-columns: 1fr; }
  .gallery__count { display: none; }
  .pdp--single .gallery { grid-template-columns: 1fr; }
  .pdp__info { position: sticky; top: 104px; }
  .pdp__info h1 { font-size: clamp(48px, 4.4vw, 68px); }
  .related { padding: 90px 0 110px; }
  .related h2 { margin-bottom: 40px; }
}
.crumbs a { min-width: 44px; justify-content: center; }
.crumbs a:first-child { justify-content: flex-start; }
.series .btn--line { min-height: 46px; }
@media (max-height: 520px) and (max-width: 1039.98px) {
  .shop-cats { position: static; }
}
.filters__head, .filters__apply, .filters__backdrop { display: none; }
.filters__foot { margin-top: 14px; }
.filters__clear { margin-top: 0; }
@media (max-width: 1039.98px) {
  .filters, .filters.is-open { padding: 0; border: 0; }
  .filters.is-open { position: fixed; z-index: 100; inset: max(7svh, 28px) 0 0; display: flex; flex-direction: column; background: var(--cream); border-radius: 16px 16px 0 0; box-shadow: 0 -20px 60px rgba(6, 18, 27, .45); }
  .filters__backdrop:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 99; background: rgba(6, 18, 27, .62); }
  .filters__head { flex: none; display: flex; justify-content: space-between; align-items: center; padding: 6px 6px 6px var(--gutter); border-bottom: 1px solid var(--line); }
  .filters__head h2 { font: 400 30px/1 var(--serif); letter-spacing: -.01em; }
  .filters__close { width: 48px; height: 48px; font-size: 30px; line-height: 1; }
  .filters__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--gutter) 22px; }
  .filters__foot { flex: none; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px; margin: 0; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--cream); border-radius: 0; }
  .filters__apply { display: inline-flex; min-height: 52px; padding: 0 18px; }
  .filters__apply b { margin: 0 .1em; font-weight: 700; }
  .filters__clear span { display: none; }
  .filters__clear { min-width: 44px; }
  html.sheet-open { overflow: hidden; }
}
@media (max-height: 520px) and (max-width: 1039.98px) {
  .filters.is-open { inset: 0; border-radius: 0; }
}

/* ---- Theme additions for WooCommerce (Phase 5): appended by tools/theme/build_pages.py
   from tools/theme/shop/shop-extra.css. Same tokens and spacing as the approved Shop. ---- */
/* Fixed header, category row and thumb bar never hide what you scroll or tab to (the approved rule). */
html:has(body.shop) { scroll-padding-top: 140px; scroll-padding-bottom: calc(var(--tab-h) + 20px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 1040px) { html:has(body.shop) { scroll-padding-top: 156px; scroll-padding-bottom: 24px; } }
@media (max-height: 520px) and (max-width: 1039.98px) { html:has(body.shop) { scroll-padding-top: 76px; } }
/* Real categories: sub-categories (Men's, Women's) sit under their parent in the filters. */
.filters label.filters__sub { padding-left: 32px; }
/* Stock and sale states from WooCommerce. */
.p__stock { grid-column: 1 / -1; font: 600 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #8a2a15; }
.p__price s { margin-right: 6px; color: var(--mute); font-weight: 400; }
/* The page itself is cream, as approved (":root body" is the theme's base rule). */
:root body.shop { background: var(--cream); color: var(--ink); }
/* ...while the header, footer and thumb bar keep their light text on navy (the approved .shop .hdr/.ftr/.tabbar rules). */
.shop .hdr, .shop .ftr, .shop .tabbar { color: var(--on-dark); }
.shop .ftr em { color: var(--gold-300); }

/* ---------- WooCommerce's own add-to-cart form, in the approved layout ---------- */
.pdp table.variations { width: 100%; margin: 0; border: 0; border-collapse: collapse; }
.pdp table.variations tr[hidden] { display: none; }
.pdp table.variations th, .pdp table.variations td { display: block; padding: 0; text-align: left; }
.pdp table.variations th label { display: block; margin: 24px 0 12px; font: 500 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.pdp table.variations select { width: 100%; max-width: 320px; min-height: 48px; padding: 0 36px 0 14px; font: 600 15px/1 var(--sans); color: var(--ink); background: #fffdf7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%230a2433' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center; border: 1px solid rgba(10, 36, 51, .4); border-radius: 999px; appearance: none; }
/* With scripts, the color and size selects are driven by the swatches and buttons from the first paint (no shift). */
.js .pdp table.variations tr:has(select[name="attribute_pa_color"]), .js .pdp table.variations tr:has(select[name="attribute_pa_size"]) { display: none; }
.js .pdp table.variations:not(:has(tr:not(:has(select[name="attribute_pa_color"])):not(:has(select[name="attribute_pa_size"])))) { display: none; }
.pdp .reset_variations { display: inline-flex; align-items: center; min-height: 44px; margin-left: 12px; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--gold-500); }
.pdp .single_variation_wrap { margin: 0; }
.pdp .woocommerce-variation-price, .pdp .woocommerce-variation-description:empty { display: none; }
.pdp .woocommerce-variation-availability .stock, .pdp .summary > .stock, .pdp form.cart + .stock, .pdp .buy-wrap > .stock { margin-top: 16px; font: 600 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.pdp .stock.out-of-stock { color: #8a2a15; }
.pdp form.cart:not(.variations_form), .pdp .woocommerce-variation-add-to-cart { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-top: 26px; }
.pdp .quantity { position: relative; display: grid; grid-template-columns: 44px 44px 44px; align-items: center; height: 54px; border: 1px solid var(--ink); border-radius: 999px; }
.pdp .quantity:not(.qty) { grid-template-columns: 132px; }
.pdp .quantity button { height: 100%; font-size: 20px; }
.pdp .quantity input.qty { width: 100%; height: 100%; padding: 0; text-align: center; font: 600 16px/1 var(--mono); color: var(--ink); background: none; border: 0; appearance: textfield; -moz-appearance: textfield; }
.pdp .quantity input.qty::-webkit-outer-spin-button, .pdp .quantity input.qty::-webkit-inner-spin-button { appearance: none; margin: 0; }
.pdp .quantity input[type="hidden"] + * { display: none; }
.pdp .single_add_to_cart_button { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; padding: 0 26px; font: 600 13px/1 var(--sans); font-stretch: 108%; letter-spacing: .12em; text-transform: uppercase; color: var(--cream); background: var(--ink); border: 1px solid transparent; border-radius: 999px; cursor: pointer; transition: background .25s; }
.pdp .single_add_to_cart_button:hover { background: var(--navy-700); }
.pdp .single_add_to_cart_button.disabled { opacity: 1; cursor: pointer; }
.pdp .single_add_to_cart_button.loading { opacity: .7; }
.pdp form.cart:not(.variations_form) > :not(.quantity):not(.single_add_to_cart_button):not(input[type="hidden"]) { grid-column: 1 / -1; }
.pdp .woocommerce-variation-add-to-cart > :not(.quantity):not(.single_add_to_cart_button):not(input[type="hidden"]) { grid-column: 1 / -1; }
.pdp .pill.is-soldout span { color: rgba(10, 36, 51, .35); background: none; border-style: dashed; text-decoration: line-through; }
.pdp__price s { margin-right: 8px; color: var(--mute); font-weight: 400; }
.pdp__price del { color: var(--mute); } .pdp__price ins { text-decoration: none; }
.pdp__info .chapter:empty { display: none; }

/* ---------- WooCommerce notices (added to cart, errors), in the approved notice style ---------- */
.wnw-notices:empty, .wnw-notices .woocommerce-notices-wrapper:empty { display: none; }
.wnw-notices { padding-top: 16px; }
.shop .woocommerce-message, .shop .woocommerce-info, .shop .woocommerce-error, .shop .wc-block-components-notice-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0 0 14px; padding: 12px 16px; font-size: 15px; line-height: 1.5; color: var(--ink); background: #fffdf7; border: 1px solid var(--line); border-left: 3px solid var(--gold-500); border-radius: 3px; list-style: none; }
.shop .woocommerce-error, .shop .wc-block-components-notice-banner.is-error { background: #fff6f3; border-color: #a3341c; border-left-width: 4px; }
.shop .wc-block-components-notice-banner > svg { flex: none; width: 22px; height: 22px; padding: 2px; fill: var(--cream); background: var(--gold-600); border-radius: 50%; }
.shop .wc-block-components-notice-banner.is-error > svg { background: #a3341c; }
.shop .wc-block-components-notice-banner__content { flex: 1; min-width: 0; }
.shop .woocommerce-message a, .shop .woocommerce-info a, .shop .woocommerce-error a, .shop .wc-block-components-notice-banner a { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--gold-500); }
.shop .woocommerce-message .button, .shop .wc-block-components-notice-banner .button, .shop .wc-forward { float: none; order: 2; display: inline-flex; align-items: center; min-height: 44px; margin-left: auto; }
/* Phones: the breadcrumb ends at the parent page, as approved (the prototype's "main > .wrap > .crumbs" rule). */
@media (max-width: 719.98px) { .wnw-main > .wrap > .crumbs [aria-current], .wnw-main > .wrap > .crumbs span:nth-last-child(2) { display: none; } }
.chapter--solo b { padding-right: 0; border-right: 0; }

/* Accessibility (approved Phase 1 decision), store pages: small brass text on light
   backgrounds. Cream #f6f1e6: #916624 (4.51:1; was 3.23:1). Sand #ece4d3: #865f22.
   Large text (headline italics), icons and lines keep #b07c2c. */
.shop { --accent: #916624; }
.shop .related { --accent: #865f22; }
.shop .co h2.co__h b, .shop .co__pay h2 b, .shop .co__sec h2 b, .shop .review__toggle::after { color: #916624; }
