/* ============================================================
   petID - design systém
   Teplá, klidná, důvěryhodná identita pro appku, která vrací
   ztracené psy domů. Mobile-first, měkké zaoblené tvary.

   Tokeny jsou psané Tailwind-friendly: každá CSS proměnná
   odpovídá jednomu klíči v tailwind.config (viz HANDOFF.md).
   ============================================================ */

/* ---- 1. BAREVNÉ ŠKÁLY (oklch) ----------------------------- */
:root {
  /* Brand - klidná zeleno-tyrkysová (důvěra, bezpečí) */
  --teal-50:  oklch(0.974 0.018 188);
  --teal-100: oklch(0.944 0.036 188);
  --teal-200: oklch(0.900 0.058 187);
  --teal-300: oklch(0.838 0.080 186);
  --teal-400: oklch(0.748 0.097 187);
  --teal-500: oklch(0.660 0.103 189);
  --teal-600: oklch(0.566 0.094 191);
  --teal-700: oklch(0.474 0.078 193);
  --teal-800: oklch(0.392 0.062 195);
  --teal-900: oklch(0.318 0.046 197);

  /* Accent - teplá korálovo-jantarová (vřelost, status, odměna) */
  --amber-50:  oklch(0.972 0.024 64);
  --amber-100: oklch(0.940 0.050 62);
  --amber-200: oklch(0.898 0.082 60);
  --amber-300: oklch(0.852 0.110 56);
  --amber-400: oklch(0.802 0.128 52);
  --amber-500: oklch(0.748 0.138 48);
  --amber-600: oklch(0.678 0.140 44);
  --amber-700: oklch(0.586 0.128 40);

  /* Alert - měkká rose pro zdraví (léky, alergie) */
  --rose-50:  oklch(0.968 0.018 18);
  --rose-100: oklch(0.930 0.040 18);
  --rose-500: oklch(0.640 0.150 22);
  --rose-600: oklch(0.560 0.150 23);
  --rose-700: oklch(0.470 0.130 24);

  /* Neutrály - teplé, jemně zelenavě laděné */
  --sand-0:   oklch(1 0 0);
  --sand-50:  oklch(0.988 0.006 170);
  --sand-100: oklch(0.972 0.008 175);
  --sand-200: oklch(0.936 0.010 180);
  --sand-300: oklch(0.888 0.012 185);
  --sand-400: oklch(0.760 0.014 195);
  --sand-500: oklch(0.620 0.016 200);
  --sand-600: oklch(0.508 0.018 205);
  --sand-700: oklch(0.398 0.018 208);
  --sand-800: oklch(0.300 0.018 210);
  --sand-900: oklch(0.232 0.016 212);
}

/* ---- 2. SÉMANTICKÉ TOKENY (přepínatelné Tweaks) ---------- */
:root {
  --bg:           var(--sand-50);
  --surface:      var(--sand-0);
  --surface-2:    var(--sand-100);
  --ink:          var(--sand-900);
  --ink-soft:     var(--sand-700);
  --ink-mute:     var(--sand-500);
  --border:       var(--sand-200);
  --border-strong:var(--sand-300);

  --primary:        var(--teal-600);
  --primary-strong: var(--teal-700);
  --primary-soft:   var(--teal-100);
  --primary-tint:   var(--teal-50);
  --on-primary:     var(--sand-0);

  --accent:       var(--amber-600);
  --accent-soft:  var(--amber-100);
  --accent-tint:  var(--amber-50);
  --accent-ink:   var(--amber-700);

  --alert:        var(--rose-600);
  --alert-soft:   var(--rose-100);
  --alert-ink:    var(--rose-700);

  /* Typografie - self-hostováno (viz @font-face v app.src.css) */
  --font-display: "Baloo 2", "Nunito", system-ui, sans-serif;
  --font-body:    "Nunito", system-ui, sans-serif;

  /* Zaoblení */
  --r-xs:   10px;
  --r-sm:   14px;
  --r-md:   20px;
  --r-lg:   26px;
  --r-xl:   34px;
  --r-pill: 999px;

  /* Stíny - měkké, nízká saturace */
  --shadow-sm: 0 1px 2px oklch(0.4 0.03 200 / 0.05), 0 2px 8px oklch(0.4 0.03 200 / 0.05);
  --shadow-md: 0 4px 14px oklch(0.4 0.03 200 / 0.07), 0 14px 34px oklch(0.4 0.03 200 / 0.07);
  --shadow-lg: 0 10px 30px oklch(0.4 0.03 200 / 0.10), 0 28px 60px oklch(0.4 0.03 200 / 0.10);
  --ring:      0 0 0 4px var(--primary-soft);

  /* Spacing krok = 4px (Tailwind default) */
}

/* ---- 3. ZÁKLAD -------------------------------------------- */
.pid {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.45;
}
.pid *, .pid *::before, .pid *::after { box-sizing: border-box; }

.pid h1, .pid h2, .pid h3, .pid .display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

/* Typo škála */
.pid .t-display { font-family: var(--font-display); font-weight: 600; font-size: 34px; line-height: 1.08; letter-spacing: -0.02em; }
.pid .t-title   { font-family: var(--font-display); font-weight: 600; font-size: 26px; line-height: 1.12; letter-spacing: -0.01em; }
.pid .t-head    { font-family: var(--font-display); font-weight: 500; font-size: 20px; line-height: 1.2; }
.pid .t-body    { font-size: 16px; line-height: 1.5; font-weight: 500; }
.pid .t-sub     { font-size: 15px; line-height: 1.5; font-weight: 500; color: var(--ink-soft); }
.pid .t-label   { font-size: 13px; line-height: 1.3; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-mute); }
.pid .t-mute    { color: var(--ink-mute); }

/* ---- 4. TLAČÍTKA ------------------------------------------ */
.pid-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 17px;
  border: none; cursor: pointer;
  border-radius: var(--r-pill);
  padding: 15px 24px;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease, filter .2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.pid-btn:active { transform: translateY(1px) scale(0.99); }
.pid-btn svg { flex-shrink: 0; }

.pid-btn--primary { background: var(--primary); color: var(--on-primary); box-shadow: var(--shadow-sm); }
.pid-btn--primary:hover { background: var(--primary-strong); }

.pid-btn--accent { background: var(--accent); color: var(--sand-0); box-shadow: var(--shadow-sm); }

.pid-btn--ghost {
  background: var(--surface); color: var(--primary-strong);
  box-shadow: inset 0 0 0 1.5px var(--border-strong);
}
.pid-btn--ghost:hover { background: var(--primary-tint); box-shadow: inset 0 0 0 1.5px var(--primary); }

.pid-btn--soft { background: var(--primary-soft); color: var(--primary-strong); }
.pid-btn--soft:hover { filter: brightness(0.97); }

.pid-btn--block { display: flex; width: 100%; }
.pid-btn--lg { font-size: 18px; padding: 18px 26px; }

/* Velká akční dlaždice (volat / napsat / sdílet polohu) */
.pid-action {
  display: flex; align-items: center; gap: 16px;
  width: 100%; text-align: left; text-decoration: none;
  border: none; cursor: pointer;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
  color: var(--ink);
}
.pid-action:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.pid-action:active { transform: translateY(0); }
.pid-action__icon {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: var(--r-md);
  display: grid; place-items: center;
}
.pid-action__icon--primary { background: var(--primary); color: var(--on-primary); }
.pid-action__icon--soft    { background: var(--primary-soft); color: var(--primary-strong); }
.pid-action__icon--accent  { background: var(--accent-soft); color: var(--accent-ink); }
.pid-action__body { flex: 1; min-width: 0; }
.pid-action__title { display: block; font-weight: 800; font-size: 17px; line-height: 1.2; }
.pid-action__sub { display: block; font-size: 14px; color: var(--ink-mute); font-weight: 600; margin-top: 2px; }
.pid-action__chev { color: var(--ink-mute); flex-shrink: 0; }

/* Plný primární CTA s ikonou (varianta B/C) */
.pid-cta {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; border: none; cursor: pointer;
  background: var(--primary); color: var(--on-primary);
  border-radius: var(--r-pill);
  padding: 18px 22px;
  font-family: var(--font-body); font-weight: 800; font-size: 19px;
  box-shadow: 0 8px 22px oklch(0.5 0.1 190 / 0.28);
  transition: transform .12s ease, box-shadow .2s ease, background .2s;
  text-decoration: none; white-space: nowrap;
}
.pid-cta:hover { background: var(--primary-strong); }
.pid-cta:active { transform: translateY(1px); }
.pid-cta--accent { background: var(--accent); box-shadow: 0 8px 22px oklch(0.55 0.13 45 / 0.3); color: #fff; }

/* ---- 5. STATUS PILL --------------------------------------- */
.pid-status {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: var(--r-pill);
  padding: 8px 15px 8px 12px;
  font-weight: 800; font-size: 14px; letter-spacing: 0.01em;
  white-space: nowrap;
}
.pid-status__dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.pid-status--lost { background: var(--accent-soft); color: var(--accent-ink); }
.pid-status--lost .pid-status__dot { background: var(--accent); animation: pid-pulse 1.8s ease-in-out infinite; }
.pid-status--home { background: var(--primary-soft); color: var(--primary-strong); }
.pid-status--home .pid-status__dot { background: var(--primary); }

@keyframes pid-pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent); opacity: 1; }
  50% { box-shadow: 0 0 0 5px oklch(0.7 0.14 48 / 0); opacity: 0.7; }
}

/* ---- 6. AVATAR (kruhový portrét - hrdina) ----------------- */
.pid-avatar {
  position: relative; display: inline-grid; place-items: center;
  border-radius: 50%;
  background: var(--surface);
  padding: 6px;
  box-shadow: var(--shadow-md);
}
.pid-avatar::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: inset 0 0 0 3px var(--surface), inset 0 0 0 6px var(--primary-soft);
  pointer-events: none;
}
.pid-avatar image-slot, .pid-avatar .pid-avatar__img {
  border-radius: 50%; display: block; overflow: hidden;
}
.pid-avatar--ring::after {
  box-shadow: inset 0 0 0 3px var(--surface), inset 0 0 0 6px var(--accent);
}

/* ---- 7. KARTY & INFO ŘÁDKY -------------------------------- */
.pid-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 18px;
}
.pid-card--flat { box-shadow: none; border: 1.5px solid var(--border); }

.pid-inforow {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0;
}
.pid-inforow + .pid-inforow { border-top: 1px solid var(--border); }
.pid-inforow__icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: var(--r-sm);
  background: var(--primary-tint); color: var(--primary-strong);
  display: grid; place-items: center;
}
.pid-inforow__label { font-size: 13.5px; font-weight: 700; color: var(--ink-mute); }
.pid-inforow__value { font-size: 16.5px; font-weight: 700; color: var(--ink); }

