/* Variáveis de cores */
:root {
    --dark-gray: #3a3a3a;
    --light-gray: #f2f2f2;
    --footer-gray: #dddddd;
    --silver: #C0C0C0;
    --whatsapp-green: #25D366;
    --white: #FFFFFF;
    --black: #1a1a1a;
}

/* Reset e estilos gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif
}

body {
    background-color: var(--white);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button,
.btn {
    cursor: pointer;
    border: none;
    border-radius: 4px;
}

/* Header */
header {
    background-color: var(--dark-gray);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0% 2% 0% 2%;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    margin-left: 5%;
    color: var(--silver);
}

.search-bar {
    flex: 1;
    max-width: 700px;
    margin: 0 20px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 10px 15px;
    border-radius: 10px;
    border: none;
}

.search-bar button {
    position: absolute;
    right: 5px;
    top: 5px;
    background: none;
    color: var(--dark-gray);
    padding: 5px 10px;
}

.header-actions {
    display: flex;
    gap: 20px;
    margin-right: 1.5%;
}

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

.cart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cart-icon-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -5px;
    background-color: #20c997;
    color: white;
    border-radius: 30%;
    width: 12px;
    padding-left: 15%;
    font-size: 10px;
    z-index: 10;
}

/* Menu Mobile */
.mobile-menu-btn {
    display: none;
    background: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 70%;
    height: 100vh;
    background-color: var(--dark-gray);
    z-index: 2000;
    padding: 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-close {
    background: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: var(--light-gray);
    background-color: transparent;
}

.mobile-nav a {
    font-size: 1.2rem;
    padding: 10px 0;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav {
    padding-bottom: 5px;
    width: 100%;
    font-size: 0.8rem;
}

.mobile-dropdown {
    position: relative;
}

.mobile-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-dropdown-content {
    display: none;
    padding-left: 20px;
    margin-top: 10px;
}

.mobile-dropdown-content li {
    border-bottom: none;
}

.mobile-dropdown-content a {
    font-size: 1rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-dropdown.active .mobile-dropdown-content {
    display: block;
}

.mobile-dropdown.active .fa-chevron-down {
    transform: rotate(180deg);
}

.mobile-dropdown .fa-chevron-down {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.main-menu {
    display: flex;
    gap: 30px;
    justify-content: center;
    border-top: 0.3px solid var(--silver);
    padding-top: 5px;
    width: 100%;
}

.main-menu li {
    position: relative;
}

.main-menu a {
    padding: 5px 0;
    transition: all 0.3s ease;
}

.main-menu a:hover {
    color: var(--silver);
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1;
    border-radius: 4px;
    top: 100%;
    left: 0;
    margin-top: 10px;
}

.dropdown-content a {
    color: var(--black);
    padding: 12px 16px;
    display: block;
}

.dropdown-content a:hover {
    background-color: var(--light-gray);
    color: var(--dark-gray);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Hero Banner */
.hero-slider {
    position: relative;
    height: 450px;
    overflow: hidden;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 8px;
    max-width: 600px;
}

.slide-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.btn-primary {
    background-color: var(--silver);
    color: var(--dark-gray);
    padding: 12px 25px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--white);
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.slider-dot.active {
    background-color: var(--white);
}

.slider-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
}

.arrow {
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.benefits {
    background-color: var(--light-gray);
    padding: 20px 0;
    position: relative;
}

.benefits-carousel {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.benefits-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.benefit-item {
    flex: 0 0 100%;
    text-align: center;
    padding: 40px 20px;
    background: var(--white);
    border-radius: 10px;
    height: 100px;
    background-color: transparent;
}

/* Indicadores (bolinhas) */
.benefits-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.benefits-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--silver);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.benefits-dot.active {
    background-color: var(--dark-gray);
}

/* Controles de navegação */
.benefits-prev,
.benefits-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--dark-gray);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    z-index: 10;
    background-color: transparent;
}

.benefits-prev {
    left: 10px;
}

.benefits-next {
    right: 10px;
}

.benefits-prev:hover,
.benefits-next:hover {
    background-color: var(--silver);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.benefit-item {
    text-align: center;
    padding: 20px;
}

/* Categorias */
.categories {
    padding: 0px 0;
}

.section-title {
    text-align: center;
    width: 100%;
    margin-bottom: 40px;
    font-size: 2rem;
    color: var(--dark-gray);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--silver);
    margin: 15px auto;
}

.category-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.category-card {
    position: relative;
    height: 600px;
    width: 40%;
    overflow: hidden;
    border-radius: 8px;
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 20px;
    text-align: center;
}

.category-overlay h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

/* Produtos */
.products {
    padding: 0px 0px;
    background-color: var(--white);
    width: 100%;
}

.section-title {
    text-align: center;
    width: 100%;
    margin-bottom: 10px;
    font-size: 2rem;
    color: var(--dark-gray);
    position: relative;
    font-weight: normal;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background-color: var(--silver);
    margin: 15px auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.product-card {
    background-color: var(--white);
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    transition: transform 0.3s ease;
    border: 1px solid var(--silver);
    text-align: center;
    border-radius: 10px;
}

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

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

.product-info {
    padding: 15px 10px;
}

.product-title {
    font-size: 1rem;
    margin-bottom: 10px;
    height: auto;
    overflow: hidden;
    font-weight: normal;
    color: #333;
    line-height: 1.4;
}

.product-price {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #000;
}

.product-installment {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.product-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.btn-cart {
    background-color: #000;
    color: var(--white);
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
    border-radius: 10px;
}

.btn-cart:hover {
    background-color: #333;
}

.btn-view {
    background-color: var(--silver);
    color: var(--dark-gray);
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
    border-radius: 10px;
}

.btn-view:hover {
    background-color: #a0a0a0;
}

/* CATEGORIAS - RESPONSIVO */
.category-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.category-card {
    position: relative;
    height: 600px;
    width: 40%;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* PRODUTOS - CARROSSEL RESPONSIVO */
.products-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.products-carousel {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    scroll-behavior: smooth;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 20px 0;
}

.products-carousel::-webkit-scrollbar {
    display: none;
}

.product-card {
    flex: 0 0 calc(20% - 15px);
    min-width: 280px;
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

/* CONTROLES DE NAVEGAÇÃO */
.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.carousel-btn {
    background-color: var(--dark-gray);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    pointer-events: all;
    z-index: 10;
}

.carousel-btn:hover {
    background-color: var(--black);
    transform: scale(1.1);
}

.carousel-btn.prev {
    margin-left: -20px;
}

.carousel-btn.next {
    margin-right: -20px;
}

/* RESPONSIVIDADE */
@media (max-width: 1200px) {
    .product-card {
        flex: 0 0 calc(23.333% - 15px);
    }
}

@media (max-width: 992px) {
    .product-card {
        flex: 0 0 calc(20% - 15px);
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .carousel-btn.prev {
        margin-left: -15px;
    }

    .carousel-btn.next {
        margin-right: -15px;
    }
}

@media (max-width: 768px) {
    .header-top {
        flex-direction: row;
        gap: 15px;
        padding: 3%;
    }

    .main-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .search-bar {
        margin: 0;
        max-width: 100%;
        display: none;
        height: 50px;
    }

    .product-card {
        flex: 0 0 calc(67% - 15px);
    }

    .category-card {
        width: 90%;
        height: 500px;
        margin-bottom: 30px;
    }

    .category-grid {
        flex-direction: column;
        align-items: center;
    }

    .carousel-controls {
        display: none;
    }

    .image-center {
        width: 100%;
        height: 490px;
    }

    .slide-content h2 {
        font-size: 1.8rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .products-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .product-card {
        min-width: 100px;
    }

    .header-top {
        flex-wrap: wrap;
    }

    .search-bar {
        order: 3;
        flex: 1 1 100%;
        display: block !important;
        height: 50px;
    }
}

.visite-instagram {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
    font-family: Arial, sans-serif;
    background-color: var(--light-gray);
}

.visite-instagram .insta-box {
    text-align: center;
}

.visite-instagram h2 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.visite-instagram h2 i {
    font-size: 22px;
}

.visite-instagram p {
    margin: 10px 0 20px;
    font-size: 15px;
    color: #333;
}

.btn-visit {
    padding: 8px 20px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    border: 1px solid #333;
    border-radius: 50px;
    background: none;
    cursor: pointer;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    color: #333;
}

.btn-visit:hover {
    background: #333;
    color: #fff;
    transform: scale(1.05);
}

/* ===== CARRINHO DE COMPRAS - ESTILOS MELHORADOS ===== */
.cart-section {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1001;
    display: none;
    justify-content: flex-end;
}

.cart-content {
    background: white;
    width: 100%;
    max-width: 500px;
    height: 100vh;
    overflow-y: auto;
    animation: slideInRight 0.3s ease-out;
}

.cart-content::-webkit-scrollbar {
    display: none;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    border-bottom: 2px solid #f0f0f0;
    background: var(--dark-gray);
    color: white;
}

.cart-header h2 {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-cart {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close-cart:hover {
    transform: rotate(90deg);
}

.cart-items {
    padding: 20px;
    max-height: 60vh;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
    background: #fafafa;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: transform 0.2s ease;
}

.cart-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 20px;
    border: 2px solid #e0e0e0;
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h4 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 1.1rem;
}

.cart-item-details p {
    margin: 5px 0;
    color: #666;
}

.cart-item .quantity-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.cart-item .quantity-selector button {
    background: transparent;
    color: var(--black);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cart-item .quantity-selector button:hover {
    background: #1a1a1a;
    color: white;
}

.cart-item .quantity-selector span {
    font-weight: bold;
    min-width: 30px;
    text-align: center;
}

.cart-summary {
    padding: 25px;
    background: #f8f9fa;
    border-top: 2px solid #e0e0e0;
}

.subtotal,
.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}

.cart-total {
    border-bottom: none;
    font-size: 1.2rem;
    font-weight: bold;
    color: #1a1a1a;
}

.installments-info {
    text-align: center;
    color: #666;
    font-style: italic;
    margin: 10px 0;
}

.checkout-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 20px auto;
    width: 100%;
    max-width: 300px;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.checkout-btn i {
    font-size: 20px;
}

.cart-protection {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #25D366;
}

.cart-protection p {
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
}

.cart-protection i {
    color: #25D366;
}

/* ===== POPUP MELHORADO ===== */
.cart-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 1002;
    width: 420px;
    display: none;
    animation: popupAppear 0.4s ease-out;
}

@keyframes popupAppear {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.popup-content {
    border-radius: 20px;
    overflow: hidden;
}

.popup-header {
    background-color: var(--whatsapp-green);
    color: white;
    padding: 25px;
    text-align: center;
    position: relative;
}

.popup-header h3 {
    margin: 0;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.close-popup:hover {
    background: rgba(255, 255, 255, 0.3);
}

.popup-body {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: #f8f9fa;
}

.popup-body img {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
    border: 3px solid #e0e0e0;
}

.popup-info {
    flex: 1;
}

.popup-info h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 1.2rem;
}

.popup-info p {
    margin: 5px 0;
    color: #666;
}

.popup-info strong {
    color: #333;
}

.popup-actions {
    display: flex;
    gap: 15px;
    padding: 0 30px 30px;
}

.popup-actions button {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.continue-shopping {
    background: #f0f0f0;
    color: #333;
}

.continue-shopping:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

.view-cart {
    background: linear-gradient(135deg, #3a3a3a 0%, #1a1a1a 100%);
    color: white;
}

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

/* ===== VISUALIZAÇÃO DE PRODUTO - RESPONSIVA E ORGANIZADA ===== */
.product-view {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 1000;
    display: none;
    overflow-y: auto;
}

.product-view-content {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    animation: modalAppear 0.4s ease-out;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.close-product-view {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    color: var(--black);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-product-view:hover {
    background: var(--black);
    transform: rotate(90deg);
    color: var(--white);
}

.product-view-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 20px;
}

@media (min-width: 768px) {
    .product-view-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

/* Carrossel de imagens do produto */
.product-image-section {
    width: 100%;
}

.product-image-carousel {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 15px;
}

.product-images-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.product-image-slide {
    flex: 0 0 100%;
    height: 100%;
}

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

.product-image-prev,
.product-image-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
}

.product-image-prev {
    left: 15px;
}

.product-image-next {
    right: 15px;
}

.product-images-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

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

.product-image-indicator.active {
    background: white;
}

.product-details {
    padding: 0 10px;
}

.product-details h2 {
    color: #1a1a1a;
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: normal;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .product-details h2 {
        font-size: 2.2rem;
    }

    .cart-popup {
        width: 80%;
    }
}

.product-details .product-price {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--silver);
    margin-bottom: 10px;
}

.product-details .product-installments {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.product-options {
    margin: 25px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.option-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.select-tamanho {
    width: 100%;
    max-width: 250px;
    padding: 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #fff url("data:image/svg+xml;utf8,<svg fill='black' height='24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>") no-repeat right 12px center;
    background-size: 16px;
    cursor: pointer;
}

.select-tamanho:focus {
    border-color: #000;
    outline: none;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 25px 0;
    border: 1px solid var(--silver);
    padding: 10px;
    border-radius: 10px;
    width: fit-content;
}

.quantity-selector button {
    background: #f5f5f5;
    color: var(--black);
    border: 1px solid #ddd;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quantity-selector button:hover {
    background: #e0e0e0;
}

.quantity-selector span {
    font-size: 1.3rem;
    font-weight: bold;
    min-width: 50px;
    text-align: center;
}

.buy-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 30px 0;
}

@media (min-width: 480px) {
    .buy-actions {
        flex-direction: row;
    }
}

.buy-btn {
    background: var(--whatsapp-green);
    color: white;
    border: none;
    padding: 15px 25px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1;
}

.buy-btn:hover {
    transform: translateY(-2px);
    background: #1da851;
}

.view-btn {
    background: var(--silver);
    color: var(--dark-gray);
    border: none;
    padding: 15px 25px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1;
}

.view-btn:hover {
    background: #a0a0a0;
    transform: translateY(-2px);
}

.beneficios {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
}

.beneficio-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.beneficio-item i {
    font-size: 20px;
    color: var(--silver);
    margin-top: 3px;
}

.beneficio-item h3 {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
}

.beneficio-item p {
    font-size: 14px;
    margin: 2px 0 0;
    color: #555;
}

.product-info {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    margin-top: 30px;
}

.product-info h4 {
    color: #1a1a1a;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.product-info p {
    color: #555;
    line-height: 1.6;
}

.related-products {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.related-products h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
    color: var(--dark-gray);
}

/* Footer */
footer {
    background-color: var(--footer-gray);
    padding: 2%;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--dark-gray);
    position: relative;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column a:hover {
    color: var(--silver);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-icon {
    color: var(--whatsapp-green);
    font-size: 1.2rem;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--dark-gray);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--silver);
    color: var(--dark-gray);
}

.payment-methods,
.shipping-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.payment-method,
.shipping-method {
    background-color: var(--white);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.footer-bottom {
    border-top: 1px solid #ddd;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
}

.whatsapp-float i {
    margin-top: 15px;
}

.image-section {
    display: flex;
    justify-content: center;
    padding: 1%;
}

.image-center {
    width: 100%;
    height: 550px;
    background-image: url("Screenshot_93.png");
    border-radius: 10px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

/* Estilos para dispositivos móveis */
@media (max-width: 767px) {
    .product-view-content {
        padding: 10px;
    }

    .close-product-view {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
    }

    .product-details h2 {
        font-size: 1.5rem;
    }

    .product-details .product-price {
        font-size: 1.5rem;
    }

    .select-tamanho {
        max-width: 100%;
    }

    .buy-actions {
        flex-direction: column;
    }

    .carousel-controls {
        display: none;
    }

    .product-image-carousel {
        height: 300px;
    }
}

/* Estilos para tablets */
@media (min-width: 768px) and (max-width: 1023px) {
    .product-view-grid {
        gap: 20px;
    }

    .product-details h2 {
        font-size: 2rem;
    }
}






/* ===== PÁGINA DE PRODUTOS ===== */
.products-page {
    padding: 20px 0;
    background-color: var(--white);
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 20px;
}

.products-title {
    font-size: 2rem;
    color: var(--dark-gray);
    font-weight: normal;
}

.products-count {
    color: #666;
    font-size: 1rem;
}

.products-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Filtros */
.filters-sidebar {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filter-group {
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.filter-group:last-child {
    border-bottom: none;
}

.filter-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--dark-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.filter-title i {
    transition: transform 0.3s ease;
}

.filter-group.active .filter-title i {
    transform: rotate(180deg);
}

.filter-options {
    display: grid;
    gap: 12px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--dark-gray);
}

.filter-option label {
    cursor: pointer;
    color: #555;
    font-size: 0.95rem;
}

.filter-option-count {
    color: #999;
    font-size: 0.85rem;
    margin-left: auto;
}

/* Grid de Produtos */
.products-grid-container {
    display: flex;
    flex-direction: column;
}

.products-sort {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sort-label {
    color: #666;
    font-size: 0.95rem;
}

.sort-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: white;
    cursor: pointer;
}

.view-options {
    display: flex;
    gap: 10px;
}

.view-btn {
    background: white;
    border: 1px solid #ddd;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn.active {
    background: var(--dark-gray);
    color: white;
    border-color: var(--dark-gray);
}

/* Grid de produtos */
.products-grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.products-grid-view .product-card {
    margin: 0;
}

/* List view */
.products-list-view {
    display: none;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.products-list-view.active {
    display: flex;
}

.products-grid-view.active {
    display: grid;
}

.product-card-list {
    display: flex;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.product-card-list-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

.product-card-list-info {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card-list-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.product-card-list-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 5px;
}

.product-card-list-installment {
    color: #666;
    margin-bottom: 15px;
}

.product-card-list-actions {
    display: flex;
    gap: 10px;
}

/* Paginação */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination-btn {
    padding: 10px 15px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(.disabled) {
    background: var(--dark-gray);
    color: white;
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-pages {
    display: flex;
    gap: 5px;
}

.pagination-page {
    padding: 10px 15px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-page.active {
    background: var(--dark-gray);
    color: white;
    border-color: var(--dark-gray);
}

.pagination-page:hover:not(.active) {
    background: #f5f5f5;
}

/* Breadcrumb */
.breadcrumb {
    padding: 15px 20px;
    background: #f9f9f9;
    margin-bottom: 20px;
    border-radius: 5px;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--dark-gray);
}

.breadcrumb span {
    color: #999;
    margin: 0 5px;
}

/* Responsividade */
@media (max-width: 1024px) {
    .products-layout {
        grid-template-columns: 250px 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .products-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .filters-sidebar {
        position: static;
        order: 2;
    }
    
    .products-grid-container {
        order: 1;
    }
    
    .products-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .products-sort {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .product-card-list {
        flex-direction: column;
    }
    
    .product-card-list-img {
        width: 100%;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .products-grid-view {
        grid-template-columns: 1fr;
    }
    
    .sort-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}












/* Botão admin flutuante */
#admin-float-btn {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 1000;
    display: none;
}

.admin-btn {
    background: var(--dark-gray);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
}

.admin-btn:hover {
    transform: scale(1.1);
    background: #555;
}


/* ===== ESTILOS GERAIS ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    margin: 2% auto;
    padding: 0;
    width: 95%;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-content.small {
    max-width: 500px;
}

.modal-header {
    padding: 25px 30px;
    border-bottom: 1px solid #eef2f7;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px 12px 0 0;
}

.modal-header h2, .modal-header h3 {
    margin: 0;
    font-weight: 600;
}

.close-modal {
    background: rgba(255,255,255,0.2);
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
    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,0.3);
    transform: rotate(90deg);
}

/* ===== ABAS ===== */
.modal-tabs {
    display: flex;
    border-bottom: 1px solid #eef2f7;
    background: #f8fafc;
    border-radius: 12px 12px 0 0;
}

.tab-btn {
    flex: 1;
    padding: 18px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 500;
    color: #64748b;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-btn.active {
    color: #667eea;
    border-bottom-color: #667eea;
    background: white;
}

.tab-btn:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.tab-content {
    display: none;
    padding: 0;
}

.tab-content.active {
    display: block;
}

.tab-header {
    padding: 25px 30px;
    border-bottom: 1px solid #eef2f7;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
}

/* ===== FORMULÁRIO ORGANIZADO ===== */
.form-grid {
    display: grid;
    gap: 0;
}

.form-section {
    padding: 30px;
    border-bottom: 1px solid #eef2f7;
}

.form-section:last-child {
    border-bottom: none;
}

.form-section h3 {
    margin: 0 0 20px 0;
    color: #1e293b;
    font-size: 1.1em;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section h3 i {
    color: #667eea;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 0.9em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* ===== CHECKBOX GRID ===== */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.checkbox-card {
    position: relative;
    cursor: pointer;
}

.checkbox-card input {
    position: absolute;
    opacity: 0;
}

.checkbox-content {
    padding: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    background: white;
}

.checkbox-card input:checked + .checkbox-content {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
    color: #667eea;
}

.checkbox-content i {
    font-size: 1.5em;
    margin-bottom: 8px;
    display: block;
}

.checkbox-content span {
    font-weight: 500;
    font-size: 0.9em;
}

/* ===== UPLOAD DE ARQUIVOS ===== */
.file-upload-area {
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8fafc;
    position: relative;
}

.file-upload-area:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.file-upload-area i {
    font-size: 2.5em;
    color: #94a3b8;
    margin-bottom: 15px;
}

.file-upload-area p {
    margin: 0 0 10px 0;
    font-weight: 500;
    color: #475569;
}

.file-upload-area span {
    font-size: 0.8em;
    color: #94a3b8;
}

.file-upload-area input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* ===== PREVIEW DE IMAGENS ===== */
.image-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.image-preview-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.image-preview-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.remove-image-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.remove-image-btn:hover {
    background: #dc2626;
    transform: scale(1.1);
}

/* ===== TAMANHOS ===== */
.sizes-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.size-option {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9em;
}

.size-option input {
    width: 80px;
    padding: 5px 8px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 0.9em;
}

.remove-size {
    background: #94a3b8;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-size:hover {
    background: #64748b;
}

.btn-add-size {
    background: #10b981;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.btn-add-size:hover {
    background: #059669;
}

/* ===== BOTÕES ===== */
.form-actions {
    padding: 25px 30px;
    border-top: 1px solid #eef2f7;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    background: #f8fafc;
    border-radius: 0 0 12px 12px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #64748b;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #475569;
}

/* ===== ESTATÍSTICAS ===== */
.products-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 25px 30px;
    background: white;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 4px solid #667eea;
}

.stat-card i {
    font-size: 2em;
    color: #667eea;
}

.stat-card h3 {
    margin: 0;
    font-size: 1.8em;
    font-weight: 700;
    color: #1e293b;
}

.stat-card span {
    font-size: 0.9em;
    color: #64748b;
}

/* ===== LISTA DE PRODUTOS ===== */
.products-list-manager {
    max-height: 400px;
    overflow-y: auto;
    padding: 0 30px 25px;
}

.product-manager-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eef2f7;
    gap: 20px;
    transition: all 0.3s ease;
}

.product-manager-item:hover {
    background: #f8fafc;
}

.product-manager-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
}

.product-info {
    flex: 1;
}

.product-info h4 {
    margin: 0 0 8px 0;
    color: #1e293b;
    font-weight: 600;
}

.product-info p {
    margin: 0 0 5px 0;
    color: #64748b;
    font-size: 0.9em;
}

.product-info small {
    color: #94a3b8;
    font-size: 0.8em;
}

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

/* ===== CATEGORIAS ===== */
.categories-grid {
    padding: 25px 30px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.category-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    text-align: center;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.category-card:hover {
    border-color: #667eea;
    transform: translateY(-2px);
}

.category-card i {
    font-size: 2em;
    color: #667eea;
    margin-bottom: 15px;
}

.category-card h4 {
    margin: 0 0 10px 0;
    color: #1e293b;
}

.category-card .product-count {
    color: #64748b;
    font-size: 0.9em;
}

/* ===== ESTOQUE ===== */
.inventory-list {
    padding: 0 30px 25px;
}

.inventory-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eef2f7;
    gap: 20px;
}

.inventory-item.low-stock {
    background: #fef3f2;
    border-left: 4px solid #ef4444;
}

.inventory-item.out-of-stock {
    background: #f8fafc;
    border-left: 4px solid #94a3b8;
}

.stock-indicator {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 500;
}

.stock-indicator.in-stock {
    background: #d1fae5;
    color: #065f46;
}

.stock-indicator.low-stock {
    background: #fef3c7;
    color: #92400e;
}

.stock-indicator.out-of-stock {
    background: #f1f5f9;
    color: #64748b;
}

/* ===== SWITCH ===== */
.switch {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: relative;
    width: 50px;
    height: 26px;
    background-color: #cbd5e1;
    border-radius: 34px;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    border-radius: 50%;
    transition: .4s;
}

input:checked + .slider {
    background-color: #667eea;
}

input:checked + .slider:before {
    transform: translateX(24px);
}

.switch-label {
    font-weight: 500;
    color: #374151;
}



/* ===== SEÇÃO TODOS OS PRODUTOS ===== */
.todos-produtos-section {
    padding: 40px 0;
    background-color: var(--white);
    min-height: 100vh;
}

.todos-produtos-section .products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 20px;
}

.todos-produtos-section .products-title {
    font-size: 2.2rem;
    color: var(--dark-gray);
    font-weight: normal;
    margin: 0;
}

.todos-produtos-section .products-count {
    color: #666;
    font-size: 1rem;
}

.todos-produtos-section .products-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Filtros Específicos */
.todos-produtos-section .filters-sidebar {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.todos-produtos-section .filter-group {
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.todos-produtos-section .filter-group:last-child {
    border-bottom: none;
}

.todos-produtos-section .filter-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--dark-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.todos-produtos-section .filter-title i {
    transition: transform 0.3s ease;
}

.todos-produtos-section .filter-group.active .filter-title i {
    transform: rotate(180deg);
}

.todos-produtos-section .filter-options {
    display: grid;
    gap: 12px;
}

.todos-produtos-section .filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
}

.todos-produtos-section .filter-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--dark-gray);
}

.todos-produtos-section .filter-option label {
    cursor: pointer;
    color: #555;
    font-size: 0.95rem;
    flex: 1;
}

.todos-produtos-section .filter-option-count {
    color: #999;
    font-size: 0.85rem;
}

/* Grid de Produtos Específico */
.todos-produtos-section .products-grid-container {
    display: flex;
    flex-direction: column;
}

.todos-produtos-section .products-sort {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.todos-produtos-section .sort-options {
    display: flex;
    align-items: center;
    gap: 15px;
}

.todos-produtos-section .sort-label {
    color: #666;
    font-size: 0.95rem;
}

.todos-produtos-section .sort-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: white;
    cursor: pointer;
}

.todos-produtos-section .view-options {
    display: flex;
    gap: 10px;
}

.todos-produtos-section .view-btn {
    background: white;
    border: 1px solid #ddd;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.todos-produtos-section .view-btn.active {
    background: var(--dark-gray);
    color: white;
    border-color: var(--dark-gray);
}

/* Grid de produtos */
.todos-produtos-section .products-grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.todos-produtos-section .products-grid-view .product-card {
    margin: 0;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.todos-produtos-section .products-grid-view .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* List view */
.todos-produtos-section .products-list-view {
    display: none;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.todos-produtos-section .products-list-view.active {
    display: flex;
}

.todos-produtos-section .products-grid-view.active {
    display: grid;
}

.todos-produtos-section .product-card-list {
    display: flex;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.todos-produtos-section .product-card-list:hover {
    transform: translateY(-2px);
}

.todos-produtos-section .product-card-list-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

.todos-produtos-section .product-card-list-info {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.todos-produtos-section .product-card-list-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.todos-produtos-section .product-card-list-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 5px;
}

.todos-produtos-section .product-card-list-installment {
    color: #666;
    margin-bottom: 15px;
}

.todos-produtos-section .product-card-list-actions {
    display: flex;
    gap: 10px;
}

/* Paginação */
.todos-produtos-section .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.todos-produtos-section .pagination-btn {
    padding: 10px 15px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.todos-produtos-section .pagination-btn:hover:not(.disabled) {
    background: var(--dark-gray);
    color: white;
}

.todos-produtos-section .pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.todos-produtos-section .pagination-pages {
    display: flex;
    gap: 5px;
}

.todos-produtos-section .pagination-page {
    padding: 10px 15px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.todos-produtos-section .pagination-page.active {
    background: var(--dark-gray);
    color: white;
    border-color: var(--dark-gray);
}

.todos-produtos-section .pagination-page:hover:not(.active) {
    background: #f5f5f5;
}

/* Responsividade */
@media (max-width: 1024px) {
    .todos-produtos-section .products-layout {
        grid-template-columns: 250px 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .todos-produtos-section .products-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .todos-produtos-section .filters-sidebar {
        position: static;
        order: 2;
    }
    
    .todos-produtos-section .products-grid-container {
        order: 1;
    }
    
    .todos-produtos-section .products-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .todos-produtos-section .products-sort {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .todos-produtos-section .product-card-list {
        flex-direction: column;
    }
    
    .todos-produtos-section .product-card-list-img {
        width: 100%;
        height: 250px;
    }
    
    .todos-produtos-section .products-grid-view {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {
    .todos-produtos-section .products-grid-view {
        grid-template-columns: 1fr;
    }
    
    .todos-produtos-section .sort-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .todos-produtos-section .products-header {
        padding: 0 10px;
    }
    
    .todos-produtos-section .products-layout {
        padding: 0 10px;
    }
}

.btn-info {
    background: #17a2b8;
    color: white;
}

.btn-info:hover {
    background: #138496;
}

.btn-warning {
    background: #ffc107;
    color: #212529;
}

.btn-warning:hover {
    background: #e0a800;
}