/* Подключаем кастомный шрифт */
@font-face {
  font-family: 'Bebas Neue';
  src: url('https://static.tildacdn.com/tild6135-3433-4139-a131-346363393936/Bebas-Neue-Cyrillic.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

.header-links {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 56px;
  padding: 0 16px;
  pointer-events: none;
}

@media screen and (max-width: 768px) {
  .t451__centerside {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 10 !important;
  }

  .t451__centerside .t-heading.t-heading_xs {
    text-align: center !important;
    margin: 0 auto !important;
    display: block !important;
  }
}

.header-links a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  color: #ffffff !important;
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
}

/* Корзина: отступ справа на десктопе */
@media (min-width: 769px) {
  .header-links a:last-child {
    margin-right: 2px;
  }
}

/* Корзина — отступ справа, чтобы не обрезало счётчик */
@media (max-width: 768px) {
  .header-links a:last-child {
    margin-right: 24px !important;
  }
}

/* "меню" немного правее */
.header-links a:first-child {
  margin-left: 4px;
}

/* Убираем стандартный бургер */
.t-menuburger {
  display: none !important;
}

/* Убираем стандартную иконку корзины, включая всплывающую внизу */
.t706__carticon-wrapper,
.t-menuwidgeticons_icon,
.t-menuwidgeticons__cart {
  display: none !important;
}

/* Логотип */
.t451__centerside .t-heading.t-heading_xs {
  font-size: 32px !important;
  letter-spacing: 0.5px;
  font-weight: 400;
}

/* 💻 На компьютерах — крупнее + расстояние между буквами */
@media (min-width: 769px) {
  .header-links a {
    font-size: 24px;
    letter-spacing: 1.2px;
  }
}

/* 📱 На мобильных — меньше */
@media (max-width: 768px) {
  .header-links a {
    font-size: 18px;
    letter-spacing: 0.3px;
  }
}

.header-links a:hover {
  color: #bababa !important;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.4);
  transition: all 0.25s ease;
}

/* 💻 На компьютерах увеличим, чтобы не отставало от "корзина" */
@media (min-width: 769px) {
  #custom-cart-count {
    font-size: 20px;
    letter-spacing: 1.2px;
  }
}

/* Эффект при наведении — ДЛЯ ВСЕХ ЭКРАНОВ */
a.t451__logo:hover .t-heading.t-heading_xs {
  color: #bababa !important;
  transition: color 0.4s ease;
}

/* Название товара */
.t706__product-title {
  color: #ffffff !important;
}

/* Цена за единицу */
.t706__product-amount {
  color: #ffffff !important;
}

/* Общая сумма */
.t706__cart-totalprice {
  color: #ffffff !important;
}

/* Слово "Сумма:" */
.t706__cart-total {
  color: #ffffff !important;
}

/* Название товара */
.t706__product-title {
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  color: #ffffff !important;
}

/* Цена за единицу */
.t706__product-amount {
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 18px !important;
  font-weight: 300 !important;
  color: #ffffff !important;
}

/* Применяем шрифт ко всей корзине */
.t706 {
  font-family: 'Bebas Neue', sans-serif !important;
}

/* Итоговая сумма: Слово "Сумма:" */
.t706__cart-total {
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  color: #ffffff !important;
}

/* Итоговая сумма: цифра */
.t706__cart-totalprice {
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 22px !important;
  font-weight: 500 !important;
  color: #ffffff !important;
}

.t706__cart-totalprice span {
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 22px !important;
  font-weight: 500 !important;
  font-style: normal !important;
  font-variant: normal !important;
  line-height: 1.2 !important;
  color: #ffffff !important;
}

.t706__cart-totalprice span,
.t706__cart-total span {
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 22px !important;
  font-weight: 500 !important;
  font-style: normal !important;
  font-variant: normal !important;
  line-height: 1.2 !important;
  color: #ffffff !important;
  letter-spacing: 0.5px !important;
  text-transform: none !important;
}

