:root {
  --blue-950: #052a55;
  --blue-900: #073f79;
  --blue-800: #07579f;
  --blue-700: #0874c9;
  --blue-100: #e8f3fc;
  --yellow: #ffd239;
  --ink: #142333;
  --muted: #607083;
  --line: #dce4ec;
  --surface: #f5f8fb;
  --white: #fff;
  --shell: min(1440px, calc(100% - 48px));
  --radius: 14px;
  --shadow: 0 12px 30px rgba(5, 42, 85, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 14px; color: var(--white); background: var(--blue-950); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.service-bar { color: var(--white); background: var(--blue-950); font-size: 0.78rem; }
.service-bar__inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.service-bar a { font-weight: 800; }
.site-header { position: sticky; z-index: 40; top: 0; background: rgba(255, 255, 255, 0.98); box-shadow: 0 1px 0 var(--line); }
.header-main { min-height: 96px; display: grid; grid-template-columns: auto minmax(340px, 1fr) auto; align-items: center; gap: 30px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 250px; color: var(--blue-900); }
.brand__mark { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 12px 12px 6px 6px; color: var(--white); background: var(--blue-700); font-size: 1.15rem; font-weight: 900; letter-spacing: -0.04em; }
.brand__name, .brand__since { display: block; }
.brand__name { font-size: 1.45rem; line-height: 1; letter-spacing: -0.04em; }
.brand__since { margin-top: 6px; color: var(--muted); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.search { min-height: 48px; display: grid; grid-template-columns: 1fr auto; border: 1px solid #bcc9d6; border-radius: 8px; overflow: hidden; background: var(--white); }
.search input { min-width: 0; padding: 0 18px; border: 0; color: var(--ink); }
.search button { padding: 0 24px; border: 0; color: var(--white); background: var(--blue-700); font-weight: 800; cursor: pointer; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.contact-action { display: flex; flex-direction: column; line-height: 1.25; }
.contact-action span { color: var(--muted); font-size: 0.72rem; }
.contact-action strong { color: var(--blue-900); font-size: 0.92rem; }
.cart-button { min-height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; font-size: 0.82rem; font-weight: 800; }
.cart-count { min-width: 24px; height: 24px; display: grid; place-items: center; border-radius: 999px; color: var(--white); background: var(--blue-700); }
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; color: var(--blue-900); background: var(--white); }
.category-nav { color: var(--white); background: var(--blue-800); }
.category-nav__inner { min-height: 42px; display: flex; align-items: center; gap: 34px; }
.category-nav a { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.025em; }

.commerce-hero { padding: 12px 0; background: var(--surface); }
.commerce-hero__grid { display: grid; grid-template-columns: 238px minmax(0, 1fr) 280px; gap: 10px; }
.category-rail { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--white); }
.category-rail__heading { min-height: 46px; display: flex; align-items: center; gap: 10px; padding: 0 16px; color: var(--white); background: var(--blue-950); font-size: 0.83rem; text-transform: uppercase; }
.category-rail > a { min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 16px; border-bottom: 1px solid var(--line); color: #35485b; font-size: 0.84rem; }
.category-rail > a:hover { color: var(--blue-700); background: var(--blue-100); }
.category-rail__empty { display: block; padding: 18px; color: var(--muted); font-size: 0.8rem; }
.promo-primary { position: relative; min-height: 360px; overflow: hidden; border-radius: 8px; color: var(--white); background: #063e78; isolation: isolate; }
.promo-primary::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(5, 42, 85, .96) 0%, rgba(5, 42, 85, .88) 32%, rgba(5, 42, 85, .36) 58%, rgba(5, 42, 85, .08) 100%); pointer-events: none; }
.promo-primary__media { position: absolute; inset: 0; z-index: 0; display: block; }
.promo-primary__media img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.promo-primary__copy { position: relative; z-index: 2; min-height: 360px; width: min(59%, 660px); display: flex; align-items: flex-start; flex-direction: column; justify-content: center; padding: 44px; }
.eyebrow { display: block; margin: 0 0 10px; color: var(--blue-700); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.promo-primary .eyebrow { color: var(--yellow); }
.promo-primary h1 { max-width: 620px; margin: 0; font-size: clamp(2.4rem, 4.5vw, 4.7rem); line-height: 0.96; letter-spacing: -0.06em; }
.promo-primary__copy > p:not(.eyebrow) { max-width: 580px; margin: 20px 0 0; color: rgba(255,255,255,.82); font-size: 1rem; }
.promo-primary__actions { display: flex; gap: 10px; margin-top: 26px; }
.promo-primary__location { margin-top: 26px; padding-left: 18px; border-left: 3px solid var(--yellow); font-size: 0.82rem; font-weight: 800; }
.button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 17px; border: 1px solid transparent; border-radius: 7px; font-size: 0.82rem; font-weight: 900; cursor: pointer; }
.button--primary { color: var(--blue-950); background: var(--yellow); }
.button--secondary { color: var(--blue-900); border-color: var(--line); background: var(--white); }
.button--ghost { color: var(--white); border-color: rgba(255,255,255,.42); background: transparent; }
.promo-side { display: grid; grid-template-rows: 1fr 1fr; gap: 10px; }
.promo-tile { display: flex; flex-direction: column; justify-content: center; padding: 26px; border-radius: 8px; overflow: hidden; }
.promo-tile span { font-size: 0.72rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.promo-tile strong { margin-top: 6px; font-size: 1.55rem; line-height: 1.05; letter-spacing: -0.04em; }
.promo-tile small { margin-top: 18px; font-weight: 800; }
.promo-tile--yellow { color: var(--blue-950); background: var(--yellow); }
.promo-tile--light { color: var(--blue-950); background: linear-gradient(135deg, #edf5fc, #cde4f6); }

.trust-strip { border-block: 1px solid var(--line); background: var(--white); }
.trust-strip__grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.trust-strip article { min-height: 78px; display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-right: 1px solid var(--line); }
.trust-strip article:last-child { border-right: 0; }
.trust-strip article > span { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: var(--blue-700); background: var(--blue-100); font-weight: 900; }
.trust-strip strong, .trust-strip small { display: block; }
.trust-strip strong { font-size: 0.78rem; text-transform: uppercase; }
.trust-strip small { margin-top: 2px; color: var(--muted); font-size: 0.72rem; }

.section { padding-block: 72px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.section-heading h2, .local-story h2 { margin: 0; color: var(--blue-950); font-size: clamp(2rem, 3vw, 3.4rem); line-height: 1; letter-spacing: -0.05em; }
.section-heading > a { color: var(--blue-700); font-size: 0.84rem; font-weight: 900; }
.products-section { background: var(--white); }
.product-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.product-card { min-width: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.product-card__visual { height: 230px; display: grid; place-items: center; padding: 24px; background: #f8fafc; }
.product-card__visual img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.product-placeholder { width: 118px; height: 118px; display: grid; place-items: center; border-radius: 50%; color: var(--blue-700); background: var(--blue-100); font-size: 0.75rem; font-weight: 900; text-align: center; }
.product-card__body { padding: 18px; }
.product-card__meta { min-height: 22px; display: block; overflow: hidden; color: var(--muted); font-size: 0.68rem; white-space: nowrap; text-overflow: ellipsis; text-transform: uppercase; }
.product-card h3 { min-height: 58px; margin: 8px 0 14px; font-size: 0.94rem; line-height: 1.35; }
.product-card h3 a:hover { color: var(--blue-700); }
.product-card__price { min-height: 34px; color: var(--blue-950); font-size: 1.35rem; font-weight: 900; }
.product-card__price del { color: var(--muted); font-size: 0.78rem; }
.product-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 16px; }
.product-card__actions .button { padding-inline: 8px; font-size: 0.73rem; }
.catalog-empty { padding: 46px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-align: center; }
.catalog-empty strong { color: var(--blue-950); font-size: 1.5rem; }
.catalog-empty p { margin: 8px 0 22px; color: var(--muted); }

.category-section { background: var(--surface); }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.category-card { min-height: 180px; display: flex; align-items: flex-start; flex-direction: column; justify-content: flex-end; padding: 26px; border-radius: 10px; color: var(--white); overflow: hidden; }
.category-card span { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; opacity: .75; }
.category-card strong { margin-top: 5px; font-size: 1.65rem; line-height: 1.1; letter-spacing: -0.04em; }
.category-card small { margin-top: 16px; font-weight: 800; }
.category-card--1 { background: var(--blue-950); }
.category-card--2 { background: var(--blue-800); }
.category-card--3 { color: var(--blue-950); background: var(--yellow); }
.local-section { color: var(--white); background: var(--blue-950); }
.local-section__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr); gap: 70px; align-items: center; }
.local-story .eyebrow { color: var(--yellow); }
.local-story h2 { max-width: 760px; color: var(--white); }
.local-story p { max-width: 660px; margin: 22px 0 28px; color: rgba(255,255,255,.72); }
.coverage-panel { padding: 36px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); background: rgba(255,255,255,.07); }
.coverage-panel span, .coverage-panel strong { display: block; }
.coverage-panel span { color: var(--yellow); font-size: 0.72rem; font-weight: 900; text-transform: uppercase; }
.coverage-panel strong { margin-top: 6px; font-size: 1.8rem; }
.coverage-panel p { color: rgba(255,255,255,.72); }
.coverage-panel__links { display: flex; gap: 18px; margin-top: 26px; font-weight: 900; }

.site-footer { padding-top: 56px; color: #dce8f4; background: #031b36; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 44px; }
.footer-grid > div { display: flex; align-items: flex-start; flex-direction: column; gap: 8px; }
.footer-grid strong { color: var(--white); }
.footer-grid p, .footer-grid span, .footer-grid a { margin: 0; color: #9db0c3; font-size: 0.82rem; }
.footer-brand { font-size: 1.25rem; }
.footer-bottom { min-height: 68px; display: flex; align-items: center; justify-content: space-between; margin-top: 48px; border-top: 1px solid rgba(255,255,255,.1); color: #7890a8; font-size: 0.72rem; }
.content-shell, .woocommerce-shell { min-height: 60vh; padding-block: 56px 80px; }
.content-card { max-width: 900px; }
.woocommerce-shell .woocommerce { width: 100%; }

@media (max-width: 1180px) {
  .header-main { grid-template-columns: auto 1fr auto; gap: 18px; }
  .brand { min-width: auto; }
  .brand__since, .contact-action { display: none; }
  .commerce-hero__grid { grid-template-columns: 210px minmax(0, 1fr); }
  .promo-side { display: none; }
  .product-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
  :root { --shell: min(100% - 32px, 760px); }
  .service-bar__inner span:nth-child(2) { display: none; }
  .header-main { min-height: 74px; grid-template-columns: auto auto 1fr auto; }
  .menu-button { display: grid; place-items: center; }
  .search { grid-column: 1 / -1; grid-row: 2; margin-bottom: 14px; }
  .category-nav { position: fixed; z-index: 45; top: 0; left: 0; width: min(360px, 88%); height: 100dvh; padding: 82px 24px 24px; transform: translateX(-105%); transition: transform 180ms ease; background: var(--blue-950); }
  .category-nav.is-open { transform: translateX(0); }
  .category-nav__inner { width: 100%; flex-direction: column; align-items: stretch; }
  .category-nav a { min-height: 54px; display: flex; align-items: center; border-bottom: 1px solid rgba(255,255,255,.12); }
  .commerce-hero__grid { grid-template-columns: 1fr; }
  .category-rail { display: none; }
  .promo-primary { min-height: 410px; }
  .promo-primary::before { background: linear-gradient(90deg, rgba(5, 42, 85, .98) 0%, rgba(5, 42, 85, .9) 48%, rgba(5, 42, 85, .3) 100%); }
  .promo-primary__copy { min-height: 410px; width: min(68%, 620px); }
  .trust-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .trust-strip article { border-bottom: 1px solid var(--line); }
  .trust-strip article:nth-child(2n) { border-right: 0; }
  .trust-strip article:last-child { grid-column: 1 / -1; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .local-section__grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 28px); }
  .service-bar__inner { justify-content: space-between; gap: 10px; }
  .service-bar__inner span:nth-child(3), .service-bar__inner a { display: none; }
  .header-main { grid-template-columns: auto 1fr auto; gap: 10px; }
  .brand__mark { width: 42px; height: 42px; }
  .brand__name { font-size: 1rem; }
  .cart-button span { display: none; }
  .search { min-height: 44px; }
  .search button { padding-inline: 15px; }
  .promo-primary { min-height: auto; }
  .promo-primary::before { background: linear-gradient(180deg, rgba(5, 42, 85, .98) 0%, rgba(5, 42, 85, .86) 62%, rgba(5, 42, 85, .7) 100%); }
  .promo-primary__media img { object-position: 64% center; }
  .promo-primary__copy { padding: 34px 24px 38px; }
  .promo-primary__copy { min-height: 430px; width: 100%; }
  .promo-primary h1 { font-size: clamp(2.6rem, 13vw, 4rem); }
  .promo-primary__actions { align-items: stretch; flex-direction: column; width: 100%; }
  .trust-strip__grid { grid-template-columns: 1fr; }
  .trust-strip article, .trust-strip article:last-child { grid-column: auto; border-right: 0; }
  .section { padding-block: 56px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-card__visual { height: 170px; padding: 14px; }
  .product-card__body { padding: 14px; }
  .product-card h3 { min-height: 60px; font-size: .84rem; }
  .product-card__price { font-size: 1.05rem; }
  .product-card__actions { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .coverage-panel { padding: 26px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; gap: 4px; }
}

@media (max-width: 390px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-card__visual { height: 230px; }
  .product-card h3 { min-height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
