/* Global Styles */

/* Search Bar Styles */

.navbar-search .search-input:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25);
}

.search-suggestions-dropdown {
    border-top: none !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.suggestion-item:last-child {
    border-bottom: none !important;
}

.suggestion-item:hover {
    background-color: #f8f9fa !important;
}

@media (max-width: 991.98px) {
    .navbar-search {
        max-width: none !important;
    }
}

/* Related Products */
.product-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.product-image-container {
    aspect-ratio: 1;
    position: relative;
    overflow: hidden;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image-container img {
    transform: scale(1.1);
}

/* No Image Placeholder */
.no-image-placeholder {
    aspect-ratio: 1;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card .card-title {
    margin-bottom: .5rem;
}

.product-card .price-container .mprice {
    text-align: right;
}