/* Pieces both prototypes share: the prototype banner, the wishlist drawer and lines, form controls and notices.
   Each version's stylesheet sets the variables (--accent, --ink, --ink-soft, --rule, --surface, --serif, --sans). */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Prototype banner: always visible, says what is simulated. */
.proto-bar { position: relative; z-index: 60; background: #14130f; color: #f4f1ea; font: 400 .875rem/1.4 var(--sans); }
.proto-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding-block: 9px; }
.proto-bar strong { font-weight: 600; letter-spacing: .02em; }
.proto-bar a { color: inherit; }
.proto-bar details { margin-left: auto; }
.proto-bar summary { cursor: pointer; text-decoration: underline; text-underline-offset: .2em; list-style: none; }
.proto-bar summary::-webkit-details-marker { display: none; }
.proto-bar details[open] .proto-notes { display: block; }
.proto-notes { display: none; position: absolute; right: var(--gutter); top: 100%; width: min(460px, calc(100vw - 32px)); background: #fff; color: #1b1b18; border: 1px solid #1b1b18; padding: 18px 20px; box-shadow: 0 18px 40px rgba(0, 0, 0, .18); }
.proto-notes h2 { font: 600 1rem/1.3 var(--sans); margin: 0 0 8px; letter-spacing: 0; }
.proto-notes ul { margin: 0 0 10px; padding-left: 1.1em; }
.proto-notes li { margin-bottom: 6px; }

.sim-tag { display: inline-block; padding: .2em .55em; border: 1px dashed currentColor; font: 500 .75rem/1.3 var(--sans); letter-spacing: .04em; text-transform: uppercase; }
.temp-note { display: block; margin-top: 8px; font: 400 .8125rem/1.4 var(--sans); color: var(--ink-soft); letter-spacing: 0; }
.notice { border: 1px solid var(--rule); background: #fff; padding: 14px 16px; font-size: .9375rem; color: var(--ink-soft); }
.notice strong { color: var(--ink); }

/* Wishlist count bump */
[data-wish-count].bump { animation: bump .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes bump { 50% { transform: scale(1.3); } }

/* Wishlist drawer */
dialog.wish-drawer { margin: 0 0 0 auto; height: 100dvh; max-height: none; width: min(440px, 100vw); border: 0; padding: 0; background: var(--surface); color: var(--ink); }
dialog.wish-drawer::backdrop { background: rgba(10, 12, 10, .45); }
.wish-drawer-inner { display: flex; flex-direction: column; height: 100%; padding: 24px; gap: 18px; }
.wish-drawer header { display: flex; justify-content: space-between; align-items: center; }
.wish-drawer h2 { font-size: 2rem; }
.wish-drawer [data-wishlist] { flex: 1; overflow: auto; }
.wish-drawer .drawer-actions { display: grid; gap: 10px; }
.icon-btn { background: none; border: 0; padding: 8px; color: inherit; cursor: pointer; }

.wish-lines { list-style: none; margin: 0; padding: 0; }
.wish-line { display: grid; grid-template-columns: 64px 1fr auto; grid-template-areas: "img text text" "img qty remove"; gap: 6px 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.wish-line img, .wish-noimg { grid-area: img; width: 64px; height: 64px; object-fit: contain; background: #fff; border: 1px solid var(--rule); }
.wish-text { grid-area: text; display: grid; font-size: .9375rem; line-height: 1.35; }
.wish-text span { color: var(--ink-soft); font-size: .875rem; }
.wish-qty { grid-area: qty; }
.wish-qty input { width: 88px; height: 40px; border: 1px solid var(--rule); background: #fff; font: 500 1rem/1 var(--sans); padding: 0 10px; color: var(--ink); }
.wish-remove { grid-area: remove; justify-self: end; background: none; border: 0; padding: 8px 0; font: 500 .875rem/1 var(--sans); color: var(--ink-soft); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.wish-empty { color: var(--ink-soft); }

/* Forms */
.field { display: grid; gap: 6px; }
.field label { font: 500 .875rem/1.3 var(--sans); letter-spacing: .02em; }
.field .hint { font-size: .8125rem; color: var(--ink-soft); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #a9a79f; border-radius: 0; background: #fff; color: var(--ink); font: 400 1rem/1.4 var(--sans); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field [aria-invalid="true"] { border-color: #a3261d; }
.field-error { font-size: .875rem; color: #a3261d; min-height: 0; }
.field-error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote-result { min-height: 1.5em; font-size: .9375rem; }
.quote-result.is-success { padding: 14px 16px; background: #eef4ee; border: 1px solid #b9cdb9; color: #1d3a2d; }
.quote-result.is-error { padding: 14px 16px; background: #fbefed; border: 1px solid #e4b9b3; color: #8a2017; }

/* Quantity stepper */
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--ink); }
.stepper button { width: 44px; height: 48px; background: none; border: 0; font: 400 1.25rem/1 var(--sans); color: var(--ink); cursor: pointer; }
.stepper input { width: 64px; height: 48px; border: 0; background: transparent; text-align: center; font: 500 1rem/1 var(--sans); color: var(--ink); -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Variant choice (radio swatches) */
.variant-choices { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0; }
.variant-choices legend { font: 500 .875rem/1.3 var(--sans); margin-bottom: 10px; padding: 0; }
.variant-choice input { position: absolute; opacity: 0; pointer-events: none; }
.variant-choice label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 8px; border: 1px solid var(--rule); background: #fff; cursor: pointer; font-size: .875rem; }
.variant-choice .dot { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); flex: none; }
.variant-choice input:checked + label { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.variant-choice input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.variant-note { font-size: .8125rem; color: var(--ink-soft); }
.variant-note::before { content: '* '; }

@media (prefers-reduced-motion: reduce) {
  [data-wish-count].bump { animation: none; }
}

.btn-solid { background: var(--accent); color: #fff; }
.btn-solid:hover { filter: brightness(.9); }

/* Quote form layout */
.quote-form { display: grid; gap: 24px; }
.quote-wishlist { border: 1px solid var(--rule); background: #fff; padding: 18px 20px 8px; }
.quote-wishlist h2, .quote-wishlist h3 { font-size: 1.5rem; margin-bottom: 4px; }
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.quote-grid .field-wide { grid-column: 1 / -1; }
.quote-sim { font-size: .875rem; color: var(--ink-soft); display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.quote-form > .btn { justify-self: start; }
@media (max-width: 640px) { .quote-grid { grid-template-columns: 1fr; } .quote-form > .btn { justify-self: stretch; } }

/* FAQ answer parts */
.faq-answer p + p { margin-top: 1em; }
.faq-answer h3, .faq-answer h4 { font: 600 1rem/1.3 var(--sans); margin: 1.4em 0 .6em; letter-spacing: .02em; }
.faq-steps { margin: 1.2em 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.faq-steps li { counter-increment: s; display: grid; grid-template-columns: 2.2em 1fr; column-gap: 10px; }
.faq-steps li::before { content: counter(s) "."; grid-row: span 2; font: 500 1.25rem/1.3 var(--serif); color: var(--accent); }
.faq-steps strong { font-weight: 600; }
.faq-zones { width: 100%; border-collapse: collapse; margin: .4em 0 1.2em; font-size: .9375rem; }
.faq-zones th, .faq-zones td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.faq-zones th { font: 500 .75rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.faq-zones td:last-child { white-space: nowrap; font-weight: 500; }

/* Product dialog (Version A uses it; Version B adds from the card) */
dialog.product-dialog { width: min(980px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); border: 0; padding: 0; background: var(--surface); color: var(--ink); }
dialog.product-dialog::backdrop { background: rgba(10, 12, 10, .5); }

/* Mobile navigation (both versions use a details element, no script) */
.mobile-nav { display: none; position: relative; }
.mobile-nav summary { list-style: none; cursor: pointer; padding: 8px; display: inline-flex; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav-panel { position: absolute; right: 0; top: calc(100% + 8px); width: min(300px, calc(100vw - 32px)); background: var(--surface); color: var(--ink); border: 1px solid var(--rule); box-shadow: 0 18px 40px rgba(0, 0, 0, .14); padding: 10px 0; z-index: 30; }
.mobile-nav-panel a { display: block; padding: 12px 20px; text-decoration: none; font: 500 1rem/1.2 var(--sans); letter-spacing: .02em; text-transform: none; }
.mobile-nav-panel a:hover, .mobile-nav-panel a[aria-current="page"] { background: rgba(0, 0, 0, .04); }
@media (max-width: 900px) { .mobile-nav { display: block; } }

/* Wishlist: totals, quantity steppers, empty and error states */
.wish-summary { margin: -8px 0 0; font: 500 .9375rem/1.3 var(--sans); color: var(--ink-soft); min-height: 1.3em; }
.wish-line { grid-template-areas: "img text text" "img qty remove" "img err err"; }
.wish-qty { display: inline-flex; align-items: center; border: 1px solid var(--ink); justify-self: start; }
.wish-qty button { width: 40px; height: 40px; background: none; border: 0; font: 400 1.25rem/1 var(--sans); color: var(--ink); cursor: pointer; }
.wish-qty button:hover { background: rgba(0, 0, 0, .06); }
.wish-qty input { width: 64px; height: 40px; border: 0; border-inline: 1px solid var(--rule); text-align: center; padding: 0 4px; -moz-appearance: textfield; }
.wish-qty input::-webkit-outer-spin-button, .wish-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.wish-line-error { grid-area: err; margin: 0; font-size: .875rem; color: #8a2c1c; }
.wish-line-error:empty { display: none; }
.wish-total { margin: 18px 0 4px; font-size: 1.0625rem; }
.wish-note, .no-reserve { font-size: .875rem; color: var(--ink-soft); line-height: 1.5; }
.wish-empty { display: grid; gap: 10px; padding: 8px 0; }
.wish-empty p:first-child { font: 500 1.125rem/1.3 var(--sans); color: var(--ink); }
.wish-status.is-error, .added.is-error { color: #8a2c1c; }
.wish-status.is-ok, .added.is-ok { color: var(--ink); }

/* Place-setting breakdown shown beside the guest count */
.setting-summary { margin-top: 18px; padding: 16px 18px; border: 1px solid var(--rule); background: rgba(255, 255, 255, .55); font-size: .9375rem; }
.setting-summary p { margin: 0 0 8px; font-weight: 500; }
.setting-summary ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-variant-numeric: tabular-nums; }
.setting-summary li.total { margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--rule); }
.setting-summary .setting-colour { margin: 10px 0 0; font-weight: 400; color: var(--ink-soft); }
.no-reserve { margin-top: 12px; max-width: 56ch; }
.qty-label { align-self: center; font-size: .9375rem; color: var(--ink-soft); }
.how-note { margin-top: clamp(24px, 3vw, 40px); max-width: 64ch; color: var(--ink-soft); }
.how-note .link { margin-left: .4em; white-space: nowrap; }
.proto-more { margin: 14px 0 0; font-size: .875rem; }
.skip-link { position: absolute; left: 12px; top: -64px; z-index: 1000; padding: .75rem 1.1rem; background: #292724; color: #FAF7F2; font: 500 .9375rem/1.2 var(--sans); text-decoration: none; border: 2px solid #FAF7F2; transition: top .15s ease; }
.skip-link:focus { top: 12px; outline: 2px solid #292724; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .skip-link { transition: none; } }

/* Shop menu: the category list drops down under Shop on hover or keyboard focus (the Shop link itself still goes to the shop). */
.site-header .nav-desktop li.has-sub { position: relative; }
.site-header .nav-desktop .nav-sub { display: none; position: absolute; top: 100%; left: -14px; z-index: 30; min-width: 230px; margin: 0; padding: 10px 0; list-style: none; flex-direction: column; gap: 0; background: #fff; color: #292724; border: 1px solid rgba(0,0,0,.12); box-shadow: 0 12px 28px rgba(0,0,0,.14); }
.site-header .nav-desktop li.has-sub:hover > .nav-sub, .site-header .nav-desktop li.has-sub:focus-within > .nav-sub { display: flex; }
.site-header .nav-desktop .nav-sub a { display: block; padding: 9px 18px; white-space: nowrap; text-transform: none; letter-spacing: .02em; font-size: .9375rem; color: #292724; border: 0; }
.site-header .nav-desktop .nav-sub a:hover { background: rgba(0,0,0,.05); }
.proto-a .site-header .nav-desktop .nav-sub a, .proto-b .site-header .nav-desktop .nav-sub a { color: #292724; text-transform: none; letter-spacing: .02em; font-size: .9375rem; }
.proto-a .site-header .nav-desktop ul { flex-wrap: nowrap; }
.proto-a .site-header .nav-desktop > ul { gap: clamp(12px, 1.4vw, 24px); }
.proto-a .site-header .nav-desktop a { white-space: nowrap; }
