#collapse-checkout-option #regsmsModal .modal-dialog{
    margin: 0 auto;
  }
  
  #collapse-checkout-option #regsmsModal .modal-dialog .modal-header{
    display: none;
  }
  
  #collapse-checkout-option #regsmsModal .modal-dialog .modal-body,  #collapse-checkout-option #regsmsModal .modal-dialog .modal-body{
    padding: 0;
  }
  
  #collapse-checkout-option #regsmsModal .modal-dialog .modal-body{
    padding-bottom: 10px;
  }

  #collapse-checkout-option #regsmsModal .modal-dialog .modal-content{
    border: none;
  }

  div.news-featured__item-image--badges img, div.news__item-image--badges img{
      top: 0; 
     left: 0; 
     right: 0; 
     width: auto; 
     height: auto;
  }

  div.news-featured__item-image, div.news__item-image{
    height: 25rem;
  }

  .stock_custom .stock__image{
    position: relative;
  }

  .custom-tooltip {
    background-color: rgba(255, 255, 255, 0.48);
    color: rgba(0, 0, 0, 0.32);
    border-radius: 6px;
    padding: 0 6px;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 10;
    font-size: 12px;
    line-height: 20px;
}

.stickers{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 60%;
  row-gap: 10px;
  position: absolute;
  left: 30px;
  top: 30px;
  z-index: 2;
}

.product_page .stickers{
  column-gap: 10px;
  flex-wrap: wrap;
  flex-direction: row;
}

.product_page .sku__sticky{
  position: relative;
}

.product_page .sku__sticky .stickers{
  z-index: 50;
}

.products__list .stickers{
  z-index: 91;
}

.custom-sticker{
  width: max-content;
  cursor: pointer;
  border-radius: 6px;
  font-size: 16px;
  line-height: 18px;
  padding: 5px 10px;
}

.tooltip .tooltip-inner{
  max-width: 360px;
  width: max-content;
  white-space: normal;
}

.custom-tooltip + .tooltip .tooltip-inner{
  padding: 3px 8px;
  max-width: 200px;
  text-align: center;
  font-size: 12px;
}

.relative{
  position: relative;
}

.sku__details-shortdescription iframe{
  max-width: 100%;
}

.personal__subsc{
  background-color: var(--theme-primary-color);
  padding: 1rem 1rem 1rem;
  min-height: 22rem;
}

.personal__subsc-title{
  margin: 0 0 3rem;
}

.ui-add-to-cart.is-active .ui-btn--primary{
  background-color: #333;
}

body .header__tags-menu > li{
  margin: 0;
}

.is-header-v7 .header__catalog button.header__catalog-btn{
  background: #1e1b20;
  color: #fff;
}

/* --- Prostore phones: nicer header dropdown layout (number bold, title below, separators) --- */
.header__call-menu > li + li,
.header__nav-support-phones > li + li {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin-top: 8px;
  padding-top: 8px;
}

.header__call-link,
.header__nav-support-link {
  display: block;
}

.prostore-phone__row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.prostore-phone__number {
  display: block;
  font-weight: 700;
}

.prostore-phone__title {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.2;
  opacity: 0.75;
}

/* Footer v4: show only main phone, reveal others on hover/focus */
.footer--v4 .footer__call--hover {
  position: relative;
  display: inline-block;
  z-index: 9998;
}

.footer--v4 .footer__call--hover .footer__call-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer--v4 .footer__call--hover .footer__call-offcanvas {
  display: none;
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  min-width: 260px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 10px 12px;
  z-index: 9999;
}

.footer--v4 .footer__call--hover:hover .footer__call-offcanvas,
.footer--v4 .footer__call--hover:focus-within .footer__call-offcanvas {
  display: block;
}

/* Mobile: раскрываем список телефонов по классу (ставится JS-ом) */
.footer--v4 .footer__call--hover.is-open .footer__call-offcanvas {
  display: block;
}

.footer--v4 .footer__call-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer--v4 .footer__call-menu > li + li {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin-top: 8px;
  padding-top: 8px;
}

.footer--v4 .footer__call-link {
  display: block;
}
@media (min-width: 1199px) {
  .is-header-v7 div.header__catalog {
      flex: 0 0 11rem;
      margin: 0 1rem 0 0;
  }
}

