.tz-basket-list .columns,
.tz-basket-list .line-item {
    grid-template-columns: minmax(0, 1fr) 76px 98px 92px;
    gap: 12px;
    padding-inline: 8px;
}
.tz-basket-list .columns > :nth-child(2),
.tz-basket-list .columns > :nth-child(3),
.tz-basket-list .unit { text-align: center; }
.tz-basket-list .unit,
.tz-basket-list .line-total { white-space: nowrap; }
.tz-basket-list .item-name { gap: 12px; }
.tz-basket-list .item-name img {
    display: block;
    width: 70px;
    height: 76px;
    flex: 0 0 auto;
}
.tz-basket-list .item-name a { overflow-wrap: anywhere; line-height: 1.35; font-weight: 700; }
.tz-basket-list .picker summary {
    display: flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 6px 9px;
}
.tz-basket-list .picker summary .tz-picker-plus {
    display: inline-grid;
    width: 19px;
    height: 19px;
    place-items: center;
    border-radius: 50%;
    background: #2b6a37;
    color: white;
    font: 650 15px/1 system-ui, sans-serif;
}
.tz-basket-list .picker[open]:has(.tz-picker-enhanced) > summary { display: none; }
.tz-basket-list .tz-picker-enhanced {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 5px 7px;
}
.tz-basket-list .tz-picker-enhanced [hidden] { display: none; }
.tz-picker-enhanced input[type="search"] {
    grid-area: 1 / 1;
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: 7px 11px;
    border: 1px solid #c9d6c2;
    border-radius: 7px;
    background: #fff;
    color: #233329;
    font-size: 16px;
}
.tz-picker-suggestions {
    grid-column: 1;
    grid-row: 2;
    max-height: 210px;
    overflow: auto;
    border: 1px solid #d4e0d1;
    border-radius: 7px;
    background: white;
}
.tz-picker-suggestions [role="option"] {
    padding: 9px 11px;
    color: #20382a;
    cursor: pointer;
}
.tz-picker-suggestions [role="option"] + [role="option"] { border-top: 1px solid #e7ece2; }
.tz-picker-suggestions [role="option"]:hover,
.tz-picker-suggestions [aria-selected="true"] { background: #e8f0e4; }
.tz-basket-list .tz-picker-status { grid-area: 2 / 1; margin: 0; padding: 2px 4px; }
.tz-picker-actions {
    display: grid;
    grid-template-columns: 98px minmax(0, 1fr) 38px;
    align-items: stretch;
    gap: 8px;
    grid-column: 1 / -1;
}
.tz-picker-enhanced .tz-picker-actions {
    grid-area: 1 / 2;
    grid-template-columns: 98px 120px 36px;
}
.tz-picker-actions .primary {
    min-height: 36px;
    padding: 5px 6px;
    border-radius: 7px;
    background: #2e672d;
    font-size: 13px;
    white-space: nowrap;
}
.tz-picker-actions .primary:disabled { cursor: default; }
.tz-picker-actions .tz-picker-close {
    min-width: 0;
    padding: 0;
    border: 1px solid #da7770;
    border-radius: 7px;
    background: #fff;
    color: #a62622;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}
.tz-basket-list .add .tz-picker-quantity {
    grid-column: auto;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 0;
    margin: 0;
    border: 1px solid #dacfbd;
    border-radius: 10px;
    background: #fff;
}
.tz-picker-quantity button,
.tz-picker-quantity input {
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #482e20;
    text-align: center;
}
.tz-picker-quantity button { cursor: pointer; }
.tz-picker-quantity input {
    min-height: 34px;
    border-inline: 1px solid #e7dacb;
    appearance: textfield;
}
.tz-picker-quantity input::-webkit-inner-spin-button,
.tz-picker-quantity input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.tz-basket-list .add:not(.tz-picker-enhanced) .tz-picker-actions { grid-template-columns: 98px minmax(0, 1fr); }
.tz-basket-list .tz-cart-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
@media (max-width: 600px) {
    .tz-basket-list .tz-picker-enhanced { grid-template-columns: minmax(0, 1fr); }
    .tz-picker-enhanced .tz-picker-actions {
        grid-area: auto / 1;
        grid-template-columns: 98px minmax(0, 1fr) 36px;
    }
    .tz-basket-list .columns { display: none; }
    .tz-basket-list .line-item {
        grid-template-columns: 72px minmax(0, 1fr) max-content;
        grid-template-rows: auto 29px 29px;
        align-items: center;
        gap: 3px 8px;
        min-height: 98px;
        padding: 9px 5px;
    }
    .tz-basket-list .item-name { display: contents; }
    .tz-basket-list .item-name img { grid-area: 1 / 1 / 4 / 2; width: 72px; height: 84px; }
    .tz-basket-list .item-name a { grid-area: 1 / 2 / 2 / 4; align-self: start; font-size: 14px; }
    .tz-basket-list .item-name form { grid-area: 2 / 3; justify-self: end; }
    .tz-basket-list .remove { width: 29px; height: 29px; }
    .tz-basket-list .unit { display: none; }
    .tz-basket-list .quantity { grid-area: 2 / 2 / 4 / 3; width: min(98px, 100%); }
    .tz-basket-list .line-total { grid-area: 3 / 3; font-size: 15px; }
    .tz-basket-list .actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }
    .tz-basket-list .actions .outline { width: 100%; padding-inline: 4px; font-size: 11px; }
    .tz-basket-list .actions small { grid-column: 1 / -1; margin: 0; }
}
@media (max-width: 360px) {
    .tz-basket-list .line-item { grid-template-columns: 58px minmax(0, 1fr) max-content; }
    .tz-basket-list .item-name img { width: 58px; height: 75px; }
    .tz-basket-list .item-name a { font-size: 13px; }
    .tz-basket-list .line-total { font-size: 14px; }
}
@media (max-width: 950px) {
    .tz-checkout-shared .layout:has(> .tz-basket-list) {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }
}
