/* ===== VARIÁVEIS CSS ===== */
:root {
    --verde-limao: #8bc34a;
    --verde-escuro: #689f38;
    --cinza-escuro: #333;
    --cinza-medio: #666;
    --cinza-claro: #f5f5f5;
    --branco: #ffffff;
    --preto: #000000;
    --sombra: 0 4px 6px rgba(0, 0, 0, 0.1);
    --sombra-pesada: 0 10px 30px rgba(0, 0, 0, 0.2);
    --transicao: all 0.3s ease;
}

/* ===== RESET E CONFIGURAÇÕES GLOBAIS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--cinza-escuro);
    background-color: var(--branco);
    overflow-x: hidden;
}

/* ===== TIPOGRAFIA ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Reset e estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo img {
    height: 50px;
}

.back-to-store {
    color: #8bc34a;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.back-to-store:hover {
    color: #689f38;
}

/* Main Content */
.cart-container {
    min-height: 60vh;
    padding: 40px 0;
}

.cart-title {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.cart-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

@media (max-width: 968px) {
    .cart-content {
        grid-template-columns: 1fr;
    }
}

/* Cart Items */
.cart-items {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    align-items: center;
}

.cart-item:last-child {
    border-bottom: none;
}

.item-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}

.item-details h3 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.item-size {
    color: #666;
    font-size: 0.9rem;
}

.item-price {
    font-weight: 600;
    color: #8bc34a;
}

.item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    background: #f0f0f0;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: #e0e0e0;
}

.quantity-input {
    width: 50px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 5px;
}

.remove-item {
    color: #ff4444;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    border-radius: 3px;
}

.remove-item:hover {
    background: #ffeaea;
}

/* Cart Summary */
.cart-summary {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.summary-title {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #8bc34a;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.summary-total {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    border-top: 2px solid #eee;
    padding-top: 15px;
    margin-top: 15px;
}

.checkout-btn {
    width: 100%;
    background: #8bc34a;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s;
}

.checkout-btn:hover {
    background: #689f38;
}

.continue-shopping {
    display: block;
    text-align: center;
    color: #8bc34a;
    text-decoration: none;
    margin-top: 15px;
    font-weight: 600;
}

/* Related Products */
.related-products {
    margin-top: 60px;
}

.related-title {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 1.5rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.related-product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.related-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.related-product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-product-info {
    padding: 20px;
}

.related-product-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.related-product-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.4;
}

.related-product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #8bc34a;
    margin-bottom: 15px;
}

.add-related-btn {
    width: 100%;
    background: #8bc34a;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.add-related-btn:hover {
    background: #689f38;
}

/* Empty Cart */
.empty-cart {
    text-align: center;
    padding: 60px 20px;
}

.empty-cart i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-cart h2 {
    margin-bottom: 15px;
    color: #666;
}

.empty-cart p {
    color: #888;
    margin-bottom: 30px;
}

/* Loading */
.loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.related-loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 10px;
    }
    
    .item-price, .item-quantity, .item-remove {
        grid-column: 2;
    }
    
    .item-quantity {
        justify-self: start;
    }
    
    .item-remove {
        justify-self: end;
    }

    .related-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.cart-item {
    animation: fadeIn 0.3s ease-out;
}

.related-product-card {
    animation: fadeIn 0.5s ease-out;
}

/* Notificação */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #8bc34a;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10000;
    animation: slideInRight 0.3s ease-out;
    max-width: 300px;
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutRight {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--cinza-escuro);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--verde-limao);
}

/* ===== BOTÕES ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--verde-limao);
    color: var(--branco);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transicao);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background: var(--verde-escuro);
    transform: translateY(-2px);
    box-shadow: var(--sombra);
}

/* ===== HEADER ===== */
header {
    background: var(--branco);
    box-shadow: var(--sombra);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    transition: var(--transicao);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--cinza-escuro);
    font-weight: 600;
    transition: var(--transicao);
    padding: 0.5rem 0;
    position: relative;
}

nav a:hover {
    color: var(--verde-limao);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--verde-limao);
    transition: var(--transicao);
}

nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-container {
    position: relative;
}

.search-container input {
    padding: 8px 35px 8px 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    outline: none;
    transition: var(--transicao);
    width: 200px;
}

.search-container input:focus {
    border-color: var(--verde-limao);
    width: 250px;
}

