/* ================================
   CART PAGE
================================ */

.cart-header {
    text-align: center;
    padding: 70px 20px 50px;
    background: #fafafa;
}

.cart-header p {
    margin: 0 0 12px;

    color: #b88b4a;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
}

.cart-header h1 {
    margin: 0 0 12px;

    color: #111;
    font-size: 42px;
    font-weight: 500;
}

.cart-header span {
    color: #777;
    font-size: 15px;
}


/* ================================
   CART CONTAINER
================================ */

.cart-container {
    width: 86%;
    max-width: 1200px;

    margin: 60px auto 100px;
}


/* ================================
   LOADING / MESSAGE
================================ */

.cart-message {
    padding: 60px 20px;

    text-align: center;

    color: #777;
    font-size: 15px;
}


/* ================================
   CART CONTENT
================================ */

.cart-content {
    display: grid;
    grid-template-columns: 1fr 350px;

    gap: 60px;

    align-items: start;
}


/* ================================
   CART ITEMS
================================ */

.cart-items {
    width: 100%;
}

.cart-item {
    display: grid;

    grid-template-columns: 120px 1fr auto;

    gap: 25px;

    padding: 25px 0;

    border-bottom: 1px solid #e8e8e8;
}


/* ================================
   PRODUCT IMAGE
================================ */

.cart-item-image {
    width: 120px;
    height: 140px;

    background: #f6f6f6;

    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


/* ================================
   PRODUCT INFO
================================ */

.cart-item-info {
    padding-top: 5px;
}

.cart-item-category {
    margin: 0 0 8px;

    color: #b88b4a;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}

.cart-item-info h3 {
    margin: 0 0 10px;

    color: #111;

    font-size: 19px;
    font-weight: 500;
}

.cart-item-price {
    margin: 0;

    color: #555;

    font-size: 14px;
}


/* ================================
   QUANTITY
================================ */

.cart-quantity {
    display: flex;

    align-items: center;

    width: 115px;

    margin-top: 18px;

    border: 1px solid #ddd;
}

.cart-quantity button {
    width: 35px;
    height: 35px;

    border: none;

    background: #fff;

    color: #333;

    font-size: 17px;

    cursor: pointer;
}

.cart-quantity button:hover {
    background: #f5f5f5;
}

.cart-quantity span {
    flex: 1;

    text-align: center;

    font-size: 14px;
}


/* ================================
   ITEM RIGHT SIDE
================================ */

.cart-item-right {
    display: flex;

    flex-direction: column;

    align-items: flex-end;

    justify-content: space-between;
}

.cart-item-total {
    color: #111;

    font-size: 17px;
    font-weight: 600;
}

.remove-cart-item {
    border: none;

    background: transparent;

    color: #999;

    font-size: 12px;

    letter-spacing: 1px;

    cursor: pointer;
}

.remove-cart-item:hover {
    color: #c0392b;
}


/* ================================
   EMPTY CART
================================ */

.empty-cart {
    padding: 80px 20px;

    text-align: center;
}

.empty-cart-icon {
    margin-bottom: 20px;

    font-size: 55px;
}

.empty-cart h2 {
    margin: 0 0 10px;

    color: #111;

    font-size: 26px;
    font-weight: 500;
}

.empty-cart p {
    margin-bottom: 30px;

    color: #777;

    font-size: 14px;
}

.continue-shopping {
    display: inline-block;

    padding: 15px 28px;

    background: #111;

    color: #fff;

    text-decoration: none;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 1.5px;

    transition: 0.2s ease;
}

.continue-shopping:hover {
    background: #b88b4a;
}


/* ================================
   CART SUMMARY
================================ */

.cart-summary {
    padding: 30px;

    border: 1px solid #e5e5e5;

    background: #fafafa;
}

.cart-summary h2 {
    margin: 0 0 25px;

    color: #111;

    font-size: 22px;
    font-weight: 500;
}

.summary-line {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 15px 0;

    color: #666;

    font-size: 14px;

    border-bottom: 1px solid #e5e5e5;
}

.summary-line strong {
    color: #111;
}

.total-line {
    padding-top: 20px;

    border-bottom: none;

    color: #111;

    font-size: 17px;
}

.total-line strong {
    font-size: 20px;
}


/* ================================
   CHECKOUT
================================ */

.checkout-btn {
    width: 100%;

    height: 52px;

    margin-top: 20px;

    border: none;

    background: #111;

    color: #fff;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 1.5px;

    cursor: pointer;

    transition: 0.2s ease;
}

.checkout-btn:hover {
    background: #b88b4a;
}

.continue-shopping-link {
    display: block;

    margin-top: 18px;

    color: #555;

    text-align: center;

    text-decoration: none;

    font-size: 13px;
}

.continue-shopping-link:hover {
    color: #b88b4a;
}


/* ================================
   FOOTER
================================ */

.shop-footer {
    padding: 50px 7% 25px;

    border-top: 1px solid #eee;

    background: #fafafa;
}

.shop-footer-logo {
    text-decoration: none;

    color: #111;

    font-size: 22px;
    font-weight: 700;

    letter-spacing: 2px;
}

.shop-footer-logo span {
    color: #b88b4a;
}

.shop-footer p {
    color: #777;

    line-height: 1.6;
}

.shop-footer-bottom {
    margin-top: 30px;
    padding-top: 20px;

    border-top: 1px solid #e5e5e5;

    color: #999;

    font-size: 12px;
}


/* ================================
   RESPONSIVE
================================ */

@media (max-width: 900px) {

    .cart-content {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .cart-summary {
        width: auto;
    }

}


@media (max-width: 600px) {

    .cart-header {
        padding: 50px 20px 40px;
    }

    .cart-header h1 {
        font-size: 34px;
    }

    .cart-container {
        width: 90%;

        margin-top: 40px;
    }

    .cart-item {
        grid-template-columns: 85px 1fr;

        gap: 15px;
    }

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

    .cart-item-right {
        grid-column: 2;

        align-items: flex-start;

        flex-direction: row;

        margin-top: -5px;
    }

    .cart-item-info h3 {
        font-size: 16px;
    }

    .cart-summary {
        padding: 22px;
    }
}