/** Shopify CDN: Minification failed

Line 2210:0 Unexpected "<"
Line 3350:0 Unexpected "<"
Line 3463:0 Unexpected "<"

**/
: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);
}

* {
  --red: #ea1d2c;
  --red2: #c31420;
  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(0, 0, 0, .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(0, 0, 0, .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: 20002;
  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(0, 0, 0, .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(0, 0, 0, .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;
}







/* PAGE 1 */
/* ===== topbar ===== */
#home-page .topbarMain {
  width: 100%;
  position: fixed;
  top: -100px;
  z-index: 60;
  padding: 10px 12px 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(10px);
  transition: 0.3s;
  opacity: 0.0;
}

#home-page .topbarMain.is-visible {
  transition: 0.3s;
  top: 0px;
  opacity: 1;
}


#home-page .topRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

#home-page .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;
  cursor: pointer;
}

#home-page .iconbtn:active {
  transform: translateY(1px);
}

#home-page .iconbtn.is-primary {
  background: var(--ifood);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 18px 34px rgba(234, 29, 44, .22);
}

#home-page .iconbtn.is-primary:hover {
  background: #c31420;
}


#home-page .titlebar {
  flex: 1;
  min-width: 0;
  height: 44px;
  border-radius: 18px;
  border: 1px solid rgba(17, 24, 39, .10);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: .2px;
  padding: 0 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#home-page .titlebar i {
  color: var(--ifood);
  margin-right: 8px;
}



/* ===== CSS 2 ===== */
/* ===== DRAWER (menu lateral) ===== */
.drawerOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .35);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
  z-index: 999;
}

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100dvh;
  width: min(86vw, 330px);
  background: #fff;
  border-right: 1px solid rgba(17, 24, 39, .10);
  box-shadow: 30px 0 80px rgba(0, 0, 0, .20);
  transform: translateX(-105%);
  transition: transform .22s ease;
  z-index: 99000;
  display: flex;
  flex-direction: column;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  opacity: 0;
}

.drawer.is-open {
  transform: translateX(0);
  opacity: 1;
}

.drawerOverlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawerHead {
  padding: 14px 14px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(17, 24, 39, .08);
}

.drawerBrand {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  min-width: 0;
}

.drawerLogo {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid #fff;
  box-shadow: 0 10px 24px rgba(16, 24, 40, .12);
  background: #fff;
  flex: 0 0 auto;
}

.drawerLogo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.drawerText {
  min-width: 0;
}

.drawerName {
  font-size: 13.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 210px;
}

.drawerSub {
  font-size: 11px;
  color: #9aa1aa;
  margin-top: 2px;
}

.drawerClose {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(17, 24, 39, .10);
  background: #fff;
  color: #111;
  display: grid;
  place-items: center;
}

.drawerNav {
  padding: 10px 8px;
  overflow: auto;
  flex: 1;
}

.drawerLink {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  margin: 6px 6px;
  border-radius: 14px;
  text-decoration: none;
  color: #111;
  font-size: 13px;
  border: 1px solid rgba(17, 24, 39, .06);
  background: rgba(17, 24, 39, .02);
}

.drawerLink i {
  color: var(--red);
  width: 18px;
  text-align: center;
}

.drawerLink:active {
  transform: translateY(1px);
}

.drawerBadge {
  margin-left: auto;
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
}

.drawerSep {
  height: 1px;
  margin: 10px 14px;
  background: rgba(17, 24, 39, .10);
}

.drawerFooter {
  padding: 12px 14px;
  border-top: 1px solid rgba(17, 24, 39, .08);
  color: #9aa1aa;
  font-size: 11.5px;
}

/* CSS3 */

.vitrine-categoria {
  padding: 10px 0;
  margin-bottom: 15px;
}

.vitrine-categoria .swiper-slide {
  width: 170px !important;
  min-width: 170px !important;
}