.search-container i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--cinza-medio);
}

.login-btn {
    color: var(--cinza-escuro);
    text-decoration: none;
    transition: var(--transicao);
}

.login-btn:hover {
    color: var(--verde-limao);
}

.cart-link {
    position: relative;
    color: var(--cinza-escuro);
    text-decoration: none;
    font-size: 1.2rem;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--verde-limao);
    color: var(--branco);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transicao);
}

.cart-count.show {
    opacity: 1;
}

/* ===== SLIDESHOW ===== */
.slideshow-container {
    position: relative;
    height: 80vh;
    overflow: hidden;
    margin-top: 80px;
}

.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;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: var(--branco);
    max-width: 500px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: var(--branco);
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 1.5rem;
    transition: var(--transicao);
    z-index: 10;
}

.slide-prev { left: 20px; }
.slide-next { right: 20px; }

.slide-nav:hover {
    background: rgba(0,0,0,0.8);
}

.slide-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slide-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transicao);
}

.slide-indicator.active {
    background: var(--branco);
    transform: scale(1.2);
}

/* ===== CATEGORIAS ===== */
.categories {
    padding: 5rem 5%;
    background: var(--cinza-claro);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    position: relative;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--sombra);
    transition: var(--transicao);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sombra-pesada);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transicao);
}

.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: 2rem;
    text-align: center;
}

.category-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* ===== PRODUTOS ===== */
.featured-products {
    padding: 5rem 5%;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: var(--branco);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--sombra);
    transition: var(--transicao);
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sombra-pesada);
}

.product-card.highlight {
    animation: highlight 2s ease;
}

@keyframes highlight {
    0% { box-shadow: 0 0 0 0 rgba(139, 195, 74, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(139, 195, 74, 0); }
    100% { box-shadow: var(--sombra); }
}

.product-img {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transicao);
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--verde-limao);
    color: var(--branco);
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.product-price {
    margin-bottom: 1rem;
}

.current-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--verde-limao);
}

.original-price {
    font-size: 1rem;
    color: var(--cinza-medio);
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.product-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.view-details {
    color: var(--cinza-medio);
    text-decoration: none;
    transition: var(--transicao);
    font-size: 0.9rem;
}

.view-details:hover {
    color: var(--verde-limao);
}

/* ===== MODAL DE PRODUTO - RESPONSIVO ===== */
.product-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    overflow-y: auto;
    padding: 20px;
}

.product-modal-content {
    background: var(--branco);
    border-radius: 15px;
    max-width: 95%;
    max-height: 95vh;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Layout responsivo para o modal */
@media (min-width: 1024px) {
    .product-modal-content {
        flex-direction: row;
        max-width: 1200px;
        height: auto;
        min-height: 600px;
    }
}

@media (max-width: 1023px) {
    .product-modal-content {
        flex-direction: column;
        max-width: 95%;
        margin: 10px auto;
    }
}

/* Lado esquerdo - Galeria de imagens */
.product-modal-left {
    flex: 1;
    min-width: 300px;
    position: relative;
    background: #f8f8f8;
}

@media (min-width: 1024px) {
    .product-modal-left {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 1023px) {
    .product-modal-left {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .product-modal-left {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .product-modal-left {
        height: 250px;
    }
}

.product-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.product-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-slide.active {
    opacity: 1;
}

.product-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.product-slide img.zoomed {
    transform: scale(2);
    cursor: zoom-out;
}

.product-gallery {
    display: flex;
    gap: 10px;
    padding: 15px;
    overflow-x: auto;
    background: var(--branco);
    border-top: 1px solid #eee;
}

.gallery-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transicao);
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: var(--verde-limao);
}

/* Lado direito - Informações do produto */
.product-modal-right {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
    max-height: 80vh;
}

@media (min-width: 1024px) {
    .product-modal-right {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 40px;
    }
}

@media (max-width: 1023px) {
    .product-modal-right {
        padding: 20px;
        max-height: none;
    }
}

.product-modal-title {
    font-size: 1.8rem;
    color: var(--cinza-escuro);
    margin-bottom: 1rem;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .product-modal-title {
        font-size: 1.5rem;
    }
}

.product-modal-price {
    margin-bottom: 1.5rem;
}

.product-modal-description {
    color: var(--cinza-medio);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-height: 80px;
    overflow-y: auto;
    padding-right: 10px;
}

.product-modal-description::-webkit-scrollbar {
    width: 4px;
}

.product-modal-description::-webkit-scrollbar-thumb {
    background: var(--verde-limao);
    border-radius: 2px;
}

/* Seção de tamanhos */
.size-selection {
    margin-bottom: 2rem;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 10px;
}

.size-selection h4 {
    margin-bottom: 15px;
    color: var(--cinza-escuro);
}

.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.size-option {
    padding: 10px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transicao);
    font-weight: 600;
    min-width: 50px;
    text-align: center;
}

.size-option:hover {
    border-color: var(--verde-limao);
}

.size-option.selected {
    background: var(--verde-limao);
    color: var(--branco);
    border-color: var(--verde-limao);
}

.size-error {
    color: #e74c3c;
    font-size: 0.9rem;
    display: none;
    margin-bottom: 10px;
}

.size-guide a {
    color: var(--verde-limao);
    text-decoration: none;
    font-size: 0.9rem;
}

.size-guide a:hover {
    text-decoration: underline;
}

/* Detalhes do produto */
.product-modal-details {
    margin-bottom: 2rem;
}

.product-modal-details h4 {
    margin-bottom: 10px;
    color: var(--cinza-escuro);
}

.product-modal-details ul {
    list-style: none;
    padding-left: 0;
}

.product-modal-details li {
    padding: 5px 0;
    color: var(--cinza-medio);
    border-bottom: 1px solid #eee;
}

/* Cupom de desconto */
.coupon-section {
    margin-bottom: 2rem;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 10px;
}

.coupon-section h4 {
    margin-bottom: 15px;
    color: var(--cinza-escuro);
}

.coupon-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.coupon-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
}