.product-card__bonuses{
  color: rgb(189, 194, 211);
}

.products__item-title{
  margin: 0 0 1rem;
}

.article__body .products__item-price{
  margin: 0;
}

.search-products__all_btn{
  width: 100%;
  margin-top: 1rem;
}

@media (min-width: 1199px) {
  .stock__image {

      bottom: -3.5rem; 

  }
}

.is-header-fixed .header-fixed .header__logo{
  flex: none;
}

.products__item--small .products__item-image{
  padding: 4rem 0 0rem;
}

@media (min-width: 1199px) {
  .header__tags ul.header__tags-menu > li  {
      display: list-item;
  }
}

/* Анкета: подсказки адреса (DaData) под полем на всю ширину */
.form--anketa .address-group {
  position: relative;
}

.form--anketa .address-group .address-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  margin-top: 0;
  box-sizing: border-box;
  max-height: 260px;
  overflow-y: auto;
  z-index: 1000;
}

.form--anketa .address-group .address-suggestions .address-suggestion-item {
  padding-left: 1rem;
  padding-right: 1rem;
  cursor: pointer;
}

.form--anketa .address-group .address-suggestions .address-suggestion-item:hover,
.form--anketa .address-group .address-suggestions .address-suggestion-item:focus {
  background-color: #f5f5f7;
}

/* Форма адреса ЛК: подсказки DaData */
.auth__form .address-group {
  position: relative;
}
.auth__form .address-group .address-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  margin-top: 0;
  box-sizing: border-box;
  max-height: 260px;
  overflow-y: auto;
  z-index: 1000;
}
.auth__form .address-group .address-suggestions .address-suggestion-item {
  padding-left: 1rem;
  padding-right: 1rem;
  cursor: pointer;
}
.auth__form .address-group .address-suggestions .address-suggestion-item:hover,
.auth__form .address-group .address-suggestions .address-suggestion-item:focus {
  background-color: #f5f5f7;
}


.checkout__step-payments .text-description{
  font-size: 10px;
}

.checkout__step-payments .ui-check__btn{
  align-items: center;
}

.intro__item{
  background: none;
}

.contacts__data-group *{
  font-size: 14px;
}

.header__additional .products__item{
  border: 1px solid #dfdfdf;
  box-shadow: none;
}

.header__catalog-link-tex{
  font-weight: 700;
}

#regsmsModal{
  color:#333;
}

.fancybox-image,
.fancybox-spaceball{
  background: #fff;
}

div.fast-oc-filters-module h3{
  color: var(--body-color) !important;
}

div.ui-slider .ui-slider-range{
  background-color: var(--theme-primary-color) !important;
}

#slider-range{
  margin-bottom: 20px;
}

div.ui-slider-horizontal .ui-slider-handle {
  top: -11px !important;
}

div.fast-oc-filters-module{
  border: none;
  background: #fff;
}

/* Custom checkbox for .checkbox > label > input[type="checkbox"] without HTML changes */
#fast_oc_filters .checkbox label{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 0;
  cursor: pointer;
  user-select: none;
  margin: 0;
  font-size: 16px;
  line-height: 1;
}

#fast_oc_filters .checkbox label input[type="checkbox"]{
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

#fast_oc_filters .checkbox label::before{
  content: "";
  inline-size: 18px;
  block-size: 18px;
  border: 2px solid #c5c5c5;
  border-radius: 4px;
  background: #fff;
  box-sizing: border-box;
  transition: all .15s ease;
}

#fast_oc_filters .checkbox label::after{
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  inline-size: 8px; /* width of checkmark */
  block-size: 14px; /* height of checkmark */
  border: solid var(--theme-primary-color);
  border-width: 0 2px 2px 0; /* draw the tick */
  transform: rotate(45deg) scale(0.9);
  opacity: 0;
  transition: opacity .15s ease, transform .15s ease;
}

/* Checked state using :has() */
#fast_oc_filters .checkbox label:has(> input[type="checkbox"]:checked)::before{
  border-color: var(--theme-primary-color);
  background: #fff;
}

#fast_oc_filters .checkbox label:has(> input[type="checkbox"]:checked)::after{
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

