/* RETEZ ORDER MOBILE — all visuals scoped to .rt-order-shell */
.rt-order-shell{--rt-gold:#b68d46;--rt-muted:#8c9ab0;--rt-line:#ededed;width:100%;min-height:100svh;background:#fff;color:#151515;font-family:inherit;}
.rt-order-shell,.rt-order-shell *{box-sizing:border-box}
.rt-order-shell .rt-order-form{max-width:500px;min-height:100svh;margin:0 auto;padding:0;border:0;background:#fff}
.rt-order-shell .rt-order-step{width:100%;min-height:100svh;background:#fff}
.rt-order-shell .rt-order-step.hidden{display:none!important}
.rt-order-shell .rt-order-nav{height:83px;padding:0 15px;display:grid;grid-template-columns:60px minmax(0,1fr) 60px;align-items:center;gap:5px;width:100%;background:transparent}
.rt-order-shell .rt-order-nav-back,.rt-order-shell .rt-order-nav-next{all:unset;box-sizing:border-box;color:#171717;cursor:pointer;font-size:17px;font-weight:400;text-decoration:none;text-align:left}
.rt-order-shell .rt-order-nav-next{text-align:right;color:var(--rt-gold)}
.rt-order-shell .rt-order-nav-title{font-size:20px;font-weight:400;color:var(--rt-gold);text-align:center;white-space:nowrap}
.rt-order-shell:is(input,select,button){font-family:inherit}
.rt-order-shell .error-text{font-size:11px;color:#c34b46;margin-top:3px;position:absolute;bottom:0;left:0}
.rt-order-shell .rt-order-hidden-action{position:absolute!important;width:1px!important;height:1px!important;clip-path:inset(50%)!important;overflow:hidden!important;white-space:nowrap!important;opacity:0!important;pointer-events:none!important}

/* STEP 1 — compact line rows */
.rt-order-shell .rt-order-one-content{margin-top:40px;padding:0 15px}
.rt-order-shell .rt-order-one-row,.rt-order-shell .rt-order-four-row{min-height:57px;display:grid;grid-template-columns:13px minmax(85px,1fr) minmax(90px,1.15fr);align-items:center;gap:8px;border-bottom:1px solid var(--rt-line);padding:5px 0}
.rt-order-shell .rt-order-dot{width:10px;height:10px;border-radius:50%;display:block;background:#b28a45}
.rt-order-shell .rt-order-dot-2{background:#96713b}
.rt-order-shell .rt-order-dot-3{background:#c1a063}
.rt-order-shell .rt-order-dot-4{background:#a67a31}
.rt-order-shell .rt-order-field>label{font-size:15px;color:#232323;font-weight:400;margin:0}
.rt-order-shell .rt-order-field-control{position:relative;min-width:0}
.rt-order-shell .rt-order-field select,.rt-order-shell .rt-order-field input{display:block;background:transparent;border:0!important;outline:none!important;box-shadow:none!important;border-radius:0!important;margin:0!important;padding:8px 17px 8px 4px!important;height:38px!important;min-height:0!important;width:100%!important;font-size:12px!important;font-weight:400!important;color:#292929;text-align:right;appearance:none;-webkit-appearance:none}
.rt-order-shell .rt-order-field select{cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns=!string!width=!string!height=!string!fill=!string!stroke=!string!stroke-width=!string!%3E%3Cpath d=!string!/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right center!important;background-size:12px!important}
.rt-order-shell .rt-order-field input::placeholder{color:#333;opacity:1}
.rt-order-shell .rt-order-field input{padding-right:0!important}
.rt-order-shell .rt-order-one-extras{margin-top:32px;padding-bottom:50px}
.rt-order-shell .rt-order-help{text-align:right;margin-bottom:24px}
.rt-order-shell .rt-order-help a{color:#8e7a54;font-size:12px;text-underline-offset:3px}
.rt-order-shell .rt-order-consent{display:flex;align-items:center;gap:9px;font-size:12px;color:#404040;line-height:1.5}
.rt-order-shell .rt-order-consent input{width:17px;height:17px;accent-color:var(--rt-gold)}
.rt-order-shell .rt-order-consent .checkmark{display:none}
.rt-order-shell .rt-order-confirm-note{color:#94a1b4;font-size:11px;margin:7px 0 12px 25px}
.rt-order-shell .rt-order-actions{display:flex;justify-content:space-between;gap:10px;margin-top:24px}
.rt-order-shell .rt-order-reset,.rt-order-shell .rt-order-continue,.rt-order-shell .rt-order-back-original,.rt-order-shell .rt-order-finish{border:1px solid #d8c5a0;border-radius:5px;padding:12px 15px;min-width:100px;background:#fff;color:#8e6e35;font-size:12px;cursor:pointer}
.rt-order-shell .rt-order-continue,.rt-order-shell .rt-order-finish{background:#b28a45;color:#fff;border-color:#b28a45}

/* Select2 plugin compatibility */
.rt-order-shell .rt-order-field-control .select2-container{width:100%!important}
.rt-order-shell .rt-order-field-control .select2-selection{background:transparent!important;border:0!important;box-shadow:none!important;min-height:36px!important;display:flex;align-items:center;justify-content:flex-end}
.rt-order-shell .rt-order-field-control .select2-selection__rendered{font-size:12px!important;color:#333!important;padding:0 20px 0 0!important;text-align:right!important}
.rt-order-shell .rt-order-field-control .select2-selection__arrow{right:0!important;top:5px!important}

/* STEP 2 — invoice */
.rt-order-shell .rt-order-step-two .rt-order-nav-title{color:var(--rt-gold)}
.rt-order-shell .rt-order-invoice{padding-top:5px}
.rt-order-shell .rt-order-invoice-head{display:flex;align-items:flex-end;justify-content:space-between;padding:0 9px 16px;border-bottom:1px solid #d9d9d9}
.rt-order-shell .rt-order-invoice-head h1{margin:0;font-size:24px;letter-spacing:-1px;font-weight:700;line-height:1.05;color:#000}
.rt-order-shell .rt-order-invoice-head span{font-size:12px;font-weight:500}
.rt-order-shell .rt-order-invoice-code{font-size:10px!important;letter-spacing:1px;color:#767676}
.rt-order-shell .rt-order-invoice-body{background:none!important;border:0!important;padding:19px 10px!important;margin:0!important;box-shadow:none!important;max-width:unset!important}
.rt-order-shell .rt-order-invoice-inner{display:grid;grid-template-columns:1fr auto;column-gap:12px;align-items:start}
.rt-order-shell .rt-order-invoice-meta{grid-column:2;text-align:right;color:#999;font-size:9px;letter-spacing:1px}
.rt-order-shell .rt-order-invoice-price{grid-column:2;grid-row:2;font-size:15px!important;color:#fb3835!important;font-weight:700!important;text-align:right!important;margin:0!important;background:none!important;padding:0!important}
.rt-order-shell .rt-order-invoice-list{grid-column:1;grid-row:1/span 2;list-style:none;margin:0!important;padding:0!important}
.rt-order-shell .rt-order-invoice-list li{display:flex;gap:4px;flex-wrap:wrap;justify-content:flex-start;padding:1px 0!important;border:0!important;font-size:10px!important;line-height:1.35;color:#343434}
.rt-order-shell .rt-order-invoice-list .label{font-size:10px!important;font-weight:500!important;color:#252525!important}
.rt-order-shell .rt-order-invoice-list .label:after{content:'http://www.w3.org/2000/svg'}

/* STEP 3 — photo requirements */
.rt-order-shell .rt-order-step-three .rt-order-nav-back,.rt-order-shell .rt-order-step-three .rt-order-nav-next{color:var(--rt-gold)}
.rt-order-shell .rt-order-step-three .rt-order-nav-title{color:#262626}
.rt-order-shell .rt-order-photos{padding:0 10px 35px!important;max-width:none!important;background:none!important}
.rt-order-shell .rt-order-photo-search{padding:16px 0 13px}
.rt-order-shell .rt-order-photo-search input{width:100%;border:1px solid #eee;background:#f6f6f6;border-radius:23px;height:42px;padding:0 15px;font-size:12px;color:#333;outline:none}
.rt-order-shell .rt-order-photo-list{display:block!important;margin:0!important;padding:0!important}
.rt-order-shell .rt-order-photo-item{position:relative;display:flex!important;align-items:center;gap:12px;min-height:77px;margin:0!important;padding:9px 0!important;border-bottom:1px solid #ededed;background:transparent!important;box-shadow:none!important;width:100%!important}
.rt-order-shell .rt-order-photo-thumb{width:43px!important;min-width:43px!important;height:43px!important;min-height:43px!important;border:0!important;background:#f5f5f5!important;border-radius:7px!important;overflow:hidden!important;display:flex!important;align-items:center;justify-content:center;cursor:pointer;margin:0!important;padding:0!important}
.rt-order-shell .rt-order-photo-preview{width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:0!important;background:transparent!important}
.rt-order-shell .rt-order-photo-preview .image-box-icon{font-size:20px;color:#c9c9c9;line-height:1}
.rt-order-shell .rt-order-photo-preview .image-box-text-main,.rt-order-shell .rt-order-photo-preview .image-box-text-sub{display:none!important}
.rt-order-shell .rt-order-photo-copy{flex:1;min-width:0}
.rt-order-shell .rt-order-photo-title{font-size:12px!important;color:#1a1a1a!important;font-weight:500!important;margin:0 0 4px!important;line-height:1.35!important}
.rt-order-shell .rt-order-photo-desc{font-size:11px;color:#454545;line-height:1.3}
.rt-order-shell .rt-order-photo-count{flex-shrink:0;align-self:flex-start;margin-top:6px;font-size:10px;color:#c8c8c8}
.rt-order-shell .rt-order-photo-hint{font-size:11px!important;color:#a1a1a1!important;margin:18px 0!important;line-height:1.5}

/* STEP 4 — new device */
.rt-order-shell .rt-order-step-four{background:#f9f9f5}
.rt-order-shell .rt-order-step-four .rt-order-nav{height:75px}
.rt-order-shell .rt-order-four-brand{display:flex;flex-direction:column;align-items:center;gap:8px;margin:0 auto 46px;text-align:center}
.rt-order-shell .rt-order-four-brand img{display:block;max-width:180px;object-fit:contain}
.rt-order-shell .rt-order-four-brand span{font-size:11px;letter-spacing:3px;color:#262626}
.rt-order-shell .rt-order-four-fields{padding:0 13px}
.rt-order-shell .rt-order-four-row{min-height:58px;grid-template-columns:13px minmax(84px,1fr) minmax(94px,1.15fr);border-bottom:1px solid #e8e7e0}
.rt-order-shell .rt-order-four-row>label{font-size:12px}
.rt-order-shell .rt-order-four-actions{display:flex;gap:12px;justify-content:space-between;margin-top:35px}

/* STEP 5: keep original dynamic preview markup, lightly harmonize */
.rt-order-shell .rt-order-step-five{padding:20px 15px;background:#fff}
.rt-order-shell .rt-order-step-five .area-order-detail{max-width:440px;margin:0 auto}
.rt-order-shell .rt-order-step-five .card{border-radius:10px;box-shadow:0 3px 20px rgba(0,0,0,.055);padding:20px;background:#fff}

/* Make old site logo/footer unobtrusive on this page: add class to body or wrap them separately if necessary */
@media(min-width:600px){
    .rt-order-shell .rt-order-form{box-shadow:0 0 0 1px #f1f1f1}
}
@media(max-width:360px){
    .rt-order-shell .rt-order-nav{height:73px;padding:0 10px;grid-template-columns:43px minmax(0,1fr) 43px}
    .rt-order-shell .rt-order-nav-title{font-size:13px}
    .rt-order-shell .rt-order-one-content{padding:0 11px;margin-top:33px}
    .rt-order-shell .rt-order-one-row,.rt-order-shell .rt-order-four-row{grid-template-columns:11px minmax(78px,1fr) minmax(85px,1.1fr);gap:5px}
    .rt-order-shell .rt-order-field>label{font-size:12px}
}
.rt-order-shell .rt-order-field.form-group{margin:0!important;max-width:none!important;}
.rt-order-shell .rt-order-photo-item[style*="display:none"]{display:none!important;}

/* STEP 1 - FULL WIDTH SELECT ROWS */
.rt-order-shell .rt-order-step1-fields{width:100%;padding:13px;}
.rt-order-shell .rt-order-step1-row{position:relative;display:flex;align-items:center;min-height:48px;gap:12px;border-bottom:1px solid #ededed;}
.rt-order-shell .rt-order-step1-dot{width:13px;height:13px;min-width:13px;border-radius:50%;background:#b18b45;}
.rt-order-shell .rt-order-step1-gold1 .rt-order-step1-dot{background:#ae8848;}
.rt-order-shell .rt-order-step1-gold2 .rt-order-step1-dot{background:#9c783b;}
.rt-order-shell .rt-order-step1-gold3 .rt-order-step1-dot{background:#c29a59;}
.rt-order-shell .rt-order-step1-gold4 .rt-order-step1-dot{background:#b8812e;}
.rt-order-shell .rt-order-step1-gold5 .rt-order-step1-dot{background:#806537;}
.rt-order-shell .rt-order-step1-control{flex:1;min-width:0;}

/* SELECT ĐƯỢC ĐẶT TRỰC TIẾP TRÊN DÒNG */
.rt-order-shell .rt-order-step1-control select{display:block;width:100%;height:47px;padding:0 30px 0 0;margin:0;appearance:none;-webkit-appearance:none;border:0;border-radius:0;background:#fff url(../images/down.png) 95% center no-repeat;box-shadow:none;outline:none;color:#252525;font-size:16px;font-weight:400;font-family:inherit;cursor:pointer;}
.rt-order-shell .rt-order-step1-control select:focus{border:0;outline:none;box-shadow:none;}

/* IMEI - CHỮ NHẬP Ở BÊN PHẢI */
.rt-order-shell .rt-order-step1-control input{width:100%;height:47px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;outline:none;color:#252525;font-size:13px;font-family:inherit;text-align:right;}
.rt-order-shell .rt-order-step1-control input::placeholder{color:#252525;opacity:1;}

/* SELECT2 - GIỮ HOẠT ĐỘNG JAVASCRIPT CŨ */
.rt-order-shell .rt-order-step1-control .select2-container{width:100%!important;}
.rt-order-shell .rt-order-step1-control
.select2-container .select2-selection--single{height:47px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;}
.rt-order-shell .rt-order-step1-control
.select2-selection__rendered{padding-left:0!important;padding-right:27px!important;line-height:47px!important;font-size:16px;color:#252525!important;}
.rt-order-shell .rt-order-step1-control
.select2-selection__arrow{height:47px!important;right:0!important;}

/* ==========================================
   RETEZ STEP 1 - PREMIUM MOBILE UI
========================================== */
.rt-order-shell .rt-order-step1-fields{width:100%;padding:0 13px;margin-top:60px;}
.rt-order-shell .rt-order-step1-row{position:relative;display:flex;align-items:center;gap:18px;height:63px;border-bottom:1px solid #e9e9e9;}
.rt-order-shell .rt-order-step1-dot{display:block;flex:0 0 13px;width:13px;height:13px;border-radius:50%;background:#b18b45;}
.rt-order-shell .rt-order-step1-gold1 .rt-order-step1-dot{background:#ad8846;}
.rt-order-shell .rt-order-step1-gold2 .rt-order-step1-dot{background:#a17b3c;}
.rt-order-shell .rt-order-step1-gold3 .rt-order-step1-dot{background:#c29c5b;}
.rt-order-shell .rt-order-step1-gold4 .rt-order-step1-dot{background:#b98120;}
.rt-order-shell .rt-order-step1-gold5 .rt-order-step1-dot{background:#826838;}
.rt-order-shell .rt-order-step1-control{flex:1;min-width:0;}

/* NATIVE SELECT FALLBACK */
.rt-order-shell .rt-order-step1-control select{width:100%;height:62px;padding:0 37px 0 0;appearance:none;-webkit-appearance:none;border:none!important;border-radius:0!important;outline:none!important;box-shadow:none!important;background:transparent;color:#171717;font-family:inherit;font-size:16px;font-weight:400;}

/* SELECT2 CLOSED */
.rt-order-shell .rt-order-step1-control .select2-container{width:100%!important;}
.rt-order-shell .rt-order-step1-control
.select2-container--default .select2-selection--single{height:62px!important;border:none!important;background:transparent!important;border-radius:0!important;box-shadow:none!important;}
.rt-order-shell .rt-order-step1-control
.select2-selection__rendered{height:62px!important;line-height:62px!important;padding-left:0!important;padding-right:39px!important;color:#171717!important;font-size:16px!important;font-weight:400!important;}

/* HIDE SELECT2 DEFAULT ARROW */
.rt-order-shell .rt-order-step1-control
.select2-selection__arrow{height:62px!important;width:36px!important;right:0!important;top:0!important;}
.rt-order-shell .rt-order-step1-control
.select2-selection__arrow b{border:none!important;width:9px;height:9px;border-right:1.8px solid #333!important;border-bottom:1.8px solid #333!important;transform:translateY(-65%) rotate(45deg);margin-left:-5px!important;margin-top:0!important;}

/* SELECT2 DROPDOWN */
.rt-order-select-dropdown.select2-dropdown{border:1px solid #e9e5dc!important;border-radius:12px!important;background:#fff!important;box-shadow:0 12px 35px rgba(0,0,0,.09);overflow:hidden;z-index:99999;}
.rt-order-select-dropdown .select2-results__options{max-height:260px!important;padding:6px!important;}
.rt-order-select-dropdown .select2-results__option{padding:13px 15px!important;font-size:14px!important;color:#272727!important;border-radius:7px;}
.rt-order-select-dropdown
.select2-results__option--highlighted[aria-selected]{background:#f6f1e8!important;color:#9e742b!important;}
.rt-order-select-dropdown
.select2-results__option[aria-selected="true"]{background:#f1e8d7!important;color:#8d682c!important;}

/* SEARCH INPUT INSIDE DROPDOWN */
.rt-order-select-dropdown .select2-search__field{border:1px solid #e6e6e6!important;border-radius:8px!important;padding:10px 12px!important;outline:none!important;font-size:14px!important;}

/* IMEI */
.rt-order-shell .rt-order-imei-label{font-size:16px;font-weight:400;color:#171717;white-space:nowrap;margin:0;cursor:text;}
.rt-order-shell .rt-order-imei-control{display:flex;justify-content:flex-end;}
.rt-order-shell .rt-order-imei-control input{width:100%;height:62px;padding:0;background:transparent!important;border:none!important;outline:none!important;box-shadow:none!important;font-size:16px;font-family:inherit;color:#171717;text-align:right;}
.rt-order-shell .rt-order-imei-control input::placeholder{color:#171717;opacity:1;}

/* REMOVE OLD ERRORS FROM FLEX SPACE */
.rt-order-shell .rt-order-step1-row > .error-text{position:absolute;left:31px;top:calc(100% - 22px);font-size:11px;color:#dc3545;}
@media (max-width:380px){
    .rt-order-shell .rt-order-step1-row{height:57px;gap:13px;}
    .rt-order-shell .rt-order-step1-control select,.rt-order-shell .rt-order-imei-control input{height:56px;font-size:14px;}
    .rt-order-shell .rt-order-imei-label{font-size:14px;}
    .rt-order-shell .rt-order-step1-control
    .select2-container--default .select2-selection--single,.rt-order-shell .rt-order-step1-control
    .select2-selection__rendered,.rt-order-shell .rt-order-step1-control
    .select2-selection__arrow{height:56px!important;line-height:56px!important;}
}

/* ==========================================
   STEP 2 - INVOICE IMPROVED
========================================== */
.rt-order-step-two .rt-invoice-wrap{padding:18px 16px 28px;}
.rt-order-step-two .rt-invoice-card{background:#ffffff;border:1px solid #ece3d5;border-radius:24px;overflow:hidden;box-shadow:0 8px 28px rgba(0,0,0,0.04);}
.rt-order-step-two .rt-invoice-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:18px 18px 16px;border-bottom:1px solid #f1ede6;background:#fffdfa;}
.rt-order-step-two .rt-invoice-head-left{min-width:0;}
.rt-order-step-two .rt-invoice-eyebrow{font-size:11px;line-height:1.4;font-weight:700;letter-spacing:0.12em;text-transform:uppercase;color:#b18b45;margin-bottom:6px;}
.rt-order-step-two .rt-invoice-head h2{margin:0;font-size:34px;line-height:1;font-weight:800;color:#111111;letter-spacing:-0.02em;}
.rt-order-step-two .rt-invoice-no{margin-top:8px;font-size:15px;line-height:1.4;color:#4a4a4a;font-weight:600;}
.rt-order-step-two .rt-invoice-head-right{display:flex;flex-direction:column;align-items:flex-end;gap:10px;min-width:110px;text-align:right;}
.rt-order-step-two .rt-invoice-customer-name{font-size:24px;line-height:1.05;font-weight:800;color:#111111;}
.rt-order-step-two .rt-invoice-customer-address{margin-top:4px;font-size:14px;line-height:1.35;color:#2b2b2b;word-break:break-word;}
.rt-order-step-two .rt-invoice-badge{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 14px;border-radius:999px;background:#f4ead9;color:#9b6b12;font-size:12px;font-weight:700;letter-spacing:0.08em;text-transform:uppercase;white-space:nowrap;}
.rt-order-step-two .rt-invoice-body{grid-template-columns:minmax(0,1fr) 170px;gap:14px;padding:18px;align-items:start;}
.rt-order-step-two .rt-invoice-info{display:flex;flex-direction:column;gap:0;min-width:0;}
.rt-order-step-two .rt-invoice-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px dashed #e6e6e6;}
.rt-order-step-two .rt-invoice-row:last-child{border-bottom:0;}
.rt-order-step-two .rt-invoice-label{flex:0 0 108px;font-size:14px;line-height:1.45;color:#6f6f6f;font-weight:500;}
.rt-order-step-two .rt-invoice-value{flex:1;min-width:0;text-align:right;font-size:15px;line-height:1.45;color:#111111;font-weight:700;word-break:break-word;}
.rt-order-step-two .rt-invoice-pricebox{border:1px solid #eadcc6;background:linear-gradient(180deg,#fffcf7 0%,#fff8ed 100%);border-radius:18px;padding:18px 14px;text-align:center;min-width:0;}
.rt-order-step-two .rt-invoice-price-title{font-size:12px;font-weight:700;color:#a27b33;letter-spacing:0.08em;text-transform:uppercase;margin-bottom:12px;}
.rt-order-step-two .rt-invoice-price{margin:0;font-size:24px;line-height:1.05;font-weight:900;color:#ff3b30;letter-spacing:-0.03em;white-space:nowrap; /* không rớt dòng */}
.rt-order-step-two .rt-invoice-price-note{margin-top:12px;font-size:12px;line-height:1.45;color:#8b8b8b;}
.rt-order-step-two .rt-invoice-foot{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:16px 18px 18px;border-top:1px solid #f3efe7;background:#fcfcfb;}
.rt-order-step-two .rt-invoice-foot-item{display:flex;flex-direction:column;gap:4px;}
.rt-order-step-two .rt-invoice-foot-item span{font-size:12px;color:#8a8a8a;}
.rt-order-step-two .rt-invoice-foot-item strong{font-size:14px;color:#171717;font-weight:700;}
.rt-order-step-two .rt-order-hidden-action{display:none!important;}

/* mobile */
@media (max-width:520px){
    .rt-order-step-two .rt-invoice-head{padding:16px 16px 14px;}
    .rt-order-step-two .rt-invoice-head h2{font-size:30px;}
    .rt-order-step-two .rt-invoice-customer-name{font-size:20px;}
    .rt-order-step-two .rt-invoice-customer-address{font-size:13px;}
    .rt-order-step-two .rt-invoice-body{grid-template-columns:minmax(0,1fr) 155px;gap:12px;padding:16px;}
    .rt-order-step-two .rt-invoice-label{flex-basis:95px;font-size:13px;}
    .rt-order-step-two .rt-invoice-value{font-size:14px;}
    .rt-order-step-two .rt-invoice-price{font-size:20px;}
}

/* màn hình rất nhỏ thì cho box giá xuống dưới */
@media (max-width:390px){
    .rt-order-step-two .rt-invoice-body{grid-template-columns:1fr;}
    .rt-order-step-two .rt-invoice-pricebox{margin-top:4px;}
    .rt-order-step-two .rt-invoice-price{font-size:28px;}
    .rt-order-step-two .rt-invoice-head-right{min-width:90px;}
    .rt-order-step-two .rt-invoice-customer-name{font-size:18px;}
}

/* ==========================================
   STEP 3 - PHOTO LIST STYLE
========================================== */
.rt-order-step-three .rt-photo-step{padding:16px 14px 24px;}
.rt-order-step-three .rt-photo-list{display:flex;flex-direction:column;gap:0;}
.rt-order-step-three .rt-photo-item{display:grid;grid-template-columns:50px minmax(0,1fr) auto;align-items:start;column-gap:14px;padding:16px 0;border-bottom:1px solid #e8e8e8;position:relative;}
.rt-order-step-three .rt-photo-thumb{width:48px;height:48px;min-width:48px;border-radius:8px;background:#f3f3f3;border:1px solid #efefef;overflow:hidden;cursor:pointer;}
.rt-order-step-three .rt-photo-thumb-inner{width:100%;height:100%;display:flex;align-items:center;justify-content:center;}
.rt-order-step-three .rt-photo-plus{font-size:24px;line-height:1;font-weight:300;color:#d0d0d0;}
.rt-order-step-three .rt-photo-copy{min-width:0;padding-top:1px;}
.rt-order-step-three .rt-photo-title{margin:0 0 6px;font-size:16px;line-height:1.35;font-weight:400;color:#171717;}
.rt-order-step-three .rt-photo-desc{font-size:13px;line-height:1.45;color:#222222;font-weight:400;}
.rt-order-step-three .rt-photo-meta{font-size:12px;line-height:1.4;color:#b8b8b8;white-space:nowrap;padding-top:2px;}
.rt-order-step-three .rt-photo-hint{margin:18px 0 0;font-size:13px;line-height:1.5;color:#9b9b9b;}

/* ẢNH SAU KHI UP */
.rt-order-step-three .rt-photo-thumb.has-image{background:#ffffff;border-color:#e8e8e8;}
.rt-order-step-three .rt-photo-thumb img{width:100%;height:100%;object-fit:cover;display:block;}

/* Ẩn nút gốc */
.rt-order-step-three .rt-order-hidden-action{display:none!important;}

/* Mobile nhỏ */
@media (max-width:390px){
    .rt-order-step-three .rt-photo-step{padding:14px 12px 22px;}
    .rt-order-step-three .rt-photo-item{grid-template-columns:46px minmax(0,1fr) auto;column-gap:12px;padding:14px 0;}
    .rt-order-step-three .rt-photo-thumb{width:44px;height:44px;min-width:44px;}
    .rt-order-step-three .rt-photo-title{font-size:15px;}
    .rt-order-step-three .rt-photo-desc{font-size:12px;}
    .rt-order-step-three .rt-photo-meta{font-size:11px;}
}

/* ==========================================
   RETEZ STEP 4 - SAME STYLE AS STEP 1
========================================== */

/* Container */
.rt-order-shell .rt-order-step-four .rt-order-four-fields{display:block!important;width:100%;padding:0 8px;margin:0;background:transparent;}

/* Rows */
.rt-order-shell .rt-order-step-four .rt-order-step1-row{display:flex!important;flex-direction:row!important;align-items:center!important;position:relative;width:100%;height:63px;min-height:63px;gap:18px;padding:0;margin:0;border:0;border-bottom:1px solid #e9e9e9;border-radius:0;background:transparent;box-shadow:none;}

/* Dot */
.rt-order-shell .rt-order-step-four .rt-order-step1-dot{display:block;flex:0 0 13px;width:13px;height:13px;border-radius:50%;}
.rt-order-shell .rt-order-step-four
.rt-order-step1-gold1 .rt-order-step1-dot{background:#ad8846;}
.rt-order-shell .rt-order-step-four
.rt-order-step1-gold2 .rt-order-step1-dot{background:#a17b3c;}
.rt-order-shell .rt-order-step-four
.rt-order-step1-gold5 .rt-order-step1-dot{background:#826838;}

/* Full-width select */
.rt-order-shell .rt-order-step-four .rt-order-step1-control{display:block;flex:1;min-width:0;width:auto;padding:0;margin:0;}
.rt-order-shell .rt-order-step-four
.rt-order-step1-control select{width:100%;height:62px;padding:0 35px 0 0;margin:0;border:0!important;border-radius:0!important;background-color:transparent;color:#171717;font-size:16px;font-weight:400;box-shadow:none!important;outline:none!important;}

/* IMEI */
.rt-order-shell .rt-order-step-four .rt-order-imei-label{margin:0;padding:0;font-size:16px;font-weight:400;color:#171717;}
.rt-order-shell .rt-order-step-four
.rt-order-imei-control input{width:100%;height:62px;border:none!important;background:transparent!important;box-shadow:none!important;outline:none!important;font-size:16px;color:#171717;text-align:right;}
.rt-order-shell .rt-order-step-four
.rt-order-imei-control input::placeholder{color:#171717;opacity:1;}

/* Nút hoàn thành giữ nguyên bên dưới */
.rt-order-shell .rt-order-step-four .rt-order-four-actions{display:flex;justify-content:space-between;gap:16px;margin-top:32px;}

/* Mobile nhỏ */
@media (max-width:380px){
    .rt-order-shell .rt-order-step-four .rt-order-step1-row{height:57px;min-height:57px;gap:13px;}
    .rt-order-shell .rt-order-step-four
    .rt-order-step1-control select,.rt-order-shell .rt-order-step-four
    .rt-order-imei-control input{height:56px;font-size:14px;}
    .rt-order-shell .rt-order-step-four .rt-order-imei-label{font-size:14px;}
}

/* STEP 3 - IMAGE VALIDATION */
.rt-order-step-three .rt-photo-invalid .rt-photo-thumb{border:1px solid #e65a5a!important;background:#fff7f7;}
.rt-order-step-three .rt-photo-error{margin-top:6px;font-size:12px;line-height:1.4;color:#e04747;}
/* Nút submit phục vụ JS, không hiển thị */
.rt-order-shell .rt-order-step4-submit {
    display: none !important;
}

/* Hiển thị lỗi validation */
.rt-order-shell .rt-order-step-four
.rt-order-step1-row.has-error {
    border-bottom-color: #e45b5b !important;
}

/* ==========================================
   RETEZ STEP 5 - ORDER CONFIRMATION
   Prefix: rt-confirm-
========================================== */

.rt-order-shell .rt-order-step-five,
.rt-order-shell .rt-order-step-five * {
    box-sizing: border-box;
}

.rt-order-shell .rt-confirm-page {
    width: 100%;
    min-height: 100svh;
    padding: 42px 20px 32px;
    background: #fafaf7;
    color: #202020;
}

/* HEADER */

.rt-order-shell .rt-confirm-header {
    text-align: center;
    margin-bottom: 30px;
}

.rt-order-shell .rt-confirm-check {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0e7d6;
    color: #a98240;
}

.rt-order-shell .rt-confirm-check svg {
    width: 30px;
    height: 30px;
}

.rt-order-shell .rt-confirm-eyebrow {
    margin-bottom: 9px;
    color: #b18b45;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 600;
}

.rt-order-shell .rt-confirm-header h1 {
    margin: 0 0 9px;
    font-size: 27px;
    line-height: 1.3;
    font-weight: 600;
    color: #171717;
}

.rt-order-shell .rt-confirm-header p {
    margin: 0;
    font-size: 13px;
    color: #89919e;
    line-height: 1.5;
}

/* MAIN CARD */

.rt-order-shell .rt-confirm-card {
    width: 100%;
    background: #ffffff;
    border: 1px solid #eee7db;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.035);
}

.rt-order-shell .rt-confirm-card-top {
    padding: 22px 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    border-bottom: 1px solid #f0eee9;
}

.rt-order-shell .rt-confirm-card-caption {
    display: block;
    font-size: 10px;
    color: #b18b45;
    letter-spacing: 1.7px;
    font-weight: 600;
    margin-bottom: 8px;
}

.rt-order-shell .rt-confirm-card-heading h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
    color: #1c1c1c;
}

.rt-order-shell .rt-confirm-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 30px;
    background: #f4ecdF;
    color: #a67f38;
    font-size: 11px;
    font-weight: 600;
}

/* PRICE */

.rt-order-shell .rt-confirm-price-section {
    padding: 25px 20px 23px;
    border-bottom: 1px solid #f0eee9;
}

.rt-order-shell .rt-confirm-price-label {
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.4px;
    color: #a98547;
}

.rt-order-shell .rt-confirm-price-value {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 7px;
}

.rt-order-shell .rt-confirm-price-value .price {
    font-size: clamp(28px, 7vw, 37px);
    line-height: 1.2;
    font-weight: 700;
    color: #171717;
    letter-spacing: -1px;
}

.rt-order-shell .rt-confirm-price-value .currency {
    font-size: 16px;
    font-weight: 600;
    color: #a98547;
}

.rt-order-shell .rt-confirm-condition {
    margin-top: 7px;
    font-size: 13px;
    color: #8e8e8e;
}

/* SECTION TITLE */

.rt-order-shell .rt-confirm-section-title {
    padding: 22px 20px 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .4px;
    color: #a98547;
}

/* DEVICES */

.rt-order-shell .rt-confirm-device-list {
    padding: 0 20px;
}

.rt-order-shell .rt-confirm-device {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid #f0f0f0;
}

.rt-order-shell .rt-confirm-device:last-child {
    border-bottom: 0;
}

.rt-order-shell .rt-confirm-device-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f7f3eb;
    color: #b18b45;
}

.rt-order-shell .rt-confirm-device-icon svg {
    width: 22px;
    height: 22px;
}

.rt-order-shell .rt-confirm-device-info {
    flex: 1;
    min-width: 0;
}

.rt-order-shell .rt-confirm-device-info label {
    display: block;
    margin-bottom: 5px;
    color: #919191;
    font-size: 12px;
    font-weight: 400;
}

.rt-order-shell .rt-confirm-device-info input {
    width: 100%;
    height: auto;
    padding: 0;
    border: none !important;
    border-radius: 0;
    outline: none;
    box-shadow: none !important;
    background: transparent !important;
    color: #1f1f1f;
    font-size: 15px;
    font-weight: 600;
    text-overflow: ellipsis;
}

/* SERIAL */

.rt-order-shell .rt-confirm-serial-list {
    padding: 0 20px 12px;
}

.rt-order-shell .rt-confirm-serial-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.rt-order-shell .rt-confirm-serial-row:last-child {
    border-bottom: none;
}

.rt-order-shell .rt-confirm-serial-row span {
    color: #858585;
    font-size: 13px;
}

.rt-order-shell .rt-confirm-serial-row strong {
    text-align: right;
    overflow-wrap: anywhere;
    color: #202020;
    font-size: 13px;
    font-weight: 600;
}

/* DATE */

.rt-order-shell .rt-confirm-date {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 10px 20px 22px;
    padding: 17px;
    border: 1px solid #efe8dd;
    border-radius: 12px;
    background: #fbfaf7;
}

.rt-order-shell .rt-confirm-date-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.rt-order-shell .rt-confirm-date-item span {
    font-size: 12px;
    color: #929292;
}

.rt-order-shell .rt-confirm-date-item strong {
    font-size: 14px;
    font-weight: 600;
    color: #202020;
}

/* BRAND */

.rt-order-shell .rt-confirm-brand {
    padding: 25px 0 0;
    text-align: center;
}

.rt-order-shell .rt-confirm-brand span {
    color: #b18b45;
    font-size: 14px;
    letter-spacing: 6px;
    font-weight: 600;
}

.rt-order-shell .rt-confirm-brand p {
    margin: 9px 0 0;
    font-size: 12px;
    color: #999999;
}

/* MOBILE */

@media (max-width: 380px) {

    .rt-order-shell .rt-confirm-page {
        padding: 28px 12px 24px;
    }

    .rt-order-shell .rt-confirm-header h1 {
        font-size: 24px;
    }

    .rt-order-shell .rt-confirm-card-top {
        padding: 18px 15px;
    }

    .rt-order-shell .rt-confirm-price-section {
        padding: 22px 15px;
    }

    .rt-order-shell .rt-confirm-device-list,
    .rt-order-shell .rt-confirm-serial-list {
        padding-left: 15px;
        padding-right: 15px;
    }

    .rt-order-shell .rt-confirm-section-title {
        padding-left: 15px;
        padding-right: 15px;
    }

    .rt-order-shell .rt-confirm-date {
        margin-left: 15px;
        margin-right: 15px;
    }

    .rt-order-shell .rt-confirm-badge {
        font-size: 10px;
        padding: 6px 9px;
    }

    .rt-order-shell .rt-confirm-card-heading h2 {
        font-size: 16px;
    }
}