/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* ===== TOP BAR ===== */
.top-bar {
    background: linear-gradient(90deg, #ff6b35, #f7c948, #4ecdc4, #ff6b9d, #a78bfa);
    color: #fff;
    padding: 10px 0;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}

.top-bar-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.top-bar a {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.top-bar a:hover {
    color: #fffde7;
    transform: scale(1.05);
}

.top-bar i {
    font-size: 1.15rem;
}

/* ===== HEADER ===== */
.header-main {
    background: linear-gradient(135deg, #fff9e6 0%, #e0f7fa 40%, #fce4ec 100%);
    padding: 18px 0;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.12);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, #ff6b35, #f7c948, #4ecdc4, #ff6b9d, #a78bfa) 1;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.logo img {
    width: 200px;
    height: 83px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.search-box {
    flex: 1;
    max-width: 400px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 11px 45px 11px 18px;
    border: 2px solid #ffb74d;
    border-radius: 25px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: #fff;
}

.search-box input:focus {
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

.search-box button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #ff6b35, #ff8a65);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(255, 107, 53, 0.4);
}

.search-box button:hover {
    background: linear-gradient(135deg, #e55a2b, #ff6b35);
    transform: translateY(-50%) scale(1.08);
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s;
    color: #fff;
}

.social-icons a:nth-child(1) { background: #1877f2; } /* Facebook */
.social-icons a:nth-child(2) { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); } /* Instagram */
.social-icons a:nth-child(3) { background: #ff0000; } /* YouTube */
.social-icons a:nth-child(4) { background: #0a66c2; } /* LinkedIn */

.social-icons a:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ===== NAVIGATION ===== */
.main-nav {
    background: linear-gradient(90deg, #ff6b35 0%, #f7c948 25%, #4ecdc4 50%, #ff6b9d 75%, #a78bfa 100%);
    position: relative;
    box-shadow: 0 3px 12px rgba(0,0,0,0.12);
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    flex-wrap: nowrap;
}

.nav-menu li a {
    display: block;
    padding: 15px 12px;
    color: #1a1a1a;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    white-space: nowrap;
    transition: all 0.3s;
    text-shadow: 0 1px 0 rgba(255,255,255,0.55), 0 0 2px rgba(255,255,255,0.4);
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 3px;
    background: #1a1a1a;
    border-radius: 2px;
    transition: transform 0.3s;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background: rgba(255,255,255,0.35);
    color: #000;
    text-shadow: 0 1px 0 rgba(255,255,255,0.7);
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    color: #1a1a1a;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 10px 15px;
    text-shadow: 0 1px 0 rgba(255,255,255,0.5);
}

/* ===== HERO SLIDER ===== */
.hero-slider {
    position: relative;
    overflow: hidden;
    height: 420px;
    background: #222;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

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

.slide-content {
    position: absolute;
    z-index: 2;
    text-align: center;
    color: #fff;
    background: rgba(0,0,0,0.55);
    padding: 30px 40px;
    border-radius: 12px;
    max-width: 600px;
}

.slide-content h2 {
    font-size: 2rem;
    margin-bottom: 12px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 1rem;
    margin-bottom: 8px;
    line-height: 1.5;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: #ff5722;
    color: #fff;
}

.btn-primary:hover {
    background: #e64a19;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,87,34,0.4);
}

.btn-secondary {
    background: #1976d2;
    color: #fff;
}

.btn-secondary:hover {
    background: #0d47a1;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid #1976d2;
    color: #1976d2;
}

.btn-outline:hover {
    background: #1976d2;
    color: #fff;
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.slider-dot.active {
    background: #fff;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    transition: background 0.3s;
}

.slider-arrow:hover {
    background: rgba(0,0,0,0.7);
}

.slider-arrow.prev { left: 15px; }
.slider-arrow.next { right: 15px; }

/* ===== SECTIONS ===== */
.section {
    padding: 50px 0;
}

.section-title {
    text-align: center;
    font-size: 1.9rem;
    color: #0d47a1;
    margin-bottom: 15px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #ff5722;
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.05rem;
}

/* About teaser */
.about-teaser {
    background: #fff;
    text-align: center;
}

.about-teaser p {
    max-width: 800px;
    margin: 0 auto 25px;
    color: #555;
    font-size: 1.05rem;
}

/* Categories Carousel */
.categories-section {
    background: linear-gradient(135deg, #e3f2fd 0%, #fce4ec 100%);
}

.categories-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

.categories-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 5px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    flex: 1;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.categories-carousel::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.cat-arrow {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #ff6b35, #f7c948);
    color: #1a1a1a;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(255, 107, 53, 0.35);
    transition: all 0.3s;
    z-index: 5;
}

.cat-arrow:hover {
    background: linear-gradient(135deg, #e55a2b, #ff6b35);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 5px 16px rgba(255, 107, 53, 0.5);
}

.cat-arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
}

.category-card {
    flex: 0 0 160px;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.category-card img {
    width: 90px;
    height: 90px;
    margin: 0 auto 12px;
    border-radius: 50%;
    object-fit: cover;
}

.category-card h3 {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 10px;
}

.category-card .btn {
    padding: 8px 16px;
    font-size: 0.8rem;
}

/* Featured Products */
.featured-section {
    background: #fff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

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

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: contain; /* mostra a imagem inteira, sem cortar */
    object-position: center;
    background: #f5f5f5;
    padding: 8px;
    box-sizing: border-box;
}

.product-card .info {
    padding: 18px 15px;
}

.product-card h3 {
    font-size: 1.05rem;
    color: #333;
    margin-bottom: 12px;
    min-height: 48px;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #1976d2, #0d47a1);
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.page-header p {
    opacity: 0.9;
    font-size: 1.05rem;
}

/* Content pages */
.content-section {
    background: #fff;
    padding: 40px 0;
}

.content-box {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    color: #444;
}

.content-box h2 {
    color: #0d47a1;
    margin: 25px 0 12px;
}

.content-box p {
    margin-bottom: 15px;
}

/* Página Sobre - H3 título e parágrafos */
.page-sobre .content-box h3,
.page-sobre .content-box h3.wp-block-heading,
.content-box-sobre h3,
.content-box-sobre h3.wp-block-heading,
.page-sobre .content-box > h3:first-of-type {
    font-size: 2.6rem !important;
    line-height: 1.2 !important;
    color: #e53935 !important;
    font-weight: 800 !important;
    margin: 0 0 32px !important;
    display: block !important;
}

.page-sobre .content-box p,
.content-box-sobre p,
.page-sobre .content-box .wp-block-paragraph,
.content-box-sobre .wp-block-paragraph {
    margin-top: 0 !important;
    margin-bottom: 2em !important; /* 1 linha em branco entre parágrafos */
    padding-bottom: 0.35em !important;
    line-height: 1.9 !important;
}

.page-sobre .content-box p + p,
.content-box-sobre p + p {
    margin-top: 0.5em !important;
}

/* Se o texto usar quebras <br> no lugar de parágrafos */
.page-sobre .content-box br,
.content-box-sobre br {
    display: block;
    content: "";
    margin-bottom: 1em;
}

.product-single-section {
    padding-top: 35px;
}

/* Categories icons on products page */

/* Página Produtos - título menor + grade */
.page-produtos-section {
    padding-top: 30px;
}
.produtos-page-header {
    text-align: center;
    margin-bottom: 35px;
}
.produtos-page-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0d47a1;
    margin: 0 0 8px;
}
.produtos-page-subtitle {
    font-size: 1rem;
    color: #666;
    margin: 0;
}
.cat-icons-grid a.cat-icon-item {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.25s, box-shadow 0.25s;
}
.cat-icons-grid a.cat-icon-item:hover {
    transform: translateY(-5px);
}
.cat-icons-grid a.cat-icon-item .btn {
    pointer-events: none;
}

.cat-icons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.cat-icon-item {
    background: #fff;
    border-radius: 12px;
    padding: 25px 15px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.07);
    transition: all 0.3s;
}

.cat-icon-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.cat-icon-item img {
    width: 80px;
    height: 80px;
    margin: 0 auto 12px;
    border-radius: 50%;
}

.cat-icon-item h3 {
    font-size: 1rem;
    margin-bottom: 12px;
    color: #333;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #ddd;
    color: #333;
    font-weight: 600;
    transition: all 0.3s;
}

.pagination a:hover,
.pagination span.current {
    background: #1976d2;
    color: #fff;
    border-color: #1976d2;
}

/* Product Detail */
.product-detail {
    display: block;
}

.product-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 35px;
    align-items: start;
    margin-bottom: 35px;
}

.product-gallery {
    display: flex;
    flex-direction: row;
    gap: 14px;
    align-items: flex-start;
}

.product-gallery .thumbnails {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
    max-height: 480px;
    overflow-y: auto;
    padding-right: 4px;
}

.product-gallery .thumbnails img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid #ddd;
    transition: border-color 0.25s;
    display: block;
    background: #f5f5f5;
}

.product-gallery .thumbnails img.active,
.product-gallery .thumbnails img:hover {
    border-color: #1976d2;
}

.product-gallery .main-photo {
    flex: 1;
    min-width: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
    cursor: zoom-in;
}

.product-gallery .main-photo img {
    width: 100%;
    max-height: 480px;
    object-fit: contain;
    display: block;
}

.product-info .product-title,
.product-info h1 {
    font-size: 1.65rem;
    color: #0d47a1;
    margin-bottom: 18px;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 0;
}

.product-info .product-actions {
    margin-top: 4px;
}

.product-description-block {
    border-top: 1px solid #e8e8e8;
    padding-top: 28px;
}

.product-description-block .description-title,
.product-info .description-title {
    color: #e53935;
    font-size: 1.45rem;
    font-weight: 700;
    margin: 0 0 14px;
}

.product-description-block .description,
.product-info .description {
    color: #555;
    line-height: 1.7;
}

/* Download buttons - product page */
.product-download-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}
.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
    color: #fff !important;
}
.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    color: #fff !important;
}
.btn-download.btn-manual {
    background: linear-gradient(135deg, #c62828, #e53935);
}
.btn-download.btn-imagens {
    background: linear-gradient(135deg, #1565c0, #1e88e5);
}
.btn-download.btn-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

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

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.3s;
}

.lightbox-arrow:hover {
    background: rgba(255,255,255,0.4);
}

.lightbox-arrow.prev { left: -70px; }
.lightbox-arrow.next { right: -70px; }

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #1976d2;
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

/* Contact / Address cards */
.address-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.address-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.address-card h3 {
    color: #0d47a1;
    margin-bottom: 12px;
    font-size: 1.15rem;
}

.address-card p {
    margin-bottom: 8px;
    color: #555;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.address-card i {
    color: #1976d2;
    margin-top: 3px;
}

/* FOOTER */

/* Newsletter no footer */
.footer-newsletter {
    background: linear-gradient(135deg, #0d47a1 0%, #1565c0 50%, #1976d2 100%);
    color: #fff;
    padding: 36px 0;
}
.newsletter-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}
.newsletter-text h3 {
    margin: 0 0 6px;
    font-size: 1.45rem;
    font-weight: 800;
    color: #fff;
}
.newsletter-text p {
    margin: 0;
    opacity: 0.95;
    font-size: 1rem;
}
.newsletter-form {
    flex: 1 1 420px;
    max-width: 640px;
}
.newsletter-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.newsletter-fields input[type="text"],
.newsletter-fields input[type="email"] {
    flex: 1 1 160px;
    min-width: 150px;
    padding: 12px 14px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #333;
}
.newsletter-fields input:focus {
    outline: 2px solid #ffeb3b;
}
.btn-newsletter {
    background: #e53935;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    padding: 12px 22px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.btn-newsletter:hover {
    background: #c62828;
    transform: translateY(-1px);
}
.newsletter-msg {
    margin: 10px 0 0;
    font-size: 0.92rem;
    font-weight: 600;
}
.newsletter-ok { color: #c8e6c9; }
.newsletter-erro { color: #ffcdd2; }
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}
@media (max-width: 768px) {
    .newsletter-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .newsletter-form {
        max-width: none;
    }
    .newsletter-fields {
        flex-direction: column;
    }
    .newsletter-fields input[type="text"],
    .newsletter-fields input[type="email"],
    .btn-newsletter {
        width: 100%;
    }
}

.footer-top {
    background: linear-gradient(90deg, #ff6b35, #f7c948, #4ecdc4);
    color: #1a1a1a;
    padding: 16px 0;
    text-align: center;
    font-weight: 700;
    text-shadow: 0 1px 0 rgba(255,255,255,0.4);
}

.footer-top-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-top img {
    width: 200px;
    height: 117px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    padding: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.footer-main {
    background: linear-gradient(135deg, #5b4cdb 0%, #8b7cf0 35%, #e85a8c 70%, #e8b84a 100%);
    color: #1a1a1a;
    padding: 45px 0;
}

.footer-columns {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 40px;
}

.footer-col {
    text-align: center;
}

.footer-col .logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-col .logo-wrap img {
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.footer-col h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: #1a1a1a;
    font-weight: 800;
    text-shadow: 0 1px 0 rgba(255,255,255,0.5);
}

.footer-col p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #1a1a1a;
    font-weight: 600;
    text-shadow: 0 1px 0 rgba(255,255,255,0.4);
}

.footer-col p.footer-address {
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.45;
}

.footer-col p.footer-address .footer-address-text {
    display: inline-block;
    flex: 0 1 auto;
    white-space: normal;
    word-break: break-word;
    text-align: center;
}

.footer-col p.footer-address i {
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-col p i {
    color: #1a1a1a;
    font-size: 1.05rem;
}

.footer-col .social-icons a {
    background: #1a1a1a;
    color: #fff;
    border: 2px solid #1a1a1a;
    width: 40px;
    height: 40px;
}

.footer-col .social-icons a:nth-child(1) { background: #1877f2; border-color: #1877f2; }
.footer-col .social-icons a:nth-child(2) { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); border-color: #dc2743; }
.footer-col .social-icons a:nth-child(3) { background: #ff0000; border-color: #ff0000; }
.footer-col .social-icons a:nth-child(4) { background: #0a66c2; border-color: #0a66c2; }

.footer-col .social-icons a:hover {
    background: #fff !important;
    color: #1a1a1a;
    border-color: #1a1a1a;
    transform: translateY(-3px) scale(1.12);
}

.footer-bottom {
    background: linear-gradient(90deg, #a78bfa, #ff6b9d, #f7c948, #4ecdc4);
    color: #1a1a1a;
    padding: 16px 0;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    text-shadow: 0 1px 0 rgba(255,255,255,0.45);
}

/* Responsive */
@media (max-width: 992px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: linear-gradient(180deg, #ff6b35, #f7c948, #4ecdc4, #ff6b9d, #a78bfa);
        flex-direction: column;
        z-index: 999;
        box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li a {
        padding: 14px 20px;
        border-bottom: 1px solid rgba(0,0,0,0.1);
        color: #1a1a1a;
    }

    .hamburger {
        display: block;
    }

    .header-content {
        justify-content: space-between;
    }

    .search-box {
        order: 3;
        max-width: 100%;
        width: 100%;
        margin-top: 10px;
    }

    .product-top {
        grid-template-columns: 1fr;
    }
    .product-gallery {
        flex-direction: row;
    }
    .product-gallery .thumbnails {
        max-height: 320px;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .lightbox-arrow.prev { left: 10px; }
    .lightbox-arrow.next { right: 10px; }
}

@media (max-width: 576px) {
    .top-bar-content {
        gap: 15px;
        font-size: 0.8rem;
    }

    .hero-slider {
        height: 320px;
    }

    .slide-content {
        padding: 20px;
        max-width: 90%;
    }

    .slide-content h2 {
        font-size: 1.4rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}


/* Botão flutuante WhatsApp */
.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.whatsapp-float i {
    font-size: 32px;
    line-height: 1;
}
.whatsapp-float:hover {
    transform: scale(1.08);
    background: #1ebe57;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
    color: #fff !important;
}
.whatsapp-float:focus {
    outline: 3px solid rgba(37, 211, 102, 0.45);
    outline-offset: 3px;
}
@media (max-width: 600px) {
    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 54px;
        height: 54px;
    }
    .whatsapp-float i {
        font-size: 28px;
    }
}


/* Formulários de página (Distribuidor, Representante, Contato) */
.page-form-section {
    padding-top: 35px;
    padding-bottom: 50px;
}
.form-page-title {
    font-size: 1.75rem;
    color: #0d47a1;
    font-weight: 800;
    margin: 0 0 16px;
    text-align: center;
}
.form-page-intro {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.7;
    margin: 0 auto 28px;
    max-width: 720px;
    text-align: center;
}
.brinquedos-form {
    max-width: 560px;
    margin: 0 auto;
    background: #fff;
    padding: 28px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.brinquedos-form .form-group {
    margin-bottom: 16px;
}
.brinquedos-form label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    font-size: 0.95rem;
}
.brinquedos-form input[type="text"],
.brinquedos-form input[type="email"],
.brinquedos-form input[type="tel"],
.brinquedos-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccd3db;
    border-radius: 8px;
    font-size: 0.98rem;
    color: #222;
    box-sizing: border-box;
}
.brinquedos-form input:focus,
.brinquedos-form textarea:focus {
    outline: none;
    border-color: #1976d2;
    box-shadow: 0 0 0 3px rgba(25,118,210,0.15);
}
.brinquedos-form .btn-form-submit {
    width: 100%;
    margin-top: 8px;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 700;
}
.form-feedback {
    max-width: 560px;
    margin: 0 auto 18px;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
}
.form-ok {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}
.form-erro {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}


/* Onde Comprar - parceiros */
.parceiros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin: 30px auto 10px;
    max-width: 900px;
}
.parceiro-card {
    background: #fff;
    border: 1px solid #e6e9ef;
    border-radius: 12px;
    padding: 18px 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    gap: 10px;
}
.parceiro-card img {
    width: 140px;
    max-width: 100%;
    height: 60px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
.parceiro-card strong {
    font-size: 0.9rem;
    color: #333;
    font-weight: 700;
}
.parceiro-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 56px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 8px;
    color: #0d47a1;
    font-weight: 700;
    font-size: 0.78rem;
    text-align: center;
    padding: 6px;
    line-height: 1.2;
}
.onde-comprar-extra {
    margin-top: 30px;
}


/* Onde Comprar: sem cabeçalho grande */
body.page-template-page-onde-comprar .page-header,
body.page-slug-onde-comprar .page-header {
    display: none !important;
}
.page-form-section .form-page-intro {
    text-align: center;
    font-size: 1.15rem;
    margin-bottom: 30px;
}


/* Onde Comprar — somente texto + logos */
.page-onde-comprar-only {
    padding: 40px 0 60px;
    background: #fff;
}
.onde-comprar-texto {
    text-align: center;
    font-size: 1.25rem;
    color: #333;
    margin: 0 0 35px;
    font-weight: 600;
}
.parceiros-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
    align-items: center;
    justify-items: center;
}
.parceiro-logo-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 16px;
    width: 100%;
    max-width: 180px;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.parceiro-logo-item img {
    max-width: 140px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
body.page-template-page-onde-comprar .page-header {
    display: none !important;
}


/* ========== Onde Comprar — galeria centralizada ========== */
.page-onde-comprar-gallery {
    padding: 40px 0 60px;
    background: #fff;
}
.onde-comprar-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}
.onde-comprar-title {
    font-size: 1.75rem;
    color: #0d47a1;
    font-weight: 800;
    margin: 0 0 16px;
    text-align: center;
}
.onde-comprar-content {
    text-align: center;
}
.onde-comprar-content p {
    text-align: center;
    margin: 0 auto 24px;
    max-width: 720px;
    line-height: 1.7;
    color: #444;
}

/* Galeria blocos Gutenberg */
.onde-comprar-content .wp-block-gallery,
.onde-comprar-content .wp-block-gallery.is-layout-flex,
.onde-comprar-content ul.wp-block-gallery {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.onde-comprar-content .wp-block-gallery .wp-block-image,
.onde-comprar-content .wp-block-gallery figure {
    margin: 0 !important;
    float: none !important;
}

.onde-comprar-content .wp-block-gallery img,
.onde-comprar-content .wp-block-image img {
    display: block;
    max-width: 160px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    border-radius: 8px;
    background: #fff;
    padding: 10px;
    border: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

/* Galeria clássica [gallery] */
.onde-comprar-content .gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 0 auto !important;
    text-align: center;
}
.onde-comprar-content .gallery .gallery-item {
    float: none !important;
    margin: 0 !important;
    width: auto !important;
    max-width: 180px;
}
.onde-comprar-content .gallery img {
    max-width: 160px;
    max-height: 80px;
    object-fit: contain;
    border: 1px solid #eee !important;
    border-radius: 8px;
    padding: 10px;
    background: #fff;
}

/* Imagens soltas no conteúdo */
.onde-comprar-content > .wp-block-image,
.onde-comprar-content p > img {
    display: inline-block;
    margin: 10px;
}
.onde-comprar-content > .wp-block-image img {
    max-width: 160px;
    max-height: 80px;
    object-fit: contain;
}

body.page-template-page-onde-comprar .page-header {
    display: none !important;
}

/* Força visibilidade da galeria Onde Comprar */
.onde-comprar-forced,
.parceiros-logos {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 20px !important;
    max-width: 960px !important;
    margin: 0 auto 20px !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.onde-comprar-forced {
    display: block !important;
}
.onde-comprar-forced .parceiros-logos {
    display: flex !important;
}
.parceiro-logo-item {
    display: flex !important;
    visibility: visible !important;
    width: 160px !important;
    min-height: 90px !important;
    padding: 12px !important;
    background: #fff !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 10px !important;
    align-items: center !important;
    justify-content: center !important;
}
.parceiro-logo-item img {
    display: block !important;
    max-width: 140px !important;
    max-height: 70px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.onde-comprar-texto {
    display: block !important;
    text-align: center !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    margin: 0 0 28px !important;
    color: #333 !important;
}


/* Onde Comprar - logos */
.onde-comprar-main {
    padding: 40px 0 60px;
    background: #fff;
    min-height: 200px;
}
.onde-comprar-main .parceiros-logos,
.page-onde-comprar-gallery .parceiros-logos,
.onde-comprar-forced .parceiros-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 22px;
    max-width: 960px;
    margin: 0 auto;
}
.onde-comprar-main .parceiro-logo-item,
.parceiro-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    min-height: 90px;
    padding: 12px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.onde-comprar-main .parceiro-logo-item img,
.parceiro-logo-item img {
    display: block;
    max-width: 140px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
}
body.page-template-page-onde-comprar .page-header {
    display: none !important;
}
