/* Performance optimizations */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #111;
    background-color: #fff;
    font-size: 15px;
    font-display: swap;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Optimize images */
img {
    max-width: 100%;
    height: auto;
    font-style: italic;
}

/* Performance: Will-change for animated elements */
.carousel-btn,
.search-button,
.suggestion-item {
    will-change: transform;
}

h1, h2, h3, h4, h5, h6, .product-info h3 {
    color: #111;
    font-weight: 700;
}

.header {
    background: #fff;
    border-bottom: 1px solid #28a745;
    position: sticky;
    top: 0;
    z-index: 1000;
    font-weight: 500;
    transition: top 0.3s ease;
}

.header.hidden {
    top: -150px;
}

.header-top {
    background-color: #007bff;
    color: #fff;
    padding: 10px 0;
    font-size: 13px;
}

.header-main {
    padding: 25px 0;
}

.header-main nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 40px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #28a745;
    text-decoration: none;
}

.nav-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    color: #111;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 600;
}

.nav-menu a:hover {
    color: #28a745;
}

/* Hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
    outline: none;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #007bff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 25px;
}

.header-actions a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.hero-section {
    background: #e3f6ed;
    padding: 80px 0 40px;
}

.hero-content .promo-badge {
    font-size: 14px;
    font-weight: 600;
    color: #28a745;
    margin-bottom: 20px;
    display: block;
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.btn-primary {
    background: linear-gradient(90deg, #28a745 0%, #007bff 100%);
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(40,167,69,0.08);
}

.btn-primary:hover {
    background: linear-gradient(90deg, #007bff 0%, #28a745 100%);
    color: #fff;
}

.hero-image img {
    max-width: 100%;
    border-radius: 5px;
}

.categories-section,
.products-section {
    padding: 40px 0;
}
        
.section-header {
    margin-bottom: 50px;
}
        
.section-title {
    font-size: 36px;
    font-weight: 700;
}

.category-card {
    text-decoration: none;
    color: #333;
    display: block;
    margin-bottom: 30px;
}

.category-image {
    margin-bottom: 20px;
    height: 250px; /* Or a suitable fixed height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover; /* Back to cover for regular images */
    max-width: 100%;
    max-height: 100%;
}

.category-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-info h3 {
    font-size: 20px;
    margin: 0;
}

.product-card {
    margin-bottom: 30px;
}

