/*
 * Корзина, оформление брони, «Купить в 1 клик» — \MDA\CartV2 (03.10.2026), под html.mda-cart2.
 * Только вид: разметка Bitrix/Aspro и логика заказа не меняются.
 * Токены — эталон app.mda-platform.top (как product-v2.css). Шаблон Aspro и его custom.css
 * живут на !important, поэтому здесь тоже !important и длинные селекторы.
 */

@font-face{font-family:'MC Onest';font-style:normal;font-weight:400 600;font-display:swap;src:url(fonts/onest-cyrillic-ext.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:'MC Onest';font-style:normal;font-weight:400 600;font-display:swap;src:url(fonts/onest-cyrillic.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'MC Onest';font-style:normal;font-weight:400 600;font-display:swap;src:url(fonts/onest-latin.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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'MC Unbounded';font-style:normal;font-weight:500 900;font-display:swap;src:url(fonts/unbounded-cyrillic-ext.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:'MC Unbounded';font-style:normal;font-weight:500 900;font-display:swap;src:url(fonts/unbounded-cyrillic.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'MC Unbounded';font-style:normal;font-weight:500 900;font-display:swap;src:url(fonts/unbounded-latin.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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

html.mda-cart2{
  --c-bg:#0E0A14; --c-surface:#1C1429; --c-surface-2:#241A35;
  --c-line:rgba(226,205,255,.12); --c-line-strong:rgba(226,205,255,.24);
  --c-text:#F2EAF9; --c-muted:#A899BD; --c-dim:#6E6183;
  --c-accent:#9B4DFF; --c-accent-hover:#A862FF; --c-accent-soft:rgba(155,77,255,.16);
  --c-green:#43E38F; --c-green-ring:rgba(67,227,143,.18);
  --c-fd:"MC Unbounded","Unbounded",system-ui,sans-serif;
  --c-fb:"MC Onest","Onest",system-ui,sans-serif;
  --c-ease:cubic-bezier(.16,1,.3,1);
  --c-photo:radial-gradient(80% 80% at 50% 40%,#FFFFFF 0%,#F4F0FA 50%,#E6DBF5 100%);
  --c-jelly:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M12 34C12 19 21 10 32 10s20 9 20 24z' fill='%239B4DFF'/%3E%3Ccircle cx='32' cy='25' r='4.2' fill='%23F2EAF9'/%3E%3Cpath d='M17 34l4.5 20L26 34zM28 34l4 24 4-24zM38 34l4.5 20L47 34z' fill='%239B4DFF' opacity='.7'/%3E%3C/svg%3E");
}

/* ===================================================================== общее: заголовок страницы */
html.mda-cart2[data-mda-page] body #pagetitle{
  font-family:var(--c-fd)!important;font-weight:900!important;letter-spacing:-.04em!important;
  font-size:clamp(1.7rem,3vw,2.6rem)!important;line-height:1.04!important;color:var(--c-text)!important;text-transform:none!important;
}
html.mda-cart2[data-mda-page] body .page-top .topic__inner + * a,
html.mda-cart2[data-mda-page] body .page-top a.back-url,
html.mda-cart2[data-mda-page] body .page-top .back{color:var(--c-muted)!important;font-family:var(--c-fb)!important}

/* ===================================================================== КОРЗИНА */
html.mda-cart2 body #basket-root{font-family:var(--c-fb);color:var(--c-text)}
html.mda-cart2 body #basket-root .basket-items-list{gap:28px;align-items:flex-start}
html.mda-cart2 body #basket-root .basket-items-list-outer{flex:1 1 auto;min-width:0}
html.mda-cart2 body #basket-root .basket-items-list-wrapper{border:0!important;background:none!important;box-shadow:none!important;padding:0!important;height:auto!important}
html.mda-cart2 body #basket-root .basket-items-list-container{border:0!important;background:none!important}
html.mda-cart2 body #basket-root .basket-items-list-header{
  display:flex!important;align-items:center;min-height:0!important;padding:0 0 16px!important;margin:0!important;border:0!important;background:none!important;
}
html.mda-cart2 body #basket-root .basket-items-list-header-filter{width:100%;padding:0!important;align-items:center;justify-content:space-between}
html.mda-cart2 body #basket-root .basket-items-list-header-filter-item.active{
  padding:0!important;border:0!important;font-family:var(--c-fd)!important;font-weight:700!important;font-size:1.1rem!important;
  letter-spacing:-.02em;text-transform:none!important;color:var(--c-text)!important;
}
html.mda-cart2 body #basket-root .basket-items-list-header-filter-item.active::after,
html.mda-cart2 body #basket-root .basket-items-list-header-filter-item.active::before{display:none!important}
html.mda-cart2 body #basket-root .basket-items-list-header-filter-item .mc2-count{color:var(--c-dim);font-weight:500;margin-left:8px}
html.mda-cart2 body #basket-root .remove_all_basket{
  display:inline-flex!important;align-items:center;gap:8px;height:40px;padding:0 14px!important;border-radius:999px;cursor:pointer;
  border:1px solid var(--c-line-strong)!important;color:var(--c-muted)!important;font-family:var(--c-fb)!important;
  font-size:.86rem!important;font-weight:500!important;text-transform:none!important;letter-spacing:0!important;transition:border-color .2s,color .2s,background .2s;
}
@media (hover:hover){html.mda-cart2 body #basket-root .remove_all_basket:hover{border-color:#FF6B8B!important;color:#FFB3C3!important}}
html.mda-cart2 body #basket-root .remove_all_basket svg{width:10px!important;height:10px!important}
html.mda-cart2 body #basket-root .remove_all_basket svg path{fill:currentColor!important}

/* строки товаров: таблица → карточки на сетке */
html.mda-cart2 body #basket-root .basket-items-list{padding:0!important}
html.mda-cart2 body #basket-root .basket-items-list > .basket-items-list-table,
html.mda-cart2 body #basket-root table.basket-items-list-table,
html.mda-cart2 body #basket-root table.basket-items-list-table > tbody{display:block!important;width:100%!important;border:0!important;margin:0!important}
html.mda-cart2 body #basket-root tr.basket-items-list-item-wrapper{
  position:relative;display:grid!important;grid-template-columns:112px minmax(0,1fr) auto minmax(110px,auto);
  grid-template-areas:"pic info amount sum";gap:10px 24px;align-items:start;
  margin:0 0 12px!important;padding:18px 60px 18px 18px!important;border:1px solid var(--c-line)!important;border-radius:24px!important;
  background:var(--c-surface)!important;transition:border-color .2s;
}
@media (hover:hover){html.mda-cart2 body #basket-root tr.basket-items-list-item-wrapper:hover{border-color:var(--c-line-strong)!important}}
html.mda-cart2 body #basket-root tr.basket-items-list-item-wrapper > td{display:block!important;width:auto!important;min-width:0;padding:0!important;border:0!important;background:none!important;vertical-align:top}
html.mda-cart2 body #basket-root td.basket-items-list-item-picture{grid-area:pic}
html.mda-cart2 body #basket-root td.basket-items-list-item-descriptions-inner{grid-area:info}
html.mda-cart2 body #basket-root td.basket-items-list-item-amount-outer{grid-area:amount;display:flex!important;flex-direction:column;align-items:center;gap:6px}
html.mda-cart2 body #basket-root td.basket-items-list-item-price{grid-area:sum;text-align:right!important}
html.mda-cart2 body #basket-root tr.basket-services-list-item-container.hidden{display:none!important}

/* фото на светлой подложке */
html.mda-cart2 body #basket-root .basket-item-block-image{
  position:relative;width:112px!important;height:112px!important;margin:0!important;border-radius:18px;overflow:hidden;background:var(--c-photo)!important;
  display:flex!important;align-items:center;justify-content:center;
}
html.mda-cart2 body #basket-root .basket-item-block-image .fast_view{display:none!important}
html.mda-cart2 body #basket-root .basket-item-image-link{display:flex!important;align-items:center;justify-content:center;width:100%;height:100%}
html.mda-cart2 body #basket-root .basket-item-image{max-width:84%!important;max-height:84%!important;width:auto!important;height:auto!important;object-fit:contain;mix-blend-mode:multiply;border:0!important}
html.mda-cart2 body #basket-root .basket-item-image[src*="no_photo"],
html.mda-cart2 body #basket-root .basket-item-image[src*="noimage"]{opacity:0}
html.mda-cart2 body #basket-root .basket-item-block-image:has(.basket-item-image[src*="no_photo"],.basket-item-image[src*="noimage"])::after{
  content:"";position:absolute;inset:24%;background:var(--c-jelly) center/contain no-repeat;opacity:.8;
}

/* название и варианты */
html.mda-cart2 body #basket-root .basket-item-block-info{padding:0!important;min-height:0!important}
html.mda-cart2 body #basket-root .basket-item-info-name{margin:2px 0 10px!important;padding:0!important}
html.mda-cart2 body #basket-root .basket-item-info-name-link,
html.mda-cart2 body #basket-root .basket-item-info-name-link span{
  font-family:var(--c-fb)!important;font-weight:600!important;font-size:1rem!important;line-height:1.35!important;color:var(--c-text)!important;text-decoration:none!important;
}
@media (hover:hover){html.mda-cart2 body #basket-root .basket-item-info-name-link:hover{color:#C9A6FF!important}}
html.mda-cart2 body #basket-root .basket-item-block-properties{padding:0!important;margin:0!important}
html.mda-cart2 body #basket-root .mc2-hidden{display:none!important}
html.mda-cart2 body #basket-root .basket-item-property,
html.mda-cart2 body #basket-root .basket-item-property-custom{margin:0 0 8px!important;padding:0!important;gap:8px;font-size:.88rem}
html.mda-cart2 body #basket-root .basket-item-property-name,
html.mda-cart2 body #basket-root .basket-item-property-custom-name{
  color:var(--c-dim)!important;font-size:.72rem!important;letter-spacing:.12em;text-transform:uppercase;font-weight:600!important;margin:0 0 6px!important;
}
html.mda-cart2 body #basket-root .basket-item-property-value,
html.mda-cart2 body #basket-root .basket-item-property-custom-value{color:var(--c-text)!important;font-weight:500!important}
/* чипы варианта (как на карточке товара) */
html.mda-cart2 body #basket-root .basket-item-scu-list{display:flex!important;flex-wrap:wrap;gap:6px;margin:0!important;padding:0!important;list-style:none}
html.mda-cart2 body #basket-root .basket-item-scu-item{
  float:none!important;margin:0!important;padding:0!important;border:1px solid var(--c-line-strong)!important;border-radius:999px!important;
  background:transparent!important;cursor:pointer;min-width:0!important;width:auto!important;height:auto!important;box-shadow:none!important;
  transition:border-color .15s,background .15s,color .15s;
}
html.mda-cart2 body #basket-root .basket-item-scu-item::before,
html.mda-cart2 body #basket-root .basket-item-scu-item::after{display:none!important}
html.mda-cart2 body #basket-root .basket-item-scu-item-inner{
  display:block!important;padding:7px 14px!important;border:0!important;background:none!important;
  font-family:var(--c-fb)!important;font-size:.86rem!important;font-weight:500!important;line-height:1.2!important;color:var(--c-muted)!important;white-space:nowrap;
}
@media (hover:hover){html.mda-cart2 body #basket-root .basket-item-scu-item:not(.selected):not(.not-available):hover{border-color:var(--c-accent)!important}}
html.mda-cart2 body #basket-root .basket-item-scu-item.selected{border-color:var(--c-accent)!important;background:var(--c-accent-soft)!important}
html.mda-cart2 body #basket-root .basket-item-scu-item.selected .basket-item-scu-item-inner{color:#fff!important}
html.mda-cart2 body #basket-root .basket-item-scu-item.not-available{opacity:.38;border-style:dashed!important;cursor:not-allowed}
html.mda-cart2 body #basket-root .basket-item-scu-item.not-available .basket-item-scu-item-inner{text-decoration:line-through}
/* длинный список: виден выбранный вариант + «Сменить» (cart-v2.js) */
html.mda-cart2 body #basket-root .mc2-scu-collapsed .basket-item-scu-item:not(.selected){display:none!important}
html.mda-cart2 body #basket-root .mc2-scu-toggle{
  display:inline-flex;align-items:center;gap:6px;height:32px;margin:0;padding:0 12px;border-radius:999px;border:1px dashed var(--c-line-strong);
  background:none;color:#C9A6FF;font:600 .84rem/1 var(--c-fb);cursor:pointer;-webkit-tap-highlight-color:transparent;
}
@media (hover:hover){html.mda-cart2 body #basket-root .mc2-scu-toggle:hover{border-color:var(--c-accent)}}

/* количество */
html.mda-cart2 body #basket-root .basket-item-amount{
  display:flex!important;align-items:center;height:44px;padding:0 2px!important;margin:0!important;border-radius:14px!important;
  border:1px solid var(--c-line-strong)!important;background:rgba(14,10,20,.45)!important;
}
html.mda-cart2 body #basket-root .basket-item-btn-minus,
html.mda-cart2 body #basket-root .basket-item-btn-plus{
  position:relative!important;width:38px!important;height:38px!important;margin:0!important;border-radius:11px!important;border:0!important;
  background:transparent!important;cursor:pointer;transition:background .2s;
}
@media (hover:hover){
  html.mda-cart2 body #basket-root .basket-item-btn-minus:hover,
  html.mda-cart2 body #basket-root .basket-item-btn-plus:hover{background:var(--c-accent-soft)!important}
}
html.mda-cart2 body #basket-root .basket-item-btn-minus::before,
html.mda-cart2 body #basket-root .basket-item-btn-plus::before,
html.mda-cart2 body #basket-root .basket-item-btn-plus::after{
  content:""!important;position:absolute;left:50%;top:50%;width:12px;height:1.6px;margin:-.8px 0 0 -6px;border-radius:2px;background:var(--c-text)!important;
  border:0!important;transform:none;
}
html.mda-cart2 body #basket-root .basket-item-btn-plus::after{transform:rotate(90deg)}
html.mda-cart2 body #basket-root .basket-item-btn-minus::after{display:none!important}
html.mda-cart2 body #basket-root .basket-item-btn-minus.disabled{opacity:.35}
html.mda-cart2 body #basket-root .basket-item-amount-filed-block{width:40px!important;height:auto!important;border:0!important;margin:0!important}
html.mda-cart2 body #basket-root .basket-item-amount-filed{
  width:40px!important;height:38px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;
  color:var(--c-text)!important;font-family:var(--c-fd)!important;font-weight:700!important;font-size:.95rem!important;text-align:center;
}
html.mda-cart2 body #basket-root .basket-items-list-item-price-for-one{margin:0!important;text-align:center}
html.mda-cart2 body #basket-root .basket-items-list-item-price-for-one .basket-item-price-current-text{color:var(--c-dim)!important;font-size:.8rem!important;font-weight:400!important}