/* Mřížka faktů (plemeno / věk / čip) */
.pid-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pid-fact {
  background: var(--surface-2); border-radius: var(--r-md);
  padding: 13px 15px;
}
.pid-fact__label { font-size: 12.5px; font-weight: 700; color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.04em; }
.pid-fact__value { font-size: 17px; font-weight: 800; color: var(--ink); margin-top: 3px; }
.pid-fact--wide { grid-column: 1 / -1; }

/* ---- 8. UPOZORNĚNÍ / NÁLEPKY ------------------------------ */
.pid-note {
  display: flex; gap: 13px; align-items: flex-start;
  border-radius: var(--r-md);
  padding: 15px 16px;
}
.pid-note__icon { flex-shrink: 0; margin-top: 1px; }
.pid-note__title { font-weight: 800; font-size: 15.5px; margin-bottom: 2px; }
.pid-note__text { font-size: 14.5px; line-height: 1.45; font-weight: 500; }
.pid-note--alert { background: var(--alert-soft); color: var(--alert-ink); }
.pid-note--alert .pid-note__icon { color: var(--alert); }
.pid-note--temper { background: var(--primary-tint); color: var(--primary-strong); }
.pid-note--temper .pid-note__icon { color: var(--primary); }
.pid-note--reward {
  background: linear-gradient(180deg, var(--amber-50), var(--amber-100));
  color: var(--accent-ink);
}
.pid-note--reward .pid-note__icon { color: var(--accent); }

/* Štítek povahy */
.pid-tag {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--surface-2); color: var(--ink-soft);
  border-radius: var(--r-pill); padding: 7px 13px;
  font-weight: 700; font-size: 13.5px; white-space: nowrap;
}
.pid-tag svg { color: var(--primary); }

/* ---- 9. PŘEPÍNAČ (Ztracen / Doma) ------------------------- */
.pid-switch {
  display: inline-flex; background: var(--surface-2);
  border-radius: var(--r-pill); padding: 4px;
  gap: 2px;
}
.pid-switch__opt {
  border: none; cursor: pointer; background: transparent;
  border-radius: var(--r-pill); padding: 9px 18px;
  font-family: var(--font-body); font-weight: 700; font-size: 14.5px;
  color: var(--ink-mute);
  transition: all .18s ease;
}
.pid-switch__opt[aria-pressed="true"] {
  background: var(--surface); color: var(--ink);
  box-shadow: var(--shadow-sm);
}

/* ---- 10. UTILITY ------------------------------------------ */
.pid-stack { display: flex; flex-direction: column; }
.pid-divider { height: 1px; background: var(--border); border: none; margin: 0; }

/* ---- 11. SERVER-RENDERED EXTENSIONS -----------------------
   Doplňky pro PHP build - co v prototypu řešil <image-slot>
   a Tailwind utility, tady stojí samostatně v petid.css, aby
   appka vypadala správně i bez kompilovaného Tailwindu. */

/* Placeholder za chybějící fotku (nahrazuje <image-slot>). */
.pid-photo-slot {
  background-image:
    linear-gradient(135deg, var(--sand-100) 25%, transparent 25%),
    linear-gradient(225deg, var(--sand-100) 25%, transparent 25%),
    linear-gradient(45deg,  var(--sand-100) 25%, transparent 25%),
    linear-gradient(315deg, var(--sand-100) 25%, var(--sand-50) 25%);
  background-size: 18px 18px;
  background-color: var(--sand-50);
  color: var(--ink-mute);
  display: grid; place-items: center;
  font-weight: 700; font-size: 12.5px;
  overflow: hidden;
}
.pid-avatar__img { object-fit: cover; }

/* Formulářové vstupy. */
.pid-input {
  width: 100%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 16px; font-weight: 500;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.pid-input:focus { outline: none; border-color: var(--primary); box-shadow: var(--ring); }
.pid-input::placeholder { color: var(--ink-mute); }
.pid-input[aria-invalid="true"] { border-color: var(--alert); box-shadow: 0 0 0 4px var(--alert-soft); }
textarea.pid-input { resize: vertical; min-height: 110px; line-height: 1.5; }
select.pid-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 44px;
}
.pid-label  { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink-soft); margin-bottom: 8px; }
.pid-helper { margin-top: 8px; font-size: 13px; color: var(--ink-mute); font-weight: 500; }
.pid-error  { margin-top: 8px; font-size: 13px; color: var(--alert); font-weight: 700; }
.pid-field  { display: flex; flex-direction: column; }

/* Header / nav - sticky sklo (sjednoceno s DeskNav z designu). */
.pid-header { position: sticky; top: 0; z-index: 30; background: oklch(0.988 0.006 170 / 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.pid-header__inner { max-width: 1200px; margin: 0 auto; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.pid-logo { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-display); font-weight: 600; font-size: 44px; color: var(--ink); text-decoration: none; letter-spacing: -0.015em; line-height: 1; }
.pid-logo:hover { color: var(--ink); }

/* Cart icon v hlavicce */
.pid-cart-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--r-pill); color: var(--ink-soft); text-decoration: none; transition: background .15s, color .15s; }
.pid-cart-icon:hover { background: var(--primary-tint); color: var(--primary-strong); }
.pid-cart-icon.is-active { background: var(--primary-soft); color: var(--primary-strong); }
.pid-cart-icon__badge { position: absolute; top: 4px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font-family: var(--font-body); font-weight: 800; font-size: 11px; display: grid; place-items: center; line-height: 1; box-shadow: 0 1px 3px oklch(0.5 0.1 45 / 0.4); }

/* /produkty - product grid */
.pid-products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pid-products-grid .lp-shop-card__kind { position: absolute; top: 10px; right: 10px; font-size: 11px !important; padding: 4px 9px 4px 7px !important; box-shadow: 0 1px 4px oklch(0.4 0.03 200 / 0.2); }

/* ============================================================
   UNIFIED SHOP (/obchod) - grid + sticky cart + inline checkout
   ============================================================ */
.pid-shop-hero { background: linear-gradient(180deg, var(--primary-tint) 0%, var(--bg) 100%); padding: 48px 0 24px; text-align: center; }
.pid-shop-hero h1 { font-family: var(--font-display); font-weight: 600; font-size: 40px; line-height: 1.05; letter-spacing: -0.015em; color: var(--ink); margin: 10px 0 0; text-wrap: balance; }
.pid-shop-hero .pid-page-hero__kicker { color: var(--primary-strong); font-size: 13px; line-height: 1.3; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.pid-shop-hero .pid-page-hero__lead { font-size: 16px; line-height: 1.5; font-weight: 500; color: var(--ink-soft); margin: 12px auto 0; max-width: 560px; }

.pid-shop-section { padding: 32px 0 80px; }
.pid-shop-layout { display: grid; grid-template-columns: 1fr 340px; gap: 36px; align-items: flex-start; }
.pid-shop-main { min-width: 0; }
.pid-shop-filters { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 22px; }

/* Produktovy slider - horizontalni scroll s sipkami a drag-to-scroll */
.pid-shop-slider { position: relative; }
.pid-shop-slider__track { display: flex; gap: 18px; overflow-x: auto; padding: 6px 4px 14px; scrollbar-width: none; cursor: grab; scroll-snap-type: x mandatory; }
.pid-shop-slider__track.is-grabbing { cursor: grabbing; scroll-behavior: auto; }
.pid-shop-slider__track::-webkit-scrollbar { display: none; }
.pid-shop-slider__track > .pid-shop-card { flex: 0 0 280px; scroll-snap-align: start; }
.pid-shop-slider__arrow { position: absolute; top: 130px; width: 46px; height: 46px; border-radius: 50%; border: none; background: var(--surface); box-shadow: var(--shadow-md); color: var(--ink); display: grid; place-items: center; cursor: pointer; z-index: 5; transition: background .15s; }
.pid-shop-slider__arrow:hover { background: var(--primary-tint); color: var(--primary-strong); }
.pid-shop-slider__arrow--l { left: -16px; }
.pid-shop-slider__arrow--r { right: -16px; }
.pid-shop-slider__arrow--l svg { transform: rotate(180deg); }

.pid-shop-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s; }
.pid-shop-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary-soft); }
.pid-shop-card__media { position: relative; aspect-ratio: 1/1; display: grid; place-items: center; overflow: hidden; }
.pid-shop-card__media img { width: 65%; height: 65%; object-fit: contain; }
.pid-shop-card__kind { position: absolute !important; top: 10px; right: 10px; font-size: 11px !important; padding: 4px 9px 4px 7px !important; box-shadow: 0 1px 4px oklch(0.4 0.03 200 / 0.2); }
.pid-shop-card__info { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.pid-shop-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.pid-shop-card__name { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--ink); }
.pid-shop-card__price { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--primary-strong); white-space: nowrap; }
.pid-shop-card__desc { font-size: 13px; line-height: 1.45; font-weight: 500; color: var(--ink-soft); margin: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pid-shop-card__pick { margin-top: 4px; align-self: flex-start; padding: 8px 14px; font-size: 13px; }

/* In-card picker - skryty defaultne, otevre se po data-pick clicku */
.pid-shop-card__picker { display: none; padding: 14px 16px 16px; border-top: 1.5px dashed var(--border-strong); background: var(--surface-2); animation: pid-shop-pick-in .2s ease-out; }
.pid-shop-card.is-open .pid-shop-card__picker { display: block; }
.pid-shop-card.is-open .pid-shop-card__pick { display: none; }
@keyframes pid-shop-pick-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.pid-shop-card__pick-row { margin-bottom: 12px; }
.pid-shop-card__pick-row:last-child { margin-bottom: 0; }
.pid-shop-card__sizes { display: flex; flex-direction: column; gap: 6px; }
.pid-shop-card__size { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--surface); border: 1.5px solid var(--border-strong); border-radius: var(--r-md); cursor: pointer; transition: border-color .15s, background .15s; }
.pid-shop-card__size:has(input:checked) { border-color: var(--primary); background: var(--primary-tint); }
.pid-shop-card__size input { display: none; }
.pid-shop-card__size-name { font-weight: 700; font-size: 13px; color: var(--ink); flex: 1; }
.pid-shop-card__size-price { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--primary-strong); }
.pid-shop-card__colors { display: flex; gap: 8px; flex-wrap: wrap; }
.pid-shop-card__color { cursor: pointer; padding: 3px; }
.pid-shop-card__color input { display: none; }
.pid-shop-card__color-disc { display: block; width: 32px; height: 32px; border-radius: 50%; background: var(--sw); box-shadow: 0 0 0 1px oklch(0.4 0.03 200 / 0.15) inset, var(--shadow-sm); outline: 3px solid transparent; outline-offset: 2px; transition: outline-color .15s; }
.pid-shop-card__color:has(input:checked) .pid-shop-card__color-disc { outline-color: var(--primary); }

