/* Foundation stylesheet (reset, accessibility, layout, inner pages, catalog nav, hours, forms, map).
   The Fixed4u design layer is in design.css, loaded after this file. (Was: Neutral base stylesheet. Brand values (colours, fonts, font sizes, spacing) are NOT defined here:
   theme.json is the only place for them. This file only reads --wp--preset--* and --wp--custom--* variables, so it
   contains no hex or rgb colours, no font names and no @font-face. No animation by default (see docs/MOTION.md for the add-on).
   Build a client's look on top of this: change theme.json first, then add rules in a project stylesheet. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--wp--preset--color--base); color: var(--wp--preset--color--contrast); font-family: var(--wp--preset--font-family--body); font-size: var(--wp--preset--font-size--base); line-height: 1.6; }
img, iframe, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--wp--custom--color--link); text-underline-offset: 0.18em; }
a:hover { text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--wp--preset--font-family--display); line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: var(--wp--preset--font-size--title); }
h2 { font-size: var(--wp--preset--font-size--heading); }
h3 { font-size: var(--wp--preset--font-size--subheading); }
p { margin: 0 0 1em; }
ul[role="list"] { list-style: none; margin: 0; padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--wp--preset--color--accent); outline-offset: 3px; }
::selection { background: var(--wp--preset--color--accent); color: var(--wp--custom--color--on-accent); }

/* accessibility */
.fixed4u-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.fixed4u-skip { position: absolute; left: var(--wp--custom--space--gutter); top: -4rem; z-index: 100; background: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base); padding: 0.6rem 1rem; border-radius: var(--wp--custom--radius--s); }
.fixed4u-skip:focus { top: 0.5rem; }
[hidden] { display: none !important; }

/* layout */
.fixed4u-container { width: 100%; max-width: calc(72rem + 2 * var(--wp--custom--space--gutter)); margin-inline: auto; padding-inline: var(--wp--custom--space--gutter); }
.fixed4u-section { padding-block: var(--wp--custom--space--section); }
.fixed4u-section--tight { padding-top: 0; }
.fixed4u-section--surface { background: var(--wp--preset--color--surface); }
.fixed4u-section--accent { background: var(--wp--preset--color--accent); color: var(--wp--custom--color--on-accent); }
.fixed4u-section--accent h2 { color: inherit; }
.fixed4u-section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1.5rem; margin-bottom: 1.5rem; }
.fixed4u-section__head h2 { margin: 0; }
.fixed4u-grid { display: grid; gap: var(--wp--custom--space--gap); grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.fixed4u-grid--trust { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.fixed4u-split { display: grid; gap: var(--wp--custom--space--section); }
@media (min-width: 52rem) { .fixed4u-split { grid-template-columns: 1fr 1fr; } }
.fixed4u-stack > * + * { margin-top: var(--wp--preset--spacing--50); }
.fixed4u-inline a + a { margin-left: 1rem; }
.fixed4u-label { font-size: var(--wp--preset--font-size--small); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--wp--preset--color--muted); margin-bottom: 0.4rem; }
.fixed4u-big { font-size: var(--wp--preset--font-size--small-heading); font-weight: 600; }
.fixed4u-note { color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--small); }
.fixed4u-eyebrow { color: var(--wp--preset--color--muted); font-weight: 600; margin-bottom: 0.5rem; }
.fixed4u-lede { font-size: var(--wp--preset--font-size--lede); color: var(--wp--preset--color--muted); }
.fixed4u-meta { color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--small); }

/* inner pages */
.fixed4u-pagehead { padding-block: calc(var(--wp--custom--space--section) * 0.7) 1.5rem; }
.fixed4u-pagehead__title { margin-bottom: 0.4rem; }
.fixed4u-pagehead__lede { font-size: var(--wp--preset--font-size--lede); color: var(--wp--preset--color--muted); max-width: 46rem; margin: 0; }
.fixed4u-main { display: block; }
.fixed4u-prose { max-width: calc(46rem + 2 * var(--wp--custom--space--gutter)); margin-inline: auto; padding: 0 var(--wp--custom--space--gutter) var(--wp--custom--space--section); }
.fixed4u-prose--wide { max-width: calc(72rem + 2 * var(--wp--custom--space--gutter)); }
.fixed4u-main > .fixed4u-pagehead { max-width: calc(72rem + 2 * var(--wp--custom--space--gutter)); margin-inline: auto; padding-inline: var(--wp--custom--space--gutter); }
.fixed4u-prose blockquote { margin-inline: 0; padding-left: 1.25rem; border-left: 3px solid var(--wp--preset--color--accent); }
.fixed4u-post { margin-bottom: var(--wp--preset--spacing--60); }
.fixed4u-post__title a { color: inherit; text-decoration: none; }
.fixed4u-pagination { margin-top: var(--wp--preset--spacing--60); }

