
/* SHOPPING BAG */

.bag-page {
    max-width: 1240px;
    margin: 0 auto;
    padding: 65px 40px 110px;
}

.bag-heading {
    margin-bottom: 45px;
}

.bag-heading h1 {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(42px, 5vw, 60px);
    font-weight: 500;
    color: #172b49;
    margin: 12px 0 0;
}

.bag-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 65px;
    align-items: start;
}

.bag-items {
    border-top: 1px solid #e5e0d6;
}

.bag-item {
    display: grid;
    grid-template-columns: 125px 1fr auto;
    gap: 25px;
    align-items: center;
    padding: 25px 0;
    border-bottom: 1px solid #e5e0d6;
}

.bag-item-image {
    width: 125px;
    aspect-ratio: 4 / 5;
    background: #f5f1e8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.bag-item-placeholder {
    font-family: "Cormorant Garamond", serif;
    color: #172b49;
}

.bag-item-information h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 25px;
    font-weight: 500;
    color: #172b49;
    margin: 0 0 7px;
}

.bag-item-information p {
    font-size: 12px;
    color: #777;
    margin: 0 0 15px;
}

.bag-item-price {
    font-size: 14px;
    color: #172b49;
}

.bag-item-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
}

.bag-quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid #d8d2c7;
    height: 35px;
}

.bag-quantity-control button {
    width: 32px;
    height: 100%;
    border: 0;
    background: transparent;
    color: #172b49;
    font-size: 17px;
    cursor: pointer;
}

.bag-quantity-control button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.bag-quantity-control span {
    width: 30px;
    text-align: center;
    font-size: 12px;
}

.bag-remove {
    background: none;
    border: 0;
    color: #888;
    font-family: inherit;
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
}

.bag-remove:hover {
    color: #9a1515;
}

.bag-item-total {
    font-size: 14px;
    color: #172b49;
    white-space: nowrap;
    align-self: start;
    padding-top: 5px;
}

.bag-summary {
    padding: 28px;
    background: #f5f1e8;
}

.bag-summary h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: 28px;
    font-weight: 500;
    color: #172b49;
    margin: 0 0 25px;
}

.bag-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 18px 0;
    border-top: 1px solid #ded7ca;
    font-size: 14px;
    color: #172b49;
}

.bag-delivery-note {
    font-size: 12px;
    line-height: 1.6;
    color: #777;
    margin: 0 0 22px;
}

.bag-checkout-button {
    width: 100%;
    justify-content: center;
    cursor: pointer;
}

.bag-checkout-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.bag-checkout-message {
    font-size: 12px;
    line-height: 1.5;
    color: #9a1515;
}

.bag-continue-link {
    display: block;
    margin-top: 20px;
    text-align: center;
    font-size: 12px;
    color: #172b49;
    text-decoration: none;
}

.bag-continue-link:hover {
    text-decoration: underline;
}

.bag-empty {
    padding: 50px 20px;
    text-align: center;
    background: #f5f1e8;
}

.bag-empty h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: 32px;
    font-weight: 500;
    color: #172b49;
}

.bag-empty p {
    font-size: 13px;
    color: #777;
    margin-bottom: 25px;
}

.bag-empty .button {
    display: inline-flex;
}

@media (max-width: 850px) {
    .bag-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .bag-summary {
        max-width: none;
    }
}

@media (max-width: 550px) {
    .bag-page {
        padding: 40px 20px 75px;
    }

    .bag-item {
        grid-template-columns: 90px 1fr;
        gap: 15px;
    }

    .bag-item-image {
        width: 90px;
    }

    .bag-item-information h3 {
        font-size: 21px;
    }

    .bag-item-total {
        grid-column: 2;
        padding-top: 0;
    }

    .bag-item-controls {
        flex-wrap: wrap;
        gap: 10px;
    }
}
