/* YOSHI — единая типографика каталога */
body,
button,
input,
textarea,
select {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.t-store__card__title {
  min-height: 39px;
  font-size: 14.5px !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

.t-store__card__descr {
  font-size: 13.5px !important;
  line-height: 1.45 !important;
  font-weight: 400 !important;
}

.t-store__card__price-value,
.t-store__card__price {
  font-size: 19px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
}

.t-store__card__btn {
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
}

.t-store__parts-switch-btn,
.t-catalog__parts__btn,
.t-store__filter__item {
  font-family: Inter, "Segoe UI", Arial, sans-serif !important;
}

/* YOSHI native catalog theme — moved from HEAD */

  :root {
    --yoshi-black: #212120;
    --yoshi-red: #e42925;
    --yoshi-red-dark: #c31f1c;
    --yoshi-gray: #abb8c2;
    --yoshi-surface: #f3f5f6;
    --yoshi-line: #e6eaec;
    --yoshi-muted: #687178;
    --yoshi-white: #fff;
  }

  /* Служебная форма-приёмник Tilda остаётся в DOM для CRM,
     но не должна появляться даже в первом кадре загрузки страницы. */
  #rec2887264501 {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  ::selection { background: #f8cac9; color: var(--yoshi-black); }
  :where(.t-catalog, .t-store, .t744) {
    color: var(--yoshi-black);
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  }
  :where(.t-catalog, .t-store, .t744) * { box-sizing: border-box; }
  :where(.t-catalog, .t-store, .t744) a { text-underline-offset: 3px; }
  :where(.t-catalog, .t-store, .t744) :focus-visible {
    outline: 3px solid rgba(228, 41, 37, .28) !important;
    outline-offset: 3px;
  }

  /* Убираем технические отступы стандартных блоков Tilda */
  .t-rec[data-record-type="2841"],
  .t-rec[data-record-type="776"],
  .t-rec[data-record-type="744"] {
    padding-top: 44px !important;
    padding-bottom: 72px !important;
  }

  /* Общий каталог ST340D */
  .t-catalog { padding: 44px 0 72px !important; background: var(--yoshi-white); }
  .t-catalog .t-section__container { margin-bottom: 30px !important; }
  .t-catalog .t-section__title {
    color: var(--yoshi-black) !important;
    font-size: clamp(30px, 3.2vw, 44px) !important;
    font-weight: 750 !important;
    line-height: 1.08 !important;
    letter-spacing: -.025em !important;
  }
  .t-catalog__breadcrumbs { margin-bottom: 16px !important; }
  .t-catalog__breadcrumbs-item,
  .t-catalog__breadcrumbs-item-text { color: #737b81 !important; font-size: 13px !important; }
  .t-catalog__cont-wrapper { max-width: 1320px; margin-inline: auto; padding-inline: 40px; }

  .t-catalog__parts-switch-wrapper {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px !important;
    margin: 0 0 34px !important;
  }
  .t-catalog__parts-switch-btn {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    overflow: hidden;
    border: 1px solid var(--yoshi-line) !important;
    border-radius: 12px !important;
    background: var(--yoshi-surface) !important;
    color: var(--yoshi-black) !important;
    transition: transform .18s ease-out, border-color .18s ease-out, box-shadow .18s ease-out;
  }
  .t-catalog__parts-switch-btn:hover {
    transform: translateY(-2px);
    border-color: transparent !important;
    box-shadow: 0 12px 28px rgba(33, 33, 32, .10);
  }
  .t-catalog__parts-switch-btn_active { border-color: var(--yoshi-red) !important; }
  .t-catalog__parts-switch-btn .t-name {
    color: var(--yoshi-black) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
  }

  .t-catalog__card-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 18px !important;
    margin: 0 !important;
  }
  .t-catalog__card {
    display: flex !important;
    flex-direction: column !important;
    flex: 0 0 calc(33.333% - 12px) !important;
    width: calc(33.333% - 12px) !important;
    max-width: none !important;
    min-height: 330px;
    margin: 0 !important;
    padding: 18px 18px 20px !important;
    overflow: hidden;
    border: 1px solid var(--yoshi-line) !important;
    border-radius: 12px !important;
    background: var(--yoshi-white) !important;
    transition: transform .18s ease-out, border-color .18s ease-out, box-shadow .18s ease-out;
  }
  .t-catalog__card:hover {
    transform: translateY(-3px);
    border-color: transparent !important;
    box-shadow: 0 14px 30px rgba(33, 33, 32, .10);
  }
  .t-catalog__card:not(:has(img, .t-bgimg, [data-original]))::before {
    content: "YOSHI";
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 0;
    aspect-ratio: 1 / 1;
    margin-bottom: 15px;
    border-radius: 9px;
    background: var(--yoshi-surface);
    color: #9ba5ac;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .16em;
  }
  :where(.t-catalog__card__imgwrapper, .t-catalog__card__img-wrap, [class*="t-catalog__card__imgwrapper"], .t-catalog__card__img-preloader) {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1;
    padding-bottom: 0 !important;
    overflow: hidden !important;
    margin-bottom: 15px !important;
    border-radius: 9px !important;
    background-color: var(--yoshi-surface) !important;
  }
  :where(.t-catalog__card__imgwrapper, .t-catalog__card__img-wrap, [class*="t-catalog__card__imgwrapper"], .t-catalog__card__img-preloader) > :where(.t-catalog__card__bgimg, .t-bgimg, img) {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    padding-bottom: 0 !important;
    background-position: center !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    object-fit: contain !important;
    object-position: center !important;
  }
  .t-catalog__card__wrap_txt-and-btns,
  .t-catalog__card__wrap_txt-and-opts { display: flex !important; flex: 1; flex-direction: column; }
  .t-catalog__card__textwrapper { flex: 1; }
  .t-catalog__card__title {
    min-height: 40px;
    margin: 0 0 8px !important;
    color: var(--yoshi-black) !important;
    font-size: 14.5px !important;
    font-weight: 650 !important;
    line-height: 1.38 !important;
  }
  .t-catalog__card:hover .t-catalog__card__title { color: var(--yoshi-red) !important; }
  .t-catalog__card__sku { margin-bottom: 10px !important; color: var(--yoshi-muted) !important; font-size: 12px !important; }
  .t-catalog__card__price-wrapper { margin-top: auto !important; padding-top: 12px !important; }
  .t-catalog__card__price {
    color: var(--yoshi-black) !important;
    font-size: 19px !important;
    font-weight: 750 !important;
    font-variant-numeric: tabular-nums;
  }
  .t-catalog__card__price_old { color: #9aa1a6 !important; font-size: 13px !important; font-weight: 500 !important; }
  .t-catalog__card__price:has(.js-product-price:empty) { color: var(--yoshi-red) !important; font-size: 13px !important; }

  /* Внутренний каталог ST305N */
  .t-store { padding: 44px 0 72px !important; background: var(--yoshi-white); }
  .t-store__grid-cont { max-width: 1240px !important; }
  .t-store__card-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 18px !important;
    margin: 0 !important;
  }
  .t-store__card {
    display: flex !important;
    flex-direction: column !important;
    flex: 0 0 calc(33.333% - 12px) !important;
    width: calc(33.333% - 12px) !important;
    max-width: none !important;
    min-height: 356px;
    margin: 0 !important;
    padding: 18px 18px 20px !important;
    overflow: hidden;
    border: 1px solid var(--yoshi-line) !important;
    border-radius: 12px !important;
    background: var(--yoshi-white) !important;
    transition: transform .18s ease-out, border-color .18s ease-out, box-shadow .18s ease-out;
  }
  .t-store__card:hover {
    transform: translateY(-3px);
    border-color: transparent !important;
    box-shadow: 0 14px 30px rgba(33, 33, 32, .10);
  }
  .t-store__card:not(:has(img, .t-bgimg, [data-original]))::before {
    content: "YOSHI";
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 0;
    aspect-ratio: 1 / 1;
    margin-bottom: 15px;
    border-radius: 9px;
    background: var(--yoshi-surface);
    color: #9ba5ac;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .16em;
  }
  :where(.t-store__card__imgwrapper, .t-store__card__img-wrap, [class*="t-store__card__imgwrapper"], .t-store__card__img-preloader) {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1;
    padding-bottom: 0 !important;
    overflow: hidden !important;
    margin-bottom: 15px !important;
    border-radius: 9px !important;
    background-color: var(--yoshi-surface) !important;
  }
  :where(.t-store__card__imgwrapper, .t-store__card__img-wrap, [class*="t-store__card__imgwrapper"], .t-store__card__img-preloader) > :where(.t-store__card__bgimg, .t-bgimg, img) {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    padding-bottom: 0 !important;
    background-position: center !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    object-fit: contain !important;
    object-position: center !important;
  }
  .t-store__card__wrap_txt-and-btns,
  .t-store__card__wrap_txt-and-opts { display: flex !important; flex: 1; flex-direction: column; }
  .t-store__card__textwrapper { flex: 1; }
  .t-store__card__title {
    min-height: 40px;
    margin: 0 0 8px !important;
    color: var(--yoshi-black) !important;
    font-size: 14.5px !important;
    font-weight: 650 !important;
    line-height: 1.38 !important;
  }
  .t-store__card:hover .t-store__card__title { color: var(--yoshi-red) !important; }
  .t-store__card__descr { color: var(--yoshi-muted) !important; font-size: 13px !important; line-height: 1.5 !important; }
  .t-store__card__price-wrapper { margin-top: auto !important; padding-top: 12px !important; }
  .t-store__card__price {
    color: var(--yoshi-black) !important;
    font-size: 19px !important;
    font-weight: 750 !important;
    font-variant-numeric: tabular-nums;
  }
  .t-store__card__price_old { color: #9aa1a6 !important; font-size: 13px !important; font-weight: 500 !important; }

  /* Карточка товара ST200 */
  .t744 { padding: 46px 0 76px !important; background: var(--yoshi-white); }
  .t744 > .t-container {
    display: grid !important;
    grid-template-columns: minmax(0, 560px) minmax(340px, 1fr);
    gap: 44px;
    direction: ltr !important;
    align-items: start !important;
    width: auto !important;
    max-width: 1240px !important;
    padding: 0 40px;
  }
  .t744__col {
    float: none !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
  }
  .t744__col_first {
    grid-column: 1 !important;
    grid-row: 1 !important;
    position: relative;
    overflow: hidden;
    min-height: 420px;
    border-radius: 12px;
    background: var(--yoshi-surface);
  }
  .t744__col:not(.t744__col_first) {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }
  .t744__col_first:not(:has(img, .t-bgimg, [data-original]))::before {
    content: "YOSHI";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #9ba5ac;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .18em;
  }
  .t744__col_first :where(.t-slds, .t-slds__main, .t-slds__container, .t-slds__items-wrapper) { min-height: 420px !important; }
  .t744__info {
    min-height: 0 !important;
    max-width: 570px;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  .t744__title {
    margin: 0 0 10px !important;
    color: var(--yoshi-black) !important;
    font-size: clamp(24px, 2.5vw, 34px) !important;
    font-weight: 750 !important;
    line-height: 1.22 !important;
    letter-spacing: -.02em !important;
  }
  .t744__title_small { margin-bottom: 18px !important; color: var(--yoshi-muted) !important; font-size: 13px !important; }
  .t744__price-wrapper {
    margin: 0 0 20px !important;
    padding: 20px 0 !important;
    border-top: 1px solid var(--yoshi-line);
    border-bottom: 1px solid var(--yoshi-line);
  }
  .t744__price { color: var(--yoshi-black) !important; font-size: 32px !important; font-weight: 750 !important; font-variant-numeric: tabular-nums; }
  .t744__price_old { color: #9aa1a6 !important; font-size: 16px !important; font-weight: 500 !important; }
  .t744__btn-wrapper { margin: 0 0 22px !important; }
  .t744__btn {
    min-width: 190px;
    min-height: 50px !important;
    border: 2px solid var(--yoshi-red) !important;
    border-radius: 7px !important;
    background: var(--yoshi-red) !important;
    color: var(--yoshi-white) !important;
    font-size: 14px !important;
    font-weight: 750 !important;
    transition: transform .18s ease-out, background-color .18s ease-out;
  }
  .t744__btn:hover { transform: translateY(-1px); background: var(--yoshi-red-dark) !important; }
  .t744__descr {
    max-width: 68ch;
    margin-top: 0 !important;
    color: #41484d !important;
    font-size: 14px !important;
    line-height: 1.62 !important;
  }

  /* Детальная карточка внутри popup нового каталога Tilda */
  .t-popup_show .t-popup__container-static {
    box-sizing: border-box;
    min-height: 100vh;
    margin: 0 !important;
    padding: 32px 40px 80px !important;
    background: var(--yoshi-white) !important;
    color: var(--yoshi-black);
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  }
  .t-popup_show .t-catalog__prod-popup__close-txt-wr {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: min(100%, 1240px);
    margin: 0 auto 22px !important;
  }
  .t-popup_show .t-catalog__prod-popup__close-txt {
    display: inline-flex !important;
    align-items: center;
    min-height: 44px;
    margin: 0 !important;
    color: var(--yoshi-black) !important;
    font-size: 0 !important;
    font-weight: 650 !important;
    opacity: 1 !important;
  }
  .t-popup_show .t-catalog__prod-popup__close-txt::before {
    content: "←  В каталог" !important;
    color: var(--yoshi-black);
    font-family: inherit !important;
    font-size: 14px;
    transition: color .18s ease-out;
  }
  .t-popup_show .t-catalog__prod-popup__close-txt:hover::before { color: var(--yoshi-red); }
  .t-popup_show > .t-popup__close {
    position: fixed !important;
    top: 18px !important;
    right: 18px !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    background: var(--yoshi-white) !important;
    box-shadow: 0 8px 24px rgba(33, 33, 32, .10);
  }
  .t-popup_show .t-catalog__product-popup {
    display: block !important;
    width: min(100%, 1240px) !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }
  /* Tilda injects catalog layout rules after page load; the explicit chain keeps
     the popup on the same two-column grid after the runtime stylesheet arrives. */
  body.t-body_popupshowed .t-popup.t-popup_show .t-popup__container .t-catalog__product-popup.t-container_fluid > .t-container_fluid {
    display: grid !important;
    grid-template-columns: minmax(0, 560px) minmax(340px, 1fr) !important;
    gap: 18px 44px !important;
    align-items: start !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }
  .t-popup_show .t-catalog__prod-popup__breadcrumbs {
    grid-column: 1 / -1;
    width: 100% !important;
    margin: 0 0 6px !important;
    padding: 0 !important;
    overflow: hidden;
  }
  body.t-body_popupshowed .t-popup.t-popup_show .t-catalog__product-popup .t-catalog__prod-popup__breadcrumbs.t-col {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    margin: 0 0 6px !important;
  }
  .t-popup_show .t-catalog__prod-popup__slider {
    position: relative;
    grid-column: 1;
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 420px;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border-radius: 12px;
    background: var(--yoshi-surface);
  }
  body.t-body_popupshowed .t-popup.t-popup_show .t-catalog__product-popup .t-catalog__prod-popup__slider.t-col {
    grid-column: 1 !important;
    float: none !important;
    width: 100% !important;
    min-height: 420px !important;
    margin: 0 !important;
  }
  .t-popup_show .t-catalog__prod-popup__slider::before {
    content: "YOSHI";
    position: absolute;
    inset: 0;
    z-index: 0;
    display: grid;
    place-items: center;
    color: #9ba5ac;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .18em;
  }
  .t-popup_show .t-catalog__prod-popup__slider :where(.t-slds, .t-slds__main, .t-slds__container, .t-slds__items-wrapper),
  .t-popup_show .t-catalog__prod-popup__slider .js-product-img {
    position: relative;
    z-index: 1;
    min-height: 420px !important;
    background-color: transparent;
    background-position: center;
    background-size: contain !important;
    background-repeat: no-repeat;
  }
  .t-popup_show .t-catalog__prod-popup__info {
    grid-column: 2;
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 4px 0 0 !important;
  }
  body.t-body_popupshowed .t-popup.t-popup_show .t-catalog__product-popup .t-catalog__prod-popup__info.t-col {
    grid-column: 2 !important;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
  }
  /* Until product photos are uploaded, do not leave an empty media column or
     let its placeholder overlap the information panel. */
  .t-popup_show .t-catalog__prod-popup__slider:empty {
    display: none !important;
    min-height: 0 !important;
  }
  body.t-body_popupshowed .t-popup.t-popup_show .t-catalog__product-popup .t-catalog__prod-popup__slider.t-col:empty + .t-catalog__prod-popup__info.t-col {
    grid-column: 1 / -1 !important;
    float: none !important;
    width: min(100%, 720px) !important;
    max-width: 720px !important;
    margin: 0 auto !important;
  }
  .t-popup_show .t-catalog__prod-popup__title-wrapper { margin: 0 0 18px !important; }
  .t-popup_show .t-catalog__prod-popup__name {
    max-width: 22ch;
    margin: 0 0 10px !important;
    color: var(--yoshi-black) !important;
    font-size: clamp(26px, 2.4vw, 36px) !important;
    font-weight: 750 !important;
    line-height: 1.16 !important;
    letter-spacing: -.025em !important;
  }
  .t-popup_show :where(.t-catalog__prod-popup__brand, .t-catalog__prod-popup__sku) {
    margin-top: 5px !important;
    color: var(--yoshi-muted) !important;
    font-size: 13px !important;
  }
  .t-popup_show .t-catalog__prod-popup__price-wrapper {
    display: flex !important;
    align-items: baseline;
    width: 100%;
    margin: 0 0 20px !important;
    padding: 20px 0 !important;
    border-top: 1px solid var(--yoshi-line);
    border-bottom: 1px solid var(--yoshi-line);
  }
  .t-popup_show .t-catalog__prod-popup__price {
    color: var(--yoshi-black) !important;
    font-size: 32px !important;
    font-weight: 750 !important;
    line-height: 1.15 !important;
    font-variant-numeric: tabular-nums;
  }
  .t-popup_show .t-catalog__prod-popup__btn-wrapper {
    width: min(100%, 320px);
    margin: 0 0 26px !important;
    opacity: 1 !important;
  }
  .t-popup_show .t-catalog__prod-popup__btn {
    width: 100%;
    min-height: 52px !important;
    border: 2px solid var(--yoshi-red) !important;
    border-radius: 7px !important;
    background: var(--yoshi-red) !important;
    color: var(--yoshi-white) !important;
    font-size: 14px !important;
    font-weight: 750 !important;
    opacity: 1 !important;
    transition: transform .18s ease-out, background-color .18s ease-out;
  }
  .t-popup_show .t-catalog__prod-popup__btn:hover {
    transform: translateY(-1px);
    background: var(--yoshi-red-dark) !important;
  }
  .t-popup_show .js-catalog-prod-popup-buy-btn-txt { font-size: 0 !important; }
  .t-popup_show .js-catalog-prod-popup-buy-btn-txt::after { content: "В корзину"; font-size: 14px; }
  .t-popup_show .t-catalog__prod-popup__text {
    max-width: 70ch;
    margin: 0 !important;
    padding: 24px 26px 26px;
    border-radius: 12px;
    background: var(--yoshi-surface);
    color: #41484d !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
  }
  .t-popup_show .t-catalog__prod-popup__text::before {
    content: "Описание и характеристики";
    display: block;
    margin-bottom: 13px;
    color: var(--yoshi-black);
    font-size: 18px;
    font-weight: 750;
    line-height: 1.3;
  }

  /* Автоматическая карточка товара /tproduct/ — в том числе импорт из 1С */
  .t-catalog.t-catalog__prod-snippet__container {
    min-height: 100vh;
    padding: 32px 40px 80px !important;
    background: var(--yoshi-white) !important;
    color: var(--yoshi-black);
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  }
  .t-catalog__prod-snippet__container .t-catalog__prod-popup__close-txt-wr {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: min(100%, 1240px);
    margin: 0 auto 22px;
  }
  .t-catalog__prod-snippet__container .t-catalog__prod-popup__close-txt {
    display: inline-flex !important;
    align-items: center;
    min-height: 38px;
    margin: 0 !important;
    color: var(--yoshi-black) !important;
    font-size: 0 !important;
    font-weight: 650 !important;
    opacity: 1 !important;
  }
  .t-catalog__prod-snippet__container .t-catalog__prod-popup__close-txt::before {
    content: "←  В каталог" !important;
    color: var(--yoshi-black);
    font-family: inherit !important;
    font-size: 14px;
    transition: color .18s ease-out;
  }
  .t-catalog__prod-snippet__container .t-catalog__prod-popup__close-txt:hover::before { color: var(--yoshi-red); }
  .t-catalog__prod-snippet__container > .t-popup__close {
    position: fixed !important;
    top: 18px !important;
    right: 18px !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    background: var(--yoshi-white) !important;
    box-shadow: 0 8px 24px rgba(33, 33, 32, .10);
  }
  .t-catalog__product-snippet > .t-container {
    width: min(100%, 1240px) !important;
    max-width: 1240px !important;
    margin-inline: auto !important;
  }
  .t-catalog__product-snippet > .t-container > div {
    display: grid !important;
    grid-template-columns: minmax(0, 560px) minmax(340px, 1fr);
    gap: 18px 44px;
    align-items: start;
    width: 100%;
  }
  .t-catalog__prod-snippet__container .t-catalog__prod-popup__breadcrumbs {
    grid-column: 1 / -1;
    width: 100% !important;
    margin: 0 0 6px !important;
    padding: 0 !important;
    overflow: hidden;
  }
  .t-catalog__prod-snippet__container .t-catalog__breadcrumbs {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 !important;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .t-catalog__prod-snippet__container .t-catalog__breadcrumbs::-webkit-scrollbar { display: none; }
  .t-catalog__prod-snippet__container :where(.t-catalog__breadcrumbs-item, .t-catalog__breadcrumbs-item-text) {
    flex: 0 0 auto;
    max-width: 240px;
    overflow: hidden;
    color: #778087 !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .t-catalog__prod-snippet__container .t-catalog__breadcrumbs-item_active .t-catalog__breadcrumbs-item-text { color: var(--yoshi-black) !important; }
  .t-catalog__prod-snippet__container .t-catalog__prod-popup__slider {
    position: relative;
    grid-column: 1;
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 420px;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border-radius: 12px;
    background: var(--yoshi-surface);
  }
  .t-catalog__prod-snippet__container .t-catalog__prod-popup__slider::before {
    content: "YOSHI";
    position: absolute;
    inset: 0;
    z-index: 0;
    display: grid;
    place-items: center;
    color: #9ba5ac;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .18em;
  }
  .t-catalog__prod-snippet__container .t-catalog__prod-popup__slider .js-product-img {
    position: relative;
    z-index: 1;
    min-height: 420px;
    padding-bottom: 0 !important;
    background-color: transparent;
    background-position: center;
    background-size: contain !important;
    background-repeat: no-repeat;
  }
  .t-catalog__prod-snippet__container .t-catalog__prod-popup__info {
    grid-column: 2;
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 4px 0 0 !important;
  }
  .t-catalog__prod-snippet__container .t-catalog__prod-popup__title-wrapper { margin: 0 0 18px !important; }
  .t-catalog__prod-snippet__container .t-catalog__prod-popup__name {
    max-width: 20ch;
    margin: 0 0 10px !important;
    color: var(--yoshi-black) !important;
    font-size: clamp(26px, 2.4vw, 36px) !important;
    font-weight: 750 !important;
    line-height: 1.16 !important;
    letter-spacing: -.025em !important;
  }
  .t-catalog__prod-snippet__container :where(.t-catalog__prod-popup__brand, .t-catalog__prod-popup__sku) {
    margin-top: 5px !important;
    color: var(--yoshi-muted) !important;
    font-size: 13px !important;
  }
  .t-catalog__prod-snippet__container .t-catalog__prod-popup__price-wrapper {
    display: flex !important;
    align-items: baseline;
    width: 100%;
    margin: 0 0 20px !important;
    padding: 20px 0 !important;
    border-top: 1px solid var(--yoshi-line);
    border-bottom: 1px solid var(--yoshi-line);
  }
  .t-catalog__prod-snippet__container .t-catalog__prod-popup__price {
    color: var(--yoshi-black) !important;
    font-size: 32px !important;
    font-weight: 750 !important;
    line-height: 1.15 !important;
    font-variant-numeric: tabular-nums;
  }
  .t-catalog__prod-snippet__container .t-catalog__prod-popup__price_old { color: #969da2 !important; font-size: 16px !important; font-weight: 500 !important; }
  .t-catalog__prod-snippet__container .t-catalog__prod-popup__btn-wrapper {
    width: min(100%, 320px);
    margin: 0 0 26px !important;
    opacity: 1 !important;
  }
  .t-catalog__prod-snippet__container .t-catalog__prod-popup__btn {
    width: 100%;
    min-height: 52px !important;
    border: 2px solid var(--yoshi-red) !important;
    border-radius: 7px !important;
    background: var(--yoshi-red) !important;
    color: var(--yoshi-white) !important;
    font-size: 14px !important;
    font-weight: 750 !important;
    opacity: 1 !important;
    transition: transform .18s ease-out, background-color .18s ease-out;
  }
  .t-catalog__prod-snippet__container .t-catalog__prod-popup__btn:hover { transform: translateY(-1px); background: var(--yoshi-red-dark) !important; }
  .t-catalog__prod-snippet__container .js-catalog-prod-popup-buy-btn-txt { font-size: 0 !important; }
  .t-catalog__prod-snippet__container .js-catalog-prod-popup-buy-btn-txt::after { content: "В корзину"; font-size: 14px; }
  .t-catalog__prod-snippet__container .t-catalog__prod-popup__text {
    max-width: 70ch;
    margin: 0 !important;
    padding: 24px 26px 26px;
    border-radius: 12px;
    background: var(--yoshi-surface);
    color: #41484d !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
  }
  .t-catalog__prod-snippet__container .t-catalog__prod-popup__text::before {
    content: "Описание и характеристики";
    display: block;
    margin-bottom: 13px;
    color: var(--yoshi-black);
    font-size: 18px;
    font-weight: 750;
    line-height: 1.3;
  }

  /* Системная standalone-страница /tproduct/ использует старый префикс t-store.
     Селекторы ниже намеренно отдельные: новые товары из 1С получают их автоматически. */
  .t-store.t-store__prod-snippet__container {
    min-height: 100vh;
    padding: 32px 40px 80px !important;
    background: var(--yoshi-white) !important;
    color: var(--yoshi-black);
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  }
  .t-store__prod-snippet__container > .t-popup__close {
    position: relative !important;
    inset: auto !important;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    width: auto !important;
    min-height: 44px;
    margin: 0 max(0px, calc((100% - 1240px) / 2)) 22px;
    padding: 0 14px !important;
    border: 1px solid var(--yoshi-line);
    border-radius: 8px;
    background: var(--yoshi-white) !important;
    color: var(--yoshi-black) !important;
    font-size: 14px;
    font-weight: 650;
    box-shadow: none;
  }
  .t-store__prod-snippet__container > .t-popup__close::after { content: "В каталог"; }
  .t-store__prod-snippet__container > .t-popup__close:hover { color: var(--yoshi-red) !important; }
  .t-store__prod-snippet__container > .t-popup__close .t-popup__close-wrapper {
    position: static !important;
    width: 20px !important;
    height: 20px !important;
  }
  .t-store__prod-snippet__container > .t-popup__close .t-popup__close-icon_arrow {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
  }
  .t-store__prod-snippet__container > .t-popup__close .t-popup__close-icon_cross { display: none !important; }
  .t-store__product-snippet > .t-container {
    width: min(100%, 1240px) !important;
    max-width: 1240px !important;
    margin-inline: auto !important;
  }
  .t-store__product-snippet > .t-container > div {
    display: grid !important;
    grid-template-columns: minmax(0, 560px) minmax(340px, 1fr);
    gap: 44px;
    align-items: start;
    width: 100%;
  }
  .t-store__prod-snippet__container .t-store__prod-popup__slider {
    position: relative;
    grid-column: 1;
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 420px;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border-radius: 12px;
    background: var(--yoshi-surface);
  }
  .t-store__prod-snippet__container .t-store__prod-popup__slider::before {
    content: "YOSHI";
    position: absolute;
    inset: 0;
    z-index: 0;
    display: grid;
    place-items: center;
    color: #9ba5ac;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .18em;
  }
  .t-store__prod-snippet__container .t-store__prod-popup__slider .js-product-img {
    position: relative;
    z-index: 1;
    min-height: 420px;
    padding-bottom: 0 !important;
    background-color: transparent;
    background-position: center;
    background-size: contain !important;
    background-repeat: no-repeat;
  }
  .t-store__prod-snippet__container .t-store__prod-popup__info {
    grid-column: 2;
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 4px 0 0 !important;
  }
  .t-store__prod-snippet__container .t-store__prod-popup__title-wrapper { margin: 0 0 18px !important; }
  .t-store__prod-snippet__container .t-store__prod-popup__name {
    max-width: 22ch;
    margin: 0 0 10px !important;
    color: var(--yoshi-black) !important;
    font-size: clamp(26px, 2.4vw, 36px) !important;
    font-weight: 750 !important;
    line-height: 1.16 !important;
    letter-spacing: -.025em !important;
  }
  .t-store__prod-snippet__container :where(.t-store__prod-popup__brand, .t-store__prod-popup__sku) {
    margin-top: 5px !important;
    color: var(--yoshi-muted) !important;
    font-size: 13px !important;
  }
  .t-store__prod-snippet__container .t-store__prod-popup__price-wrapper {
    display: flex !important;
    align-items: baseline;
    width: 100%;
    margin: 0 0 20px !important;
    padding: 20px 0 !important;
    border-top: 1px solid var(--yoshi-line);
    border-bottom: 1px solid var(--yoshi-line);
  }
  .t-store__prod-snippet__container .t-store__prod-popup__price {
    color: var(--yoshi-black) !important;
    font-size: 32px !important;
    font-weight: 750 !important;
    line-height: 1.15 !important;
    font-variant-numeric: tabular-nums;
  }
  .t-store__prod-snippet__container .t-store__prod-popup__price_old {
    color: #969da2 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
  }
  .t-store__prod-snippet__container .t-store__prod-popup__btn-wrapper {
    width: min(100%, 320px);
    margin: 0 0 26px !important;
    opacity: 1 !important;
  }
  .t-store__prod-snippet__container .t-store__prod-popup__btn {
    width: 100%;
    min-height: 52px !important;
    border: 2px solid var(--yoshi-red) !important;
    border-radius: 7px !important;
    background: var(--yoshi-red) !important;
    color: var(--yoshi-white) !important;
    font-size: 0 !important;
    font-weight: 750 !important;
    opacity: 1 !important;
    transition: transform .18s ease-out, background-color .18s ease-out;
  }
  .t-store__prod-snippet__container .t-store__prod-popup__btn::after {
    content: "В корзину";
    font-size: 14px;
  }
  .t-store__prod-snippet__container .t-store__prod-popup__btn:hover {
    transform: translateY(-1px);
    background: var(--yoshi-red-dark) !important;
  }
  .t-store__prod-snippet__container .t-store__prod-popup__text {
    max-width: 70ch;
    margin: 0 !important;
    padding: 24px 26px 26px;
    border-radius: 12px;
    background: var(--yoshi-surface);
    color: #41484d !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
  }
  .t-store__prod-snippet__container .t-store__prod-popup__text::before {
    content: "Описание и характеристики";
    display: block;
    margin-bottom: 13px;
    color: var(--yoshi-black);
    font-size: 18px;
    font-weight: 750;
    line-height: 1.3;
  }

  /* Варианты, модификации и количество — общие для текущих и будущих товаров */
  .js-product .t-product__option { margin: 16px 0 !important; }
  .js-product .t-product__option-title {
    padding: 0 0 7px !important;
    color: var(--yoshi-black) !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    line-height: 1.35 !important;
  }
  .js-product :where(.t-product__option-select, .t-product__option-selected_select) {
    min-height: 46px;
    padding: 11px 38px 11px 13px !important;
    border: 1px solid var(--yoshi-line) !important;
    border-radius: 8px !important;
    background-color: var(--yoshi-white) !important;
    color: var(--yoshi-black) !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    transition: border-color .18s ease-out, box-shadow .18s ease-out;
  }
  .js-product :where(.t-product__option-select, .t-product__option-selected_select):focus {
    border-color: var(--yoshi-red) !important;
    box-shadow: 0 0 0 3px rgba(228, 41, 37, .14);
    outline: none;
  }
  .js-product .t-product__option-variants_select {
    overflow: hidden auto;
    border: 1px solid var(--yoshi-line) !important;
    border-radius: 10px !important;
    background: var(--yoshi-white) !important;
    box-shadow: 0 12px 28px rgba(33, 33, 32, .12) !important;
  }
  .js-product .t-product__option-item_select { padding-block: 10px !important; }
  .js-product .t-product__option-item_select:hover,
  .js-product .t-product__option-item_select.t-product__option-item_active { background: var(--yoshi-surface) !important; }
  .js-product .t-product__option-variants_buttons .t-product__option-item_simple {
    min-height: 40px;
    min-width: 40px;
    margin: 0 8px 8px 0 !important;
    padding: 8px 12px !important;
    border: 1px solid var(--yoshi-line) !important;
    border-radius: 8px !important;
    background: var(--yoshi-white) !important;
    color: var(--yoshi-black) !important;
  }
  .js-product .t-product__option-variants_buttons .t-product__option-item_simple:hover,
  .js-product .t-product__option-variants_buttons .t-product__option-item_simple.t-product__option-item_active {
    border-color: var(--yoshi-red) !important;
    color: var(--yoshi-red) !important;
  }
  .js-product .t-product__option-item_radio .t-product__option-input + .t-product__option-checkmark::before {
    border-color: #8a9399 !important;
  }
  .js-product .t-product__option-item_radio.t-product__option-item_active .t-product__option-input:checked + .t-product__option-checkmark::after {
    background: var(--yoshi-red) !important;
  }
  .t-catalog__prod__quantity {
    min-height: 50px;
    margin-right: 10px !important;
    border: 1px solid var(--yoshi-line) !important;
    border-radius: 8px !important;
    background: var(--yoshi-white) !important;
  }
  .t-catalog__prod__quantity-input {
    color: var(--yoshi-black) !important;
    font-weight: 650 !important;
    font-variant-numeric: tabular-nums;
  }
  .t-catalog__prod__quantity__minus,
  .t-catalog__prod__quantity__plus { background-color: var(--yoshi-surface) !important; }
  .t-catalog__empty-part-msg-wrapper,
  .t-catalog__error-msg-wrapper {
    min-height: 260px !important;
    border: 0 !important;
    border-radius: 12px;
    background: var(--yoshi-surface);
    color: var(--yoshi-muted) !important;
    font-size: 15px !important;
  }
  .t-catalog__card__price:has(.js-product-price:empty),
  .t-catalog__card :where(.t-catalog__card__soldout, .t-catalog__card__btn_disabled) {
    color: #a13f3d !important;
  }

  /* Корзина и оформление заказа */
  .t706 { font-family: "Segoe UI", Arial, Helvetica, sans-serif; }
  .t706__carticon {
    width: 68px !important;
    height: 68px !important;
    border: 0 !important;
    background: var(--yoshi-white) !important;
    box-shadow: 0 10px 28px rgba(33, 33, 32, .12) !important;
    transition: transform .18s ease-out, box-shadow .18s ease-out;
  }
  .t706__carticon:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(33, 33, 32, .16) !important; }
  .t706__carticon-counter {
    min-width: 26px !important;
    height: 26px !important;
    padding-inline: 7px !important;
    border-radius: 50px !important;
    background: var(--yoshi-red) !important;
    color: var(--yoshi-white) !important;
    font-size: 12px !important;
    font-weight: 750 !important;
    font-variant-numeric: tabular-nums;
  }
  .t706__cartwin { background: rgba(33, 33, 32, .72) !important; }
  .t706__cartwin-content {
    box-sizing: border-box;
    width: min(calc(100% - 40px), 640px) !important;
    max-width: 640px !important;
    max-height: calc(100vh - 40px);
    padding: 34px 40px 40px !important;
    overflow-y: auto;
    border-radius: 16px !important;
    background: var(--yoshi-white) !important;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
  }
  .t706__cartwin-heading {
    margin-bottom: 24px !important;
    color: var(--yoshi-black) !important;
    font-size: 28px !important;
    font-weight: 750 !important;
    line-height: 1.2 !important;
    letter-spacing: -.02em !important;
  }
  .t706__product {
    padding: 18px 0 !important;
    border-top: 1px solid var(--yoshi-line) !important;
    border-bottom: 0 !important;
  }
  .t706__product-title {
    color: var(--yoshi-black) !important;
    font-size: 14px !important;
    font-weight: 650 !important;
    line-height: 1.4 !important;
  }
  .t706__product-title__option { margin-top: 5px; color: var(--yoshi-muted) !important; font-size: 12px !important; }
  .t706__product-plusminus { white-space: nowrap; }
  .t706__product-minus,
  .t706__product-plus,
  .t706__product-del {
    border-color: var(--yoshi-line) !important;
    color: var(--yoshi-muted) !important;
    transition: border-color .18s ease-out, color .18s ease-out, background-color .18s ease-out;
  }
  .t706__product-minus:hover,
  .t706__product-plus:hover {
    border-color: var(--yoshi-red) !important;
    background: #fff4f3 !important;
    color: var(--yoshi-red) !important;
  }
  .t706__product-del:hover { color: var(--yoshi-red) !important; }
  .t706__product-quantity,
  .t706__product-amount,
  .t706__cartwin-prodamount,
  .t706__cartwin-totalamount { font-variant-numeric: tabular-nums; }
  .t706__product-amount { color: var(--yoshi-black) !important; font-size: 16px !important; font-weight: 750 !important; }
  .t706__cartwin-bottom { padding-top: 18px !important; border-top: 1px solid var(--yoshi-line); }
  .t706__cartwin-prodamount-wrap,
  .t706__cartwin-totalamount-wrap {
    color: var(--yoshi-black) !important;
    font-weight: 700 !important;
  }
  .t706__orderform { margin-top: 30px; }
  .t706__orderform .t-input-group { margin-bottom: 17px !important; }
  .t706__orderform .t-input-title {
    margin-bottom: 7px !important;
    color: var(--yoshi-black) !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    line-height: 1.3 !important;
  }
  .t706__orderform .t-input-group_nm .t-input-title,
  .t706__orderform .t-input-group_em .t-input-title,
  .t706__orderform .t-input-group_ph .t-input-title { font-size: 0 !important; }
  .t706__orderform .t-input-group_nm .t-input-title::after { content: "Имя"; font-size: 13px; }
  .t706__orderform .t-input-group_em .t-input-title::after { content: "Электронная почта"; font-size: 13px; }
  .t706__orderform .t-input-group_ph .t-input-title::after { content: "Телефон"; font-size: 13px; }
  .t706__orderform :where(.t-input, .t-input-phonemask__wrap) {
    min-height: 52px !important;
    border: 1px solid var(--yoshi-line) !important;
    border-radius: 8px !important;
    background: var(--yoshi-white) !important;
    color: var(--yoshi-black) !important;
    font-size: 16px !important;
    transition: border-color .18s ease-out, box-shadow .18s ease-out;
  }
  .t706__orderform .t-input:focus {
    border-color: var(--yoshi-red) !important;
    box-shadow: 0 0 0 3px rgba(228, 41, 37, .14);
    outline: none !important;
  }
  .t706__orderform .t-submit {
    min-height: 54px !important;
    border: 2px solid var(--yoshi-red) !important;
    border-radius: 8px !important;
    background: var(--yoshi-red) !important;
    color: var(--yoshi-white) !important;
    font-size: 0 !important;
    font-weight: 750 !important;
    transition: transform .18s ease-out, background-color .18s ease-out;
  }
  .t706__orderform .t-submit::after { content: "Оформить заказ"; font-size: 15px; }
  .t706__orderform .t-submit:hover { transform: translateY(-1px); background: var(--yoshi-red-dark) !important; }
  .t706__orderform .t-form__successbox {
    border-radius: 10px;
    background: #edf7ef !important;
    color: #245c31 !important;
  }
  .t706__orderform .t-form__errorbox-wrapper {
    border-radius: 10px;
    background: #fff0ef !important;
    color: #8b2926 !important;
  }

  @media (max-width: 980px) {
    .t-catalog__cont-wrapper { padding-inline: 24px; }
    .t-catalog__parts-switch-wrapper { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .t-catalog__card,
    .t-store__card { flex-basis: calc(50% - 9px) !important; width: calc(50% - 9px) !important; }
    .t744 > .t-container { grid-template-columns: minmax(0, 1fr) minmax(300px, .85fr); gap: 28px; padding-inline: 24px; }
    .t-catalog.t-catalog__prod-snippet__container { padding-inline: 24px !important; }
    .t-catalog__product-snippet > .t-container > div {
      grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr);
      gap: 28px;
    }
    .t-store.t-store__prod-snippet__container { padding-inline: 24px !important; }
    .t-store__product-snippet > .t-container > div {
      grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr);
    }
  }

/* YOSHI gallery white background 20260918 */
.t-slds.t-slds__thumbsbullets-with-gallery,
.t-catalog__prod-popup__slider > .t-slds {
  background-color: #ffffff !important;
}