/* Sticky cart sidebar */
.pid-shop-cart { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 20px; box-shadow: var(--shadow-sm); position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow-y: auto; }
.pid-shop-cart__head { margin-bottom: 14px; }
.pid-shop-cart__count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 11px; background: var(--accent); color: #fff; font-family: var(--font-body); font-weight: 800; font-size: 12px; vertical-align: 2px; margin-left: 6px; }
.pid-shop-cart__empty { display: flex; flex-direction: column; align-items: center; padding: 24px 8px; }
.pid-shop-cart__items { display: flex; flex-direction: column; gap: 12px; padding-bottom: 14px; border-bottom: 1.5px solid var(--border); }
.pid-shop-cart__item { display: flex; align-items: flex-start; gap: 10px; }
.pid-shop-cart__item-info { flex: 1; min-width: 0; }
.pid-shop-cart__item-name { font-weight: 700; font-size: 14px; color: var(--ink); line-height: 1.2; }
.pid-shop-cart__item-variant { font-size: 12px; font-weight: 600; color: var(--ink-mute); margin-top: 2px; display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.pid-shop-cart__swatch { display: inline-block; width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 1px oklch(0.4 0.03 200 / 0.2) inset; }
.pid-shop-cart__item-price { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--ink); white-space: nowrap; }
.pid-shop-cart__remove-btn { width: 22px; height: 22px; border-radius: 50%; background: transparent; border: 1px solid var(--border-strong); color: var(--ink-mute); cursor: pointer; display: grid; place-items: center; padding: 0; transition: background .15s, color .15s; }
.pid-shop-cart__remove-btn:hover { background: var(--err); color: #fff; border-color: var(--err); }
.pid-shop-cart__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--ink); }

/* Inline checkout */
.pid-shop-checkout { margin-top: 48px; padding: 32px; background: linear-gradient(180deg, var(--primary-tint) 0%, var(--surface) 100%); border-radius: var(--r-xl); border: 1px solid var(--primary-soft); }
.pid-shop-checkout__head { text-align: center; margin-bottom: 24px; }
.pid-shop-checkout__head .t-label { color: var(--primary-strong); }
.pid-shop-checkout__form { display: flex; flex-direction: column; gap: 14px; max-width: 720px; margin: 0 auto; }
.pid-shop-checkout__group { border: none; padding: 18px 20px; margin: 0; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px; }
.pid-shop-checkout__group legend { display: inline-flex; align-items: center; gap: 8px; padding: 0 6px; font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--ink); }

/* Shipping radio cards */
.pid-shop-checkout__ships { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pid-shop-checkout__ship { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--surface); border: 1.5px solid var(--border-strong); border-radius: var(--r-md); cursor: pointer; transition: border-color .15s, background .15s; }
.pid-shop-checkout__ship:has(input:checked) { border-color: var(--primary); background: var(--primary-tint); }
.pid-shop-checkout__ship input { display: none; }
.pid-shop-checkout__ship-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--primary-soft); color: var(--primary-strong); display: grid; place-items: center; flex-shrink: 0; }
.pid-shop-checkout__ship-body { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pid-shop-checkout__ship-body strong { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--ink); }
.pid-shop-checkout__ship-body span { font-size: 13.5px; font-weight: 600; color: var(--primary-strong); }

/* Z-BOX picker */
.pid-shop-checkout__zbox { display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: var(--surface-2); border-radius: var(--r-md); flex-wrap: wrap; }
.pid-shop-checkout__zbox-sum { flex: 1; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); min-width: 0; }

/* Packeta widget iframe overlay (centered modal) */
iframe[src*="widget.packeta.com"] {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: min(820px, 95vw) !important;
  height: min(700px, 88vh) !important;
  max-width: 95vw !important;
  max-height: 88vh !important;
  border: 0 !important;
  border-radius: 16px !important;
  box-shadow: 0 24px 80px rgba(0,0,0,.35) !important;
  background: #fff !important;
  z-index: 9999 !important;
}
body:has(iframe[src*="widget.packeta.com"])::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  z-index: 9998;
}

@media (max-width: 1024px) {
  .pid-shop-layout { grid-template-columns: 1fr; }
  .pid-shop-cart { position: static; max-height: none; order: -1; margin-bottom: 16px; }
  .pid-shop-cart__items { max-height: 240px; overflow-y: auto; }
  .pid-shop-slider__arrow--l { left: -8px; }
  .pid-shop-slider__arrow--r { right: -8px; }
}
@media (max-width: 700px) {
  .pid-shop-hero { padding: 36px 0 20px; }
  .pid-shop-hero h1 { font-size: 30px; }
  .pid-shop-slider__track > .pid-shop-card { flex: 0 0 84vw; }
  .pid-shop-slider__arrow { display: none; }
  .pid-shop-checkout { padding: 22px 18px; }
  .pid-shop-checkout__ships { grid-template-columns: 1fr; }
}

/* Product detail */
.pid-product { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: flex-start; }
.pid-product__media { aspect-ratio: 1/1; border-radius: var(--r-xl); overflow: hidden; background: linear-gradient(135deg, var(--teal-50), var(--teal-100)); display: grid; place-items: center; box-shadow: var(--shadow-md); }
.pid-product__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pid-product__placeholder { width: 100%; height: 100%; display: grid; place-items: center; }
.pid-product__info { display: flex; flex-direction: column; gap: 6px; }
.pid-product__form { display: flex; flex-direction: column; gap: 18px; }
.pid-product__sizes { display: flex; gap: 10px; flex-wrap: wrap; }
.pid-product__size { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--surface); border: 1.5px solid var(--border-strong); border-radius: var(--r-md); cursor: pointer; transition: border-color .15s, background .15s; }
.pid-product__size:has(input:checked) { border-color: var(--primary); background: var(--primary-tint); }
.pid-product__size input { display: none; }
.pid-product__size-name { font-weight: 700; font-size: 14.5px; color: var(--ink); }
.pid-product__size-price { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--primary-strong); }
.pid-product__colors { display: flex; gap: 14px; flex-wrap: wrap; }
.pid-product__color { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; padding: 4px; }
.pid-product__color input { display: none; }
.pid-product__color-disc { width: 44px; height: 44px; border-radius: 50%; background: var(--swatch); box-shadow: 0 0 0 1px oklch(0.4 0.03 200 / 0.15) inset, var(--shadow-sm); outline: 3px solid transparent; outline-offset: 3px; transition: outline-color .15s, transform .15s; }
.pid-product__color:has(input:checked) .pid-product__color-disc { outline-color: var(--primary); transform: scale(1.06); }
.pid-product__color-name { font-size: 12px; font-weight: 700; color: var(--ink-soft); }

/* /kosik - cart layout */
.pid-cart { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: flex-start; }
.pid-cart__items { display: flex; flex-direction: column; gap: 14px; }
.pid-cart-item { display: grid; grid-template-columns: 100px 1fr; gap: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 14px; box-shadow: var(--shadow-sm); }
.pid-cart-item__media { width: 100px; height: 100px; border-radius: var(--r-md); background: linear-gradient(135deg, var(--teal-50), var(--teal-100)); overflow: hidden; display: grid; place-items: center; }
.pid-cart-item__media img { width: 100%; height: 100%; object-fit: cover; }
.pid-cart-item__placeholder { font-family: var(--font-display); font-weight: 700; color: var(--primary-strong); font-size: 20px; }
.pid-cart-item__body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pid-cart-item__head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
.pid-cart-item__name { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--ink); margin-top: 6px; }
.pid-cart-item__variant { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink-mute); margin-top: 4px; flex-wrap: wrap; }
.pid-cart-item__swatch { display: inline-block; width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 1px oklch(0.4 0.03 200 / 0.2) inset; }
.pid-cart-item__price { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--ink); text-align: right; white-space: nowrap; }
.pid-cart-item__unit { display: block; font-family: var(--font-body); font-weight: 500; font-size: 12px; color: var(--ink-mute); margin-top: 2px; }
.pid-cart-item__actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.pid-cart-item__qty { display: flex; align-items: center; gap: 8px; }
.pid-cart__summary { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-sm); position: sticky; top: 88px; }
.pid-cart__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pid-cart__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1.5px solid var(--border-strong); font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--ink); }

@media (max-width: 920px) {
  .pid-products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .pid-product { grid-template-columns: 1fr; gap: 28px; }
  .pid-cart { grid-template-columns: 1fr; }
  .pid-cart__summary { position: static; }
}
.pid-logo__id { color: var(--primary-strong); }
.pid-nav { display: flex; align-items: center; gap: 26px; }
.pid-nav a { color: var(--ink-soft); font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.pid-nav a:hover { color: var(--ink); }
.pid-nav a.is-active { color: var(--primary-strong); }

.pid-container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.pid-container--narrow { max-width: 560px; }
.pid-container--mid    { max-width: 760px; }

/* Alerty (flash). */
.pid-alert { border-radius: var(--r-md); padding: 14px 16px; font-weight: 700; font-size: 14.5px; }
.pid-alert--ok    { background: var(--primary-soft); color: var(--primary-strong); }
.pid-alert--err   { background: var(--alert-soft); color: var(--alert-ink); }
.pid-alert--warn  { background: var(--accent-soft); color: var(--accent-ink); }

/* Mobilní spodní lišta. */
.pid-stickybar { position: sticky; bottom: 0; background: oklch(0.988 0.006 170 / 0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--border); padding: 14px 18px calc(env(safe-area-inset-bottom) + 22px); display: flex; flex-direction: column; gap: 10px; }

/* Server-form segment (alternativa k JS-driven .pid-switch). */
.pid-segment { display: inline-flex; background: var(--surface-2); border-radius: var(--r-pill); padding: 4px; gap: 2px; width: 100%; }
.pid-segment button { flex: 1; border: none; cursor: pointer; background: transparent; border-radius: var(--r-pill); padding: 9px 18px; font-family: var(--font-body); font-weight: 700; font-size: 14.5px; color: var(--ink-mute); }
.pid-segment button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }

