/* ==========================================================================
   Vibershield Technologies — site styles
   Natural green & cream theme · DM Serif Display (display) + DM Sans (text)
   ========================================================================== */

:root {
  --green-950: #0d2117;
  --green-900: #14301f;
  --green-800: #1c4129;
  --green-700: #265939;
  --green-600: #2f7048;
  --green-200: #cfe2d4;
  --green-100: #e6f0e8;
  --cream: #faf7ef;
  --cream-2: #f2ecdd;
  --white: #ffffff;
  --ink: #1d2a22;
  --ink-soft: #46564c;
  --brass: #a8842f;
  --brass-deep: #8a6b22;
  --brass-light: #d9bd77;
  --danger: #a33b2e;
  --radius: 16px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 3px rgba(20, 48, 31, .10);
  --shadow-md: 0 6px 24px rgba(20, 48, 31, .13);
  --shadow-lg: 0 18px 50px rgba(13, 33, 23, .22);
  --font-display: "DM Serif Display", Georgia, serif;
  --font-text: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Stop iOS/Android from inflating text on rotation, which reflows the page */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

/* Belt & braces: never allow stray horizontal overflow to widen the page on
   phones (causes side-to-side jiggle and apparent zoom changes while
   scrolling). `clip` — unlike `hidden` — doesn't create a scroll container,
   so position:sticky on the header keeps working. */
html, body { overflow-x: clip; }

img { max-width: 100%; display: block; }

a { color: var(--green-700); }
a:hover { color: var(--green-600); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400; /* DM Serif Display has a single weight; never faux-bold it */
  letter-spacing: -.01em;
  line-height: 1.15;
  color: var(--green-900);
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.35rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

.eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: .9em;
}
/* display:inline-block above defeats the plain [hidden] attribute; this lets
   a hidden eyebrow actually disappear (e.g. empty cart "Almost there"). */
.eyebrow[hidden] { display: none; }

.section { padding: 72px 0; }
.section--tight { padding: 44px 0; }
.section--green {
  background: var(--green-900);
  color: var(--green-100);
}
.section--green h2, .section--green h3 { color: var(--white); }
.section--green .eyebrow { color: var(--brass-light); }
.section--cream2 { background: var(--cream-2); }

.center { text-align: center; }
.muted { color: var(--ink-soft); }
.section--green .muted { color: var(--green-200); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  font-family: var(--font-text);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
  padding: .9em 1.7em;
  border-radius: 999px;
  border: 2px solid var(--green-800);
  background: var(--green-800);
  color: var(--white);
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { background: var(--green-700); border-color: var(--green-700); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--gold { background: var(--brass); border-color: var(--brass); color: var(--white); }
.btn--gold:hover { background: var(--brass-deep); border-color: var(--brass-deep); }
.btn--ghost { background: transparent; color: var(--green-800); }
.btn--ghost:hover { background: var(--green-100); color: var(--green-900); box-shadow: none; }
.btn--light { background: var(--white); border-color: var(--white); color: var(--green-900); }
.btn--light:hover { background: var(--cream-2); border-color: var(--cream-2); color: var(--green-900); }
.btn--big { font-size: 1.18rem; padding: 1.05em 2.1em; }
.btn--block { display: flex; width: 100%; }

/* ---------- Announcement bar ---------- */

.announce {
  background: var(--brass);
  color: #fff;
  text-align: center;
  font-weight: 600;
  font-size: .98rem;
  padding: 10px 18px;
}
.announce:empty { display: none; }

/* ---------- Header ---------- */

/* The header is injected into a <div data-header> placeholder. Without this,
   that wrapper becomes the sticky header's containing block and the header
   un-sticks after ~80px of scroll. display:contents removes the wrapper's box
   so the announce bar + header act as direct children of <body>. */
[data-header] { display: contents; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 247, 239, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(28, 65, 41, .12);
}
.site-header__in {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 76px;
  max-width: 1380px; /* wider than .wrap so all nav items stay on one line */
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.logo-svg { height: 48px; width: auto; display: block; }
/* The wordmark is ~6:1, so a fixed height made it ~240px wide on phones and
   pushed the cart/menu off the right edge. On phones let the brand shrink so
   the logo gives up width to the fixed-size controls beside it instead of
   overflowing — self-adjusts to any phone width. */
@media (max-width: 560px) {
  .brand { min-width: 0; }
  .logo-svg { height: auto; width: auto; max-height: 42px; max-width: 100%; min-width: 0; }
}

/* nowrap: never allow a second nav row — below the breakpoint we switch to
   the hamburger menu instead */
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; }
.nav a {
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  text-decoration: none;
  padding: .55em .7em;
  border-radius: 999px;
  transition: background .15s ease;
  white-space: nowrap;
}
.nav a:hover { background: var(--green-100); color: var(--green-900); }
.nav a.is-active { background: var(--green-800); color: var(--white); }

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  background: var(--green-800);
  border-radius: 999px;
  padding: .62em 1.25em;
  text-decoration: none;
  transition: background .15s ease, transform .15s ease;
}
.cart-btn:hover { background: var(--green-700); color: var(--white); transform: translateY(-1px); }
.cart-btn svg { width: 21px; height: 21px; }
.cart-btn__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--brass);
  color: #fff;
  font-size: .85rem;
  font-weight: 800;
}

