/* ===== RESET & VARIABLES ===== */
*{
  margin:0;padding:0;box-sizing:border-box;
  --red:#ea1d2c;
  --red2:#c31420;
  --bg:#f6f6f7;
  --text:#111827;
  --muted:#6b7280;
  --card:#fff;
  --line:rgba(17,24,39,.10);
  --shadow:0 18px 50px rgba(16,24,40,.08);
  --safe:env(safe-area-inset-bottom,0px);
}
html{scroll-behavior:smooth}
body{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  background:var(--bg);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.5;
  padding:0!important;
}
a{text-decoration:none;color:inherit}
button{cursor:pointer;font-family:inherit;border:0;background:transparent}
img{max-width:100%;display:block}
input,textarea,select{font-family:inherit}

/* ===== APP CONTAINER ===== */
.app{
  max-width:560px;
  margin:0 auto;
  background:var(--bg);
  padding:0 14px;
}

/* ===== LOCATION POPUP ===== */
.loc-overlay{
  position:fixed;inset:0;
  background:rgba(0,0,0,.45);
  backdrop-filter:blur(8px);
  z-index:10000;
  display:flex;align-items:flex-end;justify-content:center;
  opacity:0;
  transition:opacity .25s ease;
  pointer-events:none;
}
.loc-overlay.is-open{opacity:1;pointer-events:auto}
.loc-sheet{
  width:min(560px,100%);
  background:#fff;
  border-radius:22px 22px 0 0;
  padding:12px 18px calc(20px + var(--safe));
  transform:translateY(100%);
  transition:transform .3s cubic-bezier(.22,1,.36,1);
}
.loc-overlay.is-open .loc-sheet{transform:translateY(0)}
.loc-handle{width:50px;height:5px;border-radius:999px;background:rgba(17,24,39,.15);margin:0 auto 16px}
.loc-icon{
  width:64px;height:64px;border-radius:20px;
  background:rgba(234,29,44,.08);
  display:grid;place-items:center;
  margin:0 auto 14px;
}
.loc-icon i{font-size:28px;color:var(--red)}
.loc-title{font-size:18px;font-weight:700;text-align:center;margin-bottom:6px;color:var(--text)}
.loc-sub{font-size:13.5px;color:var(--muted);text-align:center;line-height:1.45;margin-bottom:18px}
.loc-card{
  display:flex;gap:12px;align-items:center;
  background:#f9fafb;border:1px solid rgba(17,24,39,.08);
  border-radius:16px;padding:14px;margin-bottom:14px;
}
.loc-card-icon{
  width:48px;height:48px;border-radius:14px;
  background:rgba(34,197,94,.10);color:#16a34a;
  display:grid;place-items:center;font-size:20px;flex:0 0 auto;
}
.loc-card-info{flex:1;min-width:0}
.loc-card-name{font-size:14px;font-weight:700;margin-bottom:2px}
.loc-card-dist{font-size:12.5px;color:var(--muted)}
.loc-card-dist strong{color:#16a34a;font-weight:700}
.loc-card-time{
  display:inline-flex;align-items:center;gap:4px;
  font-size:11.5px;color:var(--muted);margin-top:4px;
}
.loc-card-time i{font-size:10px;color:var(--red)}
.loc-btn{
  width:100%;height:54px;border-radius:14px;border:0;
  background:var(--red);color:#fff;font-size:15px;font-weight:700;
  display:flex;align-items:center;justify-content:center;gap:10px;
  letter-spacing:.2px;margin-bottom:8px;
  box-shadow:0 12px 30px rgba(234,29,44,.25);
}
.loc-btn:active{background:var(--red2)}
.loc-btn-ghost{
  width:100%;height:48px;border-radius:14px;
  border:1px solid rgba(17,24,39,.10);background:#fff;
  color:var(--text);font-size:13.5px;font-weight:600;
  display:flex;align-items:center;justify-content:center;gap:8px;
}
.loc-pulse{
  width:10px;height:10px;border-radius:999px;
  background:#16a34a;position:relative;flex:0 0 auto;
}
.loc-pulse::after{
  content:"";position:absolute;inset:-3px;
  border-radius:999px;border:2px solid rgba(22,163,106,.40);
  animation:locPulse 1.5s ease-in-out infinite;
}
@keyframes locPulse{
  0%,100%{transform:scale(1);opacity:.7}
  50%{transform:scale(1.5);opacity:0}
}

/* ===== DRAWER ===== */
.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}
.drawerText{min-width:0}
.drawerName{font-size:13.5px;font-weight:600;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;font-size:16px;
}
.drawerNav{padding:10px 8px;overflow:auto;flex:1}
.drawerLink{
  position:relative;display:flex;align-items:center;gap:12px;
  padding:12px;margin: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);
  transition:background .12s;
}
.drawerLink:hover{background:rgba(17,24,39,.04)}
.drawerLink i{color:var(--red);width:18px;text-align:center}
.drawerLink:active{transform:translateY(1px)}
.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;
}

