/* Elegance Mooves — static site styles */
:root {
  --ivory: #f3eee4;
  --ivory-2: #e8e0d1;
  --paper: #faf7f1;
  --ink: #1a1612;
  --ink-soft: #3a332c;
  --muted: #6c6358;
  --gold: #9a7b4f;
  --gold-lt: #c4a574;
  --gold-dim: rgba(154, 123, 79, 0.22);
  --line: rgba(26, 22, 18, 0.12);
  --line-strong: rgba(26, 22, 18, 0.22);
  --overlay: rgba(18, 14, 11, 0.55);
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", sans-serif;
  --radius: 2px;
  --max: 1120px;
  --header-h: 4.25rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  letter-spacing: 0.01em;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; letter-spacing: 0.01em; line-height: 1.15; color: var(--ink); margin: 0 0 0.75rem; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.5rem; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--ivory);
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip:focus { top: 1rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 238, 228, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.brand span { color: var(--gold); }

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.15rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a {
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--gold);
}
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  overflow: hidden;
  margin-left: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.lang-switch a {
  text-decoration: none;
  padding: 0.25rem 0.6rem;
  color: var(--muted);
  border-bottom: 0;
}
.lang-switch a[aria-current="true"] {
  background: var(--ink);
  color: var(--ivory);
}
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  padding: 0.35rem 0.6rem;
  font: inherit;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  .menu-toggle { display: inline-block; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: var(--header-h);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1.25rem 1.25rem;
    gap: 0.65rem;
  }
  body.nav-open .nav { display: flex; }
}

/* Layout */
main { flex: 1 0 auto; }
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
}
.wrap-narrow { max-width: 42rem; }
.section-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 40rem; }
.muted { color: var(--muted); }
hr.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 3rem 0;
}

/* Full-bleed hero — 16:9 desktop (text-safe upper right), 9:16 mobile (text-safe top) */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #2a1c14;
  color: #f7f1e6;
}
.hero__media,
.hero__media picture,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}
.hero__media img {
  max-width: none;
  object-fit: cover;
  object-position: left center;
}
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Subtle right-side veil so cream type stays readable on the peach sky */
  background: linear-gradient(90deg, transparent 48%, rgba(28, 16, 10, 0.22) 68%, rgba(22, 12, 8, 0.42) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}
.hero__text { max-width: 28rem; }
.hero__text .section-kicker { color: var(--gold-lt); }
.hero__text h1 {
  color: #f7f1e6;
  margin-bottom: 0.85rem;
  text-shadow: 0 1px 18px rgba(20, 12, 8, 0.35);
}
.hero__text p {
  color: rgba(247, 241, 230, 0.9);
  text-shadow: 0 1px 12px rgba(20, 12, 8, 0.3);
  overflow-wrap: break-word;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

@media (min-width: 800px) {
  .hero {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: calc(100svh - var(--header-h));
    min-height: 28rem;
  }
  .hero__media img { object-position: left center; }
  /* Text-safe box in the 2560×1440 file: x=1668–2504, y=100–633 */
  .hero__inner {
    padding: 8% 5% 10% 66%;
    display: flex;
    align-items: flex-start;
  }
}

@media (max-width: 799px) {
  .hero {
    /* Fill the screen; do not set aspect-ratio here — a taller min-height
       would transfer through the ratio and inflate the width. */
    width: 100%;
    max-width: 100%;
    min-height: calc(100svh - var(--header-h));
  }
  .hero__media img { object-position: center bottom; }
  .hero__shade {
    /* Text-safe box in the 1080×1920 file: x=75–1004, y=96–688 (upper sky) */
    background: linear-gradient(180deg, rgba(22, 12, 8, 0.42) 0%, rgba(22, 12, 8, 0.22) 32%, transparent 52%);
  }
  .hero__inner {
    padding: 2.25rem 1.5rem 3rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
  }
  .hero__text { max-width: 36rem; }
  .hero__text p { font-size: 0.95rem; }
  .hero__actions { justify-content: center; }
}

/* Hero brand block: kennel name first, handling secondary */
.hero__text .hero__brand {
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  letter-spacing: 0.08em;
  line-height: 1.02;
  margin-bottom: 0.6rem;
  text-shadow: 0 2px 24px rgba(20, 12, 8, 0.55);
}
.hero__text .hero__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.2;
  color: #fff8ec;
  margin: 0 0 0.6rem;
  text-shadow: 0 1px 16px rgba(20, 12, 8, 0.55);
}
.hero__text .hero__meta {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ecd3a6;
  margin: 0 0 1.1rem;
}
.hero__text .hero__sub { font-size: 1rem; color: rgba(247, 241, 230, 0.92); }
@media (min-width: 800px) {
  .hero__shade {
    background: linear-gradient(90deg, transparent 40%, rgba(28, 16, 10, 0.38) 60%, rgba(22, 12, 8, 0.62) 100%);
  }
}
@media (max-width: 799px) {
  .hero__shade {
    background: linear-gradient(180deg, rgba(22, 12, 8, 0.62) 0%, rgba(22, 12, 8, 0.38) 40%, transparent 62%);
  }
}

