/* Site header and product photography, scoped to the PlayStation landing. */
#site-header {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.1vw, 30px);
  min-height: 72px;
  padding: 8px max(var(--container-padding, 16px), calc((100% - var(--container-max-width, 1280px)) / 2 + var(--container-padding, 16px)));
  color: #171c24;
  background: #fff;
  border-bottom: 1px solid #e5e8ed;
}

#site-header .header-top-bar,
#site-header .header-nav-bar,
#site-header .header-top-inner,
#site-header .header-nav-inner {
  display: contents;
}

#site-header .header-brand-group {
  order: 1;
  flex: 0 0 auto;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

#site-header .header-logo-pill {
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#site-header a.header-logo-pill {
  padding-block: 4px;
}

#site-header .header-logo-img {
  width: clamp(108px, 13vw, 156px);
  height: auto;
}

#site-header .header-top-title {
  display: block;
  color: #515b6a;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.15;
}

#site-header .nav-links-row {
  order: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  gap: clamp(12px, 1.6vw, 24px);
  margin: 0;
}

#site-header .nav-item-link {
  min-height: 44px;
  margin: 0;
  padding: 0;
  color: inherit;
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;
  white-space: nowrap;
}

#site-header .nav-item-link:hover,
#site-header .header-phone-val:hover {
  color: var(--main-color);
}

#site-header .header-address-block {
  display: none;
}

#site-header .header-contact-block {
  order: 3;
  margin-left: auto;
  white-space: nowrap;
}

#site-header .header-phone-val {
  font-size: 15px;
  line-height: 1.3;
}

#site-header .header-schedule {
  margin-top: 2px;
  color: #586272;
  font-size: 11px;
}

#site-header .btn-top-call {
  order: 4;
  min-height: 42px;
  padding: 8px 15px;
  font-size: 13px;
  border-radius: 10px;
}

#site-header .burger-toggle-clean {
  order: 5;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  align-items: center;
  border-radius: 8px;
}

#site-header .burger-toggle-clean:hover {
  background: #f2f5f9;
}

#site-header .mobile-drawer-header .header-logo-img {
  width: 150px;
}

#site-header .btn-drawer-callback {
  display: inline-flex;
  width: 100%;
  margin-bottom: 8px;
}

#heroSlider .hero-slide {
  background: #f4f6f9;
}

#heroSlider .hero-slide-pic {
  inset: 50px 0 102px;
  height: auto;
}

#heroSlider .hero-slide-img {
  object-fit: contain;
}

#heroSlider .hero-slide-pic.hero-product-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(6px, 2vw, 18px);
  width: auto;
  inset-inline: clamp(10px, 2vw, 22px);
}

#heroSlider .hero-slide[data-category="portable"] .hero-product-gallery {
  grid-template-columns: 1.15fr 1fr 1fr;
}

#heroSlider .hero-product-gallery .hero-slide-img {
  mix-blend-mode: multiply;
  min-width: 0;
  min-height: 0;
}

#heroSlider .hero-slide-overlay {
  background: #151b25;
  padding: 13px 18px 15px;
}

#heroSlider .hero-slider-arrow:focus-visible,
#heroSlider .hero-slider-dot:focus-visible {
  outline: 2px solid #0072ce;
  outline-offset: 1px;
  box-shadow: none;
}

#devices img[src*="dualshock-4-jet-black-"],
#devices img[src*="playstation-portal-"] {
  object-fit: contain;
  padding: 8px;
  background: #fff;
}

@media (max-width: 1023px) {
  #site-header .nav-links-row { display: none; }
  #site-header .burger-toggle-clean { display: flex; }
}

@media (max-width: 600px) {
  #site-header {
    min-height: 61px;
    gap: 8px;
    padding-block: 6px;
  }

  #site-header .header-brand-group { gap: 3px; }
  #site-header .header-logo-img { width: clamp(100px, 31vw, 138px); }
  #site-header .header-top-title { font-size: 10px; }
  #site-header .header-phone-val { font-size: clamp(12px, 3.6vw, 15px); }
  #site-header .header-schedule,
  #site-header .header-nav-inner > .btn-top-call { display: none; }

  #heroSlider .hero-slide-pic { inset-block: 44px 108px; }
  #heroSlider .hero-slide-overlay { padding: 12px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  #heroSlider .hero-slide { transition: none; }
}
