﻿#shop .product {
    margin: 12px;
    padding: 10px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.2s ease-in-out;
}

    #shop .product:hover {
        transform: translateY(-3px);
    }

#shop .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
}

.row.no-gap {
    margin-left: -8px;
    margin-right: -8px;
    display: flex;
    flex-wrap: wrap;
}

    .row.no-gap > [class^="col-"] {
        padding-left: 8px;
        padding-right: 8px;
        margin-bottom: 16px;
    }

.shop-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 12px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

    .shop-card:hover {
        transform: scale(1.02);
        box-shadow: 0 0 20px rgba(0,0,0,0.1);
    }

.shop-card-body {
    padding: 15px;
}

.shop-card-img-container {
    position: relative;
    background-color: #eee;
    padding: 8px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.chat-box {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 350px;
    max-height: 420px;
    background-color: #1d1d1d;
    color: #ddd;
    border: 1px solid #444;
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.7);
    font-family: 'Lato', sans-serif;
    z-index: 9999;
    display: none;
    display: flex;
    flex-direction: column;
}

.chat-box-header {
    padding: 10px 15px;
    background-color: #2a2a2a;
    background: none;
    border: none;
    color: #f1f1f1;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    border-bottom: 1px solid #444;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .chat-box-header button {
        background: none;
        border: none;
        color: #bbb;
        font-size: 18px;
        cursor: pointer;
        transition: color 0.3s;
    }

        .chat-box-header button:hover {
            color: #fff;
        }

.chat-box.collapsed .chat-box-body {
    display: none;
}

.chat-box.collapsed {
    height: auto;
    max-height: unset;
}

.chat-box-body {
    padding: 10px;
    overflow-y: auto;
    flex: 1;
}

.chat-message {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.4;
}

    .chat-message .bubble {
        padding: 10px 14px;
        border-radius: 12px;
        max-width: 90%;
        word-wrap: break-word;
        position: relative;
    }

    .chat-message.system .bubble {
        background-color: #333;
        color: #ccc;
        margin-left: auto;
    }

    .chat-message.other .bubble {
        background-color: #007bff;
        color: #fff;
        margin-right: auto;
    }

    .chat-message .timestamp {
        font-size: 11px;
        color: #bbb;
        margin-top: 4px;
    }

.badge-stack {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px; /* etiketler arası boşluk */
    z-index: 20;
}

.shop-flash-badge {
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    border-radius: 4px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    box-shadow: 0 0 4px rgba(0,0,0,0.2);
    white-space: nowrap;
    pointer-events: none;
}

    .shop-flash-badge.bg-warning {
        background-color: #ff9800;
    }

    .shop-flash-badge.bg-success {
        background-color: #4caf50;
    }