/* CARD */
.vitrine-categoria .card-produto {
  background: #fff;
  border-radius: 18px;
  padding: 10px;
  /*box-shadow: 0 6px 16px rgba(0,0,0,0.08);*/
  border: 1px solid rgba(17, 24, 39, .10);
  position: relative;

  height: 300px;
  /* 🔥 altura fixa do card */
  display: flex;
  flex-direction: column;
}

/* IMAGEM */
.vitrine-categoria .img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: #f3f3f3;
}

.vitrine-categoria .img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* BADGE */
.vitrine-categoria .badge-combo {
  position: absolute;
  top: 8px;
  left: 8px;

  background: #d1fae5;
  color: #065f46;

  font-size: 11px;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 6px;
}

/* NOME */
.vitrine-categoria .produto-info {
  font-size: 13px;
  margin-top: 8px;

  height: 108px;
  /* 🔥 altura fixa */
  line-height: 1.2;

  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* 🔥 limita em 2 linhas */
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.vitrine-categoria .produto-info a {
  color: var(--text);
  text-decoration: none;
}

/* PREÇO ANTIGO */
.vitrine-categoria .preco-antigo {
  font-size: 12px;
  text-decoration: line-through;
  color: #a2aab6;
  margin-top: 4px;
}

/* PREÇO */
.vitrine-categoria .produto-preco {
  font-size: 17px;
  color: #16a34a;

  margin-top: auto;
  /* 🔥 empurra pra base */
}

/* BOTÃO + */
.vitrine-categoria .btn-add {
  position: absolute;
  right: 10px;
  bottom: 10px;

  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;

  background: var(--ifood);
  color: white;
  font-size: 22px;
}



.product-detail-view {
  position: fixed;
  inset: 0;
  background: #f6f6f7;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  visibility: hidden;
}

.product-detail-view.active {
  transform: translateX(0);
  visibility: visible;
}

.detail-header,
.detail-content,
.detail-footer-inner {
  max-width: 680px;
  padding: 0 16px;
  margin: 0 auto;
  width: 100%;
}

.detail-header {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 2;
}

/* Wrap header for max-width on desktop */
.detail-header-container {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 2;
}

.detail-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}

.detail-icon-btn.is-red {
  background: #ea1d2c;
  color: #fff;
  border: none;
}

.detail-header-center {
  background: #f8f9fa;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  margin: 0 8px;
}

.detail-header-center i {
  color: #ea1d2c;
}

.detail-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px 16px 120px;
}

.detail-image-wrap {
  width: 100%;
  aspect-ratio: 16/10;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 20px;
}

.detail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-info-card {
  background: #fff;
  padding: 24px;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.detail-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.detail-desc {
  font-size: 13px;
  color: #717171;
  line-height: 1.5;
  margin-bottom: 24px;
}

.detail-obs {
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 16px;
}

.obs-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  color: #1a1a1a;
}

.optional {
  color: #999;
  font-weight: 400;
}

.detail-obs textarea {
  width: 100%;
  border: none;
  outline: none;
  resize: none;
  font-size: 13px;
  height: 60px;
}

.detail-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.03);
  z-index: 20001;
}

.detail-footer-inner {
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.detail-footer-price {
  flex: 1;
}

.price-val {
  font-size: 18px;
  font-weight: 800;
  color: #1a1a1a;
}

.detail-stepper {
  display: flex;
  align-items: center;
  background: #f8f9fa;
  border-radius: 12px;
  padding: 4px;
  gap: 12px;
}

.step-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: #1a1a1a;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

#detail-qty {
  font-weight: 700;
  font-size: 14px;
  min-width: 20px;
  text-align: center;
}

.btn-add-final {
  flex: 2;
  background: #ea1d2c !important;
  background-color: #ea1d2c !important;
  color: #ffffff !important;
  border: none !important;
  outline: none !important;
  height: 50px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none !important;
  box-shadow: 0 4px 15px rgba(234, 29, 44, 0.2);
}

.btn-add-final:hover {
  background: #c31420;
}

/* MODAL & CART CSS */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 20000;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  backdrop-filter: blur(2px);
}

.modal-overlay.active {
  display: flex;
}

