/* style.css - Estilos principais do tema */
:root {
    --primary: #3a86ff;
    --secondary: #8338ec;
    --accent: #ff006e;
    --dark: #2d3047;
    --light: #f8f9fa;
    --gray: #6c757d;
    --success: #38b000;
    --border: #e0e0e0;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}




body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #f9fafb;
    line-height: 1.6;
}

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

/* Header */
header {
    background: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    font-family: 'Montserrat', sans-serif;
}

.logo span {
    color: var(--primary);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary);
}

.header-icons a {
    margin-left: 15px;
    color: var(--dark);
    text-decoration: none;
    font-size: 18px;
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent);
    color: white;
    font-size: 12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Breadcrumb */
.breadcrumb {
    padding: 15px 0;
    font-size: 14px;
    color: #333;
}

.breadcrumb a {
    color: #333;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 80px 0;
    margin-bottom: 60px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

.btn {
    padding: 12px 25px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: white;
    color: var(--primary);
}

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

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Section Titles */
.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--dark);
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.post-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.post-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.post-content {
    padding: 25px;
}

.post-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
}

.post-excerpt {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--gray);
}

.post-date {
    display: flex;
    align-items: center;
}

.post-date i {
    margin-right: 5px;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.read-more:hover {
    text-decoration: underline;
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.read-more:hover i {
    transform: translateX(3px);
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.news-card {
    background: white;
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border-left: 4px solid var(--primary);
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.news-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark);
    line-height: 1.4;
}

.news-excerpt {
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 14px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--gray);
    border-top: 1px solid var(--border);
    padding-top: 15px;
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background: white;
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 1px solid var(--border);
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.faq-question i {
    color: var(--primary);
    margin-top: 3px;
}

.faq-answer {
    color: var(--gray);
    line-height: 1.6;
    margin-left: 28px;
}

.faq-meta {
    font-size: 12px;
    color: var(--gray);
    margin-top: 15px;
    text-align: right;
}

/* Product Styles */
.product-section {
    display: flex;
    flex-wrap: wrap;
    margin: 30px 0;
    gap: 30px;
}

.product-gallery {
    flex: 1;
    min-width: 300px;
    max-width: 98%;
}

.main-image {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 15px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image img {
    max-height: 100%;
}

.thumbnail-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border: 2px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    transition: all 0.3s;
}

.thumbnail:hover, .thumbnail.active {
    border-color: var(--primary);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    flex: 1;
    min-width: 300px;
}

.product-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

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

.stars {
    color: #ffc107;
    margin-right: 10px;
}

.rating-count {
    color: var(--gray);
    font-size: 14px;
}

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

.current-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--success);
}

.original-price {
    text-decoration: line-through;
    color: var(--gray);
    margin-left: 10px;
    font-size: 18px;
}

.discount-badge {
    background: var(--accent);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    margin-left: 15px;
    font-weight: 600;
}

.product-description {
    margin-bottom: 25px;
    color: #333;
    line-height: 1.8;
}

.quantity-selector {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    background: var(--light);
    border: 1px solid var(--border);
    font-size: 18px;
    cursor: pointer;
}

.quantity-input {
    width: 60px;
    height: 40px;
    border: 1px solid var(--border);
    border-left: none;
    border-right: none;
    text-align: center;
    font-size: 16px;
}

.add-to-cart {
    background: var(--primary);
    text-decoration: none;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    display: inline-flex;
    align-items: center;
    margin-right: 15px;
}

.add-to-cart:hover {
    background: #2563eb;
}

.add-to-cart i {
    margin-right: 10px;
}

