/* VitoGarm info pages kit — /css/vg-pages.css (registry №124, Viktor 01.10.2026: «сделай стильно… стиль, который мы
   потом будем применять для остальных страниц»). Built and uploaded by info_pages/deploy_info_page.py.
   Same family as the checkout option A «Карточки» (checkout_redesign/co_base.css + co_optA.css): white cards r14 with a
   soft shadow on the #f6f6f6 page, green #1f8f4e, white digits on green circles, Montserrat headings, Roboto body,
   ink #3f3836.
   Scope: <div id="vgp" class="vgp"> … </div> in the page text; the page loads this file with a <link> in its first line.
   Every selector starts with  html:not(#vg0) #vgp.vgp  = specificity (2,1,1). It beats the theme blankets injected by
   my-scripts.js after this file:  «html body:has(#header) p|li|td|label|span:not(.lnr):not([class*=icon])|h1-h4
   {color:#3f3836 !important}» (max 1,2,3) and «html body:has(#header) #middle a {color:#3f3836 !important}» (2,0,3).
   Never style .cnt / #middle here (the catalog full-bleed HARD owns them); the kit brings its own 16 px gutters. */

html:not(#vg0) #vgp.vgp {
  --vgp-g: #1f8f4e;  --vgp-g2: #177a41;  --vgp-gs: #e9f6ee;  --vgp-rail: #bfe0cc;
  --vgp-ink: #3f3836; --vgp-mut: #66706b; --vgp-line: #e3e7e5; --vgp-line2: #858f8a;
  --vgp-bg: #f6f6f6; --vgp-card: #fff;
  --vgp-warn-bg: #fff6e0; --vgp-warn-bar: #e0a100; --vgp-warn-ink: #6b4e00;
  --vgp-r: 14px; --vgp-ri: 12px; --vgp-gap: 14px; --vgp-pad: 16px;
  --vgp-sh: 0 1px 2px rgba(0,0,0,.04), 0 4px 14px rgba(0,0,0,.05);
  --vgp-ff-h: Montserrat, sans-serif; --vgp-ff: Roboto, sans-serif;
  display: block; box-sizing: border-box; width: 100%; max-width: 760px; margin: 0 auto; padding: 8px 16px 40px;
  color: var(--vgp-ink) !important; font-family: var(--vgp-ff) !important; font-size: 16px !important;
  line-height: 1.55 !important; text-align: left !important; overflow-wrap: anywhere; color-scheme: light;
}
html:not(#vg0) #vgp.vgp *, html:not(#vg0) #vgp.vgp *::before, html:not(#vg0) #vgp.vgp *::after { box-sizing: border-box; }
/* text reset: the theme paints p / li / span / h* with !important and sets p to 15px/20px; :is() keeps (2,1,2) */
html:not(#vg0) #vgp.vgp :is(p, li, span, strong, b, em, small, td, th, label, h1, h2, h3, h4, summary, figcaption) {
  color: inherit !important; font-family: inherit; font-size: inherit !important; line-height: inherit !important;
  letter-spacing: normal; text-transform: none; text-align: inherit !important; }
html:not(#vg0) #vgp.vgp p { margin: 0 0 10px !important; }
html:not(#vg0) #vgp.vgp :is(p, ul, ol, figure):last-child { margin-bottom: 0 !important; }
html:not(#vg0) #vgp.vgp img { max-width: 100% !important; height: auto !important; }
/* inline links in text (no class): green ink + underline; classed links style themselves */
html:not(#vg0) #vgp.vgp a:where(:not([class])) { color: var(--vgp-g2) !important; text-decoration: underline !important; text-underline-offset: 2px; }
html:not(#vg0) #vgp.vgp :is(a, summary, button):focus-visible { outline: 3px solid var(--vgp-g2) !important; outline-offset: 2px; }
/* the site header is position:fixed, bottom edge 101 px (phone) / 94 px (desktop) once scrolled: anchors land below it */
html:not(#vg0) #vgp.vgp [id] { scroll-margin-top: 112px; }
html:not(#vg0) #vgp.vgp .vgp-vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* ── hero ─────────────────────────────────────────────── */
html:not(#vg0) #vgp.vgp .vgp-hero { margin: 4px 0 20px; }
html:not(#vg0) #vgp.vgp .vgp-h1 { margin: 0 0 8px !important; font: 700 24px/1.25 var(--vgp-ff-h) !important; color: var(--vgp-ink) !important; text-wrap: balance; }
html:not(#vg0) #vgp.vgp .vgp-lead { font-size: 17px !important; line-height: 1.5 !important; }
html:not(#vg0) #vgp.vgp .vgp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0 !important; padding: 0 !important; list-style: none !important; }
html:not(#vg0) #vgp.vgp .vgp-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; margin: 0 !important; padding: 5px 12px;
  border: 1px solid var(--vgp-line); border-radius: 999px; background: var(--vgp-card) !important; font-size: 14px !important; line-height: 1.3 !important; }
html:not(#vg0) #vgp.vgp .vgp-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--vgp-g); flex: none; }

/* ── section heading ─────────────────────────────────── */
html:not(#vg0) #vgp.vgp .vgp-h2 { margin: 32px 0 12px !important; font: 700 20px/1.3 var(--vgp-ff-h) !important; color: var(--vgp-ink) !important; text-wrap: balance; }

/* ── steps: cards on a rail (checkout .vgco-sec card + .vgco-num circle) ── */
html:not(#vg0) #vgp.vgp .vgp-steps { display: grid; gap: var(--vgp-gap); margin: 0 !important; padding: 0 !important; list-style: none !important; }
html:not(#vg0) #vgp.vgp .vgp-step { position: relative; margin: 0 !important; padding: 18px var(--vgp-pad) 16px !important; list-style: none !important;
  background: var(--vgp-card) !important; border-radius: var(--vgp-r); box-shadow: var(--vgp-sh); }
html:not(#vg0) #vgp.vgp .vgp-step + .vgp-step::before { content: ""; position: absolute; left: calc(var(--vgp-pad) + 17px); top: calc(-1 * var(--vgp-gap));
  width: 2px; height: var(--vgp-gap); background: var(--vgp-rail); }
html:not(#vg0) #vgp.vgp .vgp-step-h { display: flex; align-items: center; gap: 12px; margin: 0 0 8px; }
html:not(#vg0) #vgp.vgp .vgp-num { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--vgp-g) !important; color: #fff !important; font: 700 19px/1 var(--vgp-ff-h) !important; }
html:not(#vg0) #vgp.vgp .vgp-step-t { margin: 0 !important; font: 700 18px/1.3 var(--vgp-ff-h) !important; color: var(--vgp-ink) !important; }
html:not(#vg0) #vgp.vgp .vgp-step-b { font-size: 16px !important; }
html:not(#vg0) #vgp.vgp .vgp-note { margin-top: 8px !important; font-size: 14px !important; line-height: 1.45 !important; color: var(--vgp-mut) !important; }
html:not(#vg0) #vgp.vgp .vgp-shot { margin: 12px 0 14px !important; }
html:not(#vg0) #vgp.vgp .vgp-shot img { display: block; width: auto !important; max-width: 100% !important; margin: 0 auto; border: 1px solid var(--vgp-line) !important; border-radius: 10px; background: #fff; }
html:not(#vg0) #vgp.vgp .vgp-shot figcaption { margin-top: 6px; font-size: 13px !important; line-height: 1.4 !important; color: var(--vgp-mut) !important; }

/* ── plain card, small heading, lists inside text, table, video, picture grid (01.10 04:00, for the old pages) ── */
html:not(#vg0) #vgp.vgp .vgp-card { margin: 0 0 var(--vgp-gap) !important; padding: 18px var(--vgp-pad) 16px !important;
  background: var(--vgp-card) !important; border-radius: var(--vgp-r); box-shadow: var(--vgp-sh); }
html:not(#vg0) #vgp.vgp .vgp-card > :is(.vgp-h2, .vgp-h3):first-child { margin-top: 0 !important; }
html:not(#vg0) #vgp.vgp .vgp-h3 { margin: 18px 0 8px !important; font: 700 17px/1.35 var(--vgp-ff-h) !important; color: var(--vgp-ink) !important; text-wrap: balance; }
html:not(#vg0) #vgp.vgp :is(.vgp-card, .vgp-step-b, .vgp-a, .vgp-callout) :is(ul, ol):not([role]) { margin: 0 0 10px !important; padding-left: 22px !important; }
html:not(#vg0) #vgp.vgp :is(.vgp-card, .vgp-step-b, .vgp-a, .vgp-callout) ul:not([role]) > li { list-style: disc !important; margin: 0 0 4px !important; padding: 0 !important; }
html:not(#vg0) #vgp.vgp :is(.vgp-card, .vgp-step-b, .vgp-a, .vgp-callout) ol:not([role]) > li { list-style: decimal !important; margin: 0 0 4px !important; padding: 0 !important; }
html:not(#vg0) #vgp.vgp .vgp-table { margin: 12px 0 !important; overflow-x: auto; -webkit-overflow-scrolling: touch; background: var(--vgp-card) !important;
  border-radius: var(--vgp-ri); box-shadow: var(--vgp-sh); }
html:not(#vg0) #vgp.vgp .vgp-table table { width: 100%; border-collapse: collapse; margin: 0 !important; font-size: 15px !important; line-height: 1.45 !important; }
html:not(#vg0) #vgp.vgp .vgp-table :is(th, td) { padding: 10px 12px !important; border: 0 !important; border-bottom: 1px solid var(--vgp-line) !important;
  text-align: left !important; vertical-align: top; background: transparent !important; }
html:not(#vg0) #vgp.vgp .vgp-table th { font-weight: 700; background: #fafcfb !important; }
html:not(#vg0) #vgp.vgp .vgp-table tr:last-child td { border-bottom: 0 !important; }
html:not(#vg0) #vgp.vgp .vgp-video { position: relative; margin: 12px 0 0 !important; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; }
html:not(#vg0) #vgp.vgp .vgp-video iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }
html:not(#vg0) #vgp.vgp .vgp-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 12px 0 0 !important; padding: 0 !important; list-style: none !important; }
html:not(#vg0) #vgp.vgp .vgp-gallery > li { margin: 0 !important; padding: 0 !important; list-style: none !important; }
html:not(#vg0) #vgp.vgp .vgp-gallery img { display: block; width: 100% !important; border: 1px solid var(--vgp-line) !important; border-radius: 10px; background: #fff; }

/* spacing between stacked blocks (01.10 04:30): a card / list / questions right after another block keeps the gap */
html:not(#vg0) #vgp.vgp :is(.vgp-steps, .vgp-faq, .vgp-links, .vgp-related, .vgp-table, .vgp-gallery, .vgp-callout, section, figure) + :is(.vgp-card, .vgp-steps, .vgp-faq, .vgp-related, .vgp-gallery) { margin-top: var(--vgp-gap) !important; }
html:not(#vg0) #vgp.vgp :is(.vgp-card, .vgp-step-b, .vgp-a) > .vgp-callout:last-child { margin-bottom: 0 !important; }
html:not(#vg0) #vgp.vgp :is(.vgp-card, .vgp-step-b, .vgp-a) > .vgp-callout:first-child { margin-top: 0 !important; }
html:not(#vg0) #vgp.vgp .vgp-shot a { display: block; }

/* ── callouts (info = soft green, warn = amber) ───────── */
html:not(#vg0) #vgp.vgp .vgp-callout { display: flex; align-items: flex-start; gap: 12px; margin: 16px 0 !important; padding: 14px 16px !important;
  border-left: 4px solid var(--vgp-g); border-radius: var(--vgp-ri); background: var(--vgp-gs) !important; font-size: 15px !important; line-height: 1.5 !important; }
html:not(#vg0) #vgp.vgp .vgp-callout--warn { border-left-color: var(--vgp-warn-bar); background: var(--vgp-warn-bg) !important; }
html:not(#vg0) #vgp.vgp .vgp-callout-ic { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--vgp-g2); }
html:not(#vg0) #vgp.vgp .vgp-callout--warn .vgp-callout-ic { color: var(--vgp-warn-ink); }
html:not(#vg0) #vgp.vgp .vgp-callout-t { display: block; margin: 0 0 2px; font-weight: 700; }
html:not(#vg0) #vgp.vgp .vgp-callout--warn .vgp-callout-t { color: var(--vgp-warn-ink) !important; }

/* ── FAQ: native <details>, several may stay open (no name attribute) ── */
html:not(#vg0) #vgp.vgp .vgp-faq { display: grid; gap: 10px; }
html:not(#vg0) #vgp.vgp .vgp-q { background: var(--vgp-card) !important; border-radius: var(--vgp-ri); box-shadow: var(--vgp-sh); overflow: hidden; }
html:not(#vg0) #vgp.vgp .vgp-q > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 14px 16px !important;
  list-style: none; cursor: pointer; font: 600 16px/1.35 var(--vgp-ff) !important; color: var(--vgp-ink) !important; }
html:not(#vg0) #vgp.vgp .vgp-q > summary::-webkit-details-marker { display: none; }
html:not(#vg0) #vgp.vgp .vgp-q > summary::marker { content: ""; }
html:not(#vg0) #vgp.vgp .vgp-q > summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px; border-right: 2px solid var(--vgp-g2);
  border-bottom: 2px solid var(--vgp-g2); transform: translateY(-2px) rotate(45deg); transition: transform .15s ease; }
html:not(#vg0) #vgp.vgp .vgp-q[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
html:not(#vg0) #vgp.vgp .vgp-q > summary:hover { background: #fafcfb !important; }
html:not(#vg0) #vgp.vgp .vgp-a { padding: 0 16px 16px !important; font-size: 15px !important; line-height: 1.55 !important; }
html:not(#vg0) #vgp.vgp .vgp-q[open] > .vgp-a { animation: vgpIn .2s ease; }

/* ── buttons ─────────────────────────────────────────── */
html:not(#vg0) #vgp.vgp .vgp-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; margin: 0;
  padding: 12px 22px !important; border: 0; border-radius: var(--vgp-ri); background: var(--vgp-g) !important; color: #fff !important;
  font: 700 19px/1.2 var(--vgp-ff-h) !important; text-decoration: none !important; box-shadow: 0 6px 16px rgba(31,143,78,.28);
  transition: transform .1s ease, background .15s ease; }
html:not(#vg0) #vgp.vgp .vgp-btn:hover { background: var(--vgp-g2) !important; color: #fff !important; }
html:not(#vg0) #vgp.vgp .vgp-btn:active { transform: scale(.98); }
html:not(#vg0) #vgp.vgp .vgp-btn--ghost { background: var(--vgp-card) !important; color: var(--vgp-g2) !important; border: 1.5px solid var(--vgp-g2);
  box-shadow: none; font-size: 17px !important; }
html:not(#vg0) #vgp.vgp .vgp-btn--ghost:hover { background: var(--vgp-gs) !important; color: var(--vgp-g2) !important; }
html:not(#vg0) #vgp.vgp .vgp-btn svg { width: 22px; height: 22px; flex: none; fill: currentColor; }

/* ── CTA + contact card + related links ──────────────── */
html:not(#vg0) #vgp.vgp :is(.vgp-cta, .vgp-contact) { margin: 28px 0 0; padding: 20px var(--vgp-pad) !important; background: var(--vgp-card) !important;
  border-radius: var(--vgp-r); box-shadow: var(--vgp-sh); }
html:not(#vg0) #vgp.vgp .vgp-cta { text-align: center !important; }
html:not(#vg0) #vgp.vgp :is(.vgp-cta, .vgp-contact) .vgp-h2 { margin: 0 0 6px !important; }
html:not(#vg0) #vgp.vgp .vgp-cta p { margin: 0 0 14px !important; }
html:not(#vg0) #vgp.vgp .vgp-hours { margin: 0 0 14px !important; font-size: 15px !important; color: var(--vgp-mut) !important; }
/* rating line of a card (09.10.2026, reviews page: «Отзывы на Google Картах») — a big number and a grey caption;
   Google's own rule for a rating shown by a business: say it is «в Google», give the date, no stars by the name */
html:not(#vg0) #vgp.vgp .vgp-cta .vgp-rating { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 8px; margin: 4px 0 0 !important; }
html:not(#vg0) #vgp.vgp .vgp-cta .vgp-rating + .vgp-note { margin: 2px 0 12px !important; }
html:not(#vg0) #vgp.vgp .vgp-rating-n { font: 700 28px/1.1 var(--vgp-ff-h) !important; color: var(--vgp-ink) !important; }
html:not(#vg0) #vgp.vgp .vgp-rating-of { font-size: 16px !important; color: var(--vgp-mut) !important; }
/* a second way under the button of a card: a text link with a finger-size target (44 px) */
html:not(#vg0) #vgp.vgp .vgp-cta .vgp-alt { margin: 4px 0 -8px !important; font-size: 16px !important; }
html:not(#vg0) #vgp.vgp .vgp-alt a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; }
/* one of two links by device (09.10.2026): .vgp-touch is for a finger (phone, tablet), .vgp-mouse for a mouse. Reason:
   the same Google address gives a phone a page with the reviews only, and a computer a Search page where other sites'
   ratings of the shop stand behind the review window — a computer gets Google Maps instead */
html:not(#vg0) #vgp.vgp .vgp-mouse { display: none !important; }
@media (hover: hover) and (pointer: fine) {
  html:not(#vg0) #vgp.vgp .vgp-mouse { display: flex !important; }
  html:not(#vg0) #vgp.vgp .vgp-touch { display: none !important; }
}
html:not(#vg0) #vgp.vgp .vgp-btns { display: grid; gap: 10px; }
html:not(#vg0) #vgp.vgp .vgp-links { margin: 0 !important; padding: 0 !important; list-style: none !important; background: var(--vgp-card) !important;
  border-radius: var(--vgp-r); box-shadow: var(--vgp-sh); overflow: hidden; }
html:not(#vg0) #vgp.vgp .vgp-links li { margin: 0 !important; padding: 0 !important; list-style: none !important; }
html:not(#vg0) #vgp.vgp .vgp-links li + li { border-top: 1px solid var(--vgp-line); }
html:not(#vg0) #vgp.vgp .vgp-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 12px 16px;
  color: var(--vgp-ink) !important; text-decoration: none !important; font-weight: 500; }
html:not(#vg0) #vgp.vgp .vgp-links a::after { content: ""; flex: none; width: 8px; height: 8px; border-top: 2px solid var(--vgp-g2); border-right: 2px solid var(--vgp-g2); transform: rotate(45deg); }
html:not(#vg0) #vgp.vgp .vgp-links a:hover { background: var(--vgp-gs) !important; }

@keyframes vgpIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { html:not(#vg0) #vgp.vgp * { animation: none !important; transition: none !important; } }

/* ── ≥ 600 px (large phones landscape, tablets, Fold main screen) ── */
@media (min-width: 600px) {
  html:not(#vg0) #vgp.vgp { padding: 12px 24px 48px; }
  html:not(#vg0) #vgp.vgp .vgp-step-b { padding-left: 48px; }
  html:not(#vg0) #vgp.vgp .vgp-btns { grid-auto-flow: column; justify-content: center; }
  html:not(#vg0) #vgp.vgp .vgp-cta .vgp-btn { width: auto; min-width: 260px; }
  html:not(#vg0) #vgp.vgp .vgp-contact .vgp-btns { grid-template-columns: 1fr 1fr; grid-auto-flow: row; justify-content: stretch; }
}
/* ── ≥ 900 px (desktop): one reading column, max 760 px ── */
@media (min-width: 900px) {
  html:not(#vg0) #vgp.vgp { --vgp-pad: 24px; --vgp-gap: 16px; font-size: 17px !important; padding: 16px 0 56px; }
  html:not(#vg0) #vgp.vgp .vgp-h1 { font-size: 30px !important; }
  html:not(#vg0) #vgp.vgp .vgp-h2 { font-size: 22px !important; margin-top: 40px !important; }
  html:not(#vg0) #vgp.vgp .vgp-step { padding: 22px var(--vgp-pad) 20px !important; }
  html:not(#vg0) #vgp.vgp .vgp-step-b { font-size: 17px !important; }
  html:not(#vg0) #vgp.vgp .vgp-card { padding: 22px var(--vgp-pad) 20px !important; }
  html:not(#vg0) #vgp.vgp .vgp-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
