:root{
  --blue:#185FA5;
  --blue-dark:#0C447C;
  --blue-deep:#042C53;
  --blue-mid:#378ADD;
  --blue-light:#E6F1FB;
  --blue-soft:#F4F8FD;
  --blue-border:#B5D4F4;

  --green:#1D9E75;
  --green-dark:#085041;
  --green-soft:#EAF3DE;
  --green-text:#27500A;

  --amber:#FAEEDA;
  --amber-text:#854F0B;

  --red:#E24B4A;
  --red-soft:#FCEBEB;
  --red-text:#791F1F;

  --text:#142218;
  --text-secondary:#5F5E5A;
  --text-muted:#888780;
  --line:#E8EEF5;
  --bg:#F4F8FD;
  --card:#ffffff;

  --radius-sm:8px;
  --radius-md:12px;
  --radius-lg:16px;
  --radius-xl:20px;

  --shadow-sm:0 2px 8px rgba(24,95,165,0.06);
  --shadow-md:0 8px 24px rgba(24,95,165,0.08);
  --shadow-lg:0 12px 34px rgba(24,95,165,0.12);
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  background:var(--bg);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  color:var(--text);
  line-height:1.4;
  -webkit-font-smoothing:antialiased;
}
button,input,textarea,select{font-family:inherit;font-size:inherit}
button{cursor:pointer;border:0;background:none}

.app-shell{
  max-width:520px;
  margin:0 auto;
  min-height:100vh;
  background:var(--bg);
}

.header{
  position:sticky;top:0;z-index:20;
  background:var(--blue);
  color:#fff;
  padding:14px 16px 16px;
}
.header-top{
  display:flex;align-items:center;justify-content:space-between;
  margin-bottom:10px;
}
.header-greeting{font-size:12px;opacity:.85}
.header-status{
  background:rgba(255,255,255,.18);
  padding:4px 10px;border-radius:12px;
  font-size:12px;font-weight:500;
}
.header-status.closed{background:rgba(226,75,74,.85)}
.header-title{font-size:19px;font-weight:500;line-height:1.3}
.header-subtitle{font-size:12px;opacity:.85;margin-top:2px}


