/* 1. Reset e Fontes */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap');

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

body {
    background-color: #EBEBEB;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

header {
    background-color: #FFE600;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 50;
}

input#searchInput::placeholder {
    color: #bbb;
    font-weight: 300;
}

nav a,
nav div {
    transition: color 0.2s ease-in-out;
}

input#searchInput::placeholder {
    color: #bbb;
    font-weight: 300;
}

.banner-container {
    width: 100%;
    position: relative;
}

.banner-container a {
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    outline: none;
    display: block;
}

.banner-container a:focus,
.banner-container a:active,
.banner-container a:visited {
    outline: none;
    box-shadow: none;
    color: transparent;

}

.banner-container img {
    -webkit-user-drag: none;
}

.banner-wrapper::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 250px;
    background: linear-gradient(to bottom, rgba(235, 235, 235, 0) 0%, #EBEBEB 100%);
    z-index: 20;
    pointer-events: none;
}

.swiper {
    width: 100%;
    height: auto;
}

.swiper-slide img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.swiper-button-next,
.swiper-button-prev {
    color: #3483fa !important;
    background: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 25;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.swiper-pagination-bullet-active {
    background: #3483fa !important;
}

main {
    max-width: 1200px;
    margin: -150px auto 0;
    padding: 0 15px 50px;
    position: relative;
    z-index: 30;
}

.ml-card {
    background: white;
    border-radius: 6px;
    padding: 15px;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ml-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-image-container {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    background: white;
    overflow: hidden;
}

.product-image-container img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.price-tag {
    font-size: 22px;
    color: #333;
    font-weight: 400;
}

.shipping-free {
    color: #00a650;
    font-size: 12px;
    font-weight: 600;
}

nav a,
nav div {
    transition: color 0.2s;
}

.last-seen-section {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

footer {
    background-color: #fff;
    border-top: 1px solid #e6e6e6;
    padding: 40px 0;
    margin-top: 50px;
    color: #666;
    font-size: 13px;
}

.mb-4 a {
    text-decoration: underline;
    color: #3483fa;
}

@media (max-width: 768px) {

    header {
        position: relative;
    }

    .flex.items-center.gap-1.text-\[13px\].text-gray-700.py-1.border-t.border-black\/5 {
        display: none !important;
    }   

    .group:hover .hover\:text-black {
        color: #000;
    }

    .swiper-slide img {
        height: 200px;
    }
    
    .banner-wrapper::after {
        display: none !important;
    }

    main {
        margin-top: 0 !important;
        padding: 0 10px;
    }

    #navMenu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #FFE600;
        padding: 20px;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
}

@media (max-width: 480px) {
    #productGrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .price-tag {
        font-size: 18px;
    }
}