
:root{
  --red:#A0301F;
  --dark-red:#8B1F17;
  --gold:#F4B731;
  --bg:#FBF6EE;
  --green:#546838;
  --card:#fff;
  --muted:#888;
  --shadow:0 10px 30px rgba(0,0,0,0.12);
}
*{box-sizing:border-box}
html,body{
  height:100%;
  margin:0;
  display:flex;
  flex-direction:column;
}
body{
  margin:0;
  font-family:Inter, "Segoe UI", Roboto, Arial; 
  background:var(--bg); 
  color:#222;-webkit-font-smoothing:antialiased;
}
a{
  color:inherit;
  text-decoration:none
}
/* HEADER */
header.site-header{
  position:fixed;
  top:0;
  left:0;
  right:0;
  height:110px;
  background:var(--red);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 24px;
  z-index:1200;
  box-shadow:0 3px 8px rgba(0,0,0,0.08);
  color:#fff;
}
.header-left{
  display:flex;
  align-items:center;
  gap:18px;
}
.img-logo {
  max-height: 64px;   /* controla altura */
  width: auto;        /* mantém proporção */
  display: block;
  object-fit:contain;
  vertical-align:top;
  margin-top: -64px;
  items-align: left;
}
.img-logo:hover{
   transform: scale(1.04);         /* leve aumento */

}

.site-title{
  font-size: 20px;
  font-weight: 900;
  color: #fff;
}
.mainnav{
  display:flex;
  align-items:center;
  gap:18px
}

.mainnav a {
  background-color: var(--red);
  color: #fff;
  padding: 10px 16px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px; /* espaço entre ícone e texto */
}

.mainnav a:hover {
  background-color: #d62828; /* tom mais escuro no hover */
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.mainnav a.active {
  background-color: #fca311; /* cor diferente para indicar página ativa */
  color: #000;
  box-shadow: 0 0 10px rgba(252, 163, 17, 0.6);
}
.nav-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  vertical-align:middle;
}

.icon-btn{
  background:none;
  border:none;
  color:#fff;
  font-size:20px;
  cursor:pointer;
  position:relative;
  padding:6px
}
.btn.add {
  background-color: var(--red);
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn.add:hover {
  background-color: #d62828;
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.cart-badge{
  position:absolute;
  top:-6px;
  right:-6px;
  background:var(--gold);
  color:#8b3c00;
  padding:3px 7px;
  border-radius:12px;
  font-weight:800;
  font-size:12px
}

/* MAIN */
main{
  margin-top:112px;
  flex:1;
}
.hero{
  background:linear-gradient(180deg, rgba(160,48,31,0.95), rgba(120,20,20,0.9));
  color:#fff;padding:48px 18px;
  text-align:left
}
.hero .wrap{
  max-width:1180px;
  margin:0 auto
}
.hero h1{
  font-size:44px;
  margin:0 0 12px;
  line-height:1;
  font-weight:900
}
.hero p{
  margin:0 0 20px;
  opacity:0.95;
  font-size:16px
}
.img-wrap{
    max-height: 200px;   /* controla altura */
  width: auto;        /* mantém proporção */
  display: block;
  object-fit:contain;
  vertical-align:center;
}

/* slider arrows/dots (simple) */
.slider{
  max-width:1180px;
  margin:18px auto;
  padding:0 18px;
  position:relative
}
.slider .frame{
  background:rgba(0,0,0,0.08);
  border-radius:10px;
  padding:40px;
  min-height:220px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
}
.slider .dots{
  display:flex;
  gap:8px;
  justify-content:center;
  margin-top:12px
}

/* category strip centered */
.cat-strip{
  background:#fff;
  padding:18px 0;
  border-bottom:1px solid rgba(0,0,0,0.04)
}
.cat-row{
  max-width:1180px;
  margin:0 auto;
  display:flex;
  justify-content:center;
  gap:34px;
  align-items:center;
  overflow:auto;
  padding:6px 18px
}
.cat{
  flex:0 0 auto;
  text-align:center;
  color:var(--muted);
  font-weight:800;
  cursor:pointer
}
.cat .ico{
  width:64px;
  height:64px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--gold); 
  box-shadow:0 16px 22px rgba(0,0,0,0.06);
  font-size:26px;color:var(--red);
  margin:0 auto 8px
}
.cat.ico:hover{
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
.cat.active{
  color:var(--red)
}
.cat.active .ico{
  border:4px solid rgba(160,48,31,0.12)
}

/* Experimente - centered title area */
.section-title{
  max-width:1180px;
  margin:34px auto 6px;
  padding:0 18px;
  text-align:center
}
.section-title h2{
  margin:0;font-size:26px;
  color:var(--dark-red);
  font-weight:900
}
.section-sub{
  margin-top:10px;
  color:var(--muted);
  font-weight:600
}

/* grid products */
.container{
  max-width:1180px;
  margin:24px auto;
  padding:0 18px
}
.grid{
  display:flex;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  flex-wrap:wrap;
  justify-content:center;
}


.card {
  width: 300px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: space-between;
  background: var(--card);
  border-radius: 14px;
  padding: 16px;
  padding-top: 64px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  position:relative
}


.card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  z-index:2;
}
.card .badge-img {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -60px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 10px solid #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  overflow: hidden;
  z-index:1
}


.card .imgwrap {
  overflow:hidden;
  align-items: center;
  justify-content: center;
  display:flex;
  border-radius:12px;
}
.card .imgwrap img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit:cover; 
}

