:root{
  --ifood:#ea1d2c;
  --ifood-dark:#c31420;
  --bg:#f6f6f7;
  --card:#ffffff;
  --text:#171717;
  --muted:#6b7280;
  --line: rgba(17,24,39,.10);

  --r-xl:26px;
  --r-lg:22px;
  --r:18px;
  --r-sm:14px;

  --shadow: 0 18px 50px rgba(16,24,40,.10);
  --shadow2: 0 10px 24px rgba(16,24,40,.08);

  --footer-h: 64px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*{ box-sizing:border-box; }

/* Links dos cards de produto */
.pitem a,
.hcard a,
.htitle a{
  color: var(--text);;              /* cor de texto normal */
  text-decoration: none;    /* remove sublinhado */
}

/*
.pitem a:hover,
.hcard a:hover,
.htitle a:hover{
  color: var(--ifood);    
}
*/

body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  padding-bottom: calc(var(--footer-h) + var(--safe-bottom));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.app{
  max-width: 680px;
  margin: 0 auto;
  padding: 0 12px;
}

/* ===== Top bar (iFood vibe) ===== */
.topbar{
  position: sticky;
  top: 0;
  z-index: 1045;
  padding: 10px 0 12px;
  background: linear-gradient(180deg, rgba(246,246,247,1) 0%, rgba(246,246,247,.92) 70%, rgba(246,246,247,0) 100%);
  backdrop-filter: blur(12px);
}
.top-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}
.iconbtn{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(17,24,39,.10);
  background:#fff;
  color:#111;
  display:grid;
  place-items:center;
  box-shadow: 0 10px 18px rgba(16,24,40,.05);
  transition: transform .12s ease;
}
.iconbtn:active{ transform: translateY(1px); }
.brandDot{
  display:flex; align-items:center; gap:10px;
  font-weight: 1100;
}
.brandDot .dot{
  width: 12px; height: 12px; border-radius: 999px;
  background: var(--ifood);
  box-shadow: 0 0 0 6px rgba(234,29,44,.12);
}

/* ===== Hero banner ===== */
.hero{
  position: relative;
  border-radius: var(--r-xl);
  overflow:hidden;
  box-shadow: var(--shadow);
  background:#000;
  border: 1px solid rgba(255,255,255,.10);
}
.hero__img{
  height: 120px;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  filter: saturate(1.05);
}
.hero__fade{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.65) 100%);
}
.openBadge{
  position:absolute;
  top: 12px; left: 12px;
  display:inline-flex; align-items:center; gap:8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(34,197,94,.95);
  color:#fff;
  font-weight: 1100;
  font-size: 12px;
  box-shadow: 0 18px 30px rgba(34,197,94,.18);
}
.openBadge::before{
  content:"";
  width:8px;height:8px;border-radius:999px;background:#fff;opacity:.95;
  box-shadow: 0 0 0 4px rgba(255,255,255,.16);
}

/* ===== Store card ===== */
.store{
  margin-top: -28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  /*box-shadow: var(--shadow2);*/
  padding: 12px;
  position: relative;
  overflow:hidden;
}
.store-top{
  display:flex;
  gap: 12px;
  align-items:center;
}
.store-logo{
  width: 90px;
  height: 90px;
  border-radius: 100%;
  overflow:hidden;
  border: 3px solid #fff;
  background:#fff;
  box-shadow: 0 14px 26px rgba(16,24,40,.12);
  flex:0 0 auto;
}
.store-logo img{ width:100%; height:100%; object-fit:cover; }
.store-name{
  margin:0;
  font-size: 17px;
  font-weight: 1200;
  line-height: 1.15;
  display:flex;
  align-items:center;
  gap: 8px;
}
.store-meta{
  margin-top: 7px;
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 1100;
  color:#3b4452;
  background:#f3f4f6;
  border: 1px solid rgba(17,24,39,.06);
  user-select:none;
}
.pill.green{
  background: rgba(34,197,94,.10);
  border-color: rgba(34,197,94,.20);
  color:#166534;
}

.store-bottom{
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(17,24,39,.08);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}

