:root{
  --pkds-red-1:#8e0f12;
  --pkds-red-2:#b71217;
  --pkds-red-3:#d91d1e;
  --pkds-gold-1:#d8a13b;
  --pkds-gold-2:#f1cb71;
  --pkds-cream-1:#fffdf9;
  --pkds-cream-2:#fff7ec;
  --pkds-line:#e9cb95;
  --pkds-text:#4a2a18;
  --pkds-muted:#8f6e57;
  --pkds-shadow:0 12px 28px rgba(108,49,19,.10);
}
.pkds-mua-sim-page{padding:24px 0}
.pkds-mua-sim-page *{box-sizing:border-box}
.pkds-mua-sim-order{
  max-width:1380px;margin:0 auto;background:var(--pkds-cream-1);
  border:1px solid #e5d8c6;border-radius:26px;box-shadow:var(--pkds-shadow);overflow:hidden;
  font-family:"Be Vietnam Pro",system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--pkds-text);
}
.pkds-mua-sim-order__header{
  position:relative;padding:26px 18px 24px;
  background:linear-gradient(180deg,var(--pkds-red-2),var(--pkds-red-1));
  border-bottom:3px solid var(--pkds-gold-1);
}
.pkds-mua-sim-order__header::after{
  content:"";position:absolute;inset:0;opacity:.10;pointer-events:none;
  background:repeating-linear-gradient(45deg, transparent 0 16px, rgba(255,233,186,.6) 16px 17px, transparent 17px 34px),
             repeating-linear-gradient(-45deg, transparent 0 16px, rgba(255,233,186,.45) 16px 17px, transparent 17px 34px);
}
.pkds-mua-sim-order__header h1{
  position:relative;z-index:1;margin:0;text-align:center;color:#fff7df;font-size:56px;line-height:1;font-weight:800;text-shadow:0 2px 0 rgba(70,4,5,.25)
}
.pkds-mua-sim-product{
  margin:22px;padding:22px 24px;border:2px solid #efddb7;border-radius:16px;background:linear-gradient(180deg,rgba(255,251,241,.96),rgba(255,248,235,.98));display:grid;grid-template-columns:1fr 280px;align-items:center;gap:24px;
}
.pkds-mua-sim-product__info{display:grid;gap:12px}
.pkds-mua-sim-meta-row{display:flex;align-items:baseline;flex-wrap:wrap;gap:12px;font-size:22px;line-height:1.25}
.pkds-mua-sim-meta-row .label{min-width:92px;color:#b14b2c;font-weight:600}
.pkds-mua-sim-meta-row strong{font-size:24px;font-weight:800;color:#4a2a18}
.pkds-mua-sim-meta-row .price{font-size:28px;color:#d01a1f}
.pkds-mua-sim-meta-row .network{color:#2c69b7}
.pkds-mua-sim-meta-row .status{color:#d1211d;font-style:normal;font-weight:700}
.pkds-mua-sim-card{position:relative;height:150px;border-radius:14px;background:linear-gradient(180deg,#f6f6f6 0 62%, #ffffff 62% 100%);box-shadow:0 8px 18px rgba(61,38,22,.15);overflow:hidden}
.pkds-mua-sim-card .chip{position:absolute;left:18px;top:30px;width:56px;height:46px;border-radius:10px;background:linear-gradient(180deg,#f0d485,#d6a64c)}
.pkds-mua-sim-card .chip::before{content:"";position:absolute;inset:8px;border:1px solid rgba(117,78,12,.35);border-radius:6px}
.pkds-mua-sim-card .logo{position:absolute;right:24px;top:18px;font-size:52px;font-weight:800;color:#efc140}
.pkds-mua-sim-card .brand{position:absolute;right:22px;top:66px;font-size:22px;font-weight:700;color:#2b69b7}
.pkds-mua-sim-card .waves{position:absolute;left:-10px;right:-10px;bottom:-4px;height:58px;background:
 linear-gradient(170deg, transparent 0 48%, #1f76cd 49% 62%, transparent 63% 100%),
 linear-gradient(160deg, transparent 0 53%, #27b0f0 54% 65%, transparent 66% 100%),
 linear-gradient(150deg, transparent 0 60%, #ffd147 61% 69%, transparent 70% 100%),
 linear-gradient(140deg, transparent 0 66%, #f58a2a 67% 76%, transparent 77% 100%),
 linear-gradient(132deg, transparent 0 72%, #e44855 73% 84%, transparent 85% 100%);}
.pkds-mua-sim-body{display:grid;grid-template-columns:1fr 1.08fr;gap:18px;padding:0 22px}
.pkds-mua-sim-box{border:1px solid #e8d8c0;border-radius:14px;background:#fefcf7;overflow:hidden}
.pkds-mua-sim-box__title{display:flex;align-items:center;justify-content:center;gap:10px;min-height:64px;padding:12px 18px;background:linear-gradient(180deg,var(--pkds-red-2),var(--pkds-red-1));color:#fff7e0;font-size:24px;font-weight:800}
.pkds-mua-sim-field{padding:14px 20px 0}
.pkds-mua-sim-field label{display:block;margin-bottom:8px;font-size:18px;font-weight:700;color:#5a3b21}
.pkds-mua-sim-field label span{color:#d01a1f}
.pkds-mua-sim-input input,.pkds-mua-sim-input textarea{
  width:100%;border:1.5px solid #dfdfdf;background:#f8f8f8;color:#5b5248;border-radius:7px;font:inherit;font-size:17px;outline:none;transition:.16s ease;padding:0 14px;
}
.pkds-mua-sim-input input{height:48px}
.pkds-mua-sim-input textarea{min-height:78px;resize:vertical;padding-top:12px}
.pkds-mua-sim-input input:focus,.pkds-mua-sim-input textarea:focus{background:#fff;border-color:#e2b357;box-shadow:0 0 0 4px rgba(226,179,87,.14)}
.pkds-mua-sim-group{padding:14px 18px 0}
.pkds-mua-sim-group h3{margin:0 0 12px;font-size:19px;color:#604123}
.pkds-mua-sim-option-grid{display:grid;gap:12px}
.pkds-mua-sim-option-grid.two{grid-template-columns:1fr 1fr}
.pkds-mua-sim-option-grid.one{grid-template-columns:1fr}
.pkds-mua-sim-option{position:relative;display:block;min-height:68px;border:2px solid #d9d9d9;border-radius:10px;background:#fbfbfb;padding:12px 14px;cursor:pointer}
.pkds-mua-sim-option input{position:absolute;opacity:0;pointer-events:none}
.pkds-mua-sim-option.active{border-color:#ef6c63;background:#fffefb}
.pkds-mua-sim-option.muted{background:#f4f4f4}
.pkds-mua-sim-option__content strong{display:block;font-size:17px;line-height:1.15}
.pkds-mua-sim-option__content small{display:block;margin-top:4px;color:var(--pkds-muted);font-size:13px;line-height:1.2}
.pkds-mua-sim-option.active .pkds-mua-sim-option__content strong{color:#d52c22}
.pkds-mua-sim-option.active .pkds-mua-sim-option__content small{color:#3b9156}
.pkds-mua-sim-coupon{margin:14px 18px 0;padding:10px 14px 12px;border:2px dashed #f0a08f;border-radius:12px;background:#fffaf2}
.pkds-mua-sim-coupon label{display:block;margin-bottom:10px;color:#b3512b;font-size:18px;font-weight:700}
.pkds-mua-sim-coupon label span{color:#8b6b52;font-weight:600}
.pkds-mua-sim-coupon__row{display:grid;grid-template-columns:1fr 120px;gap:10px}
.pkds-mua-sim-coupon__row input{height:46px;border:1.5px solid #dfdfdf;background:#f8f8f8;border-radius:7px;padding:0 14px;font:inherit;font-size:17px}
.pkds-mua-sim-coupon__row button{border:none;border-radius:10px;color:#fff8de;font:inherit;font-size:18px;font-weight:800;background:linear-gradient(180deg,#f09d28,#d6461f)}
.pkds-mua-sim-submit{width:calc(100% - 36px);margin:16px 18px 0;min-height:68px;border:none;border-radius:12px;color:#fff8de;font:inherit;font-size:23px;font-weight:800;cursor:pointer;background:linear-gradient(180deg,#df2a22,#b71116);box-shadow:inset 0 0 0 2px #d9ab56}
.pkds-mua-sim-submit:hover{filter:brightness(1.03)}
.pkds-mua-sim-status{margin:12px 18px 0;padding:12px 14px;border-radius:10px;background:#f6f6f6;color:#6b5f53;display:none}
.pkds-mua-sim-status.is-visible{display:block}
.pkds-mua-sim-status.is-success{background:#eef9f1;color:#256d3d}
.pkds-mua-sim-status.is-error{background:#fff1f0;color:#a22f2a}
.pkds-mua-sim-safe-note{margin:12px 18px 0;text-align:center;color:#4d7f39;font-size:16px;font-weight:500}
.pkds-mua-sim-footer-note{margin:18px 22px 22px;border:1px solid #eddac1;border-radius:14px;background:linear-gradient(180deg,#fff8ee,#fffaf4);padding:16px 20px 14px}
.pkds-mua-sim-footer-note__title{display:flex;align-items:center;justify-content:center;color:#b85126;font-size:22px;font-weight:800}
.pkds-mua-sim-footer-note ul{margin:12px 0 0;padding-left:22px}
.pkds-mua-sim-footer-note li{margin:8px 0;font-size:18px;line-height:1.5}
.pkds-mua-sim-trigger{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 18px;border:none;border-radius:12px;background:linear-gradient(180deg,#df2a22,#b71116);color:#fff8de;font-weight:800;text-decoration:none;cursor:pointer;box-shadow:inset 0 0 0 2px #d9ab56}
.pkds-mua-sim-trigger:hover{filter:brightness(1.03);color:#fff8de}
.pkds-mua-sim-modal[hidden]{display:none}
.pkds-mua-sim-modal{position:fixed;inset:0;z-index:99999}
.pkds-mua-sim-modal__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.55)}
.pkds-mua-sim-modal__dialog{position:relative;z-index:2;width:min(1320px,calc(100vw - 24px));max-height:calc(100vh - 24px);overflow:auto;margin:12px auto}
.pkds-mua-sim-modal__close{position:absolute;right:12px;top:12px;width:38px;height:38px;border:none;border-radius:999px;background:#fff;color:#8e0f12;font-size:24px;cursor:pointer}
.pkds-mua-sim-honeypot{display:none!important}

@media (max-width:1100px){
  .pkds-mua-sim-order__header h1{font-size:48px}
  .pkds-mua-sim-product{grid-template-columns:1fr}
  .pkds-mua-sim-card{width:280px;justify-self:end}
  .pkds-mua-sim-body{grid-template-columns:1fr}
}
@media (max-width:767px){
  .pkds-mua-sim-page{padding:0}
  .pkds-mua-sim-order{border-radius:0;border-left:none;border-right:none}
  .pkds-mua-sim-order__header{padding:20px 12px 18px}
  .pkds-mua-sim-order__header h1{font-size:40px}
  .pkds-mua-sim-product{margin:14px;padding:14px;grid-template-columns:1fr 122px;gap:12px;align-items:start}
  .pkds-mua-sim-meta-row{gap:8px;font-size:16px;line-height:1.2}
  .pkds-mua-sim-meta-row .label{min-width:54px}
  .pkds-mua-sim-meta-row strong{font-size:16px}
  .pkds-mua-sim-meta-row .price{font-size:18px}
  .pkds-mua-sim-product__info{gap:8px}
  .pkds-mua-sim-card{width:122px;height:88px;justify-self:stretch}
  .pkds-mua-sim-card .chip{width:26px;height:22px;top:16px;left:10px;border-radius:5px}
  .pkds-mua-sim-card .chip::before{inset:4px;border-radius:3px}
  .pkds-mua-sim-card .logo{right:10px;top:8px;font-size:28px}
  .pkds-mua-sim-card .brand{right:10px;top:34px;font-size:11px}
  .pkds-mua-sim-body{padding:0 14px;gap:14px}
  .pkds-mua-sim-box__title{min-height:52px;font-size:17px;padding:10px 12px}
  .pkds-mua-sim-field{padding:12px 12px 0}
  .pkds-mua-sim-field label{margin-bottom:6px;font-size:15px}
  .pkds-mua-sim-input input{height:40px;font-size:14px}
  .pkds-mua-sim-input textarea{min-height:58px;font-size:14px}
  .pkds-mua-sim-group{padding:12px 12px 0}
  .pkds-mua-sim-group h3{margin-bottom:8px;font-size:15px}
  .pkds-mua-sim-option-grid.two{grid-template-columns:1fr 1fr}
  .pkds-mua-sim-option{min-height:56px;padding:8px 10px}
  .pkds-mua-sim-option__content strong{font-size:14px}
  .pkds-mua-sim-option__content small{font-size:11px}
  .pkds-mua-sim-coupon{margin:12px 12px 0;padding:8px 10px 10px}
  .pkds-mua-sim-coupon label{font-size:15px}
  .pkds-mua-sim-coupon__row{grid-template-columns:1fr 94px;gap:8px}
  .pkds-mua-sim-coupon__row input{height:38px;font-size:14px}
  .pkds-mua-sim-coupon__row button{font-size:14px;border-radius:8px}
  .pkds-mua-sim-submit{width:calc(100% - 24px);margin:12px 12px 0;min-height:54px;font-size:18px;border-radius:10px}
  .pkds-mua-sim-safe-note{margin:10px 12px 0;font-size:13px;line-height:1.35}
  .pkds-mua-sim-footer-note{margin:14px;padding:12px 14px}
  .pkds-mua-sim-footer-note__title{font-size:18px;text-align:center}
  .pkds-mua-sim-footer-note ul{margin-top:10px;padding-left:18px}
  .pkds-mua-sim-footer-note li{font-size:14px;line-height:1.45}
  .pkds-mua-sim-modal__dialog{width:calc(100vw - 8px);margin:4px auto;max-height:calc(100vh - 8px)}
  .pkds-mua-sim-modal__close{right:8px;top:8px}
}


.pkds-mua-sim-option{position:relative;padding-left:44px !important;}
.pkds-mua-sim-option::before{content:"";position:absolute;left:14px;top:50%;transform:translateY(-50%);width:18px;height:18px;border-radius:50%;border:2px solid #d8b07e;background:#fff;box-sizing:border-box;transition:.18s ease;}
.pkds-mua-sim-option.active::before{border-color:#e24c3d;background:linear-gradient(180deg,#f26353,#cc231d);box-shadow:0 0 0 3px rgba(226,76,61,.12);}
.pkds-mua-sim-option.active::after{content:"";position:absolute;left:20px;top:50%;width:5px;height:9px;border-right:2px solid #fff;border-bottom:2px solid #fff;transform:translateY(-60%) rotate(45deg);}
.pkds-mua-sim-submit.is-busy{opacity:.75;pointer-events:none;}
.pkds-mua-sim-status.is-loading{background:#fff7e8;color:#9b5b14;border:1px solid #f0d39c;}


.pkds-mua-sim-intro{margin:16px 18px 0;padding:16px 18px;border:1px solid #eddac1;border-radius:14px;background:linear-gradient(180deg,#fff8ee,#fff4e5);box-shadow:0 8px 20px rgba(116,49,18,.06)}
.pkds-mua-sim-intro__badge{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 14px;border-radius:999px;background:linear-gradient(180deg,#f2d08b,#d6a23d);color:#6b340c;font-weight:900;font-size:14px;letter-spacing:.4px;margin-bottom:10px}
.pkds-mua-sim-intro p{margin:0;color:#6a4f35;font-size:17px;line-height:1.6}
.pkds-mua-sim-consult-box{margin:16px 18px 18px;padding:16px;border:1px dashed #dfc18b;border-radius:14px;background:linear-gradient(180deg,#fffaf2,#fff6ea)}
.pkds-mua-sim-consult-box__title{color:#7e3e13;font-size:20px;font-weight:900;margin-bottom:8px}
.pkds-mua-sim-consult-box__text{margin:0 0 14px;color:#6b5f53;font-size:16px;line-height:1.55}
.pkds-mua-sim-submit--consult{width:100%;margin:0;min-height:56px;border-radius:12px;background:linear-gradient(180deg,#f0c86e,#c58a1c);box-shadow:inset 0 0 0 2px #eed6a6,0 10px 20px rgba(124,83,19,.18)}
.pkds-mua-sim-submit--consult span{color:#fff7de}
.pkds-mua-sim-submit--consult:hover{filter:brightness(1.03)}
.pkds-mua-sim-status{margin:14px 18px 0}
.pkds-mua-sim-page.is-consult-context .pkds-mua-sim-order__header h1{font-size:50px}
@media (max-width:767px){
  .pkds-mua-sim-intro{margin:14px;padding:12px 14px}
  .pkds-mua-sim-intro__badge{min-height:30px;padding:0 12px;font-size:12px;margin-bottom:8px}
  .pkds-mua-sim-intro p{font-size:14px;line-height:1.5}
  .pkds-mua-sim-consult-box{margin:14px 12px 14px;padding:12px}
  .pkds-mua-sim-consult-box__title{font-size:17px;margin-bottom:6px}
  .pkds-mua-sim-consult-box__text{font-size:14px;line-height:1.45;margin-bottom:10px}
  .pkds-mua-sim-submit--consult{min-height:48px;border-radius:10px;font-size:16px}
  .pkds-mua-sim-status{margin:12px 12px 0}
}

/* PKDS v1.4.0 — Mã giới thiệu / mã ưu đãi */
.pkds-mua-sim-code-row{display:grid;grid-template-columns:1fr 112px;gap:8px;align-items:center}
.pkds-mua-sim-code-row input{width:100%;height:44px;border:1px solid #dedede;border-radius:8px;padding:0 12px;background:#f8f8f8;font-size:15px;color:#4a3a2a;box-sizing:border-box}
.pkds-mua-sim-code-row input:focus{outline:none;border-color:#d7a65a;background:#fff;box-shadow:0 0 0 2px rgba(215,166,90,.16)}
.pkds-mua-sim-code-row button,.pkds-mua-sim-coupon__row button{border:0;border-radius:9px;background:linear-gradient(180deg,#ef8b2d,#d86112);color:#fff;font-weight:900;cursor:pointer;min-height:42px;box-shadow:0 6px 12px rgba(177,73,18,.16)}
.pkds-mua-sim-code-row button.is-busy,.pkds-mua-sim-coupon__row button.is-busy{opacity:.7;pointer-events:none}
.pkds-mua-sim-field-note{display:block;margin-top:6px;color:#8b6b4a;font-size:12px;line-height:1.4}
.pkds-mua-sim-discount-preview{margin-top:10px;border-radius:12px;border:1px solid #ead5aa;background:#fffaf0;padding:10px 12px;color:#6f4a20;font-size:14px;line-height:1.45}
.pkds-mua-sim-discount-preview.is-success{border-color:#c9dfbd;background:#f6fff2;color:#285f20}
.pkds-mua-sim-discount-preview.is-error{border-color:#f0c0b6;background:#fff6f4;color:#9a2e1b}
.pkds-mua-sim-discount-preview__title{font-weight:800;margin-bottom:8px}
.pkds-mua-sim-discount-preview__grid{display:grid;grid-template-columns:1fr auto;gap:5px 12px;align-items:center}
.pkds-mua-sim-discount-preview__grid span{opacity:.86}
.pkds-mua-sim-discount-preview__grid strong{font-weight:900;text-align:right}
.pkds-mua-sim-discount-preview__note{margin-top:8px;font-size:12px;color:#815a22}
@media (max-width:767px){
  .pkds-mua-sim-code-row{grid-template-columns:1fr 92px;gap:8px}
  .pkds-mua-sim-code-row input{height:40px;font-size:14px}
  .pkds-mua-sim-code-row button{min-height:38px;font-size:13px;border-radius:8px}
  .pkds-mua-sim-field-note{font-size:11px}
  .pkds-mua-sim-discount-preview{font-size:13px;padding:9px 10px}
}

/* PKDS v1.8.2 — Gợi ý mã giới thiệu / mã ưu đãi */
.pkds-mua-sim-field-hint{margin:0 0 8px;color:#7a4a1b;font-size:13px;line-height:1.45;background:#fff8ea;border:1px solid #efd7aa;border-radius:10px;padding:8px 10px}
.pkds-mua-sim-voucher-chips{display:grid;grid-template-columns:1fr;gap:8px;margin:8px 0 10px}
.pkds-mua-sim-voucher-chip{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:44px;border:1px solid #f0bf8d;border-radius:10px;background:linear-gradient(180deg,#fffaf4,#fff3e7);color:#8b3318;cursor:pointer;padding:8px 10px;text-align:left;box-shadow:0 4px 10px rgba(132,58,13,.05)}
.pkds-mua-sim-voucher-chip strong{font-size:15px;color:#b51217;font-weight:900;white-space:nowrap}
.pkds-mua-sim-voucher-chip span{font-size:12px;line-height:1.3;color:#805c38;text-align:right}
.pkds-mua-sim-voucher-chip:hover{border-color:#db7b2d;background:#fff7ee;transform:translateY(-1px)}
.pkds-mua-sim-voucher-chip.is-busy{opacity:.72;pointer-events:none}
.pkds-mua-sim-account-perk{margin:9px 0 0;border:1px dashed #eccb98;border-radius:10px;background:#fffaf1;color:#78542e;font-size:12px;line-height:1.45;padding:8px 10px}
@media (max-width:767px){
  .pkds-mua-sim-field-hint{font-size:12px;margin-bottom:7px;padding:7px 9px}
  .pkds-mua-sim-voucher-chips{gap:7px;margin:8px 0}
  .pkds-mua-sim-voucher-chip{min-height:40px;padding:7px 9px;border-radius:9px}
  .pkds-mua-sim-voucher-chip strong{font-size:13px}
  .pkds-mua-sim-voucher-chip span{font-size:11px}
  .pkds-mua-sim-account-perk{font-size:11px;padding:7px 9px}
}
