/* ================================================================
   VETAILIS — Design V2
   Sans-serif throughout · Sage + cream palette · Restrained motion
   ================================================================ */

:root {
  /* ===== Reference-site palette (client-approved "Vetailis" V1 look) ===== */
  --ivory: #F6F3EE;
  --ivory-deep: #ECE7DD;
  --navy: #1B2A4A;
  --navy-soft: #2A3A5E;
  --graphite: #2C2C2C;
  --gold: #B08D57;
  --gold-soft: #C9A878;
  --sage: #8A9A82;

  /* Aliases mapping the existing component CSS onto the reference palette */
  --bg: var(--ivory);
  --bg-deep: var(--ivory-deep);
  --bg-deepest: #E4DCCB;
  --ink: var(--navy);           /* headings & body text = deep navy */
  --ink-muted: #4A5670;
  --ink-soft: rgba(27, 42, 74, 0.55);
  --accent: var(--gold);        /* gold accents everywhere */
  --accent-deep: #9A7742;       /* darker gold for hover/links */
  --accent-soft: rgba(176, 141, 87, 0.16);
  --taupe: #B8AFA1;
  --navy-deep: #12203C;

  --line: rgba(27, 42, 74, 0.12);
  --line-strong: rgba(27, 42, 74, 0.22);

  /* Typography — Fraunces serif display + Inter sans body */
  --serif: "Fraunces", "Canela", "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", "Neue Haas Grotesk", "Helvetica Neue", Arial, sans-serif;
  --display: var(--serif);      /* alias so older selectors use the serif */

  --track-display: 0.02em;
  --track-display-wide: 0.06em;
  --track-body: 0.22em;

  --gutter: clamp(20px, 4vw, 56px);
  --max: 1400px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Kill all italic — V2 is non-italic */
em, i { font-style: normal; font-weight: 500; color: var(--accent-deep); }

/* ----------------------------------------------------------------
   Typography
   ---------------------------------------------------------------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--track-body);
  text-transform: uppercase;
  color: var(--ink);
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: var(--track-display);
  margin: 0;
  line-height: 1.1;
}

h1 { font-size: clamp(40px, 6.5vw, 92px); font-weight: 300; }
h2 { font-size: clamp(28px, 4vw, 52px); font-weight: 400; }
h3 { font-size: clamp(20px, 2vw, 28px); font-weight: 500; }

p { margin: 0 0 1em; }

/* ----------------------------------------------------------------
   Layout
   ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

section { position: relative; }

/* ----------------------------------------------------------------
   Navigation
   ---------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.nav.is-scrolled {
  border-color: var(--line);
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
}
/* When the mobile menu is open, drop the backdrop-filter — otherwise it becomes
   the containing block for the fixed menu overlay and the overlay only covers
   the nav strip after scrolling. */
.nav.is-menu-open,
.nav.is-menu-open.is-scrolled {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 22px 10px;   /* extra breathing room above the logo */
  position: relative;
  min-height: 124px;   /* tall enough to fully contain the centered logo */
}
.nav.is-scrolled .nav__inner { padding-block: 12px 10px; }
/* Menu on the LEFT, WhatsApp on the RIGHT, logo absolutely CENTERED */
.nav__inner .nav__links { order: 1; }
.nav__inner .nav__cta   { order: 3; }
.nav__inner .nav__menu-btn { order: 4; }
.nav__brand {
  order: 2;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 0;   /* remove inline-image gap so centering is exact */
}
.nav.is-scrolled .nav__inner { min-height: 88px; }
@media (max-width: 720px) {
  .nav__inner { min-height: 92px; padding-block: 12px 8px; }
  .nav.is-scrolled .nav__inner { min-height: 84px; padding-block: 8px; }
}
.nav__wordmark {
  font-family: var(--display);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.18em;
  color: var(--ink);
  text-transform: uppercase;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
@media (max-width: 859px) {
  .nav__links {
    position: fixed;
    inset: 0;
    background: #F6F3EE;   /* fully opaque cream — no bleed-through */
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 40px var(--gutter) 40px;
    gap: 4px;
    transform: translateY(-100%);
    transition: transform .4s var(--ease);
    z-index: 60;           /* above the nav bar (z-index 50) */
    overflow-y: auto;
  }
  .nav.is-menu-open { z-index: 60; }
  .nav.is-menu-open .nav__links { transform: translateY(0); }
  /* Logo at the top of the open mobile menu */
  .nav__menu-logo {
    display: block;
    height: 84px;
    width: auto;
    margin: 6px auto 28px;
  }
  /* Full-width tappable menu rows (whole row clickable, not just the text) */
  .nav__links .nav__link {
    display: block;
    width: 100%;
    box-sizing: border-box;
    font-family: var(--display);
    font-size: 26px;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    color: var(--ink);
    padding: 16px 4px;
    border-bottom: 1px solid var(--line);
  }
  .nav__links .nav__link:active { color: var(--accent-deep); }
  .nav__links .nav__link::after { display: none; }
}
/* The menu logo is only for the mobile overlay — hide on desktop */
@media (min-width: 860px) {
  .nav__menu-logo { display: none; }
}
.nav__link {
  font-size: 11px;
  letter-spacing: var(--track-body);
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding-block: 6px;
  font-weight: 500;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav__link:hover::after { transform: scaleX(1); }

/* WhatsApp button stays green (recognizable everywhere) */
.nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  transition: background .25s var(--ease), transform .25s var(--ease);
  flex-shrink: 0;
}
.nav__cta:hover {
  background: #1EBE5A;
  transform: translateY(-1px);
}
.nav__cta svg {
  width: 18px;
  height: 18px;
  display: block;
}

.nav__menu-btn {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 70;   /* above the mobile menu overlay (z-index 60) so it stays clickable */
  position: relative;
}
@media (min-width: 860px) {
  .nav__menu-btn { display: none; }
}
.nav__menu-btn span {
  width: 22px;
  height: 1px;
  background: var(--ink);
  display: block;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
  transform-origin: center;
}
.nav.is-menu-open .nav__menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.is-menu-open .nav__menu-btn span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav.is-menu-open .nav__menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.logo { width: 34px; height: 34px; display: inline-block; }
.logo path:first-child { fill: var(--navy) !important; }
.nav__brand:hover .logo path:first-child { fill: var(--accent-deep) !important; }

/* Real brand logo image (V-mark + VETAILIS wordmark) — centered, larger than the bar */
.nav__logo {
  display: block;
  height: 116px;
  width: auto;
  transition: height .25s var(--ease), opacity .2s var(--ease);
}
.nav__brand:hover .nav__logo { opacity: 0.78; }
.nav.is-scrolled .nav__logo { height: 92px; }
@media (max-width: 720px) {
  .nav__logo { height: 68px; }
  .nav.is-scrolled .nav__logo { height: 62px; }
}

/* ----------------------------------------------------------------
   Buttons
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--track-body);
  text-transform: uppercase;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 4px; /* squared buttons */
}
.btn--solid {
  background: var(--ink);
  color: var(--bg);
}
.btn--solid:hover {
  background: var(--accent-deep);
}
.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--outline:hover {
  background: var(--ink);
  color: var(--bg);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  padding: 12px 0;
  border-radius: 0;
}
.btn--ghost::after { content: "→"; margin-left: 4px; transition: transform .2s var(--ease); }
.btn--ghost:hover { color: var(--accent-deep); }
.btn--ghost:hover::after { transform: translateX(4px); }
.btn--full { width: 100%; }

/* ----------------------------------------------------------------
   Hero — Split layout (sans only, no italic)
   ---------------------------------------------------------------- */
.hero {
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(50px, 7vw, 100px);
}
.hero--split .hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 5vw, 70px);
  align-items: center;
}
@media (min-width: 920px) {
  .hero--split .hero__inner {
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(48px, 6vw, 90px);
  }
}
.hero__eyebrow {
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.hero__eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}
.hero__title {
  font-family: var(--display);
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.02;
  font-size: clamp(40px, 6vw, 88px);
  margin: 0 0 24px;
}
.hero__title em {
  font-style: normal;
  font-weight: 500;
  color: var(--accent-deep);
}
.hero__lede {
  max-width: 540px;
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 32px;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero--split .hero__visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  position: relative;
  padding-bottom: 44px;
}
@media (min-width: 720px) {
  .hero--split .hero__visual { gap: 16px; }
  .hero__visual-dog { margin-top: 32px; }
}
.hero__visual-pet,
.hero__visual-dog {
  aspect-ratio: 4 / 5;
  background: var(--bg-deep);
  overflow: hidden;
  border-radius: 12px;
  position: relative;
}
.hero__visual-pet img,
.hero__visual-dog img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__visual-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  color: #FFFFFF;
  font-size: 10px;
  letter-spacing: var(--track-body);
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  font-weight: 500;
}
.hero__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  color: var(--ink);
  font-size: 11px;
  letter-spacing: var(--track-body);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.hero__caption::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
}