.card.h3{
  font-size: 18px;
  margin:12px 0 6px;
  color: #333;
}
.card .price {
  font-size: 14px;
  font-weight: bold;
  color: var(--red);
  margin-bottom: 10px;
  text-align:center;
}
.card.btn{
  margin-top:auto;
}
.btn{
  background:var(--red);
  color:#fff;
  border:none;
  padding:10px 14px;
  border-radius:999px;
  cursor:pointer;
  font-weight:800;
  display:inline-block;
}


/* cart panel */
.cart-panel{
  position:fixed;
  top:0;
  right:-420px;
  width:420px;
  height:100vh;
  background:#fff;
  box-shadow:-18px 0 50px rgba(0,0,0,0.2);
  transition:right .32s;
  z-index:1600;
  display:flex;
  flex-direction:column
}
.cart-panel.open{
  right:0
}
.cart-panel header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px;
  border-bottom:1px solid #eee
}
.cart-items{
  flex:1;
  overflow:auto;
  padding:12px
}
.cart-row{
  display:flex;
  gap:10px;
  align-items:center;
  padding:10px 0;
  border-bottom:1px dashed rgba(0,0,0,0.06);
}
.cart-row img{
  width:68px;
  height:68px;
  border-radius:8px;
  object-fit:cover;
}
.qty-controls{
  display:flex;
  gap:8px;
  align-items:center;
  margin-top:8px;
}
.qty-controls button{
  width:30px;
  height:30px;
  border-radius:6px;
  border:none;
  background:rgba(0,0,0,0.06);
  cursor:pointer;
}
.cart-bottom{
  padding:14px;
  border-top:1px solid #eee;
}
.total-row{
  display:flex;
  justify-content:space-between;
  font-weight:900;
  margin-bottom:10px;
}
.checkout{
  background:var(--red);
  color:#fff;border:none;
  padding:12px;
  border-radius:10px;
  width:100%;
  font-weight:900;
  cursor:pointer}


/* location page */
.location-wrap{
  max-width:1180px;
  margin:28px auto;padding:0 18px;
  display:flex;
  gap:24px;
  align-items:flex-start;
}
.loc-left{
  width:320px;
  background:var(--red);
  color:#fff;
  padding:18px;
  border-radius:14px;
}
.loc-left h4{
  margin:0 0 8px
}
.loc-left .box{
  background:#fff;
  color:var(--red);
  padding:12px;
  border-radius:12px;
  margin:12px 0;
}
.loc-right{
  flex:1
}

