/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo h1 {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-logo i {
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ff6b35;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Search Container */
.search-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    display: flex;
    gap: 10px;
}

.search-box {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.search-btn {
    padding: 15px 25px;
    background: #ff6b35;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.search-btn:hover {
    background: #e55a2b;
    transform: translateY(-2px);
}

/* Filters Section */
.filters-section {
    background: white;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}

.filters-container {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 600;
    color: #333;
}

.filter-group select {
    padding: 8px 15px;
    border: 2px solid #ddd;
    border-radius: 25px;
    background: white;
    font-size: 0.9rem;
    outline: none;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.filter-group select:focus {
    border-color: #667eea;
}

/* Products Section */
.products-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
    font-weight: 700;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

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

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff6b35;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.product-info {
    padding: 25px;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.4;
}

.product-price {
    margin-bottom: 15px;
}

.price-current {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    margin-right: 10px;
}

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

.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.stars {
    color: #ffc107;
}

.rating-count {
    font-size: 0.9rem;
    color: #666;
}

.product-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.product-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Categories Section */
.categories-section {
    padding: 60px 0;
    background: white;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.category-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.category-card i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #667eea;
    transition: color 0.3s ease;
}

.category-card:hover i {
    color: white;
}

.category-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.category-card p {
    color: #666;
    transition: color 0.3s ease;
}

.category-card:hover p {
    color: rgba(255,255,255,0.9);
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: #667eea;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #667eea;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #667eea;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #ff6b35;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    text-align: center;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .filters-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .filter-group {
        width: 100%;
        justify-content: space-between;
    }
    
    .filter-group select {
        flex: 1;
        margin-left: 10px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .search-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-btn {
        align-self: center;
        width: 200px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 50px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Novas Seções de Análise */
.detailed-analysis {
    background: white;
    padding: 60px 0;
    margin: 40px 0;
}

.detailed-analysis .section-title {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-size: 2.5rem;
    font-weight: 700;
}

.analysis-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.analysis-content p {
    margin-bottom: 20px;
    text-align: justify;
}

/* Prós e Contras */
.pros-cons {
    background: #f8f9fa;
    padding: 60px 0;
    margin: 40px 0;
}

.pros-cons .section-title {
    text-align: center;
    margin-bottom: 50px;
    color: #333;
    font-size: 2.5rem;
    font-weight: 700;
}

.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.pros-column, .cons-column {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.pros-title {
    color: #28a745;
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cons-title {
    color: #dc3545;
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.pros-list li, .cons-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    line-height: 1.5;
}

.pros-list li i {
    color: #28a745;
    font-size: 0.9rem;
}

.cons-list li i {
    color: #dc3545;
    font-size: 0.9rem;
}

/* Veredito */
.verdict {
    background: white;
    padding: 60px 0;
    margin: 40px 0;
}

.verdict .section-title {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-size: 2.5rem;
    font-weight: 700;
}

.verdict-content {
    max-width: 900px;
    margin: 0 auto;
}

.verdict-summary {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}

.recommendation-list, .not-recommendation-list {
    list-style: none;
    margin: 20px 0;
}

.recommendation-list li, .not-recommendation-list li {
    padding: 10px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    line-height: 1.6;
}

.recommendation-list li i {
    color: #28a745;
    margin-top: 3px;
    font-size: 1rem;
}

.not-recommendation-list li i {
    color: #dc3545;
    margin-top: 3px;
    font-size: 1rem;
}

.final-score {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    margin-top: 40px;
}

.final-score h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.score-display {
    margin: 20px 0;
}

.score-number {
    font-size: 4rem;
    font-weight: bold;
    color: #ffd700;
}

.score-max {
    font-size: 2rem;
    opacity: 0.8;
}

.final-score p {
    margin-top: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Responsividade para novas seções */
@media (max-width: 768px) {
    .pros-cons-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .detailed-analysis .section-title,
    .pros-cons .section-title,
    .verdict .section-title {
        font-size: 2rem;
    }
    
    .analysis-content,
    .verdict-summary {
        font-size: 1rem;
    }
    
    .score-number {
        font-size: 3rem;
    }
    
    .score-max {
         font-size: 1.5rem;
     }
 }

/* Aviso de Transparência */
.affiliate-notice {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
}

.affiliate-notice p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #6c757d;
}

.affiliate-notice strong {
    color: #495057;
}

/* Comparison Template Styles */
.comparison-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.comparison-title {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.vs-text {
    color: #ffd700;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.comparison-subtitle {
    font-size: 1.2em;
    margin-bottom: 25px;
    opacity: 0.9;
}

.products-overview {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.product-overview {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.product-overview:hover {
    transform: translateY(-5px);
}

.product-overview .product-image img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.product-overview .product-name {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.product-overview .product-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.product-overview .stars {
    color: #ffd700;
}

.product-overview .rating-score {
    font-weight: 600;
    color: #666;
}

.product-overview .product-price {
    font-size: 1.3em;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 20px;
}

.product-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 25px;
}

.product-highlights .highlight {
    background-color: #e9ecef;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 5px;
}

.vs-divider {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vs-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 900;
    font-size: 1.2em;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.quick-comparison {
    padding: 60px 0;
}

.comparison-table {
    overflow-x: auto;
    margin-top: 30px;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.comparison-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.comparison-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.price-cell {
    font-weight: 700;
    font-size: 1.1em;
}

.price-cell.winner {
    color: #28a745;
    position: relative;
}

.detailed-comparison {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.comparison-section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.comparison-section-title {
    font-size: 1.8em;
    font-weight: 600;
    margin-bottom: 30px;
    color: #333;
    text-align: center;
}

.comparison-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.comparison-item h4 {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comparison-item p {
    line-height: 1.6;
    margin-bottom: 20px;
    color: #666;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #495057;
}

.feature-list .fas.fa-check {
    color: #28a745;
}

.camera-specs {
    list-style: none;
    padding: 0;
}

.camera-specs li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    color: #495057;
}

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

.benchmark-scores {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.score-item {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.score-label {
    display: block;
    font-size: 0.9em;
    color: #666;
    margin-bottom: 5px;
}

.score-value {
    display: block;
    font-size: 1.2em;
    font-weight: 700;
    color: #333;
}

.winner-badge {
    text-align: center;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 25px;
    border: 2px solid #dee2e6;
}

.winner-badge.iphone-winner {
    background-color: #e3f2fd;
    border-color: #2196f3;
}

.winner-badge.samsung-winner {
    background-color: #e8f5e8;
    border-color: #4caf50;
}

.winner-text {
    font-weight: 600;
    font-size: 1.1em;
    color: #495057;
}

.final-verdict {
    padding: 60px 0;
}

.verdict-title {
    font-size: 2.2em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.verdict-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.verdict-item {
    background: white;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
}

.verdict-item.iphone-verdict {
    border-top: 4px solid #007aff;
}

.verdict-item.samsung-verdict {
    border-top: 4px solid #1976d2;
}

.verdict-item h3 {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.verdict-score {
    font-size: 3em;
    font-weight: 900;
    color: #28a745;
    margin-bottom: 20px;
}

.verdict-item h4 {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #495057;
}

.verdict-item ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: left;
}

.verdict-item li {
    padding: 8px 0;
    color: #666;
    position: relative;
    padding-left: 20px;
}

.verdict-item li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.verdict-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-verdict-review, .btn-verdict-buy {
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid;
}

.btn-verdict-review {
    background-color: transparent;
    color: #667eea;
    border-color: #667eea;
}

.btn-verdict-review:hover {
    background-color: #667eea;
    color: white;
}

.btn-verdict-buy {
    background-color: #28a745;
    color: white;
    border-color: #28a745;
}

.btn-verdict-buy:hover {
    background-color: #218838;
    border-color: #218838;
}

.final-recommendation {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
}

.final-recommendation h3 {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 20px;
}

.final-recommendation p {
    font-size: 1.1em;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design for Comparison Template */
@media (max-width: 768px) {
    .comparison-title {
        font-size: 1.8em;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .vs-divider {
        order: 2;
    }
    
    .comparison-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .verdict-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .benchmark-scores {
        grid-template-columns: 1fr;
    }
    
    .verdict-buttons {
        flex-direction: column;
    }
}

/* Category Navigation System */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.dropdown-toggle:hover {
    color: #667eea;
}

.dropdown-toggle .fa-chevron-down {
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.nav-dropdown.active .dropdown-toggle .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    min-width: 300px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
}

.nav-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-section {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

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

.dropdown-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-header:hover {
    background-color: #f8f9fa;
    color: #667eea;
}

.dropdown-subcategories {
    padding-left: 20px;
}

.dropdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
    color: #666;
    text-decoration: none;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #667eea;
    padding-left: 25px;
}

.dropdown-item .count {
    font-size: 0.8em;
    color: #999;
    background-color: #e9ecef;
    padding: 2px 6px;
    border-radius: 10px;
}

/* Category Sidebar - REMOVIDO */
.category-sidebar {
    display: none !important;
}

.sidebar-widget {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.widget-title {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 10px;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.category-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background-color: #f8f9fa;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-link:hover {
    background-color: #667eea;
    color: white;
}

.category-link i {
    margin-right: 10px;
}

.category-name {
    flex: 1;
}

.category-count {
    background-color: rgba(255,255,255,0.2);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 600;
}

.subcategory-list {
    background-color: #fff;
    border-top: 1px solid #eee;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.category-item.expanded .subcategory-list {
    max-height: 200px;
}

.subcategory-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    color: #666;
    text-decoration: none;
    font-size: 0.9em;
    border-bottom: 1px solid #f8f9fa;
    transition: all 0.3s ease;
}

.subcategory-link:hover {
    background-color: #f8f9fa;
    color: #667eea;
    padding-left: 25px;
}

.subcategory-link:last-child {
    border-bottom: none;
}

.subcategory-link .count {
    font-size: 0.8em;
    color: #999;
}

/* Popular Products Widget */
.popular-products {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popular-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f8f9fa;
    transition: all 0.3s ease;
}

.popular-item:hover {
    transform: translateX(5px);
}

.popular-item:last-child {
    border-bottom: none;
}

.popular-item img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.popular-info h4 {
    font-size: 0.9em;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: #333;
}

.popular-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.popular-rating .stars {
    color: #ffd700;
    font-size: 0.8em;
}

.popular-rating span {
    font-size: 0.8em;
    color: #666;
    font-weight: 600;
}

/* Responsive Design for Categories */
@media (max-width: 1200px) {
    .category-sidebar {
        position: static;
        width: 100%;
        transform: none;
        margin: 20px 0;
        max-height: none;
    }
    
    .sidebar-widget {
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .dropdown-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        min-width: auto;
        border-radius: 0;
        max-height: calc(100vh - 60px);
    }
    
    .nav-dropdown {
        display: block;
        width: 100%;
    }
    
    .dropdown-toggle {
        justify-content: center;
        padding: 15px;
        background-color: #f8f9fa;
        border-radius: 8px;
        margin: 10px 0;
    }
    
    .category-sidebar {
        padding: 0 15px;
    }
    
    .sidebar-widget {
        padding: 20px;
    }
}

/* Template de Ranking/Lista */
.article-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.article-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.article-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    font-size: 1rem;
    opacity: 0.8;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-intro {
    background: white;
    padding: 60px 0;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
}

.intro-content p {
    margin-bottom: 20px;
}

.ranking-list {
    background: #f8f9fa;
    padding: 60px 0;
}

.ranking-item {
    background: white;
    border-radius: 20px;
    margin-bottom: 40px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ranking-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.ranking-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    text-align: center;
}

.position-number {
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #333;
    font-size: 2rem;
    font-weight: bold;
    line-height: 60px;
    box-shadow: 0 5px 15px rgba(255,215,0,0.4);
}

.position-label {
    display: block;
    background: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: bold;
    margin-top: 8px;
    white-space: nowrap;
}

.position-1 .position-number {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
}

.position-2 .position-number {
    background: linear-gradient(135deg, #c0c0c0 0%, #e8e8e8 100%);
}

.position-3 .position-number {
    background: linear-gradient(135deg, #cd7f32 0%, #daa520 100%);
}

.position-4 .position-number,
.position-5 .position-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.product-card-ranking {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    padding: 40px;
    padding-left: 120px;
}

.product-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
}

.product-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.product-rating .stars {
    color: #ffd700;
    font-size: 1.2rem;
}

.rating-score {
    font-weight: bold;
    font-size: 1.1rem;
    color: #333;
}

.product-price {
    margin-bottom: 20px;
}

.current-price {
    font-size: 2rem;
    font-weight: bold;
    color: #e74c3c;
}

.product-highlight {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: #555;
}

.product-highlight i {
    color: #667eea;
    font-size: 1.2rem;
}

.quick-specs {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.spec {
    background: #e9ecef;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #495057;
}

.spec i {
    color: #667eea;
}

.ranking-buttons {
    display: flex;
    gap: 15px;
}

.btn-review {
    flex: 1;
    padding: 12px 20px;
    background: #6c757d;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    transition: background 0.3s ease;
}

.btn-review:hover {
    background: #5a6268;
    color: white;
    text-decoration: none;
}

.btn-buy {
    flex: 1;
    padding: 12px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-buy:hover {
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.article-conclusion {
    background: white;
    padding: 60px 0;
}

.conclusion-title {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 40px;
}

.conclusion-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
}

.conclusion-content p {
    margin-bottom: 20px;
}

/* Responsividade para Template de Ranking */
@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }
    
    .article-subtitle {
        font-size: 1.1rem;
    }
    
    .article-meta {
        gap: 15px;
        font-size: 0.9rem;
    }
    
    .product-card-ranking {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
        padding-top: 80px;
    }
    
    .ranking-badge {
        top: 10px;
        left: 10px;
    }
    
    .position-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        line-height: 50px;
    }
    
    .position-label {
        font-size: 0.6rem;
        padding: 3px 8px;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .current-price {
        font-size: 1.5rem;
    }
    
    .quick-specs {
        gap: 10px;
    }
    
    .ranking-buttons {
        flex-direction: column;
    }
}