/* ----------------------------------------------------------------
   Marquee — continuous scrolling row
   ---------------------------------------------------------------- */
.marquee {
  border-block: 1px solid var(--line);
  padding-block: 20px;
  overflow: hidden;
}
.marquee__track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  gap: clamp(20px, 4vw, 56px);
  padding-left: clamp(20px, 4vw, 56px);
  animation: marquee-scroll 32s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-size: 11px;
  letter-spacing: var(--track-body);
  text-transform: uppercase;
  color: var(--ink-muted);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
  white-space: nowrap;
  flex: none;
}
.marquee__item::after {
  content: "·";
  color: var(--accent);
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

/* ----------------------------------------------------------------
   Section heading
   ---------------------------------------------------------------- */
.section { padding-block: clamp(60px, 7vw, 110px); }
.section__head {
  display: grid;
  gap: 18px;
  margin-bottom: 48px;
}
.section__head-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.section__title {
  font-family: var(--display);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 1.05;
  font-size: clamp(28px, 4vw, 56px);
  max-width: 16ch;
}

/* ----------------------------------------------------------------
   Product cards
   ---------------------------------------------------------------- */
.products {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 4vw, 56px) clamp(20px, 2.5vw, 32px);
}
@media (min-width: 600px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .products { grid-template-columns: repeat(4, 1fr); } }

