/* =========================================================
   UI 01X — CART PAGE
   ========================================================= */

.ds18-cart-page {
    background: #fff;
    color: #171717;
    font-family: Inter, Arial, sans-serif;
}

.ds18-cart-page * {
    box-sizing: border-box;
}

.ds18-cart-page a {
    color: inherit;
    text-decoration: none;
}

.ds18-cart {
    padding: 54px 0 96px;
}

.ds18-cart__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr);
    gap: clamp(40px, 7vw, 100px);
    align-items: start;
}

.ds18-cart__items {
    min-width: 0;
}

.ds18-cart__label-row {
    min-height: 48px;
    border-bottom: 1px solid #e3ddd4;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.ds18-cart__label-row span,
.ds18-cart__label-row a {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.ds18-cart__label-row a {
    padding-bottom: 3px;
    border-bottom: 1px solid currentColor;
}

.ds18-cart-item {
    position: relative;
    padding: 24px 0;
    border-bottom: 1px solid #e3ddd4;
    display: grid;
    grid-template-columns: 148px minmax(0, 1fr);
    gap: 23px;
    transition: opacity .16s ease;
}

.ds18-cart-item.is-updating,
.ds18-cart-item.is-removing {
    opacity: .48;
    pointer-events: none;
}

.ds18-cart-item__image {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #eee8df;
}

.ds18-cart-item__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
    transition: transform .35s ease;
}

.ds18-cart-item__image:hover img {
    transform: scale(1.018);
}

.ds18-cart-item__content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ds18-cart-item__top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
}

.ds18-cart-item__top p {
    margin: 0 0 5px;
    color: #857d74;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.ds18-cart-item__top h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: -.02em;
}

.ds18-cart-item__variant {
    display: block;
    margin-top: 9px;
    color: #776f67;
    font-size: 10px;
}

.ds18-remove {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid #e1dad1;
    border-radius: 50%;
    background: #fff;
    color: #6f6860;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.ds18-remove:hover {
    border-color: #171717;
    color: #171717;
}

.ds18-remove .material-symbols-outlined {
    font-size: 18px;
}

.ds18-cart-item__bottom {
    margin-top: 30px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.ds18-qty {
    width: 112px;
    height: 42px;
    border: 1px solid #ddd6cd;
    display: grid;
    grid-template-columns: 34px 1fr 34px;
    align-items: stretch;
}

.ds18-qty button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #171717;
    font-size: 17px;
    cursor: pointer;
}

.ds18-qty button:hover {
    background: #f5f1eb;
}

.ds18-qty > span {
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 700;
}

.ds18-cart-item__price {
    display: grid;
    justify-items: end;
    gap: 5px;
}

.ds18-cart-item__price small {
    color: #8a8279;
    font-size: 9px;
}

.ds18-cart-item__price strong {
    font-size: 13px;
    font-weight: 700;
}

.ds18-summary {
    position: sticky;
    top: 24px;
    padding: 31px;
    background: #f6f1ea;
}

.ds18-summary > p {
    margin: 0 0 7px;
    color: #7e766d;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.ds18-summary > h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 42px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: -.04em;
}

.ds18-summary__rows {
    margin-top: 30px;
    border-top: 1px solid #dcd4ca;
}

.ds18-summary__rows > div {
    min-height: 51px;
    border-bottom: 1px solid #dcd4ca;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.ds18-summary__rows span,
.ds18-summary__rows small {
    color: #716a62;
    font-size: 9px;
}

.ds18-summary__rows strong {
    font-size: 11px;
}

.ds18-summary__total {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.ds18-summary__total span {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ds18-summary__total strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 400;
}

.ds18-checkout,
.ds18-continue {
    min-height: 49px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.ds18-checkout {
    background: #171717;
    color: #fff !important;
}

.ds18-checkout:hover {
    background: #8e703a;
}

.ds18-continue {
    margin-top: 8px;
    border: 1px solid #171717;
}

.ds18-summary.is-empty .ds18-checkout {
    pointer-events: none;
    opacity: .45;
}

.ds18-assurance {
    margin-top: 28px;
    border-top: 1px solid #dcd4ca;
}

.ds18-assurance > div {
    padding: 14px 0;
    border-bottom: 1px solid #dcd4ca;
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 9px;
}

.ds18-assurance > div > .material-symbols-outlined {
    color: #9b793e;
    font-size: 19px;
}

.ds18-assurance p {
    margin: 0;
}

.ds18-assurance strong {
    display: block;
    font-size: 8px;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.ds18-assurance small {
    display: block;
    margin-top: 3px;
    color: #817970;
    font-size: 8px;
    line-height: 1.5;
}

.ds18-empty {
    min-height: 520px;
    padding: 50px 20px;
    background: #f6f1ea;
    display: grid;
    justify-items: center;
    align-content: center;
    text-align: center;
}

.ds18-empty > .material-symbols-outlined {
    color: #9a783d;
    font-size: 43px;
}

.ds18-empty h2 {
    margin: 17px 0 7px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 45px;
    font-weight: 400;
    letter-spacing: -.035em;
}

.ds18-empty p {
    max-width: 470px;
    margin: 0;
    color: #716a62;
    font-size: 12px;
    line-height: 1.7;
}

.ds18-empty a {
    min-height: 43px;
    margin-top: 24px;
    padding: 0 18px;
    background: #171717;
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .ds18-cart__layout {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .ds18-summary {
        position: static;
    }
}

@media (max-width: 620px) {
    .ds18-cart {
        padding: 34px 0 65px;
    }

    .ds18-cart-item {
        grid-template-columns: 105px minmax(0, 1fr);
        gap: 14px;
        padding: 18px 0;
    }

    .ds18-cart-item__top h2 {
        font-size: 21px;
    }

    .ds18-cart-item__bottom {
        margin-top: 18px;
        align-items: flex-start;
        flex-direction: column;
    }

    .ds18-cart-item__price {
        justify-items: start;
    }

    .ds18-summary {
        padding: 25px 20px;
    }

    .ds18-summary > h2 {
        font-size: 36px;
    }
}

@media (max-width: 430px) {
    .ds18-cart-item {
        grid-template-columns: 88px minmax(0, 1fr);
    }

    .ds18-cart-item__top {
        gap: 8px;
    }

    .ds18-cart-item__top h2 {
        font-size: 19px;
    }

    .ds18-remove {
        width: 30px;
        height: 30px;
    }

    .ds18-qty {
        width: 104px;
        height: 39px;
        grid-template-columns: 31px 1fr 31px;
    }
}
