/* Brainlab storefront refresh: restrained, product-first visual layer. */
:root {
  --store-bg: #faf8f6;
  --store-surface: #fff;
  --store-ink: #29272a;
  --store-muted: #68646a;
  --store-line: #e8e2e2;
  --store-accent: #b43f57;
  --store-accent-soft: #f8edef;
  --store-radius: 14px;
  --store-shadow: 0 8px 28px rgba(48, 35, 39, .06);
}

html { background: var(--store-surface); }
body { color: var(--store-ink); }

a { transition: color .18s ease, background-color .18s ease, border-color .18s ease; }

:where(a, button, [role="button"], input, select):focus-visible {
  outline: 2px solid var(--store-accent);
  outline-offset: 3px;
}

.header {
  background: var(--store-surface);
  box-shadow: 0 1px 0 rgba(41, 39, 42, .07);
}

.header__top { background: var(--store-bg); }
.header__top .container { min-height: 38px; }
.header__links a, .header__btns-item { color: var(--store-muted); }
.header__bot { padding-top: 12px; padding-bottom: 12px; }
.header__logo img { width: 116px; height: 62px; }
.header__catalog { border-radius: 999px; }
.header__catalog:hover { background: var(--store-accent-soft); }
.header__bot-btn, .header__cart { color: var(--store-ink); }
.header__bot-btn svg path, .header__cart svg path { transition: fill .18s ease; }
.header__bot-btn:hover svg path, .header__cart:hover svg path { fill: var(--store-accent); }

.hero { padding-top: 24px; }
.hero__text { max-width: 460px; }
.hero-sub { color: var(--store-accent); letter-spacing: .12em; }
.hero-title { color: var(--store-ink); line-height: 1.08; }
.hero-btn, .btn-load, .product-btn { border-radius: 999px; }
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 26px;
  background: var(--store-accent);
  border-color: var(--store-accent);
  color: #fff;
}
.hero-btn a { color: inherit; text-decoration: none; }
.hero-btn:hover, .product-btn:hover {
  background: #923247;
  border-color: #923247;
  color: #fff;
}
.hero__img img { border-radius: 4px; }
.hero__navigation > * { color: var(--store-ink); }

.title, .product-title, .card-title { color: var(--store-ink); }
.leader__top { align-items: end; }
.leader__tab { border-radius: var(--store-radius); }

.leader .card {
  border: 1px solid rgba(41, 39, 42, .07);
  border-radius: var(--store-radius);
  background: var(--store-surface);
  transition: box-shadow .2s ease;
}
.leader .card:hover { box-shadow: var(--store-shadow); }
.leader .card__img { padding-top: 132%; overflow: hidden; }
.leader .card__img img { border-radius: var(--store-radius) var(--store-radius) 0 0; }
.leader .card__text { gap: 8px; margin-right: 0; padding: 16px; border-radius: 0 0 var(--store-radius) var(--store-radius); }
.card-title { height: auto; min-height: 2.6em; line-height: 1.35; }
.card-item { top: 10px; left: 10px; padding: 6px 10px; border-radius: 999px; font-size: 11px; }
.card-fav { top: 10px; right: 10px; width: 40px; height: 40px; background: rgba(255,255,255,.94); }
.card__price .h3 { color: var(--store-ink); }
.card-sale { background: var(--store-accent); }

.suit .sub-category-section { margin: 0 0 28px; }
.suit .sub-category-container { gap: 10px; }
.suit .sub-category-item {
  min-height: 46px;
  padding: 10px 14px;
  border-color: var(--store-line);
  border-radius: 999px;
  box-shadow: none;
}
.suit .sub-category-item .h4 { font-size: 13px; font-weight: 500; }
.suit .sub-category-item:hover {
  color: var(--store-accent);
  border-color: var(--store-accent);
  background: var(--store-accent-soft);
  box-shadow: none;
}
.suit .sub-category-toggle-btn {
  border-radius: 999px;
  color: var(--store-accent);
}
#product-block.list__items { gap: 30px 20px !important; background: var(--store-bg); }
#product-block .card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: none;
}
#product-block .card:hover { box-shadow: none; }
#product-block .card__img { padding-top: 142.056%; }
#product-block .card__img img {
  border-radius: 8px;
  transition: transform .28s ease;
}
#product-block .card:hover .card__img img { transform: scale(1.025); }
#product-block .card:hover .card-title { color: var(--store-accent); }
#product-block .card:hover .card-fav { background: var(--store-accent-soft); }
#product-block .card__text {
  margin-right: 0;
  padding: 14px 0 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
#product-block .card.active {
  position: relative;
  z-index: 150 !important;
  overflow: visible !important;
}
#product-block .card.active .card__text {
  padding-bottom: 14px;
  border-radius: 0 0 12px 12px;
  background: var(--store-surface);
  box-shadow: 0 10px 12px -7px rgba(48, 35, 39, .28);
}
#product-block .card.active .card-title { margin-bottom: 0; }
#product-block .card.active .card__bot { padding-top: 8px; }

