/* Dpet v7.2.6 ORACLE PARITY BRIDGE. Staging-only migration layer. */
/* Source order: styles.css, ux-freeze-v7.css, final-polish-v7-1.css, mobile-acceptance-v7-1-1.css, desktop-acceptance-v7-1-3.css, acceptance-v7-1-4.css, acceptance-v7-1-5.css, acceptance-v7-1-6.css, acceptance-v7-1-7.css, acceptance-v7-1-8.css, acceptance-v7-1-9.css, acceptance-v7-1-10.css, acceptance-v7-1-11.css, acceptance-v7-1-12.css, acceptance-v7-1-13.css, acceptance-v7-1-14.css, acceptance-v7-1-15.css, acceptance-v7-1-17.css, acceptance-v7-1-18.css, acceptance-v7-1-19.css, acceptance-v7-1-21.css, acceptance-v7-1-23.css, visual-media-v7-2.css */

/* === styles.css === */
:root {
  --cream: #f7f3ea;
  --cream-2: #fffaf1;
  --graphite: #1e1e1e;
  --muted: #6b645d;
  --green: #155232;
  --green-2: #218949;
  --blue: #006075;
  --orange: #e05204;
  --sand: #d8c7a3;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(30, 30, 30, .12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --header-h: 88px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Varela Round", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--cream);
  color: var(--graphite);
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.nowrap { white-space: nowrap; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(18px, 4vw, 64px);
  background: rgba(247, 243, 234, .72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.35);
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { background: rgba(247, 243, 234, .94); box-shadow: 0 10px 40px rgba(30,30,30,.08); }
.brand img { height: 58px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 34px); font-size: 16px; }
.nav a { color: rgba(30,30,30,.82); transition: color .2s ease, transform .2s ease; }
.nav a:hover { color: var(--green); transform: translateY(-1px); }
.nav-help { padding: 10px 18px; border: 1px solid rgba(21,82,50,.26); border-radius: var(--radius-pill); background: rgba(255,255,255,.48); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; }
.menu-toggle span { display: block; height: 2px; background: var(--graphite); margin: 6px 0; border-radius: 4px; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 42px) clamp(22px, 7vw, 100px) 60px;
  isolation: isolate;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
.hero-video-mobile { display: none; }
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 88% 40%, rgba(21,82,50,.26), transparent 30%),
    linear-gradient(270deg, rgba(15,26,22,.78) 0%, rgba(15,26,22,.54) 38%, rgba(15,26,22,.14) 72%, rgba(15,26,22,.05) 100%);
}
.hero-content {
  color: var(--white);
  max-width: 710px;
  animation: rise .85s ease both;
}
.eyebrow, .section-kicker {
  font-size: 15px;
  letter-spacing: .02em;
  color: var(--orange);
  margin: 0 0 12px;
}
.hero .eyebrow { color: #f5c087; }
h1 {
  font-size: clamp(48px, 8.5vw, 104px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0;
}
.hero-copy {
  max-width: 660px;
  margin: 24px 0 0;
  font-size: clamp(18px, 2.1vw, 25px);
  color: rgba(255,255,255,.92);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-size: 17px;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 45px rgba(0,0,0,.16); }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: #1b6640; }
.btn-secondary { background: rgba(255,255,255,.82); color: var(--green); border-color: rgba(255,255,255,.65); }
.btn-tertiary { background: rgba(21,82,50,.08); color: var(--green); border-color: rgba(21,82,50,.18); }
.btn-tertiary:hover { background: rgba(21,82,50,.13); }
.trust-line { margin-top: 22px; color: rgba(255,255,255,.78); font-size: 15px; }
.scroll-cue {
  position: absolute;
  bottom: 26px;
  right: 50%;
  transform: translateX(50%);
  color: rgba(255,255,255,.75);
  font-size: 14px;
}
.scroll-cue::after { content: ""; display: block; width: 1px; height: 34px; margin: 8px auto 0; background: rgba(255,255,255,.55); }

.section { padding: clamp(78px, 10vw, 150px) clamp(22px, 6vw, 92px); }
.section-inner { max-width: 1180px; margin: 0 auto; }
.narrow { max-width: 920px; text-align: center; }
.section h2 { font-size: clamp(36px, 5vw, 72px); line-height: 1.08; margin: 0 0 20px; letter-spacing: -0.03em; }
.lead { font-size: clamp(19px, 2.1vw, 25px); color: var(--muted); margin: 0 auto 34px; max-width: 820px; }
.promise { background: var(--cream-2); }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; text-align: right; }
.promise-grid article, .world-card, .mock-card, .club-list, .contact-box {
  border: 1px solid rgba(21,82,50,.10);
  background: rgba(255,255,255,.62);
  box-shadow: var(--shadow);
  border-radius: var(--radius-xl);
}
.promise-grid article { padding: 30px; }
.promise-grid h3, .world-card h3 { font-size: 24px; margin: 14px 0 8px; }
.promise-grid p, .world-card p { color: var(--muted); margin: 0; }
.dot { width: 12px; height: 12px; display: inline-block; border-radius: 99px; }
.dot-green { background: var(--green-2); }
.dot-blue { background: var(--blue); }
.dot-orange { background: var(--orange); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 34px; }
.section-heading h2 { max-width: 720px; }
.worlds .section-heading { display: block; text-align: center; margin-inline: auto; }
.worlds .section-heading h2 { max-width: 920px; margin-inline: auto; }
.world-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.world-card { padding: 28px; min-height: 250px; display: flex; flex-direction: column; justify-content: end; transition: transform .25s ease, box-shadow .25s ease; }
.world-card:hover { transform: translateY(-8px); box-shadow: 0 30px 90px rgba(21,82,50,.16); }
.world-card span { font-size: 46px; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(34px, 7vw, 90px); align-items: center; }
.match { background: linear-gradient(180deg, var(--cream), #fff); }
.microcopy { color: var(--muted); font-size: 15px; margin-top: 18px; }
.mock-card { padding: clamp(26px, 4vw, 46px); min-height: 400px; background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(247,243,234,.72)); }
.mock-top { width: 76px; height: 76px; border-radius: 24px; background: linear-gradient(135deg, var(--green), var(--blue)); margin-bottom: 34px; }
.mock-card p { color: var(--orange); margin: 0 0 8px; }
.mock-card h3 { font-size: 40px; line-height: 1.1; margin: 0 0 26px; }
.mock-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.mock-options span { padding: 14px; border-radius: 18px; background: var(--cream); text-align: center; }
.why { background: var(--green); color: var(--white); }
.why .section-kicker { color: #f7bf78; }
.why .lead { color: rgba(255,255,255,.82); }
.club-list { list-style: none; margin: 0; padding: 34px; }
.club-list li { padding: 16px 0; border-bottom: 1px solid rgba(21,82,50,.12); font-size: 21px; }
.club-list li:last-child { border-bottom: 0; }
.club-list li::before { content: "✓"; color: var(--green); margin-left: 12px; }
.contact { background: var(--cream-2); }
.contact-box { padding: clamp(28px, 5vw, 54px); display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; }
.contact-box p { color: var(--muted); }
.contact-actions { display: flex; flex-direction: column; gap: 14px; align-items: stretch; justify-content: center; }
.contact-actions .link, .phone { color: var(--green); text-align: center; padding: 10px; }
.site-footer { background: #10251d; color: rgba(255,255,255,.82); padding: 54px 24px; }
.footer-inner { max-width: 1180px; margin: 0 auto; display: grid; gap: 20px; justify-items: center; text-align: center; }
.footer-inner img { width: 210px; filter: brightness(0) invert(1); opacity: .92; }
.footer-inner nav, .socials { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.footer-inner a { color: rgba(255,255,255,.82); }
.footer-inner a:hover { color: #fff; }
.footer-inner small { color: rgba(255,255,255,.58); }
.whatsapp-float {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 60;
  background: var(--green);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  box-shadow: 0 18px 50px rgba(21,82,50,.28);
  font-size: 15px;
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 980px) {
  :root { --header-h: 76px; }
  .site-header { padding: 12px 18px; }
  .brand img { height: 52px; }
  .menu-toggle { display: block; }
  .nav {
    position: absolute;
    top: var(--header-h);
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    border-radius: 26px;
    background: rgba(247,243,234,.98);
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; }
  .hero { align-items: end; padding-bottom: 82px; }
  .hero-video-desktop { display: none; }
  .hero-video-mobile { display: block; }
  .hero-overlay { background: linear-gradient(0deg, rgba(12,22,18,.88) 0%, rgba(12,22,18,.64) 46%, rgba(12,22,18,.16) 100%); }
  .hero-content { max-width: 100%; }
  .promise-grid, .world-grid, .split, .contact-box { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .world-card { min-height: 190px; }
  .whatsapp-float { right: 16px; left: 16px; text-align: center; bottom: 14px; }
}

@media (max-width: 560px) {
  h1 { font-size: clamp(38px, 11.5vw, 56px); }
  .hero-copy { font-size: 18px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .trust-line { font-size: 13px; }
  .section { padding: 70px 18px; }
  .section h2 { font-size: 38px; }
  .lead { font-size: 18px; }
}

/* v1.3 — Premium promise panel */
.promise { position: relative; overflow: hidden; }
.promise::before,
.promise::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  opacity: .08;
}
.promise::before {
  width: 320px;
  height: 320px;
  background: var(--green-2);
  top: -120px;
  right: -120px;
}
.promise::after {
  width: 240px;
  height: 240px;
  background: var(--orange);
  left: -90px;
  bottom: -100px;
}
.promise .section-inner { position: relative; z-index: 1; }
.promise-panel {
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 22px;
  text-align: right;
  align-items: stretch;
}
.promise-statement,
.promise-steps {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(21,82,50,.10);
  box-shadow: var(--shadow);
}
.promise-statement {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 4.5vw, 56px);
  background:
    linear-gradient(135deg, rgba(21,82,50,.94), rgba(0,96,117,.88)),
    var(--green);
  color: var(--white);
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: end;
}
.promise-statement::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  left: -70px;
  top: -70px;
}
.quote-mark {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 96px;
  line-height: 1;
  color: rgba(255,255,255,.18);
}
.promise-statement h3 {
  position: relative;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.05;
  margin: 0 0 18px;
  letter-spacing: -0.03em;
}
.promise-statement p {
  position: relative;
  margin: 0;
  max-width: 540px;
  color: rgba(255,255,255,.82);
  font-size: 19px;
}
.promise-steps {
  padding: clamp(22px, 3.2vw, 36px);
  background: rgba(255,255,255,.72);
  display: grid;
  gap: 14px;
}
.promise-steps div {
  padding: 18px 0;
  border-bottom: 1px solid rgba(21,82,50,.10);
}
.promise-steps div:last-child { border-bottom: 0; }
.promise-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-left: 12px;
  border-radius: 16px;
  background: var(--cream);
  color: var(--green);
  font-size: 14px;
}
.promise-steps strong {
  font-size: 22px;
  color: var(--graphite);
}
.promise-steps p {
  margin: 8px 54px 0 0;
  color: var(--muted);
}
.promise-grid { margin-top: 24px; }
.promise-grid article { transition: transform .25s ease, box-shadow .25s ease; }
.promise-grid article:hover { transform: translateY(-5px); box-shadow: 0 28px 78px rgba(21,82,50,.13); }

@media (max-width: 980px) {
  .promise-panel { grid-template-columns: 1fr; }
  .promise-statement { min-height: 270px; }
}

@media (max-width: 560px) {
  .promise-panel { margin-top: 34px; }
  .promise-statement { padding: 28px; }
  .quote-mark { top: 16px; right: 22px; font-size: 72px; }
  .promise-steps p { margin-right: 0; }
}

/* v1.4 — Premium worlds section */
.worlds {
  background:
    radial-gradient(circle at 10% 12%, rgba(224, 82, 4, .08), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(0, 96, 117, .08), transparent 30%),
    linear-gradient(180deg, var(--cream), var(--cream-2));
}
.worlds-heading { text-align: center; max-width: 980px; margin: 0 auto 44px; }
.worlds-heading h2 { margin-inline: auto; }
.section-intro {
  margin: 0 auto;
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}
.world-grid-premium { gap: 22px; }
.world-grid-premium .world-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 335px;
  padding: 30px;
  color: var(--graphite);
  background: rgba(255, 255, 255, .68);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255,255,255,.72);
}
.world-grid-premium .world-card::before {
  content: "";
  position: absolute;
  inset: auto -28% -42% -28%;
  height: 62%;
  border-radius: 50% 50% 0 0;
  background: linear-gradient(135deg, rgba(21,82,50,.18), rgba(0,96,117,.10));
  z-index: -2;
  transition: transform .35s ease, opacity .35s ease;
}
.world-grid-premium .world-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.20), rgba(255,255,255,0));
  z-index: -1;
}
.world-grid-premium .world-card:hover::before { transform: translateY(-16px) scale(1.06); opacity: .95; }
.world-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 25px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 16px 36px rgba(30,30,30,.08);
  font-size: 36px !important;
}
.world-mark {
  position: absolute;
  top: 16px;
  left: 20px;
  font-size: 120px !important;
  line-height: 1;
  opacity: .045;
  font-weight: 900;
  color: var(--graphite);
  pointer-events: none;
}
.world-label {
  margin: 0 0 10px !important;
  color: var(--orange) !important;
  font-size: 14px;
  letter-spacing: .05em;
}
.world-grid-premium .world-card h3 { font-size: 29px; margin: 0 0 10px; }
.world-grid-premium .world-card p { font-size: 16px; }
.world-grid-premium .world-card strong {
  width: fit-content;
  margin-top: 22px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.70);
  color: var(--green);
  font-weight: 400;
  transition: transform .25s ease, background .25s ease;
}
.world-grid-premium .world-card:hover strong { transform: translateX(-4px); background: #fff; }
.world-dogs::before { background: linear-gradient(135deg, rgba(21,82,50,.22), rgba(224,82,4,.12)) !important; }
.world-cats::before { background: linear-gradient(135deg, rgba(0,96,117,.20), rgba(21,82,50,.10)) !important; }
.world-birds::before { background: linear-gradient(135deg, rgba(224,82,4,.18), rgba(0,96,117,.12)) !important; }
.world-small::before { background: linear-gradient(135deg, rgba(21,82,50,.16), rgba(216,199,163,.22)) !important; }

@media (max-width: 980px) {
  .world-grid-premium .world-card { min-height: 270px; }
  .world-mark { font-size: 96px !important; }
}

@media (max-width: 560px) {
  .worlds-heading { margin-bottom: 28px; }
  .world-grid-premium .world-card { min-height: 245px; padding: 24px; }
  .world-grid-premium .world-card h3 { font-size: 26px; }
  .world-icon { width: 64px; height: 64px; font-size: 32px !important; }
}

/* v1.5 — Premium Dpet Match section */
.match {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 22%, rgba(0,96,117,.10), transparent 30%),
    radial-gradient(circle at 92% 68%, rgba(224,82,4,.08), transparent 30%),
    linear-gradient(180deg, #fff, var(--cream));
}
.match::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(21,82,50,.08);
  border-radius: 999px;
  top: 52%;
  right: -230px;
  transform: translateY(-50%);
  pointer-events: none;
}
.match-lab {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}
.match-copy .lead {
  margin-right: 0;
  margin-left: 0;
  max-width: 650px;
}
.match-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.match-text-link {
  color: var(--green);
  border-bottom: 1px solid rgba(21,82,50,.28);
  padding-bottom: 4px;
}
.match-product {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}
.match-product::before,
.match-product::after {
  content: "";
  position: absolute;
  border-radius: var(--radius-xl);
  pointer-events: none;
}
.match-product::before {
  inset: 78px 38px 40px 80px;
  background: linear-gradient(135deg, rgba(21,82,50,.14), rgba(0,96,117,.12));
  transform: rotate(-4deg);
}
.match-product::after {
  inset: 36px 84px 92px 20px;
  background: linear-gradient(135deg, rgba(224,82,4,.11), rgba(216,199,163,.16));
  transform: rotate(5deg);
}
.match-window {
  position: relative;
  z-index: 2;
  width: min(100%, 560px);
  min-height: 420px;
  padding: clamp(26px, 4vw, 42px);
  border-radius: 38px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.82);
  box-shadow: 0 35px 105px rgba(30,30,30,.16);
}
.match-window-top {
  display: flex;
  gap: 8px;
  margin-bottom: 34px;
  direction: ltr;
}
.match-window-top span {
  width: 12px;
  height: 12px;
  border-radius: 99px;
  background: rgba(21,82,50,.18);
}
.match-window-top span:nth-child(2) { background: rgba(0,96,117,.20); }
.match-window-top span:nth-child(3) { background: rgba(224,82,4,.22); }
.match-mini-title {
  margin: 0 0 8px;
  color: var(--orange);
  font-size: 15px;
}
.match-window h3 {
  margin: 0 0 24px;
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.match-question-card {
  padding: 22px;
  border-radius: 28px;
  background: var(--cream-2);
  border: 1px solid rgba(21,82,50,.08);
}
.match-question-card small {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
}
.match-question-card strong {
  display: block;
  font-size: 22px;
  margin-bottom: 16px;
}
.match-options-premium {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.match-options-premium button {
  padding: 15px 14px;
  border: 0;
  font-family: inherit;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  border-radius: 20px;
  background: #fff;
  color: var(--graphite);
  box-shadow: 0 10px 26px rgba(30,30,30,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.match-options-premium button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(21,82,50,.12);
}
.match-progress {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 22px;
}
.match-progress span {
  height: 6px;
  border-radius: 99px;
  background: rgba(21,82,50,.12);
}
.match-progress .filled { background: linear-gradient(90deg, var(--green), var(--blue)); }
.match-steps {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 4px;
}
.match-steps article {
  padding: 26px;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.66);
  border: 1px solid rgba(255,255,255,.76);
  box-shadow: 0 22px 70px rgba(30,30,30,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.match-steps article:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 90px rgba(21,82,50,.12);
}
.match-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  color: var(--white);
  background: var(--green);
  margin-bottom: 16px;
}
.match-steps article:nth-child(2) span { background: var(--blue); }
.match-steps article:nth-child(3) span { background: var(--orange); }
.match-steps h3 {
  font-size: 25px;
  margin: 0 0 8px;
}
.match-steps p {
  color: var(--muted);
  margin: 0;
}

@media (max-width: 980px) {
  .match-lab { grid-template-columns: 1fr; }
  .match-product { min-height: 460px; }
  .match-steps { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .match-actions { align-items: stretch; flex-direction: column; }
  .match-text-link { text-align: center; border-bottom: 0; }
  .match-product { min-height: auto; }
  .match-product::before,
  .match-product::after { display: none; }
  .match-window { border-radius: 30px; }
  .match-options-premium { grid-template-columns: 1fr; }
  .match-steps article { padding: 22px; }
}


/* v1.6 — Premium brand story / למה דיפט */
.why {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 13% 16%, rgba(224,82,4,.18), transparent 30%),
    radial-gradient(circle at 86% 8%, rgba(0,96,117,.22), transparent 32%),
    linear-gradient(145deg, #10251d, #155232 58%, #10251d);
  color: var(--white);
}
.why::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.09);
  right: -260px;
  bottom: -270px;
  pointer-events: none;
}
.why::after {
  content: "Dpet";
  position: absolute;
  left: clamp(24px, 7vw, 90px);
  top: 38px;
  font-size: clamp(84px, 13vw, 190px);
  line-height: 1;
  color: rgba(255,255,255,.035);
  pointer-events: none;
  direction: ltr;
}
.why-experience {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: stretch;
}
.why-copy,
.why-card,
.why-values {
  position: relative;
  z-index: 1;
}
.why-copy h2 {
  margin-bottom: 24px;
}
.why-copy h2 span {
  color: #f7bf78;
}

.why-copy h2 .why-title-white {
  color: var(--white);
}
.why .section-kicker {
  color: #f7bf78;
}
.why .lead {
  color: rgba(255,255,255,.82);
  margin: 0;
  max-width: 760px;
}
.founder-note {
  margin-top: 34px;
  padding: 20px 22px;
  border-radius: 24px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  max-width: 620px;
}
.founder-note span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  color: #f7bf78;
  background: rgba(247,191,120,.12);
  font-size: 15px;
}
.founder-note p {
  margin: 0;
  color: rgba(255,255,255,.78);
}
.why-card {
  display: flex;
  min-height: 440px;
  flex-direction: column;
  justify-content: end;
  padding: clamp(30px, 4.5vw, 54px);
  border-radius: 40px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.07)),
    rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 38px 110px rgba(0,0,0,.24);
  overflow: hidden;
  backdrop-filter: blur(16px);
}
.why-card::before {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(247,191,120,.32), transparent 68%);
  top: -70px;
  left: -50px;
}
.why-card::after {
  content: "🐾";
  position: absolute;
  top: 34px;
  right: 36px;
  font-size: 52px;
  opacity: .22;
}
.why-card-kicker {
  color: #f7bf78;
  margin: 0 0 14px;
  font-size: 16px;
}
.why-card h3 {
  font-size: clamp(32px, 4.2vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}
.why-card p:not(.why-card-kicker) {
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 19px;
}
.why-values {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 6px;
}
.why-values article {
  min-height: 250px;
  padding: 28px;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.13);
  backdrop-filter: blur(12px);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.why-values article:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.22);
}
.why-values span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  border-radius: 17px;
  background: rgba(255,255,255,.12);
  color: #f7bf78;
}
.why-values article:nth-child(2) span { color: #9ad8e5; }
.why-values article:nth-child(3) span { color: #ffb07a; }
.why-values h3 {
  font-size: 28px;
  margin: 0 0 10px;
}
.why-values p {
  margin: 0;
  color: rgba(255,255,255,.76);
}

@media (max-width: 980px) {
  .why-experience { grid-template-columns: 1fr; }
  .why-card { min-height: 360px; }
  .why-values { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .why-card { min-height: 330px; padding: 28px; border-radius: 32px; }
  .founder-note { padding: 18px; }
  .why-values article { min-height: auto; padding: 24px; }
}


/* v1.7 — Premium Dpet Club section */
.club {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(224,82,4,.09), transparent 28%),
    radial-gradient(circle at 90% 28%, rgba(0,96,117,.10), transparent 32%),
    linear-gradient(180deg, var(--cream-2), #fff);
}
.club::before {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 999px;
  background: rgba(21,82,50,.06);
  left: -260px;
  top: 90px;
  pointer-events: none;
}
.club-experience {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}
.club-copy .lead {
  margin-right: 0;
  margin-left: 0;
  max-width: 720px;
}
.club-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.club-text-link {
  color: var(--green);
  border-bottom: 1px solid rgba(21,82,50,.28);
  padding-bottom: 4px;
}
.club-fineprint {
  color: var(--muted);
  margin: 20px 0 0;
  font-size: 15px;
}
.club-card {
  position: relative;
  min-height: 440px;
  padding: clamp(28px, 4.5vw, 52px);
  border-radius: 42px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(21,82,50,.94), rgba(0,96,117,.86) 72%, rgba(16,37,29,.95));
  color: var(--white);
  box-shadow: 0 40px 120px rgba(21,82,50,.22);
  border: 1px solid rgba(255,255,255,.18);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.club-card::after {
  content: "Dpet";
  position: absolute;
  left: 30px;
  bottom: -16px;
  direction: ltr;
  font-size: clamp(70px, 11vw, 138px);
  line-height: 1;
  color: rgba(255,255,255,.055);
  pointer-events: none;
}
.club-card-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(247,191,120,.42), transparent 68%);
  top: -80px;
  right: -70px;
}
.club-card-top,
.club-pet-preview,
.club-card h3,
.club-card-kicker {
  position: relative;
  z-index: 1;
}
.club-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  direction: ltr;
}
.club-card-top img {
  width: 108px;
  height: 108px;
  border-radius: 999px;
  background: #fff;
  padding: 10px;
  object-fit: contain;
  box-shadow: 0 18px 45px rgba(0,0,0,.16);
}
.club-card-top span {
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.86);
  font-size: 15px;
}
.club-card-kicker {
  margin: 42px 0 10px;
  color: #f7bf78;
}
.club-card h3 {
  margin: 0;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  max-width: 620px;
}
.club-pet-preview {
  margin-top: 36px;
  padding: 22px;
  border-radius: 28px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(14px);
}
.club-pet-preview span,
.club-pet-preview small {
  display: block;
  color: rgba(255,255,255,.72);
}
.club-pet-preview strong {
  display: block;
  margin: 4px 0 8px;
  font-size: 30px;
  color: var(--white);
}
.club-benefits {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 8px;
}
.club-benefits article {
  min-height: 235px;
  padding: 28px;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(21,82,50,.09);
  box-shadow: 0 22px 70px rgba(30,30,30,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.club-benefits article:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 90px rgba(21,82,50,.12);
}
.club-benefits span {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: var(--cream);
  font-size: 26px;
  margin-bottom: 22px;
}
.club-benefits h3 {
  margin: 0 0 10px;
  font-size: 25px;
}
.club-benefits p {
  color: var(--muted);
  margin: 0;
}

@media (max-width: 980px) {
  .club-experience { grid-template-columns: 1fr; }
  .club-card { min-height: 390px; }
  .club-benefits { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .club-actions { align-items: stretch; flex-direction: column; }
  .club-text-link { text-align: center; border-bottom: 0; }
  .club-card { min-height: 370px; padding: 28px; border-radius: 32px; }
  .club-card-top img { width: 92px; height: 92px; padding: 9px; }
  .club-pet-preview { padding: 18px; }
  .club-benefits article { min-height: auto; padding: 24px; }
}

/* v1.8 — Premium visit/contact + footer */
.contact-premium {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(224,82,4,.08), transparent 28%),
    radial-gradient(circle at 88% 88%, rgba(0,96,117,.10), transparent 30%),
    var(--cream-2);
}
.contact-experience {
  display: grid;
  grid-template-columns: 1fr .92fr;
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}
.contact-copy h2 {
  max-width: 720px;
}
.contact-copy .lead {
  margin-right: 0;
  margin-left: 0;
}
.contact-promise {
  display: flex;
  gap: 16px;
  align-items: start;
  max-width: 650px;
  padding: 20px 22px;
  border-radius: 28px;
  background: rgba(255,255,255,.64);
  border: 1px solid rgba(21,82,50,.10);
  box-shadow: 0 18px 55px rgba(30,30,30,.07);
}
.contact-promise span {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: var(--cream);
  font-size: 24px;
}
.contact-promise p {
  margin: 0;
  color: var(--muted);
}
.visit-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4.8vw, 54px);
  border-radius: 42px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.95), rgba(247,243,234,.74));
  border: 1px solid rgba(21,82,50,.12);
  box-shadow: 0 38px 110px rgba(21,82,50,.14);
}
.visit-card::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(33,137,73,.14), transparent 65%);
  top: -100px;
  left: -80px;
  pointer-events: none;
}
.visit-card-header,
.visit-card h3,
.visit-card p,
.hours-grid,
.visit-actions,
.phone-large {
  position: relative;
  z-index: 1;
}
.visit-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  direction: ltr;
  margin-bottom: 34px;
}
.visit-card-header img {
  width: 120px;
  height: auto;
}
.visit-card-header span {
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  background: rgba(21,82,50,.07);
  color: var(--green);
  font-size: 14px;
}
.visit-card h3 {
  margin: 0 0 12px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.visit-card p {
  color: var(--muted);
  margin: 0 0 28px;
  font-size: 18px;
}
.hours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 30px 0;
}
.hours-grid div {
  padding: 16px 12px;
  border-radius: 22px;
  background: var(--cream);
  border: 1px solid rgba(21,82,50,.08);
  text-align: center;
}
.hours-grid small {
  display: block;
  color: var(--muted);
  margin-bottom: 6px;
}
.hours-grid strong {
  color: var(--graphite);
  font-size: 15px;
}
.visit-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}
.phone-large {
  display: block;
  margin-top: 22px;
  text-align: center;
  color: var(--green);
  font-size: 24px;
}
.social-strip {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border-radius: 28px;
  background: rgba(16,37,29,.94);
  color: rgba(255,255,255,.86);
  box-shadow: 0 20px 70px rgba(16,37,29,.15);
}
.social-strip span {
  color: rgba(255,255,255,.72);
}
.social-strip div {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.social-strip a {
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.12);
}
.footer-premium {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 0%, rgba(224,82,4,.10), transparent 25%),
    linear-gradient(135deg, #10251d, #07130f);
  padding: 70px 24px 44px;
}
.footer-experience {
  display: grid;
  grid-template-columns: .9fr 1.45fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
  justify-items: stretch;
  text-align: right;
}
.footer-brand-block img {
  width: 230px;
  margin-bottom: 20px;
}
.footer-brand-block p {
  margin: 0;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.15;
  color: #fff;
}
.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.footer-columns h3 {
  margin: 0 0 16px;
  color: #f7bf78;
  font-size: 17px;
}
.footer-columns nav {
  display: grid;
  gap: 10px;
}
.footer-columns a {
  color: rgba(255,255,255,.72);
}
.footer-columns a:hover {
  color: #fff;
}
.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 28px;
  margin-top: 12px;
  border-top: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.55);
}

@media (max-width: 980px) {
  .contact-experience,
  .footer-experience,
  .footer-columns {
    grid-template-columns: 1fr;
  }
  .social-strip {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .visit-card { border-radius: 32px; }
  .visit-card-header { align-items: flex-start; flex-direction: column; direction: rtl; }
  .visit-card-header img { width: 110px; }
  .hours-grid,
  .visit-actions {
    grid-template-columns: 1fr;
  }
  .social-strip div,
  .social-strip a {
    width: 100%;
    text-align: center;
  }
  .footer-premium { padding-bottom: 92px; }
  .footer-brand-block img { width: 200px; }
  .footer-bottom { flex-direction: column; }
}

/* v1.9 — Interactive Dpet Match prototype */
button.btn { cursor: pointer; font-family: inherit; }
.match-live {
  grid-column: 1 / -1;
  display: none;
  margin-top: 10px;
  padding: clamp(24px, 4vw, 42px);
  border-radius: 38px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.86);
  box-shadow: 0 32px 105px rgba(30,30,30,.13);
  backdrop-filter: blur(18px);
  overflow: hidden;
  position: relative;
}
.match-live.open { display: block; animation: rise .45s ease both; }
.match-live::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: rgba(21,82,50,.08);
  left: -90px;
  top: -120px;
  pointer-events: none;
}
.match-live-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}
.match-live-head p {
  margin: 0;
  color: var(--orange);
  font-size: 15px;
}
.match-reset {
  border: 0;
  background: var(--cream);
  color: var(--green);
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  font-family: inherit;
  cursor: pointer;
}
.match-live-progress {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 28px;
}
.match-live-progress span {
  height: 7px;
  border-radius: 999px;
  background: rgba(21,82,50,.12);
}
.match-live-progress span.active { background: linear-gradient(90deg, var(--green), var(--blue)); }
.match-live-screen {
  position: relative;
  z-index: 1;
  display: none;
}
.match-live-screen.active { display: block; }
.match-live-screen small {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
}
.match-live-screen h3 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.advisor-bubble {
  display: inline-flex;
  max-width: 760px;
  margin: 0 0 24px;
  padding: 14px 18px;
  border-radius: 24px 24px 6px 24px;
  background: rgba(21,82,50,.08);
  color: var(--green);
  font-size: 18px;
}
.match-live-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.match-live-options button {
  min-height: 66px;
  border: 1px solid rgba(21,82,50,.10);
  background: #fff;
  color: var(--graphite);
  border-radius: 22px;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 17px;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(30,30,30,.06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.match-live-options button:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 46px rgba(21,82,50,.13);
  border-color: rgba(21,82,50,.22);
}
.match-result p { color: var(--muted); font-size: 20px; max-width: 820px; }
.match-result-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

@media (max-width: 980px) {
  .advisor-bubble {
  display: inline-flex;
  max-width: 760px;
  margin: 0 0 24px;
  padding: 14px 18px;
  border-radius: 24px 24px 6px 24px;
  background: rgba(21,82,50,.08);
  color: var(--green);
  font-size: 18px;
}
.match-live-options { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .match-live { border-radius: 30px; }
  .match-live-head { align-items: flex-start; flex-direction: column; }
  .advisor-bubble {
  display: inline-flex;
  max-width: 760px;
  margin: 0 0 24px;
  padding: 14px 18px;
  border-radius: 24px 24px 6px 24px;
  background: rgba(21,82,50,.08);
  color: var(--green);
  font-size: 18px;
}
.match-live-options { grid-template-columns: 1fr; }
  .match-result-actions .btn { width: 100%; }
}

/* v2.0 — Interactive world explorer */
.world-explorer {
  margin-top: 34px;
  padding: clamp(24px, 4vw, 44px);
  border-radius: 40px;
  background:
    radial-gradient(circle at 14% 0%, rgba(224,82,4,.08), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(0,96,117,.10), transparent 26%),
    rgba(255,255,255,.74);
  border: 1px solid rgba(255,255,255,.86);
  box-shadow: 0 28px 95px rgba(30,30,30,.11);
  display: none;
  overflow: hidden;
}
.world-explorer.open { display: block; animation: rise .45s ease both; }
.world-explorer-head {
  max-width: 780px;
  margin: 0 auto 26px;
  text-align: center;
}
.world-explorer-head h3 {
  margin: 0 0 14px;
  font-size: clamp(32px, 4.8vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.world-explorer-head p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}
.world-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 26px;
}
.world-category-card {
  min-height: 160px;
  padding: 22px;
  border-radius: 28px;
  background: rgba(247,243,234,.82);
  border: 1px solid rgba(21,82,50,.10);
  box-shadow: 0 14px 34px rgba(30,30,30,.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.world-category-card span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #fff;
  color: var(--green);
  box-shadow: 0 10px 24px rgba(30,30,30,.06);
  margin-bottom: 18px;
}
.world-category-card h4 {
  margin: 0 0 8px;
  font-size: 20px;
}
.world-category-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.world-explorer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
}
.world-card.is-active {
  transform: translateY(-8px);
  box-shadow: 0 34px 100px rgba(21,82,50,.18);
  border-color: rgba(21,82,50,.22);
}

@media (max-width: 980px) {
  .world-category-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .world-explorer { border-radius: 32px; }
  .world-category-grid { grid-template-columns: 1fr; }
  .world-explorer-actions .btn { width: 100%; }
}


/* v2.1 — Club Dpet signup prototype */
.club-actions button.btn {
  border: 0;
  font-family: inherit;
  cursor: pointer;
}
.club-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}
.club-modal.open { display: flex; }
.club-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 24, 18, .66);
  backdrop-filter: blur(10px);
}
.club-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: min(92svh, 860px);
  overflow: auto;
  border-radius: 42px;
  background:
    radial-gradient(circle at 12% 0%, rgba(224,82,4,.09), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(0,96,117,.11), transparent 28%),
    var(--cream-2);
  border: 1px solid rgba(255,255,255,.82);
  box-shadow: 0 40px 140px rgba(0,0,0,.34);
  padding: clamp(26px, 4.5vw, 54px);
  animation: rise .35s ease both;
}
.club-modal-close {
  position: sticky;
  top: 0;
  float: left;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  color: var(--green);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(30,30,30,.08);
}
.club-modal-head {
  max-width: 740px;
  margin: 0 auto 28px;
  text-align: center;
}
.club-modal-head img {
  width: 136px;
  margin: 0 auto 18px;
}
.club-modal-head h2 {
  margin: 0 0 14px;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.club-modal-head p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}
.club-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.club-form label {
  display: grid;
  gap: 8px;
  color: var(--graphite);
}
.club-form label span:first-child {
  font-size: 15px;
  color: var(--muted);
}
.club-form input,
.club-form select {
  width: 100%;
  min-height: 58px;
  border: 1px solid rgba(21,82,50,.12);
  border-radius: 20px;
  background: rgba(255,255,255,.86);
  padding: 0 18px;
  color: var(--graphite);
  font-family: inherit;
  font-size: 16px;
  outline: none;
  box-shadow: 0 12px 28px rgba(30,30,30,.05);
}
.club-form input:focus,
.club-form select:focus {
  border-color: rgba(21,82,50,.34);
  box-shadow: 0 0 0 4px rgba(21,82,50,.08);
}
.club-consent {
  grid-column: 1 / -1;
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 12px !important;
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(21,82,50,.08);
}
.club-consent input {
  width: 18px;
  height: 18px;
  min-height: auto;
  margin-top: 4px;
  box-shadow: none;
}
.club-consent span {
  color: var(--muted) !important;
  font-size: 14px !important;
}
.club-form > .btn {
  grid-column: 1 / -1;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}
.club-form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}
.club-success {
  display: none;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 44px);
  border-radius: 34px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(21,82,50,.10);
  box-shadow: 0 22px 68px rgba(30,30,30,.10);
}
.club-success.open { display: block; animation: rise .35s ease both; }
.club-success-icon {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: #fff;
  font-size: 32px;
  margin-bottom: 18px;
}
.club-success h3 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}
.club-success p {
  color: var(--muted);
  font-size: 18px;
}
.club-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 24px 0 14px;
}
body.modal-open { overflow: hidden; }

@media (max-width: 760px) {
  .club-modal { padding: 12px; align-items: end; }
  .club-modal-dialog {
    border-radius: 34px 34px 0 0;
    max-height: 94svh;
  }
  .club-form { grid-template-columns: 1fr; }
  .club-modal-head img { width: 118px; }
  .club-success-actions .btn { width: 100%; }
}

