/* Shtyrman × Sezon.ua — світлий магазинний стиль */
:root {
  --sz-bg: #ffffff;
  --sz-surface: #f7f9fb;
  --sz-ink: #2a2a2a;
  --sz-muted: #6b7280;
  --sz-line: #e8ecef;
  --sz-blue: #337ab7;
  --sz-blue-soft: #e0f2f7;
  --sz-mobile-head: #d6e9f5;
  --sz-radius: 10px;
  --sz-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

body {
  background: var(--sz-bg) !important;
  color: var(--sz-ink);
}

#content {
  background: var(--sz-bg) !important;
}

/* ── Topbar ── */
#sh-topbar {
  background: var(--sz-surface) !important;
  border-bottom: 1px solid var(--sz-line);
  padding: 6px 0 !important;
}
#sh-topbar .sh-phone {
  color: var(--sz-ink) !important;
  font-size: 12px !important;
}
#sh-topbar .sh-phone:hover { color: var(--sz-blue) !important; }
#sh-topbar .sh-socials a { color: var(--sz-muted) !important; }
#sh-topbar .sh-socials a:hover { color: var(--sz-ink) !important; }

/* ── Header (білий як Sezon) ── */
#sh-navbar {
  background: var(--sz-bg) !important;
  box-shadow: 0 1px 0 var(--sz-line) !important;
  border-bottom: 1px solid var(--sz-line);
}
#sh-navbar .sh-nav-inner {
  min-height: 64px !important;
  gap: 12px;
}
#sh-nav-menu .sh-mega-item > a,
#sh-nav-menu a {
  color: var(--sz-ink) !important;
}
#sh-nav-menu .sh-mega-item > a:hover,
#sh-nav-menu a:hover {
  background: var(--sz-blue-soft) !important;
  color: var(--sz-blue) !important;
}
#sh-nav-menu .sh-mega-dropdown {
  background: #fff !important;
  border: 1px solid var(--sz-line) !important;
  box-shadow: var(--sz-shadow) !important;
}
#sh-nav-menu .sh-mega-col-title { color: var(--sz-ink) !important; border-bottom-color: var(--sz-line) !important; }
#sh-nav-menu .sh-mega-subitem { color: var(--sz-muted) !important; }
#sh-nav-menu .sh-mega-subitem:hover { color: var(--sz-blue) !important; background: var(--sz-blue-soft) !important; }

#sh-search-inp,
#sh-search-wrap input[type="text"],
#sh-search-wrap input[name="search"],
#sh-search-wrap input[name="q"] {
  background: var(--sz-surface) !important;
  border: 1px solid var(--sz-line) !important;
  color: var(--sz-ink) !important;
  width: 200px !important;
}
#sh-search-inp::placeholder,
#sh-search-wrap input::placeholder { color: #9ca3af !important; }
#sh-search-wrap .btn,
#sh-search-wrap button[type="submit"] {
  background: var(--sz-blue-soft) !important;
  border: 1px solid var(--sz-line) !important;
  color: var(--sz-blue) !important;
}
#sh-search-ico { color: var(--sz-muted) !important; }

.sh-nav-icon-btn {
  color: var(--sz-blue) !important;
  font-weight: 600;
}
.sh-nav-icon-btn:hover {
  background: var(--sz-blue-soft) !important;
  color: var(--sz-blue) !important;
}
.sh-cart-btn {
  background: var(--sz-blue-soft) !important;
  color: var(--sz-blue) !important;
  border: 1px solid #c5e3f0 !important;
  font-weight: 700 !important;
}
.sh-cart-btn:hover {
  background: #cce8f4 !important;
  color: #286090 !important;
}
.sh-lang-wrap a {
  color: var(--sz-muted) !important;
  border-color: var(--sz-line) !important;
  background: var(--sz-surface) !important;
}
.sh-lang-wrap a.active {
  background: var(--sz-blue) !important;
  border-color: var(--sz-blue) !important;
  color: #fff !important;
}
#sh-burger span { background: var(--sz-ink) !important; }

