/*
 * Hakuna TV Management — front-end styles.
 *
 * Every rule is scoped under .htm (the wrapper of all plugin output), so the
 * active WordPress theme keeps its own header, footer and typography and
 * nothing here leaks into the rest of the site. The shop/checkout/portal
 * rules below are the old /pay app's Xtreme styles, scoped automatically;
 * colors, radius, font and grid columns come from Settings → Design through
 * the --htm-* variables (printed inline on .htm).
 *
 * Template overrides: copy a file from the plugin's templates/ folder to
 * yourtheme/hakuna-tv-management/ (keep its namespace line).
 */
/* --- scoped from checkout/assets/xtreme/xtreme-header.css --- */
.htm{--xt-blue: #0878d1;
  --xt-blue-hover: #0562ad;
  --xt-navy: #0f172a;
  --xt-white: #ffffff;
  --xt-pale: #eff6ff;
  --xt-muted: #52657a;

  --xt-pale-2: #dbeafe;
  --xt-line: #e2e8f0;
  --xt-line-strong: #cbd5e1;
  --xt-navy-2: #1e293b;
  --xt-success: #0f7a4a;
  --xt-success-soft: #e7f6ee;
  --xt-warning: #8a5300;
  --xt-warning-soft: #fff4e0;
  --xt-danger: #b42318;
  --xt-danger-soft: #fdecea;

  --xt-font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --xt-mono: ui-monospace, SFMono-Regular, "Cascadia Mono", Consolas, "Liberation Mono", monospace;

  --xt-r-sm: 10px;
  --xt-r: 14px;
  --xt-r-lg: 20px;
  --xt-r-xl: 28px;
  --xt-pill: 999px;

  --xt-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --xt-shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.18);
  --xt-shadow-blue: 0 12px 28px -10px rgba(8, 120, 209, 0.45);
  --xt-focus: 0 0 0 3px #ffffff, 0 0 0 5px var(--xt-blue);

  --xt-container: 1200px;
  --xt-header-h: 72px;
  --xt-ease: cubic-bezier(.2, .7, .2, 1);

  --xt-z-header: 1000;
  --xt-z-dialog: 2000;
  --xt-z-toast: 2100;}
@media (max-width: 960px){
.htm{--xt-header-h: 64px;}
}
.htm{scroll-padding-top: calc(var(--xt-header-h) + 16px); -webkit-text-size-adjust: 100%;}
.htm{margin: 0;
  font-family: var(--xt-font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--xt-navy);
  background: var(--xt-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;}
.htm h1,
.htm h2,
.htm h3{color: var(--xt-navy); letter-spacing: -0.02em; line-height: 1.2;}
.htm a{color: var(--xt-blue);}
.htm a:hover{color: var(--xt-blue-hover);}
.htm img{max-width: 100%;}
.htm :where(a,
.htm button,
.htm input,
.htm select,
.htm textarea,
.htm summary,
.htm [tabindex]):focus-visible{outline: none;
  box-shadow: var(--xt-focus);
  border-radius: var(--xt-r-sm);}
.htm .xt-container{width: 100%;
  max-width: var(--xt-container);
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;}
@media (max-width: 600px){
.htm .xt-container{padding: 0 16px;}
}
.htm .xt-visually-hidden{position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;}
.htm .xt-btn{display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: var(--xt-pill);
  font: 700 15px/1.1 var(--xt-font);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s var(--xt-ease);
  box-sizing: border-box;}
.htm .xt-btn svg{flex-shrink: 0;}
.htm .xt-btn--primary{background: var(--xt-blue); color: #fff; box-shadow: var(--xt-shadow-blue);}
.htm .xt-btn--primary:hover{background: var(--xt-blue-hover); color: #fff; transform: translateY(-1px);}
.htm .xt-btn--ghost{background: #fff; color: var(--xt-navy); border-color: var(--xt-line-strong);}
.htm .xt-btn--ghost:hover{border-color: var(--xt-blue); color: var(--xt-blue);}
.htm .xt-btn--soft{background: var(--xt-pale); color: var(--xt-blue-hover);}
.htm .xt-btn--soft:hover{background: var(--xt-pale-2); color: var(--xt-blue-hover);}
.htm .xt-btn--block{width: 100%;}
.htm .xt-btn--lg{min-height: 56px; padding: 0 28px; font-size: 16.5px;}
.htm .xt-btn[disabled],
.htm .xt-btn[aria-disabled="true"]{opacity: .6; cursor: not-allowed; transform: none; box-shadow: none;}
@keyframes xt-rise{
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.htm .xt-rise{animation: xt-rise .5s var(--xt-ease) both;}
.htm .xt-rise-1{animation-delay: .06s;}
.htm .xt-rise-2{animation-delay: .12s;}
.htm .xt-rise-3{animation-delay: .18s;}
.htm .xt-rise-4{animation-delay: .24s;}
@media (prefers-reduced-motion: reduce){
.htm *,
.htm *::before,
.htm *::after{animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;}
}

/* --- scoped from assets/css/app.css --- */
.htm{--brand: #6d5bf7;
  --brand-dark: #5745e6;
  --brand-soft: #efeaff;
  --bg: #f6f5fb;
  --surface: #ffffff;
  --surface-alt: #f9f8fd;
  --border: #e6e3f2;
  --text: #1c1b2e;
  --text-muted: #6b6880;
  --text-faint: #9b98ac;
  --success: #16a37a;
  --success-soft: #e3f8f1;
  --warning: #d9840a;
  --warning-soft: #fdf1de;
  --danger: #e2493d;
  --danger-soft: #fce9e7;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(28, 27, 46, 0.06);
  --shadow-md: 0 8px 24px rgba(28, 27, 46, 0.08);
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px;}
.htm *{box-sizing: border-box;}
.htm,
.htm{margin: 0; padding: 0;}
.htm{font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;}
.htm a{color: var(--brand); text-decoration: none;}
.htm h1,
.htm h2{margin: 0; font-weight: 700;}
.htm p{margin: 0;}
.htm .brand-mark{width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), #a78bfa);
  display: inline-block;}
.htm .brand-mark-lg{width: 52px; height: 52px; border-radius: 14px;}
.htm .main-col{flex: 1; min-width: 0; display: flex; flex-direction: column;}
.htm .icon-btn{width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text-muted);}
.htm .icon-btn:hover{background: var(--surface-alt);}
.htm .user-avatar{width: 32px; height: 32px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-dark);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px;}
.htm .user-name{font-weight: 600; font-size: 13.5px; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
.htm .dropdown{position: relative;}
.htm .dropdown-panel{display: none; position: absolute; inset-inline-end: 0; top: calc(100% + 6px);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-md); min-width: 140px; padding: var(--space-2); z-index: 20;}
.htm .dropdown.open .dropdown-panel{display: block;}
.htm .dropdown-panel form{margin: 0;}
.htm .dropdown-item{display: block; width: 100%; text-align: start; padding: 8px 10px; border-radius: var(--radius-sm);
  border: none; background: none; cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--text-muted);}
.htm .dropdown-item:hover{background: var(--surface-alt);}
.htm .dropdown-item.active{color: var(--brand-dark); background: var(--brand-soft);}
.htm .page-content{padding: var(--space-5); flex: 1;}
.htm .page-header{display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-5); gap: var(--space-3);}
.htm .page-header h1{font-size: 22px;}
.htm .section-title{font-size: 15px; font-weight: 700; margin: var(--space-6) 0 var(--space-4);}
.htm .alert-banner{background: var(--danger-soft); color: var(--danger); border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4); margin-bottom: var(--space-4); font-weight: 600; font-size: 13.5px;}
.htm .alert-banner.alert-success{background: var(--success-soft); color: var(--success);}
.htm .code-preview-fields .detail-field span:last-child{color: var(--text);}
.htm .redeem-cta{display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
  background: var(--brand-soft); color: var(--brand-dark); border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4); margin-bottom: var(--space-5);
  font-weight: 700; font-size: 13.5px; text-decoration: none; transition: background 0.15s;}
.htm .redeem-cta:hover{background: #e4ddff;}
.htm .redeem-cta svg{flex-shrink: 0;}
.htm .redeem-actions{display: flex; flex-direction: column; gap: var(--space-3);}
.htm .redeem-account-card{border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-4);
  margin-bottom: var(--space-3); display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-3); flex-wrap: wrap;}
.htm .redeem-account-info .cred-value{display: block;}
.htm .redeem-account-info .cred-label{display: block; margin-top: 2px;}
.htm .template-grid{display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--space-3);}
.htm .template-card{position: relative; display: flex; align-items: center; justify-content: center; text-align: center;
  border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-4);
  cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease;}
.htm .template-card:hover{border-color: var(--brand);}
.htm .template-card input[type="radio"]{position: absolute; inset-inline-start: var(--space-3); top: var(--space-3); margin: 0;}
.htm .template-card:has(input:checked){border-color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, transparent);}
.htm .template-card-label{font-weight: 600; padding-inline-start: var(--space-4);}
.htm .template-selected-row{display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap;}
.htm .card{background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: var(--space-5); box-shadow: var(--shadow-sm);}
.htm .card-title{font-weight: 700; font-size: 15px;}
.htm .card-narrow{max-width: 480px;}
.htm .mag-entry-card{border: 1.5px solid var(--brand);
  background: var(--brand-soft);
  margin-top: var(--space-5);
  display: flex; flex-direction: column; gap: var(--space-2);}
.htm .mag-entry-card .card-title{color: var(--brand-dark);}
.htm .mag-entry-card p{color: var(--text-muted); font-size: 13.5px; margin-bottom: var(--space-2);}
.htm .input-mono{font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0.03em; text-transform: uppercase;}
.htm .card-title-row{display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-4);}
.htm .divider{height: 1px; background: var(--border); margin: var(--space-4) 0; border: none;}
.htm .mb-3{margin-bottom: var(--space-3);}
.htm .mt-3{margin-top: var(--space-3);}
.htm .stat-grid{display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--space-4); margin-bottom: var(--space-5);}
.htm .stat-card{background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5); box-shadow: var(--shadow-sm);}
.htm .stat-card-warning{border-color: var(--warning); background: var(--warning-soft);}
.htm .stat-label{font-size: 12px; font-weight: 700; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 6px;}
.htm .stat-value{font-size: 26px; font-weight: 800;}
.htm .stat-value-sm{font-size: 17px;}
.htm .detail-grid{display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-5); align-items: start;}
.htm .detail-fields{display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4);}
.htm .detail-field{display: flex; flex-direction: column; gap: 4px;}
.htm .detail-field span:last-child{font-weight: 600;}
.htm .account-grid{display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: var(--space-4);}
.htm .account-card{background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column;}
.htm .account-card-header{display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-3); padding: var(--space-4) var(--space-4) 0;}
.htm .account-card-title{font-weight: 700; font-size: 15px; margin-bottom: 6px;}
.htm .account-card-body{padding: var(--space-4); display: flex; flex-direction: column; gap: 10px;}
.htm .account-card-footer{padding: var(--space-4); border-top: 1px solid var(--border); background: var(--surface-alt);}
.htm .cred-row{display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);}
.htm .cred-label{font-size: 12px; font-weight: 700; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.02em;}
.htm .cred-value{font-weight: 600; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13.5px;}
.htm .cred-value-group{display: flex; align-items: center; gap: 6px;}
.htm .icon-btn-sm{width: 26px; height: 26px; border-radius: 7px; border: 1px solid var(--border); background: var(--surface);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text-muted); flex-shrink: 0;}
.htm .icon-btn-sm:hover{background: var(--surface-alt); color: var(--text);}
.htm .icon-btn-sm.is-copied{background: var(--success-soft); color: var(--success); border-color: var(--success);}
.htm .toast{position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 12px);
  background: var(--text); color: #fff; padding: 10px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 600; box-shadow: var(--shadow-md); z-index: 100;
  opacity: 0; pointer-events: none; transition: opacity 0.18s ease, transform 0.18s ease;}
