/* stylelint-disable scss/dollar-variable-pattern */
/* stylelint-enable scss/dollar-variable-pattern */
/* correction for product tile hover border*/
#exp-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1019;
    display: none;
    background: rgba(0, 0, 0, 0.5);
    /* stylelint-disable-line scale-unlimited/declaration-strict-value */
    pointer-events: none;
}

#exp-overlay.active {
    display: block;
    pointer-events: auto;
}

.exp-summary {
    position: fixed;
    right: 0;
    bottom: 103px;
    left: 0;
    z-index: 1020;
    max-height: 70vh;
    border-radius: 12px 12px 0 0;
    overflow-x: hidden;
    overflow-y: auto;
    background: #f0f0f0;
    animation: slideUp 0.3s ease-out forwards;
    pointer-events: auto;
}

/* Slide up animation */
@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
.exp-summary-inner {
    position: relative;
    max-height: calc(70vh - 32px);
    padding: 20px 20px 0;
    overflow-y: auto;
}

.exp-summary .cart_pm_wrap {
    display: none !important;
    margin: 0;
    padding: 0;
    border-top: unset;
}

.exp-summary .js-progress-bar-cart {
    display: none;
}

.exp-summary .cart_shipping_method {
    margin-bottom: 0;
}

.exp-summary .order_summary-title {
    padding-top: 0;
}

.exp-arrow-button {
    position: absolute;
    top: -1px;
    right: -6px;
    display: block;
    justify-content: center;
    align-items: center;
    width: auto;
    padding: 4px;
    border: none;
    background: transparent;
    color: #000;
}

.is-sticky-active .summary_subtotal {
    position: relative;
}

.is-sticky-active .summary_subtotal--value {
    margin-right: 22px;
}

.exp-close {
    position: absolute;
    top: 7px;
    right: 12px;
    padding: 4px;
    border: none;
    background: none;
    cursor: pointer;
    transition: color 0.2s;
    font-size: 20px;
    font-weight: bold;
    color: #ccc;
    line-height: 1;
}

.exp-close:hover {
    color: #000;
}

.exp-close:active {
    transform: scale(0.9);
}

.exp-close:focus {
    outline: unset;
}

.exp-close svg:focus {
    outline: unset;
}

.is-sticky-active .exp-arrow-button {
    display: flex !important;
}

.exp-arrow-button .arrow-svg {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.exp-arrow-button[aria-expanded=true] .arrow-svg {
    transform: rotate(180deg);
}

button.exp-arrow-button:focus {
    outline: unset;
}

.exp-summary .cart_summary-body {
    padding: 8px 0;
}

.exp-summary .cart_summary-body dt {
    font-weight: 500;
    color: #666;
    margin-bottom: 8px;
}

.exp-summary .cart_summary-body dd {
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    text-align: right;
}

.exp-summary .cart_summary-body .total {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e0e0e0;
    /* stylelint-disable-line scale-unlimited/declaration-strict-value */
    font-size: 18px;
}

.checkout_btn-container .btn-success,
.checkout_btn-container .btn-success:hover,
.checkout_btn-container .btn-success:focus,
.checkout_btn-container .btn-success:active,
.checkout_btn-container .btn-success:not(:disabled):not(.disabled):active,
.checkout_btn-container .btn-success:not(:disabled):not(.disabled).active,
.checkout_btn-container .show > .btn-success.dropdown-toggle,
.js-checkout_btn-container .btn-success,
.js-checkout_btn-container .btn-success:hover,
.js-checkout_btn-container .btn-success:focus,
.js-checkout_btn-container .btn-success:active,
.js-checkout_btn-container .btn-success:not(:disabled):not(.disabled):active,
.js-checkout_btn-container .btn-success:not(:disabled):not(.disabled).active,
.js-checkout_btn-container .show > .btn-success.dropdown-toggle {
    border-color: #018447;
    background-color: #018447;
    box-shadow: none;
}

.shipping-method-disabled {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-2 -4 10 10'%3E%3Cpath fill='%23999' d='M8.833.188A.918.918,0,0,1,9.333,0,.624.624,0,0,1,9.8.226a.994.994,0,0,1,.2.6.8.8,0,0,1-.3.6L6.067,4.436A1.882,1.882,0,0,1,5,5a1.858,1.858,0,0,1-1.1-.564L.267,1.429A.891.891,0,0,1,0,.827.819.819,0,0,1,.2.263.561.561,0,0,1,.667,0a.761.761,0,0,1,.5.188L4.833,3.233c.067.038.1.075.133.075A.243.243,0,0,0,5.1,3.233Z'/%3E%3C/svg%3E");
    opacity: 0.7;
    pointer-events: none;
}

@media (max-width: 1023.98px) {
    .country-jp .livechat-position-cart .embedded-messaging .embeddedMessagingConversationButtonWrapper .embeddedMessagingConversationButton {
        bottom: 190px !important;
    }

    .country-jp .livechat-position-cart .back_to_top {
        bottom: 255px;
    }

    .cart_fixed_part {
        padding: 15px 20px;
    }

    .cart_fixed_part.exp-summary-open {
        bottom: 0;
        z-index: 1020;
    }

    .grand_total {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .shopping_cart-title--no_breadcrumbs {
        margin-block: 10px;
    }

    .shopping_cart-title {
        margin-bottom: 10px;
    }

    .table_product_label {
        margin-bottom: 0;
    }

    .amazon-pay-one-time-button-container .mb-sm-3 {
        margin-bottom: 0 !important;
    }

    .progress-bar_revamped.hide-mb {
        margin-bottom: 0;
    }

    .exp-summary .summary_subtotal.grand_total.sticky-text {
        display: none;
    }
}
@media (max-width: 767.98px) {
    .summary_subtotal-label {
        max-width: -webkit-fit-content;
        max-width: -moz-fit-content;
        max-width: fit-content;
    }

    .summary_subtotal--value {
        width: -webkit-fit-content;
        width: -moz-fit-content;
        width: fit-content;
        min-width: 90px;
        text-align: right;
    }

    .exp-arrow-button {
        top: 43%;
        transform: translateY(-55%);
    }
}
@media (min-width: 768px) {
    .exp-arrow,
#exp-overlay,
.exp-summary {
        display: none !important;
    }
}
@media (prefers-contrast: more) {
    #exp-overlay {
        background: rgba(0, 0, 0, 0.8);
        /* stylelint-disable-line scale-unlimited/declaration-strict-value */
    }

    .exp-summary {
        border: 2px solid #000;
    }
}
/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .exp-summary {
        animation: none;
    }

    .exp-arrow,
.exp-close {
        transition: none;
    }
}
@media print {
    #exp-overlay,
.exp-summary,
.exp-arrow {
        display: none !important;
    }
}