/* Сумма (цифра) — 12 400 ₽ */
.t706__cartwin-prodamount-price {
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 22px !important;
  font-weight: 500 !important;
  font-style: normal !important;
  color: #ffffff !important;
  letter-spacing: 0.5px !important;
}

/* Слово "Сумма:" */
.t706__sidebar-prodamount-label {
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  font-style: normal !important;
  color: #ffffff !important;
  letter-spacing: 0.2px !important;
}

/* Фикс второго уровня меню в выпадающем списке */
.t-menusub__menu {
  max-width: 100% !important;
  overflow-x: hidden !important;
  white-space: normal !important;
  word-break: break-word !important;
  box-sizing: border-box !important;
}

/* Убираем горизонтальную прокрутку и ползунок */
.t-menupopup {
  overflow-x: hidden !important;
}

body {
  overflow-x: hidden !important;
}

@media (max-width: 768px) {
  .header-links a {
    font-size: 18px !important;
    letter-spacing: 0.4px !important;
    font-weight: 400 !important;
  }

  #custom-cart-count {
    font-size: 18px !important;
    letter-spacing: 0.4px !important;
    font-weight: 400 !important;
    vertical-align: baseline !important;
  }
}

.header-links a:hover,
.header-links a:hover #custom-cart-count {
  color: #bababa !important;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.4);
  transition: all 0.25s ease;
}

.header-links a {
  pointer-events: auto;
}

@media (max-width: 768px) {
  .header-links {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 56px !important;
    padding: 0 16px !important;
    transform: none !important;
  }

  .header-links a {
    font-size: 18px !important;
    font-family: 'Bebas Neue', sans-serif !important;
    color: #ffffff !important;
    letter-spacing: 0.4px !important;
    font-weight: 400 !important;
    display: flex !important;
    align-items: center !important;
    line-height: 1 !important;
    margin: 0 !important;
    text-decoration: none !important;
    line-height: normal !important;
    height: 56px !important;
    display: flex !important;
    align-items: center !important;
  }

  #custom-cart-count {
    font-size: 18px !important;
    letter-spacing: 0.4px !important;
    font-weight: 400 !important;
    margin-left: 4px !important;
    line-height: 1 !important;
    vertical-align: baseline !important;
    position: static !important;
    transform: translateY(-1px) !important;
  }

  .header-links a:last-child {
    margin-right: 6px !important;
  }

  .header-links a:first-child {
    margin-left: 4px !important;
  }

  .t451__centerside {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    position: relative;
  }

  .t451__centerside .t-heading.t-heading_xs {
    text-align: center !important;
    margin: 0 auto !important;
    display: block !important;
    font-size: 26px !important;
  }
}

.header-links a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  color: #ffffff !important;
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
  height: 56px;
  display: flex;
  align-items: center;
  line-height: 56px;
}

a.t451__logo {
  display: inline-block;
  transition: transform 0.4s ease;
  position: relative;
  z-index: 10;
}

@media (max-width: 768px) {
  #custom-cart-count {
    font-size: 18px !important;
    transform: translateY(1px) !important;
    display: inline-block !important;
    margin-left: 4px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    vertical-align: middle !important;
  }
}

@media screen and (orientation: landscape) and (max-width: 1024px) {
  .t451__centerside {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    position: relative;
  }

  .t451__centerside .t-heading.t-heading_xs {
    margin: 0 auto !important;
    text-align: center !important;
  }
}



@keyframes noiseMove {
  from { transform: translate(0,0); }
  to { transform: translate(10px,10px); }
}