/* ── Mobile header + search (як Sezon) ── */
@media (max-width: 991px) {
  #sh-topbar { display: block !important; padding: 4px 0 !important; }
  #sh-topbar .sh-socials { display: none; }
  #sh-navbar {
    background: var(--sz-mobile-head) !important;
    box-shadow: none !important;
    border-bottom: none !important;
  }
  #sh-navbar .sh-nav-inner {
    flex-wrap: wrap;
    min-height: 52px !important;
    padding-bottom: 0 !important;
  }
  #sh-search-wrap {
    display: block !important;
    order: 3;
    width: 100%;
    padding: 0 16px 12px;
    background: var(--sz-mobile-head);
  }
  #sh-search-wrap input[type="text"],
  #sh-search-wrap input[name="search"],
  #sh-search-wrap input[name="q"] {
    width: 100% !important;
    background: #fff !important;
    border-radius: 10px !important;
    padding: 11px 14px 11px 38px !important;
    border: none !important;
    box-shadow: var(--sz-shadow);
  }
  #sh-search-wrap .btn,
  #sh-search-wrap button[type="submit"] {
    display: none !important;
  }
  #sh-search-ico { color: var(--sz-muted) !important; left: 12px; }
}

/* ── Mobile bottom bar (білий як Sezon) ── */
#sh-mobile-bottom-bar {
  background: #fff !important;
  border-top: 1px solid var(--sz-line) !important;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06) !important;
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom, 0px)) !important;
}
#sh-mobile-bottom-bar a {
  color: var(--sz-muted) !important;
  font-size: 9px !important;
  font-weight: 600;
}
#sh-mobile-bottom-bar a i { font-size: 22px !important; color: var(--sz-ink); }
#sh-mobile-bottom-bar a:hover,
#sh-mobile-bottom-bar a.active { color: var(--sz-blue) !important; }
#sh-mobile-bottom-bar a:hover i,
#sh-mobile-bottom-bar a.active i { color: var(--sz-blue) !important; }
#sh-mobile-bottom-bar .sh-mob-bar-cart {
  background: transparent !important;
  color: var(--sz-muted) !important;
}
#sh-mobile-bottom-bar .sh-mob-bar-cart i { color: var(--sz-ink) !important; }

/* ── Product cards (чисті білі картки) ── */
.product-thumb {
  background: #fff !important;
  border: 1px solid var(--sz-line) !important;
  border-radius: var(--sz-radius) !important;
  box-shadow: none !important;
}
.product-thumb:hover {
  box-shadow: var(--sz-shadow) !important;
  transform: translateY(-2px) !important;
  border-color: #d1d5db !important;
}
.product-thumb .caption { padding: 12px !important; }
.product-thumb .button-group { padding: 0 12px 12px !important; }

/* ── Home: Sezon layout ── */
.sh-sezon-home { background: var(--sz-bg); }
#common-home { padding-bottom: 24px; }

