/* asos_cart.css */
.cart-header-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

.cart-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 2rem;
}

.cart-left h2 {
    font-size: 1rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    font-weight: 700;
    color: #333;
}

.cart-right-inner {
    background: #fff;
    padding: 1.5rem;
}

.cart-right h2 {
    font-size: 1rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    font-weight: 700;
    color: #333;
}

.cart-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #fff;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: relative; 
}

.cart-item-image {
    width: 120px;
    height: 155px; 
    object-fit: cover;
    background: #f8f8f8;
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cart-product-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: #d01345;
    margin-bottom: 0.5rem;
}
.cart-product-price-regular {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333; 
    margin-bottom: 0.5rem;
}
.cart-product-price-old {
    font-size: 0.9rem;
    text-decoration: line-through;
    color: #999;
    margin-left: 0.5rem;
    font-weight: normal;
}

.cart-product-title {
    font-size: 1rem;
    color: #333;
    margin-bottom: 0.5rem;
    text-decoration: none;
    line-height: 1.4;
}
.cart-product-title:hover {
    text-decoration: underline;
}

.cart-item-attributes {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    width: fit-content;
}

.qty-btn {
    background: #fafafa;
    border: none;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    font-size: 1rem;
    color: #333;
    transition: background 0.2s;
}

.qty-btn:hover {
    background: #eee;
}

.qty-input {
    width: 40px;
    text-align: center;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    padding: 0.4rem 0;
    font-size: 0.9rem;
    -moz-appearance: textfield;
    appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-remove-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #999;
    cursor: pointer;
    line-height: 1;
}
.cart-remove-btn:hover {
    color: #333;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #444;
}

.summary-total {
    border-top: 1px solid #eee;
    padding-top: 1rem;
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
}

.checkout-btn {
    display: block;
    width: 100%;
    background: #01824d; 
    color: #fff;
    text-align: center;
    padding: 1rem;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    margin-top: 1.5rem;
    letter-spacing: 1px;
    transition: background 0.2s;
}

.checkout-btn:hover {
    background: #006b3f;
    color: #fff;
}

.checkout-btn:active {
    transform: scale(0.98);
}

.promo-section {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #666;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}
.promo-section p {
    margin-bottom: 0.8rem;
}
.promo-input-group {
    display: flex;
    gap: 0.5rem;
}
.promo-input {
    flex: 1;
    padding: 0.6rem;
    border: 1px solid #ccc;
    font-size: 0.9rem;
}
.promo-btn {
    padding: 0.6rem 1rem;
    background: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
}
.promo-btn:hover { background: #000; }

.empty-cart {
    text-align: center;
    padding: 4rem 1rem;
    max-width: 500px;
    margin: 0 auto;
}
.empty-cart h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}
.empty-cart p {
    color: #666;
    margin-bottom: 2rem;
}
.empty-cart-btn {
    display: inline-block;
    background: #333;
    color: #fff;
    padding: 1rem 2rem;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}
.empty-cart-btn:hover { background: #000; color: #fff;}

.delivery-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    padding: 1.5rem;
    margin-top: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.delivery-banner-icon {
    font-size: 1.5rem;
}
.delivery-banner-text p {
    margin: 0;
    font-weight: bold;
    font-size: 0.95rem;
}
.delivery-banner-text span {
    font-size: 0.85rem;
    color: #666;
}

@media (max-width: 768px) {
    .cart-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .cart-item {
        padding: 1rem;
        gap: 1rem;
    }
    .cart-item-image {
        width: 100px;
        height: 130px;
    }
    .cart-left h2, .cart-right h2 {
        text-align: center;
    }
}
