.elementor-8 .elementor-element.elementor-element-5c9942b{--display:flex;--justify-content:center;--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--padding-top:20px;--padding-bottom:20px;--padding-left:0px;--padding-right:0px;}.elementor-8 .elementor-element.elementor-element-e830b66{--display:flex;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );text-transform:var( --e-global-typography-primary-text-transform );letter-spacing:var( --e-global-typography-primary-letter-spacing );color:var( --e-global-color-primary );}.elementor-8 .elementor-element.elementor-element-6168e990{--display:flex;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}:root{--page-title-display:none;}@media(min-width:768px){.elementor-8 .elementor-element.elementor-element-5c9942b{--content-width:1200px;}}@media(min-width:2400px){.elementor-widget-heading .elementor-heading-title{letter-spacing:var( --e-global-typography-primary-letter-spacing );}}@media(max-width:1366px){.elementor-widget-heading .elementor-heading-title{letter-spacing:var( --e-global-typography-primary-letter-spacing );}}@media(max-width:1024px){.elementor-8 .elementor-element.elementor-element-5c9942b{--padding-top:20px;--padding-bottom:20px;--padding-left:20px;--padding-right:20px;}.elementor-widget-heading .elementor-heading-title{letter-spacing:var( --e-global-typography-primary-letter-spacing );}}@media(max-width:767px){.elementor-widget-heading .elementor-heading-title{letter-spacing:var( --e-global-typography-primary-letter-spacing );}}/* Start custom CSS *//* ==========================================================
   FREEDOM STORE — CART
   WooCommerce Blocks + JS rearrangement
   Replace the old cart CSS with this file.
========================================================== */

/* ---------- Main layout ---------- */

body.woocommerce-cart .wp-block-woocommerce-cart {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

body.woocommerce-cart .wc-block-components-sidebar-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 320px !important;
    gap: 48px !important;
    align-items: start !important;
}