.store-branding{display:flex;align-items:center;gap:10px;min-width:0;flex:1;padding-right:10px}
.store-logo{width:50px;height:50px;border-radius:14px;object-fit:contain;background:#fff;padding:5px;box-shadow:0 4px 14px rgba(0,0,0,.12);flex-shrink:0}
.store-copy{min-width:0;display:flex;flex-direction:column;gap:2px}
.store-name{font-size:24px;font-weight:700;line-height:1.15;word-break:break-word}
.store-tagline{font-size:13px;opacity:.9;line-height:1.3;word-break:break-word}

.powered-by-footer{
  margin-top:18px;
  padding:18px 14px;
  border:1px solid var(--blue-border);
  border-radius:16px;
  background:#fff;
  box-shadow:0 4px 16px rgba(24,95,165,.06);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.powered-by-label{
  font-size:13px;
  color:var(--text-secondary);
  font-weight:500;
}
.powered-by-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}
.powered-by-logo{
  height:26px;
  width:auto;
  display:block;
}

.search-bar{
  margin-top:12px;
  background:#fff;
  border-radius:20px;
  padding:8px 14px;
  display:flex;align-items:center;gap:8px;
  border:0;width:100%;
  color:var(--text);
}
.search-bar input{
  flex:1;border:0;outline:0;background:transparent;
  font-size:14px;color:var(--text);
}
.search-bar input::placeholder{color:var(--text-muted)}

.cart-badge-icon{
  position:relative;
  width:36px;height:36px;border-radius:50%;
  background:rgba(255,255,255,.18);
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
}
.cart-badge-icon .badge{
  position:absolute;top:-2px;right:-2px;
  background:#fff;color:var(--blue);
  font-size:11px;font-weight:500;
  padding:1px 6px;border-radius:10px;
  min-width:18px;text-align:center;
  border:1.5px solid var(--blue);
}

.main{padding:14px 16px 96px}

.categories{
  display:flex;gap:8px;
  overflow-x:auto;overflow-y:hidden;
  padding:4px 0 12px;
  scrollbar-width:none;
}
.categories::-webkit-scrollbar{display:none}
.category-btn{
  flex-shrink:0;white-space:nowrap;
  padding:11px 18px;border-radius:12px;
  background:#fff;border:1px solid var(--blue-border);
  color:var(--blue);font-size:16px;font-weight:500;
}
.category-btn.active{
  background:var(--blue);border-color:var(--blue);color:#fff;
}

.cashback-card{
  background:linear-gradient(135deg,var(--blue-mid) 0%,var(--blue) 100%);
  border-radius:var(--radius-lg);
  padding:14px;
  display:flex;align-items:center;justify-content:space-between;
  color:#fff;
  margin-bottom:14px;
}
.cashback-card .label{font-size:12px;font-weight:500;opacity:.85}
.cashback-card .value{font-size:19px;font-weight:500;margin-top:2px}
.cashback-card .hint{font-size:12px;opacity:.8;margin-top:2px}
.cashback-icon{
  width:44px;height:44px;border-radius:50%;
  background:rgba(255,255,255,.18);
  display:flex;align-items:center;justify-content:center;
}
.cashback-icon .inner{
  width:32px;height:32px;border-radius:50%;
  background:#fff;color:var(--blue);
  font-size:14px;font-weight:500;
  display:flex;align-items:center;justify-content:center;
}

.section-title{
  display:flex;align-items:center;justify-content:space-between;
  margin:6px 0 10px;
}
.section-title h2{font-size:16px;font-weight:500}
.section-title .link{font-size:13px;color:var(--blue);font-weight:500}

.product-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;
}
.product-card{
  background:#fff;border:1px solid #c8d7ea;
  border-radius:var(--radius-md);
  box-shadow:0 4px 12px rgba(12, 68, 124, .07);
  overflow:hidden;
  display:flex;flex-direction:column;
  min-height:238px;
}
.product-card .image{
  height:150px;background:#fff;
  display:flex;align-items:center;justify-content:center;
  position:relative;overflow:hidden;padding:10px;
  border-bottom:1px solid #dbe7f4;
}
.product-card .image img{width:100%;height:100%;object-fit:contain}
.product-card .image .placeholder{
  width:76px;height:76px;border-radius:16px;background:var(--blue-light);
  display:flex;align-items:center;justify-content:center;
  font-size:32px;color:var(--blue);font-weight:500;opacity:.55;
}
.product-card .body{padding:10px 11px 12px;flex:1;display:flex;flex-direction:column}
.product-card .name{font-size:13px;font-weight:500;line-height:1.35;flex:1}
.product-card .price{font-size:14px;font-weight:500;color:var(--blue);margin-top:5px}
.product-card:hover{box-shadow:0 8px 18px rgba(12, 68, 124, .10);transform:translateY(-1px)}
.product-card{transition:box-shadow .18s ease, transform .18s ease}
@media (max-width:430px){
  .product-card{min-height:214px;}
  .product-card .image{height:128px;padding:8px;}
}

@media (max-width:430px){
  .store-logo{width:44px;height:44px;border-radius:12px;}
  .store-name{font-size:21px;}
  .store-tagline{font-size:12px;}
  .powered-by-footer{flex-direction:column;align-items:flex-start;}
}

.status-pill{
  position:absolute;top:6px;left:6px;
  background:#fff;border-radius:8px;
  padding:2px 6px;font-size:10px;font-weight:500;
  color:var(--blue-dark);
}
.status-pill.red{color:var(--red-text)}
.status-pill.warn{color:var(--amber-text)}

.cart-fixed-btn{
  position:fixed;left:50%;transform:translateX(-50%);bottom:14px;
  width:min(488px,calc(100% - 28px));
  background:var(--blue);color:#fff;
  padding:14px;border-radius:var(--radius-md);
  display:flex;align-items:center;justify-content:space-between;
  font-size:14px;font-weight:500;
  z-index:30;
  box-shadow:var(--shadow-lg);
}

.detail-back{
  background:#fff;padding:12px 16px;
  display:flex;align-items:center;justify-content:space-between;
  border-bottom:0.5px solid var(--line);
}
.detail-back .back-btn{
  display:flex;align-items:center;gap:6px;
  color:var(--blue);font-size:15px;font-weight:500;
}
.detail-back .category{font-size:13px;color:var(--text-muted)}