/* Secondary "Dealer Login" pill — outlined so it reads as distinct from the cart */
.dealer-link {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-weight: 700;
  font-size: 1rem;
  color: var(--green-900);
  background: transparent;
  border: 2px solid var(--green-800);
  border-radius: 999px;
  padding: .5em 1.05em;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.dealer-link:hover { background: var(--green-800); color: var(--white); }
.dealer-link svg { width: 19px; height: 19px; }

/* ---- Condense header on scroll-down, expand on scroll-up ---- */
.site-header__in { transition: min-height .25s ease; }
.logo-svg        { transition: height .25s ease; }
.cart-btn svg, .dealer-link svg { transition: width .25s ease, height .25s ease; }

.site-header.is-condensed .site-header__in { min-height: 54px; }
.site-header.is-condensed .logo-svg        { height: 34px; }
.site-header.is-condensed .nav a           { padding-top: .35em; padding-bottom: .35em; }
.site-header.is-condensed .cart-btn        { padding: .42em 1em; font-size: .92rem; }
.site-header.is-condensed .cart-btn svg    { width: 18px; height: 18px; }
.site-header.is-condensed .dealer-link     { padding: .35em .9em; font-size: .92rem; }
.site-header.is-condensed .dealer-link svg { width: 17px; height: 17px; }

@media (prefers-reduced-motion: reduce) {
  .site-header__in, .logo-svg, .cart-btn svg, .dealer-link svg { transition: none; }
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--green-800);
  border-radius: 10px;
  padding: 7px 10px;
  cursor: pointer;
  color: var(--green-900);
}

@media (max-width: 1360px) {
  .nav-toggle { display: inline-flex; }
  .site-header__in { gap: 12px; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--cream);
    border-bottom: 1px solid rgba(28, 65, 41, .15);
    box-shadow: var(--shadow-md);
    padding: 12px 18px 18px;
  }
  .nav.is-open { display: flex; }
  .nav a { font-size: 1.15rem; padding: .8em 1em; }
}

/* On phones, collapse the Dealer Login pill to an icon so it fits beside Cart */
@media (max-width: 560px) {
  .dealer-link .dl-text { display: none; }
  .dealer-link { padding: .5em .62em; }
  .site-header.is-condensed .dealer-link { padding: .4em .55em; }
  .site-header__in { gap: 10px; }
}

/* On small phones the bar is tight (wide wordmark + menu + cart), so tighten
   its padding and drop the "Cart" word — the icon + count badge carry it. */
