:root {
    --verde-limao: #8bc34a;
    --verde-escuro: #33691e;
    --cinza-escuro: #333333;
    --cinza-medio: #666666;
    --cinza-claro: #f5f5f5;
    --branco: #ffffff;
    --preto: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Alinhamento dos botões compartilhar */
.share-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin: 15px 0;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

/* Estilos para Categorias */
.categories {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--cinza-escuro);
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--verde-limao);
    border-radius: 2px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 300px;
    background: var(--branco);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.category-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 30px 20px 20px;
    color: white;
    text-align: center;
}

.category-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.category-link {
    background: var(--verde-limao);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.category-link:hover {
    background: var(--verde-escuro);
    transform: scale(1.05);
}

/* Responsividade para categorias */
@media (max-width: 768px) {
    .categories {
        padding: 60px 15px;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .category-card {
        height: 250px;
    }
    
    .category-overlay h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .category-card {
        height: 200px;
    }
}

.share-btn:hover {
    transform: scale(1.1);
}

.share-btn.facebook { background: #3b5998; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.pinterest { background: #bd081c; }

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--cinza-escuro);
    background-color: var(--branco);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Efeito de partículas */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: var(--branco);
}

/* Spinner de carregamento */
.spinner-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--cinza-claro);
    border-top: 5px solid var(--verde-limao);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Header e navegação */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: var(--cinza-escuro);
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--verde-limao);
}

.header-actions {
    display: flex;
    align-items: center;
}

.search-container {
    position: relative;
    margin-right: 20px;
}

.search-container input {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    width: 200px;
    font-size: 14px;
}

.search-container i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--cinza-medio);
}

.login-btn {
    margin-right: 20px;
    text-decoration: none;
    color: var(--cinza-escuro);
    font-weight: 500;
}

.cart-link {
    position: relative;
    color: var(--cinza-escuro);
    text-decoration: none;
}

.cart-count {
    background: #ff4444;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 18px;
    text-align: center;
    display: none;
}

.cart-count.show {
    display: inline-block;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--cinza-escuro);
}

/* Slideshow principal */
.slideshow-container {
    margin-top: 70px;
    position: relative;
    height: 70vh;
    max-height: 600px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    padding: 40px;
    border-radius: 10px;
    max-width: 600px;
}

.slide-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.slide-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--verde-limao);
    color: var(--branco);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: var(--verde-escuro);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.slide-prev { left: 20px; }
.slide-next { right: 20px; }

.slide-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slide-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.slide-indicator.active {
    background-color: var(--verde-limao);
}

/* Categorias */
.categories, .all-categories, .featured-products, .about {
    padding: 80px 5%;
    position: relative;
    z-index: 1;
    background-color: var(--branco);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
    color: var(--cinza-escuro);
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--verde-limao);
    margin: 15px auto 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.category-card {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--branco);
    padding: 25px;
    text-align: center;
}

.category-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Produtos */
.products-grid, .expanded-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background-color: var(--branco);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.product-img {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--verde-limao);
    color: var(--branco);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.4;
    color: var(--cinza-escuro);
}

.product-price {
    margin-bottom: 15px;
}

.current-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--verde-limao);
}

.original-price {
    font-size: 1rem;
    text-decoration: line-through;
    color: var(--cinza-medio);
    margin-left: 8px;
}

.product-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-actions .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.view-details {
    color: var(--cinza-medio);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.view-details:hover {
    color: var(--verde-limao);
}

/* Filtros e ordenação */
.sorting-filters {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 30px;
}

.sort-select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: var(--branco);
    color: var(--cinza-escuro);
    cursor: pointer;
    font-size: 14px;
    min-width: 200px;
}

/* Paginação */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    gap: 5px;
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--cinza-escuro);
    border: 1px solid #ddd;
    transition: all 0.3s;
    font-weight: 500;
}

.pagination a.active,
.pagination a:hover {
    background-color: var(--verde-limao);
    color: var(--branco);
    border-color: var(--verde-limao);
}

/* Sobre */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--verde-limao);
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 1.1rem;
    color: var(--cinza-medio);
}

.contact-info p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.contact-info i {
    margin-right: 12px;
    color: var(--verde-limao);
    width: 20px;
}

.map {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    height: 400px;
}

