/* Vodokachka shop brand system */
:root { --brand-blue:#1C378F; --brand-red:#E8394E; --brand-ink:#17254a; --brand-bg:#f6f8fd; --brand-border:#dbe2f1; }
body { background:var(--brand-bg); color:var(--brand-ink); }
a { color:var(--brand-blue); }
a:hover { color:var(--brand-red); }
.pagination { flex-wrap: wrap; }
.pagination a { color: var(--brand-blue); }
.pagination a:hover { text-decoration: underline; }
.page-jump { display: flex; align-items: center; gap: 8px; }
.page-jump input { width: 4.5rem; padding: 8px; }
.page-jump button { padding: 8px 12px; }
.catalog-choices { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:12px; }
.catalog-choices a {
  padding:8px 13px;
  border:1px solid var(--brand-border);
  border-radius:8px;
  background:#fff;
  color:var(--brand-blue);
}
.catalog-choices a:hover { border-color:var(--brand-blue); }
.catalog-choices a[aria-current] { background:var(--brand-blue); color:#fff; border-color:var(--brand-blue); }
.popular-teams { margin-top:24px; }
.popular-teams h2 { font-size:18px; margin:0 0 12px; }
.catalog-filters .clear { justify-self:start; }
.shirt-price { color:var(--brand-blue); font-size:1.125rem; font-weight:800; margin:8px 0; }
.product-side .shirt-price { font-size:1.625rem; }
.hero.catalog-hero { padding:24px 0 20px; }
.catalog-hero h1 { max-width:780px; margin:0 0 12px; font-size:clamp(24px,4vw,40px); letter-spacing:-.025em; }
.bundle-prices { display:flex; flex-wrap:wrap; gap:8px 20px; margin:0 0 16px; color:var(--brand-blue); }
.catalog-hero .bundle-prices { margin:0; color:var(--brand-blue); font-size:1rem; }
.nav-cart { display:inline-flex; gap:5px; align-items:center; min-height:36px; }
.nav-cart .cart-count { color:var(--brand-blue); font-weight:700; letter-spacing:0; }
.nav nav { align-items:center; }
.faq-page details { padding:14px 0; border-bottom:1px solid var(--brand-border); }
.faq-page summary { cursor:pointer; font-weight:700; }
.kit-review-item { display:flex; gap:12px; align-items:center; }
.kit-review-item img { width:76px; height:84px; flex:none; object-fit:contain; }
.kit-review-title { margin-top:8px; }
.kit-review-save { position:sticky; bottom:0; padding:12px 0; background:var(--brand-bg); }
.admin-product-source { max-width:800px; }
.admin-product-photos { margin:32px 0; }
.admin-photo-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:12px; margin:0 0 16px; }
.admin-photo-grid > div { padding:10px; background:#fff; border:1px solid var(--brand-border); border-radius:8px; overflow-wrap:anywhere; }
.admin-photo-grid img { width:100%; height:140px; object-fit:contain; }
.admin-photo-grid p { margin:6px 0; }
@media (max-width:540px) {
  header .nav nav { gap:10px; font-size:12px; }
  header .nav .vodokachka-logo { gap:6px; }
  header .nav .nav-cart .cart-count { display:inline; }
}
.cart-items { list-style:none; padding:0; max-width:720px; }
.cart-items li { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; padding:16px 0; border-bottom:1px solid var(--brand-border); }
.cart-items p { line-height:1.5; margin:6px 0; }
.checkout-form, .legal-page { max-width:720px; margin-bottom:32px; }
.checkout-form p { margin:0; }
.legal-page p { line-height:1.55; }
.shop-footer { background:#171717; color:#b3b3b3; padding:60px 0 80px; border:0; }
.shop-footer-grid {
  max-width:1440px; display:grid; grid-template-columns:minmax(0, 1fr) 190px 185px;
  gap:32px; align-items:start;
}
.shop-footer-about { max-width:420px; }
.shop-footer-brand { display:inline-block; }
.shop-footer-brand img { display:block; }
.shop-footer-about .shop-footer-brand + p { margin-top:42px; }
.shop-footer p { margin:24px 0 0; line-height:1.5; }
.shop-footer h2 {
  margin:0 0 14px; font-size:1rem; font-weight:700;
  text-transform:uppercase; letter-spacing:.06em; color:#aaa;
}
.shop-footer nav { display:grid; justify-items:start; gap:10px; }
.shop-footer nav h2 { margin:0 0 4px; }
.shop-footer a { color:#fff; overflow-wrap:anywhere; }
.shop-footer a:hover { color:#fff; text-decoration:underline; }
.shop-footer .shop-footer-telegram { padding:7px 12px; border:1px solid #777; border-radius:7px; }
.legal-page { padding-top:28px; }
.legal-page h1 { margin-bottom:32px; }
.seller-details { display:grid; grid-template-columns:minmax(9rem, 1fr) minmax(0, 2fr); }
.seller-details dt, .seller-details dd {
  margin:0; padding:11px 0; border-bottom:1px solid var(--brand-border);
}
.seller-details dt { padding-right:12px; font-weight:700; }
.seller-details dd { overflow-wrap:anywhere; }
@media (max-width:700px) {
  .shop-footer { padding:40px 0 48px; }
  .shop-footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:26px 18px; }
  .shop-footer-about { grid-column:1/-1; }
  .legal-page { padding-top:16px; }
}
dialog.gallery-lightbox {
  width:100%; height:100dvh; max-width:none; max-height:none;
  margin:0; padding:48px 8px 12px; border:0; background:transparent;
}
dialog.gallery-lightbox[open] {
  display:grid; grid-template-columns:auto minmax(0, 1fr) auto;
  align-items:center; gap:6px;
}
dialog.gallery-lightbox::backdrop { background:rgba(0,0,0,.88); }
.gallery-lightbox .lightbox-close { position:absolute; top:8px; right:12px; padding:8px 12px; }
.gallery-lightbox .lightbox-prev { grid-column:1; }
.gallery-lightbox .lightbox-next { grid-column:3; }
.gallery-lightbox .lightbox-next, .gallery-lightbox .lightbox-prev { padding:10px; font-size:1.2rem; }
.gallery-lightbox .lightbox-photo {
  grid-column:2; display:block; justify-self:center;
  max-width:100%; max-height:calc(100dvh - 60px); padding:0;
}
.gallery-lightbox button.lightbox-photo { background:transparent !important; }
.lightbox-photo img { display:block; max-width:100%; max-height:calc(100dvh - 60px); object-fit:contain; }
img[src$="/media/192019566/e1bc40d3.jpeg"] { object-view-box:inset(16.1% 3.2% 16.3% 3.6%); }
header, .site-header { border-bottom:2px solid var(--brand-blue); }
button, .button, .btn, .order-form button, input[type=submit] { background:var(--brand-blue); color:#fff; border-color:var(--brand-blue); }
button:hover, .button:hover, .btn:hover, .order-form button:hover { background:#294bb0; color:#fff; }
input:focus,select:focus,textarea:focus { outline:2px solid var(--brand-blue); outline-offset:1px; }
.card, .product-card { border-color:var(--brand-border); }
.eyebrow, .breadcrumb a { color:var(--brand-blue); }
.products .tag { color:var(--brand-red); }
#product-gallery .gallery-thumb { background:var(--brand-blue); }
#product-gallery .gallery-thumb:hover { background:var(--brand-blue); }
#product-gallery .gallery-thumb.active { border-color:var(--brand-blue); }
#product-gallery .gallery-thumb:focus-visible { outline:2px solid var(--brand-blue); outline-offset:2px; }
.size-filters { grid-column:1/-1; display:flex; flex-wrap:wrap; gap:8px 16px; margin:0; padding:8px 0 2px; border:0; }
.size-filters legend { font-size:.875rem; font-weight:700; }
.size-filters label { display:inline-flex; align-items:center; gap:4px; cursor:pointer; }
.size-filters input { width:auto; accent-color:var(--brand-blue); }
.gallery-controls { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:12px 0; }
.gallery-controls button { width:52px; height:42px; padding:0 !important; display:inline-flex !important; align-items:center !important; justify-content:center !important; line-height:1 !important; font-size:22px !important; font-weight:600; background:var(--brand-blue) !important; color:white !important; border:0 !important; border-radius:8px; }
.gallery-controls button:hover { background:var(--brand-red) !important; }
.gallery-zoom { background:var(--brand-blue) !important; color:#fff !important; border:0 !important; }
.gallery-zoom:hover { background:var(--brand-red) !important; }
.gallery-lightbox button { background:var(--brand-blue) !important; color:white !important; }
.vodokachka-brand { display:inline-flex; align-items:center; gap:10px; text-decoration:none; color:var(--brand-blue); font-weight:900; letter-spacing:.02em; }
.vodokachka-brand .brand-mark { background:var(--brand-blue); color:white; padding:8px 10px; border-radius:8px; font-weight:900; }
.vodokachka-brand .brand-word { font-size:17px; }
.vodokachka-brand .brand-caption { font-size:10px; font-weight:600; color:var(--brand-red); display:block; }
@media(max-width:700px){.gallery-controls button{width:46px;height:42px}.vodokachka-brand .brand-word{font-size:14px}}

/* Always visible and geometrically centered controls */
#product-gallery .gallery-controls button#gallery-prev,
#product-gallery .gallery-controls button#gallery-next {
  display:flex !important; align-items:center !important; justify-content:center !important;
  width:52px !important; height:46px !important; min-height:46px !important;
  padding:0 !important; margin:0 !important; line-height:0 !important;
  background:#1C378F !important; color:#fff !important;
  border:0 !important; border-radius:9px !important;
  box-shadow:none !important; vertical-align:middle !important;
}
#product-gallery .gallery-controls button#gallery-prev svg,
#product-gallery .gallery-controls button#gallery-next svg {
  display:block !important; flex:none !important; width:22px !important; height:22px !important;
  margin:0 !important; padding:0 !important; transform:none !important; stroke:#fff !important;
}
#product-gallery .gallery-main button#gallery-zoom {
  background:#1C378F !important; background-color:#1C378F !important;
  color:#fff !important; border:0 !important; border-radius:9px !important;
  padding:10px 14px !important; font-weight:700 !important;
}
#product-gallery .gallery-main button#gallery-zoom:hover,
#product-gallery .gallery-controls button#gallery-prev:hover,
#product-gallery .gallery-controls button#gallery-next:hover {
  background:#E8394E !important; background-color:#E8394E !important; color:#fff !important;
}

/* Always visible and geometrically centered controls */
#product-gallery .gallery-controls button#gallery-prev,
#product-gallery .gallery-controls button#gallery-next {
  display:flex !important; align-items:center !important; justify-content:center !important;
  width:52px !important; height:46px !important; min-height:46px !important;
  padding:0 !important; margin:0 !important; line-height:0 !important;
  background:#1C378F !important; color:#fff !important;
  border:0 !important; border-radius:9px !important;
  box-shadow:none !important; vertical-align:middle !important;
}
#product-gallery .gallery-controls button#gallery-prev svg,
#product-gallery .gallery-controls button#gallery-next svg {
  display:block !important; flex:none !important; width:22px !important; height:22px !important;
  margin:0 !important; padding:0 !important; transform:none !important; stroke:#fff !important;
}
#product-gallery .gallery-main button#gallery-zoom {
  background:#1C378F !important; background-color:#1C378F !important;
  color:#fff !important; border:0 !important; border-radius:9px !important;
  padding:10px 14px !important; font-weight:700 !important;
}
#product-gallery .gallery-main button#gallery-zoom:hover,
#product-gallery .gallery-controls button#gallery-prev:hover,
#product-gallery .gallery-controls button#gallery-next:hover {
  background:#E8394E !important; background-color:#E8394E !important; color:#fff !important;
}