/* Focus-visible for accessibility */
#fast_oc_filters .checkbox label:has(> input[type="checkbox"]:focus-visible)::before{
  outline: 2px solid color-mix(in srgb, var(--theme-primary-color) 60%, #ffffff 40%);
  outline-offset: 2px;
}

/* Disabled state */
#fast_oc_filters .checkbox label:has(> input[type="checkbox"]:disabled){
  cursor: not-allowed;
  opacity: .6;
}

/* Header account: make it look like cart (icon left, name top-right, bonuses bottom-right) */
.header__acc-info {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  line-height: 1.1;
  min-width: 0;
}

.header__acc-name {
  font-weight: 700;
  font-size: 1.4rem;
  max-width: 14rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header__acc-bonus {
  font-size: 1.2rem;
  opacity: 0.75;
  white-space: nowrap;
}

.cdek_office_info{
  display: none;
}

.header__acc-bonus-count {
  font-weight: 700;
  opacity: 1;
}

/* Desktop header: override fixed-width acc button and turn it into "cart-like" button */
.header__desktop .header__acc-btn--with-info {
  width: auto;
  padding: 0.5rem 2rem 0.5rem 1.5rem;
  justify-content: flex-start;
  white-space: nowrap;
}

.header__desktop .header__acc-btn--with-info svg {
  margin: 0 1rem 0 0;
  display: block;
}

.header__desktop .header__acc-btn--with-info .header__acc-info {
  display: flex;
}

/* Mobile top bar: keep compact icon-only to avoid breaking layout */
.header__mobile .header__acc-btn--with-info .header__acc-info {
  display: none;
}

/* Mobile offcanvas nav: show text next to icon */
.header__nav-acc-btn {
  display: flex;
  align-items: center;
}

.header__nav-acc-btn svg {
  margin: 0 1rem 0 0;
  display: block;
}

.header__nav-acc-btn .header__acc-info {
  display: flex;
}

@media (max-width: 1199px) {
  .header__catalog-link{
    padding: 1rem 7rem 1rem 3rem;
  }

}


/*скрыть меню с анкетой*/
.anketa{
  display: none;
}
/*скрыть меню с анкетой*/

/* Product files block */
.product-files{
  display: grid;
  gap: 8px;
}

.product-files__item{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid #e6e8ef;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s ease, background .2s ease;
}

.product-files__item:hover{
  border-color: var(--theme-primary-color);
  background: #f8f9fc;
  text-decoration: none;
}

.product-files__item:hover .product-files__name{
  text-decoration: none;
}

.product-files__icon{
  width: 42px;
  min-width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
  background: #8e97a8;
}

.product-files__icon::before{
  content: "F";
}

.product-files__icon small{
  position: absolute;
  right: 3px;
  bottom: 2px;
  font-size: 9px;
  line-height: 1;
  color: rgba(255,255,255,.95);
  font-weight: 700;
}

.product-files__icon--pdf{ background:#d94141; }
.product-files__icon--pdf::before{ content:"PDF"; font-size:12px; }

.product-files__icon--word{ background:#2f67d8; }
.product-files__icon--word::before{ content:"W"; }

.product-files__icon--excel{ background:#1f8f4e; }
.product-files__icon--excel::before{ content:"X"; }

.product-files__icon--ppt{ background:#e4712d; }
.product-files__icon--ppt::before{ content:"P"; }

.product-files__icon--archive{ background:#6d57b8; }
.product-files__icon--archive::before{ content:"ZIP"; font-size:11px; }

.product-files__icon--image{ background:#2f9ac7; }
.product-files__icon--image::before{ content:"IMG"; font-size:10px; }

.product-files__icon--text{ background:#5d6a84; }
.product-files__icon--text::before{ content:"TXT"; font-size:10px; }

.product-files__icon--audio{ background:#a858c7; }
.product-files__icon--audio::before{ content:"A"; }

.product-files__icon--video{ background:#db5a93; }
.product-files__icon--video::before{ content:"V"; }

.product-files__content{
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.product-files__name{
  font-size: 14px;
  line-height: 1.2;
  color: var(--theme-primary-color);
}

.product-files__meta{
  margin-top: 2px;
  font-size: 12px;
  color: #7b8293;
}