/* Responsivo - Mobile First */

/* Tablets (768px e acima) */
@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

/* Desktops (1024px e acima) */
@media (min-width: 1024px) {
    .container {
        padding: 0 1rem;
    }
}

/* Telas grandes (1440px e acima) */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
}

/* Mobile - Pequenas telas (480px e abaixo) */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .container {
        padding: 0 0.75rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
    }

    /* Top Bar */
    .top-bar p {
        font-size: 0.65rem;
        letter-spacing: 0.5px;
    }

    /* Navbar */
    .navbar-container {
        padding: 0.6rem 0;
    }

    .navbar-logo img {
        height: 35px;
    }

    .navbar-actions {
        gap: 0.75rem;
    }

    .action-link span {
        display: none;
    }

    /* Shipping Bar */
    .shipping-bar p {
        font-size: 0.7rem;
    }

    /* Hero Banner */
    .hero-banner-img {
        min-height: 180px;
        object-fit: cover;
        object-position: center;
    }

    /* Benefits Bar */
    .benefits-grid {
        flex-direction: column;
    }

    .benefit-item {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        padding: 0.75rem 1rem;
        justify-content: flex-start;
    }

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

    .benefit-icon {
        width: 30px;
        height: 30px;
    }

    .benefit-icon svg {
        width: 14px;
        height: 14px;
    }

    .benefit-item p {
        font-size: 0.7rem;
    }

    /* Products */
    .featured-products h2 {
        font-size: 1.5rem;
    }

    .products-grid {
        gap: 1rem;
    }

    .product-card {
        border-radius: 4px;
    }

    .product-image {
        height: 200px;
    }

    .product-info {
        padding: 1rem;
    }

    .product-info h3 {
        font-size: 1.1rem;
    }

    .product-price {
        font-size: 1.2rem;
    }

    /* Newsletter */
    .newsletter h2 {
        font-size: 1.5rem;
    }

    .newsletter > .container > p {
        font-size: 0.95rem;
    }

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

/* Tablets - Médias telas */
@media (min-width: 481px) and (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .navbar-logo img {
        height: 40px;
    }

    .action-link span {
        display: none;
    }

    .featured-products h2 {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .newsletter h2 {
        font-size: 1.8rem;
    }

    /* Benefits Grid - 2 colunas no tablet */
    .benefits-grid {
        flex-wrap: wrap;
    }

    .benefit-item {
        flex: 1 1 48%;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .benefit-item:nth-child(2) {
        border-right: none;
    }

    .benefit-item:nth-child(3),
    .benefit-item:nth-child(4) {
        border-bottom: none;
    }
}

/* Orientação Landscape */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-banner-img {
        max-height: 85vh;
        object-fit: cover;
    }
}

/* Impressão */
@media print {
    .navbar,
    .top-bar,
    .shipping-bar,
    .benefits-bar,
    .newsletter-form,
    .footer {
        display: none;
    }

    body {
        background-color: white;
        color: black;
    }

    .product-card {
        page-break-inside: avoid;
    }
}
