/**
 * Shared layout for Cozinhas (Fast) and Serviço (Fast) templates.
 * Same structure/classes = same styling. Enqueued for both templates.
 */
 :root{
  --tnz-yellow:#fed700;
  --tnz-red:#d53333;
  --tnz-text:#0f172a;
  --tnz-muted:#6b7280;
  --tnz-bg:#ffffff;
  --tnz-line:#e5e7eb;
  --tnz-radius:14px;
  --tnz-shadow:0 10px 24px rgba(15,23,42,.14);
  --tnz-max:1180px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--tnz-text);
  background:var(--tnz-bg);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

img{max-width:100%;height:auto;display:block}

.tnz-container{
  width:min(var(--tnz-max), calc(100% - 48px));
  margin-inline:auto;
}

.tnz-mt-32{margin-top:32px}

/* HERO */
.tnz-hero{
  padding:44px 0 24px;
}
.tnz-hero__grid{
  display:grid;
  grid-template-columns: 1fr 1.15fr;
  gap:36px;
  align-items:center;
}
.tnz-hero__kicker{
  margin:0 0 8px;
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.05em;
  color:var(--tnz-muted);
}
.tnz-hero__copy h1{
  margin:0 0 14px;
  font-weight:900;
  letter-spacing:.2px;
  line-height:1.02;
  font-size:46px;
  color:#000;
}
.tnz-hero__copy p{
  margin:0 0 16px;
  color:#000;
  max-width:44ch;
  font-size:14px;
}
.tnz-hero__media{
  margin:0;
  border-radius:4px;
  overflow:hidden;
}
.tnz-hero__media img{
  width:100%;
  aspect-ratio: 16/9;
  object-fit:cover;
  background:#f3f4f6;
}
.tnz-hero__media.is-missing{
  outline:1px dashed var(--tnz-line);
}
.tnz-hero__media.is-missing::after{
  content:"(troca o src da imagem do hero)";
  display:block;
  padding:12px;
  color:var(--tnz-muted);
  font-size:12px;
  background:#fafafa;
}

/* INFO SECTION */
.tnz-main{padding-bottom:40px}
.tnz-info{
  padding:14px 0 10px;
}
.tnz-info__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:64px;
  align-items:start;
}
.tnz-info h2{
  margin:22px 0 10px;
  font-size:18px;
  font-weight:800;
}
.tnz-checklist{
  margin:0;
  padding:0;
  list-style:none;
}
.tnz-checklist li{
  display:flex;
  gap:10px;
  padding:3px 0;
  font-size:12px;
  color:#000;
}
.tnz-checklist li::before{
  content:"✓";
  color:#000;
  font-weight:900;
  width:16px;
  display:inline-flex;
  justify-content:center;
}

/* Móveis page: balanced sections (row 1 = two cols, row 2 = full-width title + 4 category cols) */
.tnz-moveis-sections{
  width:100%;
  padding:14px 0 10px;
}
.tnz-moveis-row--two{
  width:100%;
}
.tnz-moveis-row--two__inner{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  align-items:start;
}
.tnz-moveis-block h2{
  margin:0 0 10px;
  font-size:18px;
  font-weight:800;
  color:#000;
}
.tnz-moveis-block h2:not(:first-child){margin-top:22px}
.tnz-moveis-row--cats{
  width:100%;
  margin-top:40px;
}
.tnz-moveis-cats-wrap{
  display:flex;
  flex-direction:column;
}
.tnz-moveis-cats-wrap > .tnz-moveis-cats-title{
  flex:0 0 auto;
  width:100%;
  margin:0 0 18px;
  padding:0;
  font-size:18px;
  font-weight:800;
}
.tnz-moveis-cats-wrap > .tnz-moveis-cats-grid{
  flex:0 0 auto;
}
.tnz-moveis-cats-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:28px 40px;
  align-items:start;
}
.tnz-moveis-cat h3{
  margin:0 0 8px;
  font-size:14px;
  font-weight:800;
  color:#000;
}
/* All fast pages: section h3s same style as page-moveis (only direct children of .tnz-info__col, not .tnz-steps) */
.tnz-page-fast .tnz-info__col > h3{
  margin:0 0 8px;
  font-size:14px;
  font-weight:800;
}
.tnz-page-fast .tnz-info__col > h3.tnz-mt-32{
  margin-top:32px;
}
.tnz-moveis-cat ul{margin:0; padding:0; list-style:none}
.tnz-moveis-cat .tnz-checklist li{padding:2px 0}
@media (max-width: 1024px){
  .tnz-moveis-row--two__inner{
    grid-template-columns:1fr;
    gap:26px;
  }
  .tnz-moveis-cats-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:22px 26px;
  }
}
@media (max-width: 640px){
  .tnz-moveis-cats-grid{
    grid-template-columns:1fr;
    gap:18px;
  }
}