/* Blog prose. */
.pid-prose { font-size: 17px; line-height: 1.7; color: var(--ink); }
.pid-prose h2 { font-family: var(--font-display); font-weight: 600; font-size: 28px; margin-top: 32px; margin-bottom: 12px; }
.pid-prose h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; margin-top: 24px; margin-bottom: 10px; }
.pid-prose p { margin: 0 0 16px; }
.pid-prose a { color: var(--primary-strong); font-weight: 700; }
.pid-prose blockquote { border-left: 4px solid var(--primary-soft); padding: 4px 0 4px 18px; color: var(--ink-soft); margin: 20px 0; }
.pid-prose ul, .pid-prose ol { padding-left: 22px; margin: 0 0 16px; }
.pid-prose li { margin: 6px 0; }

/* Button danger variant - sjednoceno s .pid-btn rodinou. */
.pid-btn--danger { background: var(--alert); color: #fff; box-shadow: var(--shadow-sm); }
.pid-btn--danger:hover { filter: brightness(0.95); }

/* ---- 12. LANDING ROZŠÍŘENÍ (Prompt 4) -------------------- */

/* Chip-lookup box v hero - 15-digit input + submit. */
.pid-chip-lookup {
  display: flex; gap: 8px; align-items: stretch;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  padding: 6px 6px 6px 16px;
  box-shadow: var(--shadow-sm);
  max-width: 460px;
}
.pid-chip-lookup__label {
  font-size: 13px; font-weight: 700; color: var(--ink-mute);
  display: flex; align-items: center; gap: 6px;
  white-space: nowrap;
}
.pid-chip-lookup input {
  flex: 1; min-width: 0;
  border: none; background: transparent; outline: none;
  font: 600 16px/1.2 var(--font-body);
  color: var(--ink);
  font-variant-numeric: tabular-nums; letter-spacing: 0.02em;
}
.pid-chip-lookup input::placeholder { color: var(--ink-mute); font-weight: 500; }
.pid-chip-lookup button {
  border: none; cursor: pointer;
  background: var(--primary); color: var(--on-primary);
  font: 700 14.5px var(--font-body);
  border-radius: var(--r-pill);
  padding: 9px 16px;
  white-space: nowrap;
}
.pid-chip-lookup button:hover { background: var(--primary-strong); }
@media (max-width: 520px) {
  .pid-chip-lookup { padding: 6px 6px 6px 12px; }
  .pid-chip-lookup__label { display: none; }
}

/* Pruh sekce na landingu - kicker + title + odkaz "Zobrazit vše". */
.pid-strip__head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 22px;
}
.pid-strip__head h2 { margin: 6px 0 0; font-size: clamp(24px, 3vw, 30px); }
.pid-strip__link {
  color: var(--primary-strong); font-weight: 700; text-decoration: none;
  display: inline-flex; align-items: center; gap: 4px;
}
.pid-strip__link:hover { color: var(--primary); }

/* Pruh grid - stejné karty jako galerie, ale max 6 a auto-fill. */
.pid-strip__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

/* Proč petID - benefity karta s ikonou nahoře. */
.pid-benefit {
  display: flex; flex-direction: column; gap: 10px;
  padding: 24px;
}
.pid-benefit__icon {
  width: 52px; height: 52px; border-radius: var(--r-md);
  background: var(--primary-soft); color: var(--primary-strong);
  display: grid; place-items: center;
}

/* Známky - placeholder kachle před uploadem finálních designů. */
.pid-tag-design {
  aspect-ratio: 1 / 1;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--teal-300), var(--teal-500));
  display: grid; place-items: center;
  color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 18px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.pid-tag-design--accent { background: linear-gradient(135deg, var(--amber-300), var(--amber-600)); }
.pid-tag-design--soft { background: linear-gradient(135deg, var(--rose-100), var(--rose-500)); }

/* FAQ accordion - native <details>/<summary>. */
.pid-faq { display: flex; flex-direction: column; gap: 10px; }
.pid-faq__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.pid-faq__item[open] { border-color: var(--primary-soft); box-shadow: var(--shadow-sm); }
.pid-faq__q {
  list-style: none; cursor: pointer;
  padding: 16px 20px; font-weight: 700; font-size: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.pid-faq__q::-webkit-details-marker { display: none; }
.pid-faq__q::after {
  content: ""; width: 10px; height: 10px;
  border-right: 2.5px solid var(--ink-mute); border-bottom: 2.5px solid var(--ink-mute);
  transform: rotate(45deg); transition: transform 0.18s ease;
  flex-shrink: 0;
}
.pid-faq__item[open] .pid-faq__q::after { transform: rotate(-135deg); }
.pid-faq__a { padding: 0 20px 18px; color: var(--ink-soft); line-height: 1.55; font-weight: 500; }

/* Hero "co dělá" badge nad headline. */
.pid-hero__chip-prompt {
  margin-top: 20px; max-width: 460px;
  display: flex; flex-direction: column; gap: 10px;
}
.pid-hero__chip-prompt p {
  margin: 0; font-size: 14px; color: var(--ink-mute); font-weight: 600;
}

/* ============================================================
   PAGE - sjednocený layout pro statické / formulářové stránky.
   Hero pruh s kicker + h1 + lead, pak hlavní obsah na surface.
   ============================================================ */
.pid-page-hero { background: linear-gradient(180deg, var(--primary-tint) 0%, var(--bg) 100%); padding: 56px 0 44px; text-align: center; }
.pid-page-hero__kicker { display: inline-block; font-size: 13px; line-height: 1.3; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--primary-strong); }
.pid-page-hero h1 { font-family: var(--font-display); font-weight: 600; font-size: 44px; line-height: 1.05; letter-spacing: -0.015em; color: var(--ink); margin: 10px 0 0; text-wrap: balance; }
.pid-page-hero__lead { font-size: 17px; line-height: 1.5; font-weight: 500; color: var(--ink-soft); margin: 14px auto 0; max-width: 560px; }
.pid-page-body { padding: 40px 0 80px; }
.pid-page-body__card { background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--shadow-sm); padding: 40px 44px; }
.pid-page-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Pruh přes celou šířku s tonalitou - pro alternující sekce vně .pid-container */
.pid-band { width: 100%; }
.pid-band--tint    { background: var(--primary-tint); }
.pid-band--surface { background: var(--surface); }
.pid-band--accent-tint { background: var(--accent-tint); }

/* Hlavička sekce: nadpis vlevo, "Zobrazit vše" CTA vpravo */
.pid-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* CTA pruh "Našel/našla jsi zvíře?" - pro found page mezi sekcemi */
.pid-report-cta { display: flex; align-items: center; gap: 22px; background: linear-gradient(135deg, var(--teal-600), var(--teal-700)); color: #fff; border-radius: var(--r-xl); padding: 24px 28px; box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.pid-report-cta::before { content: ""; position: absolute; bottom: -80px; right: -50px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, oklch(0.748 0.138 48 / 0.22) 0%, transparent 70%); pointer-events: none; }
.pid-report-cta__icon { flex-shrink: 0; width: 56px; height: 56px; border-radius: 18px; background: rgba(255,255,255,0.18); display: grid; place-items: center; position: relative; }
.pid-report-cta__body { flex: 1; min-width: 0; position: relative; }
.pid-report-cta__lede { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.2; color: #fff; }
.pid-report-cta__sub { font-size: 14.5px; font-weight: 500; color: rgba(255,255,255,0.88); margin-top: 4px; }
.pid-report-cta__btn { background: #fff !important; color: var(--primary-strong) !important; position: relative; z-index: 1; }
.pid-report-cta__btn:hover { background: var(--sand-50) !important; }

/* TTL note pod found seznamem */
.pid-ttl-note { display: flex; align-items: center; gap: 8px; justify-content: center; margin: 32px auto 0; font-size: 13.5px; font-weight: 600; color: var(--ink-mute); }
.pid-ttl-note svg { color: var(--ink-mute); }

@media (max-width: 700px) {
  .pid-page-hero { padding: 40px 0 32px; }
  .pid-page-hero h1 { font-size: 32px; }
  .pid-page-body { padding: 28px 0 56px; }
  .pid-page-body__card { padding: 24px 22px; border-radius: var(--r-lg); }
  .pid-report-cta { flex-direction: column; align-items: stretch; text-align: center; gap: 14px; padding: 24px; }
  .pid-report-cta__icon { margin: 0 auto; }
  .pid-section-head { flex-direction: column; align-items: stretch; }
}

/* ============================================================
   FOOTER (pid-footer) - globální patička
   ============================================================ */
.pid-footer { background: var(--sand-900); color: var(--sand-300); padding: 56px 0 28px; }
.pid-footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px 36px; }
.pid-footer__brand { max-width: 280px; }
.pid-footer__brand .pid-logo { color: #fff; }
.pid-footer__brand .pid-logo__id { color: var(--teal-300); }
.pid-footer__brand p { margin: 0; color: var(--sand-400); font-weight: 500; font-size: 14px; line-height: 1.5; }
.pid-footer__col { display: flex; flex-direction: column; gap: 10px; }
.pid-footer__heading { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: #fff; margin-bottom: 4px; }
.pid-footer__col a { color: var(--sand-400); font-weight: 600; font-size: 14px; text-decoration: none; transition: color .15s; }
.pid-footer__col a:hover { color: #fff; }
.pid-footer__bottom { max-width: 1080px; margin: 44px auto 0; padding: 26px 24px 0; color: var(--sand-500); font-weight: 600; font-size: 13px; text-align: center; position: relative; }
.pid-footer__bottom::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 520px; height: 1px; background: linear-gradient(90deg, var(--sand-700), transparent 22%, transparent 78%, var(--sand-700)); }

@media (max-width: 820px) {
  .pid-footer__inner { grid-template-columns: 1fr 1fr; }
  .pid-footer__brand { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 480px) {
  .pid-footer__inner { grid-template-columns: 1fr; gap: 28px; }
}

/* ============================================================
   PETGRID (pid-petgrid + pid-petcard) - sjednocená galerie zvířat
   ============================================================ */
.pid-petgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.pid-petcard { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); text-decoration: none; color: inherit; transition: transform .15s, box-shadow .2s; }
.pid-petcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pid-petcard__photo { position: relative; aspect-ratio: 4/3; background: var(--surface-2); overflow: hidden; }
.pid-petcard__photo picture { display: block; width: 100%; height: 100%; }
.pid-petcard__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pid-petcard__photo .pid-photo-slot { width: 100%; height: 100%; }
.pid-petcard__badge { position: absolute !important; top: 10px; left: 10px; font-size: 11.5px !important; padding: 5px 11px 5px 9px !important; box-shadow: 0 1px 4px oklch(0.4 0.03 200 / 0.18); }
.pid-petcard__reward { position: absolute; bottom: 10px; left: 10px; right: 10px; display: inline-flex; align-items: center; gap: 5px; background: rgba(255,255,255,.94); color: var(--accent-ink); font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: var(--r-pill); backdrop-filter: blur(6px); max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pid-petcard__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 5px; }
.pid-petcard__name { font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.15; color: var(--ink); }
.pid-petcard__meta { font-size: 13.5px; font-weight: 600; color: var(--ink-mute); }
.pid-petcard__loc { font-size: 13px; font-weight: 600; color: var(--ink-soft); display: flex; gap: 5px; align-items: flex-start; margin-top: 2px; }
.pid-petcard__loc svg { margin-top: 2px; flex-shrink: 0; color: var(--ink-mute); }
.pid-petcard__since { font-size: 12px; font-weight: 700; color: var(--ink-mute); background: var(--surface-2); padding: 4px 9px; border-radius: var(--r-pill); display: inline-flex; align-items: center; }

/* ============================================================
   BLOG (pid-blog-*) - magazine grid + článek
   ============================================================ */
.pid-blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.pid-blog-card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); text-decoration: none; color: inherit; transition: transform .15s, box-shadow .2s; }
.pid-blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pid-blog-card__cover { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--surface-2); }
.pid-blog-card__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pid-blog-card__sponsor { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.92); color: var(--accent-ink); border-radius: var(--r-pill); padding: 5px 11px; font-size: 12px; font-weight: 800; backdrop-filter: blur(6px); }
.pid-blog-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pid-blog-card__date { font-size: 13px; font-weight: 700; color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.03em; }
.pid-blog-card__title { font-family: var(--font-display); font-weight: 600; font-size: 21px; line-height: 1.2; color: var(--ink); margin: 0; text-wrap: balance; }
.pid-blog-card__excerpt { font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); margin: 0; font-weight: 500; }
.pid-blog-card__more { margin-top: auto; color: var(--primary-strong); font-weight: 700; font-size: 14.5px; padding-top: 6px; }

