.cart-page {
    --order-theme-gradient: linear-gradient(163deg, #835316, #c29800);
    --order-theme-dark: #835316;
    --order-theme-gold: #c29800;
    --order-theme-soft: #fff8e6;
    --order-theme-line: rgba(131, 83, 22, .22);
    background: #fbf6ee;
    color: #211b1c;
}

.cart-shell {
    width: min(1300px, calc(100% - 32px));
    margin: 0 auto;
    padding: 34px 0 54px;
}

.cart-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.cart-head h1 {
    margin: 0;
    color: #241b1c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 3.6vw, 44px);
    font-weight: 500;
    line-height: 1.1;
}

.cart-continue,
.cart-empty a {
    min-height: 42px;
    border-radius: 999px;
    background: black;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
}

.cart-items-panel,
.cart-summary {
    border: 1px solid rgba(86, 81, 82, .12);
    border-radius: 12px;
    background: rgba(255, 255, 255, .82);
}

.cart-items-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid rgba(86, 81, 82, .1);
    padding: 18px 20px;
}

.cart-items-top strong,
.cart-summary h2 {
    color: black;
    font-size: 19px;
    font-weight: 700;
}

.cart-items-top span {
    color: #766e6f;
    font-size: 13px;
    font-weight: 600;
}

.cart-items {
    display: grid;
}

.cart-item {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 18px;
    padding: 20px;
}

.cart-item + .cart-item {
    border-top: 1px solid rgba(86, 81, 82, .1);
}

.cart-item-image {
    aspect-ratio: 1;
    border: 1px solid rgba(86, 81, 82, .12);
    border-radius: 10px;
    background: #f8f4f3;
    display: block;
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.cart-item-main {
    min-width: 0;
}

.cart-item-title-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.cart-item-title {
    color: #1f1a1b;
    display: block;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
}

.cart-item-title:hover,
.cart-item-title:focus {
    color: var(--order-theme-dark);
}

.cart-item-sku {
    display: block;
    margin-top: 5px;
    color: #827879;
    font-size: 12px;
}

.cart-remove {
    width: 38px;
    height: 38px;
    border: 1px solid var(--order-theme-line);
    border-radius: 999px;
    background: var(--order-theme-soft);
    color: var(--order-theme-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.cart-line-attrs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.cart-line-attrs span {
    border-radius: 999px;
    background: var(--order-theme-soft);
    color: #6f5212;
    padding: 6px 10px;
    font-size: 12px;
}

.cart-line-attrs strong {
    color: var(--order-theme-dark);
}

.cart-item-bottom {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) auto minmax(110px, auto);
    gap: 18px;
    align-items: end;
    margin-top: 18px;
}

.cart-price del {
    display: block;
    color: #9d9495;
    font-size: 12px;
}

.cart-price span {
    display: block;
    margin-top: 4px;
    color: black;
    font-size: 12px;
    font-weight: 700;
}

.cart-price strong,
.cart-line-total strong,
.cart-summary-total dd {
    color: black;
    font-weight: 700;
}

.cart-quantity {
    max-width: 132px;
    border: 1px solid rgba(86, 81, 82, .16);
    border-radius: 999px;
    background: #ffffff;
    display: inline-grid;
    grid-template-columns: 38px 48px 38px;
    align-items: center;
    overflow: hidden;
}

.cart-quantity button {
    height: 38px;
    border: 0;
    background: transparent;
    color: var(--order-theme-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.cart-quantity span {
    height: 38px;
    border-left: 1px solid rgba(86, 81, 82, .1);
    border-right: 1px solid rgba(86, 81, 82, .1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.cart-line-total {
    text-align: right;
}

.cart-line-total span {
    display: block;
    color: #837a7b;
    font-size: 12px;
}

.cart-summary {
    position: sticky;
    top: 18px;
    padding: 22px;
}

.cart-summary h2 {
    margin: 0 0 18px;
}

.cart-summary dl {
    display: grid;
    gap: 14px;
    margin: 0 0 20px;
}

.cart-summary dl div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    color: #6f6667;
    font-size: 13px;
}

.cart-summary dd {
    margin: 0;
    color: #2a2223;
    font-weight: 700;
    text-align: right;
}

.cart-summary-total {
    border-top: 1px solid rgba(86, 81, 82, .1);
    padding-top: 16px;
    color: #1f1a1b;
    font-size: 18px !important;
    font-weight: 700;
}

.cart-coupon {
    display: grid;
    gap: 10px;
    margin: 0 0 18px;
    padding: 14px;
    border: 1px solid var(--order-theme-line);
    border-radius: 10px;
    background: rgb(249, 249, 249);
}

.cart-coupon label {
    color: var(--order-theme-dark);
    font-weight: 700;
}

.cart-coupon div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.cart-coupon input {
    min-width: 0;
    height: 42px;
    border: 1px solid rgba(86, 81, 82, .16);
    border-radius: 999px;
    background: #ffffff;
    padding: 0 13px;
    outline: 0;
}

.cart-coupon button {
    border: 0;
    border-radius: 999px;
    background: black;
    color: #ffffff;
    padding: 0 14px;
    font-weight: 700;
    cursor: pointer;
}

.cart-coupon-remove {
    min-height: 36px;
    background: #ffffff !important;
    color: var(--order-theme-dark) !important;
    border: 1px solid var(--order-theme-line) !important;
}

.cart-coupon p {
    margin: 0;
    color: var(--order-theme-dark);
    font-size: 13px;
    font-weight: 700;
}

.cart-coupon p.is-error {
    color: #b42318;
}

.cart-checkout,
.cart-clear {
    width: 100%;
    min-height: 48px;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
}

.cart-checkout {
    border: 0;
    background: black;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    text-decoration: none;
}

.cart-clear {
    margin-top: 10px;
    border: 1px solid rgba(86, 81, 82, .14);
    background: #ffffff;
    color: var(--order-theme-dark);
}

.cart-checkout.disabled,
.cart-clear:disabled {
    opacity: .45;
    cursor: not-allowed;
    pointer-events: none;
}

.cart-summary-note {
    margin: 16px 0 0;
    color: #746d6e;
    font-size: 12px;
    line-height: 1.6;
}

.cart-empty {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 56px 20px;
    text-align: center;
}

.cart-empty i {
    color: var(--order-theme-dark);
    font-size: 46px;
}

.cart-empty strong {
    color: #1f1a1b;
    font-size: 22px;
    font-weight: 700;
}

.cart-empty p {
    margin: 0;
    color: #746d6e;
}

@media (max-width: 980px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }
}

@media (max-width: 640px) {
    .cart-shell {
        width: min(100% - 20px, 520px);
        padding-top: 24px;
    }

    .cart-head {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .cart-continue {
        width: 100%;
    }

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

    .cart-item-image {
        width: 76px;
        height: 76px;
    }

    .cart-item-title-row,
    .cart-item-bottom {
        align-items: stretch;
        grid-template-columns: 1fr;
    }

    .cart-line-total {
        text-align: left;
    }

    .cart-remove {
        align-self: flex-start;
    }

    .cart-coupon div {
        grid-template-columns: 1fr;
    }

    .cart-coupon button {
        min-height: 40px;
    }
}