/* STEPS */
.tnz-steps{
  margin:10px 0 0;
  padding:0;
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:14px;
}
.tnz-steps li{
  display:grid;
  grid-template-columns: 38px 1fr;
  gap:12px;
  align-items:start;
}
.tnz-step__n{
  width:26px;height:26px;
  border-radius:999px;
  background:var(--tnz-yellow);
  color:#000;
  font-weight:900;
  display:grid;
  place-items:center;
  font-size:12px;
  margin-top:2px;
}
.tnz-steps h3{
  margin:0 0 4px;
  font-size:13px;
  font-weight:900;
}
.tnz-steps p{
  margin:0;
  font-size:12px;
  color:#000;
}

/* CTA CARD */
.tnz-cta{
  padding:22px 0 26px;
}
.tnz-cta__card{
  background:#fff;
  border:1px solid var(--tnz-line);
  border-radius:var(--tnz-radius);
  box-shadow:var(--tnz-shadow);
  padding:24px 26px;
  max-width:720px;
  margin-inline:auto;
  text-align:center;
}
.tnz-cta__card h2{
  margin:0 0 14px;
  font-size:18px;
  font-weight:900;
  color:#000;
}
.tnz-cta__row{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
}
.tnz-cta__or{
  font-weight:700;
  color:#000;
  font-size:12px;
}
.tnz-cta__phone{
  text-align:left;
  font-size:12px;
}
.tnz-cta__phone small{color:var(--tnz-muted)}

/* BUTTONS (button element same as anchor for modal triggers) */
.tnz-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  border-radius:4px;
  font-weight:800;
  line-height:1;
  padding:10px 16px;
  font-size:12px;
  border:1px solid transparent;
  cursor:pointer;
  font-family:inherit;
}
button.tnz-btn{background:none}
.tnz-btn--primary{
  background:var(--tnz-yellow);
  color:#000;
}
.tnz-btn--primary:hover{filter:brightness(.98)}
.tnz-btn--outline{
  background:var(--tnz-yellow);
  color:#000;
  border:1px solid #000;
  padding:8px 14px;
  font-weight:900;
  white-space:nowrap;
}

/* =========================================================
   PRODUCTS (cozinhas-fast only; servico-fast does not output this)
========================================================= */

.tnz-products{
  position: relative;
  padding:22px 0 34px;
  background: transparent !important;
}

.tnz-products__bg{
  position:absolute;
  left:0; right:0; top:0;
  height:170px;
  background: var(--tnz-red);
  z-index:0;
}

.tnz-products .tnz-container{
  position: relative;
  z-index: 1;
}

.tnz-products__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:0 0 14px;
}
.tnz-products__head h2{
  margin:0;
  color:#fff;
  font-size:18px;
  font-weight:900;
}

.tnz-products__list{
  margin-top:6px;
}

.tnz-products__list .npf-hwrap{ width:100%; }

