/* ============================================= */
/* VARIÁVEIS E CONFIGURAÇÕES GLOBAIS */
/* ============================================= */
@font-face {
    font-family: luckpet1;
    src: url(fontes/MADE\ TOMMY\ Medium_PERSONAL\ USE.otf);
}

:root {
    --primary-color: #ff7b00;
    --secondary-color: #40006b;
    --text-color: #333;
    --light-bg: #f8f8f8;
    --white: #ffffff;
    --dark-orange: #db9000;
    --dark-blue: #4682b4;
    --success-color: #4CAF50;
    --error-color: #f44336;
    --favorite-color: #ff4081;
}

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

body, html {
    height: 100%;
    width: 100%;
    scroll-behavior: smooth;
    color: var(--text-color);
    background-color: var(--light-bg);
}

/* ============================================= */
/* COMPONENTES GLOBAIS */
/* ============================================= */

/* Barra de promoção */
.promo-bar {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 8px;
    font-size: 1.1rem;
}

.promo-bar a {
    color: var(--white);
    text-decoration: underline;
    margin-left: 5px;
}

/* Cabeçalho principal */
.main-header {
    position: sticky;
    top: 0;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo a {
    color: var(--white);
    background-color: var(--primary-color);
    padding: 10px 20px;
    font-size: 2.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.logo a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.search-container {
    flex-grow: 1;
    margin: 0 30px;
}

.search-bar {
    width: 100%;
    max-width: 500px;
    padding: 10px 15px;
    border-radius: 25px;
    border: 1px solid #ddd;
    font-size: 1rem;
    margin: 0 auto;
    display: block;
}

.nav-icons {
    display: flex;
    gap: 20px;
}

.cart-icon, .profile-icon, .favorite-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: black;
    position: relative;
}

.cart-icon:hover, .profile-icon:hover, .favorite-icon:hover {
    transform: translateY(-3px);
}

.cart-icon img, .profile-icon img, .favorite-icon img {
    width: 37px;
    height: 37px;
}

.cart-icon span, .profile-icon span, .favorite-icon span {
    padding: 4px;
}

.cart-icon span, .favorite-icon span {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.profile-icon a {
    text-decoration: none;
    color: black;
    cursor: pointer;
}

/* ============================================= */
/* SEÇÕES PRINCIPAIS */
/* ============================================= */

/* Banners promocionais */
.promo-banners {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    background-color: var(--white);
    margin-bottom: 30px;
}

.banner {
    display: flex;
    align-items: center;
    padding: 15px;
    max-width: 350px;
    border-radius: 8px;
    background-color: white;
    box-shadow: none;
    border: 3px solid #e0e0e0;
}

.banner img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
}

.banner a {
    color: var(--dark-orange);
}

/* ========== CARROSSEL MODERNO ========== */
.hero-carousel {
    position: relative;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    margin: 0 auto 2rem;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.carousel-caption {
    position: absolute;
    bottom: 20%;
    left: 10%;
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 10px;
    max-width: 80%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease;
}

.carousel-slide.active .carousel-caption {
    transform: translateY(0);
    opacity: 1;
}

.carousel-caption h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.carousel-caption p {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.carousel-btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: var(--dark-orange);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 123, 0, 0.3);
}

.carousel-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    z-index: 10;
}

.carousel-prev, .carousel-next {
    background: rgba(255,255,255,0.7);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.carousel-prev:hover, .carousel-next:hover {
    background: white;
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

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

.carousel-dot.active {
    background: white;
    transform: scale(1.2);
}

/* ========== NAVEGAÇÃO POR CATEGORIAS ========== */
.pet-categories {
    padding: 1rem 0;
    margin-bottom: 6rem;
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
}

.categories-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    background: white;
    border-radius: 12px;
    padding: 1.5rem 0.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(0,0,0,0.05);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.category-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.2) rotate(10deg);
}