/* About / inline portrait */
.portrait-frame {
  margin: 0 0 2.5rem;
  max-width: 22rem;
  background: #111;
  box-shadow:
    0 0 0 1px rgba(196, 165, 116, 0.4),
    0 0 0 8px rgba(250, 247, 241, 0.55),
    0 16px 40px rgba(0,0,0,0.08);
}
.portrait-frame img { width: 100%; height: auto; display: block; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  padding: 0.7rem 1.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.btn-gold { background: var(--gold); color: #1a1612; border-color: var(--gold); }
.btn-gold:hover { background: #b08d57; color: #1a1612; }
.btn-light { color: #f7f1e6; border-color: rgba(247,241,230,0.55); }
.btn-light:hover { background: #f7f1e6; color: var(--ink); border-color: #f7f1e6; }
.btn[hidden], .btn.is-hidden { display: none !important; }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.35rem;
  margin-top: 2rem;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: border-color 0.2s, transform 0.2s;
}
a.card:hover { border-color: var(--gold); transform: translateY(-2px); }
.card-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(160deg, #d9cfc0, #cbbba4);
  position: relative;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-media.placeholder {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1.15rem 1.2rem;
  font-family: var(--serif);
  font-size: 1.5rem;
  color: rgba(26,22,18,0.4);
  letter-spacing: 0.04em;
}
.card-media.placeholder::before {
  content: "";
  position: absolute;
  inset: 0.7rem;
  border: 1px solid rgba(26,22,18,0.12);
  pointer-events: none;
}
.card-body { padding: 1.15rem 1.15rem 1.35rem; }
.card-body .kicker {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.card-body h3 { margin-bottom: 0.3rem; font-size: 1.45rem; }
.card-body p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Services */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2rem 0 0;
}
.service {
  border-top: 1px solid var(--gold);
  padding-top: 1rem;
}
.service h3 { font-size: 1.35rem; }
@media (max-width: 700px) { .services { grid-template-columns: 1fr; } }

/* Facts / tables */
.facts {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 0.4rem 1.25rem;
  margin: 1.5rem 0 2rem;
  font-size: 0.98rem;
}
.facts dt { color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.72rem; padding-top: 0.25rem; }
.facts dd { margin: 0; }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; gap: 0.15rem 0; } .facts dt { padding-top: 0.85rem; } }

.results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 1rem 0 2rem;
}
.results-table th, .results-table td {
  text-align: left;
  padding: 0.7rem 0.6rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.results-table th {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.badge {
  display: inline-block;
  border: 1px solid var(--gold-dim);
  color: var(--ink-soft);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  margin-right: 0.35rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}
.gallery-grid a {
  display: block;
  background: #ddd5c6;
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-grid figcaption, .credit {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.35rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10,8,6,0.92);
  display: none;
  z-index: 80;
  color: #f7f1e6;
  padding: 1.5rem;
  overflow: auto;
}
.lightbox.is-open { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lightbox img { max-height: min(82vh, 1600px); max-width: min(94vw, 1400px); object-fit: contain; }
.lightbox p { margin: 0.75rem 0 0; font-size: 0.9rem; color: rgba(247,241,230,0.8); }
.lightbox-close, .lightbox-nav {
  position: absolute;
  background: none;
  border: 0;
  color: #f7f1e6;
  font: inherit;
  cursor: pointer;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
}
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-nav.prev { left: 1rem; top: 50%; }
.lightbox-nav.next { right: 1rem; top: 50%; }

/* Notes to complete later — refined, not a public "ask the owner" cue */
.later {
  border-left: 2px solid var(--gold);
  background: rgba(154, 123, 79, 0.08);
  padding: 0.85rem 1rem;
  margin: 1.25rem 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.later strong { letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.7rem; color: var(--gold); display: block; margin-bottom: 0.2rem; font-family: var(--sans); font-weight: 600; }

/* Page masthead (inner pages) */
.page-hero {
  padding: 3.5rem 1.25rem 0;
  max-width: var(--max);
  margin: 0 auto;
}
.page-hero p { max-width: 38rem; color: var(--ink-soft); }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.contact-list li { margin: 0 0 1rem; }
.contact-list span.label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.15rem;
}

/* News */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding-bottom: 3rem;
}
.news-item {
  display: grid;
  gap: 1.25rem;
}
.news-item figure { margin: 0; }
.news-item img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
}
.news-item.is-lowres figure {
  max-width: 22rem;
}
.news-item h2 { margin-bottom: 0.7rem; }
@media (min-width: 800px) {
  .news-item.has-photo {
    grid-template-columns: minmax(16rem, 22rem) 1fr;
    gap: 2rem;
    align-items: start;
  }
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 1.25rem 2.5rem;
  background: #efe8db;
  margin-top: auto;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--muted);
}
.footer-inner a { text-decoration: none; border-bottom: 1px solid transparent; }
.footer-inner a:hover { border-bottom-color: var(--gold); color: var(--ink); }
.footer-orgs {
  max-width: var(--max);
  margin: 1.75rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.5rem;
}
.footer-orgs__label { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.footer-orgs__list { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.org {
  display: inline-flex;
  flex-direction: column;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--line);
  background: #f7f1e6;
  text-decoration: none;
  color: var(--ink);
  line-height: 1.2;
  transition: border-color 0.2s;
}
.org:hover { border-color: var(--gold); }
.org__abbr { font-family: var(--serif); font-size: 1.15rem; letter-spacing: 0.06em; }
.org__name { font-size: 0.75rem; color: var(--muted); }
.affix { font-family: var(--serif); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }

/* 404 */
.notfound { text-align: center; padding: 6rem 1.25rem; }

/* FAQ (Štenci vipeta, Vipet) */
.faq { margin: 1rem 0 2rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 0.85rem 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq summary h3 { margin: 0; font-size: 1.1rem; }
.faq details p { margin: 0.6rem 0 0; }
.cyr { color: var(--muted); font-size: 0.9rem; margin-top: 2rem; }
.footer-seo a { white-space: nowrap; }
.standard { margin: 0 0 2.5rem; }
.standard h3 { margin-top: 1.75rem; }

/* Mobile hero: text block above the photo so nothing covers Miodrag's face */
@media (max-width: 799px) {
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: linear-gradient(180deg, #2a1c14 0%, #4a3020 100%);
  }
  .hero__inner {
    order: 1;
    height: auto;
    padding: 2rem 1.25rem 1.75rem;
  }
  .hero__media {
    order: 2;
    position: relative;
    inset: auto;
    height: auto;
    aspect-ratio: 4 / 5;
    max-height: 78svh;
  }
  .hero__media picture,
  .hero__media img { position: absolute; inset: 0; }
  .hero__media img { object-position: center 95%; }
  .hero__shade { display: none; }
  .hero__text .hero__brand { font-size: clamp(2.1rem, 10.5vw, 2.8rem); letter-spacing: 0.06em; }
  .hero__text .hero__tagline { font-size: clamp(1.3rem, 6vw, 1.6rem); }
  .hero__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 1.4rem; }
  .hero__actions .btn { justify-content: center; text-align: center; padding-inline: 0.75rem; }
  .hero__actions .btn[data-whatsapp] { grid-column: 1 / -1; line-height: 1.35; }
}

/* Results tables become stacked cards on phones */
@media (max-width: 600px) {
  .results-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .results-table, .results-table tbody, .results-table tr, .results-table td { display: block; width: 100%; }
  .results-table tr { border: 1px solid var(--line); padding: 0.4rem 0.9rem; margin-bottom: 0.75rem; background: rgba(255,255,255,0.35); }
  .results-table td { border-bottom: 0; padding: 0.4rem 0; }
  .results-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 0.1rem;
  }
}

/* Dog cards: two per row on phones */
@media (max-width: 600px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem; }
  .card-body { padding: 0.8rem 0.8rem 0.95rem; }
  .card-body h3 { font-size: 1.2rem; }
  .card-body p { font-size: 0.82rem; overflow-wrap: anywhere; }
}
.hero__actions .btn[data-whatsapp] svg path { fill: #25d366; }

/* Tighter vertical rhythm on phones */
@media (max-width: 600px) {
  .wrap { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .page-hero { padding-top: 2.5rem; }
  .page-hero + .wrap { padding-top: 1.5rem; }
}

/* Mobile hero photo: drop the empty sky, keep Miodrag (hat included) and the dogs.
   In the 1012x1800 file the hat starts at y~940; show y~820-1800. */
@media (max-width: 799px) {
  .hero__media { aspect-ratio: 1012 / 980; max-height: none; }
  .hero__media img { object-fit: cover; object-position: center bottom; }
}

/* "WofWof AI asistent" (js/pitaj-vipeta.js) */
.pv { position: fixed; right: 1rem; bottom: 1rem; z-index: 70; font-family: var(--sans); }
.pv-launch {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.1rem 0.7rem 0.85rem; min-height: 48px;
  background: var(--ink); color: var(--ivory); border: 1px solid var(--gold);
  border-radius: 999px; box-shadow: 0 8px 24px rgba(26,22,18,0.28);
  font: 600 0.8rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer;
}
.pv-launch svg { color: var(--gold-lt); flex: none; }
.pv-launch:hover { background: #2b241d; }
.pv-launch:focus-visible, .pv button:focus-visible, .pv a:focus-visible, .pv textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.pv.is-open .pv-launch { display: none; }
.pv-panel {
  position: fixed; right: 1rem; bottom: 1rem; width: min(380px, calc(100vw - 2rem));
  height: min(600px, calc(100vh - 2rem)); height: min(600px, calc(100dvh - 2rem));
  display: flex; flex-direction: column; background: var(--paper); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden;
  box-shadow: 0 18px 50px rgba(26,22,18,0.3);
}
.pv-panel[hidden] { display: none; }
.pv-head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.85rem 1rem; background: var(--ink); color: var(--ivory); border-bottom: 2px solid var(--gold); }
.pv-title { margin: 0; font: 600 1.35rem/1.1 var(--serif); letter-spacing: 0.02em; color: var(--ivory); }
.pv-sub { margin: 0.2rem 0 0; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-lt); }
.pv-close { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--ivory); font-size: 1.7rem; line-height: 1; cursor: pointer; }
.pv-close:hover { background: rgba(247,241,230,0.12); }
.pv-chat { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.6rem; overscroll-behavior: contain; }
.pv-msg { margin: 0; max-width: 88%; padding: 0.6rem 0.8rem; border-radius: 10px; font-size: 0.95rem; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.pv-bot { align-self: flex-start; background: var(--ivory); border: 1px solid var(--line); border-bottom-left-radius: 2px; }
.pv-user { align-self: flex-end; background: var(--ink); color: var(--ivory); border-bottom-right-radius: 2px; }
.pv-sugg { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0 1rem 0.6rem; }
.pv-sugg[hidden] { display: none; }
.pv-sugg button { padding: 0.45rem 0.7rem; border: 1px solid var(--gold); border-radius: 999px; background: transparent; color: var(--ink-soft); font: 0.82rem/1.2 var(--sans); cursor: pointer; text-align: left; }
.pv-sugg button:hover:not(:disabled) { background: var(--gold-dim); }
.pv-sugg button:disabled { opacity: 0.5; cursor: default; }
.pv-foot { padding: 0.6rem 1rem 0.75rem; border-top: 1px solid var(--line); background: var(--paper); }
.pv-notice { margin: 0 0 0.4rem; font-size: 0.82rem; color: var(--muted); }
.pv-notice:empty { display: none; }
.pv-wa-intro { margin: 0 0 0.45rem; font-size: 0.85rem; color: var(--ink-soft); }
.pv-wa { display: flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 46px; padding: 0.65rem 1rem; margin-bottom: 0.5rem; border-radius: 8px; background: #1f7a4d; color: #fff; font-weight: 600; font-size: 0.92rem; text-decoration: none; text-align: center; }
.pv-wa:hover { background: #17633e; }
.pv-wa[hidden], .pv-wa-intro[hidden], .pv-form[hidden] { display: none; }
.pv-form { display: flex; gap: 0.5rem; align-items: flex-end; }
.pv-form textarea { flex: 1; min-height: 46px; max-height: 120px; resize: none; padding: 0.6rem 0.7rem; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; color: var(--ink); font: 16px/1.35 var(--sans); }
.pv-send { min-height: 46px; padding: 0 0.95rem; border: 1px solid var(--ink); border-radius: 8px; background: var(--ink); color: var(--ivory); font: 600 0.78rem/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }
.pv-send:disabled, .pv-form textarea:disabled { opacity: 0.55; cursor: default; }
.pv-meta { margin: 0.45rem 0 0; font-size: 0.72rem; line-height: 1.35; color: var(--muted); }
@media (max-width: 560px) {
  .pv { right: 0.75rem; bottom: 0.75rem; }
  .pv-launch { padding: 0.6rem 0.95rem 0.6rem 0.75rem; }
  .pv-panel { inset: 0; width: 100%; height: 100%; height: 100dvh; border-radius: 0; border: 0; }
  .pv-open, .pv-open body { overflow: hidden; }
}
@media print { .pv { display: none; } }