@media (max-width: 480px) {
  .site-header__in { padding-left: 16px; padding-right: 16px; }
  .cart-btn { padding: .5em .72em; }
  .cart-btn span:not(.cart-btn__count) { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: radial-gradient(1100px 520px at 70% -10%, var(--green-700), transparent 60%), var(--green-900);
  color: var(--green-100);
  overflow: hidden;
}
.hero__in {
  position: relative;
  z-index: 2;
  padding: 96px 0 110px;
  max-width: 720px;
}
.hero h1 { color: var(--white); margin-bottom: .35em; }
.hero p.lead { font-size: 1.22rem; color: var(--green-200); max-width: 56ch; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 2em; }

/* vibration rings */
.rings { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.rings span {
  position: absolute;
  top: 50%; left: 78%;
  width: 120px; height: 120px;
  margin: -60px 0 0 -60px;
  border: 3px solid rgba(217, 189, 119, .5);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(217, 189, 119, .2), inset 0 0 10px rgba(217, 189, 119, .14);
  animation: ring 7s linear infinite backwards;
}
.rings span:nth-child(2) { animation-delay: 1.75s; }
.rings span:nth-child(3) { animation-delay: 3.5s; }
.rings span:nth-child(4) { animation-delay: 5.25s; }
@keyframes ring {
  0%   { transform: scale(.2); opacity: 0; }
  12%  { opacity: .9; }
  100% { transform: scale(7); opacity: 0; }
}
@media (max-width: 760px) { .rings span { left: 50%; } }

/* little undulating planet at the heart of the rings */
.planet {
  position: absolute;
  top: 50%; left: 78%;
  width: 116px; height: 116px;
  margin: -58px 0 0 -58px;
  z-index: 1;
  pointer-events: none;
  animation: planet-float 9s ease-in-out infinite;
}
.planet__body {
  position: absolute; inset: 13px;
  z-index: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%,
    var(--green-600), var(--green-800) 52%, var(--green-950) 100%);
  box-shadow:
    inset -8px -10px 22px rgba(0, 0, 0, .55),
    inset 6px 8px 18px rgba(217, 189, 119, .18),
    0 0 32px rgba(217, 189, 119, .22);
}
.planet__body::after {
  content: ""; position: absolute;
  top: 17%; left: 23%; width: 30%; height: 24%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 240, 232, .5), transparent 70%);
  filter: blur(1px);
}
/* the swoop — a tilted orbital ring crossing the planet */
.planet__swoop {
  position: absolute; top: 50%; left: 50%;
  width: 158px; height: 56px;
  margin: -28px 0 0 -79px;
  border: 5px solid rgba(224, 49, 49, .95);
  border-radius: 50%;
  box-shadow:
    0 0 18px rgba(224, 49, 49, .55),
    0 0 6px rgba(255, 140, 110, .6),
    inset 0 0 10px rgba(255, 120, 90, .35);
  animation: planet-swoop 9s ease-in-out infinite, swoop-glow 4.5s ease-in-out infinite;
}
/* split the ring at the planet's centerline so the far arc hides behind the ball */
.planet__swoop--back  { z-index: 0; clip-path: inset(-60% -60% 49% -60%); }
.planet__swoop--front { z-index: 2; clip-path: inset(49% -60% -60% -60%); }
@keyframes swoop-glow {
  0%, 100% { filter: drop-shadow(0 0 2px rgba(224, 49, 49, .3)); }
  50%      { filter: drop-shadow(0 0 9px rgba(255, 90, 70, .75)); }
}
@keyframes planet-float {
  0%, 100% { transform: translateY(-7px); }
  50%      { transform: translateY(7px); }
}
@keyframes planet-swoop {
  0%, 100% { transform: rotate(-26deg) scaleX(1); }
  50%      { transform: rotate(-15deg) scaleX(1.05); }
}
@media (max-width: 760px) { .planet { left: 50%; } }

