/* Tilda keeps the basket, its totals and inventory. The modal lays out the same live nodes. */
#allrecords #sal-basket-window {
    --basket-pad: clamp(20px, 2vw, 32px);
    --basket-ink: #fcf7fb;
    --basket-muted: #c6b9ca;
    box-sizing: border-box;
    background: rgb(6 5 11 / .74) !important;
    backdrop-filter: blur(7px);
}
#allrecords #sal-basket-window.t706__cartwin_showed {
    position: fixed;
    inset: 0;
    display: grid !important;
    place-items: center;
    width: 100%;
    height: 100%;
    height: 100dvh;
    padding: 18px;
    overflow: hidden;
}
#allrecords #sal-basket-window .t706__cartwin-content {
    position: relative;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: min(100%, clamp(880px, 74vw, 1480px));
    min-width: 0;
    max-width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: calc(100dvh - 36px);
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border: 0 !important;
    border-radius: 24px !important;
    background: #19151e !important;
    color: var(--basket-ink);
    box-shadow: 0 28px 90px #030205a1;
    font-family: var(--body,Onest,Arial,sans-serif);
}
#allrecords #sal-basket-window .t706__cartwin-top {
    position: relative;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    flex: none;
    gap: 8px 14px;
    min-height: 78px;
    box-sizing: border-box;
    margin: 0;
    padding: 24px calc(var(--dialog-inset) + var(--dialog-close-size) + 12px) 18px var(--basket-pad);
    border: 0 !important;
}
#allrecords #sal-basket-window .t706__cartwin-heading {
    margin: 0;
    color: var(--basket-ink);
    font: 710 clamp(26px, 2.15vw, 38px)/1.16 var(--body) !important;
    letter-spacing: -.045em;
}
.basket-count { color: var(--basket-muted); font: 540 15px/1.3 var(--body); }
#allrecords #sal-basket-window .t706__cartwin-close {
    display: block;
    position: absolute !important;
    inset: var(--dialog-inset) var(--dialog-inset) auto auto !important;
    width: var(--dialog-close-size) !important;
    height: var(--dialog-close-size) !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
}
#allrecords #sal-basket-window .t706__cartwin-close-wrapper {
    position: static !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
#allrecords #sal-basket-window .basket-scroller {
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr);
    align-items: start;
    flex: 1 1 auto;
    gap: clamp(18px, 2vw, 32px);
    min-height: 0;
    min-width: 0;
    box-sizing: border-box;
    padding: 2px var(--basket-pad) var(--basket-pad);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    scrollbar-color: #6b576d transparent;
    scrollbar-width: thin;
}
#sal-basket-window .basket-items { min-width: 0; }
#allrecords #sal-basket-window .t706__cartwin-products {
    display: grid;
    width: 100%;
    gap: 10px;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 !important;
    background: none;
}
#allrecords #sal-basket-window .t706__product {
    --thumb: 75px;
    display: grid;
    grid-template-columns: var(--thumb) minmax(0, 1fr) auto 38px;
    grid-template-areas: "photo title title remove" "photo quantity amount amount";
    gap: 8px 12px;
    align-items: center;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: auto;
    margin: 0;
    padding: 14px;
    border: 0;
    border-radius: 16px;
    background: #24202a;
}
#allrecords #sal-basket-window .t706__product:not(:has(.t706__product-thumb)) {
    grid-template-columns: minmax(0, 1fr) auto 38px;
    grid-template-areas: "title title remove" "quantity amount amount";
}
#allrecords #sal-basket-window .t706__product-thumb {
    grid-area: photo;
    display: block;
    box-sizing: border-box;
    width: var(--thumb);
    height: var(--thumb);
    padding: 0;
}
#allrecords #sal-basket-window .t706__product-imgdiv {
    width: 100%;
    height: 100%;
    border-radius: 11px;
    background-color: #302934;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
