/* Supplies Page Specific Styles */

.supplies-hero {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 3rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    text-align: center;
}

.supplies-hero h2 {
    color: white;
    border: none;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.supplies-hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.affiliate-notice {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

/* Category Navigation */
.supplies-nav {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.supplies-nav h3 {
    color: #2d3748;
    margin-bottom: 1.5rem;
}

.category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.category-btn {
    padding: 0.75rem 1.5rem;
    background: #f7fafc;
    color: #4a5568;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.category-btn:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* Supply Categories */
.supply-category {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.category-description {
    color: #718096;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
    transition: all 0.3s;
}

.product-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    transform: translateY(-4px);
}

.product-card.featured {
    border-color: #667eea;
    background: linear-gradient(to bottom, rgba(102, 126, 234, 0.05), white);
}

.product-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #f6ad55;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-card h3 {
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.product-image {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: #f7fafc;
    border-radius: 8px;
    overflow: hidden;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-features {
    margin-bottom: 1rem;
}

.product-features ul {
    list-style: none;
    padding: 0;
}

.product-features li {
    padding: 0.5rem 0;
    color: #4a5568;
    font-size: 0.95rem;
    position: relative;
    padding-left: 1.5rem;
}

.product-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #48bb78;
    font-weight: bold;
}

.product-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2d3748;
    margin-bottom: 1rem;
}

.product-btn {
    display: block;
    width: 100%;
    padding: 0.75rem;
    background: #667eea;
    color: white;
    text-decoration: none;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.product-btn:hover {
    background: #5a67d8;
    transform: translateY(-2px);
}

/* Comparison Table */
.comparison-table {
    overflow-x: auto;
    margin: 2rem 0;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.comparison-table th {
    background: #f7fafc;
    color: #2d3748;
    font-weight: 600;
}

.comparison-table tr:hover {
    background: #f7fafc;
}

.comparison-table a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.comparison-table a:hover {
    text-decoration: underline;
}

/* Buying Guide */
.buying-guide {
    background: linear-gradient(135deg, #f7fafc, #edf2f7);
    padding: 3rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.buying-guide h2 {
    color: #2d3748;
    margin-bottom: 2rem;
    text-align: center;
}

.guide-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.guide-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.guide-section h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.guide-section ul {
    list-style: none;
    padding: 0;
}

.guide-section li {
    padding: 0.75rem 0;
    color: #4a5568;
    border-bottom: 1px solid #e2e8f0;
}

.guide-section li:last-child {
    border-bottom: none;
}

.guide-section strong {
    color: #2d3748;
    display: inline-block;
    min-width: 150px;
}

/* Ad Integration */
.ad-banner-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    text-align: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .supplies-hero {
        padding: 2rem 1rem;
    }
    
    .supplies-hero h2 {
        font-size: 1.8rem;
    }
    
    .category-buttons {
        flex-direction: column;
    }
    
    .category-btn {
        width: 100%;
        text-align: center;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        font-size: 0.9rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem;
    }
    
    .guide-sections {
        grid-template-columns: 1fr;
    }
    
    .guide-section {
        padding: 1.5rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #667eea;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #5a67d8;
    transform: translateY(-5px);
}