/* KHF_MANUAL_PRODUCT_USER_REAL_FIX */
.product-page-body .pd-product-card.panel .pd-icon-box,
.product-page-body .pd-product-card.vps .pd-icon-box,
.product-page-body .pd-product-card.script .pd-icon-box{display:none!important}
.product-page-body .pd-product-card.panel .pd-card-head,
.product-page-body .pd-product-card.vps .pd-card-head,
.product-page-body .pd-product-card.script .pd-card-head,
.product-page-body .manual-card-head{
  justify-content:flex-end!important;
  min-height:30px!important;
  height:30px!important;
  margin-bottom:10px!important;
}
.product-page-body .pd-stat-manual,
.product-page-body .manual-account-card{
  --accent: #a78bfa;
  --accent-rgb: 167,139,250;
}
.manual-account-card .manual-card-desc{
  color:rgba(226,232,240,.72);
  font-size:.88rem;
  font-weight:700;
  line-height:1.42;
  min-height:42px;
  margin:0 0 12px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.manual-account-card.is-empty{opacity:.62;filter:saturate(.72)}
.manual-account-card .pd-order-btn[disabled]{
  border:0;
  cursor:not-allowed;
  opacity:.68;
  color:rgba(226,232,240,.72)!important;
  background:linear-gradient(135deg,rgba(30,41,59,.9),rgba(15,23,42,.92))!important;
}
.manual-choice-page .manual-choice-hero{
  position:relative;
  overflow:hidden;
  padding:24px;
  margin:16px 0 16px;
  border-radius:28px;
  background:
    radial-gradient(circle at 20% 15%,rgba(255,153,0,.18),transparent 34%),
    radial-gradient(circle at 86% 8%,rgba(167,139,250,.18),transparent 34%),
    linear-gradient(145deg,rgba(10,15,28,.94),rgba(5,8,16,.98));
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 26px 80px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.06);
}
.manual-choice-hero h1{
  color:#fff;
  font-family:Syne,DM Sans,sans-serif;
  font-size:clamp(30px,8vw,58px);
  line-height:.95;
  letter-spacing:-.075em;
  margin:10px 0;
}
.manual-choice-hero p{
  color:rgba(226,232,240,.72);
  font-weight:700;
  max-width:680px;
  line-height:1.5;
}
.manual-choice-price{
  display:inline-flex;
  align-items:center;
  gap:12px;
  margin-top:18px;
  padding:12px 16px;
  border-radius:18px;
  background:rgba(15,23,42,.72);
  border:1px solid rgba(255,255,255,.10);
}
.manual-choice-price small{color:rgba(226,232,240,.58);font-weight:900;text-transform:uppercase;font-size:11px}
.manual-choice-price strong{color:#fde68a;font-family:Syne,DM Sans,sans-serif;font-size:20px}
.manual-choice-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin-bottom:110px;
}
.manual-choice-card,
.manual-empty-card{
  position:relative;
  overflow:hidden;
  padding:18px;
  border-radius:24px;
  background:linear-gradient(145deg,rgba(9,14,26,.94),rgba(5,8,16,.96));
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 20px 60px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.05);
}
.manual-choice-card::before{
  content:"";
  position:absolute;
  inset:-1px;
  background:radial-gradient(circle at 20% 0,rgba(255,153,0,.16),transparent 38%),radial-gradient(circle at 100% 0,rgba(167,139,250,.15),transparent 40%);
  pointer-events:none;
}
.manual-choice-card>*{position:relative;z-index:1}
.manual-choice-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:12px;
}
.manual-choice-head span,
.manual-choice-head b{
  font-size:11px;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(15,23,42,.76);
  border:1px solid rgba(255,255,255,.09);
  color:rgba(226,232,240,.78);
}
.manual-choice-head b{color:#86efac;background:rgba(34,197,94,.10);border-color:rgba(34,197,94,.20)}
.manual-choice-card h2,.manual-empty-card h2{
  color:#fff;
  font-family:Syne,DM Sans,sans-serif;
  letter-spacing:-.055em;
  line-height:1;
  margin:0 0 10px;
  font-size:28px;
}
.manual-choice-card p,.manual-empty-card p{color:rgba(226,232,240,.70);font-weight:700;line-height:1.45;margin:0 0 14px}
.manual-choice-meta{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}
.manual-choice-meta span{font-size:11px;font-weight:900;color:rgba(226,232,240,.78);padding:7px 9px;border-radius:999px;background:rgba(15,23,42,.62);border:1px solid rgba(255,255,255,.08)}
.manual-choice-price-row{display:flex;align-items:center;justify-content:space-between;margin:14px 0;gap:10px}
.manual-choice-price-row small{color:rgba(226,232,240,.55);font-weight:900;text-transform:uppercase;font-size:11px}
.manual-choice-price-row strong{color:#fde68a;font-family:Syne,DM Sans,sans-serif;font-size:19px}
.manual-choice-card form{margin:0}
.manual-choice-card .pd-order-btn{width:100%;border:0;cursor:pointer;text-align:center}
.manual-empty-card{grid-column:1/-1;text-align:center;padding:26px}
@media (max-width: 560px){
  .manual-choice-grid{grid-template-columns:1fr;gap:12px;margin-bottom:96px}
  .manual-choice-page .manual-choice-hero{padding:20px;border-radius:24px}
  .manual-account-card .manual-card-desc{font-size:.78rem;min-height:38px}
  .product-page-body .pd-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}


/* KHF_MANUAL_QTY_CHOICE_V3 */
.manual-choice-page .manual-qty-grid{
  grid-template-columns:1fr !important;
  margin-bottom:104px !important;
}
.manual-choice-page .manual-qty-card{
  max-width:760px;
  margin:0 auto;
}
.manual-choice-page .manual-qty-control{
  margin:16px 0 10px;
  padding:14px;
  border-radius:20px;
  background:linear-gradient(135deg,rgba(15,23,42,.78),rgba(2,6,23,.66));
  border:1px solid rgba(255,255,255,.09);
}
.manual-choice-page .manual-qty-control small{
  display:block;
  margin-bottom:10px;
  color:rgba(226,232,240,.62);
  font-size:11px;
  font-weight:950;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.manual-choice-page .manual-qty-box{
  display:grid;
  grid-template-columns:48px 1fr 48px;
  align-items:center;
  gap:10px;
}
.manual-choice-page .manual-qty-box strong{
  height:48px;
  display:grid;
  place-items:center;
  color:#fff;
  font-family:Syne,DM Sans,sans-serif;
  font-size:28px;
  border-radius:16px;
  background:rgba(2,6,23,.66);
  border:1px solid rgba(255,255,255,.08);
}
.manual-choice-page .manual-qty-btn{
  width:48px;
  height:48px;
  border:0;
  border-radius:16px;
  cursor:pointer;
  color:#111827;
  font-size:22px;
  font-weight:950;
  background:linear-gradient(135deg,#ffe77a,#ff9500);
  box-shadow:0 12px 26px rgba(255,153,0,.18);
}
.manual-choice-page .manual-qty-btn:disabled{
  opacity:.45;
  cursor:not-allowed;
  filter:saturate(.65);
}
.manual-choice-page .manual-stock-warning{
  display:none;
  margin:10px 0 0 !important;
  color:#fca5a5 !important;
  font-weight:900 !important;
  font-size:13px;
}
.manual-choice-page .manual-stock-warning.show{
  display:block;
}
.manual-choice-page .manual-qty-card.is-empty{
  opacity:.76;
  filter:saturate(.8);
}
@media (max-width:560px){
  .manual-choice-page .manual-qty-card{
    max-width:100%;
  }
  .manual-choice-page .manual-qty-box{
    grid-template-columns:44px 1fr 44px;
  }
  .manual-choice-page .manual-qty-box strong,
  .manual-choice-page .manual-qty-btn{
    height:44px;
  }
  .manual-choice-page .manual-qty-btn{
    width:44px;
  }
}