.sh-sezon-banner {
  display: block;
  position: relative;
  overflow: hidden;
  margin: 0;
  text-decoration: none !important;
  color: #fff !important;
}
.sh-sezon-banner img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 5;
  object-fit: cover;
}
.sh-sezon-banner-text {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.sh-sezon-banner-text small {
  display: block;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.95;
  margin-bottom: 4px;
}
.sh-sezon-banner-text strong {
  display: block;
  font-size: clamp(28px, 6vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.sh-sezon-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px 0 16px;
}
.sh-sezon-duo-card {
  display: block;
  background: #fff;
  border-radius: var(--sz-radius);
  overflow: hidden;
  text-decoration: none !important;
  color: var(--sz-ink) !important;
  box-shadow: var(--sz-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sh-sezon-duo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.sh-sezon-duo-card .sh-promo-img-wrap,
.sh-sezon-promo .sh-promo-img-wrap {
  aspect-ratio: 1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.sh-sezon-duo-card img,
.sh-sezon-promo img {
  width: 100%;
  max-height: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain !important;
  display: block;
  background: #fff;
}
.sh-sezon-duo-card span {
  display: block;
  padding: 10px 12px 12px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.sh-sezon-promo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.sh-sezon-promo {
  display: block;
  border-radius: var(--sz-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--sz-shadow);
  text-decoration: none !important;
  color: var(--sz-ink) !important;
  transition: transform 0.2s ease;
}
.sh-sezon-promo:hover { transform: translateY(-2px); }
.sh-sezon-promo .sh-promo-img-wrap {
  aspect-ratio: 1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.sh-sezon-promo img {
  width: 100%;
  max-height: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain !important;
  display: block;
  background: #fff;
}
.sh-sezon-promo span {
  display: block;
  padding: 8px 10px 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.sh-sezon-section-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--sz-ink);
  margin: 8px 0 14px;
  letter-spacing: -0.02em;
}
.sh-sezon-section-title em {
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  color: var(--sz-muted);
  margin-left: 8px;
}

.sh-benefits {
  background: var(--sz-surface) !important;
  border-bottom: 1px solid var(--sz-line) !important;
  padding: 12px 0 !important;
}
.sh-benefit-text strong { color: var(--sz-ink) !important; }

/* Приховуємо старий градієнтний hero */
.sh-hero-cover { display: none !important; }

@media (max-width: 767px) {
  .sh-sezon-banner img { aspect-ratio: 4 / 3; }
  .sh-sezon-banner-text { left: 16px; bottom: 16px; }
  .sh-sezon-banner-text strong { font-size: 26px; }
  .sh-sezon-promo-grid { grid-template-columns: repeat(2, 1fr); }
  .sh-sezon-duo { gap: 8px; margin-top: 8px; }
}

@media (min-width: 992px) {
  .sh-sezon-banner { border-radius: 0; }
  .sh-sezon-duo { gap: 14px; margin: 16px 0 20px; }
}

/* ══════════════════════════════════════════
   POLISH v2 — після браузер-аудиту
   ══════════════════════════════════════════ */

/* Desktop: 2 рядки header — лого+пошук+кошик, потім меню */
@media (min-width: 992px) {
  #sh-navbar .sh-nav-inner {
    flex-wrap: wrap !important;
    align-items: center !important;
    min-height: auto !important;
    padding-top: 8px !important;
    padding-bottom: 4px !important;
    row-gap: 0 !important;
  }
  #sh-navbar .sh-logo { order: 1; margin-right: 12px !important; }
  #sh-search-wrap { order: 2; flex: 1; max-width: 460px; margin-left: 0 !important; }
  #sh-nav-right { order: 3; margin-left: auto !important; }
  #sh-nav-menu {
    order: 10 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    overflow: visible !important;
    max-height: none !important;
    border-top: 1px solid var(--sz-line);
    margin-top: 4px;
    padding-top: 6px !important;
    padding-bottom: 8px !important;
  }
  .sh-nav-menu-track { max-height: 42px; }
  #sh-nav-menu .sh-mega-item > a {
    padding: 6px 11px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
  }
  html { scroll-padding-top: 120px; }
}

/* Головна: товари вище переваг, сітка як Sezon */
#common-home .sh-benefits { order: 2; }
#common-home .sh-products-block { order: 1; }
#common-home > .container.sh-cats-wrap { order: 3; }
#common-home {
  display: flex;
  flex-direction: column;
}
#common-home .sh-products-block .row {
  --bs-gutter-x: 10px;
  --bs-gutter-y: 10px;
}
#common-home .product-thumb .image img {
  aspect-ratio: 1 !important;
  object-fit: contain !important;
  background: #fafafa;
}
#common-home .product-thumb .caption h4 a { font-size: 13px; }

/* Категорія: текст не займає весь екран */
#product-category .category-description,
#product-category #content .description {
  max-height: 120px;
  overflow: hidden;
  position: relative;
}
#product-category .category-description.is-expanded,
#product-category #content .description.is-expanded {
  max-height: none;
}
#product-category .sh-cat-readmore {
  display: inline-block;
  margin: 8px 0 16px;
  color: var(--sz-blue);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}
#product-category h1 { font-size: 22px !important; }

/* Товар: sticky над нижньою панеллю */
@media (max-width: 991px) {
  .sticky-buy-bar { bottom: 64px !important; }
  #product-info { padding-bottom: 140px !important; }
}

/* Binotel + cookie — не перекривають CTA */
#bingc-phone-button,
.bingc-phone-button,
[id*="bingc-phone-button"] {
  bottom: 70px !important;
  z-index: 1300 !important;
}
@media (min-width: 992px) {
  #bingc-phone-button,
  .bingc-phone-button,
  [id*="bingc-phone-button"] {
    bottom: 20px !important;
  }
}

/* Мобільне меню — світле */
#sh-mobile-nav {
  background: #fff !important;
  color: var(--sz-ink) !important;
}
#sh-mobile-nav a,
#sh-mobile-nav .sh-mob-cat-link { color: var(--sz-ink) !important; }
#sh-mobile-nav .sh-mob-subcat-link { color: var(--sz-muted) !important; }
#sh-mobile-nav .sh-mob-divider { color: var(--sz-muted) !important; }
#sh-mob-close { color: var(--sz-ink) !important; }
#sh-mobile-nav .sh-mob-search {
  background: var(--sz-surface) !important;
  border: 1px solid var(--sz-line) !important;
  color: var(--sz-ink) !important;
}
#sh-mobile-nav .sh-mob-cart {
  background: linear-gradient(135deg, #f5a623, #e09a1a) !important;
  color: #fff !important;
}

/* Breadcrumbs */
ol.breadcrumb .breadcrumb-item a { color: var(--sz-blue) !important; }