/* сумма строки */
html.mda-cart2 body #basket-root td.basket-items-list-item-price .basket-item-price{padding:0!important;margin:2px 0 0!important}
html.mda-cart2 body #basket-root .basket-item-price-current-value,
html.mda-cart2 body #basket-root .basket-item-price-current-text{
  font-family:var(--c-fd)!important;font-weight:700!important;font-size:1.12rem!important;letter-spacing:-.02em;white-space:nowrap;
  color:var(--c-text)!important;-webkit-text-fill-color:var(--c-text)!important;background:none!important;
}
html.mda-cart2 body #basket-root .basket-item-price-old,
html.mda-cart2 body #basket-root .basket-item-price-old-text{color:var(--c-dim)!important;-webkit-text-fill-color:var(--c-dim)!important;font-size:.85rem!important;text-decoration:line-through}
html.mda-cart2 body #basket-root .basket-item-price-difference{color:#FF8FE8!important;font-size:.8rem!important}

/* удалить — круглая иконка в углу */
html.mda-cart2 body #basket-root .basket-items-list-item-removes{position:absolute!important;top:14px;right:14px;margin:0!important;width:auto!important;height:auto!important}
html.mda-cart2 body #basket-root .basket-items-list-item-removes .basket-item-actions-remove{
  position:relative!important;display:block!important;width:40px!important;height:40px!important;border-radius:50%;cursor:pointer;
  background:transparent!important;border:1px solid transparent;transition:background .2s,border-color .2s;
}
html.mda-cart2 body #basket-root .basket-items-list-item-removes .basket-item-actions-remove::before,
html.mda-cart2 body #basket-root .basket-items-list-item-removes .basket-item-actions-remove::after{display:none!important}
html.mda-cart2 body #basket-root .basket-items-list-item-removes .basket-item-actions-remove{
  background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A899BD' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M10 11v6M14 11v6M6 7l1 12a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2l1-12M9 7V4h6v3'/%3E%3C/svg%3E") center/18px no-repeat!important;
}
@media (hover:hover){
  html.mda-cart2 body #basket-root .basket-items-list-item-removes .basket-item-actions-remove:hover{background-color:rgba(255,107,139,.12)!important;border-color:rgba(255,107,139,.35)}
}
/* ячейки — без своего позиционирования: иконка удаления встаёт в угол карточки строки */
html.mda-cart2 body #basket-root tr.basket-items-list-item-wrapper > td{position:static!important}
/* на телефоне Aspro показывает кнопку удаления в блоке названия — оформляем так же, в угол */
html.mda-cart2 body #basket-root .basket-item-block-info > .basket-item-actions-remove{
  position:absolute!important;top:8px!important;right:8px!important;left:auto!important;width:44px!important;height:44px!important;margin:0!important;
  border-radius:50%;cursor:pointer;z-index:2;
  background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A899BD' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M10 11v6M14 11v6M6 7l1 12a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2l1-12M9 7V4h6v3'/%3E%3C/svg%3E") center/18px no-repeat!important;
}
html.mda-cart2 body #basket-root .basket-item-block-info > .basket-item-actions-remove::before,
html.mda-cart2 body #basket-root .basket-item-block-info > .basket-item-actions-remove::after{display:none!important}
/* удалённый товар («Товар удалён. Восстановить») */
html.mda-cart2 body #basket-root .basket-items-list-item-removed-container{
  border:1px dashed var(--c-line-strong)!important;border-radius:24px!important;background:transparent!important;color:var(--c-muted)!important;padding:18px!important;
}
html.mda-cart2 body #basket-root .basket-items-list-item-removed-container a{color:#C9A6FF!important}