.product {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: inherit;
}
.product__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-deep);
  border-radius: 12px;
}
.product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--bg);
  color: var(--ink);
  font-size: 10px;
  letter-spacing: var(--track-body);
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  z-index: 2;
  font-weight: 500;
}
.product__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product__cat {
  font-size: 10px;
  letter-spacing: var(--track-body);
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0;
  font-weight: 500;
}
.product__name {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(20px, 1.6vw, 24px);
  color: var(--ink);
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0;
}
.product__name a { color: inherit; }
.product__name a:hover { color: var(--accent-deep); }
.product__desc {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.55;
  margin: 0;
}
.product__price {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink);
  font-weight: 500;
}
.product__buy {
  margin-top: 6px;
  padding: 12px 22px;
  font-size: 10px;
  background: var(--ink);
  color: var(--bg);
  text-align: center;
  letter-spacing: var(--track-body);
  text-transform: uppercase;
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
  border-radius: 4px;
  font-weight: 500;
  transition: background .2s var(--ease);
}
.product__buy:hover { background: var(--accent-deep); }
.product__num {
  font-size: 10px;
  color: var(--accent-deep);
  margin: 0;
  letter-spacing: 0.04em;
  font-weight: 500;
}

/* ----------------------------------------------------------------
   Wellness Edit — featured + supporting (simpler in V2)
   ---------------------------------------------------------------- */
.wellness {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 4vw, 56px);
}
@media (min-width: 900px) {
  .wellness { grid-template-columns: 1.1fr 1fr; align-items: start; }
}

/* Two equal large cards side by side (used when there are exactly 2 products) */
.wellness--duo { grid-template-columns: 1fr; }
@media (min-width: 780px) {
  .wellness--duo { grid-template-columns: 1fr 1fr; align-items: stretch; }
}
.wellness__card { display: flex; flex-direction: column; }
.wellness__card .product__media { aspect-ratio: 4 / 5; }
.wellness__card .product__name { font-size: clamp(24px, 2.4vw, 34px); }
.wellness__card .product__desc { font-size: 14px; line-height: 1.65; max-width: 46ch; }
.wellness__card .product__buy {
  max-width: 210px;
  padding: 13px 22px;
  font-size: 10px;
  margin-top: 10px;
}
.wellness__featured .product__media { aspect-ratio: 5 / 6; }
.wellness__featured .product__name { font-size: clamp(28px, 3.2vw, 44px); }
.wellness__featured .product__desc { font-size: 14.5px; max-width: 50ch; line-height: 1.7; }
.wellness__featured .product__buy {
  max-width: 200px;
  padding: 12px 20px;
  font-size: 10px;
}

