.cart-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 120px 40px 140px;
}

.cart-title {
    margin: 45px 0;
}

.cart-title h1 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 28px;
    font-weight: 400;
    letter-spacing: -0.5px;
}

.cart-title em {
    font-style: italic;
}

.cart-title span {
    margin-left: 8px;
}
.cart-products {
    display: flex;
    gap: 16px;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
}

.cart-product {
    flex: 0 0 210px;
    min-width: 0;
    background-color: #fffffb;
}

.cart-product.is-unavailable {
    opacity: .55;
}

.cart-product-header h2 em {
    margin-left: 6px;
    color: #704040;
    font-size: 8px;
    font-style: normal;
}

.cart-product-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.cart-product-header h2 {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    font-size: 9px;
    font-weight: 400;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.cart-remove {
    flex-shrink: 0;
    padding: 0;
    border: 0;
    border-bottom: 1px solid #999;
    background: none;
    color: #666;
    font-size: 8px;
    cursor: pointer;
}

.cart-product-image {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f4f3ef;
}

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

.cart-product-info {
    padding-top: 9px;
    font-size: 9px;
}

.cart-product-info > span {
    display: block;
    margin-bottom: 5px;
}

.cart-product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #333;
    font-size: 8px;
}

.cart-product-meta > div {
    display: flex;
    align-items: center;
    gap: 4px;
}

.cart-quantity {
    display: flex;
    align-items: center;
    gap: 5px;
}

.cart-quantity button {
    padding: 0;
    border: 0;
    background: none;
    font-size: 9px;
    cursor: pointer;
}

.cart-quantity span {
    min-width: 8px;
    text-align: center;
}

.cart-color-opt {
    width: 10px;
    height: 10px;
    background-color: red;
    border-radius: 50%;
    border: 1px solid lightblue;
}

.cart-bottom {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 40px;
    margin-top: 45px;
}

.continue-shopping {
    margin-bottom: 8px;
    color: #111;
    font-size: 9px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cart-summary {
    width: 185px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 9px;
}
.summary-row button {
    padding: 0;
}
.summary-row strong {
    font-weight: 400;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 18px;
    padding-top: 10px;
    border-top: 1px solid #999;
    font-size: 10px;
}

.summary-total strong {
    font-weight: 400;
}

.checkout-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 40px;
    margin-top: 18px;
    padding: 0 15px;
    border: 1px solid #111;
    background: transparent;
    color: #111;
    font-size: 9px;
    cursor: pointer;
    transition: background .25s ease, color .25s ease;
}

.checkout-button:hover {
    background: #111;
    color: #fff;
}

.checkout-button span {
    font-size: 16px;
}

.shipping-option {
    display: none;
    margin: 5px 0;
    padding: 5px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.shipping-option.active {
    display: block;
}

.shipping-country,
.shipping-zipcode {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 4px;
}

.shipping-country span,
.shipping-zipcode span {
    width: 28px;
    flex-shrink: 0;
    font-size: 8px;
}

.shipping-country select,
.shipping-zipcode input {
    min-width: 0;
    width: 100%;
    height: 20px;
    padding: 0 4px;
    border: 1px solid #ddd;
    border-radius: 2px;
    box-sizing: border-box;
    font-size: 8px;
}

.shipping-country select {
    flex: 1;
}

.shipping-zipcode input {
    flex: 1;
}

.shipping-search-button {
    width: 28px;
    height: 20px;
    padding: 0;
    border: 0;
    border-radius: 2px;
    background: #222;
    color: #fff;
    font-size: 8px;
    cursor: pointer;
    flex-shrink: 0;
}

.shipping-option-button {
    padding: 0;
    border: 0;
    background: none;
    font-size: 8px;
    cursor: pointer;
}

.shipping-result {
    font-size: 9px;
}

.shipping-result strong {
    font-size: 9px;
}

.cart-empty {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 520px;
    text-align: center;
}

.cart-empty h2 {
    margin: 0 0 14px;
    font-family: Georgia, serif;
    font-size: 25px;
    font-weight: 400;
    letter-spacing: -.3px;
}

.cart-empty p {
    margin: 0;
    color: #666;
    font-size: 11px;
}

.cart-empty-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 210px;
    height: 46px;
    margin-top: 35px;
    padding: 0 15px;
    border: 1px solid #111;
    color: #111;
    font-size: 9px;
    text-decoration: none;
    transition: background .25s ease, color .25s ease;
}

.cart-empty-button span {
    font-size: 15px;
}

.cart-empty-button:hover {
    background: #111;
    color: #fff;
}

@media (max-width: 768px) {
    .cart-container {
        padding: 70px 20px 100px !important;
    }

    .cart-title {
        margin-bottom: 30px;
    }

    .cart-title h1 {
        font-size: 24px;
    }

    .cart-products {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px 12px;
        overflow: visible;
        padding-bottom: 0;
    }

    .cart-product {
        width: 100%;
    }

    .cart-product-header {
        margin-bottom: 8px;
    }

    .cart-product-header h2 {
        font-size: 8px;
    }

    .cart-remove {
        font-size: 7px;
    }

    .cart-product-info {
        font-size: 8px;
    }

    .cart-product-meta {
        display: block;
        font-size: 8px;
    }

    .cart-product-meta > div {
        margin-top: 5px;
    }

    .cart-bottom {
        display: flex;
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 30px;
        margin-top: 50px;
    }

    .cart-summary {
        width: 100%;
    }

    .continue-shopping {
        align-self: flex-start;
        margin: 0;
    }

    .cart-empty {
        min-height: 420px;
    }

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

    .cart-empty-button {
        width: 200px;
    }
}