@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');
@import url(main.css);
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display&display=swap');


.cart-container {
    display: flex;
    position: fixed;
    background: linear-gradient(to left, rgb(241, 219, 191) 75%, rgb(218, 198, 171));
    right: 0;
    top: 0;
    height: 100%;
    width: 330px;
    overflow: hidden;
    flex-direction: column;
    transform: translateX(100%);
    z-index: 95;
    transition: 0.9s ease;
}

.cart-container.active {
    transform: translateX(0%);
}

.cart-header {
    display: flex;
    width: 100%;
    height: 45px;
    padding: 15px 15px 0 15px;
    box-sizing: border-box;
    white-space: nowrap;
    justify-content: space-between;
    margin-bottom: 15px;
}

.cart-close-btn {
    border: none;
    background: none;
    cursor: pointer;
    aspect-ratio: 1/1;
    padding: 6px 6px;
    overflow: hidden;
    opacity: 0.8;
}

.cart-close-btn i {
    font-size: 100%;
    box-sizing: border-box;
}

.cart-title-box {
    font-family: "Constantia W99 Italic";
    text-align: start;
    width: 100px;
    box-sizing: border-box;
    height: 100%;
    font-size: 21px;
}

.cart-container-products {               
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
    flex: 1;
}

.cart-product-list-container {
    overflow-y: scroll;
}

.cart-footer {
    position: relative;
    bottom: 0;
    padding: 15px;
    height: 110px;
    margin-top: auto;
    background: rgb(245, 224, 196);
    box-sizing: border-box;
    width: 100%;
    border-top: solid 1px #00000057;
}

.cart-total-box {
    display: inline-block;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    vertical-align: bottom;
}

.cart-total-box > span {
    display: inline-block;
    font-family: 'Ubuntu', sans-serif;
    font-size: 22px;
    height: 100%;
    vertical-align: middle;
    letter-spacing: -0.8px;
    opacity: 0.9;
}


.cart-footer .cart-arrange-order {
    width: 100%;
    height: 50%;
}

.cart-empty {
    font-size: 15px;
    width: 100%;
    height: 25px;
    font-family: sans-serif;
    font-family: 'Playfair Display', serif;
    padding-left: 20px;
}

.cart-arrange-order-box {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    background: var(--btn-color);
    text-decoration: none;
    text-transform: lowercase;
    color: #ffffff;
    font-family: "Constantia W99 Italic";
    font-weight: 600;
    line-height: 14px;
    font-size: 23px;
}

.cart-product-item {
    padding: 15px 15px;
    position: relative;
    display: flex;
    height: fit-content;
    box-sizing: border-box;
    flex-direction: row;
    border-bottom: #00000037 solid 0.8px;
}

.cart-container-set-title-box {
    width: 100%;
    font-family: 'Lora', sans-serif;
    opacity: 0.9;
    font-size: 14.5px;
}

.cart-product-content {
    display: flex;
    flex-grow: 1;
    flex-wrap: wrap;
    justify-content: end;
}


.cart-img-item > a {
    display: block;
    
}

.cart-img-item {
    height: 100%;
    text-align: left !important;
    width: 63px;
    margin-right: 12px;
}
.cart-product-img {
    aspect-ratio: 1/1;
    height: 55px;
}



.cart-container-title-box {
    width: 100%;
    height: fit-content;
    box-sizing: border-box;
}

.cart-title {
    text-decoration: none;
    color: #000;
    transition: color 0.6s ease;
    font-family: "Constantia W99 Italic";
    opacity: 0.9;
    font-size: 16.8px;
}

.cart-title::first-letter {
    text-transform: uppercase;
    
}

.cart-title:hover {
    color: var(--btn-color);
}


.cart-price-font  i {
    font-size: 10px;
    font-weight: 700;
} 

.cart-container-quentity-box {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    width: 45%;
    flex: 1;
    text-align: center;
}

.cart-input-quentity {
    outline: none;
    height: 100%;
    width: 100%;
    border: none;
    -webkit-appearance: textfield;
       -moz-appearance: textfield;
            appearance: textfield;
    padding: 0;
    text-align: center;
    background: none;
    font-family: 'Roboto Mono', monospace;
    font-weight: 600;
    font-size: 15px;
}

.cart-full-price {
    font-weight: 700;
    font-size: 1.15rem;
    font-family: 'Roboto Mono', monospace;
    line-height: 1.4;
    text-align: right;
    width: 100%;
}


.cart-delete-product {
    display: flex;
    flex: 1;
    justify-content: flex-end;
    align-items: flex-end;
    margin-top: 8px;
}

.cart-delete-product i {
    position: relative;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.5s;
}

.cart-delete-product i:hover {
    opacity: 0.9;
}

.cart-total-price-container {
    padding: 0 0 15px 0;
    display: flex;
    box-sizing: border-box;
    width: 100%;
    height: 50%;
}

.cart-points-fill {
    flex-grow: 1;
    overflow: hidden;
}

.cart-total-price {
    box-sizing: border-box;
    display: inline-block;
    font-family: 'Roboto Mono', monospace;
    font-weight: 700;
    font-size: 21px;
    letter-spacing: -1px;
    white-space: nowrap;
    height: 100%;
}


.cart-price-font {
    font-family: 'Roboto Mono', monospace;
    text-align: right;
    line-height: 1.3;
    font-weight: 700;
    opacity: 0.9;
}

.cart-container-cost-box {
    display: flex;
    flex-direction: column;
    width: 55%;
    flex: 1;
}

.cart-quentity-input {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 36px;
    background: rgb(245, 241, 237);
    border: solid #000000b7 0.8px;
}

.cart-quentity-input > * {
    flex: 1;
}

.cart-input-btn {
    display: flex;
    padding: 0;
    border: none;
    cursor: pointer;
    background: none;
    justify-content: center;
    align-items: center;
}

.cart-delete-btn {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
}
.cart-delete-btn > i {
    font-size: 15px;
    pointer-events: none;
}

.cart-input-btn.plus i {
    position: relative;
    pointer-events: none;
    top: 1px;
    opacity: 0.8;
}

.cart-input-btn.minus i {
    position: relative;
    font-size: 13px;
    top: 2px;
    opacity: 0.8;
    pointer-events: none;
}

