/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    background-color: #f5f5f5;
    color: #333;
    font-size: 14px;
}

/* HEADER - Fiel ao Magalu Mobile */
.header {
    background-color: #ffffff;
    color: #000;
    padding: 6px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-btn {
    background: none;
    border: none;
    color: #000;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
}

.logo {
    font-size: 18px;
    font-weight: bold;
	color: #000;
}

.logo img {
    transform: translateY(3px); /* Ajuste fino para centralização vertical */
}

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

.icon-btn {
    background: none;
    border: none;
    color: #000;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
}

/* Ícones - Usando texto/unicode para simular o visual */
.heart-icon::before { content: ""; }
.cart-icon::before { content: ""; }
.profile-icon::before { content: ""; }

/* SEARCH BAR .search-container {
    background-color: #fff;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-input {
    flex: 1;
    border: 1px solid #ddd;
    outline: none;
    padding: 8px;
    font-size: 14px;
    background-color: #f5f5f5;
    border-radius: 4px;
}

.search-btn {
    background: none;
    border: none;
    color: #666;
    font-size: 16px;
    cursor: pointer;
}

/* CEP SECTION */
.cep-section {
    background-color: #ffffff;
    padding: 10px 12px;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cep-icon::before { content: ""; }

.cep-text {
    flex: 1;
    font-size: 13px;
    color: #000;
}

.cep-btn {
    background: none;
    border: none;
    color: #000; /* Cor branca para o SVG */
    cursor: pointer;
    font-size: 12px;
    padding: 4px 8px;
}

/* FILTERS SECTION */
.filters-section {
    background-color: #fff;
    padding: 10px 12px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #ddd;
    overflow-x: auto;
}

.filter-btn {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
    color: #333;
}

.filter-btn:hover {
    background-color: #eee;
}

.full-badge {
    background-color: #000;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

/* RESULTS HEADER */
.results.header {
    background-color: #000;
    padding: 12px;
    border-bottom: 1px solid #ddd;
}

.results-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 4px;
}

.results-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

/* PRODUCTS GRID - Fiel ao Magalu Mobile */
.products-container {
    padding: 8px; /* Espaçamento menor para mobile */
    background-color: #f5f5f5;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 colunas para mobile */
    gap: 8px; /* Espaçamento menor entre os cards */
}

.product-card {
    background-color: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.product-image {
    width: 100%;
    height: 150px; /* Altura fixa para uniformidade */
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

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

.full-label {
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: #000;
    color: #fff;
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: bold;
}

.product-info {
    padding: 10px;
}

.product-title {
    font-size: 12px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
    line-height: 1.3;
    min-height: 30px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-rating {
    font-size: 11px;
    color: #ffa500;
    margin-bottom: 4px;
}

.product-price {
    font-size: 14px;
    font-weight: bold;
    color: #000; /* Preto */
    margin-bottom: 3px;
}

.product-original-price {
    font-size: 11px;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 3px;
}

.product-installment {
    font-size: 11px;
    color: #666;
    margin-bottom: 3px;
}

.product-discount {
    font-size: 11px;
    color: #000;
    margin-bottom: 6px;
}

.product-badge {
    display: inline-block;
    background-color: rgba(255, 165, 0, 0.2); /* Laranja claro transparente */
    color: #ff8c00; /* Laranja LEGO */
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 10px;
    margin-top: 4px;
    font-weight: bold;
}

/* MORE INFO SECTION */
.more-info-section {
    background-color: #fff;
    margin-top: 12px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.more-info-header {
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.more-info-header:hover {
    background-color: #f9f9f9;
}

.more-info-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.more-info-toggle {
    font-size: 18px;
    color: #999;
    transition: transform 0.3s;
}

.more-info-toggle.open {
    transform: rotate(180deg);
}

.more-info-content {
    display: none;
    padding: 0 12px 12px 12px;
    border-top: 1px solid #eee;
}

.more-info-content.open {
    display: block;
}

.info-item {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
    color: #666;
}

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

.info-item a {
    color: #0076ff;
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

/* FOOTER */
.footer {
    background-color: #1a1a1a;
    color: #fff;
	padding: 20px 0;
    margin-top: 0;
}

.footer-section {
    margin-bottom: 20px;
}

.footer-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.footer-title:hover {
    color: #0076ff;
}

.footer-toggle {
    font-size: 16px;
    transition: transform 0.3s;
}

.footer-toggle.open {
    transform: rotate(180deg);
}

.footer-links {
    display: none;
    list-style: none;
}

.footer-links.open {
    display: block;
}

.footer-link {
    padding: 6px 0;
    font-size: 12px;
    color: #ccc;
}

.footer-link a {
    color: #ccc;
    text-decoration: none;
}

.footer-link a:hover {
    color: #0076ff;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 15px;
    font-size: 11px;
    color: #999;
    text-align: center;
}

/* ===== PRODUCT DETAIL PAGE STYLES ===== */

.product-detail-container {
    max-width: 100%;
    background-color: #fff;
    padding-bottom: 120px;
}

.product-detail-header {
    padding: 12px;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #000;
    position: sticky;
    top: 60px;
    z-index: 99;
}
.back-btn {
    background: none;
    border: none;
    color: #fff;6ff;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
}

.product-detail-title {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}  flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* PRODUCT IMAGE CAROUSEL */
.product-detail-images {
    width: 100%;
    background-color: #f5f5f5;
    padding: 20px 0;
    text-align: center;
}

.product-detail-image {
    width: 100%;
	height: 400px;
    margin-bottom: 15px;
    overflow-x: scroll; /* Habilita o scroll horizontal */
    scroll-snap-type: x mandatory; /* Habilita o snap ao deslizar */
    display: flex; /* Permite que as imagens fiquem lado a lado */
    -webkit-overflow-scrolling: touch; /* Para iOS */
}

.product-detail-image img {
    min-width: 100%; /* Cada imagem ocupa 100% da largura do contêiner */
    height: 100%;
    object-fit: cover;
    scroll-snap-align: start; /* Faz a imagem parar no início ao deslizar */
}

.image-thumbnails {
    display: flex;
    gap: 8px;
	overflow-x: auto;
	padding-bottom: 10px;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch; /* Para iOS */
}

.image-thumbnail {
    width: 60px;
    height: 60px;
    border: 2px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
	flex-shrink: 0;
	scroll-snap-align: start;
}

.image-thumbnail.active {
    border-color: #0076ff;
}

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

/* PRODUCT INFO DETAIL */
.product-detail-info {
    padding: 12px;
}

.product-detail-title-main {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-detail-seller {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.product-detail-rating {
    font-size: 14px;
    color: #ffa500;
    margin-bottom: 15px;
}

.product-detail-price-section {
    margin-bottom: 15px;
}

.product-detail-price {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin-bottom: 5px;
}

.product-detail-installment {
    font-size: 13px;
    color: #666;
}

.payment-options {
    margin-bottom: 15px;
}

.payment-options a {
    font-size: 13px;
    color: #0076ff;
    text-decoration: none;
    font-weight: 600;
}

.shipping-info {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 4px;
}

.shipping-info-item {
    display: flex;
    gap: 8px;
    align-items: center;
}

.shipping-info-icon {
    font-size: 18px;
}

.shipping-info-link {
    color: #0076ff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

/* ACTION BUTTONS DETAIL */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.btn-add-cart {
    background-color: #00C000; /* Verde Magalu */ /* Verde */
    color: #fff;
    border: none;
    padding: 14px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-add-cart.disabled {
    background-color: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-buy-now {
    background-color: #fff; /* Fundo branco */
    color: #00C000; /* Texto verde */
    border: 1px solid #00C000; /* Borda verde */
    padding: 14px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-contact {
    background-color: #fff;
    color: #333;
    border: 1px solid #ddd;
    padding: 14px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none; /* Para o link Comprar Agora */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* STORE INFO DETAIL */
.store-info {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.store-info-header {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.store-icon {
    font-size: 30px;
}

.store-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

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

.store-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 10px;
    text-align: center;
}

.store-stat {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.store-stat-value {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.store-stat span:last-child {
    font-size: 11px;
    color: #999;
}

.store-actions {
    display: flex;
    gap: 8px;
}

.store-action-btn {
    flex: 1;
    background-color: #fff;
    color: #333;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

/* TABS DETAIL */
.product-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #ddd;
    padding: 0 12px;
    margin-bottom: 15px;
    overflow-x: auto;
}

.product-tab {
    background: none;
    border: none;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}

.product-tab.active {
    color: #0076ff;
    border-bottom-color: #0076ff;
}

.product-tab-content {
    display: none;
    padding: 0 12px;
    margin-bottom: 15px;
}

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

/* FIXED BOTTOM BAR - New Structure */
.fixed-bottom-button {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 12px; /* Padding ajustado */
    background-color: #fff;
    border-top: 1px solid #eee;
    z-index: 99;
    display: flex; /* Usar flexbox para alinhar preço e botão */
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.price-info {
    display: flex;
    align-items: baseline; /* Alinha o preço e o "no Pix" */
    line-height: 1.2;
    justify-content: center;
    gap: 5px; /* Espaçamento entre o preço e o "no Pix" */
}

.price-main {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.price-integer {
    font-size: 20px;
    font-weight: bold;
    color: #000000; /* Azul Magalu */
}

.price-decimal {
    font-size: 12px;
    font-weight: 600;
    color: #000000; /* Azul Magalu */
}

.price-label {
    font-size: 12px;
    color: #666;
    /* Removido margin-top para alinhar horizontalmente */
}

.btn-buy-now-fixed {
    flex-shrink: 0; /* Não encolher o botão */
    width: 50%; /* Ocupar metade da largura */
    background-color: #00C000; /* Verde Magalu */
    color: #fff;
    border: none;
    padding: 12px 16px; /* Padding ajustado */
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.btn-buy-now-fixed:hover {
    background-color: #00A000;
}

/* FOOTER - Mantido o layout anterior */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 20px 12px;
    margin-top: 0;
}

.footer-section {
    margin-bottom: 20px;
}

.footer-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.footer-toggle {
    font-size: 16px;
    transition: transform 0.3s;
}

.footer-toggle.open {
    transform: rotate(180deg);
}

.footer-links {
    display: none;
    list-style: none;
}

.footer-links.open {
    display: block;
}

.footer-link {
    padding: 6px 0;
    font-size: 12px;
    color: #ccc;
}

.footer-link a {
    color: #ccc;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 15px;
    font-size: 11px;
    color: #999;
    text-align: center;
}

/* RESPONSIVE */
@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* ===== RELATED PRODUCTS STYLES ===== */

.related-products {
    background-color: #fff;
    margin-top: 12px;
    padding-top: 12px;
}

.related-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    padding: 0 12px 12px 12px;
}

.related-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 colunas para mobile */
    gap: 8px; /* Espaçamento menor entre os cards */
    padding: 0 12px 12px 12px;
}

/* Ajuste de formatação na descrição do produto */
.product-tab-content h3 {
    margin-bottom: 4px;
}

/* Banner Placeholder */
.banner-placeholder {
    width: 100%;
    background-color: #eee; /* Cor de fundo para visualização */
    text-align: center;
    line-height: 100px;
    color: #333;
    font-weight: bold;
    margin-bottom: 0; /* Removendo margem inferior */
}

/* Ajuste de borda na tabela de características técnicas */
.product-tab-content table tr {
    border-bottom: 1px solid #eee;
}

/* Botão Desativado (Cinza) */
.btn-disabled {
    background-color: #ccc !important; /* Cinza claro */
    color: #666 !important; /* Texto cinza escuro */
    cursor: not-allowed !important; /* Indica que não é clicável */
}

/* FILTER BAR */
.filter-title {
    padding: 15px 15px 5px 15px;
    font-size: 14px;
    font-weight: 900;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: #fff;
}

.filter-bar {
    display: flex;
    overflow-x: auto;
    padding: 10px 15px 15px 15px;
    gap: 20px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.filter-bar::-webkit-scrollbar {
    display: none;
}

.filter-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.filter-item:active {
    transform: scale(0.9);
}

.filter-item img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #f0f0f0;
    margin-bottom: 8px;
    object-fit: contain;
    background: #fff;
    padding: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.filter-item.active img {
    border-color: #e10600; /* Cor oficial F1 */
    box-shadow: 0 4px 10px rgba(225, 6, 0, 0.2);
    transform: translateY(-2px);
}

.filter-item span {
    font-size: 11px;
    color: #666;
    font-weight: 500;
    text-align: center;
}

.filter-item.active span {
    color: #e10600;
    font-weight: 800;
}


/* CATEGORY BADGES */
.badge-category {
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: #000000;
    color: #fff;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: bold;
    z-index: 10;
}

.badge-category.premium {
    background-color: #FFD700;
    color: #000;
}

.badge-category.icons {
    background-color: #8B4513;
    color: #fff;
}

.badge-category.entry {
    background-color: #28a745;
    color: #fff;
}
.badge-category.speed {
    background-color: #000000;
    color: #fff;
}

.badge-category.ultimate {
    background-color: #000;
    color: #FFD700;
    border: 1px solid #FFD700;
}

/* HERO SECTION - REGRA 04 */
.hero-product-container {
    padding: 10px;
    background-color: #f8f9fa;
    margin-bottom: 10px;
}

.hero-card {
    display: flex !important;
    flex-direction: row !important;
    width: 100% !important;
    max-width: none !important;
    background: #fff;
    border: 2px solid #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.hero-image {
    width: 40% !important;
    height: auto !important;
    position: relative;
}

.hero-info {
    width: 60% !important;
    padding: 15px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title {
    font-size: 16px !important;
    font-weight: bold;
    margin-bottom: 8px;
}

.hero-price {
    font-size: 24px !important;
    color: #000;
    font-weight: 900;
}

@media (max-width: 480px) {
    .hero-card {
        flex-direction: column !important;
    }
    .hero-image, .hero-info {
        width: 100% !important;
    }
}

/* BOTÃO DE CURTIDA (LIKE BUTTON) */
.like-btn {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 15;
    transition: transform 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.like-btn:hover {
    transform: scale(1.1);
    background-color: #fff;
}

.like-btn svg {
    width: 18px;
    height: 18px;
    stroke: #666;
    fill: none;
    transition: all 0.3s ease;
}

.like-btn.liked svg {
    stroke: #000; /* Preto */
    fill: #000;
}

/* CEP INPUT STYLES */
.cep-input-container {
    display: flex;
    flex-direction: column;
    flex: 1;
}

#cep-input {
    border: none;
    outline: none;
    font-size: 14px;
    color: #333;
    background: transparent;
    width: 100%;
}

#cep-input::placeholder {
    color: #999;
}

#cep-address {
    font-size: 11px;
    color: #00C000; /* Verde Magalu para sucesso */
    margin-top: 2px;
    font-weight: 500;
}

/* SIDEBAR STYLES */
.sidebar {
    position: fixed;
    top: 0;
    left: -280px; /* Escondido por padrão */
    width: 280px;
    height: 100%;
    background-color: #fff;
    z-index: 1000;
    transition: left 0.3s ease-in-out;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.sidebar.open {
    left: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.open {
    display: block;
    opacity: 1;
}

.sidebar-header {
    padding: 20px;
    background-color: #000;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-title {
    font-size: 18px;
    font-weight: bold;
}

.close-sidebar {
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

.sidebar-links {
    list-style: none;
    padding: 10px 0;
}

.sidebar-links li a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid #f5f5f5;
    transition: background-color 0.2s;
}

.sidebar-links li a:hover {
    background-color: #f9f9f9;
}

.sidebar-links li a svg {
    color: #666;
}


/* ===== NOVO FOOTER LEGO OFICIAL ===== */
.lego-footer {
    background-color: #2c2c54;
    color: #ffffff;
    padding: 40px 0 0 0;
    margin-top: 40px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
}

.footer-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-top {
    padding: 40px 0 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top .footer-wrapper {
    gap: 40px;
}

.footer-column {
    flex: 1;
    min-width: 140px;
}

.logo-column {
    min-width: 120px;
}

.footer-logo {
    width: 50px;
    height: auto;
    margin-bottom: 20px;
    display: block;
}

.footer-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    color: #ffffff;
    text-transform: uppercase;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 8px;
}

.footer-list a {
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    line-height: 1.5;
    transition: opacity 0.2s ease;
}

.footer-list a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

/* Newsletter e Redes Sociais */
.footer-middle {
    padding: 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-middle .footer-wrapper {
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
}

.newsletter-section,
.social-section {
    flex: 1;
    min-width: 200px;
}

.newsletter-input-wrapper {
    display: flex;
    max-width: 300px;
    height: 40px;
}

.newsletter-input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 13px;
    background-color: #ffffff;
    color: #333;
}

.newsletter-input::placeholder {
    color: #999;
}

.newsletter-input:focus {
    outline: none;
}

.newsletter-btn {
    background-color: #ffcf00;
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: bold;
    color: #2c2c54;
    font-size: 16px;
    transition: background-color 0.2s ease;
}

.newsletter-btn:hover {
    background-color: #ffd700;
}

.social-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Políticas */
.footer-policies {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.policies-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.policies-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 11px;
    transition: opacity 0.2s ease;
}

.policies-nav a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

/* Copyright */
.footer-copyright {
    padding: 25px 0;
    background-color: rgba(0, 0, 0, 0.2);
}

.copyright-text {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    text-align: center;
    margin: 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsivo para Mobile */
@media (max-width: 768px) {
    .footer-top .footer-wrapper {
        gap: 20px;
    }

    .footer-column {
        min-width: 100px;
    }

    .footer-middle .footer-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .newsletter-input-wrapper {
        max-width: 100%;
    }

    .policies-nav {
        gap: 10px;
    }

    .policies-nav a {
        font-size: 10px;
    }

    .copyright-text {
        font-size: 9px;
    }

    .footer-title {
        font-size: 11px;
    }

    .footer-list a {
        font-size: 11px;
    }
}
