/* Vozira v5 storefront theme — layered on cand4 styles. Keeps APIs/routes intact. */
:root {
  --vz-ink: #0d2344;
  --vz-ink-2: #1c3557;
  --vz-muted: #61728c;
  --vz-line: #dce5f1;
  --vz-line-soft: #e8eef7;
  --vz-bg: #ffffff;
  --vz-bg-soft: #f7faff;
  --vz-bg-tint: #f2f6fc;
  --vz-blue: #245ceb;
  --vz-blue-dark: #174cd3;
  --vz-blue-soft: #e8f0ff;
  --vz-green: #0f9f6e;
  --vz-shadow: 0 10px 30px rgba(28, 69, 140, 0.08);
  --vz-radius: 16px;
  --vz-radius-sm: 11px;
  --vz-max: 1180px;
}

body {
  color: var(--vz-ink);
  background: var(--vz-bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.container { width: min(100% - 40px, var(--vz-max)); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--vz-line-soft);
  box-shadow: none;
}
.site-header .nav,
.site-header .container.nav {
  min-height: 72px;
  gap: 20px;
}
.site-header .brand {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--vz-ink);
}
.site-header .nav-links a {
  padding: 8px 14px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 500;
  color: var(--vz-muted);
}
.site-header .nav-links a:hover {
  color: var(--vz-ink);
  background: var(--vz-bg-soft);
}
.site-header .nav-links a.active {
  color: var(--vz-ink);
  background: transparent;
  font-weight: 650;
  box-shadow: inset 0 -2px 0 var(--vz-blue);
}

/* Buttons */
.btn {
  border-radius: var(--vz-radius-sm);
  font-weight: 650;
  min-height: 44px;
  transition: 0.15s ease;
}
.btn-primary {
  background: var(--vz-blue);
  border-color: var(--vz-blue);
  color: #fff;
  box-shadow: 0 7px 19px rgba(36, 92, 235, 0.22);
}
.btn-primary:hover {
  background: var(--vz-blue-dark);
  border-color: var(--vz-blue-dark);
}
.btn-lg {
  min-height: 52px;
  padding: 12px 22px;
  font-size: 15px;
  border-radius: 13px;
}
.btn-secondary {
  background: #fff;
  color: var(--vz-ink);
  border: 1px solid var(--vz-line);
}

/* Hero — single primary CTA */
.v5-hero .v-hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 22px auto 18px;
}
.v5-hero .v-hero-bottom { display: none; }
.home-hero.v-hero h1 {
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.home-hero.v-hero h1 span {
  color: var(--vz-blue);
}
.v-hero-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--vz-line);
  border-radius: 14px;
  padding: 8px 10px 8px 16px;
  box-shadow: var(--vz-shadow);
  max-width: 640px;
}
.v-hero-search input {
  flex: 1;
  border: 0;
  outline: none;
  min-height: 40px;
  background: transparent;
  color: var(--vz-ink);
}
.v-searches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 16px;
  color: var(--vz-muted);
  font-size: 13px;
}
.v-searches a {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--vz-bg-soft);
  border: 1px solid var(--vz-line-soft);
  color: var(--vz-ink-2);
  font-weight: 600;
}
.v-searches a:hover {
  border-color: var(--vz-blue);
  color: var(--vz-blue);
  background: var(--vz-blue-soft);
}

/* Final CTA single button */
.home-final-cta .v-cta-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.home-final-cta .v-cta-actions a:not(.btn) { display: none; }

/* Product cards */
.product-card,
.catalog-grid .product-card,
a.product-card {
  border-radius: var(--vz-radius);
  border: 1px solid var(--vz-line-soft);
  box-shadow: var(--vz-shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.product-card:hover,
a.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(28, 69, 140, 0.12);
}

/* Footer */
.site-footer,
.home-active .site-footer {
  background: #f7faff;
  color: #52647d;
  border-top: 1px solid var(--vz-line);
  margin-top: 64px;
}
.site-footer .footer-brand p,
.site-footer .footer-links a {
  color: #52647d;
  font-size: 13px;
}
.site-footer .footer-links a:hover,
.site-footer .footer-links a:focus-visible {
  color: var(--vz-blue-dark);
  text-decoration: underline;
  text-underline-offset: .22em;
}
.site-footer .brand { color: var(--vz-ink); }
.site-footer .footer-heading {
  color: var(--vz-ink);
  font-weight: 700;
  margin-bottom: 12px;
}
.site-footer .footer-bottom {
  border-top: 1px solid var(--vz-line);
  color: #52647d;
}

/* Hide residual demo banners if any CSS class still renders */
.preview-banner,
.demo-banner,
[data-demo-banner] { display: none !important; }

/* Commerce / account shells */
.commerce-shell,
.page-background {
  background: #fff;
}
.panel,
.account-card,
.checkout-card,
.commerce-panel {
  border-radius: var(--vz-radius);
  border-color: var(--vz-line-soft);
  box-shadow: var(--vz-shadow);
}

/* Initial loading — keep calm, production tone */
.initial-loading {
  color: var(--vz-muted);
}
.initial-loading .loader {
  border-color: var(--vz-line);
  border-top-color: var(--vz-blue);
}

@media (max-width: 720px) {
  .v5-hero .v-hero-actions .btn { width: 100%; }
  .v-hero-search { flex-wrap: wrap; }
  .v-hero-search .btn { width: 100%; }
}


/* v5b — platform logos stay square; fix tall SVG blow-ups (Yandex etc.) */
.platform-icon.platform-logo,
.platform-directory-card .platform-icon {
  overflow: hidden;
  border-radius: 10px;
  background: #f4f7fb;
  display: grid;
  place-items: center;
}
.platform-logo img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  display: block;
}
.platform-directory-card .platform-icon img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

