/* Le-Biko — Generic pages, FAQ and 404. */

/* ==========================================================================
   Generic pages + WooCommerce basics
   ========================================================================== */
.lb-page__title { font-family: var(--lb-font-display); font-weight: 500; font-size: clamp(26px, 4vw, 34px); margin: 0 0 20px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	list-style: none; margin: 0 0 20px; padding: 12px 16px;
	border: 1px solid var(--lb-line); border-inline-start: 3px solid var(--lb-ink);
	background: #faf9f7; font-size: 14px;
}
.woocommerce-error { border-inline-start-color: var(--lb-danger); }

/* FAQ page: questions are core "details" blocks */
.lb-faq { max-width: 820px; }
.lb-faq__head { margin-bottom: 8px; }
.lb-faq__list h2 { margin: 36px 0 10px; font-size: 21px; }
.lb-faq__list .wp-block-details { border-bottom: 1px solid var(--lb-line); margin: 0; }
.lb-faq__list .wp-block-details summary {
	position: relative; padding: 16px 0 16px 36px; cursor: pointer; list-style: none;
	font-size: 16.5px; font-weight: 400; line-height: 1.5; color: var(--lb-ink);
}
.lb-faq__list .wp-block-details summary::-webkit-details-marker { display: none; }
.lb-faq__list .wp-block-details summary::after {
	content: ""; position: absolute; inset-inline-end: 6px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
	border-right: 1.5px solid var(--lb-ink); border-bottom: 1.5px solid var(--lb-ink); /* physical sides: a ⌄ chevron in any direction */
	transform: rotate(45deg); transition: transform .25s var(--lb-ease);
}
.lb-faq__list .wp-block-details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.lb-faq__list .wp-block-details summary:hover { text-decoration: underline; text-underline-offset: 3px; }
.lb-faq__list .wp-block-details summary:focus-visible { outline: 2px solid var(--lb-ink); outline-offset: 2px; }
.lb-faq__list .wp-block-details > p { margin: -4px 0 18px; font-size: 16px; line-height: 1.8; }
.lb-faq__list a { color: var(--lb-ink); text-decoration: underline; text-underline-offset: 3px; }
.lb-faq__more { margin-top: 44px; padding: 24px 22px; background: #faf9f7; border: 1px solid var(--lb-line); border-radius: var(--lb-radius); text-align: center; }
.lb-faq__more-title { margin: 0 0 6px; font-size: 20px; font-weight: 500; }
.lb-faq__more p { margin: 0 0 16px; color: var(--lb-ink-soft); font-weight: 300; }
.lb-faq__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
@media (prefers-reduced-motion: reduce) { .lb-faq__list .wp-block-details summary::after { transition: none; } }
html.lb-a11y-nomotion .lb-faq__list .wp-block-details summary::after { transition: none; }

/* 404 */
.lb-404__head { text-align: center; max-width: 560px; margin: 0 auto 22px; }
.lb-404__code { margin: 0; font-size: 64px; font-weight: 200; line-height: 1; letter-spacing: .06em; color: #8c8781; /* ≥3:1 for large text */ }
.lb-404__text { margin: 10px 0 0; color: var(--lb-ink-soft); font-weight: 300; line-height: 1.7; }
.lb-404__search { max-width: 560px; margin: 0 auto 36px; padding: 0; }
.lb-404__cats { margin-bottom: 32px; }
.lb-404__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* Jump targets (contact form, club) clear the sticky header */
#lb-contact-form, #lb-club { scroll-margin-top: 90px; }