body.woocommerce-cart .wc-block-components-main,
body.woocommerce-cart .wc-block-components-sidebar {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ---------- Cart table ---------- */

body.woocommerce-cart .wc-block-cart-items {
    width: 100% !important;
    table-layout: fixed !important;
    border: 0 !important;
    border-collapse: collapse !important;
}

body.woocommerce-cart .wc-block-cart-items thead {
    display: none !important;
}

body.woocommerce-cart .wc-block-cart-items tbody {
    border: 0 !important;
}

/* ---------- Product row ---------- */

body.woocommerce-cart .wc-block-cart-items__row {
    display: grid !important;
    grid-template-columns: 88px minmax(0, 1fr) 110px !important;
    column-gap: 20px !important;
    align-items: start !important;

    min-height: 118px !important;
    margin: 0 0 20px !important;
    padding: 0 0 20px !important;

    border: 0 !important;
    border-bottom: 1px solid #EBEBEB !important;
}

body.woocommerce-cart .wc-block-cart-items__row td {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

/* ---------- Image ---------- */

body.woocommerce-cart .wc-block-cart-item__image {
    grid-column: 1;
    grid-row: 1;
    width: 88px !important;
}

body.woocommerce-cart .wc-block-cart-item__image a {
    display: block !important;
}

body.woocommerce-cart .wc-block-cart-item__image img {
    display: block !important;
    width: 88px !important;
    height: 110px !important;
    max-width: none !important;
    object-fit: cover !important;
}

/* ---------- Product information ---------- */

body.woocommerce-cart .wc-block-cart-item__product {
    grid-column: 2;
    grid-row: 1;
    min-width: 0 !important;
    padding: 0 !important;
}

body.woocommerce-cart .wc-block-components-product-name {
    display: block !important;
    max-width: 320px !important;
    margin: 0 0 5px !important;

    color: #1c1c1c !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    text-transform: uppercase !important;

    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

body.woocommerce-cart .wc-block-components-product-details {
    margin: 0 !important;
    padding: 0 !important;
}

body.woocommerce-cart .wc-block-components-product-details li,
body.woocommerce-cart .wc-block-components-product-details__name,
body.woocommerce-cart .wc-block-components-product-details__value {
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
}

body.woocommerce-cart .wc-block-cart-item__prices {
    display: none !important;
}

/* ---------- Right product column ---------- */

body.woocommerce-cart .wc-block-cart-item__total {
    grid-column: 3;
    grid-row: 1;

    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;

    width: 110px !important;
    min-width: 110px !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: right !important;
}

body.woocommerce-cart .wc-block-cart-item__total .wc-block-components-product-price {
    display: block !important;
    margin: 0 0 12px !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    text-align: right !important;
}

/* ---------- Quantity ---------- */

body.woocommerce-cart .wc-block-cart-item__total .wc-block-cart-item__quantity {
    position: static !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;

    width: 76px !important;
    min-width: 76px !important;
    max-width: 76px !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.woocommerce-cart .wc-block-components-quantity-body.elementor-page-8 {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 23px 30px 23px !important;
    align-items: center !important;

    width: 76px !important;
    min-width: 76px !important;
    max-width: 76px !important;
    height: 28px !important;
    min-height: 28px !important;

    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;

    background: #fff !important;
    border: 1px solid #EBEBEB !important;
    border-radius: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

body.woocommerce-cart .wc-block-components-quantity-body.elementor-page-8 button,
body.woocommerce-cart .wc-block-components-quantity-body.elementor-page-8 input {
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    font-weight: 400 !important;
    -webkit-tap-highlight-color: transparent !important;
}

body.woocommerce-cart .wc-block-components-quantity-body.elementor-page-8 button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 23px !important;
    min-width: 23px !important;
    height: 26px !important;
    min-height: 26px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #fff !important;
    color: #1c1c1c !important;

    font-family: inherit !important;
    font-size: 12px !important;
    line-height: 1 !important;
    cursor: pointer !important;
}

body.woocommerce-cart .wc-block-components-quantity-body.elementor-page-8 input {
    width: 30px !important;
    min-width: 30px !important;
    height: 26px !important;
    min-height: 26px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #fff !important;
    color: #1c1c1c !important;

    font-family: inherit !important;
    font-size: 12px !important;
    line-height: 26px !important;
    text-align: center !important;

    -webkit-appearance: none !important;
    appearance: textfield !important;
}

body.woocommerce-cart .wc-block-components-quantity-body.elementor-page-8 button:focus,
body.woocommerce-cart .wc-block-components-quantity-body.elementor-page-8 button:focus-visible,
body.woocommerce-cart .wc-block-components-quantity-body.elementor-page-8 button:active,
body.woocommerce-cart .wc-block-components-quantity-body.elementor-page-8 input:focus,
body.woocommerce-cart .wc-block-components-quantity-body.elementor-page-8 input:focus-visible {
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    font-weight: 400 !important;
}

body.woocommerce-cart .wc-block-components-quantity-body.elementor-page-8:focus-within {
    border: 1px solid #EBEBEB !important;
    outline: 0 !important;
    box-shadow: none !important;
}

/* ---------- Remove link ---------- */

body.woocommerce-cart .wc-block-cart-item__total .wc-block-cart-item__remove-link {
    position: static !important;
    display: block !important;

    width: auto !important;
    margin: 12px 0 0 !important;
    padding: 0 !important;

    color: #a5a5a5 !important;
    font-size: 9px !important;
    line-height: 1 !important;
    text-decoration: none !important;

    opacity: 1 !important;
    visibility: visible !important;
}

body.woocommerce-cart .wc-block-cart-item__remove-link:hover {
    color: #1c1c1c !important;
}

body.woocommerce-cart .wc-block-cart-item__remove-link svg {
    display: none !important;
}

/* ---------- Sidebar ---------- */

body.woocommerce-cart .wc-block-cart__sidebar {
    position: sticky;
    top: 30px;
}

body.woocommerce-cart .wc-block-cart__totals-title {
    display: none !important;
}

body.woocommerce-cart .wc-block-components-totals-wrapper {
    padding: 12px 0 !important;
    border-top: 1px solid #EBEBEB !important;
    border-color: #EBEBEB !important;
}

body.woocommerce-cart
.wc-block-components-sidebar
.wc-block-components-totals-wrapper:first-child {
    padding-top: 0 !important;
    border-top: 0 !important;
}

body.woocommerce-cart .wc-block-components-totals-item__label,
body.woocommerce-cart .wc-block-components-totals-coupon__button {
    color: #1c1c1c !important;
    font-size: 10px !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
}

body.woocommerce-cart .wc-block-components-totals-item__value {
    font-size: 11px !important;
    font-weight: 500 !important;
}

body.woocommerce-cart .wc-block-components-totals-footer-item {
    padding: 18px 0 !important;
    border-color: #EBEBEB !important;
}

body.woocommerce-cart
.wc-block-components-totals-footer-item
.wc-block-components-totals-item__label,
body.woocommerce-cart
.wc-block-components-totals-footer-item
.wc-block-components-totals-item__value {
    font-size: 14px !important;
    font-weight: 500 !important;
}

/* ---------- Coupon and gift card ---------- */

body.woocommerce-cart .wc-block-components-panel {
    border-color: #EBEBEB !important;
}

body.woocommerce-cart .wc-block-components-sidebar input[type="text"] {
    height: 34px !important;
    padding: 7px 10px !important;

    border: 1px solid #EBEBEB !important;
    border-radius: 0 !important;

    font-size: 11px !important;
}

body.woocommerce-cart
.wc-block-components-sidebar
button:not(.wc-block-components-quantity-body.elementor-page-8__button) {
    min-height: 34px;
    border-radius: 0 !important;
    font-size: 10px !important;
}

/* ---------- Checkout button ---------- */

body.woocommerce-cart .wc-block-cart__submit-container {
    position: static !important;
    width: 100% !important;

    margin: 16px 0 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border-color: #EBEBEB !important;
}

body.woocommerce-cart .wc-block-cart__submit-button {
    width: 100% !important;
    min-height: 38px !important;
    padding: 12px 20px !important;

    background: #1c1c1c !important;
    color: #fff !important;

    border: 0 !important;
    border-radius: 0 !important;

    font-size: 10px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
}

body.woocommerce-cart .wc-block-cart__submit-button:hover {
    background: #333 !important;
    color: #fff !important;
}

/* ---------- Mobile ---------- */

@media (max-width: 767px) {
    body.woocommerce-cart .wp-block-woocommerce-cart {
        max-width: none !important;
    }

    body.woocommerce-cart .wc-block-components-sidebar-layout {
        display: block !important;
    }

    body.woocommerce-cart .wc-block-cart-items__row {
        grid-template-columns: 72px minmax(0, 1fr) 82px !important;
        column-gap: 12px !important;
        min-height: 96px !important;
        margin-bottom: 18px !important;
        padding-bottom: 18px !important;
    }

    body.woocommerce-cart .wc-block-cart-item__image {
        width: 72px !important;
    }

    body.woocommerce-cart .wc-block-cart-item__image img {
        width: 72px !important;
        height: 90px !important;
    }

    body.woocommerce-cart .wc-block-components-product-name {
        max-width: none !important;
        font-size: 11px !important;
    }

    body.woocommerce-cart .wc-block-components-product-details li,
    body.woocommerce-cart .wc-block-components-product-details__name,
    body.woocommerce-cart .wc-block-components-product-details__value {
        font-size: 11px !important;
    }

    body.woocommerce-cart .wc-block-cart-item__total {
        width: 82px !important;
        min-width: 82px !important;
    }

    body.woocommerce-cart .wc-block-cart-item__total .wc-block-cart-item__quantity {
        width: 76px !important;
    }

    body.woocommerce-cart .wc-block-components-sidebar {
        margin-top: 30px !important;
    }

    body.woocommerce-cart .wc-block-cart__sidebar {
        position: static !important;
    }
}

/* Количество прижимаем к правому краю */
body.woocommerce-cart
.wc-block-cart-item__total
.wc-block-cart-item__quantity{
    align-self:flex-end !important;
    margin:0 0 0 auto !important;
}

body.woocommerce-cart
.wc-block-cart-item__total
.wc-block-components-quantity-body.elementor-page-8{
    margin:0 0 0 auto !important;
}/* End custom CSS */