* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    --cor-primaria: #2d350d;
    --cor-contraste: #6b8633;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: var(--cor-primaria);
    color: white;
    padding: 15px 0;
    position: relative;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo-img {
    height: 80px;
    width: auto;
}

.search-bar {
    flex: 1;
    max-width: 500px;
    position: relative;
    display: flex;
}

.search-input {
    width: 100%;
    padding: 15px 15px;
    border: none;
    border-radius: 25px;
    background-color: hsla(0, 0%, 100%, .2) !important;
    color: #FFF;
    font-size: 14px;
    outline: none;
}

.search-input::placeholder {
    color: #FFF;
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
}

.search-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.search-wrapper {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    padding: 4px;
    box-shadow:
            0 8px 32px rgba(0, 0, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.search-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent
    );
    transition: left 0.5s;
}

.search-wrapper:hover::before {
    left: 100%;
}

.search-wrapper:hover {
    transform: translateY(-2px);
    box-shadow:
            0 12px 40px rgba(0, 0, 0, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.search-wrapper.focused {
    background: rgba(255, 255, 255, 0.15);
    box-shadow:
            0 12px 40px rgba(0, 0, 0, 0.2),
            0 0 0 2px rgba(255, 255, 255, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Sobrescrever o input original */
.search-bar {
    flex: 1;
    max-width: 500px;
    position: relative;
    display: flex;
}

.search-input {
    width: 100%;
    padding: 18px 60px 18px 24px !important;
    border: none !important;
    border-radius: 46px !important;
    background: transparent !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 400;
    outline: none !important;
    transition: all 0.3s ease;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
    transition: all 0.3s ease;
}

.search-input:focus::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    transform: translateX(5px);
}

/* Sobrescrever o botão original */
.search-btn {
    position: absolute !important;
    right: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 44px !important;
    height: 44px !important;
    background: linear-gradient(135deg, #d2691e, #b8591a) !important;
    border: none !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 12px rgba(210, 105, 30, 0.3);
}

.search-btn:hover {
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(210, 105, 30, 0.4) !important;
    background: linear-gradient(135deg, #e67a2e, #c9632e) !important;
}

.search-btn:active {
    transform: translateY(-50%) scale(0.95) !important;
}

.search-icon {
    width: 20px;
    height: 20px;
    stroke: white;
    stroke-width: 2.5;
    transition: all 0.3s ease;
}

.search-btn:hover .search-icon {
    stroke-width: 3;
}

/* Loading animation */
.search-btn.loading {
    pointer-events: none;
}

.search-btn.loading .search-icon {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Suggestions dropdown */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    margin-top: 8px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.search-suggestions.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.suggestion-item {
    padding: 16px 24px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.suggestion-item:hover {
    background: rgba(45, 53, 13, 0.08);
    transform: translateX(4px);
}

.suggestion-icon {
    width: 16px;
    height: 16px;
    opacity: 0.6;
}

/* Floating particles effect */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    border-radius: 50px;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float 3s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Header Flutuante */
.header-float {
    margin: 0 auto;
    max-width: 1200px;
    background-color: var(--cor-primaria);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1rem 0;
    position: fixed;
    top: 1rem;
    left: 0;
    right: 0;
    z-index: 2;
    transform: translateY(-100%);
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-radius: 1rem 1rem 0 0;
}

.header-float.visible {
    transform: translateY(0);
}

/* Ajustes para elementos do header float */
.header-float .logo-img {
    height: 50px;
    width: auto;
}

.header-float .search-bar {
    flex: 1;
    max-width: 400px;
}

.header-float .search-input {
    padding: 15px 15px;
    font-size: 13px;
}

.header-float .header-actions svg {
    width: 18px;
    height: 18px;
}

.login-btn, .cart-btn {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.login-btn:hover, .cart-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cart-btn {
    background-color: #d2691e;
    font-weight: bold;
}

/* Navigation */
.navigation {
    background-color: #f8f8f8;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
    margin-top: 1rem;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

/* Secondary Navigation - Versão melhorada com diferenciação visual */
.secondary-navigation {
    /* Gradiente sutil usando as cores personalizadas */
    background: linear-gradient(135deg, var(--cor-primaria) 0%, rgba(var(--cor-primaria-rgb), 0.85) 100%);
    padding: 0.75rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-top: 2px solid rgba(255,255,255,0.1);
    position: relative;
}

/* Adiciona um overlay sutil para diferenciação */
.secondary-navigation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(255,255,255,0.05) 0%, 
        rgba(255,255,255,0.1) 50%, 
        rgba(255,255,255,0.05) 100%);
    pointer-events: none;
}

.secondary-nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

.secondary-nav-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 0.6rem 1.8rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.8px;
    position: relative;
    overflow: hidden;
    /* Sombra sutil para profundidade */
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}


.secondary-nav-link:hover::before {
    left: 100%;
}

.secondary-nav-link:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Botão corporativo com estilo diferenciado */
.corporativo-btn {
    backdrop-filter: blur(10px);
}

.corporativo-btn:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

/* Responsividade melhorada */
@media (max-width: 768px) {
    .secondary-nav-menu {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .secondary-nav-link {
        padding: 0.5rem 1.5rem;
        font-size: 0.8rem;
    }
}
.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 8px 8px;
    border-radius: 20px;
    transition: all 0.3s;
    text-transform: uppercase;
    font-size: 12px;
}

.nav-link:hover, .nav-link.active {
    background-color: var(--cor-primaria);
    color: white;
}

/* Categories Section */
.categories {
    padding: 60px 0;
    background-color: white;
}

.categories-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.category-link {
    text-decoration: none;
    color: #333;
    padding: 10px 20px;
    border-radius: 20px;
    border: 2px solid #ddd;
    transition: all 0.3s;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 500;
}

.category-link:hover {
    border-color: var(--cor-primaria);
    background-color: var(--cor-primaria);
    color: white;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.category-card {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s;
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

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

.category-card:hover > .category-image img {
    transform: scale(1.1);
}

.category-card:hover .category-title {
    font-weight: 700;
}

.category-image {
    width: 100%;
    height: 80%;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    max-height: 215px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.category-title {
    position: sticky;
    bottom: -20px;
    left: 0;
    right: 0;
    color: black;
    z-index: 1;
    font-size: .8em;
    font-weight: 400;
    text-align: center;
    transition: font-weight 0.3s ease;
}

/* Products Section */
.products {
    padding: 60px 0;
}

.xodos-section {
    background-color: var(--cor-primaria);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);

}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: bold;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 250px));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.product-price {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #d2691e;
    color: white;
    padding: 8px 12px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 14px;
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.product-pricing {
    margin-bottom: 10px;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
    margin-right: 10px;
}

.current-price {
    color: #d2691e;
    font-weight: bold;
    font-size: 18px;
}

.installments {
    color: #666;
    font-size: 12px;
}

.out-of-stock .product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
}

.out-of-stock-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.out-of-stock-text {
    background: #ff4444;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 12px;
}

/* Recent Posts Section */
.recent-posts {
    padding: 60px 0;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.post-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    position: relative;
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-price {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: var(--cor-primaria);
    color: white;
    padding: 8px 12px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 14px;
}

/* Instagram Section */
.instagram-section {
    padding: 40px 0;
    background-color: white;
    text-align: center;
}

.instagram-btn {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
}

.instagram-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s;
}

.whatsapp-link:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.cookie-actions {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.cookie-btn.more-info {
    background-color: #d2691e;
    color: white;
}

.cookie-btn.accept {
    background-color: var(--cor-primaria);
    color: white;
}

.cookie-btn:hover {
    transform: translateY(-1px);
}

.cookie-notice.hidden {
    display: none;
}

/* Category Page Styles */
.category-header {
    padding: 40px 0;
    background-color: var(--cor-primaria);
    color: white;
    text-align: center;
    margin-top: 2rem;
}

.category-products {
    padding: 60px 0;
    background-color: white;
}

.product-link {
    text-decoration: none;
    color: inherit;
}

/* Product Details Page Styles */
.product-details {
    padding: 60px 0;
    background-color: white;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.product-images {
    display: flex;
    gap: 20px;
}

.product-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.thumbnail.active, .thumbnail:hover {
    border-color: #d2691e;
}

.product-main-image {
    flex: 1;
    position: relative;
}

.product-main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
}

.zoom-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.product-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}


.upload-text {
    color: #d2691e;
    font-size: 12px;
    margin-bottom: 15px;
}

.next-btn {
    background-color: var(--cor-primaria);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.next-btn:hover {
    background-color: #3a4a1c;
    transform: translateY(-1px);
}

.order-summary {
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.summary-row.total {
    border-top: 2px solid #ddd;
    padding-top: 15px;
    font-weight: bold;
    font-size: 1.1rem;
}

.installments-info {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: 10px;
}

.product-description {
    margin-top: 40px;
}

.product-description h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
}

.product-items {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.product-items li {
    background-color: #f8f8f8;
    padding: 10px 15px;
    border-radius: 20px;
    border-left: 4px solid #d2691e;
}

.related-products {
    padding: 60px 0;
    background-color: #f8f8f8;
}



/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .header-float .header-content {
        gap: 10px;
    }

    .header-float .search-bar {
        max-width: 200px;
    }

    .header-float .search-input {
        font-size: 12px;
        padding: 8px 12px;
    }
    
    .search-bar {
        order: 3;
        max-width: 100%;
    }
    
    .nav-menu {
        gap: 15px;
    }

    
    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    
    .product-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-images {
        flex-direction: column-reverse;
    }
    
    .product-thumbnails {
        flex-direction: row;
        justify-content: center;
    }
    

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .search-container {
        max-width: 100%;
    }

    .search-input {
        padding: 16px 56px 16px 20px !important;
        font-size: 14px !important;
    }

    .search-btn {
        width: 40px !important;
        height: 40px !important;
        right: 6px !important;
    }

    .search-icon {
        width: 18px;
        height: 18px;
    }

}

/* Zoom Modal Styles */
.zoom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.zoom-modal.active {
    display: flex;
}

.zoom-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.zoom-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
}

.zoom-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
}

.zoom-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.zoom-image-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.zoom-image-container img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.zoom-image-container img.zoomed {
    cursor: zoom-out;
    transform: scale(2);
}

/* Navigation arrows */
.zoom-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
}

.zoom-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.zoom-nav-prev {
    left: -70px;
}

.zoom-nav-next {
    right: -70px;
}

.zoom-counter {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    backdrop-filter: blur(10px);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.zoom-modal-content {
    animation: zoomIn 0.3s ease;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .zoom-modal-close {
        top: -40px;
        right: -10px;
        width: 35px;
        height: 35px;
    }

    .zoom-nav {
        width: 40px;
        height: 40px;
    }

    .zoom-nav-prev {
        left: -50px;
    }

    .zoom-nav-next {
        right: -50px;
    }

    .zoom-counter {
        bottom: -40px;
        font-size: 12px;
        padding: 6px 12px;
    }

    .zoom-image-container {
        max-width: 95vw;
        max-height: 80vh;
    }
}

/* Hide navigation when there's only one image */
.zoom-modal.single-image .zoom-nav,
.zoom-modal.single-image .zoom-counter {
    display: none;
}



/* ÁREA DO FOOTER   */
/* Footer Styles */
.main-footer {
    background: linear-gradient(135deg, var(--cor-primaria, #2d350d), #1a1f08);
    color: #ffffff;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.footer-top {
    padding: 4rem 0 2rem;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

/* Footer Brand */
.footer-brand {
    max-width: 300px;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
    color: #ffffff;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #F56040, #E1306C, #C13584);
}

.social-link.facebook:hover {
    background: #1877F2;
}

.social-link.whatsapp:hover {
    background: #25D366;
}

.social-link.email:hover {
    background: #EA4335;
}

/* Footer Columns */
.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    color: #ffffff;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--cor-secundaria, #d2691e);
    border-radius: 1px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 1px;
    background: var(--cor-secundaria, #d2691e);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-links a:hover::before {
    opacity: 1;
}

/* Footer Contact */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-item svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--cor-secundaria, #d2691e);
}

.contact-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #ffffff;
}

.contact-item div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-item small {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-copyright {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-copyright p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-copyright small {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

/* Payment Methods */
.footer-payment {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.payment-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 500;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.payment-icon {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    padding: 4px 8px;
    transition: transform 0.2s ease;
}

.payment-icon:hover {
    transform: scale(1.05);
}

.payment-icon.pix {
    background: #32BCAD;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 6px 8px;
    border-radius: 4px;
}

/* Security Badges */
.footer-security {
    display: flex;
    align-items: center;
}

.security-badges {
    display: flex;
    gap: 1rem;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
}

.security-badge svg {
    color: var(--cor-secundaria, #d2691e);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 2rem;
    }

    .footer-payment {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 768px) {
    .footer-top {
        padding: 3rem 0 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: left;
    }

    .footer-brand {
        max-width: none;
        text-align: center;
        margin-bottom: 1rem;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-payment,
    .footer-security {
        justify-content: center;
    }

    .payment-methods {
        flex-wrap: wrap;
        justify-content: center;
    }

    .security-badges {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .footer-top {
        padding: 2rem 0 1rem;
    }

    .footer-grid {
        gap: 2rem;
    }

    .footer-social {
        flex-wrap: wrap;
        justify-content: center;
    }

    .social-link {
        width: 44px;
        height: 44px;
    }

    .contact-item {
        font-size: 0.9rem;
    }

    .footer-bottom {
        padding: 1.5rem 0;
    }

    .payment-methods {
        gap: 0.25rem;
    }

    .payment-icon {
        transform: scale(0.9);
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-column {
    animation: fadeInUp 0.6s ease-out;
}

.footer-column:nth-child(1) { animation-delay: 0.1s; }
.footer-column:nth-child(2) { animation-delay: 0.2s; }
.footer-column:nth-child(3) { animation-delay: 0.3s; }
.footer-column:nth-child(4) { animation-delay: 0.4s; }

/* Estados de hover aprimorados */
.social-link,
.footer-links a,
.contact-item a {
    position: relative;
    overflow: hidden;
}

.social-link::before,
.footer-links a::after,
.contact-item a::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.social-link:hover::before,
.footer-links a:hover::after,
.contact-item a:hover::after {
    left: 100%;
}

/* Gradiente de background aprimorado */
.main-footer {
    background-image:
            radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 50%),
            linear-gradient(135deg, var(--cor-primaria, #2d350d), #1a1f08);
}

/* Micro-interações */
.payment-icon,
.security-badge {
    cursor: help;
}

.payment-icon:hover {
    transform: scale(1.1) rotate(2deg);
}

.security-badge:hover svg {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Tema escuro adicional */
@media (prefers-color-scheme: dark) {
    .main-footer {
        background-image:
                radial-gradient(circle at 20% 80%, rgba(255,255,255,0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255,255,255,0.02) 0%, transparent 50%),
                linear-gradient(135deg, var(--cor-primaria, #2d350d), #0f1205);
    }
}

/* Acessibilidade */
@media (prefers-reduced-motion: reduce) {
    .footer-column,
    .social-link,
    .footer-links a,
    .contact-item a,
    .payment-icon,
    .security-badge svg {
        animation: none;
        transition: none;
    }
}

/* Focus styles para acessibilidade */
.social-link:focus,
.footer-links a:focus,
.contact-item a:focus {
    outline: 2px solid var(--cor-secundaria, #d2691e);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Print styles */
@media print {
    .main-footer {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
    }

    .footer-social,
    .payment-methods,
    .security-badges {
        display: none;
    }
}

/*  MELHORAS NO CSS DA NAVEGAÇÃO    */
/* ===== NAVEGAÇÃO CONTEXTUAL ===== */

/* Layout full-width para navegação */
.nav-menu {
    display: flex;
    gap: 0.5rem;
}

.nav-menu-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
}

/* Categoria Destaque - Full Width */
.nav-item-destaque {
    width: 100%;
    margin-bottom: 0.75rem;
}

.nav-item-destaque .nav-link-destaque {
    display: block;
    text-align: center;
    width: 100%;
    padding: 12px 20px !important;
    margin: 0;
}

/* Botão Ver Mais - Full Width */
.nav-more-categories {
    width: 100%;
    margin-top: 0.75rem;
}

/* Categoria Destaque */
.nav-item-destaque {
    position: relative;
}

.nav-link-destaque {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: white !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
    border-radius: 25px !important;
    padding: 8px 16px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link-destaque:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
}

/* Botão "Ver Mais Categorias" */
.nav-more-categories {
    width: 100%;
    margin-top: 1rem;
}

.btn-more-categories {
    width: 100%;
    background: var(--cor-primaria);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-more-categories:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-more-categories:active {
    transform: scale(0.98);
}

/* Animação do background morphing */
.btn-morphing-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.btn-more-categories:hover .btn-morphing-bg {
    opacity: 1;
    transform: scale(1);
}

/* Versão compacta para header flutuante */
.btn-more-compact {
    width: auto;
    padding: 8px 12px;
    font-size: 12px;
    border-radius: 20px;
}

.nav-more-float {
    margin-top: 0;
    margin-left: auto;
}

/* ===== MODAL DE CATEGORIAS ===== */

.categories-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.categories-modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.4s ease;
}

.modal-container {
    position: relative;
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    margin: 5vh auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    transform: scale(0.8) translateY(50px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.categories-modal.show .modal-container {
    transform: scale(1) translateY(0);
}

/* Header do Modal */
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.8);
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--cor-primaria);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--cor-primaria);
    transform: rotate(90deg);
}

/* Body do Modal */
.modal-body {
    padding: 32px;
    max-height: calc(85vh - 100px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--cor-primaria) transparent;
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--cor-primaria);
    border-radius: 3px;
}

/* Grid de Categorias */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    animation: fadeInUp 0.6s ease;
}

/* Card de Categoria */
.category-card {
    display: block;
    position: relative;
    height: 160px;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: white;
    cursor: pointer;
    transform: translateY(20px);
    opacity: 0;
    animation: slideInUp 0.6s ease forwards;
    animation-delay: var(--delay);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Background da Categoria */
.category-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.category-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover .category-bg-image {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            135deg,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.2) 50%,
            rgba(0, 0, 0, 0.6) 100%
    );
    transition: opacity 0.3s ease;
}

.category-card:hover .category-overlay {
    opacity: 0.7;
}

/* Conteúdo da Categoria */
.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    z-index: 2;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
}

.category-name {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease;
}

.category-card:hover .category-name {
    transform: translateY(-4px);
}

.category-star {
    font-size: 16px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Efeito de Hover */
.category-hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: 1;
}

.category-card:hover .category-hover-effect {
    transform: translateX(100%);
}

/* ===== ANIMAÇÕES ===== */

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animação de morphing do botão */
@keyframes morphButton {
    0% {
        border-radius: 12px;
        transform: scale(1);
    }
    50% {
        border-radius: 20px;
        transform: scale(1.05);
    }
    100% {
        border-radius: 24px;
        transform: scale(1);
    }
}

.btn-more-categories.morphing {
    animation: morphButton 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESPONSIVO ===== */

@media (max-width: 768px) {
    .modal-container {
        width: 95%;
        margin: 2vh auto;
        max-height: 95vh;
    }

    .modal-header {
        padding: 20px 24px;
    }

    .modal-title {
        font-size: 20px;
    }

    .modal-body {
        padding: 24px 20px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .category-card {
        height: 140px;
    }

    .category-name {
        font-size: 16px;
    }

    .nav-more-categories {
        margin-top: 0.75rem;
    }

    .btn-more-categories {
        padding: 10px 16px;
        font-size: 13px;
    }

    .nav-menu-row {
        display: none;
    }

    .secondary-navigation {
        padding: 12px 0;
    }
    
    .secondary-nav-menu {
        gap: 15px;
        padding: 0 20px;
    }
    
    .secondary-nav-link {
        padding: 8px 16px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .modal-container {
        width: 98%;
        margin: 1vh auto;
        border-radius: 16px;
    }

    .category-card {
        height: 120px;
    }

    .category-content {
        padding: 16px;
    }

    .category-name {
        font-size: 14px;
    }
}