.t-product__option-title {
    text-align: center !important;
    width: 100%;
}

/* Полностью отключаем чёрную подсказку при наведении на кружки */
.js-product .t-product__option-variants_buttons 
.t-product__option-item_color:hover .t-product__option-title {
    display: none !important;
}

/* Размеры (S-M, L-XL) в виде круглых кнопок */
.js-product-edition-option[data-edition-option-id="Размер:"] 
.t-product__option-item_simple {
    border-radius: 50% !important;  /* круг */
    width: 40px;                    /* диаметр круга */
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* Чуть подчистим текст внутри, чтобы красиво сидел */
.js-product-edition-option[data-edition-option-id="Размер:"] 
.t-product__option-item_simple .t-product__option-title {
    line-height: 1;
}

/* Отступ между словом "Размер:" и кружками размеров */
.js-product-edition-option[data-edition-option-id="Размер:"] 
.t-product__option-variants_custom {
    margin-top: 10px !important;
}

/* Отступ между "Цвет:" и кружками */
.js-product-edition-option[data-edition-option-id="Цвет:"] 
.t-product__option-variants_custom {
    margin-top: 10px !important;
}

/* --- Увеличенные и аккуратные КРУЖКИ цвета --- */

/* Контейнер кружков — уменьшаем расстояние между ними */
.js-product-edition-option[data-edition-option-id="Цвет:"] 
.t-product__option-item_color {
    margin-right: 5px !important;
}

/* --- Плотные крупные кружки цвета с расстоянием 3px --- */
/*
/* Интервал между кружками — 3px */
.js-product-edition-option[data-edition-option-id="Цвет:"] 
.t-product__option-item_color {
    margin-right: 3px !important;
}

/* Чтобы последний кружок не имел отступа */
.js-product-edition-option[data-edition-option-id="Цвет:"] 
.t-product__option-item_color:last-child {
    margin-right: 0 !important;
}

/* Внешний круг */
.t-product__option-item_color {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
}

.zemish-size-link {
    margin-top: 10px;
    font-family: "Inter Tight", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.55;
    color: #999;
    cursor: pointer;

    display: inline-block;     /* позволяет центрировать */
    margin-left: auto;         /* ← центрирование */
    margin-right: auto;        /* ← центрирование */

    text-decoration: none !important;
    border-bottom: 1px dashed #999;
    padding-bottom: 3px;
}

.zemish-size-link:hover {
    color: #666;
    border-bottom-color: #666;
}

/* затемнение фона */
.zemish-size-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 2147483000 !important;
}

/* включён */
.zemish-size-popup-overlay_active {
  opacity: 1;
  pointer-events: auto;
}

/* ПРАВАЯ ВЫЕЗЖАЮЩАЯ ПАНЕЛЬ  */
.zemish-size-popup {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;

  width: 420px;
  max-width: 100%;
  height: 100vh !important;

  background: #fff !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;

  border-radius: 0 !important;
  box-shadow: -6px 0 20px rgba(0,0,0,0.25) !important;

  transform: translateX(100%) !important;
  transition: transform 0.35s ease !important;

  z-index: 2147483001 !important;
}

/* когда overlay активен — панель выезжает */
.zemish-size-popup-overlay_active .zemish-size-popup {
  transform: translateX(0) !important;
}

/* Шапка */
.zemish-size-popup__header {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e0e0e0;
  background: #fff;
}

/* Заголовок */
.zemish-size-popup__title {
  font-family: 'Inter Tight', sans-serif !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  letter-spacing: -0.3px;
  color: #000;
}

/* Крестик */
.zemish-size-popup__close {
  border: none;
  background: none;
  font-size: 28px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

/* Контент */
.zemish-size-popup__body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

.zemish-size-popup__body img {
  max-width: 100%;
  height: auto;
}




/* ===== Кнопка "Поделиться" (Share) — финал ===== */

/* Обёртка рядом с сердцем */
.zemish-share-wrapper {
  display: inline-block;
  margin-left: 5px;
  vertical-align: middle;
  line-height: 0;
  position: relative;   /* ВАЖНО для позиционирования меню */
}

/* Сама кнопка — размер в точности как у .t1002__addBtn: 45×45 */
.zemish-share-btn {
  width: 45px;
  height: 45px;
  box-sizing: border-box;
  border-radius: 50%;
  border: 1px solid #e4e4e4;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: 0.15s ease;
}

.zemish-share-btn:hover {
  background-color: #f7f7f7;
}

/* Иконка внутри */
.zemish-share-btn svg {
  width: 18px;
  height: 18px;
  display: block;
  stroke: #2A2927;
  stroke-width: 1.6;
}

/* ===== Выпадающее меню ===== */

.zemish-share-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 220px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  display: none;
  z-index: 9999;
}

