/* Геометрия live корзины следует Figma; native количество и ошибки остаются читаемыми расширениями. */
.basket-page{background:var(--color-bg,#f5f3ed);min-height:55vh;padding:0 60px 100px;color:var(--color-text,#1c1816)}
.basket-page>.site-breadcrumbs{padding:24px 0 20px;margin-bottom:0}.basket-breadcrumbs{display:flex;gap:14px;padding:26px 0 24px;font-size:13px;color:#706c68}
.basket-page h1{font:400 48px/59px var(--font-heading,Constantia,serif);margin:0 0 24px;padding-bottom:32px;border-bottom:1px solid rgba(112,108,104,.2)}
.basket-status{font-size:14px;line-height:1.5;margin:0 0 16px;color:#706c68}.basket-status:empty{display:none}
.basket-layout{display:grid;grid-template-columns:minmax(0,1fr) 460px;gap:120px;align-items:start}.basket-items{min-width:0}
.basket-toolbar{display:flex;justify-content:space-between;align-items:center;height:24px;margin:0 0 24px;padding-left:24px;font-size:14px;font-weight:500}
.basket-select-label{display:flex;align-items:center;gap:8px;cursor:pointer}.basket-select-label input,.basket-check input,.basket-option input{appearance:none;width:24px;height:24px;flex:none;border:1px solid #e8e6e5;background:#fff;cursor:pointer;margin:0;border-radius:0}
.basket-select-label input:checked,.basket-check input:checked{border-color:#91806e;background:#91806e}.basket-option input:checked{background:#1c1816;border-color:#1c1816}
.basket-page input[type=checkbox]:checked:after{content:'';display:block;width:20px;height:20px;margin:1px;background:url('/local/basket-kits/icons/check.svg') center no-repeat}
.basket-page input:indeterminate{background:#91806e}.basket-page input:indeterminate:after{content:'';display:block;width:12px;height:2px;background:#fff;margin:10px 5px}
.basket-text-button{border:0;padding:0;background:transparent;display:flex;gap:8px;align-items:center;color:#706c68;font:inherit;cursor:pointer;font-size:14px}.basket-text-button img{width:24px;height:24px}
.basket-cards{display:grid;gap:16px}.basket-card{background:#fff;border:1px solid #f0f0f0;border-radius:4px;padding:16px 24px;position:relative;min-width:0}
.basket-card-top{display:grid;grid-template-columns:24px 180px minmax(0,1fr);gap:24px;position:relative}.basket-check{align-self:center;line-height:0}.basket-photo{width:180px;height:180px;display:grid;place-items:center;background:#f5f3ed}.basket-photo img{width:100%;height:100%;object-fit:cover}.basket-no-image{font-size:13px;color:#706c68;text-align:center}
.basket-product{min-width:0;display:flex;flex-direction:column;padding-top:16px}.basket-product h2{font:400 24px/normal var(--font-heading,Constantia,serif);margin:0 100px 12px 0}.basket-meta{display:flex;align-items:center;gap:10px;font-size:15px;color:#706c68;margin:0 0 8px;flex-wrap:wrap}.basket-meta span{color:#1c1816;font-weight:600}.basket-textile img{width:20px;height:20px;object-fit:cover;border-radius:50%}
.basket-card-actions{position:absolute;right:0;top:16px;display:flex;align-items:center;gap:24px}.basket-icon{background:transparent;border:0;cursor:pointer;padding:0;display:grid;place-items:center;width:24px;height:24px}.basket-icon img{display:block}.basket-heart[aria-pressed=true]{background:#f5f3ed;outline:1px solid #91806e;outline-offset:3px}
.basket-product-bottom{display:flex;align-items:flex-end;gap:16px;margin-top:auto;justify-content:space-between;padding-top:16px}.basket-price{display:flex;flex-direction:column;align-items:flex-end;gap:8px;order:1;white-space:nowrap}.basket-price strong{font-size:20px;font-weight:700}.basket-price del{font-size:14px;font-weight:500;color:#706c68}
.basket-quantity{display:flex;align-items:center;gap:8px;color:#706c68;font-size:12px}.basket-quantity input{font:inherit;font-size:14px;color:#1c1816;border:1px solid #d1cec8;background:transparent;border-radius:2px;padding:7px;width:64px;min-height:36px}
.basket-services{display:grid;grid-template-columns:208px minmax(0,1fr);gap:24px;border-top:1px solid #f0f0f0;margin-top:24px;padding-top:24px}.basket-services h3{font-size:15px;font-weight:400;line-height:24px;margin:0}.basket-option-list{display:grid;gap:8px}.basket-option{display:flex;align-items:center;gap:16px;font-size:15px;cursor:pointer;line-height:1.35;min-height:24px}.basket-option-name{min-width:0}.basket-option-price{white-space:nowrap;font-weight:500}.basket-option-price:before{content:'•';margin-right:6px;font-weight:400}
.basket-more-options summary{font-size:13px;color:#706c68;cursor:pointer;text-decoration:underline;list-style:none;width:max-content;max-width:100%;padding-top:4px}.basket-more-options summary::-webkit-details-marker{display:none}.basket-more-options>div{display:grid;gap:8px;margin-top:12px}
.basket-card-total{display:flex;flex-direction:column;align-items:flex-end;gap:8px;margin-top:12px;font-size:14px;color:#706c68}.basket-card-total>span{display:flex;gap:12px;align-items:baseline}.basket-card-total strong{font-weight:700;color:#1c1816}.basket-kit-total strong{font-size:16px;color:#8e441c}
.basket-legacy,.basket-warning{font-size:12px;line-height:1.5;color:#8e441c;margin:8px 0}
.basket-summary{padding:40px;background:#fff;border-radius:6px;margin-top:48px;position:sticky;top:24px;display:grid;gap:28px;min-width:0}.basket-summary h2{font:400 24px/normal var(--font-heading,Constantia,serif);margin:0 0 12px;text-align:center}.basket-summary-mobile-title{display:none}.basket-summary dl{display:grid;gap:28px;margin:0}.basket-summary dl>div{display:flex;align-items:baseline;gap:8px;font-size:16px;font-weight:500}.basket-summary dt{display:flex;align-items:baseline;gap:8px;flex:1;white-space:nowrap}.basket-summary dt:after{content:'';flex:1;border-bottom:1px dashed #e8e6e5}.basket-summary dd{margin:0;white-space:nowrap}.basket-discount dd{color:#8e441c}
#basket-coupon{margin-top:32px;font-size:14px}#basket-coupon>label{display:block;margin-bottom:14px}#basket-coupon>div{display:flex;border-bottom:.5px solid #1c1816;padding-bottom:12px}#basket-coupon input{background:transparent;border:0;font:inherit;font-size:15px;padding:0;width:100%;min-width:0}#basket-coupon button{border:0;background:transparent;padding:0;cursor:pointer}#basket-coupon button img{display:block;transform:rotate(180deg)}
.basket-summary-total{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-top:12px;color:#706c68;font-size:14px}.basket-summary-total strong{font-size:24px;font-weight:700;color:#1c1816;text-align:right}
.basket-primary{display:flex;align-items:center;justify-content:center;background:#91806e;color:#fff;text-decoration:none;min-height:60px;padding:12px 20px;font-size:15px;font-weight:600;border:0;text-align:center}.basket-order-note{font-size:12px;color:#706c68;line-height:1.5;margin:0}.basket-empty{display:grid;gap:20px;max-width:640px;margin:60px auto 80px;padding:36px;text-align:center;background:#fff}.basket-empty h2{font:400 28px/1.3 var(--font-heading,Constantia,serif)}.basket-empty p{font-size:15px;line-height:1.5}
.basket-page :focus-visible{outline:2px solid #91806e;outline-offset:4px}.basket-page button:disabled,.basket-page input:disabled{opacity:.4;cursor:default}.basket-page [aria-busy=true]{opacity:.7}.basket-page [hidden]{display:none!important}
/* Планшет сохраняет доступность native controls без сжатия длинных названий и услуг. */
@media(min-width:768px) and (max-width:1599px){.basket-page{padding-left:30px;padding-right:30px}.basket-layout{grid-template-columns:minmax(0,1fr) 360px;gap:32px}.basket-summary{padding:28px}.basket-card-top{grid-template-columns:24px 120px minmax(0,1fr);gap:16px}.basket-photo{width:120px;height:120px}.basket-services{grid-template-columns:160px minmax(0,1fr);gap:16px}.basket-option{font-size:13px;gap:8px}.basket-product h2{margin-right:80px}.basket-card-actions{gap:16px}.basket-product-bottom{flex-wrap:wrap;justify-content:flex-end}}
@media(min-width:768px) and (max-width:1100px){.basket-layout{grid-template-columns:minmax(0,1fr)}.basket-summary{width:min(460px,100%);margin:8px 0 0;position:static;justify-self:end}.basket-page h1{font-size:40px}}
@media(max-width:767px){.basket-page{padding:0 14px 80px}.basket-page>.site-breadcrumbs,.basket-breadcrumbs{padding:16px 0 12px;margin-bottom:0}.basket-page h1{font-size:24px;margin:24px 0 16px;padding-bottom:20px;line-height:29px}.basket-layout{display:flex;flex-direction:column;gap:40px}.basket-items{width:100%}.basket-toolbar{padding:0 14px 0 0;flex-direction:row-reverse;font-size:12px;margin-bottom:24px}.basket-select-label{flex-direction:row-reverse;gap:8px}.basket-text-button{font-size:12px}.basket-cards{gap:16px}.basket-card{padding:16px 14px}.basket-card-top{display:grid;grid-template-columns:60px minmax(0,1fr) 24px;gap:16px}.basket-photo{grid-column:1;grid-row:1;width:60px;height:60px}.basket-check{grid-column:3;grid-row:1;align-self:start}.basket-card-actions{right:48px;top:0;gap:24px}.basket-product{grid-column:1/-1;grid-row:2;padding:0}.basket-product h2{font-size:24px;line-height:29px;margin:0 0 12px}.basket-meta{font-size:16px;gap:10px;margin-bottom:8px}.basket-product-bottom{flex-wrap:wrap;align-items:center;justify-content:space-between;margin-top:8px;padding:0}.basket-price{flex-direction:row;order:0;gap:8px;align-items:baseline}.basket-price strong{font-size:18px}.basket-price del{font-size:12px}.basket-quantity{font-size:11px}.basket-quantity input{width:54px;min-height:32px;padding:5px}.basket-services{display:block;margin-top:24px;padding-top:24px}.basket-services h3{font-size:11px;line-height:15px;color:#706c68;margin:0 0 8px}.basket-option-list{gap:8px}.basket-option{font-size:12px;gap:8px;line-height:16px;min-height:18px;align-items:center}.basket-option input{width:16px;height:16px}.basket-page .basket-option input:checked:after{margin:-3px}.basket-option-name{flex:1}.basket-option-price{font-size:13px}.basket-option-price:before{display:none}.basket-more-options summary{font-size:11px;padding-top:4px}.basket-card-total{align-items:flex-start;margin-top:24px;gap:8px;font-size:12px}.basket-kit-total strong{font-size:16px}.basket-summary{width:100%;padding:24px;gap:24px;margin:0;position:static}.basket-summary h2{font-size:18px;margin:0}.basket-summary-desktop-title{display:none}.basket-summary-mobile-title{display:inline}.basket-summary dl{gap:20px}.basket-summary dl>div{font-size:12px}.basket-summary-total{font-size:16px;font-weight:700;margin:0;color:#1c1816}.basket-summary-total strong{font-size:24px}#basket-coupon{margin-top:0;font-size:11px}#basket-coupon>label{margin-bottom:8px}#basket-coupon>div{border:0;background:#f5f3ed;padding:12px 16px;min-height:44px}#basket-coupon input{font-size:12px}#basket-coupon button img{}.basket-primary{min-height:44px;font-size:12px}.basket-status{font-size:12px}.basket-empty{margin-top:30px;padding:24px}.basket-empty h2{font-size:24px}}

/* На широком экране итоги комплекта занимают правый slot рядом с услугами. */
@media(min-width:1600px){.basket-card:has(.basket-services) .basket-option-list{padding-right:250px}.basket-card:has(.basket-services) .basket-card-total{position:absolute;right:24px;bottom:16px}}
