
        .navbar-other .navbar-search form .form-control {
            color: #000;
        }

        .form-sort .form-control {
            background: #222 !important;
        }

        .select span {
            z-index: 1;
        }

        #autocomplete-results {
            list-style-type: none;
            padding: 0;
            margin: 0;
            min-width: 250px;
        }

        #autocomplete-results li {
            padding: 5px;
            cursor: pointer;
            width: 100%;
        }

        #autocomplete-results li:hover {
            background: rgba(51, 51, 51, 0.2);
        }

        #autocomplete-results a {
            display: flex;
            flex-direction: row;
        }

        .image-container {
            position: relative;
            width: 100%;
        }

        .image-container img {
            width: 100%;
            /* ให้รูปเต็มพื้นที่ */
            height: auto;
        }

        .sold-out-overlay {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background-color: #ffffff96;
            width: 100%;
            color: #000000;
            font-size: 1.8rem;
            font-weight: bold;
            padding: 20px;
            text-align: center;
            display: none;
            /* ซ่อน overlay เริ่มต้น */
        }

        .item .sold-out-overlay {
            display: block;
            /* แสดง overlay เมื่อสินค้าหมด */
        }

        .cate .item {
            padding: 0;
            min-height: 230px;
        }

        .cate .item img {
            width: 100%;
            height: 150px;
            max-width: 100%;
            border-radius: 10px 10px 0 0;
            margin: 0 auto 15px;
            display: block;
            object-fit: cover;
        }

        @media (max-width: 767px) {
            .cate .item {
                min-height: 160px;
            }

            .cate .item img {
                height: 95px;
            }
        }