/* První karta jako feature (na desktopu zabírá celou šířku, na mobilu se chová stejně) */
.pid-blog-card--feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; }
.pid-blog-card--feature .pid-blog-card__cover { aspect-ratio: auto; min-height: 280px; }
.pid-blog-card--feature .pid-blog-card__body { padding: 36px 40px; justify-content: center; gap: 12px; }
.pid-blog-card--feature .pid-blog-card__title { font-size: 30px; line-height: 1.1; }
.pid-blog-card--feature .pid-blog-card__excerpt { font-size: 16px; }
@media (max-width: 820px) {
  .pid-blog-card--feature { grid-template-columns: 1fr; }
  .pid-blog-card--feature .pid-blog-card__cover { aspect-ratio: 16/9; min-height: 0; }
  .pid-blog-card--feature .pid-blog-card__body { padding: 20px 22px 22px; }
  .pid-blog-card--feature .pid-blog-card__title { font-size: 22px; }
}

/* ============================================================
   AUTH (pid-auth-*) - login / register / zapomenuté heslo.
   Dvousloupcové: vlevo brand panel, vpravo formulář.
   ============================================================ */
.pid-auth { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 80px); }
.pid-auth__brand { position: relative; background: linear-gradient(165deg, var(--teal-500), var(--teal-700)); color: #fff; padding: 56px 48px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.pid-auth__brand::before { content: ""; position: absolute; right: -120px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle at center, oklch(0.7 0.1 190 / .35), transparent 60%); pointer-events: none; }
.pid-auth__brand-tag { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.16); color: #fff; border-radius: var(--r-pill); padding: 7px 14px; font-weight: 700; font-size: 13px; align-self: flex-start; backdrop-filter: blur(8px); }
.pid-auth__brand-title { font-family: var(--font-display); font-weight: 600; font-size: 42px; line-height: 1.05; letter-spacing: -0.015em; margin: 22px 0 0; max-width: 460px; text-wrap: balance; }
.pid-auth__brand-lead { font-size: 17px; line-height: 1.55; font-weight: 500; color: rgba(255,255,255,.9); margin: 18px 0 0; max-width: 420px; }
.pid-auth__brand-points { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; max-width: 420px; }
.pid-auth__brand-points li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; font-size: 15.5px; color: rgba(255,255,255,.94); }
.pid-auth__brand-points .lp-check { background: rgba(255,255,255,.22); }
.pid-auth__form-wrap { display: flex; align-items: center; justify-content: center; padding: 56px 32px; background: var(--bg); }
.pid-auth__form { width: 100%; max-width: 420px; }
.pid-auth__form h1 { font-family: var(--font-display); font-weight: 600; font-size: 32px; line-height: 1.1; margin: 0 0 8px; color: var(--ink); }
.pid-auth__form-sub { color: var(--ink-soft); font-size: 15.5px; font-weight: 500; margin: 0 0 28px; }
.pid-auth__divider { display: flex; align-items: center; gap: 14px; margin: 24px 0; color: var(--ink-mute); font-weight: 600; font-size: 13px; }
.pid-auth__divider::before, .pid-auth__divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.pid-auth__footer { margin-top: 22px; text-align: center; color: var(--ink-soft); font-size: 14.5px; font-weight: 500; }
.pid-auth__footer a { color: var(--primary-strong); font-weight: 700; }

@media (max-width: 880px) {
  .pid-auth { grid-template-columns: 1fr; min-height: 0; }
  .pid-auth__brand { padding: 44px 24px; }
  .pid-auth__brand-title { font-size: 30px; }
  .pid-auth__brand-points { display: none; }
  .pid-auth__form-wrap { padding: 36px 22px; }
}

/* ============================================================
   LANDING (lp-*) - bohatá uvodní stránka. Tokeny z .pid systému.
   ============================================================ */
.lp { background: var(--bg); }
.lp a { text-decoration: none; }

.lp .lp-h1 { font-family: var(--font-display); font-weight: 600; font-size: 58px; line-height: 1.02; letter-spacing: -0.02em; color: var(--ink); margin: 0; }
.lp .lp-h2 { font-family: var(--font-display); font-weight: 600; font-size: 38px; line-height: 1.08; letter-spacing: -0.015em; color: var(--ink); margin: 0; }
.lp-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.lp-head .lp-h2 { margin-top: 8px; }
.lp-section { max-width: 1200px; margin: 0 auto; padding: 88px 40px; }

.lp-band { width: 100%; }
.lp-band--surface { background: var(--surface); }
.lp-band--tint    { background: var(--primary-tint); }

/* Reveal - pouze posun (obsah je vždy viditelný). */
.lp .reveal { opacity: 1; transform: translateY(22px); transition: transform .6s cubic-bezier(.22,.61,.36,1); will-change: transform; }
.lp .reveal--in { transform: none; }
@media (prefers-reduced-motion: reduce) { .lp .reveal { transform: none; transition: none; } }

.lp a:focus-visible,
.lp button:focus-visible,
.lp [tabindex]:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
/* Input nema vlastni outline - focus se signalizuje borderem .lp-search__field. */
.lp input:focus,
.lp input:focus-visible { outline: none; }
.lp .lp-search__field:focus-within { outline: none; }

/* ---- HERO ---- */
.lp-hero { position: relative; overflow: hidden; }
.lp-hero__photo { position: absolute; inset: 0; }
.lp-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; display: block; }
/* Scrim: solidní bg vlevo (text), nahoře měkký gradient přes obě strany.
   Pravá polovina prosvítá fotkou s lehkým světlým závojem,
   aby paní+pejsek byli vidět i pod telefony. */
.lp-hero__scrim { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(95deg, var(--bg) 0%, var(--bg) 26%, oklch(0.988 0.006 170 / 0.55) 42%, oklch(0.988 0.006 170 / 0.18) 60%, oklch(0.988 0.006 170 / 0) 78%),
    linear-gradient(0deg, var(--bg) 0%, oklch(0.988 0.006 170 / 0) 22%); }
