/* ==========================================================================
   TheCBD.ru — Страница «Калькулятор дозировки» (/calculator/)
   Figma: 7483:4495, 7623:10276, 7623:10983, 7623:11520
   ========================================================================== */

.cbd-calc-page {
  background: var(--cbd-bg, #ffffff);
  color: var(--cbd-ink, #202c25);
  overflow-x: clip;
}

/* --------------------------------------------------------------------------
   1. Заголовок и хлебные крошки
   -------------------------------------------------------------------------- */
.cbd-calc-top {
  padding: 24px 0 36px;
}

.cbd-calc-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 20px;
}

.cbd-calc-crumbs a {
  color: rgba(25, 25, 25, 0.65);
  text-decoration: none;
  transition: color 0.18s ease;
}

.cbd-calc-crumbs a:hover {
  color: #317627;
}

.cbd-calc-crumbs__sep {
  color: rgba(25, 25, 25, 0.35);
}

.cbd-calc-crumbs__current {
  color: #191919;
  font-weight: 600;
}

.cbd-calc-top__title {
  margin: 0 0 14px;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.25;
  color: #202c25;
}

.cbd-calc-top__desc {
  margin: 0 0 14px;
  max-width: 920px;
  font-size: 15px;
  line-height: 1.6;
  color: #4b5750;
}

.cbd-calc-top__lead {
  margin: 0;
  max-width: 560px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: #202c25;
}

/* --------------------------------------------------------------------------
   2. Основной блок калькулятора (форма + правая колонка)
   -------------------------------------------------------------------------- */
.cbd-calc-main {
  padding: 0 0 56px;
}

.cbd-calc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.85fr);
  gap: 24px;
  align-items: start;
}

.cbd-calc-card {
  background: #ffffff;
  border: 1px solid #dce4d9;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 18px rgba(25, 61, 44, 0.04);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cbd-calc-card__title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  color: #202c25;
}

/* Сегментированные переключатели */
.cbd-calc-segment {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  background: #f1f3f1;
  border-radius: 10px;
  padding: 4px;
}

.cbd-calc-segment--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cbd-calc-segment__btn {
  border: none;
  background: transparent;
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 14px;
  font-weight: 500;
  color: #5b685f;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  text-align: center;
}

.cbd-calc-segment__btn:hover {
  color: #202c25;
}

.cbd-calc-segment__btn.is-active {
  background: #ffffff;
  color: #202c25;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

/* Поля ввода */
.cbd-calc-row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.95fr);
  gap: 16px;
}

.cbd-calc-row--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cbd-calc-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cbd-calc-field__label {
  font-size: 13px;
  font-weight: 500;
  color: #4b5750;
}

.cbd-calc-select,
.cbd-calc-input {
  width: 100%;
  height: 46px;
  background: #ffffff;
  border: 1px solid #d5ddd2;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 500;
  color: #202c25;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.cbd-calc-card .cbd-select__trigger {
  height: 46px;
  border-radius: 10px;
  border-color: #d5ddd2;
  font-size: 14px;
  font-weight: 500;
  padding: 0 14px;
}

.cbd-calc-card .cbd-select__menu {
  z-index: 40;
}

.cbd-calc-form-error {
  padding: 10px 14px;
  border-radius: 8px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 500;
}

.cbd-calc-form-error[hidden] {
  display: none;
}

.cbd-calc-summary__empty {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
}

.cbd-calc-summary__empty[hidden] {
  display: none;
}

/* Переключатель объёма / фасовки внутри карточки товара (одинаковая высота у всех 3 карточек) */
.cbd-calc-vol-switch {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 28px;
  align-items: center;
}

.cbd-calc-vol-btn {
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #d5ddd2;
  background: #f5f9f4;
  color: #343635;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.cbd-calc-vol-btn.is-active {
  background: #317627;
  border-color: #317627;
  color: #ffffff;
}

.cbd-calc-vol-btn--static {
  cursor: default;
}

.cbd-calc-select:focus,
.cbd-calc-input:focus {
  outline: none;
  border-color: #317627;
  box-shadow: 0 0 0 3px rgba(49, 118, 39, 0.12);
}

