/* Header and navigation */
.site-header { background: var(--bg-page); border-bottom: 1px solid rgb(231 223 213 / 35%); }
.header-inner { max-width: 1320px; min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.wordmark { display: block; flex: 0 0 160px; width: 160px; }
.wordmark img { width: 100%; height: auto; }
.primary-nav { display: flex; gap: 36px; font-size: 16px; font-weight: 500; color: var(--text-muted); }
.primary-nav a:hover { color: var(--brand-rust); }
.primary-nav a { padding: 12px 0; position: relative; }
.primary-nav a[aria-current] { color: var(--brand-rust); }
.primary-nav a[aria-current]::after { content: ''; height: 2px; background: var(--brand-rust); position: absolute; inset: auto 0 0; }
.header-actions { display: flex; align-items: center; gap: 24px; }
.status { display: inline-flex; align-items: center; gap: 8px; border-radius: var(--radius-pill); background: var(--bg-stone); padding: 7px 15px; font-size: .7em; white-space: nowrap; }
.status::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--brand-rust); flex-shrink: 0; }
.header-status { min-height: 34px; padding: 7px 16px; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }
.header-actions > .button { min-height: 50px; padding: 14px 30px; font-size: 15px; font-weight: 500; }
.header-actions .account { width: 38px; height: 38px; }
.icon { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-button { display: grid; place-items: center; width: 36px; height: 36px; padding: 8px; background: transparent; color: var(--text-muted); }
.account { border-radius: 50%; background: var(--brand-rust); color: var(--bg-page); }
.menu-toggle { display: none; background: var(--bg-stone); border-radius: var(--radius-small); padding: 10px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 54px; padding: 15px 30px; border-radius: var(--radius-pill); font-size: .85em; line-height: 1.3; text-align: center; background: var(--brand-orange); color: white; }
.button:hover { background: var(--brand-rust); }
.button-secondary { background: var(--bg-stone); color: var(--text); }
.button-secondary:hover { background: var(--line); }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--brand-rust); font-size: .85em; }
.text-link span { display: inline-block; transition: transform var(--transition); }
.text-link:hover span { transform: translateX(4px); }
/* Shared image containers and retained placeholders for missing originals. */
.media { width: 100%; min-width: 0; position: relative; overflow: hidden; background: #ddd5c8; border-radius: var(--radius); }
.placeholder { display: grid; place-items: center; background: #e0d8cb; color: #776b5d; isolation: isolate; }
.placeholder::before { content: ''; position: absolute; width: 52px; height: 40px; border: 1px solid rgb(119 107 93 / 30%); border-radius: 5px; top: calc(50% - 35px); z-index: -1; }
.placeholder-label { padding: 44px 20px 20px; max-width: 90%; text-align: center; font-size: .7em; letter-spacing: .05em; }
.badge { position: absolute; top: 26px; left: 26px; background: var(--bg-page); color: var(--brand-rust); border-radius: var(--radius-pill); padding: 7px 18px; font-size: .65em; line-height: 1.2; letter-spacing: .05em; text-transform: uppercase; }
.image-caption { position: absolute; bottom: 26px; left: 26px; right: 26px; border-radius: var(--radius-small); background: rgb(252 248 240 / 95%); padding: 25px; font-size: .83em; line-height: 1.4; }
.image-caption strong { display: block; color: var(--brand-rust); font-size: .8em; letter-spacing: .08em; text-transform: uppercase; }
/* Product and service cards */
.product-media { aspect-ratio: .7; background: var(--bg-section); border-radius: var(--radius); position: relative; display: grid; align-items: center; padding: 12%; margin-bottom: 26px; }
.product-media .media { aspect-ratio: 1.8; border-radius: 0; }
.product-media .badge { top: 16px; left: 16px; padding: 5px 12px; color: var(--text-muted); font-size: .56em; }
.stock-tag { position: absolute; bottom: 18px; right: 18px; padding: 4px 13px; border-radius: var(--radius-pill); background: var(--bg-page); color: var(--text-muted); font-size: .6em; }
.product-category { font-size: .65em; text-transform: uppercase; letter-spacing: .09em; color: var(--text-label); font-weight: 600; }
.product-card h3 { font-size: clamp(1.25rem, 1.8vw, 1.65rem); letter-spacing: -.025em; margin: 3px 0 12px; }
.product-card .note { min-height: 3em; }
.product-meta { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 17px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .8em; }
.price { color: var(--brand-rust); font-weight: 600; }
.product-meta a { font-size: .75em; text-transform: uppercase; letter-spacing: .09em; }
.service-card { overflow: hidden; border-radius: var(--radius); background: var(--bg-section); }
.service-card .media { aspect-ratio: 1.68; border-radius: 0; }
.service-card .badge { inset: auto auto 15px 20px; color: var(--text); }
.service-body { padding: 40px; }
.service-body p { font-size: .87em; margin-top: 18px; }
.service-meta { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.service-meta > span { color: var(--text-label); font-size: .65em; text-transform: uppercase; }
/* Footer */
.site-footer { background: var(--bg-section); padding: 70px 0 40px; }
.site-footer .eyebrow { color: var(--text-label); }
.footer-statement { font-size: clamp(2.2rem, 5.3vw, 4.8rem); max-width: 95%; margin: 8px 0 80px; line-height: 1.04; }
.footer-columns { display: grid; grid-template-columns: 1fr 1fr 1.4fr .7fr; gap: 7%; border-block: 1px solid var(--line); padding-block: 65px; }
.footer-columns h3 { font: 600 .65em/1.4 var(--font-body); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 24px; color: var(--text-muted); }
.footer-columns li, .footer-columns address { font-size: .85em; color: var(--text-muted); font-style: normal; line-height: 1.7; }
.footer-columns li + li { margin-top: 5px; }
.footer-columns address span { display: block; }
.footer-columns address .footer-label { margin-top: 12px; color: var(--text-label); font-size: .85em; letter-spacing: .07em; text-transform: uppercase; }
.footer-columns .eyebrow { color: var(--brand-rust); margin-top: 30px; font-size: .6em; letter-spacing: .08em; }
.footer-bottom { padding-top: 30px; display: flex; justify-content: space-between; gap: 20px; font-size: .8em; color: var(--text-muted); }
.footer-bottom nav { display: flex; gap: 35px; }
.footer-bottom nav a + a::before { content: '•'; margin-right: 35px; }
.notice { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; max-width: 480px; background: var(--bg-page); color: var(--text); }
.notice::backdrop { background: rgb(37 34 28 / 35%); }
.notice p { margin: 16px 0 24px; }

/* Images stay out of document flow so existing containers retain their geometry. */
.loaded-media { display: grid; place-items: center; isolation: isolate; }
.loaded-media > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; z-index: 0; }

.loaded-media > :not(img) { z-index: 1; }

/* Reference utility details: maintain existing container dimensions. */
.hero-media .image-caption { padding-right: 80px; }
.caption-store-icon { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--bg-card); color: var(--brand-rust); }
.text-link .icon { width: 16px; height: 16px; vertical-align: middle; }
.schedule-parking > .icon { color: var(--brand-rust); }
.location-directions > span:last-child { display: inline-flex; flex-shrink: 0; }
.store-panel .actions { position: relative; }
.store-panel .actions::before { content: ''; position: absolute; top: -18px; left: 0; right: 0; border-top: 1px solid var(--line); }
