/**
 * WooCommerce Category Page - Optimized CSS
 * Professional, Fast-Loading Design
 * No Emojis, Clean Code
 */

/* ============================================
   ROOT VARIABLES
   ============================================ */
:root {
    --primary-color: #2D5016;
    --secondary-color: #4A7C59;
    --accent-color: #6B9080;
    --success-color: #52b788;
    --warning-color: #f77f00;
    --text-dark: #1a3409;
    --text-light: #5f7a61;
    --cream: #f8f5f0;
    --gold: #d4af37;
    --card-shadow: 0 10px 30px rgba(45, 80, 22, 0.1);
    --hover-shadow: 0 20px 40px rgba(45, 80, 22, 0.15);
    --gradient-primary: linear-gradient(135deg, #2D5016 0%, #4A7C59 100%);
    --gradient-secondary: linear-gradient(135deg, #6B9080 0%, #95b5a3 100%);
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f7dc6f 100%);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fafafa;
}

/* ============================================
   CATEGORY PAGE WRAPPER
   ============================================ */
.category-page-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* ============================================
   CATEGORY BANNER
   ============================================ */
.category-banner {
    position: relative;
    height: 500px;
    margin-bottom: 60px;
    border-radius: 24px;
    overflow: hidden;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 60px;
    color: white;
    box-shadow: var(--card-shadow);
}

.category-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.8) 0%, rgba(74, 124, 89, 0.6) 100%);
    z-index: 1;
}

.category-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(1px);
    transform: scale(1.1);
}

.banner-content {
    flex: 1;
    z-index: 3;
    position: relative;
    max-width: 600px;
}

.banner-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 24px;
    line-height: 0.95;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    letter-spacing: -0.02em;
    color: #46a54a;
}

.banner-description {
    font-size: 1.3rem;
    margin-bottom: 36px;
    opacity: 0.95;
    max-width: 550px;
    line-height: 1.6;
    font-weight: 400;
}

.banner-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 36px;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    display: block;
    color: var(--gold);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.85;
    font-weight: 500;
}

.banner-cta {
    background: var(--gradient-gold);
    color: var(--text-dark);
    border: none;
    padding: 18px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.banner-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
    color: var(--text-dark);
    text-decoration: none;
}

.banner-visual {
    flex: 0 0 350px;
    height: 340px;
    position: relative;
    z-index: 3;
}

.category-icon {
    width: 100%;
    height: 100%;
    border-radius: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 22px;
}

/* Icon fallback - removed emoji */
.category-icon-fallback {
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.1);
    border-radius: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: bold;
    backdrop-filter: blur(10px);
}

/* ============================================
   FILTERS AND CONTROLS
   ============================================ */
.category-controls {
    display: none !important;
    background: white;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 50px;
    box-shadow: var(--card-shadow);
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    border: 1px solid #e8f5e8;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-item {
    position: relative;
}

.filter-item select,
.filter-item input {
    padding: 14px 18px;
    border: 2px solid #e8f5e8;
    border-radius: 12px;
    background: white;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.3s ease;
    min-width: 160px;
    cursor: pointer;
}

.filter-item select:focus,
.filter-item input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(45, 80, 22, 0.1);
}

.view-toggle {
    display: flex;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 6px;
    border: 1px solid #e8f5e8;
}

.view-btn {
    padding: 12px 18px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-light);
    font-size: 16px;
}

.view-btn.active,
.view-btn:hover {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.category-products {
    margin-top: 50px;
}

.products-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 36px;
    padding-bottom: 20px;
    border-bottom: 3px solid #e8f5e8;
}

.results-count {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.results-meta {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 4px;
}

/* ============================================
   PRODUCTS GRID
   ============================================ */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 36px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.woocommerce ul.products.list-view {
    grid-template-columns: 1fr;
    gap: 24px;
}

/* ============================================
   PRODUCT CARD
   ============================================ */
.woocommerce ul.products li.product {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    border: 1px solid #f0f4f0;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.woocommerce ul.products.list-view li.product {
    flex-direction: row;
    height: auto;
    min-height: 240px;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--hover-shadow);
    border-color: var(--accent-color);
}

