
.body {

  /* 1. Сброс и боксовая модель */
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  min-height: 100vh;
  /* Растягиваем на всю высоту окна */
  min-height: 100dvh;
  /* Динамическая высота для мобильных браузеров */

  /* 2. Шрифтовая система (база для мобильных) */
  font-family: system-ui, -apple-system, 'Segoe UI', Comfortaa, 'Helvetica Neue', sans-serif;
  font-size: 100%;
  /* 16px по умолчанию, уважаем настройки пользователя */
  line-height: 1.5;
  /* Удобная читаемость */
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* 3. Цветовая схема (поддержка тёмной темы) */

  background-color: #FFFAEF;
  /* Светлый фон (mobile first) */
  color: #3D2828;
  /* Тёмно-серый текст */

  /* 4. Плавный скролл для якорных ссылок */
  scroll-behavior: smooth;

  /* 5. Базовые отступы контента (mobile first) */
  padding: 0;

  /* 6. Ширина и центрирование контента (контроль переполнения) */
  width: 100%;
  overflow-x: hidden;
  /* Предотвращаем горизонтальный скролл */
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

/* === АДАПТАЦИЯ ПОД БОЛЬШИЕ ЭКРАНЫ (MOBILE FIRST) === */

/* Планшеты (от 640px) */
@media (min-width: 640px) {
  body {
    font-size: 106.25%;
    /* ~17px */
    padding: 1.5rem;
  }
}

/* Десктопы (от 1024px) */
@media (min-width: 1024px) {
  body {
    font-size: 112.5%;
    /* ~18px */
    padding: 2rem;
  }
}

/* Широкие экраны (от 1440px) — ограничиваем максимальную ширину контента */
@media (min-width: 1440px) {
  body {
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem 3rem;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.02);
    /* Легкая тень по бокам для глубины */
  }
}

/* Тёмная тема (если предпочтение системы) */
/*@media (prefers-color-scheme: dark) {
  body {
    background-color: #0b1120;
    color: #e2e8f0;
  }
}*/

/*100dvh — динамическая высота вьюпорта, учитывающая исчезающие панели браузера на мобильных устройствах (Safari iOS).
color-scheme — даёт браузеру понять, что сайт готов к обеим темам, что ускоряет переключение и стилизует нативные элементы (скроллбары, поля ввода).
Отсутствие жёстких пикселей для font-size — используем проценты от базового размера браузера (обычно 16px). Это сохраняет масштабируемость при изменении пользователем настроек.
scroll-behavior: smooth — делает прокрутку к якорям плавной, что улучшает UX.
overflow-x: hidden — страховка от случайного горизонтального скролла, но с ним нужно быть
аккуратным, если на сайте есть намеренно выезжающие элементы (тогда лучше убрать).*/

/*======================*/








/*====================================================================*/
/*breadcrumb*/
/* === ХЛЕБНЫЕ КРОШКИ (BREADCRUMBS) — MOBILE FIRST === */

.breadcrumbs {
  /* Блок занимает всю доступную ширину */
  width: 100%;
  margin-top: 64px;
  margin-bottom: 5px;
  /*padding-block: 0.75rem;      /* Вертикальный отступ */
  font-size: 0.875rem;
  /* Чуть меньше основного текста (~14px) */
  line-height: 1.4;
  color: #e6ddda;
  /* Приглушенный цвет для второстепенной навигации */
}

/* Список — убираем стандартные стили и превращаем в flex-строку */
.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  /* Разрешаем перенос на мобильных, если много пунктов */
  align-items: center;
  gap: 0.5rem;
  /* Отступ между элементами */
  margin: 0px 0px 0px 20px;
  padding: 0;
  list-style: none;
}

/* Элемент списка */
.breadcrumbs__item {
  font-family: comfortaa;
  display: inline-flex;
  /* Для выравнивания содержимого */
  align-items: center;
  color: inherit;
  white-space: nowrap;
  /* Не разрываем текст внутри пункта */
}

/* Разделитель между элементами (кроме последнего) */
.breadcrumbs__item:not(:last-child)::after {
  content: "/";
  /* Или "\203A" (›), "\2192" (→) */
  margin-left: 0.5rem;
  color: #888887;
  /* Ещё светлее разделитель */
  font-weight: 300;

}

/* Ссылка внутри крошки */
.breadcrumbs__link {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 400;
  border-radius: 4px;
  /* Для фокуса клавиатурой */
  outline-offset: 2px;
}

