﻿#MainContent_btSearch {
    position: relative;
    top: -30px;
    left: 10px;
    float: left;
}

.product-slider {
    display: flex;
    flex-direction: row;
    padding: 0.5rem;
    user-select: none;
    overflow-x: auto;
    white-space: nowrap;
    cursor: grab;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,-0.8) transparent;
}

    .product-slider::-webkit-scrollbar {
        height: 6px;
    }

    .product-slider::-webkit-scrollbar-track {
        background: transparent;
    }

    .product-slider::-webkit-scrollbar-thumb {
        background-color: rgba(0,0,0,0.2);
        border-radius: 3px;
        border: 1px solid transparent;
    }

    .product-slider:hover::-webkit-scrollbar-thumb {
        background-color: rgba(0,0,0,0.3);
    }


.product-slider-all {
    flex-direction: row;
    gap: 1.5rem;
    user-select: none;
}

.product-card {
    max-width: 200px !important;
    background: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.03);
    transition: transform 0.3s;
    flex-shrink: 0;
    text-align: center;
    height: auto !important;
    display: flex;
    flex-direction: column;
    float: right;
    margin-left: 5px;
    margin-bottom: 5px;
    overflow: hidden;
}

    .product-card:hover {
        transform: translateY(-5px);
    }

    .product-card .card-body {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        position: relative;
    }

.card-title {
    min-height: 40px;
    margin-bottom: 10px !important;
    font-size: 17px !important;
}

.card-text {
    flex-grow: 1;
    font-size: 14px !important;
}

.price {
    font-size: 12px;
    margin-top: 10px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .price .old {
        text-decoration: line-through;
        color: #888;
        margin-left: 8px;
    }

    .price .new {
        color: red;
        font-weight: bold;
    }

.product-card .card-body a.btn {
    margin-top: auto;
    padding: 0.2rem 2rem !important;
    width: 100%;
    box-sizing: border-box;
}

.more-card {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: linear-gradient(145deg, #fff5d6, #ffe8a3);
    color: #333;
}

    .more-card button {
        background-color: #ffc107;
        border: none;
        padding: 10px 20px;
        border-radius: 10px;
        font-weight: bold;
        transition: all 0.3s;
    }

        .more-card button:hover {
            background-color: #ffca2c;
            transform: translateY(-3px);
        }

.product-slider .last-product {
    margin-right: 0;
}

.card-img-top {
    margin: 0px auto;
}

.img-morecard {
    width: 75% !important;
    padding-top: 35% !important;
    margin: 0px auto !important;
}

@media screen and (max-width: 580px) {
    .price {
        font-size: 9px !important;
    }

    .card-text {
        font-size: 11px !important;
    }

    .card-title {
        font-size: 12px !important;
    }

    .btn-success {
        min-width: 100px !important;
    }

    .product-card {
        flex: 0 0 48%;
        max-width: 48% !important;
        height: auto !important;
    }

        .product-card .price {
            margin: 1% 6% 1% 1%;
        }
}
/*
.table th, .table td {
    padding: 1.4rem;
}

.del {
    color: #ff8c8c;
    text-decoration: line-through;
}

.product-details select,
.product-details .form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 8px 40px 8px 12px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='gray' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") no-repeat left 12px center;
    background-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.form-control.text-body {
    background: none !important;
}

.product-details .form-control.quantity {
    background: none !important;
}

select.form-select:hover {
    border-color: #28a745;
    box-shadow: 0 0 6px rgba(40, 167, 69, 0.2);
}

select.form-select:focus {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.3);
}

.product-details .form-check-inline input[type=checkbox] {
    accent-color: #28a745;
    transform: scale(1.2);
    margin-left: 6px;
}

.details-filter-row label, .details-filter-row .lblvariable {
    width: 110px !important;
    margin-top: -4px !important;
    padding-right: 5px !important;
    text-align: right;
}

.product-details .form-check-inline input[type=checkbox] {
    float: right !important;
}

.product-main-image img {
    max-height: 350px !important;
    width: auto !important;
    margin: 0px auto !important;
}

.product-main-image {
    position: relative;
}

.gallery-btn {
    position: absolute;
    bottom: 10px;
    left: 10px;
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    z-index: 10;
    line-height: 0;
    padding: 5px;
    background-color: white;
}

.bootstrap-touchspin {
    width: 60% !important;
}

.btn-outline-secondary {
    background-color: #6c757d !important;
    color: white !important;
}

.bootstrap-touchspin .input-group-btn-vertical {
    display: none;
}

.bootstrap-touchspin .input-group-prepend,
.bootstrap-touchspin .input-group-append {
    display: flex;
}

.input-group-prepend,
.input-group-append {
    display: flex;
}

    .input-group-prepend .btn,
    .input-group-append .btn {
        z-index: 2;
    }

.bootstrap-touchspin-down, .bootstrap-touchspin-up {
    border: 1px solid #e4e7ea !important;
    background-color: #e4e7ea !important;
    color: black !important;
}

.bootstrap-touchspin-down {
    font-size: larger !important;
    font-weight: bold;
}

.product-details select, .product-details .form-control {
    border-radius: 0px !important;
    padding: 8px 10px 8px 10px !important;
}

.modal-content span {
    font-size: 18px !important;
}

@media screen and (max-width: 580px) {
    .modal-content {
        width: 80% !important;
        margin: 0px auto !important;
    }

        .modal-content span {
            font-size: 13px !important;
        }

    .btn-success.btcart {
        width: 160px !important;
    }
}

.product-gallery-item:before, .product-gallery-item:after {
    bottom: 0rem;
}
*/