.htm .toast.is-visible{opacity: 1; transform: translate(-50%, 0);}
.htm .expiry-info{display: flex; flex-direction: column; gap: 2px;}
.htm .expiry-date{font-size: 12.5px; color: var(--text-muted); font-weight: 600;}
.htm .days-remaining{font-weight: 700; font-size: 13.5px;}
.htm .status-text-active,
.htm .status-text-neutral{color: var(--success);}
.htm .status-text-expiring{color: var(--warning);}
.htm .status-text-expired{color: var(--danger);}
.htm .account-card-urgent{border-color: var(--warning); box-shadow: 0 0 0 1px var(--warning);}
.htm .btn-whatsapp{background: var(--success); color: #fff;}
.htm .btn-whatsapp:hover{background: var(--success); opacity: 0.9;}
.htm .renewal-card-actions{display: flex; flex-wrap: wrap; gap: var(--space-2); padding: 0 var(--space-4) var(--space-4);}
.htm .renewal-card-actions .btn{flex: 1; white-space: nowrap;}
.htm .renewal-card-feedback{margin: 0 var(--space-4) var(--space-4); padding: 8px 12px; border-radius: var(--radius-sm); font-size: 12.5px; font-weight: 600;}
.htm .renewal-card-feedback.is-success{background: var(--success-soft); color: var(--success);}
.htm .renewal-card-feedback.is-error{background: var(--danger-soft); color: var(--danger);}
.htm .status-pill{display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700;}
.htm .status-active{background: var(--success-soft); color: var(--success);}
.htm .status-expiring{background: var(--warning-soft); color: var(--warning);}
.htm .status-expired{background: var(--danger-soft); color: var(--danger);}
.htm .status-neutral{background: var(--surface-alt); color: var(--text-muted);}
.htm .quick-filters{display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-5);}
.htm .quick-filter{padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border);
  font-weight: 600; font-size: 13px; color: var(--text-muted); display: inline-flex; align-items: center; gap: 6px;}
.htm .quick-filter.active{background: var(--brand); color: #fff; border-color: var(--brand);}
.htm .quick-filter .count{font-size: 11.5px; opacity: 0.8;}
.htm .table-wrap{overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface);}
.htm .data-table{width: 100%; border-collapse: collapse; min-width: 480px;}
.htm .data-table th{text-align: start; font-size: 11.5px; font-weight: 700; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.02em; padding: 12px 16px; border-bottom: 1px solid var(--border);}
.htm .data-table td{padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 13.5px;}
.htm .data-table tr:last-child td{border-bottom: none;}
.htm .cell-name{font-weight: 700;}
.htm .cell-muted{color: var(--text-muted);}
.htm .timeline{display: flex; flex-direction: column; gap: var(--space-4);}
.htm .timeline-item{padding-inline-start: var(--space-4); border-inline-start: 2px solid var(--border); position: relative;}
.htm .timeline-item::before{content: ''; position: absolute; inset-inline-start: -5px; top: 4px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand);}
.htm .timeline-date{font-size: 11.5px; color: var(--text-faint); font-weight: 700;}
.htm .timeline-label{font-size: 12.5px; color: var(--brand-dark); font-weight: 700; margin-top: 2px;}
.htm .timeline-desc{font-size: 13.5px; margin-top: 2px;}
.htm .btn{display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: var(--radius-sm); padding: 9px 16px; font-weight: 700; font-size: 13.5px;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;}
.htm .btn-primary{background: var(--brand); color: #fff;}
.htm .btn-primary:hover{background: var(--brand-dark);}
.htm .btn-secondary{background: var(--surface); color: var(--text); border-color: var(--border);}
.htm .btn-secondary:hover{background: var(--surface-alt);}
.htm .btn-outline-brand{background: transparent; color: var(--brand-dark); border-color: var(--brand);}
.htm .btn-outline-brand:hover{background: #e4ddff;}
.htm .btn-sm{padding: 6px 12px; font-size: 12.5px;}
.htm .btn-block{width: 100%;}
.htm .btn-link{background: none; border: none; color: var(--brand); font-weight: 700; font-size: 13px; cursor: pointer; padding: 4px;}
.htm .btn-link:disabled{color: var(--text-faint); cursor: not-allowed;}
.htm .field{display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--space-4);}
.htm .field label{font-size: 12.5px; font-weight: 700; color: var(--text-muted);}
.htm .input{width: 100%; padding: 11px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: var(--surface-alt); font-size: 14px; color: var(--text); font-family: inherit;}
.htm .input:focus{outline: none; border-color: var(--brand); background: var(--surface);}
.htm .otp-input{text-align: center; letter-spacing: 10px; font-size: 22px; font-weight: 700;}
.htm .auth-body{background: linear-gradient(160deg, #efeaff 0%, #f6f5fb 55%); min-height: 100vh;}
.htm .auth-lang-switch{display: flex; justify-content: flex-end; gap: 6px; padding: var(--space-4) var(--space-5);}
.htm .lang-pill{border: 1px solid var(--border); background: var(--surface); border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 700; color: var(--text-muted); cursor: pointer;}
.htm .lang-pill.active{background: var(--brand); color: #fff; border-color: var(--brand);}
.htm .auth-page{display: flex; align-items: center; justify-content: center; padding: var(--space-5); min-height: calc(100vh - 60px);}
.htm .auth-card{background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: var(--space-6); width: 100%; max-width: 400px; text-align: center;}
.htm .error-card{max-width: 440px;}
.htm .auth-brand{display: flex; flex-direction: column; align-items: center; gap: var(--space-3); margin-bottom: var(--space-5);}
.htm .auth-brand-name{font-weight: 800; font-size: 18px;}
.htm .auth-headline{font-size: 20px; margin-bottom: var(--space-2);}
.htm .auth-subtext{color: var(--text-muted); font-size: 13.5px; margin-bottom: var(--space-5);}
.htm .auth-form{text-align: start;}
.htm .auth-form .field label{text-align: start;}
.htm .auth-resend-form{margin-top: var(--space-4);}
.htm .auth-back-link{display: block; margin-top: var(--space-3);}
.htm .support-grid{display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-4);}
.htm .support-card{display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); color: var(--text);}
.htm .support-card svg{color: var(--brand);}
.htm .support-card-title{font-weight: 700; font-size: 15px;}
.htm .support-card-desc{color: var(--text-muted); font-size: 13px;}
.htm .support-card-accent{background: var(--brand-soft); border-color: var(--brand);}
.htm .support-card-accent svg{color: var(--brand-dark);}
.htm .empty-state{display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-3); padding: var(--space-6); color: var(--text-muted); text-align: center;}
.htm .empty-state svg{color: var(--text-faint);}
.htm .empty-state-page{padding: var(--space-6) var(--space-5);}
.htm .text-muted{color: var(--text-muted);}
.htm .hint{font-size: 12.5px; color: var(--text-faint);}
@media (max-width: 860px){
.htm .page-content{padding: var(--space-4); padding-bottom: 80px;}
.htm .detail-grid{grid-template-columns: 1fr;}
.htm .detail-fields{grid-template-columns: 1fr;}
.htm .account-grid{grid-template-columns: 1fr;}
.htm .user-name{display: none;}
}
.htm .redeem-renew-page{max-width: 860px;
  margin: 0 auto;
  padding: var(--space-6) var(--space-4) 64px;
  position: relative;
  overflow-x: hidden;}
.htm .redeem-renew-page::before{content: '';
  position: absolute;
  inset: -32px -32px auto -32px;
  height: 320px;
  background: radial-gradient(60% 100% at 50% 0%, var(--brand-soft) 0%, rgba(239, 234, 255, 0) 70%);
  z-index: -1;
  pointer-events: none;}
.htm .redeem-renew-page .rrp-hero{display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-6);}
.htm .redeem-renew-page .rrp-hero-text h1{font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 var(--space-2);}
.htm .redeem-renew-page .rrp-hero-subtitle{color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
  max-width: 52ch;}
.htm .redeem-renew-page .rrp-back-btn{flex-shrink: 0;
  border-radius: var(--radius-md);}
.htm .redeem-renew-page .rrp-account-grid{display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: var(--space-4);}
.htm .redeem-renew-page .rrp-account-card{background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-width: 0; 
  transition: box-shadow 0.18s ease, border-color 0.18s ease, transform 0.18s ease;}
.htm .redeem-renew-page .rrp-account-card:hover{box-shadow: var(--shadow-md);
  border-color: #d7d0f5;
  transform: translateY(-1px);}
.htm .redeem-renew-page .rrp-account-main{min-width: 0; 
  flex: 1;}
.htm .redeem-renew-page .rrp-account-top{display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);}
.htm .redeem-renew-page .rrp-account-badge{display: inline-block;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 4px 10px;
  border-radius: 999px;}
.htm .redeem-renew-page .rrp-account-username{font-size: 18px;
  font-weight: 700;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: var(--space-1);}
.htm .redeem-renew-page .rrp-account-meta{display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-muted);
  font-size: 13.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;}
.htm .redeem-renew-page .rrp-dot{color: var(--text-faint);}
.htm .redeem-renew-page .rrp-account-days{display: inline-block;
  margin-top: var(--space-3);
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--radius-sm);}
.htm .redeem-renew-page .rrp-days-active{background: var(--success-soft); color: var(--success);}
.htm .redeem-renew-page .rrp-days-expiring{background: var(--warning-soft); color: var(--warning);}
.htm .redeem-renew-page .rrp-days-expired{background: var(--danger-soft); color: var(--danger);}
.htm .redeem-renew-page .rrp-account-action{flex-shrink: 0;}
.htm .redeem-renew-page .rrp-confirm-btn{padding: 12px 22px;
  font-size: 14.5px;
  font-weight: 700;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(109, 91, 247, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;}
.htm .redeem-renew-page .rrp-confirm-btn:hover{transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(109, 91, 247, 0.34);}
.htm .redeem-renew-page .rrp-confirm-btn:active{transform: translateY(0);
  box-shadow: 0 2px 6px rgba(109, 91, 247, 0.28);}
.htm .redeem-renew-page .rrp-confirm-btn:disabled{opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;}
.htm .redeem-renew-page .rrp-empty-card{background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-6) var(--space-5);
  max-width: 480px;
  margin: 0 auto;
  text-align: center;}
.htm .redeem-renew-page .rrp-empty-card .rrp-confirm-btn{margin-top: var(--space-4);}
@media (max-width: 1024px){
.htm .redeem-renew-page .rrp-account-grid{grid-template-columns: 1fr;}
}
@media (max-width: 640px){
.htm .redeem-renew-page{padding: var(--space-4) var(--space-3) 48px;}
.htm .redeem-renew-page .rrp-hero{flex-direction: column; align-items: stretch;}
.htm .redeem-renew-page .rrp-hero-text h1{font-size: 22px;}
.htm .redeem-renew-page .rrp-back-btn{align-self: flex-start;}
.htm .redeem-renew-page .rrp-account-card{flex-direction: column; align-items: stretch;}
.htm .redeem-renew-page .rrp-account-action,
.htm .redeem-renew-page .rrp-account-action .rrp-confirm-btn{width: 100%;}
}
.htm .renew-grace-banner{display: flex; align-items: flex-start; gap: var(--space-3);
  background: var(--brand-soft); color: var(--brand-dark); border-radius: var(--radius-md);
  padding: var(--space-4); margin-bottom: var(--space-5);}