.category-card span {
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

/* Dispositivos pequenos (451px - 610px) */
@media (min-width: 451px) and (max-width: 610px) {
    .hero-carousel {
        max-height: 65vh;
    }
    
    .carousel-caption {
        bottom: 20%;
        left: 8%;
        max-width: 85%;
    }
    
    .categories-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Dispositivos médios (611px - 768px) */
@media (min-width: 611px) and (max-width: 768px) {
    .hero-carousel {
        max-height: 70vh;
    }
    
    .carousel-caption {
        bottom: 25%;
        left: 10%;
        max-width: 80%;
    }
    
    .categories-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Tablets (769px - 992px) */
@media (min-width: 769px) and (max-width: 992px) {
    .hero-carousel {
        max-height: 75vh;
    }
    
    .carousel-caption {
        bottom: 30%;
        left: 10%;
        max-width: 50%;
    }
    
    .carousel-caption h3 {
        font-size: 1.8rem;
    }
}

/* Desktops pequenos (993px - 1200px) */
@media (min-width: 993px) and (max-width: 1200px) {
    .hero-carousel {
        max-height: 80vh;
    }
    
    .carousel-caption {
        bottom: 30%;
        left: 10%;
        max-width: 45%;
    }
    
    .carousel-caption h3 {
        font-size: 2rem;
    }
}

/* Desktops grandes (> 1200px) */
@media (min-width: 1201px) {
    .hero-carousel {
        max-height: 85vh;
    }
    
    .carousel-caption {
        bottom: 35%;
        left: 15%;
        max-width: 40%;
        padding: 2rem;
    }
    
    .carousel-caption h3 {
        font-size: 2.2rem;
    }
    
    .carousel-caption p {
        font-size: 1.1rem;
    }
    
    .carousel-btn {
        padding: 0.8rem 2rem;
        font-size: 1.1rem;
    }
}

/* Orientação paisagem (landscape) */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-carousel {
        max-height: 100vh;
    }
    
    .carousel-caption {
        bottom: 15%;
        max-width: 60%;
    }
    
    .categories-container {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Seção de produtos */
.product-section {
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
    color: var(--secondary-color);
}

.section-title span {
    background: linear-gradient(45deg, #ff7b00, #ff00a6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 100px;
}

.product-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.product-card h3 {
    text-align: center;
    padding: 15px 15px 5px;
    font-size: 1.3rem;
}

.product-description {
    text-align: center;
    padding: 0 15px;
    color: #666;
    margin-bottom: 15px;
}

.price {
    text-align: center;
    padding: 0 15px;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.member-price {
    display: block;
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-top: 5px;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 15px 15px;
}

.add-to-cart {
    width: 100%;
    padding: 10px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.add-to-cart:hover {
    background-color: var(--dark-orange);
}

.add-to-favorites {
    width: 100%;
    padding: 10px;
    background-color: var(--white);
    color: var(--favorite-color);
    border: 2px solid var(--favorite-color);
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.add-to-favorites:hover, .add-to-favorites.favorited {
    background-color: var(--favorite-color);
    color: var(--white);
}

/* Carrossel de nutrição */
.nutrition-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f0f0f0;
}

.nutrition-carousel::-webkit-scrollbar {
    height: 8px;
}

.nutrition-carousel::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.nutrition-carousel::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
}

.nutrition-product {
    position: relative;
    overflow: hidden;
    min-width: 220px;
    background-color: var(--white);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.nutrition-product::after {
    content: "★ Premium";
    position: absolute;
    top: 10px;
    right: -25px;
    background: #ff7b00;
    color: white;
    padding: 3px 25px;
    transform: rotate(45deg);
    font-size: 0.7rem;
}

.nutrition-product:hover {
    transform: translateY(-5px) scale(1.02);
    transition: all 0.3s ease;
}

.nutrition-product img {
    width: 100%;
    height: 165px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 10px;
}

.nutrition-product h3 {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.cart-link {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.cart-link:hover {
    color: var(--dark-orange);
}

.quantity-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    text-align: center;
    justify-content: center;
    margin-top: 15px;
}

.btn-add, .btn-remove, .btn-favorite {
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-favorite {
    background-color: #ffe0e8;
    color: var(--favorite-color);
}

.btn-favorite.favorited {
    background-color: var(--favorite-color);
    color: white;
}

.btn-add {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.btn-remove {
    background-color: #ffebee;
    color: #c62828;
}

.btn-add:hover {
    background-color: #c8e6c9;
}

.btn-remove:hover {
    background-color: #ffcdd2;
}

.btn-favorite:hover {
    background-color: #ffc0d5;
}

/* Seção de curiosidades */
.fun-facts {
    background-color: var(--white);
    padding: 50px 20px;
    margin-bottom: 50px;
}

.facts-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.fact-card {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    text-align: center;
}

.fact-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.fact-card:hover .fact-image {
    transform: scale(1.05);
}

.fact-card p {
    font-size: 1.1rem;
    line-height: 1.5;
}

.fact-card span {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.3rem;
}

/* Seção de serviços */
.service-booking {
    padding: 50px 20px;
    background: linear-gradient(135deg, #fff8f0 0%, #fff0e6 100%);
}

.service-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-icon {
    text-align: center;
    margin-bottom: 20px;
}

.service-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.service-benefits {
    list-style: none;
    margin: 20px 0;
}

.service-benefits li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
}

.service-benefits li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
}

.service-btn {
    font-size: 1rem;
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.service-btn:hover {
    background: var(--dark-orange);
}

/* Modal de Agendamento */
#booking-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: grid;
    gap: 8px;
}

.form-group select, 
.form-group input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 100%;
    font-size: 1rem;
}

/* Planos de saúde */
.health-plans {
    background-color: rgba(0, 172, 100, 0.2);
    padding: 50px 20px;
    margin-bottom: 50px;
}

.plans-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.plan-card {
    flex: 1;
    min-width: 300px;
    background-color: var(--white);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.plan-card h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.plan-card h4 {
    color: var(--primary-color);
    font-size: 1.9rem;
    margin-bottom: 20px;
}

.plan-card p {
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 1.3rem;
}

.plan-price {
    font-size: 1.9rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.plan-btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.plan-btn:hover {
    background-color: #5c00b3;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.plan-btn a {
    color: var(--white);
    text-decoration: none;
}

/* Formulário de feedback */
.feedback-section {
    max-width: 800px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

#feedback-form {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

#feedback-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

#feedback-form input,
#feedback-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

#feedback-form textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--dark-orange);
}

/* ============================================= */
/* COMPONENTES DE INTERFACE */
/* ============================================= */

/* Modal do carrinho e favoritos */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    overflow: auto;
}

.modal-content {
    background-color: var(--white);
    margin: 100px auto;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: var(--error-color);
}

.cart-subtitle {
    color: #666;
    text-align: center;
    margin-bottom: 20px;
}

#cart-content, #favorites-content {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding-right: 10px;
}

#cart-content ul, #favorites-content ul {
    list-style-type: none;
}

#cart-content li, #favorites-content li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.favorite-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 10px;
}

.favorite-item-info {
    flex-grow: 1;
}

.remove-favorite {
    background-color: #ffebee;
    color: #c62828;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
}

.cart-total {
    text-align: right;
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--success-color);
    margin-top: 20px;
}

.checkout-btn {
    display: block;
    width: 100%;
    padding: 15px;
    margin-top: 30px;
    background-color: var(--success-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.checkout-btn:hover {
    background-color: #3d8b40;
}

.checkout-btn a {
    color: var(--white);
    text-decoration: none;
}

/* Notificação */
.notification {
    position: fixed;
    top: 80px;
    right: 20px;
    background-color: var(--success-color);
    color: var(--white);
    padding: 15px 25px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2100;
}

.notification.show {
    opacity: 1;
}

.notification.error {
    background-color: var(--error-color);
}

/* Rodapé */
.main-footer {
    background-color: #000;
    color: var(--white);
    padding: 40px 20px 20px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-content p {
    margin-bottom: 25px;
    color: #aaa;
}

.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.social-links a {
    display: flex;
    align-items: center;
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

.social-links img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    color: #aaa;
    font-size: 0.9rem;
}

/* ============================================= */
/* RESPONSIVIDADE */
/* ============================================= */

/* Menu Hamburguer Mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: 0.4s;
}

/* HEADER MOBILE ULTRA-CLEAN (350px-451px) */
@media (min-width: 350px) and (max-width: 451px) {
    /* Barra de promoção micro */
    .promo-bar {
        padding: 4px;
        background-color: #ff8c00;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .promo-bar p {
        font-size: 0.7rem;
    }
    
    .promo-bar a {
        background-color: rgba(0,0,0,0.1);
        padding: 0 4px;
        border-radius: 3px;
        margin-left: 3px;
    }
    
    /* Header reorganizado */
    .main-header {
        padding: 5px 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .header-container {
        display: grid;
        grid-template-areas:
            "logo icons"
            "search search";
        grid-template-columns: 1fr auto;
        padding: 0 10px;
        gap: 5px;
        align-items: center;
    }
    
    .logo {
        grid-area: logo;
        margin: 0;
    }
    
    .logo a {
        font-size: 2.1rem;
        padding: 5px 10px;
        background-color: transparent;
        color: #ff8c00;
        font-weight: 700;
    }
    
    .search-container {
        grid-area: search;
        margin: 0;
    }
    
    .search-bar {
        width: 100%;
        padding: 8px 15px;
        font-size: 0.85rem;
        border-radius: 20px;
        border: 1px solid #ddd;
        background-color: #f9f9f9;
    }
    
    .nav-icons {
        grid-area: icons;
        display: flex;
        gap: 10px;
        justify-content: flex-end;
    }
    
    .cart-icon, .profile-icon, .favorite-icon {
        flex-direction: row;
        gap: 3px;
        align-items: center;
        font-size: 0.9rem;
    }
    
    .cart-icon img, .profile-icon img, .favorite-icon img {
        width: 25px;
        height: 25px;
    }

    .carousel-prev, .carousel-next {
        width: 20px;
        height: 20px;
    }
    
    /* Banners como cards compactos */
    .promo-banners {
        flex-direction: column;
        gap: 8px;
        padding: 20px;
        background: none;
    }
    
    .banner {
        margin: auto;
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 10px;
        border-radius: 8px;
        background-color: white;
        box-shadow: none;
        border: 1px solid #e0e0e0;
    }
    
    .banner img {
        width: 32px;
        height: 32px;
    }
    
    .banner p {
        font-size: 0.9.9rem;
        line-height: 1.3;
    }
    
    /* Carrossel mais discreto */
    .main-carousel {
        height: 190px; /* Altura menor para telas pequenas */
    }
    
    .carousel-item img {
        max-height: 190px; /* Limita a altura para evitar cortes */
    }

    /* Navegação minimalista */
    .category-nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2 colunas */
        gap: 10px;
        padding: 12px;
        margin-bottom: 20px;
        background-color: white;
    }

    .category-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: black;
        text-decoration: none;
        font-size: 1rem;
        padding: 10px 5px;
        margin: 0;
        border: 1px solid #cccaca;
        border-radius: 8px;
        background-color: rgba(255, 255, 255, 0.08);
        transition: all 0.2s ease;
        height: 100%;
        text-align: center;
        line-height: 1.4;
    }

    .category-link:hover {
        background-color: var(--primary-color);
        transform: none;
        color: var(--white);
    }

    /* Ajuste para emojis */
    .category-link::before {
        font-size: 1.2rem;
        margin-bottom: 4px;
        display: block;
    }
    
    .product-card img {
        width: 100%;
        height: 350px;
        object-fit: contain; /* Garante que a imagem inteira apareça */
        background-color: #f5f5f5; /* Fundo neutro caso haja espaços vazios */
        padding: 10px;
    }

    .product-section h2  {
        margin-top: 80px;
        font-size: 1.7rem;
    }

    .nutrition-product span, p {
        font-size: 1rem;
    }
    .nutrition-product h3 {
        font-size: 1rem;
    }

    #nutricao-pet h2 {
        font-size: 1.8rem;
    }

    .cart-link {
        font-size: 0.9rem;
    }

    /* Plano de Saúde */
    .health-plans h2 {
        font-size: 7vw;
    }
    .plans-container p {
        font-size: 1.1rem;
    }
    .plan-card .plan-price {
        font-size: 1.5rem;
    }
    .feedback-section h2 {
        font-size: 1.6rem;
    }
}