/* wave divider */
.wave { display: block; width: 100%; height: 70px; margin-top: -1px; }

/* ---------- Cards / grids ---------- */

.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* category tiles */
.cat-tile {
  position: relative;
  display: block;
  text-decoration: none;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 26px 16px 20px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cat-tile img {
  width: 130px; height: 130px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 14px;
  border: 4px solid var(--green-100);
  background: var(--white);
}
.cat-tile strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.18rem; color: var(--green-900); }
.cat-tile span { font-size: .92rem; color: var(--ink-soft); }

/* product cards (front-page showcase) */
.prod-card { display: flex; flex-direction: column; text-decoration: none; }
.prod-card__img { aspect-ratio: 1; object-fit: cover; width: 100%; background: #fff; }
.prod-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.prod-card__name { font-family: var(--font-display); font-size: 1.16rem; font-weight: 400; color: var(--green-900); line-height: 1.3; }
.prod-card__price { margin-top: auto; font-size: 1.22rem; font-weight: 800; color: var(--green-800); }
.prod-card__teaser { font-size: .93rem; color: var(--ink-soft); }

/* category blocks (shop landing) */
.cat-blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 980px) { .cat-blocks { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cat-blocks { grid-template-columns: 1fr; } }
.cat-block {
  position: relative;
  display: flex; flex-direction: column;
  text-align: left;
  background: var(--white);
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  padding: 0;
  font: inherit;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.cat-block:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cat-block:focus-visible { outline: 3px solid var(--green-700); outline-offset: 2px; }
.cat-block__media { position: relative; width: 100%; aspect-ratio: 4 / 3; background: var(--green-100); overflow: hidden; }
.cat-block__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.cat-block__img.is-on { opacity: 1; }
.cat-block__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 4px; }
.cat-block__name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; color: var(--green-900); }
.cat-block__count { font-size: .92rem; color: var(--ink-soft); font-weight: 600; }
.cat-block__cta { margin-top: 6px; font-size: .9rem; font-weight: 700; color: var(--green-800); }
.cat-block:hover .cat-block__cta { text-decoration: underline; }

/* testimonial cards */
.quote-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px 28px 24px;
  position: relative;
}
.quote-card::before {
  content: "“";
  font-family: var(--font-display);
  font-size: 3.6rem;
  line-height: 1;
  color: var(--brass-light);
  display: block;
  margin-bottom: 2px;
}
.quote-card p { margin: 0 0 14px; font-size: 1.02rem; }
.quote-card cite { font-style: normal; font-weight: 700; color: var(--green-800); }
.section--green .quote-card { background: rgba(255, 255, 255, .07); box-shadow: none; }
.section--green .quote-card p { color: var(--green-100); }
.section--green .quote-card cite { color: var(--brass-light); }

/* ---------- Dealer cards ---------- */

.dealer-grid { display: grid; gap: 30px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px) { .dealer-grid { grid-template-columns: 1fr; } }

.dealer-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 30px;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
}
@media (max-width: 520px) { .dealer-card { grid-template-columns: 1fr; text-align: center; } }
.dealer-card__photo {
  width: 150px; height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid var(--green-100);
}
/* Fallback shown when a dealer photo is missing/fails to load. Hidden in the
   DOM until the photo's onerror reveals it (the [hidden] rule must win over
   the display:flex below). */
