/* arabic */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("iJWKBXyIfDnIV7nErXyi0A.woff2") format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("iJWKBXyIfDnIV7nMrXyi0A.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("iJWKBXyIfDnIV7nFrXyi0A.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* hebrew */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("iJWKBXyIfDnIV7nDrXyi0A.woff2") format('woff2');
  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* latin-ext */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("iJWKBXyIfDnIV7nPrXyi0A.woff2") format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("iJWKBXyIfDnIV7nBrXw.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* arabic */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("iJWKBXyIfDnIV7nErXyi0A.woff2") format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("iJWKBXyIfDnIV7nMrXyi0A.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("iJWKBXyIfDnIV7nFrXyi0A.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* hebrew */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("iJWKBXyIfDnIV7nDrXyi0A.woff2") format('woff2');
  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* latin-ext */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("iJWKBXyIfDnIV7nPrXyi0A.woff2") format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("iJWKBXyIfDnIV7nBrXw.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Обёртка для двух кнопок: "Информация" и "Получить займ" */
.product-buttons-wrap {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

/* Кнопка "Информация" (буква i) */
.info-btn {
  background-color: #e0e0e0; /* Лёгкий серый фон */
  color: #000;              /* Цвет текста */
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  width: 30px;      /* Ширина */
  height: 30px;     /* Высота */
  text-align: center;
  line-height: 28px; /* Выравниваем "i" по вертикали */
  margin-right: 8px; /* Отступ справа, чтобы не сливалась с "Получить займ" */
  font-family: sans-serif;
  font-size: 16px;
}
.info-btn:hover {
  background-color: #d0d0d0;
}

/* Полупрозрачный фон при открытии Pop-Up */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: none; /* Скрыто по умолчанию */
  z-index: 9998;
}

/* Модальное окно (Pop-Up) */
.popup-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  max-width: 400px;
  width: 90%;
  padding: 20px;
  border-radius: 8px;
  z-index: 9999;
  display: none; /* Скрыто по умолчанию */
}

/* Кнопка закрытия (крестик) */
.popup-close {
  float: right;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  font-weight: bold;
}

/* Кнопка "Перейти на сайт" внутри Pop-Up */
.popup-go-site {
  display: inline-block;
  background-color: #136eff;
  color: #fff;
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 4px;
  margin-top: 15px;
  font-weight: 600;
}

/* Адаптивная правка, чтобы заголовки и текст в Pop-Up не выходили за края */
.popup-modal h2 {
  margin-top: 0;
  font-size: 18px;
}
.popup-modal p {
  margin-bottom: 10px;
}
/* Эффект мигания для всей страницы */
.illuminate-page {
  animation: blink-page 1s;
}

@keyframes blink-page {
  0%   { background-color: #fff; }
  50%  { background-color: #f2f2f2; }
  100% { background-color: #fff; }
}
/* ==== Бейдж параметров займов ==== */
.uni-param-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.1;
  background: #eef6ff;
  border: 1px solid #cfe3ff;
  color: #1a56db;
  font-weight: 600;
  white-space: nowrap;
}

.opis .par.par1 .zag {
  margin-bottom: 4px;
}

.opis .par.par1 .tex {
  margin: 0;
}

/* ==== Кнопка займа (pill, градиент, без конфликтов) ==== */
.button.btn-loan,
.btn-loan {
  /* позиционирование/размер — не даём “уехать” и не растягиваемся */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
  white-space: nowrap;
  box-sizing: border-box;

  /* типографика */
  font-size: 16px;
  font-weight: 700;
  line-height: 1;

  /* внешний вид */
  padding: 14px 26px;
  border: 0;
  border-radius: 9999px;                /* сильное скругление как на фото */
  background: linear-gradient(180deg, #ffb430 0%, #ffa200 100%);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);

  /* цвет текста — всегда белый, перекрываем тему */
  color: #fff !important;
  text-decoration: none;

  /* плавные состояния */
  transition: background .15s ease, box-shadow .15s ease, transform .02s ease;
  /* отступ как у стандартной кнопки темы (если класс .button снят) */
  margin-top: 1em;
  /* чтобы не “прилипала” к краю контейнера в флекс-строках */
  align-self: flex-start;
}

.button.btn-loan:hover,
.btn-loan:hover {
  background: linear-gradient(180deg, #ffba42 0%, #f3a00e 100%);
  box-shadow: 0 8px 18px rgba(0,0,0,0.22);
  color: #fff !important;
}

.button.btn-loan:active,
.btn-loan:active {
  /* лёгкое затемнение + эффект “вдавливания” */
  background: linear-gradient(180deg, #ff9f58 0%, #fb7a23 100%);
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.25), 0 3px 10px rgba(0,0,0,0.18);
  transform: translateY(0.5px);
  color: #fff !important;
}

.button.btn-loan:visited,
.btn-loan:visited,
.button.btn-loan:focus,
.btn-loan:focus {
  color: #fff !important;
  outline: none;            /* если нужен фокус-стайл — добавьте тень ниже */
  /* box-shadow: 0 0 0 3px rgba(255,122,26,.25), 0 6px 14px rgba(0,0,0,.15); */
}

/* Мелкая адаптация под узкие экраны: не расширяемся и не “лопаемся” */
@media (max-width: 480px) {
  .button.btn-loan,
  .btn-loan {
    padding: 13px 22px;
    font-size: 16px;
    max-width: 100%;
  }
}
/* ——— Центруем только кнопку на десктопе, остальное оставляем слева ——— */
@media (min-width: 922px) {
  /* вернём левое выравнивание всему контенту карточки */
  .astra-shop-summary-wrap { text-align: left; }

  /* центрируем саму кнопку, не растягивая её на всю ширину */
  .button.btn-loan,
  .btn-loan {
    display: block;              /* чтобы сработал auto-маржин */
    width: -moz-fit-content;
    width: fit-content;          /* занимает ширину по контенту + паддинги */
    margin: 16px auto 0;         /* центрируем */
    align-self: auto;            /* на случай flex-родителя */
  }
}
/* ===== Очень светлый серый фон (мгновенная отрисовка) ===== */
:root { --soft-gray: #f6f7f9; } /* еле заметный серый */

/* Базовый фон страницы */
html, body {
  background-color: var(--soft-gray) !important;
  min-height: 100%;
}

/* Фон шапки */
#masthead,
#masthead .main-header-bar,
.ast-main-header-wrap,
.main-header-bar-wrap,
.ast-desktop-header,
.ast-mobile-header {
  background-color: var(--soft-gray) !important;
  background-image: none !important;
}

/* >>> Конкретно эта полоса крошек под шапкой <<< */
.main-header-bar.ast-header-breadcrumb,
.ast-header-breadcrumb {
  background-color: var(--soft-gray) !important;
  background-image: none !important;
}

/* Внутренние контейнеры — прозрачные, чтобы просвечивал фон */
#masthead .site-primary-header-wrap,
#masthead .site-header-section,
.ast-breadcrumbs-wrapper,
.ast-breadcrumbs-inner {
  background: transparent !important;
}
/* ——— Мобильная адаптация бейджа параметра (без переноса и без обрезаний) ——— */

/* до 420px — чуть меньше */
@media (max-width: 420px) {
  .products.columns-3 li.product .opis .par.par1 .uni-param-badge {
    font-size: 11px;
    padding: 3px 8px;
    white-space: nowrap;   /* держим в одну строку */
  }
  .products.columns-3 li.product .opis .par.par1 .tex {
    justify-self: start;
    min-width: 0;
  }
  .products.columns-3 li.product .opis .par {
    column-gap: 6px;       /* немного уменьшаем зазор между "Параметр" и бейджем */
  }
}

/* до 380px — ещё компактнее */
@media (max-width: 380px) {
  .products.columns-3 li.product .opis .par.par1 .uni-param-badge {
    font-size: 10px;
    padding: 3px 7px;
    white-space: nowrap;
  }
}

/* до 340px — максимально компактно, но читаемо */
@media (max-width: 340px) {
  .products.columns-3 li.product .opis .par.par1 .uni-param-badge {
    font-size: 9.5px;
    padding: 2px 6px;
    white-space: nowrap;
  }
}
/* ERID — фиксируем нейтральный серый цвет текста и ссылки на всех состояниях */
.erid.erid-highlight,
.erid.erid-highlight a,
.erid.erid-highlight a:link,
.erid.erid-highlight a:visited,
.erid.erid-highlight a:hover,
.erid.erid-highlight a:active,
.astra-shop-summary-wrap .erid.erid-highlight,
.astra-shop-summary-wrap .erid.erid-highlight a,
.astra-shop-summary-wrap .erid.erid-highlight a:link,
.astra-shop-summary-wrap .erid.erid-highlight a:visited,
.astra-shop-summary-wrap .erid.erid-highlight a:hover,
.astra-shop-summary-wrap .erid.erid-highlight a:active {
  color: #333333 !important;         /* тёмно-серый без зелёного подтона */
  text-decoration-color: #6b7280 !important; /* нейтральный цвет подчёркивания */
}

/* Базовая компоновка ERID (если используешь) */
.erid.erid-highlight {
  font-size: 12px;
  line-height: 1.4;
  font-weight: 400;
  display: block;
  text-align: center;
  margin-top: 4px;
}
.woocommerce-loop-product__title {
  margin-bottom: 4px !important; /* уменьшаем нижний отступ заголовка */
}

.erid.erid-highlight {
  margin-top: 0 !important;      /* убираем дополнительный зазор */
}
/* 1) Полоса крошек — убираем зазор снизу */
.main-header-bar.ast-header-breadcrumb {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
}
.main-header-bar.ast-header-breadcrumb .ast-breadcrumbs-wrapper {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* 2) Верхний внутренний отступ контента — делаем минимальным */
.ast-plain-container .site-content > .ast-container {
  padding-top: 6px !important;  /* было больше */
}

/* 3) Контейнер Woo — убираем лишний отступ сверху */
.ast-woocommerce-container {
  margin-top: 6px !important;
}

/* 4) Заголовок категории (H1) — не «толкает» вниз контент */
.woocommerce-products-header__title.page-title {
  margin-top: 6px !important;
  margin-bottom: 8px !important; /* чуть воздуха оставить */
}

/* 5) На всякий случай: убираем верхние маргины у первого элемента в контенте */
#content.site-content > .ast-container > *:first-child {
  margin-top: 6px !important;
}


