/* Корзина evan.ru: оформление существующей разметки, без замены логики. */
.evan-cart-page .main { color:#022e3f; font-family:'Open Sans',Arial,sans-serif; }
.evan-cart-page .main h1 { margin-bottom:32px; font-family:Penta,'Open Sans',sans-serif; font-weight:400; line-height:1.25; }
.evan-cart-page #basket-root { color:#022e3f; font-family:'Open Sans',Arial,sans-serif; font-size:15px; line-height:1.5; }
.evan-cart-page #basket-root > .row { margin-left:0; margin-right:0; }
.evan-cart-page #basket-root > .row > [class*='col-'] { padding-left:0; padding-right:0; }
.evan-cart-page #basket-root .basket-checkout-container { display:grid; grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr); gap:24px 40px; box-sizing:border-box; width:100%; margin:0 0 28px; padding:24px; border:1px solid #cbd7da; border-radius:16px; background:#fff; }
.evan-cart-page #basket-root .basket-coupon-section { width:100%; padding:0; }
.evan-cart-page #basket-root .basket-coupon-block-field { width:100%; padding:0; }
.evan-cart-page #basket-root .basket-coupon-block-field-description { margin:0 0 10px; color:#022e3f; font-family:'Open Sans',Arial,sans-serif; font-size:15px; font-weight:600; }
.evan-cart-page #basket-root .form-control { box-sizing:border-box; width:100%; max-width:100%; height:46px; padding:10px 40px 10px 14px; border:1px solid #8099a3; border-radius:7px; background:#fff; box-shadow:none; color:#022e3f; font-family:'Open Sans',Arial,sans-serif; font-size:16px; line-height:1.5; }
.evan-cart-page #basket-root .form-control:focus { outline:2px solid #3ea7ad; outline-offset:2px; border-color:#3ea7ad; }
.evan-cart-page #basket-root .basket-checkout-section { width:100%; padding:0; }
.evan-cart-page #basket-root .basket-checkout-section-inner { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:16px 20px; width:100%; align-items:center; }
.evan-cart-page #basket-root .basket-checkout-block { margin:0; padding:0; }
.evan-cart-page #basket-root .basket-checkout-block-total-title { font-family:Penta,'Open Sans',sans-serif; color:#022e3f; font-size:26px; font-weight:400; }
.evan-cart-page #basket-root .basket-checkout-block-total-description { margin-top:8px; color:#647982; font-family:'Open Sans',Arial,sans-serif; font-size:13px; line-height:1.7; }
.evan-cart-page #basket-root .basket-checkout-block-total-price { text-align:right; }
.evan-cart-page #basket-root .basket-coupon-block-total-price-current { color:#022e3f; font-family:'Open Sans',Arial,sans-serif; font-size:30px; font-weight:700; line-height:1.3; }
.evan-cart-page #basket-root .basket-coupon-block-total-price-old { color:#8b9aa0; font-family:'Open Sans',Arial,sans-serif; font-size:16px; }
.evan-cart-page #basket-root .basket-coupon-block-total-price-difference,
.evan-cart-page #basket-root .basket-item-price-difference { display:inline-block; max-width:100%; margin-top:8px; padding:4px 8px; border-radius:5px; background:#e8f4ef; color:#28735b; font-family:'Open Sans',Arial,sans-serif; font-size:12px; line-height:1.4; }
.evan-cart-page #basket-root .basket-checkout-block-btn { grid-column:1/-1; justify-self:end; }
.evan-cart-page #basket-root .basket-btn-checkout { box-sizing:border-box; min-height:46px; max-width:100%; margin:0; padding:12px 24px; border:1px solid #022e3f; border-radius:8px; background:#022e3f; color:#fff; font-family:'Open Sans',Arial,sans-serif; font-size:14px; font-weight:700; line-height:1.5; text-transform:uppercase; white-space:normal; box-shadow:none; }
.evan-cart-page #basket-root .basket-btn-checkout:hover { border-color:#01475b; background:#01475b; color:#fff; }
.evan-cart-page #basket-root .basket-btn-checkout:focus-visible { outline:2px solid #3ea7ad; outline-offset:4px; }
.evan-cart-page #basket-root .basket-coupon-alert-section { grid-column:1/-1; width:100%; margin:0; }
.evan-cart-page #basket-root .basket-coupon-alert-section:empty { display:none; }
.evan-cart-page #basket-root .basket-items-list-wrapper { border:1px solid #cbd7da; border-radius:16px; background:#fff; }
.evan-cart-page #basket-root .basket-items-list-header { display:flex; flex-wrap:wrap; gap:16px; align-items:center; padding:18px 24px; border:0; border-bottom:1px solid #cbd7da; border-radius:15px 15px 0 0; background:#022e3f; }
.evan-cart-page #basket-root .basket-items-search-field { flex:1 1 260px; width:auto; max-width:360px; margin:0; }
.evan-cart-page #basket-root .basket-items-list-header-filter { margin-left:auto; padding:0; color:#fff; font-family:'Open Sans',Arial,sans-serif; font-size:14px; }
.evan-cart-page #basket-root .basket-items-list-header-filter-item { color:#fff; font-family:inherit; font-size:14px; line-height:1.5; }
.evan-cart-page #basket-root .basket-items-list-header-filter-item.active { color:#fff; font-weight:700; }
.evan-cart-page #basket-root .basket-items-list { padding:0 24px; }
.evan-cart-page #basket-root .basket-items-list-table { width:100%; border-collapse:collapse; }
.evan-cart-page #basket-root .basket-items-list-item-container > td { box-sizing:border-box; padding-top:26px; padding-bottom:26px; border-bottom:1px solid #dce4e6; vertical-align:middle; }
.evan-cart-page #basket-root .basket-items-list-item-container:last-child > td { border-bottom:0; }
.evan-cart-page #basket-root .basket-items-list-item-descriptions-inner { min-height:0; }
.evan-cart-page #basket-root .basket-item-block-image { width:100px; min-width:100px; padding-right:18px; }
.evan-cart-page #basket-root .basket-item-image { max-width:82px; max-height:120px; object-fit:contain; }
.evan-cart-page #basket-root .basket-item-info-name { margin:0 0 10px; font-family:Penta,'Open Sans',sans-serif; font-size:22px; font-weight:400; line-height:1.35; }
.evan-cart-page #basket-root .basket-item-info-name-link { color:#022e3f; font-family:inherit; font-weight:400; text-decoration:none; }
.evan-cart-page #basket-root .basket-item-info-name-link:hover { color:#267e85; }
.evan-cart-page #basket-root .basket-item-property-custom-name,
.evan-cart-page #basket-root .basket-item-property-custom-value { font-family:'Open Sans',Arial,sans-serif; font-size:12px; line-height:1.5; }
.evan-cart-page #basket-root .basket-item-property-custom-name { color:#647982; }
.evan-cart-page #basket-root .basket-item-price-current-text { color:#022e3f; font-family:'Open Sans',Arial,sans-serif; font-size:20px; font-weight:700; line-height:1.4; }
.evan-cart-page #basket-root .basket-item-price-old-text { color:#8b9aa0; font-family:'Open Sans',Arial,sans-serif; font-size:13px; }
.evan-cart-page #basket-root .basket-item-price-title { color:#647982; font-family:'Open Sans',Arial,sans-serif; font-size:12px; }
.evan-cart-page #basket-root .basket-item-amount-filed { box-sizing:border-box; height:42px; width:60px; border:1px solid #8099a3; border-radius:6px; background:#fff; color:#022e3f; font-family:'Open Sans',Arial,sans-serif; font-size:17px; font-weight:600; }
.evan-cart-page #basket-root .basket-item-amount-filed:focus { outline:2px solid #3ea7ad; outline-offset:2px; border-color:#3ea7ad; }
.evan-cart-page #basket-root .basket-item-amount-filed:disabled { background:#f3f4ee; color:#647982; }
.evan-cart-page #basket-root .basket-item-amount-field-description { color:#647982; font-family:'Open Sans',Arial,sans-serif; font-size:12px; }
.evan-cart-page #basket-root .basket-item-amount-btn-minus,
.evan-cart-page #basket-root .basket-item-amount-btn-plus { color:#022e3f; }
.evan-cart-page #basket-root .basket-item-label-ring { border-radius:6px; background:#f7444e; color:#fff; font-family:'Open Sans',Arial,sans-serif; font-size:12px; font-weight:700; }
.evan-cart-page #basket-root .alert-warning { margin:10px 0; padding:10px 14px; border:1px solid #ead8b7; border-radius:7px; background:#fff8e9; color:#85652f; font-family:'Open Sans',Arial,sans-serif; font-size:13px; line-height:1.5; }
.evan-cart-page #basket-root .basket-items-list-item-notification { padding:20px; background:#f3f4ee; }
.evan-cart-page #basket-root .basket-items-list-item-notification a { color:#267e85; }
.evan-cart-page .basket-empty-cart-text { font-family:Penta,'Open Sans',sans-serif; font-size:26px; color:#022e3f; }
@media(max-width:1024px) {
 .evan-cart-page #basket-root .basket-checkout-container { grid-template-columns:minmax(0,1fr); gap:20px; }
 .evan-cart-page #basket-root .basket-coupon-block-field { max-width:460px; }
 .evan-cart-page #basket-root .basket-checkout-section-inner { grid-template-columns:minmax(0,1fr) auto; }
}
@media(max-width:750px) {
 .evan-cart-page .main h1 { font-size:28px; margin-bottom:24px; }
 .evan-cart-page #basket-root .basket-checkout-container { padding:20px 16px; }
 .evan-cart-page #basket-root .basket-checkout-section-inner { gap:16px 12px; }
 .evan-cart-page #basket-root .basket-coupon-block-total-price-current { font-size:25px; }
 .evan-cart-page #basket-root .basket-checkout-block-total-title { font-size:23px; }
 .evan-cart-page #basket-root .basket-checkout-block-btn, .evan-cart-page #basket-root .basket-btn-checkout { width:100%; }
 .evan-cart-page #basket-root .basket-items-list-header { padding:16px; gap:12px; }
 .evan-cart-page #basket-root .basket-items-search-field { flex-basis:100%; max-width:none; }
 .evan-cart-page #basket-root .basket-items-list-header-filter { margin-left:0; text-align:left; }
 .evan-cart-page #basket-root .basket-items-list { padding:0 16px; }
 .evan-cart-page #basket-root .basket-items-list-table, .evan-cart-page #basket-root .basket-items-list-table tbody { display:block; width:100%; }
 .evan-cart-page #basket-root tr.basket-items-list-item-container { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:14px 10px; position:relative; width:100%; padding:20px 0; border-bottom:1px solid #dce4e6; }
 .evan-cart-page #basket-root tr.basket-items-list-item-container:last-child { border-bottom:0; }
 .evan-cart-page #basket-root .basket-items-list-item-container > td { min-width:0; width:auto; padding:0; border:0; }
 .evan-cart-page #basket-root .basket-items-list-item-descriptions { grid-column:1/-1; display:block; }
 .evan-cart-page #basket-root .basket-items-list-item-descriptions-inner { display:flex; align-items:flex-start; width:100%; padding:0; }
 .evan-cart-page #basket-root .basket-item-block-image { flex:0 0 82px; width:82px; min-width:82px; padding:0 14px 0 0; }
 .evan-cart-page #basket-root .basket-item-image { max-width:68px; max-height:100px; }
 .evan-cart-page #basket-root .basket-item-block-info { flex:1 1 auto; min-width:0; padding:0 14px 0 0; }
 .evan-cart-page #basket-root .basket-item-info-name { font-size:20px; }
 .evan-cart-page #basket-root .basket-items-list-item-amount { grid-column:1; display:block; text-align:left; }
 .evan-cart-page #basket-root .basket-item-block-amount { display:inline-block; padding:0; }
 .evan-cart-page #basket-root .basket-items-list-item-price:not(.basket-items-list-item-price-for-one) { grid-column:2; display:block; text-align:right; }
 .evan-cart-page #basket-root .basket-item-block-price { padding:0; }
 .evan-cart-page #basket-root .basket-items-list-item-price-for-one, .evan-cart-page #basket-root .basket-items-list-item-remove { display:none; }
 .evan-cart-page #basket-root .basket-items-list-item-notification { grid-column:1/-1; }
 .evan-cart-page #basket-root .basket-item-actions-remove { top:0; right:0; }
}

/* Сбрасываем остатки мобильной раскладки штатного шаблона. */
.evan-cart-page #basket-root .basket-coupon-section,
.evan-cart-page #basket-root .basket-coupon-block-field .form-group { margin:0; }
.evan-cart-page #basket-root .basket-checkout-block-total,
.evan-cart-page #basket-root .basket-checkout-block-total-inner { text-align:left; }
.evan-cart-page #basket-root .basket-item-info-name-link { font-size:inherit; line-height:inherit; }
@media(max-width:750px) {
 .evan-cart-page #basket-root .basket-items-list-item-descriptions-inner { flex-direction:row; }
 .evan-cart-page #basket-root .basket-item-block-info { width:auto; padding-right:22px; }
 .evan-cart-page #basket-root .basket-items-list-item-amount { width:auto !important; justify-self:stretch; }
 .evan-cart-page #basket-root .basket-item-block-amount { display:grid; grid-template-columns:28px 60px 28px; width:116px; margin:0; gap:0; }
 .evan-cart-page #basket-root .basket-item-amount-btn-minus,
 .evan-cart-page #basket-root .basket-item-amount-btn-plus { display:block; position:relative; width:28px; height:42px; top:auto; right:auto; left:auto; }
 .evan-cart-page #basket-root .basket-item-amount-filed-block { width:60px; }
 .evan-cart-page #basket-root .basket-item-amount-field-description { grid-column:2; margin:4px 0 0; text-align:center; }
}

/* Служебный тип цены не показываем покупателю; расчёт не меняется. */
.evan-cart-page #basket-root .basket-item-property-custom:has([data-column-property-code="TYPE"]) {
    display:none;
}