.dealer-card__photo--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-700);
  color: var(--white);
  font-weight: 800;
  font-size: 2.6rem;
  letter-spacing: .02em;
  line-height: 1;
  text-transform: uppercase;
  user-select: none;
}
.dealer-card__photo--initials[hidden] { display: none; }
@media (max-width: 520px) { .dealer-card__photo { margin: 0 auto; } }
.dealer-card h3 { margin-bottom: 2px; font-size: 1.45rem; }
.dealer-card__biz { font-weight: 700; color: var(--brass-deep); margin: 0 0 2px; }
.dealer-card__loc { color: var(--ink-soft); margin: 0 0 12px; font-size: .98rem; }
.dealer-card__bio { font-size: .99rem; color: var(--ink-soft); margin: 0 0 8px; }
.dealer-card__bio.is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bio-toggle {
  background: none; border: none; padding: 0;
  font: inherit; font-weight: 700; color: var(--green-700);
  cursor: pointer; text-decoration: underline;
}
.dealer-card__call {
  display: inline-flex; align-items: center; gap: .5em;
  margin-top: 12px;
  font-size: 1.12rem; font-weight: 800;
  color: var(--white); background: var(--green-800);
  padding: .6em 1.3em; border-radius: 999px; text-decoration: none;
}
.dealer-card__call:hover { background: var(--green-700); color: var(--white); }

/* ---------- Calendar ---------- */

.cal-layout { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1080px) {
  .cal-layout { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .cal-layout .evt-list { margin-top: 0; }
}

.cal-shell { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 26px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.cal-head h3 { margin: 0; font-size: 1.7rem; }
.cal-nav { display: flex; gap: 8px; }
.cal-nav button {
  font: inherit; font-weight: 700;
  background: var(--green-100); color: var(--green-900);
  border: none; border-radius: 12px; padding: .5em 1em; cursor: pointer;
}
.cal-nav button:hover { background: var(--green-200); }

/* 7 equal columns; every week-row shares one height so cells never go ragged */
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 6px; }
.cal-grid .cal-dow { align-self: end; }
.cal-dow { text-align: center; font-size: .8rem; font-weight: 800; letter-spacing: .08em; color: var(--ink-soft); text-transform: uppercase; padding: 6px 0; }
.cal-day {
  min-height: 92px;
  background: var(--cream);
  border-radius: 10px;
  padding: 6px 8px;
  font-size: .95rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}
.cal-day--out { opacity: .35; }
.cal-day--today { outline: 3px solid var(--brass); outline-offset: -3px; }
.cal-day__num { font-weight: 700; color: var(--ink-soft); }
.cal-day--today .cal-day__num { color: var(--brass-deep); }
.cal-evt {
  display: block;
  background: var(--green-800);
  color: #fff;
  font-size: .76rem;
  font-weight: 600;
  line-height: 1.25;
  border-radius: 6px;
  padding: 3px 7px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  min-width: 0;
}
/* continuation days of a multi-day event get a quieter bar */
.cal-evt--cont { background: var(--green-200); color: var(--green-900); }
@media (max-width: 720px) {
  .cal-shell { padding: 14px; }
  .cal-day { min-height: 58px; padding: 4px 6px; font-size: .85rem; }
  .cal-evt, .cal-evt--cont { font-size: 0; padding: 0; height: 8px; width: 8px; border-radius: 50%; margin: 3px auto 0; flex: none; }
}

/* clickable days + event details popup */
.cal-day--has-events { cursor: pointer; transition: background .12s ease; }
.cal-day--has-events:hover { background: var(--green-100); }

.evt-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(13, 33, 23, .58);
  z-index: 130;
  display: flex; align-items: center; justify-content: center;
  padding: 22px;
  opacity: 0; pointer-events: none;
  transition: opacity .18s ease;
}
.evt-modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.evt-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 560px; width: 100%;
  /* svh = viewport with the mobile URL bar visible, so the modal never sits
     taller than the screen; vh fallback for older browsers */
  max-height: 86vh; max-height: 86svh; overflow: auto;
  padding: 30px 32px 28px;
  position: relative;
  transform: translateY(16px);
  transition: transform .18s ease;
}
.evt-modal-overlay.is-open .evt-modal { transform: none; }
.evt-modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 40px; height: 40px;
  border: none; border-radius: 50%;
  background: var(--green-100); color: var(--green-900);
  font-size: 1.3rem; font-weight: 800; line-height: 1;
  cursor: pointer;
}
.evt-modal__close:hover { background: var(--green-200); }
.evt-modal__date {
  font-size: .85rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brass-deep);
}
.evt-modal article + article { border-top: 2px solid var(--green-100); margin-top: 22px; padding-top: 22px; }
.evt-modal h3 { margin: 6px 0 10px; font-size: 1.5rem; }
.evt-modal .evt-modal__meta { display: flex; flex-direction: column; gap: 6px; margin: 0 0 12px; font-weight: 600; color: var(--green-700); }
.evt-modal .evt-modal__meta span { display: flex; gap: 9px; align-items: baseline; }
.evt-modal p { margin: 0; color: var(--ink-soft); }
@media (prefers-reduced-motion: reduce) {
  .evt-modal-overlay, .evt-modal { transition: none; }
}

