/* ==========================================================================
   Product Category Visibility Improvements
   Enhanced contrast and readability for better user experience
   ========================================================================== */

/* Enhanced Product Category Cards */
.product-category-card {
    background: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: var(--space-6);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Hover effect with enhanced contrast */
.product-category-card:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.15),
        0 4px 8px rgba(0, 0, 0, 0.1);
    border-color: rgba(239, 105, 90, 0.2);
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
}

/* Enhanced category icons with better contrast */
.category-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #EF695A 0%, #D54A3B 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    box-shadow: 
        0 4px 8px rgba(239, 105, 90, 0.3),
        0 2px 4px rgba(213, 74, 59, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.category-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 50%);
    pointer-events: none;
}

.product-category-card:hover .category-icon {
    transform: scale(1.05);
    box-shadow: 
        0 6px 16px rgba(239, 105, 90, 0.4),
        0 3px 6px rgba(213, 74, 59, 0.3);
}

.category-icon i {
    font-size: 28px;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    z-index: 1;
    position: relative;
}

/* Enhanced heading with better contrast */
.product-category-card h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    color: #1a202c; /* Much darker for better contrast */
    margin-bottom: var(--space-4);
    line-height: 1.3;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}

/* Improved product list visibility */
.product-list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-5) 0;
    background: rgba(247, 250, 252, 0.6);
    padding: var(--space-4);
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.product-list li {
    padding: var(--space-2) 0;
    color: #2d3748; /* Much darker for better readability */
    font-size: var(--text-sm);
    font-weight: 500;
    position: relative;
    padding-left: var(--space-5);
    line-height: 1.5;
    transition: color 0.2s ease;
}

.product-list li:hover {
    color: #1a202c;
}

.product-list li::before {
    content: '●';
    position: absolute;
    left: var(--space-2);
    color: #EF695A;
    font-weight: bold;
    font-size: 14px;
    top: 50%;
    transform: translateY(-50%);
}

/* Enhanced category specs with better visibility */
.category-specs {
    display: flex;
    gap: var(--space-3);
    padding-top: var(--space-4);
    border-top: 2px solid rgba(239, 105, 90, 0.1);
    margin-top: var(--space-2);
}

.category-specs .spec {
    font-size: var(--text-xs);
    font-weight: 600;
    color: #2d3748; /* Much darker text */
    background: linear-gradient(135deg, #EF695A 0%, #D54A3B 100%);
    color: #ffffff; /* White text on colored background for maximum contrast */
    padding: var(--space-2) var(--space-3);
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(239, 105, 90, 0.3);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.category-specs .spec:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(239, 105, 90, 0.4);
}

/* Enhanced product highlights section */
.product-highlights {
    background: linear-gradient(135deg, #FFE8E5 0%, #FFF5F3 50%, #FFEEE8 100%);
    border: 2px solid rgba(239, 105, 90, 0.1);
    border-radius: 20px;
    padding: var(--space-10);
    margin-top: var(--space-12);
    box-shadow: 
        0 8px 20px rgba(239, 105, 90, 0.1),
        0 2px 6px rgba(0, 0, 0, 0.05);
}

.highlight-box {
    text-align: center;
    padding: var(--space-4);
    background: rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    border: 1px solid rgba(239, 105, 90, 0.15);
    transition: all 0.3s ease;
}

.highlight-box:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 105, 90, 0.2);
}

.highlight-box i {
    font-size: 36px;
    color: #EF695A;
    margin-bottom: var(--space-3);
    text-shadow: 0 2px 4px rgba(239, 105, 90, 0.3);
}

.highlight-box h4 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: #1a202c; /* Much darker for better contrast */
    margin-bottom: var(--space-3);
    line-height: 1.3;
}

.highlight-box p {
    color: #2d3748; /* Darker for better readability */
    font-size: var(--text-sm);
    font-weight: 500;
    line-height: 1.6;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .category-icon {
        width: 60px;
        height: 60px;
    }
    
    .category-icon i {
        font-size: 24px;
    }
    
    .product-category-card {
        padding: var(--space-5);
    }
    
    .product-list {
        padding: var(--space-3);
    }
    
    .product-highlights {
        padding: var(--space-6);
    }
}

/* Additional hover effects for better interactivity */
.product-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #EF695A 0%, #D54A3B 100%);
    border-radius: 16px 16px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-category-card:hover::before {
    opacity: 1;
}

/* Focus states for accessibility */
.product-category-card:focus-within {
    outline: 2px solid #EF695A;
    outline-offset: 2px;
}

/* Print styles for better readability */
@media print {
    .product-category-card {
        background: #ffffff !important;
        border: 1px solid #000000 !important;
        box-shadow: none !important;
    }
    
    .product-list li,
    .product-category-card h3,
    .highlight-box h4,
    .highlight-box p {
        color: #000000 !important;
    }
    
    .category-specs .spec {
        background: #ffffff !important;
        color: #000000 !important;
        border: 1px solid #000000 !important;
    }
}