﻿
.product-card {
    display: flex;
    flex-direction: column; /* Mobilde dikey */
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    width: 100%;
    gap: 12px;
}

.product-content {
    display: flex;
    flex-direction: row;
    gap: 16px;
}

.product-image {
    position: relative;
    width: 200px;
    flex-shrink: 0;
}

    .product-image img {
        width: 100%;
        border-radius: 8px;
    }

.zoom-icon {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #fff;
    border: 2px solid #ffcc00;
    color: #ffcc00;
    font-size: 18px;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-info {
    flex: 1;
}

.product-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
}

.old-price {
    text-decoration: line-through;
    font-size: 13px;
    color: gray;
    margin-right: 8px;
}

.discount-badge {
    background: #ffe600;
    color: #000;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 12px;
}

.price {
    font-size: 18px;
    font-weight: bold;
    color: #0048a0;
    margin: 5px 0;
}

.dimensions {
    font-size: 13px;
    color: #444;
    margin-bottom: 10px;
}

.quantity-wrapper {
    display: flex;
    justify-content: flex-start;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 24px;
    overflow: hidden;
}

    .quantity-control button {
        width: 30px;
        height: 30px;
        font-size: 18px;
        border: none;
        background: #ffcc00;
        color: #000;
        cursor: pointer;
    }

    .quantity-control span {
        width: 40px;
        text-align: center;
        font-size: 16px;
        font-weight: bold;
        background: #fff;
    }

/* Webde 3 sütuna geç */
@media (min-width: 768px) {
    .product-card {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .product-content {
        flex: 1;
        align-items: center;
    }

    .product-info {
        padding-left: 16px;
    }

    .quantity-wrapper {
        justify-content: flex-end;
        min-width: 130px;
    }
}