.htm .renew-grace-banner svg{flex-shrink: 0; margin-top: 2px;}
.htm .renew-grace-banner-title{font-weight: 700; font-size: 14px; margin-bottom: 2px;}
.htm .renew-grace-banner-body{font-size: 13px; opacity: 0.9;}
.htm .renew-grace-banner p:only-child{font-size: 13px; font-weight: 600;}
.htm .renew-urgency-line{margin-top: 6px; font-size: 12.5px; font-weight: 700; color: var(--warning);}
.htm .account-card-badges{display: flex; align-items: center; gap: 6px; flex-wrap: wrap;}
.htm .renew-badge{display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700;}
.htm .renew-badge-ok{background: var(--warning-soft); color: var(--warning);}
.htm .renew-badge-ended{background: var(--danger-soft); color: var(--danger);}
.htm .renewal-card-secondary{padding: 0 var(--space-4) var(--space-4); text-align: center;}
.htm .renew-redeem-code-link{font-size: 12.5px;}
.htm .account-card-ended{border-color: var(--border);}
.htm .renewal-ended-state{padding: 0 var(--space-4) var(--space-4); display: flex; flex-direction: column; gap: var(--space-2);}
.htm .renewal-ended-title{font-weight: 700; font-size: 13.5px; color: var(--text);}
.htm .renewal-ended-body{font-size: 12.5px; color: var(--text-muted); margin-bottom: 4px;}
.htm .account-note-row{min-width: 0;}
.htm .account-note-value{flex: 1; min-width: 0; text-align: end; margin-inline-start: var(--space-2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.htm .device-note-block{display: flex; flex-direction: column; gap: 8px;}
.htm .device-note-display{display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);}
.htm .device-note-text{font-weight: 600; font-size: 13.5px;}
.htm .device-note-form{display: flex; flex-direction: column; gap: 8px;}
.htm .device-note-textarea{resize: vertical; min-height: 44px; font-family: inherit;}
.htm .device-note-form-actions{display: flex; gap: var(--space-2);}
.htm .device-note-feedback{padding: 8px 12px; border-radius: var(--radius-sm); font-size: 12.5px; font-weight: 600;}
.htm .device-note-feedback.is-success{background: var(--success-soft); color: var(--success);}
.htm .device-note-feedback.is-error{background: var(--danger-soft); color: var(--danger);}
.htm .profile-support-notice{display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: var(--space-4) var(--space-5); margin-top: var(--space-4);}
.htm .profile-support-notice-title{font-weight: 700; font-size: 14px; margin-bottom: 2px;}
.htm .profile-support-notice-body{font-size: 12.5px; color: var(--text-muted);}
@media (max-width: 640px){
.htm .device-note-display{flex-direction: column; align-items: flex-start; gap: 6px;}
.htm .profile-support-notice{flex-direction: column; align-items: stretch;}
}
.htm .phone-field-group{display: flex; gap: var(--space-2);}
.htm .phone-field-group .phone-dial-select{flex: 0 0 42%; min-width: 0;}
.htm .phone-field-group .phone-number-input{flex: 1; min-width: 0;}
@media (max-width: 480px){
.htm .phone-field-group{flex-direction: column;}
.htm .phone-field-group .phone-dial-select{flex: 1;}
}

/* --- scoped from assets/css/portal-login.css --- */
.htm .nd-portal-login{--nd-navy: #0b1e38;
  --nd-navy-2: #132b4d;
  --nd-orange: #ff7a00;
  --nd-red: #e0293e;
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px clamp(16px, 4vw, 48px) 64px;}
.htm .nd-portal-login-body{background: #f4f6fa;}
.htm .nd-portal-lang-switch{display: flex;
  justify-content: flex-end;
  gap: 8px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px clamp(16px, 4vw, 48px) 0;}
.htm .nd-portal-lang-pill{border: 1.5px solid #dbe1ea;
  background: #ffffff;
  color: #64748b;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  min-height: 32px;}
.htm .nd-portal-lang-pill.is-active{background: var(--nd-navy);
  color: #ffffff;
  border-color: var(--nd-navy);}
.htm .nd-portal-lang-pill:focus-visible{outline: 3px solid rgba(11, 30, 56, .35);
  outline-offset: 2px;}
.htm .nd-portal-shell{display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 28px;}
@media (max-width: 900px){
.htm .nd-portal-shell{grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 20px;}
}
.htm .nd-portal-info{padding-top: 8px;}
.htm .nd-portal-eyebrow{display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--nd-orange);
  background: rgba(255, 122, 0, .1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;}
.htm .nd-portal-heading{font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.15;
  color: var(--nd-navy);
  margin-bottom: 16px;
  font-weight: 800;}
.htm .nd-portal-desc{font-size: 16px;
  line-height: 1.6;
  color: #475569;
  max-width: 480px;
  margin-bottom: 28px;}
.htm .nd-portal-features{list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 460px;}
.htm .nd-portal-features li{display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--nd-navy-2);
  font-weight: 600;
  line-height: 1.45;}
.htm .nd-portal-features svg{flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--nd-orange);}
.htm .nd-portal-card-wrap{display: flex;
  flex-direction: column;
  gap: 24px;}
.htm .nd-portal-card{background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e6e9f0;
  box-shadow: 0 20px 45px rgba(11, 30, 56, .08);
  padding: clamp(24px, 4vw, 40px);}
.htm .nd-portal-card-title{font-size: 22px;
  font-weight: 800;
  color: var(--nd-navy);
  margin-bottom: 8px;}
.htm .nd-portal-card-desc{font-size: 14px;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 24px;}
.htm .nd-portal-card .alert-banner{border-radius: 12px;
  margin-bottom: 20px;}
.htm .nd-portal-form .field label{color: var(--nd-navy-2);}
.htm .nd-portal-form .input{border-radius: 12px;
  border: 1.5px solid #dbe1ea;
  padding: 13px 16px;
  font-size: 15px;
  min-height: 46px;}
.htm .nd-portal-form .input:focus{border-color: var(--nd-orange);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 122, 0, .15);}
.htm .nd-portal-submit.btn.btn-primary{background: var(--nd-orange);
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 15px;
  min-height: 48px;
  box-shadow: 0 10px 24px rgba(255, 122, 0, .25);}