.product { color: var(--store-ink); }
.product-title { line-height: 1.2; }
.product__price { color: var(--store-ink); }
.product__size-select .select2-selection { border-radius: 10px; border-color: var(--store-line) !important; }
.product__size-select .select2-selection__rendered { color: var(--store-ink) !important; }
.product__size-table { color: var(--store-accent); }
.product-btn { background: var(--store-accent); border-color: var(--store-accent); color: #fff; min-height: 50px; }
.product__fav, .adaptive__fav {
  border: 1px solid var(--store-line);
  background: var(--store-surface);
}
.product__fav path, .adaptive__fav path { fill: var(--store-muted); }
.product__fav.product__inwishlist, .adaptive__fav.product__inwishlist {
  border-color: var(--store-accent);
  background: var(--store-accent);
}
.product__fav.product__inwishlist path, .adaptive__fav.product__inwishlist path { fill: #fff; }
.product__btns > #button-cart.product-btn {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  background: var(--store-accent);
  border-color: var(--store-accent);
  color: #fff;
  min-height: 50px;
}
.product__btns > .product__fav { border-radius: 999px; }
.product__img-item img, .product__img-slider-link img { border-radius: 4px; }
.product__tabs-btns { border-bottom-color: var(--store-line); }
.product-tabs-btn.active { color: var(--store-accent); }

@media (min-width: 1000px) {
  .header { position: relative; z-index: 20; }
  .adaptive { display: none !important; }
}

@media (max-width: 999px) {
  .header__top { display: none; }
  .header__bot { padding: 8px 0; }
  .header__logo img { width: 88px; height: 48px; }
  .header__bot-btns { gap: 12px; }
  .header__bot-btn:not(:last-child) { margin-right: 0; }
  .header__cart { margin: 0 0 0 10px; }
  .list__right-filters {
    display: flex !important;
    gap: 12px;
    margin: 0 0 16px;
  }
  .list__right-filters-item {
    flex: 1 1 0;
    min-width: 0;
    min-height: 44px;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid var(--store-line);
    border-radius: 999px;
    background: var(--store-surface);
  }
  .list__right-filters-item span { margin-left: 8px; }
  .hero { padding: 0; }
  .hero__text { max-width: none; padding: 30px 24px 0; }
  .hero-title { margin: 14px 0 20px; }
  .hero__img { margin-top: 28px; }
  .hero__img img { border-radius: 0; }
  .product { gap: 0; }
  .product.panel { overflow-x: clip; }
  .product .container, .product__left { min-width: 0; max-width: 100%; }
  .product__img-mob {
    box-sizing: border-box;
    width: calc(100% + 60px);
    max-width: 100vw;
  }
  .product__right { display: none !important; }
  .adaptive { display: block !important; }
  .adaptive__cont { overflow: hidden; border-radius: 0; }
  .adaptive__top { align-items: start; border-color: var(--store-line); }
  .adaptive__top-title { color: var(--store-ink); font-size: 18px; line-height: 1.35; }
  .adaptive__top-price span:first-child { color: var(--store-ink); }
  .adaptive__selects { display: flex !important; flex-wrap: wrap; gap: 8px; }
  .adaptive__selects > .lbsz { flex: 0 0 auto; margin: 0; padding: 10px 16px; border-color: var(--store-line); border-radius: 999px; }
  .adaptive__selects .lbsz.act { border-color: var(--store-accent); color: var(--store-accent); }
  .adaptive__selects > .product__size-right {
    flex: 0 0 100%;
    width: 100%;
    padding-top: 4px;
  }
  .adaptive__selects > .product__size-right .product__size-table {
    display: inline-flex;
    min-height: 44px;
  }
  .adaptive__btns { gap: 12px; padding-bottom: 20px; }
  .adaptive__btns .adaptive-btn:first-child { width: auto; flex: 1; }
  .adaptive__btns .adaptive-btn { min-height: 50px; border-radius: 999px; }
  .adaptive__gray { background: var(--store-bg); }
  .product__img-mob { margin-bottom: 0; }
  .leader .card { border-radius: 12px; }
  .leader .card__text { padding: 12px; }
  .leader .card-fav { width: 36px; height: 36px; }
  #product-block .card.active .card__text {
    padding-bottom: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  #product-block.list__items { gap: 28px 12px !important; }
}

@media (max-width: 600px) {
  .hero__text { padding: 26px 18px 0; }
  .hero__img { margin-top: 22px; }
  .suit .sub-category-container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .suit .sub-category-item { min-height: 42px; padding: 8px 10px; }
  .product__right { padding: 20px 18px; }
  .product-title { font-size: 22px; }
  .card__img { padding-top: 140%; }
  .card-title { min-height: 2.7em; font-size: 12px; }
  .card__text { gap: 6px; padding: 10px; }
}

@media (max-width: 759px) {
  .product__img-mob { width: calc(100% + 40px); }
}

@media (min-width: 601px) and (max-width: 999px) {
  #product-block.list__items { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 759px) {
  #product-block.list__items { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 499px) {
  #product-block.list__items { gap: 24px 10px !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