/* «Итого» — липкая карточка */
html.mda-cart2 body #basket-root .basket-total-outer{flex:0 0 360px;max-width:360px;width:360px!important}
html.mda-cart2 body #basket-root .basket-total-block{top:100px!important}
html.mda-cart2 body #basket-root .basket-checkout-container{
  padding:24px!important;margin:0!important;border:1px solid var(--c-line)!important;border-radius:28px!important;
  background:var(--c-surface)!important;box-shadow:0 30px 60px -40px rgba(122,34,230,.55)!important;overflow:hidden;position:relative;
}
html.mda-cart2 body #basket-root .basket-checkout-container::before{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:radial-gradient(70% 45% at 100% 0%,rgba(155,77,255,.18),transparent 70%);
}
html.mda-cart2 body #basket-root .basket-checkout-section,
html.mda-cart2 body #basket-root .basket-checkout-section-inner{position:relative;z-index:1;width:auto!important;padding:0!important;margin:0!important;border:0!important;background:none!important}
html.mda-cart2 body #basket-root .basket-checkout-section-left,
html.mda-cart2 body #basket-root .basket-checkout-section-right{width:auto!important;padding:0!important;margin:0!important;float:none!important}
html.mda-cart2 body #basket-root .basket-checkout-block-total-inner{display:flex!important;align-items:baseline;justify-content:space-between;gap:12px}
html.mda-cart2 body #basket-root .basket-checkout-total-title{
  color:var(--c-muted)!important;font-family:var(--c-fb)!important;font-weight:500!important;font-size:1rem!important;text-transform:none!important;
}
html.mda-cart2 body #basket-root .basket-coupon-block-total-price-current{
  font-family:var(--c-fd)!important;font-weight:900!important;font-size:clamp(1.6rem,2.4vw,2rem)!important;letter-spacing:-.035em;line-height:1!important;
  color:var(--c-text)!important;-webkit-text-fill-color:var(--c-text)!important;background:none!important;white-space:nowrap;
}
html.mda-cart2 body #basket-root .basket-coupon-block-total-price-old{color:var(--c-dim)!important;font-size:.9rem!important}
html.mda-cart2 body #basket-root .basket-coupon-block-total-price-difference{color:#FF8FE8!important;font-size:.85rem!important}
html.mda-cart2 body #basket-root .mc2-total-count{display:block;margin:6px 0 0;color:var(--c-dim);font-size:.86rem}
/* промокод */
html.mda-cart2 body #basket-root .basket-coupon-section{margin:18px 0 0!important;padding:0!important;border:0!important}
html.mda-cart2 body #basket-root .basket-coupon-block-field .form-group{position:relative;margin:0!important}
html.mda-cart2 body #basket-root .basket-coupon-block-field input.form-control{
  height:48px!important;padding:0 52px 0 16px!important;border-radius:14px!important;border:1px solid var(--c-line-strong)!important;
  background:rgba(14,10,20,.45)!important;color:var(--c-text)!important;font-family:var(--c-fb)!important;font-size:.95rem!important;box-shadow:none!important;
}
html.mda-cart2 body #basket-root .basket-coupon-block-field input.form-control::placeholder{color:var(--c-dim)!important}
html.mda-cart2 body #basket-root .basket-coupon-block-field input.form-control:focus{border-color:var(--c-accent)!important;box-shadow:0 0 0 4px rgba(155,77,255,.18)!important}
html.mda-cart2 body #basket-root .basket-coupon-block-coupon-btn{
  position:absolute!important;right:4px;top:4px;width:40px!important;height:40px!important;border-radius:11px!important;
  background:var(--c-accent-soft)!important;display:grid!important;place-items:center;cursor:pointer;
}
html.mda-cart2 body #basket-root .basket-coupon-block-coupon-btn svg path{fill:#C9A6FF!important}
html.mda-cart2 body #basket-root .basket-coupon-alert{border-radius:12px!important;font-size:.85rem!important}
/* кнопки: «Оформить бронь» главная, «Купить в 1 клик» второстепенная, плашка брони */
html.mda-cart2 body #basket-root .basket-checkout-section-right{display:flex!important;flex-direction:column;gap:10px;margin-top:20px!important}
html.mda-cart2 body #basket-root .basket-checkout-section-right .checkout-order{order:1}
html.mda-cart2 body #basket-root .basket-checkout-section-right .ocb{order:2}
html.mda-cart2 body #basket-root .basket-checkout-section-right .mda-reserve-note{order:3}
html.mda-cart2 body #basket-root .basket-checkout-btn{width:100%!important;padding:0!important;margin:0!important;float:none!important}
html.mda-cart2 body .wrapper1 #basket-root button.btn.btn-default.basket-btn-checkout,
html.mda-cart2 body #basket-root button.btn.btn-lg.btn-default.basket-btn-checkout,
html.mda-cart2 body #basket-root .basket-btn-checkout{background-image:none!important;
  width:100%!important;height:56px!important;padding:0 18px!important;border:0!important;border-radius:16px!important;
  background:var(--c-accent)!important;color:#fff!important;font-family:var(--c-fb)!important;font-weight:600!important;font-size:1rem!important;
  letter-spacing:0!important;text-transform:none!important;box-shadow:0 14px 32px -14px rgba(155,77,255,.95)!important;transition:background .2s!important;
}
@media (hover:hover){
  html.mda-cart2 body .wrapper1 #basket-root button.btn.btn-default.basket-btn-checkout:hover,
  html.mda-cart2 body #basket-root .basket-btn-checkout:hover{background:var(--c-accent-hover)!important;background-image:none!important}
}
html.mda-cart2 body #basket-root .basket-btn-checkout.disabled{opacity:.5}
html.mda-cart2 body #basket-root .basket-checkout-btn .oneclickbuy{
  width:100%!important;height:48px!important;display:flex!important;align-items:center;justify-content:center;padding:0!important;border-radius:14px!important;
  border:1px solid var(--c-line-strong)!important;background:transparent!important;color:var(--c-text)!important;
  font-family:var(--c-fb)!important;font-weight:500!important;font-size:.95rem!important;text-transform:none!important;letter-spacing:0!important;
}
@media (hover:hover){html.mda-cart2 body #basket-root .basket-checkout-btn .oneclickbuy:hover{border-color:var(--c-accent)!important;background:var(--c-accent-soft)!important}}

/* плашка брони (pickup.js кладёт .mda-reserve-note, cart-v2.js превращает в три пункта) */
html.mda-cart2 .mda-reserve-note{
  margin:6px 0 0!important;padding:12px 14px!important;border-radius:16px!important;border:1px solid var(--c-line)!important;
  background:rgba(14,10,20,.35)!important;color:var(--c-muted)!important;font:500 .84rem/1.45 var(--c-fb)!important;text-align:left!important;
}
html.mda-cart2 .mda-reserve-note.mc2-note{display:flex!important;flex-wrap:wrap;gap:6px 14px}
html.mda-cart2 .mc2-note__i{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
html.mda-cart2 .mc2-note__i::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--c-green);box-shadow:0 0 0 3px var(--c-green-ring);flex:none}

