/* ==========================================================================
   Columbia Animal Hospital — website
   Tokens follow the landing page: Red #C6302B · Ink #17181A · Slate #1B2624 · Paper #FAF8F4
   ========================================================================== */
:root {
    --red: #C6302B; --red-dark: #9C241F; --red-soft: #F4DEDB;
    --ink: #17181A; --ink-soft: #4A4C4E;
    --paper: #FAF8F4; --paper-alt: #F1EBE0; --line: rgba(23,24,26,.10);
    --slate: #1B2624; --slate-2: #24322F; --slate-line: rgba(255,255,255,.12);
    --gold: #B08D57; --white: #fff;
    --font-display: "Fraunces", "Cairo", Georgia, serif;
    --font-body: "Inter", "Cairo", system-ui, sans-serif;
    --font-mono: "IBM Plex Mono", "Cairo", monospace;
    --container: 1220px; --r-s: 10px; --r-m: 18px; --r-l: 28px;
    --ease: cubic-bezier(.22,.9,.32,1);
}
[dir="rtl"] { --font-display: "Cairo", "Fraunces", serif; --font-body: "Cairo", "Inter", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; line-height: 1.65; overflow-x: hidden; }
img { max-width: 100%; display: block; }
:where(img[height]) { height: auto; } /* keep the real proportions when width is set by CSS */
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { font-weight: 700; letter-spacing: 0; line-height: 1.35; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
[dir="rtl"] .eyebrow { letter-spacing: .02em; font-size: .85rem; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(198,48,43,.15); }
.muted { color: var(--ink-soft); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: .95rem; border: 1.5px solid transparent; cursor: pointer; transition: background .2s var(--ease), color .2s, border-color .2s, transform .2s; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-ghost { border-color: currentColor; }
.btn-light { background: #fff; color: var(--ink); }
.btn-whatsapp { background: #1FAF55; color: #fff; }
.btn-whatsapp:hover { background: #178a43; }
.btn i { font-size: 1.05em; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250,248,244,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; }
.brand-word { display: flex; flex-direction: column; line-height: 1.1; }
.brand-word strong { font-family: "Fraunces", "Cairo", serif; font-size: 1.12rem; }
.brand-word em { font-style: normal; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.site-nav { display: flex; gap: 4px; margin-inline-start: auto; }
.site-nav a { padding: 8px 14px; border-radius: 999px; font-weight: 500; color: var(--ink-soft); }
.site-nav a:hover, .site-nav a.active { color: var(--ink); background: var(--paper-alt); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { font-family: var(--font-mono); font-size: .8rem; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.7rem; color: var(--ink); }
@media (max-width: 960px) {
    .site-nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; background: var(--paper); padding: 12px 24px 24px; border-bottom: 1px solid var(--line); display: none; }
    .site-nav.open { display: flex; }
    .menu-toggle { display: block; margin-inline-start: auto; }
    .header-actions .btn-red span { display: none; }
}

/* ---------- page hero ---------- */
.page-hero { position: relative; color: #fff; background: var(--slate); overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .28; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,38,36,.2) 0%, rgba(27,38,36,.95) 100%); }
.page-hero .container { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 72px; }
.page-hero .eyebrow { color: #FFB3B0; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); margin: 14px 0 8px; }
.page-hero .tagline { font-family: var(--font-display); font-size: clamp(1.15rem, 2.2vw, 1.6rem); color: #E8A6A2; font-style: italic; }
[dir="rtl"] .page-hero .tagline { font-style: normal; }
.page-hero .lead { max-width: 720px; margin-top: 18px; color: rgba(255,255,255,.82); font-size: 1.08rem; }
.page-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pulse-line { display: block; width: 100%; height: 40px; color: var(--red); }

/* ---------- stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--slate-line); border-radius: var(--r-m); overflow: hidden; margin-top: 44px; max-width: 760px; }
.stat { background: rgba(255,255,255,.04); padding: 18px 22px; }
.stat b { display: block; font-family: var(--font-display); font-size: 2rem; color: #fff; }
.stat span { font-size: .85rem; color: rgba(255,255,255,.72); }
@media (max-width: 600px) { .stats { grid-template-columns: 1fr; } }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--paper-alt); }
.section-dark { background: var(--slate); color: #fff; }
.section-dark .muted { color: rgba(255,255,255,.72); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin-top: 12px; }
.section-head p { margin-top: 14px; }

.split { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* rich text from the CMS */
.prose { font-size: 1.04rem; color: var(--ink); }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 18px; }
.prose h3 { font-size: 1.35rem; margin: 40px 0 12px; }
.prose p { margin: 0 0 16px; color: var(--ink-soft); }
.prose ul, .prose ol { margin: 0 0 18px; padding-inline-start: 0; list-style: none; }
.prose li { position: relative; padding-inline-start: 30px; margin-bottom: 10px; color: var(--ink-soft); }
.prose ul li::before { content: ""; position: absolute; inset-inline-start: 6px; top: .7em; width: 9px; height: 9px; border-radius: 2px; background: var(--red); transform: rotate(45deg); }
.prose ol { counter-reset: step; }
.prose ol li { counter-increment: step; padding-inline-start: 46px; min-height: 34px; }
.prose ol li::before { content: counter(step, decimal-leading-zero); position: absolute; inset-inline-start: 0; top: 0; font-family: var(--font-mono); font-size: .78rem; font-weight: 600; color: var(--red); border: 1.5px solid var(--red); border-radius: 8px; padding: 4px 6px; line-height: 1.2; }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 28px 0; padding: 26px 30px; background: var(--slate); color: #fff; border-radius: var(--r-m); font-family: var(--font-display); font-size: 1.18rem; line-height: 1.7; border-inline-start: 5px solid var(--red); }
.prose a { color: var(--red); text-decoration: underline; }

.sticky-card { position: sticky; top: 100px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: 28px; box-shadow: 0 10px 40px rgba(23,24,26,.06); }
.sticky-card img { border-radius: var(--r-m); margin-bottom: 20px; aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.sticky-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.sticky-card .btn { width: 100%; justify-content: center; margin-top: 10px; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); padding: 26px; transition: transform .25s var(--ease), box-shadow .25s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(23,24,26,.08); }
.card-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); font-size: 1.35rem; margin-bottom: 16px; }
.card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: .95rem; }
.section-dark .card { background: var(--slate-2); border-color: var(--slate-line); }
.section-dark .card p { color: rgba(255,255,255,.72); }
.section-dark .card-icon { background: rgba(198,48,43,.18); color: #FFB3B0; }

.vm-card { position: relative; background: #fff; border-radius: var(--r-l); padding: 36px; border: 1px solid var(--line); overflow: hidden; }
.vm-card .tag { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .16em; color: var(--red); text-transform: uppercase; }
[dir="rtl"] .vm-card .tag { letter-spacing: 0; font-size: .9rem; font-weight: 700; }
.vm-card p { margin-top: 14px; font-size: 1.08rem; color: var(--ink-soft); }
.vm-card::after { content: ""; position: absolute; inset-inline-end: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--red-soft); opacity: .6; }

/* team */
.team-card { background: #fff; border-radius: var(--r-m); overflow: hidden; border: 1px solid var(--line); }
.team-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; background: var(--paper-alt); }
.team-card .body { padding: 18px 20px 22px; }
.team-card h3 { font-size: 1.12rem; }
.team-card p { margin-top: 4px; font-size: .88rem; color: var(--ink-soft); }

/* ---------- contact ---------- */
.contact-cards .card { display: flex; gap: 16px; align-items: flex-start; }
.contact-cards .card-icon { margin: 0; flex-shrink: 0; }
.contact-cards a.value { font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.contact-cards .value[dir="ltr"] { display: inline-block; }
.form-card { background: #fff; border-radius: var(--r-l); padding: 34px; border: 1px solid var(--line); box-shadow: 0 10px 40px rgba(23,24,26,.06); }
.form-card h3 { font-size: 1.4rem; margin-bottom: 6px; }
.field { margin-top: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); font: inherit; color: var(--ink); transition: border-color .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); background: #fff; }
.field .error { color: var(--red); font-size: .85rem; margin-top: 4px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.hp { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; }
.alert-ok { background: #E7F6EC; border: 1px solid #B9E4C6; color: #145A2E; padding: 14px 18px; border-radius: 12px; margin-bottom: 16px; font-weight: 500; }
.hours { width: 100%; border-collapse: collapse; font-size: .92rem; }
.hours td { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: end; font-family: var(--font-mono); }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--slate); color: #fff; font-size: 1.1rem; transition: background .2s; }
.socials a:hover { background: var(--red); }
.emergency-band { background: var(--red); color: #fff; border-radius: var(--r-l); padding: 34px 38px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.emergency-band h3 { font-size: 1.5rem; }
.emergency-band p { color: rgba(255,255,255,.85); margin-top: 4px; }

/* ---------- footer ---------- */
.site-footer { background: var(--slate); color: rgba(255,255,255,.78); padding: 64px 0 28px; margin-top: 0; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
@media (max-width: 960px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; font-weight: 500; }
[dir="rtl"] .site-footer h4 { letter-spacing: 0; font-size: .9rem; font-weight: 700; }
.site-footer a:hover { color: #fff; }
.site-footer li { list-style: none; margin-bottom: 8px; }
.site-footer ul { padding: 0; margin: 0; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; margin-bottom: 14px; }
.footer-brand img { height: 52px; background: #fff; border-radius: 12px; padding: 4px; }
.footer-bottom { border-top: 1px solid var(--slate-line); margin-top: 40px; padding-top: 22px; font-size: .85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* floating WhatsApp */
.fab-whatsapp { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #1FAF55; color: #fff; display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 10px 30px rgba(31,175,85,.4); }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Phase 4 — store, accounts, content pages
   ========================================================================== */
.small { font-size: .86rem; }
.mono { font-family: var(--font-mono); }
.center { text-align: center; }
.grow { flex: 1 1 auto; }
.link { color: var(--red); font-weight: 600; }
.link:hover { text-decoration: underline; }
.error { color: var(--red); font-size: .85rem; margin-top: 4px; }
.ok-text { color: #1C7C45; }
.rx-text { color: var(--gold); }
.narrow { max-width: 880px; }
.only-mobile { display: none !important; }
@media (max-width: 960px) { .only-mobile { display: inline-flex !important; } }
[hidden] { display: none !important; }

/* header extras */
.site-nav .nav-book { background: var(--red-soft); color: var(--red); }
.site-nav .nav-book:hover { background: var(--red); color: #fff; }
.icon-btn { position: relative; width: 42px; height: 42px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 1.15rem; cursor: pointer; transition: border-color .2s, color .2s; }
.icon-btn:hover { border-color: var(--red); color: var(--red); }
.badge-count { position: absolute; top: -4px; inset-inline-end: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--red); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; font-family: var(--font-body); }
@media (max-width: 1100px) {
    .site-nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; background: var(--paper); padding: 12px 24px 24px; border-bottom: 1px solid var(--line); display: none; box-shadow: 0 20px 40px rgba(23,24,26,.08); }
    .site-nav.open { display: flex; }
    .menu-toggle { display: block; margin-inline-start: auto; order: 3; }
    .header-actions .btn-call span { display: none; }
}
@media (max-width: 560px) { .header-actions .btn-call { display: none; } .brand-word em { display: none; } .site-header .container { gap: 12px; } }

/* flash */
.flash { padding: 12px 0; font-weight: 500; }
.flash .container { display: flex; align-items: center; gap: 10px; }
.flash-ok { background: #E7F6EC; color: #145A2E; }
.flash-err { background: var(--red-soft); color: var(--red-dark); }
.flash-close { margin-inline-start: auto; background: none; border: 0; color: inherit; cursor: pointer; font-size: 1rem; }

/* compact hero + breadcrumbs */
.page-hero-sm .container { padding-top: 56px; padding-bottom: 48px; }
.page-hero-sm h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 18px; }
.crumbs a:hover { color: #fff; }
.crumbs i { font-size: .7rem; opacity: .6; }
.crumbs-light { color: var(--ink-soft); padding-top: 22px; margin-bottom: 0; }
.crumbs-light a:hover { color: var(--red); }

/* generic */
.btn-sm { padding: 8px 14px; font-size: .86rem; }
.btn-block { width: 100%; justify-content: center; }
.btn.danger { color: var(--red); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .88rem; font-weight: 500; transition: all .2s; }
.chip:hover, .chip.on { background: var(--slate); color: #fff; border-color: var(--slate); }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 600; }
.pill-green { background: #E7F6EC; color: #1C7C45; }
.pill-gold { background: #F6EEDF; color: #8A6A35; }
.pill-red { background: var(--red-soft); color: var(--red-dark); }
.pill-gray { background: var(--paper-alt); color: var(--ink-soft); }
.empty { text-align: center; padding: 60px 20px; color: var(--ink-soft); }
.empty i { font-size: 2.6rem; color: var(--red); opacity: .6; display: block; margin-bottom: 10px; }
.empty p { margin-bottom: 18px; }
.empty.sm { padding: 28px 10px; }
.note-box { background: var(--paper-alt); border-radius: var(--r-s); padding: 14px 16px; font-size: .92rem; color: var(--ink-soft); margin-top: 16px; display: flex; gap: 10px; align-items: flex-start; }
.note-box i { color: var(--red); margin-top: 2px; }
.note-box.warn { background: var(--red-soft); color: var(--red-dark); }
.block-title { font-size: 1.3rem; margin: 36px 0 14px; }
.meta-list { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 8px; }
.meta-list li { display: flex; align-items: center; gap: 8px; color: var(--ink-soft); }
.meta-list i { color: var(--red); }
.toolbar { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.search-inline { position: relative; display: flex; align-items: center; }
.search-inline i { position: absolute; inset-inline-start: 14px; color: var(--ink-soft); }
.search-inline input { width: 100%; min-width: 220px; padding: 11px 16px; padding-inline-start: 40px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: inherit; }
.search-inline input:focus { outline: none; border-color: var(--red); }
.check { display: flex; align-items: center; gap: 8px; margin: 8px 0; cursor: pointer; font-size: .93rem; }
.check input { accent-color: var(--red); width: 17px; height: 17px; }
.stars { color: var(--gold); letter-spacing: 1px; white-space: nowrap; }
.product-rating { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--ink-soft); }
.card-link { display: block; }
.card-link .more { display: inline-flex; gap: 6px; align-items: center; color: var(--red); font-weight: 600; margin-top: 14px; font-size: .9rem; }
.card-cover { border-radius: var(--r-s); margin: -8px -8px 16px; width: calc(100% + 16px); aspect-ratio: 16/9; object-fit: cover; }
.band-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; margin-top: 10px; }
.table th { text-align: start; font-weight: 600; color: var(--ink-soft); font-size: .8rem; padding: 8px; border-bottom: 1px solid var(--line); }
.table td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }

/* pagination */
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 36px; }
.pager a, .pager span { min-width: 40px; height: 40px; padding: 0 10px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: .9rem; }
.pager a:hover { border-color: var(--red); color: var(--red); }
.pager .current { background: var(--red); color: #fff; border-color: var(--red); }
.pager .disabled { opacity: .45; }

/* doctors / team */
a.team-card { display: block; transition: transform .25s var(--ease), box-shadow .25s; }
a.team-card:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(23,24,26,.08); }
.team-card .product-rating { margin-top: 6px; }
.doctor-layout { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start; }
.doctor-side { position: sticky; top: 100px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: 22px; }
.doctor-photo { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; border-radius: var(--r-m); background: var(--paper-alt); }
@media (max-width: 860px) { .doctor-layout { grid-template-columns: 1fr; } .doctor-side { position: static; } }

/* blog */
.article-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; }
.article-card:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(23,24,26,.08); }
.article-media { position: relative; }
.article-media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: var(--paper-alt); }
.article-media .tag { position: absolute; top: 12px; inset-inline-start: 12px; }
.article-body { padding: 18px 20px 22px; }
.article-body h3 { font-size: 1.12rem; margin: 6px 0 8px; }
.article-body p { color: var(--ink-soft); font-size: .93rem; }
.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.article-layout > article { min-width: 0; }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 18px; }
.article-cover { border-radius: var(--r-m); margin-bottom: 28px; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.share { display: flex; align-items: center; gap: 10px; margin-top: 28px; font-weight: 600; }
.share a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-alt); }
.share a:hover { background: var(--red); color: #fff; }
@media (max-width: 960px) { .article-layout { grid-template-columns: 1fr; } }

/* faq */
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-s); margin-bottom: 10px; }
.faq-item summary { cursor: pointer; padding: 18px 22px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--red); line-height: 1; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .prose { padding: 0 22px 18px; font-size: .97rem; }

/* tags */
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; background: #fff; color: var(--ink); box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.tag-sale { background: var(--red); color: #fff; }
.tag-out { background: var(--slate); color: #fff; }

/* ---------- shop ---------- */
.shop-section { padding-top: 40px; }
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: start; }
.shop-filters { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); padding: 20px; max-height: calc(100vh - 120px); overflow: auto; }
.filter-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.filter-block { border-bottom: 1px solid var(--line); padding: 14px 0; }
.filter-block h4 { font-family: var(--font-body); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); margin-bottom: 8px; }
[dir="rtl"] .filter-block h4 { letter-spacing: 0; }
.filter-link { display: block; padding: 6px 10px; border-radius: 8px; font-size: .93rem; }
.filter-link.sub { padding-inline-start: 24px; font-size: .88rem; color: var(--ink-soft); }
.filter-link:hover { background: var(--paper-alt); }
.filter-link.on { background: var(--red-soft); color: var(--red); font-weight: 600; }
.price-range { display: flex; align-items: center; gap: 8px; }
.price-range input { width: 100%; padding: 9px 10px; border-radius: 10px; border: 1.5px solid var(--line); font: inherit; background: var(--paper); }
.shop-filters .btn { margin-top: 16px; }
.reset-link { display: block; text-align: center; margin-top: 10px; font-size: .86rem; color: var(--ink-soft); }
.shop-toolbar { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.sort-select { padding: 11px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: inherit; }
.result-count { margin-bottom: 18px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
@media (max-width: 960px) {
    .shop-layout { grid-template-columns: 1fr; }
    .shop-filters { position: fixed; inset: 0; z-index: 80; border-radius: 0; max-height: none; transform: translateX(-100%); transition: transform .3s var(--ease); }
    [dir="rtl"] .shop-filters { transform: translateX(100%); }
    .shop-filters.open { transform: none; }
    .shop-toolbar { flex-wrap: wrap; }
    .shop-toolbar .search-inline { flex-basis: 100%; }
    .search-inline input { min-width: 0; }
}
@media (max-width: 480px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .product-body { padding: 10px 12px 12px; } }

.product-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s var(--ease); }
.product-card:hover { box-shadow: 0 14px 40px rgba(23,24,26,.08); transform: translateY(-2px); }
.product-media { position: relative; display: block; background: var(--paper-alt); }
.product-media img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; padding: 14px; background: #fff; transition: transform .4s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.04); }
.product-media .tag { position: absolute; top: 10px; inset-inline-start: 10px; }
.product-media .tag-out { top: auto; bottom: 10px; }
.wish-btn { position: absolute; top: 10px; inset-inline-end: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.1); color: var(--ink-soft); cursor: pointer; display: grid; place-items: center; }
.wish-btn.on, .wish-btn:hover, .wish-btn-lg.on { color: var(--red); }
.product-body { padding: 4px 16px 14px; display: flex; flex-direction: column; flex: 1; border-top: 1px solid var(--line); padding-top: 12px; }
.product-brand { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
[dir="rtl"] .product-brand { letter-spacing: 0; font-size: .8rem; }
.product-body h3 { font-family: var(--font-body); font-size: .95rem; font-weight: 600; line-height: 1.45; margin: 2px 0 4px; min-height: 2.9em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price b { font-size: 1.12rem; color: var(--ink); }
.price small { font-size: .7em; color: var(--ink-soft); font-weight: 500; }
.price del { color: var(--ink-soft); font-size: .85rem; margin-inline-start: 6px; }
.price-lg b { font-size: 1.9rem; font-family: var(--font-display); }
.add-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--red); color: #fff; font-size: 1.1rem; cursor: pointer; display: grid; place-items: center; transition: background .2s; flex-shrink: 0; }
.add-btn:hover { background: var(--red-dark); }
.add-btn.done { background: #1C7C45; }
.rx-badge { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #F6EEDF; color: var(--gold); }

/* product page */
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.gallery-main { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.gallery-main img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 20px; }
.gallery-main .tag { position: absolute; top: 16px; inset-inline-start: 16px; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.gallery-thumbs button { flex: 0 0 76px; height: 76px; border-radius: 12px; border: 2px solid var(--line); background: #fff; padding: 4px; cursor: pointer; }
.gallery-thumbs button.on { border-color: var(--red); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.product-info h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 6px 0 10px; }
.product-sub { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-bottom: 16px; }
.stock { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.stock.in { color: #1C7C45; } .stock.low { color: #B26A00; } .stock.out { color: var(--red); }
.buy-row { display: flex; gap: 10px; align-items: center; margin: 22px 0; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; }
.qty button { width: 42px; height: 46px; border: 0; background: none; cursor: pointer; font-size: 1.1rem; color: var(--ink); }
.qty input { width: 46px; text-align: center; border: 0; font: inherit; font-weight: 700; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-sm button { width: 32px; height: 36px; } .qty-sm input { width: 34px; }
.wish-btn-lg { width: 50px; height: 50px; font-size: 1.3rem; }
.perks { display: flex; flex-wrap: wrap; gap: 10px 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .9rem; }
.perks i { color: var(--red); margin-inline-end: 4px; }
@media (max-width: 860px) { .product-layout { grid-template-columns: 1fr; gap: 24px; } }

.tabs { background: #fff; border-radius: var(--r-l); border: 1px solid var(--line); padding: 8px 28px 28px; }
.tab-list { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.tab-list button { padding: 14px 16px; border: 0; background: none; font: inherit; font-weight: 600; color: var(--ink-soft); cursor: pointer; border-bottom: 2.5px solid transparent; white-space: nowrap; }
.tab-list button.on { color: var(--red); border-bottom-color: var(--red); }
.tab-panel { display: none; } .tab-panel.on { display: block; }
.reviews { display: grid; gap: 14px; }
.review { padding: 16px 0; border-bottom: 1px solid var(--line); }
.review-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 8px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--slate); color: #fff; font-weight: 700; flex-shrink: 0; }
.verified { font-size: .75rem; color: #1C7C45; margin-inline-start: 6px; }
.review p { color: var(--ink-soft); }
.review-reply { background: var(--paper-alt); padding: 10px 14px; border-radius: 10px; margin-top: 10px; font-size: .9rem; }
.review-form { margin-top: 22px; padding: 24px; box-shadow: none; }
.rating-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; margin-top: 10px; }
.rating-input input { position: absolute; opacity: 0; pointer-events: none; }
.rating-input label { font-size: 1.7rem; color: #D9D2C5; cursor: pointer; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: var(--gold); }

/* cart / checkout */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); padding: 24px; margin-bottom: 20px; }
.panel h3 { font-size: 1.15rem; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.panel-head h3 { margin: 0; }
.step { width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: #fff; display: inline-grid; place-items: center; font-size: .85rem; font-family: var(--font-body); }
.summary { position: sticky; top: 96px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: .95rem; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-size: 1.1rem; }
.summary .btn { margin-top: 12px; }
.cart-lines { display: grid; }
.cart-line { display: grid; grid-template-columns: 84px 1fr auto auto auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line.static { grid-template-columns: 64px 1fr auto; }
.cart-line:last-child { border-bottom: 0; }
.cart-line img { border-radius: 12px; background: var(--paper-alt); object-fit: contain; width: 100%; aspect-ratio: 1; }
.cart-line .name { font-weight: 600; }
.cart-line del { margin-inline-start: 6px; }
.cart-line-total { text-align: end; min-width: 80px; }
@media (max-width: 960px) { .checkout-layout { grid-template-columns: 1fr; } .summary { position: static; } }
@media (max-width: 560px) { .cart-line { grid-template-columns: 64px 1fr auto; } .cart-line .qty { grid-column: 2; } .cart-line-total { grid-column: 3; grid-row: 1; } .cart-line > .icon-btn { grid-column: 3; } }
.seg { display: inline-flex; background: var(--paper-alt); border-radius: 999px; padding: 4px; margin-bottom: 18px; flex-wrap: wrap; }
.seg label { padding: 9px 18px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .92rem; display: flex; gap: 8px; align-items: center; }
.seg input { position: absolute; opacity: 0; }
.seg label:has(input:checked) { background: #fff; color: var(--red); box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.address-list, .pay-options { display: grid; gap: 10px; margin-bottom: 14px; }
.address-option, .pay-option { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .2s; }
.address-option:has(input:checked), .pay-option:has(input:checked) { border-color: var(--red); background: #FFFBFA; }
.address-option input, .pay-option input { accent-color: var(--red); margin-top: 4px; }
.pay-option > i { font-size: 1.4rem; color: var(--red); }
.coupon { display: flex; gap: 8px; margin: 10px 0 14px; }
.coupon input { flex: 1; min-width: 0; padding: 10px 14px; border-radius: 999px; border: 1.5px solid var(--line); font: inherit; text-transform: uppercase; }
.summary-lines { max-height: 260px; overflow: auto; margin-bottom: 8px; }
.summary-line { display: flex; gap: 10px; align-items: center; padding: 8px 0; font-size: .88rem; border-bottom: 1px dashed var(--line); }
.summary-line img { width: 44px; height: 44px; border-radius: 8px; object-fit: contain; background: var(--paper-alt); }
.summary-line span { flex: 1; }
.form-errors { background: var(--red-soft); color: var(--red-dark); border-radius: 10px; padding: 10px 14px; font-size: .88rem; margin-top: 10px; }

/* auth */
.auth-wrap { min-height: calc(100vh - 76px - 300px); display: grid; place-items: center; padding: 60px 16px; background: radial-gradient(circle at 20% 0%, var(--red-soft), transparent 50%), var(--paper); }
.auth-card { width: 100%; max-width: 480px; background: #fff; border-radius: var(--r-l); border: 1px solid var(--line); padding: 36px; box-shadow: 0 20px 60px rgba(23,24,26,.08); }
.auth-card h1 { font-size: 1.8rem; margin-bottom: 6px; }
.auth-row { display: flex; justify-content: space-between; align-items: center; margin: 12px 0 18px; font-size: .9rem; }
.auth-switch { text-align: center; margin-top: 18px; color: var(--ink-soft); font-size: .93rem; }
@media (max-width: 480px) { .auth-card { padding: 24px 20px; } }

/* account */
.account-head { background: var(--slate); color: #fff; }
.account-head .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; padding-top: 44px; padding-bottom: 36px; }
.account-head .eyebrow { color: #FFB3B0; }
.account-head h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-top: 8px; }
.balances { display: flex; gap: 12px; }
.balances a { background: rgba(255,255,255,.07); border: 1px solid var(--slate-line); border-radius: var(--r-m); padding: 12px 18px; min-width: 150px; }
.balances span { display: block; font-size: .8rem; color: rgba(255,255,255,.7); }
.balances b { font-size: 1.3rem; }
.balances small { font-size: .7em; opacity: .7; }
.account-section { padding-top: 32px; }
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.account-main { min-width: 0; }
.account-nav { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); padding: 10px; display: grid; gap: 2px; }
.account-nav a, .account-nav button { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; font-weight: 500; color: var(--ink-soft); background: none; border: 0; font: inherit; cursor: pointer; width: 100%; text-align: start; }
.account-nav a:hover, .account-nav button:hover { background: var(--paper-alt); color: var(--ink); }
.account-nav a.on { background: var(--red-soft); color: var(--red); font-weight: 600; }
@media (max-width: 960px) {
    .account-layout { grid-template-columns: 1fr; }
    .account-nav { position: static; display: flex; overflow-x: auto; padding: 6px; }
    .account-nav a, .account-nav button { white-space: nowrap; width: auto; }
    .account-nav form { flex-shrink: 0; }
}
.quick-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.quick { background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); padding: 18px 12px; text-align: center; font-weight: 600; font-size: .9rem; transition: border-color .2s, transform .2s; }
.quick:hover { border-color: var(--red); transform: translateY(-2px); }
.quick i { display: block; font-size: 1.5rem; color: var(--red); margin-bottom: 6px; }
@media (max-width: 600px) { .quick-actions { grid-template-columns: repeat(2, 1fr); } }
.pet-strip { display: flex; gap: 12px; overflow-x: auto; }
.pet-chip { display: flex; gap: 10px; align-items: center; padding: 10px 14px 10px 10px; border: 1px solid var(--line); border-radius: 999px; flex-shrink: 0; }
.pet-chip img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.pet-card { display: flex; gap: 16px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-m); transition: border-color .2s; }
.pet-card:hover { border-color: var(--red); }
.pet-card img { width: 86px; height: 86px; border-radius: 18px; object-fit: cover; }
.pet-card h3 { font-size: 1.15rem; }
.muted-card { opacity: .6; }
.pet-profile { display: flex; gap: 24px; align-items: flex-start; }
.pet-photo { width: 140px; height: 140px; border-radius: 24px; object-fit: cover; flex-shrink: 0; }
@media (max-width: 600px) { .pet-profile { flex-direction: column; } }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 0; }
.facts dt { font-size: .78rem; color: var(--ink-soft); }
.facts dd { margin: 2px 0 0; font-weight: 600; }
.list-row { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid var(--line); }
.list-row:last-child { border-bottom: 0; }
.link-row:hover b { color: var(--red); }
.list-row > i { font-size: 1.3rem; color: var(--red); }
.dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 7px; flex-shrink: 0; }
.dot-red { background: var(--red); } .dot-green { background: #1C7C45; } .dot-gold { background: var(--gold); }
.amount { min-width: 86px; font-weight: 700; font-family: var(--font-mono); }
.appt { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.appt:last-child { border-bottom: 0; }
.appt-date { width: 58px; text-align: center; background: var(--red-soft); color: var(--red); border-radius: 14px; padding: 8px 4px; flex-shrink: 0; }
.appt-date b { display: block; font-size: 1.35rem; line-height: 1.1; }
.appt-date span { font-size: .75rem; }
.appt-info { flex: 1; }
.appt-info .pill { margin-top: 6px; }
.order-row { display: grid; grid-template-columns: auto 1fr auto auto; gap: 16px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.order-row:hover .mono { color: var(--red); }
.order-row:last-child { border-bottom: 0; }
@media (max-width: 560px) { .order-row { grid-template-columns: 1fr auto; } }
.tracker { list-style: none; padding: 0; margin: 10px 0 0; display: flex; }
.tracker li { flex: 1; text-align: center; font-size: .82rem; color: var(--ink-soft); position: relative; padding-top: 30px; }
.tracker li span { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 22px; height: 22px; border-radius: 50%; background: var(--paper-alt); border: 2px solid var(--line); z-index: 1; }
.tracker li::before { content: ""; position: absolute; top: 10px; inset-inline-start: -50%; width: 100%; height: 3px; background: var(--line); }
.tracker li:first-child::before { display: none; }
.tracker li.done { color: var(--ink); font-weight: 600; }
.tracker li.done span { background: var(--red); border-color: var(--red); }
.tracker li.done::before { background: var(--red); }
.totals { max-width: 420px; margin-inline-start: auto; margin-top: 12px; }
.stat-panel .big { display: block; font-size: 2rem; font-family: var(--font-display); margin: 4px 0; }
.stat-panel small { font-size: .5em; color: var(--ink-soft); }
.referral { background: linear-gradient(135deg, #fff, var(--red-soft)); }
.copy-box { display: flex; gap: 8px; margin: 12px 0 8px; flex-wrap: wrap; }
.copy-box input { flex: 1; min-width: 200px; padding: 10px 14px; border-radius: 999px; border: 1.5px solid var(--line); font: inherit; font-size: .88rem; background: #fff; }
.rx { padding: 16px 0; border-bottom: 1px solid var(--line); }
.rx:last-child { border-bottom: 0; }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; inset-inline-start: 19px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.timeline li { position: relative; display: flex; gap: 14px; padding: 10px 0; }
.tl-icon { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; z-index: 1; flex-shrink: 0; }
.timeline li.upcoming .tl-icon { border-color: var(--gold); border-style: dashed; }
.spark { width: 100%; height: 100px; color: var(--red); }
.spark-legend { display: flex; justify-content: space-between; }

/* booking */
.booking h3 { margin-top: 18px; }
.booking h3:first-child { margin-top: 0; }
.pet-pick { display: flex; flex-wrap: wrap; gap: 10px; }
.pet-option { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px; width: 108px; border: 1.5px solid var(--line); border-radius: 16px; cursor: pointer; font-weight: 600; font-size: .9rem; text-align: center; }
.pet-option input { position: absolute; opacity: 0; }
.pet-option img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.pet-option:has(input:checked) { border-color: var(--red); background: #FFFBFA; color: var(--red); }
.pet-option.add { border-style: dashed; justify-content: center; color: var(--ink-soft); }
.pet-option.add i { font-size: 1.6rem; }
.date-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.date-chip { flex: 0 0 72px; padding: 10px 4px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font: inherit; display: flex; flex-direction: column; align-items: center; font-size: .78rem; color: var(--ink-soft); }
.date-chip b { font-size: 1.3rem; color: var(--ink); }
.date-chip.on { border-color: var(--red); background: var(--red); color: #fff; }
.date-chip.on b { color: #fff; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin: 16px 0; min-height: 50px; }
.slots .muted { grid-column: 1 / -1; }
.slot { padding: 10px 6px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-weight: 600; cursor: pointer; font-family: var(--font-mono); }
.slot:hover { border-color: var(--red); }
.slot.on { background: var(--slate); color: #fff; border-color: var(--slate); }

/* toast */
.toast { position: fixed; bottom: 96px; left: 50%; transform: translate(-50%, 20px); background: var(--slate); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 500; z-index: 90; opacity: 0; transition: all .3s var(--ease); pointer-events: none; display: flex; gap: 8px; align-items: center; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: var(--red-dark); }
.toast a { text-decoration: underline; margin-inline-start: 8px; }

/* header fit: keep every item on one line */
.btn, .site-nav a, .lang-switch { white-space: nowrap; }
.site-nav a { padding: 8px 11px; }
.site-header .container { gap: 16px; }
@media (max-width: 1420px) { .header-actions .btn-call { padding: 0; width: 42px; height: 42px; justify-content: center; } .header-actions .btn-call span { display: none; } }
@media (max-width: 560px) {
    .brand-word { display: none; }
    .header-actions { gap: 6px; margin-inline-start: auto; }
    .lang-switch { padding: 5px 9px; font-size: .74rem; }
    .icon-btn { width: 38px; height: 38px; font-size: 1.05rem; }
    .menu-toggle { margin-inline-start: 4px; }
}
.order-row .pill { justify-self: start; }

/* support chat */
.chat { display: flex; flex-direction: column; gap: 12px; }
.bubble { max-width: 85%; padding: 12px 16px; border-radius: 16px; background: var(--paper-alt); }
.bubble.me { align-self: flex-start; background: var(--red-soft); border-end-start-radius: 4px; }
.bubble.staff { align-self: flex-end; background: #fff; border: 1px solid var(--line); border-end-end-radius: 4px; }
.bubble-head { margin-bottom: 4px; font-size: .88rem; }
.attach { display: inline-flex; gap: 6px; margin-top: 8px; font-size: .88rem; color: var(--red); font-weight: 600; }

/* AI assistant */
.assistant-wrap { padding: 32px 0 56px; background: radial-gradient(circle at 80% 0%, var(--red-soft), transparent 45%), var(--paper); }
.assistant-layout { display: grid; grid-template-columns: 320px 1fr; gap: 28px; align-items: start; }
.assistant-side { position: sticky; top: 96px; }
.assistant-side h1 { font-size: 1.7rem; margin: 12px 0 8px; }
.ai-avatar { width: 64px; height: 64px; border-radius: 20px; background: var(--slate); color: #fff; display: grid; place-items: center; font-size: 1.9rem; }
.chat-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); display: flex; flex-direction: column; height: calc(100vh - 150px); min-height: 520px; box-shadow: 0 20px 60px rgba(23,24,26,.06); overflow: hidden; }
.chat-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); font-weight: 600; }
.online-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #1FAF55; margin-inline-end: 6px; box-shadow: 0 0 0 3px rgba(31,175,85,.2); }
.chat-body { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.ai-msg { display: flex; flex-direction: column; max-width: 86%; }
.ai-msg.me { align-self: flex-end; align-items: flex-end; }
.ai-msg.bot { align-self: flex-start; }
.ai-bubble { padding: 12px 16px; border-radius: 18px; line-height: 1.7; font-size: .97rem; }
.ai-bubble p { margin: 0 0 6px; } .ai-bubble p:last-child { margin: 0; }
.ai-bubble ul { margin: 6px 0; padding-inline-start: 20px; }
.ai-msg.bot .ai-bubble { background: var(--paper-alt); border-end-start-radius: 6px; }
.ai-msg.me .ai-bubble { background: var(--slate); color: #fff; border-end-end-radius: 6px; }
.ai-bubble.emergency { background: var(--red-soft); border: 1.5px solid var(--red); }
.ai-bubble img { max-width: 220px; border-radius: 12px; margin-bottom: 6px; }
.ai-call { margin-top: 10px; }
.ai-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 8px; width: 100%; }
.ai-product { display: flex; gap: 8px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: .82rem; }
.ai-product img { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; background: var(--paper-alt); }
.ai-sources { font-size: .78rem; color: var(--ink-soft); margin-top: 6px; }
.ai-rate { display: flex; gap: 6px; margin-top: 4px; font-size: .78rem; color: var(--ink-soft); align-items: center; }
.ai-rate button { background: none; border: 0; cursor: pointer; color: var(--ink-soft); }
.ai-rate button.on { color: var(--red); }
.typing span { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-soft); margin: 0 2px; animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; } .typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .2; } 40% { opacity: 1; } }
.suggestions { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 12px; }
.chat-input { display: flex; gap: 10px; align-items: flex-end; padding: 12px 16px; border-top: 1px solid var(--line); }
.chat-input textarea { width: 100%; resize: none; border: 1.5px solid var(--line); border-radius: 20px; padding: 10px 16px; font: inherit; max-height: 140px; background: var(--paper); }
.chat-input textarea:focus { outline: none; border-color: var(--red); background: #fff; }
.chat-input label.icon-btn { cursor: pointer; flex-shrink: 0; }
.ai-preview { position: relative; display: inline-block; margin-bottom: 6px; }
.ai-preview img { height: 64px; border-radius: 10px; }
.ai-preview button { position: absolute; top: -6px; inset-inline-end: -6px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: var(--slate); color: #fff; cursor: pointer; display: grid; place-items: center; }
.fab-ai { position: fixed; bottom: 92px; inset-inline-end: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--slate); color: #fff; display: grid; place-items: center; font-size: 1.6rem; box-shadow: 0 10px 30px rgba(27,38,36,.35); }
.fab-ai:hover { background: var(--red); }
@media (max-width: 960px) {
    .assistant-layout { grid-template-columns: 1fr; }
    .assistant-side { position: static; }
    .assistant-side .note-box, .assistant-side > p.muted { display: none; }
    .chat-panel { height: calc(100vh - 120px); }
}

/* ==========================================================================
   Home page
   ========================================================================== */
.home-hero { position: relative; background: var(--slate); color: #fff; overflow: hidden; }
.home-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .35; }
.home-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(27,38,36,.97) 0%, rgba(27,38,36,.78) 55%, rgba(27,38,36,.45) 100%); }
[dir="rtl"] .home-hero::after { background: linear-gradient(-100deg, rgba(27,38,36,.97) 0%, rgba(27,38,36,.78) 55%, rgba(27,38,36,.45) 100%); }
.home-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; padding-top: 96px; padding-bottom: 88px; }
.home-hero .eyebrow { color: #FFB3B0; }
.home-hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.4rem); margin: 16px 0 6px; letter-spacing: -.02em; }
.home-hero .tagline { font-family: var(--font-display); font-size: clamp(1.2rem, 2.4vw, 1.75rem); color: #E8A6A2; font-style: italic; }
[dir="rtl"] .home-hero .tagline { font-style: normal; }
.home-hero .lead { max-width: 620px; margin-top: 18px; color: rgba(255,255,255,.84); font-size: 1.08rem; }
.home-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.home-hero .btn-ghost { color: #fff; }
.home-hero-card { background: rgba(255,255,255,.96); color: var(--ink); border-radius: var(--r-l); padding: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.hero-card-head { font-weight: 700; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.hero-link { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; border: 1px solid var(--line); margin-top: 10px; transition: border-color .2s, transform .2s, background .2s; }
.hero-link:hover { border-color: var(--red); transform: translateY(-1px); }
.hero-link > i:first-child { width: 46px; height: 46px; border-radius: 14px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; font-size: 1.3rem; flex-shrink: 0; }
.hero-link span { flex: 1; display: flex; flex-direction: column; }
.hero-link small { color: var(--ink-soft); font-size: .84rem; }
.hero-link > i:last-child { color: var(--ink-soft); }
.hero-link.emergency { background: var(--red); border-color: var(--red); color: #fff; }
.hero-link.emergency > i:first-child { background: rgba(255,255,255,.18); color: #fff; }
.hero-link.emergency small, .hero-link.emergency > i:last-child { color: rgba(255,255,255,.85); }
@media (max-width: 960px) { .home-hero-inner { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 56px; gap: 32px; } }

.marquee { background: var(--red); color: #fff; overflow: hidden; white-space: nowrap; padding: 12px 0; font-family: var(--font-mono); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; }
[dir="rtl"] .marquee { letter-spacing: 0; font-family: var(--font-body); font-weight: 600; font-size: .95rem; }
.marquee-track { display: inline-flex; gap: 28px; animation: marquee 40s linear infinite; }
.marquee i { font-style: normal; opacity: .6; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
[dir="rtl"] .marquee-track { animation-name: marquee-rtl; }
@keyframes marquee-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }

.section-tight { padding: 40px 0 0; }
/* home offers: one moving slide (75%) + side picture (25%) */
.offers-wrap { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 18px; }
.offer-stage { position: relative; height: clamp(340px, 36vw, 480px); border-radius: var(--r-l); overflow: hidden; background: var(--slate); isolation: isolate; }
.os-slide { position: absolute; inset: 0; display: block; color: #fff; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s; }
.os-slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s ease, visibility 0s; z-index: 1; }
.os-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 7.5s cubic-bezier(.2,.6,.3,1); }
.os-slide.is-active .os-media img { transform: scale(1); }
/* readable text on any picture: a dark band from the text side + a frosted panel */
.os-slide::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(0deg, rgba(12,16,15,.94) 0%, rgba(12,16,15,.78) 24%, rgba(12,16,15,.35) 46%, transparent 64%); } /* dark from the bottom: same in every language */

.os-copy { position: absolute; z-index: 2; inset-inline: 0; bottom: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 10px; padding: 0 clamp(26px, 4vw, 48px) 30px; padding-inline-end: clamp(150px, 22vw, 300px); }
.os-copy::before { content: ""; position: absolute; inset-inline-start: 0; bottom: 34px; width: 5px; height: 64px; background: var(--red); border-radius: 0 4px 4px 0; }
[dir="rtl"] .os-copy::before { border-radius: 4px 0 0 4px; }
.os-kicker { display: inline-flex; align-items: center; gap: 6px; background: var(--red); color: #fff; font-size: .76rem; font-weight: 700; letter-spacing: .04em; padding: 5px 12px; border-radius: 999px; box-shadow: 0 6px 18px rgba(198,48,43,.35); }
.os-copy h3 { font-size: clamp(1.5rem, 2.7vw, 2.4rem); line-height: 1.2; color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.os-copy p { margin: 0; color: rgba(255,255,255,.88); font-size: clamp(.95rem, 1.2vw, 1.08rem); max-width: 44ch; text-shadow: 0 1px 10px rgba(0,0,0,.3); }
.os-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.os-price { display: inline-flex; align-items: baseline; gap: 6px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 8px 16px; border-radius: 14px; }
.os-price b { font-size: 1.6rem; font-family: var(--font-display); line-height: 1; }
.os-price small { color: rgba(255,255,255,.75); font-size: .8rem; }
.os-price del { color: rgba(255,255,255,.6); font-size: .95rem; margin-inline-start: 6px; }
/* staggered entrance of the copy */
.os-anim { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .7s var(--ease); }
.os-slide.is-active .os-anim { opacity: 1; transform: none; }
.os-slide.is-active .os-anim:nth-child(1) { transition-delay: .35s; }
.os-slide.is-active .os-anim:nth-child(2) { transition-delay: .5s; }
.os-slide.is-active .os-anim:nth-child(3) { transition-delay: .65s; }
.os-slide.is-active .os-anim:nth-child(4) { transition-delay: .8s; }
.os-nav { position: absolute; z-index: 3; bottom: 34px; inset-inline-end: clamp(22px, 3vw, 40px); display: flex; align-items: center; gap: 10px; }
.os-arrow { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(16,22,21,.35); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .2s, border-color .2s; }
.os-arrow:hover { background: var(--red); border-color: var(--red); }
.os-dots { display: flex; gap: 6px; }
.os-dots button { width: 26px; height: 4px; padding: 0; border: 0; border-radius: 4px; background: rgba(255,255,255,.35); cursor: pointer; overflow: hidden; position: relative; transition: width .3s var(--ease); }
.os-dots button.on { width: 46px; background: rgba(255,255,255,.55); }
.os-dots button span { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: right; }
[dir="ltr"] .os-dots button span { transform-origin: left; }
.os-dots button.on span { animation: os-progress var(--os-interval, 6.5s) linear forwards; }
.offer-stage.paused .os-dots button.on span { animation-play-state: paused; }
@keyframes os-progress { to { transform: scaleX(1); } }
.offer-side { position: relative; border-radius: var(--r-l); overflow: hidden; color: #fff; display: block; min-height: 100%; background: var(--slate); }
.offer-side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.offer-side:hover img { transform: scale(1.05); }
.offer-side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(16,22,21,.92) 0%, rgba(16,22,21,.55) 38%, transparent 64%); }
.offer-side-copy { position: absolute; z-index: 1; inset: auto 0 0 0; padding: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.offer-side-copy .os-kicker { background: rgba(255,255,255,.16); box-shadow: none; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.offer-side-copy b { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.3; }
.offer-side-copy small { color: rgba(255,255,255,.8); font-size: .88rem; line-height: 1.5; }
.offer-side-btn { margin-top: 6px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; color: #fff; border-bottom: 2px solid var(--red); padding-bottom: 2px; }
@media (max-width: 900px) {
    .offers-wrap { grid-template-columns: 1fr; }
    /* phones: the whole picture on top, the words below it on dark */
    .offer-stage { height: auto; aspect-ratio: auto; min-height: 0; }
    .os-slide { position: absolute; }
    .os-slide.is-active { position: relative; }
    .os-media img { position: relative; height: auto; aspect-ratio: 2 / 1; }
    .os-copy { position: relative; padding: 0 22px 48px; margin-top: -58px; padding-inline-end: 22px; gap: 8px; }
    .os-foot { margin-top: 4px; }
    .os-copy::before { display: none; }
    .os-slide { background: #101615; }
    .os-slide::after { display: none; }
    .os-media { display: block; position: relative; overflow: hidden; } /* the slow zoom must not spill under the fade */
    .os-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 38%, rgba(16,22,21,.6) 66%, #101615 100%); } /* the picture's lower part fades into the dark */
    .os-nav { inset-inline: 22px; bottom: 18px; justify-content: center; }
    .os-dots button { width: 16px; } .os-dots button.on { width: 30px; }
    .offer-side { min-height: 200px; }
    .os-arrow { display: none; }
    .offer-side::after { background: linear-gradient(to left, rgba(16,22,21,.9), rgba(16,22,21,.35) 70%); }
    [dir="ltr"] .offer-side::after { background: linear-gradient(to right, rgba(16,22,21,.9), rgba(16,22,21,.35) 70%); }
    .offer-side-copy { inset: 0; justify-content: center; max-width: 70%; }
}
@media (prefers-reduced-motion: reduce) {
    .os-media img, .os-slide.is-active .os-media img { transform: none; transition: none; }
    .os-anim { transform: none; transition: opacity .3s; }
}

.split-even { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 960px) { .split-even { grid-template-columns: 1fr; gap: 32px; } }
.h-display { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-top: 12px; }
.h-card { font-size: 1.5rem; margin-top: 10px; }
.steps { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 14px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps li > span { font-family: var(--font-mono); font-weight: 600; color: var(--red); border: 1.5px solid var(--red); border-radius: 10px; padding: 6px 8px; font-size: .82rem; }
.who-media { position: relative; }
.who-media img { border-radius: var(--r-l); width: 100%; aspect-ratio: 4/3.4; object-fit: cover; box-shadow: 0 30px 60px rgba(23,24,26,.15); }
.who-badge { position: absolute; bottom: -22px; inset-inline-start: 24px; background: var(--red); color: #fff; padding: 16px 20px; border-radius: 18px; max-width: 270px; box-shadow: 0 16px 40px rgba(198,48,43,.35); }
.who-badge b { display: block; font-family: var(--font-display); font-size: 1.15rem; }
.who-badge span { font-size: .86rem; opacity: .9; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; max-width: none; }
.center-head { margin-inline: auto; text-align: center; }
.center-head .eyebrow { justify-content: center; }

.emergency-section { background: linear-gradient(180deg, #fff, var(--paper)); }
.triage { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.triage span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--slate); color: #fff; font-size: .88rem; font-weight: 500; }
[dir="rtl"] .triage span { padding: 8px 8px 8px 14px; }
.triage b { width: 24px; height: 24px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-size: .75rem; }
.er-list { list-style: none; padding: 26px; margin: 0; background: var(--slate); color: #fff; border-radius: var(--r-l); display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.er-list li { display: flex; gap: 8px; align-items: flex-start; font-size: .94rem; }
.er-list i { color: #FFB3B0; margin-top: 3px; }
@media (max-width: 600px) { .er-list { grid-template-columns: 1fr; } }

.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); padding: 26px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 6px; }
.center-perks { justify-content: center; margin-top: 26px; border-top: 0; }
.quote { margin: 0; background: var(--slate-2); border: 1px solid var(--slate-line); border-radius: var(--r-m); padding: 24px; }
.quote blockquote { margin: 12px 0; font-size: 1.02rem; line-height: 1.75; color: rgba(255,255,255,.9); }
.quote figcaption { font-size: .88rem; color: rgba(255,255,255,.65); }
.quote figcaption b { color: #fff; }
.visit-card { background: #fff; border-radius: var(--r-l); padding: 32px; border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(23,24,26,.06); }
.visit-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
@media (max-width: 600px) {
    .home-services, .home-features { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .home-services .card, .home-features .feature { padding: 16px; }
    .home-services .card p, .home-features .feature p { display: none; }
    .home-services .card h3, .home-features .feature h3 { font-size: .95rem; }
    .home-services .card-icon, .home-features .card-icon { width: 40px; height: 40px; font-size: 1.1rem; margin-bottom: 10px; }
    .who-badge { position: static; margin-top: 12px; max-width: none; }
    .section { padding: 60px 0; }
}


/* ---------- top bar (contact, language, cart, account, booking) ---------- */
.topbar { background: var(--slate); color: rgba(255,255,255,.82); font-size: .86rem; position: relative; z-index: 51; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; }
.topbar-start, .topbar-end { display: flex; align-items: center; gap: 18px; }
.topbar-end { gap: 8px; }
.topbar-link { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.topbar-link i { color: #FFB3B0; }
a.topbar-link:hover, .topbar-socials a:hover { color: #fff; }
.topbar-socials { display: inline-flex; gap: 12px; padding-inline-start: 16px; border-inline-start: 1px solid var(--slate-line); }
.topbar-socials a { color: rgba(255,255,255,.7); font-size: .95rem; }
.topbar-lang { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid var(--slate-line); border-radius: 999px; color: #fff; white-space: nowrap; }
.topbar-lang:hover { border-color: rgba(255,255,255,.5); }
.topbar-icon { position: relative; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.05rem; }
.topbar-icon:hover { background: rgba(255,255,255,.1); }
.topbar-icon .badge-count { top: -3px; inset-inline-end: -3px; }
.topbar-book { display: inline-flex; align-items: center; gap: 6px; background: var(--red); color: #fff; padding: 7px 16px; border-radius: 999px; font-weight: 600; white-space: nowrap; margin-inline-start: 4px; }
.topbar-book:hover { background: var(--red-dark); }
.site-header .container { justify-content: space-between; }
.site-nav .nav-ai { color: var(--red); }
.site-nav .nav-ai:hover { background: var(--red-soft); color: var(--red); }
@media (max-width: 900px) { .hide-md { display: none !important; } }
@media (max-width: 560px) {
    .hide-sm { display: none !important; }
    .topbar .container { padding: 0 12px; gap: 6px; }
    .topbar-link span[dir] { font-size: .8rem; }
    .topbar-book span { display: none; }
    .topbar-book { padding: 7px 10px; }
    .topbar-lang { padding: 4px 9px; font-size: .78rem; }
    .brand-word { display: flex; }
}
@media (max-width: 1100px) {
    .site-nav { position: absolute; inset: 100% 0 auto 0; max-height: calc(100vh - 80px); overflow-y: auto; }
}

/* email verification (OTP) */
.otp-card { text-align: center; }
.otp-icon { width: 64px; height: 64px; border-radius: 20px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; font-size: 1.8rem; margin: 0 auto 14px; }
.otp-inputs { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.otp-inputs input { width: 48px; height: 56px; text-align: center; font-size: 1.5rem; font-weight: 700; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); font-family: var(--font-mono); }
.otp-inputs input:focus { outline: none; border-color: var(--red); background: #fff; }
.link-btn { background: none; border: 0; color: var(--red); font: inherit; font-weight: 600; cursor: pointer; }
.link-btn[disabled] { color: var(--ink-soft); cursor: default; }
.otp-change { margin-top: 18px; text-align: start; border-top: 1px solid var(--line); padding-top: 12px; }
.otp-change summary { cursor: pointer; color: var(--ink-soft); font-size: .9rem; }
@media (max-width: 400px) { .otp-inputs input { width: 40px; height: 50px; } }

/* live notification pop-ups */
.notif-stack { position: fixed; top: 130px; inset-inline-end: 18px; z-index: 95; display: flex; flex-direction: column; gap: 10px; max-width: min(360px, calc(100vw - 36px)); }
.notif-pop { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-inline-start: 4px solid var(--red); border-radius: 14px; padding: 14px 16px; box-shadow: 0 16px 40px rgba(23,24,26,.16); opacity: 0; transform: translateY(-8px); transition: all .35s var(--ease); }
.notif-pop.in { opacity: 1; transform: none; }
.notif-pop i { color: var(--red); font-size: 1.2rem; margin-top: 2px; }
.notif-pop span { display: flex; flex-direction: column; }
.notif-pop small { color: var(--ink-soft); line-height: 1.5; margin-top: 2px; }
.notif-row.unread { background: #FFFBFA; border-radius: 10px; padding-inline: 8px; }
.notif-row.unread b::after { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-inline-start: 8px; vertical-align: middle; }

/* ---------- FAQ help centre ---------- */
.faq-center .container { max-width: 1080px; }
.faq-search { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px; padding-inline-start: 20px; box-shadow: 0 14px 40px rgba(23,24,26,.06); margin: -64px auto 34px; position: relative; z-index: 2; max-width: 820px; }
.faq-search > i { color: var(--ink-soft); font-size: 1.1rem; }
.faq-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 1rem; padding: 10px 4px; }
.faq-search select { border: 0; border-inline-start: 1px solid var(--line); background: transparent; font: inherit; font-size: .92rem; color: var(--ink-soft); padding: 8px 12px; max-width: 190px; cursor: pointer; outline: 0; }
.faq-search .btn { padding-inline: 26px; }
.faq-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; margin-bottom: 12px; }
.faq-tile { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); color: var(--ink); transition: border-color .2s, box-shadow .25s, transform .25s var(--ease); }
.faq-tile:hover { border-color: rgba(198,48,43,.35); box-shadow: 0 14px 34px rgba(23,24,26,.07); transform: translateY(-2px); }
.faq-tile.on { border-color: var(--red); box-shadow: 0 0 0 3px rgba(198,48,43,.12); }
.faq-tile-icon { flex: 0 0 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); font-size: 1.35rem; transition: background .2s, color .2s; }
.faq-tile:hover .faq-tile-icon, .faq-tile.on .faq-tile-icon { background: var(--red); color: #fff; }
.faq-tile-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding-inline-end: 18px; }
.faq-tile-body b { font-size: 1.02rem; line-height: 1.35; }
.faq-tile-body small { color: var(--ink-soft); font-size: .86rem; line-height: 1.5; }
.faq-tile-body em { font-style: normal; font-family: var(--font-mono); font-size: .74rem; color: var(--gold); margin-top: 2px; }
.faq-tile-go { position: absolute; top: 20px; inset-inline-end: 18px; color: var(--ink-soft); opacity: .45; transition: opacity .2s, transform .2s; }
.faq-tile:hover .faq-tile-go { opacity: 1; color: var(--red); transform: translateX(calc(var(--dir, 1) * 3px)); }
[dir="rtl"] .faq-tile:hover .faq-tile-go { transform: translateX(-3px); }
.faq-tiles.compact { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.faq-tiles.compact .faq-tile { padding: 12px 14px; align-items: center; }
.faq-tiles.compact .faq-tile-icon { flex-basis: 38px; height: 38px; border-radius: 11px; font-size: 1.1rem; }
.faq-tiles.compact .faq-tile-go { display: none; }
.faq-list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.faq-list-head small { color: var(--ink-soft); font-size: .8em; font-weight: 500; }
.link-clear { color: var(--red); font-weight: 600; font-size: .92rem; }
.faq-item summary > span { display: flex; flex-direction: column; gap: 4px; }
.faq-cat { font-weight: 500; font-size: .78rem; color: var(--ink-soft); }
.faq-cat i { color: var(--red); }
.faq-item[open] { border-color: rgba(198,48,43,.3); box-shadow: 0 10px 28px rgba(23,24,26,.05); }
@media (max-width: 700px) {
    .faq-search { flex-wrap: wrap; border-radius: var(--r-m); padding: 10px; margin-top: -40px; }
    .faq-search input { flex-basis: calc(100% - 40px); }
    .faq-search select { flex: 1; border-inline-start: 0; border: 1px solid var(--line); border-radius: 999px; max-width: none; }
    .faq-tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
    .faq-tile { flex-direction: column; gap: 10px; padding: 14px; }
    .faq-tile-body small { display: none; }
    .faq-tile-go { display: none; }
}

/* ---------- care journey: scroll-driven frame sequence ---------- */
.journey { position: relative; height: 420vh; background: var(--paper); }
.journey-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.journey-canvas, .journey-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.journey-poster { transition: opacity .4s; }
.journey.ready .journey-poster { opacity: 0; }
/* soft paper wash behind the copy so the text always reads */
.journey-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to left, rgba(250,248,244,.92) 0%, rgba(250,248,244,.7) 30%, rgba(250,248,244,0) 55%); }
/* the cat sits on the left of the footage, so the copy stays on the right in both languages */
.journey-copy { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; }
.journey-step .eyebrow { margin-bottom: 10px; }
.journey-step { position: absolute; top: 50%; right: 84px; max-width: min(460px, 44vw); transform: translateY(-40%); opacity: 0; visibility: hidden; transition: opacity .55s ease, transform .7s var(--ease), visibility 0s linear .55s; }
.journey-step.on { opacity: 1; visibility: visible; transform: translateY(-50%); transition: opacity .55s ease .1s, transform .7s var(--ease) .1s, visibility 0s; }
.journey-step.past { transform: translateY(-62%); }
.journey-num { display: block; font-family: var(--font-display); font-size: clamp(3.5rem, 8vw, 6.5rem); line-height: .9; color: var(--red); font-weight: 600; }
.journey-step h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1.05; margin: 6px 0 14px; color: var(--ink); letter-spacing: -.02em; }
.journey-step p { font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--ink-soft); margin: 0 0 22px; }
.journey-rail { position: absolute; z-index: 3; right: 30px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 46px; align-items: center; }
.journey-rail::before { content: ""; position: absolute; top: 6px; bottom: 6px; width: 2px; background: rgba(23,24,26,.12); }
.journey-rail-fill { position: absolute; top: 6px; width: 2px; height: calc(100% - 12px); background: var(--red); transform-origin: top; transform: scaleY(0); }
.journey-rail span { position: relative; z-index: 1; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid rgba(23,24,26,.25); transition: background .3s, border-color .3s, transform .3s; }
.journey-rail span.on { background: var(--red); border-color: var(--red); transform: scale(1.25); }
.journey-hint { position: absolute; z-index: 3; bottom: 26px; left: 50%; transform: translateX(-50%); font-size: .82rem; color: var(--ink-soft); display: flex; gap: 8px; align-items: center; transition: opacity .4s; animation: journey-bob 2s ease-in-out infinite; }
.journey.moved .journey-hint { opacity: 0; }
@keyframes journey-bob { 50% { transform: translate(-50%, 6px); } }
@media (max-width: 900px) {
    .journey { height: 360vh; }
    .journey-shade { background: linear-gradient(0deg, rgba(250,248,244,.96) 0%, rgba(250,248,244,.85) 38%, rgba(250,248,244,0) 62%); }
    .journey-copy { justify-content: flex-end; padding-bottom: 70px; }
    .journey-step { top: auto; bottom: 70px; max-width: calc(100% - 64px); transform: translateY(16px); }
    .journey-step.on { transform: none; }
    .journey-step.past { transform: translateY(-16px); }
    .journey-rail { right: 14px; top: 34%; gap: 30px; }
    .journey-step { left: 78px; right: 24px; } /* clear of the floating chat / WhatsApp buttons */
    .journey-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) { .journey-step, .journey-step.on, .journey-step.past { transition: opacity .2s; } .journey-hint { animation: none; } }

/* home sections limited to one kind of screen (Admin → Home page sections) */
@media (max-width: 767.98px) { .only-desktop { display: none !important; } }
@media (min-width: 768px) { .only-mobile { display: none !important; } }

/* ---------- long-form articles ---------- */
.article-body { font-size: 1.06rem; line-height: 1.95; }
.article-body h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); margin: 46px 0 16px; padding-top: 6px; scroll-margin-top: 110px; line-height: 1.35; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-size: 1.22rem; margin: 30px 0 10px; line-height: 1.45; color: var(--ink); }
.article-body h4 { font-size: 1.05rem; margin: 22px 0 8px; font-family: var(--font-body); font-weight: 700; color: var(--ink); }
.article-body p { color: #3b3d40; }
.article-body ul, .article-body ol { margin-bottom: 22px; }
.article-body li { color: #3b3d40; line-height: 1.8; }
.article-body ol li::before { content: counter(step); min-width: 26px; text-align: center; border-radius: 50%; padding: 3px 0; font-family: var(--font-body); }
.article-body ol li { padding-inline-start: 42px; }
.article-body a { word-break: break-word; }
.quick-answer { margin: 0 0 34px; padding: 22px 26px; border-radius: var(--r-m); background: linear-gradient(135deg, #FBF1EF, #FFF8F2); border: 1px solid rgba(198,48,43,.18); border-inline-start: 5px solid var(--red); }
.quick-answer h2, .quick-answer h3, .quick-answer p:first-child { margin: 0 0 10px !important; font-size: 1.15rem; display: flex; gap: 10px; align-items: center; color: var(--ink); font-weight: 700; }
.quick-answer h2::before, .quick-answer h3::before { content: "\F46C"; font-family: "bootstrap-icons"; color: var(--red); font-weight: 400; }
.quick-answer p { color: var(--ink); margin-bottom: 8px; }
.quick-answer p:last-child { margin-bottom: 0; }
.table-wrap { overflow-x: auto; margin: 6px 0 26px; border: 1px solid var(--line); border-radius: var(--r-s); background: #fff; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
.table-wrap th { background: var(--slate); color: #fff; text-align: start; padding: 12px 14px; font-weight: 600; }
.table-wrap th strong { color: #fff; }
.table-wrap td { padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: top; color: #3b3d40; }
.table-wrap tbody tr:nth-child(even) td { background: #FAF8F4; }
.table-wrap td:first-child { font-weight: 600; color: var(--ink); min-width: 120px; }
.article-faq { margin: 44px 0 10px; padding: 8px 26px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); }
.article-faq h2 { margin-top: 22px !important; }
.article-faq h3 { position: relative; font-size: 1.06rem; margin: 0; padding: 16px 0 6px; padding-inline-start: 34px; border-top: 1px solid var(--line); font-family: var(--font-body); font-weight: 700; }
.article-faq h2 + h3 { border-top: 0; }
.article-faq h3::before { content: "؟"; position: absolute; inset-inline-start: 0; top: 15px; width: 24px; height: 24px; border-radius: 50%; background: var(--red-soft); color: var(--red); font-size: .85rem; display: grid; place-items: center; }
[dir="ltr"] .article-faq h3::before { content: "?"; }
.article-faq p { margin-bottom: 12px; }
.article-cta { margin: 26px 0; }
.article-cta, .article-cta * { color: var(--ink) !important; font-weight: 700; }
.article-cta::before { content: "\F1EF"; font-family: "bootstrap-icons"; color: var(--red); margin-inline-end: 8px; }
.toc-box ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc-box li { counter-increment: toc; position: relative; padding-inline-start: 30px; margin: 0 0 8px; line-height: 1.5; font-size: .92rem; }
.toc-box li::before { content: counter(toc); position: absolute; inset-inline-start: 0; top: 1px; width: 21px; height: 21px; border-radius: 50%; background: var(--paper-alt); color: var(--ink-soft); font-size: .72rem; display: grid; place-items: center; font-family: var(--font-mono); }
.toc-box a { color: var(--ink-soft); text-decoration: none; }
.toc-box a:hover, .toc-box a.on { color: var(--red); }
.toc-box li:has(a.on)::before { background: var(--red); color: #fff; }
.toc-side { margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); max-height: 52vh; overflow-y: auto; }
.toc-side h3 { font-size: 1rem !important; display: flex; gap: 8px; align-items: center; margin-bottom: 14px !important; }
.toc-mobile { display: none; margin: 0 0 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); padding: 14px 18px; }
.toc-mobile summary { cursor: pointer; font-weight: 700; display: flex; gap: 8px; align-items: center; }
.toc-mobile ol { margin-top: 14px; }
@media (max-width: 960px) { .toc-side { display: none; } .toc-mobile { display: block; } .article-body { font-size: 1.02rem; } }

/* products without a published price */
.price.ask-price { font-weight: 700; color: var(--red); font-size: .98rem; }
.price-lg.ask-price { font-size: 1.5rem; font-family: var(--font-display); }
.add-btn.ask-btn { background: var(--slate); color: #fff; }
.add-btn.ask-btn:hover { background: var(--red); }

/* public booking */
.booking-wrap { max-width: 860px; }
.type-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .type-pick { grid-template-columns: 1fr; } }
.type-option { position: relative; display: flex; gap: 14px; align-items: center; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 16px; cursor: pointer; transition: border-color .2s, background .2s; }
.type-option input { position: absolute; opacity: 0; }
.type-option > i { font-size: 1.6rem; color: var(--ink-soft); }
.type-option b { display: block; font-size: 1rem; }
.type-option small { display: block; color: var(--ink-soft); font-size: .84rem; margin-top: 2px; }
.type-option:has(input:checked) { border-color: var(--red); background: #FFFBFA; }
.type-option:has(input:checked) > i { color: var(--red); }
.pet-option > i { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-alt); font-size: 1.3rem; }
.new-pet { margin-top: 14px; }
.booking-summary .summary-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 1.1rem; }
.summary-list { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 0 0 22px; }
.summary-list dt { color: var(--ink-soft); }
.summary-list dd { margin: 0; font-weight: 600; }

/* specialties: picture + name only */
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1000px) { .spec-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .spec-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.spec-tile { display: block; color: inherit; text-decoration: none; }
.spec-media { display: grid; place-items: center; aspect-ratio: 4/3; border-radius: var(--r-m); overflow: hidden; background: var(--paper-alt); }
.spec-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.spec-media i { font-size: 2.4rem; color: var(--red); }
.spec-tile:hover .spec-media img { transform: scale(1.05); }
.spec-name { display: block; margin-top: 12px; font-weight: 700; font-size: 1.05rem; line-height: 1.4; }
.section-dark .spec-name { color: #fff; }
.section-dark .spec-media { background: rgba(255,255,255,.06); }
@media (max-width: 700px) { .spec-name { font-size: .95rem; margin-top: 8px; } }

/* shop: by animal and category */
.pet-tabs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 14px; scrollbar-width: none; }
.pet-tabs::-webkit-scrollbar { display: none; }
.pet-tabs a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-weight: 700; text-decoration: none; transition: border-color .2s, background .2s; }
.pet-tabs a span { font-size: 1.2rem; line-height: 1; }
.pet-tabs a.on { border-color: var(--red); background: #FFFBFA; color: var(--red); }
.cat-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.cat-chips a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: var(--paper-alt); color: var(--ink-soft); font-size: .9rem; font-weight: 600; text-decoration: none; }
.cat-chips a small { font-size: .75rem; opacity: .7; }
.cat-chips a.on { background: var(--ink); color: #fff; }
@media (max-width: 700px) { .cat-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .cat-chips a { flex: 0 0 auto; } }

/* adoption & buy-sell boards */
.board-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
.board-head .pet-tabs { margin-bottom: 0; }
.board-filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 8px 0 22px; }
.board-filters select { width: auto; min-width: 140px; }
.board-filters .grow { flex: 1 1 220px; }
.listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .listing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .listing-grid { grid-template-columns: 1fr 1fr; gap: 12px; } }
.listing-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; color: inherit; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s; }
.listing-card:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(23,24,26,.08); }
.listing-media { position: relative; display: block; aspect-ratio: 4/3; background: var(--paper-alt); }
.listing-media img { width: 100%; height: 100%; object-fit: cover; }
.listing-tags { position: absolute; top: 10px; inset-inline-start: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.listing-tags.static { position: static; margin-bottom: 8px; }
.tag-green { background: #E7F6EC; color: #1C7C45; }
.listing-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; flex: 1; }
.listing-title { font-size: 1.02rem; line-height: 1.35; }
.listing-meta { color: var(--ink-soft); font-size: .86rem; }
.listing-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; font-size: .86rem; }
.listing-price { color: var(--red); font-size: 1.05rem; }
.listing-city { color: var(--ink-soft); }
.listing-health i { color: #1C7C45; margin-inline-end: 4px; }
@media (max-width: 560px) { .listing-body { padding: 10px 12px 12px; } .listing-title { font-size: .92rem; } .listing-city { display: none; } }
.exam-promo { display: flex; align-items: center; gap: 18px; margin-top: 30px; padding: 22px 24px; border-radius: var(--r-m); background: #FFFBFA; border: 1.5px dashed var(--red); }
.exam-promo > i { font-size: 2.2rem; color: var(--red); }
.exam-promo p { margin: 4px 0 0; color: var(--ink-soft); font-size: .92rem; }
.exam-promo > div { flex: 1; }
.exam-promo.compact { margin: 18px 0 12px; padding: 16px; flex-wrap: wrap; }
@media (max-width: 700px) { .exam-promo { flex-direction: column; align-items: flex-start; } }
.listing-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; margin-top: 18px; }
@media (max-width: 900px) { .listing-layout { grid-template-columns: 1fr; gap: 22px; } }
.listing-gallery .main { aspect-ratio: 1; border-radius: var(--r-l); overflow: hidden; background: var(--paper-alt); }
.listing-gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.listing-gallery .thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.listing-gallery .thumbs button { flex: 0 0 72px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: none; cursor: pointer; }
.listing-gallery .thumbs button.on { border-color: var(--red); }
.listing-gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.listing-h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.25; margin: 0 0 6px; }
.listing-price-lg { font-size: 1.6rem; font-weight: 800; color: var(--red); margin: 0 0 16px; }
.listing-price-lg small { font-size: .9rem; color: var(--ink-soft); font-weight: 600; }
.listing-price-lg.free { color: #1C7C45; }
.exam-badge { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--r-m); background: #E7F6EC; margin-bottom: 16px; }
.exam-badge > i { font-size: 1.6rem; color: #1C7C45; }
.exam-badge p { margin: 2px 0 4px; font-size: .9rem; }
.spec-list { display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; margin: 0 0 16px; }
.spec-list dt { color: var(--ink-soft); }
.spec-list dd { margin: 0; font-weight: 600; }
.mini-title { font-size: 1.05rem; margin: 18px 0 10px; }
.health-list { list-style: none; padding: 0; margin: 0 0 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.health-list li { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.health-list li.yes i { color: #1C7C45; }
.health-list li.no { color: var(--ink-soft); font-weight: 500; }
.contact-row { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-wa { background: #25D366; color: #fff; border-color: #25D366; }
.btn-wa:hover { background: #1EB257; color: #fff; }
.listing-stats { margin-top: 14px; }
.listing-desc { margin-top: 28px; }
.listing-desc p { line-height: 1.9; margin: 0; }
.adopt-form { margin-top: 24px; }
.adopt-form h3 i { color: var(--red); }
.adopt-form .check { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.report-box { margin-top: 18px; color: var(--ink-soft); font-size: .9rem; }
.report-box summary { cursor: pointer; }
.report-box form { margin-top: 10px; max-width: 420px; }
.section-title-sm { font-size: 1.35rem; margin: 40px 0 16px; }
.booking-listing { display: flex; gap: 14px; align-items: center; padding: 12px; margin-bottom: 18px; border-radius: 14px; background: var(--paper-alt); }
.booking-listing img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.booking-listing div { display: flex; flex-direction: column; }
/* my listings */
.my-listings { display: flex; flex-direction: column; gap: 12px; }
.my-listing { display: flex; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 14px; flex-wrap: wrap; }
.my-listing > img { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; }
.my-listing .grow { flex: 1 1 220px; }
.my-listing p { margin: 3px 0 0; }
.my-listing-actions { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 12px; }
.check-grid .check, .agree { display: flex; gap: 8px; align-items: flex-start; }
.agree { margin-top: 16px; font-size: .9rem; }
.photo-edit { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.photo-edit label { position: relative; width: 96px; cursor: pointer; }
.photo-edit img { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; }
.photo-edit span { display: flex; gap: 4px; align-items: center; font-size: .8rem; color: var(--red); margin-top: 4px; }
/* exam report */
.exam-doc { padding: 34px; }
.exam-head { display: flex; gap: 16px; align-items: center; border-bottom: 2px solid var(--line); padding-bottom: 18px; margin-bottom: 18px; }
.exam-head h1 { font-size: 1.5rem; margin: 0; }
.exam-head p { margin: 2px 0 0; }
.exam-head > div:nth-child(2) { flex: 1; }
.exam-result { padding: 8px 16px; border-radius: 999px; font-weight: 800; }
.exam-result.r-fit { background: #E7F6EC; color: #1C7C45; }
.exam-result.r-fit_with_notes { background: #F6EEDF; color: #8A6A35; }
.exam-result.r-not_fit { background: var(--red-soft); color: var(--red-dark); }
.exam-table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.exam-table th, .exam-table td { text-align: start; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.exam-table th { width: 30%; color: var(--ink-soft); font-weight: 600; }
.exam-foot { border-top: 2px solid var(--line); padding-top: 14px; margin-top: 20px; }
@media (max-width: 600px) { .exam-doc { padding: 18px; } .exam-head { flex-wrap: wrap; } .exam-table th { width: 40%; } }
.crumbs-dark, .crumbs-dark a, .crumbs-dark span, .crumbs-dark i { color: var(--ink-soft) !important; }
.crumbs-dark a:hover { color: var(--red) !important; }
/* the scrolling animal / category rows must never widen the page */
.shop-layout > *, .board-head, .board-head .pet-tabs { min-width: 0; }
.pet-tabs, .cat-chips { max-width: 100%; }
@media (max-width: 700px) { .pet-tabs a { padding: 7px 13px; font-size: .9rem; gap: 6px; } .pet-tabs a span { font-size: 1rem; } }

/* phones: a fixed call / WhatsApp / book bar */
.mobile-cta { display: none; }
@media (max-width: 768px) {
    .mobile-cta { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; inset-inline: 0; bottom: 0; z-index: 70; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(23,24,26,.08); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
    .mobile-cta a { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 12px 6px; border-radius: 12px; font-weight: 800; font-size: .95rem; text-decoration: none; }
    .mobile-cta i { font-size: 1.1rem; }
    .mc-call { background: var(--red); color: #fff; }
    .mc-wa { background: #1FAF55; color: #fff; }
    .mc-book { background: var(--ink); color: #fff; }
    body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
    .fab-whatsapp { display: none; }
    .fab-ai { bottom: calc(82px + env(safe-area-inset-bottom)); }
}
.contact-card { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: var(--r-m); background: #E7F6EC; margin-bottom: 12px; }
.my-listing .mating-requests { flex-basis: 100%; border-top: 1px dashed var(--line); padding-top: 10px; display: flex; flex-direction: column; gap: 10px; }
.mating-request { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-start; padding: 10px; border-radius: 12px; background: var(--paper-alt); }
.mating-request .grow { flex: 1 1 240px; }
.type-pick.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .type-pick.three { grid-template-columns: 1fr; } }

/* pictures inside articles */
.article-body .article-figure { margin: 22px auto; max-width: 560px; text-align: center; }
.article-body .article-figure img { width: 100%; height: auto; border-radius: var(--r-m); background: var(--paper-alt); }
.article-body .article-figure figcaption { margin-top: 8px; font-size: .85rem; color: var(--ink-soft); line-height: 1.6; }
.article-body h3 + .article-figure { max-width: 380px; }
.article-body .article-source { font-size: .82rem; color: var(--ink-soft); margin: -4px 0 22px; }
@media (max-width: 640px) {
  .article-body .table-wrap { border: 0; background: none; overflow: visible; }
  .article-body .table-wrap table { min-width: 0; }
  .article-body .table-wrap thead { display: none; }
  .article-body .table-wrap tr { display: block; margin-bottom: 12px; border: 1px solid var(--line); border-radius: var(--r-s); background: #fff; overflow: hidden; }
  .article-body .table-wrap td { display: block; border-top: 1px solid var(--line); padding: 10px 14px; background: #fff !important; }
  .article-body .table-wrap td:first-child { border-top: 0; background: var(--slate) !important; color: #fff; min-width: 0; }
  .article-body .table-wrap td[data-label]:not(:first-child)::before { content: attr(data-label); display: block; font-size: .75rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 3px; }
}
/* phone numbers: always one left-to-right block, never split across lines */
.tel-num { direction: ltr; unicode-bidi: isolate; white-space: nowrap; font-weight: 600; color: var(--red); text-decoration: underline dotted; text-underline-offset: 3px; }
a[href^="tel:"][dir="ltr"], a[href^="tel:"] [dir="ltr"], a[href^="tel:"] bdi { unicode-bidi: isolate; white-space: nowrap; }

/* ---------- feeding calculator */
.feed-calc { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: 26px; box-shadow: 0 10px 40px rgba(23,24,26,.06); }
.feed-calc-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.feed-calc-icon { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; font-size: 1.4rem; }
.feed-calc-head h3 { font-size: 1.2rem; margin: 0 0 4px; }
.feed-calc-head p { margin: 0; color: var(--ink-soft); font-size: .88rem; line-height: 1.6; }
.fc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.fc-field { display: flex; flex-direction: column; gap: 6px; font-size: .84rem; font-weight: 600; color: var(--ink); min-width: 0; }
.fc-field input, .fc-field select { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-weight: 400; font-size: .95rem; background: #fff; }
.fc-field input:focus, .fc-field select:focus { border-color: var(--red); outline: none; box-shadow: 0 0 0 3px var(--red-soft); }
.fc-wide { grid-column: 1 / -1; }
.fc-food { border: 1px dashed var(--line); border-radius: 12px; padding: 12px 14px 14px; margin: 16px 0 0; }
.fc-food legend { padding: 0 6px; font-weight: 700; font-size: .9rem; color: var(--red); }
.fc-eligible { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 14px; font-size: .9rem; font-weight: 600; cursor: pointer; }
.fc-eligible input { margin-top: 4px; accent-color: var(--red); width: 18px; height: 18px; flex: none; }
.fc-eligible small { display: block; font-weight: 400; color: var(--ink-soft); font-size: .8rem; line-height: 1.6; margin-top: 3px; }
.fc-error { color: var(--red); font-size: .88rem; margin-top: 10px; min-height: 1px; }
.fc-error:empty { display: none; }
.fc-result { margin-top: 20px; border-radius: 14px; background: linear-gradient(135deg, #FFF7F5, #FAF8F4); border: 1px solid var(--red-soft); padding: 18px; }
.fc-result h4 { margin: 0 0 12px; font-size: 1.05rem; display: flex; gap: 8px; align-items: center; color: var(--ink); }
.fc-result h4 i { color: #1f9d55; }
.fc-portions { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.fc-portion { background: #fff; border-radius: 12px; padding: 14px; text-align: center; border: 1px solid var(--line); }
.fc-portion .fc-kind { display: block; font-size: .8rem; color: var(--ink-soft); font-weight: 600; }
.fc-portion b { display: block; font-size: 2rem; line-height: 1.2; color: var(--red); }
.fc-portion small { display: block; font-size: .8rem; color: var(--ink-soft); }
.fc-portion em { display: inline-block; margin-top: 8px; font-style: normal; font-size: .82rem; background: var(--red-soft); color: var(--red-dark); padding: 3px 10px; border-radius: 99px; }
.fc-energy { list-style: none; padding: 0; margin: 14px 0 0; font-size: .85rem; }
.fc-energy li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px dashed var(--line); }
.fc-energy span { color: var(--ink-soft); }
.fc-note { font-size: .8rem; color: var(--ink-soft); margin: 12px 0 0; line-height: 1.7; }
.fc-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; font-size: .82rem; }
.fc-links a { color: var(--ink-soft); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.fc-links a:hover { color: var(--red); }
.feed-calc.compact { padding: 0; border: 0; box-shadow: none; }
.feed-calc.compact .fc-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
.feed-calc.compact .fc-links { flex-direction: column; }
.calc-sticky { max-height: calc(100vh - 120px); overflow-y: auto; padding: 22px; }
.calc-jump { display: none; align-items: center; gap: 8px; margin: 0 0 18px; padding: 12px 16px; border-radius: var(--r-m); background: var(--red-soft); color: var(--red-dark); font-weight: 700; text-decoration: none; }
.toc-mobile.always { display: block; }
@media (max-width: 960px) { .calc-jump { display: inline-flex; } .calc-sticky { position: static; max-height: none; overflow: visible; } }
.calc-page { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.calc-side { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; position: sticky; top: 100px; }
.calc-side img { width: 100%; height: 230px !important; object-fit: cover; display: block; }
.calc-side-body { padding: 22px; }
.calc-side-body h3 { font-size: 1.1rem; margin: 0 0 8px; }
.calc-side-body .btn { margin-top: 10px; justify-content: center; }
@media (max-width: 960px) { .calc-page { grid-template-columns: 1fr; } .calc-side { position: static; } }
@media (max-width: 480px) { .feed-calc { padding: 18px; } .fc-grid { grid-template-columns: 1fr; } }
/* home banner */
.calc-banner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: stretch; border-radius: var(--r-l); overflow: hidden; background: var(--slate); color: #fff; text-decoration: none; box-shadow: 0 20px 50px rgba(23,24,26,.12); transition: transform .3s ease; }
.calc-banner:hover { transform: translateY(-3px); }
.calc-banner img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; display: block; }
.calc-banner-body { padding: clamp(26px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; }
.calc-banner-body .tag { background: rgba(255,255,255,.12); color: #fff; }
.calc-banner-body h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 0; line-height: 1.3; }
.calc-banner-body p { color: rgba(255,255,255,.82); margin: 0; font-size: 1.02rem; line-height: 1.8; }
@media (max-width: 760px) { .calc-banner { grid-template-columns: 1fr; } .calc-banner img { min-height: 0; aspect-ratio: 16/9; } }
/* emergency box inside an article */
.article-body .article-alert { margin: 0 0 34px; padding: 22px 26px; border-radius: var(--r-m); background: #FFF1F0; border: 1px solid rgba(198,48,43,.28); border-inline-start: 6px solid var(--red); }
.article-body .article-alert h2 { margin-top: 0 !important; color: var(--red-dark); display: flex; gap: 10px; align-items: center; font-size: 1.3rem; }
.article-body .article-alert h2::before { content: "\F33A"; font-family: "bootstrap-icons"; font-weight: 400; color: var(--red); }
.article-body .article-alert ul { margin-bottom: 16px; }
.article-body .article-alert li { margin-bottom: 10px; }
.article-body .article-alert .btn { display: inline-flex; gap: 8px; text-decoration: none; color: #fff; }
.article-body .article-alert .btn::before { content: "\F5B4"; font-family: "bootstrap-icons"; }
.article-body sup.cite { font-size: .68em; line-height: 0; margin-inline-start: 2px; }
.article-body sup.cite a { color: var(--ink-soft); text-decoration: none; white-space: nowrap; }
.article-body sup.cite a:hover { color: var(--red); }
.article-links-box { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 28px; }
.article-links-box a { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-m); background: #fff; text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s; }
.article-links-box a:hover { border-color: var(--red); transform: translateY(-2px); }
.article-links-box i { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); font-size: 1.25rem; }
.article-links-box b { display: block; font-size: .98rem; }
.article-links-box small { display: block; color: var(--ink-soft); font-size: .82rem; line-height: 1.6; }
/* main menu: starts next to the logo; links that do not fit go into "More" */
.site-nav { flex: 1; min-width: 0; margin-inline-start: 8px; align-items: center; }
.nav-main { display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0; }
.site-nav .nav-item { white-space: nowrap; flex: none; }
.site-nav .nav-item i { color: var(--red); margin-inline-end: 2px; }
.site-nav .nav-ai { margin-inline-start: auto; white-space: nowrap; flex: none; }
.nav-phone-only { display: none !important; }
.topbar-page { color: rgba(255,255,255,.82); padding: 5px 8px; white-space: nowrap; }
.topbar-page:hover { color: #fff; }
.nav-more { position: relative; flex: none; }
.nav-more-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 0; background: none; font: inherit; font-weight: 500; color: var(--ink-soft); cursor: pointer; white-space: nowrap; }
.nav-more-toggle i { font-size: .75rem; transition: transform .2s; }
.nav-more-toggle:hover, .nav-more-toggle.active, .nav-more.open .nav-more-toggle { color: var(--ink); background: var(--paper-alt); }
.nav-more.open .nav-more-toggle i { transform: rotate(180deg); }
.nav-more-menu { position: absolute; top: calc(100% + 10px); inset-inline-start: 0; min-width: 220px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 40px rgba(23,24,26,.12); display: none; flex-direction: column; gap: 2px; z-index: 60; }
.nav-more-menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-more.open .nav-more-menu { display: flex; }
@media (hover: hover) and (min-width: 1101px) { .nav-more:hover .nav-more-menu { display: flex; } }
.site-nav .nav-more-menu .nav-item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; }
.site-nav .nav-more-menu .nav-item i { width: 18px; text-align: center; }
@media (max-width: 1100px) {
    .site-nav { align-items: stretch; margin-inline-start: 0; }
    .nav-main { flex-direction: column; align-items: stretch; gap: 0; flex: none; }
    .nav-phone-only { display: block !important; }
    .nav-more { display: none !important; }
    .site-nav .nav-ai { margin-inline-start: 0; }
}