.lp-hero::after { content: ""; position: absolute; bottom: -160px; left: -100px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, oklch(0.660 0.103 189 / 0.18) 0%, transparent 70%); pointer-events: none; z-index: 1; }
.lp-hero__inner { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 72px 40px 96px; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 32px; align-items: center; min-height: 560px; }
.lp-hero__text { max-width: 540px; }
.lp-tag-light { background: var(--surface); box-shadow: var(--shadow-sm); color: var(--primary-strong); display: inline-flex; align-items: center; gap: 7px; border-radius: var(--r-pill); padding: 7px 13px; font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.lp-tag-light svg { color: var(--accent); }
.lp-hero__text .lp-h1 { margin-top: 20px; }
.lp-hero__lead { font-size: 19px; line-height: 1.5; font-weight: 500; color: var(--ink-soft); margin: 18px 0 0; max-width: 440px; }
.lp-hero__actions { display: flex; align-items: center; gap: 18px; margin-top: 30px; flex-wrap: wrap; }
.lp-hero__cta { width: auto; padding: 16px 26px; font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase; }
.lp-hero__link { display: inline-flex; align-items: center; gap: 8px; color: var(--primary-strong); font-weight: 700; font-size: 15px; white-space: nowrap; margin-top: 16px; }
.lp-hero__link:hover { text-decoration: underline; }
.lp-hero__link svg { color: var(--primary); flex-shrink: 0; }

/* Dva překryté telefony - kontejner */
.lp-hero__phones { position: relative; display: flex; align-items: center; justify-content: center; min-height: 540px; }

/* Telefon - společné */
.lp-phone { position: relative; width: 250px; height: 510px; background: var(--sand-900); border-radius: 38px; padding: 11px; box-shadow: 0 30px 70px oklch(0.3 0.04 200 / 0.32); }
.lp-phone__notch { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 100px; height: 22px; background: var(--sand-900); border-radius: 0 0 14px 14px; z-index: 2; }
.lp-phone__screen { width: 100%; height: 100%; border-radius: 28px; overflow: hidden; }

/* Zadní telefon (karta pejska) - vlevo, mírně otočený */
.lp-phone--card { transform: translate(-60px, -8px) rotate(-6deg); z-index: 1; animation: lp-phone-float-l 6s ease-in-out infinite; }
.lp-phone__screen--card { background: linear-gradient(180deg, var(--sand-50) 0%, var(--surface) 100%); padding: 40px 14px 16px; display: flex; flex-direction: column; align-items: center; gap: 8px; }

.lp-petcard__head { display: flex; align-items: center; gap: 6px; width: 100%; padding: 0 4px; font-size: 12px; font-weight: 700; color: var(--ink-soft); }
.lp-petcard__brand { color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 14px; }
.lp-petcard__menu { margin-left: auto; color: var(--ink-mute); font-size: 16px; letter-spacing: 1px; }
.lp-petcard__avatar { margin-top: 10px; width: 92px; height: 92px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 4px var(--primary-soft), var(--shadow-md); background: linear-gradient(135deg, var(--teal-200), var(--amber-200)); display: grid; place-items: center; }
.lp-petcard__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-petcard__avatar--placeholder { background: var(--primary-soft); }
.lp-petcard__initial { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 36px; }
.lp-petcard__name { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.1; color: var(--ink); margin-top: 6px; text-align: center; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 6px; }
.lp-petcard__meta { font-size: 12px; font-weight: 600; color: var(--ink-mute); text-align: center; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 8px; }
.lp-petcard__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: 9px 16px; background: var(--primary); color: #fff; border-radius: var(--r-pill); font-family: var(--font-body); font-weight: 800; font-size: 12.5px; box-shadow: var(--shadow-sm); }

/* Přední telefon (QR scan) - vpravo, jiný náklon, větší */
.lp-phone--qr { position: absolute; right: 0; top: 30px; width: 220px; height: 460px; transform: rotate(5deg); z-index: 2; animation: lp-phone-float-r 6s ease-in-out infinite 0.4s; }
.lp-phone__screen--qr { background: linear-gradient(165deg, var(--teal-600), var(--teal-800)); padding: 40px 14px 16px; display: flex; align-items: center; justify-content: center; position: relative; }
.lp-qrscan { position: relative; display: grid; place-items: center; width: 100%; }
.lp-qrscan__frame { position: relative; width: 160px; height: 160px; background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); display: grid; place-items: center; }
.lp-qrscan__qr { width: 110px; height: 110px; display: grid; place-items: center; }
.lp-qrscan__qr svg { color: var(--ink); width: 100% !important; height: 100% !important; }
.lp-qrscan__corner { position: absolute; width: 24px; height: 24px; border: 3px solid #fff; }
.lp-qrscan__corner--tl { top: -8px; left: -8px; border-right: none; border-bottom: none; border-radius: 8px 0 0 0; }
.lp-qrscan__corner--tr { top: -8px; right: -8px; border-left: none; border-bottom: none; border-radius: 0 8px 0 0; }
.lp-qrscan__corner--bl { bottom: -8px; left: -8px; border-right: none; border-top: none; border-radius: 0 0 0 8px; }
.lp-qrscan__corner--br { bottom: -8px; right: -8px; border-left: none; border-top: none; border-radius: 0 0 8px 0; }
.lp-qrscan__check { position: absolute; bottom: -16px; right: -16px; width: 44px; height: 44px; border-radius: 50%; background: var(--primary); display: grid; place-items: center; box-shadow: var(--shadow-md); border: 3px solid #fff; }

@keyframes lp-phone-float-l { 0%, 100% { transform: translate(-60px, -8px) rotate(-6deg); } 50% { transform: translate(-60px, -16px) rotate(-6deg); } }
@keyframes lp-phone-float-r { 0%, 100% { transform: rotate(5deg) translateY(0); } 50% { transform: rotate(5deg) translateY(-6px); } }

/* Caption pill pod telefony */
.lp-hero__caption { position: absolute; bottom: -16px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; background: #fff; border-radius: var(--r-pill); box-shadow: var(--shadow-md); font-size: 13.5px; font-weight: 700; color: var(--ink); white-space: nowrap; z-index: 3; }
.lp-hero__caption svg { color: var(--primary-strong); }

/* ---- VYHLEDÁVÁNÍ PODLE ČIPU (samostatná sekce, dříve plovoucí) ---- */
.lp-section--tight { padding-top: 64px; padding-bottom: 64px; }
.lp-search { background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); padding: 36px 40px; display: flex; flex-direction: column; gap: 18px; border: 1px solid var(--border); position: relative; overflow: hidden; }
.lp-search--block { max-width: 920px; margin: 0 auto; }
.lp-search::before { content: ""; position: absolute; top: 0; right: 0; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, var(--primary-tint) 0%, transparent 70%); transform: translate(40%, -40%); pointer-events: none; }
.lp-search::after { content: ""; position: absolute; bottom: -60px; left: -40px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, oklch(0.748 0.138 48 / 0.08) 0%, transparent 70%); pointer-events: none; }
.lp-search__lede { position: relative; text-align: center; }
.lp-search__eyebrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-size: 13px; color: var(--accent-ink); letter-spacing: 0.02em; text-transform: uppercase; }
.lp-search__eyebrow svg { color: var(--accent); }
.lp-search__title { font-family: var(--font-display); font-weight: 600; font-size: 26px; line-height: 1.15; color: var(--ink); margin: 10px 0 0; }
.lp-search__form { display: flex; gap: 12px; position: relative; }
.lp-search__field { flex: 1; display: flex; align-items: center; gap: 12px; background: var(--surface-2); border: 1.5px solid var(--border-strong); border-radius: var(--r-pill); padding: 4px 8px 4px 20px; transition: border-color .15s, box-shadow .15s; }
.lp-search__field:focus-within { border-color: var(--primary); box-shadow: var(--ring); }
.lp-search__input { flex: 1; border: none; background: transparent; outline: none; font-family: var(--font-body); font-weight: 600; font-size: 17px; color: var(--ink); padding: 14px 0; min-width: 0; }
.lp-search__input::placeholder { color: var(--ink-mute); font-weight: 500; }
.lp-search__btn { white-space: nowrap; padding: 15px 28px; }
.lp-search__hint { font-size: 14px; font-weight: 600; color: var(--ink-mute); margin: 0; position: relative; text-align: center; }
.lp-search__hint a { color: var(--primary-strong); font-weight: 700; }

/* ---- CO PETID UMÍ (features grid) ---- */
.lp-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1080px; margin: 0 auto; }
.lp-feat { background: var(--surface); border-radius: var(--r-xl); padding: 28px 26px 26px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform .25s cubic-bezier(.22,.61,.36,1), box-shadow .25s, border-color .25s; position: relative; overflow: hidden; }
.lp-feat::before { content: ""; position: absolute; inset: 0; border-radius: var(--r-xl); background: linear-gradient(135deg, var(--primary-tint) 0%, transparent 60%); opacity: 0; transition: opacity .25s; pointer-events: none; }
.lp-feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary-soft); }
.lp-feat:hover::before { opacity: 1; }
.lp-feat:hover .lp-feat__icon { background: var(--primary); color: #fff; transform: scale(1.05); }
.lp-feat__icon { position: relative; width: 52px; height: 52px; border-radius: 16px; background: var(--primary-soft); color: var(--primary-strong); display: grid; place-items: center; transition: background .2s, color .2s, transform .2s; margin-bottom: 18px; }
.lp-feat__title { position: relative; font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.2; color: var(--ink); margin: 0 0 8px; }
.lp-feat__body { position: relative; font-size: 14.5px; line-height: 1.55; font-weight: 500; color: var(--ink-soft); margin: 0; }

/* ---- NOVÝ STANDARD OCHRANY (full-width banner s fotkou obojků) ---- */
.lp-standard { position: relative; background: linear-gradient(180deg, var(--primary-tint) 0%, var(--surface) 78%, var(--bg) 100%); padding: 96px 0 0; overflow: hidden; }
.lp-standard::before { content: ""; position: absolute; top: -120px; left: -80px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, oklch(0.748 0.097 187 / 0.16) 0%, transparent 70%); pointer-events: none; }
.lp-standard::after { content: ""; position: absolute; top: 40px; right: -60px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, oklch(0.748 0.138 48 / 0.12) 0%, transparent 70%); pointer-events: none; }
.lp-standard__head { position: relative; text-align: center; max-width: 720px; margin: 0 auto 56px; padding: 0 24px; }
.lp-standard__head .t-label { color: var(--primary-strong); }
.lp-standard__head .lp-h2 { margin-top: 10px; }
.lp-standard__lead { font-size: 18px; line-height: 1.55; font-weight: 500; color: var(--ink-soft); margin: 16px auto 0; max-width: 580px; }
.lp-standard__photo { position: relative; width: 100%; line-height: 0; }
.lp-standard__photo picture { display: block; width: 100%; }
.lp-standard__photo img { width: 100%; height: auto; display: block; }

/* ---- KROKY ---- */
.lp-steps__row { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lp-connector { position: absolute; top: 48px; left: 16%; right: 16%; height: 0; border-top: 2px dashed var(--teal-300); z-index: 0; opacity: 0.7; }
.lp-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.lp-step__art { position: relative; width: 96px; height: 96px; border-radius: 28px; background: var(--surface); box-shadow: var(--shadow-md); display: grid; place-items: center; color: var(--primary-strong); transition: transform .25s cubic-bezier(.22,.61,.36,1), box-shadow .25s; }
.lp-step:hover .lp-step__art { transform: translateY(-4px) rotate(-2deg); box-shadow: var(--shadow-lg); }
.lp-step__num { position: absolute; top: -8px; right: -8px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 16px; box-shadow: var(--shadow-sm); }
.lp-step__title { font-family: var(--font-display); font-weight: 500; font-size: 21px; text-wrap: balance; line-height: 1.2; color: var(--ink); margin: 0; }
.lp-step__body { margin: 0; max-width: 240px; }

/* ---- GALERIE ---- */
.lp-gallery__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.lp-gallery__filters { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lp-chip { border: 1.5px solid var(--border-strong); background: var(--surface); color: var(--ink-soft); border-radius: var(--r-pill); padding: 9px 16px; font-family: var(--font-body); font-weight: 700; font-size: 14px; cursor: pointer; transition: all .15s; }
.lp-chip--on { background: var(--primary); border-color: var(--primary); color: #fff; }
.lp-gallery__all { color: var(--primary-strong); font-weight: 700; font-size: 14.5px; white-space: nowrap; margin-left: 6px; }
.lp-gallery__viewport { position: relative; }
.lp-gallery__scroll { display: flex; gap: 18px; overflow-x: auto; padding: 6px 2px 14px; scrollbar-width: none; cursor: grab; }
.lp-gallery__scroll.lp-grabbing { cursor: grabbing; scroll-behavior: auto; }
.lp-gallery__scroll.lp-grabbing .lp-gcard { pointer-events: none; }
.lp-gallery__scroll::-webkit-scrollbar { display: none; }
.lp-gcard { flex: 0 0 232px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .25s cubic-bezier(.22,.61,.36,1), box-shadow .25s; color: var(--ink); text-decoration: none; display: block; border: 1px solid var(--border); }
.lp-gcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--primary-soft); }
.lp-gcard:hover .lp-gcard__photo img { transform: scale(1.04); }
.lp-gcard__photo img { transition: transform .4s cubic-bezier(.22,.61,.36,1); }
.lp-gcard__photo { height: 190px; background: var(--surface-2); position: relative; overflow: hidden; }
.lp-gcard__photo picture { display: block; width: 100%; height: 100%; }
.lp-gcard__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-gcard__photo .pid-status { position: absolute; top: 10px; left: 10px; font-size: 11.5px; padding: 4px 10px 4px 8px; }
.lp-gcard__body { padding: 14px 16px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lp-gcard__name { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--ink); }
.lp-gcard__meta { font-size: 13px; font-weight: 600; color: var(--ink-mute); margin-top: 1px; }
.lp-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: none; background: var(--surface); box-shadow: var(--shadow-md); color: var(--ink); display: grid; place-items: center; cursor: pointer; z-index: 5; transition: background .15s; }
.lp-arrow:hover { background: var(--primary-tint); color: var(--primary-strong); }
.lp-arrow--l { left: -16px; }
.lp-arrow--r { right: -16px; }
.lp-arrow:disabled { opacity: 0.35; cursor: not-allowed; }