/* Степпер веса */
.cbd-calc-weight {
  display: flex;
  align-items: center;
  height: 46px;
  background: #f3f5f2;
  border: 1px solid #d5ddd2;
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
}

.cbd-calc-weight__btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: none;
  background: #ffffff;
  color: #202c25;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.cbd-calc-weight__btn:hover {
  background: #317627;
  color: #ffffff;
}

.cbd-calc-weight__center {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.cbd-calc-weight__input {
  width: 54px;
  border: none;
  background: transparent;
  text-align: right;
  font-size: 15px;
  font-weight: 600;
  color: #202c25;
  padding: 0;
  -moz-appearance: textfield;
}

.cbd-calc-weight__input::-webkit-outer-spin-button,
.cbd-calc-weight__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cbd-calc-weight__input:focus {
  outline: none;
}

.cbd-calc-weight__unit {
  font-size: 14px;
  font-weight: 500;
  color: #4b5750;
}

/* Кнопки выбора режима: Подобрать продукт / Рассчитать дозировку */
.cbd-calc-modes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cbd-calc-mode-btn {
  height: 46px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: #eceeed;
  color: #343635;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  padding: 0 16px;
}

.cbd-calc-mode-btn:hover {
  background: #e1e8df;
  color: #202c25;
}

.cbd-calc-mode-btn.is-active {
  background: #317627;
  color: #ffffff;
}

/* Подсказка с треугольником */
.cbd-calc-hint {
  position: relative;
  background: #ebf3e8;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  color: #202c25;
  text-align: center;
}

.cbd-calc-hint::before {
  content: '';
  position: absolute;
  top: -7px;
  width: 14px;
  height: 14px;
  background: #ebf3e8;
  transform: rotate(45deg);
  transition: left 0.2s ease;
  left: 25%;
}

.cbd-calc-hint[data-arrow="right"]::before {
  left: 75%;
}

/* Блок доп. настроек в режиме «Рассчитать дозировку» */
.cbd-calc-dose-extra {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cbd-calc-dose-extra[hidden],
.cbd-calc-product-fields[hidden],
.cbd-calc-unit-pane[hidden] {
  display: none;
}

.cbd-calc-question {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: #202c25;
}

.cbd-calc-radios {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cbd-calc-radio {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #202c25;
  cursor: pointer;
}

.cbd-calc-radio input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #317627;
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.cbd-calc-product-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 4px;
}

/* Главная кнопка расчёта */
.cbd-calc-submit {
  width: 100%;
  height: 52px;
  border-radius: 10px;
  border: none;
  background: #317627;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background-color 0.2s ease;
}

.cbd-calc-submit:hover {
  background: #275f1f;
}

/* Правая колонка: Ваши данные + инфо-карточка */
.cbd-calc-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cbd-calc-summary {
  background: #317627;
  color: #ffffff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(49, 118, 39, 0.18);
}

.cbd-calc-summary__title {
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #ffffff;
}

.cbd-calc-summary__list {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cbd-calc-summary__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cbd-calc-summary__item[hidden] {
  display: none;
}

.cbd-calc-summary__label {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
}

.cbd-calc-summary__value {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  color: #ffffff;
  margin: 0;
}

.cbd-calc-info {
  background: #ffffff;
  border: 1px solid #dce4d9;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.cbd-calc-info__icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  color: #317627;
}

.cbd-calc-info__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cbd-calc-info__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #343635;
}

.cbd-calc-info__disclaimer {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  text-transform: uppercase;
  color: #317627;
}

/* --------------------------------------------------------------------------
   3. Результаты расчёта (#calc-results)
   -------------------------------------------------------------------------- */
.cbd-calc-results {
  padding: 16px 0 56px;
  scroll-margin-top: 24px;
}

.cbd-calc-results[hidden],
.cbd-calc-view[hidden] {
  display: none;
}

.cbd-calc-section-title {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.25;
  color: #202c25;
}

.cbd-calc-section-sub {
  margin: 0 0 28px;
  max-width: 720px;
  font-size: 14px;
  line-height: 1.55;
  color: #5b685f;
}

/* Режим «Подобрать продукт»: 3 колонки (товар + его дозировка) */
.cbd-calc-pick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.cbd-calc-pick-col {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
  row-gap: 16px;
}

/* Карточка товара в калькуляторе */
.cbd-calc-prod-card {
  background: #ffffff;
  border: 1px solid #dce4d9;
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cbd-calc-prod-card:hover {
  border-color: #b7ceb2;
  box-shadow: 0 6px 20px rgba(25, 61, 44, 0.07);
}

.cbd-calc-prod-card__media {
  position: relative;
  height: 200px;
  border-radius: 12px;
  background: #f7faf6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  overflow: hidden;
}

.cbd-calc-prod-card__media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.cbd-calc-prod-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 6px;
  background: #e9f5e6;
  color: #317627;
  font-size: 11px;
  font-weight: 700;
}

.cbd-calc-prod-card__badge--sale {
  background: #fef3c7;
  color: #b45309;
}

.cbd-calc-prod-card__brand {
  font-size: 12px;
  color: #6b7280;
}

.cbd-calc-prod-card__title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  color: #202c25;
  min-height: 44px;
}

.cbd-calc-prod-card__meta {
  font-size: 12px;
  color: #5b685f;
}

.cbd-calc-prod-card__rating {
  font-size: 12px;
  font-weight: 600;
  color: #202c25;
  margin-top: auto;
}

.cbd-calc-prod-card__rating span {
  color: #f59e0b;
  margin-right: 4px;
}

.cbd-calc-prod-card__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.cbd-calc-prod-card__price {
  font-size: 20px;
  font-weight: 700;
  color: #202c25;
}

.cbd-calc-prod-card__old {
  font-size: 13px;
  color: #9ca3af;
  text-decoration: line-through;
  margin-left: 6px;
}

.cbd-calc-prod-card__cashback {
  padding: 4px 8px;
  border-radius: 6px;
  background: #ebf5e9;
  color: #317627;
  font-size: 11px;
  font-weight: 600;
}

.cbd-calc-prod-card__btn {
  width: 100%;
  height: 44px;
  border-radius: 8px;
  border: none;
  background: #317627;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.18s ease;
}

.cbd-calc-prod-card__btn:hover {
  background: #275f1f;
}

/* Карточка «Ваша дозировка» под товаром */
.cbd-calc-dosage-box {
  background: #ffffff;
  border: 1px solid #dce4d9;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1 0 auto;
}

.cbd-calc-dosage-box__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #317627;
}

