/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* ====================================
   ARTICLE CONTENT STYLES
   ==================================== */

/* Article Introduction */
.article-intro {
    margin-bottom: 40px;
    font-size: 18px;
    line-height: 1.8;
    color: #374151;
}

.article-intro p {
    margin-bottom: 16px;
}

/* ====================================
   COMPARISON TABLE
   ==================================== */

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.comparison-table thead {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.comparison-table thead th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comparison-table tbody tr {
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.2s ease;
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

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

.comparison-table tbody td {
    padding: 16px 20px;
    vertical-align: middle;
    font-size: 15px;
    color: #374151;
}

.comparison-table-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    background: #f9fafb;
    padding: 8px;
}

.comparison-product-link {
    color: #1e293b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.comparison-product-link:hover {
    color: #2563eb;
}

.amz-table-btn {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #ff9900 0%, #ff8c00 100%);
    color: #000000;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(255, 153, 0, 0.3);
}

.amz-table-btn:hover {
    background: linear-gradient(135deg, #ff8c00 0%, #e67e00 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 153, 0, 0.4);
    color: #000000;
}

/* ====================================
   PRODUCT REVIEWS
   ==================================== */

.product-review {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
}

.product-review h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    line-height: 1.3;
}

.product-review h4 {
    font-size: 18px;
    font-weight: 600;
    color: #374151;
    margin: 24px 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #e5e7eb;
}

.product-review p {
    font-size: 16px;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 16px;
}

.product-review-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 24px auto;
    max-height: 350px;
    object-fit: contain;
    border-radius: 12px;
    background: #f9fafb;
    padding: 16px;
}

.product-check-price-wrapper {
    text-align: center;
    margin: 24px 0;
}

.product-features-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.product-features-list li {
    position: relative;
    padding: 10px 0 10px 32px;
    font-size: 15px;
    color: #4b5563;
    border-bottom: 1px solid #f3f4f6;
}

.product-features-list li:last-child {
    border-bottom: none;
}

.product-features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 10px;
    color: #2563eb;
    font-weight: bold;
    font-size: 16px;
}

.amz-btn {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #ff9900 0%, #ff8c00 100%);
    color: #000000;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(255, 153, 0, 0.4);
}

.amz-btn:hover {
    background: linear-gradient(135deg, #ff8c00 0%, #e67e00 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 153, 0, 0.5);
    color: #000000;
}

/* ====================================
   PROS / CONS SECTION
   ==================================== */

.pros-cons-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 24px 0;
}

.pros-section,
.cons-section {
    flex: 1;
    min-width: 280px;
    border-radius: 12px;
    padding: 20px 24px;
}

.pros-section {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid #a7f3d0;
}

.cons-section {
    background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
    border: 1px solid #fca5a5;
}

.pros-section h4 {
    color: #065f46;
    border-bottom-color: #a7f3d0;
    margin-top: 0;
}

.cons-section h4 {
    color: #991b1b;
    border-bottom-color: #fca5a5;
    margin-top: 0;
}

.pros-list,
.cons-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pros-list li,
.cons-list li {
    position: relative;
    padding: 8px 0 8px 28px;
    font-size: 15px;
    line-height: 1.5;
}

.pros-list li::before {
    content: "+";
    position: absolute;
    left: 0;
    top: 8px;
    color: #059669;
    font-weight: 700;
    font-size: 18px;
}

.cons-list li::before {
    content: "−";
    position: absolute;
    left: 0;
    top: 8px;
    color: #dc2626;
    font-weight: 700;
    font-size: 18px;
}

.pros-list li {
    color: #065f46;
}

.cons-list li {
    color: #991b1b;
}

/* ====================================
   FAQ SECTION
   ==================================== */

.faq-section {
    margin: 40px 0;
}

.faq-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.2s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-question {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.faq-answer {
    font-size: 16px;
    line-height: 1.7;
    color: #4b5563;
    margin: 0;
}

/* ====================================
   TOP PICKS / CONCLUSION
   ==================================== */

.top-picks-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.top-pick-item {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #93c5fd;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.6;
    color: #1e40af;
}

.top-pick-item strong {
    color: #1e3a8a;
    font-weight: 700;
}

.top-pick-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.top-pick-link:hover {
    color: #1d4ed8;
    border-bottom-color: #1d4ed8;
}

/* ====================================
   BUYING FACTORS
   ==================================== */

.buying-factors-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    counter-reset: buying-counter;
}

.buying-factors-list li {
    position: relative;
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px 24px 20px 70px;
    margin-bottom: 16px;
    border: 1px solid #e5e7eb;
    counter-increment: buying-counter;
}

.buying-factors-list li::before {
    content: counter(buying-counter);
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.buying-factors-list li p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #374151;
}

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */

@media (max-width: 768px) {
    .comparison-table {
        display: block;
        overflow-x: auto;
    }
    
    .pros-cons-wrapper {
        flex-direction: column;
    }
    
    .pros-section,
    .cons-section {
        min-width: 100%;
    }
    
    .product-review {
        padding: 20px;
    }
    
    .product-review h3 {
        font-size: 20px;
    }
    
    .amz-btn {
        display: block;
        text-align: center;
        padding: 14px 24px;
    }
    
    .buying-factors-list li {
        padding-left: 60px;
    }
    
    .buying-factors-list li::before {
        left: 12px;
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}

/* ====================================
   DARK MODE SUPPORT (Optional)
   ==================================== */

@media (prefers-color-scheme: dark) {
    .article-intro {
        color: #e5e7eb;
    }
    
    .comparison-table {
        background: #1e293b;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    }
    
    .comparison-table tbody tr {
        border-bottom-color: #334155;
    }
    
    .comparison-table tbody tr:hover {
        background-color: #334155;
    }
    
    .comparison-table tbody td {
        color: #e5e7eb;
    }
    
    .comparison-product-link {
        color: #f1f5f9;
    }
    
    .product-review {
        background: #1e293b;
        border-color: #334155;
    }
    
    .product-review h3 {
        color: #f1f5f9;
    }
    
    .product-review h4 {
        color: #e5e7eb;
        border-bottom-color: #334155;
    }
    
    .product-review p {
        color: #cbd5e1;
    }
    
    .faq-item {
        background: #1e293b;
        border-color: #334155;
    }
    
    .faq-question {
        color: #f1f5f9;
    }
    
    .faq-answer {
        color: #cbd5e1;
    }
    
    .buying-factors-list li {
        background: #1e293b;
        border-color: #334155;
    }
    
    .buying-factors-list li p {
        color: #cbd5e1;
    }
}

.affiliate-disclosure{
background: #fff8e6;
border-left: 4px solid #ffc107;
padding: 15px 20px;
margin: 20px 0;
border-radius: 4px;
}

.affiliate-disclosure p {
margin: 0;
font-size: 14px;
color: #664d03;
}

.editor-note{
background: #e8f4fd;
border-left: 4px solid #0066cc;
padding: 20px; 
margin: 20px 0; 
border-radius: 4px;
}

.editor-note h4{
margin: 0 0 10px 0;
color: #0066cc;
font-size: 16px;
}

.editor-note p {
margin: 0 0 10px 0; 
font-size: 14px;
color: #333;
}

editor-note-bottom{
margin: 0;
font-size: 13px;
color: #666;
}
