.search-container {
  position: relative;
  margin-bottom: 2rem;
}

.search-input {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 12px 50px 12px 16px;
  font-size: 14px;
  width: 100%;
  max-width: 400px;
}

.search-input:focus {
  outline: none;
  border-color: #0066cc;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.search-btn {
  background: none;
  border: none;
  color: #6c757d;
  cursor: pointer;
}

.dropdown-toggle {
  border: 1px solid #dee2e6;
  background: white;
  color: #495057;
  padding: 12px 20px;
  border-radius: 8px;
  min-width: 120px;
}

.dropdown-toggle:focus {
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}



@media (max-width: 768px) {
  .search-input {
    max-width: 92%;
    margin-bottom: 15px;
  }

  .brand-card {
    margin-bottom: 15px;
  }
}

        /* Brand Grid Container */
        #productGrid_inbrand_view {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            padding: 20px 0;
        }

        /* Product Card Wrapper */
        .product-card-wrapper {
            flex: 0 0 auto;
            width: 160px;
            margin-bottom: 20px;
        }

        .product-card-wrapper .product-card {
            box-shadow: none !important;
            border: 1px solid #0a6629ff !important;
        }

        .product-card:hover {
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            transform: translateY(-2px);
            border-color: #007bff;
        }

        /* Brand Logo Container */
        .brand-logo_inView-container {
            width: 100%;
            height: 135px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 15px;

        }

        /* Brand Logo */
        .brand-logo_inView {
            max-width: 100%;
            max-height: 80px;
            object-fit: contain;
            display: block;
        }

        /* Product Title */
        .product-title_inbrandView {
            font-size: 14px;
            font-weight: 600;
            color: #ffffff;
            background-color: #0a6629ff;
            margin: 0;
            padding: 8px 12px;
            text-align: center;
            line-height: 1.4;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            word-break: break-word;
            border-radius: 4px;
            position: absolute;
            width: 100%;
            bottom: 0;
            left: 0;
        }

        /* Loading State */
        .loading {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 60px 20px;
            width: 100%;
        }

        .loading .spinner-border {
            width: 3rem;
            height: 3rem;
            color: #007bff;
        }

        .loading p {
            color: #666;
            font-size: 16px;
            margin-top: 15px;
        }

        /* No Products State */
        .no-products {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 60px 20px;
            width: 100%;
            text-align: center;
        }

        .no-products p {
            color: #666;
            font-size: 16px;
            margin-bottom: 15px;
        }

        .no-products .btn {
            margin-top: 10px;
        }

        .productCard_forBrand {
            padding: 0 !important;
            border-radius: 4px !important;
        }

        /* Responsive Design */
        @media (max-width: 1400px) {
            .product-card-wrapper {
                width: 150px;
            }
        }

        @media (max-width: 1200px) {
            .product-card-wrapper {
                width: 140px;
            }

            .product-title_inbrandView {
                font-size: 11px;
            }
        }

        @media (max-width: 992px) {
            .product-card-wrapper {
                width: calc(25% - 15px);
            }
        }

        @media (max-width: 768px) {
            .product-card-wrapper {
                width: calc(33.333% - 14px);
            }

            .productCard_forBrand{
                padding: 15px 10px;
                min-height: 135px;
            }

            .brand-logo_inView-container {
                height: 109px;
            }

            .brand-logo_inView {
                max-height: 70px;
            }
        }

        @media (max-width: 576px) {
            .product-card-wrapper {
                padding-left: 0px !important;
                padding-right: 0px !important;
            }

            #productGrid_inbrand_view {
                gap: 15px;
            }
             .brand-logo_inView-container_main{
          width: 130px !important;
          height: 151px !important;
        }
        }