.cbd-calc-dosage-box__weeks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
  border-radius: 10px;
  background: #f5f9f4;
}

.cbd-calc-dosage-box__week {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.cbd-calc-dosage-box__wlabel {
  font-size: 11px;
  color: #5b685f;
}

.cbd-calc-dosage-box__wval {
  font-size: 13px;
  font-weight: 700;
  color: #202c25;
}

.cbd-calc-dosage-box__rec-title {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #202c25;
}

.cbd-calc-dosage-box__list {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13px;
  line-height: 1.45;
  color: #4b5750;
}

.cbd-calc-dosage-box__footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #ecf1ea;
  font-size: 13px;
  font-weight: 700;
  color: #317627;
}

/* Режим «Рассчитать дозировку»: 3 карточки этапов (1, 2, 3 неделя) */
.cbd-calc-weeks-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 44px;
}

.cbd-calc-week-card {
  background: #ffffff;
  border: 1px solid #dce4d9;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cbd-calc-week-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cbd-calc-week-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #317627;
}

.cbd-calc-week-card__step {
  padding: 4px 10px;
  border-radius: 6px;
  background: #e9f5e6;
  color: #317627;
  font-size: 12px;
  font-weight: 600;
}

.cbd-calc-week-card__big {
  font-size: 26px;
  font-weight: 700;
  color: #202c25;
  line-height: 1.2;
}

.cbd-calc-week-card__metrics {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cbd-calc-week-card__metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #4b5750;
}

