/* =====================================================
   RUM TRẦN KHỎE ĐẸP — Bản demo web đặt lịch
   Nhận diện: đỏ #d81f26 + vàng gold #c8912f trên nền kem
   ===================================================== */

:root{
  --red:#d81f26;
  --red-d:#a8151b;
  --gold:#c8912f;
  --gold-d:#a97722;
  --gold-l:#e3b866;
  --bg:#fbf7ef;
  --surface:#ffffff;
  --surface-2:#f7edda;
  --surface-3:#efe1c6;
  --text:#2a1a12;
  --muted:#7b6857;
  --line:#ecdcc2;
  --green-ok:#2f8a4b;
  --shadow:0 12px 30px rgba(70,40,10,.14);
  --shadow-sm:0 4px 14px rgba(70,40,10,.10);
  --radius:16px;
  --radius-lg:22px;
  --maxw:480px;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  background:#efe4cf;
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif;
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
button{font-family:inherit}
input,textarea{font-family:inherit;font-size:1rem}
a{color:inherit}
h1,h2,h3{line-height:1.2;margin:.3em 0}
.hidden{display:none !important}
.center{text-align:center}
.muted{color:var(--muted)}
.muted.small{font-size:.78rem}

/* ===== Device shell (phone-like frame on desktop) ===== */
.device{
  max-width:var(--maxw);
  margin:0 auto;
  min-height:100vh;
  background:var(--bg);
  display:flex;
  flex-direction:column;
  position:relative;
}
@media (min-width:640px){
  body{padding:24px 0}
  .device{
    box-shadow:var(--shadow);
    border-radius:28px;
    overflow:hidden;
    margin:0 auto;
    min-height:calc(100vh - 48px);
    border:1px solid var(--line);
  }
}

/* ===== Sticky top zone: ribbon + brand + stepbar ===== */
.topfixed{position:sticky;top:0;z-index:40;background:var(--bg)}

.ribbon{
  background:var(--gold);
  color:#2a1a12;
  text-align:center;
  font-size:.74rem;
  font-weight:800;
  letter-spacing:.01em;
  padding:.4rem .8rem;
}

.brandbar{
  display:flex;align-items:center;justify-content:space-between;
  padding:.7rem .9rem;
  background:var(--surface);
  border-bottom:1px solid var(--line);
}
.brand{display:flex;align-items:center;gap:.6rem;cursor:pointer}
.brand-badge{
  width:40px;height:40px;border-radius:50%;
  background:linear-gradient(135deg,var(--red),var(--gold));
  color:#fff;display:flex;align-items:center;justify-content:center;
  font-weight:800;font-size:.92rem;flex:none;
  box-shadow:var(--shadow-sm);
}
.brand-text strong{display:block;font-size:.92rem;color:var(--red);letter-spacing:.01em}
.brand-text small{display:block;color:var(--gold-d);font-weight:700;font-size:.7rem;margin-top:1px}
.brandbar-call{
  width:38px;height:38px;border-radius:50%;
  background:var(--surface-2);display:flex;align-items:center;justify-content:center;
  font-size:1.05rem;flex:none;
}

.stepbar{
  display:flex;align-items:center;gap:.6rem;
  padding:.55rem .9rem;background:var(--surface);
  border-bottom:1px solid var(--line);
}
.stepbar.hidden{display:none}
.stepbar-back{
  width:34px;height:34px;border-radius:50%;flex:none;
  border:1px solid var(--line);background:var(--surface);
  font-size:1.05rem;cursor:pointer;color:var(--text);
}
.stepbar-back:active{background:var(--surface-2)}
.stepbar-mid{flex:1;min-width:0}
.stepbar-title{font-weight:800;font-size:.88rem}
.stepbar-progress{height:6px;background:var(--surface-3);border-radius:999px;margin-top:.3rem;overflow:hidden}
.stepbar-fill{height:100%;background:linear-gradient(90deg,var(--red),var(--gold));border-radius:999px;transition:width .3s ease}
.stepbar-count{font-size:.72rem;color:var(--muted);font-weight:700;white-space:nowrap;flex:none}

/* ===== Main / screens ===== */
main{flex:1;padding:1.1rem 1rem 1.5rem}
.screen{display:none}
.screen.active{display:block;animation:fadeIn .22s ease}
@keyframes fadeIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.device-footer-space{height:8px}

h2{font-size:1.25rem;font-weight:800;margin-bottom:.3rem}
.hint{color:var(--muted);font-size:.9rem;margin:.2rem 0 1rem}
.subhead{font-size:1rem;font-weight:800;margin:1.4rem 0 .5rem}
.subhead small{color:var(--muted);font-weight:600;font-size:.78rem}

/* ===== Buttons ===== */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  min-height:50px;padding:.8rem 1.2rem;border-radius:14px;
  font-weight:800;font-size:.98rem;border:2px solid transparent;
  cursor:pointer;transition:.15s ease;text-decoration:none;color:inherit;
  -webkit-tap-highlight-color:transparent;
}
.btn-block{width:100%;margin-top:.6rem}
.btn-lg{min-height:56px;font-size:1.05rem}
.btn-primary{background:var(--red);color:#fff;box-shadow:var(--shadow-sm)}
.btn-primary:hover{background:var(--red-d)}
.btn-primary:disabled{background:#ddd0bd;color:#9a8b76;box-shadow:none;cursor:not-allowed}
.btn-gold{background:var(--gold);color:#fff;box-shadow:var(--shadow-sm)}
.btn-gold:hover{background:var(--gold-d)}
.btn-urgent{background:linear-gradient(90deg,var(--red),#f0575c);color:#fff;box-shadow:var(--shadow-sm)}
.btn-urgent.active{outline:3px solid var(--gold-l);outline-offset:2px}
.btn-outline{background:var(--surface);border-color:var(--line);color:var(--text)}
.btn-outline:hover{border-color:var(--red)}
.btn-ghost{background:transparent;color:var(--muted);border:none;box-shadow:none;font-weight:700}

/* ===== Home / hero ===== */
.hero{text-align:center;padding:.6rem 0 1.2rem}
.eyebrow{
  display:inline-block;font-weight:800;letter-spacing:.04em;text-transform:uppercase;
  font-size:.68rem;color:var(--gold-d);background:var(--surface-2);
  padding:.4rem .8rem;border-radius:999px;
}
.hero h1{
  font-size:2rem;font-weight:900;color:var(--red);letter-spacing:.01em;margin:.6rem 0 .1rem;
}
.slogan{color:var(--gold-d);font-weight:800;font-size:1rem;margin:0 0 .6rem}
.hero-desc{color:var(--muted);font-size:.95rem;max-width:380px;margin:0 auto .9rem}

.hero-price{display:flex;gap:.6rem;margin-bottom:.9rem}
.price-tag{
  flex:1;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  padding:.7rem .6rem;box-shadow:var(--shadow-sm);
}
.price-tag strong{display:block;color:var(--red);font-size:1.15rem;font-weight:900}
.price-tag.alt strong{color:var(--gold-d)}
.price-tag span{display:block;color:var(--muted);font-size:.74rem;margin-top:.15rem}

.hero-links{display:flex;gap:.6rem;margin-top:.6rem}
.hero-links .btn{flex:1}

/* ===== Trust badges ===== */
.trust-row{display:flex;flex-direction:column;gap:.5rem;margin:1.3rem 0}
.trust-badge{
  display:flex;align-items:center;gap:.6rem;
  background:var(--surface);border:1px solid var(--line);border-radius:12px;
  padding:.65rem .8rem;font-size:.86rem;font-weight:700;color:var(--text);
  box-shadow:var(--shadow-sm);
}
.trust-badge::first-letter{color:var(--green-ok)}

.section-title{font-size:1.1rem;font-weight:800;margin:1.6rem 0 .2rem}
.section-title small{color:var(--muted);font-weight:600;font-size:.72rem}

/* ===== Home service grid ===== */
.svc-grid{display:grid;grid-template-columns:1fr 1fr;gap:.7rem;margin-top:.6rem}
.svc-mini{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  padding:.9rem .7rem;text-align:center;cursor:pointer;box-shadow:var(--shadow-sm);
  transition:.15s;
}
.svc-mini:active{transform:scale(.97)}
.svc-mini .emoji{font-size:1.7rem;display:block;margin-bottom:.35rem}
.svc-mini .name{font-weight:800;font-size:.88rem;display:block}
.svc-mini .range{color:var(--gold-d);font-weight:700;font-size:.76rem;display:block;margin-top:.2rem}

/* ===== Testimonials ===== */
.testi-row{display:flex;flex-direction:column;gap:.6rem;margin-top:.6rem}
.testi-card{
  background:var(--surface-2);border-radius:var(--radius);padding:.8rem .9rem;
  font-size:.85rem;color:var(--text);font-style:italic;
}
.testi-card strong{display:block;margin-top:.4rem;font-style:normal;color:var(--gold-d);font-size:.78rem}

/* ===== Footer (home) ===== */
.home-footer{margin-top:2rem;padding-top:1.2rem;border-top:1px solid var(--line);text-align:center}
.disclaimer{font-size:.82rem;color:var(--red-d);font-weight:700;background:#fdecec;border-radius:10px;padding:.6rem .8rem;margin:.6rem 0}
.legal-note{font-size:.76rem;color:var(--muted);margin:.6rem 0}

/* ===== Service selection screen ===== */
.svc-card{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);
  padding:1rem;margin-bottom:.9rem;box-shadow:var(--shadow-sm);
}
.svc-card-head{display:flex;gap:.7rem;align-items:flex-start}
.svc-card-head .emoji{font-size:1.6rem;flex:none}
.svc-card-head h3{font-size:1.02rem;font-weight:800;margin:0}
.svc-card-head p{color:var(--muted);font-size:.82rem;margin:.25rem 0 0}
.svc-who{
  font-size:.74rem;color:var(--gold-d);background:var(--surface-2);
  border-radius:8px;padding:.4rem .6rem;margin:.6rem 0 0;display:flex;gap:.4rem;
}
.tier-row{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem;margin-top:.8rem}
.tier-btn{
  border:2px solid var(--line);background:var(--surface);border-radius:12px;
  padding:.55rem .3rem;text-align:center;cursor:pointer;transition:.15s;
}
.tier-btn .m{display:block;font-size:.74rem;color:var(--muted);font-weight:700}
.tier-btn .p{display:block;font-size:.88rem;font-weight:800;color:var(--text);margin-top:.1rem}
.tier-btn.selected{border-color:var(--red);background:#fdecec}
.tier-btn.selected .p{color:var(--red)}
.tier-btn.selected .m{color:var(--red-d)}

.addon-row{display:flex;gap:.6rem;flex-wrap:wrap}
.addon-chip{
  border:2px solid var(--line);background:var(--surface);border-radius:999px;
  padding:.55rem 1rem;font-size:.85rem;font-weight:700;cursor:pointer;
  display:flex;align-items:center;gap:.4rem;
}
.addon-chip.selected{border-color:var(--gold);background:#fbf1de;color:var(--gold-d)}

.actionbar{
  margin-top:1.4rem;padding-top:1rem;border-top:1px solid var(--line);
}
.actionbar-info{display:flex;justify-content:space-between;align-items:baseline;font-size:.86rem;margin-bottom:.2rem}
.actionbar-info strong{color:var(--red);font-size:1.1rem}

/* ===== Tech list ===== */
.tech-list-wrap{margin-top:.8rem}
.tech-item{
  display:flex;gap:.7rem;align-items:flex-start;
  background:var(--surface);border:2px solid var(--line);border-radius:var(--radius-lg);
  padding:.85rem;margin-top:.7rem;cursor:pointer;box-shadow:var(--shadow-sm);
}
.tech-item.selected{border-color:var(--red)}
.tech-avatar{
  width:52px;height:52px;border-radius:50%;flex:none;
  display:flex;align-items:center;justify-content:center;
  color:#fff;font-weight:800;font-size:1rem;
}
.tech-info{flex:1;min-width:0}
.tech-name{font-weight:800;font-size:.95rem;display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}
.tech-meta{font-size:.8rem;color:var(--muted);margin-top:.15rem}
.tech-badges{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.5rem}
.badge-pill{
  font-size:.68rem;font-weight:700;color:var(--green-ok);background:#e9f6ed;
  border-radius:999px;padding:.25rem .55rem;white-space:nowrap;
}
.tech-soonest{font-size:.76rem;color:var(--gold-d);font-weight:700;margin-top:.4rem}
.tech-pick{
  width:26px;height:26px;border-radius:50%;border:2px solid var(--line);flex:none;
  display:flex;align-items:center;justify-content:center;font-size:.8rem;color:transparent;
}
.tech-item.selected .tech-pick{background:var(--red);border-color:var(--red);color:#fff}

/* ===== Time screen ===== */
.date-chips{display:flex;gap:.5rem;overflow-x:auto;padding:.2rem 0 .3rem;margin-bottom:.6rem}
.date-chip{
  flex:none;text-align:center;border:2px solid var(--line);background:var(--surface);
  border-radius:12px;padding:.5rem .75rem;cursor:pointer;min-width:64px;
}
.date-chip .d1{display:block;font-size:.72rem;color:var(--muted);font-weight:700}
.date-chip .d2{display:block;font-size:.88rem;font-weight:800;margin-top:.1rem}
.date-chip.selected{border-color:var(--red);background:#fdecec}
.date-chip.selected .d1,.date-chip.selected .d2{color:var(--red-d)}

.time-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem}
.time-slot{
  border:2px solid var(--line);background:var(--surface);border-radius:12px;
  padding:.6rem .3rem;text-align:center;font-weight:700;font-size:.86rem;cursor:pointer;
}
.time-slot.selected{border-color:var(--red);background:#fdecec;color:var(--red-d)}
.time-slot.disabled{color:#c3b8a6;background:var(--surface-2);cursor:not-allowed;text-decoration:line-through}

/* ===== Form fields ===== */
.field{display:block;font-size:.86rem;font-weight:700;color:var(--text);margin-bottom:1rem}
.field small{color:var(--muted);font-weight:500;font-size:.76rem}
.field input,.field textarea{
  display:block;width:100%;margin-top:.4rem;
  border:2px solid var(--line);border-radius:12px;background:var(--surface);
  padding:.75rem .8rem;color:var(--text);resize:vertical;
}
.field input:focus,.field textarea:focus{outline:none;border-color:var(--gold)}
#ratingComment{
  display:block;width:100%;border:2px solid var(--line);border-radius:12px;
  background:var(--surface);padding:.75rem .8rem;margin:.8rem 0;resize:vertical;
}

/* ===== Confirm card ===== */
.confirm-card{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);
  padding:1rem;box-shadow:var(--shadow-sm);
}
.confirm-section{margin-bottom:1rem}
.confirm-section:last-child{margin-bottom:0}
.confirm-section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:.4rem}
.confirm-section-head span{font-size:.76rem;font-weight:800;text-transform:uppercase;letter-spacing:.03em;color:var(--gold-d)}
.confirm-edit{font-size:.76rem;font-weight:700;color:var(--red);cursor:pointer;background:none;border:none;padding:0}
.confirm-line{display:flex;justify-content:space-between;font-size:.88rem;padding:.25rem 0;gap:.6rem}
.confirm-line .l{color:var(--text)}
.confirm-line .r{color:var(--muted);text-align:right}
.confirm-divider{border:none;border-top:1px dashed var(--line);margin:.8rem 0}
.total-row{display:flex;justify-content:space-between;align-items:center;font-size:1.05rem;font-weight:800}
.total-row strong{color:var(--red);font-size:1.35rem}
.no-surcharge{
  display:inline-block;margin-top:.5rem;font-size:.72rem;font-weight:800;color:var(--green-ok);
  background:#e9f6ed;border-radius:999px;padding:.3rem .7rem;
}
.confirm-note-box{
  background:var(--surface-2);border-radius:10px;padding:.6rem .7rem;font-size:.84rem;color:var(--text);
  margin-top:.3rem;white-space:pre-wrap;word-break:break-word;
}

.confirm-total{
  display:flex;justify-content:space-between;align-items:center;
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  padding:.9rem 1rem;margin-top:1rem;box-shadow:var(--shadow-sm);
}
.confirm-total strong{color:var(--red);font-size:1.3rem}

/* ===== Payment ===== */
.pay-options{display:flex;flex-direction:column;gap:.6rem;margin-top:.6rem}
.pay-opt{
  display:flex;align-items:center;gap:.6rem;border:2px solid var(--line);
  background:var(--surface);border-radius:var(--radius);padding:.8rem .9rem;
  font-size:.9rem;font-weight:700;cursor:pointer;
}
.pay-opt input{width:18px;height:18px;flex:none}
.pay-opt.selected{border-color:var(--gold);background:#fbf1de}
.pay-opt em{color:var(--muted);font-weight:500;font-style:normal;font-size:.78rem}

.qr-block{text-align:center;margin-top:1rem;padding:1rem;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}
.qr-fake{
  width:160px;height:160px;margin:0 auto;border-radius:12px;
  background:
    repeating-linear-gradient(45deg, #2a1a12 0 6px, transparent 6px 12px),
    repeating-linear-gradient(-45deg, #2a1a12 0 6px, transparent 6px 12px);
  background-blend-mode:multiply;
  background-color:#fff;
  border:6px solid #fff;
  outline:2px solid var(--line);
}
.qr-caption{font-size:.76rem;color:var(--muted);margin:.7rem 0}
.qr-bankinfo{text-align:left;font-size:.82rem;background:var(--surface-2);border-radius:10px;padding:.7rem .8rem}
.qr-bankinfo div{display:flex;justify-content:space-between;padding:.2rem 0}
.qr-bankinfo span{color:var(--muted)}

/* ===== Success / Tracking ===== */
.success-head{text-align:center;padding:.8rem 0 1rem}
.success-icon{font-size:2.6rem}
.success-head p{color:var(--muted);font-size:.9rem}
.success-head strong{color:var(--red)}

.stepper{display:flex;align-items:flex-start;justify-content:space-between;margin:1rem 0 1.4rem}
.step-item{flex:1;text-align:center;position:relative}
.step-icon{
  width:42px;height:42px;border-radius:50%;background:var(--surface-2);border:2px solid var(--line);
  display:flex;align-items:center;justify-content:center;font-size:1.1rem;margin:0 auto;
  position:relative;z-index:2;
}
.step-item.done .step-icon{background:var(--green-ok);border-color:var(--green-ok);color:#fff}
.step-item.active .step-icon{background:var(--red);border-color:var(--red);color:#fff;box-shadow:0 0 0 5px #fdecec}
.step-label{font-size:.68rem;color:var(--muted);font-weight:700;margin-top:.4rem;line-height:1.2}
.step-item.active .step-label,.step-item.done .step-label{color:var(--text)}
.step-line{
  position:absolute;top:21px;left:-50%;width:100%;height:3px;background:var(--line);z-index:1;
}
.step-item:first-child .step-line{display:none}
.step-item.done .step-line{background:var(--green-ok)}

.track-demo{background:var(--surface-2);border-radius:var(--radius);padding:.8rem;margin-bottom:1rem}
.track-demo .hint{margin:0 0 .5rem}

.tech-card{
  display:flex;gap:.7rem;align-items:center;background:var(--surface);border:1px solid var(--line);
  border-radius:var(--radius-lg);padding:.85rem;margin-bottom:1rem;box-shadow:var(--shadow-sm);
}
.tech-card .tech-avatar{width:48px;height:48px;font-size:.92rem}
.tech-card .tc-info{flex:1;min-width:0}
.tech-card .tc-name{font-weight:800;font-size:.92rem}
.tech-card .tc-meta{font-size:.78rem;color:var(--muted);margin-top:.15rem}
.tech-card a.btn{flex:none;padding:.5rem .8rem;min-height:auto;font-size:.82rem}

/* ===== Rating ===== */
.stars{display:flex;justify-content:center;gap:.4rem;margin:1rem 0 .3rem}
.star{font-size:2.1rem;cursor:pointer;color:#e0d5c2;transition:.1s;line-height:1}
.star.active{color:var(--gold)}
.star-label{text-align:center;color:var(--muted);font-size:.86rem;font-weight:700;margin-bottom:.6rem}

/* ===== Floating action buttons ===== */
.fab-group{
  position:fixed;right:16px;bottom:16px;z-index:100;
  display:flex;flex-direction:column;gap:.6rem;align-items:flex-end;
}
.fab{
  display:flex;align-items:center;gap:.45rem;
  border-radius:999px;padding:.7rem 1rem;font-weight:800;font-size:.86rem;
  box-shadow:0 8px 22px rgba(40,20,5,.28);text-decoration:none;
}
.fab-call{background:var(--red);color:#fff}
.fab-zalo{background:#fff;color:var(--gold-d);border:2px solid var(--gold)}

@media (max-width:360px){
  .fab span{display:none}
  .fab{padding:.7rem;border-radius:50%}
}

/* ===== Bottom navigation (Đặt lịch · Sản phẩm · Tài khoản) ===== */
.bottomnav{
  position:fixed;left:0;right:0;bottom:0;z-index:90;
  max-width:var(--maxw);margin:0 auto;
  display:flex;background:var(--surface);
  border-top:1px solid var(--line);
  box-shadow:0 -6px 18px rgba(70,40,10,.10);
  padding-bottom:env(safe-area-inset-bottom,0);
}
.bottomnav.hidden{display:none}
.bn-item{
  flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.15rem;
  background:none;border:none;padding:.55rem 0 .5rem;cursor:pointer;color:var(--muted);
  font-family:inherit;-webkit-tap-highlight-color:transparent;
}
.bn-ic{font-size:1.25rem;line-height:1}
.bn-label{font-size:.68rem;font-weight:700}
.bn-item.active{color:var(--red)}
.bn-item.active .bn-ic{transform:translateY(-1px)}

/* Chừa chỗ cho bottom nav để không che nội dung / FAB */
.device.has-bottomnav .device-footer-space{height:70px}
.device.has-bottomnav ~ .fab-group{bottom:80px}

/* ===== Badge hội viên (hiển thị khi đang giảm giá) ===== */
.member-badge{
  background:linear-gradient(90deg,var(--gold),var(--gold-l));
  color:#fff;font-weight:800;font-size:.78rem;
  border-radius:10px;padding:.55rem .7rem;margin:.4rem 0 .8rem;
}

/* Giá gạch ngang khi có giảm hội viên */
.p-old{
  display:block;font-size:.72rem;color:var(--muted);text-decoration:line-through;font-weight:600;
}
.no-surcharge.member{
  margin-left:.4rem;color:var(--gold-d);background:#fbf1de;
}

/* ===== Sản phẩm ===== */
.prod-grid{grid-template-columns:1fr 1fr}
.prod-card{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  padding:.85rem .7rem;text-align:center;box-shadow:var(--shadow-sm);
  display:flex;flex-direction:column;gap:.35rem;
}
.prod-card .emoji{font-size:1.8rem}
.prod-card .name{font-weight:800;font-size:.85rem}
.prod-desc{color:var(--muted);font-size:.72rem;line-height:1.3;min-height:2.3em}
.prod-price{margin:.15rem 0}
.prod-price .p{font-weight:800;color:var(--red);font-size:.95rem}
.qty-row{display:flex;align-items:center;justify-content:center;gap:.6rem;margin-top:.1rem}
.qty-btn{
  width:32px;height:32px;border-radius:50%;border:2px solid var(--line);background:var(--surface);
  font-size:1.1rem;font-weight:800;cursor:pointer;color:var(--text);line-height:1;
}
.qty-num{font-weight:800;min-width:1.4em}
.prod-redeem:disabled{background:#ddd0bd;color:#9a8b76;cursor:not-allowed}

/* ===== Tài khoản ===== */
.acc-card{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);
  padding:1rem;margin-bottom:1rem;box-shadow:var(--shadow-sm);
}
.acc-card-head{margin-bottom:.5rem}
.acc-card-head span{font-size:.8rem;font-weight:800;text-transform:uppercase;letter-spacing:.03em;color:var(--gold-d)}
.acc-points-big{display:flex;align-items:baseline;gap:.5rem;margin:.3rem 0 .6rem}
.acc-points-big strong{color:var(--red);font-size:1.8rem;font-weight:900}
.acc-points-big span{color:var(--muted);font-size:.8rem;font-weight:700}
.acc-points-big.small strong{font-size:1.3rem}
.acc-btn-row{display:flex;gap:.6rem;margin-top:.5rem}
.acc-btn-row .btn{flex:1;padding:.6rem;font-size:.84rem;min-height:44px}

.ref-link-box{
  display:flex;align-items:center;gap:.5rem;background:var(--surface-2);border-radius:10px;
  padding:.6rem .7rem;margin:.4rem 0 .7rem;
}
.ref-link-box span{flex:1;font-size:.78rem;color:var(--text);word-break:break-all}
.ref-link-box .btn{flex:none;padding:.5rem .7rem;min-height:auto;font-size:.78rem}

/* ===== Gói hội viên ===== */
.member-plans{display:flex;flex-direction:column;gap:.6rem;margin-top:.6rem}
.plan-card{
  border:2px solid var(--line);border-radius:var(--radius);background:var(--surface);
  padding:.8rem .9rem;display:flex;align-items:center;flex-wrap:wrap;gap:.3rem .7rem;
}
.plan-card.active{border-color:var(--gold);background:#fbf1de}
.plan-label{font-weight:800;font-size:.9rem;flex:1 0 auto}
.plan-price{font-weight:800;color:var(--red);font-size:.92rem}
.plan-discount{width:100%;color:var(--gold-d);font-size:.76rem;font-weight:700}
.plan-card .btn{width:100%;margin-top:.3rem;min-height:42px}

.pay-opt.disabled{opacity:.5}

/* ===== Màn KTV (demo nội bộ) ===== */
.ktv-tag{
  display:inline-block;background:var(--surface-3);color:var(--gold-d);font-weight:800;font-size:.72rem;
  border-radius:999px;padding:.35rem .75rem;margin-bottom:.5rem;
}
.ktv-job-card{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);
  padding:.85rem;margin-top:.7rem;box-shadow:var(--shadow-sm);
  display:flex;flex-direction:column;gap:.5rem;
}

/* ===== Toast ===== */
.toast{
  position:fixed;left:50%;bottom:92px;transform:translate(-50%,10px);z-index:200;
  background:#2a1a12;color:#fff;font-size:.86rem;font-weight:700;
  padding:.7rem 1.1rem;border-radius:999px;box-shadow:0 8px 22px rgba(0,0,0,.28);
  max-width:88%;text-align:center;opacity:0;transition:opacity .25s ease, transform .25s ease;
}
.toast.show{opacity:1;transform:translate(-50%,0)}

/* ===== Bổ sung cho APP THẬT: đăng nhập & trạng thái ===== */
.login-wrap{padding:1.4rem 0}
.login-logo{width:64px;height:64px;border-radius:50%;margin:0 auto .8rem;
  background:linear-gradient(135deg,var(--red),var(--gold));color:#fff;
  display:flex;align-items:center;justify-content:center;font-weight:900;font-size:1.4rem;box-shadow:var(--shadow-sm)}
.login-wrap h1{text-align:center;color:var(--red);font-size:1.5rem;margin:.2rem 0}
.login-wrap .slogan{text-align:center}
.account-chip{display:flex;align-items:center;gap:.5rem;background:var(--surface-2);
  border-radius:999px;padding:.35rem .5rem .35rem .8rem;font-size:.8rem;font-weight:700;color:var(--gold-d)}
.account-chip button{border:none;background:var(--surface);border-radius:999px;
  padding:.3rem .6rem;font-size:.72rem;font-weight:700;color:var(--red);cursor:pointer}
.api-error{background:#fdecec;color:var(--red-d);border-radius:10px;padding:.6rem .8rem;
  font-size:.82rem;font-weight:700;margin:.6rem 0;display:none}
.api-error.show{display:block}
.loading-line{color:var(--muted);font-size:.9rem;text-align:center;padding:1rem}

/* ===== Lọc KTV (kiểu Glow) ===== */
.filter-row{display:flex;gap:.6rem;margin:.4rem 0 .8rem}
.filter-row select{flex:1;border:2px solid var(--line);border-radius:12px;background:var(--surface);
  padding:.6rem .7rem;font-size:.85rem;font-weight:700;color:var(--text)}
.tech-detail-btn{display:inline-block;margin-top:.5rem;font-size:.76rem;font-weight:800;color:var(--gold-d);
  background:var(--surface-2);border:none;border-radius:999px;padding:.3rem .7rem;cursor:pointer}

/* ===== Đặt hộ người thân ===== */
.forwhom-row{display:flex;gap:.6rem;margin:.2rem 0 1rem}
.forwhom-btn{flex:1;border:2px solid var(--line);background:var(--surface);border-radius:12px;
  padding:.7rem .5rem;font-weight:800;font-size:.9rem;cursor:pointer;color:var(--text)}
.forwhom-btn.selected{border-color:var(--red);background:#fdecec;color:var(--red-d)}

/* ===== Modal hồ sơ KTV ===== */
.modal-overlay{position:fixed;inset:0;z-index:300;background:rgba(30,15,5,.5);
  display:flex;align-items:flex-end;justify-content:center;padding:0}
.modal-overlay.hidden{display:none}
.modal-card{background:var(--bg);width:100%;max-width:var(--maxw);border-radius:22px 22px 0 0;
  padding:1.2rem 1.1rem 1.6rem;max-height:88vh;overflow:auto;position:relative;
  box-shadow:0 -10px 30px rgba(40,20,5,.3);animation:slideUp .25s ease}
@keyframes slideUp{from{transform:translateY(30px);opacity:.6}to{transform:translateY(0);opacity:1}}
@media(min-width:640px){.modal-overlay{align-items:center}.modal-card{border-radius:22px}}
.modal-close{position:absolute;top:.7rem;right:.8rem;border:none;background:var(--surface-2);
  width:34px;height:34px;border-radius:50%;font-size:1rem;cursor:pointer;color:var(--text)}
.modal-head{display:flex;gap:.8rem;align-items:center;margin-bottom:.6rem}
.modal-head .tech-avatar{width:60px;height:60px;font-size:1.2rem}
.modal-bio{color:var(--muted);font-size:.9rem;background:var(--surface-2);border-radius:12px;padding:.7rem .8rem;margin:.6rem 0}
.review-item{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:.7rem .8rem;margin-bottom:.5rem}
.review-item .stars-mini{color:var(--gold)}
.review-item .rv-by{font-size:.76rem;color:var(--gold-d);font-weight:800;margin-top:.2rem}

/* ===== Nút cài đặt PWA ===== */
.install-fab{position:fixed;left:16px;bottom:84px;z-index:110;border:none;cursor:pointer;
  background:var(--gold);color:#fff;font-weight:800;font-size:.84rem;
  border-radius:999px;padding:.7rem 1rem;box-shadow:0 8px 22px rgba(40,20,5,.28)}
.install-fab.hidden{display:none}

/* ===== Nút "Giới thiệu bạn bè" ở trang chủ ===== */
.ref-cta{display:flex;align-items:center;gap:.7rem;width:100%;text-align:left;cursor:pointer;
  border:none;margin:1rem 0 .4rem;padding:.85rem 1rem;border-radius:16px;
  background:linear-gradient(90deg,var(--gold),var(--gold-l));color:#fff;
  box-shadow:var(--shadow-sm);font-family:inherit;-webkit-tap-highlight-color:transparent}
.ref-cta:active{transform:scale(.99)}
.ref-cta-ic{font-size:1.6rem;flex:none}
.ref-cta-text{flex:1;min-width:0;display:flex;flex-direction:column}
.ref-cta-text strong{font-size:.95rem;font-weight:800}
.ref-cta-text small{font-size:.74rem;opacity:.95}
.ref-cta-arrow{font-size:1.6rem;font-weight:800;flex:none}

/* ===== Bảng chia sẻ ===== */
.share-head{text-align:center;margin-bottom:.4rem}
.share-emoji{font-size:2.6rem}
.share-head h2{color:var(--red);margin:.2rem 0}

/* ===== Logo thật (thay chữ RT) ===== */
.brand-badge-img{
  width:46px;height:46px;border-radius:50%;flex:none;
  object-fit:contain;background:#fff;padding:2px;
  box-shadow:var(--shadow-sm);border:1px solid var(--line);
}
.login-logo-img{display:block;width:220px;max-width:72%;margin:0 auto .2rem}

/* ===== Ảnh kỹ thuật viên (như Glow) ===== */
.tech-avatar.has-photo{background-size:cover;background-position:center;color:transparent;overflow:hidden}
.ktv-photo-pick{display:flex;flex-direction:column;align-items:center;gap:.6rem;margin:.4rem 0 1rem}
.ktv-photo-preview{
  width:120px;height:120px;border-radius:50%;background:var(--surface-2);
  border:2px dashed var(--gold);display:flex;align-items:center;justify-content:center;
  text-align:center;font-size:.78rem;color:var(--gold-d);font-weight:800;line-height:1.2;
  background-size:cover;background-position:center;
}
.ktv-photo-preview.has-photo{border-style:solid;color:transparent}
#screen-ktv-register select,#screen-ktv-register .field select{
  display:block;width:100%;margin-top:.4rem;border:2px solid var(--line);border-radius:12px;
  background:var(--surface);padding:.75rem .8rem;color:var(--text);font-size:1rem;
}