/* ============================================
   PRODUCT IMAGE
   ============================================ */
.product-image-container {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: #f8f9fa;
}

.woocommerce ul.products.list-view .product-image-container {
    width: 280px;
    height: 240px;
    flex-shrink: 0;
}

.woocommerce ul.products li.product img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.woocommerce ul.products li.product:hover img {
    transform: scale(1.1) rotate(1deg);
}

/* ============================================
   BADGES
   ============================================ */
.product-badges {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.badge {
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: white;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.badge.sale {
    background: var(--gradient-gold);
    color: var(--text-dark);
}

.badge.new {
    background: var(--gradient-secondary);
}

.badge.bestseller {
    background: var(--gradient-primary);
    animation: glow 2s ease-in-out infinite alternate;
}

.badge.limited {
    background: linear-gradient(135deg, var(--warning-color), #ff9500);
    animation: pulse 1.5s ease-in-out infinite;
}

/* ============================================
   WISHLIST BUTTON
   ============================================ */
.wishlist-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 53px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid green;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    z-index: 5;
    backdrop-filter: blur(10px);
    color: green;
}

.wishlist-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(45, 80, 22, 0.3);
}

.wishlist-btn.added {
    background: var(--primary-color);
    color: white;
}

.wishlist-btn i {
    font-size: 20px;
    transition: all 0.3s ease;
}

.wishlist-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

/* ============================================
   PRODUCT CONTENT
   ============================================ */
.product-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    background: linear-gradient(180deg, white 0%, #fafafa 100%);
}

.product-category {
    display: inline-block;
    background: var(--gradient-secondary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   PRODUCT TITLE
   ============================================ */
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 18px 0;
    line-height: 1.3;
    height: auto;
    min-height: 60px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.woocommerce ul.products li.product h2 a,
.woocommerce ul.products li.product .woocommerce-loop-product__title a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.woocommerce ul.products li.product h2 a:hover,
.woocommerce ul.products li.product .woocommerce-loop-product__title a:hover {
    color: var(--primary-color);
}

h2.woocommerce-loop-product__title {
    max-height: fit-content;
    min-height: auto !important;
}

/* ============================================
   RATING SYSTEM
   ============================================ */
.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.stars {
    display: flex;
    gap: 3px;
}

.star {
    color: var(--gold);
    font-size: 16px;
    transition: all 0.2s ease;
    filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.3));
}

.star.empty {
    color: #e8e8e8;
    filter: none;
}

.rating-text {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ============================================
   PRICE SECTION
   ============================================ */
.price-section {
    margin-bottom: 20px;
}

.price-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.price-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-badge.discount {
    background: var(--gradient-gold);
    color: var(--text-dark);
}

.price-badge.free-shipping {
    background: var(--gradient-secondary);
    color: white;
}

.woocommerce ul.products li.product .price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.woocommerce ul.products li.product .price del {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: line-through;
    opacity: 0.7;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none;
    color: var(--primary-color);
}

/* ============================================
   ACTION BUTTONS
   ============================================ */
.product-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
    align-items: center;
}

.woocommerce ul.products li.product .button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 16px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    flex: 1;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(45, 80, 22, 0.3);
    position: relative;
    overflow: hidden;
}

.woocommerce ul.products li.product .button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.woocommerce ul.products li.product .button:hover::before {
    left: 100%;
}