.coupon-input:focus {
    border-color: var(--verde-limao);
}

.validate-coupon {
    padding: 10px 20px;
    background: var(--verde-limao);
    color: var(--branco);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transicao);
}

.validate-coupon:hover {
    background: var(--verde-escuro);
}

.coupon-feedback {
    display: none;
    padding: 10px;
    border-radius: 5px;
    font-size: 0.9rem;
}

.coupon-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.coupon-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Ações do produto */
.product-modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 2rem;
}

@media (max-width: 480px) {
    .product-modal-actions {
        grid-template-columns: 1fr;
    }
}

.buy-btn, .whatsapp-btn, .cart-btn {
    text-align: center;
    padding: 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transicao);
    border: none;
    cursor: pointer;
}

.buy-btn {
    background: var(--verde-limao);
    color: var(--branco);
}

.buy-btn:hover {
    background: var(--verde-escuro);
}

.buy-btn.disabled {
    background: #ccc;
    cursor: not-allowed;
}

.whatsapp-btn {
    background: #25d366;
    color: var(--branco);
}

.whatsapp-btn:hover {
    background: #128c7e;
}

.cart-btn {
    grid-column: 1 / -1;
    background: transparent;
    color: var(--cinza-escuro);
    border: 2px solid var(--verde-limao);
}

.cart-btn:hover {
    background: var(--verde-limao);
    color: var(--branco);
}

/* Compartilhamento */
.social-share {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.social-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--branco);
    text-decoration: none;
    transition: var(--transicao);
    font-size: 1.2rem;
}

.share-whatsapp { background: #25d366; }
.share-facebook { background: #3b5998; }
.share-instagram { background: #e4405f; }

.social-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--sombra);
}

/* ===== SOBRE ===== */
.about {
    padding: 5rem 5%;
    background: var(--cinza-claro);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--cinza-medio);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
}

.map iframe {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    border: none;
}

/* ===== FOOTER ===== */
footer {
    background: var(--cinza-escuro);
    color: var(--branco);
    padding: 3rem 5% 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--verde-limao);
}

.footer-section p {
    margin-bottom: 1rem;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--branco);
    font-size: 1.2rem;
    transition: var(--transicao);
}

.social-links a:hover {
    color: var(--verde-limao);
    transform: translateY(-2px);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.payment-methods i {
    font-size: 2rem;
    opacity: 0.8;
}

.payment-text {
    background: var(--branco);
    color: var(--cinza-escuro);
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 600;
}

.newsletter form {
    display: flex;
    gap: 10px;
}

.newsletter input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
    outline: none;
}

.newsletter button {
    background: var(--verde-limao);
    color: var(--branco);
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transicao);
}

