/*** ========== Cart css ========== ***/
.title-wrapper-with-link {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.title-wrapper-with-link h1 {
    margin-top: 0;
    font-family: "Rajdhani", sans-serif;
    font-weight: 600;
}

.cart-items td,
.cart-items th {
    padding: 0;
    border: none;
}

.cart-items th {
    text-align: left;
    padding-bottom: 18px;
    opacity: 0.85;
    font-weight: normal;
}

.cart-item__quantity-wrapper {
    display: flex;
}

.cart-item__totals {
    position: relative;
}

.cart-items *.right {
    text-align: right;
}

.cart-item__image-container {
    display: inline-flex;
    align-items: flex-start;
}

.cart-item__image-container:after {
    content: none;
}

.cart-item__image {
    height: auto;
    max-width: 100px;
}

@media screen and (min-width: 750px) {
    .cart-item__image {
        max-width: 100%;
    }
}

.cart-item__details {
    font-size: 16px;
    line-height: calc(1 + 0.4 / 1);
}

.cart-item__details>* {
    margin: 0;
    max-width: 300px;
}

.cart-item__details>*+* {
    margin-top: 6px;
}

.cart-item__media {
    position: relative;
}

.cart-item__link {
    display: block;
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.cart-item__name {
    text-decoration: none;
    display: block;
}

.cart-item__name:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
}

.cart-item__price-wrapper>* {
    display: block;
    margin: 0;
    padding: 0;
}

.cart-item__discounted-prices dd {
    margin: 0;
}

.cart-item__discounted-prices .cart-item__old-price {
    font-size: 14px;
}

.cart-item__old-price {
    opacity: 0.7;
}

.cart-item__final-price {
    font-weight: 400;
}

.product-option {
    font-size: 14px;
    word-break: break-word;
    line-height: calc(1 + 0.5 / 1);
}

.cart-item .cart-remove-button {
    display: flex;
    margin-left: 10px;
}

@media screen and (min-width: 750px) and (max-width: 989px) {
    .cart-item .cart-remove-button {
        width: 45px;
        height: 45px;
    }
}

.cart-remove-button .button {
    min-width: calc(45px / 1);
    min-height: 45px;
    padding: 0;
    margin: 0 1px 1px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-remove-button .button:before,
.cart-remove-button .button:after {
    content: none;
}

.cart-remove-button .button:not([disabled]):hover {
    color: var(--bs-danger);
}

@media screen and (min-width: 750px) {
    .cart-remove-button .button {
        min-width: 35px;
        min-height: 35px;
    }
}

.cart-remove-button .icon-remove {
    height: 15px;
    width: 15px;
}

.cart-item .loading__spinner {
    top: 0;
    left: auto;
    right: auto;
    bottom: 0;
    padding: 0;
}

@media screen and (min-width: 750px) {
    .cart-item .loading__spinner {
        right: 0;
        padding-top: 45px;
        bottom: auto;
    }
}

.cart-item .loading__spinner:not(.hidden)~* {
    visibility: hidden;
}

.cart-item__error {
    display: flex;
    align-items: flex-start;
    margin-top: 2px;
    width: min-content;
    min-width: 100%;
}

.cart-item__error-text {
    font-size: 13px;
    order: 1;
}

.cart-item__error-text+svg {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    margin-right: 7px;
    margin-top: 3px;
}

.cart-item__error-text:empty+svg {
    display: none;
}

.product-option+.product-option {
    margin-top: 4px;
}

.product-option * {
    display: inline;
    margin: 0;
}

.product-option dd:not(:last-child)::after {
    content: '|';
    margin-left: 5px;
    color: var(--bs-gray-500);
}

.cart-items thead th {
    text-transform: uppercase;
}

.cart__wrapper {
    position: relative;
    padding-bottom: 20px;
    border-bottom: 1px solid rgb(0 0 0 / 8%);
}

.cart__footer>* {
    max-width: 300px;
    margin-left: auto;
    text-align: right;
}

.cart__footer {
    display: flex;
    justify-content: space-between;
    border: 0;
    padding: 30px 0;
}

.tax-note {
    margin: 2px 0 16px auto;
    text-align: right;
    display: block;
}

.totals {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.totals>* {
    font-size: 16px;
    margin: 0;
}

.totals>h2 {
    font-size: 16px;
    font-weight: 400;
}

.totals * {
    line-height: 1;
}

.totals>*+* {
    margin-left: 20px;
}

.totals__total {
    margin-top: 5px;
}

.totals__total-value {
    font-size: 18px;
}

.cart__ctas+.totals {
    margin-top: 20px;
}

.cart__empty-text,
.is-empty .cart__contents,
.is-empty .title-wrapper-with-link,
.is-empty .cart__footer {
    display: none;
}

@media all and (min-width: 750px) {
    .totals {
        justify-content: flex-end;
    }
}


@media screen and (max-width: 749px) {

    .cart-items,
    .cart-items thead,
    .cart-items tbody {
        display: block;
        width: 100%;
    }

    .cart-items thead tr {
        display: flex;
        justify-content: space-between;
        border-bottom: 1px solid rgba(var(--color-foreground), 0.2);
        margin-bottom: 40px;
    }

    .cart-item {
        display: grid;
        grid-template: repeat(2, auto) / repeat(4, 1fr);
        gap: 15px;
        margin-bottom: 35px;
    }

    .cart-item:last-child {
        margin-bottom: 0;
    }

    .cart-item__media {
        grid-row: 1 / 3;
    }

    .cart-item__details {
        grid-column: 2 / 4;
    }

    .cart-item__quantity {
        grid-column: 2 / 5;
    }

    .cart-item__quantity-wrapper {
        flex-wrap: wrap;
    }

    .cart-item__totals {
        display: flex;
        align-items: flex-start;
        justify-content: flex-end;
    }

    .quantity {
        min-height: 40px;
        width: 115px;
    }

    .cart_quantity__button,
    .quantity__button {
        width: 35px;
    }

    .cart-item__price-wrapper .price {
        font-size: 16px !important;
    }
}

@media screen and (min-width: 750px) {
    .cart-items {
        border-spacing: 0;
        border-collapse: separate;
        box-shadow: none;
        width: 100%;
        display: table;
    }

    .cart-items th {
        border-bottom: 1px solid rgb(0 0 0 / 8%);
    }

    .cart-items thead th:first-child {
        width: 50%;
    }

    .cart-items th+th {
        padding-left: 40px;
    }

    .cart-items td {
        vertical-align: top;
        padding-top: 20px;
    }

    .cart-item {
        display: table-row;
    }

    .cart-item>td+td {
        padding-left: 20px;
    }

    .cart-item__details {
        width: 350px;
    }

    .cart-item__media {
        width: 100px;
    }

    .cart-item__price-wrapper>*:only-child:not(.cart-item__discounted-prices) {
        margin-top: 10px;
    }

    .cart-item__error {
        margin-left: 3px;
    }
}

@media screen and (min-width: 990px) {

    .cart-item .cart-item__quantity,
    .cart-items .cart-items__heading--wide {
        padding-left: 60px;
    }

    .cart-item__details {
        width: 500px;
    }

    .cart-items thead th:first-child {
        width: 60%;
    }
}

@media screen and (min-width: 750px) {

    .cart-items .cart-items__heading--quantity,
    .cart-item .cart-item__quantity,
    .cart-item__quantity--info .quantity-popover>* {
        padding-left: 30px;
    }

    .cart-item .cart-item__quantity--info,
    .cart-item__quantity--info .cart-item__quantity-wrapper,
    .cart-item__quantity--info .cart-items__info {
        padding-left: 0;
    }
}

@media screen and (max-width: 989px) {
    .cart-items .quantity-popover__info-button {
        padding-left: 0;
    }
}

.cart {
    position: relative;
    display: block;
}

.cart__empty-text,
.is-empty .cart__contents,
.is-empty .title-wrapper-with-link,
.is-empty .cart__footer {
    display: none;
}

.is-empty .cart__empty-text {
    display: block;
    font-family: "Rajdhani", sans-serif;
    font-weight: 600;
    color: var(--bs-dark);
}

.cart__warnings {
    text-align: center;
    padding: 30px 0 10px;
    display: none;
}

.is-empty .cart__warnings {
    display: block;
}

.cart__empty-text {
    margin: 45px 0 20px;
}

.cart__contents>*+* {
    margin-top: 25px;
}

.cart__login-title {
    margin: 55px 0 05px;
}

.cart__login-paragraph {
    margin-top: 8px;
}

.cart__login-paragraph a {
    font-size: inherit;
}

@media screen and (min-width: 990px) {
    .cart__warnings {
        padding: 40px 0 10px;
    }

    .cart__empty-text {
        margin: 0 0 30px;
    }
}

cart-items {
    display: block;
}

.cart__items {
    position: relative;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(var(--color-foreground), 0.08);
}

.cart__items--disabled {
    pointer-events: none;
}

.cart__footer-wrapper:last-child .cart__footer {
    padding-bottom: 50px;
}

.cart__footer>div:only-child {
    margin-left: auto;
}

.cart__footer>*+* {
    margin-top: 65px;
}

.cart__footer .discounts {
    margin-bottom: 10px;
}

.cart__note {
    height: fit-content;
    top: 25px;
}

.cart__note label {
    display: flex;
    align-items: flex-end;
    position: absolute;
    line-height: 1;
    height: 18px;
    top: -30px;
    color: rgba(var(--color-foreground), 0.75);
}

.cart__note .field__input {
    height: 100%;
    position: relative;
    border-radius: var(--inputs-radius);
    padding: 10px 20px;
}

.cart__note .text-area {
    resize: vertical;
}

.cart__note:after,
.cart__note:hover.cart__note:after,
.cart__note:before,
.cart__note:hover.cart__note:before,
.cart__note .field__input:focus,
.cart__note .field__input {
    border-bottom-right-radius: 0;
}

@media screen and (min-width: 750px) {
    .cart__items {
        grid-column-start: 1;
        grid-column-end: 3;
        padding-bottom: 10px;
    }

    .cart__contents>*+* {
        margin-top: 0;
    }

    .cart__items+.cart__footer {
        grid-column: 2;
    }

    .cart__footer {
        display: flex;
        justify-content: space-between;
        border: 0;
    }

    .cart__footer-wrapper:last-child {
        padding-top: 0;
    }

    .cart__footer>* {
        width: 350px;
    }

    .cart__footer>*+* {
        margin-left: 40px;
        margin-top: 0;
    }
}

.cart__ctas button {
    width: 100%;
}

.cart__ctas>*+* {
    margin-top: 10px;
}

.cart__update-button {
    margin-bottom: 10px;
}

.cart__dynamic-checkout-buttons {
    max-width: 360px;
    margin: 0 auto;
}

.cart__dynamic-checkout-buttons:has(.dynamic-checkout__content:empty) {
    margin: 0;
}

.cart__dynamic-checkout-buttons div[role='button'] {
    border-radius: var(--buttons-radius-outset) !important;
}

.cart__blocks>*+* {
    margin-top: 10px;
}

.cart-note__label {
    display: inline-block;
    margin-bottom: 10px;
    line-height: calc(1 + 1 / var(--font-body-scale));
}

.tax-note {
    margin: 2px 0 16px auto;
    text-align: center;
    display: block;
}

.cart__checkout-button {
    max-width: 360px;
}

.cart__ctas {
    text-align: center;
}

@media screen and (min-width: 750px) {
    .cart-note {
        max-width: 350px;
    }

    .cart__update-button {
        margin-bottom: 0;
        margin-right: 8px;
    }

    .tax-note {
        margin-bottom: 2px;
        text-align: right;
    }

    [data-shopify-buttoncontainer] {
        justify-content: flex-end;
    }

    .cart__ctas {
        display: flex;
        gap: 10px;
    }
}

/*** ========== Cart css ========== ***/
