/* ==========================================================================
   ZZACORE — base typography, layout primitives, components
   Every class here is usable from an Elementor widget's CSS Classes field.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

body {
  background: var(--zz-cream);
  color: var(--zz-ink);
  font-family: var(--zz-font-body);
  font-size: var(--zz-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--zz-sage-pale); color: var(--zz-sage-deep); }

h1, h2, h3, h4, h5, h6, .zz-display {
  font-family: var(--zz-font-display);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.05;
  color: var(--zz-ink);
  margin: 0 0 .4em;
  text-wrap: balance;
}
h1 { font-size: var(--zz-h1); letter-spacing: -.032em; line-height: 1; }
h2 { font-size: var(--zz-h2); }
h3 { font-size: var(--zz-h3); line-height: 1.25; }

p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; transition: color var(--zz-t-fast); }
a:hover { color: var(--zz-sage-deep); }

img, svg, video { display: block; max-width: 100%; height: auto; }
hr { border: 0; border-top: 1px solid var(--zz-line); margin: var(--zz-section) 0; }

:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--zz-sage-deep);
  outline-offset: 3px;
}

/* --- Layout --------------------------------------------------------------- */
.zz-container {
  width: 100%;
  max-width: var(--zz-container);
  margin-inline: auto;
  padding-inline: var(--zz-gutter);
}
.zz-section { padding-block: var(--zz-section); }
.zz-bone  { background: var(--zz-bone); }
.zz-cream { background: var(--zz-cream); }
.zz-wash  { background: var(--zz-sage-wash); }

/* Dark bands */
.zz-dark { background: var(--zz-sage-deep); color: var(--zz-cream); }
.zz-ink-band { background: var(--zz-ink); color: var(--zz-cream); }
.zz-dark h1, .zz-dark h2, .zz-dark h3, .zz-dark h4,
.zz-ink-band h1, .zz-ink-band h2, .zz-ink-band h3, .zz-ink-band h4 { color: var(--zz-cream); }
.zz-dark p, .zz-ink-band p { color: rgba(246, 241, 237, .78); }
.zz-dark a:hover, .zz-ink-band a:hover { color: var(--zz-sage-pale); }

/* --- Micro-type ----------------------------------------------------------- */
.zz-label,
.zz-eyebrow {
  font-family: var(--zz-font-display);
  font-size: var(--zz-label);
  font-weight: 600;
  letter-spacing: var(--zz-track);
  text-transform: uppercase;
  line-height: 1.5;
  display: block;
}
.zz-eyebrow { color: var(--zz-sage-deep); margin-bottom: 10px; }
.zz-dark .zz-eyebrow, .zz-ink-band .zz-eyebrow { color: rgba(246, 241, 237, .65); }

.zz-lead { font-size: 17px; color: var(--zz-muted); line-height: 1.65; max-width: 52ch; }
.zz-muted { color: var(--zz-muted); }

.zz-link {
  font-family: var(--zz-font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: var(--zz-track);
  text-transform: uppercase;
  border-bottom: 1px solid var(--zz-ink);
  padding-bottom: 4px;
  display: inline-block;
}
.zz-link:hover { color: var(--zz-sage-deep); border-color: var(--zz-sage-deep); }

/* --- Buttons -------------------------------------------------------------- */
.zz-btn, .zz-btn:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--zz-font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: var(--zz-track-btn);
  text-transform: uppercase;
  padding: 15px 30px;
  border: 1px solid transparent;
  border-radius: var(--zz-radius);
  cursor: pointer;
  transition: background var(--zz-t-fast), color var(--zz-t-fast), border-color var(--zz-t-fast);
}
.zz-btn--fill { background: var(--zz-sage-deep); color: var(--zz-cream); }
.zz-btn--fill:hover { background: var(--zz-ink); color: var(--zz-cream); }
.zz-btn--line { background: transparent; color: var(--zz-ink); border-color: var(--zz-ink); }
.zz-btn--line:hover { background: var(--zz-ink); color: var(--zz-cream); }
.zz-btn--light { background: var(--zz-cream); color: var(--zz-ink); }
.zz-btn--light:hover { background: var(--zz-sage-pale); }
.zz-dark .zz-btn--line, .zz-ink-band .zz-btn--line { color: var(--zz-cream); border-color: rgba(246,241,237,.5); }
.zz-dark .zz-btn--line:hover { background: var(--zz-cream); color: var(--zz-sage-deep); }