.detail-image{
  background:#fff;
  min-height:260px;display:flex;align-items:center;justify-content:center;
  padding:18px;border-bottom:0.5px solid var(--line);
}
.detail-image img{max-width:100%;max-height:240px;object-fit:contain;border-radius:10px}
.detail-image .detail-placeholder{
  width:118px;height:118px;border-radius:22px;background:var(--blue-light);
  display:flex;align-items:center;justify-content:center;
  font-size:48px;color:var(--blue);font-weight:500;opacity:.6;
}

.detail-info{padding:16px}
.detail-name{font-size:21px;font-weight:500}
.detail-desc{font-size:14px;color:var(--text-secondary);line-height:1.5;margin-top:4px}
.detail-price{font-size:19px;font-weight:500;color:var(--blue);margin-top:10px}

.option-section{padding:0 16px 14px}
.option-label{
  font-size:14px;font-weight:500;margin-bottom:8px;
  display:flex;align-items:center;justify-content:space-between;
}
.option-required{color:var(--red-text);font-size:12px}

.size-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.size-item{
  background:#fff;border:1px solid var(--blue-border);
  border-radius:var(--radius-sm);padding:10px;text-align:center;
  cursor:pointer;
}
.size-item.selected{
  background:var(--blue-light);border:2px solid var(--blue);
  padding:9px;
}
.size-item .size-name{font-size:14px;font-weight:500}
.size-item.selected .size-name{color:var(--blue-dark)}
.size-item .size-desc{font-size:12px;color:var(--text-muted);margin:2px 0}
.size-item .size-price{font-size:14px;font-weight:500;color:var(--blue)}

.option-list{display:flex;flex-direction:column;gap:6px}
.option-item{
  display:flex;align-items:center;justify-content:space-between;
  background:#fff;border:1px solid var(--blue-border);
  border-radius:var(--radius-sm);padding:10px;
  cursor:pointer;
}
.option-item.selected{
  background:var(--blue-light);border-color:var(--blue);
}
.option-item .left{display:flex;align-items:center;gap:8px}
.option-item .check-box{
  width:16px;height:16px;border-radius:4px;
  border:1.5px solid #ccc;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
}
.option-item.selected .check-box{
  background:var(--blue);border-color:var(--blue);color:#fff;
}
.option-item .radio{
  width:16px;height:16px;border-radius:50%;
  border:1.5px solid #ccc;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
}
.option-item.selected .radio{
  background:var(--blue);border-color:var(--blue);
}
.option-item.selected .radio .dot{
  width:6px;height:6px;border-radius:50%;background:#fff;
}
.option-item .name{font-size:14px}
.option-item .price{font-size:13px;color:var(--blue);font-weight:500}
.option-item .free{font-size:13px;color:var(--text-muted)}