/* ---- ČIP × QR mini blok pod hlavním compare ---- */
.lp-chipqr { max-width: 920px; margin: 40px auto 0; padding-top: 32px; border-top: 1px dashed var(--border-strong); }
.lp-chipqr__head { text-align: center; margin-bottom: 18px; }
.lp-chipqr__title { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.2; color: var(--ink); margin: 4px 0 0; }
.lp-chipqr__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lp-chipqr__card { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--r-lg); transition: border-color .2s; }
.lp-chipqr__card--on { border-color: var(--primary-soft); background: linear-gradient(135deg, var(--primary-tint) 0%, var(--surface) 60%); }
.lp-chipqr__icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; }
.lp-chipqr__icon--mute { background: var(--surface-2); color: var(--ink-soft); }
.lp-chipqr__icon--primary { background: var(--primary); color: #fff; }
.lp-chipqr__name { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--ink); }
.lp-chipqr__body { font-size: 14px; line-height: 1.5; font-weight: 500; color: var(--ink-soft); margin-top: 3px; }

/* ---- SROVNÁNÍ ---- */
.lp-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 920px; margin: 0 auto; }
.lp-compare__col { position: relative; border-radius: var(--r-xl); padding: 32px 30px; }
.lp-compare__col--reg { background: var(--surface-2); border: 1.5px solid var(--border); }
.lp-compare__col--pid { background: linear-gradient(165deg, var(--teal-500), var(--teal-700)); box-shadow: var(--shadow-lg); }
.lp-compare__badge { position: absolute; top: -14px; left: 30px; display: inline-flex; align-items: center; gap: 6px; background: var(--accent); color: #fff; border-radius: var(--r-pill); padding: 7px 14px; font-weight: 800; font-size: 13px; box-shadow: var(--shadow-sm); }
.lp-compare__title { font-family: var(--font-display); font-weight: 600; font-size: 23px; color: var(--ink-soft); margin-bottom: 18px; }
.lp-compare__col--pid .lp-compare__title { color: #fff; }
.lp-compare__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.lp-compare__list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; font-size: 15.5px; color: var(--ink-soft); }
.lp-compare__list--pid li { color: rgba(255, 255, 255, 0.96); }
.lp-x { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--sand-300); color: var(--sand-600); display: grid; place-items: center; font-weight: 800; }
.lp-check { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); color: #fff; display: grid; place-items: center; }

/* ---- SHOP - 4 product cards ---- */
.lp-shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1080px; margin: 0 auto; }
.lp-shop-card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); text-decoration: none; color: var(--ink); transition: transform .25s cubic-bezier(.22,.61,.36,1), box-shadow .25s, border-color .25s; }
.lp-shop-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary-soft); }
.lp-shop-card__media { position: relative; aspect-ratio: 1/1; display: grid; place-items: center; overflow: hidden; }
.lp-shop-card__media img { width: 65%; height: 65%; object-fit: contain; display: block; }
.lp-shop-card__hook { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 18px; height: 22px; border: 2.5px solid var(--sand-500); border-radius: 50%; border-bottom-color: transparent; }
.lp-shop-card__hook::after { content: ""; position: absolute; left: 50%; top: 100%; transform: translate(-50%, -2px); width: 4px; height: 8px; background: var(--sand-500); border-radius: 0 0 2px 2px; }
.lp-shop-card__disc { width: 68%; aspect-ratio: 1/1; border-radius: 22px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 22px; box-shadow: var(--shadow-md); margin-top: 18px; letter-spacing: -0.01em; }
.lp-shop-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; }
.lp-shop-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.lp-shop-card__name { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--ink); }
.lp-shop-card__price { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--primary-strong); white-space: nowrap; }
.lp-shop-card__desc { font-size: 13px; line-height: 1.45; font-weight: 500; color: var(--ink-soft); margin: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.lp-shop-card__cta { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; padding: 8px 14px; background: var(--primary-tint); color: var(--primary-strong); border-radius: var(--r-pill); font-weight: 700; font-size: 13px; align-self: flex-start; transition: background .15s, color .15s; }
.lp-shop-card:hover .lp-shop-card__cta { background: var(--primary); color: #fff; }

/* ---- FAQ ---- */
.lp-faq-wrap { max-width: 820px; }
.lp-faq2 { display: flex; flex-direction: column; gap: 12px; }
.lp-faq2__item { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); border: 1.5px solid transparent; transition: border-color .2s; overflow: hidden; }
.lp-faq2__item[open] { border-color: var(--primary-soft); }
.lp-faq2__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: transparent; border: none; cursor: pointer; padding: 20px 24px; font-family: var(--font-display); font-weight: 500; font-size: 18px; color: var(--ink); text-align: left; list-style: none; }
.lp-faq2__q::-webkit-details-marker { display: none; }
.lp-faq2__chev { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--primary-tint); color: var(--primary-strong); display: grid; place-items: center; transition: transform .25s; }
.lp-faq2__item[open] .lp-faq2__chev { transform: rotate(180deg); }
.lp-faq2__a { padding: 0 24px 22px; color: var(--ink-soft); font-weight: 500; font-size: 16px; line-height: 1.55; max-width: 640px; margin: 0; }
.lp-faq2__more { text-align: center; margin-top: 28px; color: var(--ink-mute); font-weight: 600; }
.lp-faq2__more a { color: var(--primary-strong); font-weight: 700; }

/* ---- ZÁVĚREČNÉ CTA ---- */
.lp-cta-band { position: relative; background: linear-gradient(160deg, var(--teal-600), var(--teal-800)); padding: 104px 40px 80px; overflow: hidden; }
.lp-wave { position: absolute; top: -1px; left: 0; width: 100%; height: 90px; }
.lp-cta-band__inner { position: relative; max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.lp-cta-band__btn { background: #fff !important; color: var(--primary-strong) !important; margin-top: 28px; box-shadow: var(--shadow-md); }
.lp-cta-band__btn:hover { background: var(--sand-50) !important; }
.lp-cta-band__media { border-radius: 26px; overflow: hidden; box-shadow: 0 20px 50px oklch(0.25 0.05 200 / 0.35); aspect-ratio: 4/3; }
.lp-cta-band__media .pid-photo-slot { width: 100%; height: 100%; color: rgba(255,255,255,0.75); background-color: var(--teal-700); background-image:
  linear-gradient(135deg, oklch(0.5 0.08 195 / .35) 25%, transparent 25%),
  linear-gradient(225deg, oklch(0.5 0.08 195 / .35) 25%, transparent 25%),
  linear-gradient(45deg,  oklch(0.5 0.08 195 / .35) 25%, transparent 25%),
  linear-gradient(315deg, oklch(0.5 0.08 195 / .35) 25%, transparent 25%); }
.lp-cta-band__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .lp-features { grid-template-columns: repeat(2, 1fr); }
  .lp-shop-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .lp .lp-h1 { font-size: 42px; }
  .lp .lp-h2 { font-size: 30px; }
  .lp-hero__inner { grid-template-columns: 1fr; padding: 56px 24px 72px; min-height: 0; }
  .lp-hero__phones { display: none; }
  .lp-hero__scrim { background: linear-gradient(0deg, var(--bg) 0%, oklch(0.988 0.006 170 / 0.4) 40%, oklch(0.988 0.006 170 / 0.7) 100%); }
  .lp-hero__photo img { object-position: center 30%; }
  .lp-steps__row { grid-template-columns: 1fr; gap: 36px; }
  .lp-connector { display: none; }
  .lp-compare { grid-template-columns: 1fr; }
  .lp-chipqr__row { grid-template-columns: 1fr; }
  .lp-shop-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .lp-shop-card__body { padding: 14px 14px 16px; }
  .lp-cta-band { padding: 72px 24px 64px; }
  .lp-cta-band__inner { grid-template-columns: 1fr; gap: 32px; }
  .lp-section { padding: 64px 24px; }
  .lp-section--tight { padding: 40px 24px; }
  .lp-standard { padding: 64px 0 0; }
  .lp-standard__head { margin-bottom: 36px; }
  .lp-features { grid-template-columns: 1fr; gap: 16px; max-width: 480px; }
  .lp-feat { padding: 22px 22px 20px; }
  .lp-search { padding: 28px 24px; }
  .lp-search--block { max-width: none; }
  .lp-search__form { flex-direction: column; }
  .lp-search__btn { width: 100%; }
  .lp-search__title { font-size: 22px; }
}

/* ============================================================
   ESHOP CHECKOUT (/obchod) - modernizovaný one-page flow.
   ============================================================ */
.pid-shop {
  display: flex; flex-direction: column; gap: 26px;
  background: var(--surface); border-radius: 22px;
  padding: 28px 30px; box-shadow: var(--shadow-md);
}
.pid-shop__step { display: flex; flex-direction: column; gap: 12px; }
.pid-shop__step-title {
  margin: 0; font-family: var(--font-display);
  font-size: 20px; font-weight: 700; color: var(--ink);
}
.pid-shop__step-title em {
  font-style: normal; font-weight: 500;
  color: var(--ink-mute); font-size: 14px; margin-left: 6px;
}

/* Karta výběru psa */
.pid-shop__pet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}
.pid-shop__pet {
  display: flex; gap: 12px; align-items: center;
  padding: 12px 14px; background: var(--surface);
  border: 1.5px solid oklch(0.92 0.01 200);
  border-radius: 14px; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.pid-shop__pet:hover { border-color: var(--primary); }
.pid-shop__pet.is-active {
  border-color: var(--primary-strong);
  background: var(--primary-soft);
  box-shadow: inset 0 0 0 1px var(--primary-strong);
}
.pid-shop__pet input[type="radio"] { display: none; }
.pid-shop__pet-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0;
  background: linear-gradient(135deg, var(--teal-200, #b3e3dd), var(--amber-200, #fbd7a8));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-display); font-weight: 700;
}
.pid-shop__pet-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pid-shop__pet-initial { font-size: 18px; }
.pid-shop__pet-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pid-shop__pet-meta strong { font-size: 15px; color: var(--ink); }
.pid-shop__pet-code {
  font-size: 12px; color: var(--ink-mute);
  font-variant-numeric: tabular-nums; letter-spacing: 0.04em;
}

/* Volba typu/velikosti/dopravy */
.pid-shop__option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}
.pid-shop__option {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; background: var(--surface);
  border: 1.5px solid oklch(0.92 0.01 200);
  border-radius: 14px; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.pid-shop__option:hover { border-color: var(--primary); }
.pid-shop__option.is-active {
  border-color: var(--primary-strong);
  background: var(--primary-soft);
  box-shadow: inset 0 0 0 1px var(--primary-strong);
}
.pid-shop__option input[type="radio"] {
  margin-top: 4px; flex-shrink: 0; accent-color: var(--primary-strong);
}
.pid-shop__option-body { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.pid-shop__option-body strong { font-weight: 700; color: var(--ink); }
.pid-shop__option-body span { color: var(--ink-mute); font-size: 13.5px; }
.pid-shop__option--shipping { align-items: center; }
.pid-shop__option-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--primary-soft); color: var(--primary-strong);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* Barvy - velké kruhové swatches */
.pid-shop__color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 14px; max-width: 580px;
}
.pid-shop__color {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 12px 8px; background: var(--surface);
  border: 1.5px solid oklch(0.92 0.01 200);
  border-radius: 14px; cursor: pointer;
  transition: border-color .15s, transform .1s;
}
.pid-shop__color:hover { border-color: var(--primary); transform: translateY(-1px); }
.pid-shop__color.is-active {
  border-color: var(--primary-strong); background: var(--primary-soft);
  box-shadow: inset 0 0 0 1px var(--primary-strong);
}
.pid-shop__color input[type="radio"] { display: none; }
.pid-shop__color-swatch {
  width: 56px; height: 56px; border-radius: 50%;
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,.10),
    0 4px 12px rgba(0,0,0,.12);
  position: relative;
}
.pid-shop__color-swatch::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255,255,255,.45) 0%, transparent 65%);
}
.pid-shop__color-name { font-size: 13px; font-weight: 600; color: var(--ink); }

