﻿/* PAGE */
.bundle-title {
    font-weight: 700;
    margin-bottom: 10px;
}

/* BUNDLE IMAGE */
.bundle-image {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* INCLUDED ITEMS */
.bundle-items {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.bundle-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 2px solid #eee;
    border-radius: 10px;
    cursor: pointer;
    transition: all .25s ease;
    background: #fff;
}

    .bundle-item img {
        width: 45px;
        height: 45px;
        object-fit: cover;
        border-radius: 8px;
    }

    .bundle-item:hover {
        border-color: #2a7fff;
        transform: translateY(-3px);
    }

    .bundle-item.selected {
        border-color: #2a7fff;
        background: #f0f6ff;
    }

/* ACTION BUTTONS */

.bundle-actions {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.custom-btn {
    padding: 10px 22px;
    border: none;
    background: #2a7fff;
    color: #fff;
    border-radius: 8px;
    transition: .25s;
}

    .custom-btn:hover {
        background: #1c5ed6;
    }

.cart-btn {
    padding: 10px 22px;
    border: none;
    background: #00b67a;
    color: #fff;
    border-radius: 8px;
}

    .cart-btn:hover {
        background: #009966;
    }

/* AVAILABLE PRODUCTS */

.available-products {
    margin-top: 60px;
}

.product-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-behavior: smooth;
}

    .product-scroll::-webkit-scrollbar {
        height: 8px;
    }

    .product-scroll::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 20px;
    }

/* PRODUCT CARD */

.product-card {
    min-width: 180px;
    background: #fff;
    border-radius: 14px;
    padding: 15px;
    text-align: center;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all .25s ease;
    position: relative;
}

    .product-card img {
        width: 90px;
        height: 90px;
        object-fit: cover;
        margin-bottom: 10px;
    }

    .product-card p {
        font-weight: 600;
        margin-bottom: 10px;
    }

    /* HOVER EFFECT */

    .product-card:hover {
        transform: translateY(-6px);
        border-color: #2a7fff;
    }

    /* SELECTED STATE */

    .product-card.selected {
        border-color: #00b67a;
        background: #f3fff9;
    }

/* ADD BUTTON */

.add-btn {
    border: none;
    background: #2a7fff;
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 14px;
    transition: .2s;
}

    .add-btn:hover {
        background: #1c5ed6;
    }

/* REMOVE BUTTON */

.remove-btn {
    border: none;
    background: #ff4d4d;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
}

    .remove-btn:hover {
        background: #e60000;
    }

/* QUANTITY */

.qty-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 6px;
    background: #eee;
    font-weight: 600;
}

    .qty-btn:hover {
        background: #ddd;
    }

.qty-value {
    min-width: 20px;
    text-align: center;
}

/* MOBILE */

@media(max-width:768px) {

    .bundle-items {
        gap: 10px;
    }

    .product-card {
        min-width: 150px;
    }

    .bundle-image {
        margin-bottom: 20px;
    }
}