/* --- Section head --------------------------------------------------------- */
.zz-shead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

/* --- Announcement marquee ------------------------------------------------- */
.zz-marquee {
  background: var(--zz-sage);
  color: var(--zz-cream);
  overflow: hidden;
  padding: 9px 0;
}
.zz-marquee__track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: zz-slide 34s linear infinite;
}
.zz-marquee span {
  font-family: var(--zz-font-display);
  font-size: var(--zz-label);
  font-weight: 500;
  letter-spacing: var(--zz-track);
  text-transform: uppercase;
  white-space: nowrap;
}
@keyframes zz-slide { to { transform: translateX(-50%); } }

/* --- Sticky header -------------------------------------------------------- */
.zz-header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(246, 241, 237, .93);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--zz-line);
  transition: box-shadow var(--zz-t);
}
.zz-header.is-scrolled { box-shadow: var(--zz-shadow-sm); }
.admin-bar .zz-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .zz-header { top: 46px; } }

/* --- Category tile -------------------------------------------------------- */
.zz-tile {
  position: relative;
  overflow: hidden;
  background-color: var(--zz-sage-wash);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  min-height: 380px;
  transition: background-size var(--zz-t-slow);
}
.zz-tile:hover { background-size: 107% auto; }
.zz-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--zz-t-slow); }
.zz-tile:hover img { transform: scale(1.06); }
.zz-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(31,36,28,.72), rgba(31,36,28,.05) 58%, transparent);
}
.zz-tile > * { position: relative; z-index: 2; }
.zz-tile__body { width: 100%; padding: clamp(14px, 2vw, 22px); color: var(--zz-cream); }
.zz-tile__count { font-family: var(--zz-font-display); font-size: var(--zz-label); letter-spacing: var(--zz-track); text-transform: uppercase; color: rgba(246,241,237,.7); }
.zz-tile__title { font-family: var(--zz-font-display); font-size: 19px; font-weight: 600; color: var(--zz-cream); margin: 4px 0 0; }

/* --- Split promo ---------------------------------------------------------- */
.zz-promo {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: center;
  background: var(--zz-sage-wash);
}
.zz-promo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(31,36,28,.66), rgba(31,36,28,.12));
}
.zz-promo > * { position: relative; z-index: 2; }
.zz-promo__body { padding: clamp(24px, 3vw, 44px); color: var(--zz-cream); max-width: 32ch; }
.zz-promo__body h3 { color: var(--zz-cream); font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 18px; }

/* --- Activity card -------------------------------------------------------- */
.zz-act {
  border: 1px solid var(--zz-line);
  background: var(--zz-cream);
  padding: 26px 22px;
  display: block;
  transition: background var(--zz-t-fast), border-color var(--zz-t-fast);
}
.zz-act:hover { background: var(--zz-sage-wash); border-color: var(--zz-sage-pale); }
.zz-act strong { font-family: var(--zz-font-display); font-size: 19px; font-weight: 600; display: block; }
.zz-act span { font-size: 13px; color: var(--zz-muted); margin-top: 5px; display: block; }

