/* mini-cart-layout: shared structural rules for the current storefront. */




/* ===== Header mini-cart layout fix ===== */

.popup-holder-basket .popup-basket .forpopup {
    width: 100%;
    margin: 0;
    padding: 12px 26px 0;
    background: #fff;
    box-sizing: border-box;
}

.popup-holder-basket .popup-basket .inbasket {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    list-style: none;
}

.popup-holder-basket .popup-basket .inbasket > li {
    position: relative;
    display: grid;
    grid-template-columns: 95px minmax(0, 1fr) 34px;
    align-items: center;
    column-gap: 16px;

    width: 100%;
    height: auto;
    min-height: 105px;

    margin: 0;
    padding: 10px 0;

    border: 0;
    border-bottom: 1px solid #e5e5e5;
    box-sizing: border-box;
}

.popup-holder-basket .popup-basket .inbasket > li + li {
    border-top: 1px solid #e5e5e5;
}

.popup-holder-basket .popup-basket .inbasket > li > a.img {
    flex: 0 0 80px;
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;

    grid-column: 1;
    grid-row: 1;

    width: 95px;
    height: 85px;
    min-width: 95px;

    margin: 0;
    padding: 0;
    border: 0;
}

.popup-holder-basket .popup-basket .inbasket > li > a.img img {
    display: block;
    width: auto;
    height: auto;
    max-width: 95px;
    max-height: 85px;
    margin: auto;
}

.popup-holder-basket .popup-basket .inbasket > li > .text {
    flex: 1 1 auto;
    position: static;
    display: block;

    grid-column: 2;
    grid-row: 1;

    width: 100%;
    height: auto;
    min-width: 0;

    margin: 0;
    padding: 0;

    transform: none;
}

.popup-holder-basket .popup-basket .inbasket .caption {
    display: block;
    width: 100%;
    font-size: 17px;
    line-height: 1.25;
    font-weight: 600;
    margin: 0 0 10px;
    height: auto;
}

.popup-holder-basket .popup-basket .inbasket .minopis {
    display: none;
}

.popup-holder-basket .popup-basket .inbasket .summa-price {
    justify-content: space-between;
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 12px;

    width: 100%;
    height: auto;

    margin: 0;
    padding: 0;

    font-size: 14px;
    line-height: 1.3;

    transform: none;
}

.popup-holder-basket .popup-basket .inbasket .summa-price > span {
    position: static;
    display: block;

    width: auto;
    height: auto;

    margin: 0;
    padding: 0;

    font-size: 14px;
    line-height: 1.3;
    white-space: nowrap;

    transform: none;
}

.popup-holder-basket .popup-basket .inbasket > li > form.delete {
    top: 50%;
    right: 5px;
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;

    grid-column: 3;
    grid-row: 1;

    width: 34px;
    height: 34px;

    margin: 0;
    padding: 0;

    transform: none;
}

.popup-holder-basket .popup-basket .inbasket > li > form.delete button.delete {
    position: static;

    width: 34px;
    height: 34px;

    margin: 0;
    padding: 0;

    border: 0;
    background: transparent;
    box-shadow: none;
}

.popup-holder-basket .popup-basket .summa-order {
    position: static;
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    height: auto;

    margin: 0;
    padding: 18px 26px;

    box-sizing: border-box;
    transform: none;
}

@media (max-width: 560px) {
    .popup-holder-basket .popup-holder-basket-content {
        width: calc(100vw - 20px);
        right: 10px;
    }

    .popup-holder-basket .popup-holder-basket-content .popup-basket {
        width: 100%;
        padding: 0;
    }
}

/* ===== End header mini-cart layout fix ===== */

/* Mini-cart: compact product typography */

.popup-holder-basket .popup-basket .inbasket .summa-price .price,
.popup-holder-basket .popup-basket .inbasket .summa-price .nameral,
.popup-holder-basket .popup-basket .inbasket .summa-price .summa {
    font-size: 14px;
    line-height: 1.3;
}

.popup-holder-basket .popup-basket .inbasket .summa-price b {
    font-size: inherit;
    line-height: inherit;
}

/* =========================================================
   HEADER MINI CART — FINAL LAYOUT
   ========================================================= */

/* Products list */

/* One product */

.popup-holder-basket .popup-basket .inbasket > li:last-child {
    border-bottom: 0;
}

/* Product image */

/* Product content */

/* Product title */

.popup-holder-basket .popup-basket .inbasket > li > .text > a.caption {
    position: static;
    display: block;

    width: 100%;
    height: auto;
    min-height: 0;

    margin: 0 0 12px;
    padding: 0;

    font-size: 17px;
    line-height: 1.3;
    font-weight: 600;

    color: #0171bb;
    white-space: normal;
    overflow: visible;
    text-overflow: initial;

    transform: none;
}

/* Description isn't needed in compact mini-cart */

/* Price / quantity / total */

.popup-holder-basket .popup-basket .inbasket .summa-price .nameral {
    text-align: center;
}

.popup-holder-basket .popup-basket .inbasket .summa-price .summa {
    text-align: right;
}

/* Delete button */

.popup-holder-basket .popup-basket .inbasket > li > form.delete button.delete:not(:disabled):not([aria-disabled="true"]):is(:focus-visible){background-color:var(--action-hover-bg);color:var(--action-hover-text);border-color:var(--action-hover-bg);}

@media (hover: hover) {

.popup-holder-basket .popup-basket .inbasket > li > form.delete button.delete:not(:disabled):not([aria-disabled="true"]):is(:hover,:focus-visible){background-color:var(--action-hover-bg);color:var(--action-hover-text);border-color:var(--action-hover-bg);}
}

/* Total */

.popup-holder-basket .popup-basket .summa-order:not(.summa-delivery) {
    background: #f3f3f3;
}

.popup-holder-basket .popup-basket .summa-order .allprice {
    font-size: 26px;
    line-height: 1;
}

/* Go to cart */

/* Mobile */

@media (max-width: 600px) {
    .popup-holder-basket .popup-holder-basket-content {
        width: calc(100vw - 20px);
        right: 10px;
    }

    .popup-holder-basket .popup-basket .forpopup {
        padding: 10px 15px 0;
    }

    .popup-holder-basket .popup-basket .inbasket > li {
        grid-template-columns: 70px minmax(0, 1fr) 30px;
        column-gap: 10px;
    }

    .popup-holder-basket .popup-basket .inbasket > li > a.img {
        width: 70px;
        min-width: 70px;
        height: 70px;
    }

    .popup-holder-basket .popup-basket .inbasket > li > a.img img {
        max-width: 70px;
        max-height: 70px;
    }

    .popup-holder-basket .popup-basket .inbasket .summa-price {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .popup-holder-basket .popup-basket .inbasket .summa-price .nameral,
    .popup-holder-basket .popup-basket .inbasket .summa-price .summa {
        text-align: left;
    }
}

/* =========================================================
   END HEADER MINI CART
   ========================================================= */