.evt-list { display: grid; gap: 16px; margin-top: 34px; }
.evt-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 20px 24px;
  align-items: center;
}
.evt-date {
  text-align: center;
  background: var(--green-100);
  border-radius: 12px;
  padding: 10px 6px;
  line-height: 1.15;
}
.evt-date strong { display: block; font-size: 1.65rem; font-family: var(--font-display); font-weight: 400; color: var(--green-900); }
.evt-date span { font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--brass-deep); }
.evt-item h4 { margin: 0 0 4px; font-size: 1.22rem; }
.evt-item p { margin: 0; color: var(--ink-soft); font-size: .97rem; }
.evt-item .evt-meta { font-weight: 600; color: var(--green-700); }

/* ---------- Footer ---------- */

.site-footer { background: var(--green-950); color: var(--green-200); padding: 60px 0 30px; margin-top: 80px; }
.site-footer a { color: var(--green-100); text-decoration: none; }
.site-footer a:hover { color: var(--brass-light); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 36px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--white); font-size: 1.05rem; margin-bottom: .8em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .97rem; }
.footer-logo { height: 38px; width: auto; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: .92; display: block; }
.footer-disclaimer { font-size: .84rem; color: rgba(207, 226, 212, .65); margin-top: 36px; border-top: 1px solid rgba(207, 226, 212, .18); padding-top: 22px; }
.footer-social { display: flex; gap: 12px; margin-top: 14px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}
.footer-social svg { width: 19px; height: 19px; fill: currentColor; }

/* ---------- Shop page ---------- */

.shop-head { padding: 36px 0 10px; }

.shop-search {
  position: relative;
  max-width: 540px;
  margin: 18px 0 16px;
}
.shop-search input {
  width: 100%;
  font: inherit;
  font-size: 1.08rem;
  padding: 14px 20px 14px 52px;
  border: 2px solid var(--green-200);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
}
.shop-search input:focus { outline: none; border-color: var(--green-700); }
.shop-search svg {
  position: absolute; left: 19px; top: 50%; transform: translateY(-50%);
  width: 21px; height: 21px; color: var(--ink-soft); pointer-events: none;
}

.chip-row { display: flex; gap: 9px; flex-wrap: wrap; padding-bottom: 8px; }
.chip {
  font: inherit;
  font-weight: 700;
  font-size: .96rem;
  color: var(--green-900);
  background: var(--white);
  border: 2px solid var(--green-200);
  border-radius: 999px;
  padding: .48em 1.1em;
  cursor: pointer;
  transition: all .13s ease;
}
.chip:hover { border-color: var(--green-700); background: var(--green-100); }
.chip.is-on { background: var(--green-800); border-color: var(--green-800); color: var(--white); }

.shop-meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 6px 0 18px; }
.shop-count { color: var(--ink-soft); font-size: .96rem; font-weight: 600; }
.shop-sort { display: flex; align-items: center; gap: 8px; font-size: .93rem; color: var(--ink-soft); font-weight: 600; }
.shop-sort select {
  font: inherit; font-weight: 700; color: var(--green-900);
  border: 2px solid var(--green-200); border-radius: 10px;
  padding: 7px 10px; background: var(--white); cursor: pointer;
}

