/* Estilos para a página da loja - Macro */
.main-section {
    padding: 120px 20px 40px;
    margin-top: 0;
}

.heading-wrapper {
    padding: 0 15px;
    margin-bottom: 40px;
}

.main-heading {
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 20px;
    text-align: center;
}

.product-showcase {
    padding: 40px 15px 80px;
    background-color: var(--white);
}

.main-carousel {
    margin-bottom: 80px;
    position: relative;
    padding: 0 10px;
}

.swiper-container {
    width: 100%;
    padding-bottom: 50px;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-image-wrapper {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card:hover .product-overlay,
.product-card-small:hover .product-overlay {
    opacity: 1;
}

.view-button {
    color: var(--white);
    background: rgba(0, 0, 0, 0.7);
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.product-card:hover .view-button,
.product-card-small:hover .view-button {
    transform: translateY(0);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.product-card-small {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
}

.product-card-small:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Estilos do Swiper personalizados */
.swiper-button-next,
.swiper-button-prev {
    background-color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
    color: #333;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #666;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #333;
}

/* Animações */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.show {
    opacity: 1;
    transform: translateY(0);
}

/* Responsividade */
@media screen and (max-width: 991px) {
    .product-showcase {
        padding: 60px 0;
    }

    .main-carousel {
        margin-bottom: 60px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 30px;
    }
}

@media screen and (max-width: 767px) {
    .main-section {
        padding: 100px 15px 30px;
    }

    .heading-wrapper {
        padding: 0 10px;
        margin-bottom: 30px;
    }

    .main-heading {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .product-showcase {
        padding: 30px 10px 60px;
    }

    .main-carousel {
        margin-bottom: 40px;
        padding: 0 5px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
        padding: 0 10px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media screen and (max-width: 479px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }

    .view-button {
        padding: 8px 16px;
        font-size: 14px;
    }
}