/* ===== TOPBAR ===== */
.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:.3s;opacity:0;
}
.topbarMain.is-visible{top:0;opacity:1}
.topRow{display:flex;align-items:center;justify-content:space-between;gap: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;cursor:pointer;font-size:16px;
  text-decoration:none;
}
.iconbtn:active{transform:translateY(1px)}
.iconbtn.is-primary{
  background:var(--red);border-color:transparent;color:#fff;
  box-shadow:0 18px 34px rgba(234,29,44,.22);
}
.iconbtn.is-primary:hover{background:#c31420}
.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;font-size:13px;font-weight:600;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.titlebar i{color:var(--red);margin-right:8px}

/* ===== HERO ===== */
.hero{
  position:relative;height:260px;
  border-radius:22px;overflow:hidden;
  box-shadow:0 18px 50px rgba(16,24,40,.12);
}
.hero__img{
  width:100%;height:100%;background-size:cover;
  background-position:center;
}
.hero__fade{
  position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.05) 0%,rgba(0,0,0,.0) 55%,rgba(0,0,0,.35) 100%);
  pointer-events:none;
}
.openBadge{
  position:absolute;bottom:14px;left:14px;
  background:rgba(34,197,94,.95);color:#fff;
  padding:6px 12px;border-radius:10px;
  font-size:11px;letter-spacing:.5px;font-weight:700;
  backdrop-filter:blur(8px);
}