.wellness__list {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 2.5vw, 36px);
}
.wellness__list .product {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 22px;
  align-items: center;
  padding-bottom: clamp(24px, 2.5vw, 36px);
  border-bottom: 1px solid var(--line);
}
.wellness__list .product:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
@media (min-width: 520px) {
  .wellness__list .product { grid-template-columns: 150px 1fr; gap: 26px; }
}
.wellness__list .product__name { font-size: clamp(20px, 1.6vw, 24px); }
.wellness__list .product__desc { font-size: 13px; line-height: 1.55; }
.wellness__list .product__buy {
  margin-top: 4px;
  padding: 0 0 3px;
  background: transparent;
  color: var(--ink);
  width: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: var(--track-body);
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  align-self: flex-start;
}
.wellness__list .product__buy::after {
  content: "→";
  transition: transform .2s var(--ease);
}
.wellness__list .product__buy:hover {
  background: transparent;
  color: var(--accent-deep);
  border-color: var(--accent-deep);
}
.wellness__list .product__buy:hover::after { transform: translateX(3px); }

/* ----------------------------------------------------------------
   Shop by Concern
   ---------------------------------------------------------------- */
.concerns { padding-block: clamp(60px, 7vw, 100px); }
.concerns__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2vw, 24px);
}
@media (min-width: 600px) { .concerns__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .concerns__grid { grid-template-columns: repeat(4, 1fr); } }
.concern {
  background: var(--bg-deep);
  padding: clamp(24px, 2.5vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: inherit;
  border-radius: 16px;
  border: 1px solid transparent;
  min-height: 220px;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.concern:hover {
  background: var(--bg);
  border-color: var(--accent);
}
.concern__icon {
  width: 40px;
  height: 40px;
  color: var(--accent-deep);
}
.concern__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(18px, 1.5vw, 22px);
  color: var(--ink);
  letter-spacing: 0;
  margin: 0;
}
.concern__meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.concern__count {
  font-size: 10px;
  letter-spacing: var(--track-body);
  text-transform: uppercase;
  color: var(--ink-soft);
}
.concern__arrow {
  font-size: 10px;
  letter-spacing: var(--track-body);
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 500;
}
.concern__arrow::after { content: " →"; }

/* ----------------------------------------------------------------
   Values
   ---------------------------------------------------------------- */
.values { background: var(--bg-deep); padding-block: clamp(60px, 7vw, 100px); }
.values__grid {
  display: grid;
  gap: clamp(32px, 3vw, 48px);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.value { display: flex; flex-direction: column; gap: 14px; }
.value__icon { width: 36px; height: 36px; color: var(--accent-deep); }
.value__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: 0;
  margin: 0;
}
.value__body {
  font-size: 13.5px;
  color: var(--ink-muted);
  line-height: 1.6;
  margin: 0;
  max-width: 36ch;
}

/* ----------------------------------------------------------------
   Testimonials — Swiper
   ---------------------------------------------------------------- */
.testimonials { padding-block: clamp(60px, 7vw, 100px); }
.testimonials__swiper {
  margin-top: clamp(36px, 4vw, 56px);
  padding-bottom: 50px !important;
  overflow: visible !important;
}
.testimonials__swiper .swiper-wrapper { align-items: stretch; }
.testimonials__swiper .swiper-slide { height: auto; display: flex; }
.testimonials__swiper .testimonial {
  width: 100%;
  background: var(--bg-deep);
  padding: clamp(24px, 2.5vw, 32px);
  border-radius: 12px;
}
.testimonial { display: flex; flex-direction: column; gap: 14px; }
.testimonial__stars {
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--accent-deep);
}
.testimonial__quote {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--ink);
  line-height: 1.5;
  letter-spacing: 0;
  margin: 0;
}
.testimonial__attr {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.testimonial__name {
  font-size: 11px;
  letter-spacing: var(--track-body);
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
}
.testimonial__pet {
  font-size: 10px;
  letter-spacing: var(--track-body);
  text-transform: uppercase;
  color: var(--ink-soft);
}
.testimonials__swiper .swiper-pagination { bottom: 0 !important; }
.testimonials__swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: var(--ink);
  opacity: 0.18;
  margin: 0 5px !important;
  transition: opacity .2s var(--ease), background .2s var(--ease);
}
.testimonials__swiper .swiper-pagination-bullet-active {
  background: var(--accent-deep);
  opacity: 1;
}

