/* Review Pro Frontend Styles */

body.review-pro-template {
    font-family: 'Inter', sans-serif;
    background: #f9fafb;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
}

/* Header Styles */
.review-header {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 1.5rem 0;
    margin-bottom: 3rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.review-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.review-header h1 {
    font-size: 1.25rem;
    margin: 0;
    color: #111827;
}

.review-header p {
    margin: 0;
    font-size: 0.875rem;
    color: #6b7280;
}

/* Main Content */
.review-main {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
}

/* Article Header */
.review-article-header {
    margin-bottom: 3rem;
}

.review-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #eef2ff;
    color: #4f46e5;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.review-article-title {
    font-size: 2.5rem;
    line-height: 1.2;
    color: #111827;
    margin-bottom: 1rem;
    font-weight: 700;
}

.review-article-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.review-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: #9ca3af;
}

/* Featured Image */
.review-featured-image {
    margin-bottom: 3rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.review-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.review-image-caption {
    background: #f3f4f6;
    padding: 1rem 1.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

/* Table of Contents */
.review-toc {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 3rem;
}

.review-toc h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    color: #111827;
}

.review-toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.review-toc li {
    margin: 0.5rem 0;
}

.review-toc a {
    display: block;
    padding: 0.5rem 0 0.5rem 1rem;
    color: #4f46e5;
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: all 0.2s;
}

.review-toc a:hover {
    border-left-color: #4f46e5;
    color: #4338ca;
    padding-left: 1.25rem;
}

/* Content Sections */
.review-content {
    color: #374151;
    line-height: 1.8;
}

.review-content section {
    margin-bottom: 3rem;
}

.review-content h2 {
    font-size: 2rem;
    color: #111827;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.review-content h3 {
    font-size: 1.5rem;
    color: #111827;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.review-content p {
    margin: 1.5rem 0;
}

.review-content ul, .review-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.review-content li {
    margin: 0.75rem 0;
    line-height: 1.7;
}

.review-content strong {
    color: #111827;
    font-weight: 600;
}

.review-content blockquote {
    border-left: 4px solid #4f46e5;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #6b7280;
}

/* Product Sections */
.product-section {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.product-specs {
    background: #f9fafb;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

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

.product-specs li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
}

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

.product-pros {
    background: #f0fdf4;
    border-left: 4px solid #22c55e;
    padding: 1.5rem;
    border-radius: 4px;
    margin: 1.5rem 0;
}

.product-cons {
    background: #fef2f2;
    border-left: 4px solid #ef4444;
    padding: 1.5rem;
    border-radius: 4px;
    margin: 1.5rem 0;
}

/* Marketplace Buttons */
.marketplace-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    border-radius: 12px;
}

.marketplace-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.marketplace-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s;
    text-align: center;
}

.marketplace-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.marketplace-btn .emoji {
    font-size: 2rem;
}

.marketplace-btn.shopee {
    background: #ee4d2d;
    color: white;
}

.marketplace-btn.amazon {
    background: #232f3e;
    color: white;
}

.marketplace-btn.mercado-livre {
    background: #fff159;
    color: #333;
}

.marketplace-btn.magalu {
    background: #0086ff;
    color: white;
}

.marketplace-btn.shein {
    background: #000;
    color: white;
}

.marketplace-price {
    font-size: 1rem;
    font-weight: 700;
    margin-top: 0.25rem;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.comparison-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.comparison-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

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

.comparison-table .winner {
    color: #22c55e;
    font-weight: 600;
}

/* FAQ Section */
.faq-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.faq-question {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
}

.faq-answer {
    color: #374151;
    line-height: 1.7;
}

/* Footer */
.review-footer {
    background: #111827;
    color: #9ca3af;
    padding: 3rem 0;
    margin-top: 4rem;
}

.review-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.review-footer p {
    margin: 0;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .review-article-title {
        font-size: 1.75rem !important;
    }
    
    .review-article-subtitle {
        font-size: 1.25rem !important;
    }
    
    .review-content h2 {
        font-size: 1.5rem !important;
    }
    
    .review-content h3 {
        font-size: 1.25rem !important;
    }
    
    /* MOBILE - Fontes GRANDES para melhor leitura */
    body.review-pro-template {
        font-size: 20px !important;
    }
    
    .review-main {
        padding: 0 1rem 2rem !important;
    }
    
    .review-content {
        font-size: 1.2rem !important;
        line-height: 2 !important;
    }
    
    .review-content p {
        font-size: 1.2rem !important;
        line-height: 2 !important;
        margin-bottom: 1.5rem !important;
    }
    
    .review-content li {
        font-size: 1.2rem !important;
        line-height: 1.9 !important;
        margin-bottom: 0.75rem !important;
    }
    
    .product-section {
        padding: 1.25rem !important;
    }
    
    .product-section p {
        font-size: 1.2rem !important;
        line-height: 2 !important;
    }
    
    .product-specs li {
        font-size: 1.1rem !important;
        padding: 1rem 0 !important;
    }
    
    .product-pros li,
    .product-cons li {
        font-size: 1.2rem !important;
        line-height: 1.9 !important;
    }
    
    .faq-question {
        font-size: 1.3rem !important;
    }
    
    .faq-answer {
        font-size: 1.2rem !important;
        line-height: 1.9 !important;
    }
    
    .marketplace-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }
    
    .marketplace-btn {
        padding: 1rem !important;
        font-size: 0.85rem !important;
    }
    
    .marketplace-btn .emoji {
        font-size: 1.5rem !important;
    }
    
    .comparison-table {
        font-size: 1rem !important;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.875rem 0.5rem !important;
        font-size: 0.95rem !important;
    }
    
    .review-toc a {
        font-size: 1.1rem !important;
        padding: 0.75rem 0 0.75rem 1rem !important;
    }
    
    .review-meta {
        font-size: 1rem !important;
    }
    
    .review-badge {
        font-size: 0.9rem !important;
    }
}

/* Archive/Shortcode Styles */
.review-pro-archive {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.reviews-grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.reviews-list-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

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

.review-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.review-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.review-card:hover .review-card-image img {
    transform: scale(1.05);
}

.review-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.review-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.75rem;
}

.review-card .review-badge {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    margin: 0;
}

.review-date {
    color: #9ca3af;
}

.review-card-title {
    font-size: 1.375rem;
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

.review-card-title a {
    color: #111827;
    text-decoration: none;
    transition: color 0.2s;
}

.review-card-title a:hover {
    color: #4f46e5;
}

.review-card-subtitle {
    color: #6b7280;
    font-size: 0.9375rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.review-products-preview {
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.product-vs strong {
    color: #4f46e5;
    font-weight: 700;
    padding: 0 0.5rem;
}

.review-card-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s;
    margin-top: auto;
    align-self: flex-start;
}

.review-card-button:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

@media (max-width: 768px) {
    .reviews-grid-layout {
        grid-template-columns: 1fr;
    }
}