
/* =========================================================
   STORE — CLEAN PACK
   grid + relevants + sliders + safe fixes
   без перебивки глобальных стилей Tilda
   ========================================================= */

/* ---------- BASE: spacing inside store cards ---------- */
#allrecords .t-store__card__price-wrapper_above-title {
  margin-bottom: 0 !important;
}

#allrecords .t-store__card__sold-out-msg,
#allrecords .t-store__card__descr {
  margin-top: 0 !important;
}

#allrecords .t-store .t-store__card__wrap_all .store__card__wrap_txt-and-opts .t-store__card__textwrapper {
  padding-top: 0 !important;
  padding-bottom: 8px !important;
  margin-left: 0 !important;
  padding-left: 3px !important;
  padding-right: 40px !important;
}

/* ---------- MOBILE: store grid spacing ---------- */
@media screen and (max-width: 960px) {
  #allrecords .t-store__grid-cont .t-store__card-list.t-store__card-list {
    row-gap: 10px !important;
  }

  #allrecords .t-container:not(.t-store__grid-cont_mobile-one-row),
  #allrecords .t-container_100:not(.t-store__grid-cont_mobile-one-row),
  #allrecords .t-container_1000:not(.t-store__grid-cont_mobile-one-row),
  #allrecords .t-container_1200:not(.t-store__grid-cont_mobile-one-row),
  #allrecords .t-container_1400:not(.t-store__grid-cont_mobile-one-row) {
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
    margin-top: 0 !important;
  }

  #allrecords .t-col {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #allrecords .t-store__grid-cont_mobile-one-row.t-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #allrecords .t-store__grid-cont_mobile-one-row .store__card__wrap_txt-and-opts .t-store__card__textwrapper {
    padding-left: 10px !important;
    padding-right: 30px !important;
    margin-top: 0 !important;
  }

  #allrecords .t-store__grid-cont_mobile-one-row .t-store__card__price-wrapper {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}

/* ---------- DESKTOP: tighter store grid ---------- */
@media screen and (min-width: 980px) {
  #allrecords .t-store__grid-cont .t-store__card.t-col,
  #allrecords .t-store__grid-cont .t-store__card.t-col_3 {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  #allrecords .t-store__card-list .t-clear.t-store__grid-separator {
    display: none !important;
  }

  #allrecords .t-store__card__title {
    margin-bottom: 25px !important;
    display: block !important;
  }
}

/* ---------- MOBILE: small card fixes ---------- */
@media screen and (max-width: 640px) {
  #allrecords .t-store__grid-cont_mobile-grid .t-col:not(.t-col_8) {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #allrecords .t-store__grid-cont .t-col {
    margin-bottom: 5px !important;
  }

  #allrecords .t-store__card__price-wrapper_above-title {
    margin-bottom: 5px !important;
  }

  #allrecords .t-store__grid-cont_mobile-grid .store__card__wrap_txt-and-opts .t-store__card__textwrapper {
    padding-left: 10px !important;
    padding-right: 30px !important;
  }
}

@media screen and (max-width: 560px) {
  #allrecords .t-store__prod-snippet__container {
    padding-top: 0 !important;
  }

  #allrecords .t778__textwrapper.t778__paddingsmall {
    padding-left: 10px !important;
    padding-right: 30px !important;
    padding-bottom: 5px !important;
  }

  #allrecords .t778__price-wrapper_above-title {
    margin-top: 0 !important;
    margin-bottom: 5px !important;
  }

  #allrecords .t-store__card__img {
    max-width: 100% !important;
    max-height: unset !important;
    margin-bottom: 0 !important;
  }

  #allrecords .t-name_xs {
    margin-top: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #allrecords .t-store__card__descr {
    padding-left: 5px !important;
    padding-right: 0 !important;
  }

  #allrecords .t-store__card__mark {
    background-color: transparent !important;
    background: none !important;
    box-shadow: none !important;
    border: none !important;
    color: #000 !important;
    opacity: 1 !important;
  }
}

/* ---------- "СМОТРИ ТАКЖЕ" ---------- */
#allrecords .t-store__relevants__title {
  padding-left: 0 !important;
  margin-left: 0 !important;
}

#allrecords .t-store__relevants__container .t-store__card__title,
#allrecords .t-store__relevants__container .t-store__card__title *,
#allrecords .t-store__relevants__container .t-name,
#allrecords .t-store__relevants__container .t-name * {
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
}