/* review form */
.review-box textarea{
  width:100%;
  min-height:90px;
  border-radius:8px;
  border:1px solid rgba(0,0,0,0.08);
  padding:10px;
}
.review-box button{
  margin-top:8px;
  background:var(--red);
  color:#fff;
  padding:10px 12px;
  border-radius:8px;
  border:none;
  cursor:pointer;
}

/* footer */

.site-footer {
  background: var(--red);
  color: white;
  padding: 40px 20px;
  font-size: 14px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1180px;
  margin: 0 auto;
}

.footer-box h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--gold);
}

.footer-box p {
  margin: 6px 0;
  line-height: 1.4;
}

.footer-box a {
  color: var(--gold);
  text-decoration: underline;
  font-weight: 600;
  font-size: 14px;
}
.footer-box a:hover{
  color:white;
  filter:brightness(1.05);
}
.social-icons {
  margin-top: 12px;
  display: flex;
  gap: 12px;
}

.social-icons a img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icons a:hover img {
  transform: scale(1.2);
  filter: brightness(1.2);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 20px;
  font-size: 13px;
}

/* responsive */
@media (max-width:1000px){.grid{grid-template-columns:repeat(2,1fr)}.cat-row{gap:20px}}
@media (max-width:640px){.grid{grid-template-columns:1fr}.hero h1{font-size:26px}.cat-row{gap:12px;padding:6px}header.site-header{height:64px;padding:8px}}
@media (max-width: 640px) {
  .logo-img {
    width: 60px;
  }
  .site-title {
    font-size: 16px;
  }
}
@media (max-width: 640px) {
  .mainnav a {
    padding: 8px 12px;
    font-size: 14px;
  }
}


  .icon-btn {
    color: #a3311f;
}
@media (max-width: 640px) {
  .grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .card {
    padding: 12px;
    padding-top: 48px;
  }

  .card h4 {
    font-size: 16px;
  }

  .card .price {
    font-size: 15px;
  }

  .card .imgwrap img {
    border-radius: 10px;
  }
}
@media (max-width: 768px) {
  .footer-columns {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .social-icons {
    justify-content: center;
  }
}
/* ===== Avaliação - manter design antigo no HTML novo ===== */

.avaliacao-form {
  background: #fff;
  color: var(--red);
  padding: 12px;
  border-radius: 12px;
  margin-top: 12px;
}

.avaliacao-form fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.avaliacao-form legend {
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--red);
}

.avaliacao-form .form-group {
  margin-bottom: 10px;
}

.avaliacao-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 14px;
}

.avaliacao-form input,
.avaliacao-form textarea {
  width: 100%;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.08);
  font-family: inherit;
}

.avaliacao-form textarea {
  min-height: 90px;
  resize: vertical;
}

.avaliacao-form button {
  width: 100%;
  margin-top: 6px;
  background: var(--red);
  color: #fff;
  padding: 10px 12px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.avaliacao-form button:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* ======================================= */
/* HEADER MOBILE – LOGO CENTRALIZADA       */
/* ======================================= */

@media (max-width: 600px) {

  .site-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--red);
    min-height: 150px;      /* espaço garantido */
    padding-top: 10px;
    padding-bottom: 10px;
  }

  /* área da logo */
  .header-left {
    width: 100%;
    height: 80px;          /* espaço fixo para logo */
    display: flex;
    align-items: center;   /* 👈 ISSO resolve o corte */
    justify-content: center;
    margin: 0;
  }

  .img-logo {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .img-logo img {
    max-height: 65px;      /* nunca estoura */
    width: auto;
    display: block;
  }

  /* menu abaixo da logo */
  .mainnav {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 6px;
  }

  .mainnav a,
  .mainnav button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 4px;
  }

  .mainnav .nav-icon {
    width: 22px;
    height: 22px;
  }

  .mainnav span {
    font-size: 11px;
    line-height: 1;
  }
}
/* ========================================= */
/* HEADER MOBILE – LOGO CENTRALIZADA CORRETA */
/* INDEX + CARDÁPIO                          */
/* ========================================= */