.htm .nd-portal-submit.btn.btn-primary:hover{background: #e86e00;}
.htm .nd-portal-submit:focus-visible{outline: 3px solid rgba(255, 122, 0, .4);
  outline-offset: 2px;}
.htm .nd-portal-security-note{display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e6e9f0;
  border-radius: 12px;
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.5;}
.htm .nd-portal-security-note svg{flex: none;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  color: var(--nd-navy-2);}
.htm .nd-portal-form .otp-input{text-align: center;
  letter-spacing: 10px;
  font-size: 22px;
  font-weight: 700;}
.htm .nd-portal-resend{margin-top: 18px;
  text-align: center;}
.htm .nd-portal-resend-title{font-size: 13px;
  color: #64748b;
  margin: 0 0 6px;}
.htm .nd-portal-resend-btn{color: var(--nd-orange);
  font-weight: 700;
  font-size: 13.5px;}
.htm .nd-portal-resend-btn:disabled{color: #94a3b8;
  cursor: not-allowed;}
.htm .nd-portal-resend-cooldown{font-size: 12.5px;
  color: #64748b;
  margin: 6px 0 0;}
.htm .nd-portal-different-email{display: block;
  text-align: center;
  margin-top: 16px;
  color: var(--nd-navy-2);
  font-weight: 700;
  font-size: 13.5px;}
.htm .nd-portal-resend-btn:focus-visible,
.htm .nd-portal-different-email:focus-visible{outline: 3px solid rgba(11, 30, 56, .3);
  outline-offset: 2px;}
.htm .nd-portal-support{background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e6e9f0;
  box-shadow: 0 12px 30px rgba(11, 30, 56, .06);
  padding: clamp(20px, 4vw, 28px);}
.htm .nd-portal-support-title{font-size: 15px;
  font-weight: 800;
  color: var(--nd-navy);
  margin-bottom: 6px;}
.htm .nd-portal-support-desc{font-size: 13.5px;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 16px;}
.htm .nd-portal-support-actions{display: flex;
  flex-wrap: wrap;
  gap: 12px;}
.htm .nd-portal-support-btn{display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13.5px;
  border: 1.5px solid #dbe1ea;
  color: var(--nd-navy);
  text-decoration: none;
  min-height: 44px;}
.htm .nd-portal-support-btn svg{width: 18px;
  height: 18px;
  flex: none;}
.htm .nd-portal-support-whatsapp{border-color: #25d366;
  color: #0f8a4d;}
.htm .nd-portal-support-whatsapp:hover{background: #eafcf3;}
.htm .nd-portal-support-email{border-color: var(--nd-navy-2);
  color: var(--nd-navy-2);}
.htm .nd-portal-support-email:hover{background: #f1f5f9;}
.htm .nd-portal-support-btn:focus-visible{outline: 3px solid rgba(11, 30, 56, .3);
  outline-offset: 2px;}
.htm .nd-portal-support-empty{font-size: 13px;
  color: #94a3b8;
  margin: 0;}
@media (max-width: 640px){
.htm .nd-portal-lang-switch{padding: 12px 16px 0;}
.htm .nd-portal-login{padding: 24px 16px 48px;}
.htm .nd-portal-support-actions{flex-direction: column;}
.htm .nd-portal-support-btn{width: 100%;
    justify-content: center;}
}
@media (prefers-reduced-motion: reduce){
.htm .nd-portal-lang-pill,
.htm .nd-portal-submit,
.htm .nd-portal-support-btn,
.htm .nd-portal-form .input{transition: none;}
}

/* --- scoped from assets/css/xtreme-portal.css --- */
.htm{--brand: var(--xt-blue);
  --brand-dark: var(--xt-blue-hover);
  --brand-soft: var(--xt-pale);
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: var(--xt-pale);
  --border: var(--xt-line);
  --text: var(--xt-navy);
  --text-muted: var(--xt-muted);
  --text-faint: #6b7c90;
  --success: var(--xt-success);
  --success-soft: var(--xt-success-soft);
  --warning: var(--xt-warning);
  --warning-soft: var(--xt-warning-soft);
  --danger: var(--xt-danger);
  --danger-soft: var(--xt-danger-soft);
  --radius-sm: var(--xt-r-sm);
  --radius-md: var(--xt-r);
  --radius-lg: var(--xt-r-lg);
  --shadow-sm: var(--xt-shadow-sm);
  --shadow-md: var(--xt-shadow);}
.htm{font-family: var(--xt-font); font-size: 16px; background: #fff; color: var(--xt-navy);}
.htm a{color: var(--xt-blue);}
.htm h1,
.htm h2{color: var(--xt-navy); font-weight: 800;}
.htm .xt-portal{background: linear-gradient(180deg, var(--xt-pale) 0, var(--xt-pale) 220px, #fff 220px);}
.htm .xt-main{min-width: 0; outline: none;}
.htm .xt-side{position: sticky;
  top: calc(var(--xt-header-h) + 20px);
  background: #fff;
  border: 1px solid var(--xt-line);
  border-radius: var(--xt-r-xl);
  box-shadow: var(--xt-shadow);
  padding: 18px;}
.htm .xt-side__user{display: flex; align-items: center; gap: 12px; padding: 6px 6px 16px; border-bottom: 1px solid var(--xt-line);}
.htm .xt-side__avatar{display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 14px;
  background: var(--xt-blue);
  color: #fff;
  font-weight: 800;
  font-size: 18px;}
.htm .xt-side__who{display: flex; flex-direction: column; min-width: 0;}
.htm .xt-side__label{font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--xt-muted);}
.htm .xt-side__name{font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
.htm .xt-side__nav ul{list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 2px;}
.htm .xt-side__nav a{display: flex; align-items: center; gap: 12px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--xt-r);
  color: var(--xt-navy-2);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease;}
.htm .xt-side__nav a svg{color: var(--xt-muted); flex-shrink: 0;}
.htm .xt-side__nav a:hover{background: var(--xt-pale); color: var(--xt-blue-hover);}
.htm .xt-side__nav a:hover svg{color: var(--xt-blue);}
.htm .xt-side__nav a.is-active{background: var(--xt-blue); color: #fff;}
.htm .xt-side__nav a.is-active svg{color: #fff;}
.htm .xt-side__extra{display: grid; gap: 14px; padding-top: 14px; border-top: 1px solid var(--xt-line);}
.htm .xt-side__help{padding: 14px; border-radius: var(--xt-r); background: var(--xt-pale); font-size: 14px; color: var(--xt-navy-2);}
.htm .xt-side__help p{margin: 0 0 6px;}
.htm .xt-side__help-title{font-weight: 800; color: var(--xt-navy);}
.htm .xt-side__help a{font-weight: 700;}
.htm .xt-side__logout{margin: 0;}
.htm .xt-side__logout button{display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--xt-line-strong);
  border-radius: var(--xt-pill);
  background: #fff;
  color: var(--xt-navy-2);
  font: 700 14.5px var(--xt-font);
  cursor: pointer;}
.htm .xt-side__logout button:hover{border-color: var(--xt-danger); color: var(--xt-danger); background: var(--xt-danger-soft);}
@media (max-width: 960px){
.htm .xt-portal{background: #fff;}
.htm .xt-side,
.htm .xt-side__nav{min-width: 0; max-width: none;}
.htm .xt-side{position: static;
    margin: 0 -24px;
    padding: 12px 24px 0;
    border: 0;
    border-bottom: 1px solid var(--xt-pale-2);
    border-radius: 0;
    box-shadow: none;
    background: var(--xt-pale);}
.htm .xt-side__user{border: 0; padding: 4px 0 8px;}
.htm .xt-side__avatar{width: 36px; height: 36px; border-radius: 11px; font-size: 15px;}
.htm .xt-side__nav{margin: 0 -24px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;}
.htm .xt-side__nav::-webkit-scrollbar{display: none;}
.htm .xt-side__nav ul{display: flex; gap: 6px; margin: 0; padding: 4px 24px 14px; width: max-content;}
.htm .xt-side__nav a{min-height: 40px; padding: 0 14px; border-radius: var(--xt-pill); background: #fff; border: 1px solid var(--xt-pale-2); white-space: nowrap; font-size: 14.5px;}
.htm .xt-side__nav a svg{width: 16px; height: 16px;}
.htm .xt-side__extra{position: absolute; top: 0; right: 0; border: 0; padding: 0;}
.htm .xt-side{position: relative; top: auto;}
.htm .xt-side__extra .xt-btn,
.htm .xt-side__help{display: none;}
.htm .xt-side__extra{top: 14px; right: 24px;}
.htm .xt-side__logout button{width: auto; min-height: 36px; padding: 0 14px; font-size: 13.5px;}
}
@media (max-width: 600px){
.htm .xt-side{margin: 0 -16px; padding: 12px 16px 0;}
.htm .xt-side__nav{margin: 0 -16px;}
.htm .xt-side__nav ul{padding: 4px 16px 14px;}
.htm .xt-side__extra{right: 16px;}
.htm .xt-side__logout button span{position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);}
.htm .xt-side__logout button{width: 40px; padding: 0;}
}
.htm .page-header{flex-wrap: wrap; margin-bottom: 22px;}
.htm .page-header h1{font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.03em; overflow-wrap: anywhere;}
.htm .section-title{margin: 32px 0 14px; font-size: 19px; font-weight: 800; color: var(--xt-navy); display: flex; align-items: center; gap: 10px;}
.htm .section-title::before{content: ""; width: 4px; height: 20px; border-radius: 4px; background: var(--xt-blue);}
.htm .alert-banner{border: 1.5px solid #f3b8b1; border-radius: var(--xt-r); font-size: 15px; font-weight: 600; padding: 14px 16px;}
.htm .alert-banner.alert-success{border-color: #a7dcbf;}
.htm .toast{z-index: var(--xt-z-toast); background: var(--xt-navy); border-radius: var(--xt-pill); bottom: 24px; padding: 12px 20px; font-weight: 600;}
.htm .card,
.htm .stat-card,
.htm .account-card,
.htm .support-card,
.htm .template-card,
.htm .redeem-account-card,
.htm .profile-support-notice{background: #fff;
  border: 1px solid var(--xt-line);
  border-radius: var(--xt-r-lg);
  box-shadow: var(--xt-shadow-sm);}
.htm .card{padding: 24px;}
.htm .card-title,
.htm .account-card-title{color: var(--xt-navy); font-weight: 800;}
.htm .stat-grid{gap: 16px;}
.htm .stat-card{padding: 20px; position: relative; overflow: hidden; border-top: 4px solid var(--xt-blue);}
.htm .stat-label{color: var(--xt-muted); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em;}
.htm .stat-value{color: var(--xt-navy); font-weight: 800; font-size: 30px; letter-spacing: -0.03em;}
.htm .stat-value-sm{font-size: 19px;}
.htm .stat-card-warning{border-top-color: #e3a13a; background: #fffcf5;}
.htm .account-grid{gap: 18px;}
.htm .account-card{overflow: hidden; transition: box-shadow .2s ease, border-color .2s ease;}
.htm .account-card:hover{border-color: #bfdbfe; box-shadow: var(--xt-shadow);}
.htm .account-card-header{border-bottom: 1px solid var(--xt-line); background: linear-gradient(180deg, var(--xt-pale), #fff);}
.htm .account-card-footer{background: #f8fbff; border-top: 1px solid var(--xt-line);}
.htm .account-card-urgent{border-color: #e3a13a; box-shadow: 0 0 0 1px #e3a13a;}
.htm .cred-label{color: var(--xt-muted);}
.htm .cred-value{color: var(--xt-navy); font-family: var(--xt-mono); font-size: 14.5px;}
.htm .cred-row{min-width: 0; gap: 10px;}
.htm .cred-value-group{min-width: 0;}
.htm .cred-value{overflow-wrap: anywhere; word-break: break-word;}
.htm .detail-grid{gap: 20px;}
.htm .redeem-cta{background: var(--xt-navy);
  color: #fff;
  border: 0;
  border-radius: var(--xt-r-lg);
  box-shadow: var(--xt-shadow);
  font-size: 16px;
  font-weight: 700;
  min-height: 60px;
  padding: 0 22px;
  transition: background-color .2s ease, transform .2s var(--xt-ease);}
.htm .redeem-cta:hover{background: var(--xt-blue); color: #fff; transform: translateY(-1px);}
.htm .redeem-cta svg{color: #93c5fd;}
.htm .redeem-cta:hover svg{color: #fff;}
.htm .renew-grace-banner{background: var(--xt-pale); color: var(--xt-navy); border: 1px solid var(--xt-pale-2); border-radius: var(--xt-r-lg);}
.htm .renew-grace-banner svg{color: var(--xt-blue);}
.htm .btn{min-height: 44px;
  padding: 10px 20px;
  border-radius: var(--xt-pill);
  font-family: var(--xt-font);
  font-size: 15px;
  font-weight: 700;
  border-width: 2px;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;}
.htm .btn-sm{min-height: 36px; padding: 6px 14px; font-size: 13.5px;}
.htm .btn-primary{background: var(--xt-blue); color: #fff; box-shadow: var(--xt-shadow-blue);}
.htm .btn-primary:hover{background: var(--xt-blue-hover); color: #fff;}
.htm .btn-secondary{background: #fff; color: var(--xt-navy); border-color: var(--xt-line-strong);}
.htm .btn-secondary:hover{background: #fff; border-color: var(--xt-blue); color: var(--xt-blue);}
.htm .btn-outline-brand{color: var(--xt-blue); border-color: var(--xt-blue);}
.htm .btn-outline-brand:hover{background: var(--xt-pale);}
.htm .btn-whatsapp{background: var(--xt-blue); color: #fff; border-color: var(--xt-blue);}
.htm .btn-whatsapp:hover{opacity: 1; background: var(--xt-blue-hover); border-color: var(--xt-blue-hover); color: #fff;}
.htm .btn-link{color: var(--xt-blue); font-size: 14.5px; font-weight: 700;}
.htm .btn:focus-visible,
.htm .btn-link:focus-visible,
.htm .icon-btn-sm:focus-visible,
.htm .quick-filter:focus-visible,
.htm .redeem-cta:focus-visible,
.htm .support-card:focus-visible,
.htm .template-card:focus-within,
.htm .xt-side__nav a:focus-visible,
.htm .xt-side__logout button:focus-visible{outline: none;
  box-shadow: var(--xt-focus);}
.htm .btn:disabled{opacity: .6; cursor: not-allowed; box-shadow: none;}
.htm .icon-btn-sm{width: 34px; height: 34px; border-radius: 10px;}
.htm .icon-btn-sm:hover{border-color: var(--xt-blue); color: var(--xt-blue); background: var(--xt-pale);}
.htm .field label{color: var(--xt-navy); font-size: 14.5px; font-weight: 700;}
.htm .input,
.htm select.input,
.htm textarea.input{background: #fff;
  border: 1.5px solid var(--xt-line-strong);
  min-height: 50px;
  font-size: 16px;
  border-radius: var(--xt-r);}
.htm .input:hover{border-color: #94a3b8;}
.htm .input:focus{border-color: var(--xt-blue); box-shadow: 0 0 0 4px rgba(8, 120, 209, 0.18);}
.htm .hint{color: var(--xt-muted); font-size: 14px;}
.htm .quick-filters{gap: 4px; padding: 5px; background: var(--xt-pale); border: 1px solid var(--xt-pale-2); border-radius: var(--xt-pill); display: inline-flex; flex-wrap: nowrap; max-width: 100%; overflow-x: auto; margin-bottom: 20px; scrollbar-width: thin;}
.htm .quick-filter{border: 0; background: transparent; color: var(--xt-navy-2); font-size: 14.5px; font-weight: 700; padding: 9px 16px; white-space: nowrap; border-radius: var(--xt-pill);}
.htm .quick-filter:hover{color: var(--xt-blue-hover); background: #fff;}
.htm .quick-filter.active{background: var(--xt-navy); color: #fff;}
.htm .quick-filter.active .count{background: rgba(255, 255, 255, 0.18); color: #fff;}
.htm .status-pill{font-size: 12.5px; font-weight: 700; padding: 4px 11px; border-radius: var(--xt-pill);}
.htm .status-active{background: var(--xt-success-soft); color: var(--xt-success);}
.htm .status-expiring{background: var(--xt-warning-soft); color: var(--xt-warning);}
.htm .status-expired{background: var(--xt-danger-soft); color: var(--xt-danger);}
.htm .status-text-active,
.htm .status-text-neutral{color: var(--xt-success);}
.htm .status-text-expiring{color: var(--xt-warning);}
.htm .status-text-expired{color: var(--xt-danger);}
.htm .table-wrap{border-radius: var(--xt-r-lg); border: 1px solid var(--xt-line); box-shadow: var(--xt-shadow-sm); overflow-x: auto;}
.htm .data-table th{background: var(--xt-pale); color: var(--xt-navy-2); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase;}
.htm .data-table td{font-size: 15px;}
.htm .data-table tbody tr:hover td{background: #f8fbff;}
.htm .timeline-item::before{background: var(--xt-blue); box-shadow: 0 0 0 4px var(--xt-pale);}
.htm .timeline-label{color: var(--xt-blue-hover); font-weight: 700;}
.htm .timeline-date{color: var(--xt-muted);}
.htm .support-grid{gap: 18px;}
.htm .support-card{padding: 26px; transition: border-color .2s ease, transform .2s var(--xt-ease), box-shadow .2s ease;}
.htm .support-card svg{color: var(--xt-blue);}
.htm .support-card:hover{border-color: var(--xt-blue); transform: translateY(-2px); box-shadow: var(--xt-shadow);}
.htm .support-card-accent{background: var(--xt-navy); border-color: var(--xt-navy); color: #fff;}
.htm .support-card-accent svg,
.htm .support-card-accent .support-card-desc,
.htm .support-card-accent .support-card-title{color: #fff;}
.htm .empty-state{background: var(--xt-pale); border: 1.5px dashed #bfdbfe; border-radius: var(--xt-r-xl); color: var(--xt-navy-2);}
.htm .empty-state svg{color: var(--xt-blue);}
.htm .template-card:has(input:checked){border-color: var(--xt-blue); box-shadow: 0 0 0 1px var(--xt-blue); background: var(--xt-pale);}
.htm .renewal-card-feedback.is-success{border-radius: var(--xt-r-sm);}
.htm .renewal-card-feedback.is-error{border-radius: var(--xt-r-sm);}
.htm .redeem-renew-page::before{display: none;}
.htm .redeem-renew-page .rrp-hero-text h1{color: var(--xt-navy); font-weight: 800;}
.htm .redeem-renew-page .rrp-confirm-btn,
.htm .redeem-renew-page .rrp-confirm-btn:hover,
.htm .redeem-renew-page .rrp-confirm-btn:active{background: var(--xt-blue); box-shadow: var(--xt-shadow-blue); transform: none; border-radius: var(--xt-pill);}
.htm .redeem-renew-page .rrp-confirm-btn:hover{background: var(--xt-blue-hover);}
.htm .redeem-renew-page .rrp-account-card{border-radius: var(--xt-r-lg); box-shadow: var(--xt-shadow-sm);}
.htm .xt-main > .page-header,
.htm .xt-main > .stat-grid,
.htm .xt-main > .card,
.htm .xt-main > .account-grid,
.htm .xt-main > .support-grid{animation: xt-rise .45s var(--xt-ease) both;}
.htm .xt-main > .stat-grid{animation-delay: .05s;}
.htm .xt-main > .account-grid,
.htm .xt-main > .card,
.htm .xt-main > .support-grid{animation-delay: .1s;}
.htm .nd-portal-login-body,
.htm .auth-body{background: #fff;}
.htm .nd-portal-login{--nd-navy: var(--xt-navy);
  --nd-navy-2: var(--xt-navy-2);
  --nd-orange: var(--xt-blue);
  --nd-red: var(--xt-danger);
  padding: 56px 24px 56px;
  background:
    radial-gradient(circle at 1px 1px, rgba(8, 120, 209, 0.10) 1px, transparent 0) 0 0 / 22px 22px,
    linear-gradient(180deg, var(--xt-pale) 0, var(--xt-pale) 55%, #fff 100%);
  outline: none;}
@media (max-width: 600px){
.htm .nd-portal-login{padding: 28px 16px 40px;}
}
.htm .nd-portal-shell{max-width: var(--xt-container); gap: 56px; align-items: center;}
.htm .nd-portal-info{animation: xt-rise .5s var(--xt-ease) both;}
.htm .nd-portal-card-wrap{animation: xt-rise .5s var(--xt-ease) .08s both;}
.htm .nd-portal-eyebrow{color: var(--xt-blue-hover); background: #fff; border: 1px solid var(--xt-pale-2); border-radius: var(--xt-pill); letter-spacing: .12em; padding: 6px 12px;}
.htm .nd-portal-heading{font-weight: 800; font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.035em; overflow-wrap: anywhere; color: var(--xt-navy);}
.htm .nd-portal-desc{color: var(--xt-muted); font-size: 17px;}
.htm .nd-portal-features li{font-size: 15.5px; color: var(--xt-navy-2);}
.htm .nd-portal-features svg{color: #fff; background: var(--xt-blue); border-radius: 50%; padding: 3px; box-sizing: content-box; width: 14px; height: 14px;}
.htm .nd-portal-card{border: 1px solid var(--xt-line);
  border-top: 5px solid var(--xt-blue);
  border-radius: var(--xt-r-xl);
  box-shadow: 0 30px 60px -28px rgba(15, 23, 42, 0.35);}
.htm .nd-portal-support{border: 1px solid var(--xt-line); border-radius: var(--xt-r-xl); box-shadow: var(--xt-shadow-sm); background: #fff;}
.htm .nd-portal-card-title,
.htm .nd-portal-support-title{font-weight: 800; color: var(--xt-navy);}
.htm .nd-portal-card-desc,
.htm .nd-portal-support-desc,
.htm .nd-portal-resend-title,
.htm .nd-portal-resend-cooldown{color: var(--xt-muted);}
.htm .nd-portal-form .input{border: 1.5px solid var(--xt-line-strong); border-radius: var(--xt-r); min-height: 52px;}
.htm .nd-portal-form .input:focus{border-color: var(--xt-blue); box-shadow: 0 0 0 4px rgba(8, 120, 209, 0.18);}
.htm .nd-portal-form .otp-input{font-family: var(--xt-mono); letter-spacing: .5em; text-align: center; font-size: 22px;}
.htm .nd-portal-submit.btn.btn-primary{background: var(--xt-blue); border-radius: var(--xt-pill); box-shadow: var(--xt-shadow-blue); min-height: 54px; font-size: 16px;}
.htm .nd-portal-submit.btn.btn-primary:hover{background: var(--xt-blue-hover);}
.htm .nd-portal-submit:focus-visible,
.htm .nd-portal-resend-btn:focus-visible,
.htm .nd-portal-different-email:focus-visible,
.htm .nd-portal-support-btn:focus-visible{outline: none; box-shadow: var(--xt-focus);}
.htm .nd-portal-security-note{background: var(--xt-pale); border-color: var(--xt-pale-2); color: var(--xt-navy-2); border-radius: var(--xt-r);}
.htm .nd-portal-security-note svg{color: var(--xt-blue);}
.htm .nd-portal-resend-btn{color: var(--xt-blue); font-weight: 700;}
.htm .nd-portal-different-email{color: var(--xt-navy-2); font-weight: 600;}
.htm .nd-portal-support-btn{border-radius: var(--xt-pill); border: 2px solid var(--xt-line-strong); color: var(--xt-navy); min-height: 46px; overflow-wrap: anywhere; font-weight: 700;}
.htm .nd-portal-support-whatsapp{border-color: var(--xt-blue); background: var(--xt-blue); color: #fff;}
.htm .nd-portal-support-whatsapp:hover{background: var(--xt-blue-hover); border-color: var(--xt-blue-hover); color: #fff;}
.htm .nd-portal-support-email:hover{background: #fff; border-color: var(--xt-blue); color: var(--xt-blue);}
.htm .auth-page{min-height: auto; padding: 64px 16px; background: var(--xt-pale); outline: none;}
.htm .auth-card{border: 1px solid var(--xt-line); border-top: 5px solid var(--xt-blue); border-radius: var(--xt-r-xl); box-shadow: var(--xt-shadow); padding: 40px 28px;}
.htm .auth-headline{color: var(--xt-navy); font-size: 24px; font-weight: 800;}
.htm .auth-subtext{color: var(--xt-muted); margin-bottom: 22px;}

/* --- scoped from checkout/assets/xtreme/xtreme-shop.css --- */
.htm .xt-shop-page main{display: block; outline: none; padding-bottom: 56px;}
.htm .xt-narrow{max-width: 920px;}
.htm .xt-band{background:
    radial-gradient(circle at 1px 1px, rgba(8, 120, 209, 0.10) 1px, transparent 0) 0 0 / 22px 22px,
    var(--xt-pale);
  border-bottom: 1px solid var(--xt-pale-2);}
.htm .xt-band--thin{padding: 22px 0 26px; margin-bottom: 32px;}
.htm .xt-eyebrow{display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--xt-blue-hover);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;}
.htm .xt-eyebrow::before{content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--xt-blue);}
.htm .xt-lead{margin: 0; color: var(--xt-muted); font-size: 18px; max-width: 62ch;}
.htm .xt-hint{margin: 4px 0 0; color: var(--xt-muted); font-size: 14px;}
.htm .xt-page-title{margin: 10px 0 0; font-size: clamp(28px, 4vw, 38px); font-weight: 800;}
.htm .xt-section-title{margin: 0 0 28px; font-size: clamp(24px, 3vw, 30px); font-weight: 800; text-align: center;}
.htm .xt-break{overflow-wrap: anywhere; word-break: break-word;}
.htm .xt-shop-hero{padding: 64px 0 96px;}
.htm .xt-shop-hero__inner{text-align: center; display: flex; flex-direction: column; align-items: center;}
.htm .xt-shop-hero h1{margin: 0 0 16px; font-size: clamp(32px, 5vw, 52px); font-weight: 800; letter-spacing: -0.035em; max-width: 18ch;}
.htm .xt-shop-hero .xt-lead{margin: 0 auto;}
@media (max-width: 600px){
.htm .xt-shop-hero{padding: 40px 0 72px;}
.htm .xt-lead{font-size: 16.5px;}
}
.htm .xt-plan-nav{display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--xt-pale-2);
  border-radius: var(--xt-pill);
  box-shadow: var(--xt-shadow-sm);}
.htm .xt-plan-nav a{display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: var(--xt-pill);
  color: var(--xt-navy);
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;}
.htm .xt-plan-nav a:hover{background: var(--xt-blue); color: #fff;}
@media (max-width: 600px){
.htm .xt-plan-nav{border-radius: var(--xt-r-lg);}
}
.htm .xt-plans{list-style: none;
  margin: -56px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 268px), 1fr));
  gap: 24px;
  position: relative;}
.htm .xt-plan{display: flex; scroll-margin-top: calc(var(--xt-header-h) + 24px);}
.htm .xt-plan__card{display: flex;
  flex-direction: column;
  width: 100%;
  background: #fff;
  border: 1px solid var(--xt-line);
  border-radius: var(--xt-r-lg);
  box-shadow: var(--xt-shadow);
  overflow: hidden;
  transition: transform .25s var(--xt-ease), box-shadow .25s var(--xt-ease), border-color .25s ease;}
.htm .xt-plan__card:hover{transform: translateY(-4px); border-color: #bfdbfe; box-shadow: 0 22px 40px -18px rgba(15, 23, 42, 0.28);}
.htm .xt-plan__card:focus-within{border-color: var(--xt-blue);}
.htm .xt-plan--featured .xt-plan__card{border: 2px solid var(--xt-blue);}
.htm .xt-plan__media{position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--xt-pale);
  overflow: hidden;}
.htm .xt-plan__media,
.htm .xt-plan__media:hover{text-decoration: none; color: #fff;}
.htm .xt-plan__media img{display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .4s var(--xt-ease);}
.htm .xt-plan__card:hover .xt-plan__media img{transform: scale(1.03);}
.htm .xt-badge{position: absolute;
  top: 12px; right: 12px;
  padding: 5px 12px;
  border-radius: var(--xt-pill);
  background: var(--xt-navy);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;}
.htm .xt-badge--inline{position: static; display: inline-block; margin-bottom: 12px; background: var(--xt-blue);}
.htm .xt-plan__body{display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px;}
.htm .xt-plan__period{margin: 0 0 4px; color: var(--xt-blue-hover); font-weight: 700; font-size: 15px; display: flex; align-items: baseline; gap: 6px;}
.htm .xt-plan__period-value{font-size: 34px; font-weight: 800; letter-spacing: -0.04em; color: var(--xt-navy); line-height: 1;}
.htm .xt-plan__title{margin: 6px 0 8px; font-size: 19px; font-weight: 800;}
.htm .xt-plan__title a{color: var(--xt-navy); text-decoration: none;}
.htm .xt-plan__title a:hover{color: var(--xt-blue);}
.htm .xt-plan__desc{margin: 0 0 16px; color: var(--xt-muted); font-size: 14.5px;}
.htm .xt-plan__facts{list-style: none; margin: 0 0 20px; padding: 16px 0 0; border-top: 1px dashed var(--xt-line-strong); display: grid; gap: 9px;}
.htm .xt-plan__facts li{display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--xt-navy-2);}
.htm .xt-plan__facts svg{flex-shrink: 0; margin-top: 2px; color: var(--xt-blue);}
.htm .xt-plan__foot{margin-top: auto; display: grid; gap: 14px;}
.htm .xt-price{margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px;}
.htm .xt-price__from{color: var(--xt-muted); font-size: 14px; font-weight: 600;}
.htm .xt-price__amount{font-size: 30px; font-weight: 800; letter-spacing: -0.03em; color: var(--xt-navy); line-height: 1.1;}
.htm .xt-price__currency{font-weight: 700; color: var(--xt-muted); font-size: 15px;}
.htm .xt-price__compare{color: var(--xt-muted); font-size: 15px;}
.htm .xt-price__save{padding: 3px 9px; border-radius: var(--xt-pill); background: var(--xt-success-soft); color: var(--xt-success); font-size: 13px; font-weight: 800;}
.htm .xt-price--lg .xt-price__amount{font-size: 42px;}
.htm .xt-media-ph{width: 100%; height: 100%;
  min-height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.18), transparent 45%),
    linear-gradient(135deg, var(--xt-blue) 0%, var(--xt-blue-hover) 55%, var(--xt-navy) 100%);
  text-align: center;}
.htm .xt-media-ph__brand{font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .85;}
.htm .xt-media-ph__brand span{color: #bfdbfe;}
.htm .xt-media-ph__value{font-size: clamp(44px, 9vw, 72px); font-weight: 800; letter-spacing: -0.05em; line-height: 1;}
.htm .xt-media-ph__unit{font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;}
.htm .xt-how{margin-top: 72px; padding: 64px 0; border-top: 1px solid var(--xt-pale-2);}
.htm .xt-steps{list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: none;}
@media (max-width: 820px){
.htm .xt-steps{grid-template-columns: 1fr;}
}
.htm .xt-step{position: relative; background: #fff; border: 1px solid var(--xt-pale-2); border-radius: var(--xt-r-lg); padding: 24px;}
.htm .xt-step__num{display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 12px;
  background: var(--xt-blue);
  color: #fff;
  font-weight: 800;
  margin-bottom: 14px;}
.htm .xt-step h3{margin: 0 0 6px; font-size: 18px; font-weight: 800;}
.htm .xt-step p{margin: 0; color: var(--xt-muted); font-size: 15px;}
.htm .xt-steps--compact{grid-template-columns: 1fr; gap: 10px; margin-bottom: 20px;}
.htm .xt-steps--compact .xt-step{display: flex; align-items: center; gap: 14px; padding: 14px 16px;}
.htm .xt-steps--compact .xt-step__num{margin: 0; flex-shrink: 0; width: 32px; height: 32px; border-radius: 10px; font-size: 14px;}
.htm .xt-steps--compact .xt-step p{color: var(--xt-navy-2);}
.htm .xt-help{margin-top: 56px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 26px 28px;
  border-radius: var(--xt-r-xl);
  background: var(--xt-navy);
  color: #cbd5e1;}
.htm .xt-help h2{margin: 0 0 4px; color: #fff; font-size: 20px; font-weight: 800;}
.htm .xt-help p{margin: 0;}
.htm .xt-help__icon{width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: rgba(8, 120, 209, 0.25); color: #93c5fd;}
.htm .xt-help__actions{display: flex; flex-wrap: wrap; gap: 10px;}
.htm .xt-help .xt-btn--ghost{background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35);}
.htm .xt-help .xt-btn--ghost:hover{border-color: #fff; color: #fff;}
.htm .xt-help :where(a):focus-visible{box-shadow: 0 0 0 3px var(--xt-navy), 0 0 0 5px #93c5fd;}
@media (max-width: 820px){
.htm .xt-help{grid-template-columns: 1fr; text-align: left; padding: 24px;}
.htm .xt-help__actions .xt-btn{flex: 1 1 200px;}
}
.htm .xt-state{max-width: 560px;
  margin: 56px auto;
  padding: 48px 28px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--xt-line);
  border-radius: var(--xt-r-xl);
  box-shadow: var(--xt-shadow);}
.htm .xt-state__icon{display: inline-flex; width: 64px; height: 64px; align-items: center; justify-content: center; border-radius: 20px; background: var(--xt-pale); color: var(--xt-blue); margin-bottom: 18px;}
.htm .xt-state h1,
.htm .xt-state h2{margin: 0 0 10px; font-size: 26px; font-weight: 800;}
.htm .xt-state p{margin: 0 0 22px; color: var(--xt-muted);}
.htm .xt-breadcrumb ol{display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--xt-muted);}
.htm .xt-breadcrumb li + li::before{content: "/"; margin-right: 6px; color: #94a3b8;}
.htm .xt-breadcrumb a{color: var(--xt-blue-hover); font-weight: 600; text-decoration: none;}
.htm .xt-breadcrumb a:hover{text-decoration: underline;}
.htm .xt-breadcrumb [aria-current]{color: var(--xt-navy); font-weight: 600; overflow-wrap: anywhere;}
.htm .xt-product{display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 1fr);
  gap: 40px;
  align-items: start;}
@media (max-width: 960px){
.htm .xt-product{grid-template-columns: minmax(0, 1fr); gap: 28px;}
}
.htm .xt-product__main{display: grid; gap: 24px; min-width: 0;}
.htm .xt-product__media{aspect-ratio: var(--nd-media-ratio, 16 / 9);
  max-height: min(70vh, 620px);
  border-radius: var(--xt-r-xl);
  overflow: hidden;
  background: var(--xt-pale);
  border: 1px solid var(--xt-pale-2);}
.htm .xt-product__media img{display: block; width: 100%; height: 100%; object-fit: contain;}
.htm .xt-product__buy{position: sticky; top: calc(var(--xt-header-h) + 20px);}
@media (max-width: 960px){
.htm .xt-product__buy{position: static; order: -1;}
.htm .xt-product__main{order: 0;}
}
.htm .xt-panel{background: #fff;
  border: 1px solid var(--xt-line);
  border-radius: var(--xt-r-lg);
  padding: 26px;}
.htm .xt-panel--pale{background: var(--xt-pale); border-color: var(--xt-pale-2);}
.htm .xt-panel__title{margin: 0 0 14px; font-size: 21px; font-weight: 800;}
.htm .xt-panel__subtitle{margin: 22px 0 12px; font-size: 16px; font-weight: 800;}
@media (max-width: 600px){
.htm .xt-panel{padding: 20px;}
}
.htm .xt-prose{color: var(--xt-navy-2); line-height: 1.7; overflow-wrap: anywhere;}
.htm .xt-prose p{margin: 0 0 12px;}
.htm .xt-prose ul,
.htm .xt-prose ol{margin: 0 0 12px; padding-inline-start: 22px;}
.htm .xt-prose li{margin: 0 0 4px;}
.htm .xt-prose > :last-child{margin-bottom: 0;}
.htm .xt-prose a{color: var(--xt-blue); font-weight: 600; text-decoration: underline; text-underline-offset: 2px;}
.htm .xt-prose a:hover{color: var(--xt-blue-hover);}
.htm .xt-checklist,
.htm .xt-infolist{list-style: none; margin: 0; padding: 0; display: grid; gap: 12px;}
.htm .xt-checklist li,
.htm .xt-infolist li{display: flex; gap: 12px; align-items: flex-start;}
.htm .xt-checklist svg{flex-shrink: 0; margin-top: 2px; padding: 3px; box-sizing: content-box; border-radius: 50%; background: var(--xt-pale); color: var(--xt-blue);}
.htm .xt-infolist svg{flex-shrink: 0; color: var(--xt-blue); margin-top: 1px;}
.htm .xt-infolist span{color: var(--xt-navy-2);}
.htm .xt-buybox{background: #fff;
  border: 1px solid var(--xt-line);
  border-top: 5px solid var(--xt-blue);
  border-radius: var(--xt-r-xl);
  box-shadow: var(--xt-shadow);
  padding: 28px;}
@media (max-width: 600px){
.htm .xt-buybox{padding: 22px 18px;}
}
.htm .xt-buybox__title{margin: 0 0 8px; font-size: clamp(24px, 3vw, 30px); font-weight: 800; overflow-wrap: anywhere;}
.htm .xt-buybox__desc{margin: 0 0 18px; color: var(--xt-muted);}
.htm .xt-buybox__meta{display: flex; align-items: center; gap: 8px; margin: 10px 0 0; color: var(--xt-navy-2); font-weight: 600; font-size: 15px;}
.htm .xt-buybox__meta svg{color: var(--xt-blue);}
.htm .xt-buybox__note,
.htm .xt-summary__note{display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; color: var(--xt-muted); font-size: 13.5px;}
.htm .xt-buybox__note svg,
.htm .xt-summary__note svg{flex-shrink: 0; margin-top: 2px; color: var(--xt-blue);}
.htm .xt-choice{margin: 22px 0 0; padding: 0; border: 0; min-width: 0;}
.htm .xt-choice__legend{padding: 0; font-weight: 800; font-size: 15.5px; color: var(--xt-navy);}
.htm .xt-options{display: grid; gap: 10px; margin-top: 12px;}
.htm .xt-options--split{grid-template-columns: 1fr 1fr;}
@media (max-width: 420px){
.htm .xt-options--split{grid-template-columns: minmax(0, 1fr);}
}
.htm .xt-option{position: relative; display: block; cursor: pointer;}
.htm .xt-option input{position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
  margin: 0;}
.htm .xt-option__box{display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 10px 16px 10px 46px;
  border: 2px solid var(--xt-line);
  border-radius: var(--xt-r);
  background: #fff;
  position: relative;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
  box-sizing: border-box;}
.htm .xt-option__box::before{content: "";
  position: absolute;
  left: 16px; top: 50%;
  width: 18px; height: 18px;
  margin-top: -9px;
  border: 2px solid var(--xt-line-strong);
  border-radius: 50%;
  background: #fff;
  box-sizing: border-box;
  transition: border-color .15s ease, box-shadow .15s ease;}
.htm .xt-option__main{display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--xt-navy);}
.htm .xt-option__main svg{color: var(--xt-blue);}
.htm .xt-option__side{font-weight: 800; color: var(--xt-navy); white-space: nowrap;}
.htm .xt-option:hover .xt-option__box{border-color: #93c5fd;}
.htm .xt-option input:checked + .xt-option__box{border-color: var(--xt-blue); background: var(--xt-pale);}
.htm .xt-option input:checked + .xt-option__box::before{border-color: var(--xt-blue); box-shadow: inset 0 0 0 4px #fff; background: var(--xt-blue);}
.htm .xt-option input:focus-visible + .xt-option__box{box-shadow: var(--xt-focus);}
.htm .xt-options--split .xt-option__box{padding-right: 12px;}
.htm .xt-options--split .xt-option__main{font-size: 14.5px; line-height: 1.3;}
.htm .xt-mini-summary{margin: 24px 0 18px; padding: 16px 18px; border-radius: var(--xt-r); background: var(--xt-pale); display: grid; gap: 8px;}
.htm .xt-mini-summary div{display: flex; justify-content: space-between; gap: 12px;}
.htm .xt-mini-summary dt{color: var(--xt-muted);}
.htm .xt-mini-summary dd{margin: 0; font-weight: 700; text-align: right;}
.htm .xt-mini-summary__total{padding-top: 8px; border-top: 1px solid var(--xt-pale-2);}
.htm .xt-mini-summary__total dt,
.htm .xt-mini-summary__total dd{color: var(--xt-navy); font-weight: 800; font-size: 17px;}
.htm .xt-checkout{display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 32px;
  align-items: start;}
@media (max-width: 1020px){
.htm .xt-checkout{grid-template-columns: minmax(0, 1fr) 360px; gap: 24px;}
}
@media (max-width: 880px){
.htm .xt-checkout{grid-template-columns: minmax(0, 1fr);}
}
.htm .xt-checkout__form{display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; min-width: 0;}
.htm .xt-checkout__form > *{min-width: 0;}
.htm .xt-checkout__summary{position: sticky; top: calc(var(--xt-header-h) + 20px); min-width: 0;}
@media (max-width: 880px){
.htm .xt-checkout__summary{position: static;}
}
.htm .xt-card{background: #fff;
  border: 1px solid var(--xt-line);
  border-radius: var(--xt-r-lg);
  padding: 26px;}
@media (max-width: 600px){
.htm .xt-card{padding: 20px 16px;}
}
.htm .xt-card--pale{background: var(--xt-pale); border-color: var(--xt-pale-2);}
.htm .xt-card__title{display: flex; align-items: center; gap: 12px; margin: 0 0 6px; font-size: 20px; font-weight: 800;}
.htm .xt-card__num{display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 10px;
  background: var(--xt-navy);
  color: #fff;
  font-size: 15px;
  font-weight: 800;}
.htm .xt-card--pale .xt-card__num{background: var(--xt-blue);}
.htm .xt-card__text{margin: 6px 0 0; color: var(--xt-navy-2);}
.htm .xt-card .xt-choice:first-of-type{margin-top: 14px;}
.htm .xt-fields{display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; margin-top: 18px;}
.htm .xt-field--full{grid-column: 1 / -1;}
@media (max-width: 640px){
.htm .xt-fields{grid-template-columns: minmax(0, 1fr);}
}
.htm .xt-field{min-width: 0;}
.htm .xt-field > label{display: block; margin-bottom: 7px; font-weight: 700; font-size: 14.5px; color: var(--xt-navy);}
.htm .co-input{display: block;
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid var(--xt-line-strong);
  border-radius: var(--xt-r);
  background: #fff;
  color: var(--xt-navy);
  font: 500 16px/1.3 var(--xt-font); 
  box-sizing: border-box;
  transition: border-color .15s ease, box-shadow .15s ease;}
.htm .co-input::placeholder{color: #8796a8;}
.htm .co-input:hover{border-color: #94a3b8;}
.htm .co-input:focus{outline: none; border-color: var(--xt-blue); box-shadow: 0 0 0 4px rgba(8, 120, 209, 0.18);}
.htm .co-input:disabled{background: #f8fafc; color: var(--xt-muted);}
.htm .co-hint{margin: 6px 0 0; color: var(--xt-muted); font-size: 13.5px;}
.htm .xt-e164:empty{display: none;}
.htm .xt-e164{font-family: var(--xt-mono); color: var(--xt-blue-hover); font-weight: 600;}
.htm .co-error-text{display: none; margin: 6px 0 0; color: var(--xt-danger); font-size: 14px; font-weight: 600;}
.htm .co-error-text::before{content: "! "; font-weight: 800;}
.htm .co-field.has-error .co-error-text{display: block;}
.htm .co-field.has-error .co-input{border-color: var(--xt-danger); background: #fffafa;}
.htm .co-field.has-error .co-input:focus{box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.15);}
.htm .xt-error-summary{padding: 18px 20px;
  border: 2px solid var(--xt-danger);
  border-radius: var(--xt-r-lg);
  background: var(--xt-danger-soft);
  outline: none;}
.htm .xt-error-summary:focus{box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.2);}
.htm .xt-error-summary__title{display: flex; align-items: center; gap: 8px; margin: 0; font-size: 16.5px; color: var(--xt-danger);}
.htm .xt-error-summary ul{margin: 10px 0 0; padding-left: 28px;}
.htm .xt-error-summary ul:empty{display: none;}
.htm .xt-error-summary a{color: var(--xt-danger); font-weight: 700;}
.htm .combo-select{position: relative;}
.htm .combo-trigger{display: flex; align-items: center; gap: 10px; width: 100%; text-align: start; cursor: pointer;}
.htm .combo-flag-wrap{width: 22px; height: 16px; flex: 0 0 22px;
  display: inline-flex; align-items: center; justify-content: center;
  overflow: hidden; border-radius: 3px;
  background: var(--xt-pale-2);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.14);}
.htm .combo-flag{display: block; width: 100%; height: 100%; object-fit: cover;}
.htm .combo-flag-text{display: none; width: 100%; font-size: 9px; line-height: 1; font-weight: 700; text-align: center; color: var(--xt-navy);}
.htm .combo-flag-wrap.is-fallback .combo-flag{display: none;}
.htm .combo-flag-wrap.is-fallback .combo-flag-text{display: block;}
.htm .combo-flag-wrap[data-country-code=""]:not(.is-fallback){background: var(--xt-pale-2);}
.htm .combo-option .combo-flag-wrap{width: 20px; height: 15px; flex-basis: 20px;}
.htm .combo-label{flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--xt-navy);}
.htm .combo-label.is-placeholder{color: #8796a8;}
.htm .combo-caret{flex-shrink: 0; color: var(--xt-muted);}
.htm .combo-dial{color: var(--xt-navy); font-weight: 700; font-size: 15px; white-space: nowrap;}
.htm .combo-panel{display: none; flex-direction: column;
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 60;
  width: 300px; max-height: 340px;
  background: #fff;
  border: 1px solid var(--xt-line);
  border-radius: var(--xt-r);
  box-shadow: 0 24px 48px -16px rgba(15, 23, 42, 0.3);
  overflow: hidden;}
.htm .combo-panel.open{display: flex;}
.htm .combo-panel.combo-panel-compact{width: 310px;}
.htm .combo-panel.combo-panel-up{top: auto; bottom: calc(100% + 6px);}
.htm .combo-panel.combo-panel-align-end{left: auto; right: 0;}
.htm .combo-search-wrap{padding: 10px; border-bottom: 1px solid var(--xt-line); flex-shrink: 0;}
.htm .combo-search{min-height: 44px !important;}
.htm .combo-list{list-style: none; margin: 0; padding: 6px; overflow-y: auto; flex: 1;}
.htm .combo-option{display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; cursor: pointer; font-size: 15px;}
.htm .combo-option:hover,
.htm .combo-option.is-active{background: var(--xt-pale);}
.htm .combo-option-name{flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
.htm .combo-option-dial{color: var(--xt-muted); font-size: 13.5px; font-family: var(--xt-mono);}
.htm .combo-empty{padding: 18px 10px; text-align: center; color: var(--xt-muted); font-size: 14px;}
.htm .phone-input-group{display: flex; gap: 10px;}
.htm .phone-input-group .combo-select{flex-shrink: 0; width: 132px;}
.htm .phone-input-group .phone-national-input{flex: 1; min-width: 0;}
.htm .co-field.has-error .combo-trigger{border-color: var(--xt-danger);}
@media (max-width: 560px){
.htm .combo-panel,
.htm .combo-panel.combo-panel-compact{width: min(calc(100vw - 32px), 340px);}
.htm .phone-input-group .combo-select{width: 118px;}
}
.htm .xt-summary{background: #fff;
  border: 1px solid var(--xt-line);
  border-radius: var(--xt-r-xl);
  box-shadow: var(--xt-shadow);
  padding: 24px;}
@media (max-width: 600px){
.htm .xt-summary{padding: 20px 16px;}
}
.htm .xt-summary__head{display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--xt-line);}
.htm .xt-summary__thumb{aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--xt-pale);}
.htm .xt-summary__thumb img{display: block; width: 100%; height: 100%; object-fit: contain;}
.htm .xt-summary__thumb .xt-media-ph__brand,
.htm .xt-summary__thumb .xt-media-ph__unit{display: none;}
.htm .xt-summary__thumb .xt-media-ph__value{font-size: 28px;}
.htm .xt-summary__title{margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--xt-muted);}
.htm .xt-summary__product{margin: 4px 0 2px; font-weight: 800; font-size: 16.5px; overflow-wrap: anywhere;}
.htm .xt-summary__change{font-size: 14px; font-weight: 700; color: var(--xt-blue);}
.htm .xt-summary__rows{margin: 16px 0 0; display: grid; gap: 10px;}
.htm .xt-summary__rows > div{display: flex; justify-content: space-between; gap: 14px; font-size: 15px;}
.htm .xt-summary__rows > div[hidden]{display: none;}
.htm .xt-summary__rows dt{color: var(--xt-muted);}
.htm .xt-summary__rows dd{margin: 0; font-weight: 700; text-align: right; overflow-wrap: anywhere;}
.htm .xt-summary__muted dd{color: var(--xt-muted); font-weight: 500;}
.htm .xt-summary__discount dd{color: var(--xt-success);}
.htm .xt-summary__rows--totals{padding-top: 16px; border-top: 1px solid var(--xt-line);}
.htm .xt-summary__total{padding-top: 6px; align-items: baseline;}
.htm .xt-summary__total dt{color: var(--xt-navy) !important; font-weight: 800; font-size: 17px;}
.htm .xt-summary__total dd{font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: var(--xt-navy);}
.htm .xt-summary .xt-submit{margin-top: 20px;}
.htm .xt-coupon{margin-top: 18px; padding: 16px; border: 1.5px dashed var(--xt-pale-2); border-radius: var(--xt-r); background: #fbfdff;}
.htm .xt-coupon > label{display: block; margin-bottom: 8px; font-weight: 700; font-size: 14.5px;}
.htm .xt-coupon__row{display: flex; gap: 8px;}
.htm .xt-coupon__row .co-input{min-height: 46px; text-transform: uppercase;}
.htm .xt-coupon__row .co-input::placeholder{text-transform: none;}
.htm .xt-coupon__row .xt-btn{min-height: 46px; padding: 0 16px; flex-shrink: 0;}
.htm .xt-coupon__row .xt-btn.is-remove{background: #fff; color: var(--xt-danger); border-color: #f5c2bd;}
.htm .xt-coupon__msg{margin: 10px 0 0; padding: 8px 12px; border-radius: var(--xt-r-sm); font-size: 14px; font-weight: 700;}
.htm .xt-coupon__msg.co-coupon-success{background: var(--xt-success-soft); color: var(--xt-success);}
.htm .xt-coupon__msg.co-coupon-error{background: var(--xt-danger-soft); color: var(--xt-danger);}
.htm .xt-submit{position: relative; white-space: normal; text-align: center; line-height: 1.25;}
.htm .xt-submit__spinner{display: none;
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: xt-spin .7s linear infinite;}
.htm .xt-submit.is-loading{cursor: progress; opacity: .85; transform: none;}
.htm .xt-submit.is-loading .xt-submit__spinner{display: inline-block;}
@keyframes xt-spin{ to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce){
.htm .xt-submit__spinner{animation-duration: 1.6s !important; animation-iteration-count: infinite !important;}
}
.htm .xt-confirm{margin: 48px 0 28px;
  padding: 40px 32px;
  text-align: center;
  border-radius: var(--xt-r-xl);
  background:
    radial-gradient(circle at 1px 1px, rgba(8, 120, 209, 0.10) 1px, transparent 0) 0 0 / 22px 22px,
    var(--xt-pale);
  border: 1px solid var(--xt-pale-2);}
@media (max-width: 600px){
.htm .xt-confirm{margin-top: 28px; padding: 32px 18px;}
}
.htm .xt-confirm__badge{display: flex; width: 76px; height: 76px; align-items: center; justify-content: center; border-radius: 50%; background: var(--xt-success); color: #fff; box-shadow: 0 0 0 10px var(--xt-success-soft); margin: 0 auto 22px;}
.htm .xt-confirm h1{margin: 0 0 12px; font-size: clamp(28px, 4vw, 38px); font-weight: 800;}
.htm .xt-confirm .xt-eyebrow{display: flex; justify-content: center;}
.htm .xt-confirm .xt-lead{margin: 0 auto 12px;}
.htm .xt-confirm p{margin: 0 auto 8px; max-width: 60ch; color: var(--xt-navy-2);}
.htm .xt-confirm__email{display: inline-flex !important; align-items: center; gap: 8px; margin-top: 10px !important; padding: 8px 14px; border-radius: var(--xt-pill); background: #fff; font-weight: 600;}
.htm .xt-confirm__email svg{color: var(--xt-blue);}
.htm .xt-confirm-grid{display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: start;}
@media (max-width: 820px){
.htm .xt-confirm-grid{grid-template-columns: minmax(0, 1fr);}
}
.htm .xt-confirm-grid .xt-summary__title{margin-bottom: 4px;}
.htm .xt-status{display: inline-block; padding: 3px 10px; border-radius: var(--xt-pill); background: var(--xt-warning-soft); color: var(--xt-warning); font-size: 13.5px;}
.htm .xt-narrow > .xt-summary{margin-bottom: 24px;}
.htm .xt-narrow > .xt-summary .xt-btn{margin-top: 18px;}

/* ====================================================================
   Plugin layer: tokens from Settings → Design, theme integration,
   new components, responsive and RTL.
   ==================================================================== */
.htm {
  --xt-blue: var(--htm-primary, #0878d1);
  --xt-blue-hover: color-mix(in srgb, var(--htm-primary, #0878d1) 80%, #000);
  --xt-pale: color-mix(in srgb, var(--htm-primary, #0878d1) 7%, #fff);
  --xt-pale-2: color-mix(in srgb, var(--htm-primary, #0878d1) 18%, #fff);
  --xt-navy: var(--htm-text, #0f172a);
  --xt-success: color-mix(in srgb, var(--htm-accent, #16a34a) 85%, #000);
  --xt-r-lg: var(--htm-radius, 20px);
  --xt-r: calc(var(--htm-radius, 14px) * .75);
  --xt-font: var(--htm-font, inherit);
  --brand: var(--xt-blue);
  --brand-dark: var(--xt-blue-hover);
  --brand-soft: var(--xt-pale);
  --surface: var(--htm-surface, #fff);
  box-sizing: border-box;
  margin: 0 auto;
  padding: 0;
  max-width: 100%;
  overflow-x: visible;
  background: transparent;
  font-family: var(--xt-font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--xt-navy);
}
.htm *, .htm *::before, .htm *::after { box-sizing: border-box; }
.htm img { max-width: 100%; height: auto; }
.htm .xt-container { width: 100%; max-width: var(--xt-container, 1200px); margin-inline: auto; padding-inline: 0; }
.htm .xt-band { border-radius: var(--xt-r-lg); padding-inline: clamp(16px, 3vw, 32px); }
.htm .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.htm .htm-icon { flex: 0 0 auto; vertical-align: middle; }

/* Shop grid: columns from the setting / shortcode attribute */
.htm .xt-plans { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: repeat(var(--htm-columns, 3), minmax(0, 1fr)); }
.htm .xt-plan { list-style: none; margin: 0; }
.htm .xt-plan__card { height: 100%; }
.htm .htm-product__img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--xt-r); background: var(--xt-pale); }
.htm .htm-product__img--placeholder { display: grid; place-items: center; color: var(--xt-blue); }
.htm .xt-badge--save { background: var(--xt-success-soft); color: var(--xt-success); }

/* Single product */
.htm .htm-single__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.htm .htm-single__buy { display: flex; flex-direction: column; gap: 14px; }
.htm .htm-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin: 0; }
.htm .htm-meta { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--xt-muted); }
.htm .htm-h3 { font-size: 20px; margin: 12px 0 4px; }
.htm .htm-single__description { margin-top: 40px; }
.htm .htm-buy-form { display: flex; flex-direction: column; gap: 16px; }

/* Notices */
.htm .htm-notice { padding: 14px 16px; border-radius: var(--xt-r); background: var(--xt-pale); border: 1px solid var(--xt-pale-2); margin: 12px 0; }
.htm .htm-notice--info { background: var(--xt-pale); }
.htm .htm-notice--error { background: var(--xt-danger-soft, #fdecea); border-color: transparent; color: var(--xt-danger, #b42318); }

/* Customer portal inside the page */
.htm .htm-portal { display: flex; flex-direction: column; gap: 24px; }
.htm .htm-portal__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 8px; border: 1px solid var(--xt-line, #e2e8f0); border-radius: var(--xt-r-lg); background: var(--surface); }
.htm .htm-portal__nav ul { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; }
.htm .htm-portal__nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; text-decoration: none; font-weight: 600; color: var(--xt-navy); }
.htm .htm-portal__nav a:hover { background: var(--xt-pale); }
.htm .htm-portal__nav a.is-active { background: var(--xt-blue); color: #fff; }
.htm .htm-portal__logout { margin: 0; }
.htm .htm-portal__body { min-width: 0; }
.htm .nd-portal-login { padding: 0; min-height: 0; background: transparent; }

/* Tables (My orders) */
.htm .htm-table-wrap { overflow-x: auto; border: 1px solid var(--xt-line, #e2e8f0); border-radius: var(--xt-r); }
.htm .htm-table { width: 100%; border-collapse: collapse; }
.htm .htm-table th, .htm .htm-table td { padding: 12px 14px; text-align: start; border-bottom: 1px solid var(--xt-line, #e2e8f0); vertical-align: middle; }
.htm .htm-table th { font-size: 13px; color: var(--xt-muted); font-weight: 700; }

/* Generic button (shortcode [htm_buy_button]) */
.htm .htm-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.htm .htm-btn--primary { background: var(--xt-blue); color: #fff; }
.htm .htm-btn--primary:hover { background: var(--xt-blue-hover); color: #fff; }
.htm.htm-inline { display: inline-block; }

/* Responsive */
@media (max-width: 1024px) {
  .htm .xt-plans { grid-template-columns: repeat(min(var(--htm-columns, 3), 2), minmax(0, 1fr)); }
}
@media (max-width: 782px) {
  .htm .xt-plans { grid-template-columns: minmax(0, 1fr); }
  .htm .htm-single__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .htm .htm-portal__nav { flex-direction: column; align-items: stretch; }
  .htm .htm-portal__nav ul { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .htm .htm-portal__nav a { white-space: nowrap; }
  .htm .htm-table thead { display: none; }
  .htm .htm-table tr { display: block; border-bottom: 1px solid var(--xt-line, #e2e8f0); padding: 8px 0; }
  .htm .htm-table td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 6px 14px; }
  .htm .htm-table td::before { content: attr(data-label); font-weight: 700; color: var(--xt-muted); }
}

/* RTL (Arabic): logical properties above handle most of it; a few rules mirrored */
.htm[dir="rtl"] { text-align: right; }
.htm[dir="rtl"] .xt-breadcrumb ol, .htm[dir="rtl"] .xt-options, .htm[dir="rtl"] .xt-plan__facts li { direction: rtl; }
.htm[dir="rtl"] .xt-eyebrow::before { order: 2; }
.htm[dir="rtl"] .combo-trigger, .htm[dir="rtl"] .phone-input-group { direction: rtl; }
.htm[dir="rtl"] .phone-national-input, .htm[dir="rtl"] input[type="email"], .htm[dir="rtl"] .xt-e164 { direction: ltr; text-align: right; }
.htm[dir="rtl"] .combo-caret { margin-inline-start: auto; margin-left: 0; }
.htm[dir="rtl"] .xt-summary__rows div { flex-direction: row; }
.htm .htm-single__buy .xt-badge { position: static; align-self: flex-start; }

/* Layout follows the width the THEME gives the plugin (narrow content columns,
   sidebars, page builders), not only the screen width. */
.htm { container-type: inline-size; container-name: htm; }
.htm .xt-checkout__summary { top: 24px; }
@container htm (max-width: 860px) {
  .htm .xt-checkout { grid-template-columns: minmax(0, 1fr); }
  .htm .xt-checkout__summary { position: static; }
  .htm .xt-confirm-grid, .htm .nd-portal-shell, .htm .detail-grid, .htm .htm-single__grid, .htm .xt-product { grid-template-columns: minmax(0, 1fr); }
}
@container htm (max-width: 560px) {
  .htm .xt-plans { grid-template-columns: minmax(0, 1fr); }
  .htm .xt-fields { grid-template-columns: minmax(0, 1fr); }
  .htm .xt-options--split { grid-template-columns: minmax(0, 1fr); }
}

/* --- 1.2.1: activation note (paid packages) + WhatsApp trial button --- */
.htm .htm-activation-note { display: flex; align-items: flex-start; gap: 8px; color: var(--xt-navy); font-weight: 600; }
.htm .htm-activation-note .htm-icon { flex: 0 0 auto; margin-top: 2px; color: var(--xt-blue); }
.htm .htm-trial-wa { margin-top: 14px; }
.htm .htm-trial-wa__btn { gap: 8px; }
.htm .htm-trial-wa__note { margin-top: 8px; }
/* .htm is a size container (container queries); inline, the button wrapper must size to its content instead */
.htm.htm-trial-wa-wrap { display: inline-block; container-type: normal; }
.htm.htm-trial-wa-wrap .htm-trial-wa { margin-top: 0; }
.htm.htm-trial-wa-wrap .htm-trial-wa__btn { width: auto; white-space: nowrap; }
.htm .xt-confirm .htm-activation-note { justify-content: center; align-items: center; }

/* --- 1.3.0: country bar (approximate visitor country; filled per visitor by geo-bar.js) --- */
.htm .htm-geobar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; min-height: 44px; margin: 0 0 20px; padding: 10px 16px; border-radius: var(--xt-r, 10px); background: #081321; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.35; text-align: center; border-bottom: 2px solid var(--xt-blue, #FF7A18); box-sizing: border-box; }
.htm .htm-geobar__flag { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 16px; flex: 0 0 auto; color: var(--xt-blue, #FF7A18); }
.htm .htm-geobar__flag img { display: block; width: 22px; height: 16px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.htm .htm-geobar__world { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 500; }
.htm .htm-geobar__world[hidden] { display: none; }
.htm .htm-geobar__world .htm-icon { color: var(--xt-blue, #FF7A18); }
.htm .htm-geobar__sep { color: var(--xt-blue, #FF7A18); font-weight: 700; }
@media (max-width: 600px) { .htm .htm-geobar { min-height: 58px; font-size: 13px; padding: 9px 12px; } .htm .htm-geobar__sep { display: none; } }
.htm .co-optional { font-weight: 400; color: var(--xt-muted); }