/* --- Testimonial ---------------------------------------------------------- */
.zz-quote { border-top: 2px solid var(--zz-sage); padding-top: 22px; }
.zz-quote p {
  font-family: var(--zz-font-display);
  font-size: 17.5px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -.01em;
  color: var(--zz-ink);
}
.zz-quote cite { font-style: normal; display: block; margin-top: 18px; }
.zz-quote b { font-family: var(--zz-font-body); font-size: 13.5px; font-weight: 600; display: block; }
.zz-quote span { font-family: var(--zz-font-display); font-size: 10px; letter-spacing: var(--zz-track); text-transform: uppercase; color: var(--zz-muted); }

/* --- Trust strip ---------------------------------------------------------- */
.zz-trust { border-block: 1px solid var(--zz-line); background: var(--zz-cream); }
.zz-trust__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--zz-line); }
@media (min-width: 760px) { .zz-trust__grid { grid-template-columns: repeat(4, 1fr); } }
.zz-trust__item { background: var(--zz-cream); padding: 26px 20px; text-align: center; }
.zz-trust__item strong { font-family: var(--zz-font-display); font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; display: block; }
.zz-trust__item span { font-size: 12.5px; color: var(--zz-muted); margin-top: 5px; display: block; }

/* --- Stats ---------------------------------------------------------------- */
.zz-stats { display: flex; gap: clamp(20px, 4vw, 46px); flex-wrap: wrap; }
.zz-stat b { font-family: var(--zz-font-display); font-size: 26px; font-weight: 600; display: block; line-height: 1; }
.zz-stat span { font-family: var(--zz-font-display); font-size: 10px; letter-spacing: var(--zz-track); text-transform: uppercase; color: var(--zz-muted); margin-top: 6px; display: block; }

/* --- Forms ---------------------------------------------------------------- */
input[type=text], input[type=email], input[type=search], input[type=tel],
input[type=url], input[type=password], input[type=number], select, textarea {
  width: 100%;
  font-family: var(--zz-font-body);
  font-size: 15px;
  color: var(--zz-ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--zz-line);
  border-radius: 0;
  padding: 12px 2px;
  transition: border-color var(--zz-t-fast);
}
input:focus, select:focus, textarea:focus { outline: 0; border-bottom-color: var(--zz-sage-deep); }
::placeholder { color: var(--zz-muted); opacity: .7; }
.zz-input-boxed input, .zz-input-boxed select, .zz-input-boxed textarea {
  border: 1px solid var(--zz-line);
  background: var(--zz-white);
  padding: 12px 14px;
}

/* --- Motion --------------------------------------------------------------- */
.zz-reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--zz-ease), transform 600ms var(--zz-ease); }
.zz-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .zz-marquee__track { animation: none; }
  .zz-reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Header & footer chrome (header.php / footer.php)
   ========================================================================== */

.zz-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--zz-ink);
  color: var(--zz-cream);
  padding: 12px 18px;
  z-index: 200;
}
.zz-skip:focus { left: 0; }

.zz-main { display: block; min-height: 40vh; }

/* --- Header --------------------------------------------------------------- */
.zz-header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
}
.zz-header__logo { display: flex; align-items: center; flex: 0 0 auto; }
.zz-header__logo img { height: 30px; width: auto; }