/* ===== STORE CARD ===== */
.store{
  margin-top:14px;background:var(--card);
  border-radius:22px;box-shadow:var(--shadow);padding:14px;
}
.store-top{display:flex;gap:12px;align-items:flex-start}
.store-logo{
  width:58px;height:58px;border-radius:999px;overflow:hidden;
  border:3px solid #fff;box-shadow:0 10px 24px rgba(16,24,40,.12);
  flex:0 0 auto;background:#fff;
}
.store-logo img{width:100%;height:100%;object-fit:cover}
.store-name{
  font-size:17px;font-weight:700;display:flex;
  align-items:center;gap:6px;margin:0;line-height:1.2;
}
.store-meta{
  display:flex;flex-wrap:wrap;gap:6px;margin-top:8px;
}
.pill{
  display:inline-flex;align-items:center;gap:5px;
  background:#f1f3f5;border-radius:10px;padding:5px 10px;
  font-size:12px;color:var(--muted);
}
.pill i{font-size:11px}
.pill.green{background:rgba(34,197,94,.10);color:#16a34a}

/* ===== RATING ===== */
.rating-badge{display:flex;align-items:center;gap:4px;margin-top:4px}
.rating-badge .star{color:#f59e0b;font-size:14px}
.rating-badge .score{font-size:13px;font-weight:700}
.rating-badge .count{font-size:12px;color:var(--muted)}

/* ===== SEARCH ===== */
.search{display:flex;gap:8px;margin-top:12px}
.searchbox{
  flex:1;display:flex;align-items:center;gap:8px;
  background:#f1f3f5;border-radius:14px;padding:0 12px;
  border:1px solid rgba(17,24,39,.08);
}
.searchbox i{color:var(--muted);font-size:14px}
.searchbox input{
  border:0;outline:0;background:transparent;
  width:100%;height:44px;font-size:13.5px;
}
.filter{
  width:44px;height:44px;border-radius:14px;
  border:1px solid rgba(17,24,39,.10);background:#fff;
  display:grid;place-items:center;color:#111;font-size:14px;
}

/* ===== SECTIONS ===== */
.section{padding:18px 14px 0}
.sectionTitle{
  display:flex;align-items:center;justify-content:space-between;
  margin-bottom:12px;
}
.sectionTitle h2{font-size:14px;letter-spacing:.3px;font-weight:700;margin:0}
.seeall{color:var(--red);font-size:12.5px;font-weight:600}

/* ===== HORIZONTAL CARDS (destaques) ===== */
.hscroll{
  display:flex;gap:12px;overflow-x:auto;
  scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;
  scrollbar-width:none;padding-bottom:4px;
}
.hscroll::-webkit-scrollbar{display:none}
.hcard{
  scroll-snap-align:start;flex:0 0 auto;width:200px;
  background:var(--card);border-radius:16px;overflow:hidden;
  box-shadow:0 10px 30px rgba(16,24,40,.08);
  border:1px solid rgba(17,24,39,.06);
  cursor:pointer;transition:transform .12s;
}
.hcard:active{transform:scale(.98)}
.hinner{display:flex;flex-direction:column;height:100%}
.hthumb{position:relative;height:130px;overflow:hidden;background:#eee}
.hthumb img{width:100%;height:100%;object-fit:cover}
.hbadge{
  position:absolute;top:8px;left:8px;
  background:rgba(234,29,44,.92);color:#fff;
  padding:3px 8px;border-radius:8px;font-size:10.5px;
  font-weight:600;letter-spacing:.2px;
}
.hinfo{padding:10px 12px 12px;display:flex;flex-direction:column;flex:1}
.htitle{font-size:13px;font-weight:600;line-height:1.3;margin-bottom:6px}
.htitle a{color:inherit;text-decoration:none}
.hprice{font-size:13px;margin-bottom:8px}
.hprice span{font-weight:700;color:var(--red)}
.hprice s{color:var(--muted);font-size:12px;margin-left:6px;font-weight:400}
.hadd{
  margin-top:auto;width:100%;height:38px;border-radius:10px;
  border:0;background:var(--red);color:#fff;font-size:12.5px;
  font-weight:600;letter-spacing:.2px;
}
.hadd:active{background:var(--red2)}

/* ===== DISCOUNT BADGE ===== */
.discount-badge{
  position:absolute;top:8px;right:8px;
  background:rgba(22,163,106,.92);color:#fff;
  padding:2px 7px;border-radius:8px;font-size:10.5px;
  font-weight:700;letter-spacing:.2px;
}

/* ===== PRODUCT LIST ===== */
.plist{display:flex;flex-direction:column;gap:12px}
.pitem{
  position:relative;display:flex;gap:12px;
  background:var(--card);border-radius:16px;padding:12px;
  box-shadow:0 10px 30px rgba(16,24,40,.06);
  border:1px solid rgba(17,24,39,.06);cursor:pointer;
  transition:transform .12s;
}
.pitem:active{transform:scale(.99)}
.ptitle{font-size:14px;font-weight:600;margin:0 0 4px;line-height:1.3}
.ptitle a{color:inherit;text-decoration:none}
.pdesc{
  font-size:12.5px;color:var(--muted);margin:0 0 6px;
  line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;
  -webkit-box-orient:vertical;overflow:hidden;
}
.pfrom{font-size:11px;color:var(--muted)}
.prow{display:flex;align-items:center;gap:8px;margin-top:2px}
.pprice{font-size:15px;font-weight:700;color:var(--red)}
.pold{font-size:12px;color:var(--muted);text-decoration:line-through}
.pimgWrap{
  flex:0 0 100px;height:100px;border-radius:14px;overflow:hidden;
  background:#eee;position:relative;
}
.pimg{width:100%;height:100%;object-fit:cover}
.plus{
  position:absolute;bottom:10px;right:10px;
  width:34px;height:34px;border-radius:10px;
  background:#0f1115;color:#fff;display:grid;place-items:center;
  font-size:14px;
}
.plus:active{background:var(--red)}

/* ===== CATEGORIES NAV ===== */
.cat-nav{
  display:flex;gap:8px;overflow-x:auto;padding:12px 14px;
  scrollbar-width:none;
}
.cat-nav::-webkit-scrollbar{display:none}
.cat-chip{
  flex:0 0 auto;display:flex;align-items:center;gap:6px;
  padding:8px 14px;border-radius:12px;
  border:1px solid rgba(17,24,39,.10);background:#fff;
  font-size:12.5px;font-weight:600;color:var(--text);
  white-space:nowrap;transition:all .15s;
}
.cat-chip i{font-size:14px;color:var(--red)}
.cat-chip.active{background:var(--red);color:#fff;border-color:var(--red)}
.cat-chip.active i{color:#fff}

/* ===== REVIEWS ===== */
.app-reviews{
  margin:20px 14px 0;background:var(--card);border-radius:18px;
  padding:16px;box-shadow:var(--shadow);
}
.app-reviews__header{
  display:flex;align-items:flex-start;justify-content:space-between;
  margin-bottom:12px;
}
.app-reviews .title{font-size:16px;font-weight:700;margin:0;display:flex;align-items:center;gap:6px}
.app-reviews .title i{color:#f59e0b;font-size:16px}
.app-reviews__count{font-size:12px;color:var(--muted);margin-top:2px}
.app-reviews__badge{
  background:rgba(34,197,94,.10);color:#16a34a;
  padding:4px 10px;border-radius:8px;font-size:11px;font-weight:600;
}
.app-reviews__summary{
  display:flex;align-items:center;gap:8px;
  margin-bottom:14px;font-size:12px;color:var(--muted);
}
.stars{display:flex;gap:2px;color:#f59e0b;font-size:14px}
.stars.small{font-size:12px;margin-bottom:4px}
.review-item{
  display:flex;gap:10px;padding:10px 0;
  border-top:1px solid rgba(17,24,39,.06);
}
.review-item .avatar{
  width:36px;height:36px;border-radius:999px;
  background:rgba(234,29,44,.10);color:var(--red);
  display:grid;place-items:center;font-weight:700;
  font-size:14px;flex:0 0 auto;
}
.review-item .content{min-width:0;flex:1}
.review-item .top{display:flex;justify-content:space-between;gap:8px;margin-bottom:2px}
.review-item .top strong{font-size:13px}
.review-item .top span{font-size:11px;color:var(--muted)}
.review-item p{font-size:12.5px;color:var(--muted);margin:0;line-height:1.4}
.btn-more{
  width:100%;height:44px;border-radius:12px;margin-top:12px;
  border:1px solid rgba(17,24,39,.10);background:#fff;
  color:var(--text);font-size:13px;font-weight:600;
}

/* ===== FOOTER ===== */
.footer{
  margin-top:30px;padding:20px 14px 100px;text-align:center;
}
.footer-links{
  display:flex;flex-wrap:wrap;justify-content:center;gap:12px;
  margin-bottom:14px;
}
.footer-links a{font-size:12.5px;color:var(--muted)}
.footer-trust{
  display:flex;flex-wrap:wrap;justify-content:center;gap:14px;
  margin-bottom:12px;
}
.trust-item{
  display:inline-flex;align-items:center;gap:5px;
  font-size:11.5px;color:var(--muted);
}
.trust-item i{color:var(--red);font-size:12px}
.footer-copy{font-size:11.5px;color:#9aa1aa;margin:0}

/* ===== FOOTER NAV ===== */
.footer-nav{
  position:fixed;bottom:0;left:0;right:0;z-index:50;
  background:#fff;border-top:1px solid rgba(17,24,39,.10);
  display:flex;justify-content:space-around;
  padding:6px 0 calc(6px + var(--safe));
}
.nav-item{
  display:flex;flex-direction:column;align-items:center;gap:2px;
  padding:6px 12px;text-decoration:none;color:var(--muted);
  font-size:10.5px;position:relative;
}
.nav-item i{font-size:20px}
.nav-item.active{color:var(--red)}
.nav-item span{font-weight:600}
.cart-badge{
  position:absolute;top:0;right:4px;
  background:var(--red);color:#fff;
  width:18px;height:18px;border-radius:999px;
  font-size:10px;font-weight:700;
  display:grid;place-items:center;
}

/* ===== PRODUTO PAGE ===== */
.produto-hero{
  position:relative;height:320px;background:#000;overflow:hidden;
}
.produto-hero img{width:100%;height:100%;object-fit:cover;transform:scale(1.02)}
.produto-hero::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.10) 0%,rgba(0,0,0,.0) 55%,rgba(0,0,0,.25) 100%);
  pointer-events:none;
}
.sheet{
  margin-top:18px;background:var(--card);border-radius:22px;
  box-shadow:var(--shadow);padding:16px 16px 18px;
}
.sheet .title{margin:0 0 6px;font-size:22px;line-height:1.15;font-weight:700}
.sheet .desc{margin:0 0 14px;color:var(--muted);font-size:13.5px;line-height:1.45}
.sheet .price-row{
  display:flex;align-items:center;gap:10px;margin-bottom:14px;
}
.sheet .price-main{font-size:24px;font-weight:800;color:var(--red)}
.sheet .price-old{font-size:14px;color:var(--muted);text-decoration:line-through}
.sheet .price-discount{
  background:rgba(22,163,106,.10);color:#16a34a;
  padding:3px 8px;border-radius:8px;font-size:11.5px;font-weight:700;
}
.block{
  border:1px solid var(--line);border-radius:16px;
  padding:12px;background:#fff;margin-bottom:12px;
}
.blockTop{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.blockTitle{font-size:13px;letter-spacing:.2px;font-weight:600}
.blockHint{font-size:11.5px;color:#9aa1aa}
.block textarea{
  width:100%;border:1px solid rgba(17,24,39,.10);border-radius:14px;
  padding:12px;outline:none;resize:none;font-size:13.5px;
  min-height:88px;background:#fff;
}

/* Tamanho opcoes */
.size-options{display:flex;flex-direction:column;gap:8px}
.size-opt{
  display:flex;align-items:center;gap:10px;
  padding:10px 12px;border-radius:12px;
  border:1.5px solid rgba(17,24,39,.10);background:#fff;
  cursor:pointer;transition:all .15s;
}
.size-opt.active{border-color:var(--red);background:rgba(234,29,44,.04)}
.size-opt input[type="radio"]{
  width:20px;height:20px;accent-color:var(--red);
  flex:0 0 auto;
}
.size-opt-info{flex:1;min-width:0}
.size-opt-name{font-size:13.5px;font-weight:600}
.size-opt-desc{font-size:11.5px;color:var(--muted)}
.size-opt-price{font-size:14px;font-weight:700;color:var(--red);white-space:nowrap}

/* ===== BAR FIXA (produto) ===== */
.bar{
  position:fixed;left:0;right:0;bottom:0;
  padding:12px 14px calc(12px + var(--safe));
  background:#fff;border-top:1px solid rgba(17,24,39,.10);
  box-shadow:0 -18px 40px rgba(16,24,40,.08);z-index:50;
}
.barInner{max-width:560px;margin:0 auto}
.barRow{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.total{font-size:18px;color:#111;font-weight:700}
.qty{display:flex;align-items:center;gap:10px}
.qbtn{
  width:42px;height:42px;border-radius:12px;border:0;
  background:#0f1115;color:#fff;font-size:22px;line-height:0;
  display:grid;place-items:center;
}
.qnum{min-width:22px;text-align:center;font-size:16px;color:#111;font-weight:700}
.addBtn{
  width:100%;height:56px;border-radius:14px;border:0;
  background:var(--red);color:#fff;letter-spacing:.25px;
  display:flex;align-items:center;justify-content:center;
  gap:10px;text-transform:uppercase;font-weight:700;font-size:14px;
}
.addBtn:active{background:var(--red2)}

/* ===== CONFIRM SHEET ===== */
.confirmOverlay{
  position:fixed;inset:0;background:rgba(0,0,0,.30);
  opacity:0;pointer-events:none;transition:opacity .18s ease;z-index:1100;
}
.confirmSheet{
  position:fixed;left:0;right:0;margin:auto;bottom:0;display:none;
  width:min(560px,100%);background:#fff;
  border-radius:18px 18px 0 0;
  box-shadow:0 -30px 80px rgba(0,0,0,.25);z-index:1101;
  padding:10px 14px calc(14px + env(safe-area-inset-bottom,0px));
}
.confirmSheet.is-open{display:block}
.confirmOverlay.is-open{opacity:1;pointer-events:auto}
.confirmHandle{width:54px;height:5px;border-radius:999px;background:rgba(17,24,39,.20);margin:6px auto 10px}
.confirmBody{display:flex;align-items:center;gap:12px;padding:6px 6px 10px}
.confirmIcon{
  width:44px;height:44px;border-radius:14px;
  background:rgba(34,197,94,.12);color:#16a34a;
  display:grid;place-items:center;font-size:22px;flex:0 0 auto;
}
.confirmTitle{font-size:15px;font-weight:600}
.confirmSub{margin-top:2px;color:#6b7280;font-size:12.5px;line-height:1.35}
.confirmActions{display:grid;gap:10px;padding:6px}
.confirmBtn{
  height:52px;border-radius:14px;border:0;display:flex;
  align-items:center;justify-content:center;gap:10px;
  text-decoration:none;font-size:14px;font-weight:600;
}
.confirmBtn.primary{background:var(--red);color:#fff}
.confirmBtn.primary:active{background:var(--red2)}
.confirmBtn.ghost{background:#fff;border:1px solid rgba(17,24,39,.12);color:#111}

/* ===== CART PAGE ===== */
.cart-empty{
  text-align:center;padding:60px 20px;
}
.cart-empty i{font-size:60px;color:rgba(17,24,39,.10);margin-bottom:16px}
.cart-empty h2{font-size:18px;margin-bottom:8px}
.cart-empty p{color:var(--muted);font-size:14px;margin-bottom:20px}
.cart-item{
  display:flex;gap:12px;background:var(--card);border-radius:16px;
  padding:12px;box-shadow:0 10px 30px rgba(16,24,40,.06);
  border:1px solid rgba(17,24,39,.06);margin-bottom:10px;
}
.cart-item-img{
  width:80px;height:80px;border-radius:12px;overflow:hidden;flex:0 0 auto;background:#eee;
}
.cart-item-img img{width:100%;height:100%;object-fit:cover}
.cart-item-info{flex:1;min-width:0}
.cart-item-name{font-size:14px;font-weight:600;margin-bottom:4px}
.cart-item-price{font-size:15px;font-weight:700;color:var(--red)}
.cart-item-obs{font-size:11.5px;color:var(--muted);margin-top:2px}
.cart-item-actions{display:flex;align-items:center;gap:8px;margin-top:8px}
.cart-item-actions .qbtn{width:32px;height:32px;border-radius:10px;font-size:18px}
.cart-item-actions .qnum{font-size:14px;min-width:20px}
.cart-item-remove{
  margin-left:auto;color:var(--red);font-size:12px;font-weight:600;
  background:none;border:0;cursor:pointer;
}
.cart-summary{
  background:var(--card);border-radius:16px;padding:16px;
  box-shadow:var(--shadow);margin-top:14px;
}
.cart-summary-row{
  display:flex;justify-content:space-between;align-items:center;
  padding:8px 0;font-size:14px;
}
.cart-summary-row.total{
  border-top:1px solid var(--line);padding-top:12px;margin-top:4px;
  font-size:18px;font-weight:700;
}
.cart-summary-row.total .val{color:var(--red)}
.btn-checkout{
  width:100%;height:56px;border-radius:14px;border:0;
  background:var(--red);color:#fff;font-size:15px;font-weight:700;
  letter-spacing:.25px;display:flex;align-items:center;
  justify-content:center;gap:10px;margin-top:14px;
}
.btn-checkout:active{background:var(--red2)}
.btn-back{
  width:100%;height:48px;border-radius:14px;margin-top:10px;
  border:1px solid rgba(17,24,39,.10);background:#fff;
  color:#111;font-size:14px;font-weight:600;
  display:flex;align-items:center;justify-content:center;gap:8px;
}

/* ===== CHECKOUT PAGE ===== */
.checkout-section{
  background:var(--card);border-radius:16px;padding:16px;
  box-shadow:var(--shadow);margin-bottom:14px;
}
.checkout-section h3{
  font-size:15px;font-weight:700;margin:0 0 12px;
  display:flex;align-items:center;gap:8px;
}
.checkout-section h3 i{color:var(--red);font-size:16px}
.form-group{margin-bottom:12px}
.form-group label{display:block;font-size:12.5px;font-weight:600;margin-bottom:6px;color:var(--text)}
.form-input{
  width:100%;height:48px;border-radius:14px;
  border:1px solid rgba(17,24,39,.12);padding:0 14px;
  font-size:14px;outline:none;background:#fff;
  transition:border-color .15s;
}
.form-input:focus{border-color:var(--red);box-shadow:0 0 0 3px rgba(234,29,44,.08)}
.form-row{display:flex;gap:10px}
.form-row .form-group{flex:1}

/* Payment tabs */
.pay-tabs{display:flex;gap:8px;margin-bottom:16px}
.pay-tab{
  flex:1;height:52px;border-radius:14px;
  border:2px solid rgba(17,24,39,.10);background:#fff;
  display:flex;align-items:center;justify-content:center;
  gap:8px;font-size:13.5px;font-weight:600;color:var(--text);
  transition:border-color .15s,background .15s;
}
.pay-tab.active{border-color:var(--red);background:rgba(234,29,44,.05);color:var(--red)}
.pay-tab i{font-size:18px}

/* PIX */
.pix-box{text-align:center;padding:10px 0}
.pix-qr{
  width:200px;height:200px;margin:12px auto;
  border-radius:16px;border:2px solid rgba(17,24,39,.08);
  background:#fff;display:grid;place-items:center;
  overflow:hidden;
}
.pix-qr svg{width:160px;height:160px}
.pix-code{
  background:#f1f3f5;border-radius:12px;padding:12px;
  font-size:11px;word-break:break-all;color:var(--muted);
  margin:12px 0;
}
.pix-copy{
  height:48px;border-radius:14px;border:0;
  background:var(--red);color:#fff;font-size:14px;
  font-weight:600;padding:0 24px;display:inline-flex;
  align-items:center;gap:8px;
}

/* Order success */
.success-box{
  text-align:center;padding:40px 20px;
}
.success-box i.fa-circle-check{font-size:60px;color:#16a34a;margin-bottom:16px}
.success-box h2{font-size:20px;font-weight:700;margin-bottom:8px}
.success-box p{color:var(--muted);font-size:14px;margin-bottom:20px;line-height:1.5}

/* ===== UTILITY ===== */
.flex-grow-1{flex-grow:1}
.hidden{display:none!important}
.mt-10{margin-top:10px}
.mb-80{margin-bottom:80px}
.pb-120{padding-bottom:120px}

/* ===== TOAST ===== */
.toast{
  position:fixed;top:20px;left:50%;transform:translateX(-50%) translateY(-100px);
  background:#111827;color:#fff;padding:12px 20px;border-radius:14px;
  font-size:13px;font-weight:600;z-index:11000;
  box-shadow:0 18px 40px rgba(0,0,0,.25);
  display:flex;align-items:center;gap:8px;
  transition:transform .3s cubic-bezier(.22,1,.36,1);
  white-space:nowrap;
}
.toast.is-visible{transform:translateX(-50%) translateY(0)}
.toast i{font-size:16px}
.toast.success i{color:#16a34a}
.toast.error i{color:var(--red)}