.newsletter button:hover {
    background: var(--verde-escuro);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
}

/* ===== ÍCONES FLUTUANTES ===== */
.float-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: var(--branco);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: var(--sombra-pesada);
    z-index: 1000;
    transition: var(--transicao);
}

.float-whatsapp:hover {
    transform: scale(1.1);
    background: #128c7e;
}

.whatsapp-tooltip {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background: var(--cinza-escuro);
    color: var(--branco);
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 0.8rem;
    opacity: 0;
    transition: var(--transicao);
    pointer-events: none;
}

.float-whatsapp:hover + .whatsapp-tooltip {
    opacity: 1;
}

.float-chatbot {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background: var(--verde-limao);
    color: var(--branco);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--sombra);
    z-index: 1000;
    transition: var(--transicao);
}

.float-chatbot:hover {
    transform: scale(1.1);
    background: var(--verde-escuro);
}

/* ===== CHATBOT ===== */
.chatbot-container {
    position: fixed;
    bottom: 150px;
    right: 20px;
    width: 350px;
    height: 500px;
    background: var(--branco);
    border-radius: 15px;
    box-shadow: var(--sombra-pesada);
    z-index: 1000;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chatbot-header {
    background: var(--verde-limao);
    color: var(--branco);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-chatbot {
    cursor: pointer;
    font-size: 1.5rem;
}

.chatbot-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
}

.message {
    margin-bottom: 1rem;
    padding: 10px 15px;
    border-radius: 10px;
    max-width: 80%;
}

.bot-message {
    background: #f1f1f1;
    align-self: flex-start;
}

.user-message {
    background: var(--verde-limao);
    color: var(--branco);
    align-self: flex-end;
    margin-left: auto;
}

.chatbot-input {
    display: flex;
    padding: 1rem;
    border-top: 1px solid #eee;
}

.chatbot-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 25px;
    outline: none;
}

.chatbot-input button {
    background: var(--verde-limao);
    color: var(--branco);
    border: none;
    padding: 10px 15px;
    border-radius: 25px;
    margin-left: 10px;
    cursor: pointer;
    transition: var(--transicao);
}

.chatbot-input button:hover {
    background: var(--verde-escuro);
}

/* ===== MENSAGEM DO CARRINHO ===== */
.cart-message {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--verde-limao);
    color: var(--branco);
    padding: 15px 20px;
    border-radius: 5px;
    display: none;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    box-shadow: var(--sombra);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ===== SPINNER ===== */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    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); }
}

/* ===== PARTÍCULAS ===== */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* ===== ANIMAÇÕES ===== */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .map iframe {
        height: 300px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem;
        flex-wrap: wrap;
    }
    
    .menu-toggle {
        display: block;
        order: 1;
    }
    
    .logo {
        order: 2;
        flex: 1;
        text-align: center;
    }
    
    .header-actions {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
        display: none;
    }
    
    nav {
        order: 4;
        width: 100%;
        display: none;
    }
    
    nav ul.active {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    
    nav ul li {
        width: 100%;
        text-align: center;
    }
    
    nav ul li a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid #eee;
    }
    
    .slideshow-container {
        height: 60vh;
        margin-top: 120px;
    }
    
    .slide-content {
        left: 5%;
        right: 5%;
        text-align: center;
    }
    
    .slide-content h2 {
        font-size: 2rem;
    }
    
    .product-modal-content {
        margin: 10px auto;
        max-height: 95vh;
    }
    
    .product-modal-right {
        padding: 20px;
    }
    
    .product-modal-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .slideshow-container {
        height: 50vh;
    }
    
    .slide-content h2 {
        font-size: 1.5rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .category-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-modal {
        padding: 10px;
    }
    
    .product-modal-content {
        max-width: 100%;
        margin: 5px auto;
    }
    
    .product-modal-left {
        height: 250px;
    }
    
    .product-modal-right {
        padding: 15px;
    }
    
    .product-modal-title {
        font-size: 1.3rem;
    }
    
    .chatbot-container {
        width: calc(100% - 40px);
        right: 20px;
        left: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ===== ACESSIBILIDADE ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== UTILITÁRIOS ===== */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mb-1 { margin-bottom: 1rem; }
.p-1 { padding: 1rem; }
.hidden { display: none; }
.visible { display: block; }

/* ===== SCROLLBAR PERSONALIZADA ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--verde-limao);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--verde-escuro);
}