.zz-nav__list {
  display: flex;
  gap: clamp(14px, 2vw, 32px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.zz-nav__list a {
  font-family: var(--zz-font-display);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: var(--zz-track);
  text-transform: uppercase;
  color: var(--zz-muted);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  display: block;
  transition: color var(--zz-t-fast), border-color var(--zz-t-fast);
}
.zz-nav__list a:hover,
.zz-nav__list .current-menu-item > a { color: var(--zz-ink); border-bottom-color: var(--zz-sage); }
.zz-nav__setup {
  font-family: var(--zz-font-display);
  font-size: 10px;
  letter-spacing: var(--zz-track);
  text-transform: uppercase;
  color: var(--zz-sage-deep);
  border: 1px dashed var(--zz-sage-pale);
  padding: 4px 8px;
  margin-left: 14px;
}

.zz-header__actions { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.zz-header__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  color: var(--zz-ink);
}
.zz-header__ico:hover { color: var(--zz-sage-deep); }
.zz-header__ico svg { width: 18px; height: 18px; }

/* --- Mobile nav ----------------------------------------------------------- */
.zz-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 38px;
  height: 38px;
  padding: 0 8px;
  background: none;
  border: 0;
  cursor: pointer;
}
.zz-nav-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--zz-ink);
  transition: transform var(--zz-t-fast), opacity var(--zz-t-fast);
}
.zz-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.zz-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.zz-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .zz-nav-toggle { display: flex; }
  .zz-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: var(--zz-cream);
    border-bottom: 1px solid var(--zz-line);
    padding: 8px var(--zz-gutter) 20px;
    display: none;
  }
  .zz-nav.is-open { display: block; }
  .zz-nav__list { flex-direction: column; gap: 0; }
  .zz-nav__list a { padding: 13px 0; border-bottom: 1px solid var(--zz-line); font-size: 12.5px; }
  .zz-nav__list li:last-child a { border-bottom: 0; }
  .zz-header__in { position: relative; }
}

/* --- Footer --------------------------------------------------------------- */
.zz-footer { padding-block: clamp(44px, 6vw, 72px); }
.zz-footer__grid { display: grid; gap: 34px; }
@media (min-width: 820px) {
  .zz-footer__grid { grid-template-columns: 2.2fr 1fr 1fr 1.6fr; }
}
.zz-footer__logo {
  height: 26px;
  width: auto;
  opacity: .92;
}
.zz-footer__brand p {
  color: rgba(246, 241, 237, .66);
  font-size: 14px;
  margin-top: 16px;
  max-width: 36ch;
}
.zz-footer h4 {
  font-family: var(--zz-font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: var(--zz-track);
  text-transform: uppercase;
  color: rgba(246, 241, 237, .55);
  margin-bottom: 14px;
}
.zz-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14px; }
.zz-footer__list a { color: rgba(246, 241, 237, .85); }
.zz-footer__list a:hover { color: var(--zz-sage-pale); }
.zz-footer__news p { color: rgba(246, 241, 237, .66); font-size: 14px; }
.zz-footer__news input { color: var(--zz-cream); border-bottom-color: rgba(246, 241, 237, .28); }
.zz-footer__news input::placeholder { color: rgba(246, 241, 237, .42); }
.zz-footer__base {
  border-top: 1px solid rgba(246, 241, 237, .14);
  margin-top: 34px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(246, 241, 237, .5);
}

/* ==========================================================================
   Home page layout (front-page.php)
   ========================================================================== */

.zz-hero__in {
  display: grid;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding-block: clamp(40px, 5vw, 72px);
}
@media (min-width: 900px) { .zz-hero__in { grid-template-columns: 1fr 1fr; } }
.zz-hero__copy h1 { margin-bottom: 20px; }
.zz-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.zz-hero .zz-stats { margin-top: 40px; }
.zz-hero__fig { position: relative; margin: 0; background: var(--zz-sage-wash); }
.zz-hero__fig img {
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: min(74vh, 620px);
  object-fit: cover;
  object-position: center 12%;
}

.zz-cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 760px) { .zz-cats { grid-template-columns: repeat(5, 1fr); } }

.zz-promos { display: grid; gap: 14px; }
@media (min-width: 820px) { .zz-promos { grid-template-columns: 1fr 1fr; } }
.zz-promo { background-size: cover; background-position: center 18%; }

.zz-acts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 760px) { .zz-acts { grid-template-columns: repeat(4, 1fr); } }

.zz-quotes { display: grid; gap: 26px; }
@media (min-width: 820px) { .zz-quotes { grid-template-columns: repeat(3, 1fr); } }

/* Woo shortcode grids inside home sections shouldn't carry Woo's own margins */
.zz-section .woocommerce { margin: 0; }
.zz-section ul.products { margin-top: 0; }
