:root{
  --bg:#fbf8f5; --card:#ffffff; --ink:#251e1b; --muted:#746863;
  --brand:#7d5142; --brand2:#d8a995; --line:#eaded7;
  --ok:#2f7a5c; --danger:#b34747; --shadow:0 18px 55px rgba(74,52,42,.10);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;background:var(--bg);color:var(--ink)}
button,input,textarea,select{font:inherit}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{width:min(1180px,calc(100% - 28px));margin:auto}
.header{position:sticky;top:0;z-index:30;background:rgba(251,248,245,.92);backdrop-filter:blur(16px);border-bottom:1px solid rgba(125,81,66,.08)}
.nav{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:68px}
.brand{display:flex;align-items:center;gap:12px;font-weight:800;letter-spacing:.04em}
.brand img{height:40px;width:auto}
.navlinks{display:flex;align-items:center;gap:10px}
.navlinks a,.ghost-btn,.primary-btn{border:0;border-radius:999px;padding:10px 15px;cursor:pointer}
.navlinks a:hover,.ghost-btn:hover{background:#fff}
.primary-btn{background:var(--brand);color:white;box-shadow:0 8px 24px rgba(125,81,66,.2)}
.hero{padding:58px 0 34px}
.hero-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:24px;align-items:stretch}
.hero-card,.hero-side,.panel,.product-card,.post-card,.admin-card{background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:28px}
.hero-card{padding:44px;min-height:350px;background:
 radial-gradient(circle at 85% 15%,rgba(216,169,149,.30),transparent 34%),
 linear-gradient(135deg,#fff,#fbf4ef)}
.kicker{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:999px;padding:8px 12px;color:var(--brand);font-size:14px;background:#fff}
.hero h1{font-size:clamp(38px,7vw,78px);line-height:.94;margin:20px 0 18px;letter-spacing:-.05em}
.hero p{font-size:18px;line-height:1.65;color:var(--muted);max-width:720px}
.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:26px}
.hero-side{padding:26px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}
.hero-side img{max-height:140px;object-fit:contain;margin-bottom:18px}
.section{padding:38px 0}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:18px}
.section h2{font-size:32px;margin:0}
.muted{color:var(--muted)}
.toolbar{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 22px}
.search{flex:1;min-width:210px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:13px 15px}
.chips{display:flex;gap:8px;flex-wrap:wrap}
.chip{border:1px solid var(--line);background:#fff;border-radius:999px;padding:9px 12px;cursor:pointer}
.chip.active{background:var(--brand);color:white;border-color:var(--brand)}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.product-card{overflow:hidden;cursor:pointer;transition:.2s transform,.2s box-shadow}
.product-card:hover{transform:translateY(-4px);box-shadow:0 24px 65px rgba(74,52,42,.14)}
.product-img{aspect-ratio:4/3;background:linear-gradient(135deg,#fff,#f4ece7);display:flex;align-items:center;justify-content:center;overflow:hidden}
.product-img img{width:100%;height:100%;object-fit:cover}
.placeholder-mark{font-weight:900;color:var(--brand2);font-size:48px}
.product-body{padding:17px}
.product-body h3{margin:0 0 8px;font-size:18px}
.badge{display:inline-block;font-size:12px;color:var(--brand);background:#f7ede8;border-radius:999px;padding:6px 9px;margin-bottom:10px}
.posts{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.post-card{padding:20px}
.footer{padding:34px 0 80px;border-top:1px solid var(--line);margin-top:40px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr;gap:20px}
.modal{position:fixed;inset:0;background:rgba(22,17,15,.55);display:none;align-items:center;justify-content:center;padding:18px;z-index:60}
.modal.show{display:flex}
.modal-card{width:min(860px,100%);max-height:92vh;overflow:auto;background:white;border-radius:26px;box-shadow:0 30px 100px rgba(0,0,0,.25)}
.modal-head{display:flex;justify-content:space-between;gap:16px;padding:20px 22px;border-bottom:1px solid var(--line);position:sticky;top:0;background:white;z-index:2}
.modal-body{padding:22px;display:grid;grid-template-columns:.9fr 1.1fr;gap:24px}
.modal-media{background:#fbf7f4;border-radius:20px;min-height:300px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.modal-media img{width:100%;height:100%;object-fit:cover}
.close{border:0;background:#f4efec;border-radius:50%;width:40px;height:40px;cursor:pointer}
.benefits{padding-left:18px;line-height:1.8}
.qr{margin-top:18px;border-top:1px solid var(--line);padding-top:18px}
.qr img{width:160px;height:160px;border:1px solid var(--line);border-radius:12px}
.empty{padding:34px;border:1px dashed var(--line);border-radius:22px;text-align:center;color:var(--muted)}
.notice{background:#fff7e8;border:1px solid #f1dfb9;color:#795b27;padding:12px 14px;border-radius:14px;font-size:14px}
.login-wrap{min-height:100vh;display:grid;place-items:center;padding:20px}
.login-card{width:min(420px,100%);background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);padding:28px}
.field{display:grid;gap:7px;margin-bottom:13px}
.field label{font-size:13px;color:var(--muted);font-weight:600}
.field input,.field textarea,.field select{width:100%;padding:12px 13px;border:1px solid var(--line);border-radius:12px;background:#fff}
.field textarea{min-height:96px;resize:vertical}
.admin-shell{display:grid;grid-template-columns:240px 1fr;min-height:100vh}
.sidebar{background:#2b211d;color:#fff;padding:22px;position:sticky;top:0;height:100vh}
.sidebar img{max-width:160px;margin-bottom:28px;filter:brightness(1.15)}
.side-link{display:block;padding:11px 12px;border-radius:12px;color:#e8dbd4;margin-bottom:6px;cursor:pointer}
.side-link.active,.side-link:hover{background:rgba(255,255,255,.10)}
.admin-main{padding:24px}
.admin-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}
.admin-card{padding:20px;margin-bottom:16px}
.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.table-wrap{overflow:auto}
table{width:100%;border-collapse:collapse}
th,td{text-align:left;padding:12px;border-bottom:1px solid var(--line);font-size:14px;vertical-align:top}
th{color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.05em}
.row-actions{display:flex;gap:7px;flex-wrap:wrap}
.small-btn{border:1px solid var(--line);background:white;border-radius:10px;padding:7px 10px;cursor:pointer}
.danger{color:var(--danger)}
.preview-thumb{width:64px;height:50px;border-radius:10px;background:#f7f1ed;object-fit:cover}
.hidden{display:none!important}
@media(max-width:920px){
  .hero-grid,.modal-body,.footer-grid,.admin-shell{grid-template-columns:1fr}
  .grid{grid-template-columns:repeat(2,1fr)}
  .posts{grid-template-columns:1fr}
  .sidebar{position:relative;height:auto}
  .admin-grid{grid-template-columns:1fr}
}
@media(max-width:560px){
  .navlinks a:not(.keep){display:none}
  .hero-card{padding:28px}
  .grid{grid-template-columns:1fr}
  .section h2{font-size:26px}
}


/* BIO.ONE V1.5 — installable app experience */
.install-mini{
  border:1px solid var(--line); background:#fff; color:var(--brand);
  border-radius:999px; padding:10px 14px; cursor:pointer; font-weight:700;
}
.install-section{padding:0 0 24px}
.install-card{
  background:linear-gradient(135deg,#fff,#fbf1eb);
  border:1px solid var(--line); border-radius:26px; box-shadow:var(--shadow);
  padding:20px; display:grid; grid-template-columns:auto 1fr auto;
  gap:18px; align-items:center;
}
.install-icon-wrap{width:76px;height:76px;border-radius:20px;overflow:hidden;box-shadow:0 10px 30px rgba(74,52,42,.12)}
.install-icon-wrap img{width:100%;height:100%;object-fit:cover}
.install-copy h2{margin:8px 0 6px;font-size:24px}
.install-copy p{margin:0;line-height:1.55}
.install-cta{white-space:nowrap}
.install-modal-card{width:min(520px,100%)}
.install-instructions{padding:26px;text-align:center}
.install-app-icon{width:112px;height:112px;border-radius:25px;margin:0 auto 20px;box-shadow:0 12px 32px rgba(0,0,0,.12)}
.install-instructions h3{font-size:24px;margin:0 0 12px}
.install-steps{text-align:left;line-height:1.65;padding-left:22px;margin:16px auto;max-width:410px}
.install-steps li{margin:8px 0}
.standalone-app #installAppSection,
.standalone-app #installCustomerBtn{display:none}
.admin-install-login{width:100%;margin-top:10px}
.admin-status{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);background:#fff;border:1px solid var(--line);padding:8px 11px;border-radius:999px}
.status-dot{width:8px;height:8px;border-radius:50%;background:var(--ok);box-shadow:0 0 0 4px rgba(47,122,92,.10)}
@media(max-width:720px){
  .install-card{grid-template-columns:auto 1fr}
  .install-cta{grid-column:1/-1;width:100%}
  .admin-status{display:none}
}
@media(max-width:560px){
  .install-mini{font-size:13px;padding:9px 11px}
  .install-card{grid-template-columns:64px 1fr;gap:13px;padding:16px}
  .install-icon-wrap{width:64px;height:64px;border-radius:17px}
  .install-copy h2{font-size:20px}
}


/* BIO.ONE V1.6 — Price display legacy styles */
.retail-price{
  margin-top:14px;
  padding-top:12px;
  border-top:1px solid var(--line);
  display:flex;
  flex-direction:column;
  gap:3px;
}
.retail-price span{
  color:var(--muted);
  font-size:12px;
  font-weight:600;
}
.retail-price strong{
  color:var(--brand);
  font-size:20px;
  letter-spacing:-.02em;
}
.detail-price{
  margin:14px 0 6px;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fbf6f2;
}
.detail-price strong{font-size:26px}
.price-input-wrap{position:relative}
.price-input-wrap input{padding-right:42px!important}
.price-unit{
  position:absolute;right:14px;top:50%;transform:translateY(-50%);
  font-weight:700;color:var(--brand)
}
.field-help{
  display:block;margin-top:6px;color:var(--muted);font-size:12px;line-height:1.45
}
.admin-price{color:var(--brand);white-space:nowrap}
@media(max-width:560px){
  .retail-price strong{font-size:19px}
  .detail-price strong{font-size:23px}
}


/* =========================================================
   BIO.ONE V1.7 — Luxury Simple Catalog
   Customer UI only. Admin/database behavior unchanged.
   ========================================================= */
:root{
  --v17-ivory:#fcfaf8;
  --v17-rose:#a77563;
  --v17-deep:#5f4035;
  --v17-champagne:#d9b9a8;
  --v17-soft:#f4ece7;
}
body{
  background:
    radial-gradient(circle at 100% 0,rgba(216,169,149,.09),transparent 28rem),
    var(--v17-ivory);
}
.header{
  background:rgba(252,250,248,.92);
  border-bottom:1px solid rgba(125,81,66,.07);
}
.nav{min-height:64px}
.brand-v17 img{height:38px}
.navlinks-v17{gap:4px}
.navlinks-v17 a{font-size:14px;font-weight:600}
.contact-pill{background:#fff;border:1px solid var(--line)}
.install-mini{padding:9px 13px;font-size:14px}

.hero-v17{padding:30px 0 20px}
.hero-v17-card{
  position:relative;
  overflow:hidden;
  min-height:360px;
  display:grid;
  grid-template-columns:1.35fr .65fr;
  align-items:center;
  gap:24px;
  padding:46px 50px;
  border:1px solid rgba(125,81,66,.11);
  border-radius:32px;
  background:
    radial-gradient(circle at 82% 36%,rgba(216,169,149,.25),transparent 26%),
    linear-gradient(135deg,#fff 0%,#fffaf7 58%,#f5ebe5 100%);
  box-shadow:0 24px 75px rgba(74,52,42,.09);
}
.hero-v17-card:before{
  content:"BIO.ONE";
  position:absolute;
  right:-15px;
  bottom:-48px;
  font-size:132px;
  line-height:1;
  font-weight:900;
  letter-spacing:-.07em;
  color:rgba(125,81,66,.035);
  pointer-events:none;
}
.eyebrow,.section-kicker{
  display:block;
  color:var(--brand);
  font-size:11px;
  line-height:1.2;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.hero-v17 h1{
  margin:14px 0 16px;
  max-width:740px;
  font-size:clamp(40px,6vw,72px);
  line-height:.98;
  letter-spacing:-.055em;
}
.hero-v17 h1 span{color:var(--brand)}
.hero-v17 p{
  max-width:650px;
  margin:0;
  color:var(--muted);
  font-size:17px;
  line-height:1.65;
}
.hero-v17 .hero-actions{margin-top:25px;align-items:center}
.text-link-btn{
  display:inline-flex;
  align-items:center;
  padding:10px 8px;
  color:var(--brand);
  font-weight:700;
}
.hero-v17-brand{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.brand-orb{
  width:190px;
  height:190px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:rgba(255,255,255,.74);
  border:1px solid rgba(125,81,66,.1);
  box-shadow:inset 0 0 0 11px rgba(255,255,255,.38),0 20px 55px rgba(100,64,51,.08);
}
.brand-orb img{width:72%;height:auto}
.hero-v17-brand strong{
  margin-top:17px;
  font-size:14px;
  letter-spacing:.02em;
}
.hero-v17-brand>span{
  margin-top:4px;
  color:var(--muted);
  font-size:12px;
}

.install-section{padding:4px 0 12px}
.install-card{
  border-radius:22px;
  box-shadow:none;
  background:#fff;
  border-color:rgba(125,81,66,.10);
  padding:16px 18px;
}
.install-icon-wrap{width:62px;height:62px;border-radius:16px}
.install-copy h2{font-size:20px;margin:5px 0 4px}
.install-copy p{font-size:13px}
.install-copy .eyebrow{font-size:9px}

.section{padding:34px 0}
.section-head-v17{align-items:flex-end;margin-bottom:16px}
.section-head-v17 h2{
  margin:5px 0 6px;
  font-size:30px;
  letter-spacing:-.035em;
}
.product-count{
  min-width:max-content;
  color:var(--brand);
  background:#fff;
  border:1px solid var(--line);
  border-radius:999px;
  padding:8px 11px;
  font-size:12px;
  font-weight:700;
}
.product-tools{margin:14px 0 19px}
.search-wrap{position:relative;margin-bottom:12px}
.search-icon{
  position:absolute;
  left:14px;
  top:50%;
  transform:translateY(-54%);
  color:var(--muted);
  font-size:20px;
  pointer-events:none;
}
.search-v17{
  width:100%;
  min-width:0;
  padding:13px 14px 13px 42px;
  border-radius:14px;
  box-shadow:0 6px 20px rgba(74,52,42,.035);
}
.chips-v17{
  flex-wrap:nowrap;
  overflow-x:auto;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
  padding:1px 1px 5px;
}
.chips-v17::-webkit-scrollbar{display:none}
.chips-v17 .chip{
  flex:0 0 auto;
  padding:9px 14px;
  font-size:13px;
  font-weight:700;
  box-shadow:none;
}
.product-grid-v17{gap:15px}
.product-card-v17{
  border-radius:22px;
  box-shadow:0 10px 34px rgba(74,52,42,.07);
  border-color:rgba(125,81,66,.10);
  background:#fff;
}
.product-card-v17:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 50px rgba(74,52,42,.12);
}
.product-img-v17{
  aspect-ratio:1/1;
  padding:8px;
  background:
    radial-gradient(circle at 50% 45%,#fff 0%,#fbf6f2 68%,#f7efea 100%);
}
.product-img-v17 img{
  width:100%;
  height:100%;
  object-fit:contain;
  border-radius:15px;
}
.product-body-v17{padding:15px 16px 16px}
.product-meta-row{
  min-height:25px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:6px;
  margin-bottom:8px;
}
.badge-v17{
  margin:0;
  padding:5px 8px;
  background:#f7efea;
  font-size:10px;
  font-weight:700;
  max-width:72%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.volume-pill{
  color:var(--muted);
  font-size:10px;
  font-weight:700;
  white-space:nowrap;
}
.product-body-v17 h3{
  margin:0 0 6px;
  min-height:44px;
  font-size:17px;
  line-height:1.28;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.product-desc{
  color:var(--muted);
  font-size:12px;
  line-height:1.5;
  min-height:36px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.product-card-v17 .retail-price{
  margin-top:11px;
  padding-top:10px;
}
.product-card-v17 .retail-price span{font-size:10px}
.product-card-v17 .retail-price strong{font-size:18px}
.view-detail{
  margin-top:12px;
  padding-top:10px;
  border-top:1px solid rgba(125,81,66,.07);
  display:flex;
  justify-content:space-between;
  color:var(--brand);
  font-size:11px;
  font-weight:800;
  letter-spacing:.01em;
}
.posts{gap:14px}
.post-card{
  border-radius:20px;
  box-shadow:0 9px 30px rgba(74,52,42,.055);
  border-color:rgba(125,81,66,.09);
}
.post-card h3{font-size:18px;line-height:1.35}

.modal{padding:10px}
.modal-card{border-radius:24px}
.modal-head{padding:14px 16px}
.modal-media{
  min-height:260px;
  background:linear-gradient(145deg,#fff,#fbf4ef);
}
.modal-media img{object-fit:contain}
.detail-price{
  border-radius:14px;
  background:#fbf4ef;
}
.qr{background:#faf7f4;border-radius:16px;padding:16px;border:1px solid var(--line)}
.qr img{background:white;padding:4px}

.contact-section{padding-bottom:22px}
.contact-panel{
  overflow:hidden;
  position:relative;
  padding:30px;
  color:#fff;
  border-radius:28px;
  background:
    radial-gradient(circle at 100% 0,rgba(216,169,149,.28),transparent 260px),
    linear-gradient(135deg,#65463a,#49312a);
  box-shadow:0 20px 58px rgba(56,37,30,.18);
}
.contact-panel h2{
  color:#fff;
  margin:5px 0 5px;
  font-size:30px;
}
.contact-panel>div:first-child p{margin:0;color:rgba(255,255,255,.72)}
.section-kicker-light{color:#e4c7b9}
.contact-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:20px;
}
.contact-btn{
  min-width:150px;
  display:grid;
  grid-template-columns:34px 1fr;
  column-gap:8px;
  align-items:center;
  padding:10px 13px;
  border-radius:16px;
  background:rgba(255,255,255,.09);
  border:1px solid rgba(255,255,255,.14);
  color:#fff;
}
.contact-btn>span{
  grid-row:1/3;
  display:grid;
  place-items:center;
  width:34px;height:34px;
  border-radius:50%;
  background:rgba(255,255,255,.12);
  font-weight:900;
}
.contact-btn b{font-size:12px}
.contact-btn small{font-size:10px;color:rgba(255,255,255,.68)}
.contact-btn-primary{background:#fff;color:var(--v17-deep)}
.contact-btn-primary>span{background:#f3e8e2}
.contact-btn-primary small{color:#806c62}
.contact-address{
  width:100%;
  display:flex;
  flex-direction:column;
  gap:3px;
  padding:11px 2px 0;
  color:rgba(255,255,255,.77);
  font-size:12px;
}
.contact-address b{color:#fff;font-size:11px}
.contact-empty{color:rgba(255,255,255,.7)}
.contact-notice{
  margin-top:18px;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.13);
  color:rgba(255,255,255,.57);
  font-size:11px;
  line-height:1.55;
}
.footer{margin-top:16px;padding-bottom:96px}

.mobile-bottom-nav{display:none}

@media(max-width:920px){
  .hero-v17-card{
    grid-template-columns:1fr .48fr;
    min-height:320px;
    padding:36px;
  }
  .brand-orb{width:150px;height:150px}
}
@media(max-width:620px){
  body{padding-bottom:68px}
  .container{width:min(100% - 24px,1180px)}
  .header{position:sticky}
  .nav{min-height:57px}
  .brand-v17 img{height:34px}
  .navlinks-v17>a:not(.keep){display:none}
  .navlinks-v17 .contact-pill{display:none}
  .navlinks-v17{margin-left:auto}
  .install-mini{font-size:12px;padding:8px 11px}
  .hero-v17{padding:14px 0 10px}
  .hero-v17-card{
    min-height:0;
    grid-template-columns:1fr;
    padding:24px 21px 22px;
    border-radius:24px;
  }
  .hero-v17-card:before{font-size:74px;bottom:-18px}
  .hero-v17 h1{
    margin:10px 0 12px;
    font-size:39px;
    line-height:1.00;
  }
  .hero-v17 p{font-size:14px;line-height:1.55}
  .hero-v17-brand{display:none}
  .hero-v17 .hero-actions{margin-top:18px}
  .hero-v17 .primary-btn{padding:10px 15px;font-size:13px}
  .text-link-btn{font-size:12px}
  .install-section{padding:0 0 8px}
  .install-card{
    grid-template-columns:48px 1fr;
    gap:11px;
    padding:12px;
    border-radius:18px;
  }
  .install-icon-wrap{width:48px;height:48px;border-radius:13px}
  .install-copy h2{font-size:16px;margin:2px 0}
  .install-copy p{font-size:11px;line-height:1.4}
  .install-copy .eyebrow{font-size:8px}
  .install-cta{
    grid-column:1/-1;
    width:100%;
    padding:9px 12px;
    font-size:12px;
  }
  .section{padding:27px 0}
  .section-head-v17{margin-bottom:12px}
  .section-head-v17 h2{font-size:25px}
  .section-head-v17 .muted{font-size:12px}
  .section-kicker{font-size:9px}
  .product-count{font-size:10px;padding:6px 9px}
  .search-v17{padding:12px 12px 12px 40px;font-size:13px}
  .chips-v17 .chip{font-size:11px;padding:8px 11px}
  .grid.product-grid-v17{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }
  .product-card-v17{border-radius:17px}
  .product-img-v17{padding:5px}
  .product-body-v17{padding:11px}
  .product-meta-row{min-height:21px;margin-bottom:6px}
  .badge-v17,.volume-pill{font-size:8.5px}
  .badge-v17{padding:4px 6px}
  .product-body-v17 h3{
    min-height:36px;
    font-size:14px;
    margin-bottom:5px;
  }
  .product-desc{
    min-height:32px;
    font-size:10.5px;
    line-height:1.45;
  }
  .product-card-v17 .retail-price{margin-top:8px;padding-top:8px}
  .product-card-v17 .retail-price span{font-size:8.5px}
  .product-card-v17 .retail-price strong{font-size:16px}
  .view-detail{font-size:9.5px;margin-top:9px;padding-top:8px}
  .posts{grid-template-columns:1fr}
  .post-card{padding:16px}
  .modal{align-items:flex-end;padding:0}
  .modal-card{
    width:100%;
    max-height:92vh;
    border-radius:24px 24px 0 0;
  }
  .modal-body{padding:15px;gap:16px}
  .modal-media{min-height:240px}
  .contact-panel{padding:23px 18px;border-radius:23px}
  .contact-panel h2{font-size:25px}
  .contact-panel>div:first-child p{font-size:12px}
  .contact-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .contact-btn{min-width:0;padding:9px}
  .contact-address{grid-column:1/-1}
  .footer{padding:24px 0 84px}
  .footer-grid{gap:8px;font-size:12px}
  .mobile-bottom-nav{
    position:fixed;
    z-index:45;
    left:10px;
    right:10px;
    bottom:max(8px,env(safe-area-inset-bottom));
    height:60px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    padding:5px 7px;
    border:1px solid rgba(125,81,66,.12);
    border-radius:20px;
    background:rgba(255,255,255,.93);
    box-shadow:0 14px 48px rgba(58,39,31,.16);
    backdrop-filter:blur(18px);
  }
  .mobile-bottom-nav a{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:1px;
    color:#796a63;
  }
  .mobile-bottom-nav .nav-symbol{font-size:17px;line-height:1}
  .mobile-bottom-nav small{font-size:8.5px;font-weight:700}
  .standalone-app .mobile-bottom-nav{bottom:max(8px,env(safe-area-inset-bottom))}
}


/* BIO.ONE V1.8 — FINAL POLISH */
.nav{min-height:58px}
.brand-v17 img{height:42px;width:auto}
.hero-v17{padding-top:12px}
.hero-v17-card{box-shadow:0 18px 56px rgba(74,52,42,.075)}
.product-img-v17{aspect-ratio:4/5;min-height:0;padding:7px}
.product-img-v17 img{object-fit:contain;object-position:center}
.product-card-v17{overflow:hidden}
.product-body-v17{padding-top:13px}
.product-card-v17 .retail-price strong{font-variant-numeric:tabular-nums}
.product-tools{margin-bottom:16px}
.chips-v17{gap:8px}
.chips-v17 .chip.active{box-shadow:0 5px 16px rgba(125,81,66,.14)}
.search-v17:focus{border-color:rgba(125,81,66,.34);box-shadow:0 0 0 4px rgba(125,81,66,.055)}
.mobile-bottom-nav .nav-icon{width:20px;height:20px;display:grid;place-items:center;color:currentColor}
.mobile-bottom-nav .nav-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.mobile-bottom-nav .bottom-nav-item{transition:color .18s ease,transform .18s ease}
.mobile-bottom-nav .bottom-nav-item:active{transform:scale(.96)}
.modal-media{border-radius:18px}
.contact-letter{font-size:10px!important;letter-spacing:.02em;font-weight:900!important}
.product-count{box-shadow:0 4px 16px rgba(74,52,42,.035)}
.view-detail span{transition:transform .18s ease}
.product-card-v17:active .view-detail span{transform:translateX(2px)}
@media(max-width:620px){
  body{padding-bottom:92px}
  .nav{min-height:54px}
  .brand-v17 img{height:39px}
  .hero-v17-card{padding:22px 20px 21px}
  .hero-v17 h1{font-size:37px;letter-spacing:-.052em}
  .hero-v17 p{font-size:13.5px}
  .product-img-v17{aspect-ratio:4/5;padding:4px}
  .product-body-v17{padding:10px 10px 12px}
  .product-grid-v17{padding-bottom:14px}
  .mobile-bottom-nav{
    left:12px;right:12px;height:54px;padding:4px 6px 3px;
    border-radius:18px;bottom:max(4px,env(safe-area-inset-bottom));
    box-shadow:0 10px 34px rgba(58,39,31,.14)
  }
  .mobile-bottom-nav a{gap:2px}
  .mobile-bottom-nav small{font-size:8px;line-height:1}
  .mobile-bottom-nav .nav-icon{width:18px;height:18px}
  .mobile-bottom-nav .nav-icon svg{width:17px;height:17px}
  .footer{padding-bottom:78px}
  .modal-media{min-height:280px}
}
@supports(padding:max(0px)){
  @media(max-width:620px){
    body{padding-bottom:max(92px,calc(env(safe-area-inset-bottom) + 68px))}
  }
}


/* =========================================================
   BIO.ONE V1.9 — HERO MESSAGE + PRICE ATTENTION
   ========================================================= */
.hero-title-v19{
  margin:12px 0 16px!important;
  max-width:760px!important;
  line-height:1!important;
}
.hero-title-v19 > span{display:block}
.hero-title-v19 .hero-title-brandline{
  margin-bottom:8px;
  color:#201a17;
  font-size:.60em;
  line-height:1;
  font-weight:900;
  letter-spacing:.055em;
}
.hero-title-v19 .hero-title-mainline{
  color:#201a17;
  font-size:.72em;
  line-height:1.06;
  font-weight:900;
  letter-spacing:-.045em;
}
.hero-title-v19 .hero-title-benefitline{
  margin-top:11px;
  color:var(--brand);
  font-size:.36em;
  line-height:1.28;
  font-weight:900;
  letter-spacing:.055em;
}

/* Giá bán chuyển động nhẹ: nổi bật nhưng không làm mất chất premium. */
.retail-price strong{
  display:inline-block;
  width:max-content;
  max-width:100%;
  transform-origin:left center;
  color:transparent;
  background-image:linear-gradient(
    105deg,
    var(--brand) 0%,
    var(--brand) 38%,
    #b86f52 46%,
    #e0a486 51%,
    var(--brand) 60%,
    var(--brand) 100%
  );
  background-size:240% 100%;
  background-position:100% 50%;
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  animation:
    bioPriceShine 4.6s ease-in-out infinite,
    bioPricePulse 4.6s ease-in-out infinite;
  will-change:transform,background-position;
}
.product-card-v17:nth-child(even) .retail-price strong{animation-delay:.28s}
.detail-price strong{animation-delay:.12s}

@keyframes bioPriceShine{
  0%,60%{background-position:100% 50%}
  82%,100%{background-position:0% 50%}
}
@keyframes bioPricePulse{
  0%,64%,100%{transform:scale(1)}
  74%{transform:scale(1.045)}
  82%{transform:scale(1)}
  90%{transform:scale(1.025)}
}

@media(max-width:620px){
  .hero-title-v19{margin:9px 0 12px!important}
  .hero-title-v19 .hero-title-brandline{
    margin-bottom:7px;
    font-size:.62em;
  }
  .hero-title-v19 .hero-title-mainline{
    font-size:.70em;
    line-height:1.08;
    letter-spacing:-.04em;
  }
  .hero-title-v19 .hero-title-benefitline{
    margin-top:9px;
    font-size:.37em;
    line-height:1.35;
    letter-spacing:.035em;
  }
}

@media(prefers-reduced-motion:reduce){
  .retail-price strong{
    animation:none!important;
    color:var(--brand);
    background:none;
    -webkit-text-fill-color:currentColor;
  }
}


/* =========================================================
   BIO.ONE V2.0 — Ý KIẾN KHÁCH HÀNG + ADMIN CARE CENTER
   ========================================================= */
.feedback-nav-pill{font-weight:800}
.feedback-section{padding-top:30px}
.feedback-panel{
  display:grid;grid-template-columns:.72fr 1.28fr;gap:26px;
  padding:30px;border:1px solid var(--line);border-radius:28px;
  background:linear-gradient(135deg,#fff,#fbf3ee);box-shadow:var(--shadow)
}
.feedback-intro{padding:8px 4px}
.feedback-intro h2{margin:8px 0 10px;font-size:34px}
.feedback-intro p{color:var(--muted);line-height:1.65;margin:0 0 18px}
.feedback-privacy-note{padding:13px 14px;border-radius:16px;background:#f6ece7;color:#6b5045;font-size:12px;line-height:1.55}
.feedback-form{background:#fff;border:1px solid var(--line);border-radius:22px;padding:20px}
.feedback-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
.feedback-full{grid-column:1/-1}
.feedback-form textarea{min-height:120px}
.required{color:#b34747}
.feedback-consent{border:1px solid #ead9d0;background:#fbf6f2;border-radius:14px;padding:13px 14px;margin:4px 0 14px}
.feedback-consent label{display:flex;gap:10px;align-items:flex-start;color:#5f514b;font-size:12px;line-height:1.55;cursor:pointer}
.feedback-consent input{margin-top:3px;accent-color:var(--brand)}
.feedback-submit-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.feedback-submit-row .primary-btn{min-width:132px;font-weight:800}
.feedback-submit-row .primary-btn:disabled{opacity:.55;cursor:wait}
.feedback-message{font-size:12px;line-height:1.45;color:var(--muted)}
.feedback-message.success{color:var(--ok);font-weight:700}
.feedback-message.error{color:var(--danger);font-weight:700}
.feedback-honeypot{position:absolute!important;left:-99999px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.feedback-count-badge{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;margin-left:6px;border-radius:999px;background:#dc4d4d;color:#fff;font-size:11px;font-weight:900}
.feedback-side-link{display:flex;align-items:center;justify-content:space-between}
.feedback-admin-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-end;margin-bottom:16px}
.feedback-admin-head h2{font-size:32px;margin:5px 0 4px}
.feedback-admin-head p{margin:0;max-width:720px}
.feedback-admin-actions{display:flex;gap:8px;flex-wrap:wrap}
.feedback-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}
.feedback-stat{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px;box-shadow:0 8px 26px rgba(74,52,42,.055)}
.feedback-stat span{display:block;color:var(--muted);font-size:12px;margin-bottom:5px}
.feedback-stat strong{font-size:28px;color:var(--brand)}
.feedback-filters{display:grid;grid-template-columns:minmax(220px,1fr) 200px 250px;gap:10px;margin-bottom:14px}
.feedback-filters .search{width:100%;min-width:0}
.feedback-row-new{background:#fff8f4}
.feedback-row-new td:first-child{border-left:3px solid #dc6d50}
.feedback-topic{display:inline-flex;border-radius:999px;background:#f7ede8;color:var(--brand);padding:6px 9px;font-size:11px;font-weight:800}
.feedback-status{display:inline-flex;border-radius:999px;padding:6px 9px;font-size:11px;font-weight:800;white-space:nowrap}
.feedback-status.is-new{background:#fff0ea;color:#b84d36}
.feedback-status.is-viewed{background:#f3f0ee;color:#665b56}
.feedback-status.is-forwarded{background:#eef4ff;color:#3f6296}
.feedback-status.is-completed{background:#edf7f1;color:#2f7a5c}
.feedback-detail-card{width:min(820px,100%)}
.feedback-detail-body{padding:20px}
.feedback-customer-card{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:14px}
.feedback-customer-card>div{border:1px solid var(--line);border-radius:14px;padding:12px;background:#fcfaf8}
.feedback-customer-card span{display:block;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.05em;margin-bottom:4px}
.feedback-customer-card strong{font-size:14px;word-break:break-word}
.feedback-message-card{border:1px solid var(--line);border-radius:18px;padding:16px;margin-bottom:14px}
.feedback-message-card p{line-height:1.7;margin:12px 0 0;white-space:normal}
.feedback-consent-ok{background:#edf7f1;color:#2f7a5c;border:1px solid #d5eadc;padding:11px 13px;border-radius:13px;font-size:12px;font-weight:700;margin-bottom:14px}
.feedback-admin-fields{margin-top:6px}
.feedback-detail-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.feedback-complete-btn{color:var(--ok)}
.admin-toast{position:fixed;right:18px;bottom:18px;z-index:120;max-width:360px;background:#2b211d;color:#fff;border-radius:14px;padding:12px 15px;box-shadow:0 18px 55px rgba(0,0,0,.23);font-size:13px;line-height:1.45;opacity:0;transform:translateY(12px);pointer-events:none;transition:.2s ease}
.admin-toast.show{opacity:1;transform:translateY(0)}
@media(max-width:920px){
  .feedback-panel{grid-template-columns:1fr;padding:22px}
  .feedback-stats{grid-template-columns:repeat(2,1fr)}
  .feedback-filters{grid-template-columns:1fr}
  .feedback-admin-head{align-items:flex-start;flex-direction:column}
  .sidebar{display:flex;align-items:center;gap:5px;overflow-x:auto;padding:12px 14px;position:sticky;top:0;z-index:50;height:auto}
  .sidebar img{display:none}
  .side-link{flex:0 0 auto;margin:0;padding:9px 10px;font-size:12px}
}
@media(max-width:620px){
  .feedback-section{padding-top:20px}
  .feedback-panel{padding:16px;border-radius:22px;gap:16px}
  .feedback-intro{padding:2px}
  .feedback-intro h2{font-size:26px}
  .feedback-intro p{font-size:12px}
  .feedback-form{padding:15px;border-radius:18px}
  .feedback-grid{grid-template-columns:1fr}
  .feedback-full{grid-column:auto}
  .feedback-submit-row{align-items:stretch;flex-direction:column}
  .feedback-submit-row .primary-btn{width:100%}
  .feedback-stats{gap:8px}
  .feedback-stat{padding:12px;border-radius:15px}
  .feedback-stat strong{font-size:23px}
  .admin-main{padding:14px}
  .admin-top h1{font-size:25px}
  .feedback-admin-head h2{font-size:27px}
  .feedback-customer-card{grid-template-columns:1fr}
  .feedback-detail-body{padding:14px}
  .feedback-detail-actions>*{width:100%}
  .feedback-table{min-width:720px}
  .admin-toast{left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom))}
}

.admin-feedback-alert{width:100%;border:1px solid #efd0c4;background:#fff5f0;color:#8f422f;border-radius:16px;padding:12px 14px;margin:-4px 0 18px;display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;text-align:left;box-shadow:0 8px 26px rgba(139,68,47,.08)}
.admin-feedback-alert strong{flex:1;font-size:13px}
.admin-feedback-alert:hover{background:#ffede5}


/* BIO.ONE V2.1 — Web Push status */
.push-status{margin:-4px 0 14px;border:1px solid var(--line);background:#fcfaf8;border-radius:13px;padding:10px 12px;font-size:12px;line-height:1.45;color:var(--muted)}
.push-status[data-state="enabled"]{background:#edf7f1;border-color:#d5eadc;color:#2f7a5c;font-weight:750}
.push-status[data-state="denied"],.push-status[data-state="error"]{background:#fff3ef;border-color:#efd4ca;color:#a64b38}
.push-status[data-state="install"]{background:#fff8e8;border-color:#efe0b9;color:#7a6030}


/* BIO.ONE V2.1.2 — Push diagnostics + mobile feedback cards */
.push-delivery-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:0 0 14px}
.push-delivery-summary>div{border:1px solid var(--line);background:#fff;border-radius:14px;padding:11px 13px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.push-delivery-summary span{font-size:11px;color:var(--muted);font-weight:700}.push-delivery-summary strong{font-size:19px;color:var(--brand)}
.push-result{display:inline-flex;align-items:center;border-radius:999px;padding:6px 9px;font-size:10px;font-weight:850;white-space:nowrap;border:1px solid transparent}
.push-sent{background:#edf7f1;color:#2f7a5c;border-color:#d5eadc}.push-error{background:#fff1ed;color:#a54b39;border-color:#efd1c7}.push-pending{background:#f5f2f0;color:#70645e;border-color:#e6dfdb}
.feedback-push-detail{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:13px 14px;border-radius:14px;margin-bottom:14px;border:1px solid var(--line)}
.feedback-push-detail>div{min-width:0}.feedback-push-detail strong,.feedback-push-detail span{display:block}.feedback-push-detail strong{font-size:13px;margin-bottom:4px}.feedback-push-detail span{font-size:12px;line-height:1.5;word-break:break-word}.feedback-push-detail small{white-space:nowrap;color:var(--muted)}
.push-detail-sent{background:#edf7f1;border-color:#d5eadc;color:#2f7a5c}.push-detail-error{background:#fff1ed;border-color:#efd1c7;color:#934330}.push-detail-pending{background:#f7f4f2;color:#665b56}
.feedback-mobile-cards{display:none}.feedback-mobile-card{border:1px solid var(--line);border-radius:18px;background:#fff;padding:14px;box-shadow:0 7px 22px rgba(74,52,42,.05);cursor:pointer}.feedback-mobile-card.is-new{border-left:4px solid #dc6d50;background:#fffaf7}
.feedback-mobile-top,.feedback-mobile-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px}.feedback-mobile-top>div{min-width:0}.feedback-mobile-top strong{display:block;font-size:15px}.feedback-mobile-top span:not(.feedback-status){font-size:10px;color:var(--muted)}
.feedback-mobile-tags{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:10px 0 8px}.feedback-mobile-product{font-size:12px;font-weight:800;color:#4c403a;margin-bottom:6px}.feedback-mobile-message{font-size:12px;line-height:1.5;color:#665b56;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.feedback-mobile-push-error{margin-top:9px;padding:9px 10px;border-radius:11px;background:#fff1ed;color:#934330;font-size:11px;line-height:1.45}.feedback-mobile-bottom{border-top:1px solid #f0e8e4;margin-top:11px;padding-top:10px}.feedback-mobile-bottom>span{font-size:11px;color:var(--muted);min-width:0;overflow:hidden;text-overflow:ellipsis}.feedback-mobile-bottom .small-btn{pointer-events:none}
@media(max-width:620px){
  .push-delivery-summary{grid-template-columns:1fr;gap:7px}.push-delivery-summary>div{padding:9px 11px}.push-delivery-summary strong{font-size:17px}
  .feedback-table-wrap{display:none}.feedback-mobile-cards{display:grid;gap:10px}
  .feedback-filters{gap:8px}.feedback-filters .search{font-size:16px}
  .feedback-admin-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.feedback-admin-actions>*{width:100%;min-width:0;padding-left:8px;padding-right:8px}
  .feedback-admin-actions .primary-btn{grid-column:1/-1}
  .feedback-push-detail{flex-direction:column}.feedback-push-detail small{white-space:normal}
  .sidebar{max-width:100vw;scrollbar-width:none;-webkit-overflow-scrolling:touch}.sidebar::-webkit-scrollbar{display:none}.side-link{white-space:nowrap}
  .admin-top .admin-status{display:none}.admin-top{margin-bottom:14px}.admin-top .muted{font-size:11px;line-height:1.35}
}


.feedback-delete-btn{
  color:var(--danger);
  border:1px solid rgba(179,71,71,.28);
  background:#fff7f7;
}
.feedback-delete-btn:hover{
  background:#fff0f0;
}


/* BIO.ONE V2.2 — Admin reply + customer response loop */
.my-feedback-wrap{grid-column:1/-1;margin-top:18px;border-top:1px solid var(--line);padding-top:20px}
.my-feedback-title{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:12px}.my-feedback-title h3{margin:4px 0;font-size:22px}.my-feedback-title p{margin:0;color:var(--muted);font-size:12px}.my-feedback-list{display:grid;gap:12px}
.my-feedback-card{border:1px solid var(--line);border-radius:18px;background:#fff;padding:15px;box-shadow:0 7px 22px rgba(74,52,42,.045)}.my-feedback-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.my-feedback-head strong{display:block;font-size:14px}.my-feedback-head>div>span{display:block;color:var(--muted);font-size:10px;margin-top:3px}.my-feedback-status{border-radius:999px;padding:6px 9px;font-size:10px;font-weight:850;white-space:nowrap}.my-feedback-status.sent{background:#fff0ea;color:#b84d36}.my-feedback-status.viewed{background:#f3f0ee;color:#665b56}.my-feedback-status.replied{background:#edf7f1;color:#2f7a5c}.my-feedback-product{font-size:11px;font-weight:800;color:var(--brand);margin-top:10px}.my-feedback-question,.my-feedback-reply{margin-top:10px;border-radius:14px;padding:12px 13px}.my-feedback-question{background:#faf7f5;border:1px solid #eee4df}.my-feedback-reply{background:#edf7f1;border:1px solid #d5eadc}.my-feedback-question small,.my-feedback-reply small{display:block;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.04em;margin-bottom:5px}.my-feedback-question p,.my-feedback-reply p{margin:0;font-size:12px;line-height:1.6}.my-feedback-reply span{display:block;margin-top:7px;font-size:10px;color:#557564}.my-feedback-waiting,.my-feedback-loading,.my-feedback-empty{margin-top:10px;color:var(--muted);font-size:11px;line-height:1.5}.feedback-reply-field{margin-top:14px}.feedback-reply-field textarea{min-height:110px}.feedback-replied-note{background:#edf7f1;color:#2f7a5c;border:1px solid #d5eadc;padding:10px 12px;border-radius:12px;font-size:11px;font-weight:750;margin:8px 0 14px}.feedback-reply-btn{background:var(--brand)!important;color:#fff!important}
@media(max-width:620px){.my-feedback-title{align-items:stretch;flex-direction:column}.my-feedback-title .ghost-btn{width:100%}.my-feedback-card{padding:13px}.my-feedback-head{gap:7px}}

/* =========================================================
   BIO.ONE V2.3 — TƯ VẤN TÓC + PHÁC ĐỒ ĐƠN GIẢN
   ========================================================= */
.advisor-section{padding:8px 0 24px;scroll-margin-top:74px}
.advisor-card{
  position:relative;overflow:hidden;
  border:1px solid rgba(125,81,66,.14);border-radius:28px;
  background:linear-gradient(135deg,#fff 0%,#fff8f3 58%,#f4e5dc 100%);
  box-shadow:0 18px 55px rgba(74,52,42,.08);
  padding:28px 30px;
}
.advisor-card:after{
  content:"✦";position:absolute;right:24px;top:12px;
  font-size:92px;color:rgba(125,81,66,.045);pointer-events:none
}
.advisor-intro{position:relative;z-index:1;max-width:760px}
.advisor-kicker{
  display:inline-flex;align-items:center;gap:6px;
  color:#a96043;font-size:11px;font-weight:900;letter-spacing:.11em
}
.advisor-title-animated{
  width:max-content;max-width:100%;margin:7px 0 8px!important;
  font-size:clamp(28px,5vw,42px)!important;line-height:1.05;
  letter-spacing:-.035em;
  color:transparent;
  background:linear-gradient(100deg,#7d5142 0%,#7d5142 34%,#d66e48 47%,#f0aa72 52%,#9f5239 62%,#7d5142 100%);
  background-size:260% 100%;background-position:100% 50%;
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
  animation:advisorTitleShine 3.8s ease-in-out infinite,advisorTitleFloat 3.8s ease-in-out infinite;
}
.advisor-intro>p{margin:0;color:var(--muted);line-height:1.6;font-size:15px;max-width:680px}
.advisor-start-btn,.advisor-hero-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  border:0;border-radius:999px;background:linear-gradient(105deg,#7d5142,#a75e43,#7d5142);
  background-size:220% 100%;color:#fff;font-weight:900;cursor:pointer;
  box-shadow:0 12px 30px rgba(125,81,66,.25);
  animation:advisorButtonGlow 3.2s ease-in-out infinite;
}
.advisor-start-btn{margin-top:17px;padding:13px 19px;font-size:15px}
.advisor-hero-btn{padding:11px 16px}
.advisor-start-btn span,.advisor-hero-btn span{display:inline-block;transition:transform .2s ease}
.advisor-start-btn:hover span{transform:translateX(3px)}
.advisor-note{margin-top:9px;color:#8a7770;font-size:11px}
.advisor-flow{position:relative;z-index:1;max-width:760px;margin-top:8px}
.advisor-progress{display:flex;align-items:center;gap:12px;margin-bottom:18px;color:var(--brand);font-size:12px;font-weight:800}
.advisor-progress-track{height:6px;flex:1;overflow:hidden;border-radius:999px;background:#eaded7}
.advisor-progress-track i{display:block;width:33.333%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#7d5142,#d88764);transition:width .25s ease}
.advisor-question h3{font-size:24px;margin:0 0 5px;letter-spacing:-.025em}
.advisor-question p{margin:0 0 14px;color:var(--muted);font-size:13px}
.advisor-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.advisor-option{
  text-align:left;border:1px solid var(--line);border-radius:16px;background:#fff;
  padding:13px 14px;color:var(--ink);font-weight:750;cursor:pointer;
  box-shadow:0 6px 18px rgba(74,52,42,.035);transition:.18s ease
}
.advisor-option:hover,.advisor-option:focus-visible{border-color:#c58b73;transform:translateY(-1px);outline:none;box-shadow:0 9px 24px rgba(74,52,42,.08)}
.advisor-option small{display:block;margin-top:3px;color:var(--muted);font-weight:500;line-height:1.4}
.advisor-back-btn{margin-top:12px;border:0;background:transparent;color:var(--muted);font-size:12px;font-weight:700;cursor:pointer;padding:6px 0}
.advisor-result{position:relative;z-index:1}
.advisor-result-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}
.advisor-result-head h3{margin:3px 0 4px;font-size:26px;letter-spacing:-.03em}
.advisor-result-head p{margin:0;color:var(--muted);font-size:13px;line-height:1.5}
.advisor-reset{border:1px solid var(--line);background:#fff;color:var(--brand);border-radius:999px;padding:8px 11px;font-size:11px;font-weight:800;cursor:pointer;white-space:nowrap}
.advisor-match-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0 17px}
.advisor-match{
  border:1px solid var(--line);border-radius:17px;background:#fff;padding:13px;
  cursor:pointer;transition:.18s ease
}
.advisor-match:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(74,52,42,.08)}
.advisor-match .match-label{display:inline-block;color:#a45d43;background:#f8ece6;border-radius:999px;padding:5px 8px;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}
.advisor-match strong{display:block;margin:8px 0 4px;font-size:14px;line-height:1.35}
.advisor-match span{color:var(--muted);font-size:11px;line-height:1.45}
.advisor-plan{border-top:1px solid var(--line);padding-top:15px}
.advisor-plan h4{margin:0 0 10px;font-size:16px}
.advisor-plan-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.advisor-plan-step{background:rgba(255,255,255,.7);border:1px solid rgba(125,81,66,.1);border-radius:14px;padding:11px 12px}
.advisor-plan-step b{display:block;color:var(--brand);font-size:11px;margin-bottom:4px}
.advisor-plan-step span{display:block;font-size:12px;line-height:1.45}
.advisor-disclaimer{margin-top:11px;color:#8b7a73;font-size:10px;line-height:1.45}
@keyframes advisorTitleShine{0%,55%{background-position:100% 50%}82%,100%{background-position:0% 50%}}
@keyframes advisorTitleFloat{0%,65%,100%{transform:translateY(0)}75%{transform:translateY(-2px)}86%{transform:translateY(0)}}
@keyframes advisorButtonGlow{0%,100%{background-position:100% 50%;box-shadow:0 10px 25px rgba(125,81,66,.22)}50%{background-position:0% 50%;box-shadow:0 13px 32px rgba(171,88,55,.34)}}
@media(max-width:720px){
  .advisor-card{padding:22px 18px;border-radius:23px}
  .advisor-options{grid-template-columns:1fr}
  .advisor-match-grid{grid-template-columns:1fr}
  .advisor-plan-steps{grid-template-columns:1fr}
  .advisor-result-head{flex-direction:column}
  .advisor-result-head h3{font-size:23px}
}
@media(max-width:620px){
  .advisor-section{padding:4px 0 18px}
  .advisor-card{padding:19px 16px}
  .advisor-intro>p{font-size:13px}
  .advisor-start-btn{width:100%;padding:13px 16px}
  .advisor-title-animated{font-size:29px!important}
  .advisor-question h3{font-size:21px}
  .hero-actions .advisor-hero-btn{width:100%}
}
@media(prefers-reduced-motion:reduce){
  .advisor-title-animated,.advisor-start-btn,.advisor-hero-btn{animation:none!important}
  .advisor-title-animated{color:var(--brand);background:none;-webkit-text-fill-color:currentColor}
}

/* BIO.ONE V2.3.1 — Tinh gọn khu tư vấn trên mobile */
.hero-actions-simple{margin-top:20px}
@media(max-width:620px){
  .hero-v17 .hero-actions.hero-actions-simple{margin-top:15px}
  .advisor-section{padding:2px 0 14px}
  .advisor-card{padding:16px 16px 15px;border-radius:22px}
  .advisor-card:after{right:18px;top:8px;font-size:76px}
  .advisor-kicker{font-size:10px;letter-spacing:.1em}
  .advisor-title-animated{margin:5px 0 6px!important;font-size:27px!important;line-height:1.04}
  .advisor-intro>p{font-size:12.5px;line-height:1.5}
  .advisor-start-btn{margin-top:12px;padding:12px 15px;font-size:14px}
  .advisor-note{margin-top:7px;font-size:10.5px}
}


/* =========================================================
   BIO.ONE V2.4 — Tư vấn theo nhóm + thumbnail sản phẩm
   ========================================================= */
.advisor-option>span{display:block}
.advisor-summary{display:flex;gap:7px;flex-wrap:wrap;margin:2px 0 14px}
.advisor-summary span{display:inline-flex;align-items:center;gap:6px;border:1px solid #eadbd3;background:rgba(255,255,255,.8);border-radius:999px;padding:7px 10px;color:#66554d;font-size:10.5px;line-height:1.2}
.advisor-summary b{color:var(--brand);font-size:9px;text-transform:uppercase;letter-spacing:.05em}
.advisor-match{display:grid;grid-template-columns:68px minmax(0,1fr);gap:11px;align-items:start;padding:11px}
.advisor-match-thumb{width:68px;height:82px;border-radius:13px;border:1px solid #eee2dc;background:linear-gradient(145deg,#fff,#faf2ed);display:grid;place-items:center;overflow:hidden}
.advisor-match-thumb img{width:100%;height:100%;object-fit:contain;display:block;padding:4px}
.advisor-thumb-placeholder{font-size:9px;font-weight:900;letter-spacing:.04em;color:#aa8a7d;text-align:center;padding:4px}
.advisor-match-copy{min-width:0}
.advisor-match-copy .match-label{margin-bottom:5px}
.advisor-match-copy strong{margin:4px 0 4px}
.advisor-match-copy .advisor-match-desc{display:block}
.advisor-match-copy em{display:block;margin-top:6px;color:#775a4e;font-size:10.5px;line-height:1.42;font-style:normal;font-weight:650}
.advisor-view-detail{display:block!important;margin-top:7px;color:#a4583d!important;font-weight:850;font-size:10.5px!important}
.advisor-catalog-link{display:inline-flex;margin-top:8px;color:var(--brand);font-weight:850;text-decoration:none}
@media(min-width:721px){
  .advisor-match-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  .advisor-category-options{grid-template-columns:1fr 1fr;gap:8px}
  .advisor-category-options .advisor-option{padding:11px 10px;font-size:12.5px;line-height:1.25}
  .advisor-category-options .advisor-option small{font-size:9.5px;line-height:1.3}
  .advisor-match{grid-template-columns:76px minmax(0,1fr);gap:11px}
  .advisor-match-thumb{width:76px;height:92px}
  .advisor-summary{gap:6px;margin-bottom:12px}
  .advisor-summary span{font-size:10px;padding:6px 9px}
}
@media(max-width:390px){
  .advisor-category-options{grid-template-columns:1fr}
}

/* =========================================================
   BIO.ONE V2.5 — PHÁC ĐỒ CHĂM SÓC TÓC THÔNG MINH
   ========================================================= */
.advisor-routine{
  margin-top:18px;padding:16px;border:1px solid rgba(125,81,66,.12);border-radius:20px;
  background:linear-gradient(145deg,rgba(255,255,255,.94),rgba(251,243,238,.86));
  box-shadow:0 12px 30px rgba(83,55,45,.06)
}
.advisor-routine-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.advisor-routine-kicker{display:block;color:#a65b40;font-size:9.5px;font-weight:900;letter-spacing:.13em;margin-bottom:4px}
.advisor-routine-head h4{margin:0;font-size:18px;line-height:1.25;letter-spacing:-.02em}
.advisor-routine-count{flex:0 0 auto;border:1px solid #ead7ce;background:#fff;border-radius:999px;padding:6px 8px;color:#8a5948;font-size:9px;font-weight:900;letter-spacing:.05em}
.advisor-routine-intro{margin:8px 0 13px;color:#75655e;font-size:11.5px;line-height:1.5}
.advisor-routine-steps{display:grid;gap:8px}
.advisor-routine-step{display:grid;grid-template-columns:28px 58px minmax(0,1fr);gap:10px;align-items:center;border:1px solid rgba(125,81,66,.10);border-radius:15px;padding:9px;background:rgba(255,255,255,.76)}
.advisor-routine-index{width:28px;height:28px;border-radius:999px;display:grid;place-items:center;background:#8b5745;color:#fff;font-size:11px;font-weight:900;box-shadow:0 5px 12px rgba(125,81,66,.18)}
.advisor-routine-media{width:58px;height:68px;border-radius:11px;border:1px solid #eee0d9;background:#fff;display:grid;place-items:center;overflow:hidden}
.advisor-routine-media .advisor-thumb-placeholder{font-size:7.8px}
.advisor-routine-media img{width:100%;height:100%;object-fit:contain;display:block;padding:3px}
.advisor-routine-placeholder{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#a07e70;text-align:center;padding:4px}
.advisor-routine-placeholder b{font-size:17px;line-height:1;color:#9c624d}
.advisor-routine-placeholder span{font-size:7px;font-weight:800;line-height:1.15}
.advisor-routine-copy{min-width:0}
.advisor-routine-copy small{display:block;color:#a55f46;font-size:8.5px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;margin-bottom:2px}
.advisor-routine-copy strong{display:block;color:#2e2724;font-size:13px;line-height:1.3;margin-bottom:3px}
.advisor-routine-copy>span{display:block;color:#76655e;font-size:10.5px;line-height:1.42}
.advisor-routine-product-link{display:inline-block;margin-top:5px;border:0;background:transparent;padding:0;color:#a4563c;font-size:9.5px;font-weight:850;cursor:pointer;text-align:left}
.advisor-routine-product-link:hover{text-decoration:underline}

@media(max-width:600px){
  .advisor-routine{margin-top:14px;padding:13px 12px;border-radius:18px}
  .advisor-routine-head h4{font-size:16px}
  .advisor-routine-intro{font-size:10.8px;margin:7px 0 11px}
  .advisor-routine-step{grid-template-columns:26px 52px minmax(0,1fr);gap:8px;padding:8px;border-radius:14px;align-items:center}
  .advisor-routine-index{width:26px;height:26px;font-size:10px}
  .advisor-routine-media{width:52px;height:62px;border-radius:10px}
  .advisor-routine-copy strong{font-size:12.5px}
  .advisor-routine-copy>span{font-size:10px;line-height:1.38}
  .advisor-routine-product-link{font-size:9px}
}


/* =========================================================
   BIO.ONE V2.6.1 — Floating Trợ lý BIO.ONE icon
   Cố định, luôn hiện khi cuộn, tối ưu cho iPhone.
   ========================================================= */

.assistant-fab{
  position:fixed;
  right:18px;
  bottom:22px;
  z-index:58;
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:56px;
  padding:10px 14px 10px 12px;
  border:1px solid rgba(125,81,66,.18);
  border-radius:999px;
  background:linear-gradient(135deg,#8a5646 0%,#6f4639 100%);
  color:#fff;
  box-shadow:0 14px 36px rgba(90,54,40,.24);
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, opacity .18s ease;
  animation:assistantFabFloat 3.2s ease-in-out infinite;
  -webkit-tap-highlight-color:transparent;
}
.assistant-fab:hover{transform:translateY(-1px);box-shadow:0 18px 44px rgba(90,54,40,.28)}
.assistant-fab:active{transform:scale(.97)}
.assistant-fab:focus-visible{outline:none;box-shadow:0 0 0 4px rgba(125,81,66,.16),0 16px 36px rgba(90,54,40,.28)}
.assistant-fab-icon{
  width:34px;height:34px;border-radius:50%;display:grid;place-items:center;
  flex:0 0 34px;font-size:18px;line-height:1;
  background:rgba(255,255,255,.18);backdrop-filter:blur(8px);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.14);
}
.assistant-fab-text{display:flex;flex-direction:column;align-items:flex-start;line-height:1}
.assistant-fab-text small{font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;opacity:.82;margin-bottom:4px}
.assistant-fab-text strong{font-size:14px;font-weight:900;letter-spacing:-.01em}
.assistant-fab-hint{
  position:fixed;
  right:18px;
  bottom:90px;
  z-index:57;
  width:min(280px,calc(100vw - 36px));
  padding:12px 14px;
  border-radius:18px;
  background:rgba(255,255,255,.98);
  border:1px solid rgba(125,81,66,.14);
  color:#5b463e;
  font-size:12px;
  line-height:1.5;
  box-shadow:0 14px 40px rgba(58,39,31,.12);
  opacity:0;
  transform:translateY(8px);
  pointer-events:none;
  transition:opacity .22s ease, transform .22s ease;
}
.assistant-fab-hint.show{opacity:1;transform:translateY(0)}
@keyframes assistantFabFloat{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-2px)}
}
@media(max-width:620px){
  .assistant-fab{
    right:12px;
    bottom:max(72px,calc(env(safe-area-inset-bottom) + 62px));
    min-height:52px;
    padding:9px 13px 9px 11px;
    gap:9px;
    box-shadow:0 12px 32px rgba(90,54,40,.26);
  }
  .assistant-fab-icon{width:32px;height:32px;flex-basis:32px;font-size:17px}
  .assistant-fab-text small{font-size:9px;margin-bottom:3px}
  .assistant-fab-text strong{font-size:13px}
  .assistant-fab-hint{
    right:12px;
    bottom:max(132px,calc(env(safe-area-inset-bottom) + 122px));
    width:min(256px,calc(100vw - 24px));
    border-radius:16px;
    font-size:11.5px;
  }
}
@media(prefers-reduced-motion:reduce){
  .assistant-fab{animation:none}
  .assistant-fab-hint{transition:none}
}


/* =========================================================
   BIO.ONE V2.6.2 — Floating Assistant + Bottom Chat Sheet
   Bước 2: giao diện chatbox, chưa bật logic trả lời tự động.
   ========================================================= */

/* Thu nút Trợ lý khoảng 10–15% so với V2.6.1 */
.assistant-fab{
  min-height:49px;
  padding:8px 12px 8px 9px;
  gap:8px;
  right:16px;
  bottom:20px;
}
.assistant-fab-icon{width:30px;height:30px;flex-basis:30px;font-size:16px}
.assistant-fab-text small{font-size:8.5px;margin-bottom:3px}
.assistant-fab-text strong{font-size:12.5px}

.assistant-sheet-backdrop{
  position:fixed;inset:0;z-index:70;
  background:rgba(40,27,22,.28);
  backdrop-filter:blur(2px);
  opacity:0;pointer-events:none;
  transition:opacity .22s ease;
}
.assistant-sheet-backdrop.show{opacity:1;pointer-events:auto}
.assistant-sheet{
  position:fixed;
  z-index:72;
  right:18px;
  bottom:18px;
  width:min(420px,calc(100vw - 36px));
  max-height:min(720px,78vh);
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border:1px solid rgba(125,81,66,.13);
  border-radius:28px;
  background:rgba(255,253,251,.99);
  box-shadow:0 28px 90px rgba(54,35,27,.28);
  transform:translateY(calc(100% + 34px));
  opacity:0;
  pointer-events:none;
  transition:transform .28s cubic-bezier(.2,.8,.2,1),opacity .2s ease;
}
.assistant-sheet.show{transform:translateY(0);opacity:1;pointer-events:auto}
.assistant-sheet-handle{display:none}
.assistant-sheet-head{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:16px 16px 13px;
  border-bottom:1px solid rgba(125,81,66,.09);
  background:linear-gradient(135deg,#fff,#fbf1ec);
}
.assistant-sheet-brand{display:flex;align-items:center;gap:10px;min-width:0}
.assistant-sheet-avatar{
  width:38px;height:38px;flex:0 0 38px;border-radius:50%;display:grid;place-items:center;
  background:linear-gradient(135deg,#9a6654,#755044);color:#fff;font-size:18px;
  box-shadow:0 7px 18px rgba(101,62,48,.18)
}
.assistant-sheet-brand small{display:block;color:#997061;font-size:8.5px;font-weight:900;letter-spacing:.15em;margin-bottom:3px}
.assistant-sheet-brand h2{margin:0;color:#302521;font-size:18px;line-height:1;letter-spacing:-.02em}
.assistant-close-btn{
  width:34px;height:34px;flex:0 0 34px;border:0;border-radius:50%;
  display:grid;place-items:center;background:#f3ebe7;color:#735548;font-size:22px;line-height:1;cursor:pointer
}
.assistant-conversation{
  flex:1;overflow:auto;overscroll-behavior:contain;
  padding:15px 15px 12px;
  background:linear-gradient(180deg,#fff 0%,#fdf9f7 100%);
}
.assistant-message{max-width:88%;border-radius:18px;padding:12px 13px;font-size:12px;line-height:1.5}
.assistant-message strong{display:block;font-size:13px;margin-bottom:2px;color:#342925}
.assistant-message span{display:block;color:#75645d}
.assistant-message-bot{background:#f6eeea;border:1px solid rgba(125,81,66,.08);border-top-left-radius:7px}
.assistant-message-user{margin:10px 0 10px auto;background:#7d5142;color:#fff;border-bottom-right-radius:7px}
.assistant-message-user span,.assistant-message-user strong{color:#fff}
.assistant-quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:13px}
.assistant-quick-actions button{
  min-width:0;text-align:left;display:grid;grid-template-columns:27px minmax(0,1fr);column-gap:7px;row-gap:1px;
  padding:11px 10px;border:1px solid rgba(125,81,66,.11);border-radius:16px;background:#fff;color:#3c302b;
  box-shadow:0 5px 16px rgba(74,52,42,.035);cursor:pointer;transition:.16s ease
}
.assistant-quick-actions button:active{transform:scale(.985)}
.assistant-quick-actions button>span{grid-row:1/3;width:27px;height:27px;border-radius:9px;display:grid;place-items:center;background:#f7eeea;font-size:14px}
.assistant-quick-actions b{font-size:11.5px;line-height:1.25;align-self:end}
.assistant-quick-actions small{font-size:8.8px;color:#8a7770;line-height:1.3;align-self:start}
.assistant-stage-note{
  margin-top:11px;padding:10px 11px;border-radius:14px;background:#fff7f0;border:1px solid #f0dfd4;
  color:#775c50;font-size:10.5px;line-height:1.45
}
.assistant-composer{
  display:grid;grid-template-columns:minmax(0,1fr) 42px;gap:8px;
  padding:11px 13px 8px;border-top:1px solid rgba(125,81,66,.09);background:#fff
}
.assistant-composer input{
  min-width:0;height:42px;border:1px solid rgba(125,81,66,.15);border-radius:999px;padding:0 14px;background:#fcfaf9;
  color:#3d302b;font-size:12px;outline:none
}
.assistant-composer input:focus{border-color:rgba(125,81,66,.36);box-shadow:0 0 0 3px rgba(125,81,66,.06)}
.assistant-composer button{
  width:42px;height:42px;border:0;border-radius:50%;background:#7d5142;color:#fff;font-size:16px;cursor:pointer
}
.assistant-beta-note{padding:0 15px 10px;text-align:center;color:#9b8982;font-size:8.5px;line-height:1.35;background:#fff}
body.assistant-open{overflow:hidden}

@media(max-width:620px){
  .assistant-fab{
    right:11px;
    bottom:max(70px,calc(env(safe-area-inset-bottom) + 60px));
    min-height:46px;
    padding:7px 11px 7px 8px;
    gap:7px;
  }
  .assistant-fab-icon{width:29px;height:29px;flex-basis:29px;font-size:15px}
  .assistant-fab-text small{font-size:8px}
  .assistant-fab-text strong{font-size:12px}
  .assistant-sheet{
    left:0;right:0;bottom:0;width:100%;
    height:74dvh;max-height:74dvh;
    border-left:0;border-right:0;border-bottom:0;
    border-radius:25px 25px 0 0;
    padding-bottom:env(safe-area-inset-bottom);
  }
  .assistant-sheet-handle{display:block;width:38px;height:4px;border-radius:999px;background:#d9ccc6;margin:7px auto 0;flex:0 0 auto}
  .assistant-sheet-head{padding:9px 14px 11px}
  .assistant-sheet-avatar{width:36px;height:36px;flex-basis:36px;font-size:17px}
  .assistant-sheet-brand h2{font-size:17px}
  .assistant-conversation{padding:13px 13px 10px}
  .assistant-message{font-size:11.5px;padding:11px 12px}
  .assistant-quick-actions{gap:8px;margin-top:11px}
  .assistant-quick-actions button{padding:10px 9px;border-radius:15px;grid-template-columns:25px minmax(0,1fr);column-gap:6px}
  .assistant-quick-actions button>span{width:25px;height:25px;font-size:13px}
  .assistant-quick-actions b{font-size:10.8px}
  .assistant-quick-actions small{font-size:8.3px}
  .assistant-composer{padding:9px 12px 7px;grid-template-columns:minmax(0,1fr) 40px}
  .assistant-composer input{height:40px;font-size:11.5px}
  .assistant-composer button{width:40px;height:40px}
  .assistant-beta-note{padding:0 14px 7px;font-size:8px}
}
@media(max-width:390px){
  .assistant-quick-actions{grid-template-columns:1fr}
  .assistant-sheet{height:76dvh;max-height:76dvh}
}
@media(prefers-reduced-motion:reduce){
  .assistant-sheet,.assistant-sheet-backdrop{transition:none}
}


/* BIO.ONE V2.6.2 — Responsive hardening: iPhone / Android / tablet / desktop */
:root{--assistant-vvh:100dvh}
@media(max-width:620px){
  .assistant-sheet{
    height:min(74dvh,calc(var(--assistant-vvh) - 8px));
    max-height:calc(var(--assistant-vvh) - 8px);
  }
}
@media(min-width:621px) and (max-width:1024px){
  .assistant-fab{right:16px;bottom:max(16px,env(safe-area-inset-bottom))}
  .assistant-sheet{
    right:16px;
    bottom:max(16px,env(safe-area-inset-bottom));
    width:min(430px,calc(100vw - 32px));
    max-height:min(700px,82dvh);
  }
}
@media(max-height:520px) and (orientation:landscape){
  .assistant-sheet{
    left:auto;right:8px;bottom:8px;
    width:min(450px,56vw);
    height:calc(var(--assistant-vvh) - 16px);
    max-height:calc(var(--assistant-vvh) - 16px);
    border:1px solid rgba(125,81,66,.13);
    border-radius:22px;
    padding-bottom:0;
  }
  .assistant-sheet-handle{display:none}
  .assistant-sheet-head{padding:9px 12px}
  .assistant-conversation{padding:10px 11px 8px}
  .assistant-quick-actions{grid-template-columns:1fr 1fr;gap:7px}
  .assistant-quick-actions button{padding:8px}
  .assistant-composer{padding:7px 10px 6px}
  .assistant-beta-note{padding-bottom:5px}
}
@media(min-width:1025px){
  .assistant-sheet{max-height:min(720px,82vh)}
}

/* =========================================================
   BIO.ONE V2.6.3 — Trợ lý nội bộ: câu trả lời, sản phẩm, so sánh
   ========================================================= */
.assistant-message-rich{max-width:100%;width:100%;box-sizing:border-box}
.assistant-message-rich>strong{font-size:13.5px}
.assistant-message-rich>span{line-height:1.55}
.assistant-product-list{display:grid;gap:8px;margin-top:10px}
.assistant-product-card{
  display:grid;grid-template-columns:58px minmax(0,1fr);gap:9px;align-items:center;
  margin-top:9px;padding:8px;border:1px solid rgba(125,81,66,.11);border-radius:15px;background:#fff;
  box-shadow:0 4px 14px rgba(74,52,42,.025)
}
.assistant-product-thumb{
  width:58px;height:68px;border-radius:11px;background:#faf5f2;display:grid;place-items:center;overflow:hidden;
  border:1px solid rgba(125,81,66,.08)
}
.assistant-product-thumb img{width:100%;height:100%;object-fit:contain;padding:3px;display:block}
.assistant-product-thumb>span{font-size:20px;font-weight:900;color:#a97764}
.assistant-product-copy{min-width:0}
.assistant-product-copy em{display:block;color:#a35f47;font-size:7.5px;font-style:normal;font-weight:900;letter-spacing:.07em;margin-bottom:2px}
.assistant-product-copy strong{display:block;font-size:11.5px;line-height:1.3;margin:0 0 3px;color:#382b27}
.assistant-product-copy>span{display:block;font-size:9.2px;line-height:1.4;color:#816f67}
.assistant-product-copy>small{display:block;margin-top:4px;color:#7d5142;font-size:10px;font-weight:850}
.assistant-product-copy button{
  margin-top:5px;border:0;background:transparent;color:#a3563d;font-size:8.8px;font-weight:900;padding:0;cursor:pointer
}
.assistant-inline-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}
.assistant-inline-actions button{
  border:1px solid rgba(125,81,66,.14);background:#fff;color:#6f4b3f;border-radius:999px;
  padding:8px 10px;font-size:9.5px;font-weight:850;cursor:pointer
}
.assistant-inline-form{display:grid;gap:8px;margin-top:11px}
.assistant-inline-form select{
  width:100%;height:39px;border:1px solid rgba(125,81,66,.16);border-radius:12px;background:#fff;
  color:#4b3932;padding:0 10px;font-size:10px;outline:none
}
.assistant-inline-form>button{
  min-height:38px;border:0;border-radius:12px;background:#7d5142;color:#fff;font-size:10px;font-weight:850;cursor:pointer
}
.assistant-compare-form label{display:grid;gap:4px;color:#846e65;font-size:8.5px;font-weight:800}
.assistant-safety-copy{display:block;margin-top:9px;color:#8c7770;font-size:8.5px;line-height:1.45}
.assistant-benefits{margin:8px 0 0;padding-left:17px;color:#6f5d55;font-size:9.5px;line-height:1.55}
.assistant-product-pair{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:9px}
.assistant-product-pair .assistant-product-card{grid-template-columns:1fr;align-content:start;margin-top:0}
.assistant-product-pair .assistant-product-thumb{width:100%;height:92px}
.assistant-compare-table{margin-top:10px;border:1px solid rgba(125,81,66,.1);border-radius:13px;overflow:hidden;background:#fff}
.assistant-compare-head,.assistant-compare-row{display:grid;grid-template-columns:56px 1fr 1fr}
.assistant-compare-head{background:#f7efeb}
.assistant-compare-head>*{padding:7px 6px;font-size:8px;line-height:1.25;color:#5c453d;border-right:1px solid rgba(125,81,66,.08)}
.assistant-compare-row>*{padding:7px 6px;font-size:7.8px;line-height:1.35;border-top:1px solid rgba(125,81,66,.07);border-right:1px solid rgba(125,81,66,.07);color:#75635c}
.assistant-compare-row>b{color:#7d5142;background:#fcf8f6}
.assistant-compare-head>*:last-child,.assistant-compare-row>*:last-child{border-right:0}

@media(max-width:620px){
  .assistant-message-rich{padding:11px}
  .assistant-product-card{grid-template-columns:54px minmax(0,1fr);gap:8px;padding:7px}
  .assistant-product-thumb{width:54px;height:64px}
  .assistant-product-copy strong{font-size:11px}
  .assistant-product-copy>span{font-size:8.8px}
  .assistant-inline-actions button{font-size:9px;padding:7px 9px}
  .assistant-product-pair{grid-template-columns:1fr}
  .assistant-product-pair .assistant-product-card{grid-template-columns:54px minmax(0,1fr)}
  .assistant-product-pair .assistant-product-thumb{width:54px;height:64px}
  .assistant-compare-head,.assistant-compare-row{grid-template-columns:48px 1fr 1fr}
  .assistant-compare-head>*{font-size:7.3px;padding:6px 5px}
  .assistant-compare-row>*{font-size:7.2px;padding:6px 5px}
}


/* =========================================================
   BIO.ONE V2.6.4 — Clean assistant flow + compact product view
   ========================================================= */

.assistant-product-copy strong,
.assistant-product-copy>span,
.assistant-tech-flow span{
  overflow-wrap:anywhere;
  word-break:normal;
}
.assistant-product-copy>span{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
}
.assistant-product-list-technical{gap:7px}
.assistant-tech-flow{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:6px;
  margin-top:10px;
}
.assistant-tech-flow>div{
  min-width:0;
  padding:8px 7px;
  border:1px solid rgba(125,81,66,.1);
  border-radius:12px;
  background:#fff;
}
.assistant-tech-flow b{
  width:19px;height:19px;border-radius:50%;display:grid;place-items:center;
  margin-bottom:5px;background:#f4e9e4;color:#8b5947;font-size:8px;
}
.assistant-tech-flow span{font-size:8px;line-height:1.3;color:#6f5c55}

/* Khi đi từ Trợ lý sang chi tiết sản phẩm: giữ ảnh gọn để không làm đứt mạch hội thoại. */
@media(max-width:620px){
  .modal.from-assistant .modal-card{max-height:88dvh}
  .modal.from-assistant .modal-body{display:block;padding:13px 14px 18px}
  .modal.from-assistant .modal-media{
    min-height:0!important;
    height:190px;
    max-height:190px;
    margin-bottom:13px;
    border-radius:16px;
    background:#faf6f3;
  }
  .modal.from-assistant .modal-media img{
    width:100%;height:100%;object-fit:contain!important;padding:4px;
  }
  .modal.from-assistant .modal-body h2{font-size:21px!important;line-height:1.14;margin:8px 0}
  .modal.from-assistant .detail-price{padding:10px 12px;margin:10px 0 4px}
  .modal.from-assistant .detail-price strong{font-size:20px}
  .modal.from-assistant .modal-body p{font-size:11px;line-height:1.55!important}
  .modal.from-assistant .benefits{font-size:11px;line-height:1.55}
  .modal.from-assistant .qr{display:none}
  .assistant-tech-flow{grid-template-columns:1fr;gap:5px}
  .assistant-tech-flow>div{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:7px;padding:7px 8px}
  .assistant-tech-flow b{margin:0;width:20px;height:20px}
  .assistant-tech-flow span{font-size:8.6px}
}


/* =========================================================
   BIO.ONE V2.6.5 — Responsive Layout Fix
   1) Chặn iOS auto-zoom khi focus input (<16px)
   2) Khóa khung Trợ lý trong viewport, không tràn ngang
   3) Chuẩn hóa thẻ sản phẩm / bảng so sánh
   4) Thu gọn nút nổi khi ở form hoặc màn hình hẹp
   ========================================================= */

html,body{max-width:100%;overflow-x:clip;-webkit-text-size-adjust:100%;text-size-adjust:100%}

/* Mọi thành phần trong Trợ lý phải co được theo chiều ngang */
.assistant-sheet,
.assistant-sheet *{min-width:0}
.assistant-sheet{box-sizing:border-box;max-width:calc(100vw - 24px)}
.assistant-sheet-head,
.assistant-conversation,
.assistant-composer,
.assistant-beta-note{width:100%;max-width:100%;box-sizing:border-box}
.assistant-conversation{overflow-x:hidden}
.assistant-conversation>*{max-width:100%;box-sizing:border-box}
.assistant-message-rich{max-width:100%!important;width:100%!important}
.assistant-message-rich strong,
.assistant-message-rich span,
.assistant-message-rich li,
.assistant-message-rich b{overflow-wrap:anywhere;word-break:normal}

/* Thẻ sản phẩm: ảnh cố định, phần chữ luôn co trong cột còn lại */
.assistant-product-card{
  width:100%;max-width:100%;
  grid-template-columns:56px minmax(0,1fr);
  align-items:center;
  overflow:hidden;
}
.assistant-product-thumb{width:56px;height:66px;max-width:56px;flex:0 0 56px}
.assistant-product-copy{width:100%;max-width:100%;overflow:hidden}
.assistant-product-copy strong{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  overflow-wrap:anywhere;
}
.assistant-product-copy>span{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  overflow-wrap:anywhere;
}
.assistant-product-copy>small,.assistant-product-copy button{max-width:100%;overflow-wrap:anywhere}

/* Bảng so sánh không được ép sheet rộng hơn viewport */
.assistant-compare-table{width:100%;max-width:100%;overflow:hidden}
.assistant-compare-head,.assistant-compare-row{
  width:100%;
  grid-template-columns:48px minmax(0,1fr) minmax(0,1fr);
}
.assistant-compare-head>*,.assistant-compare-row>*{
  min-width:0;
  overflow-wrap:anywhere;
  word-break:normal;
}
.assistant-inline-form,.assistant-inline-form label,.assistant-inline-form select{width:100%;max-width:100%}

/* Nút nổi không bao giờ vượt mép viewport */
.assistant-fab{max-width:calc(100vw - 24px);box-sizing:border-box}
body.assistant-open .assistant-fab{opacity:0;pointer-events:none;transform:scale(.92)}
body.assistant-fab-compact .assistant-fab{
  width:46px;height:46px;min-height:46px;max-width:46px;
  padding:7px;border-radius:50%;gap:0;justify-content:center;
}
body.assistant-fab-compact .assistant-fab-icon{width:31px;height:31px;flex-basis:31px}
body.assistant-fab-compact .assistant-fab-text{display:none}

@media(max-width:620px){
  /* iOS Safari tự zoom nếu font input <16px. Giữ 16px cho mọi ô nhập/select/textarea. */
  input,textarea,select,
  .field input,.field textarea,.field select,
  .assistant-composer input,.assistant-inline-form select{
    font-size:16px!important;
  }

  .assistant-fab{
    right:12px;
    bottom:max(72px,calc(env(safe-area-inset-bottom) + 62px));
    max-width:calc(100vw - 24px);
  }

  .assistant-sheet{
    left:0;right:0;bottom:var(--assistant-vv-bottom,0px);
    width:auto;max-width:none;
    border-left:0;border-right:0;border-bottom:0;
    box-sizing:border-box;
  }
  body.assistant-keyboard-open .assistant-sheet{
    height:calc(var(--assistant-vvh) - 6px)!important;
    max-height:calc(var(--assistant-vvh) - 6px)!important;
  }

  .assistant-conversation{padding-left:12px;padding-right:12px}
  .assistant-message{max-width:90%}
  .assistant-message-rich{max-width:100%!important}
  .assistant-product-card{grid-template-columns:52px minmax(0,1fr);gap:8px;padding:8px}
  .assistant-product-thumb{width:52px;height:62px;max-width:52px}
  .assistant-product-copy strong{font-size:11px;line-height:1.28}
  .assistant-product-copy>span{font-size:8.8px;line-height:1.38}
  .assistant-product-copy>small{font-size:9.5px}
  .assistant-product-copy button{font-size:8.8px}
  .assistant-tech-flow{width:100%;max-width:100%}
  .assistant-inline-actions{max-width:100%}

  .assistant-compare-head,.assistant-compare-row{grid-template-columns:44px minmax(0,1fr) minmax(0,1fr)}
  .assistant-compare-head>*{font-size:7.2px;padding:6px 4px}
  .assistant-compare-row>*{font-size:7px;padding:6px 4px}
}

@media(max-width:430px){
  /* Trên điện thoại nhỏ: ưu tiên không che nội dung */
  .assistant-fab{min-height:44px;padding:7px 10px 7px 8px}
  .assistant-fab-icon{width:28px;height:28px;flex-basis:28px}
  .assistant-fab-text small{font-size:7.8px}
  .assistant-fab-text strong{font-size:11.5px}
  .assistant-sheet-brand h2{font-size:16px}
}

@media(max-width:370px){
  /* Máy rất hẹp luôn dùng icon tròn */
  .assistant-fab{
    width:44px;height:44px;min-height:44px;max-width:44px;
    padding:7px;border-radius:50%;gap:0;justify-content:center;
  }
  .assistant-fab .assistant-fab-text{display:none}
  .assistant-fab .assistant-fab-icon{width:30px;height:30px;flex-basis:30px}
  .assistant-product-card{grid-template-columns:48px minmax(0,1fr)}
  .assistant-product-thumb{width:48px;height:58px;max-width:48px}
  .assistant-compare-head,.assistant-compare-row{grid-template-columns:40px minmax(0,1fr) minmax(0,1fr)}
}

@media(min-width:621px) and (max-width:1024px){
  .assistant-sheet{width:min(420px,calc(100vw - 32px));max-width:calc(100vw - 32px)}
}

@media(min-width:1025px){
  .assistant-sheet{width:400px;max-width:calc(100vw - 40px)}
}


/* BIO.ONE V2.6.8 — lựa chọn cặp so sánh theo màu */
.assistant-pair-choices button{display:flex!important;flex-direction:column;align-items:flex-start!important;gap:2px;text-align:left}
.assistant-pair-choices button small{font-size:10px;font-weight:600;opacity:.7;line-height:1.25}


/* =========================================================
   BIO.ONE V2.6.14 — BƯỚC 6: Auto handoff về BIO.ONE
   Khi Trợ lý không đủ chắc, câu hỏi được điền sẵn vào form Ý kiến khách hàng.
   ========================================================= */
.assistant-handoff-banner{
  margin:0 0 14px;
  padding:13px 15px;
  border:1px solid rgba(125,81,66,.16);
  border-radius:16px;
  background:linear-gradient(135deg,#fff9f6,#f7ece6);
  color:#664a3f;
  font-size:12px;
  line-height:1.5;
  box-shadow:0 8px 24px rgba(74,52,42,.05);
}
.assistant-handoff-banner strong{display:block;color:#8a543f;font-size:13px;margin-bottom:3px}
.assistant-handoff-banner button{
  margin-top:8px;border:0;background:transparent;color:#9c5d46;font-weight:800;font-size:11px;padding:0;cursor:pointer
}
.feedback-panel.assistant-handoff-active{
  box-shadow:0 0 0 3px rgba(156,93,70,.08),0 18px 52px rgba(74,52,42,.08);
}
@media(max-width:620px){
  .assistant-handoff-banner{margin-bottom:11px;padding:11px 12px;border-radius:14px;font-size:11.5px}
}


/* =========================================================
   BIO.ONE V2.7.1 — BƯỚC 7: LỊCH SỬ HỘI THOẠI NHẸ TRÊN THIẾT BỊ
   ========================================================= */
.assistant-head-actions{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:7px;
  flex:0 0 auto;
}
.assistant-clear-btn{
  border:1px solid rgba(125,81,66,.14);
  background:#fff;
  color:#7d5142;
  border-radius:999px;
  min-height:34px;
  padding:0 11px;
  font-size:10px;
  line-height:1;
  font-weight:850;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  transition:background .18s ease,border-color .18s ease,transform .18s ease;
}
.assistant-clear-btn:hover{background:#faf4f1;border-color:rgba(125,81,66,.25)}
.assistant-clear-btn:active{transform:scale(.97)}
.assistant-clear-btn:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(125,81,66,.12)}
.assistant-clear-btn.cleared{color:#2f7a5c;border-color:rgba(47,122,92,.18);background:#f2faf6}
@media(max-width:620px){
  .assistant-head-actions{gap:5px}
  .assistant-clear-btn{min-height:32px;padding:0 9px;font-size:9.5px}
}
@media(max-width:350px){
  .assistant-clear-btn{width:34px;padding:0;font-size:0}
  .assistant-clear-btn:before{content:"↺";font-size:17px;line-height:1}
}


/* =========================================================
   BIO.ONE V2.7.1 — UI POLISH
   Chỉ tinh chỉnh giao diện: nhịp trang, hero, card, assistant.
   Không thay logic sản phẩm / Supabase / Admin.
   ========================================================= */

/* Cảm giác chữ và bề mặt tinh hơn, vẫn dùng system font để tải nhanh */
body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}

/* Hero: giảm chiều cao nhưng giữ độ sang và điểm nhìn thương hiệu */
.hero-v17{padding:20px 0 14px}
.hero-v17-card{
  min-height:338px;
  padding:40px 46px;
  border-radius:30px;
  box-shadow:0 18px 54px rgba(74,52,42,.07);
}
.hero-v17 h1{margin:12px 0 13px;line-height:1;letter-spacing:-.052em}
.hero-v17 p{font-size:16px;line-height:1.6}
.hero-v17 .hero-actions{margin-top:20px}
.brand-orb{width:178px;height:178px}

/* Nhịp dọc nhất quán hơn */
.section{padding:30px 0}
.section-head-v17{margin-bottom:14px}
.section-head-v17 h2{margin:4px 0 5px;line-height:1.08}
.install-section{padding:2px 0 10px}
.advisor-section{padding:5px 0 18px}
.advisor-card{
  padding:24px 27px;
  border-radius:26px;
  box-shadow:0 14px 42px rgba(74,52,42,.065);
}
.advisor-start-btn{box-shadow:0 10px 24px rgba(125,81,66,.21)}

/* Catalog: các card luôn cân hàng, giá và nút chi tiết thẳng nhau */
.product-grid-v17{align-items:stretch}
.product-card-v17{
  height:100%;
  display:flex;
  flex-direction:column;
  border-radius:20px;
  box-shadow:0 8px 26px rgba(74,52,42,.06);
}
.product-img-v17{flex:0 0 auto}
.product-body-v17{
  flex:1;
  display:flex;
  flex-direction:column;
  padding:14px 15px 15px;
}
.product-body-v17 h3{min-height:43px;margin-bottom:5px;line-height:1.26}
.product-desc{min-height:36px;line-height:1.45}
.product-card-v17 .retail-price{margin-top:auto;padding-top:10px}
.view-detail{margin-top:10px;padding-top:9px}
.product-card-v17:hover{transform:translateY(-2px);box-shadow:0 14px 38px rgba(74,52,42,.10)}

/* Các khu phụ đồng bộ bán kính / shadow để tổng thể liền mạch */
.install-card,.post-card,.feedback-panel{box-shadow:0 8px 26px rgba(74,52,42,.045)}
.post-card{border-radius:18px}
.search-v17{box-shadow:0 4px 15px rgba(74,52,42,.028)}
.chips-v17 .chip{transition:background .18s ease,border-color .18s ease,transform .18s ease}
.chips-v17 .chip:active{transform:scale(.98)}

/* Trợ lý: cửa sổ tinh hơn và FAB tự thu gọn khi không tương tác trên mobile */
.assistant-sheet{
  border-radius:25px;
  box-shadow:0 24px 72px rgba(54,35,27,.24);
}
.assistant-sheet-head{padding-top:14px}
.assistant-message{line-height:1.52}
.assistant-quick-actions button{box-shadow:0 4px 13px rgba(74,52,42,.025)}
.assistant-composer input{background:#fdfbf9}

@media(max-width:620px){
  .container{width:min(100% - 22px,1180px)}
  .hero-v17{padding:10px 0 7px}
  .hero-v17-card{padding:18px 18px 17px;border-radius:22px}
  .hero-v17 h1{font-size:34px;margin:8px 0 9px;line-height:1.01;letter-spacing:-.048em}
  .hero-v17 p{font-size:12.8px;line-height:1.5}
  .hero-v17 .hero-actions.hero-actions-simple{margin-top:11px}
  .text-link-btn{padding:8px 5px;font-size:11.5px}

  .advisor-section{padding:0 0 12px}
  .advisor-card{padding:15px 15px 14px;border-radius:20px}
  .advisor-title-animated{font-size:26px!important;margin:4px 0 5px!important}
  .advisor-intro>p{font-size:12px;line-height:1.45}
  .advisor-start-btn{margin-top:10px;padding:11px 14px;font-size:13.5px}
  .advisor-note{margin-top:6px}

  .install-section{padding:0 0 6px}
  .install-card{padding:11px;border-radius:17px}
  .section{padding:24px 0}
  .section-head-v17{margin-bottom:10px}
  .section-head-v17 h2{font-size:24px}
  .product-tools{margin:11px 0 15px}

  .grid.product-grid-v17{gap:9px}
  .product-card-v17{border-radius:16px}
  .product-body-v17{padding:9px 9px 10px}
  .product-meta-row{min-height:20px;margin-bottom:5px}
  .product-body-v17 h3{min-height:34px;font-size:13.5px;line-height:1.25;margin-bottom:4px}
  .product-desc{min-height:30px;font-size:10px;line-height:1.4}
  .product-card-v17 .retail-price{padding-top:7px;margin-top:auto}
  .product-card-v17 .retail-price strong{font-size:15.5px}
  .view-detail{font-size:9px;margin-top:7px;padding-top:7px}

  .assistant-sheet{border-radius:22px 22px 0 0;box-shadow:0 -8px 42px rgba(54,35,27,.18)}
  .assistant-sheet-head{padding:8px 13px 10px}
  .assistant-conversation{padding:12px 12px 9px}
  .assistant-quick-actions{gap:7px}
  .assistant-composer{padding:8px 11px 6px}

  body.assistant-fab-idle .assistant-fab{
    width:44px;height:44px;min-height:44px;max-width:44px;
    padding:7px;border-radius:50%;gap:0;justify-content:center;
  }
  body.assistant-fab-idle .assistant-fab-icon{width:30px;height:30px;flex-basis:30px}
  body.assistant-fab-idle .assistant-fab-text{display:none}
}

@media(min-width:621px) and (max-width:920px){
  .hero-v17-card{min-height:310px;padding:34px}
  .brand-orb{width:154px;height:154px}
  .section{padding:28px 0}
}

@media(prefers-reduced-motion:reduce){
  .product-card-v17,.chips-v17 .chip{transition:none}
}


/* =========================================================
   BIO.ONE V2.7.4 — HERO COMPACT + LARGER LOGO
   Mục tiêu: logo rõ hơn, kéo nội dung lên trên, để lộ catalog sớm hơn.
   ========================================================= */

.nav{min-height:56px}
.brand-v17 img{height:48px;width:auto}
.hero-v17{padding:14px 0 8px}
.hero-v17-card{
  min-height:300px;
  padding:34px 40px 28px;
}
.hero-title-v19{margin:10px 0 12px!important}
.hero-v17 p{margin:0;max-width:640px}
.hero-v17 .hero-actions.hero-actions-simple{margin-top:12px}
.advisor-section{padding:0 0 10px}
.advisor-card{padding:18px 22px 16px}
.section{padding:22px 0}
.section-head-v17{margin-bottom:8px}
.product-tools{margin:8px 0 12px}

@media(max-width:620px){
  .nav{min-height:52px}
  .brand-v17 img{height:46px}
  .hero-v17{padding:4px 0 4px}
  .hero-v17-card{
    min-height:auto;
    padding:15px 16px 14px;
    border-radius:21px;
  }
  .hero-title-v19{margin:6px 0 8px!important}
  .hero-title-v19 .hero-title-brandline{margin-bottom:4px;font-size:.56em}
  .hero-title-v19 .hero-title-mainline{font-size:.68em;line-height:1.02}
  .hero-title-v19 .hero-title-benefitline{margin-top:8px}
  .hero-v17 h1{font-size:31px;margin:6px 0 7px;line-height:1}
  .hero-v17 p{font-size:12.6px;line-height:1.46}
  .text-link-btn{padding:6px 4px;font-size:11.5px}
  .hero-v17 .hero-actions.hero-actions-simple{margin-top:8px}

  .advisor-section{padding:0 0 8px}
  .advisor-card{padding:13px 14px 12px;border-radius:20px}
  .advisor-title-animated{font-size:24px!important;line-height:1.02;margin:3px 0 4px!important}
  .advisor-intro>p{font-size:11.6px;line-height:1.42}
  .advisor-start-btn{margin-top:8px;padding:10px 14px;font-size:13px}
  .advisor-note{margin-top:5px;font-size:11.4px}

  .section{padding:16px 0}
  .section-head-v17{margin-bottom:6px}
  .section-kicker{font-size:11px;letter-spacing:.14em}
  .section-head-v17 h2{font-size:22px;line-height:1.04}
  .product-tools{margin:6px 0 10px}
}


/* =========================================================
   BIO.ONE V2.7.4 — FINAL HERO + HEADER POLISH
   Bỏ BIO.ONE lặp trong hero, logo header to hơn, FAB gọn ở catalog.
   ========================================================= */

.brand-v17 img{height:58px;width:auto}
.hero-v17-card{padding-top:14px;padding-bottom:14px}
.hero-title-v19{margin:2px 0 8px!important}
.hero-title-v19 .hero-title-mainline{font-size:.82em;line-height:1.01}
.hero-title-v19 .hero-title-benefitline{margin-top:9px}
.hero-v17 p{margin-top:0}
.hero-v17 .hero-actions.hero-actions-simple{margin-top:10px}
@media(max-width:620px){
  .brand-v17 img{height:52px}
  .hero-v17-card{padding:14px 15px 13px}
  .hero-title-v19{margin:0 0 7px!important}
  .hero-title-v19 .hero-title-mainline{font-size:.78em;line-height:1.0}
  .hero-title-v19 .hero-title-benefitline{margin-top:8px;font-size:.34em}
  .hero-v17 p{font-size:12.5px;line-height:1.42}
}


/* =========================================================
   BIO.ONE V2.7.4 — FINAL MICRO POLISH
   Bỏ eyebrow hero, giảm title 8%, cân logo header.
   ========================================================= */

.nav{min-height:60px}
.brand-v17{display:flex;align-items:center;justify-content:flex-start;padding:2px 0 0}
.brand-v17 img{height:60px;width:auto;display:block}
.hero-v17-card{padding-top:16px;padding-bottom:14px}
.hero-title-v19{margin:1px 0 7px!important}
.hero-title-v19 .hero-title-mainline{font-size:.754em;line-height:1.01}
.hero-title-v19 .hero-title-benefitline{margin-top:8px}
@media(max-width:620px){
  .nav{min-height:56px}
  .brand-v17{padding:1px 0 0}
  .brand-v17 img{height:54px}
  .hero-v17-card{padding:15px 15px 13px}
  .hero-title-v19{margin:0 0 6px!important}
  .hero-title-v19 .hero-title-mainline{font-size:.718em;line-height:1.01}
  .hero-title-v19 .hero-title-benefitline{margin-top:7px;font-size:.34em}
}


/* BIO.ONE V4.0.1 — NPP integration on approved V2.7.4 UI */
.npp-header-link{border:1px solid rgba(125,81,66,.14);border-radius:999px;padding:8px 11px!important;background:#fff;font-size:12px!important;font-weight:800!important;color:var(--brand)!important;white-space:nowrap}
.footer-npp-link{display:inline-block;margin-top:8px;color:var(--brand);font-size:12px;font-weight:800;text-decoration:none}
.footer-npp-link:hover{text-decoration:underline}
.npp-admin-entry{background:#f7ece7!important;color:var(--brand)!important;font-weight:800!important}
@media(max-width:700px){.npp-header-link{font-size:10px!important;padding:7px 9px!important}}
@media(max-width:380px){.npp-header-link{padding:7px 8px!important}.navlinks-v17{gap:2px}}


/* =========================================================
   BIO.ONE V4.0.3 — MAIN ADMIN MOBILE COMPACT + WIDTH FIX
   Chỉ áp dụng màn Admin chính trên tablet/mobile.
   ========================================================= */
@media(max-width:920px){
  html,body{max-width:100%;overflow-x:hidden}
  .admin-shell{display:block!important;width:100%;max-width:100vw;min-width:0;overflow-x:hidden}
  .admin-main{width:100%;max-width:100%;min-width:0;overflow-x:hidden}
  .sidebar{
    box-sizing:border-box;width:100%;max-width:100vw;min-width:0;
    display:flex;align-items:center;gap:4px;overflow-x:auto;overflow-y:hidden;
    -webkit-overflow-scrolling:touch;scrollbar-width:none;
    position:sticky;top:0;z-index:60;height:auto;
    padding:calc(env(safe-area-inset-top,0px) + 7px) 10px 8px;
  }
  .sidebar::-webkit-scrollbar{display:none}
  .sidebar img{display:none}
  .side-link{
    flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;
    min-height:34px;margin:0;padding:7px 10px;border-radius:12px;
    font-size:11.5px;line-height:1;white-space:nowrap
  }
  .admin-top,.admin-card,.feedback-admin-head,.feedback-filters,.admin-grid,.field{min-width:0;max-width:100%}
  .table-wrap{width:100%;max-width:100%;overflow:auto;-webkit-overflow-scrolling:touch}
}

@media(max-width:620px){
  body{font-size:14px;-webkit-text-size-adjust:100%;text-size-adjust:100%}
  .admin-main{padding:12px 12px calc(24px + env(safe-area-inset-bottom,0px))}
  .admin-top{margin-bottom:12px;align-items:flex-start}
  .admin-top h1{font-size:25px!important;line-height:1.05;letter-spacing:-.025em}
  .admin-top .muted{margin-top:5px;font-size:11.5px!important;line-height:1.4;max-width:100%}

  .admin-card{padding:14px 13px;margin-bottom:12px;border-radius:20px}
  .admin-card>h2,.admin-card h2{font-size:22px;line-height:1.08;margin:0 0 14px;letter-spacing:-.02em}
  .admin-grid{grid-template-columns:1fr;gap:0}

  .field{gap:6px;margin-bottom:11px;width:100%}
  .field label{font-size:12px;line-height:1.25;font-weight:700}
  .field input,.field select,.field textarea{
    width:100%;max-width:100%;min-width:0;
    font-size:15px;line-height:1.25;border-radius:14px;
    padding:10px 12px
  }
  .field input,.field select{height:46px}
  .field textarea{min-height:86px}
  .field-help,.field small{display:block;max-width:100%;font-size:10.5px;line-height:1.42;overflow-wrap:anywhere}
  .price-input-wrap{width:100%;max-width:100%;min-width:0}
  .price-input-wrap input{padding-right:38px}

  .hero-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.72fr);gap:8px;width:100%}
  .hero-actions .primary-btn,.hero-actions .ghost-btn{width:100%;min-width:0;padding:10px 10px;font-size:12px}
  .primary-btn,.ghost-btn{font-size:12px}

  .admin-feedback-alert{margin:0 0 12px;padding:10px 11px;border-radius:14px}
  .admin-feedback-alert strong{font-size:11.5px}

  .feedback-admin-head{gap:10px;margin-bottom:12px}
  .feedback-admin-head h2{font-size:23px}
  .feedback-admin-head p{font-size:11px;line-height:1.45}
  .feedback-admin-actions{gap:7px}

  .table-wrap table{min-width:620px}
  th,td{padding:9px;font-size:11.5px}
  th{font-size:10px}
  .preview-thumb{width:52px;height:42px}

  #tab-products .admin-card:first-child{padding-top:15px}
  #productFormTitle{font-size:23px!important;margin-bottom:15px!important}
}

@media(max-width:390px){
  .sidebar{gap:3px;padding-left:8px;padding-right:8px}
  .side-link{min-height:33px;padding:7px 9px;font-size:11px}
  .admin-main{padding-left:10px;padding-right:10px}
  .admin-card{padding:13px 12px;border-radius:19px}
  .admin-top h1{font-size:23px!important}
  .admin-card>h2,.admin-card h2,#productFormTitle{font-size:21px!important}
}


/* =========================================================
   BIO.ONE V4.0.5 — MOBILE BACK NAV + COMPACT POLISH
   ========================================================= */
.app-back-btn,.admin-back-btn-v405,.admin-login-back-v405{
  border:1px solid rgba(125,81,66,.14);background:#fff;color:var(--brand);
  display:inline-grid;place-items:center;cursor:pointer;-webkit-tap-highlight-color:transparent;
  box-shadow:0 4px 14px rgba(74,52,42,.05)
}
.app-back-btn{width:34px;height:34px;flex:0 0 34px;border-radius:12px;font-size:19px;padding:0}
.admin-back-btn-v405{width:38px;height:38px;flex:0 0 38px;border-radius:13px;font-size:20px;padding:0}
.admin-top-copy-v405{min-width:0;flex:1}
.admin-login-card-v405{position:relative}
.admin-login-back-v405{position:absolute;left:12px;top:12px;width:36px;height:36px;border-radius:12px;font-size:19px;padding:0}

@media(max-width:620px){
  /* Public BIO.ONE: gọn thêm một nhịp nhưng giữ phom V2.7.4 */
  .container{width:min(100% - 18px,1180px)}
  .nav{gap:7px;min-height:50px}
  .app-back-btn{width:31px;height:31px;flex-basis:31px;border-radius:11px;font-size:17px}
  .brand-v17 img{height:46px}
  .navlinks-v17{gap:3px}
  .npp-header-link{font-size:9.5px!important;padding:6px 8px!important}
  .install-mini{font-size:11px;padding:7px 9px}
  .contact-pill{font-size:10px!important;padding:7px 9px!important}

  .hero-v17{padding:3px 0}
  .hero-v17-card{padding:12px 13px 11px;border-radius:19px}
  .hero-v17 h1{font-size:29px}
  .hero-v17 p{font-size:11.8px;line-height:1.4}
  .advisor-card{padding:11px 12px 10px;border-radius:18px}
  .advisor-title-animated{font-size:22px!important}
  .advisor-kicker{font-size:9.5px!important}
  .advisor-intro>p{font-size:11.2px;line-height:1.4}
  .advisor-start-btn{margin-top:7px;padding:9px 12px;font-size:12.3px}
  .advisor-note{font-size:10.5px}
  .install-card{padding:10px;border-radius:16px;gap:10px}
  .install-icon-wrap{width:54px;height:54px;border-radius:15px}
  .install-copy h2{font-size:18px;margin:5px 0 4px}
  .install-copy p{font-size:11px;line-height:1.4}
  .section{padding:14px 0}
  .section-head-v17 h2{font-size:21px}
  .section-head-v17 .muted{font-size:11px}
  .product-tools{margin:5px 0 9px}
  .search-v17{padding:10px 12px;border-radius:13px}
  .chips-v17{gap:5px}
  .chips-v17 .chip{padding:7px 9px;font-size:10.5px}
  .grid.product-grid-v17{gap:7px}
  .product-card-v17{border-radius:15px}
  .product-body-v17{padding:8px}
  .product-body-v17 h3{font-size:12.8px;min-height:32px}
  .product-desc{font-size:9.5px;min-height:28px}
  .product-card-v17 .retail-price strong{font-size:14.5px}
  .post-card{padding:13px;border-radius:16px}
  .post-card h3{font-size:15px}
  .feedback-panel{padding:13px;border-radius:19px;gap:13px}
  .feedback-intro h2{font-size:22px}
  .feedback-intro p{font-size:11.5px;line-height:1.45}

  /* Main Admin: thu gọn đồng bộ các tab, không chỉ tab Sản phẩm */
  .admin-main{padding:10px 10px calc(20px + env(safe-area-inset-bottom,0px))}
  .sidebar{padding:calc(env(safe-area-inset-top,0px) + 5px) 8px 6px;gap:3px}
  .side-link{min-height:31px;padding:6px 8px;border-radius:10px;font-size:10.5px}
  .admin-top{display:flex;gap:8px;margin-bottom:9px;align-items:flex-start}
  .admin-back-btn-v405{width:34px;height:34px;flex-basis:34px;border-radius:11px;font-size:18px}
  .admin-top h1{font-size:21px!important;line-height:1.03}
  .admin-top .muted{font-size:10.5px!important;line-height:1.35;margin-top:3px}
  .admin-card{padding:12px 11px;margin-bottom:10px;border-radius:18px}
  .admin-card>h2,.admin-card h2,#productFormTitle{font-size:19px!important;line-height:1.06;margin-bottom:11px!important}
  .field{gap:5px;margin-bottom:8px}
  .field label{font-size:11px}
  .field input,.field select{height:42px;border-radius:12px;padding:8px 10px}
  .field textarea{min-height:72px;border-radius:12px;padding:9px 10px}
  .field-help,.field small{font-size:9.8px;line-height:1.35}
  .hero-actions{gap:6px;margin-top:10px}
  .hero-actions .primary-btn,.hero-actions .ghost-btn{padding:9px 8px;font-size:11px}
  .feedback-admin-head{gap:8px;margin-bottom:9px}
  .feedback-admin-head h2{font-size:20px;margin:0 0 4px}
  .feedback-admin-head p{font-size:10.3px;line-height:1.4}
  .feedback-admin-actions{gap:5px}
  .feedback-admin-actions>*{font-size:10.5px!important;padding:8px 7px!important}
  .push-status{font-size:10.5px;padding:9px 10px}
  .push-delivery-summary{gap:5px;margin-bottom:9px}
  .push-delivery-summary>div{padding:7px 9px;border-radius:12px}
  .push-delivery-summary span{font-size:9.5px}
  .push-delivery-summary strong{font-size:15px}
  .feedback-stats{gap:6px;margin-bottom:10px}
  .feedback-stat{padding:9px;border-radius:13px}
  .feedback-stat span{font-size:10px;margin-bottom:3px}
  .feedback-stat strong{font-size:20px}
  .feedback-filters{gap:6px}
  .feedback-filters .search{min-height:42px;padding:9px 10px;border-radius:12px}
  .feedback-mobile-cards{gap:7px}
  .feedback-mobile-card{padding:10px;border-radius:14px}
  .feedback-mobile-top strong{font-size:13px}
  .small-btn{padding:6px 8px;font-size:10.5px}
  .login-card{padding:22px 16px 16px;border-radius:20px}
  .admin-login-card-v405{padding-top:56px}
}

@media(max-width:390px){
  .brand-v17 img{height:43px}
  .app-back-btn{width:29px;height:29px;flex-basis:29px}
  .admin-main{padding-left:8px;padding-right:8px}
  .admin-card{padding:11px 10px;border-radius:17px}
  .admin-top h1{font-size:20px!important}
  .side-link{font-size:10px;padding:6px 7px}
}


/* =========================================================
   BIO.ONE V4.0.6 — TRUE MOBILE COMPACT + BACK FIX POLISH
   ========================================================= */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
.app-back-btn,.admin-back-btn-v405,.admin-login-back-v405{touch-action:manipulation;user-select:none}

@media(max-width:620px){
  /* Public app: compact real content, especially Hair Advisor */
  .container{width:calc(100% - 24px)!important;max-width:none!important}
  .nav{min-height:46px!important;gap:6px!important}
  .app-back-btn{width:29px!important;height:29px!important;flex-basis:29px!important;border-radius:10px!important;font-size:16px!important}
  .brand-v17 img{height:41px!important}
  .npp-header-link{font-size:9px!important;padding:6px 7px!important}
  .navlinks-v17 a:not(.npp-header-link),.navlinks-v17 button:not(.keep){font-size:9.5px!important}

  .hero-v17-card{padding:10px 11px 9px!important;border-radius:17px!important}
  .hero-v17 h1{font-size:25px!important;line-height:1!important}
  .hero-title-v19 .hero-title-benefitline{margin-top:6px!important;font-size:.34em!important}
  .hero-v17 p{font-size:10.8px!important;line-height:1.38!important;margin-bottom:0!important}
  .hero-actions-simple{margin-top:10px!important}
  .text-link-btn{font-size:11.5px!important}

  .advisor-section{padding:0 0 7px!important}
  .advisor-card{padding:9px 10px 9px!important;border-radius:16px!important}
  .advisor-card:after{font-size:58px!important;right:10px!important;top:4px!important}
  .advisor-kicker{font-size:8.5px!important;letter-spacing:.09em!important}
  .advisor-title-animated{font-size:19.5px!important;line-height:1.02!important;margin:3px 0 4px!important}
  .advisor-intro>p{font-size:10.5px!important;line-height:1.38!important}
  .advisor-start-btn{margin-top:7px!important;padding:8px 10px!important;font-size:11.5px!important}
  .advisor-note{margin-top:5px!important;font-size:9.5px!important}
  .advisor-flow{margin-top:5px!important}
  .advisor-progress{gap:8px!important;margin-bottom:10px!important;font-size:10px!important}
  .advisor-progress-track{height:5px!important}
  .advisor-question h3{font-size:18px!important;line-height:1.08!important;margin-bottom:4px!important}
  .advisor-question p{font-size:10.5px!important;line-height:1.35!important;margin-bottom:9px!important}
  .advisor-options{gap:7px!important}
  .advisor-option{padding:10px 11px!important;border-radius:13px!important;font-size:13px!important;line-height:1.2!important;min-height:0!important}
  .advisor-option small{font-size:9.3px!important;line-height:1.25!important;margin-top:2px!important}
  .advisor-back-btn{margin-top:7px!important;padding:4px 0!important;font-size:10.5px!important}
  .advisor-result-head{margin-bottom:10px!important;gap:7px!important}
  .advisor-result-head h3{font-size:18px!important}
  .advisor-result-head p{font-size:10.5px!important;line-height:1.35!important}
  .advisor-reset{padding:6px 9px!important;font-size:9.5px!important}
  .advisor-summary{margin-bottom:8px!important;gap:5px!important}
  .advisor-summary span{font-size:9px!important;padding:5px 7px!important}
  .advisor-match-grid{gap:7px!important;margin:8px 0 10px!important}
  .advisor-match{padding:8px!important;border-radius:13px!important;grid-template-columns:56px minmax(0,1fr)!important;gap:8px!important}
  .advisor-match-thumb{width:56px!important;height:68px!important;border-radius:10px!important}
  .advisor-match-copy strong{font-size:11.5px!important}
  .advisor-match-copy .advisor-match-desc,.advisor-match-copy em{font-size:9px!important;line-height:1.3!important}

  .section{padding:11px 0!important}
  .section-head-v17 h2{font-size:19px!important}
  .section-head-v17 .muted{font-size:10px!important}
  .search-v17{padding:9px 10px!important}
  .chips-v17 .chip{padding:6px 8px!important;font-size:9.8px!important}
  .mobile-bottom-nav{height:50px!important;left:12px!important;right:12px!important;padding:3px 5px!important;border-radius:16px!important}
  .mobile-bottom-nav .nav-icon{width:16px!important;height:16px!important}
  .mobile-bottom-nav .nav-icon svg{width:15px!important;height:15px!important}
  .mobile-bottom-nav small{font-size:7.5px!important}

  /* Main Admin: another compact step across all sections */
  .admin-main{padding:8px 9px calc(18px + env(safe-area-inset-bottom,0px))!important}
  .sidebar{padding:calc(env(safe-area-inset-top,0px) + 4px) 7px 5px!important;gap:3px!important}
  .side-link{min-height:29px!important;padding:5px 7px!important;font-size:9.8px!important;border-radius:9px!important}
  .admin-top{gap:7px!important;margin-bottom:8px!important}
  .admin-back-btn-v405{width:31px!important;height:31px!important;flex-basis:31px!important;font-size:16px!important;border-radius:10px!important}
  .admin-top h1{font-size:19px!important}
  .admin-top .muted{font-size:9.7px!important;line-height:1.3!important}
  .admin-card{padding:10px 10px!important;margin-bottom:8px!important;border-radius:16px!important}
  .admin-card>h2,.admin-card h2,#productFormTitle{font-size:17.5px!important;margin-bottom:9px!important}
  .field{gap:4px!important;margin-bottom:7px!important}
  .field label{font-size:10.5px!important}
  .field input,.field select{height:39px!important;border-radius:11px!important;padding:7px 9px!important;font-size:13.5px!important}
  .field textarea{min-height:64px!important;border-radius:11px!important;padding:8px 9px!important;font-size:13.5px!important}
  .field-help,.field small{font-size:9.2px!important;line-height:1.3!important}
  .hero-actions{gap:5px!important;margin-top:8px!important}
  .hero-actions .primary-btn,.hero-actions .ghost-btn,.primary-btn,.ghost-btn{font-size:10.5px!important}
  .feedback-admin-head h2{font-size:18px!important}
  .feedback-admin-head p{font-size:9.5px!important}
  .feedback-stat{padding:8px!important}
  .feedback-stat strong{font-size:18px!important}
}


/* BIO.ONE V4.1.0 — Admin đọc ngữ cảnh hội thoại từ Chuyên gia tóc */
.feedback-assistant-badge{display:inline-flex;align-items:center;padding:5px 8px;border-radius:999px;background:#eef7f2;color:#26724f;font-size:10px;font-weight:850}
.feedback-assistant-context{margin-top:12px;padding:14px;border-radius:18px;border:1px solid #d8e9df;background:#f7fbf8}
.feedback-assistant-context-head{display:flex;gap:9px;align-items:center;padding-bottom:10px;border-bottom:1px solid #e1eee6}
.feedback-assistant-context-head>span{font-size:20px}.feedback-assistant-context-head strong{display:block;color:#2b6f50;font-size:13px}.feedback-assistant-context-head small{display:block;margin-top:2px;color:#7f756f;font-size:10.5px}
.feedback-assistant-transcript{margin-top:11px;color:#5f4a41;font-size:12px;line-height:1.58;white-space:normal;overflow-wrap:anywhere}
@media(max-width:620px){.feedback-assistant-context{padding:12px;border-radius:16px}.feedback-assistant-transcript{font-size:11px;line-height:1.52}}

/* V4.1.3 */
.npp-lead-entry-v413{font-weight:850!important}.npp-lead-entry-v413:before{content:"🔥 ";font-size:12px}