@media (max-width: 600px) {

  /* topo vermelho */
  .site-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: var(--red);
    min-height: 160px;      /* espaço REAL para logo + menu */
    padding-top: 12px;
    padding-bottom: 8px;
  }

  /* container da logo */
  .header-left {
    width: 100%;
    height: 80px;           /* área dedicada à logo */
    display: flex;
    align-items: center;    /* CENTRALIZA VERTICALMENTE */
    justify-content: center;
  }

  /* imagem da logo */
  .img-logo img {
    max-height: 65px;
    width: auto;
    display: block;
  }

  /* menu abaixo da logo */
  .mainnav {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 6px;
  }

  .mainnav a,
  .mainnav button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 4px;
    background: none;
  }

  .mainnav .nav-icon {
    width: 22px;
    height: 22px;
  }

  .mainnav span {
    font-size: 11px;
    line-height: 1;
  }
}
/* ===== CORREÇÃO LOGO CORTADA (MOBILE) ===== */
@media (max-width: 600px) {

  .img-logo {
    margin-top: 0;        /* remove o puxão para cima */
  }

  header.site-header {
    height: auto;         /* permite crescer */
    padding-top: 16px;    /* espaço real para a logo */
  }

  .header-left {
    align-items: center;  /* garante centralização */
  }

}
/* ESPAÇO CORRETO ENTRE MENU FIXO E HERO (CARDÁPIO) */
@media (max-width: 600px) {
  main {
    margin-top: 160px; /* mesma altura real do header mobile */
  }
}
/* ===============================
   RESPONSIVO – PÁGINA LOCAL
   =============================== */

@media (max-width: 768px) {

  /* Container geral */
  .location-wrap {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0 16px;
  }

  /* Coluna esquerda */
  .loc-left {
    width: 100%;
  }

  .loc-left .box {
    width: 100%;
  }

  /* Formulário */
  .avaliacao-form {
    width: 100%;
  }

  /* Coluna direita (mapa + contatos) */
  .loc-right {
    width: 100%;
  }

  /* Wrapper do iframe */
  .loc-right > div:first-child {
    height: auto !important;
  }

  /* Mapa responsivo */
  .loc-right iframe {
    width: 100% !important;
    height: 300px !important;
  }

  /* Card de contatos */
  .loc-right div[style*="background:#fff"] {
    width: 100%;
  }

  /* Hero */
  .hero {
    padding: 48px 16px;
    text-align: center;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

/* =====================================
   CARRINHO – RESPONSIVO MOBILE
   ===================================== */

@media (max-width: 600px) {

  /* Painel do carrinho */
  .cart-panel {
    width: 100%;
    right: 0;
    left: 0;
    top: auto;
    bottom: -100%;
    height: 85vh;               /* ocupa quase toda a tela */
    border-radius: 16px 16px 0 0;
    transition: bottom 0.35s ease;
  }

  /* Quando abre */
  .cart-panel.open {
    bottom: 0;
  }

  /* Cabeçalho do carrinho */
  .cart-panel header {
    padding: 14px;
  }

  .cart-panel header h4 {
    font-size: 16px;
  }

  /* Lista de itens */
  .cart-items {
    padding: 10px;
  }

  /* Cada item */
  .cart-row {
    gap: 10px;
    align-items: flex-start;
  }

  .cart-row img {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
  }

  .cart-row h5 {
    font-size: 14px;
    margin: 0;
  }

  .cart-row div {
    font-size: 13px;
  }

  /* Controles de quantidade */
  .qty-controls {
    flex-wrap: wrap;
    gap: 6px;
  }

  .qty-controls button {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  /* Rodapé do carrinho */
  .cart-bottom {
    padding: 12px;
  }

  .total-row {
    font-size: 15px;
  }

  /* Botão finalizar */
  .checkout {
    font-size: 15px;
    padding: 14px;
  }
}
