/* =========================================================
   Alexvet — veikals (shop). Loads after style.css.
   ========================================================= */

[hidden] { display: none !important; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.muted { color: var(--muted); }
body.no-callbar { padding-bottom: 0; }
body.no-callbar .call-bar { display: none; }

/* ---------- header cart ---------- */
.cart-link {
  position: relative; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--teal-50); color: var(--teal-700);
}
.cart-link .i { width: 21px; height: 21px; }
.cart-link:hover { background: var(--teal-100); }
.cart-count {
  position: absolute; top: -4px; right: -4px;
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--teal-600); color: #fff; border: 2px solid #fff;
  font-size: 11px; font-weight: 800; line-height: 16px; text-align: center;
}
.cart-count[hidden] { display: none; }
.main-nav .lang-mobile { display: flex !important; flex-direction: row; justify-content: center; margin-top: 8px; font-size: 15px; }
.main-nav .lang-mobile a { padding: 8px 6px; border: 0; font-size: 15px; }

/* ---------- tints for product illustrations ---------- */
.p-art         { --t1: #eef8f6; --t2: #22a097; --t3: #0f6f69; }
.tint-bariba    { --t1: #fdf3e6; --t2: #e9a752; --t3: #b9702a; }
.tint-papild    { --t1: #e8f5f3; --t2: #2aa69d; --t3: #12706a; }
.tint-zobi      { --t1: #eef3fb; --t2: #6f9fd8; --t3: #3a6aa8; }
.tint-kopsana   { --t1: #f4eefa; --t2: #a58bd3; --t3: #6c51a0; }
.tint-aksesuari { --t1: #fdeeee; --t2: #e58b84; --t3: #b2504a; }

/* ---------- breadcrumbs ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 4px; color: var(--line); }
.crumbs a { color: var(--teal-700); }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink-2); }

/* ---------- shop header ---------- */
.shop-head {
  padding-block: 20px 22px;
  background: radial-gradient(800px 300px at 0% 0%, var(--teal-50), transparent 70%), var(--bg);
  border-bottom: 1px solid var(--line);
}
.shop-head h1 { font-size: clamp(34px, 7vw, 52px); font-weight: 800; margin-top: 12px; letter-spacing: -.03em; }
.shop-lead { margin-top: 8px; color: var(--ink-2); max-width: 38em; }
.shop-head-row { display: grid; gap: 16px; }
.shop-usp { display: flex; flex-wrap: wrap; gap: 8px; }
.shop-usp li {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
}
.shop-usp .i { color: var(--teal-600); }

.shop-body { padding-block: 20px 56px; }

/* ---------- filters ---------- */
.filters { display: grid; gap: 12px; margin-bottom: 20px; }
.chips {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter);
  scroll-padding-inline: var(--gutter);
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink-2);
  font: 600 14px var(--font); cursor: pointer; white-space: nowrap;
}
.chip:hover { border-color: var(--teal-300); }
.chip[aria-pressed="true"] { background: var(--teal-600); border-color: var(--teal-600); color: #fff; }

.toolbar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 4px; border-radius: 12px; background: var(--teal-50);
}
.seg button {
  min-height: 38px; border: 0; border-radius: 9px; background: transparent;
  font: 700 14px var(--font); color: var(--ink-2); cursor: pointer;
}
.seg button[aria-pressed="true"] { background: #fff; color: var(--teal-700); box-shadow: var(--shadow-sm); }

.search, .sort { position: relative; display: block; }
.search .i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input, .sort select, .field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 14px;
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  font: 500 16px var(--font); color: var(--ink);
  -webkit-appearance: none; appearance: none;
}
.search input { padding-left: 42px; }
.sort select, .field select {
  padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%235f6e78' stroke-width='2' stroke-linecap='round' d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.search input:focus, .sort select:focus, .field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 3px rgba(34, 160, 151, .18);
}

.list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.list-head h2 { font-size: 22px; font-weight: 800; }
.list-head p { color: var(--muted); font-size: 14px; white-space: nowrap; }

/* ---------- product grid & card ---------- */
.p-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.p-card {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: border-color .15s, box-shadow .15s;
}
.p-card:hover { border-color: var(--teal-300); box-shadow: var(--shadow-md); }
.p-media { position: relative; display: block; aspect-ratio: 1; }
.p-media .p-art, .p-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.p-badge {
  position: absolute; left: 10px; top: 10px;
  padding: 4px 9px; border-radius: 999px;
  background: #fff; color: var(--teal-700);
  font-size: 11.5px; font-weight: 700; box-shadow: var(--shadow-sm);
}
.p-info { display: flex; flex-direction: column; flex: 1; padding: 12px 12px 14px; }
.p-animals { font-size: 12px; font-weight: 600; color: var(--teal-700); margin-bottom: 4px; }
.p-name { font-size: 15px; font-weight: 700; line-height: 1.3; letter-spacing: -.005em; }
.p-name a:hover { color: var(--teal-700); }
.p-short { display: none; font-size: 13px; color: var(--muted); margin-top: 4px; }
.p-foot { margin-top: auto; padding-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.p-price { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.p-price small { font-size: 13px; font-weight: 600; color: var(--muted); }
.p-foot .btn { width: 100%; }

/* ---------- empty state & advice ---------- */
.empty { text-align: center; padding: 40px 16px; max-width: 460px; margin: 0 auto; }
.empty-ico { width: 56px; height: 56px; color: var(--teal-300); margin-bottom: 12px; }
.empty h1, .empty h2 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.empty p { color: var(--muted); margin-bottom: 18px; }

.advice {
  margin-top: 40px; padding: 20px;
  display: grid; gap: 14px; align-items: center;
  border-radius: var(--r-lg); background: var(--teal-50); border: 1px solid var(--teal-100);
}
.advice-ico { width: 56px; height: 56px; }
.advice h2 { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.advice p { color: var(--ink-2); font-size: 15px; }

/* ---------- product page ---------- */
.pd-wrap .crumbs { margin-bottom: 16px; }
.pd { display: grid; gap: 20px; }
.pd-media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1; max-height: 70vh; }
.pd-media .pd-art, .pd-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-title { font-size: clamp(26px, 5vw, 38px); font-weight: 800; letter-spacing: -.025em; margin: 4px 0 8px; }
.pd-short { color: var(--ink-2); font-size: 16.5px; }
.pd-price { display: flex; align-items: baseline; gap: 8px; margin-top: 16px; font-size: 32px; font-weight: 800; letter-spacing: -.02em; }
.pd-price small { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.pd-single { margin-top: 12px; color: var(--ink-2); }

.variants { border: 0; padding: 0; margin: 18px 0 0; }
.variants legend { font-size: 14px; font-weight: 700; margin-bottom: 8px; padding: 0; }
.variant-list { display: flex; flex-wrap: wrap; gap: 8px; }
.variant { position: relative; }
.variant input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.variant span {
  display: flex; flex-direction: column; min-width: 92px;
  padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  font-weight: 700; font-size: 15px; line-height: 1.25;
}
.variant small { font-weight: 600; font-size: 13px; color: var(--muted); }
.variant input:checked + span { border-color: var(--teal-600); background: var(--teal-50); box-shadow: inset 0 0 0 1px var(--teal-600); }
.variant input:focus-visible + span { outline: 3px solid var(--teal-500); outline-offset: 2px; }

.pd-buy { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-top: 20px; }
.pd-buy .btn { padding-inline: 14px; }
.pd-buy .btn b { font-weight: 800; opacity: .9; display: none; }
@media (min-width: 480px) { .pd-buy .btn b { display: inline; } }
.p-badge { max-width: calc(100% - 20px); }
.qty {
  display: inline-grid; grid-template-columns: 44px 48px 44px; align-items: stretch;
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden;
}
.qty button { border: 0; background: transparent; font: 600 22px var(--font); color: var(--ink); cursor: pointer; }
.qty button:hover { background: var(--teal-50); }
.qty input {
  width: 100%; border: 0; text-align: center; font: 700 16px var(--font); color: var(--ink);
  -moz-appearance: textfield; appearance: textfield; background: transparent;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-sm { grid-template-columns: 36px 40px 36px; height: 40px; }
.qty-sm button { font-size: 18px; }

.pd-perks { display: grid; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.pd-perks li { display: flex; align-items: center; gap: 10px; }
.pd-perks .i { color: var(--teal-600); width: 20px; height: 20px; }
.pd-perks a { color: var(--teal-700); font-weight: 700; }

.pd-details { border-top: 1px solid var(--line); }
.pd-details details { border-bottom: 1px solid var(--line); }
.pd-details summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 2px; font-size: 17px; font-weight: 800;
}
.pd-details summary::-webkit-details-marker { display: none; }
.pd-details summary::after {
  content: ""; width: 10px; height: 10px; flex: none; margin-right: 6px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .2s;
}
.pd-details details[open] summary::after { transform: rotate(-135deg); }
.pd-details p { padding: 0 2px 18px; color: var(--ink-2); max-width: 70ch; }
.loading { color: var(--muted); padding: 40px 0; }

.related { margin-top: 48px; }
.related h2 { font-size: 24px; font-weight: 800; margin-bottom: 16px; }

/* ---------- checkout steps ---------- */
.co-steps { display: flex; gap: 6px; margin-bottom: 18px; font-size: 13px; font-weight: 600; color: var(--muted); }
.co-steps li { display: flex; align-items: center; gap: 6px; }
.co-steps li + li::before { content: ""; width: 18px; height: 2px; background: var(--line); margin-right: 2px; }
.co-steps span {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: var(--teal-50); color: var(--teal-700); font-size: 12px; font-weight: 800;
}
.co-steps li:not([aria-current]):not(.done) { font-size: 0; gap: 0; }
.co-steps li:not([aria-current]):not(.done) span { font-size: 12px; }
.co-steps .done { font-size: 0; gap: 0; }
.co-steps .done span { background: var(--teal-600); color: #fff; font-size: 12px; }
.co-steps [aria-current] { color: var(--ink); }
.co-steps [aria-current] span { background: var(--teal-600); color: #fff; }
.co-title { font-size: clamp(28px, 5vw, 40px); font-weight: 800; margin-bottom: 20px; letter-spacing: -.025em; }

/* ---------- cart ---------- */
.cart-layout { display: grid; gap: 20px; }
.cart-list > ul { display: grid; gap: 10px; }
.cart-row {
  display: grid; grid-template-columns: 72px 1fr auto; grid-template-areas: "m i x" "m q t";
  align-items: center; gap: 8px 14px;
  padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
}
.cr-media { grid-area: m; width: 72px; height: 72px; border-radius: 10px; overflow: hidden; align-self: start; }
.cr-media .p-art, .cr-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.cr-info { grid-area: i; min-width: 0; }
.cr-info h3 { font-size: 15px; font-weight: 700; line-height: 1.3; }
.cr-info h3 a:hover { color: var(--teal-700); }
.cr-info p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.cart-row .qty { grid-area: q; justify-self: start; }
.cr-total { grid-area: t; font-weight: 800; font-size: 16px; text-align: right; }
.cr-remove {
  grid-area: x; align-self: start; justify-self: end;
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center;
}
.cr-remove:hover { background: #fdeeee; color: #b2504a; }
.link-back { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 700; font-size: 14.5px; color: var(--teal-700); }
.link-back:hover { text-decoration: underline; }

.summary {
  padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); align-self: start;
}
.summary h2 { font-size: 20px; font-weight: 800; margin-bottom: 14px; }
.summary dl { margin: 0; display: grid; gap: 10px; }
.summary dl > div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.summary dt { color: var(--ink-2); }
.summary dd { margin: 0; font-weight: 700; text-align: right; }
.sum-total { padding-top: 12px; border-top: 1px solid var(--line); }
.sum-total dt, .sum-total dd { font-size: 19px; font-weight: 800; color: var(--ink); }
.vat-note { font-size: 12.5px; color: var(--muted); margin: 6px 0 16px; text-align: right; }

.ship-bar { margin-bottom: 16px; padding: 12px 14px; border-radius: 12px; background: var(--teal-50); font-size: 13.5px; color: var(--ink-2); }
.ship-bar .bar { display: block; height: 6px; border-radius: 3px; background: #fff; margin-top: 8px; overflow: hidden; }
.ship-bar .bar i { display: block; height: 100%; background: var(--grad); border-radius: 3px; transition: width .3s; }

/* ---------- checkout form ---------- */
.checkout { display: grid; gap: 20px; }
.co-main { display: grid; gap: 14px; min-width: 0; }
.co-block {
  margin: 0; padding: 18px; min-width: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
}
.co-block legend {
  float: left; width: 100%; padding: 0; margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800;
}
.co-block legend + * { clear: both; }
.co-n {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--teal-600); color: #fff; font-size: 14px;
}
.co-block-plain { display: grid; gap: 14px; }

.fields { display: grid; gap: 12px; margin-bottom: 4px; }
.fields + .check, .check + .fields { margin-top: 12px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 700; }
.field label small { font-weight: 500; color: var(--muted); }
.field textarea { resize: vertical; min-height: 90px; }
.field [aria-invalid="true"] { border-color: #c2453d; }
.err { color: #b2392f; font-size: 13px; font-weight: 600; margin: 0; }
#terminal-field, #address-fields, .hint { margin-top: 14px; }

.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; cursor: pointer; flex-wrap: wrap; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--teal-600); flex: none; }
.check span { flex: 1; }
.check a { color: var(--teal-700); font-weight: 700; text-decoration: underline; }
.check .err { flex-basis: 100%; padding-left: 30px; }

.opts { display: grid; gap: 8px; }
.opt {
  position: relative; display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 12px;
  padding: 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.opt[hidden] { display: none; }
.opt input { width: 20px; height: 20px; margin: 0; accent-color: var(--teal-600); }
.opt-body strong { display: block; font-size: 15.5px; }
.opt-body small { display: block; font-size: 13px; color: var(--muted); }
.opt-price { font-weight: 800; font-size: 15px; white-space: nowrap; }
.opt:has(input:checked) { border-color: var(--teal-600); background: var(--teal-50); }

.hint { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--teal-50); font-size: 14px; color: var(--ink-2); }
.hint .i { color: var(--teal-600); margin-top: 2px; }

.sum-lines { display: grid; gap: 12px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.sum-lines li { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.sl-media { position: relative; width: 52px; height: 52px; border-radius: 10px; overflow: visible; }
.sl-media .p-art, .sl-media img { width: 100%; height: 100%; border-radius: 10px; display: block; }
.sl-media b {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: var(--ink); color: #fff; font-size: 11px; line-height: 20px; text-align: center;
}
.sl-name { font-weight: 600; line-height: 1.3; }
.sl-name small { display: block; color: var(--muted); font-weight: 500; }
.sum-lines li > span:last-child { font-weight: 700; }
.co-summary .link-back { display: flex; justify-content: center; }
.co-summary .btn[disabled] { opacity: .7; cursor: progress; }

/* ---------- thank you ---------- */
.ty { max-width: 640px; margin: 0 auto; text-align: center; }
.ty-ico {
  width: 72px; height: 72px; border-radius: 50%; margin: 8px auto 16px;
  display: grid; place-items: center; background: var(--grad); color: #fff;
  box-shadow: 0 10px 28px rgba(22, 134, 127, .3);
}
.ty-ico .i { width: 36px; height: 36px; }
.ty h1 { font-size: clamp(28px, 5vw, 40px); font-weight: 800; letter-spacing: -.025em; }
.ty-lead { margin-top: 10px; color: var(--ink-2); }
.ty-card { text-align: left; margin-top: 24px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.ty-card:empty { display: none; }
.ty-lines { display: grid; gap: 8px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.ty-lines li { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.ty-lines small { color: var(--muted); }
.ty-sum { margin: 0; display: grid; gap: 8px; }
.ty-sum > div { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.ty-sum dd { margin: 0; font-weight: 700; text-align: right; }
.ty-next { text-align: left; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; counter-reset: ty; }
.ty-next li { counter-increment: ty; display: grid; grid-template-columns: 30px 1fr; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.ty-next li::before {
  content: counter(ty); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--teal-50); color: var(--teal-700); font-weight: 800; font-size: 13px;
}
.ty-next strong { color: var(--ink); }
.ty-next a { color: var(--teal-700); font-weight: 700; }
.ty-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }

/* ---------- info / legal ---------- */
.info-layout { display: grid; gap: 20px; margin-top: 16px; }
.info-nav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.info-nav a {
  flex: none; padding: 10px 14px; border-radius: 10px; font-weight: 700; font-size: 14px;
  color: var(--ink-2); border: 1px solid var(--line); background: #fff; white-space: nowrap;
}
.info-nav a[aria-current] { background: var(--teal-600); color: #fff; border-color: var(--teal-600); }
.prose { max-width: 72ch; min-width: 0; }
.prose h1 { font-size: clamp(28px, 5vw, 40px); font-weight: 800; letter-spacing: -.025em; margin-bottom: 16px; }
.prose h2 { font-size: 20px; font-weight: 800; margin: 28px 0 8px; letter-spacing: -.01em; }
.prose p { color: var(--ink-2); margin-bottom: 12px; line-height: 1.65; }
.prose a { color: var(--teal-700); font-weight: 600; text-decoration: underline; }
.draft-note { padding: 12px 14px; border-radius: 12px; background: #fff7e6; border: 1px solid #f3dfb4; font-size: 14px; }
.table-wrap { overflow-x: auto; margin: 8px 0 16px; border: 1px solid var(--line); border-radius: 12px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 460px; background: #fff; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose th { background: var(--teal-50); font-weight: 700; }
.prose tr:last-child td { border-bottom: 0; }

/* ---------- home teaser ---------- */
.shop-teaser { padding-block: 32px 8px; }

/* ---------- toast ---------- */
.toast {
  position: fixed; z-index: 60; left: 12px; right: 12px;
  bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 14px;
  background: var(--ink); color: #fff; font-size: 14px; box-shadow: var(--shadow-md);
  transform: translateY(16px); opacity: 0; visibility: hidden;
  transition: transform .2s, opacity .2s, visibility .2s;
}
body.no-callbar .toast { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
.toast.is-on { transform: none; opacity: 1; visibility: visible; }
.toast .i { width: 22px; height: 22px; flex: none; color: var(--teal-300); }
.toast span { flex: 1; min-width: 0; line-height: 1.35; }
.toast strong { display: block; }
.toast a { flex: none; font-weight: 800; color: var(--teal-300); white-space: nowrap; }

/* =========================================================
   ≥ 560px
   ========================================================= */
@media (min-width: 560px) {
  .p-short { display: block; }
  .p-foot { flex-direction: row; align-items: center; justify-content: space-between; }
  .p-foot .btn { width: auto; }
  .p-info { padding: 14px 16px 16px; }
  .fields { grid-template-columns: 1fr 1fr; }
  .field-wide { grid-column: 1 / -1; }
  .cart-row { grid-template-columns: 88px 1fr auto auto 36px; grid-template-areas: "m i q t x"; }
  .cr-media { width: 88px; height: 88px; align-self: center; }
  .cr-total { min-width: 84px; }
  .cr-remove { align-self: center; }
  .co-steps li:not([aria-current]):not(.done), .co-steps .done { font-size: 13px; gap: 6px; }
}

/* =========================================================
   ≥ 760px
   ========================================================= */
@media (min-width: 760px) {
  .shop-head { padding-block: 28px 32px; }
  .shop-head-row { grid-template-columns: 1fr auto; align-items: end; }
  .shop-usp { flex-direction: column; }

  .toolbar { grid-template-columns: auto 1fr 220px; align-items: center; }
  .seg { grid-column: auto; min-width: 280px; }
  .chips { margin-inline: 0; padding-inline: 0; flex-wrap: wrap; overflow: visible; }

  .p-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .advice { grid-template-columns: 56px 1fr auto; padding: 24px 28px; }

  .pd { grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
  .pd-details { grid-column: 1 / -1; }

  .info-layout { grid-template-columns: 220px 1fr; gap: 40px; }
  .info-nav { flex-direction: column; margin: 0; padding: 0; overflow: visible; position: sticky; top: calc(var(--header-h) + 20px); align-self: start; }
  .info-nav a { border: 0; background: transparent; }
  .info-nav a:hover { background: var(--teal-50); }

  .toast { left: auto; right: 24px; bottom: 24px; max-width: 420px; }
  body.no-callbar .toast { bottom: 24px; }
}

/* =========================================================
   ≥ 980px
   ========================================================= */
@media (min-width: 980px) {
  .p-grid { grid-template-columns: repeat(4, 1fr); }
  .p-grid-4 { grid-template-columns: repeat(4, 1fr); }

  .pd { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; }
  .pd-media { position: sticky; top: calc(var(--header-h) + 20px); grid-row: 1 / span 2; }
  .pd-details { grid-column: 2; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }

  .cart-layout { grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
  .cart-layout > .empty { grid-column: 1 / -1; }
  .cart-layout .summary, .co-summary { position: sticky; top: calc(var(--header-h) + 20px); }
  .checkout { grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
  .co-block { padding: 22px 24px; }
}

@media (min-width: 760px) and (max-width: 979px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.logo { flex: none; }
@media (min-width: 1280px) {
  .main-nav ul { gap: clamp(14px, 1.6vw, 30px); }
  .header-actions { gap: 14px; }
}

@media (max-width: 559px) {
  .p-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 560px) and (max-width: 979px) {
  .p-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- checkout: server errors & honeypot ---------- */
.form-alert { padding: 10px 12px; border-radius: 10px; background: #fdeeee; color: #a8443e; font-size: 14px; font-weight: 600; margin: 0 0 12px; }
.form-alert a { color: inherit; text-decoration: underline; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* =========================================================
   Vizītes pieteikuma forma (sākumlapa)
   ========================================================= */
.visit { padding-block: 40px 56px; background: linear-gradient(180deg, var(--bg), var(--teal-50)); }
.visit-grid { display: grid; gap: 22px; }
.visit-intro h2 { font-size: clamp(28px, 5vw, 40px); font-weight: 800; margin-bottom: 12px; }
.visit-intro > p { color: var(--ink-2); max-width: 32em; }
.visit-call {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 20px;
  padding: 10px 18px 10px 10px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.visit-call:hover { border-color: var(--teal-300); }
.visit-call small { display: block; font-size: 12.5px; color: var(--muted); }
.visit-call strong { display: block; font-size: 18px; }
.visit-facts { display: grid; gap: 8px; margin-top: 18px; font-size: 14.5px; color: var(--ink-2); }
.visit-facts li { display: flex; align-items: center; gap: 10px; }
.visit-facts .i { color: var(--teal-600); }

.visit-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-md); padding: 18px; }
#visit-form { display: grid; gap: 16px; }
.vf-block { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 12px; }
.vf-block legend { font-size: 17px; font-weight: 800; padding: 0; margin-bottom: 10px; }
.vf-label { font-size: 14px; font-weight: 700; }
.fields-3 { grid-template-columns: 1fr 1fr; }
.fields-3 .field:first-child { grid-column: 1 / -1; }

.vf-species label { position: relative; display: block; }
.vf-species input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.vf-species span {
  display: grid; place-items: center; min-height: 38px; border-radius: 9px;
  font: 700 14px var(--font); color: var(--ink-2); cursor: pointer;
}
.vf-species input:checked + span { background: #fff; color: var(--teal-700); box-shadow: var(--shadow-sm); }
.vf-species input:focus-visible + span { outline: 3px solid var(--teal-500); outline-offset: 2px; }

.vf-when { margin-inline: 0; padding-inline: 0; flex-wrap: wrap; overflow: visible; margin-bottom: 8px; }
.vf-when .chip { min-height: 36px; font-size: 13.5px; padding: 0 12px; }

.vf-done { text-align: center; padding: 24px 8px; }
.vf-done:focus { outline: none; }
.vf-done .ty-ico { margin-top: 0; }
.vf-done h3 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.vf-done p { color: var(--ink-2); max-width: 30em; margin: 0 auto 18px; }
.vf-done a { color: var(--teal-700); font-weight: 700; }

@media (min-width: 560px) {
  .visit-card { padding: 26px; }
  .fields-3 { grid-template-columns: 1fr 1fr 1fr; }
  .fields-3 .field:first-child { grid-column: auto; }
}
@media (min-width: 980px) {
  .visit { padding-block: 64px 72px; }
  .visit-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px; align-items: start; }
  .visit-intro { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* ---------- vizītes laika izvēle ---------- */
.vf-days {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding: 2px 2px 8px;
  scroll-snap-type: x proximity;
}
.vf-day {
  flex: none; scroll-snap-align: start; min-width: 74px; padding: 8px 10px; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fff; cursor: pointer; text-align: center;
  font: 600 13px/1.25 var(--font); color: var(--ink-2);
}
.vf-day strong { display: block; font-size: 15px; color: var(--ink); }
.vf-day small { display: block; margin-top: 2px; font-size: 11.5px; color: var(--teal-700); font-weight: 700; }
.vf-day:hover { border-color: var(--teal-300); }
.vf-day[aria-pressed="true"] { background: var(--teal-600); border-color: var(--teal-600); color: #fff; }
.vf-day[aria-pressed="true"] strong, .vf-day[aria-pressed="true"] small { color: #fff; }
.vf-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.vf-times:empty { display: none; }
.vf-time { position: relative; }
.vf-time input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.vf-time span {
  display: grid; place-items: center; min-height: 44px; border-radius: 10px; border: 1.5px solid var(--teal-300);
  background: var(--teal-50); font-weight: 800; font-size: 15px; color: var(--teal-700); cursor: pointer; font-variant-numeric: tabular-nums;
}
.vf-time input:checked + span { background: var(--teal-600); border-color: var(--teal-600); color: #fff; }
.vf-time input:focus-visible + span { outline: 3px solid var(--teal-500); outline-offset: 2px; }
.vf-loading, .vf-none { font-size: 14px; color: var(--muted); padding: 6px 0; }
.vf-link { justify-self: start; border: 0; background: none; padding: 4px 0; font: 700 14px var(--font); color: var(--teal-700); text-decoration: underline; cursor: pointer; text-align: left; }
.vf-picked { font-size: 14px; color: var(--ink-2); }
.vf-picked strong { color: var(--teal-700); }