/* ----------------------------------------------------------------
   FAQ
   ---------------------------------------------------------------- */
.faq { padding-block: clamp(60px, 7vw, 100px); }
.faq__list {
  margin-top: clamp(36px, 4vw, 56px);
  max-width: 880px;
  border-top: 1px solid var(--line);
}
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding-block: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--ink);
  letter-spacing: 0;
  line-height: 1.4;
  transition: color .2s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--accent-deep);
  transition: transform .25s var(--ease);
  flex-shrink: 0;
  line-height: 1;
  width: 14px;
  text-align: center;
  font-weight: 300;
}
.faq__item[open] summary::after { content: "−"; }
.faq__item summary:hover { color: var(--accent-deep); }
.faq__answer {
  padding: 0 40px 22px 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-muted);
  max-width: 72ch;
  margin: 0;
}
.faq__answer a {
  color: var(--ink);
  border-bottom: 1px solid var(--ink) !important;
}

/* ----------------------------------------------------------------
   Newsletter
   ---------------------------------------------------------------- */
.newsletter {
  padding-block: clamp(60px, 7vw, 100px);
  text-align: center;
}
.newsletter__title {
  font-family: var(--display);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 1.1;
  font-size: clamp(28px, 4vw, 52px);
  margin-bottom: 14px;
  max-width: 18ch;
  margin-inline: auto;
}
.newsletter__lede {
  max-width: 460px;
  margin: 0 auto 32px;
  color: var(--ink-muted);
  font-size: 14.5px;
  line-height: 1.7;
}
.newsletter__form {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  background: var(--bg-deep);
  padding: 6px;
  border-radius: 4px;
}
.newsletter__form input {
  flex: 1;
  min-width: 0;   /* allow the input to shrink inside flex — prevents overflow */
  background: transparent;
  border: none;
  outline: none;
  padding: 12px 18px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
}
.newsletter__form input::placeholder {
  color: var(--ink-soft);
  font-size: 13px;
}
.newsletter__form button {
  flex: none;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 22px;
  font-size: 11px;
  letter-spacing: var(--track-body);
  text-transform: uppercase;
  border-radius: 4px;
  font-weight: 500;
  white-space: nowrap;
  transition: background .2s var(--ease);
}
.newsletter__form button:hover { background: var(--accent-deep); }
/* Small screens: stack input above button so nothing overflows */
@media (max-width: 480px) {
  .newsletter__form {
    flex-direction: column;
    border-radius: 20px;
    padding: 10px;
    gap: 10px;
  }
  .newsletter__form input { text-align: center; }
  .newsletter__form button { width: 100%; padding: 14px; }
}

/* ----------------------------------------------------------------
   Footer
   ---------------------------------------------------------------- */
.footer {
  background: var(--ink);
  color: var(--bg);
  padding-block: clamp(50px, 6vw, 90px) 28px;
}
.footer__grid {
  display: grid;
  gap: 42px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 50px;
}
.footer__brand {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 360px;
}
@media (min-width: 860px) { .footer__brand { grid-column: span 2; } }
.footer__address {
  font-style: normal;
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(250, 247, 242, 0.65);
  letter-spacing: 0.02em;
}
.footer__wordmark {
  font-family: var(--display);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
/* Real logo in the footer — sits on a light panel so the navy artwork reads on the dark footer */
.footer__logo {
  height: 130px;
  width: auto;
  display: block;
  background: var(--ivory);
  padding: 18px 32px;
  border-radius: 14px;
  align-self: flex-start;   /* panel only as wide as the logo, not full column */
}
.footer__tag {
  font-size: 11px;
  letter-spacing: var(--track-body);
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.55);
}
.footer__col h4 {
  color: var(--bg);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 600;
}
.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col a {
  font-size: 15px;
  letter-spacing: 0.01em;
  color: rgba(250, 247, 242, 0.72);
  transition: color .2s var(--ease);
}
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  display: flex;
  justify-content: center;
  text-align: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid rgba(250, 247, 242, 0.14);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.55);
}

