@import './babyfox__default.css';
@import './css/v5-font-face.css';

.cart-slide-modal {
    position: relative;
    z-index: 14;
    display: none;
}

.sticky-footer {
    padding: 0 0 var(--s2);
    z-index: 10;
    background: white;
    background-color: white;
}

.cart-slide-overlay,
.cart-slide-box,
#page-overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    background-color: var(--secondryBg);
    opacity: 0.7;
    z-index: 12;
    transition: width 0.35s ease-in-out;
    overflow: hidden;
}

#page-overlay {
    display: none;
    opacity: 0.3;
    margin: auto;
    background: url('../images/xloading.gif') no-repeat center center rgba(0, 0, 0, 0.3);
}

.cart-slide-box {
    box-shadow: 0 0 150px #0000001a;
    right: -640px;
    max-width: 640px;
    background-color: white;
    opacity: 1;
    z-index: 13;
    transition: transform 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cart-is--open {
    transform: translate(-640px);
}

.show-animation {
    opacity: 0;
    transform: translateY(60px);
}

.cart-is--open .show-animation {
    opacity: 1;
    transform: translateY(0);
}

.animation-delay-2 {
    transition: transform 1s cubic-bezier(0.165, 0.84, 0.44, 1) 0.22s,
        opacity 1s cubic-bezier(0.165, 0.84, 0.44, 1) 0.32s;
}

.cart_contents {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.box-gutter {
    padding: var(--s2) var(--s4) var(--s4);
}

.box-gutter:last-child {
    padding-top: 0;
}

.cart-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    padding-top: var(--s2);
}

.cart__title {
    font-family: 'SegoeUI Semilight';
    font-size: 1.75rem;
    text-align: left;
    font-weight: 400;
    font-style: normal;
    color: #212620;
}

.pos-right {
    position: absolute;
    top: 35px;
    right: 40px;
}

.cart-table {
    border: 0;
    padding-top: 0;
    padding-bottom: var(--s);
}

.cart-table > li:first-child {
    padding-top: 0;
}

.cart-table > li:last-child {
    padding-bottom: 0;
}

.cart-table > li {
    border-bottom: 1px #bcbdbc solid;
    padding: var(--s3) 0;
    transition: transform 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cart-table > li:last-child {
    border: 0;
}

.sub-total {
    border-bottom: 1px #bcbdbc solid;
    padding-bottom: var(--s1);
    padding-top: var(--s48);
}

.cart-table > li h3 {
    font-family: 'Segoe UI Semibold';
    line-height: 1;
    font-size: var(--s16);
    padding-bottom: var(--s);
    color: #212620;
}

.cart-table > li figure {
    margin-right: var(--s2);
    max-width: 100px;
    max-height: 120px;
}

.cart-table > li figure img {
    max-width: 100%;
    max-height: 100%;
}

.cart-table > li label {
    font-family: 'Segoe UI';
    font-size: var(--s14);
}
.cart-table > li ul li {
    padding: 0 var(--s14);
}

.cart-table > li ul li:first-child {
    padding-left: 0;
}

.cart-table > li ul li a {
    color: var(--baseFontColor);
    text-decoration: underline !important;
    display: block;
    position: relative;
    font-size: var(--s14);
}

.cart-table > li ul li a:hover {
    text-decoration: none !important;
}

.cart-table > li .input {
    border-radius: 0;
    margin-right: var(--s1);
    padding: var(--s1);
    width: 150px;
    font-size: var(--s14);
}

.cart-table > li .close-xs {
    border-radius: 50%;
    display: flex;
    position: absolute;
    background-color: #d7d7d7;
    padding: var(--s);
    top: -5px;
    right: 5px;
}

.cart-table > li .toggle-mono {
    position: relative;
    display: none;
    transition: display all 0.2s ease-in;
}

.definitation_grid {
    display: grid;
    grid-template-columns: auto auto;
    text-align: left;
    line-height: normal;
    gap: var(--s1);
}

.align-left {
    text-align: left;
}

/* media queries*/
@media (max-width: 767.99px) {
    .cart-options li,
    .cart-table > li ul li {
        margin-right: 10px;
        padding: 0;
    }

    .cart-table > li figure {
        margin-right: var(--s1);
    }

    .cart-table > li h3 {
        line-height: normal;
    }

    .box-gutter {
        padding: var(--s2);
    }
}

/**RTL**/
[dir='rtl'] .cart-slide-box {
    direction: rtl;
}

[dir='rtl'] .cart-table > li figure {
    margin-right: 0;
    margin-left: var(--s2);
}

[dir='rtl'] .cart-slide-box {
    box-shadow: 0 150px 0 #0000001a;
    left: -640px;
    right: inherit;
}

[dir='rtl'] .cart-is--open {
    transform: translate(640px);
}

[dir='rtl'] .align-left {
    text-align: right;
}

[dir='rtl'] .align-right {
    text-align: left;
}

[dir='rtl'] .definitation_grid dt {
    text-align: right;
}

[dir='rtl'] .pos-right {
    right: inherit;
    left: 40px;
}