/* ---------- "СМОТРИ ТАКЖЕ": mobile horizontal tape ---------- */
@media screen and (max-width: 960px) {
  #allrecords .t-store__product-snippet + .t-store__relevants__container,
  #allrecords .t-store__relevants__container {
    margin-top: 28px !important;
    padding-top: 0 !important;
  }

  #allrecords .t-store__relevants__title {
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 10px !important;
  }

  #allrecords .t-store__relevants__container .t-store__valign-buttons {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    scroll-snap-type: x mandatory !important;
    gap: 6px !important;
    padding-left: 2px !important;
    padding-right: 2px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  #allrecords .t-store__relevants__container .t-item {
    flex: 0 0 45% !important;
    width: 45% !important;
    max-width: 45% !important;
    min-width: 45% !important;
    float: none !important;
    display: block !important;
    scroll-snap-align: start !important;
    box-sizing: border-box !important;
    padding-left: 3px !important;
    padding-right: 3px !important;
    margin: 0 !important;
  }

  #allrecords .t-store__relevants__container .t-store__valign-buttons::-webkit-scrollbar {
    height: 0 !important;
  }
}

/* ---------- "СМОТРИ ТАКЖЕ": desktop horizontal tape ---------- */
@media screen and (min-width: 980px) {
  #allrecords .t-store__relevants-grid-cont.t-store__valign-buttons {
    display: block !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
  }

  #allrecords .t-store__relevants-grid-cont.t-store__valign-buttons .t-store__card-list {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    overflow: visible !important;
    scroll-snap-type: x mandatory !important;
    gap: 10px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
    width: max-content !important;
    box-sizing: border-box !important;
  }

  #allrecords .t-store__relevants-grid-cont.t-store__valign-buttons .t-store__card.t-col,
  #allrecords .t-store__relevants-grid-cont.t-store__valign-buttons .t-item.t-col {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
  }

  #allrecords .t-store__relevants-grid-cont.t-store__valign-buttons .t-store__card,
  #allrecords .t-store__relevants-grid-cont.t-store__valign-buttons .t-item {
    flex: 0 0 280px !important;
    width: 280px !important;
    max-width: 280px !important;
    min-width: 280px !important;
    float: none !important;
    display: block !important;
    scroll-snap-align: start !important;
    box-sizing: border-box !important;
  }

  #allrecords .t-store__relevants-grid-cont.t-store__valign-buttons .t-clear,
  #allrecords .t-store__relevants-grid-cont.t-store__valign-buttons .t-store__grid-separator {
    display: none !important;
  }

  #allrecords .t-store__relevants-grid-cont.t-store__valign-buttons::-webkit-scrollbar {
    height: 0 !important;
  }
}

/* ---------- Header account icon ---------- */
#allrecords .sa-account-header {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  margin-left: 10px !important;
  margin-right: 10px !important;
  text-decoration: none !important;
  pointer-events: auto !important;
  position: relative !important;
  z-index: 10001 !important;
}

#allrecords .sa-account-header img {
  width: 22px !important;
  height: 22px !important;
  display: block !important;
  pointer-events: none !important;
}

/* ---------- Desktop: product snippet paddings ---------- */
@media screen and (min-width: 980px) {
  #allrecords .t-store.t-store__prod-snippet__container {
    padding-top: 0 !important;
    padding-bottom: 10px !important;
    margin-top: 10px !important;
  }

  #allrecords .t-store__product-snippet {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  #allrecords .t-store__product-snippet > .t-container.t-container_fluid {
    padding-top: 30px !important;
  }
}

/* ---------- Header menu layout fixes ---------- */
@media screen and (min-width: 980px) {
  #allrecords .t1261__container.t1261__container_100-40 {
    display: flex !important;
    align-items: center !important;
  }

  #allrecords .t1261__top-middle {
    flex: 1 1 auto !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
  }

  #allrecords .t1261__catalog-buttons {
    display: flex !important;
    align-items: center !important;
  }

  #allrecords .t1261__catalog-button {
    margin-right: 16px !important;
  }

  #allrecords .t1261__catalog-button.t-btnflex_md {
    padding-right: 0 !important;
  }

  #allrecords .t1261__catalog-button.t-btnflex {
    display: flex !important;
    align-items: center !important;
  }

  #allrecords .t1261__catalog-button .t-btnflex__text {
    order: 1 !important;
  }

  #allrecords .t1261__catalog-button .t-btnflex__icon {
    order: 2 !important;
    margin-left: 8px !important;
  }

  #allrecords .t1261__bottom-line {
    position: relative !important;
    z-index: 20 !important;
  }

  #allrecords .t1261__dropdown-wrapper {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 10 !important;
  }
}