.zemish-share-menu_open {
  display: block;
}

.zemish-share-item {
  padding: 8px 16px;
  font-size: 14px;
  line-height: 1.4;
  color: #2A2927;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  white-space: nowrap;
}

.zemish-share-item:hover {
  background-color: #f7f4ee;
}

.zemish-share-item.copied {
  color: #5C9D3A;
}

/* На всякий случай ещё раз выравниваем по линии с избранным */
.t1002__addBtn,
.zemish-share-wrapper {
  vertical-align: middle;
}

/* ===== Мобильное выравнивание избранного и кнопки "Поделиться" ===== */
@media (max-width: 480px) {
  .t-store__prod-popup__btn-wrapper,
  .js-store-prod-btn-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .t1002__addBtn {
    width: 45px !important;
    height: 45px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .zemish-share-wrapper {
    display: flex !important;
    align-items: center !important;
  }

  .zemish-share-btn {
    width: 45px !important;
    height: 45px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* ===== Кнопка "Поделиться" (Share) ===== */

.zemish-share-wrapper {
  display: inline-block;
  margin-left: 5px;
  vertical-align: middle;
  line-height: 0;
  position: relative;
}

.zemish-share-btn {
  width: 45px;
  height: 45px;
  box-sizing: border-box;
  border-radius: 50%;
  border: 1px solid #e4e4e4;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: 0.15s ease;
}

.zemish-share-btn:hover {
  background-color: #f7f7f7;
}

.zemish-share-btn svg {
  width: 18px;
  height: 18px;
  stroke: #2A2927;
  fill: none;
  stroke-width: 1.6;
}


/* ===== Выпадающее меню ===== */

.zemish-share-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  min-width: 240px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
  padding: 6px 0;
  display: none;
  z-index: 9999;
  font-family: 'Inter Tight', sans-serif !important;
}

.zemish-share-menu_open {
  display: block;
}

/* === ИКОНКИ ВНУТРИ SHARE-МЕНЮ (используем реальные SVG-файлы) === */

.zemish-share-item {
  font-family: 'Inter Tight', sans-serif !important;
  font-size: 14px !important;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
}

.zemish-share-item::before {
  content: "";
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

/* COPY — оставляем как было (встроенный SVG) */
.zemish-share-item[data-share="copy"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24'%3E%3Cg stroke='%232A2927' stroke-width='1.6' fill='none'%3E%3Crect x='8' y='8' width='12' height='12' rx='2'/%3E%3Crect x='4' y='4' width='12' height='12' rx='2'/%3E%3C/g%3E%3C/svg%3E");
}

/* VK — используем твой SVG-файл из Tilda CDN */
.zemish-share-item[data-share="vk"]::before {
  background-image: url("https://static.tildacdn.com/tild6538-3433-4566-b236-383838313831/ri_vk-fill.svg");
}

/* TELEGRAM — также твой SVG-файл из Tilda CDN */
.zemish-share-item[data-share="tg"]::before {
  background-image: url("https://static.tildacdn.com/tild3332-3838-4562-b332-633634643735/fa-brands_telegram-p.svg");
}


/* ===== MOBILE FIX ===== */
@media (max-width: 480px) {
  .t-store__prod-popup__btn-wrapper,
  .js-store-prod-btn-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .t1002__addBtn {
    width: 45px !important;
    height: 45px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .zemish-share-wrapper {
    display: flex !important;
    align-items: center !important;
  }

  .zemish-share-btn {
    width: 45px !important;
    height: 45px !important;
  }
}

/*Стиль таблицы */

.zemish-size-model {
  margin-bottom: 16px;
}

.zemish-size-model__title,
.zemish-size-desc__title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.zemish-size-model__list,
.zemish-size-desc__list {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.5;
}

.zemish-size-tablewrap {
  margin-top: 18px;
}

.zemish-size-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.4;
}

.zemish-size-table thead th {
  background: #f5f5f5;
  font-weight: 600;
  padding: 10px 8px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

.zemish-size-table tbody td {
  padding: 8px 8px;
  border-bottom: 1px solid #e9e9e9;
}

.zemish-size-table tbody tr:nth-child(2n) td {
  background: #fafafa;
}

.zemish-size-table tbody tr:last-child td {
  border-bottom: none;
}

/* Применяем Inter Tight ко всему попапу */
.zemish-size-popup,
.zemish-size-popup * {
  font-family: 'Inter Tight', sans-serif !important;
}

/* Аккордеон */

.zemish-size-accordion {
  margin-top: 4px;
}

.zemish-size-accordion__item {
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

/* шапка аккордеона */
.zemish-size-accordion__header {
  width: 100%;
  padding: 14px 0;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;

  display: flex;
  justify-content: space-between;
  align-items: center;

  font-size: 15px;
  font-weight: 500;
}

/* стрелочка */
.zemish-size-accordion__icon {
  display: inline-block;
  font-size: 18px;
  transform: rotate(0deg);
  transition: transform 0.2s ease;
}

/* контент: плавное скрытие/открытие */
.zemish-size-accordion__content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0;
  transition:
    max-height 0.25s ease,
    opacity 0.25s ease,
    padding 0.25s ease;
}

/* когда открыт (открыта всегда только одна карточка, логика в JS) */
.zemish-size-accordion__item--open .zemish-size-accordion__content {
  max-height: 600px; /* хватит под параметры + таблицу */
  opacity: 1;
  padding: 8px 0 10px 0;
}

.zemish-size-accordion__item--open .zemish-size-accordion__icon {
  transform: rotate(90deg);
}

/* уже существующие блоки можно чуть поджать */
.zemish-size-model {
  margin-top: 8px;
  margin-bottom: 12px;
}

.zemish-size-model__title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}

.zemish-size-model__list {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.45;
}

.zemish-size-tablewrap {
  margin-top: 8px;
}

.zemish-size-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.4;
}

.zemish-size-table thead th {
  background: #f5f5f5;
  font-weight: 600;
  padding: 8px 8px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

.zemish-size-table tbody td {
  padding: 8px 8px;
  border-bottom: 1px solid #e9e9e9;
}

.zemish-size-table tbody tr:nth-child(2n) td {
  background: #fafafa;
}

.zemish-size-table tbody tr:last-child td {
  border-bottom: none;
}



.zemish-set-block {
  margin-top: 12px;
  margin-bottom: 4px;
  font-family: "Inter Tight", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}




/* Заголовок "Цвета набора" */



.zemish-set-block {
  margin-top: 20px;
  margin-bottom: 6px;
  text-align: center;
  font-family: "Inter Tight", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Заголовок "Цвета набора" */
.zemish-set-block__label {
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 14px;
  font-weight: 500;
}

/* Центрируем ряд кружков */
.zemish-set-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Увеличенные кружки + сильнее перекрываются */
.zemish-set-dot {
  width: 34px;      /* увеличено */
  height: 34px;     /* увеличено */
  border-radius: 50%;
  border: 1px solid #d4d4d4;
  box-sizing: border-box;
  margin-left: -14px;   /* больше перекрытие */
}

.zemish-set-dot:first-child {
  margin-left: 0;
}

/* Цвета */
.zemish-set-dot--1 { background: #EBE4C8; } 
.zemish-set-dot--2 { background: #754D45; }
.zemish-set-dot--3 { background: #CFBFAF; }

/* Подпись — чуть больше, чуть контрастнее */
.zemish-set-note {
  margin-top: 12px;
  font-size: 13px;     /* увеличили */
  line-height: 1.45;
  color: #7a7a7a;
  text-align: center;
}


@media (min-width: 1200px) {
  .t-store__prod-popup__col-right {
    margin-top: 75px !important; /* подстрой: 40–100px */
    transition: margin-top 0.25s ease;
  }
}

































/* 1. КОНТЕЙНЕР — ОБЩАЯ ЦЕНТРОВКА */
body .yandex-pay-badge {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 15px auto !important;
    gap: 0 !important;
}

/* 2. КНОПКИ — УБИРАЕМ ОБВОДКУ И ВЫРАВНИВАЕМ */
body yandex-pay-badge {
    width: 220px !important; /* Уменьшил ширину по твоей просьбе */
    max-width: 220px !important;
    height: 38px !important; /* Чуть меньше высота */
    
    background-color: #f2f2f2 !important;
    border-radius: 8px !important;
    
    /* ЖЕСТКОЕ УДАЛЕНИЕ ОБВОДКИ */
    border: 0px none transparent !important;
    outline: none !important;
    box-shadow: none !important;

    /* ЦЕНТРОВКА КОНТЕНТА */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    
    /* ОДИНАКОВЫЙ МАСШТАБ ДЛЯ ШРИФТА */
    transform: scale(0.85) !important;
    transform-origin: center center !important;
    
    margin: -4px 0 !important;
    padding: 0 !important;
}

/* 3. ПРОБИВАЕМ SHADOW DOM ДЛЯ УДАЛЕНИЯ СЕРОЙ РАМКИ */
/* Селектор ::part позволяет дотянуться до внутренних элементов виджета */
yandex-pay-badge::part(base) {
    border: 0px none transparent !important;
    box-shadow: none !important;
    outline: none !important;
    background-color: transparent !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0 !important;
}

/* 4. СПЕЦИАЛЬНЫЙ ФИКС ДЛЯ ИКОНОК И ТЕКСТА (ЧТОБЫ БЫЛИ ОДИНАКОВЫМИ) */
yandex-pay-badge::part(text), 
yandex-pay-badge::part(amount) {
    font-size: 13px !important; /* Принудительно один размер шрифта */
    line-height: 1 !important;
}

/* 5. АДАПТИВ */
@media screen and (max-width: 960px) {
    body yandex-pay-badge {
        width: 210px !important;
        transform: scale(0.9) !important;
    }
}






/* Ядерный метод: ищем ЛЮБОЙ iframe с Kinescope и увеличиваем его */
iframe[src*="kinescope"] {
    transform: scale(1.2) !important; /* Увеличение на 20% */
    transform-origin: center center !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

/* Скрываем вылезающие края у всех возможных контейнеров */
.t-slds__container, .t-store__card__gallery, .t-zoomable {
    overflow: hidden !important;
}





/* ===== Кнопка "Нет в наличии" — фикс высоты и текста ===== */
.t-store__prod-popup__btn_disabled,
.t-store__prod-popup__btn_buy-disabled,
.t-store__prod-popup__btn[href*="out-of-stock"],
.t-store__prod-popup__btn[href*="soldout"] {
  min-height: 52px !important;
  padding: 14px 30px !important;
  opacity: 0.85;
  /* НЕ ставим display:flex и НЕ ставим pointer-events:none — иначе ломается
     внутренний  и не работает клик по попапу ожидания */
}

/* внутренний table растягиваем на всю кнопку, чтобы текст был по центру */
.t-store__prod-popup__btn_disabled table,
.t-store__prod-popup__btn_buy-disabled table,
.t-store__prod-popup__btn[href*="out-of-stock"] table,
.t-store__prod-popup__btn[href*="soldout"] table {
  width: 100% !important;
  height: 100% !important;
}

.t-store__prod-popup__btn_disabled .js-store-prod-popup-buy-btn-txt,
.t-store__prod-popup__btn_buy-disabled .js-store-prod-popup-buy-btn-txt,
.t-store__prod-popup__btn[href*="out-of-stock"] .js-store-prod-popup-buy-btn-txt,
.t-store__prod-popup__btn[href*="soldout"] .js-store-prod-popup-buy-btn-txt {
  text-align: center !important;
  vertical-align: middle !important;
  white-space: nowrap;
}

/* если td пустой — подставляем текст */
.t-store__prod-popup__btn .js-store-prod-popup-buy-btn-txt:empty::before {
  content: "Нет в наличии";
  font: inherit;
  color: inherit;
}

/* страховка: если opacity:0 прописан инлайном (Tilda иногда забывает снять) */
.t-store__prod-popup__btn-wrapper[style*="opacity: 0"] {
  opacity: 1 !important;
}















