/* .cart-hero {
    padding: 160px 5% 80px;
    text-align: center;
    background: #111;
    color: #fff;
} */

.cart-hero {
    padding: 160px 5% 100px;
    text-align: center;
    background:
        linear-gradient(145deg,
            #050505,
            #111111);
    border-bottom:
        1px solid rgba(255, 255, 255, .08);
}

.cart-hero h1 {
    font-size: 4rem;
    margin: 20px 0;
}

.cart-hero p {
    max-width: 600px;
    margin: auto;
    color: #c5c5c5;
}

.cart-section {
    padding: 80px 5%;
    background: #f8f8f8;
}

.cart-container {
    max-width: 1400px;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.cart-summary {
    background: #111;
    color: #fff;
    padding: 35px;
    border-radius: 24px;
    position: sticky;
    top: 120px;
    height: fit-content;
}

/* .cart-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background:#fff;
    color:#111;
} */
.cart-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow:
        0 15px 35px rgba(0, 0, 0, .08);
    border: 1px solid #efefef;
}


.cart-item h3,
.cart-item p {
    color: #111;
}

.cart-left {
    color: #111;
}





/* .cart-item img{
    width:90px;
    height:120px;
    object-fit:contain;
    border-radius:12px;
} */

.cart-item img {
    width: 90px;
    height: 110px;
    object-fit: contain;
    background: #fafafa;
    border-radius: 12px;
    padding: 5px;
}

.cart-info {
    flex: 1;
    color: #111;
}

.cart-info h3 {
    color: #111;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.cart-info p {
    color: #666;
    margin: 4px 0;
}

.item-total {
    color: #111;
    font-size: 1.2rem;
    font-weight: 700;
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

/* .qty-controls button {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 10px;
    background: #111;
    color: #fff;
    cursor: pointer;
} */
.qty-controls button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    transition: .3s;
}

.qty-controls button:hover {
    background: #d4af37;
    color: #000;
}

/* .remove-btn {
    margin-top: 15px;
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
} */

.remove-btn {
    background: none;
    border: none;
    cursor: pointer;
    margin-top: 15px;
    color: #c0392b;
    font-weight: 600;
    transition: .3s;
}

.remove-btn:hover {
    color: #e74c3c;
}

.item-total {
    font-size: 1.2rem;
    font-weight: 700;
}

.cart-summary {

    color: #fff;
    padding: 35px;
    border-radius: 25px;
    position: sticky;
    top: 100px;
    background:
        linear-gradient(180deg,
            #111,
            #050505);

    border:
        1px solid rgba(255, 255, 255, .08);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, .35);
}

.total {
    font-size: 1.4rem;
}

#cartTotal {
    color: #d4af37;
}

.trust-icons {
    margin-top: 25px;
    padding-top: 25px;
    border-top:
        1px solid rgba(255, 255, 255, .12);
}

.trust-icons div {
    margin-bottom: 12px;
    color: #cccccc;
}

.trust-icons i {
    color: #d4af37;
    margin-right: 10px;
}

.cart-benefits {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 25px 0;
    color: #d4af37;
    font-weight: 600;
}

.checkout-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 18px;
    border-radius: 999px;
    background: #fff;
    color: #111;
    text-decoration: none;
    font-weight: 700;
    margin-top: 25px;
}

.progress-bar {
    height: 8px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .15);
    overflow: hidden;
    margin-top: 10px;
}

#progressFill {
    height: 100%;
    width: 0%;
    background: #fff;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.total {
    border-top: 1px solid rgba(255, 255, 255, .15);
    padding-top: 25px;
    font-size: 1.2rem;
    font-weight: 700;
}

/* .total-row {
    border-top: 1px solid rgba(255, 255, 255, .15);
    padding-top: 25px;
    font-size: 1.2rem;
    font-weight: 700; 
}*/

.checkout-button {
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    background: #fff;
    color: #111;
    padding: 18px;
    border-radius: 999px;
    margin-top: 25px;
    font-weight: 700;
    transition: .3s;
}

.checkout-button:hover {
    transform: translateY(-2px);
}

.delivery-progress {
    height: 8px;
    background: rgba(255, 255, 255, .15);
    border-radius: 20px;
    overflow: hidden;
    margin-top: 12px;
}

#deliveryFill {
    height: 100%;
    width: 25%;
    background: #fff;
}

.payment-icons {
    margin-top: 30px;
    text-align: center;
    font-size: 2rem;
}

.payment-icons i {
    margin: 0 8px;
}

.trust-badges {
    margin-top: 25px;
}

.trust-badges div {
    margin-bottom: 12px;
}

.section-tag {
    display: inline-block;
    letter-spacing: 3px;
    font-size: .8rem;
    opacity: .7;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    background: #d4af37;
}

.empty-cart {
    background: #fff;
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    color: #111;
}

.empty-cart h2 {
    margin-bottom: 15px;
}

.empty-cart p {
    color: #666;
    margin-bottom: 25px;
}

/**/
@media(max-width:768px) {

    .cart-container {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: relative;
        top: auto;
    }

}