/* Dark advantages section: readable contrast */
.v-advantages {
  background: #152a4a;
}
.v-advantage-head h2 { color: #f3f7ff; }
.v-advantage-head > p:last-child,
.v-advantage-grid p { color: #c5d6ef; }
.v-advantage-grid h3 { color: #eef4ff; }
.v-advantage-grid article { border-top-color: #3a536f; }
.v-advantage-head > .v-eyebrow { color: #9eb6d8; }

/* PDP: logo must not overlap breadcrumb / title */
.breadcrumb {
  position: relative;
  z-index: 1;
  padding-top: 28px;
  margin-bottom: 4px;
}
.product-detail-heading {
  align-items: flex-start;
  gap: 16px;
}
.product-detail-heading .platform-logo.large,
.product-detail-heading .platform-icon.large {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  min-width: 56px;
  max-width: 56px;
  margin-top: 2px;
}
.product-detail-heading > div {
  min-width: 0;
  flex: 1;
}
.product-detail-heading h1 {
  margin-top: 4px;
}

@media (max-width: 720px) {
  .site-header .nav-links a.active {
    box-shadow: none;
    background: var(--vz-bg-soft);
  }
  .v5-hero .v-hero-actions { width: 100%; }
}

/* Returning guests can find their order without opening the mobile menu. */
.guest-order-nav,
.guest-order-shortcut,
.guest-order-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  color: #344e71;
  border-radius: 9px;
}
.guest-order-nav { padding: 8px 11px; }
.guest-order-nav:hover,
.guest-order-nav:focus-visible,
.guest-order-nav[aria-current="page"],
.guest-order-shortcut:hover,
.guest-order-shortcut:focus-visible,
.guest-order-shortcut[aria-current="page"] {
  color: var(--vz-blue-dark);
  background: var(--vz-blue-soft);
}
.guest-order-mobile { display: none; }
.guest-order-help { color: #52647d; font-weight: 500; }
.guest-order-help:hover,
.guest-order-help:focus-visible { color: var(--vz-blue-dark); text-decoration: underline; }

/* Keep the blue/white palette, with stronger secondary text on pale panels. */
.v-home-refined .v-trust-grid p,
.v-home-refined .v-section-intro,
.v-home-refined .v-usecase-card p,
.v-home-refined .home-current-products .section-heading p,
.v-home-refined .v-discovery-title p:not(.v-eyebrow),
.v-home-refined .v-faq .faq-item p,
.v-home-refined .v-cta p:not(.v-eyebrow) { color: #596c85; }
.v-home-refined .v-eyebrow,
.v-home-refined .v-cta .v-eyebrow { color: #526c90; }
.v-home-refined .v-discovery-heading > span,
.v-home-refined .v-more-platforms summary { color: #596c85; font-size: 11px; }
.v-home-refined .v-example-types > a > span,
.v-home-refined .v-choice-steps li > span { color: #9cb3d5; }

@media (max-width: 640px) {
  .site-header,
  .home-active .site-header { height: auto; }
  .site-header > .container.nav { height: 68px; min-height: 68px; }
  .site-header .nav-end { gap: 6px; }
  .site-header .guest-order-nav { display: none; }
  .guest-order-mobile { display: block; background: #f7faff; border-top: 1px solid var(--vz-line-soft); }
  .guest-order-mobile-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
  .guest-order-shortcut { padding: 0 8px; margin-left: -8px; }
  .site-header .nav-links { top: 100%; }
  #catalog-results,
  .v-home-refined #shop-by-use,
  .v-home-refined #platform-discovery,
  .v-home-refined #how-it-works { scroll-margin-top: 128px; }
}
@media (max-width: 360px) {
  .site-header > .container.nav { gap: 8px; }
  .site-header .brand-lockup { height: 23px; }
  .site-header .nav-end { gap: 4px; }
  .site-header [data-vozira-session-slot] { min-width: 90px; }
  .site-header .nav-session-slot .btn { padding: 8px; font-size: 11px; gap: 5px; }
}
