/* Category-based Shop Styles */

.category-section {
    margin-bottom: 3rem;
}

.horizontal-scroll-container {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.horizontal-scroll-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.scroll-btn {
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.scroll-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.product-card .add-to-cart-btn {
    transition: all 0.2s ease;
}

.product-card:hover .add-to-cart-btn {
    transform: scale(1.05);
}

.text-sylflora-green {
    color: #023020;
}

.bg-sylflora-green {
    background-color: #023020;
}

.bg-sylflora-green:hover {
    background-color: #034a30;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .category-section h2 {
        font-size: 1.25rem;
    }
    
    .product-card {
        width: 160px;
    }
    
    .horizontal-scroll-container {
        padding-bottom: 1rem;
    }
    
    .scroll-btn {
        display: none !important;
    }
}

/* Loading states */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Category badge styles */
.category-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

/* Price display */
.price-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.price-container .line-through {
    text-decoration: line-through;
}

/* Smooth scrolling for category sections */
.category-sections-container {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
.product-card:focus,
.scroll-btn:focus,
button:focus {
    outline: 2px solid #023020;
    outline-offset: 2px;
}

/* View all button */
.view-all-btn {
    transition: all 0.2s ease;
}

.view-all-btn:hover svg {
    transform: translateX(2px);
}

/* Search results styling */
.search-results-header {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}