/* ---------- Mobile store slider: #rec1759188721 + uc-slide-mob ---------- */
@media screen and (max-width: 980px) {
  #allrecords .uc-slide-mob .t-store__card-list,
  #allrecords #rec1759188721 .t-store__card-list {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    scroll-snap-type: x mandatory !important;
    gap: 0 !important;
    padding: 0 12px !important;
    margin: 2px 0 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  #allrecords .uc-slide-mob .t-store__card,
  #allrecords #rec1759188721 .t-store__card {
    flex: 0 0 45% !important;
    width: 45% !important;
    max-width: 45% !important;
    min-width: 45% !important;
    float: none !important;
    display: block !important;
    scroll-snap-align: start !important;
    box-sizing: border-box !important;
  }

  #allrecords .uc-slide-mob .js-store-grid-cont,
  #allrecords #rec1759188721 .js-store-grid-cont {
    overflow: visible !important;
  }

  #allrecords .uc-slide-mob .t-store__card-list::-webkit-scrollbar,
  #allrecords #rec1759188721 .t-store__card-list::-webkit-scrollbar {
    height: 0 !important;
  }
}

/* ---------- T778 mobile flex slider: #rec1759226031 ---------- */
@media screen and (max-width: 980px) {
  #allrecords #rec1759226031.uc-slide-mob .t778__container_mobile-flex,
  #allrecords .uc-slide-mob#rec1759226031 .t778__container_mobile-flex {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    gap: 2px !important;
    padding: 0 12px !important;
    margin-top: 2px !important;
    box-sizing: border-box !important;
  }

  #allrecords #rec1759226031.uc-slide-mob .t778__col,
  #allrecords .uc-slide-mob#rec1759226031 .t778__col {
    flex: 0 0 45% !important;
    width: 45% !important;
    max-width: 45% !important;
    min-width: 45% !important;
    margin: 0 !important;
    padding: 0 !important;
    scroll-snap-align: start !important;
    box-sizing: border-box !important;
  }

  #allrecords #rec1759226031.uc-slide-mob .t778__wrapper,
  #allrecords .uc-slide-mob#rec1759226031 .t778__wrapper {
    padding: 0 !important;
    margin: 0 !important;
  }

  #allrecords #rec1759226031.uc-slide-mob .t778__container_mobile-flex::-webkit-scrollbar,
  #allrecords .uc-slide-mob#rec1759226031 .t778__container_mobile-flex::-webkit-scrollbar {
    height: 0 !important;
  }

  #allrecords #rec1759226031 .t778__content {
    padding-top: 0 !important;
  }

  #allrecords #rec1759226031 .t778__textwrapper {
    padding-top: 4px !important;
  }

  #allrecords #rec1759226031 .t778__title {
    margin-top: 0 !important;
    padding-top: 0 !important;
    line-height: 1.15 !important;
  }
}

/* ---------- BF702 scroll-to-top custom SVG ---------- */
#rec224564969 svg,
#rec224564969 img,
#rec224564969 .tn-atom__img {
  display: none !important;
}

#rec224564969 .t396__scrolltop,
#rec224564969 .t270__scrolltop,
#rec224564969 .t142__scrolltop,
#rec224564969 .t933__scrolltop,
#rec224564969 .t967__scrolltop,
#rec224564969 a,
#rec224564969 button {
  width: 78px !important;
  height: 78px !important;
  min-width: 78px !important;
  min-height: 78px !important;
  background-image: url('https://static.tildacdn.com/tild6630-3466-4030-b036-393036343633/arrow-up-dick.svg') !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 60px 60px !important;
}

#rec224564969 a,
#rec224564969 button {
  font-size: 0 !important;
  line-height: 0 !important;
}

/* ---------- Remove shadow from subscription widget ---------- */
.uc-no-shadow,
.uc-no-shadow * {
  box-shadow: none !important;
  filter: none !important;
}

.uc-no-shadow .t653__btn_wrapper,
.uc-no-shadow .t653__btn_wrapper::before,
.uc-no-shadow .t653__btn_wrapper::after,
.uc-no-shadow .t653__btn,
.uc-no-shadow .t653__btn::before,
.uc-no-shadow .t653__btn::after {
  border-radius: 0 !important;
  overflow: visible !important;
  clip-path: none !important;
  -webkit-clip-path: none !important;
  mask: none !important;
  -webkit-mask: none !important;
}

.uc-no-shadow .t653__btn_wrapper,
.uc-no-shadow .t653__bgimg {
  width: 100px !important;
  height: 100px !important;
}

.uc-no-shadow .t653__bgimg {
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* ---------- Small safety for scroll lists ---------- */
@media screen and (max-width: 960px) {
  #allrecords .t-store__card-list,
  #allrecords .t-store__relevants__container .t-store__valign-buttons,
  #allrecords .t778__container_mobile-flex {
    margin-left: 0 !important;
    transform: none !important;
    left: auto !important;
    box-sizing: border-box !important;
  }
}
</style>