.prod-card { position: relative; cursor: pointer; }
.prod-card__tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--ink-soft); color: #fff;
  font-size: .78rem; font-weight: 800; letter-spacing: .04em;
  border-radius: 999px; padding: 4px 12px;
}
.prod-card__cta {
  margin-top: 10px;
  font-size: .9rem; font-weight: 700; color: var(--green-700);
}
.prod-card:hover .prod-card__cta { text-decoration: underline; }

.shop-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* browse <-> product detail modes */
.shop-detail { padding: 10px 0 40px; }
.shop-detail[hidden] { display: none; }
.offstage { position: absolute !important; left: -9999px; top: 0; width: 1200px; visibility: hidden; }
.back-bar { padding: 14px 0 6px; }
.back-btn {
  display: inline-flex; align-items: center; gap: .5em;
  font: inherit; font-size: 1.02rem; font-weight: 800;
  color: var(--green-900); background: var(--green-100);
  border: none; border-radius: 999px; padding: .6em 1.4em; cursor: pointer;
}
.back-btn:hover { background: var(--green-200); }

/* snackbar (added-to-cart confirmation) */
.snackbar {
  position: fixed;
  left: 50%; bottom: 26px;
  transform: translate(-50%, 140%);
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: var(--green-900); color: #fff;
  border-radius: 16px;
  padding: 15px 22px;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  transition: transform .3s ease, opacity .3s ease, visibility .3s ease;
  z-index: 90;
  max-width: min(92vw, 560px);
  /* Inert until an add-to-cart fires (see .is-up): off-screen alone wasn't
     enough — it stayed visible to screen readers and could peek into view. */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.snackbar.is-up {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.snackbar a {
  color: #fff; text-decoration: none;
  background: var(--brass); border-radius: 999px; padding: .45em 1.1em;
  font-size: .95rem; white-space: nowrap;
}
.snackbar a.snackbar__ghost { background: rgba(255,255,255,.14); }
.snackbar a:hover { filter: brightness(1.08); color: #fff; }

/* ---------- Cart page ---------- */

.cart-layout { display: grid; gap: 30px; align-items: start; }
@media (min-width: 980px) { .cart-layout { grid-template-columns: minmax(0, 1fr) 340px; } }

.cart-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 18px 20px;
  margin-bottom: 14px;
}
.cart-row__img {
  width: 92px; height: 92px; object-fit: cover;
  border-radius: 12px; background: var(--green-100);
}
.cart-row__name { font-family: var(--font-display); font-weight: 400; font-size: 1.13rem; color: var(--green-900); line-height: 1.3; }
.cart-row__opts { font-size: .9rem; color: var(--ink-soft); margin-top: 3px; }
.cart-row__price { font-weight: 800; color: var(--green-800); font-size: 1.1rem; margin-top: 6px; }
.cart-row__side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }

.qty-step { display: inline-flex; align-items: center; border: 2px solid var(--green-200); border-radius: 999px; overflow: hidden; }
.qty-step button {
  font: inherit; font-size: 1.25rem; font-weight: 800; line-height: 1;
  width: 42px; height: 40px;
  border: none; background: var(--white); color: var(--green-900); cursor: pointer;
}
.qty-step button:hover:not(:disabled) { background: var(--green-100); }
.qty-step button:disabled { opacity: .35; cursor: default; }
.qty-step span { min-width: 38px; text-align: center; font-weight: 800; font-size: 1.05rem; }

.cart-remove {
  font: inherit; font-size: .9rem; font-weight: 700;
  color: var(--danger); background: none; border: none; cursor: pointer;
  text-decoration: underline; padding: 2px 4px;
}

.cart-summary {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 26px;
  position: sticky;
  top: 100px;
}
.cart-summary h3 { margin-bottom: 14px; }
.cart-summary .line { display: flex; justify-content: space-between; font-size: 1.05rem; padding: 7px 0; }
.cart-summary .line strong { font-size: 1.3rem; color: var(--green-900); }
.cart-summary .fine { font-size: .88rem; color: var(--ink-soft); margin: 10px 0 18px; }
.cart-summary .ship-note { font-size: .88rem; padding: 12px 16px; border-left-width: 4px; margin: 0 0 18px; }

.cart-empty { text-align: center; padding: 70px 20px; }
.cart-empty svg { width: 70px; height: 70px; color: var(--green-200); margin-bottom: 14px; }

@media (max-width: 560px) {
  .cart-row { grid-template-columns: 72px minmax(0, 1fr); }
  .cart-row__img { width: 72px; height: 72px; }
  .cart-row__side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
}

#vs-store { min-height: 40vh; min-height: 40svh; }

/* Ecwid widget polish — bigger, friendlier type & brand buttons */
.ec-size .ecwid-productBrowser { font-family: var(--font-text) !important; }
#vs-store .grid-product__title-inner { font-size: 1.05rem !important; line-height: 1.35 !important; }
#vs-store .grid-product__price-value { font-size: 1.15rem !important; font-weight: 800 !important; color: var(--green-800) !important; }
#vs-store .form-control__button,
#vs-store .form-control--primary {
  border-radius: 999px !important;
}
#vs-store .ec-breadcrumbs { font-size: .95rem !important; }
#vs-store .grid-category__title-inner { font-family: var(--font-display) !important; font-weight: 400 !important; font-size: 1.2rem !important; }