/* Personalizace */
.pid-shop__personalize-toggle {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; background: var(--surface);
  border: 1.5px solid oklch(0.92 0.01 200);
  border-radius: 14px; cursor: pointer;
}
.pid-shop__personalize-toggle input[type="checkbox"] {
  margin-top: 4px; accent-color: var(--primary-strong);
}
.pid-shop__personalize-toggle span { display: flex; flex-direction: column; gap: 2px; }
.pid-shop__personalize-toggle strong { color: var(--ink); }
.pid-shop__personalize-toggle em {
  font-style: normal; font-size: 13px; color: var(--ink-mute);
}
.pid-shop__engraving {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 4px;
}

/* Náhled - vizualizér + cena */
.pid-shop__preview-card {
  display: grid; grid-template-columns: auto 1fr;
  gap: 28px; align-items: center;
  padding: 24px 26px;
  background: linear-gradient(135deg, var(--primary-soft) 0%, var(--surface) 65%);
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.04);
}
.pid-shop__summary { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pid-shop__summary-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14.5px; color: var(--ink-mute);
}
.pid-shop__summary-row strong {
  color: var(--ink); font-variant-numeric: tabular-nums; font-weight: 700;
}
.pid-shop__summary-row--discount strong { color: var(--err, #c63a2a); }
.pid-shop__summary-row code {
  background: transparent; padding: 0;
  font-family: ui-monospace, monospace; font-size: 12.5px;
}
.pid-shop__summary-divider {
  height: 1px; background: oklch(0 0 0 / .08); margin: 6px 0;
}
.pid-shop__summary-total {
  display: flex; justify-content: space-between; align-items: baseline;
}
.pid-shop__summary-label {
  text-transform: uppercase; font-size: 11px;
  letter-spacing: 0.1em; color: var(--ink-mute); font-weight: 700;
}
.pid-shop__summary-total strong {
  font-family: var(--font-display); font-size: 30px;
  color: var(--ink); font-variant-numeric: tabular-nums;
}
.pid-shop__preview-note {
  margin-top: 10px; padding-top: 10px;
  border-top: 1px dashed oklch(0 0 0 / .12);
  font-size: 12.5px; color: var(--ink-mute); line-height: 1.45;
}

/* Stepper + Coupon */
.pid-shop__controls {
  display: grid; grid-template-columns: auto 1fr;
  gap: 16px; align-items: end;
}
.pid-shop__stepper { display: flex; flex-direction: column; gap: 6px; }
.pid-shop__stepper-inner {
  display: inline-flex; align-items: stretch;
  background: var(--surface);
  border: 1.5px solid oklch(0.92 0.01 200);
  border-radius: 12px; overflow: hidden; width: fit-content;
}
.pid-shop__stepper-inner button {
  width: 40px; border: 0; background: transparent;
  font-size: 22px; font-weight: 700; color: var(--primary-strong);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .12s;
}
.pid-shop__stepper-inner button:hover { background: var(--primary-soft); }
.pid-shop__stepper-inner input {
  width: 56px; border: 0; background: transparent;
  text-align: center; font-weight: 700; font-size: 16px;
  color: var(--ink); font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
}
.pid-shop__stepper-inner input::-webkit-outer-spin-button,
.pid-shop__stepper-inner input::-webkit-inner-spin-button {
  -webkit-appearance: none; margin: 0;
}

.pid-shop__coupon { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pid-shop__coupon .pid-label em {
  font-style: normal; color: var(--ink-mute); font-weight: 500;
}
.pid-shop__coupon-inner { display: flex; gap: 8px; }
.pid-shop__coupon-inner input {
  flex: 1; text-transform: uppercase; letter-spacing: 0.06em;
}
.pid-shop__coupon-msg { font-size: 13px; min-height: 18px; }
.pid-shop__coupon-msg.is-ok  { color: var(--ok, #0a8a7f); font-weight: 600; }
.pid-shop__coupon-msg.is-err { color: var(--err, #c63a2a); font-weight: 600; }

/* Shipping detail panely */
.pid-shop__shipping-detail {
  display: flex; flex-direction: column; gap: 12px;
  padding: 16px 18px;
  background: var(--surface-alt, oklch(0.97 0.01 90));
  border-radius: 14px;
}
.pid-shop__pickup-head {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.pid-shop__pickup-summary { font-size: 13.5px; color: var(--ink-mute); }
.pid-shop__pickup-summary strong { color: var(--ink); }
.pid-shop__grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.pid-shop__alert {
  padding: 12px 16px; background: oklch(0.95 0.04 25);
  color: var(--err, #c63a2a); border-radius: 10px; font-size: 14px;
}

/* Finish */
.pid-shop__finish {
  display: flex; flex-direction: column; gap: 16px;
  padding-top: 6px;
  border-top: 1px solid oklch(0 0 0 / .06);
}
.pid-shop__consent {
  display: flex; gap: 10px; align-items: flex-start;
  font-weight: 500; color: var(--ink-mute);
  font-size: 14px; line-height: 1.45; cursor: pointer;
}
.pid-shop__consent input[type="checkbox"] {
  margin-top: 3px; accent-color: var(--primary-strong);
}
.pid-shop__cta {
  font-size: 18px; padding: 18px 28px;
  align-self: stretch; justify-content: center;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 28px oklch(0 0 0 / .18);
}
.pid-shop__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px oklch(0 0 0 / .22);
}
.pid-shop__finish-note {
  margin: 0; text-align: center;
  font-size: 13px; color: var(--ink-mute); line-height: 1.5;
}
.pid-shop__trust {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  padding-top: 4px;
}
.pid-shop__trust-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: var(--r-pill, 999px);
  background: var(--primary-soft); color: var(--primary-strong);
  font-size: 12.5px; font-weight: 600;
}

/* Fakturační údaje - 6-cell grid (Jméno|Telefon | E-mail-full | Ulice-full | PSČ|Město) */
.pid-shop__billing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.pid-shop__billing-wide { grid-column: 1 / -1; }
.pid-shop__hint {
  margin: 0; padding: 10px 14px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  border-radius: 10px;
  font-size: 13px;
}

/* Vizualizér - engraved-look + radial gradient, pozice prvků pohání template_json */
.petid-tag-vis {
  display: flex; flex-direction: column; gap: 10px; align-items: center;
  --canvas: 240px;
}
.petid-tag-vis__stage {
  position: relative;
  width: var(--canvas); height: var(--canvas);
  perspective: 1200px;
  cursor: pointer;
}
.petid-tag-vis__flip {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transition: transform .55s ease;
  transform: rotateY(0deg);
}
.petid-tag-vis__face {
  position: absolute; inset: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.petid-tag-vis__face--back {
  transform: rotateY(180deg);
}
.petid-tag-vis__shape-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.18));
}
/* Slot pro element (QR/text). Pozici a velikost nastavuje JS dle template. */
.petid-tag-vis__el {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.petid-tag-vis__el--qr {
  background: #fff;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
  padding: 6%;
  box-sizing: border-box;
}
.petid-tag-vis__qr {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.petid-tag-vis__qr svg {
  width: 100%; height: 100%;
  display: block;
}
.petid-tag-vis__placeholder {
  font-size: 11px; color: #999; line-height: 1.3;
}
.petid-tag-vis__el--text {
  color: #fff;
  text-align: center;
  z-index: 1;
}
.petid-tag-vis__el--text span {
  font-family: var(--font-display, 'Source Serif Pro', Georgia, serif);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 2px 6px rgba(0,0,0,.30);
  letter-spacing: 0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
}
.petid-tag-vis__el--phone span {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  opacity: 0.95;
}
.petid-tag-vis__toggle {
  font-size: 13px;
  padding: 6px 12px;
}

@media (max-width: 640px) {
  .pid-shop { padding: 20px 16px; gap: 22px; }
  .pid-shop__engraving { grid-template-columns: 1fr; }
  .pid-shop__preview-card { grid-template-columns: 1fr; padding: 18px; gap: 18px; }
  .pid-shop__controls { grid-template-columns: 1fr; }
  .pid-shop__grid-2 { grid-template-columns: 1fr; }
  .pid-shop__billing-grid { grid-template-columns: 1fr; }
  .petid-tag-vis__stage { width: 220px; height: 220px; }
}
