/* Shared by the local preview and the Shopify theme. */
.hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  min-height: 0;
  isolation: isolate;
}
.hero .hero-inner {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: clamp(24px, 3.3vw, 56px) clamp(24px, 3.3vw, 64px);
}
.hero .hero-copy { width: 100%; min-width: 0; max-width: 600px; }
.hero h1 {
  max-width: 100%;
  font-size: clamp(34px, 3.25vw, 56px);
  line-height: 1.07;
  letter-spacing: -.045em;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.hero .eyebrow { font-size: 10px; gap: 12px; margin-bottom: 20px; }
.hero .eyebrow span { flex: 0 0 28px; }
.hero .hero-description { max-width: 440px; font-size: 16px; line-height: 1.75; margin-top: 24px; }
.hero .hero-cta { min-width: 0; max-width: 100%; padding-inline: 28px; gap: 32px; font-size: 16px; margin-top: 28px; }
.hero .hero-note { padding: 0; margin: 12px 0 26px; font-size: 11px; }
.hero .hero-picture {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  display: block;
  inset: auto;
  width: 100%;
  height: auto;
  min-width: 0;
  min-height: 0;
  aspect-ratio: auto;
}
.hero .hero-picture img { position: static; width: 100%; height: auto; object-fit: contain; }
.hero .quick-preview { padding: 12px 0 0; gap: 18px; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; background: transparent; }
.hero .quick-art { gap: 8px; padding-right: 0; border: 0; }
.hero .quick-art img { width: 48px; height: 52px; }
.hero .quick-preview strong { font-size: 12px; line-height: 1.5; }
.hero .quick-preview p { font-size: 11px; line-height: 1.5; margin-top: 4px; }
.hero .image-caption { display: none; }

.holiday-extra {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 48px;
  margin-top: 52px;
  padding: 40px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.holiday-extra .eyebrow { color: var(--gold); font-size: 10px; }
.holiday-extra h3 { max-width: 440px; font-size: clamp(28px, 2.4vw, 36px); line-height: 1.18; }
.holiday-extra p:not(.eyebrow) { max-width: 460px; font-size: 14px; line-height: 1.8; }
.accessory-showcase { gap: 22px; align-items: center; }
.accessory-showcase figure { min-width: 0; }
.accessory-showcase img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  mix-blend-mode: normal;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.accessory-showcase figcaption { font-size: 12px; line-height: 1.5; margin-top: 10px; color: var(--muted); }
.accessory-option > img { mix-blend-mode: normal; background: transparent; }

.trust-section { padding-block: 64px; }
.practical-details { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 80px; align-items: start; }
.practical-details header h2 { font-size: clamp(30px, 2.7vw, 38px); line-height: 1.15; text-align: left; }
.practical-details header > p { max-width: 240px; margin-top: 16px; font-size: 14px; color: var(--muted); line-height: 1.75; }
.practical-details header > .text-link { margin-top: 16px; }
.order-notes { margin: 0; }
.order-notes > div { display: grid; grid-template-columns: minmax(125px, .75fr) minmax(0, 1.8fr); gap: 24px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.order-notes > div:first-child { padding-top: 4px; }
.order-notes > div:last-child { padding-bottom: 0; border-bottom: 0; }
.order-notes dt { font-size: 14px; font-weight: 600; color: var(--green); line-height: 1.75; }
.order-notes dd { margin: 0; font-size: 14px; line-height: 1.8; color: var(--muted); }
.order-notes dd a { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1100px) {
  .hero .hero-inner { padding: 28px 24px; }
  .hero .hero-description { font-size: 15px; }
  .hero .eyebrow { letter-spacing: .1em; }
  .hero .eyebrow span { display: none; }
  .hero .quick-preview { gap: 10px; }
  .hero .quick-art img { width: 40px; height: 44px; }
  .hero .quick-preview strong { font-size: 11px; }
  .hero .quick-preview { display: none; }
  .hero .hero-note { margin-bottom: 0; }
  .practical-details { gap: 40px; grid-template-columns: minmax(0, .7fr) minmax(0, 1.6fr); }
  .order-notes > div { grid-template-columns: 1fr; gap: 6px; padding-block: 20px; }
}
@media (max-width: 850px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero .hero-inner { grid-column: 1; grid-row: 1; padding: 36px 28px; order: 0; }
  .hero .hero-copy { max-width: 600px; }
  .hero h1 { font-size: clamp(36px, 6.5vw, 52px); max-width: 600px; }
  .hero .hero-description { max-width: 460px; }
  .hero .hero-note { margin-bottom: 0; }
  .hero .quick-preview { display: none; }
  .hero .hero-picture { grid-column: 1; grid-row: 2; order: 1; height: auto; aspect-ratio: auto; max-height: none; }
  .holiday-extra { gap: 32px; }
  .accessory-showcase { gap: 10px; }
  .accessory-showcase img { width: 88px; height: 88px; }
}
@media (max-width: 600px) {
  .hero .hero-inner { padding: 30px 20px; }
  .hero h1 { font-size: clamp(32px, 9.1vw, 40px); }
  .hero .eyebrow { font-size: 9px; margin-bottom: 16px; }
  .hero .hero-description { font-size: 14px; line-height: 1.7; margin-top: 18px; }
  .hero .hero-cta { width: 100%; font-size: 15px; margin-top: 22px; min-height: 52px; }
  .hero .hero-note { font-size: 10px; text-align: center; }
  .holiday-extra { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 30px; margin-top: 30px; }
  .holiday-extra h3 { font-size: 29px; }
  .holiday-extra p:not(.eyebrow) { font-size: 13px; }
  .holiday-extra .text-link { margin-top: 14px; }
  .accessory-showcase { justify-items: center; gap: 12px; }
  .accessory-showcase img { width: 96px; height: 96px; }
  .accessory-showcase figcaption { font-size: 11px; margin-top: 4px; }
  .trust-section { padding-block: 36px; }
  .practical-details { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .practical-details header { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
  .practical-details header h2 { font-size: 30px; }
  .practical-details header > p { max-width: none; margin-top: 12px; font-size: 13px; }
  .practical-details header > .text-link { margin-top: 8px; }
  .order-notes dt, .order-notes dd { font-size: 13px; }
}

/* ---------- Homepage P0/P1 update, 2026-11-08 ---------- */

/* Header: sticky on the homepage, compact once scrolled, CTA as a button */
html { scroll-padding-top: 104px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.site-header { position: relative; z-index: 20; }
body:has(.hero) .site-header { position: sticky; top: 0; }
.site-header.is-scrolled { box-shadow: 0 6px 24px #6c442414; }
.navigation nav a.nav-cta { min-height: 40px; padding: 0 20px; border-radius: 100px; background: var(--green); color: var(--paper-light); font-weight: 600; }
.navigation nav a.nav-cta:hover { background: #245640; }
.navigation nav a.nav-cta[hidden] { display: none; }
@media (min-width: 801px) {
  body:has(.hero) .site-header.is-scrolled .header-inner { min-height: 68px; }
  body:has(.hero) .site-header.is-scrolled .brand { width: 210px; }
}
@media (prefers-reduced-motion: no-preference) {
  .header-inner { transition: min-height 180ms ease; }
  .brand { transition: width 180ms ease; }
}
@media (max-width: 800px) {
  .navigation > nav { top: 100%; max-height: calc(100dvh - 76px); overflow-y: auto; }
  .navigation nav a.nav-cta { justify-content: center; min-height: 52px; margin-top: 12px; font-size: 15px; }
}

/* Hero: concrete facts in place of the slogan line */
.hero .hero-facts { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.hero .hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero .hero-facts li::before { content: ""; flex: 0 0 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.hero .hero-facts li[hidden] { display: none; }
.hero .hero-facts strong { color: var(--green); font-weight: 650; }
@media (max-width: 600px) {
  .hero .hero-facts { justify-content: center; gap: 6px 16px; }
}

/* Mobile: purchase button that follows the reader once the hero button scrolls away */
.mobile-cta { display: none; }
@media (max-width: 800px) {
  .mobile-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; padding: 10px 20px calc(10px + env(safe-area-inset-bottom)); background: #fff9f1f2; border-top: 1px solid var(--line); box-shadow: 0 -6px 24px #6c442414; transform: translateY(110%); visibility: hidden; }
  .mobile-cta.is-visible { transform: none; visibility: visible; }
  .mobile-cta .button { width: 100%; min-height: 52px; font-size: 16px; gap: 20px; }
}
@media (max-width: 800px) and (prefers-reduced-motion: no-preference) {
  .mobile-cta { transition: transform 220ms ease, visibility 220ms; }
}

/* How it works: transparent illustrations, no blending rectangle */
.step-card > img { mix-blend-mode: normal; object-fit: contain; object-position: right bottom; }

/* Styles: same pet in every card; swipeable on phones */
.style-card > img { mix-blend-mode: normal; }
@media (max-width: 600px) {
  .style-cards { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; margin-inline: -20px; padding: 0 20px 10px; scroll-padding-inline: 20px; scrollbar-width: none; }
  .style-cards::-webkit-scrollbar { display: none; }
  .style-card { scroll-snap-align: start; grid-template-columns: 1fr; align-content: start; }
  .style-card > img { width: 100%; max-height: 240px; }
}

/* Before & after: compare the same photo across styles */
.style-switch { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.style-switch button { min-height: 40px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 100px; background: var(--paper-light); color: var(--green); font-size: 13px; font-weight: 600; }
.style-switch button:hover { border-color: var(--gold); }
.style-switch button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--paper-light); }
.before-after-pair figure:last-child img { mix-blend-mode: normal; }

/* Products: price, delivery and the ornament waitlist */
.product-price { margin-top: 14px; color: var(--green); }
.product-price strong { font-family: Georgia, serif; font-size: 22px; font-weight: 600; }
.product-meta { margin-top: 4px; font-size: 13px; color: var(--muted); }
.notify-form { margin-top: 18px; }
.notify-form label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--green); }
.notify-row { display: flex; flex-wrap: wrap; gap: 8px; }
.notify-row input { flex: 1 1 160px; min-width: 0; min-height: 44px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 100px; background: #fff; color: var(--ink); font-size: 14px; }
.notify-row input:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.button.button-small { flex: 0 0 auto; min-height: 44px; padding: 10px 18px; font-size: 14px; gap: 8px; }
.notify-help, .notify-error { margin-top: 8px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.notify-error { color: #843c2e; }

/* Festive extras: try an accessory on the example */
.festive-try { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 20px 32px; align-items: center; }
.festive-stage { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 150px 150px 18px 18px; background: #fdf6eb; border: 1px solid var(--line); }
.festive-base { position: absolute; left: 6%; top: 22%; width: 88%; height: auto; }
.festive-layer { position: absolute; height: auto; opacity: 0; pointer-events: none; transform: translateY(-8px) rotate(var(--r, 0deg)) scale(.96); }
.festive-stage[data-accessory="santa"] [data-layer="santa"],
.festive-stage[data-accessory="antlers"] [data-layer="antlers"],
.festive-stage[data-accessory="bow"] [data-layer="bow"] { opacity: 1; transform: rotate(var(--r, 0deg)); }
@media (prefers-reduced-motion: no-preference) { .festive-layer { transition: opacity 200ms ease, transform 220ms ease; } }
.festive-layer[data-layer="santa"] { width: 50%; left: 29%; top: -6%; --r: 14deg; }
.festive-layer[data-layer="antlers"] { width: 50%; left: 26%; top: -5%; --r: 6deg; }
.festive-layer[data-layer="bow"] { width: 26%; left: 40%; top: 77%; --r: 0deg; }
.holiday-extra .accessory-showcase { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.accessory-try { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 6px 18px 6px 6px; border: 1px solid var(--line); border-radius: 100px; background: var(--paper-light); color: var(--green); font-size: 14px; font-weight: 600; text-align: left; }
.accessory-try:hover { border-color: var(--gold); }
.accessory-try[aria-pressed="true"] { border-color: var(--green); background: #eef2ea; box-shadow: inset 0 0 0 1px var(--green); }
.accessory-showcase .accessory-try img { width: 52px; height: 52px; flex: 0 0 52px; object-fit: contain; }
.holiday-extra p.festive-note { grid-column: 1 / -1; max-width: none; margin-top: 0; font-size: 13px; }
@media (max-width: 1100px) { .festive-try { grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: 16px 20px; } }
@media (max-width: 600px) {
  .festive-try { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .festive-stage { max-width: 240px; }
  .holiday-extra .accessory-showcase { flex-direction: row; justify-content: center; width: 100%; gap: 8px; }
  .accessory-try { flex: 1 1 0; flex-direction: column; gap: 4px; min-height: 0; padding: 10px 6px; border-radius: 16px; text-align: center; font-size: 12px; }
  .accessory-showcase .accessory-try img { width: 48px; height: 48px; flex-basis: auto; }
  .holiday-extra p.festive-note { text-align: center; }
}

/* Before you order + FAQ in one section */
.faq-intro h2 { margin-top: 15px; }
.faq-intro .order-notes { margin-top: 28px; }
.faq-intro .order-notes > div { grid-template-columns: 1fr; gap: 4px; padding-block: 16px; }
.faq-intro .order-notes > div:first-child { padding-top: 0; }
.faq-intro .order-notes > div:last-child { border-bottom: 0; }
.faq-section .eyebrow { color: var(--gold); }

/* Closing call to action */
.closing-cta { background: var(--paper-light); border-top: 1px solid var(--line); }
.closing-inner { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: center; max-width: 920px; }
.closing-art { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 110px 110px 16px 16px; }
.closing-inner .eyebrow { color: var(--gold); }
.closing-inner h2 { margin-top: 12px; font-size: clamp(30px, 3vw, 42px); }
.closing-inner p:not(.eyebrow) { margin-top: 14px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.closing-inner .button { margin-top: 24px; }
.closing-inner .closing-facts { font-size: 13px; }
.closing-facts strong { color: var(--green); }
@media (max-width: 600px) {
  .closing-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; text-align: center; justify-items: center; }
  .closing-art { width: 160px; }
  .closing-inner .button { width: 100%; }
}
@media (max-width: 600px) {
  .product-card { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .product-card > img { aspect-ratio: 16 / 10; min-height: 0; }
  .product-copy { padding: 10px 6px 6px; }
}
.notify-row .button-small { background: transparent; border-color: var(--green); color: var(--green); }
.notify-row .button-small:hover { background: var(--green); color: var(--paper-light); }
@media (max-width: 1100px) and (min-width: 601px) {
  .holiday-extra { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .festive-try { grid-template-columns: minmax(0, 260px) minmax(0, 320px); }
}
.accessory-try { min-width: 0; }
@media (max-width: 360px) {
  .style-cards { margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
}