.success-modal {
  background: #fff;
  width: 100%;
  max-width: 680px;
  border-radius: 28px 28px 0 0;
  padding: 24px 24px 40px;
  animation: slideUpSheet 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
}

@keyframes slideUpSheet {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

.handle-bar {
  width: 40px;
  height: 5px;
  background: #eee;
  border-radius: 10px;
  margin: -10px auto 20px;
}

.success-header {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.success-icon {
  width: 44px;
  height: 44px;
  background: #d1fae5;
  color: #10b981;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}

.success-text .s-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px;
}

.success-text .s-sub {
  font-size: 13px;
  color: #666;
  margin: 0;
  line-height: 1.4;
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.success-actions button {
  height: 54px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}

.btn-primary {
  background: #ea1d2c;
  color: #fff;
  border: none;
}

.btn-outline {
  background: #fff;
  color: #1a1a1a;
  border: 1px solid #eee;
}

.btn-outline i {
  font-size: 14px;
}

.cart-view {
  position: fixed;
  inset: 0;
  background: #f6f6f7;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  visibility: hidden;
}

.cart-view.active {
  transform: translateX(0);
  visibility: visible;
}

.cart-content {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 220px;
}

.cart-inner-header {
  max-width: 680px;
  margin: 24px auto 16px;
  padding: 0 16px;
}

.cart-page-title {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 4px;
}

.cart-page-sub {
  font-size: 13px;
  color: #717171;
  margin: 0;
}

.cart-items {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-item {
  background: #fff;
  border-radius: 20px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.item-top {
  display: flex;
  gap: 12px;
}

.item-img {
  width: 80px;
  height: 80px;
  border-radius: 14px;
  object-fit: cover;
}

.item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.item-name {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.3;
}

.item-price {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
}

.item-subtotal {
  margin-left: auto;
  font-size: 13px;
  color: #717171;
}

.item-subtotal strong {
  color: #1a1a1a;
  font-weight: 800;
}

.item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f8f9fa;
  padding-top: 12px;
}

.cart-stepper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-step-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid #ea1d2c;
  background: #fff;
  color: #ea1d2c;
  font-size: 18px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.cart-qty-num {
  font-size: 14px;
  font-weight: 700;
  min-width: 20px;
  text-align: center;
}

.btn-remove {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: #f8f9fa;
  color: #ea1d2c;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.add-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 10px;
  background: none;
  border: 1.5px solid #ea1d2c;
  border-radius: 12px;
  color: #ea1d2c;
  font-weight: 700;
  font-size: 13px;
  height: 44px;
  cursor: pointer;
  transition: background 0.2s;
}

.add-more-btn:hover {
  background: rgba(234, 29, 44, 0.06);
}

.cart-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 10;
  border-top: 1px solid #eee;
}

.cart-total-info {
  display: flex;
  flex-direction: column;
}

.total-label {
  font-size: 12px;
  color: #999;
}

.items-count {
  font-size: 13px;
  color: #666;
  font-weight: 500;
}

.cart-footer-btn-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 16px 16px;
}

.btn-prosseguir {
  width: 100%;
  height: 54px;
  border-radius: 12px;
  background: #ea1d2c;
  color: #fff;
  border: none;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(234, 29, 44, 0.2);
  cursor: pointer;
}

/* ===== FLOATING CART BAR (HOME) ===== */
.floating-cart-bar {
  position: fixed;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: calc(100% - 32px);
  max-width: 440px;
  bottom: 74px;
  /* Acima do footer-nav (64px + 10px) */
  height: 54px;
  background: #ea1d2c;
  border-radius: 14px;
  z-index: 20001;
  display: none;
  /* JS mostra se cart.length > 0 */
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  color: #fff;
  box-shadow: 0 8px 30px rgba(234, 29, 44, 0.35);
  cursor: pointer;
  animation: slideUpFloating 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUpFloating {
  from {
    transform: translateY(100px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.floating-cart-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.floating-cart-icon-box {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 14px;
}

.floating-cart-text {
  font-weight: 800;
  font-size: 14px;
}

.floating-cart-total {
  font-weight: 800;
  font-size: 15px;
}

</style><style>

/* ===== CHECKOUT VIEW ===== */
.checkout-view {
  position: fixed;
  inset: 0;
  background: #f6f6f7;
  z-index: 10002;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  visibility: hidden;
}

.checkout-view.active {
  transform: translateX(0);
  visibility: visible;
}

.checkout-content {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 160px;
}

.checkout-section {
  max-width: 680px;
  margin: 20px auto 0;
  padding: 0 16px;
}

.checkout-section-title {
  font-size: 14px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.checkout-card {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checkout-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.checkout-field label {
  font-size: 11px;
  font-weight: 700;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.checkout-field input,
.checkout-field select {
  height: 46px;
  border: 1.5px solid #eee;
  border-radius: 12px;
  padding: 0 14px;
  font-size: 14px;
  color: #1a1a1a;
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
  background: #fff;
}

.checkout-field input:focus {
  border-color: #ea1d2c;
}

.checkout-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #444;
  cursor: pointer;
}

.checkout-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #ea1d2c;
  flex-shrink: 0;
}

.ck-toggle {
  display: flex;
  background: #f6f6f7;
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
}

.ck-toggle-btn {
  flex: 1;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  color: #717171;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
}

.ck-toggle-btn.active {
  background: #fff;
  color: #ea1d2c;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.ck-cep-btn {
  height: 46px;
  width: 46px;
  border-radius: 12px;
  border: 1.5px solid #eee;
  background: #fff;
  color: #ea1d2c;
  font-size: 16px;
  cursor: pointer;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.ck-select-wrap {
  position: relative;
}

.ck-select-wrap select {
  appearance: none;
  padding-right: 40px;
}

.ck-select-wrap i {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  pointer-events: none;
}

.checkout-trust {
  max-width: 680px;
  margin: 16px auto 0;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trust-badge-card {
  background: #fff;
  border-radius: 20px;
  padding: 16px 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.trust-badge-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.trust-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  padding: 6px;
  flex-shrink: 0;
}

.trust-badge-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ra-bg {
  background: #eefdf3;
}

/* Verde claro RA */
.ifood-bg {
  background: #fff1f2;
}

/* Vermelho claro iFood */
.anvisa-bg {
  background: #f0f7ff;
}

/* Azul claro ANVISA */

.trust-badge-name {
  font-size: 15px;
  font-weight: 800;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.trust-badge-desc {
  font-size: 13px;
  color: #717171;
  margin: 0;
  line-height: 1.5;
}

.ck-resumo-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #444;
  padding-top: 10px;
  border-top: 1px solid #f3f3f3;
}

.ck-resumo-item {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #1a1a1a;
  padding: 6px 0;
}

.checkout-footer {
  position: fixed;
  bottom: calc(var(--footer-h, 64px) + env(safe-area-inset-bottom, 0px));
  left: 0;
  width: 100%;
  background: #fff;
  border-top: 1px solid #eee;
  z-index: 20001;
}

.checkout-footer-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.btn-finalizar {
  flex: 1;
  height: 54px;
  border-radius: 12px;
  background: #ea1d2c;
  color: #fff;
  border: none;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(234, 29, 44, 0.25);
  cursor: pointer;
}

.btn-finalizar:hover {
  background: #c31420;
}

/* ===== PIX VIEW ===== */
.pix-view {
  position: fixed;
  inset: 0;
  background: #f6f6f7;
  z-index: 10003;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  visibility: hidden;
}

.pix-view.active {
  transform: translateX(0);
  visibility: visible;
}

.pix-content {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  max-width: 680px;
  margin: 0 auto;
  width: 100%;
}

.pix-status-bar {
  background: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.pix-status-dot {
  width: 8px;
  height: 8px;
  background: #f5b301;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }

  100% {
    opacity: 1;
  }
}

#pix-status-text {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  flex: 1;
}

.pix-status-cancel {
  background: none;
  border: none;
  color: #717171;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.pix-card {
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.pix-instrucao {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
}

.pix-sub {
  font-size: 13px;
  color: #717171;
  margin-bottom: 24px;
  line-height: 1.5;
}

.pix-valor-label {
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 4px;
}

.pix-valor {
  font-size: 28px;
  font-weight: 900;
  color: #1a1a1a;
  margin-bottom: 24px;
}

.pix-qr-wrap {
  width: 180px;
  height: 180px;
  margin: 0 auto 24px;
  padding: 10px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
}

.pix-qr-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pix-code-box {
  background: #f8f9fa;
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px dashed #ddd;
}

.pix-code-text {
  font-size: 11px;
  color: #717171;
  word-break: break-all;
  display: block;
  max-height: 48px;
  overflow: hidden;
}

.btn-copy-pix {
  width: 100%;
  height: 52px;
  background: #ea1d2c;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.pix-copied-msg {
  font-size: 12px;
  color: #22c55e;
  font-weight: 700;
  margin-top: 10px;
}

.pix-steps-title {
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 16px;
  text-align: left;
}

.pix-step {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  text-align: left;
  font-size: 13px;
  color: #444;
}

.pix-step-num {
  width: 24px;
  height: 24px;
  background: #f1f5f9;
  color: #1e293b;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 12px;
  flex-shrink: 0;
}

/* ===== SUPPORT VIEW (404) ===== */
.support-view {
  position: fixed;
  inset: 0;
  background: #f6f6f7;
  z-index: 30005;
  /* Acima do footer-nav */
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  visibility: hidden;
}

.support-view.active {
  transform: translateY(0);
  visibility: visible;
}

.support-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 680px;
  margin: 0 auto;
  width: 100%;
}

.support-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #717171;
}

.support-dot {
  width: 10px;
  height: 10px;
  background: #ea1d2c;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(234, 29, 44, 0.3);
}

.support-back-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.support-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 24px 60px;
}

.support-card {
  background: #fff;
  width: 100%;
  max-width: 440px;
  border-radius: 32px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.error-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff1f2;
  color: #ea1d2c;
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.error-code {
  font-size: 72px;
  font-weight: 900;
  color: #1a1a1a;
  line-height: 1;
  margin: 0 0 10px;
}

.error-title {
  font-size: 20px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.error-text {
  font-size: 13.5px;
  color: #717171;
  margin-bottom: 32px;
  line-height: 1.5;
}

.btn-error-primary {
  width: 100%;
  height: 52px;
  background: #ea1d2c;
  color: #fff;
  border: none;
  border-radius: 14px;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-error-outline {
  width: 100%;
  height: 52px;
  background: transparent;
  color: #1a1a1a;
  border: 1.5px solid #eee;
  border-radius: 14px;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.error-footer-info {
  font-size: 12px;
  color: #717171;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  line-height: 1.5;
  max-width: 320px;
  margin: 0 auto;
}

.error-footer-info i {
  color: #ea1d2c;
  margin-top: 2px;
}

.support-footer-copy {
  margin-top: 32px;
  font-size: 11px;
  color: #ccc;
  font-weight: 600;
}

/* ===== PRIVACY VIEW ===== */
.privacy-view {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 64px;
  background: #f1f1f1;
  z-index: 10005;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0, 0, 0.2, 1);
  visibility: hidden;
}

.privacy-view.active {
  transform: translateY(0);
  visibility: visible;
}

.privacy-header {
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.privacy-header-pill {
  background: #fff;
  padding: 8px 16px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.04);
  flex: 1;
  justify-content: center;
  margin: 0 12px;
  max-width: 400px;
}

.privacy-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: none;
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.privacy-icon-btn.is-red {
  background: #ea1d2c;
  color: #fff;
  border-radius: 12px;
}

.privacy-content {
  flex: 1;
  overflow-y: auto;
  padding: 0 16px 20px;
  max-width: 680px;
  margin: 0 auto;
  width: 100%;
}

.privacy-card-title {
  background: #fff;
  border-radius: 20px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.privacy-logo-small {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #eee;
  flex-shrink: 0;
}

.privacy-logo-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.privacy-main-title {
  font-size: 19px;
  font-weight: 900;
  margin: 0;
  color: #1a1a1a;
}

.privacy-date {
  font-size: 11px;
  color: #bbb;
  display: block;
  margin-top: 2px;
}

.privacy-text-area {
  background: #fff;
  border-radius: 18px;
  padding: 32px 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.03);
  line-height: 1.7;
  font-size: 14px;
  color: #333;
}

.privacy-sec {
  font-size: 16px;
  font-weight: 800;
  margin: 24px 0 12px;
  color: #000;
}

.privacy-text-area p {
  margin-bottom: 14px;
}

.privacy-text-area ul {
  padding-left: 18px;
  margin-bottom: 20px;
}

.privacy-text-area li {
  margin-bottom: 10px;
}

.contact-box {
  background: #f9f9f9;
  padding: 16px;
  border-radius: 14px;
  margin-top: 10px;
  border-left: 3px solid var(--ifood);
}

/* ===== TERMS VIEW ===== */
.terms-view {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 64px;
  background: #f1f1f1;
  z-index: 10006;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0, 0, 0.2, 1);
  visibility: hidden;
}

.terms-view.active {
  transform: translateY(0);
  visibility: visible;
}

.terms-header {
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.terms-header-pill {
  background: #fff;
  padding: 8px 16px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.04);
  flex: 1;
  justify-content: center;
  margin: 0 12px;
  max-width: 400px;
}

.terms-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: none;
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.terms-icon-btn.is-red {
  background: #ea1d2c;
  color: #fff;
  border-radius: 12px;
}

.terms-content {
  flex: 1;
  overflow-y: auto;
  padding: 0 16px 20px;
  max-width: 680px;
  margin: 0 auto;
  width: 100%;
}

.terms-card-title {
  background: #fff;
  border-radius: 20px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.terms-logo-small {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #eee;
  flex-shrink: 0;
}

.terms-logo-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.terms-main-title {
  font-size: 19px;
  font-weight: 900;
  margin: 0;
  color: #1a1a1a;
}

.terms-date {
  font-size: 11px;
  color: #bbb;
  display: block;
  margin-top: 2px;
}

.terms-text-area {
  background: #fff;
  border-radius: 18px;
  padding: 32px 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.03);
  line-height: 1.7;
  font-size: 14px;
  color: #333;
}

.terms-sec {
  font-size: 16px;
  font-weight: 800;
  margin: 24px 0 12px;
  color: #000;
}

.terms-text-area ul {
  padding-left: 20px;
  margin-bottom: 24px;
}

.terms-text-area li {
  margin-bottom: 12px;
}

/* ===== MODAL CARTÃO ===== */
.cartao-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 30000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.cartao-overlay.active {
  display: flex;
}

.cartao-modal {
  background: #fff;
  width: 100%;
  max-width: 780px;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.cartao-left {
  flex: 1.2;
  padding: 32px;
  border-right: 1px solid #f0f0f0;
}

.cartao-right {
  flex: 0.8;
  padding: 32px;
  background: #fdfdfd;
  position: relative;
}

.cartao-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 24px;
}

.cartao-user-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-weight: 700;
  font-size: 14px;
}

.cartao-avatar {
  width: 32px;
  height: 32px;
  background: #f1f5f9;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.cartao-field {
  margin-bottom: 16px;
}

.cartao-field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #999;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.cartao-field input {
  width: 100%;
  height: 44px;
  border: 1.5px solid #eee;
  border-radius: 12px;
  padding: 0 14px;
  font-size: 14px;
  outline: none;
}

.cartao-field input:focus {
  border-color: #ea1d2c;
}

.cartao-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 20px;
  color: #999;
  cursor: pointer;
}

.cartao-resumo-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 16px;
}

.cartao-resumo-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 12px;
}

.cartao-resumo-divider {
  height: 1px;
  background: #eee;
  margin: 16px 0;
}

.btn-pagar {
  width: 100%;
  height: 50px;
  background: #ea1d2c;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
  margin-top: 24px;
  cursor: pointer;
}

.cartao-seguro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  color: #22c55e;
  margin-top: 16px;
}

.cartao-bandeiras {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  opacity: 0.6;
}

@media (max-width: 600px) {
  .cartao-modal {
    flex-direction: column;
  }

  .cartao-left,
  .cartao-right {
    padding: 24px;
  }

  .cartao-left {
    border-right: none;
    border-bottom: 1px solid #eee;
  }
}

</style><style>.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 20000;
  display: none;
  align-items: flex-end;
  /* Move para baixo */
  justify-content: center;
  padding: 16px;
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  backdrop-filter: blur(2px);
}

.modal-overlay.active {
  display: flex;
}

.success-modal {
  background: #fff;
  width: 100%;
  max-width: 440px;
  border-radius: 28px;
  padding: 24px;
  animation: slideUpModal 0.4s cubic-bezier(0, 0, 0.2, 1);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
}

@keyframes slideUpModal {
  from {
    transform: translateY(100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.handle-bar {
  width: 40px;
  height: 5px;
  background: #eee;
  border-radius: 10px;
  margin: -10px auto 20px;
}

.success-header {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.success-icon {
  width: 44px;
  height: 44px;
  background: #d1fae5;
  color: #10b981;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}

.success-text .s-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px;
}

.success-text .s-sub {
  font-size: 13px;
  color: #666;
  margin: 0;
  line-height: 1.4;
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.success-actions button {
  height: 54px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}

.btn-primary {
  background: #ea1d2c;
  color: #fff;
  border: none;
}

.btn-outline {
  background: #fff;
  color: #1a1a1a;
  border: 1px solid #eee;
}

.btn-outline i {
  font-size: 14px;
}

</style><style>

/* CART VIEW */
.cart-view {
  position: fixed;
  inset: 0;
  background: #f6f6f7;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  visibility: hidden;
}

.cart-view.active {
  transform: translateX(0);
  visibility: visible;
}

.cart-content {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 154px;
}

.cart-inner-header {
  max-width: 680px;
  margin: 24px auto 16px;
  padding: 0 16px;
}

.cart-page-title {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 4px;
}

.cart-page-sub {
  font-size: 13px;
  color: #717171;
  margin: 0;
}

.cart-items {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-item {
  background: #fff;
  border-radius: 20px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.item-top {
  display: flex;
  gap: 12px;
}

.item-img {
  width: 80px;
  height: 80px;
  border-radius: 14px;
  object-fit: cover;
}

.item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.item-name {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.3;
}

.item-price {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
}

.item-subtotal {
  margin-left: auto;
  font-size: 13px;
  color: #717171;
}

.item-subtotal strong {
  color: #1a1a1a;
  font-weight: 800;
}

.item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f8f9fa;
  padding-top: 12px;
}

.cart-stepper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-step-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid #ea1d2c;
  background: #fff;
  color: #ea1d2c;
  font-size: 18px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.cart-qty-num {
  font-size: 14px;
  font-weight: 700;
  min-width: 20px;
  text-align: center;
}

.btn-remove {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: #f8f9fa;
  color: #ea1d2c;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.add-more-btn {
  display: block;
  margin: 24px auto;
  background: none;
  border: none;
  color: #ea1d2c;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

.cart-footer {
  position: fixed;
  bottom: calc(var(--footer-h, 64px) + env(safe-area-inset-bottom, 0px));
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 20001;
  border-top: 1px solid #eee;
}

.cart-total-info {
  display: flex;
  flex-direction: column;
}

.total-label {
  font-size: 12px;
  color: #999;
}

.items-count {
  font-size: 13px;
  color: #666;
  font-weight: 500;
}

.cart-footer-btn-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 16px 16px;
}

.btn-prosseguir {
  width: 100%;
  height: 54px;
  border-radius: 12px;
  background: #ea1d2c;
  color: #fff;
  border: none;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(234, 29, 44, 0.2);
  cursor: pointer;
}