.tnz-products__list .npf-hlist{
  gap: 18px !important;
  padding: 2px 0 !important;
  margin: 0 !important;
  width: 100%;
  flex-wrap: nowrap !important;
  overflow: visible !important;
}

.tnz-products__list .npf-hitem{
  flex: 0 0 calc((100% - 4*18px)/5) !important;
  max-width: calc((100% - 4*18px)/5) !important;
}

.tnz-products__list .product-item{
  background:#fff;
  border-radius:8px;
  padding:10px 10px 12px;
  border: 0 !important;
  box-shadow:0 8px 18px rgba(0,0,0,.18);
  height:100%;
  display:flex;
  flex-direction:column;
}

.tnz-products__list .product-item img{
  max-height:110px;
  width:100%;
  object-fit:contain;
}

.tnz-products__list .product-item .button,
.tnz-products__list .product-item a.button,
.tnz-products__list .product-item a.add_to_cart_button{
  margin-top:auto;
  display:block;
  text-align:center;
  background:var(--tnz-yellow) !important;
  color:#000 !important;
  font-weight:900 !important;
  padding:8px 10px !important;
  border-radius:999px !important;
  font-size:11px !important;
  border:0 !important;
}

.tnz-products__list .product-item .price{
  font-size:11px !important;
  color:#000 !important;
  margin: 0 0 6px !important;
}
.tnz-products__list .product-item .woocommerce-loop-product__title,
.tnz-products__list .product-item .product-title{
  font-size:10px !important;
  font-weight:900 !important;
  color:#000 !important;
  margin: 6px 0 10px !important;
}

/* Optional FAQ (Serviço Fast template only) */
.tnz-faqs{
  padding:14px 0 26px;
}
.tnz-faqs h2{
  margin:22px 0 10px;
  font-size:18px;
  font-weight:800;
}
.tnz-faqs-list{
  margin:0;
  padding:0;
  list-style:none;
}
.tnz-faq{
  border:1px solid var(--tnz-line);
  border-radius:8px;
  margin-bottom:8px;
  overflow:hidden;
}
.tnz-faq[open]{border-color:var(--tnz-yellow)}
.tnz-faq summary{
  padding:12px 16px;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
  list-style:none;
  background:#fafafa;
}
.tnz-faq summary::-webkit-details-marker{display:none}
.tnz-faq summary::before{content:"+ "; margin-right:4px;}
.tnz-faq[open] summary::before{content:"− ";}
.tnz-faq .tnz-faq__a{
  margin:0;
  padding:0 16px 16px;
  font-size:13px;
  line-height:1.5;
  color:#374151;
}

/* Not configured (Serviço Fast fallback) */
.tnz-service-fast__not-found{
  padding:44px 0;
  text-align:center;
}
.tnz-service-fast__not-found h1{margin:0 0 8px; font-size:20px;}
.tnz-service-fast__not-found p{margin:0; color:var(--tnz-muted); font-size:14px;}

/* RESPONSIVE */
@media (max-width: 960px){
  .tnz-hero__grid{grid-template-columns:1fr}
  .tnz-hero{padding-top:0}
  .tnz-hero__media{order:-1}
  .tnz-hero__copy{padding-top:14px; text-align:center}
  .tnz-hero__copy p{margin-inline:auto}
  .tnz-info__grid{grid-template-columns:1fr; gap:18px}
  .tnz-cta__card{max-width:520px}

  .tnz-products__bg{ height:190px; }

  .tnz-products__list .npf-hlist{ flex-wrap: wrap !important; }
  .tnz-products__list .npf-hitem{
    flex: 0 0 calc((100% - 1*18px)/2) !important;
    max-width: calc((100% - 1*18px)/2) !important;
  }
}

@media (max-width: 520px){
  .tnz-container{width:min(var(--tnz-max), calc(100% - 28px))}
  .tnz-hero__copy h1{font-size:30px}
  .tnz-products__head h2{font-size:16px}
}
