/* Polish pass (2026-11-13): a gold accent, a centred logo, calmer type sizes, bigger tap targets, tidier product, cart and footer areas.
   Loaded after midnight.css. --aurum is the gold; the silver variables stay as they are. */
:root { --aurum: #d8b46b; --aurum-ink: #1d1606; --aurum-soft: rgba(216, 180, 107, .14); --aurum-line: rgba(216, 180, 107, .45); }
html[data-color-mode="light"] { --aurum: #9a7424; --aurum-ink: #ffffff; --aurum-soft: rgba(154, 116, 36, .12); --aurum-line: rgba(154, 116, 36, .4); }

/* ---------- Header: logo in the middle, menu on the right, icons on the left ---------- */
.header-inner { grid-template-columns: 1fr auto 1fr; }
.nav-links { grid-column: 1; grid-row: 1; justify-self: start; }
.brand { grid-column: 2; grid-row: 1; justify-self: center; }
.nav-tools { grid-column: 3; grid-row: 1; justify-self: end; }
.nav-links a { border-radius: 0; padding: 10px 14px; box-shadow: inset 0 -2px 0 transparent; }
.nav-links a:hover, .nav-links a[aria-current] { background: none; color: var(--ink); box-shadow: inset 0 -2px 0 var(--aurum); }
@media (max-width: 900px) {
  .header-inner { grid-template-columns: 1fr auto 1fr; }
  .nav-links { grid-column: 1 / -1; grid-row: 2; }
  .nav-links a, .nav-links a:hover, .nav-links a[aria-current] { box-shadow: none; }
  .nav-links a[aria-current] { color: var(--aurum); }
}
.livebar { font-size: 13px; }
.livebar-item b { font-size: 15px; color: var(--aurum); }
.livebar-time { font-size: 12.5px; }
@media (max-width: 700px) { .livebar-row { font-size: 12.5px; } }

/* ---------- Gold accents ---------- */
.section-caption, .section-caption.fa, .pcard-brand, .editorial-copy .section-caption { color: var(--aurum); }
.text-link, .editorial-copy a { border-bottom-color: var(--aurum); }
.assurance-item svg { color: var(--aurum); width: 28px; height: 28px; }
.assurance-item strong { font-size: 14px; }
.assurance-item small { font-size: 12.5px; }
.pcard:hover, ul.products li.product:hover { border-color: var(--aurum-line); }
.band h2 em { color: var(--aurum); }
.single_add_to_cart_button, #place_order, .checkout-button, .wc-proceed-to-checkout .button { background: linear-gradient(135deg, #ecd199, var(--aurum)) !important; color: var(--aurum-ink) !important; border-color: transparent !important; font-weight: 800; }
.single_add_to_cart_button:hover, #place_order:hover, .checkout-button:hover { filter: brightness(1.08); }
html[data-color-mode="light"] .single_add_to_cart_button, html[data-color-mode="light"] #place_order, html[data-color-mode="light"] .checkout-button { background: var(--aurum) !important; }

/* ---------- Home: hero call-to-action, quieter band ---------- */
#categories.section { padding-top: clamp(28px, 4vw, 48px); }
.home-cta { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 0; }
.section-heading { text-wrap: balance; }
h1.section-heading { font-size: clamp(24px, 3vw, 34px); font-weight: 700; }
.band { background: transparent; border-block: 0; }
.band-row { justify-content: flex-start; gap: 14px 40px; flex-wrap: wrap; padding-block: 24px; }
.band-copy .section-caption { margin-bottom: 4px; }
.band h2 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 650; color: var(--ink); }
.btn-primary { background: linear-gradient(135deg, #eef3f8, #a9b8cb); border-color: transparent; color: #0d1726; font-weight: 700; }
.btn-primary:hover { filter: brightness(1.06); background: linear-gradient(135deg, #eef3f8, #a9b8cb); color: #0d1726; }
.btn-outline { border-color: var(--line); }
.btn-outline:hover { border-color: var(--aurum); background: transparent; color: var(--ink); }
.section { padding-block: clamp(48px, 6vw, 84px); }

/* ---------- Filter chips: weight row ---------- */
.filter-weights { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: -10px 0 22px; }
.filter-weights > span { font-size: 13px; color: var(--muted); margin-inline-end: 4px; }
.filter-weights button { background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; }
.filter-weights button:hover { border-color: var(--aurum); color: var(--ink); }
.filter-weights button[aria-pressed="true"] { background: var(--aurum-soft); border-color: var(--aurum); color: var(--ink); }
.filter-bar button { font-size: 13px; }

/* ---------- Product cards ---------- */
.pcard-media { background: #ece7dc; }
.pcard-media img { padding: 22px; object-fit: contain; width: 100%; height: 100%; }
.pcard-body { padding: 16px 16px 16px; }
.pcard-spec { font-size: 13px; color: #aab6c8; }
.pcard-title { font-size: 14.5px; }
.pcard-badge { font-size: 12px; padding: 3px 9px; }
.pcard-bottom { align-items: center; }
.pcard-bottom .pcard-price { font-size: 17px; font-weight: 750; color: var(--aurum); }
.pcard-bottom .pcard-price .woocommerce-Price-currencySymbol { font-size: 12px; color: var(--muted); font-weight: 500; }
.pcard-bottom .button { min-height: 38px; padding: 8px 14px; background: transparent; border: 1px solid var(--line); color: var(--ink); font-size: 13px; }
.pcard-bottom .button:hover { background: var(--aurum); border-color: var(--aurum); color: var(--aurum-ink); }
.mini-total b, .cart_totals .order-total .amount { color: var(--aurum); }

/* ---------- Product page ---------- */
.single-product .summary { display: flex; flex-direction: column; }
.single-product .product_title { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 10px; }
.single-product .summary .price { font-size: 32px; font-weight: 750; color: var(--aurum); margin: 4px 0 6px; }
.single-product .summary .price .woocommerce-Price-currencySymbol { font-size: 15px; color: var(--muted); font-weight: 500; }
.single-product .summary .woocommerce-product-details__short-description { color: var(--muted); font-size: 14px; line-height: 2; margin: 0 0 14px; }
.single-product form.cart { flex-wrap: wrap; gap: 12px; margin: 6px 0 22px; }
.single-product form.cart .quantity { flex: none; }
.single-product form.cart .single_add_to_cart_button { flex: 1 1 200px; min-width: 190px; min-height: 52px; white-space: nowrap; font-size: 16px; }
.pb-title, .price-breakdown h3 { font-size: 14px; font-weight: 700; margin: 0 0 8px; }
.price-breakdown { margin-block: 12px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--aurum-line); }
.footer-title { font-size: 14px; font-weight: 700; margin: 3px 0 18px; color: var(--ink); }
.site-footer li { font-size: 13.5px; }
.site-footer li a { display: inline-block; padding-block: 3px; }
.footer-brand .seal { width: 72px; height: 72px; border-radius: 12px; }
.dg-logo-foot { width: 118px; }

/* ---------- Shop menu panel ---------- */
.mega-title { border-bottom-color: var(--aurum-line); }
.mega li a { font-size: 14px; padding-block: 8px; }
.mega small { font-size: 12px; background: var(--panel); border-radius: 999px; padding: 1px 9px; min-width: 24px; text-align: center; }
.mega-title small { background: none; padding: 0; }
.mega-title em { background: var(--panel); border-radius: 999px; padding: 2px 10px; }

/* ---------- Cart ---------- */
.woocommerce-cart .cart_totals table { width: 100%; table-layout: auto; }
.woocommerce-cart .cart_totals th, .woocommerce-cart .cart_totals td { white-space: normal; vertical-align: top; }
.woocommerce-shipping-methods { list-style: none; margin: 0; padding: 0; }
.woocommerce-shipping-methods li { display: flex; align-items: center; gap: 10px; margin: 6px 0; padding: 4px 12px; min-height: 48px; border: 1px solid var(--line); border-radius: 12px; }
.woocommerce-shipping-methods li label { flex: 1; margin: 0; cursor: pointer; padding: 10px 0; }
.woocommerce-shipping-methods input[type=radio] { flex: none; accent-color: var(--aurum); margin: 0; }
.woocommerce-shipping-methods li:has(input:checked) { border-color: var(--aurum); background: var(--aurum-soft); }
.woocommerce-message, .woocommerce-info { outline: 0; }

/* ---------- FAQ ---------- */
.faq { width: min(100%, 980px); }
.faq summary { cursor: pointer; }
.faq summary::marker { color: var(--aurum); }

/* ---------- Touch: comfortable tap targets, readable text ---------- */
@media (pointer: coarse), (max-width: 900px) {
  .icon-btn { width: 44px; height: 44px; }
  .filter-bar button, .filter-weights button { min-height: 44px; }
  .pcard-bottom .button { min-height: 44px; }
  .quantity .qty, .quantity .qty-btn { min-height: 44px; }
  .quantity .qty-btn { min-width: 40px; }
  .cart-item-actions a, .back-link { display: inline-block; padding: 12px 6px; }
  .site-footer li a { padding-block: 12px; }
  .skip-link:focus { min-height: 44px; }
}
.muted, .small { font-size: max(12.5px, 1em); }

/* ---------- Forms: numbers and addresses read left-to-right but sit on the right ---------- */
input[type=tel], input[type=email], input#postcode, input#phone, input#dora_mobile, input#reg_email { direction: ltr; text-align: right; }
.details-form .form-row.narrow, .acc-form .form-row.narrow { max-width: none; }
.woocommerce-cart .cart_totals th { white-space: nowrap; width: 1%; padding-inline-end: 14px; }
.woocommerce-cart .woocommerce-message .wc-forward { display: none; }

/* ======================= Buying flow (2026-11-13 review): one width, one button, errors beside fields ======================= */
/* Same two columns on the cart, the shipping step and the review step, so the page does not jump between steps. */
.cart-layout, .details-grid, .review-grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 28px; }
.page-title { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: .6em; }
.steps { margin-bottom: 32px; }

/* Step bar: gold, with a tick on finished steps */
.steps-n { background: transparent; border: 2px solid var(--line); color: var(--muted); }
.steps .is-current .steps-n { background: var(--aurum); border-color: var(--aurum); color: var(--aurum-ink); }
.steps .is-current { color: var(--aurum); }
.steps .is-done .steps-n { background: var(--aurum-soft); border-color: var(--aurum); color: transparent; font-size: 0; position: relative; }
.steps .is-done .steps-n::after { content: "✓"; font-size: 15px; font-weight: 800; color: var(--aurum); position: absolute; inset: 0; display: grid; place-items: center; }
.steps .is-done::before { background: var(--aurum); }

/* Gold primary button on every step; the way back is a quiet link */
.summary-mini .button, .lock-alert .button { background: linear-gradient(135deg, #ecd199, var(--aurum)) !important; color: var(--aurum-ink) !important; border-color: transparent !important; font-weight: 800; min-height: 52px; font-size: 16px; }
html[data-color-mode="light"] .summary-mini .button { background: var(--aurum) !important; }
.back-link { display: block; text-align: center; margin-top: 10px; padding: 10px 6px; color: var(--ink); opacity: .85; }
.back-link:hover { opacity: 1; color: var(--aurum); }

/* Shipping step: two clear sections inside one wide card */
.lock-pre { margin: 0 0 14px; font-size: 14px; }
.details-card, .delivery-card { padding: clamp(18px, 2.6vw, 32px); }
.details-card .f-group, .delivery-card .f-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.details-card .f-group + .f-group { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line); }
.details-card legend, .delivery-card legend { float: left; width: 100%; padding: 0; margin: 0 0 16px; font-size: 18px; font-weight: 700; }
.details-card legend + *, .delivery-card legend + * { clear: both; }
.details-form .field-row { gap: 0 18px; }
.details-form .form-row { margin-bottom: 18px; min-width: 0; }
.details-form .form-row.narrow { max-width: 50%; }
.details-form input.input-text, .details-form select, .details-form textarea { min-width: 0; width: 100%; min-height: 48px; font-size: 16px; }
.details-form textarea { resize: vertical; }
.field-msg { display: block; margin-top: 6px; min-height: 0; font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.field-msg:empty { display: none; }
.field-msg.is-error { color: #ff8c8c; font-weight: 600; }
html[data-color-mode="light"] .field-msg.is-error { color: #b3261e; }
.form-row.has-error input, .form-row.has-error select, .form-row.has-error textarea { border-color: #e5646b !important; box-shadow: 0 0 0 3px rgba(229, 100, 107, .18); }
.save-note { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.details-form > .woocommerce-error { margin-bottom: 14px; padding: 10px 16px; outline: 0; }
.summary-mini { position: sticky; top: 20px; }
.summary-mini .mini-line { align-items: flex-start; }
.summary-mini .mini-name { display: flex; flex-direction: column; gap: 2px; }
.summary-mini .mini-name small { color: var(--muted); font-size: 12.5px; }
.summary-mini .mini-total b { color: var(--aurum); font-size: 18px; }

/* Review step: items are shown once (the cards on the left), the side card keeps totals, delivery and payment */
.woocommerce-checkout-review-order-table tbody { display: none; }
.review-contact { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; }
.review-main .card h2 label { display: inline; margin: 0; font: inherit; color: inherit; }
.review-main .form-row > label, .review-main .woocommerce-input-wrapper + label { display: none !important; }
.review-main textarea::placeholder { color: var(--muted); opacity: .85; }
.review-title small { font-size: 12.5px; }
.review-side .lock-box { position: sticky; top: 8px; z-index: 6; }
.woocommerce-terms-and-conditions-wrapper label.woocommerce-form__label-for-checkbox { display: block !important; font-size: 14px; line-height: 1.9; }
input#terms { float: inline-start; width: 22px; height: 22px; margin: 4px 0 0 10px; accent-color: var(--aurum); }
.woocommerce-checkout .coupon-bar, .woocommerce-form-coupon-toggle .woocommerce-info { padding: 10px 16px; margin-bottom: 18px; font-size: 14px; }

@media (max-width: 1000px) {
  .cart-layout, .details-grid, .review-grid { grid-template-columns: minmax(0, 1fr); }
  .summary-mini { position: static; }
  /* review on a phone: the countdown stays in view above everything while the page is read */
  .review-grid { display: flex; flex-direction: column; }
  .review-side { display: contents; }
  .review-side .lock-box, .review-side .lock-alert { order: -1; }
  .review-side .lock-box { top: 0; padding-block: 10px; margin-bottom: 8px; }
  .review-side .lock-box .lock-title, .review-side .lock-box > p:not(.lock-count):not(.lock-title) { display: none; }
  .review-side .lock-box .lock-count { margin: 0 0 6px; }
  .review-main { order: 0; }
  .review-side #order_review { order: 1; }
  .details-form .form-row.narrow { max-width: none; }
}
@media (max-width: 700px) {
  .field-row { grid-template-columns: 1fr 1fr !important; }
  .details-form .field-row:nth-of-type(2) { grid-template-columns: 1fr !important; }
  /* shipping step on a phone: the continue button stays at the bottom of the screen */
  body:has(.details-form) { padding-bottom: 84px; }
  .summary-mini > .button { position: fixed; inset-inline: 16px; bottom: 12px; width: auto; z-index: 60; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
  .summary-mini .back-link { margin-bottom: 4px; }
  .lock-pre { font-size: 13px; }
  .livebar { font-size: 12px; }
}

/* Cart: readable row actions, slimmer "added" notice */
.cart-item-actions { font-size: 14px; gap: 18px; }
.cart-item-actions a { padding-block: 6px; }
.woocommerce-cart .woocommerce-message { padding: 10px 16px; margin-bottom: 14px; font-size: 14px; }

/* Delivery method (step 2) */
.details-col { display: grid; gap: 22px; min-width: 0; }
.delivery-opts { display: grid; gap: 12px; }
.delivery-opt { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; background: var(--surface); }
.delivery-opt:has(input:checked) { border-color: var(--aurum); background: var(--aurum-soft); }
.delivery-opt input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--aurum); }
.delivery-body { display: grid; gap: 4px; flex: 1; min-width: 0; }
.delivery-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.delivery-top em { font-style: normal; font-weight: 800; color: var(--aurum); white-space: nowrap; }
.delivery-note { font-size: 13px; color: var(--muted); line-height: 1.8; }
.details-form.is-pickup .addr-group { display: none; }
.details-form.is-pickup .details-card .f-group + .f-group { margin-top: 0; padding-top: 0; border-top: 0; }
.review-delivery { margin: 0 0 6px; }
.review-delivery small { display: block; margin-top: 2px; }
.summary-mini .mini-ship b { color: var(--ink); }
/* The cart no longer asks for the delivery method (it is chosen in step 2) */
.woocommerce-cart .cart_totals .woocommerce-shipping-totals { display: none; }
.cart-ship-note { margin: 0 0 12px; font-size: 13px; color: var(--muted); line-height: 1.8; }

.trust-block { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; font-size: 13px; color: var(--muted); line-height: 1.8; }
.trust-block li { padding-inline-start: 22px; position: relative; }
.trust-block li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--aurum); font-weight: 800; }
.trust-block a { color: var(--aurum); text-decoration: underline; }
@media (max-width: 700px) {
  .livebar-row { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; scrollbar-width: none; gap: 14px; }
  .livebar-row::-webkit-scrollbar { display: none; }
  .livebar-time { margin-inline-start: auto; }
}

/* Thank-you page: same width as the other steps; order table and receiver card read as cards */
.woocommerce-order { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.woocommerce-order > * { margin-block: 0; }
.woocommerce-order-details__title, .woocommerce-column__title { font-size: 18px; font-weight: 700; margin: 0 0 12px; }
.woocommerce-order table.shop_table { border-radius: var(--radius-lg); overflow: hidden; }
.woocommerce-order table.shop_table th { font-weight: 600; color: var(--muted); }
.woocommerce-order table.shop_table td:last-child, .woocommerce-order table.shop_table thead th:last-child { text-align: end; }
.woocommerce-order .acc-address-card { margin: 0; }
.woocommerce-order .acc-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(16px, 2.2vw, 26px); }
.woocommerce-order .steps { width: 100%; max-width: 640px; justify-self: center; }

/* ---------- Product card: add button turns into a  − n +  stepper ---------- */
.pcard-act { display: flex; align-items: center; min-height: 38px; }
.pcard-act .qstep { display: none; align-items: center; gap: 2px; border: 1px solid var(--aurum); border-radius: 9px; overflow: hidden; }
.pcard-act.in-cart .qstep { display: inline-flex; }
.pcard-act.in-cart > .button, .pcard-act.in-cart > a.added_to_cart { display: none; }
.qstep button { width: 36px; height: 36px; padding: 0; border: 0; background: transparent; color: var(--aurum); font: 700 20px/1 inherit; cursor: pointer; }
.qstep button:hover { background: var(--aurum); color: var(--aurum-ink); }
.qstep .qs-n { min-width: 28px; text-align: center; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.pcard-act.is-busy { opacity: .6; pointer-events: none; }
@media (pointer: coarse), (max-width: 900px) { .qstep button { width: 44px; height: 44px; } .pcard-act { min-height: 44px; } }
@media (max-width: 700px) { .pcard-act { width: 100%; } .pcard-act .qstep { width: 100%; justify-content: space-between; } .pcard-act .qstep .qs-n { flex: 1; } }

/* ---------- Payment could not start (order-pay with the gateway's refusal) ---------- */
.woocommerce-order-pay .woocommerce { max-width: 760px; margin-inline: auto; display: flex; flex-direction: column; gap: 16px; }
.woocommerce-order-pay .woocommerce > * { margin-block: 0; }
.woocommerce-order-pay .woocommerce > .pay-fail { order: 1; }
.woocommerce-order-pay .woocommerce > ul.order_details { order: 2; }
.prose:has(.pay-fail) > h1 { display: none; }
.pay-fail { display: grid; gap: 14px; }
.pay-fail .steps { width: 100%; max-width: 640px; justify-self: center; margin: 0 0 4px; }
.pay-fail-title { font-size: clamp(22px, 3vw, 28px); margin: 0; }
.dora-pay-ok { margin: 0; padding: 14px 16px; border-radius: var(--radius-lg); background: var(--ok-bg, rgba(76,175,120,.12)); border: 1px solid var(--ok-line, rgba(76,175,120,.45)); font-size: 15px; line-height: 1.9; }
.dora-pay-error { outline: 0; margin: 0; padding: 14px 16px; line-height: 1.9; }
.dora-pay-error details { margin-top: 8px; font-size: 13px; opacity: .8; }
.dora-pay-error summary { cursor: pointer; }
.dora-pay-retry { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.dora-pay-retry .button { width: 100%; min-height: 48px; justify-content: center; text-align: center; margin: 0; }
.dora-pay-retry .button.alt { grid-column: 1 / -1; background: linear-gradient(135deg, #ecd199, var(--aurum)); border-color: var(--aurum); color: var(--aurum-ink); font-weight: 700; }
.woocommerce-order-pay ul.order_details { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.woocommerce-order-pay ul.order_details li { margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); font-size: 13px; color: var(--muted); border-inline-end: 1px solid var(--line); }
.woocommerce-order-pay ul.order_details li strong { display: block; margin-top: 4px; font-size: 15px; color: var(--ink); }
@media (max-width: 700px) { .dora-pay-retry { grid-template-columns: 1fr; } }
.dora-pay-error .pay-code { display: block; margin-top: 6px; font-size: 13px; font-weight: 700; }
.dora-pay-error .pay-code:empty { display: none; }