.cbd-calc-week-card__pill {
  padding: 4px 10px;
  border-radius: 6px;
  background: #e9f5e6;
  color: #317627;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.cbd-calc-week-card__rec {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #5b685f;
}

.cbd-calc-week-card__rec strong {
  display: block;
  margin-bottom: 4px;
  color: #202c25;
}

/* 3-колоночная сетка рекомендованных товаров под расчётом (Масло, Капсулы, Эмульсия) */
.cbd-calc-rec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

/* --------------------------------------------------------------------------
   4. Рекомендации по приёму + форма отправки расчёта
   -------------------------------------------------------------------------- */
.cbd-calc-help {
  padding: 24px 0 64px;
}

.cbd-calc-help__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: start;
}

.cbd-calc-faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.cbd-calc-faq__item {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.cbd-calc-faq__item.is-open {
  border-color: #c5d7c1;
  background: #ffffff;
}

.cbd-calc-faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: #111827;
  cursor: pointer;
}

.cbd-calc-faq__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s ease;
}

.cbd-calc-faq__item.is-open .cbd-calc-faq__icon {
  transform: rotate(45deg);
}

.cbd-calc-faq__panel {
  display: none;
  padding: 0 20px 18px;
  font-size: 14px;
  line-height: 1.6;
  color: #4b5563;
}

.cbd-calc-faq__item.is-open .cbd-calc-faq__panel {
  display: block;
}

/* Форма отправки расчёта */
.cbd-calc-send {
  background: #eaf3e7;
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cbd-calc-send__title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  color: #202c25;
}

.cbd-calc-send__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cbd-calc-send__channels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.cbd-calc-channel-btn {
  height: 38px;
  border-radius: 8px;
  border: 1px solid #c9d9c4;
  background: #ffffff;
  color: #202c25;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.cbd-calc-channel-btn.is-active {
  background: #317627;
  border-color: #317627;
  color: #ffffff;
}

.cbd-calc-send__note {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #4b5750;
}

.cbd-calc-send__status {
  display: none;
  padding: 12px 14px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #b9d7b4;
  color: #1f4d19;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.cbd-calc-send__status.is-visible {
  display: block;
}

/* ==========================================================================
   Планшет (1024px и 768px)
   ========================================================================== */
@media (max-width: 1023px) {
  .cbd-calc-grid {
    grid-template-columns: 1fr;
  }

  .cbd-calc-aside {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .cbd-calc-pick-grid,
  .cbd-calc-rec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cbd-calc-pick-col {
    display: flex;
    flex-direction: column;
    grid-row: auto;
  }

  .cbd-calc-pick-col:last-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 16px;
    align-items: stretch;
  }

  .cbd-calc-rec-grid .cbd-calc-prod-card:last-child {
    grid-column: 1 / -1;
  }

  .cbd-calc-weeks-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cbd-calc-week-card:last-child {
    grid-column: 1 / -1;
  }

  .cbd-calc-help__grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Мобильный (< 768px)
   ========================================================================== */
@media (max-width: 767px) {
  .cbd-calc-top {
    padding: 16px 0 24px;
  }

  .cbd-calc-top__title {
    font-size: 24px;
  }

  .cbd-calc-card {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .cbd-calc-card__title {
    font-size: 18px;
  }

  .cbd-calc-row,
  .cbd-calc-row--2,
  .cbd-calc-modes,
  .cbd-calc-aside,
  .cbd-calc-pick-grid,
  .cbd-calc-weeks-grid,
  .cbd-calc-rec-grid {
    grid-template-columns: 1fr;
  }

  .cbd-calc-pick-col:last-child {
    grid-column: auto;
    display: flex;
    flex-direction: column;
  }

  .cbd-calc-week-card:last-child,
  .cbd-calc-rec-grid .cbd-calc-prod-card:last-child {
    grid-column: auto;
  }

  .cbd-calc-hint::before {
    display: none;
  }

  .cbd-calc-section-title {
    font-size: 22px;
  }

  .cbd-calc-send {
    padding: 20px 16px;
  }

  .cbd-calc-send__channels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