.rating-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 12px;
  border-radius:999px;
  background:#fff;
  border:1px solid #e9e9e9;
  box-shadow:0 6px 18px rgba(0,0,0,.06);
  font-size:14px;
  line-height:1;
  margin: 8px 0 4px 0;
}

.rating-badge .star{
  color:#f5b301; /* amarelo estrela */
  font-size:16px;
  transform: translateY(-.5px);
}

.rating-badge .score{
  font-weight:700;
  color:#f5b301;
}

.rating-badge .count{
  color:#666;
  font-size:13px;
}


.btn-details{
  border-radius: 999px;
  font-weight: 1200;
  font-size: 12px;
  padding: 9px 12px;
}

/* Search */
.search{
  margin-top: 10px;
  display:flex;
  gap: 10px;
}
.searchbox{
  flex:1;
  background:#fff;
  border: 1px solid rgba(17,24,39,.10);
  border-radius: 18px;
  padding: 5px 12px;
  display:flex;
  align-items:center;
  gap: 10px;
  box-shadow: 0 12px 20px rgba(16,24,40,.05);
}
.searchbox i{ color: #8b94a3; }
.searchbox input{
  width:100%;
  border:0;
  outline:none;
  background: transparent;
  font-weight: 1100;
  color: var(--text);
}
.filter{
  width: 42px; height: 42px;
  border-radius: 18px;
  border: 1px solid rgba(17,24,39,.10);
  background:#fff;
  color: var(--ifood);
  display:grid;
  place-items:center;
  box-shadow: 0 12px 20px rgba(16,24,40,.05);
}

/* ===== iFood Tabs (underline) ===== */
.tabs{
  margin-top: 12px;
  display:flex;
  gap: 18px;
  overflow-x:auto;
  padding: 0 2px;
  border-bottom: 1px solid rgba(17,24,39,.08);
  scrollbar-width:none;
  -webkit-overflow-scrolling: touch;
}
.tabs::-webkit-scrollbar{ display:none; }
.tab{
  position:relative;
  white-space:nowrap;
  padding: 10px 2px 12px;
  font-weight: 1200;
  font-size: 13px;
  color:#6b7280;
  text-decoration:none;
  user-select:none;
}
.tab.active{
  color: var(--ifood);
}
.tab.active::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-1px;
  height:3px;
  border-radius:999px;
  background: var(--ifood);
}

/* ===== Sections ===== */
.section{ margin-top: 14px; }
.sectionTitle{
  display:flex; justify-content:space-between; align-items:center;
  padding: 0 4px; margin-bottom: 8px;
}
.sectionTitle h2{
  margin:0;
  font-size: 13px;
  letter-spacing:.35px;
  font-weight: 1300;
  color:#3b4452;
}
.seeall{
  font-size: 12px;
  font-weight: 1300;
  color: var(--ifood);
  text-decoration:none;
}

