/* ============================================================
   ФИКС ШРИФТОВ + APPLE/STRIPE STYLE ДЛЯ TILDA STORE
   ============================================================ */


/* ----- ТЕКСТЫ TILDA STORE: карточки, попапы, страницы товара ----- */

/* Карточки в списке товаров */
.t-store__card__wrap,
.t-store__card__wrap *,
.t-store__card__title,
.t-store__card__descr,
.t-store__card__price {
    font-family: Arial, Helvetica, sans-serif !important;
}

/* Окно карточки товара (попап) */
.t-store__prod-popup,
.t-store__prod-popup *,
.t-store__prod-popup__title,
.t-store__prod-popup__text,
.t-store__prod-popup__descr,
.t-store__prod-popup__price {
    font-family: Arial, Helvetica, sans-serif !important;
}

/* Отдельная страница товара */
.t-store__prod-full,
.t-store__prod-full *,
.t-store__prod-full__title,
.t-store__prod-full__text,
.t-store__prod-full__descr,
.t-store__prod-full__price,
.t-store__prod-full .t-store__prod-name,
.t-store__prod-full .t-store__prod-name *,
.t-store__prod-full .js-product-name,
.t-store__prod-full .js-product-name * {
    font-family: Arial, Helvetica, sans-serif !important;
}


/* ============================================================
   НОРМАЛЬНЫЕ ШРИФТЫ ДЛЯ ВСЕХ ПОЛЕЙ ФОРМЫ
   ============================================================ */

/* Общий reset для форм */
.t-input-block input,
.t-input-block textarea,
.t-input-block select {
    font-family: Arial, Helvetica, sans-serif !important;
    letter-spacing: normal !important;
}

/* Имя */
.t-input-block input[type="text"],
.t-input-name,
.t-input-name input {
    font-family: Arial, Helvetica, sans-serif !important;
}

/* Почта */
.t-input-block input[type="email"],
.t-input-block input.t-input-email,
.t-input-email,
.t-input-email input {
    font-family: Arial, Helvetica, sans-serif !important;
}

/* Телефон */
.t-input-block .t-input-phone,
.t-input-block .t-input-phone input,
.t-input-block .t-mask,
.t-input-phonemask,
.t-input-phonemask__wrap,
.t-input-phonemask input {
    font-family: Arial, Helvetica, sans-serif !important;
}

/* Адрес и любые textarea */
.t-input-block textarea,
.t-textarea,
.t-textarea textarea {
    font-family: Arial, Helvetica, sans-serif !important;
}

/* Плейсхолдеры */
.t-input-block input::placeholder,
.t-input-block textarea::placeholder {
    font-family: Arial, Helvetica, sans-serif !important;
    color: #9A9A9A !important;
}


/* ============================================================
   APPLE / STRIPE STYLE — ВИЗУАЛ ФОРМЫ
   ============================================================ */

/* Контент окна заказа (popup-cart t706) */
.t706__cartwin-content {
    max-width: 640px;
    margin: 0 auto;
    padding: 30px 40px 35px 40px !important;
}

/* Подписи полей */
.t-input-title {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 4px;
    line-height: 1.4;
}

/* Отступы между полями */
.t-input-block {
    margin-bottom: 18px;
}

/* Основной стиль input/textarea/select */
.t-input-block input,
.t-input-block textarea,
.t-input-block select {
    border-radius: 8px !important;
    border: 1px solid #E0E0E0 !important;
    padding: 10px 12px !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    background-color: #FFFFFF !important;
    transition: 0.15s ease;
}

/* Фокус */
.t-input-block input:focus,
.t-input-block textarea:focus,
.t-input-block select:focus {
    border-color: #000 !important;
    box-shadow: 0 0 0 1px #00000010;
    outline: none !important;
}

/* Disabled поля */
.t-input-block input[disabled],
.t-input-block textarea[disabled],
.t-input-block select[disabled] {
    background-color: #F7F7F7 !important;
    color: #777 !important;
}

/* Радиокнопки */
.t-radio__control .t-radio__label {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 15px !important;
}

.t-radio__control .t-radio__indicator {
    width: 16px !important;
    height: 16px !important;
}

/* Блок авторизации */
.t706__cartwin-userinfo,
.t706__cartwin-useremail {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
}

/* Итоговая сумма в попап-корзине */
.t706__cart-total,
.t706__cart-total strong {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}

/* Кнопка заказа */
.t706__order-button .t-btn {
    border-radius: 999px !important;
    padding: 12px 26px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}


