/* Скрываем все опции в карточках каталога */
.t-store__card .js-product-controls-wrapper .js-product-edition-option {
  display: none !important;
}

/* Показываем только опции "Вариант" и "Размер" */
.t-store__card .js-product-controls-wrapper
.js-product-edition-option[data-edition-option-id="Цвет изделия"],
.t-store__card .js-product-controls-wrapper
.js-product-edition-option[data-edition-option-id="Размер"] {
  display: block !important;
}

/* Убираем заголовки "Вариант" и "Размер" */
.t-store__card
.js-product-edition-option[data-edition-option-id="Цвет изделия"]
.js-product-edition-option-name,
.t-store__card
.js-product-edition-option[data-edition-option-id="Размер"]
.js-product-edition-option-name {
  display: none !important;
}

/* Скрываем описание в карточках каталога */
.t-store__card .js-store-prod-descr {
  display: none !important;
}

/* Каталог: цена → название → Долями → опции */
.t-store__card .t-store__card__textwrapper{
  display: flex;
  flex-direction: column;
}

/* цена первой */
.t-store__card .t-store__card__price-wrapper{
  order: 1;
}

/* название вторым */
.t-store__card .js-store-prod-name{
  order: 2;
}

/* долями третьим */
.t-store__card .digi-dolyame-catalog{
  order: 3;
  margin-top: 12px;
}

/* блок опций четвёртым */
.t-store__card .js-product-controls-wrapper{
  order: 4;
}

/* Уменьшаем блоки "Вариант" и "Размер" */
.t-store__card 
.js-product-edition-option[data-edition-option-id="Цвет изделия"],
.t-store__card 
.js-product-edition-option[data-edition-option-id="Размер"] {
  transform: scale(0.66);
  transform-origin: left center;
  margin-top: -8px;
}

/* Скрыть option "Инициал" в карточках каталога и смотреть также */

.t-store__card .js-product-option,
.t-store__relevants .js-product-option {
    display: none !important;
}







/* =========================================
   КАТАЛОГ — расстояния между карточками
========================================= */

/* только основной каталог */
.t-store__grid-cont .t-store__card {
    padding: 0 2.5px 40px !important;
    box-sizing: border-box !important;
}

/* убираем лишние отступы */
.t-store__grid-cont .t-store__card__wrap_txt-and-btns {
    margin: 0 !important;
}

/* картинки */
.t-store__grid-cont .t-store__card__imgwrapper {
    overflow: hidden;
}









/* Уменьшаем логотип в меню в 2 раза */
.t450__logoimg{
  transform: scale(0.5);
  transform-origin: left center;
}






.t-store__prod-popup__wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.t-store__prod-popup__container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ВАЖНО: иногда Tilda держит центрирование тут */
.t-store__prod-popup {
    left: 0 !important;
    right: 0 !important;
}

/* =========================================================
   1. POPUP — ПОЛНАЯ ШИРИНА (убираем ST315/ST320 сетку)
========================================================= */

.t-store__prod-popup {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}

.t-store__prod-popup__container,
.t-store__prod-popup__content {
    width: 100% !important;
    max-width: 100% !important;
}

/* убираем tilda 12-колоночную систему внутри попапа */
.t-store__prod-popup .t-container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

.t-store__prod-popup .t-col {
    float: none !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
}


/* =========================================================
   2. ДВЕ КОЛОНКИ + STICKY ИНФО
========================================================= */

.t-store__prod-popup__content {
    display: flex !important;
    align-items: flex-start !important;
    width: 100% !important;
}

.t-store__prod-popup__col-left {
    flex: 0 0 50% !important;
}

.t-store__prod-popup__col-right {
    flex: 0 0 50% !important;
}

/* sticky блок инфо */
.t-store__prod-popup__info {
    position: sticky !important;
    top: 20px !important;
    align-self: flex-start;
}


/* мобильная версия */
@media screen and (max-width: 960px) {
    .t-store__prod-popup__content {
        display: block !important;
    }

    .t-store__prod-popup__info {
        position: static !important;
    }
}


/* =========================================================
   3. ГАЛЕРЕЯ (ТВОЯ РАБОЧАЯ ЛОГИКА 2 КОЛОНКИ)
========================================================= */

@media screen and (min-width: 1200px) {

.t-store__prod-popup__slider .t-slds__main {
    height: auto !important;
}

/* thumbs → сетка 2 колонки */
.t-store__prod-popup__slider .t-slds__thumbsbullet-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px !important;
    margin-top: 5px !important;
    padding-top: 0 !important;
}

/* thumbs как фото */
.t-store__prod-popup__slider .t-slds__thumbsbullet {
    width: 100% !important;
    margin: 0 !important;
}

/* убираем crop */
.t-store__prod-popup__slider .t-slds__thumbsbullet .t-bgimg {
    width: 100% !important;
    padding-bottom: 150% !important;
    background-size: cover !important;
    background-position: center !important;
}

/* убираем бордеры */
.t-store__prod-popup__slider .t-slds__thumbsbullet-border {
    display: none !important;
}

/* active */
.t-store__prod-popup__slider .t-slds__thumbsbullet_active {
    outline: 2px solid #000;
}

/* zoom cursor */
.t-store__prod-popup__slider .t-slds__bgimg,
.t-store__prod-popup__slider .t-zoomable {
    cursor: zoom-in !important;
}

.t-slds__zoom-wrapper,
.t-slds__zoom {
    z-index: 9999 !important;
}

}


/* =========================================================
   4. “СМОТРЕТЬ ТАКЖЕ” — ФИКС СЕТКИ
========================================================= */

.t-store__relevants__container {
    width: 100% !important;
}

.t-store__relevants__container .t-container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
}

/* убираем 12-col */
.t-store__relevants__container .t-col {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* grid */
.t-store__relevants-grid-cont .t-store__card-list {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 5px !important;
}

/* карточки */
.t-store__relevants-grid-cont .t-store__card {
    width: 100% !important;
    margin: 0 !important;
}

/* изображения */
.t-store__relevants-grid-cont .t-store__card__imgwrapper {
    height: 0 !important;
    padding-bottom: 150% !important;
    position: relative !important;
}

.t-store__relevants-grid-cont .t-store__card__bgimg {
    position: absolute !important;
    inset: 0 !important;
    background-size: cover !important;
    background-position: center !important;
}

/* скрыть описание */
.t-store__relevants-grid-cont .js-store-prod-descr {
    display: none !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* =========================================================
   5. ТЕКСТ ТОВАРА
========================================================= */

.t-store__prod-popup__name {
    font-size: 18px !important;
    line-height: 1.25 !important;
    color: #111 !important;
}

.t-store__prod-popup__text .js-store-prod-all-charcs,
.t-store__prod-popup__text .t-typography__characteristics {
    display: none !important;
}

html body .t-store__prod-popup__close-txt-wr {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}