@font-face {
  font-family: Vazirmatn;
  src: url('/assets/fonts/Vazirmatn-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Estedad;
  src: url('/assets/fonts/Estedad-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #132238;
  --navy-2: #233b58;
  --coral: #ff6b5e;
  --coral-dark: #e95145;
  --teal: #20c9b5;
  --cream: #fff8ec;
  --paper: #fffdf8;
  --amber: #ffbe4f;
  --sky: #60bce9;
  --plum: #8e6bd8;
  --danger: #d63a4a;
  --ink-soft: #667283;
  --line: rgba(19, 34, 56, .1);
  --shadow: 0 18px 60px rgba(32, 43, 61, .1);
  --shadow-soft: 0 10px 30px rgba(32, 43, 61, .08);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --font: Vazirmatn, Tahoma, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--navy);
  background:
    radial-gradient(circle at 88% 10%, rgba(255,107,94,.09), transparent 24rem),
    radial-gradient(circle at 5% 35%, rgba(32,201,181,.08), transparent 22rem),
    var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
h1, h2, h3, strong { font-family: Estedad, Vazirmatn, Tahoma, Arial, sans-serif; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid rgba(32,201,181,.5); outline-offset: 3px; }
img { display: block; max-width: 100%; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { width: 1.35em; height: 1.35em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; top: 12px; right: 12px; padding: 10px 16px; background: var(--navy); color: white; border-radius: 12px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.offline-bar { position: sticky; top: 0; z-index: 200; padding: 7px 20px; text-align: center; color: white; background: var(--danger); font-size: .86rem; }
.demo-bar { padding: 7px 20px; text-align: center; color: #5f3b00; background: #fff0c8; border-bottom: 1px solid rgba(95,59,0,.12); font-size: .78rem; }
.demo-bar strong { margin-inline-end: 6px; color: var(--navy); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,253,248,.86); border-bottom: 1px solid rgba(19,34,56,.06); backdrop-filter: blur(18px); }
.header-inner { width: min(1240px, calc(100% - 32px)); min-height: 78px; margin-inline: auto; display: flex; align-items: center; gap: 28px; }
.brand { border: 0; background: transparent; padding: 0; display: inline-flex; align-items: center; gap: 9px; cursor: pointer; }
.brand img { width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(19,34,56,.15)); }
.brand span { display: grid; text-align: right; line-height: 1.05; }
.brand strong { font-size: 1.35rem; font-weight: 900; }
.brand small { margin-top: 4px; color: var(--ink-soft); font: 700 .62rem Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.desktop-nav { display: flex; align-items: center; gap: 4px; margin-inline-start: 8px; }
.nav-link { position: relative; border: 0; background: transparent; padding: 12px 11px; color: var(--ink-soft); cursor: pointer; font-size: .9rem; font-weight: 700; }
.nav-link::after { content: ""; position: absolute; bottom: 5px; left: 50%; width: 5px; height: 5px; border-radius: 99px; background: var(--coral); transform: translateX(-50%) scale(0); transition: transform .2s; }
.nav-link:hover, .nav-link.is-active { color: var(--navy); }
.nav-link.is-active::after { transform: translateX(-50%) scale(1); }
.header-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 7px; }
.icon-button, .login-button { position: relative; height: 43px; border: 1px solid var(--line); background: white; cursor: pointer; box-shadow: 0 5px 16px rgba(19,34,56,.05); }
.icon-button { width: 43px; border-radius: 15px; display: grid; place-items: center; }
.login-button { border-radius: 15px; display: flex; align-items: center; gap: 8px; padding: 0 16px; font-weight: 800; }
.cart-count { position: absolute; top: -5px; left: -5px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; color: white; background: var(--coral); border: 2px solid white; border-radius: 99px; font-size: .65rem; font-weight: 900; }
.ping { position: absolute; top: 8px; right: 8px; width: 7px; height: 7px; border: 2px solid white; background: var(--teal); border-radius: 50%; }

.page { display: none; min-height: calc(100vh - 78px); animation: fadeIn .32s ease both; }
.page.is-active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } }
.home-grid { padding-block: 18px 120px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; }
.hero-card { grid-column: 1 / -1; min-height: 405px; position: relative; overflow: hidden; display: grid; grid-template-columns: .88fr 1.12fr; border: 1px solid rgba(19,34,56,.05); background: var(--cream); border-radius: 40px; box-shadow: var(--shadow); isolation: isolate; }
.hero-card::before { content: ""; position: absolute; z-index: -1; width: 220px; height: 220px; top: -90px; right: -60px; border-radius: 50%; background: rgba(255,107,94,.12); }
.hero-copy { padding: clamp(34px, 4vw, 50px); padding-inline-end: 26px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; color: var(--coral-dark); font-size: .82rem; font-weight: 900; letter-spacing: -.01em; }
.eyebrow svg { width: 18px; }
.hero-copy h1, .page-title-row h1, .new-home-copy h1 { margin: 12px 0 16px; font-size: clamp(2.35rem, 4.45vw, 4rem); line-height: 1.14; letter-spacing: -.055em; font-weight: 950; }
.hero-copy h1 { font-size: clamp(2.35rem, 3.6vw, 3.25rem); }
.hero-copy h1 em { color: var(--coral); font-style: normal; }
.hero-copy > p { max-width: 32rem; margin: 0; color: var(--ink-soft); font-size: 1.08rem; }
.hero-actions { margin-top: 28px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.primary-button, .secondary-button, .add-button { border: 0; border-radius: 16px; cursor: pointer; font-weight: 900; transition: transform .2s, box-shadow .2s, background .2s; }
.primary-button { min-height: 50px; padding: 0 22px; color: white; background: var(--coral); box-shadow: 0 12px 24px rgba(255,107,94,.25); }
.primary-button:hover, .add-button:hover { transform: translateY(-2px); box-shadow: 0 16px 28px rgba(255,107,94,.28); }
.primary-button:active, .add-button:active { transform: translateY(0); }
.primary-button.full { width: 100%; }
.secondary-button { min-height: 46px; padding: 0 20px; color: var(--navy); background: rgba(19,34,56,.07); }
.text-button { min-height: 48px; border: 0; background: transparent; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 900; }
.text-button svg { width: 18px; transition: transform .2s; }
.text-button:hover svg { transform: translateX(-4px); }
.trust-row { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 14px; color: var(--ink-soft); font-size: .82rem; }
.trust-row span { display: flex; align-items: center; gap: 5px; }
.trust-row svg { width: 17px; color: var(--teal); stroke-width: 2.4; }
.hero-art { position: relative; min-height: 405px; overflow: hidden; }
.hero-art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 25% center; }
.hero-art::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 22%; background: linear-gradient(to left, transparent, var(--cream)); }
.floating-note { position: absolute; z-index: 2; left: 24px; bottom: 26px; display: grid; gap: 1px; padding: 13px 17px; color: var(--navy); background: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.8); border-radius: 16px; box-shadow: 0 14px 35px rgba(19,34,56,.15); backdrop-filter: blur(12px); animation: float 4s ease-in-out infinite; }
.floating-note span { color: var(--coral-dark); font-size: .72rem; font-weight: 900; }
.floating-note strong { font-size: .86rem; }
@keyframes float { 50% { transform: translateY(-7px); } }