#allrecords #sal-basket-window .t706__product-title {
    grid-area: title;
    display: block;
    align-self: center;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    color: var(--basket-ink);
    font: 650 clamp(16px,1.1vw,21px)/1.25 var(--body);
    overflow-wrap: anywhere;
}
#allrecords #sal-basket-window .t706__product-title a { color: inherit; text-decoration: none; }
#allrecords #sal-basket-window .t706__product-title__option,
#allrecords #sal-basket-window .t706__product-title__portion {
    margin-top: 4px;
    color: var(--basket-muted);
    opacity: 1;
    font: 480 13px/1.32 var(--body);
}
#allrecords #sal-basket-window .t706__product-plusminus {
    grid-area: quantity;
    display: inline-flex;
    justify-self: start;
    align-items: center;
    box-sizing: border-box;
    width: auto;
    max-width: 100%;
    height: 38px;
    border-radius: 999px;
    padding: 2px;
    background: #37303c;
    color: var(--basket-ink);
    font: 650 16px/1 var(--body);
    white-space: nowrap;
}
#allrecords #sal-basket-window :is(.t706__product-minus,.t706__product-plus,.t706__product-del) {
    position: relative;
    inset: auto;
    display: inline-grid;
    place-items: center;
    box-sizing: border-box;
    flex: none;
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    opacity: 1 !important;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff7fc;
    cursor: pointer;
    transition: background-color .17s, color .17s;
}
#allrecords #sal-basket-window :is(.t706__product-minus,.t706__product-plus,.t706__product-del) img { display: none; }
#sal-basket-window :is(.t706__product-minus,.t706__product-plus)::before,
#sal-basket-window .t706__product-plus::after {
    content: "";
    position: absolute;
    width: 13px;
    height: 2px;
    border-radius: 3px;
    background: currentColor;
}
#sal-basket-window .t706__product-plus::after { rotate: 90deg; }
#allrecords #sal-basket-window .t706__product-quantity {
    display: grid;
    place-items: center;
    box-sizing: border-box;
    min-width: 26px;
    max-width: 7ch;
    padding: 1px 3px;
    margin: 0;
    border: 0;
    color: var(--basket-ink);
    font: 650 16px/1.1 var(--body);
    font-variant-numeric: tabular-nums;
    cursor: text;
}
#allrecords #sal-basket-window .t706__product-quantity-inp { box-sizing: border-box; width: 4ch !important; padding: 2px 0; border: 0; border-radius: 4px; color: #141218; background: #fff9fc; font: inherit; text-align: center; }
#allrecords #sal-basket-window .t706__product > :is(.t706__product-amount,.t706__product-amount--portion) {
    grid-area: amount;
    display: block;
    justify-self: end;
    width: auto;
    min-width: 0;
    padding: 0;
    margin: 0;
    color: #fff4f9;
    text-align: right;
    font: 720 clamp(16px,1.12vw,21px)/1.25 var(--body);
    font-variant-numeric: tabular-nums;
}
#allrecords #sal-basket-window .t706__product-del-wrapper {
    grid-area: remove;
    justify-self: end;
    align-self: start;
    display: block !important;
    box-sizing: border-box;
    width: 36px !important;
    height: 36px;
    padding: 0 !important;
}
#allrecords #sal-basket-window .t706__product-del { width: 36px; height: 36px; color: #e2c9d8; background: #302932; }
#sal-basket-window .t706__product-del::before {
    content: ""; width: 18px; height: 18px; background: currentColor;
    mask: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 6.5h17M9 6V4.5h6V6m-9 1 1 13.5h10L18 7M10 10.3v6.5m4-6.5v6.5'/%3E%3C/svg%3E");
}
#allrecords #sal-basket-window .t706__product-deleted,
#allrecords #sal-basket-window .t706__product-deleted-wrapper {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border-radius: 14px;
    color: var(--basket-ink);
    background: #29222c;
}
#sal-basket-window .t706__product-deleted__timer__return { color: #ffae25; }
#allrecords #sal-basket-window .t706__orderform {
    position: sticky;
    top: 0;
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding: clamp(18px,1.7vw,28px);
    border-radius: 17px;
    background: #24202a;
}
.basket-form-title { margin: 0 0 16px; color: #fff4fb; font: 675 clamp(20px,1.55vw,27px)/1.18 var(--body); letter-spacing: -.035em; }
#sal-basket-window .lead-form { --ui-surface: #34303a; }
#allrecords #sal-basket-window .lead-fields { grid-template-columns: minmax(0, 1fr); }
#sal-basket-window .ui-consent__clause { display: block; }
#sal-basket-window .lead-form .lead-consent { margin: 15px 0; }
#allrecords #sal-basket-window .t706__cartwin-totalamount-wrap,
#allrecords #sal-basket-window .t706__cartwin-totalamount-info,
#allrecords #sal-basket-window .t706__cartwin-totalamount-list {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    float: none;
    border: 0;
    color: var(--basket-ink);
}
#allrecords #sal-basket-window .t706__cartwin-totalamount-wrap { margin: 16px 0 12px; }
#allrecords #sal-basket-window .t706__cartwin-totalamount-row { width: 100%; margin: 0; padding: 3px 0; border: 0; font: 500 14px/1.35 var(--body); }
#allrecords #sal-basket-window .t706__cartwin-totalamount-row_total { font-size: 20px; font-weight: 680; align-items: baseline; }
#sal-basket-window .t706__cartwin-totalamount-info_value { font-variant-numeric: tabular-nums; }
#sal-basket-window :is(.t706__cartwin-totalamount,.t706__product-amount) :is(.t706__cartwin-prodamount-price,.t706__cartwin-prodamount-currency) { display: inline; white-space: nowrap; }
#sal-basket-window .basket-count[hidden],
#allrecords #sal-basket-window :is(.t706__orderform,.empty-cart-actions,.t706__cartwin-bottom)[hidden] { display: none !important; }
#allrecords #sal-basket-window.basket-empty .t706__cartwin-content { width: min(100%, clamp(510px, 35vw, 640px)); }
#allrecords #sal-basket-window.basket-empty .basket-scroller { grid-template-columns: minmax(0,1fr); }
#allrecords #sal-basket-window .t706__cartpage-products_empty { margin: 0; padding: 4px 0; color: #d7cbd8; font: 500 16px/1.5 var(--body); }
#sal-basket-window .empty-cart-actions .catalog-action { margin-top: 17px; }
@media(hover:hover) and (pointer:fine) {
    #allrecords #sal-basket-window :is(.t706__product-minus,.t706__product-plus):hover { background: #ffaf25; color: #231523; }
    #allrecords #sal-basket-window .t706__product-del:hover { background: #643346; color: #ffd5e5; }
    #sal-basket-window .t706__product-title a:hover { text-decoration: underline; }
}
@media(min-width: 881px) and (min-height: 700px) {
    #allrecords #sal-basket-window:not(.basket-empty) .t706__cartwin-content {
        --basket-height: min(74dvh, 800px);
        --basket-head: clamp(80px, 5.25vw, 101px);
        min-height: var(--basket-height) !important;
    }
    #allrecords #sal-basket-window:not(.basket-empty) .t706__cartwin-top { min-height:var(--basket-head); }
    #allrecords #sal-basket-window .t706__orderform:not([hidden]) {
        display:flex;
        flex-direction:column;
        min-height:calc(var(--basket-height,0px) - var(--basket-head,0px) - var(--basket-pad) - 2px);
    }
    #sal-basket-window .t706__orderform > .lead-form, #sal-basket-window .lead-form-body {
        display:flex; flex:1; flex-direction:column;
    }
    #allrecords #sal-basket-window .t706__cartwin-totalamount-wrap { margin-top:auto; padding-top:16px; }
    #allrecords #sal-basket-window .t706__product { --thumb:clamp(80px,5.7vw,116px); }

}
@media(max-width: 880px) {
    #allrecords #sal-basket-window .t706__cartwin-content { width: min(600px,100%); }
    #allrecords #sal-basket-window .basket-scroller { grid-template-columns: minmax(0,1fr); gap: 18px; }
    #allrecords #sal-basket-window .t706__orderform { position: static; }
}
@media(max-height: 630px) { #allrecords #sal-basket-window .t706__orderform { position: static; } }
@media(max-width: 560px) {
    #allrecords #sal-basket-window { --basket-pad: 15px; }
    #allrecords #sal-basket-window.t706__cartwin_showed { align-items: end; padding: env(safe-area-inset-top) 0 0; }
    #allrecords #sal-basket-window .t706__cartwin-content { width: 100%; max-height: calc(100dvh - max(12px,env(safe-area-inset-top))); border-radius: 23px 23px 0 0 !important; }
    #allrecords #sal-basket-window .t706__cartwin-top { min-height: 72px; padding-block: 21px 15px; }
    #allrecords #sal-basket-window .basket-scroller { padding-bottom: max(20px, env(safe-area-inset-bottom)); }
    #allrecords #sal-basket-window .t706__product {
        --thumb: 57px;
        grid-template-columns: var(--thumb) minmax(46px,1fr) auto 36px;
        grid-template-areas: "photo title title remove" "quantity quantity amount amount";
        gap: 9px;
        padding: 12px;
    }
    #allrecords #sal-basket-window .t706__product:not(:has(.t706__product-thumb)) { grid-template-columns: minmax(0,1fr) auto 36px; grid-template-areas: "title title remove" "quantity amount amount"; }
    #allrecords #sal-basket-window .t706__orderform { padding: 16px 13px; }
    #allrecords #sal-basket-window .t706__product-plusminus { height: 42px; }
    #allrecords #sal-basket-window :is(.t706__product-minus,.t706__product-plus) { width: 38px; height: 38px; }
    #allrecords #sal-basket-window .t706__product-del-wrapper, #allrecords #sal-basket-window .t706__product-del { width: 38px !important; height: 38px; }
}

@media(pointer:coarse){
 #allrecords #sal-basket-window .t706__product-plusminus {height:46px}
 #allrecords #sal-basket-window :is(.t706__product-minus,.t706__product-plus,.t706__product-del) {width:44px;height:44px}
 #allrecords #sal-basket-window .t706__product-del-wrapper {width:44px!important;height:44px}
}
