/* =========================================================
   TailsLife — design preview stylesheet
   Desktop reference width: 1536px. Mobile-first overrides
   live at the bottom (max-width breakpoints).
   ========================================================= */

:root {
  --green-950: #0a4a22;
  --green-900: #0c5a2a;
  --green-700: #0f6b2f;
  --green-500: #2f9a3f;
  --green-100: #e8f3de;
  --cream: #fbf7ee;
  --cream-2: #f8efe4;
  --ink: #161616;
  --ink-2: #1d2b22;
  --muted: #4a4f4a;
  --orange: #e8731a;
  --gold: #f4b630;
  --line: #e7e3da;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow-soft: 0 6px 22px rgba(30, 60, 30, .10);
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-2);
  background: #fff;
  line-height: 1.45;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
img { display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* ---------- icons ---------- */
.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic--sm { width: 16px; height: 16px; }

/* ---------- blank-value slots (prices, stats, discounts) ---------- */
.slot {
  display: inline-block;
  min-width: 2.6em;
  height: .95em;
  margin-left: .1em;
  border-bottom: 2px dashed currentColor;
  opacity: .5;
  vertical-align: -.12em;
}
.slot--light { border-color: rgba(255, 255, 255, .8); opacity: .9; }
.slot--dark { border-color: #1b1b1b; opacity: .35; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; border-radius: 12px; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, #14803a 0%, var(--green-900) 100%);
  box-shadow: 0 3px 0 rgba(0,0,0,.08), 0 8px 18px rgba(12, 90, 42, .22);
}
.btn--primary:hover { background: linear-gradient(180deg, #17903f 0%, #0b6a30 100%); }
.btn--primary[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn--outline { background: #fff; border: 1.5px solid #1f2a22; color: var(--ink-2); }
.btn--outline:hover { background: #f6f6f0; }
.btn--nav { height: 48px; padding: 0 26px; border-radius: 12px; font-size: 17px; }
.btn--lg { height: 52px; padding: 0 24px; font-size: 17px; }
.btn--xl { height: 60px; padding: 0 28px; font-size: 20px; border-radius: 14px; }
.btn--wide { width: 100%; }

/* =========================================================
   1. ANNOUNCEMENT BAR
   ========================================================= */
.topbar {
  background: var(--green-900); color: #fff;
  height: 46px; padding: 0 60px 0 80px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  font-size: 15.5px; font-weight: 600;
}
.topbar__list { display: flex; align-items: center; gap: 0; flex: 1; justify-content: space-between; max-width: 1060px; }
.topbar__list li { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.topbar__list .ic, .topbar__phone .ic { color: #f4c23a; width: 22px; height: 22px; }
.topbar__phone { display: flex; align-items: center; gap: 10px; white-space: nowrap; }

/* =========================================================
   2–3. HEADER / NAV
   ========================================================= */
.header { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid #ebe8e0; }
.header__inner { height: 76px; max-width: 1536px; margin: 0 auto; padding: 0 56px 0 80px; display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand__mark { width: 52px; height: 52px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 39px; letter-spacing: -.01em; color: #142a1b; }
.brand__name i { font-style: normal; color: var(--green-500); }
.brand__tag { font-size: 14px; font-weight: 500; color: #1d2b22; margin-top: 3px; }

.nav { margin-left: 56px; }
.nav__list { display: flex; align-items: center; gap: 33px; }
.nav__link { display: inline-flex; align-items: center; gap: 5px; font-size: 17.5px; font-weight: 700; color: var(--ink-2); padding: 8px 0; position: relative; }
.nav__link:hover { color: var(--green-700); }
.has-menu { position: relative; }
.menu {
  position: absolute; top: 100%; left: -14px; min-width: 210px; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-soft);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s ease; z-index: 5;
}
.has-menu.is-open .menu, .has-menu:hover .menu { opacity: 1; visibility: visible; transform: none; }
.menu a { display: block; padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: 15.5px; }
.menu a:hover { background: var(--green-100); color: var(--green-900); }

.header__actions { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.icon-btn { position: relative; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: #14201a; }
.icon-btn:hover { background: #f1f1ea; }
.icon-btn .ic { width: 26px; height: 26px; stroke-width: 1.9; }
.cart-count { position: absolute; top: -2px; right: -4px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--green-700); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; }
.nav-toggle { display: none; }

.searchbar { display: flex; gap: 12px; padding: 14px 80px; border-top: 1px solid var(--line); background: #fff; }
.searchbar[hidden] { display: none; }
.searchbar input { flex: 1; height: 48px; border: 1.5px solid #d9e4cf; border-radius: 12px; padding: 0 18px; font: inherit; font-size: 16px; outline: none; }
.searchbar input:focus { border-color: var(--green-500); }
.searchbar .btn { height: 48px; padding: 0 24px; }

/* =========================================================
   4. HERO
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(560px 460px at 82% 48%, rgba(219, 235, 202, .68), transparent 72%),
    linear-gradient(108deg, #f8f3e7 0%, #fbf8ef 49%, #edf3e6 100%);
}

.hero__inner {
  max-width: 1536px;
  min-height: 560px;
  margin: 0 auto;
  padding: 48px clamp(32px, 5vw, 72px) 24px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(32px, 4vw, 60px);
}

.hero__copy { min-width: 0; max-width: 600px; position: relative; z-index: 1; }
h1 { font-family: var(--font-head); font-weight: 800; letter-spacing: -.02em; line-height: .98; }
h1 span { display: block; }
.h1-a, .h1-b, .h1-c { font-size: clamp(52px, 4.8vw, 72px); }
.h1-a { color: var(--ink); }
.h1-b { color: var(--green-900); }
.h1-c { color: var(--orange); font-style: italic; }
.hero__lead { max-width: 500px; margin-top: 22px; color: #28332b; font-size: 18px; line-height: 1.55; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

.hero__art {
  display: grid;
  place-items: center;
  min-width: 0;
  justify-self: center;
  width: min(100%, 420px);
  height: auto;
  aspect-ratio: 370 / 480;
}
.hero__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 12px 20px rgba(49, 61, 38, .1));
  mix-blend-mode: multiply;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 4%, #000 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 4%, #000 100%);
  mask-composite: intersect;
}

/* =========================================================
   6. TRUST STRIP
   ========================================================= */
.stats { background: var(--cream-2); }
.stats__list { max-width: 1536px; margin: 0 auto; padding: 0 60px; height: 78px; display: flex; align-items: center; }
.stats__list li { flex: 1; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 0 12px; position: relative; }
.stats__list li + li::before { content: ""; position: absolute; left: 0; top: 50%; height: 34px; width: 1px; background: #e4d9ca; transform: translateY(-50%); }
.stats__link { display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; min-width: 0; min-height: 48px; padding: 6px 8px; border-radius: 12px; color: inherit; }
.stats__link:hover { background: rgba(255, 255, 255, .55); }
.stats__link:hover strong, .stats__link:hover span { color: var(--green-900); }
.stats__link:focus-visible { outline: 3px solid var(--green-700); outline-offset: 2px; }
.stats__list div { display: flex; flex-direction: column; line-height: 1.2; }
.stats__list strong { font-size: 19px; font-weight: 800; color: #151515; }
.stats__list span { font-size: 16px; font-weight: 500; color: #333; }
.ic--stat { flex: none; width: 42px; height: 42px; color: var(--green-700); }
.stats__list li:nth-child(1) .ic--stat, .stats__list li:nth-child(5) .ic--stat { fill: currentColor; stroke: none; }
.stats__list li:nth-child(2) .ic--stat { fill: currentColor; stroke: none; }

/* ---------- interactive breed guide ---------- */
.breed-guide { background: linear-gradient(180deg, #f7f3e9 0, #fff 170px); padding: 38px 0 84px; }
.breed-guide__inner, .breed-detail__inner { max-width: 1416px; margin: 0 auto; padding: 0 48px; }
.breed-guide__hero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 38px; align-items: center; }
.breed-guide__copy { min-width: 0; }
.breed-guide__title { margin-top: 18px; color: var(--ink); font: 800 58px/1.04 var(--font-head); }
.breed-guide__title em { color: var(--green-900); font-style: italic; }
.breed-guide__lead { max-width: 600px; margin-top: 20px; color: #36413a; font-size: 18px; line-height: 1.55; }
.breed-guide__visual { min-width: 0; height: 390px; overflow: hidden; border-radius: 22px; background: #f7f3e9; }
.breed-guide__hero-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.breed-guide__eyebrow { display: inline-block; color: var(--green-700); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.breed-guide__toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
.breed-tabs { display: inline-flex; gap: 5px; padding: 5px; border-radius: 14px; background: #f3f3eb; }
.breed-tab { min-width: 104px; min-height: 48px; padding: 0 18px; border-radius: 10px; color: #435047; font-size: 15px; font-weight: 800; transition: color .16s ease, background .16s ease, box-shadow .16s ease; }
.breed-tab:hover { color: var(--green-900); }
.breed-tab.is-active { color: #fff; background: var(--green-900); box-shadow: 0 3px 10px rgba(12,90,42,.18); }
.breed-guide__count { margin: 0; color: #38443b; font-size: 14px; font-weight: 800; line-height: 1.4; }
.breed-grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 30px; }
.breed-card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; background: #fff; border: 1px solid #ebe9e1; border-radius: 18px; box-shadow: 0 5px 18px rgba(33,54,36,.07); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.breed-card:hover, .breed-card:focus-visible { transform: translateY(-4px); border-color: #c8dbbd; box-shadow: 0 13px 28px rgba(33,54,36,.13); }
.breed-card__photo { aspect-ratio: 4 / 3; overflow: hidden; background: #f2f2e9; }
.breed-photo { position: relative; width: 100%; height: 100%; min-height: 160px; display: grid; place-items: center; padding: 18px; overflow: hidden; color: #657064; text-align: center; background: linear-gradient(145deg, #f6f1e5 0%, #e8efdf 100%); }
.breed-photo__image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.breed-card__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 16px 17px 17px; }
.breed-card__type { color: var(--green-700); font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.breed-card h3 { margin-top: 5px; color: #171a17; font: 700 22px/1.15 var(--font-head); }
.breed-card p { margin-top: 8px; color: #596059; font-size: 13px; line-height: 1.5; }
.breed-card__open { display: flex; justify-content: space-between; align-items: center; width: 100%; gap: 8px; margin-top: auto; padding-top: 15px; color: var(--green-700); font-size: 13px; font-weight: 800; }
.breed-card__open span { font-size: 17px; transition: transform .18s ease; }
.breed-card:hover .breed-card__open span { transform: translate(2px,-2px); }
#breed-guide[hidden], #breed-detail[hidden] { display: none !important; }
body.is-breed-detail main > .hero,
body.is-breed-detail main > .stats,
body.is-breed-detail main > .breed-guide,
body.is-breed-detail main > .lower { display: none; }
.breed-detail { min-height: 65vh; padding: 32px 0 80px; background: linear-gradient(180deg, #fdfbf6, #fff); }
.breed-detail__back { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: var(--green-700); font-size: 14px; font-weight: 800; }
.breed-detail__back span { font-size: 20px; }
.breed-detail__hero { display: grid; grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; margin-top: 22px; }
.breed-detail__hero > .breed-photo { min-height: 360px; aspect-ratio: 4 / 3; border-radius: 24px; }
.breed-detail__heading h1 { margin-top: 10px; color: #111; font: 700 clamp(42px, 5vw, 64px)/1.05 var(--font-head); }
.breed-detail__heading > p { max-width: 520px; margin-top: 15px; color: #515951; font-size: 18px; line-height: 1.6; }
.breed-detail__content { max-width: 1000px; margin: 46px auto 0; }
.breed-detail__notice { padding: 15px 18px; border-left: 4px solid var(--orange); border-radius: 0 12px 12px 0; color: #485149; background: #f8f5ec; font-size: 14px; line-height: 1.55; }
.breed-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.breed-fact { padding: 20px 21px; border: 1px solid #e9e7df; border-radius: 16px; background: #fff; }
.breed-fact h2 { color: #18261b; font: 700 20px/1.2 var(--font-head); }
.breed-fact p { margin-top: 9px; color: #565e57; font-size: 14px; line-height: 1.6; }

/* =========================================================
   7–8. MEALS + SUBSCRIPTION
   ========================================================= */
.lower { background: linear-gradient(180deg, #fdfbf6, #faf7ef); }
.lower__inner { max-width: 1536px; margin: 0 auto; padding: 32px 44px 8px 60px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }

.section-title { font-family: var(--font-head); font-weight: 700; font-size: 34px; line-height: 1.1; color: #121212; padding-left: 5px; margin-bottom: 20px; position: relative; width: max-content; letter-spacing: -.01em; }
.section-title em { font-style: normal; color: var(--green-900); }
.section-title::after { content: ""; position: absolute; left: 5px; bottom: -10px; width: 70px; height: 4px; border-radius: 4px; background: var(--orange); }
.meals__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; padding-top: 14px; }

.card {
  position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 20px;
  padding: 12px;
  box-shadow: 0 6px 24px rgba(50, 60, 40, .10); border: 1px solid #f1eee6;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover, .card:focus-visible { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(50, 60, 40, .16); }
.card__img { display: block; flex: 0 0 auto; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.card__chip { position: absolute; right: 20px; top: 20px; z-index: 1; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; }
.card__chip svg { width: 28px; height: 28px; }
.card__chip--chicken { background: #fde3dc; }
.card__chip--lamb { background: #ead9f5; }
.card__chip--fish { background: #dbe2fb; }
.card__chip--paneer { background: #e3efd9; }
.card__body { display: flex; flex: 1; flex-direction: column; padding: 12px 4px 2px; }
.card__title { font-size: 18px; font-weight: 800; color: #111; line-height: 1.1; margin-bottom: 6px; }
.card__desc { font-size: 13.5px; color: #444; line-height: 1.25; }
.card__price { margin-top: 6px; font-size: 20px; font-weight: 800; color: #111; }
.card__price { display: none; }
.card__link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 800; color: var(--green-700); width: max-content; }
.card__link:hover { text-decoration: underline; }

.journey {
  padding: clamp(20px, 3vw, 34px); border: 1px solid #e3ebdc; border-radius: 28px;
  background: linear-gradient(135deg, #f1f7eb, #fffaf1);
}
.journey__eyebrow { color: var(--green-700); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.journey__title { margin-top: 7px; color: #111; font: 700 clamp(28px, 3vw, 38px)/1.1 var(--font-head); letter-spacing: -.01em; }
.journey__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 24px; padding: 0; list-style: none; }
.journey__card {
  display: flex; flex-direction: column; min-height: 232px; padding: 20px;
  background: #fff; border: 1px solid #e8eee1; border-radius: 20px;
  box-shadow: 0 6px 20px rgba(30, 60, 30, .08);
}
.journey__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 16px; background: var(--green-100); color: var(--green-900); }
.journey__icon .ic { width: 25px; height: 25px; }
.journey__step { margin-bottom: 6px; color: var(--green-700); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.journey__card h3 { margin-bottom: 8px; color: #111; font-size: 18px; font-weight: 800; line-height: 1.2; }
.journey__desc { color: var(--muted); font-size: 13.5px; line-height: 1.55; }

.plans {
  position: relative; margin-top: 2px; padding: 30px; scroll-margin-top: 96px;
  background: var(--cream); border: 1px solid #e8e1d5; border-radius: 28px;
}
.plans__layout {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 30%);
  grid-template-rows: 92px 1fr; column-gap: 18px; row-gap: 5px; align-items: center;
}
.plans__head { grid-column: 1; grid-row: 1; display: flex; align-items: center; gap: 14px; }
.ic--cal { width: 48px; height: 48px; color: var(--green-900); stroke-width: 1.7; }
.plans__head h2 { font-family: var(--font-head); font-size: clamp(30px, 2.4vw, 36px); font-weight: 700; color: #111; line-height: 1.1; letter-spacing: -.01em; }
.plans__head p { font-size: 14.5px; color: #2b332d; margin-top: 3px; }
.plans__grid {
  grid-column: 1; grid-row: 2; align-self: start; margin-top: 0; transform: translateX(clamp(40px, 3.5vw, 50px));
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
}
.plans__pepper {
  grid-column: 2; grid-row: 1 / span 2; justify-self: center; width: min(100%, 390px);
  position: relative; z-index: 3; height: clamp(360px, 33vw, 460px);
  display: flex; align-items: center; justify-content: center;
}
.plans__dog {
  --pepper-rest-y: calc(243px - clamp(180px, 16.5vw, 230px));
  flex: none; width: 400px; max-width: none; height: auto; object-fit: contain; object-position: center;
  transform: translateY(var(--pepper-rest-y)); transform-origin: center 85%;
  transition: transform .28s ease; filter: drop-shadow(0 10px 16px rgba(40, 35, 29, .12));
}
.plans__pepper.is-excited .plans__dog { animation: plans-pepper-bounce .86s ease-in-out infinite; }
.plans__bowl {
  position: absolute; z-index: 2; left: 56%; bottom: 2%; width: min(64%, 240px); max-width: none; height: auto;
  opacity: 0; pointer-events: none; object-fit: contain;
  transform: translate3d(-50%, calc(100% + 24px), 0) rotate(-3deg) scale(.94);
  filter: drop-shadow(0 7px 8px rgba(34, 30, 25, .2));
  transition: opacity .28s ease, transform .78s cubic-bezier(.2, .8, .25, 1);
}
.plans__pepper.is-excited .plans__bowl {
  opacity: 1; transform: translate3d(-50%, 0, 0) rotate(0) scale(1);
}
@media (max-width: 1199px) {
  .plans__bowl { transform: translate3d(calc(-50% - 75%), 0, 0) rotate(-3deg) scale(.94); }
}
.plans__heart {
  position: absolute; z-index: 2; color: #e83d5b;
  font: 700 clamp(36px, 3.2vw, 48px)/1 Georgia, serif;
  opacity: 0; pointer-events: none; transform: translate3d(0, 8px, 0) scale(.55);
  text-shadow: 0 2px 6px rgba(181, 26, 64, .3), 0 0 16px rgba(243, 89, 128, .32);
  transition: opacity .32s ease, transform .32s ease;
}
.plans__heart--one { top: 8%; left: 15%; color: #e53955; --heart-delay: 0s; --heart-duration: 2.6s; --heart-drift: -40px; --heart-turn: -16deg; }
.plans__heart--two { top: 5%; left: 54%; color: #f04e83; --heart-delay: .32s; --heart-duration: 2.9s; --heart-drift: 32px; --heart-turn: 13deg; }
.plans__heart--three { top: 19%; right: 8%; color: #d93058; --heart-delay: .64s; --heart-duration: 2.5s; --heart-drift: 48px; --heart-turn: 17deg; }
.plans__heart--four { top: 29%; left: 15%; color: #f05a79; --heart-delay: .96s; --heart-duration: 3.1s; --heart-drift: -52px; --heart-turn: -12deg; }
.plans__heart--five { top: 38%; right: 12%; color: #e83d5b; --heart-delay: 1.28s; --heart-duration: 2.7s; --heart-drift: 38px; --heart-turn: 15deg; }
.plans__heart--six { top: 50%; left: 23%; color: #ec4770; --heart-delay: 1.6s; --heart-duration: 3.2s; --heart-drift: -30px; --heart-turn: -18deg; }
.plans__heart--seven { top: 23%; left: 69%; color: #d93058; --heart-delay: 1.92s; --heart-duration: 2.8s; --heart-drift: 52px; --heart-turn: 12deg; }
.plans__heart--eight { top: 59%; right: 23%; color: #f05a79; --heart-delay: 2.24s; --heart-duration: 3s; --heart-drift: 34px; --heart-turn: 18deg; }
.plans__pepper.is-excited .plans__heart {
  animation: plans-heart-float var(--heart-duration) ease-in-out var(--heart-delay) infinite;
}
.plans__pepper.is-settling .plans__heart { animation: plans-heart-settle .38s ease-out both; }
@keyframes plans-pepper-bounce {
  0%, 100% { transform: translateY(var(--pepper-rest-y)) rotate(0); }
  45% { transform: translateY(calc(var(--pepper-rest-y) - 6px)) rotate(-.8deg); }
  75% { transform: translateY(calc(var(--pepper-rest-y) - 2px)) rotate(.5deg); }
}
@keyframes plans-heart-float {
  0% { opacity: 0; transform: translate3d(0, 8px, 0) scale(.55) rotate(0); }
  12% { opacity: 1; }
  58% { opacity: .96; transform: translate3d(calc(var(--heart-drift) * .55), -46px, 0) scale(1) rotate(calc(var(--heart-turn) * .6)); }
  100% { opacity: 0; transform: translate3d(var(--heart-drift), -132px, 0) scale(.78) rotate(var(--heart-turn)); }
}
@keyframes plans-heart-settle {
  from { opacity: var(--heart-fade-start, 0); transform: var(--heart-fade-transform, translate3d(0, 8px, 0) scale(.55)); }
  to { opacity: 0; transform: translate3d(var(--heart-drift), -24px, 0) scale(.75) rotate(var(--heart-turn)); }
}
@media (max-width: 760px) {
  .plans__heart { font-size: clamp(28px, 8vw, 38px); }
}
@media (max-width: 1360px) {
  .plans__dog { width: 380px; }
}
.plan {
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
  min-width: 0; min-height: 292px; padding: 24px;
  border: 1px solid #39302a; border-radius: 18px; background: #fff; color: #302822;
  box-shadow: 5px 5px 0 rgba(36, 31, 27, .16);
}
.plan__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 14px; background: var(--green-100); color: var(--green-900); }
.plan__icon .ic { width: 25px; height: 25px; }
.plan__trophy { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.plan h3 { margin-bottom: 8px; color: #171310; font: 700 23px/1.2 var(--font-head); }
.plan__subtitle { color: #625a52; font-size: 14px; line-height: 1.45; }
.plan__price, .plan__weight { margin-top: 8px; color: #302822; font-size: 15px; font-weight: 700; }
.plan__price:empty, .plan__weight:empty { display: none; }
.plan__action {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; min-height: 50px; margin-top: auto; padding: 0 16px;
  border-radius: 12px; background: var(--green-900); color: #fff;
  font-size: 12px; font-weight: 800; letter-spacing: .035em; text-align: left;
  transition: background .16s ease, transform .16s ease;
}
.plan__action:hover { background: var(--green-700); transform: translateY(-1px); }
.plan__action:focus-visible { outline: 3px solid #8bc77a; outline-offset: 3px; }
.plan__action span { font-size: 18px; line-height: 1; }
.plan--featured { background: var(--green-900); border-color: var(--green-900); color: #fff; box-shadow: 5px 5px 0 rgba(12, 90, 42, .22); }
.plan--featured .plan__icon { background: rgba(255, 255, 255, .16); color: #fff; }
.plan--featured h3, .plan--featured .plan__price, .plan--featured .plan__weight { color: #fff; }
.plan--featured .plan__subtitle { color: #e2efde; }
.plan--featured .plan__action { background: #fff; color: var(--green-900); }
.plan--featured .plan__action:hover { background: #e8f3de; }
.plan__badge {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  padding: 6px 13px; border: 1px solid var(--green-900); border-radius: 999px;
  background: #fff; color: var(--green-900); font-size: 10px; font-weight: 800;
  letter-spacing: .09em; white-space: nowrap;
}

.site-footer { background: #241f1b; color: #f7f4ef; }
.site-footer__inner { max-width: 1536px; margin: 0 auto; padding: 48px 60px 24px; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 42px; }
.site-footer__brand-column, .site-footer__column { min-width: 0; }
.site-footer__brand { color: #fff; font: 800 32px/1.1 var(--font-head); letter-spacing: -.01em; }
.site-footer__brand span { color: var(--green-500); }
.site-footer__tagline { max-width: 330px; margin-top: 12px; color: #c7c0b9; font-size: 14px; line-height: 1.65; }
.site-footer__contact { display: grid; gap: 6px; margin-top: 18px; font-style: normal; }
.site-footer__contact-link { display: flex; align-items: center; gap: 10px; min-height: 44px; color: #e6e1db; font-size: 14px; overflow-wrap: anywhere; }
.site-footer__contact-link .ic { width: 18px; height: 18px; color: #8bc77a; }
.site-footer__heading { margin: 7px 0 14px; color: #8bc77a; font-size: 12px; font-weight: 800; letter-spacing: .13em; }
.site-footer__links { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.site-footer__links a { display: inline-flex; align-items: center; min-height: 38px; color: #d3cec8; font-size: 14px; line-height: 1.4; transition: color .16s ease; }
.site-footer__links a:hover, .site-footer__contact-link:hover { color: #9bd58a; }
.site-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .16); color: #bdb7b0; font-size: 12.5px; }

/* Homepage consultation sections */
.homepage-contact-sections { max-width: 1536px; margin: 0 auto; padding: 0 60px 48px; }

/* =========================================================
   CART DRAWER + TOAST (frontend demo only)
   ========================================================= */
.scrim { position: fixed; inset: 0; background: rgba(15, 30, 20, .45); z-index: 80; }
.scrim[hidden] { display: none; }
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%); background: #fff; z-index: 90; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s ease; box-shadow: -10px 0 40px rgba(0,0,0,.18); }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-family: var(--font-head); font-size: 24px; }
.drawer__body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 24px; color: var(--muted); }
.drawer__body p { font-weight: 700; color: var(--ink); font-size: 18px; }
.ic--empty { width: 56px; height: 56px; color: #b7c7ac; }
.drawer__foot { padding: 20px 22px 24px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.drawer__foot .row { display: flex; justify-content: space-between; font-weight: 800; font-size: 18px; }
.drawer__foot .btn { height: 52px; font-size: 17px; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 24px); background: #14281c; color: #fff; font-weight: 600; font-size: 15px; padding: 14px 22px; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.25); opacity: 0; pointer-events: none; transition: .22s ease; z-index: 100; max-width: calc(100% - 32px); text-align: center; }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1360px) {
  .topbar { padding: 0 32px; font-size: 14.5px; }
  .header__inner { padding: 0 32px; gap: 20px; }
  .nav { margin-left: 20px; }
  .nav__list { gap: 22px; }
  .nav__link { font-size: 16px; }
  .brand__name { font-size: 34px; }
  .searchbar { padding: 14px 32px; }
  .lower__inner { padding-left: 32px; padding-right: 32px; grid-template-columns: minmax(0, 1fr); }
  .homepage-contact-sections { padding-left: 32px; padding-right: 32px; }
  .site-footer__inner { padding-left: 32px; padding-right: 32px; }
  .meals__grid { gap: 14px; }
  .stats__list { padding: 0 24px; }
}

@media (max-width: 1100px) {
  .topbar__phone { display: none; }
  .topbar__list { max-width: none; }
  .nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; margin-left: auto; border-radius: 12px; border: 1.5px solid var(--line); order: 3; }
  .header__actions { margin-left: 0; gap: 10px; order: 2; }
  .btn--nav { display: none; }
  .nav { order: 4; position: absolute; top: 100%; left: 0; right: 0; margin: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(0,0,0,.08); display: none; padding: 8px 24px 20px; }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { width: 100%; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid #f0eee6; font-size: 17px; }
  .menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 10px; display: none; }
  .has-menu.is-open .menu { display: block; }
  .has-menu:hover .menu { display: none; }
  .has-menu.is-open:hover .menu { display: block; }

  .hero__inner { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); min-height: 0; padding: 40px 32px; gap: 30px; }
  .hero__copy { grid-column: 1; grid-row: auto; max-width: none; }
  .hero__art { grid-column: 2; grid-row: auto; width: min(100%, 400px); }
  .h1-a, .h1-b, .h1-c { font-size: clamp(48px, 5.4vw, 60px); }
  .hero__lead { font-size: 17px; }

  .stats__list { height: auto; padding: 18px 20px; flex-wrap: wrap; row-gap: 14px; }
  .stats__list li { flex: 1 1 33%; min-width: 200px; justify-content: flex-start; }
  .stats__list li + li::before { display: none; }

  .lower__inner { grid-template-columns: minmax(0, 1fr); padding: 28px 24px 24px; }
  .lower__inner > * { min-width: 0; }
  .journey__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__inner { padding: 42px 28px 22px; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; }
  .plans__layout { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; gap: 18px; }
  .plans__pepper { grid-column: 1; grid-row: 2; width: min(100%, 300px); height: 350px; }
  .plans__dog { --pepper-rest-y: 0px; width: min(100%, 300px); }
  .plans__grid { grid-column: 1; grid-row: 3; align-self: stretch; margin-top: 0; transform: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan:last-child { grid-column: 1 / -1; width: min(100%, 520px); justify-self: center; }
  .plans { margin-top: 38px; }
}

@media (min-width: 1101px) and (max-width: 1199px) {
  .plans__layout { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; row-gap: 18px; }
  .plans__pepper { grid-column: 1; grid-row: 2; width: min(100%, 300px); height: 300px; }
  .plans__dog { --pepper-rest-y: 0px; width: min(100%, 300px); }
  .plans__grid { grid-column: 1; grid-row: 3; align-self: stretch; margin-top: 0; transform: none; }
}

@media (max-width: 760px) {
  .topbar { height: auto; min-height: 40px; padding: 8px 16px; font-size: 13.5px; }
  .topbar__list { flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
  .topbar__list li:nth-child(n+3) { display: none; }
  .header__inner { height: 68px; padding: 0 16px; gap: 8px; }
  .brand__mark { width: 40px; height: 40px; }
  .brand__name { font-size: 28px; }
  .brand__tag { font-size: 11.5px; }
  .icon-btn { width: 34px; height: 34px; }
  .icon-btn .ic { width: 23px; height: 23px; }
  #accountBtn { display: none; }
  .searchbar { padding: 12px 16px; }
  .searchbar .btn { padding: 0 16px; }

  .hero__inner { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 30px 20px 24px; gap: 16px; }
  .hero__copy { grid-column: 1; max-width: 560px; margin: 0; }
  .h1-a, .h1-b, .h1-c { font-size: clamp(40px, 11vw, 52px); }
  .hero__lead { margin-top: 18px; font-size: 16px; }
  .hero__cta { max-width: 380px; flex-direction: column; align-items: stretch; gap: 12px; margin-top: 20px; }
  .hero__cta .btn { width: 100%; }
  .hero__art { grid-column: 1; width: min(100%, clamp(270px, 42vw, 340px)); }

  .stats__list li { flex-basis: 50%; min-width: 0; }
  .ic--stat { width: 34px; height: 34px; }
  .stats__list strong { font-size: 16px; }
  .stats__list span { font-size: 14px; }

  .section-title { font-size: 28px; }
  .meals__grid { grid-template-columns: 1fr; gap: 16px; }
  .journey { padding: 20px 16px; }
  .journey__grid { gap: 12px; margin-top: 18px; }
  .journey__card { padding: 17px; }
  .site-footer__inner { padding: 36px 16px 20px; }
  .site-footer__grid { gap: 26px 20px; }
  .site-footer__brand-column { grid-column: 1 / -1; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 28px; }
  .homepage-contact-sections { padding-left: 16px; padding-right: 16px; }
  .lower__inner { padding: 24px 16px 20px; }
  .plans { padding: 20px 16px; }
  .plans__layout { gap: 16px; }
  .plans__pepper { width: min(100%, 260px); height: 260px; }
  .plans__dog { --pepper-rest-y: 0px; width: min(100%, 260px); }
  .plans__head h2 { font-size: 23px; }
  .plans__head p { font-size: 13.5px; max-width: 200px; }
  .plans__grid { grid-template-columns: 1fr; }
  .plan:last-child { grid-column: auto; width: auto; justify-self: stretch; }
  .plan { min-height: 270px; padding: 22px; }
}

@media (max-width: 380px) {
  .stats__list li { flex-basis: 100%; }
  .brand__tag { display: none; }
  .hero__art { width: min(100%, 250px); }
}

@media (max-width: 480px) {
  .journey__grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 20px; }
  .site-footer__brand-column { grid-column: auto; }
  .site-footer__heading { margin-bottom: 8px; }
}

@media (max-width: 1100px) {
  .breed-guide__inner, .breed-detail__inner { padding-left: 28px; padding-right: 28px; }
  .breed-guide__hero { gap: 24px; }
  .breed-guide__title { font-size: 48px; }
  .breed-guide__visual { height: 340px; }
  .breed-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .breed-detail__hero { gap: 30px; }
}
@media (max-width: 760px) {
  .breed-guide { padding: 20px 0 60px; }
  .breed-guide__inner, .breed-detail__inner { padding-left: 16px; padding-right: 16px; }
  .breed-guide__hero { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .breed-guide__title { margin-top: 12px; font-size: 42px; }
  .breed-guide__lead { margin-top: 14px; font-size: 16px; }
  .breed-guide__toolbar { gap: 12px; margin-top: 18px; }
  .breed-tab { min-width: 96px; min-height: 48px; }
  .breed-guide__visual { height: auto; aspect-ratio: 16 / 9; border-radius: 16px; }
  .breed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .breed-card { border-radius: 15px; }
  .breed-card__body { padding: 13px 13px 14px; }
  .breed-card h3 { font-size: 19px; }
  .breed-card p { font-size: 12.5px; }
  .breed-photo { min-height: 120px; }
  .breed-detail { padding-top: 20px; }
  .breed-detail__hero { grid-template-columns: 1fr; gap: 22px; margin-top: 15px; }
  .breed-detail__hero > .breed-photo { min-height: 240px; max-height: 340px; }
  .breed-detail__heading h1 { font-size: 44px; }
  .breed-detail__heading > p { font-size: 16px; }
  .breed-detail__content { margin-top: 28px; }
  .breed-facts { gap: 10px; }
  .breed-fact { padding: 16px; }
  .breed-fact h2 { font-size: 18px; }
}
@media (max-width: 480px) {
  .breed-guide__title { font-size: 36px; }
  .breed-grid { grid-template-columns: 1fr; }
  .breed-card { display: grid; grid-template-columns: minmax(110px, .8fr) minmax(0, 1.2fr); min-height: 158px; }
  .breed-card__photo { height: 100%; aspect-ratio: auto; }
  .breed-card__body { padding: 13px; }
  .breed-card h3 { font-size: 18px; }
  .breed-card p { margin-top: 5px; font-size: 12px; }
  .breed-card__open { padding-top: 8px; font-size: 12px; }
  .breed-facts { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  .plans__pepper.is-excited .plans__dog { animation: none; transform: translateY(var(--pepper-rest-y)); }
  .plans__pepper.is-excited .plans__bowl { opacity: 1; transform: translate3d(-50%, 0, 0) rotate(0) scale(1); }
  .plans__pepper.is-excited .plans__heart { animation: none; opacity: .75; transform: none; }
  .plans__pepper.is-settling .plans__heart { animation: none; opacity: 0; }
}

/* TailsLife: Pet expert consultation */
.tailslife-expert-section {
    margin-top: 32px;
    padding: 42px 32px;
    border: 1px solid #e5e9df;
    border-radius: 22px;
    background: linear-gradient(135deg, #f5f7ef 0%, #fffdf8 100%);
    text-align: center;
}

.tailslife-expert-section h2,
.tailslife-discover-section h2 {
    margin: 12px 0;
    color: #173f2b;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.3;
}

.tailslife-expert-section p,
.tailslife-discover-section p {
    max-width: 680px;
    margin: 0 auto 24px;
    color: #58665d;
    font-size: 15px;
    line-height: 1.8;
}

.tailslife-expert-button,
.tailslife-discover-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 13px 24px;
    border: 1px solid #116b39;
    border-radius: 12px;
    background: #116b39;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.tailslife-expert-button:hover,
.tailslife-discover-button:hover {
    background: #0b512b;
    transform: translateY(-2px);
}

/* TailsLife: Subscription and offers */
.tailslife-discover-section {
    margin-top: 24px;
    padding: 36px 32px;
    border: 1px solid #ece7dd;
    border-radius: 22px;
    background: #fff;
    text-align: center;
}

.tailslife-discover-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.tailslife-discover-button--secondary {
    border-color: #d9e2d8;
    background: #fff;
    color: #116b39;
}

.tailslife-discover-button--secondary:hover {
    background: #f3f7f0;
    color: #0b512b;
}

.pet-expert-dialog {
    width: min(520px, calc(100vw - 32px));
    max-width: none;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid #e2e8de;
    border-radius: 22px;
    background: #fff;
    color: #1d2b22;
    box-shadow: 0 24px 70px rgba(20, 35, 24, .24);
}

.pet-expert-dialog::backdrop { background: rgba(22, 31, 24, .58); backdrop-filter: blur(3px); }
.pet-expert-dialog__content { padding: 28px; }
.pet-expert-dialog__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 22px; }
.pet-expert-dialog__head h2 { margin-top: 8px; color: #173f2b; font: 700 28px/1.2 var(--font-head); }
.pet-expert-dialog__head p { margin-top: 7px; color: #58665d; font-size: 14px; line-height: 1.5; }
.pet-expert-dialog__close { display: grid; flex: none; place-items: center; width: 42px; height: 42px; border: 1px solid #e4e9e1; border-radius: 50%; background: #f7f8f4; color: #304337; }
.pet-expert-dialog__close:hover { background: #e8f3de; }
.pet-expert-dialog__close:focus-visible, .pet-expert-dialog__option:focus-visible { outline: 3px solid #72b95e; outline-offset: 3px; }
.pet-expert-dialog__options { display: grid; gap: 10px; }
.pet-expert-dialog__option { display: grid; grid-template-columns: 46px minmax(0, 1fr) 18px; align-items: center; gap: 12px; min-height: 72px; padding: 12px; border: 1px solid #e2e8de; border-radius: 15px; color: #213328; transition: background .16s ease, border-color .16s ease; }
.pet-expert-dialog__option:hover { border-color: #b7d4a9; background: #f6faf2; }
.pet-expert-dialog__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #e8f3de; color: var(--green-900); }
.pet-expert-dialog__icon .ic { width: 22px; height: 22px; }
.pet-expert-dialog__label strong, .pet-expert-dialog__label small { display: block; }
.pet-expert-dialog__label strong { font-size: 14px; font-weight: 800; }
.pet-expert-dialog__label small { margin-top: 3px; color: #59645b; font-size: 12.5px; overflow-wrap: anywhere; }
.pet-expert-dialog__arrow { color: var(--green-700); font-size: 18px; text-align: right; }

@media (max-width: 600px) {
    .tailslife-expert-section,
    .tailslife-discover-section {
        padding: 28px 18px;
        border-radius: 18px;
    }

    .tailslife-discover-actions {
        flex-direction: column;
    }

    .tailslife-discover-button,
    .tailslife-expert-button {
        width: 100%;
        box-sizing: border-box;
    }

    .homepage-contact-sections { padding-bottom: 32px; }
    .pet-expert-dialog { width: calc(100vw - 24px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); border-radius: 18px; }
    .pet-expert-dialog__content { padding: 20px; }
    .pet-expert-dialog__head h2 { font-size: 24px; }
}