/* пустая корзина */
html.mda-cart2 body .bx-sbb-empty-cart-container{
  max-width:560px;margin:8px auto 40px!important;padding:clamp(28px,5vw,48px) 24px!important;border-radius:28px;text-align:center;
  border:1px solid var(--c-line);background:radial-gradient(70% 60% at 50% 0%,rgba(155,77,255,.18),transparent 70%),var(--c-surface);font-family:var(--c-fb);
}
html.mda-cart2 body .bx-sbb-empty-cart-image{
  width:96px!important;height:96px!important;margin:0 auto 18px!important;background:var(--c-jelly) center/contain no-repeat!important;
}
html.mda-cart2 body .bx-sbb-empty-cart-image > *{display:none!important}
html.mda-cart2 body .bx-sbb-empty-cart-text{
  font-family:var(--c-fd)!important;font-weight:900!important;font-size:clamp(1.3rem,2.4vw,1.8rem)!important;letter-spacing:-.035em;color:var(--c-text)!important;margin:0 0 10px!important;
}
html.mda-cart2 body .bx-sbb-empty-cart-desc{color:var(--c-muted)!important;font-size:.98rem!important;line-height:1.5}
html.mda-cart2 body .mc2-empty-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:22px}
html.mda-cart2 .mc2-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;height:52px;padding:0 24px;border-radius:16px;border:0;cursor:pointer;
  background:var(--c-accent);color:#fff!important;font:600 1rem/1 var(--c-fb);text-decoration:none!important;
  box-shadow:0 14px 32px -14px rgba(155,77,255,.95);transition:background .2s;
}
@media (hover:hover){html.mda-cart2 .mc2-btn:hover{background:var(--c-accent-hover)}}
html.mda-cart2 .mc2-btn--ghost{background:transparent;border:1px solid var(--c-line-strong);color:var(--c-text)!important;box-shadow:none}
@media (hover:hover){html.mda-cart2 .mc2-btn--ghost:hover{background:var(--c-accent-soft);border-color:var(--c-accent)}}

/* «Персональные рекомендации» — карточки как «С этим товаром покупают» */
html.mda-cart2 body .basket-wrapper-bd{margin-top:clamp(36px,5vw,64px)}
html.mda-cart2 body .basket-wrapper-bd .font_md.darken,
html.mda-cart2 body .basket-wrapper-bd .subtitle{
  font-family:var(--c-fd)!important;font-weight:900!important;font-size:clamp(1.35rem,2.4vw,2rem)!important;letter-spacing:-.04em!important;
  line-height:1.05!important;color:var(--c-text)!important;margin:0 0 20px!important;text-transform:none!important;
}
html.mda-cart2 body .basket-wrapper-bd .owl-stage-outer{padding:6px 0 10px!important;margin:-6px 0 0!important}
html.mda-cart2 body .basket-wrapper-bd .owl-stage{display:flex!important}
html.mda-cart2 body .basket-wrapper-bd .owl-item{display:flex!important;float:none!important}
html.mda-cart2 body .basket-wrapper-bd .block-item{
  width:100%;margin:0 6px!important;border:1px solid var(--c-line)!important;border-radius:22px!important;overflow:hidden;
  background:var(--c-surface)!important;box-shadow:none!important;transition:border-color .2s;
}
@media (hover:hover){html.mda-cart2 body .basket-wrapper-bd .block-item:hover{border-color:rgba(155,77,255,.55)!important}}
html.mda-cart2 body .basket-wrapper-bd .block-item__wrapper{height:100%;padding:0!important;background:none!important;border:0!important}
html.mda-cart2 body .basket-wrapper-bd .block-item__inner{display:flex!important;flex-direction:column!important;align-items:stretch!important;height:100%}
html.mda-cart2 body .basket-wrapper-bd .block-item__image{
  position:relative;width:100%!important;max-width:none!important;height:auto!important;aspect-ratio:4/3;margin:0!important;flex:none;background:var(--c-photo)!important;
}
@media (max-width:767px){html.mda-cart2 body .basket-wrapper-bd .block-item__image{aspect-ratio:16/10}}
html.mda-cart2 body .basket-wrapper-bd .block-item__image a.thumb{position:absolute;inset:14px;display:flex!important;align-items:center;justify-content:center;width:auto!important;height:auto!important}
html.mda-cart2 body .basket-wrapper-bd .block-item__image img{max-width:100%!important;max-height:100%!important;width:auto!important;height:auto!important;object-fit:contain;mix-blend-mode:multiply}
html.mda-cart2 body .basket-wrapper-bd .block-item__info{display:flex!important;flex-direction:column;gap:6px;flex:1;padding:12px 14px 14px!important;margin:0!important;text-align:left!important;width:auto!important}
html.mda-cart2 body .basket-wrapper-bd .block-item__title a,
html.mda-cart2 body .basket-wrapper-bd .block-item__title span{
  font-family:var(--c-fb)!important;font-size:.88rem!important;font-weight:500!important;line-height:1.35!important;color:var(--c-text)!important;text-decoration:none!important;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
html.mda-cart2 body .basket-wrapper-bd .block-item__cost{margin-top:auto!important;padding:0!important}
/* цена была прозрачной (градиент темы через background-clip:text) — «от» без суммы */
html.mda-cart2 body .basket-wrapper-bd .block-item__cost .price,
html.mda-cart2 body .basket-wrapper-bd .block-item__cost .price *{
  font-family:var(--c-fd)!important;font-weight:700!important;font-size:1.02rem!important;letter-spacing:-.02em;
  color:var(--c-text)!important;-webkit-text-fill-color:var(--c-text)!important;background:none!important;
}
html.mda-cart2 body .basket-wrapper-bd .block-item__cost .price.discount{display:none!important}
html.mda-cart2 body .basket-wrapper-bd .more-btn{position:static!important;margin:8px 0 0!important;opacity:1!important;visibility:visible!important;transform:none!important}
html.mda-cart2 body .basket-wrapper-bd .more-btn .btn{
  width:100%!important;height:42px!important;display:flex!important;align-items:center;justify-content:center;padding:0 14px!important;border-radius:12px!important;
  background:var(--c-surface-2)!important;border:1px solid var(--c-line-strong)!important;color:var(--c-text)!important;
  font-family:var(--c-fb)!important;font-size:.88rem!important;font-weight:500!important;text-transform:none!important;letter-spacing:0!important;box-shadow:none!important;
}
@media (hover:hover){html.mda-cart2 body .basket-wrapper-bd .more-btn .btn:hover{border-color:var(--c-accent)!important;background:var(--c-accent-soft)!important}}
html.mda-cart2 body .basket-wrapper-bd .owl-nav button,
html.mda-cart2 body .basket-wrapper-bd .owl-nav > div{
  width:44px!important;height:44px!important;border-radius:50%!important;border:1px solid var(--c-line-strong)!important;background:rgba(14,10,20,.85)!important;box-shadow:none!important;
}
html.mda-cart2 body .basket-wrapper-bd .owl-dots{display:flex!important;justify-content:center;gap:6px;margin-top:10px!important}
html.mda-cart2 body .basket-wrapper-bd .owl-dots .owl-dot{margin:0!important;padding:4px!important}
html.mda-cart2 body .basket-wrapper-bd .owl-dots .owl-dot span{width:8px!important;height:8px!important;border-radius:999px!important;background:rgba(226,205,255,.28)!important;margin:0!important;transition:width .3s}
html.mda-cart2 body .basket-wrapper-bd .owl-dots .owl-dot.active span{width:22px!important;background:var(--c-accent)!important}

/* корзина на планшете/телефоне */
@media (max-width:991px){
  html.mda-cart2 body #basket-root .basket-items-list{flex-direction:column!important;gap:20px}
  html.mda-cart2 body #basket-root .basket-items-list-outer,
  html.mda-cart2 body #basket-root .basket-total-outer{flex:none!important;width:100%!important;max-width:none!important}
}
@media (max-width:767px){
  html.mda-cart2 body #basket-root tr.basket-items-list-item-wrapper{
    grid-template-columns:84px minmax(0,1fr) auto;grid-template-areas:"pic info info" "amount amount sum";
    gap:12px 14px;padding:14px 52px 14px 14px!important;border-radius:20px!important;
  }
  html.mda-cart2 body #basket-root .basket-item-block-image{width:84px!important;height:84px!important;border-radius:14px}
  html.mda-cart2 body #basket-root td.basket-items-list-item-amount-outer{flex-direction:row;align-items:center;gap:10px}
  html.mda-cart2 body #basket-root td.basket-items-list-item-price{align-self:center}
  html.mda-cart2 body #basket-root .basket-items-list-item-removes{top:8px;right:8px}
  html.mda-cart2 body #basket-root .basket-item-info-name-link,
  html.mda-cart2 body #basket-root .basket-item-info-name-link span{font-size:.95rem!important}
  html.mda-cart2 body #basket-root .basket-items-list-header-filter-item.active{font-size:1rem!important}
  html.mda-cart2 body #basket-root .basket-checkout-container{padding:20px!important;border-radius:24px!important}
}
@media (pointer:coarse){
  html.mda-cart2 body #basket-root .basket-item-btn-minus,
  html.mda-cart2 body #basket-root .basket-item-btn-plus{width:44px!important;height:44px!important}
  html.mda-cart2 body #basket-root .basket-item-amount{height:48px}
  html.mda-cart2 body #basket-root .basket-item-scu-item-inner{padding:11px 16px!important}
  html.mda-cart2 body #basket-root .mc2-scu-toggle{height:44px}
  html.mda-cart2 body #basket-root .basket-items-list-item-removes .basket-item-actions-remove{width:44px!important;height:44px!important}
}

