* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Open Sans", 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container{
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 2%;
}

.clear{clear: both;}

header{
	background: #2196f3;
	position: relative;
}

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

.logo{
	padding: 10px 0;
}

.logo a{
	font-size: 19px;
	letter-spacing: 3px;
	color: white;
	text-decoration: none;
	text-transform: uppercase;
}

/* ==========================================================================
   MENU DESKTOP (SÓ APARECE NO COMPUTADOR)
   ================================================================---------- */
nav.desktop{
	display: flex;
	align-items: center;
}

nav.desktop ul{
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	align-items: center;
}

nav.desktop li{
	font-weight: 300;
	display: inline-block;
}

nav.desktop a{
	display: inline-block;
	padding: 13px 15px;
	color: white;
	text-decoration: none;
}

/* Botões do Carrinho e Finalizar no Desktop */
.finalizar-pedido {
	display: inline-block;
}

.finalizar-pedido h2{
	display: inline-block;
	padding: 0 10px;
	color: white;
	font-weight: normal;
	font-size: 14px;
}

.btn-pagamento{
	display: inline-block;
	padding: 8px 12px;
	background: #1976d2;
	color: white;
	text-decoration: none;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 600;
}

.btn-pagamento:hover {
	background: #115293;
}

/* ==========================================================================
   MENU MOBILE (ICONE E CAIXA - SÓ APARECE NO CELULAR)
   ================================================================---------- */
.menu-mobile-icon {
	display: none;
	padding: 15px;
	cursor: pointer;
	color: white;
	font-size: 22px;
}

/* Caixa do menu mobile que abre quando clica */
.menu-mobile {
	display: none;
	width: 100%;
	background: #1976d2;
	position: absolute;
	top: 100%;
	left: 0;
	box-shadow: 0 4px 6px rgba(0,0,0,0.1);
	z-index: 999;
}

.menu-mobile ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.menu-mobile li {
	display: block;
	text-align: left;
	border-bottom: 1px solid rgba(255,255,255,0.1);
}

.menu-mobile a {
	display: block;
	padding: 12px 20px;
	color: white;
	text-decoration: none;
}

.chamada-escolher{
	text-align: center;
	background: #42a5f5;
	padding: 15px 0;
}

.chamada-escolher h2{
	font-size: 21px;
	color: white;
	font-weight: 300;
}

.lista-items{
	padding: 40px 0;
}

.tabela-pedidos{
	margin-top: 40px;
}

.tabela-pedidos h2{
	margin: 15px 0;
	border-bottom: 2px solid #ccc;
	font-size: 24px;
	color: #ccc;
}

.tabela-pedidos table{
	width: 100%;
	border-collapse: collapse;
}

.tabela-pedidos tr:first-child td{
	font-weight: bold;
}

.tabela-pedidos td{
	padding: 8px;
	color: #4b4b4b;
	border: 1px solid #ccc;
}

/* ==========================================================================
   ESTILOS DA VITRINE - ESTER MODAS
   ================================================================---------- */

.container-loja-principal {
    max-width: 1250px;
    margin: 20px auto;
    display: flex;
    gap: 30px;
    padding: 0 15px;
}