.wishlist-btn {
    background: white;
    color: var(--dark);
    border: 1px solid var(--border);
    padding: 15px;
    border-radius: var(--radius);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.wishlist-btn:hover {
    background: var(--light);
    color: var(--accent);
}

.product-meta {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
}

.meta-item {
    display: flex;
    margin-bottom: 10px;
}

.meta-label {
    font-weight: 600;
    min-width: 120px;
    color: var(--dark);
}

/* Product Tabs */
.product-tabs {
    margin: 50px 0;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid var(--border);
}

.tab-btn {
    padding: 15px 25px;
    background: none;
    border: none;
    font-weight: 600;
    color: var(--gray);
    cursor: pointer;
    position: relative;
}

.tab-btn.active {
    color: var(--primary);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
}

.tab-content {
    padding: 30px;
    background: white;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid var(--border);
}

.specs-table td {
    padding: 15px 10px;
}

.specs-table td:first-child {
    font-weight: 600;
    width: 30%;
    color: var(--dark);
}

/* Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

/* ===== GALERIAS WORDPRESS-STYLE ===== */
.product-gallery-wp {
    position: relative;
    max-width: 100%;
    margin: 20px auto;
}

.gallery-main-image-wp {
    margin-bottom: 5px;
    overflow: hidden;
    position: relative;
    background: #f9f9f9;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}


.gallery-thumbnails-wp {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
}

.gallery-thumbnail-wp {
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 8px;
    flex: 0 0 auto;
    width: 80px;
    height: 80px;
}

.gallery-thumbnail-wp:hover {
    opacity: 0.8;
    border-color: var(--primary);
}

.gallery-thumbnail-wp.active {
    border-color: var(--primary);
}

.gallery-thumbnail-wp img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbnails-wp::-webkit-scrollbar {
    height: 4px;
}

.gallery-thumbnails-wp::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}


/* Modal para imagem em tela cheia */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.gallery-modal.active {
    display: flex;
}

.gallery-modal-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.gallery-modal-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.gallery-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
}

.gallery-modal-prev,
.gallery-modal-next {
    color: white;
    font-size: 24px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Galerias em posts */
.post-gallery-wp {
    margin: 30px 0;
}

.post-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.post-gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 0.3s;
}

.post-gallery-item:hover {
    transform: scale(1.05);
}

.post-gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Empty gallery state */
.empty-gallery {
    background: var(--light);
    padding: 40px;
    text-align: center;
    border-radius: var(--radius);
    color: var(--gray);
    border: 2px dashed var(--border);
}

.empty-gallery i {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--border);
}

/* Article Styles */
.article-header {
    margin: 40px 0 30px;
}

.article-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
    line-height: 1.2;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    color: var(--gray);
    font-size: 14px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.meta-item i {
    color: var(--primary);
}

.article-image {
    width: 100%;
    height: 400px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.article-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.article-content h2, .article-content h3 {
    font-family: 'Montserrat', sans-serif;
    margin: 30px 0 15px;
    color: var(--dark);
}

.article-content h2 {
    font-size: 1.8rem;
}

.article-content h3 {
    font-size: 1.4rem;
}

.tags-section {
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0;
}

.tag {
    background: var(--light);
    color: var(--dark);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.3s;
}

.tag:hover {
    background: var(--primary);
    color: white;
}

/* Page Styles */
.page-header {
    margin: 40px 0 30px;
    text-align: center;
}

.page-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
}

.page-meta {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 30px;
}

.page-image {
    width: 100%;
    max-height: 400px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.page-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-content {
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.page-content h2 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
    margin: 30px 0 15px;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--light);
    padding-bottom: 10px;
}

.page-content h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    margin: 25px 0 10px;
    font-size: 1.2rem;
}

.page-content p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.page-content ul, .page-content ol {
    margin: 15px 0;
    padding-left: 20px;
}

.page-content li {
    margin-bottom: 8px;
}

.faq-item {
    background: var(--light);
    border-left: 4px solid var(--primary);
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.faq-question {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.faq-question i {
    color: var(--primary);
    margin-top: 3px;
}

/* Categories Section */
.categories {
    margin-bottom: 60px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.category-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius);
    padding: 25px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.category-card:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
}

.category-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: var(--primary);
}

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

.category-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.category-count {
    font-size: 14px;
    opacity: 0.7;
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, var(--dark) 0%, #3a3f5c 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 60px;
}

.newsletter h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.newsletter p {
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: var(--radius) 0 0 var(--radius);
    font-family: 'Poppins', sans-serif;
}

.newsletter-btn {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0 25px;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-btn:hover {
    background: #e0005e;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    color: white;
    font-size: 20px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
    font-size: 14px;
}

/* Admin Button */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    font-size: 20px;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    z-index: 99;
}

.whatsapp-button:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray);
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--border);
}

.empty-state h3 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 10px;
    color: var(--dark);
}

/* Product Specific */
.product-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--success);
    margin: 10px 0;
}

.product-sku {
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 10px;
}

/* Gallery Section */
.gallery-section {
    margin: 40px 0;
}

