/* Локальная статическая версия WB Клуб — исправления вёрстки */

html {
  font-family: Hauss, "WB Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.body-shopping {
  background: #f6f6f9;
  color: #242429;
}

body.body-shopping .wrapper {
  background: #f6f6f9;
}

body.body-shopping .main__container {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 16px;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  body.body-shopping .main__container {
    padding-inline: 32px;
  }
}

/* ——— Hero ——— */
.hero--H8uLH {
  margin-block-end: 20px;
  position: relative;
  z-index: 1;
}

.hero--bDV_Z {
  overflow: hidden;
  display: flex !important;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.hero--bDV_Z.backgroundLoaded--kJxiF {
  --bg-image: url(../assets/images/hero-shopping-mobile.webp);
}

@media (min-width: 768px) {
  .hero--bDV_Z.backgroundLoaded--kJxiF {
    --bg-image: url(../assets/images/hero-shopping.webp);
  }
}

.hero--bDV_Z .content--YQbxO {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 16px 24px;
  box-sizing: border-box;
  pointer-events: none;
}

.hero--bDV_Z .content--YQbxO .button--cpdoc {
  pointer-events: auto;
}

.hero--bDV_Z .title--xvtvE {
  display: block;
  max-width: min(90%, 420px);
  height: auto;
  max-height: 72px;
  width: auto;
  margin-block-end: 8px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .hero--bDV_Z .title--xvtvE {
    max-height: 90px;
    margin-block-end: 12px;
  }
}

.hero--bDV_Z .description--e36jE {
  text-align: center;
  font-size: 14px;
  line-height: 1.35;
  color: #fff;
  max-width: 400px;
  margin-block-end: 16px !important;
  opacity: 0.95;
}

@media (min-width: 768px) {
  .hero--bDV_Z .description--e36jE {
    font-size: 15px;
    margin-block-end: 20px !important;
  }
}

@media (max-width: 767.98px) {
  .hero--bDV_Z .content--YQbxO {
    padding: 36px 12px 16px;
  }

  .hero--bDV_Z .title--xvtvE {
    max-height: 56px;
  }

  .hero--bDV_Z .description--e36jE {
    font-size: 12px;
    margin-block-end: 10px !important;
  }

  .hero--bDV_Z .button--cpdoc {
    min-height: 48px;
    width: 100%;
    max-width: 300px;
  }
}

.hero--bDV_Z .button--cpdoc {
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  font-family: inherit;
  background: #fff;
  color: #ff18d2;
  flex-shrink: 0;
}

/* ——— Двухколоночный layout ——— */
.wbClubPage--tX8_V {
  position: relative;
  z-index: 0;
}

.content--NxY1m {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  position: relative;
  z-index: 0;
}

@media (min-width: 768px) {
  .content--NxY1m {
    flex-direction: row;
    gap: 24px;
    align-items: flex-start;
  }
}

.sideInfoBlock--CN5NK {
  flex-shrink: 0;
  width: 100%;
}

@media (min-width: 768px) {
  .sideInfoBlock--CN5NK {
    width: 260px;
    max-width: 260px;
  }
}

@media (min-width: 1024px) {
  .sideInfoBlock--CN5NK {
    width: 287px;
    max-width: 287px;
  }
}

.content--NxY1m > .catalog-column {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 0;
}

.sideInfoBlock--CN5NK .mainBlocks--AD3BV {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Сайдбар: кошелёк */
.walletDiscount--bnBB0 {
  background-image: url(../assets/images/shopping-wallet-discount.webp);
  overflow: hidden;
}

.walletDiscount--bnBB0 .content--QYJg_ {
  min-height: 96px;
}

.walletDiscount--bnBB0 .title--hy3YA {
  font-size: 14px;
  line-height: 1.25;
}

.walletDiscount--bnBB0 .discount--x_8Pq {
  flex-shrink: 0;
}

/* Сайдбар: кнопка подписки — только на desktop (на мобиле CTA в hero) */
.controlSubscriptionBlock--yZvei {
  display: none;
}

@media (min-width: 768px) {
  .controlSubscriptionBlock--yZvei {
    display: block !important;
  }
}

.sectionPurchaseButtonBlock--GmVcW {
  margin-block-start: 0 !important;
}

.button--YcZyk.defaultShopping--ZTvky {
  width: 100%;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  font-family: inherit;
  padding: 12px 20px;
  min-height: 56px;
}

.buttonTitle--O_cCb {
  font-size: 17px;
  font-weight: 650;
  font-variation-settings: "wght" 650;
}

.subTitle--kj902,
.subTitle--Gm4lw {
  font-size: 13px;
}

/* ——— Каталог ——— */
.catalog--anktY {
  position: relative;
  z-index: 0;
  margin-block-start: 0;
  clear: both;
}

.catalog--anktY .header--Y5w9E {
  margin-block-end: 12px;
}

.title--Aud6V {
  font-size: 22px;
  font-weight: 700;
  font-variation-settings: "wght" 700;
  color: #242429;
  line-height: 1.2;
}

@media (min-width: 1024px) {
  .title--Aud6V {
    font-size: 32px;
  }
}

.catalog--anktY .swiperLib--KRWO4 {
  position: relative;
}

.catalog-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-block: 4px 10px;
  scrollbar-width: none;
}

.catalog-scroll::-webkit-scrollbar {
  display: none;
}

.catalog-scroll .swiperSlide--dPzNW {
  flex: 0 0 139px;
  scroll-snap-align: start;
  height: auto;
}

@media (min-width: 1024px) {
  .catalog-scroll .swiperSlide--dPzNW {
    flex: 0 0 178px;
  }
}

.productCard--AfBbX {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 265px;
}

@media (min-width: 1024px) {
  .productCard--AfBbX {
    height: 353px;
  }
}

.product-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.product-card__img-wrap {
  position: relative;
  flex: 1;
  min-height: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #f0f0f3;
}

.product-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card__tip--premium {
  position: absolute;
  inset-block-end: 8px;
  inset-inline-start: 8px;
  background: #ff18d2;
  color: #fff;
  font-size: 11px;
  font-weight: 550;
  padding: 4px 8px;
  border-radius: 8px;
  z-index: 1;
}

.product-card__middle-wrap {
  padding: 8px 8px 4px;
  flex-shrink: 0;
}

.product-card__price {
  color: #ff18d2;
  font-size: 18px;
  font-weight: 700;
}

.product-card__name {
  font-size: 13px;
  line-height: 1.3;
  color: #242429;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-block-start: 4px;
}

.product-card__bottom-wrap {
  padding: 0 8px 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #8b8b9a;
  flex-shrink: 0;
}

.product-card__rating-star {
  color: #ffb83f;
}

.catalog--anktY .arrowSlider--hxgpY {
  display: none;
}

@media (min-width: 768px) {
  .catalog--anktY .arrowSlider--hxgpY {
    display: flex;
    position: absolute;
    inset-block-start: 55%;
    inset-inline-end: -8px;
    transform: translateY(-50%);
    z-index: 2;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    border: none;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
  }

  .catalog--anktY .arrowSlider--hxgpY::before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-right: 2px solid #242429;
    border-bottom: 2px solid #242429;
    transform: rotate(-45deg);
    margin-inline-start: -2px;
  }
}