.map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
footer {
    background-color: var(--cinza-escuro);
    color: var(--branco);
    padding: 60px 5% 20px;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--verde-limao);
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 20px;
    color: #ccc;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--branco);
    transition: all 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    background-color: var(--verde-limao);
    transform: translateY(-3px);
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.payment-methods i {
    font-size: 2rem;
    color: #ccc;
}

.payment-text {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 0.9rem;
    color: #ccc;
}

.newsletter form {
    display: flex;
    margin-top: 15px;
}

.newsletter input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 30px 0 0 30px;
    font-size: 14px;
    outline: none;
}

.newsletter button {
    padding: 0 20px;
    background-color: var(--verde-limao);
    color: var(--branco);
    border: none;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 1rem;
}

.newsletter button:hover {
    background-color: var(--verde-escuro);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #ccc;
}

/* Ícones flutuantes */
.float-whatsapp, .float-chatbot {
    position: fixed;
    bottom: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--branco);
    font-size: 24px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 100;
    transition: all 0.3s;
    text-decoration: none;
}

.float-whatsapp {
    right: 30px;
    background-color: #25d366;
}

.float-chatbot {
    right: 30px;
    bottom: 100px;
    background-color: var(--verde-limao);
}

.float-whatsapp:hover, .float-chatbot:hover {
    transform: translateY(-5px) scale(1.1);
}

.whatsapp-tooltip {
    position: fixed;
    right: 100px;
    bottom: 45px;
    background-color: var(--cinza-escuro);
    color: var(--branco);
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.float-whatsapp:hover + .whatsapp-tooltip {
    opacity: 1;
}

/* Chatbot */
.chatbot-container {
    display: none;
    position: fixed;
    bottom: 180px;
    right: 30px;
    width: 350px;
    height: 450px;
    background-color: var(--branco);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 100;
    flex-direction: column;
    overflow: hidden;
}

.chatbot-header {
    background-color: var(--verde-limao);
    color: var(--branco);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.close-chatbot {
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--branco);
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 18px;
    line-height: 1.4;
    font-size: 14px;
}

.bot-message {
    background-color: var(--cinza-claro);
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.user-message {
    background-color: var(--verde-limao);
    color: var(--branco);
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.chatbot-input {
    display: flex;
    padding: 15px;
    border-top: 1px solid var(--cinza-claro);
    gap: 10px;
}

.chatbot-input input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--cinza-claro);
    border-radius: 25px;
    outline: none;
    font-size: 14px;
}

.chatbot-input button {
    background-color: var(--verde-limao);
    color: var(--branco);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.chatbot-input button:hover {
    background-color: var(--verde-escuro);
}

/* MODAL DE PRODUTO - LAYOT CORRIGIDO */
.product-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 2000;
}

.product-modal-content {
    position: relative;
    background: #fff;
    border-radius: 15px;
    max-width: 1200px;
    width: 95%;
    max-height: 90vh;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: var(--cinza-escuro);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    color: #ff4444;
}

.product-modal-main {
    display: flex;
    flex: 1;
    overflow: hidden;
    min-height: 500px;
}

.product-modal-left {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--cinza-claro);
}

.product-modal-right {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    padding: 30px;
    overflow-y: auto;
}

/* Slideshow do produto */
.product-slideshow {
    position: relative;
    height: 450px;
    overflow: hidden;
    background: #f8f9fa;
    flex-shrink: 0;
}

.product-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-slide.active {
    opacity: 1;
}

.product-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 15px;
    cursor: pointer;
    z-index: 100;
    border: none;
    font-size: 18px;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.prev { left: 20px; }
.next { right: 20px; }

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.slide-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    background-color: var(--verde-limao);
    transform: scale(1.2);
}

/* Descrição abaixo das fotos */
.product-description-container {
    padding: 25px;
    border-top: 1px solid var(--cinza-claro);
    flex-shrink: 0;
}

.product-modal-description {
    line-height: 1.6;
    color: var(--cinza-medio);
    font-size: 15px;
    max-height: 120px;
    overflow-y: auto;
    padding-right: 10px;
}

/* Galeria de miniaturas */
.product-gallery {
    display: flex;
    gap: 12px;
    padding: 20px;
    overflow-x: auto;
    border-top: 1px solid var(--cinza-claro);
    flex-shrink: 0;
}

