/* ===== Aki D'Tudo – visual estilo marketplace ===== */
:root {
	--aki-azul: #1646b8;
	--aki-azul-esc: #0d2f80;
	--aki-laranja: #ff8a00;
	--aki-amarelo: #ffc72c;
	--aki-preco: #e0322d;
	--aki-fundo: #f3f5f9;
	--aki-borda: #e3e7ef;
	--aki-texto: #1d2433;
	--aki-cinza: #6b7385;
	--aki-raio: 10px;
}

body {
	font-family: "Poppins", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	background: var(--aki-fundo);
	color: var(--aki-texto);
}
a { color: var(--aki-azul); }
h1, h2, h3, h4, h5 { font-family: inherit; color: var(--aki-texto); }

/* ---------- Barra do topo ---------- */
.aki-topbar { background: var(--aki-azul-esc); color: #dfe7ff; font-size: .8rem; }
.aki-topbar .col-full { display: flex; justify-content: space-between; gap: 1rem; padding-top: .45rem; padding-bottom: .45rem; flex-wrap: wrap; }
.aki-topbar a { color: var(--aki-amarelo); text-decoration: none; font-weight: 600; }

/* ---------- Cabeçalho ---------- */
.site-header { padding: 0 !important; margin-bottom: 0 !important; background: #fff !important; border-bottom: 0; box-shadow: 0 2px 10px rgba(13, 47, 128, .08); }
.aki-header { display: flex; align-items: center; gap: 1.5rem; padding-top: 1rem; padding-bottom: 1rem; }
.aki-logo { flex: 0 0 auto; }
.aki-logo img { max-height: 56px; width: auto; }
.aki-logo-text { font-weight: 800; font-size: 1.7rem; letter-spacing: -.5px; color: var(--aki-azul) !important; text-decoration: none; line-height: 1; }
.aki-logo-text span { color: var(--aki-laranja); }

.aki-search { flex: 1 1 auto; }
.aki-search form { display: flex; margin: 0; }
.aki-search .screen-reader-text { position: absolute; left: -9999px; }
.aki-search input.search-field {
	flex: 1; border: 2px solid var(--aki-azul); border-right: 0; border-radius: var(--aki-raio) 0 0 var(--aki-raio);
	padding: .75rem 1rem; background: #fff; box-shadow: none; font-size: .95rem; width: 100%;
}
.aki-search button[type=submit] {
	background: var(--aki-laranja); color: #fff; border: 2px solid var(--aki-laranja); border-radius: 0 var(--aki-raio) var(--aki-raio) 0;
	padding: 0 1.3rem; font-weight: 600; cursor: pointer;
}
.aki-search button[type=submit]:hover { background: #e67a00; border-color: #e67a00; }

.aki-actions { display: flex; align-items: center; gap: 1rem; flex: 0 0 auto; }
.aki-actions a { text-decoration: none; color: var(--aki-texto); font-weight: 500; font-size: .9rem; display: flex; align-items: center; gap: .35rem; }
.aki-cart { background: var(--aki-azul); color: #fff !important; padding: .6rem 1rem; border-radius: var(--aki-raio); }
.aki-cart-count { background: var(--aki-amarelo); color: var(--aki-texto); border-radius: 999px; min-width: 1.4rem; height: 1.4rem; display: inline-flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 700; padding: 0 .35rem; }

.aki-nav { background: var(--aki-azul); }
.aki-nav .col-full { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; }
.aki-nav .col-full::-webkit-scrollbar { display: none; }
.aki-nav a { color: #fff; text-decoration: none; padding: .7rem .9rem; font-size: .88rem; font-weight: 500; white-space: nowrap; }
.aki-nav a:hover { background: rgba(255, 255, 255, .12); }
.aki-nav .aki-nav-all { background: var(--aki-azul-esc); font-weight: 600; }

/* ---------- Página inicial ---------- */
.aki-is-home .site-content { padding-top: 1.5rem; }
.aki-home > section { margin-bottom: 2rem; }

/* Hero: menu de categorias + carrossel */
.aki-hero { display: grid; grid-template-columns: 250px 1fr; gap: 1rem; height: 400px; }
.aki-catmenu { background: #fff; border-radius: var(--aki-raio); box-shadow: 0 2px 10px rgba(0, 0, 0, .05); position: relative; z-index: 20; }
.aki-catmenu-title { background: var(--aki-azul-esc); color: #fff; font-weight: 600; padding: .8rem 1rem; border-radius: var(--aki-raio) var(--aki-raio) 0 0; }
.aki-catmenu ul { list-style: none; margin: 0; padding: .3rem 0; }
.aki-catmenu li > a { display: flex; align-items: center; gap: .7rem; padding: .6rem 1rem; color: var(--aki-texto); text-decoration: none; font-size: .92rem; }
.aki-catmenu li.has-sub > a::after { content: "›"; margin-left: auto; color: var(--aki-cinza); }
.aki-catmenu li:hover > a { background: #eef3ff; color: var(--aki-azul); }
.aki-ico { width: 1.4rem; text-align: center; }
.aki-sub {
	display: none; position: absolute; left: 100%; top: 0; bottom: 0; width: 260px; background: #fff;
	border-radius: 0 var(--aki-raio) var(--aki-raio) 0; box-shadow: 8px 4px 20px rgba(0, 0, 0, .08); padding: 1rem 1.2rem;
}
.aki-catmenu li:hover > .aki-sub { display: block; }
.aki-sub strong { display: block; margin-bottom: .6rem; color: var(--aki-azul); }
.aki-sub a { display: block; padding: .35rem 0; color: var(--aki-texto); text-decoration: none; font-size: .9rem; }
.aki-sub a:hover { color: var(--aki-laranja); }

.aki-slider { position: relative; border-radius: var(--aki-raio); overflow: hidden; background: var(--aki-azul); }
.aki-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; display: flex; align-items: center; padding: 2rem 3rem; text-decoration: none; background-size: cover; background-position: center; pointer-events: none; }
.aki-slide.is-active { opacity: 1; pointer-events: auto; }
.aki-slide-txt { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; max-width: 60%; color: #fff; }
.aki-slide-tag { background: var(--aki-amarelo); color: var(--aki-azul-esc); font-weight: 700; font-size: .75rem; padding: .25rem .7rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .5px; }
.aki-slide-title { font-size: 2.6rem; font-weight: 800; line-height: 1.05; text-shadow: 0 3px 12px rgba(0, 0, 0, .25); }
.aki-slide-sub { font-size: 1.1rem; opacity: .95; }
.aki-slide-a {
	background:
		radial-gradient(circle at 80% 30%, rgba(255, 199, 44, .9) 0 70px, transparent 71px),
		radial-gradient(circle at 92% 75%, rgba(255, 138, 0, .85) 0 45px, transparent 46px),
		radial-gradient(circle at 68% 80%, rgba(255, 255, 255, .25) 0 25px, transparent 26px),
		linear-gradient(135deg, #0d2f80 0%, #1646b8 55%, #2f6bff 100%);
}
.aki-slide-b {
	background:
		radial-gradient(circle at 85% 50%, rgba(255, 255, 255, .25) 0 110px, transparent 111px),
		linear-gradient(135deg, #ff7a00 0%, #ffae00 100%);
}
.aki-slide-c {
	background:
		radial-gradient(circle at 82% 45%, rgba(255, 255, 255, .2) 0 100px, transparent 101px),
		linear-gradient(135deg, #0f7a41 0%, #25d366 100%);
}
.aki-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: .4rem; z-index: 5; }
.aki-dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; background: rgba(255, 255, 255, .5); cursor: pointer; transition: width .3s; }
.aki-dots button.is-active { width: 26px; background: #fff; }

.aki-btn { display: inline-block; background: var(--aki-laranja); color: #fff !important; font-weight: 600; padding: .7rem 1.4rem; border-radius: 999px; text-decoration: none; margin-top: .5rem; }
.aki-btn-light { background: #fff; color: var(--aki-laranja) !important; margin: 0; }

/* Banners pequenos */
.aki-banners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.aki-banner { display: flex; align-items: center; gap: 1rem; min-height: 110px; padding: 1.2rem 1.4rem; border-radius: var(--aki-raio); text-decoration: none; color: #fff; background-size: cover; background-position: center; transition: transform .2s; }
.aki-banner:hover { transform: translateY(-3px); }
.aki-banner strong { display: block; font-size: 1.1rem; }
.aki-banner small { opacity: .9; }
.aki-banner-ico { font-size: 2.2rem; }
.aki-banner-1 { background: linear-gradient(135deg, #e0322d, #ff6a3d); }
.aki-banner-2 { background: linear-gradient(135deg, #1646b8, #3b73ff); }
.aki-banner-3 { background: linear-gradient(135deg, #0f7a41, #25d366); }
.aki-banner-img { min-height: 150px; }

/* Blocos de produtos */
.aki-block { background: #fff; border-radius: var(--aki-raio); padding: 1.3rem 1.5rem 1.5rem; box-shadow: 0 2px 10px rgba(0, 0, 0, .04); }
.aki-block-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 2px solid var(--aki-borda); margin-bottom: 1.2rem; flex-wrap: wrap; }
.aki-block-head h2 { font-size: 1.15rem; font-weight: 700; margin: 0; padding-bottom: .7rem; border-bottom: 3px solid var(--aki-laranja); margin-bottom: -2px; text-transform: uppercase; letter-spacing: .3px; }
.aki-see-all { font-weight: 600; font-size: .9rem; text-decoration: none; padding-bottom: .7rem; }
.aki-tabs { display: flex; gap: .3rem; flex-wrap: wrap; padding-bottom: .5rem; }
.aki-tabs button { background: none; border: 1px solid transparent; color: var(--aki-cinza); font-size: .82rem; font-weight: 500; padding: .35rem .8rem; border-radius: 999px; cursor: pointer; }
.aki-tabs button:hover { color: var(--aki-azul); }
.aki-tabs button.is-active { border-color: var(--aki-azul); color: var(--aki-azul); background: #eef3ff; }
.aki-panel { display: none; }
.aki-panel.is-active { display: block; }

/* Faixa promocional */
.aki-faixa { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; background: linear-gradient(90deg, #ff7a00, #ffb000); color: #fff; border-radius: var(--aki-raio); padding: 1.3rem 2rem; }
.aki-faixa-txt { display: flex; align-items: center; gap: 1rem; font-size: 1.25rem; font-weight: 700; }
.aki-faixa-ico { background: #fff; color: var(--aki-laranja); width: 2.6rem; height: 2.6rem; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }

/* ---------- Cartões de produto (loja toda) ---------- */
ul.products li.product {
	background: #fff; border: 1px solid var(--aki-borda); border-radius: var(--aki-raio); padding: .9rem .9rem 1.1rem;
	text-align: center; position: relative; transition: box-shadow .2s, transform .2s;
}
ul.products li.product:hover { box-shadow: 0 8px 22px rgba(13, 47, 128, .12); transform: translateY(-2px); }
ul.products li.product img { border-radius: 8px; margin-bottom: .6rem; }
ul.products li.product .woocommerce-loop-product__title { font-size: .88rem !important; font-weight: 500; color: var(--aki-texto); min-height: 2.6em; line-height: 1.3; }
ul.products li.product .price { color: var(--aki-preco) !important; font-weight: 700; font-size: 1.15rem; }
ul.products li.product .price del { color: var(--aki-cinza); font-weight: 400; font-size: .85rem; opacity: 1; }
ul.products li.product .price ins { text-decoration: none; }
ul.products li.product .button {
	background: var(--aki-azul); color: #fff; border-radius: 999px; font-size: .82rem; font-weight: 600; padding: .55rem 1.1rem; margin-top: .4rem;
}
ul.products li.product .button:hover { background: var(--aki-azul-esc); color: #fff; }
.onsale {
	position: absolute; top: .7rem; left: .7rem; z-index: 2; background: var(--aki-laranja) !important; color: #fff !important;
	border: 0 !important; border-radius: 999px !important; font-weight: 700; font-size: .75rem; padding: .25rem .6rem !important; min-height: 0 !important; line-height: 1.2 !important;
}
.single-product .onsale { position: static; display: inline-block; margin-bottom: .5rem; }

/* Grade de produtos da página inicial */
.aki-home ul.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 0; }
.aki-home ul.products::before, .aki-home ul.products::after { display: none !important; }
.aki-home ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--aki-azul-esc) !important; color: #c9d4f2 !important; padding: 0 !important; }
.aki-footer { padding: 2.5rem 0 0; }
.aki-footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.aki-footer h4 { color: #fff; font-size: 1rem; margin-bottom: .8rem; }
.aki-footer ul { list-style: none; margin: 0; }
.aki-footer li { margin-bottom: .4rem; }
.aki-footer a { color: #c9d4f2 !important; text-decoration: none; }
.aki-footer a:hover { color: var(--aki-amarelo) !important; }
.aki-footer p { font-size: .9rem; margin-bottom: .6rem; }
.aki-logo-footer { color: #fff !important; margin-bottom: .8rem; }
.aki-pay { display: flex; flex-wrap: wrap; gap: .4rem; }
.aki-pay span { background: #fff; color: var(--aki-azul-esc); font-size: .78rem; font-weight: 600; padding: .3rem .6rem; border-radius: 6px; }
.aki-secure { margin-top: .8rem; }
.aki-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 2rem; padding: 1.2rem 0; font-size: .8rem; text-align: center; }

/* Botão flutuante do WhatsApp */
.aki-wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 999; width: 58px; height: 58px; border-radius: 999px; background: #25d366;
	display: flex; align-items: center; justify-content: center; font-size: 1.7rem; text-decoration: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}

/* ---------- Celular e tablet ---------- */
@media (max-width: 767px) {
	.aki-topbar .col-full { justify-content: center; text-align: center; }
	.aki-topbar span { display: none; }
	.aki-header { flex-wrap: wrap; gap: .8rem; }
	.aki-logo-text { font-size: 1.4rem; }
	.aki-search { order: 3; flex-basis: 100%; }
	.aki-actions { margin-left: auto; }
	.aki-account-txt, .aki-cart-txt { display: none; }
	.aki-hero { grid-template-columns: 1fr; height: 230px; }
	.aki-catmenu { display: none; }
	.aki-slide { padding: 1.2rem 1.4rem; }
	.aki-slide-txt { max-width: 85%; }
	.aki-slide-title { font-size: 1.6rem; }
	.aki-slide-sub { font-size: .9rem; }
	.aki-banners { grid-template-columns: 1fr; }
	.aki-block { padding: 1rem; }
	.aki-home ul.products { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
	.aki-faixa { padding: 1.1rem 1.2rem; }
	.aki-faixa-txt { font-size: 1rem; }
	.aki-footer-cols { grid-template-columns: 1fr 1fr; }
	.aki-footer-about { grid-column: 1 / -1; }
	.aki-wa-float { bottom: 80px; width: 52px; height: 52px; }
}
@media (min-width: 768px) and (max-width: 1024px) {
	.aki-hero { grid-template-columns: 210px 1fr; height: 340px; }
	.aki-home ul.products { grid-template-columns: repeat(3, 1fr); }
	.aki-slide-title { font-size: 2rem; }
}

/* ===== v1.1 – largura total da tela ===== */
.col-full { max-width: none !important; padding-left: 2.5% !important; padding-right: 2.5% !important; margin-left: 0; margin-right: 0; }
@media (min-width: 1400px) {
.aki-hero { grid-template-columns: 280px 1fr; height: 460px; }
.aki-home ul.products { grid-template-columns: repeat(6, 1fr); }
.aki-slide-title { font-size: 3.2rem; }
}
@media (max-width: 1399px) {
.aki-block-cat ul.products li.product:nth-child(n+5) { display: none; }
}
@media (min-width: 768px) and (max-width: 1024px) {
.aki-block-cat ul.products li.product:nth-child(n+4) { display: none; }
}

/* ===== v1.1.1 – botões alinhados nos cartões ===== */
ul.products li.product { display: flex !important; flex-direction: column; }
ul.products li.product > a.woocommerce-LoopProduct-link { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; }
ul.products li.product .woocommerce-loop-product__title {
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
height: 2.6em; min-height: 0 !important;
}
ul.products li.product .price { margin-top: auto; }
ul.products li.product .button { margin-top: .6rem !important; align-self: center; }
ul.products li.product .added_to_cart { display: block; font-size: .8rem; margin-top: .3rem; }

/* Logo provisório com fundo: cantos arredondados */
.aki-logo img { border-radius: 10px; max-height: 64px; }

/* ===== v1.3 - menu lateral nas paginas ===== */
.aki-shop-side .aki-catmenu { margin-bottom: 0; }
.aki-shop-side .aki-catmenu ul { padding-bottom: .5rem; }
.aki-shop-side .aki-sub { min-height: 100%; }