.woocommerce ul.products li.product .button:hover {
    background: linear-gradient(135deg, #1a2e0c, var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(45, 80, 22, 0.4);
    color: white;
    text-decoration: none;
}

/* ============================================
   PRODUCT META
   ============================================ */
.product-meta {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 2px solid #f0f4f0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.product-meta > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-meta .sku {
    font-weight: 500;
}

.stock-info .in-stock {
    color: var(--success-color);
    font-weight: 600;
}

.stock-info .low-stock {
    color: var(--warning-color);
    font-weight: 600;
}

/* ============================================
   LOAD MORE SECTION
   ============================================ */
.load-more-section {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
}

.load-more-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 6px 20px rgba(45, 80, 22, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.load-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(45, 80, 22, 0.4);
}

.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ============================================
   NO PRODUCTS FOUND
   ============================================ */
.no-products-found {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 20px;
    margin: 40px 0;
}

.no-products-found h3 {
    font-size: 2rem;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.no-products-found p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* ============================================
   RELATED CATEGORIES
   ============================================ */
.related-categories {
    margin-top: 100px;
    background: linear-gradient(135deg, var(--cream) 0%, white 100%);
    border-radius: 30px;
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.related-categories::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(45, 80, 22, 0.03) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20%, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.category-card {
    background: white;
    border-radius: 20px;
    padding: 40px 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
    color: inherit;
    box-shadow: var(--card-shadow);
    border: 1px solid #f0f4f0;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.category-card:hover::before {
    opacity: 0.05;
}

.category-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: var(--hover-shadow);
    color: inherit;
    text-decoration: none;
    border-color: var(--primary-color);
}

.category-card-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
    font-size: 32px;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 25px rgba(45, 80, 22, 0.3);
}

.category-card-image {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    object-fit: cover;
    margin: 0 auto 24px;
    display: block;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.category-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.category-card-count {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.category-card:hover .category-card-icon,
.category-card:hover .category-card-image {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(45, 80, 22, 0.3);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes glow {
    from { box-shadow: 0 6px 20px rgba(45, 80, 22, 0.3); }
    to { box-shadow: 0 6px 30px rgba(45, 80, 22, 0.6); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.3); }
    28% { transform: scale(1); }
    42% { transform: scale(1.3); }
    70% { transform: scale(1); }
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.1); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes successPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.product-loading {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.animate__heartBeat {
    animation: heartBeat 1s ease-in-out;
}

.adding-to-cart {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(45, 80, 22, 0.2);
}

.added-success {
    animation: successPulse 0.6s ease;
}

.added_to_cart {
    background: var(--success-color) !important;
    transform: scale(1.05);
}

.cart-count.updated {
    animation: bounceIn 0.5s ease;
    color: var(--success-color);
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ============================================
   LOADING STATES
   ============================================ */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.skeleton {
    background: linear-gradient(90deg, #f0f4f0 25%, #e8e8e8 50%, #f0f4f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

img.lazy {
    background: linear-gradient(90deg, #f0f4f0 25%, #e8e8e8 50%, #f0f4f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
.focused {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 8px;
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .category-banner {
        padding: 60px 40px;
        height: 450px;
    }
    
    .banner-title {
        font-size: 3.5rem;
    }
    
    .woocommerce ul.products {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 900px) {
    .category-banner {
        flex-direction: column;
        text-align: center;
        height: auto;
        padding: 50px 30px;
    }
    
    .banner-visual {
        flex: none;
        width: 250px;
        height: 250px;
        order: -1;
        margin-bottom: 36px;
    }
    
    .banner-title {
        font-size: 3rem;
    }
    
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .category-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .banner-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .toast {
        right: 15px !important;
        left: 15px !important;
        max-width: none !important;
    }
    
    .products-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .category-page-wrapper {
        padding: 15px;
    }
    
    .category-banner {
        padding: 40px 25px;
    }
    
    .banner-title {
        font-size: 2.5rem;
    }
    
    .woocommerce ul.products {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .product-content {
        padding: 24px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .category-banner,
    .category-controls,
    .load-more-section,
    .related-categories {
        display: none;
    }
    
    .product {
        break-inside: avoid;
        margin-bottom: 20px;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}