/* Mas Business Services theme styles. Fonts are self-hosted (Montserrat, Source Sans 3), so no request goes to Google. */
@font-face{font-family:'Montserrat';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/montserrat-latin-600-normal.woff2') format('woff2')}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/montserrat-latin-700-normal.woff2') format('woff2')}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:800;font-display:swap;src:url('../fonts/montserrat-latin-800-normal.woff2') format('woff2')}
@font-face{font-family:'Source Sans 3';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/source-sans-3-latin-400-normal.woff2') format('woff2')}
@font-face{font-family:'Source Sans 3';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/source-sans-3-latin-600-normal.woff2') format('woff2')}
@font-face{font-family:'Source Sans 3';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/source-sans-3-latin-700-normal.woff2') format('woff2')}

/* ==========================================================================
   Mas Business Services Inc. · Home page template
   Layout concept: calm, spacious catalogue site. Navy carries structure,
   sand and teal appear sparingly as accents. Photos are woven-pattern
   placeholders until real product images are supplied.
   ========================================================================== */

:root {
  /* brand */
  --navy: #1F3A4D;
  --teal: #2F5D62;
  --charcoal: #3B3B45;
  --sand: #C8B79B;
  /* neutrals, biased toward the navy/teal family */
  --ink: #1b2830;
  --muted: #55636c;
  --bg: #ffffff;
  --bg-alt: #f1f3f2;
  --line: #d8dedc;
  /* soft tints used by image placeholders */
  --navy-soft: #dde4ea;
  --teal-soft: #dbe6e4;
  --sand-soft: #ece6da;
  --char-soft: #e4e4e7;
  /* type */
  --font-display: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 4px;
  --maxw: 1240px;
  --header-h: 84px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
body::before { /* paints the band above the sticky header on phones with a notch */
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  background: var(--bg); z-index: 60;
}
img { max-width: 100%; display: block; height: auto; }
h1, h2, h3 { font-family: var(--font-display); color: var(--navy); line-height: 1.15; margin: 0; text-wrap: balance; }
h1, .h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 2.7vw, 2.2rem); font-weight: 800; letter-spacing: -0.005em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 16px; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.band { padding-block: clamp(56px, 8vw, 96px); }
.band--alt { background: var(--bg-alt); }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 680px; margin: 0 auto clamp(32px, 4vw, 48px); text-align: center; }
.section-head p { color: var(--muted); }
.eyebrow { font-family: var(--font-display); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px;
  font-family: var(--font-display); font-weight: 700; font-size: .9rem; letter-spacing: .02em;
  text-decoration: none; cursor: pointer;
  color: #fff; background: var(--navy); border: 2px solid var(--navy); border-radius: var(--radius);
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--teal); border-color: var(--teal); }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--sand { background: var(--sand); border-color: var(--sand); color: var(--navy); }
.btn--sand:hover { background: #d9cbb4; border-color: #d9cbb4; }
.btn--ghost-light { background: transparent; color: #fff; border-color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-family: var(--font-display); font-weight: 700; font-size: .88rem; color: var(--navy); text-decoration: none; display: inline-flex; gap: 6px; }
.link-arrow:hover { color: var(--teal); }

/* image placeholders: woven pattern. Replace with <img> or a background image. */
.ph {
  position: relative; overflow: hidden;
  background-color: var(--navy-soft);
  background-image:
    repeating-linear-gradient(45deg, rgba(31, 58, 77, .07) 0 2px, transparent 2px 9px),
    repeating-linear-gradient(-45deg, rgba(31, 58, 77, .07) 0 2px, transparent 2px 9px);
}
.ph--teal { background-color: var(--teal-soft); }
.ph--sand { background-color: var(--sand-soft); }
.ph--char { background-color: var(--char-soft); }
.ph::after {
  content: attr(data-label); position: absolute; right: 10px; bottom: 10px;
  font: 600 .68rem/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase;
  color: #3f4d56; background: rgba(255, 255, 255, .88); padding: 6px 8px; border-radius: 2px;
}
.ph--mini::after { display: none; }

/* ---------- 1 · top bar ---------- */
.topbar { background: var(--charcoal); color: #fff; font-size: .84rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px 24px; min-height: 40px; padding-block: 6px; }
.topbar a { text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar__contact { display: flex; flex-wrap: wrap; gap: 4px 20px; }

/* ---------- 2 · header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; gap: 40px; min-height: var(--header-h); }
.logo { display: block; flex: none; }
.logo img { height: 56px; width: auto; }
.primary-nav { flex: 1; min-width: 0; }
.primary-nav > ul { display: flex; align-items: center; gap: 34px; }
.primary-nav a, .nav-toggle-sub {
  font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--ink); text-decoration: none;
  background: none; border: 0; padding: 8px 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.primary-nav a:hover, .nav-toggle-sub:hover, .primary-nav a[aria-current="page"] { color: var(--teal); }
.primary-nav a[aria-current="page"] { box-shadow: 0 2px 0 var(--navy); }
.has-sub { position: relative; }
.nav-toggle-sub svg { transition: transform .2s; }
.nav-toggle-sub[aria-expanded="true"] svg { transform: rotate(180deg); }
.sub {
  position: absolute; top: calc(100% + 14px); left: -20px; width: 330px; padding: 12px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(31, 58, 77, .14);
  display: none; z-index: 20;
}
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.is-open .sub { display: block; }
.has-sub:hover::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px; } /* keeps hover alive over the gap */
.sub a { display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: var(--radius); width: 100%; }
.sub a:hover { background: var(--bg-alt); }
.sub .ph { display: block; width: 46px; height: 46px; flex: none; border-radius: 3px; }
.mobile-only { display: none; }
.header__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.icon-btn { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; background: var(--bg); border: 1px solid var(--line); border-radius: 50%; cursor: pointer; color: var(--ink); }
.icon-btn:hover { border-color: var(--navy); color: var(--navy); }
.menu-btn { display: none; border-radius: var(--radius); }
.search-bar { border-top: 1px solid var(--line); background: var(--bg-alt); }
.search-bar form { display: flex; gap: 10px; padding-block: 14px; max-width: 640px; }
.search-bar input { flex: 1; min-width: 0; min-height: 46px; padding: 0 14px; font: inherit; border: 1px solid #b7c1c4; border-radius: var(--radius); background: #fff; color: var(--ink); }

/* ---------- 3 · hero slider ---------- */
.hero { position: relative; background: var(--bg-alt); }
.hero__track { display: grid; }
.slide { grid-area: 1 / 1; position: relative; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide__media { position: absolute; inset: 0; }
.slide__inner { position: relative; display: flex; align-items: center; min-height: clamp(460px, 48vw, 600px); padding-block: 56px; }
.slide__card { background: var(--bg); padding: clamp(28px, 3.4vw, 44px); max-width: 560px; display: flex; flex-direction: column; gap: 18px; border-radius: var(--radius); box-shadow: 0 18px 48px rgba(31, 58, 77, .12); }
.slide__card p { color: var(--muted); font-size: 1.05rem; }
.hero__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; }
.hero__arrow--prev { left: max(16px, env(safe-area-inset-left, 0px)); }
.hero__arrow--next { right: max(16px, env(safe-area-inset-right, 0px)); }
.hero__dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 2px; z-index: 3; }
.hero__dot { width: 28px; height: 28px; padding: 0; background: none; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.hero__dot span { width: 9px; height: 9px; border-radius: 50%; background: #7f8d94; transition: width .25s, background-color .25s; }
.hero__dot[aria-current="true"] span { width: 28px; border-radius: 5px; background: var(--navy); }

/* ---------- 4 · categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(31, 58, 77, .12); }
.card .ph { aspect-ratio: 4 / 3; }
.card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px; flex: 1; }
.card__body p { color: var(--muted); font-size: .98rem; flex: 1; }

/* ---------- 5 · how to order ---------- */
.order-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.panel { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.panel--navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.panel--navy h3 { color: #fff; }
.ticks { display: flex; flex-direction: column; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { flex: none; margin-top: 4px; color: var(--teal); }
.panel--navy .ticks svg { color: var(--sand); }

/* ---------- 7 · our story ---------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split__text { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; min-width: 0; }
.split__text p { color: var(--muted); }
.split .ph { aspect-ratio: 5 / 4; border-radius: var(--radius); }

/* ---------- 8 · key features / 10 · industries ---------- */
.row5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.feature { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; display: flex; flex-direction: column; gap: 12px; background: var(--bg); }
.feature__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); display: flex; align-items: center; justify-content: center; }
.feature p { color: var(--muted); font-size: .96rem; }
.industry { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg); }
.industry .ph { aspect-ratio: 1 / 1; }
.industry h3 { font-size: 1rem; padding: 16px; text-align: center; }

/* ---------- 9 · bulk banner ---------- */
.banner { position: relative; }
.banner__media { position: absolute; inset: 0; }
.banner__inner { position: relative; padding-block: clamp(48px, 7vw, 88px); }
.banner__card { max-width: 580px; background: var(--navy); color: #fff; padding: clamp(28px, 3.6vw, 48px); border-radius: var(--radius); display: flex; flex-direction: column; gap: 18px; }
.banner__card h2 { color: #fff; }
.banner__card p { color: #d3dde4; }

/* ---------- 11 · why choose ---------- */
.why { display: flex; flex-direction: column; gap: 22px; }
.why li { display: flex; gap: 16px; align-items: flex-start; }
.why__n { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 .85rem/34px var(--font-display); text-align: center; }
.why h3 { font-size: 1.05rem; margin-bottom: 2px; }
.why p { color: var(--muted); font-size: .98rem; }

/* ---------- 12 · contact strip ---------- */
.contact-strip { background: var(--sand-soft); }
.contact-strip__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 28px; }
.contact-strip address { font-style: normal; color: var(--charcoal); margin-top: 10px; line-height: 1.8; }

/* ---------- 13 · footer ---------- */
.site-footer { background: var(--navy); color: #fff; padding-top: clamp(48px, 6vw, 72px); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.footer__brand img { height: 92px; width: auto; margin-left: -10px; }
.footer__brand p { color: #c6d2da; font-size: .95rem; max-width: 320px; margin-top: 12px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: .95rem; min-width: 0; }
.footer__col h2 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sand); margin-bottom: 6px; font-weight: 700; }
.footer__col a { text-decoration: none; color: #fff; }
.footer__col a:hover { text-decoration: underline; }
.footer__col address { font-style: normal; line-height: 1.7; }
.footer__bottom { border-top: 1px solid #38566a; padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .84rem; color: #c6d2da; }
.footer__bottom a { color: #c6d2da; }

/* sticky action bar for phones */
.sticky-bar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .header__actions .btn { display: none; }
  .primary-nav > ul { gap: 26px; }
  .row5 { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding-bottom: 12px; margin-right: calc(-1 * max(20px, env(safe-area-inset-right, 0px))); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
  .row5 > * { flex: 0 0 min(250px, 72%); scroll-snap-align: start; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .logo img { height: 48px; }
  .menu-btn { display: inline-flex; }
  .primary-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(31, 58, 77, .1); max-height: calc(100vh - var(--header-h) - 20px); overflow-y: auto; }
  .primary-nav.is-open { display: block; }
  .primary-nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px max(20px, env(safe-area-inset-right, 0px)) 20px max(20px, env(safe-area-inset-left, 0px)); }
  .primary-nav > ul > li { border-bottom: 1px solid var(--line); }
  .primary-nav a, .nav-toggle-sub { width: 100%; justify-content: space-between; min-height: 52px; font-size: 1rem; }
  .sub { position: static; display: none; width: auto; box-shadow: none; border: 0; padding: 0 0 12px; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { display: none; }
  .has-sub.is-open .sub { display: block; }
  .has-sub:hover::after { display: none; }
  .mobile-only { display: block; border-bottom: 0 !important; padding-top: 16px; }
  .mobile-only .btn { width: 100%; color: #fff; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .order-grid { grid-template-columns: minmax(0, 1fr); }
  .topbar__tagline { display: none; }
}
@media (max-width: 700px) {
  body { padding-bottom: 76px; }
  .slide { display: flex; flex-direction: column; }
  .slide__media { position: relative; inset: auto; height: 220px; }
  .slide__inner { min-height: 0; padding-block: 0; }
  .slide__card { box-shadow: none; padding: 28px 0 64px; max-width: none; background: transparent; }
  .hero { background: var(--bg); }
  .hero__arrow { top: 110px; }
  .hero__dots { bottom: 16px; }
  .cat-grid { gap: 14px; }
  .card__body { padding: 16px; }
  .card__body p { display: none; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .topbar__inner { justify-content: center; text-align: center; }
  .sticky-bar {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    background: var(--bg); border-top: 1px solid var(--line);
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  }
  .sticky-bar .btn { flex: 1; padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide, .card, .btn, .hero__dot span, .nav-toggle-sub svg { transition: none; }
  .card:hover { transform: none; }
}

/* ==========================================================================
   Inner pages: page hero, about, contact, category archive, product detail
   ========================================================================== */
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

/* page hero + breadcrumbs */
.page-hero { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding-block: clamp(32px, 5vw, 56px); }
.page-hero--tight { padding-block: 16px; }
.page-hero .wrap { display: flex; flex-direction: column; gap: 14px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: #98a5ab; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--teal); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.nav-toggle-sub.is-current { color: var(--teal); box-shadow: 0 2px 0 var(--navy); }

/* cta band */
.cta-band { background: var(--navy); color: #fff; padding-block: clamp(40px, 5vw, 64px); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px 40px; }
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-bottom: 8px; }
.cta-band p { color: #d3dde4; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.form-panel { align-items: stretch; scroll-margin-top: calc(var(--header-h) + 24px); }
.form-panel form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: .84rem; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--ink);
  background: var(--bg); border: 1px solid #aab6ba; border-radius: var(--radius);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.field .is-invalid { border-color: #a6322a; }
.form-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.form-status { font-size: .95rem; color: var(--teal); font-weight: 600; }
.form-status.is-error { color: #a6322a; }
.contact-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.info-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; background: var(--bg); }
.info-card h3 { font-size: 1rem; }
.info-list { display: flex; flex-direction: column; gap: 12px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list svg { flex: none; color: var(--teal); margin-top: 3px; }
.info-list a { text-decoration: none; font-weight: 600; }
.info-list a:hover { color: var(--teal); text-decoration: underline; }
.info-list address { font-style: normal; line-height: 1.6; }
.map-ph { min-height: 200px; border-radius: var(--radius); }
.map-link { position: absolute; left: 16px; top: 16px; background: rgba(255,255,255,.92); padding: 8px 12px; border-radius: var(--radius); }

/* category archive */
.shop { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(28px, 4vw, 48px); align-items: start; }
.shop__side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--header-h) + 20px); }
.filter { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.filter summary { cursor: pointer; padding: 14px 18px; font-family: var(--font-display); font-weight: 700; font-size: .9rem; color: var(--navy); min-height: 48px; display: flex; align-items: center; }
.filter__list { padding: 0 18px 16px; display: flex; flex-direction: column; gap: 4px; }
.filter__list a { display: block; padding: 8px 0; text-decoration: none; color: var(--ink); }
.filter__list a:hover { color: var(--teal); }
.filter__list a[aria-current="page"] { font-weight: 700; color: var(--teal); }
.check { display: flex; align-items: center; gap: 10px; min-height: 40px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--navy); }
.side-cta { background: var(--sand-soft); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.side-cta p { color: var(--charcoal); font-size: .95rem; }
.shop__bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.sort { display: flex; align-items: center; gap: 10px; font-size: .92rem; }
.sort select { min-height: 44px; padding: 0 12px; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid #aab6ba; border-radius: var(--radius); }
.prod-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.prod-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card__img { display: block; }
.card .card__img .ph { aspect-ratio: 1 / 1; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--teal); }
.card__actions { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.pager { display: flex; gap: 8px; margin: 40px 0 16px; flex-wrap: wrap; }
.pager__item { min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: .9rem; }
a.pager__item:hover { border-color: var(--navy); }
.pager__item.is-current { background: var(--navy); border-color: var(--navy); color: #fff; }

/* product detail */
.product { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 64px); align-items: start; }
.gallery { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.gallery__main { aspect-ratio: 1 / 1; border-radius: var(--radius); }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.thumb { padding: 0; border: 2px solid var(--line); border-radius: var(--radius); background: none; cursor: pointer; overflow: hidden; }
.thumb .ph { display: block; aspect-ratio: 1 / 1; }
.thumb.is-active { border-color: var(--navy); }
.summary { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; min-width: 0; }
.sizes { border: 0; padding: 0; margin: 0; min-width: 0; }
.sizes legend { font-family: var(--font-display); font-weight: 700; font-size: .84rem; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin-bottom: 10px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 16px; border: 1px solid #aab6ba; border-radius: 999px; font-size: .92rem; font-weight: 600; }
.meta { display: flex; flex-direction: column; gap: 6px; margin: 0; padding-top: 20px; border-top: 1px solid var(--line); width: 100%; font-size: .92rem; }
.meta div { display: flex; gap: 12px; }
.meta dt { color: var(--muted); min-width: 80px; }
.meta dd { margin: 0; font-weight: 600; }
.meta a { text-decoration: none; }
.meta a:hover { color: var(--teal); text-decoration: underline; }
.tabs-wrap { margin-top: clamp(40px, 6vw, 72px); }
.tabs { display: none; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab { flex: none; min-height: 48px; padding: 0 22px; background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; font-family: var(--font-display); font-weight: 700; font-size: .92rem; color: var(--muted); cursor: pointer; }
.tab:hover { color: var(--navy); }
.tab[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--navy); }
.tabpanel { padding-top: 28px; max-width: 100%; display: flex; flex-direction: column; gap: 14px; color: var(--ink); }
.table-scroll { overflow-x: auto; }
.spec { width: 100%; border-collapse: collapse; }
.spec th, .spec td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 38%; font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--navy); background: var(--bg-alt); }

@media (max-width: 1100px) {
  .prod-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .contact-grid, .product, .shop { grid-template-columns: minmax(0, 1fr); }
  .shop__side { position: static; }
  .grid3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .prod-grid { gap: 14px; }
  .prod-grid .card__body, .prod-grid--4 .card__body { padding: 14px; }
  .tab { padding: 0 16px; }
  .spec th { width: 42%; }
}


/* ==========================================================================
   WordPress additions
   ========================================================================== */
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal; }
.screen-reader-text:focus { clip: auto; clip-path: none; height: auto; width: auto; margin: 0; padding: 12px 18px; background: #fff; color: var(--navy); z-index: 100000; top: 8px; left: 8px; }
.admin-bar .site-header { top: calc(32px + env(safe-area-inset-top, 0px)); }
@media (max-width: 782px) { .admin-bar .site-header { top: calc(46px + env(safe-area-inset-top, 0px)); } }
@media (max-width: 600px) { .admin-bar .site-header { top: env(safe-area-inset-top, 0px); } }
.custom-logo-link { display: block; flex: none; }
.custom-logo { height: 56px; width: auto; max-width: none; }
.wrap--narrow { max-width: 820px; }

/* images inside the frame */
.ph.has-img { background: none; }
.ph.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.ph:not([data-label])::after { display: none; }
.ph--mini { display: block; }
.thumb .ph--mini { width: 100%; }

/* rich text from the editor */
.entry-content > * + * { margin-top: 1em; }
.entry-content h2, .entry-content h3 { margin-top: 1.4em; }
.entry-content p, .entry-content li { color: var(--muted); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; list-style: revert; }
.entry-content a { color: var(--teal); text-decoration: underline; }
.entry-content img { border-radius: var(--radius); }
.split__text.entry-content { align-items: flex-start; }
.split__text.entry-content > * + * { margin-top: 0; }
.split__text.entry-content > p { max-width: 60ch; }
.tabpanel.entry-content > * + * { margin-top: 1em; }

/* footer lists from wp_nav_menu */
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }

/* buttons */
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .82rem; }
a.eyebrow { text-decoration: none; }
a.eyebrow:hover { text-decoration: underline; }

/* contact form */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { padding: 14px 18px; border-radius: var(--radius); font-weight: 600; border: 1px solid; width: 100%; }
.form-alert--ok { background: var(--teal-soft); border-color: var(--teal); color: #1d3b3e; }
.form-alert--bad { background: #f6e4e2; border-color: #a6322a; color: #6f1f1a; }
.map-card { display: flex; }

/* reviews */
.review { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; background: var(--bg); }
.review__stars { color: var(--sand); letter-spacing: 3px; font-size: 1.1rem; }
.review blockquote { margin: 0; color: var(--ink); }
.review blockquote p { margin: 0 0 .6em; }
.review figcaption { font-size: .9rem; color: var(--muted); }
.review figcaption strong { color: var(--navy); }

/* empty states, plain lists */
.empty { align-items: flex-start; }
.post-item { padding-block: 24px; border-bottom: 1px solid var(--line); }
.post-item h2 { font-size: 1.4rem; margin-bottom: 6px; }
.post-item h2 a { text-decoration: none; }

/* WordPress pagination markup */
.navigation.pagination { margin: 40px 0 16px; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.nav-links .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: .9rem; }
.nav-links a.page-numbers:hover { border-color: var(--navy); }
.nav-links .page-numbers.current { background: var(--navy); border-color: var(--navy); color: #fff; }
.nav-links .dots { border: 0; }
