/* ══════════════════════════════════════════════════════════════
   Components added in the template rebuild (and styles that used to
   be inline style="" attributes). Loaded on every page after the
   design system, so it may refine existing components.
   ══════════════════════════════════════════════════════════════ */

/* ── Accessibility helpers ──────────────────────────────────── */
/* "hidden" always wins, also over component rules that set display. */
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 1000;
  padding: 10px 16px; border-radius: 8px; background: var(--gold-alt, #e8870d); color: #1a1a1a;
  font-weight: 800; text-decoration: none; transition: top .15s ease;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold-alt, #e8870d); outline-offset: 2px; }

/* ── Layout bits ────────────────────────────────────────────── */
.shop-closed-banner {
  position: sticky; top: 0; z-index: 60; background: #f59e0b; color: #1a1a1a;
  font-weight: 700; font-size: 14px; text-align: center; padding: 10px 16px; line-height: 1.4;
}
.v4-hero { min-height: 600px; }
.home-band {
  background: linear-gradient(180deg, transparent, rgba(26,23,36,.4), transparent);
  border-top: 1px solid var(--border-home); border-bottom: 1px solid var(--border-home);
}
.v4-footer__company { margin-top: 10px; font-size: 12px; font-style: normal; line-height: 1.6; color: #6b7280; }
.v4-footer__company a { color: inherit; }

/* ── Product tiles and product page ─────────────────────────── */
.product-card__title a { color: inherit; text-decoration: none; }
.product-card__title a:hover { text-decoration: underline; }
.stock--low { border-color: rgba(251,191,36,.35); background: rgba(251,191,36,.12); color: #fbbf24; }
.pp3-subtitle { margin: -6px 0 14px; color: var(--muted-warm, #9ca3af); font-size: 15px; }
.pp3-vat { margin-left: 10px; font-size: 13px; color: var(--muted-warm, #9ca3af); }
.pp3-description { margin: 18px 0; font-size: 14px; line-height: 1.7; color: var(--muted-warm, #9ca3af); }
.pp3-details-table th { text-align: left; font-weight: inherit; }

/* ── Category page ──────────────────────────────────────────── */
fieldset.cat-filter-section { border-left: 0; border-right: 0; border-top: 0; margin: 0; min-width: 0; }
.cat-filter-section legend { padding: 0; float: left; width: 100%; }   /* float: same spacing as a normal heading */
.cat-filter-section legend + * { clear: both; }
.cat-filter-section--last { border-bottom: none; }
.cat-price-slider { width: 100%; accent-color: var(--gold-alt, #e8870d); margin: 8px 0 4px; }
.cat-empty { color: var(--muted, #888); padding: 24px 0; }
.seo-box { margin-top: 0; }

/* ── Forms: messages and invalid fields ─────────────────────── */
[data-form-message]:empty, [data-form-message][hidden] { display: none; }
[data-form-message][data-state] { display: block; }
[data-form-message][data-state="busy"] { color: var(--muted-warm, #9ca3af); }
[data-form-message][data-state="ok"] { color: #10b981; }
[data-form-message][data-state="error"] { color: #ef4444; }
[aria-invalid="true"] { border-color: #ef4444 !important; }
.contact-form__submit:disabled { opacity: .6; cursor: progress; }

/* ── FAQ (native <details>) ─────────────────────────────────── */
.faq { margin-top: 48px; }
.faq__title { font-size: clamp(28px, 4vw, 40px); font-weight: 900; letter-spacing: -.03em; line-height: 1.1; margin: 0 0 12px; color: var(--text-warm); }
.faq__intro { font-size: 15px; color: var(--muted-warm); line-height: 1.7; margin: 0 0 28px; max-width: 540px; }
.faq-cat-title { margin: 0; }
summary.faq-question, summary.faq-question-f { list-style: none; }
summary.faq-question::-webkit-details-marker, summary.faq-question-f::-webkit-details-marker { display: none; }
details.faq-item .faq-answer, details.faq-item-f .faq-answer-f { max-height: none; }
details.faq-item:not([open]) .faq-answer, details.faq-item-f:not([open]) .faq-answer-f { display: none; }
details.faq-item[open] .faq-chevron, details.faq-item-f[open] .faq-chevron-f { transform: rotate(180deg); }

/* ── Info pages (shipping, about, returns, terms) ───────────── */
.fragt-steps, .sell-steps, .co-stepper { list-style: none; padding-left: 0; }
.fragt-steps { margin-top: 20px; }
.fragt-info-title, .about-section-title { font-size: clamp(22px, 3vw, 32px); font-weight: 900; letter-spacing: -.02em; margin: 8px 0 24px; }
.fragt-partner { margin-top: 16px; }
.fragt-faq { margin-top: 8px; }
.fragt-cta, .about-cta { margin-top: 60px; }
.about-story, .about-stats { margin-top: 16px; }
.info-layout { margin-top: 28px; }
.info-highlight--green { margin-top: 24px; background: rgba(16,185,129,.07); border-color: rgba(16,185,129,.2); }
.table-scroll { overflow-x: auto; }

/* ── Checkout ───────────────────────────────────────────────── */
.co-note { font-size: 12px; color: var(--muted, #888); margin-top: 10px; }
.co-service-points { margin-top: 16px; }
.co-input--postcode { max-width: 140px; }
.co-service-point-list { gap: 8px; max-height: 340px; overflow-y: auto; padding-right: 6px; scrollbar-width: thin; }
.co-terms-note { font-size: 12px; line-height: 1.6; color: var(--muted, #888); margin: 12px 0 0; }
.co-terms-note a { color: inherit; text-decoration: underline; }
.co-submit-btn:disabled { opacity: .55; cursor: not-allowed; }

/* ── Confirmation ───────────────────────────────────────────── */
.confirm-row--total { border-top: 2px solid var(--border); padding-top: 14px; margin-top: 4px; }
.confirm-row--total .confirm-row__label { font-weight: 700; color: var(--text); }
.confirm-row--total .confirm-row__value { font-size: 18px; color: var(--orange); }
.confirm-mail-note { max-width: 560px; margin: 0 auto 32px; }

/* ── 404 / notices ──────────────────────────────────────────── */
.not-found { text-align: center; padding: 72px 0; }
.not-found__code { font-size: clamp(64px, 14vw, 120px); font-weight: 900; line-height: 1; color: var(--gold-alt, #e8870d); }
.not-found h1 { margin: 12px 0; }
.not-found__lead { max-width: 520px; margin: 0 auto 28px; color: var(--muted-warm, #9ca3af); line-height: 1.7; }
.not-found__links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