/* v2.2 — Quality polish: mobile, accessibility, premium details */
.skip-link {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 200;
  transform: translateY(-140%);
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  background: var(--green);
  color: #fff;
  box-shadow: 0 18px 45px rgba(0,0,0,.18);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid rgba(224,82,4,.45);
  outline-offset: 4px;
  border-radius: 14px;
}

.site-header.nav-open {
  background: rgba(247,243,234,.98);
  box-shadow: 0 18px 55px rgba(30,30,30,.10);
}

.hero-content,
.section-inner {
  overflow-wrap: anywhere;
}
.hero h1,
.section h2,
.world-explorer-head h3,
.match-live-screen h3,
.club-modal-head h2 {
  text-wrap: balance;
}
.lead,
.hero-copy,
.section-intro,
.world-explorer-head p,
.club-modal-head p:last-child {
  text-wrap: pretty;
}

.btn:active,
.world-card:active,
.match-live-options button:active,
.match-options-premium button:active {
  transform: translateY(0) scale(.99);
}

@media (max-width: 980px) {
  .nav.open {
    gap: 6px;
    border: 1px solid rgba(21,82,50,.10);
  }
  .nav.open a {
    padding: 13px 14px;
    border-radius: 18px;
    background: rgba(255,255,255,.48);
  }
  .nav.open .nav-help {
    text-align: center;
    background: var(--green);
    color: #fff;
  }
  .site-header.nav-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .site-header.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .site-header.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .menu-toggle span { transition: transform .2s ease, opacity .2s ease; }
}

@media (max-width: 760px) {
  .club-modal-dialog {
    padding: 26px 18px 22px;
  }
  .club-modal-close {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
  }
}

@media (max-width: 560px) {
  body { padding-bottom: 76px; }
  .site-header { height: 72px; }
  :root { --header-h: 72px; }
  .brand img { height: 48px; }
  .hero {
    min-height: 100svh;
    padding-top: calc(var(--header-h) + 20px);
    padding-bottom: 116px;
  }
  .hero-content { text-align: right; }
  .hero .eyebrow { font-size: 13px; }
  h1 {
    font-size: clamp(36px, 10.5vw, 49px);
    line-height: 1.08;
    letter-spacing: -0.02em;
  }
  .hero-copy {
    max-width: 96%;
    margin-top: 18px;
  }
  .hero-copy .nowrap,
  .lead .nowrap {
    white-space: normal;
  }
  .scroll-cue { display: none; }
  .trust-line {
    max-width: 330px;
    line-height: 1.7;
  }
  .section h2 {
    font-size: clamp(34px, 9.5vw, 42px);
    line-height: 1.12;
  }
  .section-intro { font-size: 17px; }
  .promise-panel,
  .world-explorer,
  .match-live,
  .visit-card,
  .club-card,
  .club-success {
    box-shadow: 0 18px 58px rgba(30,30,30,.10);
  }
  .world-grid-premium .world-card {
    min-height: 220px;
  }
  .world-grid-premium .world-card strong {
    align-self: flex-start;
  }
  .match-window h3,
  .mock-card h3 {
    font-size: 32px;
  }
  .match-live-options button,
  .match-options-premium button {
    min-height: 58px;
  }
  .why-copy h2 .nowrap,
  .club-copy h2 .nowrap,
  .worlds-heading h2 .nowrap {
    white-space: nowrap;
  }
  .contact-promise {
    flex-direction: column;
  }
  .phone-large { font-size: 22px; }
  .social-strip span { text-align: center; }
  .whatsapp-float {
    padding: 13px 18px;
    font-size: 14px;
  }
}

@media (max-width: 390px) {
  h1 { font-size: 35px; }
  .hero-copy { font-size: 17px; }
  .trust-line { font-size: 12px; }
  .section { padding-inline: 14px; }
  .btn { padding-inline: 18px; }
  .worlds-heading h2 .nowrap,
  .club-copy h2 .nowrap,
  .why-copy h2 .nowrap {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .hero-video { display: none !important; }
  .hero { background: url('../media/hero-poster.jpg') center/cover no-repeat; }
}


/* v2.3 — Premium shop demo / product experience */
.shop-demo {
  background:
    radial-gradient(circle at 12% 18%, rgba(224, 82, 4, .07), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(0, 96, 117, .07), transparent 30%),
    linear-gradient(180deg, #fff, var(--cream));
}
.shop-experience { display: grid; gap: 34px; }
.shop-demo-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .55fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: end;
}
.shop-demo-head h2 span { color: var(--green); }
.shop-demo-note {
  border: 1px solid rgba(21,82,50,.12);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.72);
  padding: 26px;
  box-shadow: var(--shadow);
}
.shop-demo-note span {
  display: inline-flex;
  padding: 8px 13px;
  border-radius: var(--radius-pill);
  background: rgba(224,82,4,.11);
  color: var(--orange);
  margin-bottom: 14px;
}
.shop-demo-note strong { display: block; font-size: 24px; margin-bottom: 8px; }
.shop-demo-note p { color: var(--muted); margin: 0; }
.shop-filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 12px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(21,82,50,.10);
  box-shadow: 0 18px 60px rgba(30,30,30,.06);
}
.shop-filter-bar button {
  border: 0;
  border-radius: var(--radius-pill);
  padding: 12px 18px;
  background: transparent;
  color: rgba(30,30,30,.72);
  font: inherit;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.shop-filter-bar button:hover { transform: translateY(-1px); color: var(--green); }
.shop-filter-bar button.active { background: var(--green); color: #fff; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.product-card {
  border: 1px solid rgba(21,82,50,.10);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.72);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  transition: transform .24s ease, box-shadow .24s ease, opacity .2s ease;
}
.product-card:hover { transform: translateY(-7px); box-shadow: 0 34px 92px rgba(21,82,50,.16); }
.product-card.is-hidden { display: none; }
.product-featured { grid-column: span 2; grid-template-columns: 1fr 1fr; min-height: 360px; }
.product-visual {
  position: relative;
  min-height: 220px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  overflow: hidden;
  color: #fff;
}
.product-visual::before,
.product-visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
}
.product-visual::before { width: 190px; height: 190px; top: -70px; left: -50px; }
.product-visual::after { width: 130px; height: 130px; right: -42px; bottom: 44px; }
.product-visual strong { position: relative; z-index: 1; font-size: clamp(34px, 4vw, 58px); line-height: .95; letter-spacing: -.04em; }
.product-visual small { position: relative; z-index: 1; opacity: .82; margin-top: 8px; }
.product-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.20);
  backdrop-filter: blur(12px);
  font-size: 13px;
}
.product-visual-green { background: linear-gradient(135deg, #155232, #218949); }
.product-visual-blue { background: linear-gradient(135deg, #006075, #2a8999); }
.product-visual-sand { background: linear-gradient(135deg, #8f7855, #d8c7a3); }
.product-visual-orange { background: linear-gradient(135deg, #b63f05, #e05204); }
.product-visual-green-soft { background: linear-gradient(135deg, #1f4d3a, #8abf8a); }
.product-visual-cream { background: linear-gradient(135deg, #d8c7a3, #f7f3ea); color: var(--green); }
.product-visual-deal { background: linear-gradient(135deg, #10251d, #e05204); }
.product-visual-blue-soft { background: linear-gradient(135deg, #006075, #a8c7c9); }
.product-card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.product-type { color: var(--orange); margin: 0; font-size: 14px; }
.product-card h3 { font-size: 26px; line-height: 1.08; margin: 0; }
.product-card-body > p:not(.product-type) { color: var(--muted); margin: 0; }
.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(21,82,50,.10);
}
.product-meta span { color: var(--muted); }
.product-meta strong { color: var(--green); }
.product-detail-btn {
  width: 100%;
  border: 1px solid rgba(21,82,50,.18);
  background: rgba(21,82,50,.06);
  color: var(--green);
  border-radius: var(--radius-pill);
  min-height: 46px;
  font: inherit;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.product-detail-btn:hover { background: var(--green); color: #fff; transform: translateY(-1px); }
.shop-demo-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  background: #10251d;
  color: rgba(255,255,255,.86);
}
.shop-demo-footer p { margin: 0; max-width: 780px; }
.shop-demo-footer .btn-secondary { background: rgba(255,255,255,.92); color: var(--green); }
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.product-modal.open { display: flex; }
.product-modal-backdrop { position: absolute; inset: 0; background: rgba(10, 18, 15, .66); backdrop-filter: blur(10px); }
.product-modal-dialog {
  position: relative;
  width: min(1040px, 100%);
  max-height: min(820px, 92svh);
  overflow: auto;
  border-radius: 36px;
  background: var(--cream-2);
  box-shadow: 0 40px 120px rgba(0,0,0,.32);
}
.product-modal-close {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.76);
  color: var(--graphite);
  font-size: 30px;
  cursor: pointer;
}
.product-modal-layout { display: grid; grid-template-columns: .82fr 1.18fr; min-height: 560px; }
.product-modal-visual {
  min-height: 100%;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--blue));
  position: relative;
  overflow: hidden;
}
.product-modal-visual::before,
.product-modal-visual::after { content:""; position:absolute; border-radius:999px; background: rgba(255,255,255,.13); }
.product-modal-visual::before { width: 270px; height: 270px; top: -90px; left: -80px; }
.product-modal-visual::after { width: 180px; height: 180px; right: -60px; bottom: 100px; }
.product-modal-visual span,
.product-modal-visual strong,
.product-modal-visual small { position: relative; z-index: 1; }
.product-modal-visual span { align-self: flex-start; padding: 8px 14px; background: rgba(255,255,255,.18); border-radius: var(--radius-pill); margin-bottom: 22px; }
.product-modal-visual strong { font-size: clamp(50px, 7vw, 86px); line-height: .9; letter-spacing: -.05em; }
.product-modal-visual small { margin-top: 10px; opacity: .8; }
.product-modal-content { padding: clamp(30px, 5vw, 58px); }
.product-modal-content h2 { font-size: clamp(34px, 5vw, 64px); line-height: 1.02; margin: 0 0 14px; }
.product-modal-description { color: var(--muted); font-size: 19px; margin: 0 0 18px; }
.product-modal-price { display: inline-flex; padding: 10px 16px; border-radius: var(--radius-pill); background: rgba(21,82,50,.10); color: var(--green); font-size: 20px; margin-bottom: 20px; }
.product-trust-meter {
  border: 1px solid rgba(21,82,50,.12);
  background: linear-gradient(135deg, rgba(255,255,255,.78), rgba(247,243,234,.72));
  border-radius: 26px;
  padding: 18px;
  margin: 0 0 22px;
}
.trust-meter-head { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-bottom: 12px; }
.trust-meter-head span { color: var(--muted); }
.trust-meter-head strong { font-size: 28px; color: var(--green); }
.trust-meter-bar { height: 10px; border-radius: var(--radius-pill); background: rgba(21,82,50,.10); overflow: hidden; }
.trust-meter-bar span { display: block; height: 100%; width: 0%; border-radius: inherit; background: linear-gradient(90deg, var(--green), var(--blue)); transition: width .55s ease; }
.product-trust-meter p { margin: 12px 0 0; color: var(--muted); }
.product-info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 10px 0 28px; }
.product-info-grid-three { grid-template-columns: repeat(3, 1fr); }
.product-info-grid > div { border: 1px solid rgba(21,82,50,.10); border-radius: 24px; background: rgba(255,255,255,.6); padding: 20px; }
.product-info-grid h3 { margin: 0 0 12px; font-size: 20px; }
.product-info-grid ul { margin: 0; padding: 0 18px 0 0; color: var(--muted); }
.product-info-grid li { margin-bottom: 8px; }
.product-modal-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.product-modal-note { color: var(--muted); font-size: 14px; margin: 18px 0 0; }
body.modal-open { overflow: hidden; }
@media (max-width: 980px) {
  .shop-demo-head, .product-grid, .product-featured, .product-modal-layout, .product-info-grid, .product-info-grid-three { grid-template-columns: 1fr; }
  .product-featured { min-height: auto; }
  .shop-demo-footer { flex-direction: column; align-items: stretch; text-align: center; }
  .product-modal-dialog { border-radius: 28px; }
  .product-modal-visual { min-height: 320px; }
}
@media (max-width: 560px) {
  .shop-filter-bar { border-radius: 24px; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
  .shop-filter-bar button { flex: 0 0 auto; }
  .product-visual { min-height: 190px; }
  .product-modal { padding: 10px; }
  .product-modal-actions .btn { width: 100%; }
}

/* v2.3.1 — Match result product recommendations */
.match-recommendations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 24px 0 22px;
}
.match-recommendation-card {
  text-align: right;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(21,82,50,.12);
  box-shadow: 0 14px 42px rgba(30,30,30,.08);
}
.match-recommendation-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(21,82,50,.10);
  color: var(--green);
  font-size: 13px;
  margin-bottom: 10px;
}
.match-recommendation-card h4 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.2;
}
.match-recommendation-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}
.match-recommendation-card button {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 11px 14px;
  font-family: inherit;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.match-recommendation-card button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(21,82,50,.18);
}
@media (max-width: 760px) {
  .match-recommendations { grid-template-columns: 1fr; }
}


/* v2.5 — Buying paths / customer-first shop architecture */
.buying-paths {
  background:
    radial-gradient(circle at 12% 20%, rgba(224, 82, 4, .08), transparent 24%),
    radial-gradient(circle at 88% 80%, rgba(0, 96, 117, .08), transparent 26%),
    var(--cream-2);
}
.buying-paths-inner { display: grid; gap: 34px; }
.buying-paths-head { max-width: 900px; margin-inline: auto; text-align: center; }
.buying-paths-head h2 span { color: var(--green); }
.path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.path-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 28px;
  border: 1px solid rgba(21,82,50,.10);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.70);
  box-shadow: var(--shadow);
  text-align: right;
  color: var(--graphite);
  font-family: inherit;
  cursor: pointer;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.path-card::before {
  content: "";
  position: absolute;
  inset: auto auto -70px -70px;
  width: 170px;
  height: 170px;
  border-radius: 999px;
  opacity: .13;
  background: var(--green);
  transition: transform .24s ease, opacity .24s ease;
}
.path-card:hover,
.path-card:focus-visible {
  transform: translateY(-7px);
  box-shadow: 0 30px 90px rgba(21,82,50,.15);
  border-color: rgba(21,82,50,.22);
}
.path-card:hover::before,
.path-card:focus-visible::before { transform: scale(1.18); opacity: .20; }
.path-card span {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 24px;
  border-radius: 22px;
  background: var(--cream);
  font-size: 30px;
}
.path-card strong { display: block; font-size: 25px; margin-bottom: 10px; }
.path-card p, .path-card-text { display: block; margin: 0; color: var(--muted); font-size: 16px; max-width: 320px; }
.path-card small {
  display: inline-flex;
  margin-top: 26px;
  color: var(--green);
  font-size: 14px;
}
.path-green::before { background: var(--green); }
.path-blue::before { background: var(--blue); }
.path-sand::before { background: var(--sand); opacity: .22; }
.path-cream::before { background: #c8b994; opacity: .18; }
.path-orange::before { background: var(--orange); }
.path-teal::before { background: #2a8999; }
.shop-demo-head .lead { margin-bottom: 0; }
.shop-path-message {
  margin: 0 0 22px;
  padding: 14px 18px;
  border: 1px solid rgba(21,82,50,.12);
  border-radius: 20px;
  background: rgba(255,255,255,.72);
  color: var(--muted);
}
.shop-path-message strong { color: var(--green); }

@media (max-width: 980px) {
  .path-grid { grid-template-columns: repeat(2, 1fr); }
  .path-card { min-height: 230px; }
}

@media (max-width: 560px) {
  .path-grid { grid-template-columns: 1fr; }
  .path-card { min-height: auto; padding: 24px; }
  .path-card strong { font-size: 23px; }
}

/* v2.5.1 — make Buying by Need more visible and easier to find */
.buying-paths {
  position: relative;
  border-top: 1px solid rgba(21, 82, 50, .08);
  border-bottom: 1px solid rgba(21, 82, 50, .08);
}
.buying-paths::after {
  content: "";
  position: absolute;
  inset: 28px clamp(18px, 5vw, 76px) auto auto;
  width: 76px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--blue), var(--orange));
  opacity: .45;
}
@media (max-width: 760px) {
  .buying-paths::after { inset: 18px 18px auto auto; width: 54px; }
}


/* v2.7 — Category architecture */
.shop-category-architecture {
  margin: 28px 0 42px;
  padding: clamp(24px, 4vw, 42px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 10% 10%, rgba(224,82,4,.10), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,.86), rgba(247,243,234,.72));
  border: 1px solid rgba(21,82,50,.10);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: .95fr 1.35fr;
  gap: clamp(22px, 4vw, 44px);
  align-items: start;
}
.category-architecture-copy h3 {
  font-size: clamp(30px, 3.7vw, 48px);
  line-height: 1.08;
  margin: 0 0 14px;
  letter-spacing: -0.03em;
}
.category-architecture-copy p:not(.section-kicker) {
  color: var(--muted);
  font-size: 18px;
  margin: 0;
}
.category-tabs {
  grid-column: 2;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.category-tabs button {
  border: 1px solid rgba(21,82,50,.14);
  background: rgba(255,255,255,.62);
  color: var(--graphite);
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  font: inherit;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.category-tabs button:hover, .category-tabs button.active {
  transform: translateY(-1px);
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.category-map {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.category-map-card {
  border: 1px solid rgba(21,82,50,.10);
  background: rgba(255,255,255,.74);
  border-radius: 24px;
  padding: 18px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.category-map-card span {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(21,82,50,.08);
  font-size: 22px;
}
.category-map-card h4 {
  font-size: 22px;
  margin: 0;
}
.category-map-card p {
  color: var(--muted);
  margin: 0;
}
.category-map-card button {
  align-self: flex-start;
  margin-top: auto;
  border: 0;
  background: transparent;
  color: var(--green);
  padding: 0;
  font: inherit;
  cursor: pointer;
}
.category-map-card button:hover {
  text-decoration: underline;
}

@media (max-width: 980px) {
  .shop-category-architecture { grid-template-columns: 1fr; }
  .category-tabs, .category-map { grid-column: auto; }
}
@media (max-width: 560px) {
  .category-map { grid-template-columns: 1fr; }
  .category-tabs button { flex: 1 1 calc(50% - 8px); }
}

/* v2.8 — Product page experience preview */
.product-page-showcase {
  background:
    radial-gradient(circle at 84% 18%, rgba(21, 82, 50, .08), transparent 28%),
    radial-gradient(circle at 12% 72%, rgba(0, 96, 117, .07), transparent 30%),
    linear-gradient(180deg, var(--cream), #fffaf1);
}
.product-page-inner { display: grid; gap: 34px; }
.product-page-head { max-width: 980px; text-align: center; margin-inline: auto; }
.product-page-head .product-page-intro-title {
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.08;
  margin: 0 0 20px;
  letter-spacing: -0.03em;
  font-weight: 700;
  text-wrap: balance;
}
.product-page-head h2 span,
.product-page-head .product-page-intro-title span { color: var(--green); }
.product-page-card {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  border: 1px solid rgba(21,82,50,.12);
  border-radius: 42px;
  background: rgba(255,255,255,.74);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.product-page-visual {
  min-height: 570px;
  padding: clamp(28px, 5vw, 58px);
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--blue));
  display: flex;
  flex-direction: column;
  justify-content: end;
  position: relative;
  overflow: hidden;
}
.product-page-visual::before,
.product-page-visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255,255,255,.13);
}
.product-page-visual::before { width: 330px; height: 330px; top: -110px; left: -90px; }
.product-page-visual::after { width: 210px; height: 210px; right: -65px; bottom: 110px; }
.product-page-visual span,
.product-page-visual strong,
.product-page-visual small { position: relative; z-index: 1; }
.product-page-visual span {
  align-self: flex-start;
  padding: 9px 15px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(12px);
  margin-bottom: 26px;
}
.product-page-visual strong { font-size: clamp(58px, 9vw, 116px); line-height: .86; letter-spacing: -.06em; }
.product-page-visual small { opacity: .82; margin-top: 14px; font-size: 18px; }
.product-page-main { padding: clamp(30px, 5vw, 62px); display: flex; flex-direction: column; justify-content: center; }
.product-page-main h3 { font-size: clamp(38px, 5.7vw, 74px); line-height: 1.02; margin: 0 0 16px; letter-spacing: -.04em; }
.product-page-main > p:not(.section-kicker) { color: var(--muted); font-size: 20px; margin: 0 0 24px; }
.product-page-purchase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 0 0 18px;
}
.product-page-purchase > div {
  border: 1px solid rgba(21,82,50,.11);
  border-radius: 24px;
  background: rgba(247,243,234,.68);
  padding: 18px;
}
.product-page-purchase span { display: block; color: var(--muted); font-size: 14px; margin-bottom: 6px; }
.product-page-purchase strong { color: var(--green); font-size: 22px; }
.product-page-score {
  border-radius: 24px;
  border: 1px solid rgba(21,82,50,.10);
  background: rgba(255,255,255,.64);
  padding: 18px;
  margin-bottom: 24px;
}
.product-page-score p { margin: 12px 0 0; color: var(--muted); }
.product-page-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.product-page-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.product-page-info-grid article {
  border: 1px solid rgba(21,82,50,.10);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.72);
  box-shadow: 0 20px 70px rgba(30,30,30,.08);
  padding: 28px;
}
.product-page-info-grid h4,
.product-page-info-grid h2 { font-size: 24px; line-height: 1.55; margin: 0 0 14px; letter-spacing: normal; text-wrap: wrap; }
.product-page-info-grid ul { margin: 0; padding: 0 18px 0 0; color: var(--muted); }
.product-page-info-grid li { margin-bottom: 10px; }
.product-page-bottom-note {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  border-radius: var(--radius-pill);
  background: #10251d;
  color: rgba(255,255,255,.86);
  padding: 18px 24px;
  text-align: center;
}
.product-page-bottom-note strong { color: #fff; }
.shop-demo-footer-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
@media (max-width: 980px) {
  .product-page-card, .product-page-info-grid, .product-page-purchase { grid-template-columns: 1fr; }
  .product-page-visual { min-height: 360px; }
}
@media (max-width: 560px) {
  .product-page-card { border-radius: 30px; }
  .product-page-main h3 { font-size: 38px; }
  .product-page-main > p:not(.section-kicker) { font-size: 18px; }
  .product-page-actions .btn { width: 100%; }
  .product-page-bottom-note { border-radius: 28px; }
}

/* v2.9 — Dog category page */
.dog-world-page {
  background:
    radial-gradient(circle at 92% 12%, rgba(224, 82, 4, .08), transparent 26%),
    radial-gradient(circle at 12% 28%, rgba(0, 96, 117, .08), transparent 28%),
    linear-gradient(180deg, #fffaf1 0%, var(--cream) 100%);
}
.dog-world-inner { display: grid; gap: 34px; }
.dog-world-hero-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(24px, 5vw, 66px);
  align-items: center;
  padding: clamp(30px, 6vw, 70px);
  border-radius: calc(var(--radius-xl) + 10px);
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(247,243,234,.78));
  border: 1px solid rgba(21,82,50,.12);
  box-shadow: var(--shadow);
}
.dog-world-hero-card::before {
  content: "";
  position: absolute;
  inset: auto -12% -28% auto;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(21,82,50,.12), transparent 64%);
  pointer-events: none;
}
.dog-world-copy h2 { font-size: clamp(42px, 6vw, 86px); line-height: 1.04; margin: 0 0 22px; letter-spacing: -0.03em; }
.dog-world-copy h2 span { color: var(--green); }
.dog-world-copy .lead { margin-inline: 0; }
.dog-world-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.dog-world-note {
  position: relative;
  z-index: 1;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(16,37,29,.96), rgba(21,82,50,.92));
  color: #fff;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 26px 70px rgba(21,82,50,.2);
}
.dog-world-note span { font-size: 58px; margin-bottom: 32px; }
.dog-world-note h3 { font-size: clamp(30px, 4vw, 48px); line-height: 1.05; margin: 0 0 16px; }
.dog-world-note p { color: rgba(255,255,255,.82); margin: 0; font-size: 18px; }
.dog-need-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.dog-need-grid article,
.dog-need-grid button,
.dog-filter-panel,
.dog-product-showcase,
.dog-world-bottom {
  border: 1px solid rgba(21,82,50,.10);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.68);
  box-shadow: var(--shadow);
}
.dog-need-grid article, .dog-need-grid button { padding: 28px; min-height: 230px; display: flex; flex-direction: column; justify-content: flex-end; text-align: right; font: inherit; color: inherit; cursor: pointer; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.dog-need-grid button:hover, .dog-need-grid button.active { transform: translateY(-6px); box-shadow: 0 28px 80px rgba(21,82,50,.14); border-color: rgba(21,82,50,.24); }
.dog-need-grid small { color: var(--green); margin-top: 16px; font-size: 14px; }
.dog-need-grid span { font-size: 38px; margin-bottom: 28px; }
.dog-need-grid h3 { margin: 0 0 10px; font-size: 24px; }
.dog-need-grid p { color: var(--muted); margin: 0; }
.dog-filter-panel {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 26px;
  align-items: start;
  padding: clamp(28px, 5vw, 46px);
}
.dog-filter-copy h3 { font-size: clamp(30px, 4vw, 48px); line-height: 1.08; margin: 0 0 14px; }
.dog-filter-copy p:not(.section-kicker) { color: var(--muted); margin: 0; font-size: 18px; }
.dog-filter-selected { margin-top: 14px !important; display: inline-flex; align-items: center; padding: 10px 14px; border-radius: var(--radius-pill); background: rgba(21,82,50,.08); color: var(--green) !important; font-size: 15px !important; }
.dog-filter-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-start; }
.dog-filter-chips button {
  border: 1px solid rgba(21,82,50,.16);
  background: rgba(247,243,234,.72);
  color: var(--graphite);
  padding: 12px 16px;
  border-radius: var(--radius-pill);
  font: inherit;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.dog-filter-chips button:hover { transform: translateY(-2px); border-color: rgba(21,82,50,.34); }
.dog-filter-chips button.active { background: var(--green); color: #fff; border-color: var(--green); }
.dog-product-showcase { padding: clamp(28px, 5vw, 50px); }
.dog-products-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 26px;
}
.dog-products-head h3 { font-size: clamp(30px, 4vw, 50px); margin: 0; line-height: 1.08; }
.dog-products-head > p { max-width: 430px; color: var(--muted); margin: 0; }
.dog-product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.dog-product-card {
  min-height: 280px;
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(21,82,50,.10);
  background: linear-gradient(160deg, rgba(255,255,255,.94), rgba(247,243,234,.66));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform .25s ease, opacity .2s ease, box-shadow .25s ease;
}
.dog-product-card:hover { transform: translateY(-6px); box-shadow: 0 24px 72px rgba(21,82,50,.12); }
.dog-product-card.is-muted { opacity: .34; filter: grayscale(.2); }
.dog-product-card .product-badge { align-self: flex-start; margin-bottom: auto; }
.dog-product-card strong { display: block; margin: 28px 0 10px; font-size: 22px; line-height: 1.2; }
.dog-product-card p { color: var(--muted); margin: 0 0 18px; }
.dog-product-card .product-detail-btn { width: 100%; }
.dog-world-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: clamp(26px, 4vw, 42px);
  background: #10251d;
  color: #fff;
}
.dog-world-bottom h3 { margin: 0 0 8px; font-size: clamp(28px, 3vw, 42px); }
.dog-world-bottom p { margin: 0; color: rgba(255,255,255,.74); max-width: 720px; }

@media (max-width: 980px) {
  .dog-world-hero-card,
  .dog-filter-panel,
  .dog-world-bottom { grid-template-columns: 1fr; }
  .dog-need-grid,
  .dog-product-grid { grid-template-columns: repeat(2, 1fr); }
  .dog-products-head { display: block; }
  .dog-products-head > p { margin-top: 12px; }
  .dog-world-bottom { display: grid; }
}

@media (max-width: 560px) {
  .dog-world-hero-card { padding: 26px; }
  .dog-world-actions { flex-direction: column; }
  .dog-need-grid,
  .dog-product-grid { grid-template-columns: 1fr; }
  .dog-filter-chips { gap: 8px; }
  .dog-filter-chips button { width: 100%; }
}


/* v3.4 — Guided store entry and Joy, the Dpet floating advisor */
.advisor-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 72;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: #fff;
  padding: 12px 18px 12px 14px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 22px 60px rgba(16,37,29,.28);
  cursor: pointer;
  font-family: inherit;
  text-align: right;
  transition: transform .2s ease, box-shadow .2s ease;
}
.advisor-float:hover { transform: translateY(-3px); box-shadow: 0 28px 80px rgba(16,37,29,.34); }
.advisor-float-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  font-size: 20px;
}
.advisor-float strong { display: block; font-size: 15px; line-height: 1.1; }
.advisor-float small { display: block; color: rgba(255,255,255,.78); font-size: 12px; margin-top: 2px; }

.advisor-chat {
  position: fixed;
  right: 22px;
  bottom: 92px;
  width: min(420px, calc(100vw - 44px));
  z-index: 75;
  display: none;
}
.advisor-chat.open { display: block; animation: advisorRise .22s ease both; }
.advisor-chat-card {
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(21,82,50,.14);
  background: rgba(255,250,241,.98);
  box-shadow: 0 30px 100px rgba(16,37,29,.26);
  backdrop-filter: blur(18px);
}
.advisor-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(255,255,255,.62);
  border-bottom: 1px solid rgba(21,82,50,.10);
}
.advisor-chat-head > div { display: flex; align-items: center; gap: 12px; }
.advisor-chat-head img { width: 64px; height: auto; max-height: 48px; object-fit: contain; }
.advisor-chat-head strong { display: block; color: var(--graphite); font-size: 16px; }
.advisor-chat-head strong::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-inline-start: 7px; border-radius: 50%; background: var(--green-2); vertical-align: middle; }
.advisor-chat-head small { display: block; color: var(--muted); font-size: 12px; }
#adviserClose, #advisorClose,
.advisor-chat-head button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
  color: var(--graphite);
  font-size: 24px;
  cursor: pointer;
  font-family: inherit;
}

.advisor-chat-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.advisor-chat-head .advisor-restart-chat {
  width: auto;
  height: 34px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  background: rgba(21,82,50,.08);
  color: var(--green);
  border: 1px solid rgba(21,82,50,.14);
}
.advisor-chat-head .advisor-close-chat {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 24px;
}
.advisor-chat-head .advisor-restart-chat:hover {
  background: rgba(21,82,50,.13);
}
@media (max-width: 420px) {
  .advisor-chat-head .advisor-restart-chat { font-size: 11px; padding: 0 10px; }
}

.advisor-chat-body {
  height: 330px;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background:
    radial-gradient(circle at 20% 0%, rgba(224,82,4,.08), transparent 28%),
    radial-gradient(circle at 90% 20%, rgba(0,96,117,.08), transparent 25%),
    var(--cream-2);
}
.advisor-message {
  max-width: 86%;
  padding: 12px 14px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.45;
}
.advisor-message.bot {
  align-self: flex-start;
  background: #fff;
  border-bottom-left-radius: 6px;
  color: var(--graphite);
  box-shadow: 0 10px 30px rgba(30,30,30,.06);
}
.advisor-message.user {
  align-self: flex-end;
  background: var(--green);
  color: #fff;
  border-bottom-right-radius: 6px;
}
.advisor-chat-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 14px 16px 16px;
  background: rgba(255,255,255,.78);
  border-top: 1px solid rgba(21,82,50,.10);
}
.advisor-action {
  border: 1px solid rgba(21,82,50,.14);
  background: #fff;
  color: var(--green);
  border-radius: 999px;
  padding: 10px 14px;
  font-family: inherit;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.advisor-action:hover { transform: translateY(-1px); background: var(--cream); }
.advisor-action.primary { background: var(--green); color: #fff; border-color: var(--green); }

/* v5.0 — Joy has one functional system: the floating chat. The preview is decorative only. */
.match-live { display: none !important; }
.match-product .match-window { position: relative; }
.match-product .match-window::after { display: none; content: ""; }

@keyframes advisorRise { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (max-width: 980px) {
  .advisor-float {
    right: 16px;
    left: 16px;
    bottom: 72px;
    justify-content: center;
  }
  .advisor-chat {
    right: 12px;
    left: 12px;
    bottom: 138px;
    width: auto;
  }
  
.advisor-chat-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.advisor-chat-head .advisor-restart-chat {
  width: auto;
  height: 34px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  background: rgba(21,82,50,.08);
  color: var(--green);
  border: 1px solid rgba(21,82,50,.14);
}
.advisor-chat-head .advisor-close-chat {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 24px;
}
.advisor-chat-head .advisor-restart-chat:hover {
  background: rgba(21,82,50,.13);
}
@media (max-width: 420px) {
  .advisor-chat-head .advisor-restart-chat { font-size: 11px; padding: 0 10px; }
}

.advisor-chat-body { height: 300px; }
  .whatsapp-float { bottom: 14px; }
}

/* v3.2 — Dog filter UX: stay in filter area while selecting, then choose when to view results */
.dog-filter-actions {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(21,82,50,.10);
  border-radius: 24px;
  background: rgba(247,243,234,.72);
}
.dog-filter-actions span {
  color: var(--muted);
  font-size: 15px;
}
.dog-filter-actions .btn {
  min-height: 44px;
  padding: 11px 18px;
  font-size: 15px;
  flex-shrink: 0;
}

@media (max-width: 560px) {
  .dog-filter-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .dog-filter-actions .btn {
    width: 100%;
  }
}


/* v3.4 — Joy contextual upgrade */
.advisor-chat-actions { max-height: 210px; overflow-y: auto; }
.advisor-action.primary { flex-basis: 100%; font-weight: 700; }
.advisor-action:focus-visible { outline: 3px solid rgba(224,82,4,.28); outline-offset: 2px; }
@media (max-width: 560px) {
  .advisor-chat-actions { max-height: 190px; }
  .advisor-action { padding: 10px 12px; font-size: 14px; }
}


.category-map-focus {
  grid-column: 1 / -1;
  min-height: 220px;
  background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(247,243,234,.72));
  border-color: rgba(21,82,50,.18);
}
.category-map-focus h4 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 12px;
}


.shop-empty-state {
  margin: 28px 0 0;
  padding: 28px;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(21,82,50,.12);
  text-align: center;
  box-shadow: var(--shadow);
}
.shop-empty-state strong { display: block; font-size: 24px; margin-bottom: 8px; }
.shop-empty-state p { color: var(--muted); margin: 0 0 18px; }

/* v3.9.1 — clearer grouped smart filters */
.dog-filter-panel {
  grid-template-columns: .72fr 1.28fr;
}
.dog-filter-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.dog-filter-group {
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,.78), rgba(247,243,234,.68));
  border: 1px solid rgba(21,82,50,.10);
  box-shadow: 0 14px 36px rgba(30,30,30,.06);
}
.dog-filter-group-main,
.dog-filter-group-wide {
  grid-column: 1 / -1;
}
.dog-filter-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.dog-filter-group-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 99px;
  background: rgba(21,82,50,.09);
  color: var(--green);
  font-size: 13px;
}
.dog-filter-group-head h4 {
  margin: 0;
  font-size: 19px;
  line-height: 1.2;
}
.dog-filter-group .dog-filter-chips {
  gap: 8px;
}
.dog-filter-group .dog-filter-chips button {
  padding: 10px 14px;
  font-size: 15px;
}
.dog-filter-group-main .dog-filter-chips button:first-child {
  border-color: rgba(0,96,117,.18);
}
.dog-filter-group-animal .dog-filter-group-head span { background: rgba(21,82,50,.10); color: var(--green); }
.dog-filter-group-product .dog-filter-group-head span { background: rgba(0,96,117,.10); color: var(--blue); }
.dog-filter-group-life .dog-filter-group-head span { background: rgba(224,82,4,.10); color: var(--orange); }
.dog-filter-group-size .dog-filter-group-head span { background: rgba(33,137,73,.10); color: var(--green-2); }
.dog-filter-group-protein .dog-filter-group-head span { background: rgba(216,199,163,.30); color: var(--graphite); }
.dog-filter-group-needs .dog-filter-group-head span { background: rgba(224,82,4,.10); color: var(--orange); }
.animal-filter-chips button:not(.active) { background: rgba(255,255,255,.86); }