.qty-row{
  display:flex;align-items:center;justify-content:space-between;
  padding:0 16px 14px;
}
.qty-control{
  display:flex;align-items:center;gap:12px;
  background:#fff;border:1px solid var(--blue-border);
  border-radius:20px;padding:4px;
}
.qty-btn{
  width:28px;height:28px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-weight:500;
}
.qty-btn.minus{background:var(--blue-light);color:var(--blue)}
.qty-btn.plus{background:var(--blue);color:#fff}
.qty-value{font-size:15px;font-weight:500;min-width:16px;text-align:center}

.add-to-cart{
  padding:14px 16px;
  background:#fff;
  border-top:0.5px solid var(--line);
  position:sticky;bottom:0;z-index:10;
}
.add-to-cart .btn{
  background:var(--blue);color:#fff;
  padding:14px;border-radius:var(--radius-md);
  display:flex;align-items:center;justify-content:space-between;
  font-size:15px;font-weight:500;width:100%;
}

.cart-item{
  background:#fff;border:0.5px solid var(--line);
  border-radius:var(--radius-md);padding:12px;
  margin-bottom:8px;
}
.cart-item .head{display:flex;gap:10px}
.cart-item .thumb{
  width:56px;height:56px;border-radius:var(--radius-sm);
  background:var(--blue-light);
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;overflow:hidden;
}
.cart-item .thumb img{width:100%;height:100%;object-fit:cover}
.cart-item .name{font-size:15px;font-weight:500}
.cart-item .desc{font-size:12px;color:var(--text-secondary);line-height:1.4;margin-top:2px}
.cart-item .foot{
  display:flex;align-items:center;justify-content:space-between;
  margin-top:10px;padding-top:10px;
  border-top:0.5px solid var(--line);
}

.summary-card{
  background:#fff;border:0.5px solid var(--line);
  border-radius:var(--radius-md);padding:14px;
}
.summary-line{
  display:flex;justify-content:space-between;
  font-size:14px;margin-bottom:8px;
}
.summary-line.total{
  border-top:0.5px solid var(--line);padding-top:10px;margin-top:4px;
  font-size:15px;font-weight:500;
}
.summary-line .label{color:var(--text-secondary)}
.summary-line .discount{color:var(--green-dark)}

.form-card{
  background:#fff;border:0.5px solid var(--line);
  border-radius:var(--radius-md);padding:14px;
  margin-bottom:12px;
}
.form-field{margin-bottom:12px}
.form-field:last-child{margin-bottom:0}
.form-label{
  display:block;font-size:13px;font-weight:500;
  margin-bottom:4px;color:var(--text);
}
.form-input{
  width:100%;border:1px solid var(--blue-border);
  border-radius:var(--radius-sm);padding:10px;
  background:#fff;font-size:14px;outline:0;
}
.form-input:focus{
  border-color:var(--blue);
  box-shadow:0 0 0 3px rgba(24,95,165,.1);
}
.form-input.valid{border-color:#3B6D11}
.form-input.invalid{border-color:var(--red);background:#fffafa}
.form-textarea{min-height:60px;resize:vertical}
.form-feedback{font-size:12px;color:var(--text-muted);margin-top:4px}
.form-feedback.valid{color:#3B6D11}
.form-feedback.invalid{color:var(--red-text)}

.payment-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:6px;
}
.payment-option{
  background:#fff;border:1px solid var(--blue-border);
  border-radius:var(--radius-sm);padding:8px;
  text-align:center;font-size:13px;cursor:pointer;
}
.payment-option.selected{
  background:var(--blue-light);border:2px solid var(--blue);
  padding:7px;color:var(--blue-dark);font-weight:500;
}

.btn-primary{
  background:var(--blue);color:#fff;
  padding:14px;border-radius:var(--radius-md);
  text-align:center;font-size:15px;font-weight:500;
  width:100%;
}
.btn-secondary{
  background:#fff;border:1px solid var(--blue-border);
  color:var(--blue);padding:14px;border-radius:var(--radius-md);
  text-align:center;font-size:15px;font-weight:500;
  width:100%;
}
.btn-success{
  background:var(--green);color:#fff;
  padding:14px;border-radius:var(--radius-md);
  display:flex;align-items:center;justify-content:center;gap:8px;
  font-size:15px;font-weight:500;width:100%;
}

.alert-warning{
  background:var(--amber);color:var(--amber-text);
  padding:10px;border-radius:var(--radius-sm);
  font-size:12px;line-height:1.5;
  margin:10px 0;
}

.empty-state{
  background:#fff;border:0.5px solid var(--line);
  border-radius:var(--radius-md);padding:32px 16px;
  text-align:center;
}
.empty-state strong{display:block;font-size:19px;margin-bottom:6px}
.empty-state p{font-size:14px;color:var(--text-secondary)}

.toast{
  position:fixed;left:50%;bottom:84px;transform:translateX(-50%);
  background:var(--blue-dark);color:#fff;
  padding:12px 16px;border-radius:var(--radius-md);
  font-size:14px;font-weight:500;
  z-index:200;box-shadow:var(--shadow-lg);
  max-width:90%;
  animation:fadeIn 0.2s ease;
}
@keyframes fadeIn{from{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%,0)}}

.modal-overlay{
  position:fixed;inset:0;z-index:100;
  background:rgba(11,42,75,.55);
  backdrop-filter:blur(4px);
  display:flex;align-items:center;justify-content:center;
  padding:20px;
}
.modal-card{
  background:#fff;border-radius:var(--radius-lg);
  padding:24px 20px;text-align:center;
  width:min(380px,100%);
  box-shadow:0 24px 70px rgba(0,0,0,.22);
}
.modal-icon{
  width:60px;height:60px;border-radius:50%;
  background:var(--blue-light);
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 14px;
}
.modal-card h2{font-size:19px;color:var(--blue-dark);margin-bottom:8px;font-weight:500}
.modal-card p{font-size:14px;color:var(--text-secondary);line-height:1.5;margin-bottom:8px}
.modal-actions{margin-top:16px;display:flex;flex-direction:column;gap:8px}

.timeline{
  background:#fff;border:0.5px solid var(--line);
  border-radius:var(--radius-md);padding:14px;
}
.timeline-step{display:flex;gap:12px;padding:10px 0}
.timeline-step:not(:last-child){border-bottom:0.5px dashed var(--line)}
.timeline-bullet{
  display:flex;flex-direction:column;align-items:center;
  flex-shrink:0;
}
.timeline-circle{
  width:26px;height:26px;border-radius:50%;
  background:#fff;border:1.5px solid var(--line);
  display:flex;align-items:center;justify-content:center;
}
.timeline-circle.done{background:var(--blue);border-color:var(--blue);color:#fff}
.timeline-circle.current{
  background:var(--blue-light);border:2px solid var(--blue);
  width:30px;height:30px;
}
.timeline-circle.current .dot{
  width:10px;height:10px;border-radius:50%;background:var(--blue);
}
.timeline-line{width:2px;flex:1;background:var(--line);margin-top:4px}
.timeline-line.done{background:var(--blue)}
.timeline-content{flex:1;padding-bottom:6px}
.timeline-title{font-size:14px;font-weight:500;color:var(--blue-dark)}
.timeline-title.pending{color:var(--text-muted);font-weight:400}
.timeline-time{font-size:12px;color:var(--text-secondary);margin-top:2px}

.live-badge{
  display:inline-flex;align-items:center;gap:6px;
  background:rgba(255,255,255,.18);padding:4px 10px;
  border-radius:12px;color:#fff;font-size:12px;font-weight:500;
}
.live-dot{width:8px;height:8px;border-radius:50%;background:#C0DD97;animation:pulse 1.5s infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.4}}

@media (min-width:768px){
  .app-shell{max-width:520px}
}


.delivery-fee-note{
  margin-top:8px;
  padding:9px 10px;
  border-radius:12px;
  background:#eef6ff;
  border:1px solid #cfe5ff;
  color:#0c447c;
  font-size:13px;
  line-height:1.35;
}
.delivery-fee-note strong{font-weight:700;}

/* v27 - Pix manual */
.pix-info-box{
  background:#fff;
  border:1px solid var(--blue-border);
  border-radius:var(--radius-md);
  padding:12px;
  margin:10px 0;
}
.pix-info-title{
  color:var(--blue-dark);
  font-weight:600;
  font-size:14px;
  margin-bottom:6px;
}
.pix-info-text{
  color:var(--text-secondary);
  font-size:13px;
  line-height:1.45;
  margin-top:5px;
}
.pix-key-line{
  background:var(--blue-light);
  border-radius:8px;
  padding:9px 10px;
  display:flex;
  flex-direction:column;
  gap:3px;
  margin-top:8px;
  word-break:break-word;
}
.pix-key-line span{
  color:var(--text-muted);
  font-size:12px;
}
.pix-key-line strong{
  color:var(--blue-dark);
  font-size:14px;
}
.btn-secondary.small{
  padding:9px 10px;
  font-size:13px;
  margin-top:8px;
}

/* v28 - QR Code Pix opcional */
.pix-qr-wrapper{
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border:1px solid var(--blue-border);
  border-radius:12px;
  padding:10px;
  margin-top:10px;
}
.pix-qr-wrapper img{
  width:min(220px, 72vw);
  max-width:100%;
  height:auto;
  max-height:220px;
  object-fit:contain;
  display:block;
}

/* iJubs v34 — ajustes visuais finais: leitura, toque e identidade */
body{font-size:15px;}
.header{padding:16px 16px 18px;}
.header-greeting,.header-status,.header-subtitle{font-size:12px;}
.header-title{font-size:20px;font-weight:600;}
.search-bar{padding:10px 14px;border-radius:22px;min-height:44px;box-shadow:0 4px 14px rgba(12,68,124,.08);}
.search-bar input{font-size:15px;}
.cart-badge-icon{width:40px;height:40px;}
.main{padding:16px 16px 104px;}
.category-btn{font-size:16px;padding:12px 18px;border-radius:16px;min-height:44px;}
.section-title h2{font-size:17px;font-weight:600;}
.product-card{border:1px solid #bdd0e8;border-radius:16px;box-shadow:0 7px 18px rgba(12,68,124,.08);}
.product-card .body{padding:12px 12px 14px;}
.product-card .name{font-size:14px;font-weight:600;}
.product-card .price{font-size:16px;font-weight:700;}
.detail-name{font-size:22px;font-weight:700;}
.detail-desc,.option-label,.option-item .name,.summary-line,.form-input,.report-input{font-size:15px;}
.detail-price{font-size:21px;font-weight:700;}
.qty-control{border-radius:24px;padding:5px;gap:14px;min-height:42px;}
.qty-btn{width:34px;height:34px;font-size:18px;}
.qty-value{font-size:16px;min-width:22px;}
.add-to-cart .btn,.btn-primary,.btn-secondary,.btn-success,.cart-fixed-btn{font-size:15px;min-height:48px;border-radius:16px;}
.form-label{font-size:13px;}
.form-input{padding:12px;border-radius:12px;min-height:46px;}
.payment-option{font-size:14px;padding:11px;min-height:46px;}
.alert-warning{font-size:12px;padding:12px;border-radius:12px;}
.bottom-nav .nav-btn{padding:11px 4px;min-height:54px;}
.bottom-nav .nav-btn .label{font-size:10px;}
.pwa-install-btn{animation:ijubsInstallIn .2s ease;}
@keyframes ijubsInstallIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
@media (max-width:430px){
  .product-card{min-height:226px;}
  .product-card .image{height:136px;}
}

/* iJubs v37 — botão de acompanhamento de pedido na tela inicial */
.active-order-card{
  background:#fff;
  border:1px solid var(--blue-border);
  border-radius:16px;
  box-shadow:0 6px 18px rgba(24,95,165,.08);
  padding:14px;
  margin:0 0 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.active-order-card.light{background:linear-gradient(135deg,#fff 0%,var(--blue-soft) 100%)}
.active-order-info{min-width:0;flex:1}
.active-order-label{font-size:12px;color:var(--blue);font-weight:700;text-transform:uppercase;letter-spacing:.02em}
.active-order-title{font-size:16px;color:var(--blue-dark);font-weight:700;margin-top:3px;line-height:1.25}
.active-order-meta{font-size:13px;color:var(--text-secondary);margin-top:3px;line-height:1.35}
.active-order-btn{
  background:var(--blue);
  color:#fff;
  border-radius:14px;
  padding:11px 14px;
  font-size:14px;
  font-weight:700;
  min-height:44px;
  box-shadow:0 6px 16px rgba(24,95,165,.18);
}
.modal-close{
  position:absolute;
  top:10px;right:12px;
  width:34px;height:34px;
  border-radius:50%;
  background:var(--blue-light);
  color:var(--blue-dark);
  font-size:22px;
  line-height:1;
}
@media(max-width:430px){
  .active-order-card{align-items:flex-start;flex-direction:column}
  .active-order-btn{width:100%}
}

/* iJubs v38 — cadastro na tela inicial + acompanhamento local seguro */
.signup-access-card{
  margin:0 0 12px;
  padding:13px 14px;
  border:1px solid rgba(181,212,244,.9);
  border-radius:16px;
  background:#fff;
  box-shadow:0 4px 14px rgba(24,95,165,.06);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.signup-access-title{
  font-size:15px;
  font-weight:700;
  color:var(--blue-dark);
  line-height:1.25;
}
.signup-access-subtitle{
  font-size:12px;
  color:var(--text-secondary);
  margin-top:2px;
  line-height:1.3;
}
.signup-access-btn{
  flex-shrink:0;
  min-height:40px;
  padding:9px 14px;
  border-radius:999px;
  background:var(--blue);
  color:#fff;
  font-size:13px;
  font-weight:700;
  box-shadow:0 6px 16px rgba(24,95,165,.18);
}
.active-order-meta strong{color:var(--blue-dark)}
@media(max-width:430px){
  .signup-access-card{align-items:flex-start;}
  .signup-access-btn{padding:9px 12px;}
}

/* iJubs v39 — instalação profissional PWA */
.install-card{
  background:linear-gradient(135deg,#ffffff 0%,var(--blue-soft) 100%);
  border:1px solid var(--blue-border);
  border-radius:20px;
  box-shadow:0 10px 28px rgba(24,95,165,.10);
  padding:16px;
  margin:0 0 14px;
}
.install-card-main{
  display:flex;
  align-items:center;
  gap:13px;
}
.install-card-icon{
  width:64px;
  height:64px;
  border-radius:18px;
  background:#fff;
  box-shadow:0 6px 18px rgba(24,95,165,.12);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  flex-shrink:0;
  border:1px solid rgba(181,212,244,.8);
}
.install-store-logo{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:7px;
}
.install-store-initials{
  width:100%;
  height:100%;
  background:linear-gradient(135deg,var(--blue-mid),var(--blue));
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
  font-weight:800;
  letter-spacing:.03em;
}
.install-card-copy{min-width:0;flex:1}
.install-card-kicker{
  display:inline-flex;
  color:var(--blue);
  background:rgba(230,241,251,.85);
  border:1px solid rgba(181,212,244,.9);
  border-radius:999px;
  padding:3px 8px;
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.03em;
  margin-bottom:5px;
}
.install-card-title{
  font-size:17px;
  line-height:1.22;
  color:var(--blue-dark);
  font-weight:800;
}
.install-card-store{
  margin-top:5px;
  font-size:14px;
  font-weight:700;
  color:var(--text);
}
.install-card-desc{
  margin-top:2px;
  font-size:13px;
  color:var(--text-secondary);
}
.install-ios-hint{
  margin-top:7px;
  font-size:12px;
  color:var(--blue-dark);
  line-height:1.35;
}
.install-card-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:14px;
}
.install-primary-btn,.install-secondary-btn{
  min-height:46px;
  border-radius:15px;
  font-size:14px;
  font-weight:800;
  padding:10px 12px;
}
.install-primary-btn{
  background:var(--blue);
  color:#fff;
  box-shadow:0 7px 18px rgba(24,95,165,.20);
}
.install-secondary-btn{
  background:#fff;
  color:var(--blue);
  border:1px solid var(--blue-border);
}
.install-help-modal{text-align:left;position:relative;}
.install-help-modal h2{font-size:21px;color:var(--blue-dark);margin-bottom:8px;text-align:center;}
.install-help-modal p{font-size:14px;color:var(--text-secondary);line-height:1.45;margin-bottom:12px;text-align:center;}
.install-help-icon{
  width:72px;
  height:72px;
  margin:0 auto 12px;
  border-radius:20px;
  background:var(--blue-light);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  color:#fff;
  font-size:24px;
  font-weight:800;
}
.install-help-icon img{width:100%;height:100%;object-fit:contain;padding:8px;}
.install-help-icon span{width:100%;height:100%;background:linear-gradient(135deg,var(--blue-mid),var(--blue));display:flex;align-items:center;justify-content:center;}
.ios-steps{
  margin:10px 0 16px;
  padding-left:20px;
  color:var(--text);
  font-size:14px;
  line-height:1.55;
}
@media (max-width:430px){
  .install-card{padding:14px;}
  .install-card-main{align-items:flex-start;}
  .install-card-icon{width:56px;height:56px;border-radius:16px;}
  .install-card-title{font-size:16px;}
  .install-card-actions{grid-template-columns:1fr;}
}


/* iJubs v46 — botão superior de instalação */
.pwa-install-top-btn{
  position:fixed;
  top:12px;
  right:12px;
  z-index:120;
  min-height:44px;
  padding:10px 15px;
  border-radius:999px;
  background:rgba(255,255,255,.96);
  color:var(--blue);
  border:1px solid rgba(181,212,244,.95);
  box-shadow:0 10px 26px rgba(4,44,83,.18);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  font-size:14px;
  font-weight:800;
  backdrop-filter:blur(10px);
  animation:ijubsInstallTopIn .22s ease;
}
.pwa-install-top-btn:active{transform:scale(.98)}
.pwa-install-icon{
  width:22px;
  height:22px;
  border-radius:8px;
  background:var(--blue);
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1;
  font-size:15px;
}
@keyframes ijubsInstallTopIn{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:430px){
  .pwa-install-top-btn{top:10px;right:10px;padding:9px 12px;font-size:13px;min-height:42px;}
}