/* ===== Destaques Swiper ===== */
.swiper{ padding: 4px 2px 12px; }
.swiper-slide{ width:auto !important; min-width: 320px; }
.hcard{
  background:#fff;
  border: 1px solid rgba(17,24,39,.10);
  border-radius: var(--r-xl);
  overflow:hidden;
  /*box-shadow: 0 16px 30px rgba(16,24,40,.06);*/
}
.hinner{
  padding: 12px;
  display:flex;
  gap: 12px;
  align-items:center;
}
.hthumb{
  width: 96px; height: 96px;
  border-radius: 24px;
  overflow:hidden;
  border: 1px solid rgba(17,24,39,.10);
  background:#fff;
  flex:0 0 auto;
  position: relative;
}
.hthumb img{ width:100%; height:100%; object-fit:cover; }
.hbadge{
  position:absolute; left: 8px; top: 8px;
  background: rgba(0,0,0,.55);
  color:#fff;
  font-weight: 1100;
  font-size: 11px;
  padding: 5px 8px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.hinfo{ min-width:0; flex:1; display:flex; flex-direction:column; gap: 6px; }
.htitle{
  font-weight: 1300;
  font-size: 14.5px;
  line-height: 1.15;
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}
.hprice{
  display:flex;
  gap: 8px;
  align-items:baseline;
  font-weight: 1300;
}
.hprice s{ color:#9aa1aa; font-weight: 1100; }
.hadd{
  border:0;
  background:none;
  padding:0;
  color: var(--ifood);
  font-weight: 1300;
  text-align:left;
  font-size: 13px;
}

/* ===== Produtos (iFood list) ===== */
.plist{
  display:grid;
  gap: 12px;
  margin: 10px 0 18px;
}
.pitem{
  background:#fff;
  border: 1px solid rgba(17,24,39,.10);
  border-radius: var(--r-xl);
  /*box-shadow: 0 16px 34px rgba(16,24,40,.06);*/
  padding: 16px 20px;
  display:grid;
  grid-template-columns: 1fr 130px;
  gap: 12px;
  align-items:center;
  cursor:pointer;
  position: relative;
  overflow:hidden;
}
.ptitle{ margin:0 0 6px; font-size: 15px; font-weight: 1300; line-height: 1.15; }
.pdesc{ margin:0 0 8px; font-size: 12.5px; color:#7a828f; line-height: 1.25; }
.pfrom{ font-size: 11.5px; font-weight: 1300; color: #16a34a; margin-bottom: 2px; }
.prow{ display:flex; gap: 8px; align-items:baseline; }
.pprice{ font-weight: 1400; font-size: 17px; color: #16a34a; }
.pold{ color:#a2aab6; font-weight: 1200; text-decoration: line-through; font-size: 12px; }

.pimgWrap{
  width: 130px;
  height: 98px;
  border-radius: 26px;
  overflow:hidden;
  border: 1px solid rgba(17,24,39,.10);
  background:#fff;
  position:relative;
}
.pimg{ width:100%; height:100%; object-fit: cover; display:block; transform: scale(1.02); }

.plus{
  position:absolute;
  right: 16px;
  bottom: 16px;
  width: 46px;
  height: 46px;
  border-radius: 18px;
  border: 0;
  background: var(--ifood);
  color:#fff;
  display:grid;
  place-items:center;
  box-shadow: 0 20px 34px rgba(234,29,44,.25);
  transition: transform .12s ease, background .15s ease;
}
.plus:active{ transform: translateY(1px) scale(.98); background: var(--ifood-dark); }

/* ===== Footer nav ===== */
.footer-nav{
  position: fixed;
  left:0; right:0;bottom:0;
  height: calc(var(--footer-h) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  background:#fff;
  border-top: 1px solid rgba(17,24,39,.10);
  box-shadow: 0 -18px 40px rgba(16,24,40,.08);
  z-index: 1030;
  display:flex;
  justify-content: space-around;
  align-items:center;
}
.nav-item{
  position: relative;
  display:flex;
  flex-direction:column;
  gap: 4px;
  align-items:center;
  text-decoration:none;
  color:#6b7280;
  font-size: 10.5px;
  font-weight: 1300;
  min-width: 70px;
  padding-top: 8px;
  user-select:none;
}
.nav-item i{ font-size: 20px; }
.nav-item.active{ color: var(--ifood); }
.cart-badge{
  position:absolute;
  top: 4px;
  right: 18px;
  background: var(--ifood);
  color:#fff;
  border-radius: 999px;
  min-width: 18px;
  height: 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 10px;
  padding: 0 6px;
  box-shadow: 0 12px 22px rgba(234,29,44,.25);
}

/* ===== Bag bar ===== */
#bag-bar{
  position: fixed;
  left:0; right:0;
  bottom: calc(var(--footer-h) + 12px + var(--safe-bottom));
  z-index: 1040;
  transform: translateY(120px);
  transition: transform .22s ease;
  pointer-events: none;
  padding: 0 12px;
  display: none;
}
#bag-bar.is-visible{
  transform: translateY(0);
  pointer-events: auto;
  display: block;
}
.bag-inner{
  max-width: 680px;
  margin: 0 auto;
  height: 58px;
  border-radius: 20px;
  background: var(--ifood);
  color:#fff;
  box-shadow: 0 28px 70px rgba(234,29,44,.25);
  display:grid;
  grid-template-columns: 52px 1fr auto;
  align-items:center;
  padding: 0 14px;
  gap: 10px;
  cursor:pointer;
}
.bag-left{
  width: 44px; height: 44px;
  border-radius: 18px;
  background: rgba(255,255,255,.14);
  display:grid;
  place-items:center;
}
.bag-left svg{ width: 20px; height: 20px; stroke:#fff; fill:none; stroke-width:2; }
.bag-center{ font-weight: 1400; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.bag-price{ font-weight: 1400; white-space:nowrap; }

/* ===== Modal bottom sheet ===== */
.modal.modal-product .modal-dialog{
  max-width: 680px;
  margin: 0 auto;
  align-items: end;
  min-height: 100dvh;
}
.modal-product .modal-content{
  border: 0;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  overflow:hidden;
  box-shadow: 0 -26px 80px rgba(0,0,0,.35);
}
.handle{
  height: 5px;
  width: 54px;
  border-radius: 999px;
  background: rgba(17,24,39,.20);
  margin: 10px auto 0;
}
.prod-hero{
  position:relative;
  background:#000;
}
.prod-hero img{
  width:100%;
  height: min(42dvh, 360px);
  object-fit: cover;
  display:block;
}
.btn-back{
  position:absolute;
  left: 14px;
  top: 14px;
  width: 44px;
  height: 44px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.35);
  color:#fff;
  display:grid;
  place-items:center;
  font-size: 20px;
  backdrop-filter: blur(12px);
}
.modal-product .modal-body{
  padding: 16px 16px 10px;
  max-height: 40dvh;
  overflow:auto;
}
.prod-title{
  margin:0 0 6px;
  font-weight: 1400;
  font-size: 18px;
  line-height: 1.15;
}
.prod-desc{
  margin:0 0 12px;
  color:#222;
  opacity:.85;
  font-size: 13.5px;
  line-height: 1.45;
}
.obs-box{
  width:100%;
  border-radius: 18px;
  border: 1px solid rgba(17,24,39,.12);
  padding: 12px 14px;
  outline: none;
  resize: none;
}
.modal-product .modal-footer{
  position: sticky;
  bottom: 0;
  background:#fff;
  border-top: 1px solid rgba(17,24,39,.10);
  padding: 12px 14px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 12px;
}
.price{ font-weight: 1400; font-size: 18px; }
.qty{ display:flex; align-items:center; gap: 10px; }
.btn-qty{
  width: 44px;
  height: 40px;
  border-radius: 18px;
  border: 0;
  background: #0f1115;
  color:#fff;
  font-size: 22px;
  line-height: 0;
}
.qty-num{ min-width: 28px; text-align:center; font-weight:1400; font-size: 16px; }
.btn-add{
  width: 100%;
  height: 54px;
  border-radius: 20px;
  border: 0;
  background: var(--ifood);
  color:#fff;
  font-weight: 1400;
  text-transform: uppercase;
  letter-spacing: .6px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
}
.btn-add:hover{ background: var(--ifood-dark); }


 /* Modal base */
  .modal.modal-product .modal-dialog{
    max-width: 500px;
  }
  .modal-product .modal-content{
    border:0; border-radius:var(--radius);
    box-shadow:0 20px 60px rgba(0,0,0,.35);
    overflow:hidden;
  }



.reviews{
  max-width: 920px;
  margin: 0 auto;
  padding: 18px;
  background: #fff;


background: #fff;
    border: 1px solid rgba(17, 24, 39, .10);
    border-radius: var(--r-xl);
    /* box-shadow: 0 16px 34px rgba(16, 24, 40, .06); */
    padding: 16px 20px;



}

.reviews__title{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  color:#111;
  font-size:16px;
}

.reviews__title i{ color:#111; }

.reviews__summary{
  margin-top:14px;
  display:grid;
  grid-template-columns: 1fr;
  gap:16px;
  background:#fafafa;
  border:1px solid #ededed;
  border-radius:14px;
  padding:16px;
}

.reviews__score{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.reviews__scoreValue{
  font-size:34px;
  font-weight:800;
  letter-spacing:-0.5px;
  color:#111;
}

.reviews__stars{
  display:flex;
  gap:3px;
  font-size:14px;
  color:#f5b301;
}

.reviews__meta{
  font-size:12px;
  color:#666;
}

.reviews__dist{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.reviews__distRow{
  display:grid;
  grid-template-columns: 14px 1fr 42px;
  align-items:center;
  gap:10px;
}

.reviews__distLabel{
  font-size:12px;
  color:#333;
  font-weight:700;
}

.reviews__distVal{
  font-size:12px;
  color:#666;
  text-align:right;
}

.reviews__bar{
  height:10px;
  background:#eee;
  border-radius:99px;
  overflow:hidden;
}

.reviews__bar span{
  display:block;
  height:100%;
  background:#f5b301;
  border-radius:99px;
}

.reviews__totals{
  padding-top:6px;
  font-size:12px;
  color:#777;
  text-align:right;
}

.reviews__list{
  margin-top:16px;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.review{
  display:grid;
  grid-template-columns: 46px 1fr;
  gap:12px;
  padding:14px;
  border:1px solid #eee;
  border-radius:14px;
  background:#fff;
}

.review__avatar{
  width:46px;
  height:46px;
  border-radius:50%;
  background:#efefef;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  color:#777;
}

.review__top{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:10px;
}

.review__name{
  color:#111;
  font-size:14px;
}

.review__time{
  font-size:12px;
  color:#888;
  white-space:nowrap;
}

.review__stars{
  margin-top:6px;
  color:#f5b301;
  font-size:13px;
  display:flex;
  gap:3px;
}

.review__text{
  margin:8px 0 0 0;
  color:#333;
  font-size:13px;
  line-height:1.35;
}

/* Responsivo desktop */
@media (min-width: 860px){
  .reviews__summary{
    grid-template-columns: 220px 1fr;
    align-items:center;
  }
}


.app-reviews{
  background:#fff;
  border-radius:16px;
  padding:16px 20px;
  border:1px solid #eee;
}

.app-reviews__header{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.app-reviews__header h3{
  margin:0;
  font-size:16px;
}

.app-reviews__count{
  font-size:12px;
  color:#777;
}

.app-reviews__badge{
  padding:4px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:600;

      background: rgba(22,163,74,.10);
      border: 1px solid rgba(22,163,74,.25);
      color: #16a34a;
}

.app-reviews h2.title {
    margin: 0;
    font-size: 15px;
    letter-spacing: .35px;
    color: var(--text);
}

.app-reviews__summary{
  margin:10px 0 14px;
  font-size:13px;
  color:#555;
}

.stars{
  color:#f5b301;
  font-size:14px;
}

.stars.small{
  font-size:13px;
}

.review-item{
  display:flex;
  gap:10px;
  padding:12px 0;
  border-top:1px solid #eee;
}

.avatar{
  width:40px;
  height:40px;
  border-radius:50%;
  background:#f1f1f1;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  color:#888;
}

.content{
  flex:1;
}

.top{
  display:flex;
  justify-content:space-between;
  font-size:13px;
}

.top span{
  color:#999;
}

.content p{
  margin:4px 0 0;
  font-size:13px;
  color:#333;
}

.btn-more{
  margin-top:12px;
  width:100%;
  background:#fff;
  border:1px solid #d90000;
  color:#d90000;
  padding:10px;
  border-radius:12px;
  font-weight:600;
}

.review-item{
  transition: opacity .25s ease, transform .25s ease;
}

.footer {
  background: var(--ifood);
  border-top: 1px solid var(--ifood-dark);
  padding: 16px 12px;
  text-align: center;
  margin-top: 30px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 13px;
  color: #FFF; /* vermelho do seu site */
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-copy {
  font-size: 12px;
  color: #FFF;
}

.footer-trust{
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
  font-size:12px;
  color:#FFF;
  margin:6px 0 10px;
}

.footer-trust i{
  color:#FFF; /* vermelho do seu tema */
  font-size:13px;
}