@media (max-width: 980px) {
  .dog-filter-panel { grid-template-columns: 1fr; }
  .dog-filter-groups { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .dog-filter-group { padding: 16px; border-radius: 20px; }
  .dog-filter-group-head h4 { font-size: 18px; }
  .dog-filter-group .dog-filter-chips button { width: auto; flex: 1 1 auto; }
}


/* v4.0 — Knowledge center */
.knowledge {
  background:
    radial-gradient(circle at 12% 20%, rgba(0,96,117,.09), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(224,82,4,.08), transparent 26%),
    linear-gradient(180deg, var(--cream-2), var(--cream));
}
.knowledge-inner { position: relative; }
.knowledge-head {
  max-width: 900px;
  margin: 0 auto 42px;
  text-align: center;
}
.knowledge-head h2 span { color: var(--green); }
.knowledge-grid {
  display: grid;
  grid-template-columns: 1.15fr .925fr .925fr;
  gap: 18px;
}
.knowledge-card {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(21,82,50,.11);
  box-shadow: var(--shadow);
}
.knowledge-card::before {
  content: "";
  position: absolute;
  inset: auto -70px -88px auto;
  width: 190px;
  height: 190px;
  border-radius: 999px;
  background: rgba(21,82,50,.06);
}
.knowledge-card-main {
  background: linear-gradient(145deg, rgba(21,82,50,.98), rgba(0,96,117,.88));
  color: #fff;
}
.knowledge-card-main p,
.knowledge-card-main small { color: rgba(255,255,255,.78); }
.knowledge-card-main .knowledge-link {
  background: rgba(255,255,255,.92);
  color: var(--green);
}
.knowledge-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.knowledge-card-top span {
  width: 54px;
  height: 54px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.72);
  font-size: 26px;
}
.knowledge-card-main .knowledge-card-top span { background: rgba(255,255,255,.14); }
.knowledge-card-top small {
  color: var(--orange);
  font-size: 14px;
}
.knowledge-card h3,
.knowledge-card h2 {
  position: relative;
  z-index: 1;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.08;
  margin: 30px 0 14px;
  letter-spacing: -.03em;
  text-wrap: wrap;
}
.knowledge-card:not(.knowledge-card-main) h3,
.knowledge-card:not(.knowledge-card-main) h2 { color: var(--green); }
.knowledge-card p {
  position: relative;
  z-index: 1;
  color: var(--muted);
  margin: 0 0 28px;
  font-size: 17px;
}
.knowledge-link {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  border: 0;
  border-radius: var(--radius-pill);
  padding: 12px 18px;
  background: var(--green);
  color: #fff;
  font-family: inherit;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.knowledge-link:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(21,82,50,.18); }
.knowledge-cta {
  margin-top: 22px;
  padding: 22px;
  border-radius: 28px;
  background: rgba(255,255,255,.66);
  border: 1px solid rgba(21,82,50,.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: 0 18px 50px rgba(30,30,30,.07);
}
.knowledge-cta strong { display: block; font-size: 22px; color: var(--green); }
.knowledge-cta span { color: var(--muted); }
.article-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
}
.article-modal.open { display: block; }
.article-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12,22,18,.58);
  backdrop-filter: blur(10px);
}
.article-modal-dialog {
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  width: min(780px, calc(100vw - 28px));
  max-height: min(82vh, 780px);
  overflow: auto;
  padding: clamp(26px, 5vw, 50px);
  border-radius: 36px;
  background: var(--cream-2);
  box-shadow: 0 34px 110px rgba(0,0,0,.26);
  border: 1px solid rgba(255,255,255,.68);
}
.article-modal-close {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(21,82,50,.09);
  color: var(--green);
  font-size: 25px;
  cursor: pointer;
}
.article-modal-dialog h2 {
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1.08;
  margin: 0 0 16px;
  color: var(--green);
  letter-spacing: -.03em;
}
.article-modal-intro {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 20px;
}
.article-modal-content {
  display: grid;
  gap: 14px;
}
.article-tip {
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(21,82,50,.10);
}
.article-tip strong { display: block; color: var(--graphite); margin-bottom: 6px; }
.article-tip p { margin: 0; color: var(--muted); }
.article-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
@media (max-width: 980px) {
  .knowledge-grid { grid-template-columns: 1fr; }
  .knowledge-card { min-height: auto; }
  .knowledge-cta { align-items: stretch; flex-direction: column; }
}
@media (max-width: 560px) {
  .article-modal-dialog { border-radius: 26px; max-height: 86vh; }
  .knowledge-card h3,
  .knowledge-card h2 { font-size: 30px; }
}

/* v4.0.1 — Dog world contrast hotfix */
.dog-world-copy,
.dog-world-copy h2,
.dog-world-copy .lead {
  color: var(--graphite) !important;
}

.dog-world-copy h2 span {
  color: var(--green) !important;
}

.dog-world-copy .section-kicker {
  color: var(--orange) !important;
}

.dog-world-note,
.dog-world-note h3,
.dog-world-note p {
  color: #ffffff !important;
}

.dog-world-note p {
  color: rgba(255,255,255,.88) !important;
}


/* v4.0.2 — Knowledge card contrast fix */
.knowledge-card.knowledge-card-main h3,
.knowledge-card.knowledge-card-main h2 {
  color: #ffffff;
}
.knowledge-card.knowledge-card-main p {
  color: rgba(255,255,255,.88);
}
.knowledge-card.knowledge-card-main .knowledge-card-top small {
  color: #ffb36f;
}
.knowledge-card.knowledge-card-main .knowledge-card-top span {
  background: rgba(255,255,255,.16);
  color: #ffffff;
}


/* v4.2 — Care Flow / Trust Journey */
.care-flow {
  background:
    radial-gradient(circle at 16% 18%, rgba(224,82,4,.10), transparent 28%),
    radial-gradient(circle at 84% 78%, rgba(0,96,117,.10), transparent 32%),
    var(--cream);
}
.care-flow-inner {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
}
.care-flow-copy h2 {
  font-size: clamp(38px, 5vw, 76px);
  line-height: 1.08;
  margin: 0 0 22px;
  letter-spacing: -.035em;
}
.care-flow-copy h2 span { color: var(--green); }
.care-flow-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.care-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.care-step {
  position: relative;
  min-height: 230px;
  padding: 28px;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(21,82,50,.10);
  box-shadow: 0 22px 70px rgba(30,30,30,.08);
  overflow: hidden;
}
.care-step::after {
  content: "";
  position: absolute;
  inset: auto -30px -45px auto;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(21,82,50,.10), rgba(0,96,117,.08));
}
.care-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 34px;
  border-radius: var(--radius-pill);
  background: rgba(21,82,50,.09);
  color: var(--green);
  font-size: 14px;
  margin-bottom: 22px;
}
.care-step:nth-child(2) .care-step-number { background: rgba(0,96,117,.10); color: var(--blue); }
.care-step:nth-child(3) .care-step-number { background: rgba(224,82,4,.10); color: var(--orange); }
.care-step h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  font-size: 26px;
  color: var(--graphite);
}
.care-step p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}
@media (max-width: 980px) {
  .care-flow-inner { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .care-steps { grid-template-columns: 1fr; }
  .care-step { min-height: auto; }
  .care-flow-actions .btn { width: 100%; }
}

/* v4.3 — Premium animal PNG visuals supplied by Dpet */
.path-card .path-animal,
.world-image,
.knowledge-animal {
  position: relative;
  overflow: visible;
}

.path-card .path-animal {
  width: 82px;
  height: 82px;
  margin-bottom: 22px;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(247,243,234,.74));
  box-shadow: 0 18px 42px rgba(30,30,30,.10);
}

.path-card .path-animal img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  transform: translateY(-14px);
  filter: drop-shadow(0 14px 18px rgba(30,30,30,.14));
}

.path-card .path-animal-small img { transform: translateY(-10px) scale(.92); }
.path-card .path-animal-soft img { transform: translateY(-12px) scale(.96); opacity: .98; }
.path-card .path-animal-duo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.path-card .path-animal-duo img:first-child {
  width: 74px;
  height: 86px;
  transform: translate(10px, -10px);
}
.path-card .path-animal-duo img:last-child {
  width: 72px;
  height: 72px;
  transform: translate(-8px, 6px);
}

.world-image {
  width: 104px;
  height: 104px;
  border-radius: 34px;
  background: radial-gradient(circle at 50% 28%, rgba(255,255,255,.96), rgba(255,255,255,.62));
  box-shadow: 0 18px 42px rgba(30,30,30,.10);
  overflow: visible;
  margin-bottom: 18px;
}
.world-image img {
  width: 118px;
  height: 118px;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(30,30,30,.14));
  transform: translateY(-16px);
}
.world-birds .world-image img { height: 138px; transform: translateY(-28px); }
.world-small .world-image img { transform: translateY(-10px) scale(.98); }
.world-cats .world-image img { transform: translateY(-12px) scale(1.02); }

.knowledge-animal {
  width: 68px !important;
  height: 68px !important;
  padding: 0;
  border-radius: 24px !important;
  background: rgba(255,255,255,.80) !important;
  overflow: visible;
}
.knowledge-animal img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  transform: translateY(-10px);
  filter: drop-shadow(0 12px 14px rgba(30,30,30,.13));
}
.knowledge-card-main .knowledge-animal {
  background: rgba(255,255,255,.16) !important;
}
.knowledge-card-main .knowledge-animal img { filter: drop-shadow(0 12px 14px rgba(0,0,0,.20)); }
.knowledge-animal-duo {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}
.knowledge-animal-duo img:first-child { width: 56px; height: 56px; transform: translate(8px, -2px); }
.knowledge-animal-duo img:last-child { width: 60px; height: 60px; transform: translate(-8px, 2px); }

@media (max-width: 980px) {
  .world-image { width: 92px; height: 92px; }
  .world-image img { width: 108px; height: 108px; }
}

@media (max-width: 560px) {
  .path-card .path-animal { width: 72px; height: 72px; }
  .path-card .path-animal img { width: 86px; height: 86px; }
  .world-image { width: 86px; height: 86px; border-radius: 28px; }
  .world-image img { width: 100px; height: 100px; }
  .knowledge-animal { width: 60px !important; height: 60px !important; }
  .knowledge-animal img { width: 74px; height: 74px; }
}


/* v4.4 — Smart filter refinements */
.animal-specific-panel .animal-filter-intro {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
}
.animal-specific-panel[hidden],
.dog-filter-group[hidden] {
  display: none !important;
}

/* v4.4.1 compact smart filter intro */
.dog-world-compact-intro {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 34px;
}
.dog-world-compact-intro h2 {
  margin-bottom: 14px;
}


/* v4.5 smart filter refinements */
.animal-specific-block { margin-top: 18px; }
.animal-specific-block h5 { margin: 0 0 10px; font-size: 15px; color: rgba(30,30,30,.72); }
.animal-specific-detail-chips button.active { background: var(--green); color: var(--white); border-color: var(--green); }
.dog-filter-group[hidden], .animal-specific-panel[hidden] { display: none !important; }
@media (max-width: 560px) {
  .animal-specific-block { margin-top: 14px; }
  .animal-specific-block h5 { font-size: 14px; }
}

/* v4.6 — Focused start cards: fewer choices, clearer paths */
.path-grid-focused {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1080px;
  margin-inline: auto;
}
.path-card-focused {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.path-animals-row {
  position: absolute;
  top: 26px;
  right: 26px;
  display: flex;
  align-items: center;
  gap: 0;
  width: auto;
  height: 82px;
  margin: 0;
  background: transparent;
  box-shadow: none;
}
.path-card .path-animals-row img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  padding: 6px;
  border-radius: 24px;
  background: rgba(255,255,255,.74);
  box-shadow: 0 14px 36px rgba(30,30,30,.10);
  filter: drop-shadow(0 10px 14px rgba(30,30,30,.10));
  transform: none;
  margin-inline-start: -14px;
}
.path-card .path-animals-row img:first-child { margin-inline-start: 0; }
.path-symbol {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 76px;
  height: 76px;
  display: inline-grid;
  place-items: center;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(247,243,234,.72));
  box-shadow: 0 18px 44px rgba(30,30,30,.10);
  color: var(--green);
  font-size: 34px;
  font-weight: 700;
}
.joy-symbol {
  font-size: 22px;
  color: var(--orange);
}
.path-card-focused strong { margin-top: 86px; }
.filter-highlight {
  animation: filterPulse 1.55s ease both;
}
@keyframes filterPulse {
  0% { box-shadow: 0 0 0 0 rgba(21,82,50,.0); transform: translateY(0); }
  30% { box-shadow: 0 0 0 8px rgba(21,82,50,.11); transform: translateY(-2px); }
  100% { box-shadow: 0 0 0 0 rgba(21,82,50,.0); transform: translateY(0); }
}
@media (max-width: 980px) {
  .path-grid-focused { grid-template-columns: 1fr; max-width: 640px; }
  .path-card-focused { min-height: 260px; }
}
@media (max-width: 560px) {
  .path-card-focused { min-height: 245px; }
  .path-card .path-animals-row img { width: 58px; height: 58px; border-radius: 20px; }
  .path-symbol { width: 66px; height: 66px; border-radius: 24px; font-size: 30px; }
  .joy-symbol { font-size: 20px; }
}

/* v4.7 — Smart filter lives inside the store, not as a separate journey */
.shop-smart-filter.dog-world-page {
  margin: 34px 0 40px;
  padding: 0;
  background: transparent;
}
.shop-smart-filter .dog-world-inner {
  max-width: none;
}
.shop-smart-filter .dog-world-compact-intro {
  margin-bottom: 24px;
}
.shop-smart-filter .dog-product-showcase {
  margin-top: 24px;
}
@media (max-width: 560px) {
  .shop-smart-filter.dog-world-page { margin: 24px 0 32px; }
}

/* v4.8 — Updated PNG animal visuals supplied by Dpet */
.world-dogs .world-image img {
  width: 150px;
  height: auto;
  transform: translate(-8px, -10px);
}
.world-cats .world-image img {
  width: 132px;
  height: auto;
  transform: translate(-4px, -12px);
}
.world-birds .world-image img {
  width: 136px;
  height: auto;
  transform: translate(-4px, -22px);
}
.world-small .world-image img {
  width: 126px;
  height: auto;
  transform: translate(-4px, -16px);
}
.path-card .path-animals-row img:first-child {
  width: 72px;
  height: 58px;
  object-fit: contain;
  transform: translate(6px, -2px);
}
.path-card .path-animals-row img:nth-child(2) {
  width: 58px;
  height: 58px;
  object-fit: contain;
}
.path-card .path-animals-row img:nth-child(3) {
  width: 66px;
  height: 66px;
  object-fit: contain;
}
.path-card .path-animals-row img:nth-child(4) {
  width: 58px;
  height: 64px;
  object-fit: contain;
}
.knowledge-animal img {
  object-fit: contain;
}
.knowledge-card-main .knowledge-animal img[src$="animal-dog.webp"] {
  width: 92px;
  height: auto;
  transform: translate(-8px, -4px);
}
@media (max-width: 560px) {
  .world-dogs .world-image img { width: 132px; transform: translate(-8px, -8px); }
  .world-cats .world-image img { width: 114px; transform: translate(-4px, -10px); }
  .world-birds .world-image img { width: 120px; transform: translate(-4px, -18px); }
  .world-small .world-image img { width: 112px; transform: translate(-4px, -14px); }
}

/* v4.9 — direct anchors should land cleanly below the fixed header */
#productGrid,
#dogFilterPanel,
#dogWorld,
#shop {
  scroll-margin-top: calc(var(--header-h) + 28px);
}


/* v5.0 — decorative preview chips for Joy section, not fake buttons */
.match-options-preview span {
  border: 1px solid rgba(21,82,50,.13);
  background: rgba(255,255,255,.72);
  color: var(--graphite);
  border-radius: 18px;
  padding: 12px 14px;
  text-align: center;
  font-size: 15px;
}
.match-options-preview span:hover { transform: none; box-shadow: none; }

/* v5.1.3 — Fix animal start card: keep all four animals fully visible */
.path-card .path-animals-row {
  top: 24px;
  right: 24px;
  width: 176px;
  height: 92px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(247,243,234,.78));
  border: 1px solid rgba(21,82,50,.08);
  box-shadow: 0 18px 48px rgba(30,30,30,.10);
  overflow: visible;
}
.path-card .path-animals-row img,
.path-card .path-animals-row img:first-child,
.path-card .path-animals-row img:nth-child(2),
.path-card .path-animals-row img:nth-child(3),
.path-card .path-animals-row img:nth-child(4) {
  width: 42px;
  height: 42px;
  max-width: 42px;
  max-height: 42px;
  object-fit: contain;
  padding: 0;
  margin: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  filter: drop-shadow(0 8px 10px rgba(30,30,30,.12));
}
.path-card-focused strong { margin-top: 112px; }
@media (max-width: 980px) {
  .path-card .path-animals-row {
    width: 168px;
    height: 88px;
    padding: 11px 13px;
  }
  .path-card-focused strong { margin-top: 108px; }
}
@media (max-width: 560px) {
  .path-card .path-animals-row {
    width: 156px;
    height: 82px;
    top: 20px;
    right: 20px;
    padding: 10px 12px;
    gap: 5px;
  }
  .path-card .path-animals-row img,
  .path-card .path-animals-row img:first-child,
  .path-card .path-animals-row img:nth-child(2),
  .path-card .path-animals-row img:nth-child(3),
  .path-card .path-animals-row img:nth-child(4) {
    width: 38px;
    height: 38px;
    max-width: 38px;
    max-height: 38px;
  }
  .path-card-focused strong { margin-top: 100px; }
}


/* v5.2 — Joy mascot integration: warm, dynamic, not boring */
.joy-card-visual {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: end center;
  border-radius: 34px;
  overflow: visible;
  background:
    radial-gradient(circle at 50% 52%, rgba(255,255,255,.92), rgba(255,250,241,.68) 62%, rgba(255,255,255,0) 68%);
  filter: drop-shadow(0 18px 34px rgba(16,37,29,.16));
  animation: joyFloat 4.8s ease-in-out infinite;
}
.joy-card-visual::after {
  content: "";
  position: absolute;
  inset: auto 14px 8px 14px;
  height: 12px;
  border-radius: 50%;
  background: rgba(16,37,29,.13);
  filter: blur(7px);
  z-index: 0;
}
.joy-card-visual img {
  position: relative;
  z-index: 1;
  width: 118px;
  height: 118px;
  object-fit: contain;
  transform-origin: 52% 82%;
}
.path-card-focused:hover .joy-card-visual img {
  animation: joyWave 1.1s ease both;
}
.path-card-focused:has(.joy-card-visual) strong {
  margin-top: 102px;
}

.advisor-float {
  overflow: visible;
}
.joy-float-avatar {
  width: 48px;
  height: 48px;
  padding: 0;
  overflow: hidden;
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 28px rgba(0,0,0,.16), inset 0 0 0 2px rgba(255,255,255,.44);
}
.joy-float-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.08);
}
.advisor-float::before {
  content: "";
  position: absolute;
  top: 8px;
  right: 50px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #38d86f;
  border: 2px solid #fff;
  box-shadow: 0 0 0 0 rgba(56,216,111,.44);
  animation: joyOnline 2.4s ease-out infinite;
}
.advisor-float:hover .joy-float-avatar img {
  animation: joyTinyWave .95s ease both;
}

.joy-chat-avatar-wrap {
  width: 58px;
  height: 58px;
  border-radius: 22px;
  overflow: hidden;
  flex: 0 0 auto;
  background: #fff;
  box-shadow: 0 12px 34px rgba(16,37,29,.14);
  border: 1px solid rgba(21,82,50,.12);
  position: relative;
}
.joy-chat-avatar-wrap::after {
  content: "";
  position: absolute;
  left: 6px;
  bottom: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #38d86f;
  border: 2px solid #fff;
}
.joy-chat-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  display: block;
}
.advisor-chat.open .joy-chat-avatar {
  animation: joyPeek .7s ease both;
}
.advisor-chat-head img.joy-chat-avatar {
  width: 100%;
  max-height: none;
}
.advisor-message.bot {
  position: relative;
  margin-left: 42px;
}
.advisor-message.bot::before {
  content: "";
  position: absolute;
  left: -42px;
  top: 2px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff url('../media/joy-icon.webp') center/cover no-repeat;
  box-shadow: 0 8px 24px rgba(16,37,29,.13);
  border: 1px solid rgba(21,82,50,.10);
}

@keyframes joyFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-7px) rotate(-1deg); }
}
@keyframes joyWave {
  0% { transform: rotate(0deg) scale(1); }
  30% { transform: rotate(-4deg) scale(1.04); }
  60% { transform: rotate(3deg) scale(1.02); }
  100% { transform: rotate(0deg) scale(1); }
}
@keyframes joyTinyWave {
  0% { transform: scale(1.08) rotate(0deg); }
  35% { transform: scale(1.16) rotate(-5deg); }
  70% { transform: scale(1.12) rotate(4deg); }
  100% { transform: scale(1.08) rotate(0deg); }
}
@keyframes joyOnline {
  0% { box-shadow: 0 0 0 0 rgba(56,216,111,.42); }
  70% { box-shadow: 0 0 0 9px rgba(56,216,111,0); }
  100% { box-shadow: 0 0 0 0 rgba(56,216,111,0); }
}
@keyframes joyPeek {
  from { transform: translateY(6px) scale(1.05); opacity: .55; }
  to { transform: translateY(0) scale(1.1); opacity: 1; }
}

@media (max-width: 560px) {
  .joy-card-visual {
    width: 92px;
    height: 92px;
    top: 18px;
    right: 20px;
  }
  .joy-card-visual img {
    width: 96px;
    height: 96px;
  }
  .path-card-focused:has(.joy-card-visual) strong {
    margin-top: 82px;
  }
  .advisor-message.bot { margin-left: 0; }
  .advisor-message.bot::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .joy-card-visual,
  .advisor-float::before,
  .advisor-chat.open .joy-chat-avatar,
  .path-card-focused:hover .joy-card-visual img,
  .advisor-float:hover .joy-float-avatar img {
    animation: none !important;
  }
}

/* v5.2.1 — Make Joy more present in the 'איך תרצו להתחיל' card */
.path-card-focused:has(.joy-card-visual) {
  min-height: 340px;
}
.joy-card-visual {
  width: 156px;
  height: 156px;
  top: 14px;
  right: 24px;
  border-radius: 42px;
  background:
    radial-gradient(circle at 50% 54%, rgba(255,255,255,.96), rgba(255,250,241,.78) 58%, rgba(255,255,255,0) 72%);
  filter: drop-shadow(0 22px 42px rgba(16,37,29,.18));
}
.joy-card-visual img {
  width: 168px;
  height: 168px;
  transform-origin: 52% 82%;
}
.path-card-focused:has(.joy-card-visual) strong {
  margin-top: 148px;
}
.path-card-focused:has(.joy-card-visual) p {
  max-width: 92%;
}
@media (max-width: 980px) {
  .path-card-focused:has(.joy-card-visual) {
    min-height: 320px;
  }
  .joy-card-visual {
    width: 140px;
    height: 140px;
  }
  .joy-card-visual img {
    width: 150px;
    height: 150px;
  }
  .path-card-focused:has(.joy-card-visual) strong {
    margin-top: 132px;
  }
}
@media (max-width: 560px) {
  .path-card-focused:has(.joy-card-visual) {
    min-height: 300px;
  }
  .joy-card-visual {
    width: 122px;
    height: 122px;
    top: 16px;
    right: 18px;
    border-radius: 36px;
  }
  .joy-card-visual img {
    width: 132px;
    height: 132px;
  }
  .path-card-focused:has(.joy-card-visual) strong {
    margin-top: 116px;
  }
}

/* v5.2.2 — Joy start-card: keep the premium badge small, let Joy break out naturally */
.path-card-focused:has(.joy-card-visual) {
  min-height: 332px;
}
.path-card-focused:has(.joy-card-visual)::after {
  content: "";
  position: absolute;
  top: 20px;
  right: 22px;
  width: 76px;
  height: 76px;
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(247,243,234,.70));
  box-shadow: 0 18px 44px rgba(30,30,30,.10);
  z-index: 0;
}
.joy-card-visual {
  width: 76px;
  height: 76px;
  top: 20px;
  right: 22px;
  border-radius: 26px;
  overflow: visible;
  background: transparent;
  filter: none;
  place-items: center;
  z-index: 2;
}
.joy-card-visual::after {
  inset: auto 1px -10px 1px;
  height: 10px;
  background: rgba(16,37,29,.12);
  filter: blur(8px);
}
.joy-card-visual img {
  width: 134px;
  height: 134px;
  max-width: none;
  max-height: none;
  object-fit: contain;
  transform: translate(-14px, -26px);
  filter: drop-shadow(0 18px 28px rgba(16,37,29,.16));
}
.path-card-focused:hover .joy-card-visual img {
  animation: joyWaveFromBadge 1.1s ease both;
}
.path-card-focused:has(.joy-card-visual) strong {
  margin-top: 118px;
}
@keyframes joyWaveFromBadge {
  0% { transform: translate(-14px, -26px) rotate(0deg) scale(1); }
  30% { transform: translate(-14px, -28px) rotate(-4deg) scale(1.04); }
  60% { transform: translate(-14px, -27px) rotate(3deg) scale(1.02); }
  100% { transform: translate(-14px, -26px) rotate(0deg) scale(1); }
}
@media (max-width: 980px) {
  .path-card-focused:has(.joy-card-visual) { min-height: 318px; }
  .path-card-focused:has(.joy-card-visual)::after,
  .joy-card-visual {
    width: 72px;
    height: 72px;
    top: 20px;
    right: 22px;
    border-radius: 24px;
  }
  .joy-card-visual img {
    width: 124px;
    height: 124px;
    transform: translate(-13px, -24px);
  }
  .path-card-focused:has(.joy-card-visual) strong { margin-top: 110px; }
}
@media (max-width: 560px) {
  .path-card-focused:has(.joy-card-visual) { min-height: 292px; }
  .path-card-focused:has(.joy-card-visual)::after,
  .joy-card-visual {
    width: 66px;
    height: 66px;
    top: 18px;
    right: 18px;
    border-radius: 22px;
  }
  .joy-card-visual img {
    width: 112px;
    height: 112px;
    transform: translate(-12px, -22px);
  }
  .path-card-focused:has(.joy-card-visual) strong { margin-top: 98px; }
}


/* v5.6 — Checkout confidence / purchase clarity */
.checkout-trust {
  background:
    radial-gradient(circle at 14% 20%, rgba(224, 82, 4, .08), transparent 28%),
    radial-gradient(circle at 86% 72%, rgba(0, 96, 117, .08), transparent 30%),
    linear-gradient(180deg, #fffaf1 0%, var(--cream) 100%);
}
.checkout-trust-inner { display: grid; gap: 30px; }
.checkout-trust-head { max-width: 980px; margin-inline: auto; text-align: center; }
.checkout-trust-head h2 span { color: var(--green); }
.checkout-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.checkout-flow-grid article {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 28px;
  border: 1px solid rgba(21,82,50,.10);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.72);
  box-shadow: 0 22px 72px rgba(30,30,30,.08);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.checkout-flow-grid article::after {
  content: "";
  position: absolute;
  inset: auto -36px -42px auto;
  width: 132px;
  height: 132px;
  border-radius: 999px;
  background: rgba(21,82,50,.08);
  pointer-events: none;
}
.checkout-flow-grid article:hover {
  transform: translateY(-5px);
  border-color: rgba(21,82,50,.20);
  box-shadow: 0 28px 86px rgba(30,30,30,.11);
}
.checkout-flow-grid article span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(21,82,50,.09);
  color: var(--green);
  font-weight: 900;
  margin-bottom: 22px;
}
.checkout-flow-grid h3 { margin: 0 0 12px; font-size: 25px; }
.checkout-flow-grid p { margin: 0; color: var(--muted); font-size: 17px; }
.checkout-assurance-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  padding: clamp(24px, 4vw, 36px);
  border-radius: calc(var(--radius-xl) + 6px);
  background: linear-gradient(135deg, rgba(16,37,29,.96), rgba(21,82,50,.92));
  color: rgba(255,255,255,.84);
  box-shadow: 0 30px 90px rgba(21,82,50,.18);
}
.checkout-assurance-card strong { display: block; color: #fff; font-size: clamp(24px, 3.2vw, 38px); line-height: 1.08; margin-bottom: 10px; }
.checkout-assurance-card span { display: block; max-width: 760px; font-size: 18px; }
.checkout-assurance-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.checkout-assurance-actions .btn-secondary { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.22); }
.checkout-assurance-actions .btn-secondary:hover { background: rgba(255,255,255,.18); }
@media (max-width: 1100px) {
  .checkout-flow-grid { grid-template-columns: repeat(2, 1fr); }
  .checkout-assurance-card { grid-template-columns: 1fr; }
  .checkout-assurance-actions { justify-content: flex-start; }
}
@media (max-width: 620px) {
  .checkout-flow-grid { grid-template-columns: 1fr; }
  .checkout-flow-grid article { min-height: auto; }
  .checkout-assurance-actions .btn { width: 100%; }
}


/* v5.7 — UX cleanup: merged process + calm buying confidence */
.care-flow-merged {
  background:
    radial-gradient(circle at 14% 18%, rgba(224,82,4,.08), transparent 28%),
    radial-gradient(circle at 86% 78%, rgba(0,96,117,.08), transparent 30%),
    linear-gradient(180deg, #fffaf1 0%, var(--cream) 100%);
}
.care-flow-inner-merged {
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: center;
}
.care-journey-panel {
  display: grid;
  gap: 16px;
}
.care-steps-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.care-steps-compact .care-step {
  min-height: 212px;
  padding: 24px;
  box-shadow: 0 18px 58px rgba(30,30,30,.07);
}
.care-steps-compact .care-step h3 {
  font-size: 23px;
}
.care-steps-compact .care-step p {
  font-size: 16px;
}
.care-confidence-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 14px;
  border-radius: 26px;
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(21,82,50,.09);
}
.care-confidence-strip article {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(21,82,50,.07);
}
.care-confidence-strip strong {
  display: block;
  margin-bottom: 5px;
  color: var(--green);
  font-size: 17px;
}
.care-confidence-strip span {
  display: block;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
.care-assurance-mini {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(16,37,29,.96), rgba(21,82,50,.92));
  color: rgba(255,255,255,.80);
  box-shadow: 0 24px 70px rgba(21,82,50,.16);
}
.care-assurance-mini span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  background: rgba(247,191,120,.13);
  color: #f7bf78;
  white-space: nowrap;
  font-size: 15px;
}
.care-assurance-mini p {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
}

/* v5.7 — Knowledge center upgrade */
.knowledge-grid-expanded {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
.knowledge-grid-expanded .knowledge-card-main {
  grid-row: span 2;
}
.knowledge-grid-expanded .knowledge-card {
  min-height: 360px;
}
.knowledge-card-soft {
  background:
    radial-gradient(circle at 92% 88%, rgba(224,82,4,.08), transparent 34%),
    rgba(255,255,255,.72);
}
.knowledge-points {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.knowledge-points li {
  position: relative;
  padding-inline-start: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}
.knowledge-points li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .65em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
}
.knowledge-card-main .knowledge-points li {
  color: rgba(255,255,255,.78);
}
.knowledge-card-main .knowledge-points li::before {
  background: #f7bf78;
}
.knowledge-animal-joy img {
  width: 62px !important;
  height: 62px !important;
  object-fit: contain;
}

/* v5.7 — Shorter brand story */
.why-experience-clean {
  grid-template-columns: minmax(0, 1fr) minmax(320px, .78fr);
  gap: clamp(22px, 4vw, 48px);
}
.why-experience-clean .why-card-clean {
  min-height: 320px;
  padding: clamp(26px, 3.4vw, 42px);
}
.why-experience-clean .why-card-clean h3 {
  font-size: clamp(30px, 3.4vw, 46px);
}
.why-values-clean article {
  min-height: 180px;
  padding: 24px;
}
.why-values-clean span {
  margin-bottom: 16px;
}
.why-values-clean h3 {
  font-size: 25px;
}
.why-values-clean p {
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .care-flow-inner-merged,
  .why-experience-clean {
    grid-template-columns: 1fr;
  }
  .care-steps-compact,
  .care-confidence-strip,
  .knowledge-grid-expanded {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .knowledge-grid-expanded .knowledge-card-main {
    grid-row: auto;
    grid-column: 1 / -1;
  }
}
@media (max-width: 680px) {
  .care-steps-compact,
  .care-confidence-strip,
  .knowledge-grid-expanded {
    grid-template-columns: 1fr;
  }
  .care-assurance-mini {
    grid-template-columns: 1fr;
  }
  .care-flow-actions .btn,
  .knowledge-cta .btn {
    width: 100%;
  }
  .knowledge-grid-expanded .knowledge-card {
    min-height: auto;
  }
}


/* v5.8 — Contextual results, honest fit signals and accessibility polish */
:where(section[id], div[id]) { scroll-margin-top: calc(var(--header-h) + 22px); }

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(224, 82, 4, .42);
  outline-offset: 3px;
}

.shop-results-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: 28px 0 20px;
  padding: 22px 24px;
  border: 1px solid rgba(21, 82, 50, .14);
  border-radius: 26px;
  background:
    radial-gradient(circle at 8% 20%, rgba(224, 82, 4, .08), transparent 28%),
    linear-gradient(145deg, rgba(255,255,255,.92), rgba(247,243,234,.78));
  box-shadow: 0 18px 52px rgba(30,30,30,.07);
}
.shop-results-toolbar[hidden] { display: none; }
.shop-results-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--orange);
  font-size: 13px;
}
.shop-results-main > strong {
  display: block;
  color: var(--green);
  font-size: clamp(21px, 2.4vw, 30px);
  line-height: 1.22;
}
.shop-results-main > p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 15px;
}
.shop-results-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.shop-results-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(21,82,50,.08);
  border: 1px solid rgba(21,82,50,.10);
  color: var(--green);
  font-size: 13px;
}
.shop-results-chip.is-note {
  background: rgba(224,82,4,.08);
  border-color: rgba(224,82,4,.14);
  color: #a53d08;
}
.shop-results-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.shop-results-actions .btn { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.shop-results-reset {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 10px 8px;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.shop-results-reset:hover { color: var(--green); }

.product-visual .product-fit-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--green);
  box-shadow: 0 8px 24px rgba(16,37,29,.14);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 700;
}
.product-fit-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.product-fit-badge.fit-high { color: #155232; }
.product-fit-badge.fit-good { color: #006075; }
.product-fit-badge.fit-partial { color: #9b4b19; }
.product-card.is-fit-top {
  border-color: rgba(21,82,50,.24);
  box-shadow: 0 28px 86px rgba(21,82,50,.14);
}

.dog-product-card { position: relative; }
.dog-product-fit-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(21,82,50,.08);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}
.dog-product-fit-badge.fit-partial { background: rgba(224,82,4,.08); color: #9b4b19; }
.dog-product-card.is-best-match { border-color: rgba(21,82,50,.24); }

.shop-empty-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 760px) {
  .shop-results-toolbar { grid-template-columns: 1fr; padding: 20px; }
  .shop-results-actions { justify-content: flex-start; }
  .shop-results-actions .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-video { display: none !important; }
  .hero { background: url("../media/hero-poster.jpg") center / cover no-repeat; }
}

/* v5.8 — An honest unscored state before the customer provides context */
.product-trust-meter.is-unscored .trust-meter-bar,
.product-page-score.is-unscored .trust-meter-bar {
  opacity: .52;
}

.product-trust-meter.is-unscored .trust-meter-bar span,
.product-page-score.is-unscored .trust-meter-bar span {
  width: 0 !important;
}

/* v5.9 — Smarter shop discovery and navigation polish */
.nav a[href^="#"] {
  position: relative;
}
.nav a[href^="#"]::after {
  content: "";
  position: absolute;
  inset-inline: 12px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: var(--orange);
  opacity: 0;
  transform: scaleX(.35);
  transition: opacity .22s ease, transform .22s ease;
}
.nav a[href^="#"].is-current {
  color: var(--green);
}
.nav a[href^="#"].is-current::after {
  opacity: 1;
  transform: scaleX(1);
}

.shop-tools {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(220px, .72fr) auto;
  gap: 14px;
  align-items: stretch;
  margin: 16px 0 26px;
  padding: 14px;
  border: 1px solid rgba(21,82,50,.10);
  border-radius: 28px;
  background: rgba(255,255,255,.66);
  box-shadow: 0 18px 58px rgba(30,30,30,.06);
  backdrop-filter: blur(16px);
}
.shop-search-field,
.shop-sort-field {
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 20px;
  background: rgba(247,243,234,.70);
  border: 1px solid rgba(21,82,50,.08);
}
.shop-tool-label {
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}
.shop-search-control {
  position: relative;
  display: block;
}
.shop-search-control::before {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline-start: 16px;
  width: 13px;
  height: 13px;
  border: 2px solid rgba(21,82,50,.62);
  border-radius: 50%;
  transform: translateY(-58%);
  pointer-events: none;
}
.shop-search-control::after {
  content: "";
  position: absolute;
  top: calc(50% + 7px);
  inset-inline-start: 28px;
  width: 7px;
  height: 2px;
  border-radius: 999px;
  background: rgba(21,82,50,.62);
  transform: rotate(45deg);
  transform-origin: center;
  pointer-events: none;
}
.shop-search-control input,
.shop-sort-field select {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(21,82,50,.12);
  border-radius: 16px;
  background: #fff;
  color: var(--graphite);
  font: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.shop-search-control input {
  padding: 0 48px 0 44px;
}
.shop-search-control input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}
.shop-search-control input:focus,
.shop-sort-field select:focus {
  border-color: rgba(21,82,50,.40);
  box-shadow: 0 0 0 4px rgba(21,82,50,.08);
}
.shop-search-control input::placeholder {
  color: rgba(82,82,82,.66);
}
#shopSearchClear {
  position: absolute;
  top: 50%;
  inset-inline-end: 8px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(21,82,50,.08);
  color: var(--green);
  font: inherit;
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}
#shopSearchClear:hover { background: rgba(21,82,50,.14); }
#shopSearchClear[hidden] { display: none; }
.shop-sort-field select {
  appearance: none;
  padding: 0 16px 0 42px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--green) 50%),
    linear-gradient(135deg, var(--green) 50%, transparent 50%);
  background-position:
    calc(18px) calc(50% - 3px),
    calc(12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.shop-search-field small,
.shop-sort-field small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.shop-live-status {
  min-width: 144px;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 14px 18px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(16,37,29,.98), rgba(21,82,50,.93));
  color: rgba(255,255,255,.72);
  box-shadow: 0 16px 42px rgba(21,82,50,.16);
}
.shop-live-status span {
  font-size: 12px;
}
.shop-live-status strong {
  display: block;
  margin-top: 3px;
  color: #fff;
  font-size: 20px;
}

