/*
Theme Name: WayImport Theme
Theme URI: https://wayimport.com.br
Author: C.C.Soft++
Description: Tema baseado no layout original do WayImport.
Version: 1.0.0
*/

/* COLE AQUI TODO O CONTEÚDO DA SUA TAG <style> ORIGINAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    color: #333;
    background-color: #f9f9f9;
}

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

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

.btn {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center;
}

.btn-subscribe {
    background-color: #d9534f;
    color: #ffffff;
}

.btn-info, .btn-search {
    background-color: #0056b3;
    color: #ffffff;
}

.btn:hover {
    opacity: 0.85;
}

.top-bar {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar span {
    margin: 0 15px;
}

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

.search-box {
    display: flex;
    width: 40%;
}

.search-box input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
    outline: none;
}

.search-box button {
    border-radius: 0 4px 4px 0;
    padding: 0 15px;
}

.social-header a {
    font-size: 20px;
    margin-left: 10px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-header a:hover.instagram,
.social-footer a:hover.instagram {
    color: #e1306c;
}

.social-header a:hover.facebook,
.social-footer a:hover.facebook {
    color: #1877f2;
}

.social-header a:hover.youtube,
.social-footer a:hover.youtube {
    color: #ff0000;
}

.nav-bar {
    background-color: #111;
    position: relative;
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 15px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

.menu {
    display: flex;
    list-style: none;
    justify-content: center;
    flex-grow: 1;
}

.menu li a {
    display: block;
    padding: 12px 20px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.menu li a:hover {
    background-color: #0056b3;
}

.main-slider {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 400px;
    margin: 20px auto 30px;
    overflow: hidden;
    background-color: #333;
}

.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
}

.slide-item.active {
    opacity: 1;
    visibility: visible;
}

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

.slide-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.65);
    padding: 25px 40px;
    border-radius: 8px;
    width: 80%;
    max-width: 650px;
}

.slide-caption h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slide-caption p {
    font-size: 1.1rem;
    font-weight: 300;
}

.section-carousel {
    text-align: center;
    margin: 40px 0;
}

.section-carousel h2, .featured-products h2, .about-text h2 {
    margin-bottom: 20px;
    text-transform: uppercase;
}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.product-carousel {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    width: 100%;
}

.product-carousel::-webkit-scrollbar {
    display: none;
}

.product-card {
    min-width: 180px;
    width: 180px;
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.product-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card img {
    width: 180px;
    height: 150px;
    object-fit: cover;
    margin: 0 auto 10px;
}

.product-card h3 {
    font-size: 0.95rem;
    color: #333;
}

.carousel-btn {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 15px 12px;
    cursor: pointer;
    z-index: 10;
    font-size: 18px;
}

.about-text {
    text-align: center;
    max-width: 800px;
    margin: 40px auto;
    line-height: 1.6;
}

.featured-products {
    text-align: center;
    margin: 40px 0;
}

.grid-featured {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.featured-card {
    background: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    text-align: center;
    width: 300px;
}

.featured-card img {
    width: 300px;
    height: 250px;
    object-fit: cover;
    margin-bottom: 10px;
}

.featured-card h3 {
    margin: 15px 0;
}

footer {
    background-color: #111;
    color: #fff;
    margin-top: 50px;
}

.brand-notice {
    background-color: #222;
    padding: 20px 0;
    border-bottom: 1px solid #333;
}

.notice-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.newsletter {
    background-color: #000;
    padding: 30px 0;
    text-align: center;
}

.newsletter h3 {
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.newsletter-form input {
    padding: 10px;
    width: 300px;
    border-radius: 4px;
    border: none;
    outline: none;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    padding: 40px 15px;
    gap: 20px;
}

.col {
    flex: 1;
}

.col h4 {
    margin-bottom: 15px;
    border-bottom: 2px solid #0056b3;
    display: inline-block;
    padding-bottom: 5px;
}

.social-footer a {
    color: #fff;
    font-size: 24px;
    margin-right: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright {
    background-color: #000;
    text-align: center;
    padding: 15px 0;
    font-size: 14px;
    border-top: 1px solid #222;
}

@media (max-width: 768px) {
    .main-header, .notice-content, .footer-columns {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .search-box {
        width: 100%;
    }

    .menu-toggle {
        display: block;
    }

    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #111;
    }

    .menu.active {
        display: flex;
    }

    .menu li {
        border-top: 1px solid #222;
    }

    .menu li a {
        padding: 15px;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }

    .newsletter-form input {
        width: 100%;
        max-width: 300px;
    }

    .main-slider {
        height: 250px;
    }

    .slide-caption {
        padding: 15px;
        width: 90%;
    }

    .slide-caption h2 {
        font-size: 1.2rem;
    }

    .slide-caption p {
        font-size: 0.9rem;
    }
}