.sidebar-filtros {
    width: 250px;
    flex-shrink: 0;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #eaeaea;
    height: fit-content;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.sidebar-filtros h3 {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    border-bottom: 2px solid #f1f1f1;
    padding-bottom: 8px;
}

.sidebar-filtros .grupo-filtro {
    margin-bottom: 20px;
}

.sidebar-filtros .grupo-filtro h4 {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
}

.sidebar-filtros .grupo-filtro ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-filtros .grupo-filtro ul li {
    margin-bottom: 6px;
}

.sidebar-filtros .grupo-filtro ul li a {
    font-size: 13px;
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.sidebar-filtros .grupo-filtro ul li a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.form-filtro-preco {
    display: flex;
    align-items: center;
    gap: 5px;
}

.input-preco {
    width: 60px;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 12px;
}

.form-filtro-preco span {
    font-size: 12px;
    color: #777;
}

.btn-filtrar {
    background: #2980b9;
    color: #fff;
    border: none;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-filtrar:hover {
    background: #1f618d;
}

.bloco-frete-sidebar {
    background: #fdfdfd;
    padding: 12px;
    border: 1px dashed #dcdcdc;
    border-radius: 6px;
}

.conteudo-vitrine {
    flex-grow: 1;
    min-width: 0;
}

.marcas-bolinhas-wrapper {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 15px;
    margin-bottom: 20px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.marcas-bolinhas-wrapper::-webkit-scrollbar {
    height: 4px;
}

.marcas-bolinhas-wrapper::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
}

.marca-item-bola a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 75px;
    flex-shrink: 0;
}

.bola-img {
    width: 65px;
    height: 65px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.marca-item-bola a:hover .bola-img {
    border-color: #2980b9;
    box-shadow: 0 4px 10px rgba(41,128,185,0.15);
    transform: translateY(-2px);
}

.bola-img img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
}

.marca-item-bola span {
    font-size: 11px;
    color: #444;
    margin-top: 6px;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
}

/* Grid de Produtos */
.grid-produtos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.container-loja-principal .produto-single-box {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease;
    text-align: left;
}

.container-loja-principal .produto-single-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.produto-imagem-wrapper {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 6px;
    background: #fcfcfc;
    margin-bottom: 10px;
}

.produto-imagem-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.produto-info h2 {
    font-size: 13px;
    font-weight: 600;
    color: #222;
    margin: 0 0 2px 0;
}

.cor-produto {
    font-size: 11px;
    color: #777;
    margin-bottom: 10px;
}

.controles-produto {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}

.tamanho-grupo {
    flex: 3;
}

.qtd-grupo {
    flex: 1;
}

.input-estilizado {
    width: 100%;
    padding: 6px;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    font-size: 11px;
    background: #fff;
    color: #333;
    box-sizing: border-box;
}

.preco-container {
    margin-bottom: 10px;
    text-align: center;
    background: #f8f9fa;
    padding: 6px;
    border-radius: 4px;
}

.preco-destaque {
    font-size: 14px;
    font-weight: bold;
    color: #2c3e50;
}

.texto-promocao {
    color: #e74c3c !important;
}

.preco-riscado {
    font-size: 11px;
    color: #999;
    text-decoration: line-through;
    font-weight: normal;
    margin-right: 4px;
}

.botoes-acao-wrapper {
    display: flex;
    gap: 6px;
}

.container-loja-principal .btn-comprar, 
.container-loja-principal .btn-carrinho {
    flex: 1;
    color: white;
    padding: 8px 4px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 11px;
    text-align: center;
    transition: background 0.2s;
}

.container-loja-principal .btn-comprar { background-color: #27ae60; }
.container-loja-principal .btn-comprar:hover { background-color: #219653; }
.container-loja-principal .btn-carrinho { background-color: #2980b9; }
.container-loja-principal .btn-carrinho:hover { background-color: #1f618d; }

/* ==========================================================================
   RESPONSIVIDADE MOBILE (OCULTA DESKTOP E EXIBE MOBILE NO CELULAR)
   ================================================================---------- */

@media screen and (max-width: 992px) {
    /* Esconde totalmente o menu do desktop no celular */
    nav.desktop {
        display: none !important;
    }

    /* Exibe o ícone do menu hambúrguer no celular */
    .menu-mobile-icon {
        display: block !important;
    }

    /* Layout da loja empilhado */
    .container-loja-principal {
        flex-direction: column;
        padding: 0 10px;
        margin: 10px auto;
        gap: 15px;
    }
    
    .sidebar-filtros {
        width: 100%;
        margin-bottom: 10px;
        padding: 15px;
    }

    .conteudo-vitrine {
        width: 100%;
    }
}

@media screen and (max-width: 576px) {
    /* TRANSFORMA A GRADE EM APENAS 1 COLUNA (1 FOTO GRANDE POR LINHA) */
    .grid-produtos {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
    
    .container-loja-principal .produto-single-box {
        padding: 15px;
    }
    
    /* Aumenta a altura da foto para ficar bem bonita de ver */
    .produto-imagem-wrapper {
        height: 260px; 
    }

    .produto-info h2 {
        font-size: 15px;
    }

    .preco-destaque {
        font-size: 16px;
    }

    .botoes-acao-wrapper {
        flex-direction: row;
        gap: 10px;
        margin-top: 10px;
    }
    
    .container-loja-principal .btn-comprar, 
    .container-loja-principal .btn-carrinho {
        font-size: 13px;
        padding: 10px 4px;
    }
}