.product-grid.is-updating {
  opacity: .72;
}

@media (max-width: 980px) {
  .nav.open a[href^="#"].is-current {
    background: rgba(21,82,50,.09);
  }
  .nav.open a[href^="#"]::after { display: none; }
  .shop-tools {
    grid-template-columns: minmax(0, 1fr) minmax(210px, .7fr);
  }
  .shop-live-status {
    grid-column: 1 / -1;
    min-height: 72px;
  }
}

@media (max-width: 680px) {
  .shop-tools {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
    border-radius: 24px;
  }
  .shop-search-field,
  .shop-sort-field {
    padding: 12px;
  }
  .shop-live-status {
    grid-column: auto;
    min-height: 68px;
  }
  .shop-search-control input,
  .shop-sort-field select {
    min-height: 48px;
    font-size: 15px;
  }
}


/* v5.9.1 — Visual regression repair: start paths + knowledge center */
/* Keep all three entry cards aligned and predictable across browsers. */
.path-grid-focused {
  align-items: stretch;
}
.path-card-focused,
.path-card-focused:has(.joy-card-visual) {
  min-height: 326px;
  justify-content: flex-start;
  padding-top: 150px;
}
.path-card-focused strong,
.path-card-focused:has(.joy-card-visual) strong {
  margin-top: 0 !important;
}
.path-card-focused .path-card-text {
  max-width: none;
  line-height: 1.65;
}
.path-card-focused small {
  margin-top: auto;
  padding-top: 22px;
}

/* The featured dog guide keeps its premium look without pushing the copy to the bottom. */
.knowledge-grid-expanded .knowledge-card-main {
  grid-row: auto;
  justify-content: flex-start;
}
.knowledge-card-main-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  margin-top: 24px;
}
.knowledge-card-main-content h3,
.knowledge-card-main-content h2 {
  margin-top: 0;
}
.knowledge-card-main-content .knowledge-link {
  margin-top: auto;
}

@media (max-width: 980px) {
  .path-card-focused,
  .path-card-focused:has(.joy-card-visual) {
    min-height: 282px;
    padding-top: 140px;
  }
}

@media (max-width: 560px) {
  .path-card-focused,
  .path-card-focused:has(.joy-card-visual) {
    min-height: 276px;
    padding-top: 132px;
  }
  .path-card-focused small {
    padding-top: 18px;
  }
  .knowledge-card-main-content {
    margin-top: 18px;
  }
}

/* v5.9.2 — definitive repair for the "איך תרצו להתחיל" cards.
   The generic .path-card span rule is intended for visual icons only;
   reset the content span so copy can use the full card width. */
.path-card-focused .path-card-text {
  display: block;
  width: 100%;
  height: auto;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  place-items: initial;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  text-align: right;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
}

.path-card-focused {
  box-sizing: border-box;
}

@media (min-width: 981px) {
  .path-grid-focused {
    width: min(100%, 1080px);
  }
  .path-card-focused,
  .path-card-focused:has(.joy-card-visual) {
    min-width: 0;
  }
}

@media (max-width: 560px) {
  .path-card-focused .path-card-text {
    font-size: 15px;
    line-height: 1.6;
  }
}

/* v5.9.3 — focused UX cleanup: fewer Joy CTAs, clear human help,
   stable fit badges and a genuinely mobile-first reading rhythm. */

/* Keep secondary action areas calm when only one action remains. */
.world-explorer-actions-single,
.care-flow-actions-clean,
.article-modal-actions-clean {
  justify-content: flex-start;
}
.world-explorer-actions-single .btn,
.care-flow-actions-clean .btn,
.article-modal-actions-clean .btn {
  min-width: min(100%, 230px);
}
.product-page-actions-clean {
  align-items: center;
}

/* Neutral knowledge icon — this card teaches, it does not advertise Joy again. */
.knowledge-symbol {
  width: 64px;
  height: 64px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--green);
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(21,82,50,.08));
  border: 1px solid rgba(21,82,50,.12);
  box-shadow: 0 12px 34px rgba(16,37,29,.09);
  font-family: Georgia, serif;
  font-size: 30px;
  font-weight: 700;
  font-style: italic;
}

/* Main shop cards: the fit signal belongs in the information area,
   not on top of the merchandising badge. */
.product-card-body > .product-fit-badge {
  position: static;
  inset: auto;
  z-index: auto;
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 4px;
  padding: 9px 12px;
  border-radius: 16px;
  background: rgba(21,82,50,.075);
  border: 1px solid rgba(21,82,50,.11);
  box-shadow: none;
  backdrop-filter: none;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}
.product-card-body > .product-fit-badge::before { display: none; }
.product-card-body > .product-fit-badge span {
  min-width: 0;
  line-height: 1.25;
}
.product-card-body > .product-fit-badge strong {
  flex: 0 0 auto;
  margin: 0;
  color: currentColor;
  font-size: 15px;
  line-height: 1;
}
.product-card-body > .product-fit-badge.fit-good {
  background: rgba(0,96,117,.075);
  border-color: rgba(0,96,117,.12);
}
.product-card-body > .product-fit-badge.fit-partial {
  background: rgba(224,82,4,.075);
  border-color: rgba(224,82,4,.12);
}

/* Dog-world cards: keep the merchandising tag and fit score in one clean row. */
.dog-product-badge-row {
  width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: auto;
}
.dog-product-badge-row .product-badge {
  position: static;
  inset: auto;
  align-self: auto;
  display: inline-flex;
  align-items: center;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(21,82,50,.07);
  border: 1px solid rgba(21,82,50,.10);
  color: var(--green);
  backdrop-filter: none;
  font-size: 12px;
  line-height: 1.2;
}
.dog-product-badge-row .dog-product-fit-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 7px 10px;
  border-radius: 999px;
  line-height: 1.2;
}
.dog-product-badge-row .dog-product-fit-badge::before { display: none; }
.dog-product-badge-row .dog-product-fit-badge span {
  white-space: nowrap;
}
.dog-product-badge-row .dog-product-fit-badge strong {
  display: inline;
  margin: 0;
  color: currentColor;
  font-size: 12px;
  line-height: 1;
}
.dog-product-card > strong {
  margin-top: 28px;
}

/* Human help is deliberately different from Joy: calm, light and clearly WhatsApp. */
.whatsapp-float {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  max-width: min(340px, calc(100vw - 44px));
  padding: 11px 16px;
  background: rgba(255,255,255,.96);
  color: var(--green);
  border: 1px solid rgba(21,82,50,.18);
  box-shadow: 0 16px 44px rgba(16,37,29,.16);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  backdrop-filter: blur(14px);
}
.whatsapp-float:hover {
  transform: translateY(-2px);
  border-color: rgba(21,82,50,.34);
  box-shadow: 0 22px 54px rgba(16,37,29,.20);
}
.whatsapp-float-mark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: var(--green);
  color: #fff;
  font-size: 10px;
  letter-spacing: .02em;
}

/* Mobile-first alignment: center short marketing copy and card summaries,
   while preserving right alignment for lists, specifications and long reading. */
@media (max-width: 680px) {
  .hero-content,
  .promise > .section-inner > .section-kicker,
  .promise > .section-inner > h2,
  .promise > .section-inner > .lead,
  .buying-paths-head,
  .worlds-heading,
  .world-explorer-head,
  .shop-demo-head > div:first-child,
  .shop-demo-note,
  .category-architecture-copy,
  .dog-filter-copy,
  .dog-products-head,
  .product-page-head,
  .product-page-main,
  .care-flow-copy,
  .knowledge-head,
  .why-copy,
  .why-card-clean,
  .club-copy,
  .contact-copy,
  .visit-card,
  .shop-empty-state,
  .shop-demo-footer {
    text-align: center;
  }

  .hero-content .hero-copy,
  .hero-content .trust-line,
  .promise > .section-inner > .lead,
  .buying-paths-head .lead,
  .worlds-heading .section-intro,
  .shop-demo-head .lead,
  .category-architecture-copy p,
  .dog-filter-copy p,
  .dog-products-head > p,
  .product-page-head .lead,
  .care-flow-copy .lead,
  .knowledge-head .lead,
  .why-copy .lead,
  .club-copy .lead,
  .contact-copy .lead {
    margin-inline: auto;
  }

  .hero-actions,
  .world-explorer-actions,
  .care-flow-actions,
  .product-page-actions,
  .club-actions,
  .visit-actions,
  .shop-demo-footer-actions,
  .shop-empty-actions {
    justify-content: center;
  }

  .promise-statement,
  .promise-steps > div,
  .promise-grid article,
  .path-card-focused,
  .world-card,
  .care-step,
  .care-confidence-strip article,
  .why-values article,
  .club-benefits article,
  .dog-product-card,
  .product-card-body {
    text-align: center;
  }

  .path-card-focused {
    align-items: center;
  }
  .path-card-focused .path-card-text {
    text-align: center;
  }
  .path-card-focused small {
    align-self: center;
  }

  .world-card {
    justify-items: center;
  }
  .world-card strong {
    align-self: center !important;
  }
  .world-explorer-actions-single,
  .care-flow-actions-clean,
  .article-modal-actions-clean {
    justify-content: center;
  }

  .dog-filter-selected {
    margin-inline: auto;
  }
  .dog-filter-chips,
  .dog-product-badge-row {
    justify-content: center;
  }
  .dog-product-card > strong {
    margin-top: 24px;
  }

  .knowledge-card {
    text-align: center;
  }
  .knowledge-card-top {
    justify-content: center;
  }
  .knowledge-points,
  .product-page-info-grid ul,
  .article-modal-content,
  .product-modal-content ul {
    text-align: right;
  }
  .knowledge-link {
    align-self: center;
  }

  .product-page-purchase,
  .product-page-bottom-note,
  .care-assurance-mini,
  .contact-promise {
    text-align: center;
  }
  .product-page-info-grid h4,
  .product-page-info-grid h2 {
    text-align: center;
  }
  .product-card-body > .product-fit-badge {
    text-align: right;
  }

  /* Two different help channels, one clean row — no stacked full-width bubbles. */
  .advisor-float {
    right: 14px;
    left: auto;
    bottom: 14px;
    width: auto;
    max-width: 92px;
    min-height: 58px;
    justify-content: center;
    gap: 7px;
    padding: 8px 10px;
  }
  .advisor-float small { display: none; }
  .advisor-float strong { font-size: 14px; }
  .joy-float-avatar {
    width: 40px;
    height: 40px;
  }
  .advisor-float::before {
    top: 5px;
    right: 39px;
    width: 9px;
    height: 9px;
  }
  .whatsapp-float {
    right: 112px;
    left: 14px;
    bottom: 14px;
    width: auto;
    max-width: none;
    min-height: 58px;
    padding: 9px 11px;
    font-size: 12px;
  }
  .whatsapp-float-mark {
    width: 28px;
    height: 28px;
    font-size: 9px;
  }
  .advisor-chat {
    right: 10px;
    left: 10px;
    bottom: 84px;
    width: auto;
  }
}

@media (max-width: 380px) {
  .advisor-float {
    max-width: 82px;
    padding-inline: 8px;
  }
  .advisor-float strong { font-size: 13px; }
  .joy-float-avatar { width: 38px; height: 38px; }
  .whatsapp-float {
    right: 102px;
    left: 10px;
    padding-inline: 8px;
    font-size: 11px;
  }
  .whatsapp-float-mark { display: none; }
}

/* v5.9.4 — Mobile footer alignment */
@media (max-width: 680px) {
  .footer-brand-block {
    width: 100%;
    text-align: center;
    justify-self: center;
  }

  .footer-brand-block img {
    display: block;
    margin-inline: auto;
    margin-bottom: 18px;
  }

  .footer-brand-block p {
    text-align: center;
  }

  .footer-columns > div:first-child {
    text-align: center;
  }

  .footer-columns > div:first-child h3 {
    text-align: center;
  }

  .footer-columns > div:first-child nav {
    justify-items: center;
  }
}

/* =========================================================
   Dpet v6.0 — purchase-ready product flow and smart cart
   ========================================================= */

/* Header commerce action */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.header-cart {
  position: relative;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid rgba(21,82,50,.14);
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.72);
  color: var(--green);
  font: inherit;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(16,37,29,.07);
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.header-cart:hover {
  transform: translateY(-1px);
  background: #fff;
  border-color: rgba(21,82,50,.26);
  box-shadow: 0 12px 34px rgba(16,37,29,.11);
}
.header-cart-icon {
  position: relative;
  width: 19px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 5px 5px 7px 7px;
  display: inline-block;
}
.header-cart-icon::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 6px;
  left: 50%;
  top: -7px;
  transform: translateX(-50%);
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}
.header-cart-label {
  font-size: 14px;
  white-space: nowrap;
}
.header-cart-count {
  min-width: 22px;
  height: 22px;
  padding-inline: 6px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius-pill);
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(224,82,4,.28);
}
.header-cart.has-items {
  background: rgba(21,82,50,.08);
  border-color: rgba(21,82,50,.22);
}

/* Product commerce CTAs */
.product-cart-action {
  min-width: 176px;
}
.product-cart-action.is-inquiry {
  background: var(--blue);
  border-color: var(--blue);
}
.product-cart-action.is-inquiry:hover {
  background: #004b5b;
  border-color: #004b5b;
}
.product-page-actions-clean {
  gap: 10px;
}
.product-page-actions-clean .btn {
  flex: 0 0 auto;
}

/* Cart drawer */
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 190;
  pointer-events: none;
  visibility: hidden;
}
.cart-drawer.open {
  pointer-events: auto;
  visibility: visible;
}
.cart-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,22,17,.46);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity .28s ease;
}
.cart-drawer.open .cart-drawer-backdrop {
  opacity: 1;
}
.cart-drawer-panel {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(500px, 94vw);
  min-height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0,1fr) auto;
  background:
    radial-gradient(circle at 88% 7%, rgba(21,82,50,.10), transparent 28%),
    linear-gradient(180deg, #fffdf8 0%, #f7f3ea 100%);
  box-shadow: -28px 0 80px rgba(10,22,17,.22);
  transform: translateX(104%);
  transition: transform .34s cubic-bezier(.22,.8,.22,1);
  overflow: hidden;
}
.cart-drawer.open .cart-drawer-panel {
  transform: translateX(0);
}
.cart-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 28px 22px;
  border-bottom: 1px solid rgba(21,82,50,.10);
  background: rgba(255,255,255,.58);
  backdrop-filter: blur(14px);
}
.cart-drawer-head .section-kicker {
  margin: 0 0 5px;
}
.cart-drawer-head h2 {
  margin: 0;
  font-size: clamp(29px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: -.03em;
}
.cart-drawer-head h2 span {
  color: var(--green);
}
.cart-drawer-close {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(21,82,50,.14);
  border-radius: 50%;
  background: rgba(255,255,255,.82);
  color: var(--graphite);
  font: 300 28px/1 Arial, sans-serif;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.cart-drawer-close:hover {
  transform: rotate(4deg);
  background: #fff;
}
.cart-drawer-body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 22px 24px 28px;
}
.cart-items {
  display: grid;
  gap: 13px;
}
.cart-item {
  display: grid;
  grid-template-columns: 88px minmax(0,1fr);
  gap: 15px;
  padding: 14px;
  border: 1px solid rgba(21,82,50,.11);
  border-radius: 24px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 12px 34px rgba(16,37,29,.055);
  animation: cartItemIn .3s ease both;
}
@keyframes cartItemIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.cart-item-visual {
  min-height: 98px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  border-radius: 18px;
  color: #fff;
  padding: 10px 7px;
  overflow: hidden;
}
.cart-item-visual strong {
  font-size: 16px;
  line-height: 1.05;
}
.cart-item-visual small {
  margin-top: 4px;
  font-size: 10px;
  opacity: .82;
}
.cart-item-main {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 7px;
}
.cart-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.cart-item-copy {
  min-width: 0;
}
.cart-item-copy small {
  display: block;
  color: var(--green);
  font-size: 12px;
  margin-bottom: 2px;
}
.cart-item-copy h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
}
.cart-item-remove {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: #8b8177;
  font: inherit;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  padding: 2px;
}
.cart-item-meta {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}
.cart-item-price {
  display: grid;
  gap: 1px;
  text-align: left;
}
.cart-item-price strong {
  font-size: 16px;
  color: var(--green);
}
.cart-item-price span {
  font-size: 11px;
  color: var(--muted);
}
.cart-item-price.is-inquiry strong {
  font-size: 13px;
  color: var(--blue);
}
.cart-quantity {
  display: inline-grid;
  grid-template-columns: 30px 34px 30px;
  align-items: center;
  border: 1px solid rgba(21,82,50,.14);
  border-radius: var(--radius-pill);
  background: #fff;
  overflow: hidden;
}
.cart-quantity button {
  width: 30px;
  height: 32px;
  border: 0;
  background: transparent;
  color: var(--green);
  font: 700 17px/1 Arial, sans-serif;
  cursor: pointer;
}
.cart-quantity button:hover {
  background: rgba(21,82,50,.07);
}
.cart-quantity output {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}
.cart-empty {
  min-height: 55vh;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  padding: 34px 18px;
}
.cart-empty[hidden] { display: none; }
.cart-empty-icon {
  position: relative;
  width: 66px;
  height: 62px;
  margin-bottom: 20px;
  border: 3px solid rgba(21,82,50,.24);
  border-radius: 18px 18px 23px 23px;
  background: rgba(21,82,50,.05);
}
.cart-empty-icon::before {
  content: "";
  position: absolute;
  width: 28px;
  height: 20px;
  left: 50%;
  top: -17px;
  transform: translateX(-50%);
  border: 3px solid rgba(21,82,50,.24);
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
}
.cart-empty h3 {
  margin: 0 0 10px;
  font-size: 24px;
}
.cart-empty p {
  max-width: 350px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 15px;
}
.cart-drawer-footer {
  padding: 20px 24px 22px;
  border-top: 1px solid rgba(21,82,50,.10);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 -18px 44px rgba(16,37,29,.06);
}
.cart-summary {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}
.cart-summary > div {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}
.cart-summary span {
  color: var(--muted);
  font-size: 13px;
}
.cart-summary strong {
  color: var(--green);
  font-size: 24px;
  white-space: nowrap;
}
.cart-summary p {
  margin: 0;
  padding: 9px 12px;
  border-radius: 14px;
  background: rgba(0,96,117,.08);
  color: var(--blue);
  font-size: 12px;
}
.cart-whatsapp-action {
  width: 100%;
  min-height: 52px;
}
.cart-footer-note {
  margin: 10px 4px 0;
  color: var(--muted);
  text-align: center;
  font-size: 11px;
  line-height: 1.5;
}
.cart-continue {
  width: 100%;
  margin-top: 8px;
  padding: 7px;
  border: 0;
  background: transparent;
  color: var(--green);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}
body.cart-open {
  overflow: hidden;
}

