/* Custom Kitchen Equipment Theme Styles */

/* Product Cards Enhancement */
.product-card {
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.product-card:hover {
    border-color: var(--theme-primary-color);
}

/* Category Circles */
.category-circle {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    transition: all 0.3s ease;
}

.category-circle:hover {
    background: linear-gradient(135deg, var(--theme-primary-color) 0%, #c82333 100%);
    border-color: var(--theme-primary-color);
    transform: scale(1.05);
}

.category-circle:hover .category-icon,
.category-circle:hover .category-label {
    color: white !important;
}

/* Brand Cards */
.brand-card {
    position: relative;
    overflow: hidden;
}

.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.brand-card:hover::before {
    left: 100%;
}

/* Featured Product Cards */
.featured-product-card {
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.featured-product-card:hover {
    border-color: var(--theme-primary-color);
}

/* On Sale Badge */
.product-card::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 0;
    height: 0;
}

.product-card .product-price .old {
    position: relative;
}

/* Services Section */
.services-section {
    background: var(--theme-light);
    padding: 60px 0;
}

.service-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 48px;
    color: var(--theme-primary-color);
    margin-bottom: 20px;
}

.service-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--theme-dark);
}

.service-description {
    color: #6c757d;
    font-size: 14px;
}

/* Client Logos Section */
.clients-section {
    background: white;
    padding: 60px 0;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
}

.client-logo {
    opacity: 0.6;
    transition: opacity 0.3s ease;
    filter: grayscale(100%);
}

.client-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card,
.brand-card,
.category-circle {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--theme-primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top:hover {
    background: #c82333;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.scroll-to-top.show {
    display: flex;
}

/* Utility Classes */
.text-kitchen-primary {
    color: var(--theme-primary-color) !important;
}

.bg-kitchen-primary {
    background-color: var(--theme-primary-color) !important;
}

.border-kitchen-primary {
    border-color: var(--theme-primary-color) !important;
}

/* Header Responsive Styles */
@media (max-width: 992px) {
    .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 20px;
    }
    
    .search-section {
        margin-top: 15px;
        margin-bottom: 15px;
    }
    
    .user-actions {
        justify-content: flex-start;
        margin-top: 10px;
    }
    
    .category-nav-menu {
        flex-direction: column;
        width: 100%;
    }
    
    .category-nav-item {
        width: 100%;
    }
    
    .category-nav-link {
        border-bottom: 1px solid var(--theme-border);
        border-left: 3px solid transparent;
    }
    
    .category-nav-link:hover {
        border-bottom-color: var(--theme-border);
        border-left-color: var(--theme-primary-color);
    }
}

@media (max-width: 768px) {
    .service-item {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .service-icon {
        font-size: 36px;
    }
    
    .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 15px;
    }
    
    /* Top Bar Mobile */
    .top-bar {
        padding: 8px 0;
    }
    
    .top-bar-left {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 8px;
    }
    
    .top-bar-logo,
    .top-bar-brand {
        margin-left: 0 !important;
    }
    
    .top-bar-right {
        text-align: left !important;
        margin-top: 10px;
        gap: 15px;
    }
    
    /* Main Header Mobile */
    .main-header {
        padding: 15px 0;
    }
    
    .main-logo-text {
        align-items: center;
    }
    
    .logo-letter {
        font-size: 36px;
    }
    
    .logo-text-below {
        font-size: 14px;
    }
    
    .search-section {
        padding: 0;
        margin: 15px 0;
    }
    
    .search-input-header {
        font-size: 13px;
        padding: 10px 45px 10px 15px;
    }
    
    .search-btn-header {
        right: 3px;
        padding: 6px 10px;
    }
    
    .user-actions {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .user-action-link {
        font-size: 13px;
    }
    
    .user-action-text {
        font-size: 13px;
    }
    
    /* Promo Carousel Mobile */
    .promo-carousel-content {
        margin: 0 30px;
    }
    
    .promo-carousel-btn {
        font-size: 16px;
        padding: 3px 8px;
    }
    
    .promo-text {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .top-bar {
        padding: 10px 0;
    }
    
    .official-store-text {
        font-size: 12px;
    }
    
    .top-bar-brand {
        font-size: 14px;
    }
    
    .top-bar-link {
        font-size: 12px;
    }
    
    .main-logo-image {
        max-height: 45px;
    }
    
    .logo-letter {
        font-size: 32px;
    }
    
    .logo-text-below {
        font-size: 12px;
    }
    
    .search-input-header {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .search-btn-header {
        padding: 8px 15px;
    }
    
    .user-action-text {
        display: none;
    }
    
    .user-action-link {
        font-size: 18px;
    }
    
    .category-nav-link {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .promo-carousel-content {
        margin: 0 25px;
    }
    
    .promo-text {
        font-size: 11px;
    }
}
