/* SIM365 – giao diện khách. Mọi lớp có tiền tố s365- (không đụng theme Flatsome / Storefront). */
.s365 {
	--s-ink: #0f172a; --s-text: #334155; --s-muted: #64748b; --s-line: #e2e8f0; --s-bg: #f8fafc; --s-main: #e11d48; --s-main2: #be123c;
	--s-gold: #fde68a; --s-r: 16px; --s-shadow: 0 8px 24px rgba(15, 23, 42, .08);
	font-variant-numeric: tabular-nums; color: var(--s-text); box-sizing: border-box;
}
.s365 *, .s365 *::before, .s365 *::after, .s365-modal * { box-sizing: border-box; }
.s365 a, .s365-modal a { text-decoration: none !important; }
.s365 h1, .s365 h2, .s365 h3 { font-weight: 800; letter-spacing: -.2px; }
.s365-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.s365-lock { overflow: hidden; }

/* ---------- Nút ---------- */
.s365-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 9px 18px; border-radius: 999px; border: 2px solid transparent;
	font: inherit; font-weight: 700; font-size: 15px; line-height: 1.2; cursor: pointer; text-decoration: none !important; white-space: nowrap; transition: transform .15s, background .15s; margin: 0; }
.s365-btn--main, .s365-btn--buy { background: linear-gradient(135deg, var(--s-main, #e11d48), var(--s-main2, #be123c)); color: #fff !important; box-shadow: 0 6px 14px rgba(225, 29, 72, .25); }
.s365-btn--main:hover, .s365-btn--buy:hover { transform: translateY(-1px); color: #fff; }
.s365-btn--ghost { background: #fff; color: var(--s-ink, #0f172a) !important; border-color: var(--s-line, #e2e8f0); }
.s365-btn--ghost:hover { border-color: #94a3b8; }
.s365-btn--lg { min-height: 50px; font-size: 16px; }
.s365-btn--block { display: flex; width: 100%; }
.s365-btn[disabled] { opacity: .6; cursor: wait; }
.s365-x { border: 0; background: #f1f5f9; width: 38px; height: 38px; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; color: #334155; padding: 0; }

/* ---------- THẺ SIM ---------- */
.s365-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; margin: 0 0 20px; }
.s365-sim { background: #fff; border-radius: var(--s-r); box-shadow: var(--s-shadow); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--s-line); transition: transform .15s, box-shadow .15s; }
.s365-sim:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(15, 23, 42, .12); }
.s365-sim-face { position: relative; padding: 14px 16px 12px; color: #fff; min-height: 150px; display: flex; flex-direction: column;
	background: radial-gradient(120% 90% at 100% 0, rgba(255, 255, 255, .22), transparent 55%), linear-gradient(135deg, var(--c1), var(--c2));
	clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%); }
.s365-sim-face::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 14px); pointer-events: none; }
.s365-sim-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-right: 18px; position: relative; z-index: 1; }
.s365-sim-net { font-weight: 800; font-size: 14px; letter-spacing: .3px; text-transform: uppercase; }
.s365-sim-tag { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: rgba(255, 255, 255, .22); white-space: nowrap; }
.s365-chip { display: block; width: 38px; height: 28px; margin: 10px 0 6px; border-radius: 6px; position: relative; z-index: 1;
	background: linear-gradient(90deg, transparent 31%, rgba(120, 80, 0, .35) 31% 34%, transparent 34% 66%, rgba(120, 80, 0, .35) 66% 69%, transparent 69%),
		linear-gradient(0deg, transparent 45%, rgba(120, 80, 0, .35) 45% 55%, transparent 55%), linear-gradient(135deg, #fde68a, #d4a017 55%, #fbbf24); box-shadow: inset 0 0 0 1px rgba(120, 80, 0, .25); }
.s365-sim-no { position: relative; z-index: 1; display: block; color: #fff !important; text-decoration: none !important; font-size: 25px; font-weight: 800; letter-spacing: .5px; line-height: 1.2; margin: 2px 0 8px; white-space: nowrap; text-shadow: 0 1px 2px rgba(0, 0, 0, .18); }
.s365-sim-no b { color: var(--s-gold, #fde68a); }
.s365-sim-meta { margin-top: auto; display: flex; gap: 12px; font-size: 12px; opacity: .9; position: relative; z-index: 1; }
.s365-sim-sale { position: absolute; right: 8px; bottom: 10px; z-index: 1; background: #fde047; color: #713f12; font-size: 12px; font-weight: 800; padding: 2px 7px; border-radius: 6px; }
.s365-sim-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; }
.s365-price { display: flex; flex-direction: column; line-height: 1.2; }
.s365-price b { font-size: 18px; color: var(--s-ink); }
.s365-price s { font-size: 12px; color: var(--s-muted); }
.s365-sim-foot .s365-btn { min-height: 38px; padding: 7px 14px; font-size: 14px; }

/* ---------- Tìm số ---------- */
.s365-search-row { display: flex; gap: 8px; flex-wrap: wrap; }
.s365-search-row input[type=search] { flex: 1 1 240px; min-width: 0; min-height: 50px; padding: 10px 16px; border: 2px solid var(--s-line); border-radius: 14px; font-size: 18px; font-weight: 600; letter-spacing: .5px; background: #fff; margin: 0; box-shadow: none; }
.s365-search-row input[type=search]:focus { border-color: var(--s-main); outline: none; }
.s365-search-row select { min-height: 50px; border: 2px solid var(--s-line); border-radius: 14px; padding: 0 12px; background: #fff; margin: 0; }
.s365-hint { margin: 8px 0 14px; font-size: 13px; color: var(--s-muted); }
.s365-hero-search { background: #fff; border-radius: 20px; padding: 18px; box-shadow: var(--s-shadow); }
.s365-hero-title { margin: 0 0 10px; font-size: 20px; font-weight: 800; color: var(--s-ink); }

/* ---------- Kho: bộ lọc + kết quả (co giãn theo bề rộng khung chứa – hợp mọi theme, có / không cột phụ) ---------- */
.s365-kho, .s365-detail, .s365-travel, .s365 .s365-grid-wrap, .s365-wz { container-type: inline-size; }
.s365 fieldset { background: none; border: 0; margin: 0; padding: 0; min-width: 0; }
.s365 legend { float: none; width: auto; padding: 0; border: 0; background: none; font-size: 14px; }
.s365 label { font-weight: inherit; }
.s365-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 22px; align-items: start; }
.s365-filters { position: sticky; top: 20px; background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-r); padding: 6px 16px 16px; max-height: calc(100vh - 40px); overflow-y: auto; }
.s365-filters fieldset { border: 0; border-bottom: 1px solid var(--s-line); margin: 0; padding: 12px 0; }
.s365-filters legend { font-weight: 800; color: var(--s-ink); font-size: 14px; padding: 0; margin-bottom: 6px; }
.s365-filters label { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 14px; cursor: pointer; margin: 0; }
.s365-filters label span { flex: 1; }
.s365-filters label em { font-style: normal; font-size: 12px; color: var(--s-muted); }
.s365-filters input[type=checkbox], .s365-filters input[type=radio] { width: 17px; height: 17px; margin: 0; accent-color: var(--s-main); }
.s365-filters select { width: 100%; min-height: 40px; border: 1px solid var(--s-line); border-radius: 10px; padding: 0 10px; margin: 0; }
.s365-net-chk span { font-weight: 600; color: var(--c1); }
.s365-filters-act { padding-top: 12px; display: grid; gap: 8px; text-align: center; }
.s365-reset { font-size: 14px; color: var(--s-muted); }
.s365-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.s365-quick { display: flex; gap: 6px; flex-wrap: wrap; }
.s365-qnet { border: 2px solid var(--c1); color: var(--c1); background: #fff; border-radius: 999px; padding: 5px 12px; font-weight: 700; font-size: 13px; cursor: pointer; margin: 0; min-height: 34px; }
.s365-qnet.is-on { background: var(--c1); color: #fff; }
.s365-sort select { min-height: 38px; border: 1px solid var(--s-line); border-radius: 10px; padding: 0 10px; margin: 0; background: #fff; }
.s365-res-head { margin: 0 0 10px; color: var(--s-muted); font-size: 14px; }
.s365-res-head b { color: var(--s-ink); }
.s365-results { transition: opacity .15s; min-height: 200px; }
.s365-results.is-loading { opacity: .45; pointer-events: none; }
.s365-empty { padding: 30px 10px; text-align: center; color: var(--s-muted); background: var(--s-bg); border-radius: var(--s-r); }
.s365-pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 10px 0 20px; }
.s365-pages a, .s365-pages span { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--s-line); background: #fff; font-weight: 700; text-decoration: none; color: var(--s-ink); }
.s365-pages .is-on { background: var(--s-ink); color: #fff; border-color: var(--s-ink); }
.s365-pages .s365-pages-gap { border: 0; background: none; }
.s365-only-sm, .s365-filters-head { display: none; }

/* ---------- Ô loại số / nhà mạng ---------- */
.s365-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.s365-tile { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 14px; background: #fff; border: 1px solid var(--s-line); text-decoration: none !important; color: var(--s-ink); transition: .15s; }
.s365-tile:hover { border-color: var(--s-main); transform: translateY(-1px); }
.s365-tile b { font-size: 16px; }
.s365-tile span { font-size: 12px; color: var(--s-muted); }
.s365-tile--net { background: linear-gradient(135deg, var(--c1), var(--c2)); border: 0; color: #fff; }
.s365-tile--net span { color: rgba(255, 255, 255, .85); }
.s365-h2 { font-size: 24px; margin: 10px 0 16px; color: var(--s-ink); }
.s365-more { text-align: center; }

/* ---------- Hộp mua / chọn gói ---------- */
.s365-modal { position: fixed; inset: 0; z-index: 99999; background: rgba(15, 23, 42, .55); display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; visibility: hidden; transition: .2s; }
.s365-modal.is-open { opacity: 1; visibility: visible; }
.s365-modal-box { position: relative; width: 100%; max-width: 460px; max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 20px; padding: 18px; color: #334155; font-size: 15px; }
.s365-modal-box > .s365-x { position: absolute; top: 12px; right: 12px; }
.s365-modal-t { margin: 0 0 12px; font-weight: 800; font-size: 18px; color: #0f172a; }
.s365-modal-card .s365-sim-face { border-radius: 14px; min-height: 160px; }
.s365-modal-card .s365-sim-sale { display: none; }
.s365-goi { border: 0; padding: 0; margin: 14px 0 0; }
.s365-goi legend { font-weight: 800; color: #0f172a; margin-bottom: 8px; padding: 0; }
.s365-goi-opt { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 2px solid #e2e8f0; border-radius: 12px; margin: 0 0 8px; cursor: pointer; }
.s365-goi-opt:has(input:checked) { border-color: #e11d48; background: #fff1f2; }
.s365-goi-opt input { margin: 3px 0 0; accent-color: #e11d48; width: 17px; height: 17px; flex-shrink: 0; }
.s365-goi-opt span { display: flex; flex-direction: column; line-height: 1.35; }
.s365-goi-opt b { color: #0f172a; font-size: 15px; }
.s365-goi-opt small { color: #64748b; font-size: 13px; }
.s365-total { display: flex; justify-content: space-between; align-items: baseline; margin: 12px 0; padding-top: 10px; border-top: 1px dashed #e2e8f0; }
.s365-total b { font-size: 22px; color: #0f172a; }
.s365-buy-act { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.s365-note { font-size: 13px; color: #64748b; margin: 10px 0 0; }
.s365-msg { margin: 8px 0 0; font-size: 14px; font-weight: 600; min-height: 1em; }
.s365-msg.is-ok { color: #047857; }
.s365-msg.is-err { color: #be123c; }

/* ---------- Trang chi tiết số ---------- */
.s365-detail { max-width: 1100px; margin: 0 auto; padding: 20px 16px 40px; }
.s365-crumb { font-size: 13px; color: var(--s-muted); margin-bottom: 14px; }
.s365-crumb a { color: var(--s-muted); }
.s365-crumb a:hover { color: var(--s-ink); }
.s365-detail-info { min-width: 0; }
.s365-detail-grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 28px; align-items: start; }
.s365-detail-card .s365-sim-face { min-height: 230px; padding: 22px 24px 18px; }
.s365-detail-card .s365-sim-no { font-size: 36px; margin-top: 8px; }
.s365-detail-card .s365-chip { width: 52px; height: 38px; }
.s365-detail-card .s365-sim-foot { display: none; }
.s365-detail-info h1 { font-size: 30px; margin: 0 0 6px; color: var(--s-ink); }
.s365-detail-price b { font-size: 28px; color: var(--s-main); }
.s365-detail-price s { color: var(--s-muted); margin-left: 6px; }
.s365-spec { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.s365-spec th, .s365-spec td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--s-line); }
.s365-spec th { width: 38%; color: var(--s-muted); font-weight: 600; background: var(--s-bg); }
.s365-sold { padding: 14px; border-radius: 12px; background: #fff7ed; color: #9a3412; font-weight: 600; }
.s365-similar { margin-top: 34px; }

/* ---------- SIM du lịch ---------- */
.s365-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.s365-chips a { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--s-line); font-weight: 600; font-size: 14px; text-decoration: none; color: var(--s-ink); }
.s365-chips a.is-on { background: var(--s-ink); color: #fff; border-color: var(--s-ink); }
.s365-tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.s365-tcard { background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-r); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--s-shadow); }
.s365-t-thumb { display: block; aspect-ratio: 4 / 3; background: linear-gradient(135deg, #0ea5e9, #6366f1); overflow: hidden; }
.s365-t-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.s365-t-ph { display: grid; place-items: center; height: 100%; font-size: 46px; color: #fff; }
.s365-t-body { padding: 14px; display: flex; flex-direction: column; flex: 1; }
.s365-t-body h3 { font-size: 16px; margin: 0 0 6px; line-height: 1.35; }
.s365-t-body h3 a { color: var(--s-ink); text-decoration: none; font-weight: 700; }
.s365-t-body p { font-size: 14px; color: var(--s-muted); margin: 0 0 10px; flex: 1; }
.s365-t-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.s365-t-foot .s365-price { font-weight: 800; color: var(--s-ink); }

/* ---------- Khung chứa hẹp (theme có cột phụ / máy tính bảng): bộ lọc thành ngăn kéo ---------- */
@container (max-width: 860px) {
	.s365-layout { grid-template-columns: minmax(0, 1fr); }
	.s365-only-sm { display: inline-flex; }
	.s365-filters { position: fixed; inset: auto 0 0 0; top: auto; z-index: 99998; max-height: 85vh; border-radius: 20px 20px 0 0; transform: translateY(105%); transition: transform .25s; box-shadow: 0 -10px 30px rgba(15, 23, 42, .2); padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
	.s365-filters.is-open { transform: none; }
	.s365-filters-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; position: sticky; top: -6px; background: #fff; z-index: 1; }
	.s365-filters-head b { font-size: 17px; color: var(--s-ink); }
}
@container (max-width: 760px) {
	.s365-detail-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}

/* ---------- ĐĂNG KÝ 4 BƯỚC [sim365_dangky] ---------- */
.s365-wz { background: #fff; border: 1px solid var(--s-line); border-radius: 20px; padding: 20px; box-shadow: var(--s-shadow); }
.s365-wz-title { margin: 0 0 14px; font-size: 22px; color: var(--s-ink); text-align: center; }
.s365-wz-steps { list-style: none; margin: 0 auto 20px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); max-width: 640px; counter-reset: none; }
.s365-wz-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; color: var(--s-muted); font-size: 13px; }
.s365-wz-steps li::before { content: ""; position: absolute; top: 17px; left: calc(-50% + 22px); right: calc(50% + 22px); height: 3px; border-radius: 3px; background: var(--s-line); }
.s365-wz-steps li:first-child::before { display: none; }
.s365-wz-steps span { position: relative; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #f1f5f9; color: var(--s-muted); font-weight: 800; border: 2px solid var(--s-line); }
.s365-wz-steps b { font-weight: 700; }
.s365-wz-steps li.is-on, .s365-wz-steps li.is-done { color: var(--s-ink); }
.s365-wz-steps li.is-on span { background: var(--s-main); border-color: var(--s-main); color: #fff; box-shadow: 0 0 0 5px rgba(225, 29, 72, .15); }
.s365-wz-steps li.is-done span { background: #16a34a; border-color: #16a34a; color: #fff; }
.s365-wz-steps li.is-done::before, .s365-wz-steps li.is-on::before { background: #16a34a; }
.s365-wz-pane:focus { outline: none; }
.s365-wz-lead { font-weight: 800; color: var(--s-ink); margin: 4px 0 12px; font-size: 17px; }
.s365-wz-nets { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.s365-wz-net { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 18px 16px; border: 0; border-radius: 16px; cursor: pointer; text-align: left; color: #fff; margin: 0;
	background: radial-gradient(120% 90% at 100% 0, rgba(255, 255, 255, .25), transparent 55%), linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 8px 20px rgba(15, 23, 42, .12); transition: transform .15s; font: inherit; }
.s365-wz-net:hover, .s365-wz-net:focus-visible { transform: translateY(-2px); }
.s365-wz-net b { font-size: 20px; font-weight: 800; }
.s365-wz-net span { font-size: 14px; opacity: .95; }
.s365-wz-net small { font-size: 12px; opacity: .8; }
.s365-wz-quick { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--s-line); }
.s365-wz-quick label { display: block; font-weight: 700; color: var(--s-ink); margin-bottom: 8px; }
.s365-wz-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.s365-wz-back { border: 0; background: #f1f5f9; color: var(--s-ink); border-radius: 999px; padding: 8px 14px; font-weight: 700; cursor: pointer; font: inherit; font-weight: 700; margin: 0; }
.s365-wz-back:hover { background: #e2e8f0; }
.s365-wz-chosen { font-size: 14px; color: var(--s-muted); }
.s365-wz-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.s365-wz-chips > span { font-size: 12px; font-weight: 800; color: var(--s-muted); text-transform: uppercase; margin-right: 4px; }
.s365-wz-chips button { border: 1px solid var(--s-line); background: #fff; color: var(--s-ink); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; cursor: pointer; margin: 0; min-height: 34px; }
.s365-wz-chips button[aria-pressed="true"] { background: var(--s-ink); color: #fff; border-color: var(--s-ink); }
.s365-wz-filter { margin-bottom: 14px; }
.s365-wz-pick { max-width: 380px; }
.s365-wz-pick .s365-sim-face { border-radius: 14px; }
.s365-wz-plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.s365-wz-plan { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 2px solid var(--s-line); border-radius: 14px; cursor: pointer; margin: 0; background: #fff; }
.s365-wz-plan:has(input:checked) { border-color: var(--s-main); background: #fff1f2; }
.s365-wz-plan input { accent-color: var(--s-main); width: 18px; height: 18px; margin: 0; flex-shrink: 0; }
.s365-wz-plan span { flex: 1; display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.s365-wz-plan span b { color: var(--s-ink); font-size: 16px; }
.s365-wz-plan span small { color: var(--s-muted); font-size: 13px; }
.s365-wz-plan em { font-style: normal; font-weight: 800; color: var(--s-ink); white-space: nowrap; text-align: right; }
.s365-wz-plan em small { display: block; font-weight: 500; color: var(--s-muted); font-size: 11px; }
.s365-hot { font-style: normal; font-size: 10px; background: var(--s-main); color: #fff; padding: 1px 5px; border-radius: 4px; vertical-align: middle; }
.s365-wz-more { grid-column: 1 / -1; justify-self: center; }
.s365-wz-next { display: flex; justify-content: flex-end; margin-top: 16px; }
.s365-wz-confirm { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 22px; align-items: start; }
.s365-wz-sum .s365-wz-total th, .s365-wz-sum .s365-wz-total td { font-size: 17px; color: var(--s-ink); border-bottom: 0; }
.s365-wz-sum .s365-wz-total b { color: var(--s-main); font-size: 22px; }
@container (max-width: 680px) {
	.s365-wz-confirm { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Điện thoại ---------- */
@media (max-width: 900px) {
	.s365-layout { grid-template-columns: minmax(0, 1fr); }
	.s365-only-sm { display: inline-flex; }
	.s365-filters { position: fixed; inset: auto 0 0 0; top: auto; z-index: 99998; max-height: 85vh; border-radius: 20px 20px 0 0; transform: translateY(105%); transition: transform .25s; box-shadow: 0 -10px 30px rgba(15, 23, 42, .2); padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
	.s365-filters.is-open { transform: none; }
	.s365-filters-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; position: sticky; top: -6px; background: #fff; z-index: 1; }
	.s365-filters-head b { font-size: 17px; color: var(--s-ink); }
	.s365-detail-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	.s365-detail-card .s365-sim-no { font-size: 30px; }
}
@media (max-width: 600px) {
	.s365-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.s365-sim-face { min-height: 128px; padding: 10px 11px 9px; clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%); }
	.s365-sim-top { padding-right: 10px; }
	.s365-sim-net { font-size: 11px; }
	.s365-sim-tag { font-size: 10px; padding: 1px 6px; }
	.s365-chip { width: 28px; height: 21px; margin: 7px 0 4px; }
	.s365-sim-no { font-size: clamp(15px, 4.6vw, 19px); letter-spacing: 0; }
	.s365-sim-meta { font-size: 11px; gap: 8px; }
	.s365-sim-foot { flex-direction: column; align-items: stretch; padding: 9px 10px 10px; gap: 6px; }
	.s365-price { flex-direction: row; align-items: baseline; gap: 6px; flex-wrap: wrap; }
	.s365-price b { font-size: 15px; }
	.s365-sim-foot .s365-btn { width: 100%; min-height: 36px; }
	.s365-search-row input[type=search] { font-size: 16px; flex-basis: 100%; }
	.s365-wz { padding: 14px 12px; border-radius: 16px; }
	.s365-wz-steps b { font-size: 11px; }
	.s365-wz-steps span { width: 30px; height: 30px; font-size: 13px; }
	.s365-wz-steps li::before { top: 14px; left: calc(-50% + 18px); right: calc(50% + 18px); }
	.s365-wz-nets { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.s365-wz-net { padding: 14px 12px; }
	.s365-wz-net b { font-size: 17px; }
	.s365-wz-net small { display: none; }
	.s365-wz-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
	.s365-wz-chips button { flex: 0 0 auto; }
	.s365-wz-plans { grid-template-columns: minmax(0, 1fr); }
	.s365-wz-next .s365-btn { width: 100%; }
	.s365-buy-act { grid-template-columns: minmax(0, 1fr); }
	.s365-quick { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 4px; scrollbar-width: none; width: calc(100% + 32px); }
	.s365-quick::-webkit-scrollbar { display: none; }
	.s365-qnet { flex: 0 0 auto; }
	.s365-search-row .s365-btn { flex: 1; }
	.s365-modal { align-items: flex-end; padding: 0; }
	.s365-modal-box { border-radius: 20px 20px 0 0; max-height: 92vh; padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
	.s365-detail-info h1 { font-size: 24px; }
	.s365-tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.s365-t-foot { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) { .s365 *, .s365-modal * { transition: none !important; } }
.s365-goi-more > summary { cursor: pointer; font-weight: 700; color: var(--s-main); padding: 8px 2px 10px; list-style: none; }
.s365-goi-more > summary::-webkit-details-marker { display: none; }
.s365-goi-more > summary::after { content: " ▾"; }
.s365-goi-more[open] > summary::after { content: " ▴"; }
.s365-bb-note { margin: 0 0 8px; padding: 8px 12px; border-radius: 10px; background: #fff7ed; color: #9a3412; font-size: 14px; font-weight: 600; }
.s365-total-note { margin: -6px 0 12px; font-size: 13px; color: #64748b; text-align: right; }
.s365-wz-totalbar { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; margin: 12px 0 0; padding: 12px 14px; border-radius: 12px; background: #f1f5f9; }
.s365-wz-totalbar b { font-size: 20px; color: var(--s-main); }
.s365-wz-totalbar small { flex-basis: 100%; color: #64748b; }

/* Bước 4: chọn eSIM / SIM vật lý */
.s365-wz-type { border: 0; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.s365-wz-type legend { font-weight: 800; color: var(--s-ink, #0f172a); margin-bottom: 8px; padding: 0; }
.s365-wz-type legend span { color: #e11d48; }
.s365-wz-typeopt { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 14px 10px 12px; border: 2px solid #e2e8f0; border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.s365-wz-typeopt input { position: absolute; opacity: 0; pointer-events: none; }
.s365-wz-typeopt:hover { border-color: #94a3b8; }
.s365-wz-typeopt:focus-within { outline: 2px solid var(--s-main, #e11d48); outline-offset: 2px; }
.s365-wz-typeopt.is-on, .s365-wz-typeopt:has(input:checked) { border-color: var(--s-main, #e11d48); box-shadow: 0 0 0 3px rgba(225, 29, 72, .12); background: #fff7f8; }
.s365-wz-typeic { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: #f1f5f9; color: #334155; }
.s365-wz-typeopt:nth-of-type(2) .s365-wz-typeic { background: #eef2ff; color: #4338ca; }
.s365-wz-typeopt.is-on .s365-wz-typeic, .s365-wz-typeopt:has(input:checked) .s365-wz-typeic { background: var(--s-main, #e11d48); color: #fff; }
.s365-wz-typeopt b { font-size: 16px; color: #0f172a; }
.s365-wz-typeopt small { font-size: 12.5px; color: #64748b; line-height: 1.35; }
.s365-wz-type.is-err .s365-wz-typeopt { border-color: #fca5a5; }
.s365-buy-act.is-locked .s365-btn { opacity: .55; }
.s365-muted { color: #94a3b8; }
#billing_cccd_field .description, .s365-cccd-note { display: block !important; margin-top: 4px; font-size: 13px; color: #64748b; font-style: italic; }

/* ===================== SIM PHONG THỦY ===================== */
.s365-pt { display: grid; gap: 22px; }
.s365-pt-hero { background: linear-gradient(135deg, #0b2a5b, #1d3f7a 60%, #7c2d12); color: #fff; border-radius: 20px; padding: 26px 24px; }
.s365-pt-title { margin: 0 0 6px; font-size: clamp(22px, 3vw, 30px); color: #fff; }
.s365-pt-sub { margin: 0 0 18px; color: #dbeafe; }
.s365-pt-form { display: grid; grid-template-columns: 1.3fr 1.6fr 1fr .9fr auto; gap: 12px; align-items: end; }
.s365-pt-f { display: grid; gap: 6px; min-width: 0; }
.s365-pt-f label, .s365-pt-lb { font-size: 13px; font-weight: 700; color: #e0e7ff; }
.s365-pt-f small { font-weight: 400; opacity: .8; }
.s365-pt-form input:not([type=radio]), .s365-pt-form select { width: 100%; min-height: 46px; border: 0; border-radius: 12px; padding: 0 12px; font: inherit; font-size: 15px; color: #0f172a; background: #fff; }
.s365-pt-date { display: grid; grid-template-columns: .8fr 1.2fr 1fr; gap: 6px; }
.s365-pt-gt { display: flex; gap: 6px; min-height: 46px; }
.s365-pt-gt label { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; background: rgba(255, 255, 255, .12); border-radius: 12px; cursor: pointer; color: #fff; font-size: 15px; }
.s365-pt-gt label:has(input:checked) { background: #fff; color: #0b2a5b; }
.s365-pt-gt input { accent-color: #e11d48; width: 18px; height: 18px; min-height: 0; margin: 0; flex: none; }
.s365.s365-pt h2, .s365.s365-pt h3 { margin-top: 0; }
.s365.s365-pt .s365-pt-sec h3 { margin: 0 0 8px; }
.s365.s365-pt .s365-pt-guide h3 { margin: 16px 0 6px; }
.s365-pt-f--btn .s365-btn { min-height: 46px; white-space: nowrap; }
.s365-pt-person, .s365-pt-detail, .s365-pt-guide, .s365-pt-res { background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; padding: 20px; }
.s365-pt-person h2, .s365-pt-res h2, .s365-pt-guide h2 { margin: 0 0 12px; font-size: 20px; }
.s365-pt-person dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; margin: 0; }
.s365-pt-person dl div { display: grid; gap: 2px; }
.s365-pt-person dt { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: #64748b; }
.s365-pt-person dd { margin: 0; color: #0f172a; }
.s365-pt-h { display: inline-block; padding: 1px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: #fff; text-decoration: none; }
.s365-pt-h--1 { background: #a16207; } .s365-pt-h--2 { background: #0369a1; } .s365-pt-h--3 { background: #15803d; } .s365-pt-h--4 { background: #dc2626; } .s365-pt-h--5 { background: #92400e; }
.s365-pt-links { display: grid; gap: 10px; background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; padding: 16px 20px; }
.s365-pt-links div { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.s365-pt-links b { min-width: 110px; }
.s365-pt-links a:not(.s365-pt-h) { padding: 4px 12px; border-radius: 999px; border: 1px solid #cbd5e1; color: #0f172a; text-decoration: none; font-size: 14px; }
.s365-pt-links a.s365-pt-h { padding: 4px 12px; font-size: 14px; }
.s365-pt-links a:hover { filter: brightness(1.08); border-color: #0b2a5b; }
.s365-pt-note { margin: 0; padding: 12px 14px; border-radius: 12px; background: #f1f5f9; color: #334155; }
.s365-pt-res-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.s365-pt-res-head h2 { margin: 0; }
.s365-pt-res-head h2 small { font-size: 14px; font-weight: 400; color: #64748b; }
.s365-pt-filter { display: flex; gap: 8px; flex-wrap: wrap; }
.s365-pt-filter select { min-height: 40px; border: 1px solid #cbd5e1; border-radius: 10px; padding: 0 10px; font: inherit; font-size: 14px; background: #fff; }
.s365-pt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.s365-pt-item { display: flex; flex-direction: column; gap: 8px; border: 1px solid #e2e8f0; border-radius: 16px; padding: 8px 8px 12px; background: #fff; position: relative; }
.s365-pt-item .s365-sim { box-shadow: none; }
.s365-pt-score { align-self: flex-start; margin: 2px 6px 0; background: #f1f5f9; border-radius: 999px; padding: 2px 12px; font-size: 13px; color: #0f172a; }
.s365-pt-score b { font-size: 16px; }
.s365-pt-score span { font-size: 11.5px; font-weight: 700; margin-left: 2px; }
.is-good > span, .s365-pt-total.is-good em { color: #15803d; } .is-ok > span, .s365-pt-total.is-ok em { color: #0369a1; } .is-mid > span, .s365-pt-total.is-mid em { color: #a16207; } .is-low > span, .s365-pt-total.is-low em { color: #b91c1c; }
.s365-pt-meta { list-style: none; margin: 0; padding: 0 6px; display: grid; gap: 4px; font-size: 13.5px; color: #334155; }
.s365-pt-q { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 0 6px; border-radius: 6px; }
.s365-pt-q--c { background: #dcfce7; color: #166534; } .s365-pt-q--b { background: #fef9c3; color: #854d0e; } .s365-pt-q--h { background: #fee2e2; color: #991b1b; }
.s365-pt-more { margin: 2px 6px 0; font-weight: 700; color: #0b2a5b; text-decoration: none; }
.s365-pt-more:hover { text-decoration: underline; }
.s365-pt-dhead { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.s365-pt-dhead h2 { margin: 0 0 4px; font-size: 22px; }
.s365-pt-dhead p { margin: 0; color: #475569; }
.s365-pt-total { display: grid; justify-items: center; min-width: 120px; padding: 10px 16px; border-radius: 16px; background: #f8fafc; border: 2px solid #e2e8f0; }
.s365-pt-total b { font-size: 34px; line-height: 1; color: #0f172a; }
.s365-pt-total span { font-size: 13px; color: #64748b; }
.s365-pt-total em { font-style: normal; font-weight: 800; }
.s365-pt-buy { display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: 16px; align-items: center; margin-bottom: 14px; }
.s365-pt-buy p { margin: 0; }
.s365-pt-sec { border-top: 1px dashed #e2e8f0; padding-top: 14px; margin-top: 14px; }
.s365-pt-sec h3 { margin: 0 0 8px; font-size: 17px; color: #0b2a5b; }
.s365-pt-sec p { margin: 0 0 8px; line-height: 1.6; }
.s365-pt-digits { display: grid; grid-template-columns: repeat(10, minmax(0, 42px)); gap: 6px; margin: 8px 0 12px; }
.s365-pt-digits span { display: grid; place-items: center; padding: 6px 0; border-radius: 10px; background: #f1f5f9; }
.s365-pt-digits b { font-size: 18px; }
.s365-pt-digits i { font-style: normal; font-weight: 800; }
.s365-pt-digits .is-d i { color: #dc2626; } .s365-pt-digits .is-a i { color: #0369a1; }
.s365-pt-hrow { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 10px; }
.s365-pt-pts { display: inline-block; padding: 1px 8px; border-radius: 6px; font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.s365-pt-pts.is-full { background: #dcfce7; color: #166534; } .s365-pt-pts.is-half { background: #fef9c3; color: #854d0e; } .s365-pt-pts.is-zero { background: #f1f5f9; color: #64748b; }
.s365-pt-que b { color: #0f172a; }
.s365-pt-disclaimer { margin: 14px 0 0; font-size: 13px; color: #64748b; font-style: italic; }
.s365-pt-table { width: 100%; }
.s365-pt-table td:last-child, .s365-pt-table th:last-child { text-align: center; width: 60px; }
.s365-pt-guide h3 { font-size: 16px; margin: 16px 0 6px; }
.s365-pt-guide ul { margin: 0; padding-left: 18px; line-height: 1.7; }
.s365-pager { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.s365-pager a, .s365-pager span { min-width: 38px; height: 38px; display: grid; place-items: center; padding: 0 10px; border-radius: 10px; border: 1px solid #cbd5e1; text-decoration: none; color: #0f172a; }
.s365-pager span[aria-current] { background: #0b2a5b; color: #fff; border-color: #0b2a5b; }
@media (max-width: 1100px) {
	.s365-pt-form { grid-template-columns: 1fr 1fr; }
	.s365-pt-f--so, .s365-pt-f--date, .s365-pt-f--btn { grid-column: 1 / -1; }
	.s365-pt-f--btn .s365-btn { width: 100%; }
}
@media (max-width: 600px) {
	.s365-pt-hero { padding: 20px 16px; border-radius: 16px; }
	.s365-pt-form { grid-template-columns: minmax(0, 1fr); }
	.s365-pt-person dl { grid-template-columns: minmax(0, 1fr); }
	.s365-pt-person, .s365-pt-detail, .s365-pt-guide, .s365-pt-res, .s365-pt-links { padding: 16px 14px; border-radius: 14px; }
	.s365-pt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.s365-pt-item { padding: 4px 4px 10px; border-radius: 12px; gap: 6px; }
	.s365-pt-meta { font-size: 12px; padding: 0 4px; }
	.s365-pt-score { margin: 0 4px; font-size: 12px; padding: 1px 8px; }
	.s365-pt-score b { font-size: 14px; }
	.s365-pt-more { margin: 0 4px; font-size: 13px; }
	.s365-pt-buy { grid-template-columns: minmax(0, 1fr); }
	.s365-pt-filter { width: 100%; }
	.s365-pt-filter select { flex: 1 1 45%; min-width: 0; }
	.s365-pt-res { padding: 14px 10px; }
	.s365-pt-grid .s365-sim-no { font-size: clamp(13px, 4vw, 16px); }
	.s365-pt-grid .s365-sim-face { padding-left: 9px; padding-right: 9px; }
	.s365-pt-grid .s365-sim-net { font-size: 10px; white-space: nowrap; }
	.s365-pt-grid .s365-sim-tag { font-size: 9px; padding: 1px 5px; }
}
@media (max-width: 400px) {
	.s365-pt-grid .s365-sim-no { font-size: 13.5px; letter-spacing: -.3px; }
	.s365-pt-grid .s365-sim-face { padding-left: 7px; padding-right: 7px; }
	.s365-pt-res { padding: 12px 8px; }
	.s365-pt-digits { gap: 3px; grid-template-columns: repeat(10, minmax(0, 1fr)); }
	.s365-pt-digits b { font-size: 15px; }
	.s365-pt-links b { min-width: 0; flex-basis: 100%; }
	.s365-pt-table thead { display: none; }
	.s365-pt-table tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 8px 0; border-bottom: 1px solid #e2e8f0; }
	.s365-pt-table td { border: 0 !important; padding: 0 !important; background: none !important; }
	.s365-pt-table td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; font-size: 13px; color: #64748b; }
	.s365-pt-table td:first-child { font-weight: 700; }
}