/* ===================================================================== закреплённый итог (телефон) */
html.mda-cart2 .mc2-bar{
  position:fixed;left:12px;right:var(--mc2-bar-right,12px);bottom:var(--mc2-bar-bottom,calc(12px + env(safe-area-inset-bottom)));z-index:98;
  display:none;align-items:center;gap:10px;padding:8px 8px 8px 16px;border-radius:20px;
  background:rgba(28,20,41,.94);border:1px solid var(--c-line-strong);-webkit-backdrop-filter:blur(14px) saturate(140%);backdrop-filter:blur(14px) saturate(140%);
  box-shadow:0 18px 40px -12px rgba(0,0,0,.7);font-family:var(--c-fb);
  transform:translateY(calc(100% + 40px));transition:transform .45s var(--c-ease),bottom .25s var(--c-ease),right .25s var(--c-ease);
}
html.mda-cart2 .mc2-bar.is-show{transform:none}
html.mda-cart2 .mc2-bar__sum{display:flex;flex-direction:column;min-width:0;flex:1}
html.mda-cart2 .mc2-bar__sum small{color:var(--c-dim);font-size:.75rem;line-height:1.2}
html.mda-cart2 .mc2-bar__sum b{font-family:var(--c-fd);font-weight:800;font-size:1.08rem;letter-spacing:-.02em;color:var(--c-text);white-space:nowrap}
html.mda-cart2 .mc2-bar .mc2-btn{height:48px;padding:0 18px;border-radius:14px;font-size:.95rem;white-space:nowrap;flex:none}
@media (max-width:991px){html.mda-cart2 .mc2-bar{display:flex}}
@media (max-width:991px){
  html.mda-cart2[data-mda-page] body footer,
  html.mda-cart2[data-mda-page] body #footer{padding-bottom:84px}
}