body .t706__cartpage.t706__cartpage_showed,
body .t706__sidebar-content.t706__sidebar-content_showed {
  background-image: url('https://0185502d-8654-4b55-956d-8a0e672603e6.selstorage.ru/%D0%9A%D0%90%D0%A0/IMG_2272.png') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.t706__cartpage,
.t706__sidebar-content {
    background-attachment: fixed !important;
}

body .t706__cartpage-top,
body .t706__cartpage-totals {
    background: none !important;
    background-color: transparent !important;
}


.t706__cartpage-products_empty ~ .t706__sidebar-bottom {
  display: none !important;
}

.t706__product-plusminus,
.t706__product-amount {
  vertical-align: middle !important;
}

.t706__product-del img {
  content: url("https://optim.tildacdn.com/tild6535-3063-4166-b533-313166636361/-/format/webp/noroot.png.webp") !important;
  width: 14px !important;
  height: 14px !important;

  position: relative !important;
  top: 3px !important;
}

.t-product__option-variants select,
.t-product__option-variants .t-product__option-variant,
.t-product__option-variant {
  background: #000 !important;
  color: #ffffff !important;
  border-radius: 4px !important;
  border: none !important;
}

.t706__product-minus img {
  content: url("https://optim.tildacdn.com/tild6365-3236-4065-a363-626436333164/-/format/webp/noroot.png.webp") !important;
  width: 16px !important;
  height: 16px !important;
}

.t706__product-plus img {
  content: url("https://optim.tildacdn.com/tild6331-3563-4438-b963-373164326463/-/format/webp/noroot.png.webp") !important;
  width: 15px !important;
  height: 15px !important;
}

.t-product__option-variants select {
  width: 115px !important; /* можешь выбрать своё оптимальное значение */
  max-width: 120px !important;
  min-width: 50px !important;
}

@font-face {
  font-family: 'HelveticaNeueLight';
  src: url('https://0185502d-8654-4b55-956d-8a0e672603e6.selstorage.ru/HelveticaNeue-Light%20(1).woff') format('woff'); 
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'NeueHaasGroteskDisplayMedium';
  src: url('https://0185502d-8654-4b55-956d-8a0e672603e6.selstorage.ru/Neue-Haas-Grotesk-Display-Pro-65-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Уменьшаем слово "РАЗМЕР" */
.js-product-edition-option-name,
.t-product__option-title,
.t-typography__options.t-descr.t-descr_xxs {
  font-size: 15px !important;
  font-family: 'HelveticaNeueLight', Arial, sans-serif !important;
  font-weight: 500 !important;
}

/* Уменьшаем размер выпадающих вариантов (select и кастомные кнопки) */
.t-product__option-variants select,
.t-product__option-variant,
.t-product__option-variants .t-product__option-variant {
  font-size: 15px !important;
  font-family: 'HelveticaNeueLight', Arial, sans-serif !important;
  font-weight: 500 !important;
}

.delivery-full-address.t-descr {
    display: none !important;
}

.t706__close-icon.t706__cartpage-back-icon {
    display: none !important;
}

/* 1. Фото 1: HelveticaNeueLight, размер 15 */
.t706__cartwin-totalamount-label {
  font-family: 'NeueHaasGroteskDisplayMedium', Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 300 !important;
}

/* 3. Фото 3: NeueHaasGroteskDisplayMedium, размер 15 */
.t706__cartwin-prodamount-currency {
  font-family: 'NeueHaasGroteskDisplayMedium', Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
}

/* 4. Фото 4: NeueHaasGroteskDisplayMedium, размер 16, цвет #e8ff9a */
.t706__bubble-text.t-descr {
  font-family: 'NeueHaasExtraLight', Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #fff !important;
letter-spacing: 0.5px !important;
}

body .t706__bubble-container,
body .t706__bubble-container * {
    background-color: #4a273b !important;
}

.t706__cartwin-prodamount-price {
  font-size: 18px !important;
}

input.t-input.js-tilda-rule.t-input-inline-styles,
input.t-input.js-tilda-rule.t-input-inline-styles::placeholder {
    font-size: 12px !important;
}

input.t-input.js-tilda-rule.t-input-inline-styles::-webkit-input-placeholder { /* Chrome/Safari/Opera */
    font-size: 12px !important;
}
input.t-input.js-tilda-rule.t-input-inline-styles::-moz-placeholder {           /* Firefox 19+ */
    font-size: 12px !important;
}
input.t-input.js-tilda-rule.t-input-inline-styles:-ms-input-placeholder {       /* IE 10+ */
    font-size: 12px !important;
}
input.t-input.js-tilda-rule.t-input-inline-styles::-ms-input-placeholder {      /* Edge */
    font-size: 12px !important;
}

/* и на всякий случай пиши с еще большей специфичностью через атрибут */
input[placeholder="ВВЕДИТЕ ВАШ EMAIL"]::placeholder {
    font-size: 12px !important;
}

/* Все опции: лаймовый фон, черный текст, черная рамка */
.t-product__option-item_buttons {
    background: #4a273b !important;
    border-color: #000 !important;
    border-width: 2px !important;
}

.t-product__option-item_buttons .t-product__option-title {
    color: #000 !important;
}

/* Активная опция: черный фон, лаймовый текст, без рамки */
.t-product__option-item_buttons.t-product__option-item_active {
    background: #000 !important;
    border-color: #000 !important;
    border-width: 2px !important;
    box-shadow: none !important;
}

.t-product__option-item_buttons.t-product__option-item_active .t-product__option-title {
    color: #ffffff !important;
}

.t706__sidebar-top {
    text-align: center !important;
}

@media (min-width: 641px) {
  .t706__sidebar-top,
  .t706__sidebar-top * {
    font-size: 18px !important; /* поставь нужный размер */
  }
}

@media (max-width: 640px) {
  .t706__sidebar-top,
  .t706__sidebar-top * {
    font-size: 16px !important; /* подбери нужный размер */
  }
}



input.t-input.js-tilda-rule.t-input-inline-styles[data-field-type="email"] {
  color: #4a273b !important;
}

/* Или если поле внутри блока подписки, добавь родительский класс/идентификатор: */
.t-input-group_em input.t-input.js-tilda-rule.t-input-inline-styles {
  color: #4a273b !important;
}

.div-store_tabs_item-button {
  font-size: 14px !important;
}

.t-input-js-tilda-rule:-webkit-autofill,
.t-input-js-tilda-rule:-webkit-autofill:hover,
.t-input-js-tilda-rule:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 30px white inset !important;
  -webkit-text-fill-color: white !important;
  color: white !important;
}

/* Контейнер изображения товара */
.t706__product-imgdiv {
  width: 70px !important;
  aspect-ratio: 3 / 4 !important;
  height: auto !important;
}



/* Подключение шрифта */
@font-face {
  font-family: 'NeueHaasExtraLight';
  src: url('https://0185502d-8654-4b55-956d-8a0e672603e6.selstorage.ru/Neue-Haas-Grotesk-Display-Pro-35-Extra-Light.woff') format('woff');
  font-weight: 200;
  font-style: normal;
}



html, body {
    background-color: #000 !important;
}

#preloader {
    background-color: #4a273b;
    min-height: 100dvh;
}


@font-face {
    font-family: 'Betmo';
    src: url('https://0185502d-8654-4b55-956d-8a0e672603e6.selstorage.ru/Betmo%20Regular%20Cyr%20Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

#preloader {
    position: fixed;
    inset: 0;

    background-image: url('https://0185502d-8654-4b55-956d-8a0e672603e6.selstorage.ru/IMG_2381.JPG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

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

    z-index: 999999;

    transition: opacity 1.5s ease, visibility 1.5s ease;

    animation: preloaderAppear 1s ease forwards;
}


/* появление всего прелоадера */
@keyframes preloaderAppear {

    from {
        filter: brightness(0.45);
    }

    to {
        filter: brightness(1);
    }

}


/* затемнение перед уходом */
#preloader.hide {

    animation: none;

    opacity: 0;
    visibility: hidden;

    filter: brightness(0.8);

}

/* Телефон */
@media (max-width: 980px) {
    #preloader {
        background-image: url('https://optim.tildacdn.com/tild3139-3134-4564-b532-623937313664/-/resize/400x/-/format/webp/IMG_2272_3.PNG.webp');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}


.logo-text {

    font-family: 'Betmo', serif !important;

    font-size: 36px;
    font-weight: normal;

    color: #fff;

    line-height: 1;

    padding: 25px;

    box-sizing: border-box;

    opacity: 0;

    animation: logoFadeIn 1.2s ease forwards;
}


@keyframes logoFadeIn {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

}


@media (max-width: 980px) {
    .logo-text {
        font-size: 36px;
         padding: 25px;
    }
}



#preloader.hide {
    opacity: 0;
    visibility: hidden;
}


/* Белый текст в корзине */
.t706__cartwin-prodamount-currency,
.t706__cartwin-totalamount-label,
.t706__cartpage-heading.t-name.t-name_xl,
.t706__product-quantity,
.t706__product-del,
.t706__product-plusminus.t-descr.t-descr_sm,

.t706__sidebar-close,
.t706__sidebar-totalamount-label,
.t706__cartwin-totalamount-info_label,
.t706__cartwin-totalamount-info,
.t706__cartwin-totalamount-info_value,
.delivery-checkbox-label,
.t-radio__control.t-text.t-text_xs,
#delivery-services-wrapper,
.delivery-minimum-time,

.t-name.t-name_md,
.t706__sidebar-heading.t-name.t-name_xl,

p.t-text,
span.t-text.searchbox-change-pickup,
div.searchbox-info,
div.t-input-description.t-text.t-text_xs,
input#input_3788024665912.t-input.t-input-phonemask,
input.searchbox-input.js-tilda-rule.t-input,
input.js-tilda-rule.t-input {
    color: #ffffff !important;
}

/* Белая иконка поиска */
svg.t706__search-icon,
svg.t706__search-icon path {
    fill: #ffffff !important;
    stroke: #ffffff !important;
}

/* Белая точка радиокнопки */
.t-radio__indicator::after {
    background-color: #ffffff !important;
}

/* Белый крестик закрытия корзины */
.t706__sidebar-close svg,
.t706__sidebar-close path {
    fill: #ffffff !important;
    stroke: #ffffff !important;
}

/* Скрываем оригинальный текст "Все" */
.t-store__parts-switch-btn-all {
  color: transparent !important;
  position: relative;
  font-size: 0 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  height: auto !important;
  padding: inherit !important;
}


/* Текст ALL */
.t-store__parts-switch-btn-all::before {
  content: "ALL";

  color: #ffffff !important;

  font-size: 14px !important; /* ПК */
  font-family: 'NeueHaasExtraLight', Arial, sans-serif !important;
  font-weight: 200 !important;

  white-space: nowrap !important;
  position: relative;

  line-height: 1.2 !important;
  margin: 0 !important;
  padding: 0 !important;

  top: 1px !important;

  opacity: 1 !important;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  text-rendering: geometricPrecision;
}

/* Телефон */
@media screen and (max-width: 640px) {
  .t-store__parts-switch-btn-all::before {
    font-size: 12px !important;
  }
}

.t-store__parts-switch-wrapper {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  margin-bottom: 20px !important;
}

.t-store__parts-switch-wrapper-tree {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  width: 100% !important;
}

.t-store__parts-switch-btn,
.js-store-parts-switch-btn {
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

.t-store__parts-switch-btn-all {
    color: #fff !important;
}

li.t-form__errorbox-item.js-rule-error.js-rule-error-string {
    font-family: 'NeueHaasExtraLight' !important;
    font-size: 14px !important;
letter-spacing: 0.5px !important;
}

div.js-errorbox-all.t-form__errorbox-wrapper {
    background-color: #4a273b !important;
}

@font-face {
    font-family: 'BebasNeue';
    src: url('https://0185502d-8654-4b55-956d-8a0e672603e6.selstorage.ru/BebasNeue-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Иконка закрытия боковой корзины — вниз 19px и влево 6px */
svg.t706__close-icon.t706__sidebar-close-icon {
    transform: translate(-20px, 19px) !important;
}


/* Иконка закрытия обычной корзины — налево 3px */
svg.t706__close-icon.t706__cartpage-close-icon {
    transform: translateX(-9px) !important;
}