/* Шапка */
.header-club-logo img {
  block-size: 40px;
  inline-size: auto;
}

.header__top {
  display: none !important;
}

.chat-fab {
  position: fixed;
  inset-block-end: 24px;
  inset-inline-end: 24px;
  z-index: 100;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fa009e, #e82eca);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255, 24, 210, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-fab svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

.promo-info {
  max-width: 640px;
  margin-block: 8px 40px;
  margin-inline: auto;
  padding: 24px 28px;
  background: #fff;
  border-radius: 20px;
  font-size: 15px;
  line-height: 1.6;
  color: #242429;
  text-align: center;
  box-sizing: border-box;
}

@media (max-width: 767.98px) {
  .promo-info {
    padding: 20px 18px;
    font-size: 14px;
  }
}

.promo-info__label {
  font-size: 13px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ff18d2;
  margin-block: 0 14px !important;
}

.promo-info p {
  margin-block: 0 14px;
}

.promo-info p:last-child {
  margin-block-end: 0;
}

.promo-info__accent {
  color: #ff18d2;
  font-weight: 650;
}

.promo-info__note {
  font-size: 13px;
  color: #8f8fa3;
  border-block-start: 1px solid #f0f0f3;
  margin-block-start: 16px !important;
  padding-block-start: 14px !important;
}

/* ——— Футер ——— */
.wb-footer {
  flex: none;
  background-color: #d3d4dd3d;
  color: #242424;
  margin-block-start: 24px;
  padding-block: 24px 72px;
}

.wb-footer__container {
  max-width: 1504px;
  margin-inline: auto;
  padding-inline: 16px;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .wb-footer {
    padding-block: 40px 72px;
  }

  .wb-footer__container {
    padding-inline: 32px;
  }
}

.wb-footer__grid {
  display: grid;
  gap: 24px 32px;
  grid-template-columns: 1fr;
  margin-block-end: 32px;
}

@media (min-width: 768px) {
  .wb-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .wb-footer__grid {
    grid-template-columns: 1.4fr 1.2fr 1fr auto 200px;
    align-items: start;
  }
}

.wb-footer__title {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 650;
  line-height: 20px;
  color: #242424;
}

.wb-footer__links,
.wb-footer__apps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wb-footer__links a,
.wb-footer__apps a {
  font-size: 14px;
  line-height: 20px;
  color: #868695;
  text-decoration: none;
}

.wb-footer__links a:hover,
.wb-footer__apps a:hover {
  color: #a73afd;
}

.wb-footer__col--social .footer-social__list {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wb-footer__col--social .footer-social__icon > span {
  display: block;
  block-size: 100%;
  inline-size: 100%;
}

.wb-footer__col--social .footer-social__icon > span > a {
  display: block;
  block-size: 100%;
  inline-size: 100%;
}

.wb-footer__qr-link {
  display: inline-block;
  margin-block-end: 12px;
  line-height: 0;
}

.wb-footer__qr {
  display: block;
  border: 1px solid #d3d4dd;
  border-radius: 16px;
  max-width: 148px;
  height: auto;
}

.wb-footer__bottom p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 20px;
  color: #a9a8b0;
}

.wb-footer__bottom p:last-child {
  margin-block-end: 0;
}
