/* Table Fix Styles */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.comparison-table th,
.comparison-table td {
    padding: 1.25rem;
    text-align: center;
    border: 1px solid #e2e8f0;
    vertical-align: middle;
}

.comparison-table th {
    background-color: #f8fafc;
    color: #1e40af;
    font-size: 1rem;
    font-weight: 600;
}

.comparison-table td {
    font-size: 0.95rem;
    color: #334155;
}

.product-cell {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.product-cell img {
    width: 80px;
    height: auto;
    border-radius: 8px;
}

.product-info strong {
    font-size: 1rem;
    color: #1e40af;
    display: block;
    margin-bottom: 0.25rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
}

.badge.budget {
    background-color: #3b82f6;
}

.badge.premium {
    background-color: #8b5cf6;
}

.badge.cooling {
    background-color: #14b8a6;
}

.price-cell {
    font-weight: 600;
    font-size: 1.1rem;
}

.excellent {
    color: #10b981;
    font-weight: 600;
}

.good {
    color: #6ec1e4;
    font-weight: 600;
}

.fair {
    color: #f59e0b;
    font-weight: 600;
}

.rating-cell .stars {
    display: block;
    margin-bottom: 0.25rem;
    color: #f59e0b;
    font-size: 1.2rem;
}

.rating-cell span {
    font-size: 0.9rem;
    color: #64748b;
}

.pillow-actions {
    display: flex;
    gap: 0.75rem;
}

.pillow-button {
    flex: 1;
    text-align: center;
    padding: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid #6ec1e4;
    color: #6ec1e4;
    background-color: transparent;
}

.pillow-button:hover {
    background-color: #6ec1e4;
    color: #fff;
}

.pillow-button.buy-button {
    background-color: #6ec1e4;
    color: #fff;
}

.pillow-button.buy-button:hover {
    background-color: #5ba8d1;
    border-color: #5ba8d1;
}

/* Responsive Table */
@media (max-width: 768px) {
    .comparison-table {
        display: block;
        overflow-x: auto;
    }
} 