/* Оформление заказа. Общий файл для всех страниц, источник — главная
   (макет checkout от 13.10.2026). Подключается как data/checkout.css.
   Слой на весь экран: сверху шапка страницы, снизу копия её подвала. */

/* ---------------------------------- CHECKOUT OVERLAY ----------------------------------
   Иконка корзины сразу открывает оформление на весь экран.
   Вёрстка — по макету checkout от 13.10.2026 (Figma «OURO-new-design-site_13-10_last»):
   оформление выглядит как обычная страница — сверху общая шапка сайта
   (она фиксированная и лежит выше слоя оформления), снизу копия подвала.
   Слева форма, справа выбор курса и сводка; на телефоне всё одной колонкой.
   Уйти из оформления можно через ссылки шапки, подвала или Esc. */
.cc{
  --cc-text:#292923;
  --cc-soft:#666;
  --cc-hint:#b0b0b0;
  --cc-line:#ededed;
  --cc-error:#c4321f;
  position:fixed; inset:0; z-index:9990;
  background:#fff; display:none; flex-direction:column; overflow:hidden;
  font-family:'Inter', Arial, sans-serif; color:var(--cc-text);
  font-size:14px; line-height:18px;
}
.cc.cc-open{ display:flex; }
.cc__panel{ display:flex; flex-direction:column; flex:1 1 auto; min-height:0; background:#fff; }
.cc__body{ flex:1 1 auto; overflow-y:auto; -webkit-overflow-scrolling:touch; }
.cc__inner{ width:var(--container); margin:0 auto; padding-top:calc(var(--header-space) + 17px); padding-bottom:60px; }
.cc__footer .site-footer{ padding-top:60px; }

.cc__notice, .cc__conflict{
  display:flex; align-items:flex-start; justify-content:space-between; gap:12px;
  border-radius:6px; padding:12px 20px; font-size:14px; line-height:18px; margin-bottom:20px;
}
.cc__notice{ background:#fafafa; color:var(--cc-soft); }
.cc__conflict{ background:#fdecec; color:var(--cc-error); }
.cc__notice-close{ background:none; border:0; cursor:pointer; font-size:15px; line-height:1; opacity:.6; flex-shrink:0; color:inherit; }
.cc__notice-close:hover{ opacity:1; }

.cc__empty{ text-align:center; padding:60px 0; }
.cc__empty p{ font-size:16px; line-height:20px; color:var(--cc-soft); margin-bottom:20px; }

/* ---- раскладка ---- */
.cc__layout{ display:flex; flex-direction:column; gap:20px; }
  .cc__heading{ display:flex; flex-direction:column; gap:10px; }
  .cc__back-link{
    align-self:flex-start; margin:0; padding:0; border:0; background:none; cursor:pointer;
    font-family:inherit; font-size:14px; line-height:18px; color:var(--cc-soft);
  }
  .cc__back-link:hover{ color:var(--cc-text); }
  .cc__back-link:focus-visible{ outline:3px solid #b5dcf5; outline-offset:2px; }
.cc__title{
  font-family:'Ysabeau', Georgia, serif; font-weight:500;
  font-size:36px; line-height:40px; letter-spacing:-1.08px; margin:0;
}
/* фокус на заголовок ставится при открытии для экранных читалок, рамка не нужна */
.cc__title:focus{ outline:none; }
.cc__intro{ font-size:16px; line-height:19px; color:var(--cc-soft); margin:0; }
.cc__columns{ display:flex; flex-direction:column; gap:40px; }
.cc__form{ min-width:0; display:flex; flex-direction:column; gap:40px; }
.cc__aside{ min-width:0; display:flex; flex-direction:column; gap:20px; }

.cc__section{ display:flex; flex-direction:column; gap:20px; }
.cc__section-title{
  display:flex; align-items:center; gap:10px; margin:0;
  font-size:18px; line-height:20px; font-weight:500; letter-spacing:-.18px;
}
.cc__step{
  width:40px; height:40px; flex-shrink:0; display:grid; place-items:center;
  border:1px solid var(--cc-line); border-radius:6px; background:#fff;
}
.cc__fields{ display:flex; flex-direction:column; gap:20px; }
.cc__field{ display:flex; flex-direction:column; gap:10px; }

/* подпись поля: «E-mail | Для чека и информации о заказе» */
.cc__label{ display:flex; flex-wrap:wrap; align-items:flex-start; gap:10px; font-size:14px; line-height:18px; color:var(--cc-text); }
.cc__label-hint{ display:flex; gap:10px; color:var(--cc-hint); }
.cc__label-hint::before{ content:''; flex-shrink:0; width:1px; height:16.8px; background:var(--cc-line); }
.cc__label--stack-m{ flex-direction:column; }
.cc__label--stack-m .cc__label-hint::before{ display:none; }
/* до 360px подсказка в строку не помещается: ставим её под подписью без разделителя */
@media (max-width:359.98px){
  .cc__label{ flex-direction:column; }
  .cc__label-hint::before{ display:none; }
}

.cc__field-input{
  width:100%; height:60px; padding:0 19px; margin:0;
  border:1px solid var(--cc-line); border-radius:12px; background:#fff; outline:0;
  font-family:inherit; font-size:16px; line-height:20px; color:var(--cc-text);
  transition:border-color .2s;
}
.cc__field-input::placeholder{ color:var(--cc-hint); }
.cc__field-input--medium::placeholder{ font-weight:500; }
.cc__field-input:focus{ border-color:var(--cc-text); }
.cc__field-input[disabled]{ background:#fafafa; cursor:not-allowed; }
.cc__field-input.has-error{ border-color:var(--cc-error); }
.cc__field-error{ font-size:12px; line-height:16px; color:var(--cc-error); }
.cc__field-error[hidden]{ display:none; }

/* Код из письма: как в макете checkout, только этот блок. */
.cc__email-auth{
  padding:14px 16px; border:1px solid #cce3f2; border-radius:10px; background:#f0f8fd;
}
.cc__email-auth[hidden]{ display:none; }
.cc__email-auth-msg{ margin:0 0 12px; font-size:12px; line-height:1.55; color:#526d7d; }
.cc__email-auth-msg:empty{ display:none; }
#cc-email-auth-wait{ margin:10px 0 0; }
.cc__email-auth-label{
  display:flex; flex-direction:column; align-items:flex-start; gap:8px;
  font-size:14px; line-height:18px; color:var(--cc-text);
}
.cc__email-code{
  width:150px; max-width:100%; height:auto; margin:0; padding:10px 12px;
  border:1px solid var(--cc-line); border-radius:12px; background:#fff; outline:0;
  font-family:inherit; font-size:18px; letter-spacing:6px; text-align:left; color:var(--cc-text);
}
.cc__email-code::placeholder{ color:var(--cc-hint); letter-spacing:6px; }
.cc__email-code:focus{ border-color:var(--cc-text); }
.cc__email-code:disabled{ background:#fafafa; }
.cc__email-auth-err{ margin:8px 0 0; font-size:12px; line-height:1.45; color:var(--cc-error); }
.cc__email-auth-err[hidden]{ display:none; }
.cc__email-auth-resend{
  margin-top:10px; padding:0; border:0; background:none; cursor:pointer;
  font-family:inherit; font-size:12px; line-height:1.45; color:#526d7d;
  text-decoration:underline; text-underline-position:from-font;
}
.cc__email-auth-resend[hidden]{ display:none; }
.cc__email-auth-resend[disabled]{ opacity:.55; cursor:default; text-decoration:none; }

.cc__city-wrap{ position:relative; }
.cc__city-results{
  position:absolute; left:0; right:0; top:calc(100% + 4px); z-index:2;
  background:#fff; border:1px solid var(--cc-line); border-radius:12px;
  max-height:220px; overflow-y:auto; box-shadow:0 0 10px rgba(0,0,0,.05);
}
.cc__city-results[hidden]{ display:none; }
.cc__city-opt{
  display:block; width:100%; text-align:left; padding:12px 20px;
  font-family:inherit; font-size:16px; line-height:20px; color:var(--cc-text);
  background:none; border:0; cursor:pointer;
}
.cc__city-opt:hover{ background:#fafafa; }
.cc__city-selected{ font-size:14px; line-height:18px; color:var(--cc-hint); overflow-wrap:anywhere; }
.cc__city-wrap.has-error .cc__field-input, .cc__point-wrap.has-error .cc__field-input{ border-color:var(--cc-error); }

/* ---- службы доставки ---- */
.cc__delivery{ display:flex; flex-direction:column; gap:10px; }
.cc__delivery-grid{ display:flex; flex-direction:column; gap:20px; }
.cc__choice{
  position:relative; display:flex; flex-direction:column; gap:20px; min-width:0; cursor:pointer;
  padding:19px; border:1px solid var(--cc-line); border-radius:12px; background:#fff;
  transition:border-color .15s;
}
.cc__choice:has(input:checked){ border-color:var(--cc-text); }
.cc__choice:has(input:focus-visible){ outline:3px solid #b5dcf5; outline-offset:2px; }
.cc__choice input{ position:absolute; opacity:0; width:1px; height:1px; margin:0; }
.cc__choice--wide{ gap:10px; }
.cc__choice-top{ display:flex; justify-content:space-between; align-items:flex-start; gap:10px; }
.cc__choice--wide .cc__choice-top{ align-items:center; font-size:16px; line-height:20px; }
.cc__carrier{ display:block; height:26px; width:auto; }
/* телефон: подпись службы («Пункт выдачи») в строке с логотипом; компьютер: над сроками */
.cc__choice-brand{ display:flex; align-items:center; gap:10px; min-width:0; }
.cc__choice-sub--m{ font-weight:500; white-space:nowrap; }
.cc__radio-dot{
  position:relative; width:18px; height:18px; flex-shrink:0;
  border:1px solid var(--cc-line); border-radius:40px; background:#fff;
}
.cc__choice input:checked ~ .cc__choice-top .cc__radio-dot{ border-color:var(--cc-text); }
.cc__choice input:checked ~ .cc__choice-top .cc__radio-dot::after{
  content:''; position:absolute; left:4px; top:4px; width:8px; height:8px; border-radius:7px; background:var(--cc-text);
}
.cc__choice-bottom{ display:flex; justify-content:space-between; align-items:flex-end; gap:10px; }
.cc__choice--wide .cc__choice-bottom{ align-items:flex-start; }
.cc__choice-info{ display:flex; flex-direction:column; gap:10px; min-width:0; flex:1 1 auto; }
.cc__choice-sub{ font-size:14px; line-height:18px; color:var(--cc-hint); }
.cc__choice-dates{ font-size:16px; line-height:20px; color:var(--cc-text); }
.cc__choice-dates:empty{ display:none; }
.cc__choice-price{ flex-shrink:0; font-size:16px; line-height:20px; font-weight:500; color:var(--cc-text); white-space:nowrap; }

/* ---- пункт выдачи ---- */
.cc__point-wrap{ display:flex; flex-direction:column; gap:20px; }
.cc__point-controls{ display:flex; flex-direction:column; gap:10px; }
.cc__picker-toggle{ display:flex; gap:10px; }
.cc__picker-btn{
  flex:1 1 0; min-width:0; height:48px; padding:0 19px;
  display:flex; align-items:center; justify-content:center; gap:10px;
  border:1px solid var(--cc-line); border-radius:40px; background:#fff;
  font-family:inherit; font-size:16px; line-height:21.7px; font-weight:500; color:var(--cc-hint); cursor:pointer; white-space:nowrap;
}
.cc__picker-btn svg{ flex-shrink:0; display:block; }
.cc__picker-btn.is-active{ border-color:var(--cc-text); color:var(--cc-text); }
.cc__picker-btn:focus-visible, .cc__locate-btn:focus-visible, .cc__point-kind-btn:focus-visible, .cc__promo-btn:focus-visible{ outline:3px solid #b5dcf5; outline-offset:2px; }
.cc__locate-btn{
  width:100%; height:48px; padding:0 19px;
  display:flex; align-items:center; justify-content:center; gap:10px;
  border:1px solid var(--cc-line); border-radius:40px; background:#fff;
  font-family:inherit; font-size:16px; line-height:21.7px; font-weight:500; color:var(--cc-hint); cursor:pointer; white-space:nowrap;
}
/* значок 22.06×25.29 с полями, как в макете 390 */
.cc__locate-btn svg{ flex-shrink:0; display:block; width:12.924px; height:16.152px; margin:4.57px; }
.cc__pickup-map{
  width:100%; height:300px; border-radius:12px; overflow:hidden; background:#f2f2f2;
  border:1px solid transparent;
}
.cc__pickup-map.has-error{ border-color:var(--cc-error); }
.cc__point-kind-filter{ display:flex; gap:10px; }
.cc__point-kind-btn{
  padding:6px 14px; border:1px solid var(--cc-line); border-radius:40px;
  font-family:inherit; font-size:14px; line-height:18px; background:#fff; color:var(--cc-hint); cursor:pointer;
}
.cc__point-kind-btn.is-active{ border-color:var(--cc-text); color:var(--cc-text); }
.cc__point-results{ display:flex; flex-direction:column; gap:10px; max-height:340px; overflow-y:auto; overscroll-behavior:contain; }
.cc__point-opt{
  display:block; width:100%; text-align:left; padding:19px;
  border:1px solid var(--cc-line); border-radius:12px; background:#fff;
  font-family:inherit; color:var(--cc-text); cursor:pointer;
}
.cc__point-opt:hover{ border-color:#cfcfcf; }
.cc__point-opt.is-selected{ border-color:var(--cc-text); }
.cc__point-opt-addr{ font-size:16px; line-height:20px; }
.cc__point-opt-meta{ font-size:14px; line-height:18px; color:var(--cc-hint); margin-top:10px; }
.cc__point-empty, .cc__point-more{ font-size:14px; line-height:18px; color:var(--cc-hint); }

/* ---- выбор длительности курса (когда режимы есть в каталоге) ---- */
.cc__courses{ display:flex; flex-direction:column; gap:20px; }
.cc__courses-title{ font-size:14px; line-height:18px; color:var(--cc-hint); margin:0; }
.cc__course-tabs{ display:flex; gap:10px; }
.cc__course-tab{
  flex:1 1 0; min-width:0; height:59px; padding:8px 0 0; margin:0;
  display:flex; flex-direction:column; align-items:center; justify-content:space-between;
  border:0; box-shadow:inset 0 0 0 .5px #dfdfdf; border-radius:6px; background:#fff; cursor:pointer;
  font-family:inherit; font-size:10px; line-height:14px; font-weight:500; color:#717171;
}
.cc__course-tab--rec{ background:#08994e; box-shadow:none; color:#fff; }
.cc__course-tab-label{ display:flex; align-items:center; gap:5px; }
.cc__course-tab-label img{ width:13px; height:13px; padding:1.38px; }
.cc__course-tab-value{
  display:flex; align-items:center; justify-content:center; width:100%; height:30px; padding:4px 12px 4px 10px;
  border:.5px solid #dfdfdf; border-radius:6px; background:#fff; box-shadow:0 0 10px rgba(0,0,0,.05);
  line-height:16px; color:var(--cc-text);
}
.cc__course-tab--rec .cc__course-tab-value{ border-color:#fff; }
.cc__course-tab.is-selected .cc__course-tab-value{ background:var(--cc-text); border-color:var(--cc-text); color:#fff; }
.cc__course-tab:focus-visible{ outline:3px solid #b5dcf5; outline-offset:2px; }
.cc__course-options{ display:flex; gap:20px; }
/* Карточка курса — размеры из макета в px. На 1920 и 1200 шрифты и отступы
   одинаковые, меняются только размер карточки (270×431.56 / 235×367) и кадр
   фото; на телефоне (350×498) — свои размеры, см. медиазапрос ниже. */
.cc__course{
  position:relative; flex:1 1 0; min-width:0; cursor:pointer;
  display:block; height:367px; border-radius:9.399px; overflow:hidden; box-sizing:border-box;
  /* обводка — рамка самой карточки, фото и градиент лежат внутри неё, как в Figma */
  border:.783px solid var(--cc-line);
  background:#fff; box-shadow:0 0 7.832px rgba(0,0,0,.05);
}
.cc__course input{ position:absolute; opacity:0; width:1px; height:1px; margin:0; }
.cc__course:has(input:focus-visible){ outline:3px solid #b5dcf5; outline-offset:2px; }
.cc__course-art{ position:absolute; inset:0; pointer-events:none; }
.cc__course-art img{ position:absolute; max-width:none; filter:grayscale(1); transition:filter .45s ease; }
/* Как на экране теста: фото цветное при наведении, выбранная карточка остаётся цветной */
.cc__course:hover .cc__course-art img,
.cc__course:has(input:focus-visible) .cc__course-art img,
.cc__course:has(input:checked) .cc__course-art img{ filter:grayscale(0); }
.cc__course-art--2plus1 img{ left:0; top:-9.65%; width:105.78%; height:71.86%; }
.cc__course-art::after{
  content:''; position:absolute; inset:0;
  background:linear-gradient(to top, #fff 39.007%, rgba(255,255,255,0) 71.063%);
}
.cc__course-body{
  position:relative; height:100%; padding:15.665px;
  display:flex; flex-direction:column; justify-content:space-between; align-items:flex-start;
}
.cc__course-pill{
  display:flex; align-items:center; gap:3.916px; padding:3.916px 10.182px; border-radius:37.595px;
  background:#fff; color:var(--cc-text); font-size:9.399px; line-height:10.965px; font-weight:500; letter-spacing:-.188px; white-space:nowrap;
}
.cc__course-pill--gift{ background:#e1f4ff; color:#006eb8; line-height:12.532px; border-radius:40.728px; }
/* плашка «Стартовый курс» при наведении и у выбранной — чёрная, как на экране теста */
.cc__course-pill:not(.cc__course-pill--gift){ transition:background-color .2s ease, color .2s ease; }
.cc__course:hover .cc__course-pill:not(.cc__course-pill--gift),
.cc__course:has(input:focus-visible) .cc__course-pill:not(.cc__course-pill--gift),
.cc__course:has(input:checked) .cc__course-pill:not(.cc__course-pill--gift){ background:#292923; color:#fff; }
.cc__course-pill img{ flex-shrink:0; }
.cc__course-details{ display:flex; flex-direction:column; gap:15.665px; width:100%; }
.cc__course-info{ display:flex; flex-direction:column; gap:15.665px; }
.cc__course-text{ display:flex; flex-direction:column; gap:7.832px; }
.cc__course-title{
  font-family:'Ysabeau', Georgia, serif; font-weight:500; font-variant-numeric:lining-nums tabular-nums;
  font-size:25.064px; line-height:28.196px; letter-spacing:-.7519px; text-wrap:balance; max-width:242.508px;
}
.cc__course-desc{ font-size:10.965px; line-height:14.098px; color:#706f6f; max-width:195.103px; }
.cc__course-price{ display:flex; align-items:flex-end; gap:5.916px; /* в макете 3.916, +2px по просьбе */ white-space:nowrap; height:13.994px; }
.cc__course-price b{ font-size:18.798px; line-height:16.448px; font-weight:500; letter-spacing:-.7832px; }
.cc__course-price-meta{ display:flex; align-items:flex-end; gap:4.699px; height:8.616px; font-size:9.399px; line-height:8.616px; color:#717171; }
.cc__course-price-meta span{ opacity:.6; }
.cc__course-price-meta s{ opacity:.6; }
.cc__course-price-meta i{ align-self:stretch; width:.783px; background:var(--cc-line); }
/* 768–1439: в узкой карточке «2+1» старая цена и «/ день курса» не помещаются
   рядом с ценой — переносятся строкой ниже, а не обрезаются */
@media (min-width:768px) and (max-width:1439.98px){
  .cc__course-price{ flex-wrap:wrap; height:auto; row-gap:6px; }
}
.cc__course-benefits{ display:flex; flex-direction:column; justify-content:space-between; height:43px; }
.cc__course-benefits > span{
  display:flex; align-items:center; gap:7.408px; padding-left:1.482px;
  font-size:9px; line-height:11.853px; font-weight:500; color:var(--cc-text);
}
.cc__course-benefits img{ flex-shrink:0; }
@media (min-width:1440px){
  .cc__course{ height:431.56px; }
  .cc__course-art--2plus1 img{ left:-3.59%; top:-16.77%; width:114.1%; height:76.89%; }
  .cc__course-benefits > span{ font-size:10px; }
}

/* ---- сводка заказа ---- */
.cc__order{
  display:flex; flex-direction:column; gap:20px; padding:19px;
  border:1px solid var(--cc-line); border-radius:12px; background:#fff;
}
.cc__order-title{ font-size:18px; line-height:20px; font-weight:500; letter-spacing:-.18px; margin:0; }
.cc__order-items{ display:flex; flex-direction:column; gap:20px; padding-bottom:19px; border-bottom:1px solid var(--cc-line); }
.cc__order-item{ display:flex; align-items:flex-end; justify-content:space-between; gap:10px; }
.cc__order-item-name{ font-size:16px; line-height:20px; min-width:0; }
.cc__order-remove{ display:block; margin-top:4px; padding:0; border:0; background:none; color:#717171; font:inherit; font-size:13px; line-height:16px; cursor:pointer; text-decoration:underline; }
.cc__order-item-price{ display:flex; align-items:flex-end; gap:10px; flex-shrink:0; }
.cc__order-item-sum{ display:flex; align-items:baseline; gap:5px; white-space:nowrap; }
.cc__order-item-sum s{ font-size:12px; line-height:9px; color:#717171; opacity:.6; }
.cc__order-item-sum b{ font-size:22px; line-height:26px; margin:-4.4px 0; font-weight:400; letter-spacing:-1px; }
.cc__badge{
  display:flex; align-items:center; padding:5px 7px; border:1px solid #08994e; border-radius:58px;
  font-size:10px; line-height:9px; font-weight:500; color:#08994e; white-space:nowrap;
}
.cc__line{ display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.cc__line-label{ display:flex; align-items:center; gap:10px; font-size:14px; line-height:18px; }
.cc__line-label i{ width:1px; height:16.8px; background:var(--cc-line); }
[data-cc-sum-delivery]{ display:flex; }
.cc__line-delivery{ font-size:20px; line-height:14px; font-weight:500; letter-spacing:-.78px; white-space:nowrap; }
.cc__line-delivery.is-pending{ font-size:14px; line-height:18px; font-weight:400; letter-spacing:0; color:var(--cc-hint); white-space:normal; text-align:right; }
.cc__line-discount{ font-size:20px; line-height:24px; font-weight:500; letter-spacing:-.78px; color:#08994e; white-space:nowrap; }

.cc__promo{ display:flex; flex-direction:column; gap:10px; }
.cc__promo-row{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding:11px 11px 11px 19px; border:1px solid var(--cc-line); border-radius:12px; background:#fff;
}
.cc__promo-row:focus-within{ border-color:var(--cc-text); }
.cc__promo-input{
  flex:1 1 auto; min-width:0; height:34px; padding:0; border:0; outline:0; background:none;
  font-family:inherit; font-size:16px; line-height:20px; color:var(--cc-text);
}
.cc__promo-input::placeholder{ color:var(--cc-hint); }
.cc__promo-btn{
  flex:0 0 auto; display:flex; align-items:center; justify-content:center;
  padding:6px 16px; border:0; border-radius:4px; background:var(--cc-text); color:#fff;
  font-family:inherit; font-size:14px; line-height:21.7px; font-weight:600; cursor:pointer;
}
.cc__promo-btn img{ display:none; width:36px; height:36px; }
.cc__promo-btn[disabled]{ opacity:.6; cursor:default; }
.cc__promo-msg{ font-size:14px; line-height:18px; }
.cc__promo-msg.is-ok{ color:#08994e; }
.cc__promo-msg.is-bad{ color:var(--cc-error); }

.cc__total{ display:flex; align-items:flex-end; justify-content:space-between; gap:10px; }
.cc__total span{ font-size:24px; line-height:20px; }
.cc__total strong{ font-size:26px; line-height:20px; font-weight:500; letter-spacing:-1px; white-space:nowrap; }

.cc__dispatch{ display:flex; align-items:center; gap:10px; }
.cc__dispatch[hidden]{ display:none; }
.cc__dispatch-date{ display:flex; align-items:center; gap:5px; font-size:14px; line-height:18px; font-weight:500; color:var(--cc-soft); white-space:nowrap; }
.cc__dispatch-date img{ width:18px; height:16px; }
.cc__dispatch-when{ display:flex; align-items:center; gap:10px; font-size:12px; line-height:18px; font-weight:500; color:var(--cc-hint); }
.cc__dispatch-when::before{ content:''; flex-shrink:0; width:1px; height:16.8px; background:var(--cc-line); }

.cc__form-error{
  background:#fdecec; color:var(--cc-error); border-radius:6px;
  padding:12px 20px; font-size:14px; line-height:18px;
}

.cc__consent{ display:flex; align-items:flex-start; gap:11px; font-size:12px; line-height:18px; color:var(--cc-soft); cursor:pointer; }
.cc__consent input{
  appearance:none; -webkit-appearance:none; flex:0 0 auto; position:relative;
  width:20px; height:20px; margin:0; border:1px solid var(--cc-line); border-radius:2px; background:#fff; cursor:pointer;
}
.cc__consent input:checked{ background:var(--cc-text); border-color:var(--cc-text); }
.cc__consent input:checked::after{
  content:''; position:absolute; left:6px; top:2px; width:5px; height:10px;
  border:solid #fff; border-width:0 1.5px 1.5px 0; transform:rotate(45deg);
}
.cc__consent input:focus-visible{ outline:3px solid #b5dcf5; outline-offset:2px; }
.cc__consent a{ color:inherit; text-decoration:underline; text-underline-position:from-font; }
.cc__consent.has-error input{ border-color:var(--cc-error); }
.cc__consent.has-error{ color:var(--cc-error); }
.cc__consent-msg{ font-size:12px; line-height:16px; color:var(--cc-error); margin-top:-10px; }
.cc__consent-msg[hidden]{ display:none; }

.cc__activity{
  display:flex; align-items:center; justify-content:center; gap:10px; margin:0;
  padding:12px 20px; border-radius:6px; background:#fafafa;
  font-size:14px; line-height:18px; color:var(--cc-hint);
}
.cc__activity img{ width:18px; height:16px; flex-shrink:0; }
.cc__activity b{ font-weight:500; color:var(--cc-soft); }

.cc__pay{ display:flex; flex-direction:column; gap:10px; }
.cc__pay-btn{
  width:100%; height:46px; padding:12px 20px; border:0; border-radius:6px;
  display:flex; align-items:center; justify-content:center;
  background:var(--cc-text); color:#fff; font-family:inherit; font-size:14px; line-height:18px; font-weight:500; cursor:pointer;
  transition:opacity .15s;
}
.cc__pay-btn:not([disabled]):hover{ opacity:.85; }
.cc__pay-btn[disabled]{ cursor:not-allowed; opacity:.6; }
.cc__pay-btn:focus-visible{ outline:3px solid #b5dcf5; outline-offset:2px; }
.cc__vpn{
  display:flex; align-items:center; justify-content:center; gap:10px;
  padding:12px 20px; border-radius:6px; background:#e4f3fe;
  font-size:14px; line-height:18px; color:#0a8dec;
}
.cc__vpn img{ width:18px; height:auto; flex-shrink:0; margin:-.5px 0; } /* значок 16.475px по высоте, обводка выходит за рамку, как в Figma */
.cc__br-m{ display:none; }
.cc__secure{ display:flex; justify-content:center; align-items:center; gap:10px; font-size:12px; line-height:18px; color:var(--cc-soft); }
.cc__secure span{ display:flex; align-items:center; gap:5px; }
.cc__secure img{ width:16px; height:18px; }
.cc__secure i{ width:1px; height:16.8px; background:var(--cc-line); }

/* телефон (макет 390): то, что отличается от общих правил */
@media (max-width:767.98px){
  /* «Выберите, куда доставить…» в одну строку: на экранах уже 390 шрифт ужимается под ширину колонки */
  .cc__intro{ font-size:min(16px, calc((100vw - 40px) / 21.85)); white-space:nowrap; }
  .cc__columns{ gap:40px; }
  .cc__field-input{ font-size:16px; } /* iOS не зумит поле при фокусе */
  .cc__pickup-map{ width:calc(100% + 24px); margin:0 -12px; }
  /* «На карте» / «Из списка» в одну строку и на экранах уже 390: содержимое по центру, поля можно ужать */
  .cc__picker-btn{ padding:0 9px; }
  /* полоса прокрутки оформления рисовалась серой полосой поверх правого края карты */
  .cc__body{ scrollbar-width:none; }
  .cc__body::-webkit-scrollbar{ display:none; }
  .cc__course-options .cc__course:not(.is-selected){ display:none; }
  /* карточка курса на телефоне — макет 390: 350×498 */
  .cc__course{ height:498px; border-radius:12px; box-shadow:0 0 10px rgba(0,0,0,.05); }
  .cc__course{ border-width:1px; }
  .cc__course-art--2plus1 img{ left:-3.59%; top:-18.55%; width:114.1%; height:85.08%; }
  .cc__course-body{ padding:20px; }
  .cc__course-pill{ gap:5px; padding:5px 13px; border-radius:52px; font-size:12px; line-height:16px; letter-spacing:-.24px; }
  .cc__course-pill--gift img{ width:12.667px; }
  .cc__course-details, .cc__course-info{ gap:20px; }
  .cc__course-text{ gap:10px; }
  .cc__course-title{ font-size:32px; line-height:36px; letter-spacing:-.96px; max-width:309.624px; }
  .cc__course-desc{ font-size:14px; line-height:18px; max-width:none; }
  .cc__course-price{ gap:5px; height:17.867px; }
  .cc__course-price b{ font-size:24px; line-height:21px; letter-spacing:-1px; }
  .cc__course-price-meta{ gap:6px; height:11px; font-size:12px; line-height:11px; }
  .cc__course-price-meta i{ width:1px; }
  /* преимущества: 12px, строки через 10px, значки шириной 13px */
  .cc__course-benefits{ justify-content:flex-start; gap:10px; height:auto; }
  .cc__course-benefits > span{ gap:10px; padding-left:1.495px; font-size:12px; line-height:11.956px; }
  .cc__course-benefits > span:nth-child(3){ align-items:flex-end; }
  /* значки 13×12, 13×6, 13×14; обводка выходит за рамку на 0.5px, как в Figma */
  .cc__course-benefits img{ margin:-.5px; }
  .cc__course-benefits .cc__benefit-ic--deep{ width:14px; height:13px; }
  .cc__course-benefits .cc__benefit-ic--result{ width:14px; height:7px; }
  .cc__course-benefits .cc__benefit-ic--repeat{ width:14px; height:15px; }
  .cc__course-benefits .cc__benefit-ic--deficit{ width:12.89px; }
  .cc__course-benefits .cc__benefit-ic--look{ width:16.11px; }
  .cc__course-benefits .cc__benefit-ic--wellbeing{ width:12.89px; }
  .cc__order-item-sum s{ font-size:10px; line-height:7px; }
  .cc__order-item-sum b{ font-size:18px; margin:-6.6px 0; }
  .cc__order-item-price{ gap:5px; }
  .cc__badge{ padding:0; border:0; border-radius:0; }
  .cc__line-delivery{ font-size:18px; line-height:18px; font-weight:400; }
  .cc__promo-btn{ padding:0; background:none; }
  .cc__promo-btn span{ display:none; }
  .cc__promo-btn img{ display:block; }
  .cc__promo-btn[data-busy] img{ opacity:.6; }
  .cc__dispatch{ flex-direction:column; align-items:flex-start; gap:5px; }
  /* СДЭК и Почта: подпись рядом с логотипом; сроки и цена только у выбранной службы */
  .cc__choice-sub--d{ display:none; }
  .cc__delivery-grid .cc__choice:not(:has(input:checked)) .cc__choice-top{ align-items:center; }
  .cc__delivery-grid .cc__choice:not(:has(input:checked)) .cc__choice-bottom{ display:none; }
  /* VPN: три строки, как в макете; текст обрезан по заглавным, как text-box-trim */
  .cc__vpn span{ max-width:241px; margin:-3.9px 0; }
  .cc__consent{ font-size:14px; }
  .cc__activity{ justify-content:flex-start; }
  .cc__activity span{ flex:1 1 0; min-width:0; }
  .cc__vpn{ align-items:flex-start; justify-content:flex-start; }
  .cc__br-m{ display:inline; }
}
/* планшет и компьютер (макеты 1200 и 1920) */
@media (min-width:768px){
  .cc__inner{ padding-top:calc(var(--header-space) + 40px); padding-bottom:100px; }
  .cc__layout{ gap:40px; }
  .cc__columns{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); column-gap:20px; align-items:start; }
  .cc__aside{ position:sticky; top:20px; }
  .cc__footer .site-footer{ padding-top:162px; }
  .cc__label--stack-m{ flex-direction:row; }
  .cc__label--stack-m .cc__label-hint::before{ display:block; }
  .cc__delivery-grid{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
  .cc__vpn{ line-height:16.5px; }
  .cc__course-tabs{ display:none; }
  /* компьютер: «На карте», «Из списка» и «Рядом со мной» одной строкой, под ними карта */
  .cc__point-controls{ flex-direction:row; align-items:center; }
  .cc__picker-toggle{ flex:1 1 auto; min-width:0; }
  .cc__locate-btn{ width:auto; flex-shrink:0; border-radius:50px; font-size:14px; line-height:18px; }
  .cc__locate-btn svg{ width:15px; height:18.75px; margin:-.5px; }
  /* СДЭК и Почта: подпись над сроками, всё 14px */
  .cc__choice-sub--m{ display:none; }
  .cc__delivery-grid .cc__choice{ gap:10px; }
  .cc__choice-info{ gap:5px; }
  .cc__choice-dates{ font-size:14px; line-height:18px; letter-spacing:-.14px; }
  .cc__delivery-grid .cc__choice-price{ font-size:14px; line-height:18px; }
}
/* планшет / «1200»: в макете свои мелочи */
@media (min-width:768px) and (max-width:1439.98px){
  .cc__courses{ gap:10px; }
  .cc__choice-bottom{ gap:0; }
  .cc__choice--wide .cc__choice-price{ font-size:14px; line-height:18px; }
  .cc__choice-dates{ white-space:nowrap; }
  .cc__dispatch-date{ font-size:12px; }
  .cc__consent{ letter-spacing:-.24px; margin-right:-15.27px; } /* текст 434px, как в макете */
  .cc__consent a{ letter-spacing:-.32px; }
  .cc__vpn{ font-size:12px; }
  .cc__vpn span{ white-space:nowrap; }
}
@media (min-width:1440px){
  .cc__columns{ grid-template-columns:minmax(0,540fr) minmax(0,560fr); column-gap:40px; }
}
@supports (padding:max(0px)){
  @media (max-width:767.98px){ .cc__footer .site-footer{ padding-bottom:max(60px, env(safe-area-inset-bottom)); } }
}
@media (prefers-reduced-motion:reduce){
  .cc *{ transition:none !important; }
}

/* Пустая корзина использует .btn. У кабинета свой .btn, поэтому внутри оформления кнопка как на сайте. */
.cc .btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  height:auto; width:auto; background:var(--black); color:#fff; font-weight:500;
  font-size:14px; line-height:18px; padding:12px 20px; border-radius:6px;
  transition:opacity .15s ease;
}
.cc .btn:hover{ opacity:.85; background:var(--black); }

/* ---------------------------------- ОБЫЧНАЯ КОРЗИНА BASE/GOAL ----------------------------------
   Макет «сheckout standart» (Figma OURO-new-design-site-29-10): заголовок «Ваша корзина»,
   строки товаров с «− / +», строка «Товары» в сводке. На компьютере товары в карточке
   «Ваш заказ», на телефоне — над формой, а карточка внизу без заголовка и без товаров. */
.cc__cart-items{ display:flex; flex-direction:column; gap:20px; margin:0; padding:0; list-style:none; }
.cc__cart-item{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.cc__cart-main{ display:flex; align-items:center; gap:12px; min-width:0; }
.cc__cart-img{ flex-shrink:0; width:69px; height:72px; border-radius:6px; object-fit:cover; background:#ededed; }
.cc__cart-info{ display:flex; flex-direction:column; justify-content:center; gap:6px; min-width:0; }
.cc__cart-head{ display:flex; align-items:flex-end; gap:6px; }
.cc__cart-name{ font-size:16px; line-height:20px; font-weight:500; letter-spacing:-.16px; }
.cc__cart-variant{ font-size:14px; line-height:20px; height:18px; font-weight:500; letter-spacing:-.14px; color:var(--cc-hint); white-space:nowrap; }
.cc__cart-pill{
  align-self:flex-start; display:inline-flex; flex-wrap:wrap; align-items:center; gap:0 5px; max-width:100%;
  padding:3px 11px; border:1px solid #08994e; border-radius:58px;
  font-size:14px; line-height:18px; font-weight:500;
}
.cc__cart-gift{ color:#08994e; }
.cc__cart-price{ display:flex; flex-wrap:wrap; align-items:flex-end; gap:0 5px; }
/* на узких телефонах (320) плашка и старая цена переносятся, а не уходят под «− / +» */
.cc__cart-pill > span, .cc__cart-price > *{ white-space:nowrap; }
.cc__cart-price b{ font-size:20px; line-height:24px; font-weight:400; letter-spacing:-1.08px; }
.cc__cart-price s{ font-size:14px; line-height:18px; color:#717171; opacity:.6; }
.cc__cart-qty{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.cc__cart-count{ min-width:8px; text-align:center; font-size:16px; line-height:18.75px; letter-spacing:-.94px; }
.cc__cart-btn{
  position:relative; width:30px; height:30px; padding:0; cursor:pointer;
  border:.9375px solid var(--cc-line); border-radius:10.78px; background:#fff;
  transition:background-color .15s ease, border-color .15s ease;
}
.cc__cart-btn--plus{ background:#f8f8f8; }
.cc__cart-btn::before, .cc__cart-btn--plus::after{
  content:''; position:absolute; left:50%; top:50%; width:10px; height:.9375px;
  margin:-.47px 0 0 -5px; background:var(--cc-text); border-radius:1px;
}
.cc__cart-btn--plus::after{ transform:rotate(90deg); }
.cc__cart-btn:not([disabled]):hover, .cc__cart-btn:not([disabled]):active{ background:#e8e8e8; border-color:#cfcfcf; }
.cc__cart-btn:focus-visible{ outline:3px solid #b5dcf5; outline-offset:2px; }
.cc__cart-btn[disabled]{ cursor:not-allowed; opacity:.4; }
/* уже 338 строке «2+1 в подарок» не хватает места рядом с «− / +» — фото и зазоры чуть меньше */
@media (max-width:337.98px){
  .cc__cart-img{ width:56px; height:58.4px; }
  .cc__cart-qty{ gap:6px; }
}

.cc__line--goods{ align-items:center; }
.cc__line--goods .cc__line-label{ font-weight:500; }
.cc__line-goods{ font-size:24px; line-height:28px; font-weight:500; letter-spacing:-1px; white-space:nowrap; }
.cc--ordinary .cc__line-delivery{ font-weight:400; }

/* пустая корзина */
.cc__empty--cart{ display:flex; flex-direction:column; align-items:center; gap:40px; padding:145px 0 140px; text-align:center; }
.cc__empty-text{ display:flex; flex-direction:column; align-items:center; gap:20px; }
.cc__empty-title{
  display:flex; align-items:center; height:50px; padding:10px 16px; margin:0;
  border-radius:12px; background:#f8f8f8; color:var(--cc-soft);
  font-family:'Ysabeau', Georgia, serif; font-weight:500; font-size:36px; line-height:40px; letter-spacing:-1.08px; white-space:nowrap;
}
.cc__empty-title:focus{ outline:none; }
.cc__empty--cart p{ width:335px; max-width:100%; margin:0; font-size:16px; line-height:normal; color:var(--cc-soft); }
.cc__empty-btn{
  display:flex; align-items:center; justify-content:center; width:351px; max-width:100%;
  padding:12px 20px; border-radius:6px; background:var(--cc-text); color:#fff;
  font-size:14px; line-height:18px; font-weight:500; text-decoration:none; transition:opacity .15s ease;
}
.cc__empty-btn:hover{ opacity:.85; }
.cc__empty-btn:focus-visible{ outline:3px solid #b5dcf5; outline-offset:2px; }

@media (max-width:767.98px){
  .cc__cart--d, .cc--ordinary .cc__order-title{ display:none; }
}
@media (min-width:768px){
  .cc__cart--m{ display:none; }
  .cc__cart--d{ padding-bottom:19px; border-bottom:1px solid var(--cc-line); }
  .cc__line-goods{ font-weight:400; }
  /* разделитель между промокодом и «Итого» есть только на компьютере */
  .cc--ordinary .cc__total{ padding-top:19px; border-top:1px solid var(--cc-line); }
  .cc--ordinary .cc__total strong{ font-size:24px; line-height:28px; }
  .cc__empty--cart{ padding:152px 0 0; margin-bottom:28px; }
}