/* hide the dealer category from public storefront navigation (belt & braces) */
.vs-public-store a[href*="21575220"],
.vs-public-store a[href*="Dealer-Products"],
.vs-public-store [data-vs-hidden="1"] { display: none !important; }

/* ---------- Reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Misc ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

.stat-row { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 26px; }
.stat strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 2.3rem; color: var(--brass-light); line-height: 1.1; }
.stat span { font-size: .95rem; }

.notice-box {
  background: var(--green-100);
  border-left: 6px solid var(--green-700);
  border-radius: 10px;
  padding: 18px 22px;
  font-size: .97rem;
}

.legal-block h2 { margin-top: 1.6em; scroll-margin-top: 90px; }
.legal-block h2:first-child { margin-top: 0; }

/* ---------- Video testimonials ---------- */

.video-card { padding: 14px; margin: 0; }
.video-card video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  background: var(--green-950);
}
.video-card figcaption { font-weight: 700; margin-top: 10px; text-align: center; }
.video-card figcaption span { display: block; font-weight: 500; font-size: .88rem; color: var(--ink-soft); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rings span { animation: none; opacity: .25; transform: scale(2.4); }
  .planet { animation: none; }
  .planet__swoop { animation: none; transform: rotate(-22deg); }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .cat-tile, .cat-block, .btn { transition: none; }
  .cat-block__img { transition: none; }
}

/* ============================================================
   Phones: two product cards per row (shop, dealer store, home
   showcase) and two category tiles per row. One-per-row made a
   category ~13 screens tall. Cards are the whole link, so the long
   "View options & add to cart" line and the teaser drop out here.
   ============================================================ */
@media (max-width: 620px) {
  .grid--4:has(> .prod-card) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .grid--4 > .prod-card .prod-card__body { padding: 10px 12px 14px; gap: 4px; }
  .grid--4 > .prod-card .prod-card__name { font-size: .98rem; line-height: 1.25; }
  .grid--4 > .prod-card .prod-card__price { font-size: 1.02rem; }
  .grid--4 > .prod-card .prod-card__teaser,
  .grid--4 > .prod-card .prod-card__cta { display: none; }
  .grid--4 > .prod-card .prod-card__tag { top: 8px; left: 8px; font-size: .66rem; padding: 3px 8px; }
  .cat-blocks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cat-block__body { padding: 10px 12px 14px; }
  .cat-block__name { font-size: 1.05rem; }
  .cat-block__cta { display: none; }
}
