.dis-cart-page {
    --basket-ink: #102b44;
    --basket-blue: #0759b0;
    --basket-line: #d6e2ee;
    --basket-muted: #4c6175;
}
.dis-cart-page h1 { margin-bottom: 24px; }
.dis-cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(245px, 320px); gap: 16px; align-items: start; }
.dis-cart-items, .dis-cart-summary, .dis-checkout-panel {
    min-width: 0;
    padding: clamp(14px, 2vw, 25px);
    border: 1px solid var(--basket-line);
    border-radius: 9px;
    background: #fff;
}
.dis-cart-page .dis-cart-list-head h2, .dis-cart-page .dis-cart-summary h2, .dis-cart-page .dis-checkout-panel h2 {
    margin: 0;
    font-size: clamp(1.55rem, 2.3vw, 2rem);
    line-height: 1.2;
}
.dis-cart-list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 13px; }
.dis-cart-list-head a { font-size: .86rem; }
.dis-cart-row {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: start;
    padding: 16px 0;
    border-top: 1px solid var(--basket-line);
}
.dis-cart-photo {
    display: grid;
    width: 82px;
    aspect-ratio: 1;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--basket-line);
    border-radius: 7px;
    background: #f3f7fa;
    text-decoration: none;
}
.dis-cart-photo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.dis-cart-photo .shop-image-empty { display: grid; justify-items: center; padding: 4px; font-size: .72rem; text-align: center; }
.dis-cart-product h3 { margin: 0 0 5px; font: 750 clamp(.91rem, 1.3vw, 1.06rem)/1.34 Inter, sans-serif; overflow-wrap: anywhere; }
.dis-cart-product h3 a { color: var(--basket-ink); text-decoration: none; }
.dis-cart-product h3 a:hover { color: var(--basket-blue); text-decoration: underline; }
.dis-cart-meta { margin: 3px 0; color: var(--basket-muted); font-size: .81rem; overflow-wrap: anywhere; }
.dis-cart-order-badge {
    display: inline-block;
    width: fit-content;
    margin: 4px 0 0;
    padding: 3px 7px;
    border-radius: 4px;
    color: #794803;
    background: #fff0d2;
    font: 700 .75rem/1.35 Inter, sans-serif;
}
.dis-cart-row-controls { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 11px; align-items: center; }
.dis-cart-row-price { min-width: 74px; text-align: right; color: var(--basket-ink); font-size: .92rem; }
.dis-cart-row-price small { display: block; margin-top: 3px; color: var(--basket-muted); font-size: .76rem; }
.dis-cart-remove { display: grid; place-items: center; width: 34px; height: 38px; padding: 0; color: #52697e; border: 0; border-radius: 6px; background: #edf3f8; }
.dis-cart-remove:hover { color: #a42121; background: #fbeaea; }
.dis-cart-save { margin-top: 6px; }
.dis-cart-summary { background: #edf4fa; color: var(--basket-ink); }
.dis-cart-summary ul { list-style: none; padding: 0; margin: 12px 0; font-size: .84rem; }
.dis-cart-summary li { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--basket-line); }
.dis-cart-summary li > :last-child { white-space: nowrap; }
.dis-cart-summary li > div { min-width: 0; overflow-wrap: anywhere; }
.dis-cart-summary li .dis-cart-order-badge { display: table; }
.dis-cart-summary-quantity, .dis-cart-summary-total { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; padding-top: 10px; font-size: .87rem; }
.dis-cart-summary-quantity { margin-top: 8px; }
.dis-cart-summary-total { align-items: baseline; margin-top: 8px; border-top: 1px solid var(--basket-line); }
.dis-cart-summary-total strong { font-size: 1.27rem; white-space: nowrap; }
.dis-cart-summary p { margin: 12px 0 0; color: var(--basket-muted); font-size: .84rem; }
.dis-cart-summary .dis-cart-order-note { padding: 8px 10px; border-radius: 5px; color: #684008; background: #fff0d2; }
.dis-cart-summary .shop-btn { margin-top: 14px; }
.dis-buy-quantity { display: flex; flex-wrap: wrap; gap: 7px 12px; align-items: center; justify-content: space-between; font-size: .91rem; font-weight: 650; }
.dis-quantity { display: inline-flex; align-items: stretch; border: 1px solid #bdcfdf; border-radius: 7px; background: #fff; }
.dis-quantity button { width: 32px; min-height: 40px; padding: 0; border: 0; color: #0759b0; background: #edf4fa; font-size: 1.17rem; }
.dis-quantity button:first-child { border-radius: 6px 0 0 6px; }
.dis-quantity button:last-child { border-radius: 0 6px 6px 0; }
.dis-quantity button:disabled { color: #6c7e90; opacity: .65; cursor: default; }
.dis-quantity button:not(:disabled):hover { background: #dceafb; }
.dis-quantity input { width: 62px; min-height: 40px; padding: 3px 5px; border: 0; text-align: center; color: #102b44; background: #fff; }
.dis-quantity input:only-of-type { -moz-appearance: textfield; }
.dis-quantity input::-webkit-inner-spin-button { appearance: none; }
.dis-quantity input:invalid { outline: 1px solid #a42121; outline-offset: -1px; }
.dis-quantity [hidden] { display: none; }
.dis-cart-inline { color: #176337; font-size: .81rem; margin: 0; overflow-wrap: anywhere; }
.dis-cart-inline:empty { margin: 0; }
.shop-buy-actions .dis-cart-inline:empty { margin-top: -8px; }
.dis-cart-inline[data-error="true"] { color: #a42121; }
.dis-cart-fallback { margin-top: 12px; }
.dis-masthead {
    position: sticky;
    top: 0;
    z-index: 20;
    box-shadow: 0 2px 8px #102b4412;
}
html:has(.dis-masthead) { scroll-padding-top: calc(var(--dis-masthead-height, 166px) + 12px); }
.dis-masthead + main .dis-delivery-night { scroll-margin-top: 0; }
.shop .shop-skip:focus { position: fixed; z-index: 22; }
.dis-header .dis-cart {
    gap: 8px;
    min-height: 46px;
    padding: 6px 10px;
    border: 1px solid #08529d;
    border-radius: 7px;
    color: #fff !important;
    background: #0863b9;
    font-weight: 800;
    font-size: .87rem;
    white-space: nowrap;
}
.dis-header .dis-cart:hover { background: #07539d; }
.dis-header .dis-cart[aria-current] { border-color: #103452; }
.dis-cart > .shop-icon { flex: none; width: 20px; height: 20px; }
.dis-cart .shop-cart-count {
    min-width: 24px;
    line-height: 24px;
    border-radius: 5px;
    background: #e5f2ff;
    color: #103e68;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.dis-header .dis-cart.dis-cart-feedback {
    background: #07529b;
    outline: 2px solid #4ca0e5;
    outline-offset: 2px;
}
.dis-cart-feedback .shop-cart-count { animation: dis-cart-count .24s cubic-bezier(.23, 1, .32, 1); }
@keyframes dis-cart-count { 50% { transform: scale(1.21); } }
.dis-cart-confirmation {
    position: absolute;
    top: calc(100% + 8px);
    right: max(var(--gutter), calc((100% - 1320px) / 2));
    z-index: 2;
    padding: 6px 8px;
    border-radius: 5px;
    background: #103452;
    color: #fff;
    font-size: .74rem;
    pointer-events: none;
}
.dis-cart-confirmation:empty { display: none; }
.dis-cart-parcel {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 23;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    overflow: hidden;
    border: 2px solid #4ca0e5;
    border-radius: 9px;
    background: #e5f2ff;
    box-shadow: 0 4px 12px #10345235;
    color: #103e68;
    pointer-events: none;
}
.dis-cart-parcel img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; background: #fff; }
.dis-cart-parcel .shop-icon { width: 24px; height: 24px; }
.dis-checkout-types { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.dis-checkout-types a { flex: 1 1 150px; padding: 10px; border: 1px solid #c2d4e5; border-radius: 7px; text-align: center; text-decoration: none; font-weight: 700; }
.dis-checkout-types a:hover, .dis-checkout-types [aria-current] { background: #e8f3ff; border-color: var(--basket-blue); }
.dis-checkout-form fieldset { min-width: 0; margin: 0; padding: 12px 0 4px; border: 0; border-top: 1px solid var(--basket-line); }
.dis-checkout-form legend { padding-right: 8px; font-weight: 750; }
.dis-checkout-wide { grid-column: 1 / -1; }
.dis-checkout-comment { margin-top: 10px; }
.dis-checkout-form select { width: 100%; min-height: 42px; padding: 8px; border: 1px solid #becddc; border-radius: 8px; color: var(--basket-ink); background: #fff; }
.dis-checkout-form > .shop-btn { justify-self: start; }
@media (max-width: 1100px) {
    .dis-cart-row { grid-template-columns: 72px minmax(0, 1fr); }
    .dis-cart-photo { width: 72px; }
    .dis-cart-row-controls { grid-column: 2; justify-content: flex-start; }
    .dis-cart-row-price { text-align: left; }
}
@media (max-width: 790px) {
    .dis-cart-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
    .dis-header .dis-cart { gap: 5px; min-height: 44px; padding-inline: 7px; font-size: .76rem; }
    .dis-cart > .shop-icon { width: 17px; height: 17px; }
    .dis-cart .shop-cart-count { min-width: 20px; line-height: 22px; }
    .dis-masthead .dis-nav { flex-wrap: nowrap; gap: 15px; min-height: 35px; padding-block: 0; overflow-x: auto; scrollbar-width: thin; }
    .dis-masthead .dis-nav a { flex: none; padding-block: 8px; }
}
@media (max-width: 365px) {
    .dis-header .dis-cart { gap: 4px; padding-inline: 6px; }
    .dis-masthead .dis-logo small { display: none; }
    .dis-masthead .dis-logo img { width: 34px; height: 34px; }
}
@media (max-width: 390px) {
    .dis-cart-row { gap: 8px; grid-template-columns: 55px minmax(0, 1fr); }
    .dis-cart-photo { width: 55px; }
    .dis-cart-row-controls { gap: 7px; }
    .dis-quantity button { width: 29px; }
    .dis-quantity input { width: 44px; }
    .dis-checkout-form .shop-challenge { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    .dis-cart-feedback .shop-cart-count { animation: none; }
}