.gallery-thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 8px;
    transition: all 0.3s;
    flex-shrink: 0;
}

.gallery-thumb.active, .gallery-thumb:hover {
    border-color: var(--verde-limao);
    transform: scale(1.05);
}

/* Conteúdo do lado direito */
.product-modal-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--cinza-escuro);
    line-height: 1.3;
}

.product-modal-price {
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 700;
}

.current-price {
    color: var(--verde-limao);
    font-size: 1.6rem;
}

.original-price {
    text-decoration: line-through;
    color: var(--cinza-medio);
    margin-left: 12px;
    font-size: 1.2rem;
}

/* Seção de tamanhos */
.size-selection {
    margin: 25px 0;
}

.size-selection h4 {
    margin-bottom: 12px;
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.size-option {
    padding: 10px 16px;
    border: 2px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    background: #f8f9fa;
}

.size-option:hover {
    border-color: var(--verde-limao);
    background: #f0f0f0;
}

.size-option.selected {
    background-color: var(--verde-limao);
    color: white;
    border-color: var(--verde-limao);
}

.size-error {
    color: #ff4444;
    font-size: 13px;
    margin-top: 8px;
    display: none;
}

.size-guide {
    margin-top: 10px;
    font-size: 13px;
    color: #666;
}

.size-guide a {
    color: var(--verde-limao);
    text-decoration: none;
    font-weight: 500;
}

.size-guide a:hover {
    text-decoration: underline;
}

/* Seção de cupom */
.coupon-section {
    margin: 25px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid var(--verde-limao);
}

.coupon-section h4 {
    margin-bottom: 15px;
    color: var(--cinza-escuro);
    font-size: 16px;
}

.coupon-input-group {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.coupon-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.coupon-input:focus {
    border-color: var(--verde-limao);
}

.validate-coupon {
    background: var(--verde-limao);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.validate-coupon:hover {
    background: var(--verde-escuro);
}

.coupon-feedback {
    margin-top: 12px;
    font-size: 14px;
    display: none;
    padding: 10px;
    border-radius: 6px;
    font-weight: 500;
}

.coupon-success { 
    background: #e8f5e8; 
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.coupon-error { 
    background: #ffebee; 
    color: #c62828;
    border: 1px solid #ffcdd2;
}

/* Ações do produto */
.product-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 25px 0;
}

.product-modal-actions .btn {
    padding: 15px 25px;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.buy-btn {
    background: var(--verde-limao);
    color: white;
}

.buy-btn:hover {
    background: var(--verde-escuro);
    transform: translateY(-2px);
}

.whatsapp-btn {
    background: #25d366;
    color: white;
}

.whatsapp-btn:hover {
    background: #1da851;
    transform: translateY(-2px);
}

.cart-btn {
    background: transparent;
    color: var(--cinza-escuro);
    border: 2px solid var(--verde-limao) !important;
}

.cart-btn:hover {
    background: var(--verde-limao);
    color: white;
    transform: translateY(-2px);
}

.buy-btn.disabled {
    background-color: #ccc !important;
    cursor: not-allowed !important;
    opacity: 0.6;
    transform: none !important;
}

/* Compartilhamento */
.social-share {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    justify-content: center;
    padding-top: 20px;
    border-top: 1px solid var(--cinza-claro);
}

.social-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 18px;
}

.social-share-btn:hover {
    transform: translateY(-3px) scale(1.1);
}

.share-whatsapp { background-color: #25D366; }
.share-facebook { background-color: #3b5998; }
.share-instagram { background-color: #E1306C; }

/* Mensagem do carrinho */
.cart-message {
    position: fixed;
    top: 100px;
    right: 20px;
    background: #8bc34a;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    z-index: 10000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    animation: slideInRight 0.3s ease-out;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.cart-message a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
    margin-left: 5px;
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ========== RESPONSIVIDADE ========== */

/* Tablets */
@media (max-width: 1024px) {
    .product-modal-content {
        max-width: 95%;
    }
    
    .product-modal-main {
        flex-direction: column;
        height: auto;
    }
    
    .product-modal-left {
        border-right: none;
        border-bottom: 1px solid var(--cinza-claro);
    }
    
    .product-slideshow {
        height: 400px;
    }
    
    .product-modal-right {
        max-height: none;
        overflow-y: visible;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .map {
        height: 300px;
    }
}

/* Dispositivos móveis grandes */
@media (max-width: 768px) {
    header {
        flex-wrap: wrap;
        padding: 10px 5%;
    }
    
    .menu-toggle {
        display: block;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--branco);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .search-container {
        display: none;
    }
    
    .mobile-search {
        display: block !important;
        padding: 15px 5%;
        background-color: var(--cinza-claro);
        width: 100%;
        order: 3;
    }
    
    .mobile-search input {
        width: 100%;
        padding: 12px 15px;
        border: 1px solid #ddd;
        border-radius: 25px;
        font-size: 14px;
    }
    
    .product-modal {
        padding: 10px;
    }
    
    .product-modal-content {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .product-slideshow {
        height: 300px;
    }
    
    .product-modal-right {
        padding: 20px;
    }
    
    .product-modal-title {
        font-size: 1.4rem;
    }
    
    .product-modal-description {
        max-height: 100px;
        font-size: 14px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .categories, .all-categories, .featured-products, .about {
        padding: 60px 5%;
    }
    
    .chatbot-container {
        width: 320px;
        height: 400px;
        right: 15px;
        bottom: 150px;
    }
    
    .float-whatsapp, .float-chatbot {
        width: 50px;
        height: 50px;
        font-size: 20px;
        bottom: 20px;
        right: 20px;
    }
    
    .float-chatbot {
        bottom: 80px;
    }
}

/* Dispositivos móveis pequenos */
@media (max-width: 480px) {
    .product-slideshow {
        height: 250px;
    }
    
    .product-modal-right {
        padding: 15px;
    }
    
    .product-modal-title {
        font-size: 1.3rem;
    }
    
    .product-modal-actions .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .size-options {
        justify-content: center;
    }
    
    .coupon-input-group {
        flex-direction: column;
    }
    
    .social-share {
        flex-wrap: wrap;
    }
    
    .close-modal {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 24px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .category-grid, .products-grid, .expanded-category-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .chatbot-container {
        width: 300px;
        height: 380px;
        right: 10px;
        bottom: 120px;
    }
}

/* Modo paisagem em móveis */
@media (max-height: 600px) and (orientation: landscape) {
    .product-modal-content {
        max-height: 98vh;
    }
    
    .product-slideshow {
        height: 250px;
    }
    
    .product-modal-right {
        padding: 15px;
        max-height: 60vh;
    }
    
    .product-modal-description {
        max-height: 80px;
    }
}

/* High-DPI displays */
@media (min-resolution: 120dpi) {
    .product-slide img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .product-modal-content {
        background: #2d2d2d;
        color: #ffffff;
    }
    
    .product-modal-title {
        color: #ffffff;
    }
    
    .coupon-section {
        background: #3d3d3d;
    }
    
    .size-option {
        background: #3d3d3d;
        color: #ffffff;
    }
}

/* ========== ANIMAÇÕES ========== */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.shake {
    animation: shake 0.5s;
}

/* Transições suaves */
.product-modal-content {
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Melhorias de acessibilidade */
@media (prefers-reduced-motion: reduce) {
    .product-modal-content {
        animation: none;
    }
    
    .social-share-btn:hover,
    .float-whatsapp:hover,
    .float-chatbot:hover,
    .btn:hover {
        transform: none;
    }
}

/* Foco visível para acessibilidade */
.close-modal:focus,
.size-option:focus,
.btn:focus,
.coupon-input:focus,
.search-container input:focus {
    outline: 2px solid var(--verde-limao);
    outline-offset: 2px;
}

/* Estados de loading */
.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
}

.btn-cart-loading::after {
    border: 2px solid #8bc34a;
    border-top-color: transparent;
}

/* Utilitários */
.no-products {
    text-align: center;
    padding: 40px;
    color: var(--cinza-medio);
    font-style: italic;
    font-size: 1.1rem;
}

.back-to-categories {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: var(--verde-limao);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
}

.back-to-categories:hover {
    color: var(--verde-escuro);
}

.category-view {
    display: none;
}

.category-view.active {
    display: block;
}

/* Scroll personalizado */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--verde-limao);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--verde-escuro);
}