/* ========================================= */
/* ===== Cart გვერდის უნიკალური სტილები ===== */
/* ========================================= */

.cart-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #2c2c2c, #1a1a1a);
    color: #fff;
    flex-grow: 1;
}

.cart-container {
    max-width: 1200px;
    margin: 0 auto;
    background: #0d0d0d;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #d4af37;
}

.cart-title {
    font-family: 'Cinzel', serif;
    font-size: 42px;
    color: #d4af37;
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Cart Items Styling */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 3fr 1fr 1fr 50px;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid #d4af37;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
}

.cart-item-details {
    font-family: 'Playfair Display', serif;
    text-align: left;
}

.cart-item-title {
    font-size: 20px;
    margin-bottom: 5px;
}

.cart-item-price {
    color: #d4af37;
    font-size: 16px;
}

.cart-item-quantity input {
    width: 60px;
    padding: 8px;
    text-align: center;
    background: #2c2c2c;
    border: 1px solid #d4af37;
    color: #fff;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
}

.cart-item-total {
    font-size: 18px;
    font-weight: bold;
    text-align: right;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #ff4d4d;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
}

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

/* Cart Summary Styling */
.cart-summary {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid #d4af37;
}

.summary-details {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    flex-basis: 50%;
    min-width: 250px;
}

.summary-details p {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.summary-details span {
    color: #d4af37;
    font-weight: 500;
}

.summary-total {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    margin-top: 15px;
    color: #d4af37;
}

/* Action Buttons */
.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
    flex-basis: 45%;
    min-width: 250px;
}

.luxury-btn.continue-shopping {
    background-color: transparent;
    color: #d4af37;
}

.luxury-btn.continue-shopping:hover {
    background-color: #d4af37;
    color: #0d0d0d;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cart-item {
        grid-template-columns: 80px 1fr;
        grid-template-rows: auto auto auto auto;
        gap: 10px;
        text-align: center;
    }

    .cart-item-image {
        grid-column: 1 / 2;
        grid-row: 1 / 5;
        width: 80px;
        height: auto;
        align-self: center;
    }

    .cart-item-details, .cart-item-quantity, .cart-item-total, .cart-item-remove {
        grid-column: 2 / 3;
        text-align: left;
    }
    .cart-item-remove { justify-self: start; }
    .cart-item-total { text-align: left; }

    .cart-actions {
        width: 100%;
        margin-top: 20px;
        align-items: stretch;
    }
}