/* ===================================================================== ОФОРМЛЕНИЕ БРОНИ /order/ */
html.mda-cart2 body #bx-soa-order-form{font-family:var(--c-fb);color:var(--c-text)}
html.mda-cart2 body #bx-soa-order-form .bx-soa-section{
  margin:0 0 14px!important;padding:clamp(18px,2.6vw,28px)!important;border:1px solid var(--c-line)!important;border-radius:24px!important;
  background:var(--c-surface)!important;box-shadow:none!important;
}
html.mda-cart2 body #bx-soa-order-form .bx-soa-section.mda-order-comment{padding:16px clamp(18px,2.6vw,28px)!important}
/* один способ получения — секция «Получение: Самовывоз» ничего не даёт, точка выбирается ниже */
html.mda-cart2 body #bx-soa-order-form.mda-single-delivery #bx-soa-delivery{display:none!important}
html.mda-cart2 body #bx-soa-order-form .bx-soa-section-title-container{padding:0!important;margin:0 0 18px!important;border:0!important;background:none!important}
html.mda-cart2 body #bx-soa-order-form .bx-soa-section-title,
html.mda-cart2 body #bx-soa-order-form .mda-pickup__title{
  display:flex!important;align-items:center;gap:12px;margin:0!important;padding:0!important;
  font-family:var(--c-fd)!important;font-weight:700!important;font-size:1.2rem!important;letter-spacing:-.02em!important;line-height:1.2!important;
  color:var(--c-text)!important;text-transform:none!important;
}
/* номера шагов */
html.mda-cart2 body #bx-soa-order-form #bx-soa-properties .bx-soa-section-title::before,
html.mda-cart2 body #bx-soa-order-form .mda-pickup-section .mda-pickup__title::before{
  display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:50%;
  background:var(--c-accent-soft);color:#C9A6FF;font:700 .9rem/1 var(--c-fd);border:1px solid rgba(155,77,255,.35);
}
html.mda-cart2 body #bx-soa-order-form #bx-soa-properties .bx-soa-section-title::before{content:"1"}
html.mda-cart2 body #bx-soa-order-form .mda-pickup-section .mda-pickup__title::before{content:"2"}
/* поля */
html.mda-cart2 body #bx-soa-order-form .bx-soa-customer .row-props{margin:0 -8px!important}
html.mda-cart2 body #bx-soa-order-form .bx-soa-customer-field{padding:0 8px!important;margin:0 0 14px!important}
html.mda-cart2 body #bx-soa-order-form .bx-soa-custom-label,
html.mda-cart2 body .one_click_buy_frame .form-control label.description{
  display:block!important;margin:0 0 6px!important;color:var(--c-muted)!important;font-family:var(--c-fb)!important;
  font-size:.86rem!important;font-weight:500!important;text-transform:none!important;letter-spacing:0!important;
}
html.mda-cart2 body #bx-soa-order-form input.form-control,
html.mda-cart2 body #bx-soa-order-form textarea.form-control,
html.mda-cart2 body .one_click_buy_frame input.inputtext,
html.mda-cart2 body .one_click_buy_frame input[type="text"],
html.mda-cart2 body .one_click_buy_frame input[type="tel"],
html.mda-cart2 body .one_click_buy_frame input[type="email"],
html.mda-cart2 body .one_click_buy_frame textarea{
  height:52px!important;padding:0 16px!important;border-radius:14px!important;border:1px solid var(--c-line-strong)!important;
  background:rgba(14,10,20,.5)!important;color:var(--c-text)!important;font-family:var(--c-fb)!important;font-size:16px!important;
  box-shadow:none!important;transition:border-color .2s,box-shadow .2s!important;
}
html.mda-cart2 body #bx-soa-order-form textarea.form-control,
html.mda-cart2 body .one_click_buy_frame textarea{height:96px!important;padding:12px 16px!important;resize:vertical}
html.mda-cart2 body #bx-soa-order-form input.form-control::placeholder,
html.mda-cart2 body .one_click_buy_frame input::placeholder,
html.mda-cart2 body .one_click_buy_frame textarea::placeholder{color:var(--c-dim)!important}
html.mda-cart2 body #bx-soa-order-form input.form-control:focus,
html.mda-cart2 body #bx-soa-order-form textarea.form-control:focus,
html.mda-cart2 body .one_click_buy_frame input:focus,
html.mda-cart2 body .one_click_buy_frame textarea:focus{border-color:var(--c-accent)!important;box-shadow:0 0 0 4px rgba(155,77,255,.18)!important;outline:0}
/* ошибки полей */
html.mda-cart2 body #bx-soa-order-form .has-error input.form-control,
html.mda-cart2 body .one_click_buy_frame input.error,
html.mda-cart2 body .one_click_buy_frame textarea.error{border-color:#FF6B8B!important;box-shadow:0 0 0 4px rgba(255,107,139,.14)!important}
html.mda-cart2 body .one_click_buy_frame label.error,
html.mda-cart2 body #bx-soa-order-form .bx-soa-tooltip,
html.mda-cart2 body #bx-soa-order-form .has-error .help-block{color:#FF9DB2!important;font-size:.82rem!important;background:none!important;border:0!important}
html.mda-cart2 body #bx-soa-order-form .required-fields-note,
html.mda-cart2 body #bx-soa-order-form .required-fields-note__container{color:var(--c-dim)!important;font-size:.82rem!important;padding:0!important}
html.mda-cart2 body #bx-soa-order-form .bx-authform-starrequired,
html.mda-cart2 body .one_click_buy_frame .star{color:#C9A6FF!important}
/* уведомления («Вы уже бронировали у нас…», ошибки) — тёмные плашки */
html.mda-cart2 body #bx-soa-order-form .alert{
  margin:0 0 14px!important;padding:14px 18px 14px 46px!important;border-radius:16px!important;position:relative;
  background:rgba(155,77,255,.10)!important;border:1px solid rgba(155,77,255,.35)!important;color:var(--c-text)!important;
  font-family:var(--c-fb)!important;font-size:.92rem!important;line-height:1.45!important;box-shadow:none!important;
}
html.mda-cart2 body #bx-soa-order-form .alert::before{
  content:"";position:absolute;left:16px;top:16px;width:18px;height:18px;border-radius:50%;
  background:#C9A6FF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 4.5v4.2M8 11.2v.3' stroke='%231C1429' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
html.mda-cart2 body #bx-soa-order-form .alert-success{background:rgba(67,227,143,.08)!important;border-color:rgba(67,227,143,.3)!important}
html.mda-cart2 body #bx-soa-order-form .alert-success::before{
  background:var(--c-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%231C1429' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
html.mda-cart2 body #bx-soa-order-form .alert-danger{background:rgba(255,107,139,.08)!important;border-color:rgba(255,107,139,.35)!important}
html.mda-cart2 body #bx-soa-order-form .alert-danger::before{background-color:#FF6B8B}
html.mda-cart2 body #bx-soa-order-form .alert .close{color:var(--c-muted)!important;opacity:1;text-shadow:none}
/* комментарий */
html.mda-cart2 body .mda-order-comment__link,
html.mda-cart2 body .mda-ocb-comment-link{
  display:inline-flex;align-items:center;gap:8px;color:#C9A6FF!important;font-family:var(--c-fb)!important;font-weight:600!important;
  font-size:.92rem!important;text-decoration:none!important;border:0!important;
}
html.mda-cart2 body .mda-order-comment__link::before,
html.mda-cart2 body .mda-ocb-comment-link::before{content:"+";display:grid;place-items:center;width:22px;height:22px;border-radius:50%;border:1px solid currentColor;font-size:15px;line-height:1}

/* «Итого» справа — липкая карточка */
html.mda-cart2 body #bx-soa-total .bx-soa-total-wrapper{top:100px!important}
html.mda-cart2 body #bx-soa-order-form .bx-soa-cart-total,
html.mda-cart2 body #bx-soa-total .bx-soa-cart-total{
  padding:24px!important;margin:0!important;border:1px solid var(--c-line)!important;border-radius:28px!important;
  background:var(--c-surface)!important;box-shadow:0 30px 60px -40px rgba(122,34,230,.55)!important;font-family:var(--c-fb);
}
html.mda-cart2 body .bx-soa-cart-total .bx-soa-cart-total-line{padding:6px 0!important;border:0!important;align-items:baseline!important}
html.mda-cart2 body .bx-soa-cart-total .bx-soa-cart-t{color:var(--c-muted)!important;font-weight:500!important;font-size:.92rem!important;text-transform:none!important}
html.mda-cart2 body .bx-soa-cart-total .bx-soa-cart-d{color:var(--c-text)!important;font-weight:600!important}
html.mda-cart2 body .bx-soa-cart-total .bx-soa-cart-total-line-totals .bx-soa-cart-t{color:var(--c-text)!important;font-size:1rem!important}
html.mda-cart2 body .bx-soa-cart-total .bx-soa-cart-total-line-totals .bx-soa-cart-d{
  font-family:var(--c-fd)!important;font-weight:900!important;font-size:clamp(1.5rem,2.2vw,1.9rem)!important;letter-spacing:-.035em;
  color:var(--c-text)!important;-webkit-text-fill-color:var(--c-text)!important;background:none!important;
}
html.mda-cart2 body .bx-soa-cart-total .mda-total-items{margin:12px 0!important;padding:12px 0 0!important;border-top:1px solid var(--c-line)!important}
html.mda-cart2 body .bx-soa-cart-total .mda-total-items__row{padding:5px 0!important;gap:8px}
html.mda-cart2 body .bx-soa-cart-total .mda-total-items__name{color:var(--c-text)!important;font-size:.86rem!important;line-height:1.35}
html.mda-cart2 body .bx-soa-cart-total .mda-total-items__qty{color:var(--c-dim)!important;font-size:.8rem!important}
html.mda-cart2 body .bx-soa-cart-total .mda-total-items__sum{color:var(--c-text)!important;font-weight:600!important;font-size:.86rem!important;white-space:nowrap}
html.mda-cart2 body .bx-soa-cart-total .change_basket a{color:#C9A6FF!important}
html.mda-cart2 body .bx-soa-cart-total .bx-soa-coupon{margin:12px 0!important}
html.mda-cart2 body .bx-soa-cart-total .bx-soa-coupon-input input.form-control{
  height:48px!important;padding:0 52px 0 16px!important;border-radius:14px!important;border:1px solid var(--c-line-strong)!important;background:rgba(14,10,20,.5)!important;
  color:var(--c-text)!important;font-size:.95rem!important;box-shadow:none!important;
}
html.mda-cart2 body .bx-soa-cart-total .total-scroll-info{color:var(--c-muted)!important;font-size:.88rem!important;gap:8px;padding:6px 0!important}
html.mda-cart2 body .bx-soa-cart-total .total-scroll-info__title{color:var(--c-dim)!important;font-weight:500!important}
html.mda-cart2 body .bx-soa-cart-total .total-scroll-info__value{color:var(--c-text)!important;border:0!important;font-weight:500!important}
html.mda-cart2 body .bx-soa-cart-total .bx-soa-cart-total-button-container{margin:14px 0 0!important;padding:0!important}
html.mda-cart2 body .wrapper1 #bx-soa-order-form a.btn.btn-default.btn-order-save,
html.mda-cart2 body #bx-soa-total a.btn.btn-default.btn-order-save,
html.mda-cart2 body #bx-soa-order-form a.btn.btn-order-save,
html.mda-cart2 body .bx-soa-cart-total a.btn.btn-default.btn-lg.btn-order-save{
  width:100%!important;height:56px!important;display:flex!important;align-items:center;justify-content:center;padding:0 18px!important;
  border:0!important;border-radius:16px!important;background:var(--c-accent)!important;background-image:none!important;color:#fff!important;
  font-family:var(--c-fb)!important;font-weight:600!important;font-size:1rem!important;letter-spacing:0!important;text-transform:none!important;
  box-shadow:0 14px 32px -14px rgba(155,77,255,.95)!important;transition:background .2s!important;
}
@media (hover:hover){
  html.mda-cart2 body .wrapper1 #bx-soa-order-form a.btn.btn-default.btn-order-save:hover,
  html.mda-cart2 body #bx-soa-total a.btn.btn-default.btn-order-save:hover,
  html.mda-cart2 body .bx-soa-cart-total a.btn.btn-default.btn-lg.btn-order-save:hover{background:var(--c-accent-hover)!important}
}
html.mda-cart2 body .bx-soa-cart-conditions,
html.mda-cart2 body .bx-soa-cart-conditions-text{color:var(--c-dim)!important;font-size:.8rem!important;line-height:1.5!important;margin-top:12px}
html.mda-cart2 body .bx-soa-cart-conditions a{color:var(--c-muted)!important}
@media (max-width:767px){
  html.mda-cart2 body #bx-soa-order-form .bx-soa-section{border-radius:20px!important}
  html.mda-cart2 body #bx-soa-order-form .bx-soa-customer-field{width:100%!important;float:none!important}
}

/* ===================================================================== выбор точки выдачи (pickup.js) */
html.mda-cart2 .mda-pickup{font-family:var(--c-fb)}
html.mda-cart2 .mda-pickup__head{display:flex!important;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;margin:0 0 10px!important}
html.mda-cart2 .mda-pickup__star{color:#C9A6FF!important;margin-left:2px}
html.mda-cart2 .mda-pickup__city{color:var(--c-muted)!important;font-size:.86rem!important}
html.mda-cart2 .mda-pickup__city b{color:var(--c-text)!important}
html.mda-cart2 .mda-pickup__city a{color:#C9A6FF!important}
html.mda-cart2 .mda-pickup__note{color:var(--c-muted)!important;font-size:.88rem!important;margin:0 0 12px!important}
html.mda-cart2 .mda-pickup__search{
  height:48px!important;padding:0 16px 0 44px!important;margin:0 0 12px!important;border-radius:14px!important;border:1px solid var(--c-line-strong)!important;
  color:var(--c-text)!important;font-family:var(--c-fb)!important;font-size:16px!important;box-shadow:none!important;
  background:rgba(14,10,20,.5) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E6183' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4 4'/%3E%3C/svg%3E") 14px center/18px no-repeat!important;
}
html.mda-cart2 .mda-pickup__search:focus{border-color:var(--c-accent)!important;box-shadow:0 0 0 4px rgba(155,77,255,.18)!important;outline:0}
html.mda-cart2 .mda-pickup__list{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px!important;max-height:none!important}
html.mda-cart2 .mda-pickup__item{
  position:relative;display:flex!important;align-items:flex-start;gap:12px;margin:0!important;padding:14px 16px!important;cursor:pointer;
  border:1px solid var(--c-line)!important;border-radius:16px!important;background:rgba(14,10,20,.35)!important;min-height:0!important;
  transition:border-color .2s,background .2s,box-shadow .2s;
}
@media (hover:hover){html.mda-cart2 .mda-pickup__item:hover{border-color:var(--c-line-strong)!important}}
html.mda-cart2 .mda-pickup__item.is-checked{border-color:var(--c-accent)!important;background:var(--c-accent-soft)!important;box-shadow:0 0 0 1px var(--c-accent) inset}
html.mda-cart2 .mda-pickup__radio{position:absolute!important;opacity:0!important;pointer-events:none;width:1px;height:1px}
html.mda-cart2 .mda-pickup__mark{
  flex:none;width:20px!important;height:20px!important;margin:1px 0 0!important;border-radius:50%!important;border:2px solid var(--c-line-strong)!important;
  background:transparent!important;box-shadow:none!important;transition:border-color .2s,background .2s;
}
html.mda-cart2 .mda-pickup__item.is-checked .mda-pickup__mark{border-color:var(--c-accent)!important;background:radial-gradient(circle,var(--c-accent) 0 45%,transparent 50%)!important}
html.mda-cart2 .mda-pickup__radio:focus-visible + .mda-pickup__mark{outline:2px solid #C9A6FF;outline-offset:3px}
html.mda-cart2 .mda-pickup__body{display:flex!important;flex-direction:column;gap:5px;min-width:0}
html.mda-cart2 .mda-pickup__name{color:var(--c-text)!important;font-weight:600!important;font-size:.95rem!important;line-height:1.3!important}
html.mda-cart2 .mda-pickup__meta{color:var(--c-dim)!important;font-size:.8rem!important;line-height:1.45!important}
html.mda-cart2 .mc2-open{display:inline-flex;align-items:center;gap:7px;font-size:.82rem;font-weight:500;color:var(--c-green)}
html.mda-cart2 .mc2-open::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor;box-shadow:0 0 0 3px var(--c-green-ring);flex:none}
html.mda-cart2 .mc2-open.is-closed{color:var(--c-muted)}
html.mda-cart2 .mc2-open.is-closed::before{background:var(--c-dim);box-shadow:0 0 0 3px rgba(110,97,131,.2)}
html.mda-cart2 .mda-pickup__miss{color:#FFC27A!important;font-size:.8rem!important}
html.mda-cart2 .mda-pickup__alert{border-radius:14px!important;padding:12px 14px!important;font-size:.88rem!important;line-height:1.45!important;margin:0 0 12px!important}
html.mda-cart2 .mda-pickup__alert--warn{background:rgba(255,194,122,.08)!important;border:1px solid rgba(255,194,122,.3)!important;color:var(--c-text)!important}
html.mda-cart2 .mda-pickup__alert--error{background:rgba(255,107,139,.08)!important;border:1px solid rgba(255,107,139,.3)!important;color:var(--c-text)!important}
html.mda-cart2 .mda-pickup__alert a{color:#C9A6FF!important}
html.mda-cart2 .mda-pickup__error{margin-top:10px!important;color:#FF9DB2!important;font-size:.86rem!important}
html.mda-cart2 .mda-pickup__empty{color:var(--c-dim)!important;padding:12px 0!important}
@media (pointer:coarse){html.mda-cart2 .mda-pickup__item{padding:16px!important}}

/* ===================================================================== «Купить в 1 клик» (окно Aspro) */
html.mda-cart2 body .one_click_buy_frame{
  width:min(560px,calc(100vw - 32px))!important;max-width:none!important;padding:0!important;border-radius:28px!important;
  border:1px solid var(--c-line-strong)!important;background:var(--c-surface)!important;box-shadow:0 40px 100px -30px rgba(0,0,0,.85)!important;
  font-family:var(--c-fb);color:var(--c-text);overflow-x:hidden!important;
}
html.mda-cart2 body .one_click_buy_frame > .form{padding:clamp(22px,3vw,32px)!important;background:none!important}
html.mda-cart2 body .one_click_buy_frame .popup-intro{padding:0!important;margin:0 0 18px!important;background:none!important;border:0!important}
html.mda-cart2 body .one_click_buy_frame .pop-up-title{
  font-family:var(--c-fd)!important;font-weight:900!important;font-size:clamp(1.35rem,2.6vw,1.7rem)!important;letter-spacing:-.04em!important;
  line-height:1.1!important;color:var(--c-text)!important;padding-right:48px;
}
html.mda-cart2 body .one_click_buy_frame .jqmClose{
  top:16px!important;right:16px!important;width:44px!important;height:44px!important;border-radius:50%!important;display:grid!important;place-items:center;
  background:rgba(226,205,255,.08)!important;border:1px solid var(--c-line-strong)!important;z-index:5;
}
@media (hover:hover){html.mda-cart2 body .one_click_buy_frame .jqmClose:hover{background:var(--c-accent-soft)!important;border-color:var(--c-accent)!important}}
html.mda-cart2 body .one_click_buy_frame .jqmClose svg{position:static!important;width:12px!important;height:12px!important;margin:0!important}
html.mda-cart2 body .one_click_buy_frame .jqmClose svg path{fill:var(--c-text)!important}
html.mda-cart2 body .one_click_buy_frame .form-wr{padding:0!important}
html.mda-cart2 body .one_click_buy_frame .form-control.bg{padding:0!important;margin:0 0 14px!important;background:none!important;border:0!important;height:auto!important}
/* сводка товара */
html.mda-cart2 body .one_click_buy_frame .mda-ocb-summary{margin:0 0 18px!important;padding:14px 16px!important;border-radius:16px!important;border:1px solid var(--c-line)!important;background:rgba(14,10,20,.35)!important}
html.mda-cart2 body .one_click_buy_frame .mda-ocb-summary__row{gap:10px;align-items:baseline}
html.mda-cart2 body .one_click_buy_frame .mda-ocb-summary__name{color:var(--c-text)!important;font-weight:600!important;font-size:.95rem!important}
html.mda-cart2 body .one_click_buy_frame .mda-ocb-summary__qty{color:var(--c-dim)!important;font-size:.84rem!important}
html.mda-cart2 body .one_click_buy_frame .mda-ocb-summary__sum{font-family:var(--c-fd)!important;font-weight:700!important;color:var(--c-text)!important;white-space:nowrap}
/* согласия */
html.mda-cart2 body .one_click_buy_frame .license_form,
html.mda-cart2 body .one_click_buy_frame .offer_pub_form{margin:4px 0 10px!important;padding:0!important}
html.mda-cart2 body .one_click_buy_frame .label_block label{
  position:relative;display:block!important;padding:0 0 0 32px!important;color:var(--c-muted)!important;font-size:.84rem!important;line-height:1.45!important;cursor:pointer;
}
html.mda-cart2 body .one_click_buy_frame .label_block label a{color:#C9A6FF!important}
html.mda-cart2 body .one_click_buy_frame .label_block label::before{
  content:""!important;position:absolute!important;left:0;top:0;width:20px!important;height:20px!important;border-radius:6px!important;
  border:2px solid var(--c-line-strong)!important;background:transparent!important;box-shadow:none!important;margin:0!important;
}
html.mda-cart2 body .one_click_buy_frame .label_block input[type="checkbox"]:checked + label::before{
  border-color:var(--c-accent)!important;
  background:var(--c-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat!important;
}
html.mda-cart2 body .one_click_buy_frame .label_block label::after{display:none!important}
html.mda-cart2 body .one_click_buy_frame .label_block input[type="checkbox"]{position:absolute;opacity:0;width:1px;height:1px}
html.mda-cart2 body .one_click_buy_frame .label_block input[type="checkbox"]:focus-visible + label::before{outline:2px solid #C9A6FF;outline-offset:2px}
/* кнопка и сноска */
html.mda-cart2 body .one_click_buy_frame .form_footer__bottom{display:flex!important;flex-direction:column;align-items:stretch;gap:10px;margin:14px 0 0!important;padding:0!important}
html.mda-cart2 body .one_click_buy_frame .form_footer__bottom .line-block__item{width:100%!important;margin:0!important;padding:0!important}
html.mda-cart2 body .one_click_buy_frame button[name="one_click_buy_form_button"]{
  width:100%!important;height:56px!important;padding:0 18px!important;border:0!important;border-radius:16px!important;
  background:var(--c-accent)!important;background-image:none!important;color:#fff!important;font-family:var(--c-fb)!important;font-weight:600!important;
  font-size:1rem!important;letter-spacing:0!important;text-transform:none!important;box-shadow:0 14px 32px -14px rgba(155,77,255,.95)!important;
}
@media (hover:hover){html.mda-cart2 body .one_click_buy_frame button[name="one_click_buy_form_button"]:hover{background:var(--c-accent-hover)!important}}
html.mda-cart2 body .one_click_buy_frame .required-fields-note{text-align:center;color:var(--c-dim)!important}
html.mda-cart2 body .one_click_buy_frame .required-fields-note .muted888{color:var(--c-dim)!important}
html.mda-cart2 body .one_click_buy_frame .mda-pickup-ocb .mda-pickup__list{grid-template-columns:1fr;max-height:min(46vh,420px)!important;overflow-y:auto;padding-right:4px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--c-surface-2) transparent}
html.mda-cart2 body .one_click_buy_frame .mda-pickup__title{font-family:var(--c-fd)!important;font-weight:700!important;font-size:1.02rem!important;color:var(--c-text)!important}
/* результат («Бронь оформлена») */
html.mda-cart2 body .one_click_buy_frame .one_click_buy_result_success{font-family:var(--c-fd)!important;font-weight:900!important;color:var(--c-text)!important}
html.mda-cart2 body .one_click_buy_frame .one_click_buy_result_text{color:var(--c-muted)!important}

/* телефон: окно — шторка снизу */
@media (max-width:767px){
  html.mda-cart2 body .one_click_buy_frame{
    top:auto!important;bottom:0!important;left:0!important;right:0!important;margin:0!important;transform:none!important;
    width:100%!important;max-height:calc(100dvh - 24px)!important;height:auto!important;overflow-y:auto!important;
    border-radius:24px 24px 0 0!important;border-bottom:0!important;padding-bottom:env(safe-area-inset-bottom)!important;
    animation:mc2-sheet .4s var(--c-ease);
  }
  html.mda-cart2 body .one_click_buy_frame::before{
    content:"";position:sticky;top:0;display:block;width:40px;height:4px;margin:8px auto -12px;border-radius:4px;background:var(--c-line-strong);z-index:6;
  }
  html.mda-cart2 body .one_click_buy_frame > .form{padding:18px 16px 20px!important}
  html.mda-cart2 body .one_click_buy_frame .jqmClose{top:12px!important;right:12px!important}
  html.mda-cart2 body .one_click_buy_frame .mda-pickup-ocb .mda-pickup__list{max-height:none!important;overflow:visible}
}
@keyframes mc2-sheet{from{transform:translateY(40px);opacity:.4}to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){
  html.mda-cart2 body .one_click_buy_frame{animation:none!important}
  html.mda-cart2 .mc2-bar{transition:none}
}

/* телефон: у Aspro корзина и рекомендации без боковых полей — карточки прилипали к краям экрана */
@media (max-width:991px){
  html.mda-cart2 body #basket-root,
  html.mda-cart2 body .basket-wrapper-bd{padding-left:16px!important;padding-right:16px!important;box-sizing:border-box}
  html.mda-cart2 body .basket-wrapper-bd .owl-stage-outer{overflow:hidden}
}
/* заголовок окна «1 клик» — по левому краю */
html.mda-cart2 body .one_click_buy_frame .popup-intro,
html.mda-cart2 body .one_click_buy_frame .pop-up-title{text-align:left!important}

/* оформление: поля по левому краю карточки, без внутренних отступов Aspro */
html.mda-cart2 body #bx-soa-order-form #bx-soa-properties .bx-soa-section-content,
html.mda-cart2 body #bx-soa-order-form #bx-soa-properties .bx-compact-wrapper,
html.mda-cart2 body #bx-soa-order-form #bx-soa-properties .bx-soa-customer{padding-left:0!important;padding-right:0!important}
html.mda-cart2 body #bx-soa-order-form #bx-soa-properties > .bx-compact-wrapper > .row{margin-left:0!important;margin-right:0!important}
html.mda-cart2 body .one_click_buy_frame .pop-up-title{margin:0!important;width:auto!important;max-width:none!important;display:block!important;padding-left:0!important}
html.mda-cart2 body .one_click_buy_frame .popup-intro{width:auto!important;margin:0 0 18px!important;padding:0!important}
html.mda-cart2 body #bx-soa-order-form input.mda-pickup__search,
html.mda-cart2 body .one_click_buy_frame input.mda-pickup__search{
  padding-left:44px!important;
  background:rgba(14,10,20,.5) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E6183' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4 4'/%3E%3C/svg%3E") 14px center/18px no-repeat!important;
}
/* чекбоксы согласий: Aspro прячет ::before у label — без него не видно, отмечено ли (а согласия обязательны) */
html.mda-cart2 body .one_click_buy_frame .label_block label::before{display:block!important;visibility:visible!important;opacity:1!important}
html.mda-cart2 body .one_click_buy_frame .label_block{position:relative;margin:0 0 10px!important}
html.mda-cart2 body .one_click_buy_frame .label_block label{min-height:24px;padding-top:1px!important}
html.mda-cart2 body .one_click_buy_frame .label_block input.error + label::before,
html.mda-cart2 body .one_click_buy_frame .label_block label.error::before{border-color:#FF6B8B!important}