/* ============================================================
   ГЛАВНОЕ: ФИКС ШРИФТА И ТЕКСТА НА СТРАНИЦЕ ОФОРМЛЕНИЯ ЗАКАЗА
   (БЛОК T706 — ТВОЙ СКРИН С КАРТОЙ, ФИО, КОММЕНТАРИЕМ, ОПЛАТОЙ)
   ============================================================ */

/* Жёстко сбрасываем фирменный шрифт в блоке t706 (страница заказа) */
.t706,
.t706 *,
.t706 input,
.t706 textarea,
.t706 select,
.t706 label,
.t706 .t-input,
.t706 .t-descr,
.t706 .t-title,
.t706 .t-text,
.t706 .t-radio,
.t706 .t-checkbox {
    font-family: Arial, Helvetica, sans-serif !important;
    font-weight: 400 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

/* Плейсхолдеры в форме заказа */
.t706 ::placeholder {
    font-family: Arial, Helvetica, sans-serif !important;
}

/* Адрес, суммы, доставка, итог */
.t706 .t-store__cart-total,
.t706 .t-store__cart-item,
.t706 .t-store__cart-delivery,
.t706 .t-store__cart-total-sum,
.t706 .t706__cart-total,
.t706 .t706__cart-total strong {
    font-family: Arial, Helvetica, sans-serif !important;
}

/* Блок "Вы авторизованы как ..." на странице заказа */
.t706 .t706__cartwin-user,
.t706 .t706__cartwin-user *,
.t706 .t706__cartwin-userinfo,
.t706 .t706__cartwin-userinfo *,
.t706 .t706__cartwin-useremail,
.t706 .t706__cartwin-useremail * {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}
/* ============================================================
   ПЛАШКА "ВЫ АВТОРИЗОВАНЫ КАК ..."
   СТИЛЬ + ПЕРЕНОС В САМЫЙ ВЕРХ ФОРМЫ
   ============================================================ */

/* Общие настройки текста внутри плашки */
.t706 .t706__cartwin-user,
.t706 .t706__cartwin-user *,
.t706 .t706__cartwin-user a {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: normal !important;
    text-transform: none !important;
    text-decoration: none; /* убираем подчёркивание у ссылок */
}

/* Внешний вид плашки */
.t706 .t706__cartwin-user {
    background-color: #f5f5f5;      /* фон плашки */
    padding: 12px 16px;             /* отступы */
    border-radius: 8px;             /* скругление */
    display: flex;                  /* текст слева, кнопка справа */
    align-items: center;
    justify-content: space-between;
    border: 1px solid #e0e0e0;      /* тонкая рамка */
    margin-top: 0 !important;       /* чтобы сверху не было лишнего отступа */
}

/* Кнопка "Выйти" внутри плашки */
.t706 .t706__cartwin-user .t-btn {
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 500;
}

/* --- ПЕРЕНОС ПЛАШКИ В САМЫЙ ВЕРХ ФОРМЫ --- */

/* Делаем контент формы flex-колонкой */
.t706__cartwin-content,
.t706__orderform {
    display: flex;
    flex-direction: column;
}

/* Плашка становится первым элементом в форме */
.t706__cartwin-user {
    order: -1;              /* наверх */
    margin-bottom: 20px;    /* отступ вниз от плашки */
}
/* ===============================
   FIX: Артикул товара — системный шрифт
   =============================== */

/* Карточка товара (попап) */
.t-store__prod-popup__sku,
.t-store__prod-popup__sku * {
    font-family: Arial, Helvetica, sans-serif !important;
    letter-spacing: 0 !important;
}

/* Страница товара */
.t-store__prod-full__sku,
.t-store__prod-full__sku * {
    font-family: Arial, Helvetica, sans-serif !important;
    letter-spacing: 0 !important;
}

/* На всякий случай — список товаров */
.t-store__card__sku,
.t-store__card__sku * {
    font-family: Arial, Helvetica, sans-serif !important;
}
/* 1) Глобально: системный шрифт для всего сайта */
:root {
  --sys-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  font-family: var(--sys-font) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 2) На всякий случай: типовые классы Tilda для текста */
.t-text,
.t-descr,
.t-uptitle,
.t-title,
.t-subtitle {
  font-family: var(--sys-font) !important;
}

/* 3) Самое важное: табы (описание в карточке/вкладках) */
.t-tabs__content,
.t-tabs__content * {
  font-family: var(--sys-font) !important;
}

/* 4) Если это магазин/карточка товара: описание товара */
.t-store__prod-descr,
.t-store__prod-descr * {
  font-family: var(--sys-font) !important;
}

/* 5) Читаемость текста в табах (чтобы выглядело “дорого”) */
.t-tabs__content {
  font-size: 15.5px;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

.t-tabs__content p { margin: 0 0 14px; }
.t-tabs__content p:last-child { margin-bottom: 0; }