/* catalog pages */
.fixed4u-search input, .fixed4u-search .wp-block-search__input { width: 100%; max-width: 28rem; padding: 0.65em 0.9em; border: 1px solid var(--wp--custom--color--line); border-radius: var(--wp--custom--radius--s); background: var(--wp--preset--color--base); color: inherit; font: inherit; }
.fixed4u-search__status, .fixed4u-search__empty { color: var(--wp--preset--color--muted); }
.fixed4u-catnav ul { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.25rem 0 2rem; }
.fixed4u-catnav a { display: inline-block; padding: 0.35em 0.9em; border: 1px solid var(--wp--custom--color--line); border-radius: 999px; color: inherit; text-decoration: none; }
.fixed4u-catnav a:hover { border-color: var(--wp--preset--color--accent); color: var(--wp--custom--color--link); }
.fixed4u-catsec { margin-bottom: var(--wp--preset--spacing--60); }
.fixed4u-item[hidden], .fixed4u-catsec[hidden] { display: none !important; }

/* stores, hours */
.fixed4u-hours { margin: 0 0 1em; }
.fixed4u-hours div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--wp--custom--color--line); padding-block: 0.3rem; }
.fixed4u-hours dt, .fixed4u-hours dd { margin: 0; }
.fixed4u-hours dd { white-space: nowrap; }

/* contact form (WPForms basics) */
.fixed4u-contact__form .wpforms-container .wpforms-form label, .fixed4u-contact__form .wpforms-container .wpforms-form .wpforms-field-label { display: block; font-weight: 600; margin-bottom: 0.25rem; }
.fixed4u-contact__form .wpforms-container .wpforms-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), .fixed4u-contact__form .wpforms-container .wpforms-form textarea, .fixed4u-contact__form .wpforms-container .wpforms-form select { width: 100%; max-width: 100%; padding: 0.65em 0.9em; border: 1px solid var(--wp--custom--color--line); border-radius: var(--wp--custom--radius--s); background: var(--wp--preset--color--base); color: inherit; font: inherit; }
.fixed4u-contact__form .wpforms-container .wpforms-form .wpforms-field { padding: 0 0 1rem; }
.fixed4u-contact__form .wpforms-container .wpforms-form .wpforms-required-label { color: var(--wp--preset--color--error); }
.fixed4u-contact__form .wpforms-container .wpforms-form button.wpforms-submit { padding: 0.75em 1.4em; border: 2px solid var(--wp--preset--color--accent); border-radius: var(--wp--custom--radius--s); background: var(--wp--preset--color--accent); color: var(--wp--custom--color--on-accent); font: 600 var(--wp--preset--font-size--base)/1.2 var(--wp--preset--font-family--body); cursor: pointer; }
.fixed4u-contact__form .wpforms-container .wpforms-form button.wpforms-submit:hover { background: var(--wp--preset--color--contrast); border-color: var(--wp--preset--color--contrast); }
.fixed4u-contact__form .wpforms-error, .fixed4u-contact__form .wpforms-container .wpforms-error-container { color: var(--wp--preset--color--error); }

/* booking widget and click-to-load map */
.fixed4u-frame iframe { display: block; width: 100%; height: 44rem; border: 0; background: var(--wp--preset--color--surface); }
.fixed4u-map { position: relative; height: clamp(20rem, 55vh, 34rem); background: var(--wp--preset--color--surface); overflow: hidden; }
.fixed4u-map__cover, .fixed4u-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fixed4u-map__cover img { width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.fixed4u-map__prompt { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; text-align: center; padding: 1rem; }
.fixed4u-map.is-loaded .fixed4u-map__cover { display: none; }