/* ----------------------------------------------------------------
   Product detail — real products (Probiotic / Daily Wellness)
   ---------------------------------------------------------------- */
/* Numbered product label — clearly marks each block as a distinct product */
.product-label {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: clamp(40px, 6vw, 80px);
  padding-top: clamp(28px, 3vw, 44px);
  border-top: 1px solid var(--line-strong);
}
.product-label:first-of-type { margin-top: 0; }
.product-label__num {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  line-height: 1;
  color: var(--accent-deep);
}
.product-label__line {
  flex: none;
  width: 48px;
  height: 2px;
  background: var(--gold);
}
.product-label__text {
  font-size: 11px;
  letter-spacing: var(--track-body);
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-muted);
}

.pdetail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;   /* vertically center the right text against the tall blue box */
  padding-block: clamp(20px, 2.5vw, 32px) clamp(20px, 3vw, 40px);
}
.pdetail + .pdetail { border-top: 1px solid var(--line); }
/* Zigzag: reverse column order on desktop (blue packshot moves to the right) */
@media (min-width: 821px) {
  .pdetail--reverse .pdetail__media { order: 2; }
  .pdetail--reverse > div:not(.pdetail__media):not(.pdisc) { order: 1; }
  .pdetail--reverse > .pdisc { order: 3; }
}
.pdetail__media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-deep);
  aspect-ratio: 4 / 5;
}
.pdetail__media img { width: 100%; height: 100%; object-fit: cover; }
.pdetail__flavor {
  position: absolute; bottom: 12px; left: 12px;
  background: var(--navy); color: #FAF7F2;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 7px 12px; border-radius: 100px;
}
.pdetail__eyebrow { color: var(--accent-deep); }
.pdetail__title { font-family: var(--display); font-weight: 500; font-size: clamp(28px, 4vw, 42px); line-height: 1.05; margin: 8px 0 4px; }
.pdetail__sub { color: var(--ink-muted); font-size: 14px; margin: 0 0 6px; }
.pdetail__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 20px; }
.pdetail__tag {
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 100px;
  background: var(--accent-soft); color: var(--accent-deep); font-weight: 600;
  border: 1px solid rgba(176, 141, 87, 0.35);
}
.pdetail__lede { color: var(--ink-muted); max-width: 52ch; }
.pdetail__lede--lg { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.7; color: var(--ink); margin-top: 4px; }
.pdetail__subhead {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: var(--track-body);
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 600;
  margin: 26px 0 4px;
}
.pdetail__specs {
  margin: 28px 0 4px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.pdetail__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.product__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.product__actions .btn {
  padding: 15px 30px;
  font-size: 10px;
  border-radius: 4px;   /* squared button (not a pill) */
}
/* Shop button: two buttons — one in the right column (desktop), one below the accordions (mobile).
   Only one is ever visible, switched by screen width. */
.product__actions--desktop { display: flex; }
.product__actions--mobile { display: none; }
@media (max-width: 820px) {
  .product__actions--desktop { display: none !important; }
  .product__actions--mobile { display: flex !important; margin-top: 20px; }
  .product__actions--mobile .btn { width: 100%; padding: 15px; font-size: 11px; }
}

/* Accordion reveal panels (Supplement Facts / Feeding Chart).
   Desktop: two columns side by side. Small screen: full-width stacked. */
.pdisc {
  grid-column: 1 / -1;
  margin-top: 8px;
  display: grid;
  gap: 12px;
}
@media (min-width: 821px) {
  .pdisc { grid-template-columns: 1fr 1fr; align-items: start; }
}
.pdisc__item {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 2px rgba(27, 42, 74, 0.04);
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.pdisc__item:hover {
  box-shadow: 0 10px 30px -14px rgba(27, 42, 74, 0.22);
  border-color: rgba(176, 141, 87, 0.4);
}
.pdisc__item[open] {
  border-color: rgba(176, 141, 87, 0.5);
  box-shadow: 0 10px 30px -14px rgba(27, 42, 74, 0.2);
}
.pdisc__item summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px;
  font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 600; color: var(--ink);
  transition: color .2s var(--ease);
}
.pdisc__item summary::-webkit-details-marker { display: none; }
/* small gold marker before the label */
.pdisc__item summary::before {
  content: ""; flex: none;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(176, 141, 87, 0.14);
  transition: transform .25s var(--ease);
}
/* circular +/- toggle on the right */
.pdisc__item summary::after {
  content: "+"; margin-left: auto; flex: none;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 20px; font-weight: 300; line-height: 1;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border: 1px solid rgba(176, 141, 87, 0.28);
  transition: transform .3s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.pdisc__item[open] summary { color: var(--accent-deep); }
.pdisc__item[open] summary::before { transform: scale(1.25); }
.pdisc__item[open] summary::after {
  transform: rotate(45deg);
  background: var(--navy); color: #fff; border-color: var(--navy);
}
.pdisc__item summary:hover { color: var(--accent-deep); }
.pdisc__item summary:hover::after { background: rgba(176, 141, 87, 0.24); }

/* Smooth open/close via grid-rows animation.
   The panel content lives in .pdisc__panel; we animate a wrapper's rows 0fr -> 1fr. */
.pdisc__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s var(--ease);
}
.pdisc__item[open] .pdisc__body { grid-template-rows: 1fr; }
.pdisc__body > .pdisc__panel { overflow: hidden; min-height: 0; }
.pdisc__panel {
  padding: 0 18px;
  transition: padding .35s var(--ease);
}
.pdisc__item[open] .pdisc__panel { padding: 18px; border-top: 1px solid var(--line); }
/* the supplement panel inside an accordion shouldn't double up its border */
.pdisc__panel .suppfacts { border: none; border-radius: 0; padding: 0; background: transparent; }
.pdisc__panel .dosing { margin-top: 0; }
@media (prefers-reduced-motion: reduce) {
  .pdisc__body { transition: none; }
  .pdisc__panel { transition: none; }
}

/* Featured active ingredients */
.actives { margin: 22px 0; display: grid; gap: 14px; }
.active { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.active__dot {
  width: 8px; height: 8px; margin-top: 6px; border-radius: 50%;
  background: var(--accent-deep);
}
.active__name { font-weight: 600; font-size: 13px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink); }
.active__desc { font-size: 13px; color: var(--ink-muted); margin: 2px 0 0; }

/* Supplement facts panel */
.suppfacts {
  border: 1.5px solid var(--navy);
  border-radius: 12px;
  padding: 20px 22px;
  background: #fff;
  font-family: var(--sans);
}
.suppfacts__head {
  font-family: var(--display);
  font-weight: 600; font-size: 20px; letter-spacing: 0.02em;
  text-transform: uppercase; color: var(--navy);
  border-bottom: 6px solid var(--navy); padding-bottom: 6px; margin-bottom: 8px;
}
.suppfacts__serving { font-size: 12px; color: var(--ink-muted); display: flex; justify-content: space-between; padding: 3px 0; }
.suppfacts__rule { border: none; border-top: 3px solid var(--navy); margin: 8px 0; }
.suppfacts__amounthead {
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
  text-align: right; padding-bottom: 4px; border-bottom: 1px solid var(--line-strong);
}
.suppfacts__row {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 13px; padding: 7px 0; border-bottom: 1px solid var(--line);
}
.suppfacts__row span:first-child { color: var(--ink); }
.suppfacts__row span:last-child { color: var(--ink); font-weight: 500; white-space: nowrap; }
.suppfacts__note { font-size: 12px; color: var(--ink-muted); margin-top: 10px; line-height: 1.55; }
.suppfacts__note strong { color: var(--ink); }
.suppfacts__blendhead { font-size: 13px; font-weight: 600; padding-top: 7px; }

/* Dosing table */
.dosing { margin-top: 22px; width: 100%; border-collapse: collapse; font-size: 13px; }
.dosing caption {
  text-align: left; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-deep); font-weight: 600; margin-bottom: 10px;
}
.dosing th, .dosing td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); }
.dosing th { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.dosing td:last-child, .dosing th:last-child { text-align: right; font-weight: 500; }
.dosing__note { margin-top: 14px; font-size: 12px; color: var(--ink-muted); letter-spacing: 0.02em; }

@media (max-width: 820px) {
  .pdetail {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  /* order: packshot → info (name/actives/button) → accordions.
     The Shop button stays inside the info column, which sits above the
     full-width accordions. */
  .pdetail__media { order: 1; }
  .pdetail > div:not(.pdetail__media):not(.pdisc):not(.product__actions--mobile) { order: 2; }
  .pdetail > .pdisc {
    order: 3;
    width: 100%;
    grid-template-columns: 1fr;  /* full-width stacked on mobile */
  }
  .pdisc__item { width: 100%; }
  /* Shop button sits LAST on mobile — after the accordions */
  .pdetail > .product__actions--mobile { order: 4; }
}

/* ----------------------------------------------------------------
   Branded product packshot — stands in for a real product photo
   ---------------------------------------------------------------- */
.packshot {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: clamp(22px, 3.4vw, 40px);
  background:
    radial-gradient(120% 80% at 50% -10%, #1c2c58 0%, var(--navy) 52%, #0a1226 100%);
  color: #FAF7F2;
  position: relative;
  isolation: isolate;
  text-align: left;
  box-shadow: inset 0 0 0 1px rgba(201, 168, 120, 0.28);
}
.packshot::before {
  content: "";
  position: absolute; z-index: -1;
  left: 50%; top: 56%; transform: translate(-50%, -50%);
  width: 78%; height: 52%;
  background: radial-gradient(closest-side, rgba(201,168,120,0.16), transparent 78%);
  pointer-events: none;
}
.packshot::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(52% 30% at 50% 108%, rgba(138,154,130,0.18), transparent 70%);
  pointer-events: none;
}
.packshot__brand {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--display);
  letter-spacing: 0.22em; text-transform: uppercase;
  font-size: 12px; font-weight: 500;
  color: rgba(250,247,242,0.92);
}
.packshot__mark {
  width: 22px; height: 22px; flex: none;
}
.packshot__mark path:first-child { fill: #FAF7F2; }
.packshot { transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
a:hover > .packshot,
.product__media:hover .packshot {
  box-shadow: inset 0 0 0 1px rgba(201, 168, 120, 0.55),
              0 24px 50px -24px rgba(10, 18, 38, 0.6);
}
.packshot__center { margin: auto 0; }
.packshot__kicker {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-soft); margin-bottom: 14px;
  display: inline-block; position: relative; padding-bottom: 12px;
}
.packshot__kicker::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 34px; height: 2px; border-radius: 2px;
  background: var(--gold);
}
.packshot__name {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(24px, 3.6vw, 40px); line-height: 1.05;
  letter-spacing: 0.01em; margin: 0;
  color: #FAF7F2;
}
.packshot,
.packshot h3,
.packshot .packshot__name,
.packshot .packshot__name a { color: #FAF7F2 !important; }
.packshot__tag {
  margin: 14px 0 0; font-size: clamp(15px, 1.3vw, 18px); line-height: 1.55;
  color: rgba(250,247,242,0.95); font-weight: 500; max-width: 32ch;
}
/* Category pills inside the blue packshot */
.packshot__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.packshot__pill {
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
  padding: 6px 12px; border-radius: 100px;
  color: var(--gold-soft);
  background: rgba(201, 168, 120, 0.12);
  border: 1px solid rgba(201, 168, 120, 0.4);
}
.packshot__meta {
  display: flex; flex-wrap: wrap; gap: 8px 14px;
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(250,247,242,0.9);
  border-top: 1px solid rgba(250,247,242,0.18);
  padding-top: 14px;
}
.packshot__meta strong { font-weight: 600; }
.packshot__badges { display: flex; flex-wrap: wrap; gap: 7px; }
.packshot__badge {
  font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 100px;
  border: 1px solid rgba(201, 168, 120, 0.5);
  color: rgba(250,247,242,0.92);
  background: rgba(201, 168, 120, 0.06);
}
.packshot--sm { padding: 20px; }
.packshot--sm .packshot__name { font-size: 20px; }
.packshot--sm .packshot__tag { display: none; }
.packshot--sm .packshot__meta { font-size: 10px; padding-top: 10px; }

/* ----------------------------------------------------------------
   Reveal
   ---------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
/* Variant: gentle scale-up for cards/packshots */
.reveal--pop {
  transform: translateY(30px) scale(0.97);
}
.reveal--pop.is-in {
  transform: translateY(0) scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal--pop { opacity: 1; transform: none; transition: none; }
}