.product-card .product-image {
    position: relative;
    margin-bottom: 20px;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Product detail page images */
.product-gallery .main-image {
    width: 100%;
    max-width: 500px;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
}

.product-gallery .main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-gallery .thumbnail-images .img-thumbnail {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.2s ease-in-out;
}

.product-gallery .thumbnail-images .img-thumbnail:hover {
    opacity: 1;
}

.product-gallery .thumbnail-images .img-thumbnail.active {
    opacity: 1;
    border-color: #007bff;
}

/* Responsive Design - Mobile First Approach */

/* Large screens (1200px and up) */
@media (min-width: 1200px) {
    .hero-content h1 {
        font-size: 72px;
    }
    
    .section-title {
        font-size: 42px;
    }
    
    .nav-menu {
        gap: 50px;
    }
}

/* Medium screens (768px to 1199px) */
@media (max-width: 1199px) and (min-width: 768px) {
    .hero-content h1 {
        font-size: 56px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .nav-menu {
        gap: 30px;
    }
    
    .header-main {
        padding: 20px 0;
    }
}

/* Tablet screens (768px and down) */
@media (max-width: 768px) {
    /* Header adjustments */
    .header-main {
        padding: 15px 0;
        position: relative;
    }
    
    .hamburger {
        display: flex;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
        flex-shrink: 0;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        transition: left 0.3s ease;
        z-index: 1000;
        padding: 20px;
        box-sizing: border-box;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        padding: 15px 30px;
        border-radius: 8px;
        background: #fff;
        color: #111;
        font-weight: 500;
        font-size: 16px;
        transition: all 0.3s ease;
        width: 200px;
        text-align: center;
        border: 2px solid #e2e8f0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }
    
    .nav-menu a:hover {
        background: #f8f9fa;
        color: #28a745;
        border-color: #cbd5e0;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    }
    
    .header-main nav {
        justify-content: flex-end;
        gap: 15px;
        padding-right: 70px;
        align-items: center;
    }
    

    
    /* Hero section */
    .hero-section {
        padding: 60px 0 30px;
    }
    
    .hero-content h1 {
        font-size: 42px;
        margin-bottom: 15px;
    }
    
    .hero-content p {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    /* Section titles */
    .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    /* Categories and products */
.categories-section,
.products-section {
    padding: 30px 0;
}

.categories-section .container,
.products-section .container {
    padding-left: 20px;
    padding-right: 20px;
}

.category-image {
    height: 200px;
}

.category-info h3 {
    font-size: 18px;
}
    
    /* Product cards */
    .product-card .product-image {
        height: 220px;
    }
    
    .product-info h3 {
        font-size: 16px;
    }
    
    .product-info .price {
        font-size: 15px;
    }
    
    /* Product detail page */
    .product-gallery .main-image {
        max-width: 400px;
        height: 300px;
    }
    
    .product-gallery .thumbnail-images {
        gap: 8px;
    }
    
    .product-gallery .thumbnail-images .img-thumbnail {
        width: 80px;
        height: 80px;
    }
    
    /* Specifications */
    .specifications-list {
        padding: 15px;
    }
    
    .specification-item {
        padding: 12px 15px;
    }
    
    .specification-text {
        font-size: 14px;
    }
    
    /* Related products */
    .related-products {
        min-height: 350px;
    }
    
    .related-products .product-card {
        max-width: 280px;
    }
    
    /* Footer */
    .footer {
        padding: 60px 0;
    }
    
    .footer-widget {
        margin-bottom: 30px;
    }
}

/* Mobile screens (576px and down) */
@media (max-width: 576px) {
    /* Header */
    .header-top {
        padding: 8px 0;
        font-size: 12px;
    }
    
    .header-main {
        padding: 12px 0;
    }
    
    .hamburger {
        right: 15px;
        flex-shrink: 0;
    }
    
    .hamburger span {
        width: 22px;
        height: 2px;
    }
    
    .nav-menu a {
        padding: 12px 25px;
        font-size: 15px;
        width: 180px;
        border-radius: 6px;
        color: #111;
    }
    
    .header-main nav {
        padding-right: 60px;
        justify-content: flex-end;
        align-items: center;
        gap: 12px;
    }
    

    
    /* Hero section */
    .hero-section {
        padding: 40px 0 20px;
    }
    
    .hero-content h1 {
        font-size: 32px;
        margin-bottom: 12px;
    }
    
    .hero-content p {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .hero-content .promo-badge {
        font-size: 12px;
        margin-bottom: 15px;
    }
    
    /* Buttons */
    .btn-primary {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    /* Section titles */
    .section-title {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    /* Categories and products */
.categories-section,
.products-section {
    padding: 25px 0;
}

.categories-section .container,
.products-section .container {
    padding-left: 15px;
    padding-right: 15px;
}

.category-image {
    height: 180px;
}

.category-info h3 {
    font-size: 16px;
}
    
    /* Product cards */
    .product-card {
        margin-bottom: 25px;
    }
    
    .product-card .product-image {
        height: 200px;
        margin-bottom: 15px;
    }
    
    .product-info h3 {
        font-size: 15px;
        margin-bottom: 8px;
    }
    
    .product-info .price {
        font-size: 14px;
    }
    
    /* Product detail page */
    .product-gallery .main-image {
        height: 250px;
    }
    
    .product-gallery .thumbnail-images {
        margin-top: 15px;
    }
    
    .product-gallery .thumbnail-images .img-thumbnail {
        width: 60px;
        height: 60px;
        margin-right: 8px;
        margin-bottom: 8px;
    }
    
    .specifications-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .specification-item {
        padding: 12px;
    }
    
    .specification-item:before {
        width: 6px;
        height: 6px;
        margin-right: 8px;
    }
    
    .specification-text {
        font-size: 13px;
    }
    
    .related-products {
        min-height: 300px;
    }
    
    .related-products .product-card {
        max-width: 250px;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0;
    }
    
    .footer-widget h5 {
        font-size: 15px;
        color: #ecf0f1;
    }
    
    .footer-widget li {
        margin-bottom: 8px;
    }
    
    .footer-widget a {
        font-size: 13px;
        color: #bdc3c7;
    }
    
    .footer-contact-details div {
        font-size: 14px;
    }
    
    .footer-contact-details i {
        font-size: 12px;
    }
    
    .footer-bottom {
        padding: 15px 0;
        font-size: 12px;
    }
}

/* Extra small screens (480px and down) */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .categories-section .container,
    .products-section .container {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .product-card .product-image {
        height: 180px;
    }
    
    .product-gallery .main-image {
        height: 220px;
    }
    
    .hamburger {
        right: 10px;
        flex-shrink: 0;
    }
    
    .hamburger span {
        width: 20px;
        height: 2px;
    }
    
    .nav-menu a {
        padding: 10px 20px;
        font-size: 14px;
        width: 160px;
        border-radius: 6px;
        color: #111;
    }
    
    .header-main nav {
        padding-right: 50px;
        justify-content: flex-end;
        align-items: center;
        gap: 10px;
    }
    

    
    .btn-primary {
        padding: 10px 25px;
        font-size: 13px;
    }
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #fff;
    color: #28a745;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
}

.product-info h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
}

.product-info .price {
    font-size: 16px;
    font-weight: 600;
    color: #28a745;
}

.thumbnail-images .img-thumbnail {
    opacity: 0.6;
    transition: opacity 0.2s ease-in-out;
}

.thumbnail-images .img-thumbnail:hover {
    opacity: 1;
}

.thumbnail-images .img-thumbnail.active {
    opacity: 1;
    border-color: #007bff;
}

.features-section {
    padding: 40px 0 80px;
}

.feature-item {
    text-align: justify;
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.footer {
    background: #2c3e50;
    padding: 80px 0;
    border-top: 1px solid #28a745;
    text-align: center;
    color: #ecf0f1;
}

.footer .container, .footer .row {
    justify-content: center !important;
    text-align: center;
}

.footer-widget {
    text-align: center;
}

.footer-widget h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ecf0f1;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget li {
    margin-bottom: 10px;
}

.footer-widget a {
    color: #bdc3c7;
    text-decoration: none;
}

.footer-widget a:hover {
    color: #28a745;
}

.footer-bottom {
    background: #1a252f;
    padding: 20px 0;
    border-top: 1px solid #28a745;
    font-size: 14px;
    text-align: center;
    color: #bdc3c7;
}

.footer-bottom .container {
    justify-content: center !important;
    text-align: center;
}

/* Specifications List Styling */
.specifications-list {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.specification-item {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    transition: background-color 0.2s ease;
}

.specification-item:last-child {
    border-bottom: none;
}

.specification-item:nth-child(odd) {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.specification-item:nth-child(even) {
    background: #fff;
}

.specification-item:hover {
    background: #edf2f7;
}

.specification-item:before {
    content: "•";
    color: #667eea;
    font-weight: bold;
    margin-right: 12px;
    font-size: 16px;
    min-width: 12px;
}

.specification-text {
    color: #4a5568;
    font-size: 15px;
    line-height: 1.5;
    flex: 1;
    font-weight: 500;
}

/* Related Products Carousel */
.related-products {
    position: relative;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.related-products .product-card {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    transition: opacity 0.5s ease-in-out;
}

.related-products .product-card[style*="display: none"] {
    opacity: 0;
}

.related-products .product-card:not([style*="display: none"]) {
    opacity: 1;
}

/* Main Content Padding */
main.container {
    padding: 40px 15px !important;
}

/* Additional padding for smaller screens */
@media (max-width: 768px) {
    main.container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

@media (max-width: 576px) {
    main.container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

@media (max-width: 480px) {
    main.container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

/* Force padding on all content sections */
.categories-section .container,
.products-section .container,
.features-section .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

@media (max-width: 576px) {
    .categories-section .container,
    .products-section .container,
    .features-section .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

@media (max-width: 480px) {
    .categories-section .container,
    .products-section .container,
    .features-section .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

/* Additional row padding for mobile */
@media (max-width: 768px) {
    .row {
        margin-left: 10px !important;
        margin-right: 10px !important;
    }
    
    .col-md-3,
    .col-md-4,
    .col-md-6 {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

@media (max-width: 576px) {
    .row {
        margin-left: 8px !important;
        margin-right: 8px !important;
    }
    
    .col-md-3,
    .col-md-4,
    .col-md-6 {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}

@media (max-width: 480px) {
    .row {
        margin-left: 6px !important;
        margin-right: 6px !important;
    }
    
    .col-md-3,
    .col-md-4,
    .col-md-6 {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }
} 

.footer-contact-details {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}
.footer-contact-details div {
    margin-bottom: 18px;
    color: #bdc3c7;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
}
.footer-contact-details div:last-child {
    margin-bottom: 0;
}
.footer-contact-details i {
    color: #28a745;
    min-width: 16px;
    margin-top: 2px;
    font-size: 14px;
} 

/* ========================================
   RELATED PRODUCTS CAROUSEL
   ======================================== */

.related-products-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 400px;
    margin: 0 auto;
}

.related-products {
    flex: 1;
    padding: 0 20px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(40, 167, 69, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.carousel-btn:hover {
    background: rgba(40, 167, 69, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.carousel-btn-left {
    left: -10px;
}

.carousel-btn-right {
    right: -10px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.indicator-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator-dot.active {
    background: #28a745;
    transform: scale(1.2);
}

.indicator-dot:hover {
    background: #28a745;
    opacity: 0.8;
}

/* Responsive carousel adjustments */
@media (max-width: 768px) {
    .related-products-container {
        max-width: 300px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .carousel-btn-left {
        left: -5px;
    }
    
    .carousel-btn-right {
        right: -5px;
    }
    
    .indicator-dot {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 480px) {
    .related-products-container {
        max-width: 250px;
    }
    
    .carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .related-products {
        padding: 0 15px;
    }
}

/* ========================================
   SEARCH BAR - ROBUST IMPLEMENTATION
   ======================================== */

/* Desktop Search Bar */
.search-container {
    position: relative;
    display: inline-block;
    margin-right: 20px;
    z-index: 100;
}

.search-input {
    width: 240px;
    height: 40px;
    padding: 10px 50px 10px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 25px;
    font-size: 14px;
    background: #f8f9fa;
    color: #333;
    transition: all 0.3s ease;
    outline: none;
    font-family: 'Inter', sans-serif;
}

.search-input:focus {
    border-color: #007bff;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.search-input::placeholder {
    color: #6c757d;
    font-weight: 400;
}

.search-button {
    position: absolute;
    right: 4px;
    top: 4px;
    width: 32px;
    height: 32px;
    background: linear-gradient(90deg, #28a745 0%, #007bff 100%);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 14px;
}

.search-button:hover {
    background: linear-gradient(90deg, #007bff 0%, #28a745 100%);
    transform: scale(1.05);
}

/* Mobile Search Bar - Compact version next to hamburger menu */
@media (max-width: 768px) {
    .search-container {
        display: inline-block;
        margin-right: 5px;
        margin-left: auto;
    }
    
    .search-input {
        width: 200px;
        height: 36px;
        padding: 8px 40px 8px 12px;
        font-size: 13px;
        border-radius: 20px;
    }
    
    .search-button {
        width: 28px;
        height: 28px;
        right: 4px;
        top: 4px;
        font-size: 12px;
    }
    
    /* Show hamburger menu on mobile */
    .hamburger {
        display: flex;
    }
    
    /* Adjust navigation for mobile */
    .header-main nav {
        justify-content: flex-end;
        padding-right: 55px;
        align-items: center;
        gap: 5px;
    }
}

/* Small Mobile - Even more compact */
@media (max-width: 576px) {
    .search-input {
        width: 170px;
        height: 34px;
        padding: 7px 36px 7px 10px;
        font-size: 12px;
    }
    
    .search-button {
        width: 26px;
        height: 26px;
        right: 3px;
        top: 4px;
        font-size: 11px;
    }
    
    .search-container {
        margin-right: 4px;
    }
    
    .header-main nav {
        padding-right: 45px;
        gap: 4px;
    }
}

/* Search Suggestions Dropdown */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e1e5e9;
    border-top: none;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 400px;
    pointer-events: auto;
    overflow-y: auto;
    margin-top: -2px;
}

.suggestion-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.suggestion-item:hover,
.suggestion-item.selected {
    background: #f8f9fa;
    color: #007bff;
}

.suggestion-item:last-child {
    border-bottom: none;
    border-radius: 0 0 15px 15px;
}

.suggestion-image {
    width: 40px;
    height: 40px;
    margin-right: 12px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.suggestion-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.suggestion-content {
    flex: 1;
    min-width: 0;
}

.suggestion-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggestion-title strong {
    color: #007bff;
    font-weight: 600;
}

.suggestion-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #666;
}

.suggestion-price {
    font-weight: 600;
    color: #28a745;
}

.suggestion-category {
    color: #666;
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 11px;
}

.suggestion-view-all {
    background: #f8f9fa;
    border-top: 1px solid #e1e5e9;
    font-weight: 500;
    color: #007bff;
}

.suggestion-view-all:hover {
    background: #e9ecef;
    color: #0056b3;
}

.suggestion-view-all .suggestion-title {
    color: inherit;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Search suggestions responsive adjustments */
@media (max-width: 768px) {
    .search-suggestions {
        border-radius: 0 0 12px 12px;
        max-height: 300px;
    }
    
    .suggestion-item {
        padding: 10px 12px;
    }
    
    .suggestion-image {
        width: 35px;
        height: 35px;
        margin-right: 10px;
    }
    
    .suggestion-title {
        font-size: 13px;
    }
    
    .suggestion-meta {
        font-size: 11px;
    }
}

@media (max-width: 576px) {
    .search-suggestions {
        max-height: 250px;
    }
    
    .suggestion-item {
        padding: 8px 10px;
    }
    
    .suggestion-image {
        width: 30px;
        height: 30px;
        margin-right: 8px;
    }
    
    .suggestion-title {
        font-size: 12px;
    }
    
    .suggestion-meta {
        font-size: 10px;
        gap: 6px;
    }
    
    .suggestion-category {
        padding: 1px 4px;
        font-size: 10px;
    }
}

/* Medium screens - reduce search bar size */
@media (max-width: 1024px) and (min-width: 769px) {
    .search-input {
        width: 200px;
        height: 38px;
        padding: 9px 45px 9px 14px;
        font-size: 13px;
    }
    
    .search-button {
        width: 30px;
        height: 30px;
        right: 4px;
        top: 4px;
        font-size: 13px;
    }
}