.quick-section { grid-column: 1 / -1; padding: 18px 4px 4px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.section-heading.compact { margin-bottom: 13px; }
.section-heading h2, .pet-summary h2, .birthday-card h2 { margin: 2px 0 0; font-size: 1.45rem; line-height: 1.35; letter-spacing: -.025em; }
.overline { color: var(--ink-soft); font-size: .72rem; font-weight: 900; letter-spacing: .02em; }
.quick-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.quick-card { min-height: 122px; border: 1px solid var(--line); background: white; border-radius: var(--radius-lg); padding: 14px 10px 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow-soft); transition: transform .22s, box-shadow .22s; }
.quick-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.quick-card strong { margin-top: 8px; font-size: .95rem; }
.quick-card small { color: var(--ink-soft); font-size: .72rem; }
.quick-icon { width: 53px; height: 53px; display: grid; place-items: center; border-radius: 18px; color: white; box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 10px 18px rgba(19,34,56,.12); transform: rotate(-3deg); }
.quick-icon svg { width: 25px; height: 25px; }
.quick-card.coral .quick-icon { background: linear-gradient(145deg, #ff887e, var(--coral)); }
.quick-card.teal .quick-icon { background: linear-gradient(145deg, #55dccb, var(--teal)); }
.quick-card.navy .quick-icon { background: linear-gradient(145deg, #365779, var(--navy)); }
.quick-card.amber .quick-icon { background: linear-gradient(145deg, #ffd47d, var(--amber)); color: var(--navy); }
.quick-card.sky .quick-icon { background: linear-gradient(145deg, #8ad4f5, var(--sky)); }
.quick-card.plum .quick-icon { background: linear-gradient(145deg, #ad8ff0, var(--plum)); }

.today-card { padding: 25px; background: white; border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-soft); }
.pet-summary { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; margin-bottom: 18px; }
.pet-summary > div:nth-child(2) > span { color: var(--coral-dark); font-size: .76rem; font-weight: 900; }
.pet-avatar, .big-pet-avatar { display: grid; place-items: center; color: white; background: linear-gradient(145deg, var(--coral), #ff9a7f); border: 4px solid #ffe5dd; border-radius: 50%; font-weight: 950; box-shadow: 0 9px 20px rgba(255,107,94,.22); }
.pet-avatar { width: 54px; height: 54px; font-size: 1.1rem; }
.tiny-link { border: 0; background: transparent; color: var(--coral-dark); padding: 8px; cursor: pointer; font-size: .8rem; font-weight: 900; }
.task-list { display: grid; gap: 8px; }
.task { width: 100%; border: 0; background: #f8f7f3; border-radius: 17px; padding: 12px 14px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; text-align: right; cursor: pointer; transition: background .2s; }
.task:hover { background: #f2f0e9; }
.task-check { width: 31px; height: 31px; display: grid; place-items: center; border: 2px solid rgba(19,34,56,.18); border-radius: 50%; color: transparent; }
.task-check svg { width: 16px; }
.task strong, .task small { display: block; }
.task strong { font-size: .9rem; }
.task small { color: var(--ink-soft); font-size: .73rem; }
.task em { color: var(--ink-soft); font-size: .72rem; font-style: normal; }
.task.is-done { opacity: .6; }
.task.is-done strong { text-decoration: line-through; }
.task.is-done .task-check { color: white; border-color: var(--teal); background: var(--teal); }
.birthday-card { position: relative; overflow: hidden; padding: 26px; min-height: 240px; display: flex; flex-direction: column; justify-content: flex-end; color: var(--navy); background: linear-gradient(145deg, #ffd268, var(--amber)); border-radius: var(--radius-xl); box-shadow: 0 16px 36px rgba(255,190,79,.22); }
.birthday-icon { position: absolute; top: 22px; right: 24px; width: 59px; height: 59px; display: grid; place-items: center; color: var(--coral-dark); background: rgba(255,255,255,.76); border-radius: 21px; transform: rotate(7deg); }
.birthday-icon svg { width: 28px; height: 28px; }
.birthday-card p { margin: 4px 0 0; font-size: .86rem; opacity: .75; }
.circle-arrow { position: absolute; bottom: 25px; left: 24px; width: 44px; height: 44px; border: 0; display: grid; place-items: center; color: white; background: var(--navy); border-radius: 50%; cursor: pointer; }
.circle-arrow svg { width: 20px; }
.confetti { position: absolute; top: 18px; left: 25%; color: rgba(255,255,255,.8); font-size: 1.4rem; transform: rotate(18deg); }
.confetti.second { top: 36%; left: 11%; color: rgba(255,107,94,.55); font-size: .8rem; }

.recommendations { grid-column: 1 / -1; padding-top: 26px; }
.product-row, .shop-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.product-card { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); transition: transform .22s, box-shadow .22s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-visual { position: relative; height: 165px; display: grid; place-items: center; overflow: hidden; }
.product-visual::before, .product-visual::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.28); }
.product-visual::before { width: 120px; height: 120px; left: -30px; bottom: -45px; }
.product-visual::after { width: 66px; height: 66px; top: -20px; right: 18%; }
.product-visual > svg { width: 64px; height: 64px; color: rgba(19,34,56,.74); stroke-width: 1.25; filter: drop-shadow(0 12px 10px rgba(19,34,56,.1)); transform: rotate(-5deg); }
.coral-bg { background: linear-gradient(145deg, #ffe0d7, #ffc2b8); }
.teal-bg { background: linear-gradient(145deg, #d9fff8, #a8ebdf); }
.amber-bg { background: linear-gradient(145deg, #fff0c8, #ffdb83); }
.sky-bg { background: linear-gradient(145deg, #dff4ff, #b8def2); }
.product-label { position: absolute; z-index: 2; top: 12px; right: 12px; padding: 5px 9px; background: rgba(255,255,255,.78); border-radius: 99px; font-size: .65rem; font-weight: 900; backdrop-filter: blur(8px); }
.product-body { padding: 16px; }
.product-body > small { color: var(--ink-soft); font-size: .72rem; }
.product-body h3 { margin: 3px 0 12px; font-size: 1rem; }
.price { display: flex; align-items: baseline; gap: 4px; }
.price strong { font-size: 1.05rem; }
.price span { color: var(--ink-soft); font-size: .67rem; }
.add-button { width: 100%; min-height: 42px; margin-top: 12px; color: white; background: var(--navy); box-shadow: 0 9px 18px rgba(19,34,56,.15); }
.add-button:hover { background: var(--coral); }
.article-strip { grid-column: 1 / -1; overflow: hidden; min-height: 270px; padding: clamp(28px, 5vw, 54px); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 25px; color: white; background: var(--navy); border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.article-main { max-width: 620px; }
.article-tag { display: inline-flex; padding: 6px 10px; color: var(--navy); background: var(--teal); border-radius: 99px; font-size: .7rem; font-weight: 900; }
.article-main h2 { margin: 14px 0 6px; font-size: clamp(1.7rem, 4vw, 2.8rem); line-height: 1.3; }
.article-main p { margin: 0; color: rgba(255,255,255,.66); }
.text-button.light { color: white; margin-top: 15px; padding: 0; }
.article-fact { min-width: 170px; padding: 20px; display: grid; color: var(--navy); background: var(--cream); border-radius: 22px; transform: rotate(-2deg); }
.article-fact span { color: var(--coral-dark); font-size: .8rem; font-weight: 900; }
.article-fact strong { font-size: 1.15rem; }
.article-fact small { color: var(--ink-soft); font-size: .68rem; }
.home-footer { grid-column: 1 / -1; padding: 16px 4px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--ink-soft); font-size: .78rem; }
.home-footer > div { display: grid; }
.home-footer strong { color: var(--navy); font-size: .9rem; }
.home-footer button { border: 1px solid var(--line); background: white; border-radius: 13px; padding: 10px 14px; cursor: pointer; font-weight: 800; }

.inner-page { padding-block: 48px 130px; }
.page-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 32px; }
.page-title-row h1 { margin: 5px 0 8px; font-size: clamp(2.1rem, 4vw, 3.5rem); }
.page-title-row p { margin: 0; color: var(--ink-soft); }
.coral-text { color: var(--coral-dark); }.teal-text { color: #0f9b8a; }.navy-text { color: var(--navy); }.amber-text { color: #c78300; }.sky-text { color: #1878a6; }
.search-box { width: min(390px, 100%); min-height: 52px; padding: 0 15px; display: flex; align-items: center; gap: 9px; background: white; border: 1px solid var(--line); border-radius: 17px; box-shadow: var(--shadow-soft); }
.search-box svg { flex: 0 0 auto; color: var(--ink-soft); }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--navy); }
.filter-row, .topic-row { display: flex; gap: 8px; overflow-x: auto; padding: 2px 1px 16px; scrollbar-width: none; }
.filter-chip, .topic-row button { flex: 0 0 auto; border: 1px solid var(--line); background: white; border-radius: 99px; padding: 9px 16px; cursor: pointer; color: var(--ink-soft); font-weight: 800; }
.filter-chip.is-active, .topic-row button:first-child { color: white; background: var(--navy); border-color: var(--navy); }
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 20px; align-items: start; }
.repeat-order { position: sticky; top: 105px; min-height: 310px; padding: 24px; display: flex; flex-direction: column; align-items: flex-start; background: var(--navy); color: white; border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.repeat-order .mini-icon { width: 54px; height: 54px; display: grid; place-items: center; background: var(--teal); color: var(--navy); border-radius: 18px; }
.repeat-order h2 { margin: 14px 0 6px; font-size: 1.4rem; line-height: 1.4; }
.repeat-order p, .repeat-order small { color: rgba(255,255,255,.65); }
.repeat-order p { margin: 0; font-size: .8rem; }
.repeat-order .primary-button { margin-top: auto; width: 100%; }
.shop-products { grid-template-columns: repeat(2, 1fr); }
.product-card[hidden] { display: none; }

.location-button { min-height: 48px; padding: 0 16px; border: 1px solid var(--line); background: white; border-radius: 15px; display: flex; align-items: center; gap: 7px; cursor: pointer; font-weight: 800; box-shadow: var(--shadow-soft); }
.location-button svg { color: var(--coral); }
.safety-banner { margin-bottom: 20px; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #7c1826; background: #fff0f2; border: 1px solid rgba(214,58,74,.18); border-radius: var(--radius-md); }
.safety-banner strong { font-size: .85rem; }
.safety-banner button { flex: 0 0 auto; border: 0; color: white; background: var(--danger); border-radius: 12px; padding: 9px 13px; cursor: pointer; font-weight: 900; }
.vet-layout { display: grid; grid-template-columns: minmax(300px, .8fr) 1.2fr; gap: 20px; align-items: start; }
.intake-card, .timeline-card, .reminder-card { padding: 27px; background: white; border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-soft); }
.intake-card h2 { margin: 4px 0 20px; font-size: 1.5rem; }
.symptom-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.symptom-grid label { cursor: pointer; }
.symptom-grid input { position: absolute; opacity: 0; pointer-events: none; }
.symptom-grid span { min-height: 52px; display: grid; place-items: center; border: 1px solid var(--line); background: #faf9f6; border-radius: 14px; font-size: .82rem; font-weight: 800; }
.symptom-grid input:checked + span { color: #087a6d; background: rgba(32,201,181,.12); border-color: var(--teal); }
.field-label { margin-block: 18px; display: grid; gap: 7px; font-size: .8rem; font-weight: 900; }
.field-label select { min-height: 50px; padding-inline: 12px; border: 1px solid var(--line); color: var(--navy); background: white; border-radius: 14px; }
.medical-note { display: block; margin-top: 13px; color: var(--ink-soft); font-size: .7rem; line-height: 1.8; }
.vet-results { padding: 8px 0; }
.live-chip { padding: 6px 10px; color: #087a6d; background: rgba(32,201,181,.13); border-radius: 99px; font-size: .7rem; font-weight: 900; }
.vet-card { padding: 18px; margin-bottom: 10px; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.vet-avatar { width: 58px; height: 58px; display: grid; place-items: center; color: white; background: linear-gradient(145deg, var(--teal), #0e9f8e); border-radius: 19px; font-weight: 950; }
.vet-avatar.alt { background: linear-gradient(145deg, var(--coral), #e84f45); }
.vet-info > div:first-child { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.vet-info h3 { margin: 0; font-size: .95rem; }
.verified { color: #087a6d; font-size: .65rem; font-weight: 900; }
.vet-info p { margin: 2px 0 7px; color: var(--ink-soft); font-size: .76rem; }
.vet-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: .68rem; font-weight: 800; }
.vet-card > button, .calendar-item > button { border: 0; background: rgba(19,34,56,.07); border-radius: 12px; padding: 10px 12px; cursor: pointer; font-size: .76rem; font-weight: 900; }

.pet-dashboard { display: grid; grid-template-columns: 240px 1fr 1fr; gap: 18px; align-items: start; }
.pet-profile-card { padding: 27px 22px; text-align: center; color: white; background: var(--navy); border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.big-pet-avatar { width: 94px; height: 94px; margin: 0 auto 12px; font-size: 2rem; border-width: 7px; }
.pet-profile-card h2 { margin: 0; font-size: 1.7rem; }
.pet-profile-card > p { margin: 1px 0 19px; color: rgba(255,255,255,.62); font-size: .76rem; }
.pet-profile-card dl { margin: 0 0 18px; display: grid; gap: 1px; overflow: hidden; background: rgba(255,255,255,.1); border-radius: 15px; }
.pet-profile-card dl div { padding: 9px 11px; display: flex; justify-content: space-between; gap: 12px; background: rgba(255,255,255,.05); font-size: .72rem; }
.pet-profile-card dt { color: rgba(255,255,255,.58); }.pet-profile-card dd { margin: 0; font-weight: 900; }
.pet-profile-card .secondary-button { width: 100%; color: white; background: rgba(255,255,255,.12); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 28px 21px 0; }
.timeline li::before { content: ""; position: absolute; top: 13px; right: 6px; bottom: -3px; width: 1px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline-dot { position: absolute; top: 6px; right: 0; width: 13px; height: 13px; border: 3px solid white; border-radius: 50%; box-shadow: 0 0 0 2px currentColor; }
.teal-dot { color: var(--teal); background: var(--teal); }.coral-dot { color: var(--coral); background: var(--coral); }.amber-dot { color: var(--amber); background: var(--amber); }
.timeline time { color: var(--ink-soft); font-size: .68rem; }
.timeline h3 { margin: 0; font-size: .9rem; }.timeline p { margin: 1px 0; color: var(--ink-soft); font-size: .73rem; }
.calendar-item { padding: 13px 0; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; border-top: 1px solid var(--line); }
.calendar-item:first-of-type { border-top: 0; }
.date-tile { width: 53px; height: 58px; display: grid; place-content: center; text-align: center; background: rgba(255,107,94,.13); border-radius: 14px; }
.date-tile strong { color: var(--coral-dark); font-size: 1.12rem; line-height: 1; }.date-tile span { font-size: .58rem; }.date-tile.muted { background: rgba(32,201,181,.12); }.date-tile.muted strong { color: #087a6d; }
.calendar-item h3 { margin: 0; font-size: .84rem; }.calendar-item p { margin: 0; color: var(--ink-soft); font-size: .68rem; }

.new-home-hero { min-height: 490px; overflow: hidden; display: grid; grid-template-columns: .82fr 1.18fr; background: #fff2d8; border-radius: 40px; box-shadow: var(--shadow); }
.new-home-copy { z-index: 1; padding: clamp(34px, 5vw, 64px); padding-inline-end: 18px; align-self: center; }
.new-home-copy h1 { font-size: clamp(2rem, 4vw, 3.45rem); }
.new-home-copy p { max-width: 30rem; color: var(--ink-soft); }
.new-home-copy > div { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-block: 23px; }
.new-home-copy > small { color: #9a6500; font-weight: 900; }
.new-home-hero > img { width: 100%; height: 100%; object-fit: cover; object-position: 25% center; }
.safe-steps { padding-top: 40px; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.steps-grid article { position: relative; padding: 23px; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.steps-grid article > span { width: 37px; height: 37px; display: grid; place-items: center; color: white; background: var(--coral); border-radius: 13px; font-weight: 950; box-shadow: 0 8px 16px rgba(255,107,94,.2); }
.steps-grid h3 { margin: 14px 0 3px; font-size: 1rem; }.steps-grid p { margin: 0; color: var(--ink-soft); font-size: .78rem; }

.topic-row { margin-bottom: 8px; }
.knowledge-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 17px; }
.featured-article { min-height: 460px; padding: clamp(28px, 5vw, 52px); display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; color: white; background: linear-gradient(145deg, var(--navy), #284c70); border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.featured-article h2 { margin: 16px 0 9px; font-size: clamp(1.75rem, 3.5vw, 2.7rem); line-height: 1.35; }.featured-article p { margin: 0; color: rgba(255,255,255,.67); }
.review-line { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; color: rgba(255,255,255,.58); font-size: .7rem; }
.featured-article button { margin-top: 19px; border: 0; padding: 12px 16px; color: var(--navy); background: var(--teal); border-radius: 13px; cursor: pointer; font-weight: 900; }
.article-list { display: grid; gap: 10px; }
.article-list article { padding: 24px; background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.article-list span { color: var(--coral-dark); font-size: .68rem; font-weight: 900; }.article-list h3 { margin: 6px 0 3px; font-size: 1.05rem; }.article-list p { margin: 0; color: var(--ink-soft); font-size: .78rem; }.article-list button { margin-top: 10px; border: 0; padding: 0; color: var(--navy); background: transparent; cursor: pointer; font-size: .76rem; font-weight: 900; }
.medical-disclaimer { margin: 17px 0 0; padding: 14px 18px; color: var(--ink-soft); background: rgba(96,188,233,.1); border-radius: 14px; font-size: .75rem; }

.mobile-nav { display: none; }
.overlay { position: fixed; inset: 0; z-index: 200; background: rgba(10,22,37,.45); backdrop-filter: blur(4px); }
.modal { width: min(440px, calc(100% - 28px)); padding: 32px; color: var(--navy); background: white; border: 0; border-radius: 28px; box-shadow: 0 28px 90px rgba(10,22,37,.28); text-align: center; }
.modal::backdrop { background: rgba(10,22,37,.45); backdrop-filter: blur(4px); }
.modal-close { position: absolute; top: 15px; left: 15px; width: 39px; height: 39px; border: 0; display: grid; place-items: center; background: #f2f1ed; border-radius: 50%; cursor: pointer; }
.modal-brand { width: 80px; height: 80px; margin: 4px auto 10px; display: grid; place-items: center; }
.modal-brand img { width: 100%; height: 100%; object-fit: contain; }.modal-brand.coral-circle { width: 72px; height: 72px; color: white; background: var(--coral); border-radius: 24px; transform: rotate(-4deg); }.modal-brand.coral-circle svg { width: 34px; height: 34px; }
.modal h2 { margin: 5px 0 7px; font-size: 1.5rem; line-height: 1.45; }.modal > p { margin: 0 0 19px; color: var(--ink-soft); font-size: .86rem; }.modal > small { display: block; margin-top: 12px; color: var(--ink-soft); font-size: .65rem; }
.phone-field { height: 55px; margin-bottom: 10px; padding: 0 15px; display: flex; align-items: center; gap: 9px; direction: ltr; border: 1px solid var(--line); border-radius: 15px; }
.phone-field span { color: var(--ink-soft); font-weight: 800; }.phone-field input { width: 100%; border: 0; outline: 0; direction: ltr; text-align: left; }
.install-steps { margin: 0 0 18px; padding: 0; list-style: none; counter-reset: steps; display: grid; gap: 8px; text-align: right; }
.install-steps li { counter-increment: steps; padding: 10px 12px; background: #f7f6f2; border-radius: 12px; font-size: .8rem; }.install-steps li::before { content: counter(steps); width: 24px; height: 24px; margin-left: 8px; display: inline-grid; place-items: center; color: white; background: var(--navy); border-radius: 8px; font-size: .7rem; font-weight: 900; }
.cart-drawer { position: fixed; z-index: 300; top: 0; bottom: 0; left: 0; width: min(410px, 100%); padding: 24px; display: flex; flex-direction: column; background: var(--paper); box-shadow: 20px 0 70px rgba(19,34,56,.2); transform: translateX(-110%); transition: transform .28s ease; }
.cart-drawer.is-open { transform: translateX(0); }
.drawer-header { display: flex; align-items: center; justify-content: space-between; }
.drawer-header h2 { margin: 0; }.drawer-header button { width: 40px; height: 40px; border: 0; display: grid; place-items: center; background: white; border-radius: 50%; cursor: pointer; }
.cart-items { flex: 1; overflow-y: auto; padding-block: 18px; }
.empty-cart { min-height: 300px; display: grid; place-content: center; justify-items: center; text-align: center; color: var(--ink-soft); }.empty-cart svg { width: 50px; height: 50px; }.empty-cart h3 { margin: 12px 0 2px; color: var(--navy); }.empty-cart p { margin: 0; font-size: .8rem; }
.cart-line { padding: 14px; margin-bottom: 8px; display: grid; grid-template-columns: 1fr auto; gap: 8px; background: white; border: 1px solid var(--line); border-radius: 16px; }.cart-line strong, .cart-line small { display: block; }.cart-line small { color: var(--ink-soft); }.cart-line button { border: 0; background: transparent; color: var(--danger); cursor: pointer; font-size: .72rem; }
.cart-suggestion { padding: 14px; margin-bottom: 12px; display: grid; grid-template-columns: 1fr auto; background: rgba(32,201,181,.12); border-radius: 16px; }.cart-suggestion span { grid-column: 1 / -1; color: #087a6d; font-size: .65rem; font-weight: 900; }.cart-suggestion strong { font-size: .82rem; }.cart-suggestion button { border: 0; background: transparent; cursor: pointer; font-size: .75rem; font-weight: 900; }
.drawer-footer { padding-top: 14px; border-top: 1px solid var(--line); }.drawer-footer > div { margin-bottom: 11px; display: flex; justify-content: space-between; }.drawer-footer span { color: var(--ink-soft); }
.toast { position: fixed; z-index: 500; bottom: 28px; left: 50%; max-width: calc(100% - 32px); padding: 12px 18px; color: white; background: var(--navy); border-radius: 14px; box-shadow: 0 16px 40px rgba(19,34,56,.25); font-size: .82rem; font-weight: 800; opacity: 0; pointer-events: none; transform: translate(-50%, 20px); transition: opacity .22s, transform .22s; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1050px) {
  .desktop-nav { display: none; }
  .home-grid { grid-template-columns: 1fr 300px; }
  .quick-grid { grid-template-columns: repeat(3, 1fr); }
  .pet-dashboard { grid-template-columns: 220px 1fr; }
  .reminder-card { grid-column: 2; }
}

@media (max-width: 760px) {
  body { padding-bottom: 76px; }
  .container { width: min(100% - 24px, 620px); }
  .site-header { top: 0; }
  .header-inner { width: calc(100% - 24px); min-height: 66px; }
  .brand img { width: 43px; height: 43px; }.brand strong { font-size: 1.16rem; }.brand small { display: none; }
  .header-actions .icon-button:first-child { display: none; }.login-button { width: 43px; padding: 0; justify-content: center; }.login-button span { display: none; }
  .page { min-height: calc(100vh - 66px); }
  .home-grid { grid-template-columns: 1fr; gap: 15px; padding-top: 13px; }
  .hero-card { grid-column: 1; min-height: 0; grid-template-columns: 1fr; grid-template-rows: auto 145px; border-radius: 28px; }
  .hero-copy { padding: 22px 19px 10px; padding-inline-end: 19px; }
  .hero-copy h1 { margin: 7px 0 9px; font-size: clamp(1.9rem, 8vw, 2.15rem); }.hero-copy > p { font-size: .86rem; }.hero-actions { margin-top: 14px; }.hero-copy .trust-row { display: none; }
  .hero-art { min-height: 145px; }.hero-art::after { width: 100%; height: 18%; inset: 0 0 auto; background: linear-gradient(to bottom, var(--cream), transparent); }.floating-note { left: 11px; bottom: 10px; padding: 9px 12px; }
  .quick-section { grid-column: 1; padding-top: 14px; }
  .quick-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }.quick-card { min-height: 116px; padding: 12px 5px; border-radius: 19px; }.quick-icon { width: 45px; height: 45px; border-radius: 15px; }.quick-card strong { font-size: .82rem; }.quick-card small { display: none; }
  .today-card { padding: 18px; border-radius: 25px; }.pet-summary { grid-template-columns: auto 1fr; }.pet-summary .tiny-link { display: none; }.pet-summary h2 { font-size: 1.13rem; }.task { padding: 11px; }
  .birthday-card { min-height: 220px; border-radius: 25px; }.birthday-card h2 { max-width: 80%; }
  .recommendations { grid-column: 1; }.product-row { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 16px; }.product-row .product-card { scroll-snap-align: start; }
  .article-strip { grid-column: 1; min-height: 340px; padding: 28px; grid-template-columns: 1fr; }.article-fact { width: 160px; }
  .home-footer { grid-column: 1; flex-direction: column; align-items: flex-start; }.home-footer span { line-height: 1.8; }
  .inner-page { padding-block: 26px 96px; }.page-title-row { align-items: stretch; flex-direction: column; gap: 18px; margin-bottom: 22px; }.page-title-row h1 { font-size: 2.15rem; }.search-box { width: 100%; }
  .shop-layout, .vet-layout, .pet-dashboard, .knowledge-grid { grid-template-columns: 1fr; }.repeat-order { position: relative; top: auto; min-height: 220px; }.shop-products { grid-template-columns: repeat(2, minmax(0,1fr)); }.shop-products .product-visual { height: 135px; }.shop-products .product-body { padding: 13px; }
  .safety-banner { align-items: flex-start; flex-direction: column; }.vet-card { grid-template-columns: auto 1fr; }.vet-card > button { grid-column: 1 / -1; }
  .reminder-card { grid-column: auto; }.pet-profile-card { display: grid; grid-template-columns: auto 1fr; text-align: right; align-items: center; gap: 0 14px; }.big-pet-avatar { grid-row: 1 / 3; width: 76px; height: 76px; margin: 0; }.pet-profile-card > p { margin: 0; }.pet-profile-card dl, .pet-profile-card .secondary-button { grid-column: 1 / -1; margin-top: 16px; }
  .new-home-hero { min-height: 650px; grid-template-columns: 1fr; grid-template-rows: auto 290px; border-radius: 28px; }.new-home-copy { padding: 32px 24px; }.new-home-copy h1 { font-size: 2.1rem; }.new-home-hero > img { object-position: 18% center; }.steps-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-article { min-height: 410px; }
  .mobile-nav { position: fixed; z-index: 150; right: 10px; bottom: max(8px, env(safe-area-inset-bottom)); left: 10px; min-height: 66px; padding: 7px; display: grid; grid-template-columns: repeat(6, 1fr); background: rgba(19,34,56,.94); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; box-shadow: 0 16px 40px rgba(19,34,56,.25); backdrop-filter: blur(16px); }
  .mobile-nav button { border: 0; display: grid; place-items: center; gap: 1px; color: rgba(255,255,255,.5); background: transparent; border-radius: 15px; cursor: pointer; font-size: .61rem; }.mobile-nav svg { width: 21px; height: 21px; }.mobile-nav button.is-active { color: white; background: rgba(255,255,255,.1); }
  .toast { bottom: 91px; }
}

@media (max-width: 420px) {
  .quick-grid { grid-template-columns: repeat(3, 1fr); }.quick-card { min-height: 108px; }.quick-card strong { font-size: .76rem; }
  .shop-products { grid-template-columns: 1fr; }.shop-products .product-visual { height: 160px; }
  .symptom-grid { grid-template-columns: 1fr; }.steps-grid { grid-template-columns: 1fr; }
  .calendar-item { grid-template-columns: auto 1fr; }.calendar-item > button { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Meeow visual system — 1405 refresh */
@font-face {
  font-family: "Vazirmatn";
  src: url("/assets/fonts/Vazirmatn-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Estedad";
  src: url("/assets/fonts/Estedad-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy: #12233b;
  --navy-2: #253c58;
  --coral: #ff6b5f;
  --coral-dark: #dc4f46;
  --teal: #1db9a7;
  --cream: #fff5e7;
  --paper: #f8f7f2;
  --surface: #ffffff;
  --amber: #ffc55c;
  --sky: #67bce5;
  --plum: #9276d8;
  --danger: #c92f42;
  --ink-soft: #647083;
  --ink-faint: #8b94a1;
  --line: rgba(18, 35, 59, .09);
  --line-strong: rgba(18, 35, 59, .14);
  --shadow: 0 28px 80px rgba(18, 35, 59, .12);
  --shadow-soft: 0 12px 36px rgba(18, 35, 59, .07);
  --shadow-lift: 0 22px 44px rgba(18, 35, 59, .12);
  --radius-xl: 32px;
  --radius-lg: 23px;
  --radius-md: 16px;
  --font: "Vazirmatn", Tahoma, Arial, sans-serif;
  --font-display: "Estedad", "Vazirmatn", Tahoma, Arial, sans-serif;
}

html { scroll-padding-top: 112px; }

body {
  min-width: 320px;
  color: var(--navy);
  background:
    radial-gradient(circle at 92% 4%, rgba(255, 107, 95, .12), transparent 28rem),
    radial-gradient(circle at 2% 28%, rgba(29, 185, 167, .09), transparent 30rem),
    linear-gradient(180deg, #fbfaf6 0%, var(--paper) 48%, #fbfaf7 100%);
  font-size: 16px;
  line-height: 1.78;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image: radial-gradient(rgba(18, 35, 59, .22) .45px, transparent .45px);
  background-size: 7px 7px;
  mask-image: linear-gradient(to bottom, black, transparent 65%);
}

h1, h2, h3, .brand strong {
  font-family: var(--font-display);
  font-optical-sizing: auto;
}

button, input, select { letter-spacing: -.012em; }
button { transition: transform .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease; }
button:disabled { cursor: not-allowed; opacity: .58; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid rgba(29,185,167,.42); outline-offset: 3px; }
.container { width: min(1220px, calc(100% - 48px)); }

.site-header {
  top: 0;
  padding: 12px 0 0;
  border: 0;
  background: linear-gradient(to bottom, rgba(248,247,242,.96) 0 72%, rgba(248,247,242,0));
  backdrop-filter: none;
}

.header-inner {
  width: min(1280px, calc(100% - 32px));
  min-height: 70px;
  padding: 8px 10px 8px 14px;
  gap: 22px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 23px;
  box-shadow: 0 10px 32px rgba(18,35,59,.08), inset 0 0 0 1px rgba(18,35,59,.035);
  backdrop-filter: blur(20px) saturate(1.25);
}

.brand { min-width: 126px; gap: 10px; }
.brand img { width: 45px; height: 45px; filter: drop-shadow(0 7px 10px rgba(18,35,59,.14)); }
.brand strong { font-size: 1.38rem; letter-spacing: -.045em; }
.brand small { margin-top: 3px; color: var(--ink-faint); font-size: .58rem; letter-spacing: .18em; }
.desktop-nav { gap: 2px; margin-inline-start: 0; }
.nav-link { padding: 11px 12px; border-radius: 12px; font-size: .86rem; font-weight: 670; }
.nav-link::after { bottom: 3px; width: 16px; height: 2px; }
.nav-link:hover { background: rgba(18,35,59,.035); }
.nav-link.is-active { color: var(--navy); font-weight: 850; }
.header-actions { gap: 8px; }
.icon-button, .login-button { height: 42px; border-color: var(--line); border-radius: 13px; box-shadow: none; }
.icon-button { width: 42px; }
.icon-button:hover, .login-button:hover { transform: translateY(-1px); border-color: var(--line-strong); box-shadow: 0 8px 20px rgba(18,35,59,.08); }
.login-button { padding: 0 17px; color: white; background: var(--navy); border-color: var(--navy); }
.login-button:hover { background: var(--navy-2); }
.cart-count { top: -6px; left: -6px; border-width: 3px; }

.page { min-height: calc(100vh - 94px); }
.home-grid { padding-block: 18px 120px; grid-template-columns: minmax(0, 1fr) 350px; gap: 22px; }

.hero-card {
  min-height: 492px;
  grid-template-columns: .92fr 1.08fr;
  padding: 14px;
  border: 1px solid rgba(18,35,59,.07);
  background:
    radial-gradient(circle at 98% 0, rgba(255,107,95,.14), transparent 18rem),
    linear-gradient(135deg, #fffaf2, #fff4e5 70%);
  border-radius: 38px;
  box-shadow: 0 28px 90px rgba(18,35,59,.105);
}

.hero-card::before {
  width: 260px;
  height: 260px;
  top: -130px;
  right: 24%;
  border: 1px solid rgba(255,107,95,.18);
  background: transparent;
  box-shadow: 0 0 0 36px rgba(255,107,95,.035), 0 0 0 72px rgba(255,107,95,.02);
}

.hero-copy { padding: clamp(38px, 4.5vw, 64px); padding-inline-end: 34px; }
.eyebrow {
  min-height: 31px;
  padding: 3px 11px;
  color: var(--coral-dark);
  background: rgba(255,107,95,.1);
  border: 1px solid rgba(255,107,95,.12);
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 800;
}
.page-title-row .eyebrow, .new-home-copy .eyebrow { background: transparent; border: 0; padding: 0; }
.hero-copy h1, .page-title-row h1, .new-home-copy h1 {
  font-weight: 800;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.hero-copy h1 { margin: 15px 0 16px; font-size: clamp(2.65rem, 4vw, 3.75rem); line-height: 1.23; }
.hero-copy h1 em { position: relative; color: var(--coral); }
.hero-copy h1 em { white-space: nowrap; font-size: .94em; }
.hero-copy h1 em::after { content: ""; position: absolute; right: 0; bottom: -3px; width: 68%; height: 7px; border-radius: 99px; background: rgba(255,107,95,.16); }
.hero-copy > p { max-width: 30rem; color: #5f6c7d; font-size: 1.02rem; line-height: 1.95; }
.hero-actions { margin-top: 27px; gap: 12px; }
.primary-button, .secondary-button, .add-button { border-radius: 14px; font-weight: 820; }
.primary-button { min-height: 52px; padding: 0 24px; background: var(--navy); box-shadow: 0 12px 24px rgba(18,35,59,.16); }
.primary-button:hover { background: var(--coral); box-shadow: 0 15px 30px rgba(255,107,95,.22); }
.text-button { min-height: 50px; padding-inline: 12px; font-weight: 780; }
.trust-row { margin-top: 27px; gap: 8px; }
.trust-row span { min-height: 30px; padding: 3px 8px; color: #647083; background: rgba(255,255,255,.58); border: 1px solid rgba(18,35,59,.065); border-radius: 999px; font-size: .72rem; }
.trust-row svg { width: 15px; }
.hero-art { min-height: 462px; border-radius: 29px; box-shadow: inset 0 0 0 1px rgba(18,35,59,.06); }
.hero-art > img { object-position: 28% center; transform: scale(1.015); }
.hero-art::after { right: 0; left: auto; width: 15%; background: linear-gradient(to right, transparent, rgba(255,246,232,.9)); }
.floating-note { left: 20px; bottom: 20px; padding: 12px 16px; border-radius: 15px; box-shadow: 0 18px 45px rgba(18,35,59,.17); }

.quick-section { padding: 25px 3px 3px; }
.section-heading { margin-bottom: 16px; }
.section-heading h2, .pet-summary h2, .birthday-card h2 { font-size: 1.48rem; font-weight: 760; letter-spacing: -.035em; }
.overline { color: var(--ink-faint); font-size: .69rem; font-weight: 780; }
.quick-grid { gap: 11px; }
.quick-card {
  min-height: 132px;
  align-items: flex-start;
  padding: 16px;
  text-align: right;
  border-color: rgba(18,35,59,.075);
  border-radius: 21px;
  box-shadow: 0 8px 24px rgba(18,35,59,.055);
}
.quick-card:nth-child(1) { background: linear-gradient(150deg, #fff, #fff4f1); }
.quick-card:nth-child(2) { background: linear-gradient(150deg, #fff, #edfbf8); }
.quick-card:nth-child(3) { background: linear-gradient(150deg, #fff, #eff3f7); }
.quick-card:nth-child(4) { background: linear-gradient(150deg, #fff, #fff8e8); }
.quick-card:nth-child(5) { background: linear-gradient(150deg, #fff, #eef8fd); }
.quick-card:nth-child(6) { background: linear-gradient(150deg, #fff, #f5f1ff); }
.quick-card:hover { transform: translateY(-4px); border-color: rgba(18,35,59,.13); box-shadow: var(--shadow-lift); }
.quick-card strong { margin-top: 10px; font-family: var(--font-display); font-size: .95rem; }
.quick-card small { color: var(--ink-soft); font-size: .7rem; }
.quick-icon { width: 45px; height: 45px; border-radius: 14px; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 8px 18px rgba(18,35,59,.11); }
.quick-icon svg { width: 22px; height: 22px; }

.today-card, .product-card, .intake-card, .timeline-card, .reminder-card, .vet-card, .article-list article, .steps-grid article {
  border-color: rgba(18,35,59,.075);
  box-shadow: 0 10px 32px rgba(18,35,59,.06);
}
.today-card { padding: 28px; border-radius: 28px; }
.pet-avatar { width: 56px; height: 56px; }
.tiny-link { min-height: 36px; padding-inline: 12px; border-radius: 10px; }
.tiny-link:hover { background: rgba(255,107,95,.08); }
.task-list { gap: 9px; }
.task { padding: 13px 14px; border: 1px solid transparent; background: #f7f7f4; }
.task:hover { border-color: var(--line); background: #fff; box-shadow: 0 8px 22px rgba(18,35,59,.06); transform: translateY(-1px); }
.task em { padding: 3px 8px; background: white; border-radius: 999px; }
.birthday-card { min-height: 255px; border-radius: 28px; background: linear-gradient(145deg, #ffd985, var(--amber) 72%); box-shadow: 0 18px 42px rgba(255,190,79,.2); }
.birthday-card::after { content: ""; position: absolute; width: 180px; height: 180px; top: -85px; left: -60px; border-radius: 50%; border: 30px solid rgba(255,255,255,.2); }
.birthday-icon { border-radius: 18px; box-shadow: 0 10px 22px rgba(18,35,59,.09); }

.recommendations { padding-top: 34px; }
.product-row, .shop-products { gap: 18px; }
.product-card { border-radius: 22px; box-shadow: 0 8px 26px rgba(18,35,59,.055); }
.product-card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: var(--shadow-lift); }
.product-visual { height: 182px; }
.product-visual::before { width: 150px; height: 150px; }
.product-visual::after { width: 84px; height: 84px; }
.product-visual > svg { width: 68px; height: 68px; stroke-width: 1.4; filter: drop-shadow(0 15px 12px rgba(18,35,59,.14)); }
.product-label { top: 14px; right: 14px; padding: 5px 10px; background: rgba(255,255,255,.76); border: 1px solid rgba(255,255,255,.65); }
.product-body { padding: 18px; }
.product-body h3 { font-size: 1.03rem; font-weight: 700; }
.price strong { font-family: var(--font-display); font-size: 1.15rem; }
.add-button { min-height: 44px; background: #f1f3f5; color: var(--navy); box-shadow: none; }
.add-button:hover { color: white; background: var(--navy); box-shadow: 0 10px 20px rgba(18,35,59,.15); }

.article-strip {
  min-height: 310px;
  position: relative;
  padding: clamp(34px, 5vw, 62px);
  border-radius: 32px;
  background:
    radial-gradient(circle at 8% 20%, rgba(29,185,167,.22), transparent 14rem),
    linear-gradient(135deg, #12233b, #1d3654);
}
.article-strip::before { content: ""; position: absolute; left: 12%; top: -70px; width: 220px; height: 220px; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; box-shadow: 0 0 0 36px rgba(255,255,255,.025), 0 0 0 72px rgba(255,255,255,.015); }
.article-main { z-index: 1; }
.article-main h2 { font-weight: 760; }
.article-fact { position: relative; z-index: 1; padding: 23px; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 16px 38px rgba(0,0,0,.18); }
.home-footer { padding: 22px 4px 4px; }

.inner-page { padding-block: 52px 130px; }
.page-title-row { margin-bottom: 34px; }
.page-title-row h1 { margin: 7px 0 8px; font-size: clamp(2.25rem, 4vw, 3.65rem); font-weight: 780; line-height: 1.25; }
.page-title-row p { color: var(--ink-soft); }
.search-box { min-height: 54px; padding: 0 17px; border-radius: 16px; box-shadow: 0 8px 24px rgba(18,35,59,.055); }
.search-box:focus-within { border-color: rgba(29,185,167,.55); box-shadow: 0 0 0 4px rgba(29,185,167,.08); }
.filter-row, .topic-row { gap: 9px; padding-bottom: 18px; }
.filter-chip, .topic-row button { min-height: 41px; padding: 8px 18px; border-radius: 12px; }
.filter-chip:hover, .topic-row button:hover { border-color: var(--line-strong); color: var(--navy); }
.filter-chip.is-active, .topic-row button:first-child { background: var(--navy); box-shadow: 0 8px 18px rgba(18,35,59,.13); }
.shop-layout { grid-template-columns: 270px 1fr; gap: 24px; }
.repeat-order { top: 108px; min-height: 330px; padding: 26px; border-radius: 28px; background: linear-gradient(155deg, #12233b, #233f60); }
.repeat-order .mini-icon { border-radius: 15px; }
.repeat-order h2 { font-family: var(--font-display); font-weight: 730; }

.location-button { min-height: 50px; border-radius: 14px; box-shadow: 0 8px 24px rgba(18,35,59,.055); }
.location-button:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.safety-banner { margin-bottom: 24px; padding: 17px 20px; border-radius: 16px; box-shadow: 0 8px 22px rgba(201,47,66,.05); }
.vet-layout { gap: 24px; }
.intake-card, .timeline-card, .reminder-card { padding: 29px; border-radius: 27px; }
.symptom-grid { gap: 10px; }
.symptom-grid span { min-height: 54px; border-radius: 13px; }
.symptom-grid label:hover span { border-color: rgba(29,185,167,.35); background: #fff; }
.vet-card { padding: 20px; margin-bottom: 12px; border-radius: 21px; }
.vet-card:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(18,35,59,.085); }
.vet-avatar { border-radius: 17px; }
.vet-card > button:hover, .calendar-item > button:hover { color: white; background: var(--navy); }

.pet-dashboard { grid-template-columns: 255px 1fr 1fr; gap: 20px; }
.pet-profile-card { padding: 30px 23px; border-radius: 29px; background: linear-gradient(155deg, #12233b, #243f60); }
.pet-profile-card h2 { font-family: var(--font-display); }
.pet-profile-card dl { border-radius: 14px; }
.calendar-item { padding: 15px 0; }
.new-home-hero { min-height: 520px; padding: 14px; gap: 12px; border: 1px solid rgba(18,35,59,.07); border-radius: 38px; background: linear-gradient(135deg, #fff8e9, #fff0ce); box-shadow: 0 28px 80px rgba(18,35,59,.1); }
.new-home-copy { padding-inline-end: 38px; }
.new-home-hero > img { border-radius: 28px; }
.steps-grid { gap: 14px; }
.steps-grid article { min-height: 185px; padding: 24px; border-radius: 21px; }
.steps-grid article::after { content: ""; position: absolute; width: 80px; height: 80px; left: -32px; bottom: -35px; border-radius: 50%; background: rgba(255,107,95,.055); }
.steps-grid article > span { border-radius: 11px; }

.knowledge-grid { gap: 20px; }
.featured-article { min-height: 480px; position: relative; overflow: hidden; border-radius: 29px; background: radial-gradient(circle at 15% 15%, rgba(29,185,167,.22), transparent 16rem), linear-gradient(145deg, #12233b, #284968); }
.featured-article::before { content: ""; position: absolute; top: -80px; left: -80px; width: 260px; height: 260px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 38px rgba(255,255,255,.025); }
.featured-article > * { position: relative; z-index: 1; }
.featured-article h2 { font-weight: 740; }
.article-list { gap: 12px; }
.article-list article { padding: 26px; border-radius: 21px; }
.article-list article:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(18,35,59,.08); }
.medical-disclaimer { padding: 15px 18px; border: 1px solid rgba(103,188,229,.14); }

.modal { padding: 36px; border-radius: 26px; }
.cart-drawer { padding: 26px; background: #fbfaf6; box-shadow: 24px 0 80px rgba(18,35,59,.22); }
.cart-line { border-radius: 14px; }
.toast { padding: 13px 20px; border: 1px solid rgba(255,255,255,.12); border-radius: 13px; box-shadow: 0 18px 44px rgba(18,35,59,.24); }

@media (max-width: 1120px) {
  .desktop-nav { display: none; }
  .home-grid { grid-template-columns: minmax(0, 1fr) 320px; }
  .quick-grid { grid-template-columns: repeat(3, 1fr); }
  .quick-card { min-height: 115px; }
  .pet-dashboard { grid-template-columns: 230px 1fr; }
  .reminder-card { grid-column: 2; }
}

@media (max-width: 760px) {
  body { padding-bottom: 86px; background: linear-gradient(180deg, #fbfaf6, #f7f6f1); }
  body::before { display: none; }
  .container { width: min(100% - 24px, 620px); }
  .site-header { padding: 8px 0 0; background: linear-gradient(to bottom, rgba(248,247,242,.97) 0 80%, transparent); }
  .header-inner { width: calc(100% - 20px); min-height: 60px; padding: 6px 8px 6px 10px; border-radius: 18px; }
  .brand { min-width: 0; }
  .brand img { width: 40px; height: 40px; }
  .brand strong { font-size: 1.14rem; }
  .header-actions { margin-inline-start: auto; }
  .icon-button, .login-button { width: 40px; height: 40px; border-radius: 12px; }
  .login-button svg { width: 20px; height: 20px; }
  .page { min-height: calc(100vh - 76px); }
  .home-grid { grid-template-columns: 1fr; gap: 16px; padding-top: 10px; }
  .hero-card { min-height: 0; padding: 8px; grid-template-columns: 1fr; grid-template-rows: auto 172px; border-radius: 27px; }
  .hero-copy { padding: 19px 14px 11px; }
  .eyebrow { min-height: 28px; font-size: .7rem; }
  .hero-copy h1 { margin: 8px 0 7px; font-size: clamp(1.76rem, 8vw, 2.12rem); line-height: 1.28; }
  .hero-copy h1 em { white-space: normal; font-size: 1em; }
  .hero-copy > p { font-size: .8rem; line-height: 1.76; }
  .hero-actions { margin-top: 13px; gap: 4px; }
  .primary-button { min-height: 46px; padding-inline: 16px; }
  .text-button { min-height: 42px; padding-inline: 8px; }
  .hero-copy .trust-row { display: none; }
  .hero-art { min-height: 172px; border-radius: 21px; }
  .hero-art::after { width: 100%; height: 18%; inset: 0 0 auto; background: linear-gradient(to bottom, rgba(255,246,232,.85), transparent); }
  .floating-note { left: 12px; bottom: 12px; }
  .quick-section { padding-top: 17px; }
  .quick-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .quick-card { min-height: 112px; align-items: center; padding: 12px 6px; text-align: center; border-radius: 18px; }
  .quick-icon { width: 43px; height: 43px; }
  .quick-card strong { margin-top: 7px; font-size: .8rem; }
  .quick-card small { display: none; }
  .today-card { padding: 19px; border-radius: 23px; }
  .pet-summary h2 { font-size: 1.12rem; }
  .birthday-card { min-height: 218px; border-radius: 23px; }
  .recommendations { padding-top: 22px; }
  .product-row { grid-auto-columns: 82%; gap: 12px; }
  .product-visual { height: 170px; }
  .article-strip { min-height: 360px; padding: 30px 25px; border-radius: 25px; }
  .article-main h2 { font-size: 2rem; }
  .article-fact { width: 165px; }
  .home-footer { padding-bottom: 4px; }
  .inner-page { padding-block: 30px 98px; }
  .page-title-row { gap: 17px; margin-bottom: 24px; }
  .page-title-row h1 { margin-top: 5px; font-size: 2.2rem; line-height: 1.3; }
  .shop-layout, .vet-layout, .pet-dashboard, .knowledge-grid { grid-template-columns: 1fr; }
  .repeat-order { min-height: 230px; border-radius: 24px; }
  .shop-products { gap: 12px; }
  .shop-products .product-visual { height: 140px; }
  .shop-products .product-body { padding: 14px; }
  .intake-card, .timeline-card, .reminder-card { padding: 22px; border-radius: 23px; }
  .reminder-card { grid-column: auto; }
  .pet-profile-card { border-radius: 24px; }
  .new-home-hero { min-height: 670px; padding: 8px; grid-template-columns: 1fr; grid-template-rows: auto 300px; border-radius: 27px; }
  .new-home-copy { padding: 29px 20px 24px; }
  .new-home-copy h1 { font-size: 2.08rem; }
  .new-home-hero > img { border-radius: 21px; }
  .steps-grid article { min-height: 160px; }
  .featured-article { min-height: 420px; border-radius: 24px; }
  .mobile-nav { right: 8px; left: 8px; min-height: 70px; padding: 6px; grid-template-columns: repeat(6, 1fr); background: rgba(18,35,59,.96); border-radius: 20px; box-shadow: 0 18px 45px rgba(18,35,59,.28); }
  .mobile-nav button { min-width: 0; padding: 5px 1px; border-radius: 14px; font-size: .68rem; line-height: 1.35; }
  .mobile-nav svg { width: 20px; height: 20px; }
  .mobile-nav button.is-active { background: rgba(255,255,255,.12); }
  .toast { bottom: 96px; }
}

@media (max-width: 420px) {
  .hero-copy h1 { font-size: 1.78rem; }
  .hero-actions .primary-button { width: 100%; }
  .hero-actions .text-button { margin-inline: auto; }
  .quick-card { min-height: 104px; }
  .shop-products { grid-template-columns: 1fr; }
  .shop-products .product-visual { height: 170px; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid article { min-height: 0; }
  .mobile-nav button { font-size: .62rem; }
}

@media (prefers-reduced-motion: reduce) {
  .floating-note { animation: none; }
}

/* Brand evolution: unified cat–dog mark and softer glass surfaces */
:root {
  --glass: rgba(255, 255, 255, .64);
  --glass-strong: rgba(255, 255, 255, .8);
  --glass-line: rgba(255, 255, 255, .84);
  --ease-smooth: cubic-bezier(.22, 1, .36, 1);
}

body {
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 107, 95, .15), transparent 27rem),
    radial-gradient(circle at 4% 32%, rgba(29, 185, 167, .12), transparent 30rem),
    radial-gradient(circle at 74% 72%, rgba(103, 188, 229, .08), transparent 25rem),
    linear-gradient(180deg, #fcfbf8 0%, #f5f7f4 48%, #fbfaf7 100%);
}

.brand img {
  filter: drop-shadow(0 8px 14px rgba(18,35,59,.18));
  transition: transform .45s var(--ease-smooth), filter .45s var(--ease-smooth);
}
.brand:hover img { transform: translateY(-2px) rotate(-3deg) scale(1.04); filter: drop-shadow(0 12px 18px rgba(18,35,59,.22)); }

.header-inner {
  background: rgba(255, 255, 255, .68);
  border-color: var(--glass-line);
  box-shadow: 0 14px 42px rgba(18,35,59,.08), inset 0 1px 0 rgba(255,255,255,.95);
  backdrop-filter: blur(24px) saturate(1.35);
  -webkit-backdrop-filter: blur(24px) saturate(1.35);
}

.hero-card {
  overflow: visible;
  background: linear-gradient(145deg, rgba(255,255,255,.7), rgba(255,245,229,.72));
  border-color: rgba(255,255,255,.92);
  box-shadow: 0 30px 90px rgba(18,35,59,.11), inset 0 1px 0 white;
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
}

.hero-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 10px;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.66);
  border-radius: 29px;
  mask-image: linear-gradient(135deg, black, transparent 40%, black);
}

.hero-copy, .hero-art { position: relative; z-index: 1; }
.hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 15%;
  right: 5%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255,107,95,.12);
  filter: blur(42px);
}

.hero-art {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.88);
  box-shadow: 0 18px 55px rgba(18,35,59,.13), inset 0 1px 0 rgba(255,255,255,.9);
}
.hero-art > img { transition: transform 1.1s var(--ease-smooth); }
.hero-card:hover .hero-art > img { transform: scale(1.035); }

.floating-note,
.hero-glass-metric {
  border: 1px solid rgba(255,255,255,.9);
  background: rgba(255,255,255,.64);
  box-shadow: 0 18px 42px rgba(18,35,59,.14), inset 0 1px 0 rgba(255,255,255,.95);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
}

.hero-glass-metric {
  position: absolute;
  z-index: 3;
  top: 20px;
  right: 20px;
  min-width: 168px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 17px;
  animation: metricFloat 5.5s ease-in-out infinite;
}
.hero-glass-metric .metric-ring {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(145deg, var(--teal), #4cd7c5);
  border-radius: 14px;
  box-shadow: 0 9px 18px rgba(29,185,167,.23);
}
.hero-glass-metric .metric-ring svg { width: 20px; height: 20px; }
.hero-glass-metric div { display: grid; line-height: 1.35; }
.hero-glass-metric strong { font-size: .92rem; }
.hero-glass-metric small { color: var(--ink-soft); font-size: .64rem; }
@keyframes metricFloat { 50% { transform: translateY(6px); } }

.quick-section {
  position: relative;
  padding: 24px;
  background: rgba(255,255,255,.52);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 30px;
  box-shadow: 0 20px 58px rgba(18,35,59,.075), inset 0 1px 0 rgba(255,255,255,.95);
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
}
.quick-section .section-heading { min-height: 58px; margin-bottom: 14px; }
.care-orbit-wrap {
  position: absolute;
  z-index: 2;
  top: -58px;
  left: 18px;
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  pointer-events: none;
  filter: drop-shadow(0 18px 25px rgba(18,35,59,.14));
  animation: careOrbit 7s ease-in-out infinite;
}
.care-orbit-wrap::before {
  content: "";
  position: absolute;
  inset: 19px;
  z-index: -1;
  border-radius: 32px;
  background: rgba(255,255,255,.52);
  border: 1px solid rgba(255,255,255,.8);
  backdrop-filter: blur(12px);
  transform: rotate(8deg);
}
.care-orbit-wrap img { width: 100%; height: 100%; object-fit: contain; }
@keyframes careOrbit { 50% { transform: translateY(-7px) rotate(2deg); } }

.quick-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, rgba(255,255,255,.86), rgba(255,255,255,.52)) !important;
  border-color: rgba(255,255,255,.95);
  box-shadow: 0 10px 28px rgba(18,35,59,.07), inset 0 1px 0 white;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform .45s var(--ease-smooth), box-shadow .45s var(--ease-smooth), border-color .45s var(--ease-smooth);
}
.quick-card::after {
  content: "";
  position: absolute;
  top: -42px;
  left: -34px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--glow, rgba(255,107,95,.13));
  filter: blur(3px);
  pointer-events: none;
}
.quick-card.teal { --glow: rgba(29,185,167,.14); }
.quick-card.navy { --glow: rgba(18,35,59,.1); }
.quick-card.amber { --glow: rgba(255,197,92,.18); }
.quick-card.sky { --glow: rgba(103,188,229,.15); }
.quick-card.plum { --glow: rgba(146,118,216,.14); }
.quick-card:hover { transform: translateY(-7px) scale(1.015); box-shadow: 0 24px 48px rgba(18,35,59,.12), inset 0 1px 0 white; }
.quick-icon { position: relative; z-index: 1; }

.today-card {
  background: linear-gradient(145deg, rgba(255,255,255,.82), rgba(255,255,255,.6));
  border-color: rgba(255,255,255,.94);
  box-shadow: 0 20px 54px rgba(18,35,59,.075), inset 0 1px 0 rgba(255,255,255,.98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.task {
  background: rgba(255,255,255,.54);
  border-color: rgba(18,35,59,.055);
  backdrop-filter: blur(8px);
}
.birthday-card {
  border: 1px solid rgba(255,255,255,.62);
  box-shadow: 0 24px 52px rgba(255,190,79,.22), inset 0 1px 0 rgba(255,255,255,.6);
}

.product-card,
.article-list article,
.steps-grid article,
.intake-card,
.timeline-card,
.reminder-card,
.vet-card {
  background: rgba(255,255,255,.72);
  border-color: rgba(255,255,255,.94);
  box-shadow: 0 16px 42px rgba(18,35,59,.065), inset 0 1px 0 white;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform .4s var(--ease-smooth), box-shadow .4s var(--ease-smooth);
}

@media (max-width: 760px) {
  .hero-card { overflow: hidden; }
  .hero-glass-metric { top: auto; right: 12px; bottom: 12px; min-width: 0; padding: 8px 10px; }
  .hero-glass-metric .metric-ring { width: 34px; height: 34px; border-radius: 11px; }
  .hero-glass-metric small { display: none; }
  .floating-note { display: none; }
  .quick-section { padding: 18px 12px 14px; border-radius: 24px; }
  .quick-section .section-heading { min-height: 48px; padding-inline: 5px; }
  .care-orbit-wrap { top: -36px; left: 2px; width: 92px; height: 92px; }
  .care-orbit-wrap::before { inset: 15px; border-radius: 24px; }
  .quick-card:hover { transform: translateY(-3px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-glass-metric, .care-orbit-wrap { animation: none; }
  .hero-art > img, .brand img { transition: none; }
}

/* 3D glass icon family */
.quick-icon {
  isolation: isolate;
  width: 68px;
  height: 68px;
  border: 1px solid rgba(255,255,255,.96);
  border-radius: 23px;
  background-color: rgba(255,255,255,.56) !important;
  background-image: url('/assets/service-icons-glass-v1.png'), linear-gradient(145deg, rgba(255,255,255,.86), rgba(255,255,255,.28)) !important;
  background-repeat: no-repeat !important;
  background-size: 300% 200%, 100% 100% !important;
  box-shadow: inset 0 1px 0 white, inset 0 -8px 18px rgba(18,35,59,.035), 0 13px 25px rgba(18,35,59,.13);
  transform: translateZ(0) rotate(-2deg);
  transition: transform .48s var(--ease-smooth), filter .48s var(--ease-smooth), box-shadow .48s var(--ease-smooth);
  filter: saturate(1.04);
  backdrop-filter: blur(13px) saturate(1.3);
  -webkit-backdrop-filter: blur(13px) saturate(1.3);
}
.quick-icon::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 7px;
  right: 9px;
  width: 17px;
  height: 8px;
  border-radius: 99px;
  background: rgba(255,255,255,.7);
  filter: blur(.25px);
  transform: rotate(-24deg);
  pointer-events: none;
}
.quick-icon svg { opacity: 0; }
.quick-card:nth-child(1) .quick-icon { background-position: 0 0, center !important; }
.quick-card:nth-child(2) .quick-icon { background-position: 50% 0, center !important; }
.quick-card:nth-child(3) .quick-icon { background-position: 100% 0, center !important; }
.quick-card:nth-child(4) .quick-icon { background-position: 0 100%, center !important; }
.quick-card:nth-child(5) .quick-icon { background-position: 50% 100%, center !important; }
.quick-card:nth-child(6) .quick-icon { background-position: 100% 100%, center !important; }
.quick-card:hover .quick-icon {
  transform: translateY(-5px) rotate(2deg) scale(1.07);
  filter: saturate(1.12) drop-shadow(0 12px 10px rgba(18,35,59,.12));
  box-shadow: inset 0 1px 0 white, inset 0 -8px 18px rgba(18,35,59,.045), 0 20px 34px rgba(18,35,59,.16);
}

.icon-button,
.login-button,
.birthday-icon,
.repeat-order .mini-icon,
.hero-glass-metric .metric-ring,
.circle-arrow {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.82);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.82), inset 0 -7px 16px rgba(18,35,59,.09), 0 10px 24px rgba(18,35,59,.11);
  transform: translateZ(0);
}
.icon-button::before,
.login-button::before,
.birthday-icon::before,
.repeat-order .mini-icon::before,
.hero-glass-metric .metric-ring::before,
.circle-arrow::before {
  content: "";
  position: absolute;
  inset: 1px 2px auto 2px;
  height: 43%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.55), transparent);
  pointer-events: none;
}
.icon-button { background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(241,246,248,.58)); }
.icon-button svg,
.login-button svg,
.birthday-icon svg,
.repeat-order .mini-icon svg,
.hero-glass-metric .metric-ring svg,
.circle-arrow svg,
.mobile-nav svg {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 3px 3px rgba(18,35,59,.16));
}
.icon-button:hover { transform: translateY(-3px) rotate(-2deg); }
.login-button { background: linear-gradient(145deg, #2d4b6d, var(--navy)); }
.birthday-icon { background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(255,244,222,.62)); }
.repeat-order .mini-icon { position: relative; background: linear-gradient(145deg, #5adfce, var(--teal)); }
.circle-arrow { background: linear-gradient(145deg, #304f72, var(--navy)); }

.product-visual > svg {
  z-index: 1;
  width: 82px;
  height: 82px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.76);
  border-radius: 27px;
  background: linear-gradient(145deg, rgba(255,255,255,.72), rgba(255,255,255,.24));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -10px 18px rgba(18,35,59,.035), 0 17px 30px rgba(18,35,59,.12);
  backdrop-filter: blur(10px) saturate(1.25);
  -webkit-backdrop-filter: blur(10px) saturate(1.25);
  transition: transform .48s var(--ease-smooth), box-shadow .48s var(--ease-smooth);
}
.product-card:hover .product-visual > svg { transform: translateY(-5px) rotate(2deg) scale(1.05); box-shadow: inset 0 1px 0 white, 0 24px 34px rgba(18,35,59,.16); }

.task-check {
  background: linear-gradient(145deg, rgba(255,255,255,.88), rgba(255,255,255,.34));
  border-color: rgba(255,255,255,.92);
  box-shadow: inset 0 1px 0 white, 0 7px 16px rgba(18,35,59,.1);
}
.task.is-done .task-check { background: linear-gradient(145deg, #55ddcb, var(--teal)); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 9px 18px rgba(29,185,167,.22); }

@media (max-width: 760px) {
  .quick-icon { width: 57px; height: 57px; border-radius: 19px; }
  .quick-icon::after { top: 6px; right: 7px; width: 14px; height: 7px; }
  .mobile-nav button { transition: transform .3s var(--ease-smooth), background .3s ease, color .3s ease; }
  .mobile-nav button.is-active {
    transform: translateY(-3px);
    background: linear-gradient(145deg, rgba(255,255,255,.2), rgba(255,255,255,.07));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.24), 0 8px 15px rgba(0,0,0,.15);
  }
}

@media (prefers-reduced-motion: reduce) {
  .quick-icon, .product-visual > svg, .mobile-nav button { transition: none; }
  .quick-card:hover .quick-icon, .product-card:hover .product-visual > svg { transform: none; }
}

/* Compact single-row glass service rail */
.quick-section {
  padding: 20px 20px 18px;
  overflow: hidden;
}
.quick-section .section-heading {
  min-height: 50px;
  margin-bottom: 10px;
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
  padding: 3px;
  border-radius: 20px;
}
.quick-grid:focus-visible {
  outline: 3px solid rgba(29,185,167,.38);
  outline-offset: 4px;
}
.quick-card {
  min-height: 103px;
  align-items: center;
  justify-content: center;
  padding: 11px 7px 9px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(255,255,255,.76), rgba(255,255,255,.42)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 8px 20px rgba(18,35,59,.065);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}
.quick-card::after {
  width: 66px;
  height: 66px;
  top: -36px;
  left: -30px;
  opacity: .62;
}
.quick-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,1);
  box-shadow: inset 0 1px 0 white, 0 14px 28px rgba(18,35,59,.1);
}
.quick-icon {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255,255,255,.98);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 white, inset 0 -6px 14px rgba(18,35,59,.03), 0 8px 16px rgba(18,35,59,.105);
  transform: translateZ(0);
  filter: saturate(1.02);
}
.quick-icon::after {
  top: 5px;
  right: 7px;
  width: 12px;
  height: 6px;
  opacity: .78;
}
.quick-card:hover .quick-icon {
  transform: translateY(-2px) scale(1.035);
  filter: saturate(1.08);
  box-shadow: inset 0 1px 0 white, inset 0 -6px 14px rgba(18,35,59,.035), 0 11px 20px rgba(18,35,59,.13);
}
.quick-card strong {
  margin-top: 7px;
  font-size: .86rem;
  line-height: 1.35;
}
.quick-card small {
  margin-top: 1px;
  font-size: .75rem;
  line-height: 1.35;
}

@media (max-width: 760px) {
  .quick-section {
    padding: 15px 11px 12px;
    overflow: hidden;
  }
  .quick-section .section-heading {
    min-height: 44px;
    margin-bottom: 6px;
  }
  .quick-grid {
    grid-template-columns: repeat(6, 78px);
    gap: 7px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
    scrollbar-width: none;
    padding: 4px 3px 8px;
  }
  .quick-grid::-webkit-scrollbar { display: none; }
  .quick-card {
    min-height: 86px;
    padding: 8px 4px 7px;
    border-radius: 15px;
    scroll-snap-align: start;
  }
  .quick-icon {
    width: 41px;
    height: 41px;
    border-radius: 13px;
  }
  .quick-icon::after {
    top: 4px;
    right: 6px;
    width: 10px;
    height: 5px;
  }
  .quick-card strong {
    margin-top: 6px;
    font-size: .78rem;
  }
  .quick-card small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .quick-grid { scroll-behavior: auto; }
  .quick-card, .quick-icon { transition: none; }
}

/* Pet-yar as the bright, living home experience */
.pet-home-page {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 8%, rgba(66, 214, 193, .14), transparent 30rem),
    radial-gradient(circle at 5% 38%, rgba(255, 182, 91, .12), transparent 27rem),
    linear-gradient(180deg, #f9fffd 0%, #fffef9 52%, #f8fbff 100%);
}
.pet-home-page::before,
.pet-home-page::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
  animation: petAmbientDrift 13s ease-in-out infinite alternate;
}
.pet-home-page::before {
  width: 300px;
  height: 300px;
  top: 110px;
  right: -150px;
  border: 1px solid rgba(29,185,167,.12);
  box-shadow: 0 0 0 44px rgba(29,185,167,.025), 0 0 0 92px rgba(29,185,167,.018);
}
.pet-home-page::after {
  width: 210px;
  height: 210px;
  left: -105px;
  top: 660px;
  background: rgba(255,190,79,.065);
  animation-delay: -5s;
}
.pet-home-shell {
  position: relative;
  z-index: 1;
  padding-block: 24px 92px;
}
.pet-home-hero {
  position: relative;
  isolation: isolate;
  min-height: 420px;
  padding: 18px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.96);
  border-radius: 38px;
  background:
    radial-gradient(circle at 65% -10%, rgba(255,255,255,.95), transparent 25rem),
    linear-gradient(135deg, rgba(234,255,250,.96), rgba(255,255,255,.92) 54%, rgba(255,246,228,.9));
  box-shadow: 0 30px 85px rgba(24,77,79,.1), inset 0 1px 0 white;
  animation: petHeroReveal .88s var(--ease-smooth) both;
}
.pet-home-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 420px;
  height: 420px;
  right: -160px;
  bottom: -220px;
  border-radius: 50%;
  background: conic-gradient(from 130deg, rgba(29,185,167,.2), rgba(255,190,79,.12), rgba(255,107,95,.15), rgba(29,185,167,.2));
  filter: blur(6px);
  animation: petHaloTurn 20s linear infinite;
}
.pet-home-copy {
  z-index: 2;
  align-self: center;
  padding: clamp(22px, 3.8vw, 48px);
  padding-inline-end: clamp(12px, 2vw, 28px);
}
.pet-live {
  color: #087b70;
  background: rgba(255,255,255,.7);
  border-color: rgba(29,185,167,.18);
  box-shadow: 0 8px 22px rgba(29,185,167,.08);
}
.pet-live > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(29,185,167,.12);
  animation: petLivePulse 2.1s ease-out infinite;
}
.pet-home-copy h1 {
  margin: 13px 0 10px;
  max-width: 11ch;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 5vw, 4.65rem);
  font-weight: 790;
  line-height: 1.16;
  letter-spacing: -.045em;
}
.pet-home-copy h1 em {
  color: transparent;
  background: linear-gradient(90deg, #0b8f81, #23b9a8 55%, #f49c45);
  background-clip: text;
  -webkit-background-clip: text;
  font-style: normal;
}
.pet-home-copy > p {
  max-width: 34rem;
  margin: 0;
  color: #516276;
  font-size: 1rem;
  line-height: 1.9;
}
.pet-mood-checkin {
  width: fit-content;
  max-width: 100%;
  margin-top: 22px;
  padding: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(18,35,59,.07);
  border-radius: 17px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 12px 30px rgba(18,35,59,.06), inset 0 1px 0 white;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.pet-mood-checkin > span {
  padding-inline: 9px 5px;
  color: #58687a;
  font-size: .82rem;
  font-weight: 850;
  white-space: nowrap;
}
.pet-mood-checkin button {
  min-height: 38px;
  padding: 7px 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 12px;
  color: #5c6877;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: .79rem;
  font-weight: 850;
  transition: color .3s ease, background .3s ease, transform .3s var(--ease-smooth), box-shadow .3s ease;
}
.pet-mood-checkin button:hover { transform: translateY(-2px); color: var(--navy); }
.pet-mood-checkin button.is-selected {
  color: #08766b;
  background: #e8fbf7;
  box-shadow: inset 0 0 0 1px rgba(29,185,167,.14), 0 7px 16px rgba(29,185,167,.1);
}
.mood-dot { width: 8px; height: 8px; border-radius: 50%; }
.mood-dot.great { background: #1db9a7; box-shadow: 0 0 0 4px rgba(29,185,167,.1); }
.mood-dot.calm { background: #71a8dc; box-shadow: 0 0 0 4px rgba(113,168,220,.1); }
.mood-dot.low { background: #f0a65a; box-shadow: 0 0 0 4px rgba(240,166,90,.11); }
.pet-hero-actions { margin-top: 18px; display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.pet-hero-actions .primary-button { box-shadow: 0 14px 30px rgba(18,35,59,.18); }
.pet-hero-actions .primary-button svg { width: 18px; height: 18px; margin-inline-end: 6px; }
.pet-hero-actions .secondary-button {
  min-height: 48px;
  padding-inline: 18px;
  border-color: rgba(18,35,59,.08);
  background: rgba(255,255,255,.72);
  box-shadow: 0 8px 20px rgba(18,35,59,.045);
}
.pet-home-copy > * {
  animation: petCopyRise .72s var(--ease-smooth) both;
}
.pet-home-copy > *:nth-child(2) { animation-delay: .08s; }
.pet-home-copy > *:nth-child(3) { animation-delay: .14s; }
.pet-home-copy > *:nth-child(4) { animation-delay: .2s; }
.pet-home-copy > *:nth-child(5) { animation-delay: .26s; }
.pet-hero-visual {
  position: relative;
  min-height: 382px;
  overflow: hidden;
  border-radius: 30px;
  background: #e5f8f2;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
.pet-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(242,255,251,.38), transparent 30%, transparent 68%, rgba(255,249,235,.24));
}
.pet-hero-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 24% center;
  filter: brightness(1.08) saturate(.98) contrast(.98);
  transform: scale(1.025);
  animation: petPortraitBreathe 8s ease-in-out infinite alternate;
}
.pet-care-score,
.pet-next-note {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,.9);
  background: rgba(255,255,255,.74);
  box-shadow: 0 18px 38px rgba(18,35,59,.12), inset 0 1px 0 white;
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}
.pet-care-score {
  top: 18px;
  right: 18px;
  gap: 11px;
  padding: 10px 12px 10px 15px;
  border-radius: 19px;
  animation: petScoreFloat 4.8s ease-in-out infinite;
}
.score-ring {
  position: relative;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--teal) 0 86%, rgba(29,185,167,.14) 86% 100%);
  box-shadow: 0 9px 20px rgba(29,185,167,.18);
  transform: rotate(-28deg);
  animation: petRingIn 1.25s .35s var(--ease-smooth) both;
}
.score-ring::before {
  content: "";
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
}
.score-ring > span { position: relative; z-index: 1; display: grid; text-align: center; transform: rotate(28deg); }
.score-ring strong { color: var(--navy); font-size: 1.05rem; line-height: 1; }
.score-ring small { margin-top: 2px; color: #6c7988; font-size: .56rem; }
.pet-care-score > div:last-child { display: grid; gap: 2px; }
.pet-care-score > div:last-child small { color: #718090; font-size: .67rem; }
.pet-care-score > div:last-child strong { color: var(--navy); font-size: .8rem; }
.pet-next-note {
  left: 18px;
  bottom: 18px;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 17px;
  animation: petNoteFloat 5.2s .5s ease-in-out infinite;
}
.pet-next-note svg { width: 25px; height: 25px; padding: 5px; color: #e87057; background: #fff2ec; border-radius: 9px; }
.pet-next-note span { display: grid; gap: 2px; }
.pet-next-note small { color: #778390; font-size: .65rem; }
.pet-next-note strong { color: var(--navy); font-size: .76rem; }

.pet-home-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
.pet-home-grid > section,
.pet-home-grid > aside {
  border: 1px solid rgba(255,255,255,.96);
  background: rgba(255,255,255,.76);
  box-shadow: 0 18px 50px rgba(18,35,59,.065), inset 0 1px 0 white;
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
  animation: petPanelRise .78s var(--ease-smooth) both;
}
.pet-today-board { grid-column: span 8; padding: 27px; border-radius: 28px; }
.pet-profile-bright { grid-column: span 4; min-height: 100%; padding: 25px; border-radius: 28px; }
.pet-reminder-card { grid-column: span 7; }
.pet-timeline-card { grid-column: span 5; }
.pet-week-card { grid-column: 1 / -1; padding: 27px; border-radius: 28px; }
.pet-home-grid > :nth-child(2) { animation-delay: .08s; }
.pet-home-grid > :nth-child(3) { animation-delay: .13s; }
.pet-home-grid > :nth-child(4) { animation-delay: .18s; }
.pet-home-grid > :nth-child(5) { animation-delay: .23s; }
.pet-home-grid > section:hover,
.pet-home-grid > aside:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 58px rgba(18,35,59,.09), inset 0 1px 0 white;
}
.pet-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.pet-panel-heading h2 { margin: 4px 0 0; color: var(--navy); font-family: var(--font-display); font-size: 1.55rem; }
.pet-progress-copy { display: grid; text-align: left; }
.pet-progress-copy strong { color: #0d8d7e; font-size: 1rem; }
.pet-progress-copy span { color: #81909f; font-size: .68rem; }
.pet-progress-track { height: 7px; margin-bottom: 17px; overflow: hidden; border-radius: 99px; background: rgba(18,35,59,.065); }
.pet-progress-track span { display: block; width: 33.333%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #17a995, #4bd3c2); box-shadow: 0 4px 12px rgba(29,185,167,.28); transition: width .55s var(--ease-smooth); }
.pet-task-list { display: grid; gap: 8px; }
.pet-task {
  position: relative;
  width: 100%;
  min-height: 68px;
  padding: 11px 12px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 11px;
  align-items: center;
  border: 1px solid rgba(18,35,59,.055);
  border-radius: 17px;
  color: var(--navy);
  background: rgba(248,251,252,.78);
  cursor: pointer;
  text-align: right;
  transition: transform .3s var(--ease-smooth), border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.pet-task:hover { transform: translateX(-3px); border-color: rgba(29,185,167,.2); background: white; box-shadow: 0 10px 25px rgba(18,35,59,.055); }
.pet-task-check { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(18,35,59,.1); border-radius: 11px; color: transparent; background: white; transition: .32s var(--ease-smooth); }
.pet-task-check svg { width: 18px; height: 18px; }
.pet-task > span:nth-child(2) { display: grid; gap: 2px; }
.pet-task strong { font-family: inherit; font-size: .88rem; }
.pet-task small { color: #738191; font-size: .72rem; }
.pet-task em { padding: 6px 9px; border-radius: 9px; color: #718090; background: rgba(18,35,59,.045); font-size: .66rem; font-style: normal; font-weight: 850; }
.pet-task.is-done { border-color: rgba(29,185,167,.14); background: rgba(234,251,247,.74); }
.pet-task.is-done .pet-task-check { color: white; border-color: var(--teal); background: var(--teal); box-shadow: 0 7px 16px rgba(29,185,167,.24); transform: rotate(-4deg) scale(1.04); }
.pet-task.is-done strong { text-decoration: line-through; text-decoration-color: rgba(18,35,59,.28); }

.pet-profile-bright {
  color: var(--navy);
  text-align: right;
  background:
    radial-gradient(circle at 14% 18%, rgba(255,190,79,.18), transparent 9rem),
    linear-gradient(145deg, rgba(255,255,255,.9), rgba(234,252,248,.83));
}
.pet-profile-top { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px; }
.pet-profile-bright .big-pet-avatar {
  position: relative;
  width: 82px;
  height: 82px;
  margin: 0;
  display: grid;
  place-items: center;
  border: 7px solid white;
  border-radius: 27px;
  color: white;
  background: linear-gradient(145deg, #ff9b7b, #f06a5f);
  box-shadow: 0 15px 30px rgba(240,106,95,.22);
  transform: rotate(3deg);
  animation: petAvatarBob 5s ease-in-out infinite;
}
.pet-profile-bright .big-pet-avatar::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 18px;
}
.pet-profile-bright .big-pet-avatar span { position: relative; z-index: 1; font-size: 2rem; font-weight: 900; }
.pet-profile-bright h2 { margin: 3px 0 0; color: var(--navy); font-size: 1.65rem; }
.pet-profile-bright .pet-profile-top p { margin: 0; color: #768494; font-size: .76rem; }
.pet-status { display: inline-flex; align-items: center; gap: 6px; color: #087b70; font-size: .68rem; font-weight: 850; }
.pet-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(29,185,167,.1); }
.pet-profile-bright dl { margin: 20px 0 15px; gap: 7px; overflow: visible; background: transparent; border-radius: 0; }
.pet-profile-bright dl div { padding: 10px 12px; border: 1px solid rgba(18,35,59,.055); border-radius: 12px; background: rgba(255,255,255,.58); font-size: .76rem; }
.pet-profile-bright dt { color: #7a8796; }
.pet-profile-bright dd { color: var(--navy); }
.pet-profile-bright .secondary-button { width: 100%; min-height: 45px; color: var(--navy); border-color: rgba(18,35,59,.08); background: rgba(255,255,255,.72); }
.pet-reminder-card,
.pet-timeline-card { padding: 27px; border-radius: 28px; }
.pet-reminder-card .calendar-item { min-height: 78px; padding: 11px 0; }
.pet-reminder-card .date-tile { width: 56px; height: 61px; border-radius: 16px; }
.pet-timeline-card .timeline li { padding-bottom: 24px; }
.pet-timeline-card .timeline-dot { animation: petDotPulse 3s ease-in-out infinite; }
.pet-timeline-card .timeline li:nth-child(2) .timeline-dot { animation-delay: .6s; }
.pet-timeline-card .timeline li:nth-child(3) .timeline-dot { animation-delay: 1.2s; }
.demo-chip { padding: 6px 10px; border-radius: 99px; color: #687888; background: rgba(18,35,59,.05); font-size: .66rem; font-weight: 850; }
.care-week { height: 172px; display: grid; grid-template-columns: repeat(7, 1fr); gap: clamp(7px, 2.4vw, 26px); align-items: end; }
.care-week > div { height: 100%; display: grid; grid-template-rows: 1fr auto; gap: 9px; align-items: end; text-align: center; }
.care-week > div > span { width: min(48px, 100%); height: var(--level); justify-self: center; border-radius: 15px 15px 7px 7px; background: linear-gradient(180deg, rgba(29,185,167,.86), rgba(29,185,167,.24)); box-shadow: 0 10px 22px rgba(29,185,167,.14); transform-origin: bottom; animation: petBarGrow .85s var(--ease-smooth) both; }
.care-week > div:nth-child(2) > span { animation-delay: .06s; }
.care-week > div:nth-child(3) > span { animation-delay: .12s; }
.care-week > div:nth-child(4) > span { animation-delay: .18s; }
.care-week > div:nth-child(5) > span { animation-delay: .24s; }
.care-week > div:nth-child(6) > span { animation-delay: .3s; }
.care-week > div:nth-child(7) > span { animation-delay: .36s; }
.care-week .is-today > span { background: linear-gradient(180deg, #ffaf6a, #ffcf90); box-shadow: 0 12px 24px rgba(255,171,101,.2); }
.care-week small { color: #71808f; font-size: .68rem; }
.care-week .is-today small { color: #df7358; font-weight: 900; }

@keyframes petHeroReveal { from { opacity: 0; transform: translateY(18px) scale(.985); } }
@keyframes petCopyRise { from { opacity: 0; transform: translateY(18px); } }
@keyframes petPanelRise { from { opacity: 0; transform: translateY(24px); } }
@keyframes petPortraitBreathe { from { transform: scale(1.025); } to { transform: scale(1.07) translateX(-4px); } }
@keyframes petScoreFloat { 50% { transform: translateY(7px) rotate(.5deg); } }
@keyframes petNoteFloat { 50% { transform: translateY(-6px) rotate(-.5deg); } }
@keyframes petAvatarBob { 50% { transform: translateY(-5px) rotate(-2deg); } }
@keyframes petLivePulse { 70% { box-shadow: 0 0 0 9px rgba(29,185,167,0); } 100% { box-shadow: 0 0 0 0 rgba(29,185,167,0); } }
@keyframes petDotPulse { 50% { box-shadow: 0 0 0 2px currentColor, 0 0 0 8px transparent; transform: scale(1.12); } }
@keyframes petRingIn { from { opacity: 0; transform: rotate(-28deg) scale(.55); } }
@keyframes petBarGrow { from { transform: scaleY(.08); opacity: .35; } }
@keyframes petHaloTurn { to { transform: rotate(360deg); } }
@keyframes petAmbientDrift { to { transform: translate3d(18px, 28px, 0) scale(1.05); } }

@media (max-width: 1120px) {
  .pet-home-hero { grid-template-columns: 1.08fr .92fr; }
  .pet-home-copy h1 { font-size: clamp(2.45rem, 5.7vw, 3.8rem); }
  .pet-today-board { grid-column: span 7; }
  .pet-profile-bright { grid-column: span 5; }
  .pet-reminder-card,
  .pet-timeline-card { grid-column: span 6; }
}

@media (max-width: 760px) {
  .pet-home-shell { width: min(100% - 20px, 620px); padding-block: 10px 100px; }
  .pet-home-hero {
    min-height: 0;
    padding: 8px;
    grid-template-columns: 1fr;
    gap: 7px;
    border-radius: 28px;
  }
  .pet-home-copy { padding: 20px 15px 13px; }
  .pet-home-copy h1 { margin-top: 10px; max-width: none; font-size: clamp(2.05rem, 10vw, 2.75rem); line-height: 1.2; }
  .pet-home-copy > p { font-size: .88rem; line-height: 1.78; }
  .pet-mood-checkin { width: 100%; margin-top: 17px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
  .pet-mood-checkin > span { grid-column: 1 / -1; padding: 4px 7px 2px; }
  .pet-mood-checkin button { justify-content: center; padding-inline: 5px; }
  .pet-hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .pet-hero-actions .primary-button,
  .pet-hero-actions .secondary-button { width: 100%; min-height: 46px; padding-inline: 10px; font-size: .76rem; }
  .pet-hero-visual { min-height: 235px; border-radius: 22px; }
  .pet-hero-visual > img { object-position: 25% center; }
  .pet-care-score { top: 11px; right: 11px; padding: 7px 8px 7px 10px; border-radius: 15px; }
  .score-ring { width: 47px; height: 47px; }
  .score-ring::before { width: 37px; height: 37px; }
  .score-ring strong { font-size: .86rem; }
  .pet-care-score > div:last-child small { font-size: .58rem; }
  .pet-care-score > div:last-child strong { font-size: .68rem; }
  .pet-next-note { left: 11px; bottom: 11px; padding: 8px 10px; border-radius: 14px; }
  .pet-home-grid { margin-top: 12px; grid-template-columns: 1fr; gap: 12px; }
  .pet-today-board,
  .pet-profile-bright,
  .pet-reminder-card,
  .pet-timeline-card,
  .pet-week-card { grid-column: 1; padding: 19px; border-radius: 23px; }
  .pet-profile-bright { order: 2; }
  .pet-reminder-card { order: 3; }
  .pet-timeline-card { order: 4; }
  .pet-week-card { order: 5; }
  .pet-panel-heading { margin-bottom: 14px; }
  .pet-panel-heading h2 { font-size: 1.26rem; }
  .pet-task { min-height: 65px; padding: 10px; gap: 9px; }
  .pet-task em { display: none; }
  .pet-profile-top { gap: 12px; }
  .pet-profile-bright .big-pet-avatar { width: 72px; height: 72px; border-radius: 23px; }
  .pet-profile-bright dl { grid-template-columns: 1fr; }
  .care-week { height: 142px; gap: 7px; }
  .care-week > div > span { border-radius: 11px 11px 5px 5px; }
  .care-week small { font-size: .59rem; }
  .mobile-nav { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 420px) {
  .pet-home-copy h1 { font-size: 2rem; }
  .pet-home-copy > p { font-size: .82rem; }
  .pet-mood-checkin button { font-size: .72rem; }
  .pet-hero-actions { grid-template-columns: 1fr; }
  .pet-hero-visual { min-height: 215px; }
  .pet-next-note > span { display: none; }
  .pet-profile-bright dl div { font-size: .71rem; }
  .care-week { height: 125px; gap: 5px; }
  .care-week small { font-size: .54rem; }
}

@media (prefers-reduced-motion: reduce) {
  .pet-home-page::before,
  .pet-home-page::after,
  .pet-home-hero,
  .pet-home-hero::before,
  .pet-home-copy > *,
  .pet-hero-visual > img,
  .pet-care-score,
  .pet-next-note,
  .score-ring,
  .pet-home-grid > section,
  .pet-home-grid > aside,
  .pet-profile-bright .big-pet-avatar,
  .pet-live > span,
  .pet-timeline-card .timeline-dot,
  .care-week > div > span { animation: none !important; }
  .pet-task,
  .pet-mood-checkin button,
  .pet-progress-track span { transition: none !important; }
}