.gallery-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--dark);
}

/* News Cards with Images */
.news-meta-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--gray);
}

.news-author, .news-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-author i, .news-date i {
    color: var(--primary);
    font-size: 12px;
}

.news-categories {
    font-size: 13px;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-categories i {
    color: var(--primary);
}

/* Grid layout para notícias com imagens */
.news-grid-with-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* Efeitos hover específicos para notícias */
.post-card.news-card:hover .post-image img {
    transform: scale(1.05);
}

.post-card.news-card:hover .post-title {
    color: var(--primary);
}

/* Estilos específicos para archive */
.archive-header {
    text-align: center;
    margin-bottom: 3rem;
}

.archive-description {
    color: var(--gray);
    font-size: 1.1rem;
    margin-top: 1rem;
}

.filters-section {
    margin-bottom: 3rem;
}

.filters-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.search-input-archive, .filter-group select, .filter-group input[type="date"] {
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    transition: border-color 0.3s;
}

.search-input-archive:focus, .filter-group select:focus, .filter-group input[type="date"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(58, 134, 255, 0.1);
}

.filter-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.active-filters {
    background: var(--light);
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

.active-filter {
    background: var(--primary);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.active-filter a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 50%;
    transition: background 0.3s;
}

.active-filter a:hover {
    background: rgba(255,255,255,0.2);
}

.clear-filters {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.archive-item {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.archive-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.archive-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.archive-item:hover .archive-image img {
    transform: scale(1.05);
}

.type-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.type-badge.post { background: var(--primary); }
.type-badge.product { background: var(--success); }
.type-badge.page { background: var(--secondary); }

.archive-content {
    padding: 1.5rem;
}

.archive-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.archive-title a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s;
}

.archive-title a:hover {
    color: var(--primary);
}

.archive-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--gray);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-tag {
    background: var(--light);
    color: var(--dark);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    text-decoration: none;
    transition: all 0.3s;
}

.category-tag:hover {
    background: var(--primary);
    color: white;
}

.archive-excerpt {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.archive-actions {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.archive-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.pagination-btn {
    background: var(--light);
    color: var(--dark);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-btn:hover {
    background: #d380d6;
    border-color: #007bff;
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
}

.pagination-number, .pagination-current {
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    min-width: 45px;
    text-align: center;
}

.pagination-number {
    background: var(--light);
    color: var(--dark);
    transition: all 0.3s;
}

.pagination-number:hover {
    background: var(--primary);
    color: white;
}

.pagination-current {
    background: var(--primary);
    color: white;
}

.results-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
}

.results-header h2 {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    margin: 0;
}


/* ===== ESTILOS ESPECÍFICOS DO SINGLE.PHP ===== */

/* Breadcrumb improvements */
.breadcrumb {
    background: var(--light);
    padding: 15px 20px;
    border-radius: var(--radius);
    margin: 20px 0;
}

/* Product Gallery WordPress Style */
.product-gallery-wp {
    position: relative;
    margin-bottom: 30px;
}

.gallery-main-image-wp {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 15px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-main-image-wp img {
    max-width: 100%;
}

.gallery-thumbnails-wp {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery-thumbnail-wp {
    width: 80px;
    height: 80px;
    border: 2px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
}

.gallery-thumbnail-wp:hover,
.gallery-thumbnail-wp.active {
    border-color: var(--primary);
    transform: scale(1.05);
}

.gallery-thumbnail-wp img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Quantity Selector Improvements */
.quantity-selector {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    background: var(--light);
    border: 1px solid var(--border);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
}

.quantity-btn:hover {
    background: var(--primary);
    color: white;
}

.quantity-input {
    width: 60px;
    height: 40px;
    border: 1px solid var(--border);
    border-left: none;
    border-right: none;
    text-align: center;
    font-size: 16px;
    background: white;
}

/* Product Meta Styling */
.product-meta {
    background: var(--light);
    padding: 20px;
    border-radius: var(--radius);
    margin: 25px 0;
}

.meta-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

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

.meta-label {
    font-weight: 600;
    color: var(--dark);
}

/* Category Tags */
.category-tag {
    background: var(--primary);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    margin: 2px;
    display: inline-block;
}

/* Empty State for Single Pages */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin: 40px 0;
}

.empty-state i {
    font-size: 64px;
    color: var(--border);
    margin-bottom: 20px;
}

.empty-state h3 {
    color: var(--dark);
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--gray);
    margin-bottom: 20px;
}


/* Estilos para paginação */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 30px 0 70px 0;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    background: white;
    transition: all 0.3s ease;
    font-size: 14px;
}

.pagination-btn:hover {
    background: #f8f9fa;
    border-color: #007bff;
}

.pagination-btn.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/* Container do botão de favoritos nos cards */
.favorite-button-container {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

/* Ajustes para o botão de favoritos nos cards */
.post-image {
    position: relative;
}

.add-to-favorites-button {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.add-to-favorites-button:hover:not(:disabled) {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.add-to-favorites-button.added {
    background: #ffe6e6;
}


   .favorite-button-container .add-to-favorites-button {
        background: rgba(255, 255, 255, 0.95);
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        transition: all 0.3s ease;
        font-size: 16px;
        color: #666;
    }
    
    .favorite-button-container .add-to-favorites-button:hover:not(:disabled) {
        background: white;
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
        color: #e74c3c;
    }
    
    .favorite-button-container .add-to-favorites-button.added {
        background: #ffe6e6;
        color: #e74c3c;
    }
    
    .favorite-button-container .add-to-favorites-button:disabled {
        cursor: not-allowed;
        opacity: 0.8;
    }
    
    /* Para o botão na página single */
    .product-actions .add-to-favorites-button {
        background: #f8f9fa;
        border: 2px solid #e9ecef;
        border-radius: 8px;
        padding: 12px;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 18px;
        color: #666;
        margin-left: 10px;
    }
    
    .product-actions .add-to-favorites-button:hover:not(:disabled) {
        background: white;
        border-color: #e74c3c;
        color: #e74c3c;
        transform: translateY(-2px);
    }
    
    .product-actions .add-to-favorites-button.added {
        background: #ffe6e6;
        border-color: #e74c3c;
        color: #e74c3c;
    }

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin: 15px 0;
    }
    
.breadcrumb {
padding-top: 120px;
padding-bottom: 20px;
}



    .hero  {
        padding-top: 120px;
    }



    .hero h1 {
        font-size: 36px;
    }
    


    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .posts-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .product-section {
        flex-direction: column;
    }
    
    .tabs-header {
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .thumbnail-container {
        justify-content: center;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-input, .newsletter-btn {
        border-radius: var(--radius);
        width: 100%;
    }
    
    .newsletter-btn {
        margin-top: 10px;
        padding: 15px;
    }
    
    .footer-column {
        min-width: 100%;
    }
    
    .article-title,
    .page-title {
        font-size: 2rem;
    }
    
    .article-image {
        height: 250px;
    }
    
    .article-content,
    .page-content {
        padding: 20px;
    }

    .news-grid-with-images {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-meta-compact {
        flex-direction: column;
        gap: 8px;
    }
    
    /* Galerias WordPress Responsive */
    .gallery-thumbnail-wp {
        width: 60px;
        height: 60px;
    }
    
    .post-gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .post-gallery-item img {
        height: 150px;
    }
    
    .gallery-modal-content {
        max-width: 95%;
        max-height: 95%;
    }
    
    .gallery-modal-close,
    .gallery-modal-prev,
    .gallery-modal-next {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
    
    /* Archive Responsive */
    .filter-row {
        grid-template-columns: 1fr;
    }
    
    .archive-grid {
        grid-template-columns: 1fr;
    }
    
    .archive-pagination {
        flex-direction: column;
    }
    
    .pagination-numbers {
        order: -1;
        margin-bottom: 1rem;
    }

   .product-section {
        flex-direction: column;
    }
    
    .gallery-main-image-wp {
        min-height: 300px;
    }
    
    .gallery-thumbnail-wp {
        width: 60px;
        height: 60px;
    }
    
    .product-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .add-to-cart,
    .wishlist-btn {
        width: 100%;
        justify-content: center;
    }
    .pagination {
        gap: 4px;
    }
    
    .pagination-btn {
        padding: 6px 12px;
        font-size: 12px;
    }


}


header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: white;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    will-change: transform;
}

.header-visible {
    box-shadow: 0 2px 30px rgba(0,0,0,0.15);
}

.header-hidden {
    box-shadow: none;
}

/* Compensação do header */
body {
    padding-top: 80px;
}

/* Scroll suave com compensação */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}