/* Add-to-cart confirmation */
.cart-toast {
  position: fixed;
  left: 24px;
  bottom: 92px;
  z-index: 185;
  width: min(390px, calc(100vw - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 16px 15px 18px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 22px;
  background: rgba(16,37,29,.96);
  color: #fff;
  box-shadow: 0 22px 58px rgba(10,22,17,.28);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(.98);
  transition: opacity .22s ease, visibility .22s ease, transform .22s ease;
}
.cart-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.cart-toast > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.cart-toast strong {
  font-size: 15px;
}
.cart-toast span {
  color: rgba(255,255,255,.72);
  font-size: 12px;
  line-height: 1.4;
}
.cart-toast-open {
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.10);
  color: #fff;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.cart-toast-open:hover {
  background: rgba(255,255,255,.17);
}

@media (max-width: 1180px) {
  .header-cart-label { display: none; }
  .header-cart { width: 46px; padding: 8px; }
  .header-cart-count {
    position: absolute;
    top: -5px;
    left: -5px;
    min-width: 20px;
    height: 20px;
    font-size: 11px;
  }
}

@media (max-width: 980px) {
  .site-header {
    gap: 12px;
  }
  .header-actions {
    gap: 5px;
  }
  .header-cart {
    width: 43px;
    min-height: 43px;
    background: rgba(255,255,255,.62);
  }
  .header-cart-icon {
    width: 18px;
    height: 17px;
  }
  .cart-drawer-panel {
    width: min(470px, 100vw);
  }
}

@media (max-width: 560px) {
  .header-actions {
    gap: 2px;
  }
  .header-cart,
  .menu-toggle {
    width: 42px;
    height: 42px;
    min-height: 42px;
  }
  .header-cart {
    padding: 7px;
    box-shadow: none;
  }
  .cart-drawer-panel {
    width: 100%;
  }
  .cart-drawer-head {
    padding: 21px 18px 17px;
  }
  .cart-drawer-head h2 {
    font-size: 31px;
  }
  .cart-drawer-body {
    padding: 16px 13px 22px;
  }
  .cart-item {
    grid-template-columns: 76px minmax(0,1fr);
    gap: 11px;
    padding: 11px;
    border-radius: 21px;
  }
  .cart-item-visual {
    min-height: 92px;
    border-radius: 16px;
  }
  .cart-item-copy h3 {
    font-size: 15px;
  }
  .cart-item-bottom {
    align-items: end;
  }
  .cart-item-price strong {
    font-size: 14px;
  }
  .cart-drawer-footer {
    padding: 15px 15px 17px;
  }
  .cart-summary strong {
    font-size: 21px;
  }
  .cart-toast {
    left: 16px;
    right: 16px;
    bottom: 150px;
    width: auto;
    padding: 13px 14px;
  }
  .product-page-actions-clean .btn,
  .product-modal-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cart-drawer-panel,
  .cart-drawer-backdrop,
  .cart-toast,
  .cart-item {
    transition: none !important;
    animation: none !important;
  }
}

/* Keep the full desktop navigation comfortable just above the mobile breakpoint. */
@media (min-width: 981px) and (max-width: 1100px) {
  .site-header {
    padding-inline: 24px;
  }
  .brand img {
    height: 50px;
  }
  .nav {
    gap: 9px;
    font-size: 14px;
  }
  .nav-help {
    padding: 8px 11px;
  }
}


/* =========================================================
   Dpet v6.1 — full cart page experience
   The cart now behaves like a proper destination: full summary,
   editable quantities and a clear way back to shopping.
   ========================================================= */
.cart-page .cart-drawer-backdrop {
  background: rgba(247,243,234,.98);
  backdrop-filter: blur(14px);
}
.cart-page .cart-drawer-panel {
  inset: 0;
  width: 100%;
  min-height: 100dvh;
  grid-template-rows: auto minmax(0,1fr);
  background:
    radial-gradient(circle at 88% 6%, rgba(21,82,50,.09), transparent 26%),
    radial-gradient(circle at 8% 88%, rgba(228,116,50,.07), transparent 24%),
    linear-gradient(180deg, #fffdf8 0%, #f7f3ea 100%);
  box-shadow: none;
  transform: translateY(18px) scale(.995);
  opacity: 0;
  transition: transform .34s cubic-bezier(.22,.8,.22,1), opacity .24s ease;
}
.cart-page.open .cart-drawer-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.cart-page-head {
  position: relative;
  align-items: center;
  justify-content: center;
  min-height: 156px;
  padding: 24px clamp(24px, 5vw, 76px);
  text-align: center;
  background: rgba(255,255,255,.74);
  border-bottom: 1px solid rgba(21,82,50,.10);
}
.cart-page-heading {
  max-width: 720px;
}
.cart-page-heading .section-kicker {
  margin-bottom: 5px;
}
.cart-page-heading h2 {
  font-size: clamp(34px, 4.1vw, 58px);
}
.cart-page-heading > p:last-child {
  max-width: 620px;
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.cart-page-back,
.cart-page .cart-drawer-close {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.cart-page-back {
  right: clamp(24px, 5vw, 76px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(21,82,50,.14);
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.84);
  color: var(--green);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.cart-page-back span[aria-hidden="true"] {
  font-family: Arial, sans-serif;
  font-size: 18px;
}
.cart-page .cart-drawer-close {
  left: clamp(24px, 5vw, 76px);
}
.cart-page .cart-drawer-close:hover {
  transform: translateY(-50%) rotate(4deg);
}
.cart-page-shell {
  width: min(1320px, calc(100% - 48px));
  min-height: 0;
  margin: 0 auto;
  padding: 38px 0 54px;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(330px, 390px);
  align-items: start;
  gap: clamp(24px, 3.4vw, 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.cart-page-products {
  min-width: 0;
}
.cart-page-products-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding: 0 4px;
}
.cart-page-products-head .section-kicker {
  margin: 0 0 4px;
}
.cart-page-products-head h3,
.cart-page-summary-head h3 {
  margin: 0;
  font-size: clamp(26px, 2.5vw, 34px);
  line-height: 1.15;
}
.cart-items-count-text {
  flex: 0 0 auto;
  padding: 8px 13px;
  border: 1px solid rgba(21,82,50,.12);
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.76);
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}
.cart-page .cart-items {
  gap: 16px;
}
.cart-page .cart-item {
  grid-template-columns: 112px minmax(0,1fr);
  gap: 20px;
  min-height: 150px;
  padding: 18px;
  border-radius: 28px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 16px 44px rgba(16,37,29,.06);
}
.cart-page .cart-item-visual {
  min-height: 112px;
  border-radius: 22px;
}
.cart-page .cart-item-copy h3 {
  font-size: 20px;
}
.cart-page .cart-item-meta {
  font-size: 13px;
}
.cart-page .cart-item-bottom {
  margin-top: auto;
}
.cart-page .cart-item-price strong {
  font-size: 18px;
}
.cart-page .cart-empty {
  min-height: 430px;
  border: 1px dashed rgba(21,82,50,.18);
  border-radius: 30px;
  background: rgba(255,255,255,.60);
}
.cart-page-summary-card {
  position: sticky;
  top: 24px;
  padding: 28px;
  border: 1px solid rgba(21,82,50,.12);
  border-radius: 30px;
  background: rgba(255,255,255,.90);
  box-shadow: 0 22px 62px rgba(16,37,29,.09);
  backdrop-filter: blur(18px);
}
.cart-page-summary-head {
  margin-bottom: 23px;
}
.cart-page-summary-head .section-kicker {
  margin-bottom: 4px;
}
.cart-page-summary-head > p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}
.cart-page .cart-summary {
  margin: 0 0 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(21,82,50,.10);
  border-bottom: 1px solid rgba(21,82,50,.10);
}
.cart-page .cart-summary strong {
  font-size: 27px;
}
.cart-summary-details {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}
.cart-summary-details > div {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr);
  gap: 11px;
  align-items: start;
}
.cart-summary-detail-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(21,82,50,.08);
  color: var(--green);
  font-weight: 800;
}
.cart-summary-details p {
  display: grid;
  gap: 2px;
  margin: 0;
}
.cart-summary-details strong {
  font-size: 13px;
}
.cart-summary-details p span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.cart-page .cart-footer-note {
  margin: 11px 4px 13px;
}
.cart-page-continue {
  width: 100%;
}

@media (max-width: 900px) {
  .cart-page-head {
    min-height: 132px;
    padding-inline: 70px;
  }
  .cart-page-back {
    right: 16px;
    width: 44px;
    padding: 0;
    justify-content: center;
  }
  .cart-page-back span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .cart-page .cart-drawer-close {
    left: 16px;
  }
  .cart-page-shell {
    width: min(760px, calc(100% - 28px));
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 26px;
  }
  .cart-page-summary-card {
    position: static;
  }
}

@media (max-width: 560px) {
  .cart-page-head {
    min-height: 118px;
    padding: 18px 62px 16px;
  }
  .cart-page-heading h2 {
    font-size: 30px;
  }
  .cart-page-heading > p:last-child {
    display: none;
  }
  .cart-page .cart-drawer-close,
  .cart-page-back {
    width: 40px;
    height: 40px;
    min-height: 40px;
  }
  .cart-page-shell {
    width: calc(100% - 20px);
    padding: 18px 0 30px;
  }
  .cart-page-products-head {
    align-items: center;
    margin-bottom: 12px;
    padding-inline: 3px;
  }
  .cart-page-products-head h3 {
    font-size: 23px;
  }
  .cart-items-count-text {
    padding: 7px 10px;
    font-size: 11px;
  }
  .cart-page .cart-item {
    grid-template-columns: 78px minmax(0,1fr);
    gap: 11px;
    min-height: 0;
    padding: 12px;
    border-radius: 22px;
  }
  .cart-page .cart-item-visual {
    min-height: 96px;
    border-radius: 17px;
  }
  .cart-page .cart-item-copy h3 {
    font-size: 15px;
  }
  .cart-page .cart-item-meta {
    font-size: 11px;
  }
  .cart-page .cart-item-bottom {
    align-items: end;
    gap: 8px;
  }
  .cart-page .cart-item-price strong {
    font-size: 14px;
  }
  .cart-page-summary-card {
    padding: 22px 18px;
    border-radius: 24px;
  }
  .cart-page-summary-head h3 {
    font-size: 25px;
  }
  .cart-page .cart-empty {
    min-height: 360px;
    border-radius: 24px;
  }
}


/* =========================================================
   Dpet v6.3 — commerce, stock, variants, delivery and checkout
   ========================================================= */

.product-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: auto;
}
.product-card-actions .product-detail-btn { margin: 0; }
.product-quick-add {
  border: 0;
  border-radius: 14px;
  background: var(--green);
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 11px 13px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.product-quick-add:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(21,82,50,.2); }
.product-quick-add:disabled { background: #9a9a94; cursor: not-allowed; opacity: .72; transform: none; box-shadow: none; }
.product-card-stock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  margin: -2px 0 12px;
  font-size: 13px;
  font-weight: 700;
}
.product-card-stock::before { content:""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.product-card-stock.is-in { color: var(--green); }
.product-card-stock.is-low { color: #b45309; }

.product-visual,
.product-page-visual,
.product-modal-visual { overflow: hidden; }
.out-of-stock-ribbon {
  position: absolute !important;
  z-index: 8 !important;
  top: 28px;
  left: -54px;
  width: 220px;
  padding: 9px 12px;
  background: #cf2027 !important;
  color: #fff !important;
  box-shadow: 0 10px 25px rgba(112,13,18,.28);
  transform: rotate(-36deg);
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .01em;
  border-radius: 0 !important;
  margin: 0 !important;
}
.product-page-visual .out-of-stock-ribbon,
.product-modal-visual .out-of-stock-ribbon { top: 42px; left: -48px; width: 250px; font-size: 17px; }
.is-out-of-stock > strong,
.is-out-of-stock > small { opacity: .72; }

.product-commerce-panel {
  margin: 4px 0 20px;
  padding: 20px;
  border-radius: 24px;
  background: #fbfaf6;
  border: 1px solid rgba(21,82,50,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
.product-commerce-panel.needs-attention { animation: commerceAttention 1.1s ease; }
@keyframes commerceAttention { 0%,100%{box-shadow:0 0 0 0 rgba(224,82,4,0)} 25%{box-shadow:0 0 0 5px rgba(224,82,4,.14)} }
.variant-selector-head { margin-bottom: 18px; }
.variant-selector-head > span { color: var(--orange); font-size: 12px; font-weight: 800; letter-spacing: .03em; }
.variant-selector-head > strong { display:block; margin-top:4px; font-size:21px; }
.variant-selector-head p { margin:6px 0 0; color:var(--muted); font-size:14px; }
.variant-step + .variant-step { margin-top: 18px; }
.variant-step-title { display:flex; align-items:center; gap:9px; margin-bottom:10px; }
.variant-step-title b { width:27px; height:27px; border-radius:50%; display:grid; place-items:center; background:rgba(21,82,50,.1); color:var(--green); font-size:13px; }
.variant-step-title strong { font-size:15px; }
.variant-options { display:flex; flex-wrap:wrap; gap:9px; }
.variant-option {
  border:1px solid rgba(16,37,29,.15);
  border-radius:14px;
  background:#fff;
  color:var(--text);
  font:inherit;
  padding:11px 14px;
  cursor:pointer;
  text-align:right;
  transition:.2s ease;
}
.variant-option:hover { border-color:rgba(21,82,50,.42); transform:translateY(-1px); }
.variant-option.is-selected { border-color:var(--green); background:rgba(21,82,50,.08); box-shadow:0 0 0 2px rgba(21,82,50,.08); color:var(--green); }
.variant-option.variant-size { min-width:112px; display:grid; gap:3px; }
.variant-option.variant-size span { font-weight:800; }
.variant-option.variant-size small { color:var(--muted); }
.variant-option.is-out { border-style:dashed; color:#9b1c1c; background:#fff8f8; }
.variant-option.is-out small { color:#cf2027; font-weight:700; }
.variant-step.is-disabled { opacity:.58; }
.variant-placeholder { color:var(--muted); font-size:14px; padding:8px 0; }

.product-stock-status {
  min-height: 24px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:0 0 18px;
  font-size:14px;
  font-weight:800;
}
.product-stock-status::before { content:""; width:9px; height:9px; border-radius:50%; background:currentColor; }
.product-stock-status.is-in { color:var(--green); }
.product-stock-status.is-low { color:#b45309; }
.product-stock-status.is-out { color:#cf2027; }

.restock-request {
  display:grid;
  grid-template-columns:minmax(220px,1.35fr) minmax(130px,.7fr) minmax(150px,.8fr) auto;
  gap:12px;
  align-items:end;
  margin:0 0 20px;
  padding:18px;
  border-radius:22px;
  background:#fff6f6;
  border:1px solid rgba(207,32,39,.18);
}
.restock-request[hidden] { display:none !important; }
.restock-request > div strong { display:block; color:#9b1c1c; margin-bottom:4px; }
.restock-request > div span { display:block; color:var(--muted); font-size:13px; line-height:1.55; }
.restock-request label { display:grid; gap:6px; }
.restock-request label span { font-size:12px; font-weight:700; }
.restock-request input { min-width:0; width:100%; border:1px solid rgba(16,37,29,.14); border-radius:12px; padding:11px 12px; font:inherit; background:#fff; }
.restock-request .btn { min-height:44px; white-space:nowrap; }
.restock-request-status { grid-column:1/-1; margin:0; color:var(--green); font-weight:700; font-size:13px; }
.restock-request-modal { grid-template-columns:1fr 1fr; }
.restock-request-modal > div,
.restock-request-modal .restock-request-status { grid-column:1/-1; }
.restock-request-modal .btn { grid-column:1/-1; }

.cart-recommendations {
  margin-top:28px;
  padding:22px;
  border-radius:28px;
  background:linear-gradient(135deg, rgba(21,82,50,.07), rgba(0,96,117,.06));
  border:1px solid rgba(21,82,50,.1);
}
.cart-recommendations[hidden] { display:none !important; }
.cart-recommendations-head { display:flex; align-items:flex-start; gap:12px; margin-bottom:16px; }
.cart-recommendations-spark { width:34px; height:34px; border-radius:50%; display:grid; place-items:center; flex:0 0 auto; background:var(--green); color:#fff; }
.cart-recommendations-head h3 { margin:0 0 4px; font-size:20px; }
.cart-recommendations-head p { margin:0; color:var(--muted); font-size:14px; }
.cart-recommendations-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; }
.cart-recommendation-card { min-width:0; display:flex; flex-direction:column; padding:14px; border-radius:18px; background:#fff; border:1px solid rgba(16,37,29,.09); }
.cart-recommendation-card > span { color:var(--orange); font-size:11px; font-weight:800; }
.cart-recommendation-card > strong { margin:5px 0; font-size:15px; }
.cart-recommendation-card p { margin:0 0 12px; color:var(--muted); font-size:12px; line-height:1.5; }
.cart-recommendation-card button { margin-top:auto; border:0; border-radius:11px; padding:9px 10px; background:rgba(21,82,50,.09); color:var(--green); font:inherit; font-size:12px; font-weight:800; cursor:pointer; }

.cart-coupon { padding:16px; border-radius:20px; background:#f8f6ef; border:1px solid rgba(16,37,29,.08); }
.cart-coupon > label { display:block; font-weight:800; margin-bottom:8px; }
.cart-coupon > div { display:grid; grid-template-columns:1fr auto; gap:8px; }
.cart-coupon input { min-width:0; border:1px solid rgba(16,37,29,.14); border-radius:12px; padding:11px 12px; font:inherit; }
.cart-coupon button { border:0; border-radius:12px; padding:10px 16px; background:var(--green); color:#fff; font:inherit; font-weight:800; cursor:pointer; }
.cart-coupon p { min-height:18px; margin:8px 0 0; font-size:12px; }
.cart-coupon p.is-success { color:var(--green); }
.cart-coupon p.is-error { color:#b42318; }

.cart-delivery-options { border:0; padding:0; margin:0; display:grid; gap:8px; }
.cart-delivery-options legend { font-size:17px; font-weight:800; margin-bottom:10px; }
.cart-delivery-option { display:grid; grid-template-columns:auto 1fr auto; gap:11px; align-items:center; padding:13px 14px; border:1px solid rgba(16,37,29,.11); border-radius:16px; background:#fff; cursor:pointer; transition:.2s ease; }
.cart-delivery-option:hover { border-color:rgba(21,82,50,.3); }
.cart-delivery-option:has(input:checked),
.cart-delivery-option.is-selected { border-color:var(--green); background:rgba(21,82,50,.055); box-shadow:0 0 0 2px rgba(21,82,50,.06); }
.cart-delivery-option input { accent-color:var(--green); width:17px; height:17px; }
.cart-delivery-option span { min-width:0; }
.cart-delivery-option strong { display:block; }
.cart-delivery-option small { display:block; color:var(--muted); font-size:12px; margin-top:2px; line-height:1.4; }
.cart-delivery-option b { color:var(--green); font-size:13px; white-space:nowrap; }

.free-shipping-progress { padding:15px; border-radius:18px; background:rgba(224,82,4,.075); border:1px solid rgba(224,82,4,.12); }
.free-shipping-progress[hidden] { display:none !important; }
.free-shipping-copy strong { display:block; color:#a8420b; }
.free-shipping-copy span { display:block; color:var(--muted); font-size:12px; margin-top:3px; }
.free-shipping-track { height:8px; margin-top:11px; background:rgba(224,82,4,.13); border-radius:999px; overflow:hidden; }
.free-shipping-track span { display:block; width:0; height:100%; border-radius:inherit; background:linear-gradient(90deg,var(--orange),#f59e0b); transition:width .35s ease; }

.cart-summary-complete { display:grid; gap:0 !important; }
.cart-summary-complete > div { padding:11px 0; border-bottom:1px solid rgba(16,37,29,.08); }
.cart-summary-complete .cart-total-row { margin-top:4px; padding-top:15px; border-bottom:0; }
.cart-summary-complete .cart-total-row span { font-size:15px; font-weight:800; color:var(--text); }
.cart-summary-complete .cart-total-row strong { font-size:24px; }

.cart-delivery-promise,
.cart-account-choice { display:flex; gap:11px; align-items:flex-start; padding:14px; border-radius:18px; background:rgba(0,96,117,.065); }
.cart-delivery-promise > span,
.cart-account-choice > span { width:31px; height:31px; border-radius:50%; display:grid; place-items:center; flex:0 0 auto; background:var(--blue); color:#fff; }
.cart-delivery-promise p,
.cart-account-choice p { margin:0; }
.cart-delivery-promise strong,
.cart-account-choice strong { display:block; }
.cart-delivery-promise small,
.cart-account-choice small { display:block; color:var(--muted); font-size:12px; line-height:1.55; margin-top:3px; }
.cart-checkout-next:disabled { opacity:.5; cursor:not-allowed; box-shadow:none; transform:none; }
.cart-checkout-hint { margin:-4px 0 0; text-align:center; color:var(--muted); font-size:12px; }
.cart-checkout-form { display:grid; gap:15px; padding-top:18px; border-top:1px solid rgba(16,37,29,.1); }
.cart-checkout-form[hidden] { display:none !important; }
.cart-checkout-form-head h3 { margin:3px 0 7px; }
.cart-checkout-form-head > p:last-child { margin:0; color:var(--muted); font-size:13px; }
.cart-checkout-fields { display:grid; grid-template-columns:1fr 1fr; gap:11px; }
.cart-checkout-fields label { display:grid; gap:6px; }
.cart-checkout-fields label > span { font-size:12px; font-weight:800; }
.cart-checkout-fields label small { color:var(--muted); font-weight:400; }
.cart-checkout-fields input,
.cart-checkout-fields textarea { width:100%; min-width:0; border:1px solid rgba(16,37,29,.14); border-radius:12px; padding:11px 12px; font:inherit; resize:vertical; }
.cart-address-wide { grid-column:1/-1; }
.cart-account-choice > span { background:var(--orange); }
.cart-checkout-back { width:100%; }

.mobile-product-bar { display:none; }

@media (max-width: 1100px) {
  .cart-recommendations-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .restock-request { grid-template-columns:1fr 1fr; }
  .restock-request > div { grid-column:1/-1; }
  .restock-request .btn { grid-column:1/-1; }
}

@media (max-width: 680px) {
  .product-card-actions { grid-template-columns:1fr; }
  .product-card-stock { align-self:center; }
  .product-commerce-panel { text-align:right; padding:16px; border-radius:20px; }
  .variant-options { display:grid; grid-template-columns:1fr; }
  .variant-option { text-align:center; }
  .variant-option.variant-size { width:100%; }
  .restock-request,
  .restock-request-modal { grid-template-columns:1fr; text-align:center; }
  .restock-request > div,
  .restock-request label,
  .restock-request .btn,
  .restock-request-status { grid-column:1; }
  .product-stock-status { justify-content:center; width:100%; }
  .cart-recommendations { padding:17px; border-radius:22px; text-align:center; }
  .cart-recommendations-head { align-items:center; justify-content:center; }
  .cart-recommendations-head p { text-align:center; }
  .cart-recommendations-grid { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:5px; }
  .cart-recommendation-card { flex:0 0 78%; scroll-snap-align:start; text-align:center; }
  .cart-delivery-option { text-align:right; }
  .cart-checkout-fields { grid-template-columns:1fr; }
  .cart-address-wide { grid-column:1; }

  .mobile-product-bar {
    position:fixed;
    z-index:9995;
    right:10px;
    left:10px;
    bottom:10px;
    display:grid;
    grid-template-columns:auto 1fr;
    gap:12px;
    align-items:center;
    padding:10px;
    border-radius:20px;
    background:rgba(255,255,255,.97);
    border:1px solid rgba(21,82,50,.16);
    box-shadow:0 20px 55px rgba(16,37,29,.22);
    backdrop-filter:blur(16px);
  }
  .mobile-product-bar[hidden] { display:none !important; }
  .mobile-product-bar > div { min-width:104px; text-align:center; }
  .mobile-product-bar small { display:block; color:var(--muted); font-size:11px; }
  .mobile-product-bar strong { display:block; color:var(--green); font-size:16px; margin-top:1px; }
  .mobile-product-bar .btn { min-height:48px; width:100%; padding-inline:14px; }
  body.mobile-product-bar-visible .advisor-float,
  body.mobile-product-bar-visible .whatsapp-float { bottom:88px; }
  body.mobile-product-bar-visible .advisor-chat { bottom:158px; }
}

@media (max-width: 390px) {
  .mobile-product-bar { right:7px; left:7px; bottom:7px; grid-template-columns:92px 1fr; gap:7px; padding:7px; }
  .mobile-product-bar > div { min-width:0; }
  .mobile-product-bar strong { font-size:14px; }
  .mobile-product-bar .btn { font-size:13px; padding:10px; }
}


/* Keep the product purchase bar clear on mobile without creating three large floating controls. */
@media (max-width: 680px) {
  body.mobile-product-bar-visible .advisor-float {
    width: 58px;
    max-width: 58px;
    min-height: 58px;
    padding: 8px;
    gap: 0;
  }
  body.mobile-product-bar-visible .advisor-float > span:last-child { display: none; }
  body.mobile-product-bar-visible .whatsapp-float {
    right: auto;
    left: 14px;
    width: 58px;
    max-width: 58px;
    min-height: 58px;
    padding: 8px;
  }
  body.mobile-product-bar-visible .whatsapp-float > span:last-child { display: none; }
  body.mobile-product-bar-visible .whatsapp-float-mark { display: grid; width: 40px; height: 40px; font-size: 10px; }
}

/* v6.3.1 — Real product media frame
   Product imagery keeps a stable square canvas instead of stretching to the full
   height of the information column. Future WooCommerce images should be rendered
   inside .product-media-image with object-fit: contain. */
.product-page-card,
.product-modal-layout {
  align-items: start;
}

.product-page-visual,
.product-modal-visual {
  min-height: 0;
  height: auto;
  aspect-ratio: 1 / 1;
  align-self: start;
  justify-content: flex-start;
  overflow: hidden;
  isolation: isolate;
}

.product-page-visual {
  width: calc(100% - clamp(30px, 5vw, 56px));
  margin: clamp(15px, 2.5vw, 28px);
  padding: clamp(20px, 3vw, 32px);
  border-radius: 32px;
  box-shadow: 0 24px 60px rgba(16,37,29,.16);
}

.product-modal-visual {
  width: calc(100% - 42px);
  margin: 21px;
  padding: 24px;
  border-radius: 28px;
  box-shadow: 0 20px 48px rgba(16,37,29,.16);
}

.product-media-badge {
  flex: 0 0 auto;
  align-self: flex-start;
  position: relative;
  z-index: 3;
}

.product-media-stage {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 42px);
}

.product-media-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 24px 28px rgba(0,0,0,.18));
}
.product-media-image[hidden] { display: none; }

.product-media-placeholder {
  width: 100%;
  min-width: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  text-align: center;
}

.product-page-visual .product-media-placeholder strong,
.product-modal-visual .product-media-placeholder strong {
  max-width: 100%;
  font-size: clamp(40px, 5vw, 76px);
  line-height: .96;
  letter-spacing: -.045em;
  text-align: center;
  overflow-wrap: normal;
  word-break: normal;
  white-space: normal;
}

.product-page-visual .product-media-placeholder small,
.product-modal-visual .product-media-placeholder small {
  margin-top: 0;
  text-align: center;
  font-size: clamp(14px, 1.6vw, 18px);
}

.product-page-visual.has-product-image .product-media-placeholder,
.product-modal-visual.has-product-image .product-media-placeholder {
  display: none;
}

.product-page-visual.has-product-image .product-media-stage,
.product-modal-visual.has-product-image .product-media-stage {
  padding: clamp(12px, 2.4vw, 28px);
}

/* Keep the stock ribbon attached to the image frame, not to the content height. */
.product-page-visual .out-of-stock-ribbon,
.product-modal-visual .out-of-stock-ribbon {
  top: 38px;
  left: -50px;
  width: 240px;
  font-size: 16px;
}

@media (max-width: 980px) {
  .product-page-visual,
  .product-modal-visual {
    aspect-ratio: 1 / 1;
    min-height: 0;
  }
  .product-page-visual {
    width: calc(100% - 32px);
    margin: 16px;
  }
  .product-modal-visual {
    width: calc(100% - 28px);
    margin: 14px;
  }
}

@media (max-width: 560px) {
  .product-page-visual,
  .product-modal-visual {
    border-radius: 24px;
    padding: 18px;
  }
  .product-media-stage { padding: 16px; }
  .product-page-visual .product-media-placeholder strong,
  .product-modal-visual .product-media-placeholder strong {
    font-size: clamp(36px, 13vw, 58px);
  }
  .product-page-visual .out-of-stock-ribbon,
  .product-modal-visual .out-of-stock-ribbon {
    top: 28px;
    left: -58px;
    width: 230px;
    font-size: 14px;
  }
}

/* v6.3.1 hotfix — keep product media and content in predictable desktop tracks. */
.product-page-card {
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
}
.product-modal-layout {
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
}
.product-page-main,
.product-modal-content {
  min-width: 0;
}
@media (max-width: 980px) {
  .product-page-card,
  .product-modal-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* =========================================================
   Dpet v6.4 — verified product details + address-aware delivery
   ========================================================= */
.product-detail-center {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(16,37,29,.10);
  border-radius: 34px;
  background:
    radial-gradient(circle at 10% 0%, rgba(224,82,4,.07), transparent 31%),
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(247,243,234,.88));
  box-shadow: 0 24px 70px rgba(16,37,29,.07);
}
.product-detail-center-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}
.product-detail-center-head > div { max-width: 760px; }
.product-detail-center-head h3,
.product-detail-center-head h2 {
  margin: 3px 0 10px;
  font-size: clamp(27px, 3.5vw, 45px);
  line-height: 1.08;
  letter-spacing: normal;
  text-wrap: wrap;
}
.product-detail-center-head > div > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}
.verified-data-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 10px 13px;
  border-radius: 999px;
  border: 1px solid rgba(21,82,50,.16);
  color: var(--green);
  background: rgba(21,82,50,.06);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.verified-data-mark b {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
}
.product-detail-accordion { display: grid; gap: 10px; }
.product-detail-accordion details {
  border: 1px solid rgba(16,37,29,.10);
  border-radius: 20px;
  background: rgba(255,255,255,.84);
  overflow: clip;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.product-detail-accordion details[open] {
  border-color: rgba(21,82,50,.24);
  box-shadow: 0 14px 36px rgba(16,37,29,.06);
}
.product-detail-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 21px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.product-detail-accordion summary::-webkit-details-marker { display: none; }
.product-detail-accordion summary span {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}
.product-detail-accordion summary b {
  color: var(--orange);
  font-size: 12px;
  letter-spacing: .04em;
}
.product-detail-accordion summary strong { font-size: 18px; }
.product-detail-accordion summary i {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  color: var(--green);
  background: rgba(21,82,50,.08);
  font-style: normal;
  font-size: 22px;
  transition: transform .2s ease, background .2s ease;
}
.product-detail-accordion details[open] summary i {
  transform: rotate(45deg);
  color: #fff;
  background: var(--green);
}
.product-detail-content {
  padding: 0 21px 21px;
  color: var(--muted);
  line-height: 1.75;
}
.product-detail-content p { margin: 0; }
.product-detail-note {
  margin-top: 12px !important;
  padding: 12px 14px;
  border-radius: 14px;
  color: #315043;
  background: rgba(21,82,50,.055);
  border-inline-start: 3px solid rgba(21,82,50,.45);
  font-size: 14px;
}
.product-detail-inline-link {
  display: inline-flex;
  margin-top: 13px;
  color: var(--green);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cart-delivery-methods { grid-template-columns: 1fr 1fr; }
.cart-delivery-methods legend { grid-column: 1 / -1; }
.cart-delivery-method { min-height: 84px; }
.cart-city-calculator {
  display: grid;
  gap: 12px;
  padding: 17px;
  border-radius: 20px;
  border: 1px solid rgba(21,82,50,.16);
  background: linear-gradient(145deg, rgba(21,82,50,.055), rgba(255,255,255,.96));
}
.cart-city-calculator[hidden] { display: none !important; }
.cart-city-calculator-head {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}
.cart-city-calculator-head > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-size: 18px;
}
.cart-city-calculator-head strong { display: block; font-size: 16px; }
.cart-city-calculator-head small { display: block; margin-top: 3px; color: var(--muted); line-height: 1.45; }
.cart-city-calculator > label { font-size: 13px; font-weight: 800; }
.cart-city-input-wrap { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.cart-city-input-wrap input {
  width: 100%;
  min-width: 0;
  height: 46px;
  border: 1px solid rgba(16,37,29,.14);
  border-radius: 14px;
  padding: 0 14px;
  background: #fff;
  font: inherit;
  color: var(--ink);
}
.cart-city-input-wrap input:focus {
  outline: 3px solid rgba(21,82,50,.11);
  border-color: rgba(21,82,50,.42);
}
.cart-city-input-wrap button {
  border: 0;
  border-radius: 14px;
  padding: 0 17px;
  color: #fff;
  background: var(--green);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.cart-city-result {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 13px 14px;
  border-radius: 16px;
  border: 1px solid rgba(21,82,50,.16);
  background: #fff;
}
.cart-city-result[hidden] { display: none !important; }
.cart-city-result span,
.cart-city-result small { display: block; }
.cart-city-result span { color: var(--muted); font-size: 11px; }
.cart-city-result strong { display: block; margin: 2px 0; }
.cart-city-result small { color: var(--muted); font-size: 12px; }
.cart-city-result > b { color: var(--green); white-space: nowrap; }
.cart-city-result .is-error { margin: 0; color: #a72e2e; font-weight: 700; }
.cart-city-note { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }

@media (max-width: 760px) {
  .product-detail-center { padding: 22px 17px; border-radius: 27px; }
  .product-detail-center-head { display: grid; text-align: center; }
  .product-detail-center-head > div { max-width: none; }
  .verified-data-mark { justify-self: center; }
  .product-detail-accordion summary { padding: 17px 15px; text-align: right; }
  .product-detail-accordion summary strong { font-size: 16px; }
  .product-detail-content { padding: 0 15px 18px; text-align: right; }
  .cart-delivery-methods { grid-template-columns: 1fr; }
  .cart-delivery-methods legend { grid-column: auto; }
  .cart-city-input-wrap { grid-template-columns: 1fr; }
  .cart-city-input-wrap button { min-height: 44px; }
}

/* The product purchase bar belongs to the product page, not to cart/overlay flows. */
body.cart-open .mobile-product-bar,
body.modal-open .mobile-product-bar { display: none !important; }

/* =========================================================
   Dpet v6.5 — cart checkout clarity, alignment and flow
   ========================================================= */

.cart-delivery-promise {
  width: 100%;
  transition: background .2s ease, border-color .2s ease;
  border: 1px solid transparent;
}
.cart-delivery-promise[data-state="pickup"] {
  background: rgba(21,82,50,.065);
  border-color: rgba(21,82,50,.10);
}
.cart-delivery-promise[data-state="delivery"] {
  background: rgba(0,96,117,.065);
  border-color: rgba(0,96,117,.10);
}
.cart-delivery-promise[data-state="needs-city"] {
  background: rgba(224,82,4,.055);
  border-color: rgba(224,82,4,.11);
}
.cart-delivery-promise[data-state="pickup"] > span { background: var(--green); }
.cart-delivery-promise[data-state="needs-city"] > span { background: var(--orange); }

.cart-checkout-actions {
  display: grid;
  width: 100%;
  gap: 9px;
  padding-top: 2px;
}
.cart-checkout-next {
  width: 100%;
  min-height: 58px;
  padding-inline: 22px;
  font-size: 18px;
  box-shadow: 0 14px 34px rgba(21,82,50,.18);
}
.cart-checkout-next:disabled {
  box-shadow: none;
}
.cart-checkout-hint {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  min-height: 20px;
  margin: 0;
  padding-inline: 8px;
  text-align: center;
  line-height: 1.45;
  transition: color .2s ease;
}
.cart-checkout-hint::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #b49b72;
  box-shadow: 0 0 0 4px rgba(180,155,114,.11);
}
.cart-checkout-actions[data-state="ready"] .cart-checkout-hint {
  color: var(--green);
  font-weight: 700;
}
.cart-checkout-actions[data-state="ready"] .cart-checkout-hint::before {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(21,82,50,.10);
}
.cart-checkout-actions[data-state="needs-city"] .cart-checkout-hint {
  color: #a8420b;
}
.cart-checkout-actions[data-state="needs-city"] .cart-checkout-hint::before {
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(224,82,4,.10);
}

.cart-checkout-form {
  scroll-margin-top: 22px;
}
.cart-checkout-form-head {
  position: relative;
}
.cart-checkout-step {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--green);
  background: rgba(21,82,50,.075);
  border: 1px solid rgba(21,82,50,.10);
  font-size: 11px;
  font-weight: 800;
}
.cart-page-summary-card.is-checkout-step .cart-checkout-actions,
.cart-page-summary-card.is-checkout-step > .cart-page-continue {
  display: none;
}
.cart-page-summary-card.is-checkout-step .cart-checkout-form {
  border-top-color: rgba(21,82,50,.16);
}
.cart-page-continue {
  margin-top: 3px;
  border-color: rgba(21,82,50,.12);
  background: rgba(255,255,255,.68);
  box-shadow: none;
}
.cart-page-continue:hover {
  border-color: rgba(21,82,50,.22);
  background: rgba(21,82,50,.05);
  box-shadow: none;
}

@media (max-width: 560px) {
  .cart-delivery-promise {
    padding: 16px;
    border-radius: 20px;
  }
  .cart-checkout-next {
    min-height: 56px;
    font-size: 17px;
  }
  .cart-checkout-hint {
    font-size: 12px;
  }
  .cart-checkout-form {
    padding-top: 20px;
  }
  .cart-page-continue {
    min-height: 50px;
  }
}

/* =========================================================
   Dpet v6.6 — truthful settlement resolution and handoff safety
   ========================================================= */

.cart-city-result[data-state="unverified"] {
  align-items: flex-start;
  border-color: rgba(224,82,4,.20);
  background: linear-gradient(145deg, rgba(224,82,4,.075), rgba(255,255,255,.98));
}
.cart-city-result[data-state="unverified"] strong { color: #8f3c10; }
.cart-city-result[data-state="unverified"] > b {
  color: #a8420b;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(224,82,4,.10);
  border: 1px solid rgba(224,82,4,.13);
  font-size: 12px;
}
.cart-city-note strong { color: var(--ink); }

.cart-delivery-promise[data-state="unverified"] {
  background: rgba(224,82,4,.06);
  border-color: rgba(224,82,4,.13);
}
.cart-delivery-promise[data-state="unverified"] > span { background: var(--orange); }
.cart-checkout-actions[data-state="unverified"] .cart-checkout-hint {
  color: #8f3c10;
  font-weight: 700;
}
.cart-checkout-actions[data-state="unverified"] .cart-checkout-hint::before {
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(224,82,4,.10);
}
#cartTotal[data-state="pending"] {
  max-width: 170px;
  color: #8f3c10;
  font-size: 16px;
  line-height: 1.25;
  text-align: left;
}

@media (max-width: 560px) {
  .cart-city-result[data-state="unverified"] {
    display: grid;
    gap: 10px;
  }
  .cart-city-result[data-state="unverified"] > b {
    justify-self: start;
  }
  #cartTotal[data-state="pending"] {
    max-width: 145px;
    font-size: 14px;
  }
}

/* Keep author-level cart row layout from overriding the semantic hidden state. */
.cart-summary-complete > div[hidden] { display: none !important; }
#cartShipping[data-state="pending"] {
  color: #8f3c10;
  font-size: 18px;
}

/* =========================================================
   Dpet v6.7 — context-aware checkout details
   ========================================================= */

/* A pickup order must never expose delivery-address fields. The explicit
   hidden rule protects the semantic `hidden` attribute from generic label
   layout rules higher in the stylesheet. */
.cart-checkout-fields .cart-address-field[hidden] {
  display: none !important;
}

.cart-contact-email,
.cart-address-wide {
  grid-column: 1 / -1;
}

.cart-checkout-selection {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 15px 16px;
  border: 1px solid rgba(16,37,29,.11);
  border-radius: 18px;
  background: rgba(255,255,255,.82);
  transition: background .2s ease, border-color .2s ease;
}
.cart-checkout-selection[data-state="pickup"] {
  border-color: rgba(21,82,50,.15);
  background: linear-gradient(145deg, rgba(21,82,50,.07), rgba(255,255,255,.94));
}
.cart-checkout-selection[data-state="delivery"] {
  border-color: rgba(0,96,117,.16);
  background: linear-gradient(145deg, rgba(0,96,117,.07), rgba(255,255,255,.94));
}
.cart-checkout-selection-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  background: #b49b72;
  font-size: 18px;
  font-weight: 800;
}
.cart-checkout-selection[data-state="pickup"] .cart-checkout-selection-icon { background: var(--green); }
.cart-checkout-selection[data-state="delivery"] .cart-checkout-selection-icon { background: var(--blue); }
.cart-checkout-selection small,
.cart-checkout-selection p { display: block; }
.cart-checkout-selection small {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.cart-checkout-selection strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
}
.cart-checkout-selection p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.cart-checkout-selection button {
  align-self: center;
  min-height: 38px;
  padding: 7px 11px;
  border: 1px solid rgba(21,82,50,.14);
  border-radius: 999px;
  color: var(--green);
  background: rgba(255,255,255,.78);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.cart-checkout-selection button:hover {
  border-color: rgba(21,82,50,.28);
  background: #fff;
  transform: translateY(-1px);
}
.cart-checkout-selection button:focus-visible {
  outline: 3px solid rgba(21,82,50,.14);
  outline-offset: 2px;
}

.cart-checkout-form-head #cartCheckoutFormIntro {
  max-width: 620px;
}

@media (max-width: 560px) {
  .cart-checkout-selection {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 14px;
  }
  .cart-checkout-selection button {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 42px;
  }
  .cart-contact-email,
  .cart-address-wide {
    grid-column: auto;
  }
}

/* =========================================================
   Dpet v6.8 — checkout note recovery, final review and truthful handoff
   ========================================================= */

/* The optional note belongs to both pickup and delivery. It must stay
   visible while only the real delivery-address controls are toggled. */
.cart-notes-field textarea {
  min-height: 88px;
}

.cart-checkout-review {
  display: grid;
  gap: 14px;
  padding: 17px;
  border: 1px solid rgba(16,37,29,.11);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(250,248,242,.98), rgba(255,255,255,.96));
  box-shadow: 0 12px 30px rgba(16,37,29,.045);
  transition: border-color .2s ease, background .2s ease;
}
.cart-checkout-review[data-state="pickup"] {
  border-color: rgba(21,82,50,.16);
  background: linear-gradient(145deg, rgba(21,82,50,.06), rgba(255,255,255,.97));
}
.cart-checkout-review[data-state="delivery"] {
  border-color: rgba(0,96,117,.16);
  background: linear-gradient(145deg, rgba(0,96,117,.055), rgba(255,255,255,.97));
}
.cart-checkout-review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cart-checkout-review-head small {
  display: block;
  margin-bottom: 2px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
}
.cart-checkout-review-head strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
}
.cart-checkout-review-head button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid rgba(21,82,50,.14);
  border-radius: 999px;
  color: var(--green);
  background: rgba(255,255,255,.82);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.cart-checkout-review-head button:hover {
  border-color: rgba(21,82,50,.28);
  background: #fff;
  transform: translateY(-1px);
}
.cart-checkout-review-head button:focus-visible {
  outline: 3px solid rgba(21,82,50,.14);
  outline-offset: 2px;
}
.cart-checkout-review-rows {
  display: grid;
}
.cart-checkout-review-rows > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(16,37,29,.075);
}
.cart-checkout-review-rows span {
  color: var(--muted);
  font-size: 13px;
}
.cart-checkout-review-rows strong {
  color: var(--ink);
  text-align: left;
  font-size: 14px;
}
.cart-checkout-review-rows .cart-checkout-review-total {
  margin-top: 3px;
  padding-top: 13px;
  border-bottom: 0;
}
.cart-checkout-review-total span {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}
.cart-checkout-review-total strong {
  color: var(--green);
  font-size: 23px;
}
.cart-checkout-review > p {
  margin: 0;
  padding-top: 1px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.cart-whatsapp-action {
  min-height: 56px;
  padding-inline: 18px;
  text-align: center;
  line-height: 1.35;
  white-space: normal;
}
.cart-checkout-handoff-note {
  margin: -5px 4px 0;
  color: var(--muted);
  text-align: center;
  font-size: 11px;
  line-height: 1.55;
}
.cart-checkout-handoff-note strong {
  color: #8f3c10;
}

@media (max-width: 560px) {
  .cart-checkout-review {
    padding: 15px;
    border-radius: 19px;
  }
  .cart-checkout-review-head {
    display: grid;
    grid-template-columns: 1fr;
  }
  .cart-checkout-review-head button {
    width: 100%;
    min-height: 42px;
  }
  .cart-checkout-review-rows > div {
    gap: 12px;
  }
  .cart-checkout-review-rows span,
  .cart-checkout-review-rows strong {
    font-size: 12px;
  }
  .cart-checkout-review-total span {
    font-size: 14px;
  }
  .cart-checkout-review-total strong {
    font-size: 21px;
  }
  .cart-checkout-handoff-note {
    margin-inline: 0;
  }
}


/* =========================================================
   Dpet v6.9 — commercial truth, timing status and prototype handoff
   ========================================================= */
.cart-checkout-review-timing strong {
  color: var(--blue);
}

.cart-prototype-handoff {
  display: grid;
  gap: 13px;
  padding: 16px;
  border: 1px solid rgba(0, 96, 117, .13);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(0, 96, 117, .065), rgba(255, 255, 255, .9));
}
.cart-prototype-handoff-head {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}
.cart-prototype-handoff-head > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
}
.cart-prototype-handoff-head strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
}
.cart-prototype-handoff-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.cart-prototype-handoff ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cart-prototype-handoff li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  min-width: 0;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
}
.cart-prototype-handoff li b {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(21, 82, 50, .1);
  color: var(--green);
  font-size: 11px;
}
.cart-prototype-handoff li span {
  color: var(--ink);
  font-size: 11px;
  line-height: 1.45;
}
.cart-prototype-handoff > small {
  color: var(--muted);
  text-align: center;
  font-size: 10px;
  line-height: 1.5;
}

@media (max-width: 560px) {
  .cart-prototype-handoff {
    padding: 14px;
    border-radius: 18px;
  }
  .cart-prototype-handoff ol {
    grid-template-columns: 1fr;
  }
  .cart-prototype-handoff li {
    align-items: center;
  }
}

/* v7.1.2 — final unit-pricing and desktop phrase integrity */
.hero-pet-phrase { display:inline-block; white-space:nowrap; }
.unit-price-note { display:block; width:100%; margin-top:4px; color:var(--muted); font-size:12px; line-height:1.35; font-style:normal; font-weight:600; }
.product-meta .unit-price-note { text-align:center; }
.product-page-purchase .unit-price-note, .product-modal-price + .unit-price-note { margin-top:6px; }
.variant-option .unit-price-note { font-size:10px; margin-top:3px; }
.cart-item-price .unit-price-note { font-size:11px; text-align:end; }


/* === ux-freeze-v7.css === */
/*
  Dpet 7.0 — UX Freeze & WordPress Handoff
  This file intentionally isolates the final prototype layer from the historical CSS.
  Production WordPress components should be rebuilt from the documented tokens/components,
  not by copying the accumulated prototype stylesheet wholesale.
*/

:root {
  --dpet-space-1: 6px;
  --dpet-space-2: 10px;
  --dpet-space-3: 14px;
  --dpet-space-4: 20px;
  --dpet-space-5: 28px;
  --dpet-space-6: 40px;
  --dpet-space-7: 56px;
  --dpet-radius-card: 30px;
  --dpet-radius-compact: 20px;
  --dpet-shadow-soft: 0 18px 55px rgba(30,30,30,.10);
  --dpet-focus: 0 0 0 4px rgba(0,96,117,.22);
}

[hidden] { display: none !important; }
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: none;
  box-shadow: var(--dpet-focus);
}

/* Page architecture preview: the production site is no longer one giant homepage. */
.page-home #shop,
.page-home #productPage,
.page-home #care-flow,
.page-home #knowledge { display: none !important; }

.page-shop main > :not(.page-context-strip):not(#shop),
.page-product main > :not(.page-context-strip):not(#productPage),
.page-knowledge main > :not(.page-context-strip):not(#knowledge) { display: none !important; }

.page-context-strip {
  padding: calc(var(--header-h) + 30px) clamp(22px, 6vw, 92px) 0;
  background: var(--cream);
}
.page-context-strip > div {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px 12px;
  padding: 15px 18px;
  border: 1px solid rgba(21,82,50,.10);
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.70);
  color: var(--muted);
}
.page-context-strip a { color: var(--green); font-weight: 700; }
.page-context-strip strong { color: var(--graphite); }
.page-context-strip p { flex-basis: 100%; margin: 0; font-size: 14px; }

/* Header freeze: fewer destinations, stronger brand presence. */
.site-header .brand img { height: 64px; }
.nav { gap: clamp(16px, 2.1vw, 32px); }
.nav a { font-size: 16px; font-weight: 700; }
.nav a.is-page-current { color: var(--green); }
.nav a.is-page-current::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 5px;
  border-radius: 99px;
  background: var(--orange);
}

/* Short-home product preview. */
.home-featured {
  background: linear-gradient(180deg, var(--cream), #fffdf8);
  overflow: hidden;
}
.home-featured-inner { display: grid; gap: 36px; }
.home-featured-head { display: block; max-width: 820px; margin: 0 auto; text-align: center; }
.home-featured-head h2 span { color: var(--green); }
.home-featured-head .section-intro { color: var(--muted); font-size: 19px; }
.home-featured-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
}
.home-product-card {
  min-height: 310px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(21,82,50,.11);
  border-radius: var(--dpet-radius-card);
  background: rgba(255,255,255,.84);
  box-shadow: var(--dpet-shadow-soft);
}
.home-product-label {
  align-self: flex-start;
  padding: 7px 11px;
  border-radius: var(--radius-pill);
  background: rgba(21,82,50,.08);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}
.home-product-card h3 { margin: 22px 0 10px; font-size: 25px; line-height: 1.18; }
.home-product-card p { margin: 0 0 24px; color: var(--muted); }
.home-product-card > div { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.home-product-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--green);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.home-product-link + .home-product-link::before { content: "·"; margin-inline: 8px; color: var(--sand); }
.home-product-card-all {
  background: linear-gradient(145deg, #155232, #006075);
  color: #fff;
}
.home-product-card-all .home-product-label { background: rgba(255,255,255,.14); color: #fff; }
.home-product-card-all p { color: rgba(255,255,255,.78); }
.home-product-card-all .btn { margin-top: auto; background: #fff; color: var(--green); }

/* Human proof: no repeated generic brand claims and no invented reviews. */
.why .section-inner { max-width: 1180px; }
.why-human-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 24px;
  align-items: stretch;
}
.why-human-copy,
.why-proof-card {
  padding: clamp(30px, 5vw, 56px);
  border-radius: var(--dpet-radius-card);
}
.why-human-copy { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.10); }
.why-human-copy h2 span { color: #f7bf78; }
.brand-motto-quote {
  margin: 30px 0 0;
  padding: 20px 22px;
  border-inline-start: 4px solid #f7bf78;
  background: rgba(255,255,255,.07);
  border-radius: 0 18px 18px 0;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.25;
}
.why-proof-card { background: #fff; color: var(--graphite); }
.why-proof-label { color: var(--orange); font-size: 14px; }
.why-proof-card h3 { font-size: clamp(30px, 4vw, 48px); line-height: 1.1; margin: 16px 0; }
.why-proof-card p { color: var(--muted); font-size: 18px; margin: 0 0 28px; }
.why-proof-points {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
.why-proof-points article {
  padding: 26px;
  border-radius: 24px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.09);
}
.why-proof-points span { color: #f7bf78; font-size: 13px; }
.why-proof-points h3 { margin: 12px 0 8px; font-size: 22px; }
.why-proof-points p { margin: 0; color: rgba(255,255,255,.74); }

/* Homepage knowledge preview keeps all four animal worlds visible. */
.home-knowledge { background: var(--cream-2); }
.home-knowledge-inner { display: grid; gap: 28px; }
.home-knowledge-head {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: end;
  gap: 30px;
}
.home-knowledge-head h2 { margin-bottom: 0; }
.home-knowledge-head h2 span { color: var(--green); }
.home-knowledge-head > p { color: var(--muted); font-size: 20px; margin: 0; }
.home-knowledge-guides { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.home-knowledge-guides article {
  padding: 28px;
  border-radius: var(--dpet-radius-card);
  background: #fff;
  border: 1px solid rgba(21,82,50,.10);
  box-shadow: var(--dpet-shadow-soft);
}
.home-knowledge-guides small { color: var(--orange); }
.home-knowledge-guides h3 { font-size: 24px; margin: 12px 0 8px; }
.home-knowledge-guides p { color: var(--muted); margin: 0 0 20px; }
.home-knowledge-guides a { color: var(--green); font-weight: 700; }
.knowledge-world-links { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.knowledge-world-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 15px;
  border-radius: 22px;
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(21,82,50,.10);
}
.knowledge-world-links img { width: 54px; height: 54px; object-fit: contain; flex: 0 0 auto; }
.knowledge-world-links span { min-width: 0; }
.knowledge-world-links strong,
.knowledge-world-links small { display: block; }
.knowledge-world-links small { color: var(--muted); line-height: 1.3; margin-top: 3px; }
.home-knowledge-all { justify-self: center; }
.knowledge-card.is-world-highlight {
  outline: 3px solid rgba(224,82,4,.34);
  box-shadow: 0 26px 80px rgba(224,82,4,.15);
}

/* Honest fit state becomes a useful choice, not a dead technical label. */
.product-fit-actions {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
}
.product-fit-actions .btn { min-height: 46px; padding: 10px 16px; font-size: 14px; }
.product-page-score:not(.is-unscored) .product-fit-actions,
.product-trust-meter:not(.is-unscored) .product-fit-actions { display: none; }
.product-fit-actions-modal { margin-bottom: 4px; }

/* Mobile filter becomes an intentional drawer instead of a long wall before products. */
.shop-filter-mobile-trigger,
.shop-filter-drawer-head,
.shop-filter-backdrop { display: none; }

/* Floating help hierarchy: Joy primary, WhatsApp compact and human. */
body.advisor-open .whatsapp-float {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(.9);
}
.whatsapp-float { transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease; }

/* Club copy is now intentionally human, not unverified automation. */
.club-card-kicker { color: var(--orange); }
.club-pet-preview strong { overflow-wrap: anywhere; }

/* Footer motto is the closing brand signature. */
.footer-brand-block p { font-size: 19px; color: #fff; }

@media (max-width: 1080px) {
  .home-featured-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .knowledge-world-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 980px) {
  .site-header .brand img { height: 54px; }
  .nav a.is-page-current::after { display: none; }
  .why-human-grid,
  .home-knowledge-head { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .page-context-strip { padding: calc(var(--header-h) + 18px) 16px 0; }
  .page-context-strip > div { border-radius: 22px; }

  .home-featured-grid,
  .home-knowledge-guides,
  .why-proof-points,
  .knowledge-world-links { grid-template-columns: 1fr; }
  .home-product-card { min-height: 0; }
  .home-product-card > div { margin-top: 10px; }
  .home-knowledge-head > p { font-size: 17px; }
  .knowledge-world-links a { padding: 12px 14px; }
  .why-human-copy,
  .why-proof-card { padding: 28px 22px; }
  .brand-motto-quote { font-size: 23px; }
  .product-fit-actions { grid-template-columns: 1fr; }

  .shop-filter-mobile-trigger {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0 0 14px;
    padding: 15px 16px;
    border: 1px solid rgba(21,82,50,.14);
    border-radius: 20px;
    background: #fff;
    color: var(--graphite);
    box-shadow: 0 12px 34px rgba(30,30,30,.08);
    font: inherit;
    text-align: right;
  }
  .shop-filter-mobile-trigger span,
  .shop-filter-mobile-trigger strong,
  .shop-filter-mobile-trigger small { display: block; }
  .shop-filter-mobile-trigger span { display: flex; align-items: center; gap: 9px; }
  .shop-filter-mobile-trigger b { color: var(--green); font-size: 18px; }
  .shop-filter-mobile-trigger small { color: var(--muted); font-size: 12px; }
  .shop-filter-backdrop {
    position: fixed;
    inset: 0;
    z-index: 81;
    display: block;
    border: 0;
    background: rgba(14,26,21,.58);
    backdrop-filter: blur(4px);
  }
  .dog-filter-panel {
    position: fixed !important;
    z-index: 82;
    inset: auto 0 0 0;
    width: 100%;
    max-height: min(88svh, 820px);
    margin: 0 !important;
    padding: 0 18px 18px !important;
    display: block !important;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 28px 28px 0 0 !important;
    background: var(--cream-2) !important;
    transform: translateY(105%);
    visibility: hidden;
    pointer-events: none;
    transition: transform .28s ease, visibility .28s ease;
    box-shadow: 0 -24px 80px rgba(15,30,23,.28) !important;
  }
  body.filter-drawer-open { overflow: hidden; }
  body.filter-drawer-open .dog-filter-panel {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }
  .shop-filter-drawer-head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 -18px 18px;
    padding: 16px 18px;
    background: rgba(255,250,241,.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(21,82,50,.10);
  }
  .shop-filter-drawer-head small,
  .shop-filter-drawer-head strong { display: block; }
  .shop-filter-drawer-head small { color: var(--muted); font-size: 12px; }
  .shop-filter-drawer-head strong { font-size: 19px; }
  .shop-filter-drawer-head button {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(21,82,50,.08);
    color: var(--green);
    font-size: 28px;
  }
  .dog-filter-copy { padding-top: 0; }
  .dog-filter-actions {
    position: sticky;
    bottom: -18px;
    z-index: 3;
    margin: 18px -18px -18px !important;
    padding: 13px 18px calc(13px + env(safe-area-inset-bottom));
    background: rgba(255,250,241,.97);
    border-top: 1px solid rgba(21,82,50,.10);
    box-shadow: 0 -10px 30px rgba(30,30,30,.08);
  }
  .dog-filter-actions .btn { width: 100%; }

  .advisor-float {
    right: 14px !important;
    left: auto !important;
    bottom: calc(14px + env(safe-area-inset-bottom)) !important;
    min-width: 132px !important;
    height: 54px !important;
    padding: 6px 10px 6px 14px !important;
    border-radius: 999px !important;
  }
  .advisor-float-icon { width: 42px !important; height: 42px !important; }
  .advisor-float strong { font-size: 14px !important; }
  .advisor-float small { display: block !important; font-size: 10px !important; }
  .whatsapp-float {
    right: auto !important;
    left: 14px !important;
    bottom: calc(14px + env(safe-area-inset-bottom)) !important;
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center;
    border-radius: 50% !important;
  }
  .whatsapp-float > span:last-child { display: none !important; }
  .whatsapp-float-mark {
    display: grid !important;
    place-items: center;
    width: 42px !important;
    height: 42px !important;
    font-size: 10px !important;
  }
  body.mobile-product-bar-visible .advisor-float,
  body.mobile-product-bar-visible .whatsapp-float {
    bottom: calc(88px + env(safe-area-inset-bottom)) !important;
  }
  .advisor-chat { bottom: calc(78px + env(safe-area-inset-bottom)) !important; }
  body.mobile-product-bar-visible .advisor-chat { bottom: calc(150px + env(safe-area-inset-bottom)) !important; }
}

@media (max-width: 390px) {
  .advisor-float { min-width: 116px !important; }
  .advisor-float small { display: none !important; }
  .home-product-card,
  .home-knowledge-guides article { padding: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  .dog-filter-panel { transition: none; }
}

/* Final float polish after visual review: keep human help available without covering content. */
@media (min-width: 761px) {
  .whatsapp-float {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center;
    border-radius: 50% !important;
  }
  .whatsapp-float > span:last-child { display: none !important; }
  .whatsapp-float-mark {
    display: grid !important;
    place-items: center;
    width: 44px !important;
    height: 44px !important;
    font-size: 10px !important;
  }
  .whatsapp-float::after {
    content: "צוות דיפט ב-WhatsApp";
    position: absolute;
    left: 66px;
    bottom: 7px;
    width: max-content;
    max-width: 220px;
    padding: 9px 12px;
    border-radius: 14px;
    background: #fff;
    color: var(--green);
    box-shadow: 0 14px 40px rgba(30,30,30,.14);
    opacity: 0;
    transform: translateX(-5px);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
  }
  .whatsapp-float:hover::after,
  .whatsapp-float:focus-visible::after {
    opacity: 1;
    transform: translateX(0);
  }
  .advisor-float {
    min-width: 146px !important;
    padding-inline: 11px 15px !important;
  }
}

/* v7.0 release polish: standalone page semantics and handoff-safe headings. */
.page-context-strip h1 {
  margin: 0;
  color: var(--graphite);
  font-size: 16px;
  line-height: 1.2;
}
.hero .hero-title {
  margin: 0;
  font-size: clamp(48px, 6.3vw, 92px);
  line-height: .98;
  letter-spacing: -.035em;
}
@media (max-width: 760px) {
  .hero .hero-title { font-size: clamp(42px, 13.5vw, 66px); }
}

/* Tablet polish: the legacy 980px rule stretched Joy across the viewport. */
@media (min-width: 761px) and (max-width: 980px) {
  .advisor-float {
    right: 16px !important;
    left: auto !important;
    bottom: 16px !important;
    width: auto !important;
    min-width: 146px !important;
    height: 58px !important;
    padding: 7px 11px 7px 15px !important;
    justify-content: flex-start !important;
  }
  .whatsapp-float {
    right: auto !important;
    left: 16px !important;
    bottom: 16px !important;
  }
  .advisor-chat {
    right: 16px !important;
    left: auto !important;
    bottom: 86px !important;
    width: min(420px, calc(100vw - 32px)) !important;
  }
}

/* v7.0.1 — Acceptance fix: the human proof section should be practical, not a tall poster. */
.why.section {
  padding-block: clamp(58px, 6.5vw, 92px);
}
.why-human-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr);
  gap: 18px;
  align-items: start;
}
.why-human-copy,
.why-proof-card {
  min-height: 0;
  padding: clamp(26px, 3.2vw, 40px);
}
.why-human-copy h2 {
  max-width: 720px;
  margin-bottom: 16px;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.04;
}
.why-human-copy .lead {
  max-width: 720px;
  font-size: clamp(17px, 1.45vw, 19px);
  line-height: 1.65;
}
.brand-motto-quote {
  margin-top: 22px;
  padding: 15px 18px;
  font-size: clamp(20px, 2.2vw, 28px);
}
.why-proof-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.why-proof-card h3 {
  max-width: 520px;
  margin: 12px 0 12px;
  font-size: clamp(29px, 3vw, 42px);
}
.why-proof-card p {
  margin-bottom: 22px;
  font-size: 17px;
  line-height: 1.65;
}
.why-proof-card .btn {
  width: auto;
  margin-top: 0;
}
.why-proof-points {
  margin-top: 18px;
  gap: 12px;
  align-items: stretch;
}
.why-proof-points article {
  min-height: 0;
  padding: 20px 22px;
}
.why-proof-points span {
  display: block;
  margin: 0 0 8px;
}
.why-proof-points h3 {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.28;
}
.why-proof-points p {
  font-size: 15px;
  line-height: 1.55;
}

/* RTL-safe business hours: preserve the requested start-to-end reading order. */
.hours-grid strong bdi,
.site-footer small bdi {
  direction: ltr;
  unicode-bidi: isolate;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .why-human-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .why.section { padding-block: 54px; }
  .why-human-copy,
  .why-proof-card { padding: 24px 20px; }
  .why-human-copy h2 { font-size: clamp(34px, 10vw, 46px); }
  .why-proof-points { gap: 10px; }
  .why-proof-points article { padding: 18px 20px; }
}


/* v7.0.1 — final acceptance fixes. */

/* The proof section is two compact rows, not two giant side-by-side columns. */
.why-experience-clean {
  display: block;
}
.why-human-grid {
  align-items: stretch;
}
.why-proof-points {
  width: 100%;
}

/* User-supplied transparent WhatsApp artwork is the floating action itself. */
.whatsapp-float {
  position: fixed !important;
  right: auto !important;
  left: 22px !important;
  bottom: 22px !important;
  z-index: 60 !important;
  display: block !important;
  width: 64px !important;
  height: 64px !important;
  min-width: 64px !important;
  min-height: 64px !important;
  max-width: 64px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: transparent !important;
  box-shadow: none !important;
  line-height: 0 !important;
  overflow: visible !important;
  backdrop-filter: none !important;
  filter: drop-shadow(0 12px 24px rgba(16, 37, 29, .22));
}
.whatsapp-float img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.035);
  border-color: transparent !important;
  box-shadow: none !important;
  filter: drop-shadow(0 16px 30px rgba(16, 37, 29, .28));
}
.whatsapp-float:focus-visible {
  outline: 3px solid #f7bf78;
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .whatsapp-float {
    right: auto !important;
    left: 14px !important;
    bottom: calc(14px + env(safe-area-inset-bottom)) !important;
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    min-height: 54px !important;
    max-width: 54px !important;
  }
  body.mobile-product-bar-visible .whatsapp-float {
    bottom: calc(88px + env(safe-area-inset-bottom)) !important;
  }
}

@media (max-width: 390px) {
  .whatsapp-float {
    left: 12px !important;
  }
}


/* =========================================================
   Dpet v7.0.2 — centered navigation logo acceptance fix
   The desktop navigation is split into two balanced groups so
   the logo is both semantically and visually centered between
   Knowledge Center and Club. Mobile keeps the compact header.
   ========================================================= */
@media (min-width: 981px) {
  :root { --header-h: 96px; }

  .site-header {
    justify-content: center;
    padding-block: 8px;
  }

  .site-header > .brand-mobile {
    display: none;
  }

  .site-header .nav {
    width: min(920px, calc(100vw - 190px));
    display: grid;
    grid-template-columns: minmax(0, 1fr) 126px minmax(0, 1fr);
    grid-template-areas: "secondary logo primary";
    align-items: center;
    gap: 18px;
    direction: ltr;
  }

  .site-header .nav-group {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: clamp(13px, 1.65vw, 27px);
    direction: rtl;
  }

  .site-header .nav-group-primary {
    grid-area: primary;
    justify-content: flex-end;
  }

  .site-header .nav-group-secondary {
    grid-area: secondary;
    justify-content: flex-start;
  }

  .site-header .nav-brand {
    grid-area: logo;
    width: 126px;
    height: 82px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border-radius: 50%;
    transition: transform .2s ease, filter .2s ease;
  }

  .site-header .nav-brand img {
    width: 118px;
    height: auto;
    object-fit: contain;
  }

  .site-header .nav-brand:hover {
    transform: translateY(-1px) scale(1.035);
    filter: drop-shadow(0 8px 16px rgba(21,82,50,.12));
  }

  .site-header .nav-brand::after {
    display: none !important;
  }

  .site-header .header-actions {
    position: absolute;
    left: clamp(18px, 4vw, 64px);
  }
}

@media (min-width: 981px) and (max-width: 1180px) {
  .site-header .nav {
    width: min(850px, calc(100vw - 160px));
    grid-template-columns: minmax(0, 1fr) 108px minmax(0, 1fr);
    gap: 12px;
  }

  .site-header .nav-group {
    gap: 10px;
  }

  .site-header .nav a:not(.nav-brand) {
    font-size: 14px;
  }

  .site-header .nav-brand {
    width: 108px;
    height: 72px;
  }

  .site-header .nav-brand img {
    width: 102px;
    height: auto;
  }
}

@media (max-width: 980px) {
  .site-header > .brand-mobile {
    display: inline-flex;
  }

  .site-header .nav-brand {
    display: none;
  }

  .site-header .nav-group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
}


/* === final-polish-v7-1.css === */
/* Dpet v7.1 — Final Polish & Acceptance Candidate */
:root {
  --dpet-content-wide: 1180px;
  --dpet-reading: 760px;
  --dpet-section-y: clamp(64px, 7.2vw, 108px);
  --dpet-section-y-mobile: 56px;
}
html { scroll-padding-top: calc(var(--header-h) + 22px); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body.acceptance-v7-1 { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
a, button, input, select, textarea, summary { touch-action: manipulation; }
.section[id], .page-context-strip, #shop, #productPage, #knowledge { scroll-margin-top: calc(var(--header-h) + 18px); }
.page-home main > .section { padding-block: var(--dpet-section-y); }
.page-home .home-featured, .page-home .home-knowledge, .page-home .club, .page-home .contact { padding-block: clamp(62px, 6.6vw, 96px); }
.page-context-strip { padding-top: calc(var(--header-h) + 22px); }
.page-context-strip > div { max-width: var(--dpet-content-wide); padding: 12px 18px; gap: 7px 10px; box-shadow: 0 10px 34px rgba(30,30,30,.035); }
.page-context-title { color: var(--graphite); font-size: 15px; line-height: 1.25; }
.page-context-strip p { font-size: 13px; }
.page-shop #shop, .page-product #productPage, .page-knowledge #knowledge { padding-top: clamp(48px, 5.2vw, 78px); padding-bottom: clamp(70px, 7vw, 108px); }
.page-shop #shop .section-inner, .page-product #productPage .section-inner, .page-knowledge #knowledge .section-inner { max-width: var(--dpet-content-wide); }
.standalone-page-title { margin: 0; font-size: clamp(46px, 5.5vw, 76px); line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.standalone-page-title span { color: var(--green); }
.page-shop .shop-demo-head { gap: clamp(20px, 4vw, 52px); align-items: center; }
.page-shop .shop-experience { gap: 28px; }
.page-shop .shop-demo-note { padding: 22px; }
.page-shop .shop-demo-note strong { font-size: 21px; }
.page-shop .category-architecture, .page-shop .dog-world { box-shadow: 0 22px 65px rgba(30,30,30,.075); }
.page-product .product-page-inner { gap: 28px; }
.page-product .product-page-head { max-width: 860px; margin-bottom: 2px; }
.page-product .product-page-head .product-page-intro-title { margin-bottom: 16px; font-size: clamp(42px, 5.2vw, 70px); line-height: 1.04; }
.page-product .product-page-head .lead { max-width: var(--dpet-reading); margin-inline: auto; }
.standalone-product-title { margin: 0 0 16px; font-size: clamp(42px, 5.7vw, 72px); line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; }
.page-product .product-page-card { border-radius: 36px; }
.page-product .product-page-main { padding: clamp(28px, 4vw, 52px); }
.page-product .product-page-info-grid { gap: 14px; }
.page-product .product-page-bottom-note { margin-top: 0; }
.page-knowledge .knowledge-head { max-width: 820px; margin-bottom: 34px; }
.page-knowledge .knowledge-head .lead { max-width: var(--dpet-reading); margin-inline: auto; }
.page-knowledge .knowledge-grid { gap: 16px; }
.page-knowledge .knowledge-card { min-height: 310px; padding: clamp(23px, 2.6vw, 31px); }
.btn, .product-detail-btn, .knowledge-link, .home-product-link, .club-text-link, .shop-filter-bar button, .dog-filter-chips button, .variant-option { min-height: 44px; }
.home-product-link, .club-text-link { display: inline-flex; align-items: center; }
@media (hover: hover) and (pointer: fine) {
  .home-product-card, .knowledge-card, .product-card, .buying-path, .world-card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
  .home-product-card:hover, .knowledge-card:hover, .product-card:hover, .buying-path:hover, .world-card:hover { transform: translateY(-3px); box-shadow: 0 24px 66px rgba(30,30,30,.12); border-color: rgba(21,82,50,.19); }
}
body.footer-in-view .advisor-float, body.footer-in-view .whatsapp-float { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(12px) scale(.94); }
body.hero-static .hero-video { display: none !important; }
body.hero-static .hero { background: linear-gradient(90deg, rgba(8,25,18,.22), rgba(8,25,18,.52)), url('../media/hero-poster.jpg') center/cover no-repeat; }
.site-footer { padding-top: clamp(58px, 6vw, 82px); }
.site-footer .footer-premium-inner { max-width: var(--dpet-content-wide); }
@media (max-width: 980px) { .standalone-page-title { font-size: clamp(40px, 7.5vw, 62px); } .page-shop .shop-demo-head { align-items: stretch; } }
@media (max-width: 760px) {
  :root { --dpet-section-y: var(--dpet-section-y-mobile); }
  .page-home main > .section, .page-home .home-featured, .page-home .home-knowledge, .page-home .club, .page-home .contact { padding-block: var(--dpet-section-y-mobile); }
  .page-context-strip { padding-top: calc(var(--header-h) + 12px); }
  .page-context-strip > div { padding: 11px 14px; border-radius: 18px; }
  .page-context-strip p { display: none; }
  .page-shop #shop, .page-product #productPage, .page-knowledge #knowledge { padding-top: 42px; padding-bottom: 64px; }
  .standalone-page-title { font-size: clamp(36px, 10.8vw, 48px); line-height: 1.08; }
  .page-shop .shop-demo-note { padding: 18px; }
  .page-shop .shop-experience { gap: 22px; }
  .page-product .product-page-inner { gap: 22px; }
  .page-product .product-page-head .product-page-intro-title { font-size: clamp(34px, 10vw, 48px); }
  .standalone-product-title { font-size: clamp(35px, 11vw, 50px); line-height: 1.06; }
  .page-product .product-page-card { border-radius: 28px; }
  .page-product .product-page-main { padding: 24px 19px 28px; }
  .page-knowledge .knowledge-head { margin-bottom: 26px; }
  .page-knowledge .knowledge-card { min-height: 0; }
  .site-footer { padding-top: 52px; }
}
@media (max-width: 390px) { .page-context-title { font-size: 14px; } .page-context-strip > div { gap: 6px 8px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* =========================================================
   v7.1 mobile acceptance pass — centered flow, natural wraps,
   compact commerce cards and explicit reading exceptions.
   Requested after hands-on review at phone width.
   ========================================================= */
@media (max-width: 760px) {
  html,
  body.acceptance-v7-1 {
    max-width: 100%;
    overflow-x: clip;
  }

  body.acceptance-v7-1 .section-inner,
  body.acceptance-v7-1 .hero-content,
  body.acceptance-v7-1 .page-context-strip > div,
  body.acceptance-v7-1 .product-card,
  body.acceptance-v7-1 .product-card-body,
  body.acceptance-v7-1 .knowledge-card,
  body.acceptance-v7-1 .path-card,
  body.acceptance-v7-1 .world-card {
    min-width: 0;
  }

  /* The mobile rhythm is built on one visual axis. */
  .hero-content,
  .promise > .section-inner,
  .buying-paths-head,
  .worlds-heading,
  .home-featured-head,
  .home-knowledge-head,
  .knowledge-head,
  .shop-demo-head > div:first-child,
  .shop-demo-note,
  .category-architecture-copy,
  .dog-world-copy,
  .dog-filter-copy,
  .dog-products-head,
  .product-page-head,
  .why-human-copy,
  .why-proof-card,
  .club-copy,
  .contact-copy,
  .visit-card,
  .page-context-strip > div {
    text-align: center !important;
  }

  .section-heading,
  .home-knowledge-head,
  .shop-demo-head,
  .product-page-head,
  .knowledge-head {
    display: grid;
    justify-items: center;
    align-items: center;
    gap: 12px;
  }

  .eyebrow,
  .section-kicker,
  .why-proof-label,
  .club-card-kicker,
  .home-product-label,
  .product-type,
  .page-context-title {
    margin-inline: auto;
    text-align: center;
  }

  .hero-copy,
  .trust-line,
  .lead,
  .section-intro,
  .buying-paths-head > p,
  .worlds-heading > p,
  .home-featured-head > p,
  .home-knowledge-head > p,
  .knowledge-head > p,
  .shop-demo-head .lead,
  .why-human-copy .lead,
  .why-proof-card > p,
  .club-copy .lead,
  .contact-copy .lead {
    width: 100%;
    max-width: 34ch;
    margin-inline: auto !important;
    text-align: center !important;
    line-height: 1.68;
    white-space: normal !important;
    overflow: visible;
    overflow-wrap: break-word;
    word-break: normal;
    text-wrap: pretty;
  }

  .hero-content .nowrap,
  .section .nowrap,
  .club-copy .nowrap,
  .why-human-copy .nowrap,
  .worlds-heading .nowrap {
    white-space: normal !important;
  }

  .hero-actions,
  .product-fit-actions,
  .product-page-actions,
  .club-actions,
  .visit-actions,
  .contact-actions,
  .shop-results-actions,
  .shop-empty-actions,
  .world-explorer-actions,
  .care-flow-actions {
    width: 100%;
    justify-content: center !important;
    align-items: center;
  }

  .hero-actions .btn,
  .product-fit-actions .btn,
  .product-page-actions .btn,
  .club-actions .btn,
  .visit-actions .btn,
  .contact-actions .btn {
    width: min(100%, 330px);
    margin-inline: auto;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
  }

  /* This line sits immediately below the store CTA and must never clip. */
  .trust-line {
    display: block;
    max-width: 31ch;
    margin-top: 22px !important;
    padding-inline: 6px;
    font-size: 13px;
    line-height: 1.8;
    text-align: center !important;
    white-space: normal !important;
    text-overflow: clip;
  }

  /* Short cards are centered; reading-heavy content remains RTL below. */
  .promise-statement,
  .promise-steps > div,
  .promise-grid article,
  .path-card-focused,
  .world-card,
  .home-product-card,
  .home-knowledge-guides article,
  .knowledge-world-links a,
  .knowledge-card,
  .why-proof-points article,
  .club-benefits article,
  .care-step,
  .care-confidence-strip article,
  .dog-product-card,
  .shop-demo-note,
  .visit-card,
  .contact-promise {
    text-align: center !important;
  }

  .promise-statement,
  .promise-steps > div,
  .promise-grid article,
  .path-card-focused,
  .world-card,
  .home-product-card,
  .home-knowledge-guides article,
  .knowledge-card,
  .why-proof-points article,
  .club-benefits article,
  .care-step,
  .dog-product-card {
    align-items: center;
    justify-items: center;
  }

  .promise-statement p,
  .promise-steps p,
  .promise-grid p,
  .path-card-text,
  .world-card p,
  .home-product-card p,
  .home-knowledge-guides p,
  .knowledge-card > p,
  .why-proof-points p,
  .club-benefits p,
  .care-step p,
  .dog-product-card p {
    max-width: 32ch;
    margin-inline: auto;
    text-align: center !important;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
    text-wrap: pretty;
  }

  /* Center the visual object, not merely its containing text. */
  .path-card-focused .path-animals-row {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    justify-content: center;
  }

  .path-card-focused .path-symbol {
    right: auto;
    left: 50%;
    margin-left: -38px;
  }

  .path-card-focused .joy-card-visual {
    right: auto;
    left: 50%;
    margin-left: -56px;
  }

  .world-card .world-image,
  .knowledge-card .knowledge-animal,
  .knowledge-card .knowledge-symbol,
  .club-card-top img,
  .visit-card-header img,
  .care-step-number,
  .promise-grid .dot {
    margin-inline: auto;
    align-self: center;
    justify-self: center;
  }

  .world-card .world-image {
    order: -1;
  }

  .world-card strong,
  .world-card h3,
  .world-card small {
    align-self: center !important;
    text-align: center !important;
  }

  .knowledge-card-top,
  .club-card-top,
  .visit-card-header {
    width: 100%;
    display: grid;
    justify-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
  }

  .knowledge-card-top .knowledge-animal,
  .knowledge-card-top .knowledge-symbol {
    order: -1;
  }

  .knowledge-world-links a {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 16px 14px;
  }

  .knowledge-world-links img {
    margin-inline: auto;
  }

  .knowledge-world-links span,
  .knowledge-world-links strong,
  .knowledge-world-links small {
    width: 100%;
    text-align: center;
    white-space: normal;
  }

  .home-product-card .home-product-label {
    align-self: center;
  }

  .home-product-card > div {
    width: 100%;
    justify-content: center;
  }

  .home-product-link {
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  /* Shop cards: compact, content-sized and impossible to stretch into posters. */
  .page-shop .product-grid {
    grid-template-columns: 1fr !important;
    grid-auto-rows: auto;
    align-items: start;
    gap: 14px;
  }

  .page-shop .product-card,
  .page-shop .product-featured {
    width: 100%;
    min-height: 0 !important;
    height: auto !important;
    align-self: start;
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr) !important;
    grid-template-rows: auto;
    direction: rtl;
    overflow: hidden;
    border-radius: 24px;
  }

  .page-shop .product-card > .product-visual {
    min-height: 0 !important;
    height: 100% !important;
    padding: 14px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 7px;
  }

  .page-shop .product-visual .product-badge {
    position: static;
    max-width: 100%;
    margin: 0 0 8px;
    padding: 5px 7px;
    align-self: center;
    font-size: 9px;
    line-height: 1.25;
    white-space: normal;
    text-align: center;
  }

  .page-shop .product-visual strong {
    max-width: 100%;
    font-size: clamp(20px, 6vw, 25px);
    line-height: 1.05;
    letter-spacing: -.02em;
    text-align: center;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .page-shop .product-visual small {
    max-width: 100%;
    margin-top: 0;
    font-size: 10px;
    line-height: 1.3;
    text-align: center;
    white-space: normal;
  }

  .page-shop .product-visual::before {
    width: 92px;
    height: 92px;
    top: -34px;
    left: -32px;
  }

  .page-shop .product-visual::after {
    width: 72px;
    height: 72px;
    right: -28px;
    bottom: 18px;
  }

  .page-shop .product-card-body {
    min-height: 0 !important;
    height: auto !important;
    padding: 15px 13px;
    gap: 7px;
    align-items: stretch;
    justify-content: flex-start;
    text-align: center !important;
    direction: rtl;
  }

  .page-shop .product-card-body > *,
  .page-shop .product-card h3,
  .page-shop .product-card-body > p,
  .page-shop .product-meta span,
  .page-shop .product-meta strong,
  .page-shop .product-detail-btn,
  .page-shop .product-quick-add {
    max-width: 100%;
    white-space: normal !important;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .page-shop .product-type {
    margin: 0;
    font-size: 11px;
    line-height: 1.35;
  }

  .page-shop .product-card h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.28;
    text-align: center;
  }

  .page-shop .product-card-body > p:not(.product-type) {
    margin: 0;
    font-size: 12px;
    line-height: 1.48;
    text-align: center;
  }

  .page-shop .product-card-stock {
    align-self: center;
    margin: 1px 0 3px;
    font-size: 11px;
  }

  .page-shop .product-meta {
    width: 100%;
    margin-top: 3px;
    padding-top: 9px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px 10px;
    text-align: center;
  }

  .page-shop .product-meta span,
  .page-shop .product-meta strong {
    font-size: 11px;
    line-height: 1.35;
    text-align: center;
  }

  .page-shop .product-card-actions {
    width: 100%;
    grid-template-columns: 1fr !important;
    gap: 7px;
    margin-top: 3px;
  }

  .page-shop .product-detail-btn,
  .page-shop .product-quick-add {
    width: 100%;
    min-height: 40px;
    padding: 8px 9px;
    font-size: 12px;
    line-height: 1.3;
    text-align: center;
  }

  /* Contextual dog recommendations also size to content instead of equal-height rows. */
  .dog-product-grid {
    grid-auto-rows: auto;
    align-items: start;
  }

  .dog-product-card {
    min-height: 0 !important;
    height: auto !important;
    padding: 19px 16px;
    align-self: start;
  }

  .dog-product-card .product-badge,
  .dog-product-card .dog-product-fit-badge {
    align-self: center;
    margin-inline: auto;
    white-space: normal;
    text-align: center;
  }

  .dog-product-card > strong {
    margin: 12px 0 8px !important;
    font-size: 20px;
    line-height: 1.28;
    white-space: normal;
  }

  .dog-product-card .product-detail-btn {
    min-height: 42px;
    white-space: normal;
    line-height: 1.3;
  }

  /* Reading and form exceptions: center the experience, not long Hebrew reading. */
  .knowledge-points,
  .product-page-info-grid ul,
  .product-detail-content,
  .product-detail-content p,
  .product-detail-content li,
  .product-detail-accordion summary,
  .article-modal-content,
  .article-modal-content p,
  .article-modal-content li,
  .product-modal-content,
  .product-modal-content p,
  .product-modal-content li,
  .cart-page,
  .cart-checkout-form,
  .cart-checkout-fields,
  .cart-checkout-fields label,
  .cart-checkout-fields input,
  .cart-checkout-fields textarea,
  .club-form,
  .club-form label,
  .club-form input,
  .club-form select,
  .club-form textarea,
  address {
    text-align: right !important;
  }

  .knowledge-points,
  .product-page-info-grid ul,
  .product-detail-content ul,
  .article-modal-content ul,
  .product-modal-content ul {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .page-shop .product-card,
  .page-shop .product-featured {
    grid-template-columns: 94px minmax(0, 1fr) !important;
  }

  .page-shop .product-card-body {
    padding: 13px 11px;
  }

  .page-shop .product-card h3 {
    font-size: 17px;
  }

  .page-shop .product-card-body > p:not(.product-type) {
    font-size: 11px;
  }
}

/* Mobile grid repair: the legacy featured card spanned two columns and created
   a zero-width implicit track, which made every second product look enormously
   stretched. Every phone-width product now owns one explicit row and column. */
@media (max-width: 760px) {
  .page-shop .product-grid {
    grid-auto-flow: row !important;
    grid-auto-columns: 100% !important;
  }

  .page-shop .product-card,
  .page-shop .product-featured {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
}

/* Footer media safeguard: the source image carries 1024x1024 HTML dimensions.
   Explicit auto height prevents that presentational hint from creating a huge
   empty footer on standalone mobile pages. */
.footer-brand-block img {
  height: auto !important;
  max-height: 230px;
  object-fit: contain;
}

@media (max-width: 760px) {
  .footer-brand-block img {
    width: min(200px, 58vw);
    height: auto !important;
    max-height: 200px;
  }
}

/* Mobile footer acceptance: keep the closing section on the same centered axis
   as the rest of the marketing experience and avoid a needlessly long stack. */
@media (max-width: 760px) {
  .footer-experience,
  .footer-columns,
  .footer-columns > div,
  .footer-columns h3,
  .footer-columns nav,
  .footer-bottom {
    text-align: center !important;
  }

  .footer-brand-block img {
    width: min(156px, 46vw);
    max-height: 156px;
    margin-bottom: 14px;
  }

  .footer-brand-block p {
    max-width: 18ch;
    margin-inline: auto;
    font-size: clamp(24px, 8vw, 32px);
    line-height: 1.2;
  }

  .footer-columns {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 18px;
    align-items: start;
  }

  .footer-columns nav {
    justify-items: center;
    gap: 9px;
  }

  .footer-columns > div:last-child {
    grid-column: 1 / -1;
    width: min(100%, 240px);
    justify-self: center;
  }

  .footer-bottom {
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  .footer-bottom small {
    width: 100%;
    max-width: 34ch;
    margin-inline: auto;
    line-height: 1.65;
  }
}

@media (max-width: 340px) {
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .footer-columns > div:last-child {
    grid-column: 1;
  }
}

/* Mobile floating-help acceptance: both actions remain available, but neither
   may cover a meaningful part of a product card. Joy stays the primary action
   through size and position, while its label moves to the accessible name. */
@media (max-width: 760px) {
  .advisor-float {
    right: 12px !important;
    left: auto !important;
    bottom: calc(12px + env(safe-area-inset-bottom)) !important;
    width: 62px !important;
    min-width: 62px !important;
    max-width: 62px !important;
    height: 62px !important;
    min-height: 62px !important;
    padding: 5px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 50% !important;
  }

  .advisor-float > span:last-child {
    display: none !important;
  }

  .advisor-float-icon,
  .joy-float-avatar {
    width: 50px !important;
    height: 50px !important;
    margin: 0 !important;
  }

  .whatsapp-float {
    left: 12px !important;
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;
    max-width: 50px !important;
  }

  body.mobile-product-bar-visible .advisor-float,
  body.mobile-product-bar-visible .whatsapp-float {
    bottom: calc(86px + env(safe-area-inset-bottom)) !important;
  }
}

@media (max-width: 340px) {
  .advisor-float {
    width: 58px !important;
    min-width: 58px !important;
    max-width: 58px !important;
    height: 58px !important;
    min-height: 58px !important;
  }

  .advisor-float-icon,
  .joy-float-avatar {
    width: 46px !important;
    height: 46px !important;
  }

  .whatsapp-float {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    max-width: 48px !important;
  }
}


/* v7.2.5 — F-07 final polish: clear affordance, compact Joy state and mixed-direction product titles. */
.reviews-links .reviews-all-link {
  background: rgba(21,82,50,.065);
  color: var(--green);
  border-color: rgba(21,82,50,.24);
  box-shadow: 0 10px 26px rgba(21,82,50,.07);
}
.reviews-links .reviews-all-link:hover,
.reviews-links .reviews-all-link:focus-visible {
  background: rgba(21,82,50,.11);
  border-color: rgba(21,82,50,.38);
  box-shadow: 0 14px 34px rgba(21,82,50,.11);
}

/* Do not show a second Joy launcher while the Joy conversation itself is open. */
body:has(.advisor-chat.open) .advisor-float {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Keep English brand/model runs intact when a product title continues in Hebrew. */
.product-title-ltr {
  direction: ltr;
  unicode-bidi: isolate;
  white-space: nowrap;
  display: inline-block;
}
.product-title-rtl {
  direction: rtl;
  unicode-bidi: isolate;
}


/* === mobile-acceptance-v7-1-1.css === */
/* Dpet v7.1.1 — phone-only acceptance corrections from hands-on review */
@media (max-width: 760px) {
  /* Keep meaningful Hebrew phrases together without forcing the whole title. */
  .hero-title-line,
  .hero-pet-phrase,
  .footer-family-phrase {
    display: inline-block;
    white-space: nowrap !important;
  }

  .hero h1,
  .hero .hero-title {
    font-size: clamp(31px, 9.8vw, 45px) !important;
    line-height: 1.12 !important;
    letter-spacing: -.025em;
  }

  /* Joy is a clear labelled action, not an unexplained avatar circle. */
  .advisor-float {
    right: 12px !important;
    left: auto !important;
    width: auto !important;
    min-width: 82px !important;
    max-width: 88px !important;
    height: 54px !important;
    min-height: 54px !important;
    padding: 6px 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    border-radius: 999px !important;
  }

  .advisor-float > span:last-child {
    display: grid !important;
    min-width: 0;
    align-items: center;
    text-align: right;
  }

  .advisor-float strong {
    display: block !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    white-space: nowrap;
  }

  .advisor-float small { display: none !important; }

  .advisor-float .advisor-full-label { display: none !important; }

  .advisor-float-icon,
  .joy-float-avatar {
    width: 38px !important;
    height: 38px !important;
    flex: 0 0 38px;
  }

  body.mobile-product-bar-visible .advisor-float {
    bottom: calc(86px + env(safe-area-inset-bottom)) !important;
  }

  /* Mobile navigation: each destination is a separate card with breathing room. */
  .nav.open {
    gap: 14px !important;
    padding: 16px !important;
  }

  .nav.open .nav-group {
    width: 100%;
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 10px !important;
  }

  .nav.open a:not(.nav-brand) {
    width: 100%;
    margin: 0 !important;
    padding: 13px 15px !important;
    border: 1px solid rgba(21,82,50,.10);
    border-radius: 17px !important;
    background: rgba(255,255,255,.72) !important;
    box-shadow: 0 8px 24px rgba(30,30,30,.035);
    text-align: center;
  }

  /* Promise numbers stay anchored right while the explanation stays centered. */
  .promise-steps > div {
    position: relative;
    min-height: 116px;
    padding: 22px 62px 20px 18px !important;
    display: grid;
    align-content: center;
    justify-items: center;
    text-align: center !important;
  }

  .promise-steps > div > span {
    position: absolute;
    top: 15px;
    right: 14px;
    margin: 0 !important;
  }

  .promise-steps > div > strong,
  .promise-steps > div > p {
    width: 100%;
    margin-right: 0 !important;
    text-align: center !important;
  }

  /* Joy and her badge share one exact center axis in the smart-entry card. */
  .path-card-focused:has(.joy-card-visual)::after,
  .path-card-focused .joy-card-visual {
    right: auto !important;
    left: 50% !important;
    margin: 0 !important;
    transform: translateX(-50%) !important;
  }

  .path-card-focused .joy-card-visual img {
    transform: translateY(-22px) !important;
  }

  .path-card-focused:has(.joy-card-visual) strong {
    margin-top: 102px !important;
  }

  /* Singular CTAs and selected copy blocks must sit on the same visual axis. */
  .why-proof-card .btn,
  .care-flow-actions-clean .btn {
    display: inline-flex;
    width: min(100%, 320px) !important;
    margin-inline: auto !important;
    justify-content: center;
    text-align: center;
  }

  .club-card > h3 {
    width: 100%;
    max-width: 25ch;
    margin-inline: auto !important;
    text-align: center !important;
    text-wrap: pretty;
  }

  .contact-promise {
    display: grid !important;
    justify-items: center;
    text-align: center !important;
  }

  .contact-promise > span {
    margin: 0 auto 8px !important;
    display: grid;
    place-items: center;
  }

  /* Smart shop architecture: centered copy, symbols and actions. */
  .shop-category-architecture,
  .category-architecture-copy,
  .category-map-card {
    text-align: center !important;
  }

  .category-map-card {
    align-items: center !important;
    justify-items: center;
  }

  .category-map-card > span,
  .category-map-card > button {
    align-self: center !important;
    margin-inline: auto !important;
  }

  .category-map-card p,
  .category-map-card h4 {
    width: 100%;
    text-align: center !important;
  }

  /* The club logo must preserve its aspect ratio inside the bottom sheet. */
  .club-modal-head img {
    display: block !important;
    width: min(112px, 31vw) !important;
    height: auto !important;
    max-height: 112px !important;
    margin: 0 auto 14px !important;
    object-fit: contain !important;
    aspect-ratio: auto !important;
  }

  .club-modal-head {
    overflow: visible;
  }

  /* Footer motto wraps only at meaningful phrase boundaries. */
  .footer-brand-block p {
    max-width: 20ch !important;
    text-wrap: balance;
  }
}

@media (max-width: 350px) {
  .advisor-float {
    min-width: 78px !important;
    height: 52px !important;
    min-height: 52px !important;
  }

  .advisor-float-icon,
  .joy-float-avatar {
    width: 42px !important;
    height: 42px !important;
    flex-basis: 42px;
  }

  .hero h1,
  .hero .hero-title {
    font-size: 29px !important;
  }
}

/* v7.2.2 — MOB-01: short-height mobile float containment.
   This is deliberately height-gated so accepted 390/430 portrait layouts stay unchanged. */
@media (max-width: 430px) and (max-height: 640px) {
  .advisor-float {
    right: 12px !important;
    left: auto !important;
    bottom: calc(12px + env(safe-area-inset-bottom)) !important;
    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    padding: 3px !important;
    gap: 0 !important;
    display: grid !important;
    place-items: center !important;
  }
  .advisor-float > span:last-child { display: none !important; }
  .advisor-float-icon,
  .joy-float-avatar {
    width: 42px !important;
    height: 42px !important;
    flex: 0 0 42px !important;
    margin: 0 !important;
  }

  .whatsapp-float {
    right: auto !important;
    left: 12px !important;
    bottom: calc(12px + env(safe-area-inset-bottom)) !important;
    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
  }

  body.mobile-product-bar-visible .advisor-float,
  body.mobile-product-bar-visible .whatsapp-float {
    bottom: calc(76px + env(safe-area-inset-bottom)) !important;
  }

  .advisor-chat {
    top: calc(8px + env(safe-area-inset-top)) !important;
    right: 8px !important;
    left: 8px !important;
    bottom: calc(68px + env(safe-area-inset-bottom)) !important;
    width: auto !important;
    height: auto !important;
    max-height: none !important;
  }
  body.mobile-product-bar-visible .advisor-chat {
    bottom: calc(136px + env(safe-area-inset-bottom)) !important;
  }
  .advisor-chat.open { display: flex !important; }
  .advisor-chat-card {
    width: 100%;
    height: 100%;
    max-height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }
  .advisor-chat-head {
    flex: 0 0 auto;
    padding: 10px 12px;
    gap: 8px;
  }
  .advisor-chat-head > div { gap: 8px; min-width: 0; }
  .advisor-chat-head img { max-height: 42px; }
  .advisor-chat-head strong { font-size: 14px; }
  .advisor-chat-head small { font-size: 11px; }
  .advisor-chat-head button,
  .advisor-chat-head .advisor-close-chat,
  .advisor-chat-head .advisor-restart-chat {
    min-height: 44px;
    height: 44px;
  }
  .advisor-chat-head .advisor-close-chat { width: 44px; min-width: 44px; }
  .advisor-chat-head .advisor-restart-chat { padding-inline: 10px; }
  .advisor-chat-body {
    height: auto !important;
    min-height: 0 !important;
    flex: 1 1 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 14px;
  }
  .advisor-chat-actions {
    flex: 0 1 auto;
    max-height: 126px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 10px 12px 12px;
  }
  .advisor-action { min-height: 44px; }
}


/* === desktop-acceptance-v7-1-3.css === */
/* Dpet v7.1.3 — desktop acceptance and premium UX polish */

/* Preserve meaningful Hebrew phrases on desktop without locking whole paragraphs. */
@media (min-width: 761px) {
  .hero-title-line,
  .hero-pet-phrase,
  .footer-family-phrase {
    display: inline-block;
    white-space: nowrap !important;
  }

  .hero h1,
  .hero .hero-title {
    max-width: 15ch;
    margin-inline: auto;
    text-wrap: balance;
  }

  .section-head,
  .section-heading,
  .page-context-strip > div {
    text-wrap: balance;
  }

  /* Keep large marketing sections visually intentional rather than over-wide. */
  .section-head p,
  .section-heading p,
  .why-human-copy .lead,
  .smart-entry-copy p,
  .club-copy p {
    max-width: 68ch;
  }

  /* Product grids should align by content, not stretch cards into tall columns. */
  .product-grid,
  .home-products-grid,
  .home-knowledge-guides {
    align-items: start;
  }

  .product-card,
  .home-product-card,
  .home-knowledge-guides article {
    min-height: 0 !important;
    height: auto;
  }

  .product-card-body {
    min-width: 0;
  }

  .product-card h3,
  .product-card-body > p,
  .unit-price {
    overflow-wrap: anywhere;
  }

  /* Clear but restrained desktop interaction feedback. */
  .product-card,
  .category-map-card,
  .path-card,
  .why-proof-points article,
  .home-product-card,
  .home-knowledge-guides article {
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  }

  .product-card:hover,
  .category-map-card:hover,
  .path-card:hover,
  .why-proof-points article:hover,
  .home-product-card:hover,
  .home-knowledge-guides article:hover {
    transform: translateY(-3px);
  }

  /* Joy remains compact, readable and never becomes an oversized pill. */
  .advisor-float {
    width: auto !important;
    max-width: 210px !important;
    min-height: 58px !important;
    align-items: center;
  }

  .advisor-float strong {
    white-space: nowrap;
  }

  /* Protect logos in desktop dialogs from inherited dimensions. */
  .club-modal-head img {
    display: block !important;
    width: 120px !important;
    height: auto !important;
    max-height: 120px !important;
    margin: 0 auto 16px !important;
    object-fit: contain !important;
  }

  /* Footer phrase may wrap only between meaningful units. */
  .footer-brand-block p {
    text-wrap: balance;
  }
}

/* Compact desktop and tablet landscape: preserve breathing room without overflow. */
@media (min-width: 981px) and (max-width: 1180px) {
  .hero h1,
  .hero .hero-title {
    font-size: clamp(48px, 6vw, 70px) !important;
  }

  .section,
  .shop-section,
  .product-page-section {
    padding-inline: clamp(20px, 3vw, 38px);
  }

  .site-header .header-actions {
    left: 18px !important;
  }
}

/* Wide desktop: cap reading widths and prevent empty-looking stretched layouts. */
@media (min-width: 1440px) {
  .container,
  .site-shell,
  .section-inner {
    max-width: 1320px;
    margin-inline: auto;
  }

  .hero-content {
    max-width: 1040px;
    margin-inline: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-card,
  .category-map-card,
  .path-card,
  .why-proof-points article,
  .home-product-card,
  .home-knowledge-guides article {
    transition: none !important;
  }
}


/* === acceptance-v7-1-4.css === */
/* Dpet v7.1.4 — site-wide Joy handoff and smart-entry visual acceptance */

/* The Joy illustration and its copy should feel like one composition, not two distant blocks. */
.path-card-focused:has(.joy-card-visual) strong {
  margin-top: 0 !important;
}

@media (max-width: 760px) {
  .path-card-focused:has(.joy-card-visual) {
    min-height: 258px !important;
    padding-top: 112px !important;
  }

  .path-card-focused:has(.joy-card-visual) .path-card-text {
    margin-top: 8px !important;
  }
}

@media (min-width: 761px) {
  .path-card-focused:has(.joy-card-visual) {
    padding-top: 132px !important;
  }
}


/* === acceptance-v7-1-5.css === */
/* Dpet v7.1.5 — direct shopping paths and homepage quick search */
.home-quick-search { padding: clamp(24px, 4vw, 52px) 20px; background: linear-gradient(180deg, #f7fbfa 0%, #ffffff 100%); }
.home-quick-search-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: minmax(240px, .75fr) minmax(420px, 1.25fr); gap: clamp(24px, 5vw, 64px); align-items: center; padding: clamp(24px, 3vw, 38px); border: 1px solid rgba(26,91,77,.13); border-radius: 28px; background: rgba(255,255,255,.94); box-shadow: 0 18px 50px rgba(20,69,59,.08); }
.home-quick-search-copy h2 { margin: 5px 0 8px; }
.home-quick-search-copy p:last-child { margin: 0; color: var(--muted, #52645f); line-height: 1.7; }
.home-quick-search-form { width: 100%; }
.home-quick-search-control { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 8px; border: 1px solid rgba(26,91,77,.22); border-radius: 18px; background: #fff; box-shadow: 0 8px 24px rgba(20,69,59,.07); }
.home-quick-search-icon { width: 40px; height: 40px; display: grid; place-items: center; font-size: 28px; color: #1a5b4d; transform: rotate(-15deg); }
.home-quick-search-control input { min-width: 0; width: 100%; border: 0; outline: 0; padding: 12px 4px; font: inherit; font-size: 1rem; background: transparent; color: inherit; }
.home-quick-search-control input::placeholder { color: #71807c; opacity: 1; }
.home-quick-search-control .btn { min-height: 46px; white-space: nowrap; }
.home-quick-search-hint { margin: 8px 6px 0; font-size: .85rem; color: #687772; }
.world-category-card[data-direct-shop] { cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.world-category-card[data-direct-shop]:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(22,75,64,.11); border-color: rgba(26,91,77,.26); }
.world-category-card[data-direct-shop]:focus-visible { outline: 3px solid rgba(26,91,77,.28); outline-offset: 4px; }
.world-category-card[data-direct-shop]::after { content: 'לצפייה במוצרים ←'; display: block; margin-top: auto; padding-top: 12px; font-weight: 800; color: #1a5b4d; font-size: .9rem; }
@media (max-width: 760px) {
  .home-quick-search { padding: 20px 14px 30px; }
  .home-quick-search-inner { grid-template-columns: 1fr; gap: 18px; padding: 22px 16px; border-radius: 22px; text-align: center; }
  .home-quick-search-control { grid-template-columns: auto minmax(0,1fr); padding: 7px; }
  .home-quick-search-control .btn { grid-column: 1 / -1; width: 100%; }
  .home-quick-search-hint { text-align: center; line-height: 1.55; }
  .world-category-card[data-direct-shop]::after { text-align: center; }
}


/* === acceptance-v7-1-6.css === */
/* Dpet v7.1.6 — compact hero-integrated quick search */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-quick-search-form {
  width: min(100%, 650px);
  margin-top: 18px;
}

.hero-quick-search-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  align-items: center;
  gap: 6px;
  min-height: 58px;
  padding: 6px 7px 6px 14px;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 14px 38px rgba(0,0,0,.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-quick-search-control:focus-within {
  border-color: rgba(245,192,135,.95);
  box-shadow: 0 0 0 4px rgba(245,192,135,.18), 0 16px 42px rgba(0,0,0,.2);
}

.hero-quick-search-control input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  padding: 10px 12px;
  background: transparent;
  color: #26342f;
  font: inherit;
  font-size: clamp(.91rem, 1.4vw, 1rem);
  line-height: 1.35;
}

.hero-quick-search-control input::placeholder {
  color: #66756f;
  opacity: 1;
}

.hero-quick-search-submit {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--green, #155232);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transform: rotate(-15deg);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.hero-quick-search-submit:hover {
  background: #1b6640;
  transform: rotate(-15deg) translateY(-1px);
  box-shadow: 0 8px 18px rgba(21,82,50,.24);
}

.hero-quick-search-submit:focus-visible {
  outline: 3px solid rgba(245,192,135,.95);
  outline-offset: 2px;
}

@media (min-width: 761px) {
  .hero-content {
    transform: translateY(-12px);
  }
  .hero-actions {
    margin-top: 28px;
  }
  .trust-line {
    margin-top: 17px;
  }
}

@media (max-width: 760px) {
  .hero {
    padding-top: calc(var(--header-h) + 24px);
    padding-bottom: 58px;
  }
  .hero-content {
    width: 100%;
    align-items: center;
    transform: translateY(-8px);
  }
  .hero-actions {
    margin-top: 25px;
  }
  .hero-quick-search-form {
    width: min(100%, 360px);
    margin: 16px auto 0;
  }
  .hero-quick-search-control {
    grid-template-columns: minmax(0, 1fr) 42px;
    min-height: 54px;
    padding: 5px 6px 5px 10px;
  }
  .hero-quick-search-control input {
    padding: 9px 8px;
    font-size: .86rem;
    text-align: right;
  }
  .hero-quick-search-submit {
    width: 42px;
    height: 42px;
    font-size: 24px;
  }
  .trust-line {
    margin-top: 17px !important;
  }
}

@media (max-width: 360px) {
  .hero-quick-search-control input {
    font-size: .8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-quick-search-submit { transition: none; }
}


/* === acceptance-v7-1-7.css === */
/* Dpet v7.1.7 — mobile search usability fix */

/* Keep the accessible label available to screen readers without exposing it visually. */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 760px) {
  /* iOS zooms focused fields below 16px, which made the entire hero look distorted. */
  .hero-quick-search-control input {
    font-size: 16px;
    line-height: 1.35;
  }

  .hero-quick-search-control input::placeholder {
    font-size: 16px;
  }

  /* Keep the control stable while the visual viewport changes for the keyboard. */
  .hero-quick-search-form,
  .hero-quick-search-control {
    max-width: 100%;
  }

  .hero-quick-search-control:focus-within {
    transform: none;
  }
}

@media (max-width: 360px) {
  .hero-quick-search-control input,
  .hero-quick-search-control input::placeholder {
    font-size: 16px;
  }
}


/* === acceptance-v7-1-8.css === */
/*
 * Dpet v7.1.8 — Desktop Recovery + Living Worlds
 * Loaded last. This layer restores desktop proportions after the mobile-first
 * acceptance rounds and upgrades the four world cards with approved lifestyle
 * photography while preserving the already-approved mobile language.
 */

/* ---------- Shared world-card rebuild ---------- */
.world-grid-premium {
  align-items: stretch;
}

.world-grid-premium .world-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  padding: 0 0 22px !important;
  display: grid !important;
  grid-template-rows: 220px minmax(0, 1fr) auto;
  align-content: stretch;
  border: 1px solid rgba(21, 82, 50, .09);
  border-radius: 32px;
  background: rgba(255, 255, 255, .90) !important;
  box-shadow: 0 22px 64px rgba(30, 30, 30, .085);
  color: var(--graphite);
  transform: translateZ(0);
}

.world-grid-premium .world-card::before,
.world-grid-premium .world-card::after {
  display: none !important;
}

.world-grid-premium .world-mark {
  display: none !important;
}

.world-grid-premium .world-image {
  order: initial !important;
  width: 100% !important;
  height: 220px !important;
  margin: 0 !important;
  border-radius: 30px 30px 0 0 !important;
  overflow: hidden;
  display: block !important;
  background: #e9ece6 !important;
  box-shadow: none !important;
}

.world-grid-premium .world-image img {
  width: 100%;
  height: 100%;
  max-width: none;
  display: block;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform .45s cubic-bezier(.2,.7,.2,1), filter .35s ease;
}

.world-grid-premium .world-dogs .world-image img { object-position: 52% 50%; }
.world-grid-premium .world-cats .world-image img { object-position: 48% 54%; }
.world-grid-premium .world-birds .world-image img { object-position: 66% 46%; }
.world-grid-premium .world-small .world-image img { object-position: 50% 50%; }

.world-grid-premium .world-card > div {
  min-width: 0;
  padding: 22px 22px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.world-grid-premium .world-label {
  margin: 0 0 8px !important;
  color: var(--orange) !important;
  font-size: 14px;
  line-height: 1.25;
}

.world-grid-premium .world-card h3 {
  margin: 0 0 9px !important;
  font-size: clamp(25px, 2vw, 29px);
  line-height: 1.18;
  text-align: center !important;
  text-wrap: balance;
}

.world-grid-premium .world-card > div > p:last-child {
  width: 100%;
  max-width: 29ch;
  margin: 0 auto !important;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  text-align: center !important;
  text-wrap: pretty;
}

.world-grid-premium .world-card > strong {
  align-self: center !important;
  justify-self: center;
  width: fit-content;
  margin: 18px auto 0 !important;
  padding: 10px 18px;
  border: 1px solid rgba(21, 82, 50, .09);
  border-radius: var(--radius-pill);
  background: rgba(247, 243, 234, .92) !important;
  color: var(--green);
  font-weight: 400;
  text-align: center !important;
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}

@media (hover: hover) and (pointer: fine) {
  .world-grid-premium .world-card:hover {
    transform: translateY(-5px) !important;
    border-color: rgba(21, 82, 50, .16);
    box-shadow: 0 30px 78px rgba(30, 30, 30, .13);
  }

  .world-grid-premium .world-card:hover .world-image img {
    transform: scale(1.045);
    filter: saturate(1.03) contrast(1.02);
  }

  .world-grid-premium .world-card:hover > strong {
    transform: translateY(-1px) !important;
    background: #fff !important;
    box-shadow: 0 10px 24px rgba(21, 82, 50, .10);
  }
}

/* ---------- Desktop recovery ---------- */
@media (min-width: 981px) {
  html,
  body.acceptance-v7-1 {
    overflow-x: clip;
  }

  .site-header {
    min-width: 0;
  }

  .site-header .nav {
    width: min(1000px, calc(100vw - 220px));
  }

  .site-header .nav-group {
    min-width: 0;
  }

  .site-header .nav a:not(.nav-brand) {
    white-space: nowrap;
  }

  .page-home .hero {
    min-height: clamp(730px, 88svh, 900px);
    padding: calc(var(--header-h) + 42px) clamp(54px, 7vw, 108px) 66px;
    align-items: center;
  }

  .page-home .hero-content {
    width: min(690px, 50vw);
    max-width: 690px !important;
    margin: 0;
    align-items: flex-start !important;
    text-align: right;
    transform: translateY(-4px) !important;
  }

  .page-home .hero .eyebrow {
    margin-bottom: 12px;
  }

  .page-home .hero h1,
  .page-home .hero .hero-title {
    width: 100%;
    max-width: none !important;
    margin: 0;
    font-size: clamp(56px, 5.7vw, 82px) !important;
    line-height: 1.045 !important;
    letter-spacing: -.026em;
    text-align: right;
    text-wrap: initial;
  }

  .page-home .hero-title-line,
  .page-home .hero-pet-phrase {
    white-space: nowrap !important;
  }

  .page-home .hero-copy {
    width: 100%;
    max-width: 630px;
    margin: 22px 0 0;
    font-size: clamp(18px, 1.65vw, 23px);
    line-height: 1.68;
    text-align: right;
  }

  .page-home .hero-actions {
    width: 100%;
    margin-top: 27px;
    justify-content: flex-start;
    gap: 13px;
  }

  .page-home .hero-actions .btn {
    min-width: 168px;
  }

  .page-home .hero-quick-search-form {
    width: min(100%, 610px);
    margin: 17px 0 0;
  }

  .page-home .hero-quick-search-control {
    min-height: 56px;
  }

  .page-home .trust-line {
    width: 100%;
    max-width: 610px;
    margin: 16px 0 0 !important;
    line-height: 1.65;
    text-align: right;
  }

  .page-home .scroll-cue {
    bottom: 22px;
  }

  .section-inner,
  .page-context-strip > div {
    width: min(1320px, calc(100% - 72px));
    max-width: 1320px;
    margin-inline: auto;
  }

  .section-heading,
  .buying-paths-head,
  .home-featured-head,
  .home-knowledge-head,
  .knowledge-head {
    max-width: 900px;
    margin-inline: auto;
  }

  .worlds-heading {
    max-width: 860px;
    margin-inline: auto;
    margin-bottom: 38px;
    text-align: center;
  }

  .worlds-heading .section-intro {
    max-width: 700px;
  }

  .world-grid-premium {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }

  .world-grid-premium .world-card {
    min-height: 466px !important;
  }

  .world-explorer {
    margin-top: 34px;
  }

  /* Standalone pages must keep stable desktop reading widths. */
  .page-shop #shop,
  .page-product #productPage,
  .page-knowledge #knowledge {
    padding-top: clamp(54px, 5.4vw, 82px);
  }

  .page-shop .shop-demo-head,
  .page-product .product-page-head,
  .page-knowledge .knowledge-head {
    min-width: 0;
  }

  .page-shop .standalone-page-title,
  .page-knowledge .standalone-page-title {
    font-size: clamp(50px, 5.1vw, 74px);
    line-height: 1.04;
    text-wrap: balance;
  }

  .page-product .standalone-product-title {
    font-size: clamp(42px, 4.2vw, 64px);
    line-height: 1.08;
    text-wrap: balance;
  }

  .product-grid,
  .home-products-grid,
  .knowledge-grid,
  .home-knowledge-guides,
  .path-grid {
    align-items: stretch;
  }

  .product-card,
  .home-product-card,
  .knowledge-card,
  .path-card,
  .category-map-card {
    min-width: 0;
  }
}

/* ---------- Compact desktop / landscape tablet ---------- */
@media (min-width: 761px) and (max-width: 1180px) {
  .world-grid-premium {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }

  .world-grid-premium .world-card {
    min-height: 450px !important;
    grid-template-rows: 230px minmax(0, 1fr) auto;
  }

  .world-grid-premium .world-image {
    height: 230px !important;
  }
}

@media (min-width: 981px) and (max-width: 1180px) {
  .page-home .hero {
    min-height: 760px;
    padding-inline: 48px;
  }

  .page-home .hero-content {
    width: min(620px, 57vw);
  }

  .page-home .hero h1,
  .page-home .hero .hero-title {
    font-size: clamp(50px, 6vw, 68px) !important;
  }
}

/* ---------- Mobile world cards ---------- */
@media (max-width: 760px) {
  .world-grid-premium {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .world-grid-premium .world-card {
    min-height: 0 !important;
    grid-template-rows: 205px auto auto;
    border-radius: 28px;
    padding-bottom: 20px !important;
  }

  .world-grid-premium .world-image {
    height: 205px !important;
    border-radius: 27px 27px 0 0 !important;
  }

  .world-grid-premium .world-card > div {
    padding: 20px 18px 0;
  }

  .world-grid-premium .world-card h3 {
    font-size: 27px !important;
  }

  .world-grid-premium .world-card > div > p:last-child {
    max-width: 31ch;
    font-size: 15px;
  }

  .world-grid-premium .world-card > strong {
    margin-top: 16px !important;
  }
}

@media (max-width: 390px) {
  .world-grid-premium .world-card {
    grid-template-rows: 188px auto auto;
  }

  .world-grid-premium .world-image {
    height: 188px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .world-grid-premium .world-image img,
  .world-grid-premium .world-card,
  .world-grid-premium .world-card > strong {
    transition: none !important;
  }
}

/* Reset legacy cut-out animal rules; the v7.1.8 images are full-bleed media. */
.world-grid-premium .world-card .world-image {
  max-width: none !important;
  justify-self: stretch !important;
  align-self: stretch !important;
}

.world-grid-premium .world-card .world-image img,
.world-grid-premium .world-dogs .world-image img,
.world-grid-premium .world-cats .world-image img,
.world-grid-premium .world-birds .world-image img,
.world-grid-premium .world-small .world-image img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  filter: none !important;
  transform: scale(1.001) !important;
}

@media (hover: hover) and (pointer: fine) {
  .world-grid-premium .world-card:hover .world-image img,
  .world-grid-premium .world-dogs:hover .world-image img,
  .world-grid-premium .world-cats:hover .world-image img,
  .world-grid-premium .world-birds:hover .world-image img,
  .world-grid-premium .world-small:hover .world-image img {
    transform: scale(1.045) !important;
  }
}

.world-grid-premium .world-card {
  grid-template-columns: minmax(0, 1fr) !important;
  justify-items: stretch !important;
  align-items: stretch !important;
}

.world-grid-premium .world-card > div,
.world-grid-premium .world-card > strong {
  justify-self: center;
}


/* === acceptance-v7-1-9.css === */
/*
 * Dpet v7.1.9 — Desktop stabilization + mobile install experience
 * Loaded last. This layer intentionally avoids broad mobile rewrites.
 */

/* The standalone shop header no longer needs a second explanatory card. */
.page-shop .shop-demo-head {
  grid-template-columns: minmax(0, 1fr) !important;
}
.page-shop .shop-demo-head > div:first-child {
  width: min(100%, 860px);
  margin-inline: auto;
  text-align: center;
}
.page-shop .shop-demo-head .lead {
  max-width: 720px;
  margin-inline: auto;
}

/* ---------- Stable desktop composition ---------- */
@media (min-width: 981px) {
  body.acceptance-v7-1 {
    overflow-x: clip;
  }

  .site-header {
    padding-inline: clamp(24px, 4vw, 64px);
  }

  .site-header .nav {
    width: min(980px, calc(100vw - 210px));
    gap: clamp(10px, 1.3vw, 18px);
  }

  .site-header .nav-group {
    gap: clamp(10px, 1.45vw, 23px);
  }

  .site-header .nav a:not(.nav-brand) {
    font-size: clamp(14px, 1.06vw, 16px);
    white-space: nowrap;
  }

  .page-home .hero {
    min-height: clamp(720px, 88svh, 880px);
    padding: calc(var(--header-h) + 34px) clamp(46px, 6.2vw, 96px) 62px;
  }

  .page-home .hero-content {
    width: min(650px, 52vw);
    max-width: 650px !important;
    margin: 0;
    transform: translateY(-2px) !important;
  }

  .page-home .hero h1,
  .page-home .hero .hero-title {
    width: 100%;
    max-width: 650px !important;
    font-size: clamp(54px, 5.15vw, 76px) !important;
    line-height: 1.045 !important;
    letter-spacing: -.026em;
    text-wrap: initial;
  }

  .page-home .hero-title-line,
  .page-home .hero-pet-phrase {
    white-space: nowrap !important;
  }

  .page-home .hero-copy {
    max-width: 610px;
    margin-top: 20px;
    font-size: clamp(18px, 1.55vw, 22px);
    line-height: 1.62;
  }

  .page-home .hero-actions {
    margin-top: 24px;
    gap: 12px;
  }

  .page-home .hero-actions .btn {
    min-width: 164px;
  }

  .page-home .hero-quick-search-form {
    width: min(100%, 570px);
    margin-top: 16px;
  }

  .page-home .hero-quick-search-control {
    min-height: 56px;
  }

  .page-home .trust-line {
    max-width: 590px;
    margin-top: 14px !important;
  }

  .section-inner,
  .page-context-strip > div {
    width: min(1280px, calc(100% - 64px));
    max-width: 1280px;
  }

  .section-heading,
  .buying-paths-head,
  .worlds-heading,
  .home-featured-head,
  .home-knowledge-head,
  .knowledge-head,
  .product-page-head {
    max-width: 860px;
    margin-inline: auto;
  }

  .page-shop .standalone-page-title,
  .page-knowledge .standalone-page-title {
    font-size: clamp(48px, 4.75vw, 68px);
    line-height: 1.055;
  }

  .page-product .standalone-product-title {
    font-size: clamp(42px, 4.2vw, 62px);
    line-height: 1.08;
  }

  .page-shop .shop-experience,
  .page-product .product-page-inner,
  .page-knowledge .knowledge-inner {
    min-width: 0;
  }

  .product-grid,
  .home-products-grid,
  .knowledge-grid,
  .home-knowledge-guides,
  .path-grid,
  .world-grid-premium {
    min-width: 0;
    align-items: stretch;
  }

  .product-card,
  .home-product-card,
  .knowledge-card,
  .path-card,
  .world-card,
  .category-map-card {
    min-width: 0;
  }
}

/* Compact desktop: preserve readable hero and avoid cramped four-card rows. */
@media (min-width: 981px) and (max-width: 1279px) {
  .page-home .hero {
    padding-inline: 42px;
  }

  .page-home .hero-content {
    width: min(610px, 59vw);
  }

  .page-home .hero h1,
  .page-home .hero .hero-title {
    max-width: 610px !important;
    font-size: clamp(52px, 5.7vw, 66px) !important;
  }

  .world-grid-premium {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }

  .world-grid-premium .world-card {
    min-height: 448px !important;
    grid-template-rows: 226px minmax(0, 1fr) auto;
  }

  .world-grid-premium .world-image {
    height: 226px !important;
  }
}

@media (min-width: 1280px) {
  .world-grid-premium {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1680px) {
  .page-home .hero-content {
    width: min(680px, 44vw);
    max-width: 680px !important;
  }

  .page-home .hero h1,
  .page-home .hero .hero-title {
    max-width: 680px !important;
    font-size: 78px !important;
  }
}

/* ---------- Mobile quick-search stability ---------- */
@media (max-width: 760px) {
  .page-home .hero {
    height: auto !important;
    min-height: 100svh;
    contain: layout paint;
  }

  body.home-search-active .page-home .hero,
  body.home-search-active .hero {
    min-height: var(--dpet-stable-hero-height, 100svh) !important;
  }

  .hero-quick-search-form,
  .hero-quick-search-control {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero-quick-search-control {
    grid-template-columns: minmax(0, 1fr) 44px;
    padding-inline: 8px 6px;
  }

  .hero-quick-search-control input,
  .hero-quick-search-control input::placeholder {
    font-size: 16px !important;
    line-height: 1.35;
  }

  .hero-quick-search-control input {
    min-width: 0;
    width: 100%;
    padding-inline: 9px 5px;
  }

  .hero-quick-search-control:focus-within {
    transform: none !important;
  }
}

@media (max-width: 345px) {
  .hero-quick-search-control input {
    padding-inline: 6px 2px;
  }
}

/* ---------- Mobile-only add-to-home-screen experience ---------- */
.mobile-install-section,
.install-guide-layer {
  display: none;
}

@media (max-width: 760px) {
  .mobile-install-section:not([hidden]) {
    display: block;
    padding: 10px 18px 28px;
    background: linear-gradient(180deg, var(--cream), #f3eee3);
  }

  .mobile-install-card {
    position: relative;
    width: min(100%, 430px);
    margin-inline: auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    border: 1px solid rgba(21,82,50,.11);
    border-radius: 28px;
    background: rgba(255,255,255,.88);
    box-shadow: 0 18px 54px rgba(30,30,30,.09);
    text-align: right;
  }

  .mobile-install-card > img {
    width: 58px;
    height: 58px;
    border-radius: 17px;
    object-fit: cover;
    box-shadow: 0 10px 24px rgba(21,82,50,.12);
  }

  .mobile-install-copy {
    min-width: 0;
  }

  .mobile-install-copy small {
    display: block;
    margin-bottom: 3px;
    color: var(--orange);
    font-size: 13px;
  }

  .mobile-install-copy strong {
    display: block;
    color: var(--graphite);
    font-size: 20px;
    line-height: 1.25;
  }

  .mobile-install-copy p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
  }

  .mobile-install-action {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--green);
    color: #fff;
    font: inherit;
    font-size: 16px;
    cursor: pointer;
  }

  .mobile-install-dismiss {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(21,82,50,.07);
    color: var(--green);
    font-size: 20px;
    cursor: pointer;
  }

  .install-guide-layer:not([hidden]) {
    position: fixed;
    inset: 0;
    z-index: 220;
    display: grid;
    place-items: end center;
    padding: 18px;
    background: rgba(8,20,15,.55);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
  }

  .install-guide-dialog {
    position: relative;
    width: min(100%, 430px);
    max-height: min(78svh, 640px);
    overflow: auto;
    padding: 26px 20px 22px;
    border-radius: 30px 30px 24px 24px;
    background: #fffdf8;
    box-shadow: 0 28px 90px rgba(0,0,0,.24);
    text-align: right;
  }

  .install-guide-dialog h2 {
    margin: 0;
    color: var(--graphite);
    font-size: 27px;
    line-height: 1.2;
  }

  .install-guide-dialog > p {
    margin: 10px 0 18px;
    color: var(--muted);
    line-height: 1.6;
  }

  .install-guide-steps {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .install-guide-steps li {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(21,82,50,.09);
    border-radius: 18px;
    background: #fff;
  }

  .install-guide-steps b {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: rgba(21,82,50,.09);
    color: var(--green);
  }

  .install-guide-close {
    width: 100%;
    min-height: 48px;
    margin-top: 18px;
    border: 1px solid rgba(21,82,50,.16);
    border-radius: var(--radius-pill);
    background: #fff;
    color: var(--green);
    font: inherit;
    font-size: 16px;
    cursor: pointer;
  }

  body.install-guide-open {
    overflow: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-install-action,
  .install-guide-layer {
    transition: none !important;
  }
}


/* === acceptance-v7-1-10.css === */
/*
 * Dpet v7.1.10 — install entry relocation and header acceptance
 * Loaded last. The promotional bottom card is removed; installation is now
 * discoverable from navigation without becoming part of the main nav hierarchy.
 */

.dpet-install-entry[hidden] {
  display: none !important;
}

.dpet-install-entry {
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.install-entry-svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: block;
}

.header-install-entry,
.mobile-nav-install-entry {
  display: none;
}

/* Desktop: separate compact action in the upper-right header corner. */
@media (min-width: 981px) {
  .header-install-entry:not([hidden]) {
    position: absolute;
    right: clamp(18px, 4vw, 64px);
    top: 50%;
    z-index: 2;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 15px;
    border: 1px solid rgba(21,82,50,.16);
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,.72);
    color: var(--green);
    box-shadow: 0 8px 28px rgba(16,37,29,.07);
    transform: translateY(-50%);
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  }

  .header-install-entry:hover {
    background: #fff;
    border-color: rgba(21,82,50,.27);
    box-shadow: 0 12px 34px rgba(16,37,29,.11);
    transform: translateY(calc(-50% - 1px));
  }

  .header-install-entry:active {
    transform: translateY(-50%) scale(.98);
  }
}

/* Compact desktop keeps the action as an icon so the centered nav stays untouched. */
@media (min-width: 981px) and (max-width: 1180px) {
  .header-install-entry:not([hidden]) {
    width: 46px;
    padding-inline: 0;
  }

  .header-install-entry .install-entry-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

/* Mobile: final action inside the hamburger menu, visually separated from navigation links. */
@media (max-width: 980px) {
  .nav.open .mobile-nav-install-entry:not([hidden]) {
    position: relative;
    order: 99;
    width: 100%;
    min-height: 50px;
    margin-top: 8px;
    padding: 13px 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid rgba(21,82,50,.16);
    border-radius: 17px;
    background: rgba(21,82,50,.075);
    color: var(--green);
    box-shadow: none;
    font-size: 15px;
    line-height: 1.3;
    text-align: center;
  }

  .nav.open .mobile-nav-install-entry::before {
    content: "";
    position: absolute;
    top: -12px;
    right: 8px;
    left: 8px;
    height: 1px;
    background: rgba(21,82,50,.10);
  }

  .nav.open .mobile-nav-install-entry:active {
    background: rgba(21,82,50,.13);
    transform: scale(.99);
  }
}

/* The former bottom promotion must never reserve layout space. */
.mobile-install-section {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .header-install-entry,
  .mobile-nav-install-entry {
    transition: none !important;
  }
}


/* Tablet menu uses the same truthful install guide as mobile. */
@media (min-width: 761px) and (max-width: 980px) {
  .install-guide-layer:not([hidden]) {
    position: fixed;
    inset: 0;
    z-index: 220;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(8,20,15,.55);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
  }

  .install-guide-dialog {
    width: min(100%, 480px);
    max-height: min(78svh, 640px);
    overflow: auto;
    padding: 28px 24px 24px;
    border-radius: 28px;
    background: #fffdf8;
    box-shadow: 0 28px 90px rgba(0,0,0,.24);
    text-align: right;
  }

  .install-guide-dialog h2 {
    margin: 0;
    color: var(--graphite);
    font-size: 29px;
    line-height: 1.2;
  }

  .install-guide-dialog > p {
    margin: 10px 0 18px;
    color: var(--muted);
    line-height: 1.6;
  }

  .install-guide-steps {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .install-guide-steps li {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(21,82,50,.09);
    border-radius: 18px;
    background: #fff;
  }

  .install-guide-steps b {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: rgba(21,82,50,.09);
    color: var(--green);
  }

  .install-guide-close {
    width: 100%;
    min-height: 48px;
    margin-top: 18px;
    border: 1px solid rgba(21,82,50,.16);
    border-radius: var(--radius-pill);
    background: #fff;
    color: var(--green);
    font: inherit;
    font-size: 16px;
    cursor: pointer;
  }
}


/* === acceptance-v7-1-11.css === */
/*
 * Dpet v7.1.11 — acceptance freeze polish
 * Loaded last. No new product feature is introduced here; this layer aligns
 * cross-device interaction, typography and component acceptance behaviour.
 */

:root {
  --dpet-control-min: 44px;
  --dpet-focus-ring: 0 0 0 4px rgba(34, 125, 82, .18);
  --dpet-section-anchor-offset: 104px;
}

/* Keyboard and switch-control acceptance across the full prototype. */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  box-shadow: var(--dpet-focus-ring);
}

:where(button, .btn, .header-cart, .menu-toggle, .joy-float, .dpet-install-entry) {
  min-height: var(--dpet-control-min);
}

:where(#buyingPaths, #worlds, #worldExplorer, #club, #why, #contact, #shop, #productGrid, #productPage, #knowledge) {
  scroll-margin-top: var(--dpet-section-anchor-offset);
}

/* Keep important Hebrew phrases intact without forcing narrow screens to overflow. */
.hero-pet-phrase,
.footer-family-phrase,
.nowrap {
  text-wrap: balance;
}

/* The longer approved install label remains a separate desktop utility. */
@media (min-width: 1181px) {
  .header-install-entry:not([hidden]) {
    max-width: min(250px, 20vw);
    padding-inline: 16px;
    white-space: nowrap;
  }

  .header-install-entry .install-entry-label {
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Premium world cards: shared image rhythm and predictable card geometry. */
.world-grid-premium .world-card {
  min-width: 0;
}

.world-grid-premium .world-image {
  overflow: hidden;
  background: rgba(255,255,255,.5);
}

.world-grid-premium .world-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.world-grid-premium .world-card > div,
.product-card-body,
.home-product-card-body {
  min-width: 0;
}

.world-grid-premium .world-card h3,
.world-grid-premium .world-card p,
.product-card h3,
.home-product-card h3 {
  overflow-wrap: anywhere;
}

/* Touch devices should not depend on hover to communicate interactivity. */
@media (hover: none) {
  .world-grid-premium .world-card:hover,
  .product-card:hover,
  .home-product-card:hover {
    transform: none;
  }
}

/* Mobile acceptance: stable controls, balanced copy and unclipped cards. */
@media (max-width: 760px) {
  :root {
    --dpet-section-anchor-offset: 84px;
  }

  .hero-title-line,
  .hero-pet-phrase {
    white-space: normal;
  }

  .hero-quick-search-control,
  .hero-quick-search-control input {
    min-width: 0;
  }

  .hero-quick-search-control input {
    font-size: 16px;
  }

  .world-grid-premium .world-card,
  .product-card,
  .home-product-card {
    width: 100%;
    max-width: 100%;
  }

  .footer-brand-block p {
    max-width: 28ch;
    margin-inline: auto;
    text-wrap: balance;
  }
}

/* Reduced-motion users retain state clarity without movement. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* The approved wording is intentionally long; compact desktop keeps the full
   accessible name while presenting an icon so navigation remains centered. */
@media (min-width: 981px) and (max-width: 1500px) {
  .header-install-entry:not([hidden]) {
    width: 46px;
    max-width: 46px;
    padding-inline: 0;
  }

  .header-install-entry .install-entry-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
}


/* === acceptance-v7-1-12.css === */
/* Dpet v7.1.12 — real customer reviews prototype */
.customer-reviews{background:linear-gradient(180deg,#f8fbf8 0%,#fff 100%);overflow:hidden}
.reviews-experience{display:grid;gap:28px}
.reviews-heading{max-width:760px;margin-inline:auto;text-align:center}
.reviews-heading .lead{max-width:680px;margin-inline:auto}
.google-rating-summary{display:inline-flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:16px;padding:10px 16px;border:1px solid rgba(20,82,50,.12);border-radius:999px;background:#fff;box-shadow:0 10px 28px rgba(19,72,45,.07)}
.google-mark{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;font-weight:800;background:#fff;border:1px solid #e6e9e7;color:#4285f4}
.review-stars{direction:ltr;color:#f7b500;letter-spacing:1px;font-size:1.05rem;white-space:nowrap}
.reviews-track{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(300px,390px);gap:18px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;padding:6px 4px 20px;scrollbar-width:thin;scrollbar-color:rgba(21,82,50,.28) transparent}
.review-card{scroll-snap-align:start;display:flex;flex-direction:column;min-height:255px;padding:22px;border:1px solid rgba(21,82,50,.1);border-radius:24px;background:#fff;box-shadow:0 14px 38px rgba(17,65,42,.08)}
.review-card-head{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;margin-bottom:18px}
.review-card-head h3{margin:0 0 5px;font-size:1.05rem}
.review-card-head small{align-self:start;color:#67736c}
.review-avatar{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#e7f1ea;color:#155232;font-weight:800;font-size:1.15rem}
.review-card blockquote{margin:0;font-style:normal;line-height:1.8;color:#34443b;font-size:1rem}
.reviews-swipe-hint{display:none;margin:-12px 0 0;text-align:center;color:#647068;font-size:.9rem}
.reviews-links{display:flex;justify-content:center}
.review-feedback-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:28px;padding:28px;border-radius:28px;background:#155232;color:#fff;box-shadow:0 18px 42px rgba(16,67,41,.16)}
.review-feedback-panel .section-kicker{color:#d9f0df}
.review-feedback-panel h3{margin:5px 0 8px;font-size:clamp(1.45rem,2.6vw,2rem)}
.review-feedback-panel p{margin-bottom:0;line-height:1.7;color:rgba(255,255,255,.86)}
.feedback-copy{max-width:650px}
.feedback-actions{display:grid;gap:12px;min-width:min(100%,340px)}
.review-feedback-panel .feedback-problem{background:transparent;color:#fff;border-color:rgba(255,255,255,.58)}
.review-feedback-panel .feedback-problem:hover{background:rgba(255,255,255,.09)}
@media (max-width:820px){
 .reviews-experience{gap:22px}
 .reviews-heading{text-align:center}
 .reviews-track{grid-auto-columns:min(86vw,340px);margin-inline:-20px;padding-inline:20px}
 .review-card{min-height:270px;padding:20px}
 .reviews-swipe-hint{display:block}
 .review-feedback-panel{grid-template-columns:1fr;text-align:center;padding:24px 18px}
 .feedback-actions{width:100%;min-width:0}
 .feedback-actions .btn{width:100%;white-space:normal;min-height:52px;line-height:1.35}
}
@media (min-width:1200px){.reviews-track{grid-auto-columns:minmax(340px,1fr)}.review-card:hover{transform:translateY(-3px);box-shadow:0 20px 46px rgba(17,65,42,.12)}}
@media (prefers-reduced-motion:no-preference){.review-card{transition:transform .2s ease,box-shadow .2s ease}}


/* === acceptance-v7-1-13.css === */
/* v7.1.13 — exhaustive UX-freeze acceptance layer */
#worldCategoryGrid .world-category-card[data-direct-shop] {
  cursor: pointer;
}
#worldCategoryGrid .world-category-card[data-direct-shop]:focus-visible {
  outline: 3px solid rgba(23, 113, 70, .34);
  outline-offset: 4px;
}
@media (max-width: 760px) {
  #worldCategoryGrid .world-category-card[data-direct-shop] { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  #worldCategoryGrid .world-category-card[data-direct-shop] { transition: none !important; }
}


/* === acceptance-v7-1-14.css === */
/* Dpet v7.1.14 — species-first worlds + unmistakable CTA affordance */
.world-species-note{display:block;margin-top:10px;font-size:.86rem;line-height:1.65;color:var(--muted,#5f6f69);font-weight:600}
.species-group-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.species-group-card{width:100%;font:inherit;text-align:right;color:inherit;background:#fff;border:1px solid rgba(26,91,77,.14);cursor:pointer;min-height:220px;display:flex;flex-direction:column}
.species-group-card .card-action-label{display:inline-flex;align-items:center;justify-content:center;margin-top:auto;padding-top:14px;color:#1a5b4d;font-size:.9rem}
.species-group-card .card-action-label::after{content:' ←';margin-inline-start:4px}
.species-group-card:hover{transform:translateY(-3px);border-color:rgba(26,91,77,.34);box-shadow:0 18px 38px rgba(22,75,64,.12)}
.species-group-card:focus-visible,.all-species-chip:focus-visible{outline:3px solid rgba(26,91,77,.32);outline-offset:4px}
.all-species-grid{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}
.all-species-chip{appearance:none;border:1.5px solid rgba(26,91,77,.24);background:#fff;color:#173f36;border-radius:999px;padding:12px 18px;font:inherit;font-weight:800;cursor:pointer;min-height:46px;box-shadow:0 5px 15px rgba(22,75,64,.06)}
.all-species-chip:hover{background:#f1faf6;border-color:#1a5b4d;transform:translateY(-2px)}
.world-explorer-actions{gap:12px;flex-wrap:wrap}
.world-all-species-btn{border-width:2px;box-shadow:0 8px 22px rgba(22,75,64,.08)}
.feedback-actions{align-items:stretch}
.feedback-action-item{display:flex;flex-direction:column;gap:7px;padding:18px;border:1px solid rgba(26,91,77,.14);border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(22,75,64,.07)}
.feedback-action-item>strong{font-size:1.02rem;color:#173f36}
.feedback-action-item>span{font-size:.88rem;color:#66746f;line-height:1.5}
.feedback-cta{margin-top:auto;min-height:52px;border:2px solid transparent!important;border-radius:14px!important;display:inline-flex!important;align-items:center;justify-content:center;gap:8px;width:100%;font-weight:900!important;box-shadow:0 10px 22px rgba(22,75,64,.14)}
.feedback-review{border-color:#1a5b4d!important}
.feedback-problem{border-color:rgba(26,91,77,.38)!important;background:#fff!important;color:#174d42!important}
.feedback-cta:hover{transform:translateY(-2px);box-shadow:0 15px 30px rgba(22,75,64,.18)}
.feedback-cta:active{transform:translateY(0) scale(.985)}
.feedback-cta:focus-visible{outline:3px solid rgba(26,91,77,.34);outline-offset:4px}
@media(max-width:980px){.species-group-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.species-group-grid{grid-template-columns:1fr}.species-group-card{min-height:unset}.all-species-grid{justify-content:flex-start}.all-species-chip{flex:1 1 calc(50% - 8px);text-align:center;padding-inline:12px}.world-explorer-actions .btn{width:100%}.feedback-action-item{padding:16px}.feedback-cta{min-height:54px;font-size:.98rem}}
@media(prefers-reduced-motion:reduce){.species-group-card,.all-species-chip,.feedback-cta{transition:none!important;transform:none!important}}


/* === acceptance-v7-1-15.css === */
/* Dpet v7.1.15 — final affordance, interaction and journey polish */

:where(a,button,[role="button"],input,select,textarea):focus-visible{
  outline:3px solid rgba(26,91,77,.34)!important;
  outline-offset:4px!important;
}

button:not(:disabled),[role="button"]:not([aria-disabled="true"]),a[href]{cursor:pointer}
button:disabled,[aria-disabled="true"]{cursor:not-allowed;opacity:.58}

/* Every action must communicate clickability before interaction. */
.ux-affordance{
  appearance:none;
  min-height:44px;
  border:1.5px solid rgba(26,91,77,.28)!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#174a3f!important;
  padding:10px 16px!important;
  font:inherit;
  font-weight:850!important;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  box-shadow:0 6px 16px rgba(22,75,64,.08);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background-color .18s ease;
}
.ux-affordance:hover{background:#f4fbf8!important;border-color:#1a5b4d!important;box-shadow:0 10px 22px rgba(22,75,64,.13);transform:translateY(-1px)}
.ux-affordance:active{transform:translateY(0) scale(.985);box-shadow:0 4px 10px rgba(22,75,64,.1)}

/* Compact utility controls remain unmistakable without becoming dominant. */
.ux-icon-action{
  min-width:44px!important;
  min-height:44px!important;
  border:1px solid rgba(26,91,77,.2)!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.94)!important;
  box-shadow:0 4px 12px rgba(22,75,64,.08);
}

/* Species-first flow: clear hierarchy and visible state changes. */
.world-explorer-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-top:22px}
.world-all-species-btn,.world-species-back-btn{
  min-height:48px;
  padding-inline:20px!important;
  border-width:2px!important;
  box-shadow:0 8px 20px rgba(22,75,64,.09)!important;
}
.species-group-card[aria-pressed="true"],.all-species-chip[aria-pressed="true"]{
  border-color:#1a5b4d!important;
  background:#eff9f5!important;
  box-shadow:0 0 0 3px rgba(26,91,77,.12),0 12px 25px rgba(22,75,64,.12)!important;
}
.species-group-card .card-action-label{font-weight:900;letter-spacing:.01em}

/* Review and service CTAs: unmistakable from the first glance. */
.feedback-actions{align-items:stretch}
.feedback-action-item{border:1px solid rgba(26,91,77,.13);border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(22,75,64,.08)}
.feedback-action-item>strong{font-size:1.08rem;line-height:1.45}
.feedback-review{background:#1a5b4d!important;color:#fff!important;border-color:#1a5b4d!important}
.feedback-review:hover{background:#12493d!important;border-color:#12493d!important}
.feedback-problem{background:#fff!important;color:#174a3f!important;border-color:#1a5b4d!important}
.feedback-cta{font-size:1rem!important;text-decoration:none!important}

/* Checkout/cart controls that previously looked like plain text. */
.cart-coupon button,.cart-city-input-wrap button,.cart-checkout-selection button,.cart-checkout-review-head button,.shop-results-reset{
  min-height:44px;
  border:1.5px solid rgba(26,91,77,.26)!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#174a3f!important;
  padding:9px 15px!important;
  font-weight:850!important;
  box-shadow:0 5px 14px rgba(22,75,64,.07);
}
.cart-coupon button:hover,.cart-city-input-wrap button:hover,.cart-checkout-selection button:hover,.cart-checkout-review-head button:hover,.shop-results-reset:hover{
  background:#f2faf6!important;border-color:#1a5b4d!important
}

/* Small-screen tap comfort and readable action stacking. */
@media(max-width:640px){
  .world-explorer-actions{display:grid;grid-template-columns:1fr;width:100%}
  .world-explorer-actions .btn{width:100%}
  .feedback-actions{gap:14px}
  .feedback-action-item{padding:18px}
  .feedback-cta{min-height:56px!important;padding-inline:14px!important}
  .cart-coupon button,.cart-city-input-wrap button,.cart-checkout-selection button,.cart-checkout-review-head button{min-height:48px}
}

@media(prefers-reduced-motion:reduce){
  .ux-affordance,.ux-icon-action,.world-all-species-btn,.world-species-back-btn{transition:none!important;transform:none!important}
}


/* === acceptance-v7-1-17.css === */
/* Dpet v7.1.17 — desktop acceptance corrections, round 2 */

/* Desktop install action: readable two-line CTA. */
.header-install-entry .install-entry-label{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:0;line-height:1.08;text-align:center;white-space:normal
}
.header-install-entry .install-entry-label>span{display:block;white-space:nowrap}

/* “Our approach in practice” should feel as premium as the About panel beside it. */
@media (min-width:769px){
  .why-human-grid{align-items:stretch}
  .why-proof-card{
    position:relative;overflow:hidden;height:100%;justify-content:center;
    padding:clamp(34px,4vw,52px);
    color:#fff;
    background:
      radial-gradient(circle at 12% 12%,rgba(247,191,120,.22),transparent 34%),
      linear-gradient(145deg,#174f3d 0%,#0f382d 100%);
    border:1px solid rgba(255,255,255,.14);
    box-shadow:0 24px 54px rgba(9,43,32,.23)
  }
  .why-proof-card::after{
    content:"";position:absolute;inset:auto -70px -95px auto;width:220px;height:220px;
    border-radius:50%;background:rgba(255,255,255,.055);pointer-events:none
  }
  .why-proof-card>*{position:relative;z-index:1}
  .why-proof-card .why-proof-label{color:#f7bf78;font-weight:850;letter-spacing:.02em}
  .why-proof-card h3{color:#fff;text-wrap:balance}
  .why-proof-card p{color:rgba(255,255,255,.82);max-width:46ch}
  .why-proof-card .why-about-cta{
    display:inline-flex;width:max-content;margin-inline:auto;
    background:#fff;color:#155232;border-color:#fff;
    box-shadow:0 12px 28px rgba(0,0,0,.16)
  }
  .why-proof-card .why-about-cta:hover{background:#f7f3ea;color:#155232}
}
.why-proof-card h3 .nowrap{white-space:nowrap}

/* Knowledge title + description: one centered stack, never a split two-column header. */
@media (min-width:1025px){
  .home-knowledge-head{
    display:grid!important;grid-template-columns:1fr!important;justify-items:center!important;
    align-items:center!important;gap:12px!important;text-align:center!important
  }
  .home-knowledge-head>div,.home-knowledge-head>p{
    width:100%!important;max-width:none!important;margin-inline:auto!important;text-align:center!important
  }
  .home-knowledge-head h2,.home-knowledge-head>p{
    margin-inline:auto!important;white-space:nowrap!important;overflow:visible!important
  }
}

/* Compact four-benefit club grid. */
.club-benefits{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.club-benefits article{padding:18px 14px;min-height:0}
.club-benefits article>span{width:42px;height:42px;font-size:18px}
.club-benefits article h3{font-size:clamp(16px,1.15vw,19px);line-height:1.25}
.club-benefits article p{font-size:14px;line-height:1.55}

/* Reviews: stable 3×2 layout, cards keep their natural height instead of stretching. */
@media (min-width:1025px){
  .reviews-track{
    display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
    grid-auto-flow:row!important;grid-auto-columns:auto!important;grid-auto-rows:auto!important;
    align-items:start!important;gap:18px!important;overflow:visible!important;
    scroll-snap-type:none!important;padding:6px 4px 12px!important;margin-inline:0!important
  }
  .reviews-track .review-card{
    min-width:0!important;width:auto!important;height:auto!important;min-height:0!important;
    align-self:start!important;scroll-snap-align:none!important
  }
  .reviews-swipe-hint{display:none!important}
}

/* Commercial values must never break: price, package weight and unit price. */
.product-meta>span,
.product-card .product-meta>span,
.product-meta>strong,
.product-card .product-meta>strong,
#productPagePrice,#productModalPrice,#mobileProductPrice,
.cart-item-meta,.cart-item-price,.cart-summary strong,.cart-checkout-review strong,
.unit-price-note{
  white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important
}
.product-meta>span,.cart-item-meta,#productPagePrice,#productModalPrice,#mobileProductPrice{
  unicode-bidi:isolate
}
.product-meta>span{direction:rtl}
.product-meta>strong,#productPagePrice,#productModalPrice,#mobileProductPrice,.cart-item-price strong{
  direction:ltr;unicode-bidi:isolate
}

/* Footer: alignment only, no content changes. */
@media (min-width:769px){
  .footer-columns>div{text-align:center;align-items:center}
  .footer-columns h3{width:100%;text-align:center;margin-inline:auto}
  .footer-columns nav{align-items:center;text-align:center}
  .footer-columns nav a{justify-content:center;text-align:center}
}

.cart-coupon p{line-height:1.45}

@media (max-width:1024px){
  .club-benefits{grid-template-columns:repeat(2,minmax(0,1fr))}
  .home-knowledge-head h2,.home-knowledge-head>p{white-space:normal}
}
@media (max-width:620px){.club-benefits{grid-template-columns:1fr}}


/* === acceptance-v7-1-18.css === */
/* Dpet v7.1.18 — final desktop freeze before mobile QA */

/* Smart filter: compact, balanced and free of decorative dead space. */
@media (min-width:981px){
  .shop-smart-filter .dog-world-inner{max-width:1240px}
  .dog-world-compact-intro{max-width:760px;margin:0 auto 22px;text-align:center}
  .dog-world-compact-intro .lead{max-width:650px;margin-inline:auto}
  .dog-filter-panel{
    display:grid!important;grid-template-columns:1fr!important;gap:20px!important;
    padding:clamp(24px,3vw,36px)!important
  }
  .dog-filter-copy{text-align:center;max-width:820px;margin-inline:auto}
  .dog-filter-copy h3{font-size:clamp(30px,3vw,42px);margin-bottom:8px}
  .dog-filter-copy p:not(.section-kicker){font-size:16px}
  .dog-filter-selected{margin-top:10px!important}
  .dog-filter-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .dog-filter-group{padding:16px 18px;border-radius:20px;box-shadow:0 9px 24px rgba(30,30,30,.045)}
  .dog-filter-group-main{grid-column:auto}
  .dog-filter-group-wide{grid-column:1/-1}
  .dog-filter-group-head{margin-bottom:10px}
  .dog-filter-group-head span{width:30px;height:30px}
  .dog-filter-group-head h4{font-size:18px}
  .dog-filter-group .dog-filter-chips{gap:7px}
  .dog-filter-group .dog-filter-chips button{padding:9px 12px;font-size:14px;min-height:42px}
  .dog-filter-actions{justify-content:center;gap:18px;text-align:center}
  .dog-filter-actions span{max-width:520px}
  .dog-filter-actions .btn{min-width:190px}
}

/* Species cards remain rich to the customer while exposing their stable backend group. */
.species-group-card p{max-width:42ch}
.species-group-card .card-action-label{margin-top:auto}
.all-species-chip{min-height:44px}

/* Final interaction audit: clickable things must look clickable. */
.world-category-card.species-group-card,
.all-species-chip,
.dog-filter-chips button,
.dog-filter-actions .btn{
  cursor:pointer
}
.world-category-card.species-group-card:focus-visible,
.all-species-chip:focus-visible,
.dog-filter-chips button:focus-visible{
  outline:3px solid rgba(0,96,117,.28);outline-offset:3px
}
@media (hover:hover){
  .species-group-card:hover,.all-species-chip:hover{transform:translateY(-2px)}
}
@media (prefers-reduced-motion:reduce){
  .species-group-card,.all-species-chip{transition:none!important;transform:none!important}
}

/* Mobile stays usable for the coming QA pass; no desktop assumptions leak into the drawer. */
@media (max-width:980px){
  .dog-filter-panel{gap:16px}
  .dog-filter-copy h3{font-size:30px}
  .dog-filter-groups{gap:12px}
}


/* === acceptance-v7-1-19.css === */
/* Dpet v7.1.19 — product-card hardening and final pre-mobile QA fixes. */

/* Desktop catalogue: one stable card anatomy for every product. */
@media (min-width:981px){
  .page-shop .product-grid{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    grid-auto-flow:row!important;
    grid-auto-rows:1fr!important;
    align-items:stretch!important;
    gap:20px!important;
  }
  .page-shop .product-card,
  .page-shop .product-featured{
    grid-column:auto!important;
    grid-row:auto!important;
    grid-template-columns:1fr!important;
    grid-template-rows:210px minmax(0,1fr)!important;
    width:100%!important;
    min-width:0!important;
    height:100%!important;
    min-height:0!important;
    overflow:hidden!important;
    align-self:stretch!important;
  }
  .page-shop .product-card>.product-visual{
    width:100%!important;
    min-width:0!important;
    min-height:210px!important;
    height:210px!important;
    padding:24px!important;
    justify-content:flex-end!important;
  }
  .page-shop .product-visual strong{
    max-width:100%!important;
    font-size:clamp(34px,3vw,52px)!important;
    line-height:.98!important;
    overflow-wrap:normal!important;
    word-break:keep-all!important;
  }
  .page-shop .product-card-body{
    display:grid!important;
    grid-template-rows:auto auto minmax(3.2em,auto) auto auto!important;
    align-content:start!important;
    gap:10px!important;
    width:100%!important;
    min-width:0!important;
    height:100%!important;
    padding:22px!important;
    text-align:right!important;
  }
  .page-shop .product-card-body>*{min-width:0!important;max-width:100%!important}
  .page-shop .product-type{font-size:14px!important;line-height:1.4!important}
  .page-shop .product-card h3{
    margin:0!important;
    font-size:clamp(22px,1.75vw,28px)!important;
    line-height:1.18!important;
    text-align:right!important;
    white-space:normal!important;
    overflow:visible!important;
    overflow-wrap:break-word!important;
  }
  .page-shop .product-card-body>p:not(.product-type){
    margin:0!important;
    font-size:15px!important;
    line-height:1.62!important;
    text-align:right!important;
    white-space:normal!important;
    overflow:visible!important;
    overflow-wrap:break-word!important;
  }
  .page-shop .product-meta{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:8px 12px!important;
    width:100%!important;
    margin-top:auto!important;
    padding-top:14px!important;
    text-align:right!important;
  }
  .page-shop .product-meta>span{
    min-width:0!important;
    font-size:14px!important;
    text-align:right!important;
  }
  .page-shop .product-meta>strong{
    font-size:18px!important;
    text-align:left!important;
  }
  .page-shop .product-meta>.unit-price-note{
    grid-column:1/-1!important;
    justify-self:end!important;
    font-size:12px!important;
    text-align:right!important;
  }
  .page-shop .product-card-stock{
    justify-self:start!important;
    align-self:center!important;
    margin:0!important;
  }
  .page-shop .product-card-actions{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    align-items:stretch!important;
    gap:10px!important;
    width:100%!important;
    margin-top:2px!important;
  }
  .page-shop .product-card-body>.product-detail-btn{
    margin-top:2px!important;
  }
  .page-shop .product-detail-btn,
  .page-shop .product-quick-add{
    width:100%!important;
    min-width:0!important;
    min-height:46px!important;
    padding:10px 12px!important;
    font-size:14px!important;
    line-height:1.25!important;
    white-space:normal!important;
    overflow:visible!important;
    overflow-wrap:break-word!important;
  }
}

/* Medium desktop / tablet landscape: retain readable widths without clipping. */
@media (min-width:761px) and (max-width:1180px){
  .page-shop .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* Commercial values are indivisible, but their container may safely take a full row. */
.page-shop .product-meta>span,
.page-shop .product-meta>strong,
.page-shop .unit-price-note{
  white-space:nowrap!important;
  word-break:keep-all!important;
  overflow-wrap:normal!important;
}

/* Prevent any card child from forcing the card wider than its grid track. */
.page-shop .product-card,
.page-shop .product-card-body,
.page-shop .product-card-actions,
.page-shop .product-meta{min-width:0!important}


/* === acceptance-v7-1-21.css === */
/* Dpet v7.1.21 — result arrival feedback. */
#shopResultsToolbar,
#productGrid,
#dogProducts {
  scroll-margin-top: calc(var(--header-h, 88px) + 24px);
}

.smart-results-arrival {
  animation: dpet-results-arrival 900ms ease-out both;
}

@keyframes dpet-results-arrival {
  0% { box-shadow: 0 0 0 0 rgba(30, 107, 87, .22); }
  42% { box-shadow: 0 0 0 7px rgba(30, 107, 87, .11); }
  100% { box-shadow: 0 0 0 0 rgba(30, 107, 87, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .smart-results-arrival { animation: none; }
}


/* === acceptance-v7-1-23.css === */
/*
 * Dpet v7.1.23 — approved QA hardening.
 * Scope: mobile touch geometry and an explicit, state-aware horizontal-scroll cue.
 * No visual redesign or product-flow expansion is introduced here.
 */

.shop-filter-scroll-shell {
  position: relative;
  min-width: 0;
}

@media (max-width: 760px) {
  /* Internal Dpet quality gate: every primary mobile control is at least 44×44 px. */
  .header-cart,
  .menu-toggle {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
  }

  .product-detail-btn,
  .product-quick-add,
  #shopSearchClear {
    min-height: 44px !important;
  }

  #shopSearchClear {
    width: 44px !important;
    height: 44px !important;
    inset-inline-end: 2px;
  }

  .shop-search-control input,
  .shop-sort-field select,
  .hero-quick-search-control input {
    min-height: 48px !important;
  }

  .home-knowledge-guides a,
  .page-context-strip a,
  .product-detail-inline-link,
  .phone-large,
  .site-footer nav a {
    min-height: 44px !important;
    display: inline-flex;
    align-items: center;
  }

  .phone-large,
  .site-footer nav a {
    justify-content: center;
  }

  .site-footer nav a {
    min-width: 44px;
  }
}


/* Preserve the same touch geometry on rotated phones and touch tablets whose
   CSS width is wider than the portrait mobile breakpoint. */
@media (hover: none) and (pointer: coarse) {
  .header-cart,
  .menu-toggle {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
  }

  .product-detail-btn,
  .product-quick-add,
  #shopSearchClear,
  .home-knowledge-guides a,
  .page-context-strip a,
  .product-detail-inline-link,
  .phone-large,
  .site-footer nav a {
    min-height: 44px !important;
  }

  .home-knowledge-guides a,
  .page-context-strip a,
  .product-detail-inline-link,
  .phone-large,
  .site-footer nav a {
    display: inline-flex;
    align-items: center;
  }

  .phone-large,
  .site-footer nav a {
    justify-content: center;
  }

  .site-footer nav a {
    min-width: 44px;
  }

  #mainNav .nav-group a {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .dog-filter-chips button {
    min-width: 44px;
    min-height: 44px !important;
  }

  .shop-search-control input,
  .shop-sort-field select,
  .hero-quick-search-control input {
    min-height: 48px !important;
  }
}

@media (max-width: 560px) {
  .shop-filter-scroll-shell {
    isolation: isolate;
  }

  .shop-filter-bar {
    scroll-snap-type: inline proximity;
    scroll-padding-inline: 26px;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .shop-filter-bar::-webkit-scrollbar {
    display: none;
  }

  .shop-filter-bar button {
    min-height: 44px !important;
    scroll-snap-align: center;
  }

  .shop-filter-scroll-shell::before,
  .shop-filter-scroll-shell::after {
    position: absolute;
    z-index: 3;
    top: 1px;
    bottom: 1px;
    width: 64px;
    display: grid;
    place-items: center;
    color: var(--green);
    font-size: 25px;
    font-weight: 700;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease;
  }

  /* In RTL, additional categories initially continue toward the physical left. */
  .shop-filter-scroll-shell::before {
    content: "‹";
    left: 0;
    padding-left: 2px;
    background: linear-gradient(to right, #fff 0 42px, rgba(255,255,255,.96) 50px, rgba(255,255,255,0) 64px);
    border-radius: 24px 0 0 24px;
  }

  .shop-filter-scroll-shell::after {
    content: "›";
    right: 0;
    padding-right: 2px;
    background: linear-gradient(to left, #fff 0 42px, rgba(255,255,255,.96) 50px, rgba(255,255,255,0) 64px);
    border-radius: 0 24px 24px 0;
  }

  .shop-filter-scroll-shell.can-scroll-left::before,
  .shop-filter-scroll-shell.can-scroll-right::after {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-filter-scroll-shell::before,
  .shop-filter-scroll-shell::after {
    transition: none;
  }
}


/* Dpet v7.2.6 — production-facing hero search micro-polish.
   Center only the empty homepage placeholder; real typed Hebrew remains RTL/right-aligned. */
.page-home .hero-quick-search-control input:placeholder-shown {
  text-align: center;
}
.page-home .hero-quick-search-control input:not(:placeholder-shown) {
  text-align: right;
}


/* === visual-media-v7-2.css === */
/* Dpet v7.2.0 — real-store visual layer.
   Intent: add authentic people/store photography without turning the homepage into an inventory gallery. */

/* ABOUT — turn the service promise card into a human proof card. */
.page-home #why .why-proof-card-team {
  padding: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: start;
  overflow: hidden;
}

.page-home #why .why-team-photo {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #123f31;
}

.page-home #why .why-team-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 20%;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(15,56,45,0), rgba(15,56,45,.22));
}

.page-home #why .why-team-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.page-home #why .why-proof-card-team .why-proof-card-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(20px, 2.2vw, 28px) clamp(24px, 2.8vw, 32px) clamp(24px, 2.8vw, 30px);
}

.page-home #why .why-proof-card-team .why-proof-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.page-home #why .why-proof-card-team .why-proof-label::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #f7bf78;
  box-shadow: 0 0 0 5px rgba(247,191,120,.12);
}

.page-home #why .why-proof-card-team h3 {
  margin: 9px 0 9px;
  font-size: clamp(27px, 2.55vw, 36px);
  line-height: 1.08;
}

.page-home #why .why-proof-card-team p {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.58;
}

/* Balance the text panel against the shorter, more focused photo card. */
@media (min-width: 769px) {
  .page-home #why .why-human-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .page-home #why .why-proof-card-team {
    justify-content: stretch;
  }
}

/* VISIT — one restrained hero image + two compact supporting details. */
.page-home #contact .store-glimpse {
  width: 100%;
  max-width: 670px;
  margin: 24px auto 0;
  display: grid;
  gap: 10px;
}

.page-home #contact .store-glimpse-main,
.page-home #contact .store-glimpse-small figure {
  position: relative;
  display: block;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(21,82,50,.10);
  background: #ece7dc;
  box-shadow: 0 16px 42px rgba(16,37,29,.10);
}

.page-home #contact .store-glimpse-main {
  aspect-ratio: 16 / 9;
  border-radius: 26px;
}

.page-home #contact .store-glimpse-small {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.page-home #contact .store-glimpse-small figure {
  aspect-ratio: 1 / 1;
  border-radius: 20px;
}

.page-home #contact .store-glimpse img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* These images are informational, not controls: no hover zoom/cursor affordance. */
.page-home #contact .store-glimpse-main,
.page-home #contact .store-glimpse-small figure,
.page-home #contact .store-glimpse img {
  cursor: default;
}

@media (max-width: 760px) {
  .page-home #why .why-team-photo {
    aspect-ratio: 3 / 2;
  }
  .page-home #why .why-proof-card-team .why-proof-card-body {
    padding: 20px 20px 23px;
  }
  .page-home #why .why-proof-card-team h3 {
    font-size: clamp(27px, 8vw, 33px);
  }
  .page-home #why .why-proof-card-team p {
    font-size: 16px;
  }
  .page-home #contact .store-glimpse {
    margin-top: 20px;
    gap: 8px;
  }
  .page-home #contact .store-glimpse-main {
    border-radius: 22px;
  }
  .page-home #contact .store-glimpse-small {
    gap: 8px;
  }
  .page-home #contact .store-glimpse-small figure {
    border-radius: 16px;
  }
}

/* v7.2.1 — rebalance the visit section after visual review.
   The heading owns the whole section; the store imagery and visit card share equal visual weight. */
.page-home #contact .contact-experience {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "heading heading"
    "visit gallery"
    "social social";
  gap: clamp(22px, 3vw, 34px) clamp(24px, 4vw, 48px);
  align-items: stretch;
}

.page-home #contact .contact-heading {
  grid-area: heading;
  width: min(100%, 900px);
  margin-inline: auto;
  display: grid;
  justify-items: center;
  text-align: center;
}

.page-home #contact .contact-heading h2 {
  max-width: 820px;
  margin-inline: auto;
}

.page-home #contact .contact-heading .lead {
  width: 100%;
  max-width: 54ch;
  margin: 12px auto 0 !important;
  text-align: center !important;
}

.page-home #contact .contact-heading .contact-promise {
  width: min(100%, 720px);
  margin: 20px auto 0;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 15px 20px;
  border-radius: 22px;
}

.page-home #contact .contact-heading .contact-promise p {
  flex: 0 1 auto;
  text-align: center;
}

.page-home #contact .visit-card {
  grid-area: visit;
  align-self: stretch;
  height: 100%;
}

.page-home #contact .store-glimpse {
  grid-area: gallery;
  align-self: stretch;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  grid-template-rows: minmax(0, 1.55fr) minmax(0, 1fr);
}

.page-home #contact .store-glimpse-main,
.page-home #contact .store-glimpse-small figure {
  min-height: 0;
  height: 100%;
  aspect-ratio: auto;
}

.page-home #contact .store-glimpse-main {
  border-radius: 30px;
}

.page-home #contact .store-glimpse-small {
  min-height: 0;
}

.page-home #contact .social-strip {
  grid-area: social;
}

@media (max-width: 980px) {
  .page-home #contact .contact-experience {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "visit"
      "gallery"
      "social";
    gap: 22px;
  }

  .page-home #contact .contact-heading {
    width: 100%;
  }

  .page-home #contact .store-glimpse {
    width: min(100%, 660px);
    height: auto;
    margin-inline: auto;
    grid-template-rows: auto auto;
  }

  .page-home #contact .store-glimpse-main {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .page-home #contact .store-glimpse-small figure {
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 560px) {
  .page-home #contact .contact-heading .contact-promise {
    width: 100%;
    padding: 14px 16px;
    gap: 12px;
  }

  .page-home #contact .contact-heading .contact-promise span {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 15px;
    font-size: 21px;
  }

  .page-home #contact .store-glimpse {
    gap: 8px;
  }
}

/* v7.2.1 visual calibration — keep the visit row intentionally compact. */
@media (min-width: 981px) {
  .page-home #contact .contact-experience {
    grid-template-columns: repeat(2, minmax(0, 440px));
    grid-template-areas:
      "heading heading"
      "gallery visit"
      "social social";
    justify-content: center;
  }

  .page-home #contact .visit-card {
    padding: 32px 34px;
    border-radius: 34px;
  }

  .page-home #contact .visit-card-header {
    margin-bottom: 20px;
  }

  .page-home #contact .visit-card-header img {
    width: 94px;
  }

  .page-home #contact .visit-card h3 {
    margin-bottom: 9px;
    font-size: clamp(34px, 3vw, 42px);
  }

  .page-home #contact .visit-card p {
    margin-bottom: 18px;
    font-size: 16px;
  }

  .page-home #contact .hours-grid {
    margin: 20px 0;
  }

  .page-home #contact .hours-grid div {
    padding: 12px 10px;
    border-radius: 18px;
  }

  .page-home #contact .visit-actions {
    margin-top: 10px;
  }

  .page-home #contact .phone-large {
    margin-top: 16px;
    font-size: 22px;
  }

  .page-home #contact .store-glimpse-main {
    border-radius: 24px;
  }

  .page-home #contact .store-glimpse-small figure {
    border-radius: 18px;
  }
}

