﻿.product-info {
    margin-left: 12px;
}

.product-name {
    font-weight: 600;
    display: block;
}

.product-variant {
    font-size: 13px;
    color: #777;
    margin-top: 3px;
}

.btnOption {
    padding: 8px 5px;
    margin: 0px;
    cursor: pointer;
}
    .btnOption img {
        border: 2px solid transparent;
        width: 50px;
        border-radius: 5px;
        vertical-align: middle;
        margin-right: 3px;
    }
        .btnOption img:hover {
            border: 3px solid #ffc107;
            width: 50px;
            border-radius: 5px;
            vertical-align: middle;
            margin-right: 3px;
        }
    .btnOption.selected img {
        border: 3px solid #ffc107;
    }

    

.configurable-name {
    font-weight: 400 !important;
    font-size: 13px !important ;
}

.configurable-item span {
    font-weight: 500 !important;
    font-size: 13px;
}
.productImageWrapper {
    position: relative;
    display: inline-block;
}

.productImage {
    width: 350px;
}

.stockBadge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 10px 18px;
    font-size: 18px;
    font-weight: bold;
    display: none;
}

/* Beden kutusu */



.sizeBox {
    position: relative;
    display: inline-block;
    padding: 5px 10px;
    margin: 6px;
    border: 3px solid #ccc;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
    color: #111 !important;
    text-decoration: none !important;
    font-family: Arial;
    font-size: 13px;
    font-weight: 600;
}

    /* Seçili */
    .sizeBox.selected {
        color: #111 !important;
        border: 3px solid orange;
    }

    /* Stokta olmayan */
    .sizeBox.noStock {
        color: #c0c0c0 !important;
    }

        /* Ortadan geçen gri çapraz çizgi */
        .sizeBox.noStock::after {
            content: "";
            position: absolute;
            top: 50%;
            left: 50%;
            width: 140%;
            height: 2px;
            background: linear-gradient(to right, transparent, #777777, transparent);
            transform: translate(-50%, -50%) rotate(-45deg);
            pointer-events: none;
        }

        /* Tooltip sadece stok olmayanlarda */
        .sizeBox.noStock:hover::before {
            content: "Stokta Yok";
            position: absolute;
            bottom: 125%;
            left: 50%;
            transform: translateX(-50%);
            background: #111;
            color: #fff;
            padding: 6px 10px;
            font-size: 10px;
            border-radius: 6px;
            white-space: nowrap;
            opacity: 1;
            z-index: 10;
        }


.productGrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.productCard {
    border: 1px solid #eee;
    padding: 10px;
    transition: 0.2s;
    background: #fff;
}

    .productCard:hover {
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

.productImage {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.productName {
    font-size: 14px;
    font-weight: 600;
    margin: 8px 0;
    height: 40px;
    overflow: hidden;
}

.price {
    font-size: 18px;
    font-weight: bold;
    color: #f27a1a;
}

.colorList img {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    margin-right: 5px;
    border: 1px solid #ddd;
    cursor: pointer;
}
