/* Top Reviews Page Styles */

.top-reviews-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #333;
}

.page-header .lead {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* Reviews Grid */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.top-review-card {
    position: relative;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.top-review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.top-review-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-top: 15px;
    margin-bottom: 15px;
    max-height: 200px;
}

.top-review-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.top-review-card h3 a {
    color: #333;
    text-decoration: none;
}

.top-review-card h3 a:hover {
    color: #0066cc;
}

.top-review-card .rating {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.top-review-card .rating span {
    color: #ff9900;
    font-weight: bold;
}

.top-review-card .features {
    padding-left: 20px;
    margin-bottom: 20px;
}

.top-review-card .features li {
    margin-bottom: 8px;
    line-height: 1.4;
}

.top-review-card .cta-btn {
    margin-top: auto;
    background-color: #ff9900;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 12px 20px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease;
}

.top-review-card .cta-btn:hover {
    background-color: #e68a00;
}

/* Badges */
.badge {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #0066cc;
    color: white;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 0 4px 4px 0;
    z-index: 1;
}

.badge.best-overall {
    background-color: #ff9900;
}

.badge.best-value {
    background-color: #4CAF50;
}

.badge.best-for-pets {
    background-color: #9C27B0;
}

/* Comparison Table */
.comparison-table {
    margin: 40px 0;
}

.comparison-table h2 {
    text-align: center;
    margin-bottom: 25px;
}

.table-responsive {
    overflow-x: auto;
}

table.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

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

table.comparison-table th {
    background-color: #333;
    font-weight: bold;
}

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

/* CTA Section */
.cta-section {
    margin: 60px 0;
}

.cta-box {
    background-color: #f5f9ff;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.cta-box h2 {
    margin-bottom: 15px;
    color: #333;
}

.cta-box p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.cta-box .cta-btn {
    display: inline-block;
    background-color: #0066cc;
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.cta-box .cta-btn:hover {
    background-color: #0052a3;
}

/* Responsive Design */
@media (max-width: 992px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header .lead {
        font-size: 1.1rem;
    }
    
    .cta-box {
        padding: 20px;
    }
}

/* ===== ADDITIONAL STYLES FOR REVIEWS PAGE IMPROVEMENTS ===== */

/* Urgency Banner on Reviews Page */
.urgency-banner {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    animation: pulse 2s infinite;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.urgency-text {
    font-size: 1.1rem;
    font-weight: 500;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* Price Alerts Section */
.price-alerts {
    background: #f8f9fa;
    padding: 30px 0;
    margin: 30px 0;
    border-radius: 10px;
}

.alert-box {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #27ae60;
}

.alert-box h3 {
    color: #27ae60;
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 600;
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.deal-item {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #27ae60;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 8px;
}

.new-price {
    color: #27ae60;
    font-weight: 600;
    font-size: 1.1em;
    margin-right: 8px;
}

.savings {
    color: #e74c3c;
    font-weight: 500;
    font-size: 0.9em;
}

/* Deal Badges on Product Cards */
.deal-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
    z-index: 2;
}

/* Price Info on Product Cards */
.price-info {
    margin: 10px 0;
    font-size: 1.1rem;
}

.current-price {
    color: #27ae60;
    font-weight: 700;
    font-size: 1.2em;
    margin-right: 10px;
}

.original-price {
    color: #999;
    text-decoration: line-through;
    font-size: 0.9em;
}

/* Enhanced CTA Buttons for Reviews Page */
.btn.cta-btn {
    background: linear-gradient(45deg, #3498db, #2980b9) !important;
    color: white !important;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    display: inline-block;
    text-align: center;
    margin-top: 15px;
}

.btn.cta-btn:hover {
    background: linear-gradient(45deg, #2980b9, #1f618d) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    text-decoration: none;
}

/* Responsive adjustments for reviews page */
@media (max-width: 768px) {
    .deals-grid {
        grid-template-columns: 1fr;
    }
    
    .urgency-text {
        font-size: 1rem;
    }
    
    .deal-badge {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
    
    .price-info {
        font-size: 1rem;
    }
    
    .current-price {
        font-size: 1.1em;
    }
}
