/* Owl Carousel Navigation */
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
    display: none !important;
}
.owl-carousel .owl-dots {
    text-align: center;
    margin-top: 20px;
}
.owl-carousel .owl-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #ddd;
    border-radius: 50%;
    margin: 0 5px;
}
.owl-carousel .owl-dot.active {
    background: #7fad39;
}

/* Banner click areas */
.hero-banner-slider {
    position: relative;
    cursor: pointer;
}
.banner-nav-left,
.banner-nav-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    z-index: 5;
    cursor: pointer;
}
.banner-nav-left {
    left: 0;
}
.banner-nav-right {
    right: 0;
}

/* Hero Section */
.hero__search {
    margin-bottom: 30px;
}

.hero__search__form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.hero__search__form input {
    flex: 1;
    min-width: 200px;
}

.hero__search__phone {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hero__item {
    min-height: 431px;
    display: flex;
    align-items: center;
    background-size: cover !important;
    background-position: center !important;
    border-radius: 10px;
}

.hero__text {
    padding: 40px;
}

/* Filter Controls */
.filter-controls {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

/* Category Filter */
.category-filter-wrapper,
.sort-filter-wrapper {
    position: relative;
    display: inline-block;
}

.category-btn,
.sort-btn {
    background: #7fad39;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 180px;
    justify-content: space-between;
    transition: background 0.3s;
}

.category-btn:hover,
.sort-btn:hover {
    background: #6a9632;
}

.category-btn i,
.sort-btn i {
    font-size: 12px;
    transition: transform 0.3s;
}

.category-btn.active i,
.sort-btn.active i {
    transform: rotate(180deg);
}

.category-dropdown,
.sort-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-top: 5px;
    min-width: 180px;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 100;
}

.category-dropdown.show,
.sort-dropdown.show {
    display: block;
}

.category-option,
.sort-option {
    display: block;
    padding: 12px 20px;
    color: #1c1c1c;
    text-decoration: none;
    transition: background 0.2s;
    border-bottom: 1px solid #f5f5f5;
}

.category-option:last-child,
.sort-option:last-child {
    border-bottom: none;
}

.category-option:hover,
.sort-option:hover {
    background: #f5f5f5;
    color: #7fad39;
}

@media (max-width: 768px) {
    .filter-controls {
        justify-content: flex-start;
        width: 100%;
        margin-top: 15px;
    }
    
    .category-filter-wrapper,
    .sort-filter-wrapper {
        width: 48%;
    }
    
    .category-btn,
    .sort-btn {
        width: 100%;
        min-width: auto;
    }
    
    .category-dropdown,
    .sort-dropdown {
        right: 0;
        left: 0;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .category-filter-wrapper,
    .sort-filter-wrapper {
        width: 100%;
    }
}

/* Product Grid */
.featured__item {
    margin-bottom: 15px;
    transition: transform 0.3s;
}

.featured__item:hover {
    transform: translateY(-5px);
}

.featured__item__pic {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    position: relative;
}

.product-image-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.featured__item__text {
    padding-top: 10px;
}

.featured__item__text h6 {
    margin-bottom: 5px;
}

.featured__item__text h6 a {
    color: #1c1c1c;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured__item__text h6 a:hover {
    color: #7fad39;
}

.featured__item__text h5 {
    color: #252525;
    font-weight: 700;
    font-size: 16px;
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .featured__item__pic {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .hero__search__form {
        flex-direction: column;
    }
    
    .hero__search__form input {
        min-width: 100%;
        margin-bottom: 10px;
    }
    
    .hero__search__phone {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .hero__text {
        padding: 20px;
        text-align: center;
    }
    
    .hero__text h2 {
        font-size: 24px;
    }
    
    .featured__item__pic {
        height: 160px;
    }
}

@media (max-width: 576px) {
    .hero__item {
        min-height: 250px;
    }
    
    .hero__text h2 {
        font-size: 20px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .featured__item__pic {
        height: 140px;
    }
    
    .featured__item__text h6 a {
        font-size: 13px;
    }
    
    .featured__item__text h5 {
        font-size: 14px;
    }
}