/* Состояния ссылки */
.breadcrumbs__link:hover {
  color: #0f172a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.breadcrumbs__link:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
  text-decoration: none;
}

/* Активный (текущий) пункт — не ссылка, последний элемент */
.breadcrumbs__item:last-child {
  color: #0f172a;
  /* Тёмный, как основной текст */
  font-weight: 500;
  pointer-events: none;
  /* Убираем кликабельность */
  cursor: default;
}

/* Если в последнем элементе всё же лежит ссылка (на всякий случай) */
.breadcrumbs__item:last-child .breadcrumbs__link {
  color: inherit;
  pointer-events: none;
  text-decoration: none;
}

/* === АДАПТАЦИЯ ДЛЯ БОЛЬШИХ ЭКРАНОВ (MOBILE FIRST) === */
@media (min-width: 640px) {
  .breadcrumbs {
    font-size: 0.9375rem;
    /* ~15px */
    padding-block: 1rem;
  }
}

@media (min-width: 1024px) {
  .breadcrumbs {
    font-size: 1rem;
    padding-block: 1.25rem;
  }

  .breadcrumbs__list {
    gap: 0.75rem;
    /* Чуть больше воздуха на десктопе */
  }

  .breadcrumbs__item:not(:last-child)::after {
    margin-left: 0.75rem;
  }
}

/* === ТЁМНАЯ ТЕМА (если используется на сайте) === */
@media (prefers-color-scheme: dark) {
  .breadcrumbs {
    color: #94a3b8;
  }

  .breadcrumbs__link {
    color: #cbd5e1;
  }

  .breadcrumbs__link:hover {
    color: #f8fafc;
  }

  .breadcrumbs__item:last-child {
    color: #f1f5f9;
  }

  .breadcrumbs__item:not(:last-child)::after {
    color: #64748b;
  }
}




/*card*/
.smartcard {
  display: flex;
  flex-direction: column;
  margin: 0px 0px 50px 0px;
  width: 100%;
  padding-bottom: 60px;



}

.cardslider {
  width: 100%;
  margin: 0px 0px 0px 0px;
}

/*================= Price */
.price {
  width: 100%;
  padding: 10px 0px 5px 0px;

  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  font-family: inherit;
}

.price__current {
  font-size: 28pt;
  font-family: Onest;
  font-weight: 700;
  line-height: 1.2;
  /*color: #3D2828;*/
  color: #ff0000;

}

.price__old {
  font-size: 20pt;
  font-family: Onest;
  color: #3d34287e;
  text-decoration-color: #ef4444;
  text-decoration-thickness: 2px;
}

.paylogo {
  width: 22px;
  height: 22px;
  margin: 5px 0px 5px 20px;
  align-items: left;
  background-image: url('/media/icons/paymentcard.svg');
  background-size: contain;
  background-repeat: no-repeat;
  transition: background-image 0.3s ease;

}

.product-card_title {
  font-size: 20pt;
  font-family: Comfortaa;
  margin: 0px 20px 0px 20px;
  font-weight: 700;
  line-height: 1.2;
  color: #3D2828;

}

.sizetext {
  font-size: 14pt;
  font-family: Comfortaa;
  margin: 5px 20px 0px 20px;
  font-weight: 700;
  line-height: 1.2;
  color: #3D2828;
}

/*===========*/
.size-icon {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  margin: 0px 0px 0px 0px;
  padding: 5px 20px 5px 20px;
justify-content:flex-start;
gap: 10px;
}

.icon-size {
  width: 44px;
  height: 44px;
  margin: 5px 0px 5px 0px;
}

.button-cart{
 display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  margin: 0px 0px 0px 0px;
  padding: 0px 0px 0px 0px;
justify-content:center;
gap: 10px;

}
.icon-buttoncard{
   width: 368px;
  height: 37px;
  margin: 0px 0px 0px 0px;
}





/*======== Footer mobil======*/
.mobile-nav {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 101;
  align-items: center;
  display: flex;

  width: 100%;


  justify-content: space-evenly;
  /* Все отступы равны, включая края */

  background: white;
  border-top: 1px solid #e8e4dc;
}

.icon {
  width: 32px;
  height: 32px;
  margin: 5px 0px 5px 0px;
}

.formtest{
  width: 100%;
  
  margin: 200px 0px 5px 0px;
}



