:root {
  --ht-amber: oklch(0.78 0.17 75);
  --ht-amber-bright: oklch(0.84 0.19 78);
  --ht-amber-tint: oklch(0.78 0.17 75 / 0.12);
  --ht-bg: oklch(0.19 0.006 250);
  --ht-bg-1: oklch(0.22 0.007 250);
  --ht-bg-2: oklch(0.26 0.008 250);
  --ht-bg-3: oklch(0.30 0.009 250);
  --ht-fg: oklch(0.97 0.003 250);
  --ht-dim: oklch(0.74 0.006 250);
  --ht-mute: oklch(0.54 0.008 250);
  --ht-border: oklch(0.32 0.008 250);
  --ht-border-strong: oklch(0.42 0.01 250);
  --ht-radius: 6px;
  --ht-radius-lg: 10px;
  --ht-container: 1240px;
  --ht-font: "Geist", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ht-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
[data-theme="light"] {
  --ht-bg: oklch(0.985 0.003 75);
  --ht-bg-1: oklch(0.975 0.004 75);
  --ht-bg-2: oklch(0.95 0.005 75);
  --ht-bg-3: oklch(0.92 0.006 75);
  --ht-fg: oklch(0.18 0.006 75);
  --ht-dim: oklch(0.38 0.008 75);
  --ht-mute: oklch(0.55 0.008 75);
  --ht-border: oklch(0.88 0.006 75);
  --ht-border-strong: oklch(0.78 0.008 75);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--ht-bg); color: var(--ht-fg); font-family: var(--ht-font); font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; letter-spacing: -0.005em; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ht-amber); }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; }
.ht-container { width: min(var(--ht-container), calc(100% - 48px)); margin: 0 auto; }
.ht-header { position: sticky; top: 0; z-index: 100; background: color-mix(in oklab, var(--ht-bg) 92%, transparent); border-bottom: 1px solid var(--ht-border); backdrop-filter: blur(12px); }
.ht-header-inner { width: min(var(--ht-container), calc(100% - 48px)); margin: 0 auto; min-height: 64px; display: flex; align-items: center; gap: 32px; }
.ht-logo { display: inline-flex; align-items: center; }
.ht-logo img { height: 39px; width: auto; display: block; }
.ht-nav { display: flex; gap: 4px; align-items: center; font-size: 14.5px; }
.ht-nav a { padding: 9px 14px; border-radius: var(--ht-radius); color: var(--ht-dim); font-weight: 500; }
.ht-nav a:hover { background: var(--ht-bg-2); color: var(--ht-fg); }
.ht-nav-item { position: relative; }
.ht-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 280px;
  padding: 6px;
  border: 1px solid var(--ht-border);
  border-radius: var(--ht-radius-lg);
  background: color-mix(in oklab, var(--ht-bg-1) 96%, transparent);
  box-shadow: 0 24px 60px oklch(0 0 0 / .5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .15s, transform .15s, visibility .15s;
  z-index: 20;
}
.ht-dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.ht-nav-item:hover .ht-dropdown,
.ht-nav-item:focus-within .ht-dropdown,
.ht-nav-item.ht-menu-opened .ht-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.ht-dropdown a { display: grid; gap: 2px; padding: 8px 10px; border-radius: var(--ht-radius); color: var(--ht-fg); font-size: 13px; }
.ht-dropdown a:hover { background: var(--ht-bg-2); color: var(--ht-fg); }
.ht-dropdown small { color: var(--ht-mute); font-size: 11px; line-height: 1.35; }
.ht-mega {
  position: fixed;
  top: 64px;
  left: 50%;
  width: min(980px, calc(100vw - 32px));
  max-height: calc(100vh - 88px);
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  background: var(--ht-bg-1);
  border: 1px solid var(--ht-border);
  border-radius: var(--ht-radius-lg);
  box-shadow: 0 24px 60px oklch(0 0 0 / .5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity .18s, transform .18s, visibility .18s;
  overflow: hidden;
  z-index: 60;
}
.ht-mega::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.ht-nav-item:hover .ht-mega,
.ht-nav-item:focus-within .ht-mega,
.ht-nav-item.ht-menu-opened .ht-mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.ht-mega-continents { padding: 8px; border-right: 1px solid var(--ht-border); background: var(--ht-bg); }
.ht-mega-continents a { display: flex; align-items: center; width: 100%; padding: 9px 10px; font-size: 13px; color: var(--ht-dim); }
.ht-mega-continents a:hover { color: var(--ht-fg); background: var(--ht-bg-2); }
.ht-mega-continents a.on { color: var(--ht-amber); background: var(--ht-amber-tint); }
.ht-mega-cities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: start; gap: 3px 8px; padding: 12px; max-height: min(520px, calc(100vh - 154px)); overflow-y: auto; overscroll-behavior: contain; }
.ht-mega-cities a[hidden] { display: none; }
.ht-mega-cities a { min-width: 0; display: grid; grid-template-columns: 20px 1fr; align-items: center; gap: 7px; padding: 7px 8px; color: var(--ht-fg); font-size: 13px; border-radius: var(--ht-radius); }
.ht-mega-cities a:hover { color: var(--ht-fg); background: var(--ht-bg-2); }
.ht-flag { width: 18px; height: 14px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 18px; }
.ht-flag img { width: 18px; height: 14px; display: block; border-radius: 0; object-fit: cover; background: transparent; border: 0; opacity: 1; }
.ht-mega-cities a:hover .ht-flag img,
.ht-footer-location-grid a:hover .ht-flag img { opacity: 1; }
.ht-mega-footer { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; padding: 12px 14px; border-top: 1px solid var(--ht-border); color: var(--ht-mute); font: 500 11px/1.4 var(--ht-mono); }
.ht-mega-footer span { margin-right: auto; }
.ht-mega-footer a { padding: 5px 0; color: var(--ht-amber); font-size: 11px; white-space: nowrap; }
.ht-header-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.ht-menu-toggle { display: none; margin-left: auto; width: 38px; height: 38px; border: 1px solid var(--ht-border); border-radius: var(--ht-radius); background: var(--ht-bg-1); color: var(--ht-fg); align-items: center; justify-content: center; flex-direction: column; gap: 4px; }
.ht-menu-toggle span, .ht-menu-toggle:before, .ht-menu-toggle:after { content: ""; display: block; width: 17px; height: 2px; border-radius: 99px; background: currentColor; transition: transform .18s, opacity .18s; }
.ht-menu-open .ht-menu-toggle span { opacity: 0; }
.ht-menu-open .ht-menu-toggle:before { transform: translateY(6px) rotate(45deg); }
.ht-menu-open .ht-menu-toggle:after { transform: translateY(-6px) rotate(-45deg); }
.ht-main { min-height: 58vh; padding: 44px 0 76px; }
.ht-page-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; padding: 0 0 24px; border-bottom: 1px solid var(--ht-border); margin-bottom: 24px; }
.ht-page-head h2 { margin: 0; font-size: clamp(24px, 3vw, 34px); line-height: 1.08; letter-spacing: -0.025em; }
.ht-page-head h1, .ht-hero-panel h1, .ht-dashboard-hero h1, .ht-section-head h1, .ht-auth-card h1, .ht-order-hero h1 { margin: 0; font-size: clamp(32px, 5vw, 54px); line-height: 1.04; letter-spacing: -0.03em; }
.ht-page-head p, .ht-hero-panel p, .ht-dashboard-hero p, .ht-section-head p, .ht-auth-card p, .ht-order-hero p { color: var(--ht-dim); margin: 10px 0 0; max-width: 62ch; }
.ht-client-menu { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: -10px 0 26px; padding-bottom: 18px; border-bottom: 1px solid var(--ht-border); }
.ht-client-menu a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px; border: 1px solid var(--ht-border); border-radius: 999px; color: var(--ht-dim); font: 500 12px/1 var(--ht-font); background: var(--ht-bg-1); }
.ht-client-menu a:hover { color: var(--ht-fg); border-color: var(--ht-border-strong); background: var(--ht-bg-2); }
.ht-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: var(--ht-radius); border: 1px solid var(--ht-border); background: var(--ht-bg-1); color: var(--ht-fg); font-weight: 500; cursor: pointer; white-space: nowrap; }
.ht-btn:hover { background: var(--ht-bg-2); border-color: var(--ht-border-strong); color: var(--ht-fg); }
.ht-btn-primary { background: var(--ht-amber); border-color: var(--ht-amber); color: oklch(0.15 0.01 75); font-weight: 700; }
.ht-btn-primary:hover { background: var(--ht-amber-bright); color: oklch(0.15 0.01 75); }
.ht-btn-ghost { background: transparent; border-color: transparent; color: var(--ht-dim); }
.ht-btn-lg { height: 42px; padding: 0 16px; }
.ht-btn-sm { height: 28px; padding: 0 9px; font-size: 12px; }
.ht-full { width: 100%; }
.ht-pill { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; border: 1px solid oklch(0.78 0.17 75 / 0.35); background: var(--ht-amber-tint); color: var(--ht-amber); font: 500 11px/1 var(--ht-mono); text-transform: uppercase; letter-spacing: .06em; }
.ht-grid { display: grid; gap: 16px; }
.ht-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ht-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ht-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ht-card, .ht-auth-card, .ht-form-card, .ht-hero-panel, .ht-dashboard-hero, .ht-order-hero, .ht-cart-total, .ht-invoice-head, .ht-product-top, .ht-ticket-head { background: var(--ht-bg-1); border: 1px solid var(--ht-border); border-radius: var(--ht-radius-lg); padding: 22px; }
.ht-link-card { min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; transition: border-color .15s, background .15s, transform .15s; }
.ht-link-card:hover { border-color: var(--ht-border-strong); background: var(--ht-bg-2); transform: translateY(-1px); color: var(--ht-fg); }
.ht-card h2, .ht-card h3, .ht-link-card h3, .ht-order-row h3 { margin: 0 0 8px; letter-spacing: -0.02em; }
.ht-card p, .ht-link-card p, .ht-order-row p, .ht-muted { color: var(--ht-dim); margin: 0; }
.ht-ticket-intro { margin-bottom: 16px; }
.ht-ticket-department { min-height: 124px; justify-content: flex-start; gap: 10px; }
.ht-ticket-department h3 { margin-bottom: 0; }
.ht-hero-panel, .ht-dashboard-hero, .ht-order-hero, .ht-invoice-head, .ht-product-top, .ht-ticket-head { display: flex; justify-content: space-between; gap: 24px; align-items: center; margin-bottom: 24px; }
.ht-hero-actions, .ht-product-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.ht-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.ht-stat { padding: 18px; border: 1px solid var(--ht-border); border-radius: var(--ht-radius-lg); background: var(--ht-bg-1); }
.ht-stat span, .ht-label { display: block; color: var(--ht-mute); font: 500 10px/1.3 var(--ht-mono); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.ht-stat strong { font-size: 28px; letter-spacing: -0.03em; }
.ht-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ht-list { display: grid; gap: 6px; }
.ht-list-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--ht-border); color: var(--ht-dim); }
.ht-list-row strong { color: var(--ht-fg); }
.ht-table-wrap { overflow-x: auto; border: 1px solid var(--ht-border); border-radius: var(--ht-radius-lg); background: var(--ht-bg-1); }
.ht-table { width: 100%; min-width: 760px; border-collapse: collapse; }
.ht-table th, .ht-table td { padding: 14px 16px; border-bottom: 1px solid var(--ht-border); text-align: left; vertical-align: middle; }
.ht-table th { background: var(--ht-bg); color: var(--ht-mute); font: 500 10px/1 var(--ht-mono); text-transform: uppercase; letter-spacing: .06em; }
.ht-table td span { display: block; color: var(--ht-mute); font-size: 12px; margin-top: 2px; }
.ht-table tr:last-child td { border-bottom: 0; }
.card { background: var(--ht-bg-1); border: 1px solid var(--ht-border); border-radius: var(--ht-radius-lg); margin-bottom: 18px; }
.card-body { padding: 20px; }
.card-title { margin: 0 0 12px; color: var(--ht-fg); }
.table-container { overflow-x: auto; border: 1px solid var(--ht-border); border-radius: var(--ht-radius-lg); background: var(--ht-bg-1); }
.table { width: 100%; border-collapse: collapse; color: var(--ht-fg); }
.table th, .table td { padding: 13px 15px; border-bottom: 1px solid var(--ht-border); text-align: left; vertical-align: middle; }
.table th { background: var(--ht-bg); color: var(--ht-mute); font: 500 10px/1 var(--ht-mono); text-transform: uppercase; letter-spacing: .06em; }
.table tr:last-child td { border-bottom: 0; }
.form-control, .custom-select { width: 100%; min-height: 42px; border: 1px solid var(--ht-border); border-radius: 8px; background: var(--ht-bg); color: var(--ht-fg); padding: 10px 12px; font: inherit; }
textarea.form-control { min-height: 140px; resize: vertical; }
.form-group { margin-bottom: 16px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 9px 14px; border: 1px solid var(--ht-border); border-radius: 999px; background: var(--ht-bg-1); color: var(--ht-fg); font-weight: 650; text-decoration: none; cursor: pointer; }
.btn:hover { border-color: var(--ht-border-strong); color: var(--ht-fg); }
.btn-primary { background: var(--ht-amber); border-color: var(--ht-amber); color: #141413; }
.btn-danger { background: #b4232a; border-color: #b4232a; color: #fff; }
.btn-success { background: #16894a; border-color: #16894a; color: #fff; }
.alert { border: 1px solid var(--ht-border); border-radius: var(--ht-radius-lg); padding: 14px 16px; margin-bottom: 16px; background: var(--ht-bg-1); color: var(--ht-fg); }
.alert-danger, .alert-error { border-color: rgba(220, 70, 70, .45); }
.alert-success { border-color: rgba(70, 180, 110, .45); }
.row { display: flex; flex-wrap: wrap; gap: 16px; }
.row > [class*="col-"] { flex: 1 1 220px; min-width: 0; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--ht-dim); }
.float-right, .float-sm-right, .float-md-right { float: right; }
.w-hidden { display: none; }
.table.w-hidden { display: table; }
.ht-status { display: inline-flex; align-items: center; min-height: 24px; padding: 3px 8px; border: 1px solid var(--ht-border); border-radius: 999px; color: var(--ht-dim); font: 500 11px/1 var(--ht-mono); text-transform: uppercase; }
.ht-status-active, .ht-status-open { color: var(--ht-amber); border-color: oklch(0.78 0.17 75 / 0.35); background: var(--ht-amber-tint); }
.ht-status-paid { color: oklch(0.58 0.16 145); border-color: oklch(0.66 0.18 145 / 0.34); background: oklch(0.66 0.18 145 / 0.12); }
.ht-status-unpaid, .ht-alert-error { color: oklch(0.62 0.2 28); border-color: oklch(0.66 0.2 28 / 0.34); background: oklch(0.66 0.2 28 / 0.12); }
.ht-status-cancelled, .ht-status-canceled { color: oklch(0.56 0.02 250); border-color: oklch(0.62 0.02 250 / 0.34); background: oklch(0.62 0.02 250 / 0.12); }
.ht-status-suspended { color: oklch(0.72 0.18 30); }
.ht-input, .ht-textarea, select { width: 100%; min-height: 38px; padding: 0 10px; border: 1px solid var(--ht-border); border-radius: var(--ht-radius); background: var(--ht-bg); color: var(--ht-fg); outline: none; }
.ht-textarea { padding: 10px; min-height: 120px; resize: vertical; }
.ht-input:focus, .ht-textarea:focus, select:focus { border-color: oklch(0.78 0.17 75 / 0.55); box-shadow: 0 0 0 3px var(--ht-amber-tint); }
label { display: grid; gap: 7px; color: var(--ht-dim); font-size: 13px; }
.ht-check { display: flex; align-items: center; gap: 8px; }
.ht-check input { width: auto; }
.ht-form-card, .ht-auth-card { display: grid; gap: 16px; max-width: 860px; }
.ht-form-card label { margin: 0; color: var(--ht-mute); font: 500 11px/1.35 var(--ht-mono); text-transform: uppercase; letter-spacing: .055em; }
.ht-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ht-form-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ht-form-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 4px; }
.ht-ticket-attachments { display: grid; gap: 10px; }
.ht-attachment-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.ht-captcha { margin-top: 4px; }
.ht-form-card .ht-muted { margin: 0; font-size: 12px; }
.ht-auth-shell { min-height: 60vh; display: grid; place-items: center; }
.ht-auth-card { max-width: 440px; width: 100%; }
.ht-auth-card-centered { margin: 0 auto; }
.ht-form-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.ht-auth-foot { font-size: 13px; text-align: center; }
.ht-section-head { margin-bottom: 22px; }
.ht-section-actions { display: flex; justify-content: flex-end; margin-bottom: 16px; }
.ht-empty { padding: 32px; color: var(--ht-dim); text-align: center; }
.ht-alert { border: 1px solid var(--ht-border); background: var(--ht-bg-1); border-radius: var(--ht-radius); padding: 12px 14px; margin-bottom: 14px; }
.ht-alert-success { color: var(--ht-amber); border-color: oklch(0.78 0.17 75 / 0.35); background: var(--ht-amber-tint); }
.ht-alert-warning { color: oklch(0.82 0.14 80); }
.ht-kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--ht-border); border-radius: var(--ht-radius); }
.ht-kv div { padding: 14px; background: var(--ht-bg); }
.ht-kv span { display: block; color: var(--ht-mute); font: 500 10px/1 var(--ht-mono); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.ht-invoice-total { display: block; font-size: 32px; letter-spacing: -0.03em; margin-bottom: 10px; text-align: right; }
.ht-pay-box { margin-top: 16px; }
.ht-ticket-thread { display: grid; gap: 12px; margin-bottom: 18px; }
.ht-ticket-message { border: 1px solid var(--ht-border); border-radius: var(--ht-radius-lg); background: var(--ht-bg-1); padding: 18px; }
.ht-ticket-message header { display: flex; justify-content: space-between; gap: 16px; color: var(--ht-mute); border-bottom: 1px solid var(--ht-border); padding-bottom: 10px; margin-bottom: 12px; }
.ht-ticket-message header strong { color: var(--ht-fg); }
.ht-content { color: var(--ht-dim); font-size: 15px; line-height: 1.7; }
.ht-content h1, .ht-content h2, .ht-content h3 { color: var(--ht-fg); letter-spacing: -0.02em; }
.ht-content p { margin: 0 0 16px; }
.ht-content ul, .ht-content ol { margin: 0 0 16px; padding-left: 22px; }
.ht-content table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.ht-content th, .ht-content td { border: 1px solid var(--ht-border); padding: 10px; }
.ht-content code { font-family: var(--ht-mono); color: var(--ht-amber); background: var(--ht-bg); border: 1px solid var(--ht-border); border-radius: 4px; padding: 1px 5px; }
.ht-order-list { display: grid; gap: 10px; }
.ht-order-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 18px; border: 1px solid var(--ht-border); border-radius: var(--ht-radius-lg); background: var(--ht-bg-1); }
.ht-order-row small { display: block; color: var(--ht-mute); margin-top: 8px; }
.ht-order-price { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.ht-order-price strong { font-size: 22px; letter-spacing: -0.03em; }
.ht-order-summary { padding: 18px; border: 1px solid var(--ht-border); border-radius: var(--ht-radius-lg); background: var(--ht-bg); min-width: 220px; text-align: right; }
.ht-order-summary span { display: block; color: var(--ht-mute); font: 500 10px/1 var(--ht-mono); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.ht-order-summary strong { font-size: 26px; }
.ht-checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 440px); gap: 20px; align-items: start; }
.ht-checkout-layout .ht-form-card { max-width: none; }
.ht-order-confirm { position: sticky; top: 96px; }
.ht-option-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.ht-option { display: grid; grid-template-columns: auto auto 1fr; gap: 10px; align-items: center; padding: 13px; border: 1px solid var(--ht-border); border-radius: var(--ht-radius); background: var(--ht-bg); color: var(--ht-fg); }
.ht-customer-section { display: grid; gap: 14px; }
.ht-customer-section h2 { margin: 0; }
.ht-customer-choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ht-customer-choice label { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: flex-start; padding: 14px; border: 1px solid var(--ht-border); border-radius: var(--ht-radius); background: var(--ht-bg); cursor: pointer; }
.ht-customer-choice label.is-active { border-color: oklch(0.78 0.17 75 / 0.55); background: var(--ht-amber-tint); }
.ht-customer-choice input { margin-top: 3px; }
.ht-customer-choice strong { display: block; color: var(--ht-fg); font-size: 13px; }
.ht-customer-choice small { display: block; color: var(--ht-mute); line-height: 1.45; }
.ht-customer-panel { display: grid; gap: 12px; }
.ht-payment-icon { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ht-border); border-radius: 8px; background: var(--ht-bg-1); color: var(--ht-amber); font-size: 15px; }
.ht-payment-name { min-width: 0; overflow-wrap: anywhere; }
.ht-config-list { display: grid; gap: 14px; margin-top: 12px; }
.ht-sticky-checkout { position: sticky; bottom: 0; display: flex; justify-content: flex-end; gap: 10px; padding: 14px 0; background: linear-gradient(180deg, transparent, var(--ht-bg) 32%); margin-top: 16px; }
.ht-cart-total { max-width: 420px; margin: 20px 0 0 auto; display: grid; gap: 12px; }
.ht-cart-total-compact { max-width: none; margin: 18px 0 0; padding: 0; border: 0; background: transparent; }
.ht-cart-total div { display: flex; justify-content: space-between; gap: 16px; color: var(--ht-dim); }
.ht-cart-grand { padding-top: 12px; border-top: 1px solid var(--ht-border); color: var(--ht-fg) !important; }
.ht-deploy-review { margin-top: 16px; display: grid; gap: 12px; }
.ht-deploy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--ht-border); border-radius: var(--ht-radius); margin-top: 12px; }
.ht-deploy-grid div { padding: 12px; background: var(--ht-bg); min-width: 0; }
.ht-deploy-grid span, .ht-deploy-lines span { display: block; color: var(--ht-mute); font: 500 10px/1.2 var(--ht-mono); text-transform: uppercase; letter-spacing: .055em; margin-bottom: 6px; }
.ht-deploy-grid strong { display: block; color: var(--ht-fg); font-size: 13px; overflow-wrap: anywhere; }
.ht-deploy-lines { display: grid; border: 1px solid var(--ht-border); border-radius: var(--ht-radius); overflow: hidden; margin-top: 12px; }
.ht-deploy-lines div { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 10px 12px; background: var(--ht-bg); border-bottom: 1px solid var(--ht-border); }
.ht-deploy-lines div:last-child { border-bottom: 0; }
.ht-deploy-lines span { margin-bottom: 0; text-transform: none; letter-spacing: 0; font-size: 12px; }
.ht-deploy-lines strong { color: var(--ht-fg); white-space: nowrap; }
.ht-deploy-lines .ht-deploy-total { background: var(--ht-bg-1); }
.ht-deploy-lines .ht-deploy-total span, .ht-deploy-lines .ht-deploy-total strong { color: var(--ht-amber); font-size: 13px; }

/* WHMCS store routes can still emit standard_cart markup even when the
   Hosthink order form is selected. Keep those pages inside our visual system. */
body.ht-whmcs #order-standard_cart {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--ht-fg) !important;
  background: transparent !important;
  font-family: var(--ht-font) !important;
}
body.ht-whmcs #order-standard_cart .cart-sidebar,
body.ht-whmcs #order-standard_cart .sidebar,
body.ht-whmcs #order-standard_cart .panel,
body.ht-whmcs #order-standard_cart .card {
  background: var(--ht-bg-1) !important;
  border: 1px solid var(--ht-border) !important;
  border-radius: var(--ht-radius-lg) !important;
  box-shadow: none !important;
  color: var(--ht-dim) !important;
}
body.ht-whmcs.ht-page-products #order-standard_cart > .row {
  display: block !important;
  margin: 0 !important;
}
body.ht-whmcs.ht-page-products #order-standard_cart .cart-sidebar {
  display: none !important;
}
body.ht-whmcs.ht-page-products #order-standard_cart .cart-body {
  width: 100% !important;
  max-width: none !important;
  flex: none !important;
  padding: 0 !important;
}
body.ht-whmcs #order-standard_cart .panel-heading,
body.ht-whmcs #order-standard_cart .card-header,
body.ht-whmcs #order-standard_cart .secondary-cart-body {
  background: transparent !important;
  border-color: var(--ht-border) !important;
  color: var(--ht-fg) !important;
}
body.ht-whmcs #order-standard_cart .panel-title,
body.ht-whmcs #order-standard_cart .card-title,
body.ht-whmcs #order-standard_cart h1,
body.ht-whmcs #order-standard_cart h2,
body.ht-whmcs #order-standard_cart h3,
body.ht-whmcs #order-standard_cart h4 {
  color: var(--ht-fg) !important;
  letter-spacing: -0.02em;
}
body.ht-whmcs #order-standard_cart .panel-body,
body.ht-whmcs #order-standard_cart .card-body,
body.ht-whmcs #order-standard_cart .cart-body {
  background: transparent !important;
  color: var(--ht-dim) !important;
}
body.ht-whmcs #order-standard_cart .cart-body {
  padding: 0 !important;
}
body.ht-whmcs #order-standard_cart .products {
  margin-top: 18px !important;
}
body.ht-whmcs #order-standard_cart .row-eq-height {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
}
body.ht-whmcs #order-standard_cart .row-eq-height::before,
body.ht-whmcs #order-standard_cart .row-eq-height::after {
  display: none !important;
}
body.ht-whmcs #order-standard_cart .row-eq-height > [class*="col-"] {
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.ht-whmcs #order-standard_cart .product {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 290px !important;
  background: var(--ht-bg-1) !important;
  border: 1px solid var(--ht-border) !important;
  border-radius: var(--ht-radius-lg) !important;
  box-shadow: none !important;
  overflow: hidden !important;
  color: var(--ht-dim) !important;
}
body.ht-whmcs #order-standard_cart .product:hover {
  border-color: var(--ht-border-strong) !important;
  background: var(--ht-bg-2) !important;
}
body.ht-whmcs #order-standard_cart .product header {
  background: transparent !important;
  border: 0 !important;
  padding: 18px 18px 12px !important;
  color: var(--ht-fg) !important;
}
body.ht-whmcs #order-standard_cart .product .header-bottom {
  display: flex !important;
  justify-content: space-between !important;
  gap: 16px !important;
  align-items: flex-start !important;
}
body.ht-whmcs #order-standard_cart .product .product-name {
  color: var(--ht-fg) !important;
  font-size: 20px !important;
  line-height: 1.15 !important;
  font-weight: 650 !important;
  letter-spacing: -0.02em !important;
}
body.ht-whmcs #order-standard_cart .product .product-pricing {
  margin: 0 !important;
  min-width: 118px !important;
  color: var(--ht-mute) !important;
  font: 500 11px/1.35 var(--ht-mono) !important;
  text-align: right !important;
}
body.ht-whmcs #order-standard_cart .product .product-pricing .price {
  display: block !important;
  margin: 2px 0 !important;
  color: var(--ht-amber) !important;
  font: 700 22px/1 var(--ht-font) !important;
  letter-spacing: -0.03em !important;
}
body.ht-whmcs #order-standard_cart .product .billing-cycle-name {
  color: var(--ht-mute) !important;
  font-size: 11px !important;
  margin: 2px 0 0 !important;
}
body.ht-whmcs #order-standard_cart .product .product-desc {
  flex: 1 !important;
  padding: 14px 18px !important;
  border-top: 1px solid var(--ht-border) !important;
  color: var(--ht-dim) !important;
  background: transparent !important;
}
body.ht-whmcs #order-standard_cart .product .product-desc p {
  margin: 0 !important;
  color: var(--ht-dim) !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}
body.ht-whmcs #order-standard_cart .product footer {
  margin-top: auto !important;
  padding: 0 18px 18px !important;
  background: transparent !important;
  border: 0 !important;
}
body.ht-whmcs #order-standard_cart .primary__btn,
body.ht-whmcs #order-standard_cart .btn-order-now,
body.ht-whmcs #order-standard_cart .btn-primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 36px !important;
  border-radius: var(--ht-radius) !important;
  border: 1px solid var(--ht-amber) !important;
  background: var(--ht-amber) !important;
  color: oklch(0.15 0.01 75) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}
body.ht-whmcs #order-standard_cart .primary__btn:hover,
body.ht-whmcs #order-standard_cart .btn-order-now:hover,
body.ht-whmcs #order-standard_cart .btn-primary:hover {
  background: var(--ht-amber-bright) !important;
  border-color: var(--ht-amber-bright) !important;
  color: oklch(0.15 0.01 75) !important;
}
body.ht-whmcs #order-standard_cart .form-control,
body.ht-whmcs #order-standard_cart .custom-select,
body.ht-whmcs #order-standard_cart select,
body.ht-whmcs #order-standard_cart input[type="text"],
body.ht-whmcs #order-standard_cart input[type="email"],
body.ht-whmcs #order-standard_cart input[type="password"] {
  min-height: 38px !important;
  border: 1px solid var(--ht-border) !important;
  border-radius: var(--ht-radius) !important;
  background: var(--ht-bg) !important;
  color: var(--ht-fg) !important;
  box-shadow: none !important;
}
body.ht-whmcs #order-standard_cart .list-group-item {
  background: transparent !important;
  border-color: var(--ht-border) !important;
  color: var(--ht-dim) !important;
}
body.ht-whmcs #order-standard_cart .list-group-item:hover,
body.ht-whmcs #order-standard_cart .list-group-item.active {
  background: var(--ht-bg-2) !important;
  color: var(--ht-fg) !important;
}
body.ht-whmcs #order-standard_cart .alert,
body.ht-whmcs #order-standard_cart .modal-content {
  background: var(--ht-bg-1) !important;
  border: 1px solid var(--ht-border) !important;
  color: var(--ht-dim) !important;
}
body.ht-whmcs #order-standard_cart .modal-header,
body.ht-whmcs #order-standard_cart .modal-footer {
  border-color: var(--ht-border) !important;
}

.ht-footer { border-top: 1px solid var(--ht-border); padding: 44px 0 26px; color: var(--ht-dim); background: var(--ht-bg); }
.ht-footer-grid { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 34px; }
.ht-footer-logo { margin-bottom: 14px; }
.ht-footer h4 { margin: 0 0 10px; color: var(--ht-fg); font: 600 11px/1 var(--ht-mono); text-transform: uppercase; letter-spacing: .07em; }
.ht-footer a { display: block; padding: 4px 0; color: var(--ht-dim); }
.ht-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; margin-top: 32px; border-top: 1px solid var(--ht-border); color: var(--ht-mute); font: 400 11px/1.4 var(--ht-mono); }
.ht-footer-actions { display: inline-flex; align-items: center; gap: 10px; }
.ht-footer-locations { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--ht-border); }
.ht-footer-locations-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 14px; }
.ht-footer-locations-head h4 { margin: 0 0 5px; color: var(--ht-fg); font: 600 11px/1 var(--ht-mono); text-transform: uppercase; letter-spacing: .07em; }
.ht-footer-locations-head p { margin: 0; max-width: 560px; color: var(--ht-mute); font-size: 12px; }
.ht-footer-locations-head span { color: var(--ht-mute); font: 400 11px/1.4 var(--ht-mono); white-space: nowrap; }
.ht-footer-location-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--ht-border); border-radius: var(--ht-radius-lg); overflow: hidden; background: var(--ht-bg); }
.ht-footer-location-group { min-width: 0; padding: 14px; border-right: 1px solid var(--ht-border); border-bottom: 1px solid var(--ht-border); background: color-mix(in oklab, var(--ht-bg-1) 72%, transparent); }
.ht-footer-location-group:nth-child(3n) { border-right: 0; }
.ht-footer-location-group:nth-last-child(-n+3) { border-bottom: 0; }
.ht-footer-location-group summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--ht-fg); font-size: 13px; font-weight: 600; }
.ht-footer-location-group summary::-webkit-details-marker { display: none; }
.ht-footer-location-group summary::after { content: '+'; width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ht-border); border-radius: 999px; color: var(--ht-mute); font-family: var(--ht-mono); font-size: 12px; flex: 0 0 auto; }
.ht-footer-location-group[open] summary::after { content: '-'; color: var(--ht-amber); border-color: oklch(0.78 0.17 75 / 0.35); }
.ht-footer-location-group summary em { margin-left: auto; color: var(--ht-mute); font: 400 10px/1.2 var(--ht-mono); text-transform: uppercase; letter-spacing: .05em; }
.ht-footer-location-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 12px; margin-top: 12px; }
.ht-footer-location-grid a { min-width: 0; display: grid; grid-template-columns: 20px 1fr; align-items: center; gap: 7px; padding: 4px 0; color: var(--ht-dim); font-size: 12px; }
.ht-footer-location-grid a span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ht-footer-location-grid a:hover { color: var(--ht-amber); }
.ht-theme-toggle {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--ht-border);
  border-radius: var(--ht-radius);
  background: var(--ht-bg-1);
  color: var(--ht-dim);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.ht-theme-toggle:hover { background: var(--ht-bg-2); border-color: var(--ht-border-strong); color: var(--ht-fg); }
.ht-theme-toggle svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.8; fill: none; }
.ht-theme-toggle .ht-sun-icon { display: none; }
[data-theme="light"] .ht-theme-toggle .ht-moon-icon { display: none; }
[data-theme="light"] .ht-theme-toggle .ht-sun-icon { display: block; }
@media (max-width: 980px) {
  .ht-grid-3, .ht-grid-4, .ht-stat-grid, .ht-footer-grid, .ht-option-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ht-checkout-layout { grid-template-columns: 1fr; }
  .ht-order-confirm { position: static; }
  .ht-footer-location-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ht-footer-location-group:nth-child(3n) { border-right: 1px solid var(--ht-border); }
  .ht-footer-location-group:nth-child(2n) { border-right: 0; }
  .ht-footer-location-group:nth-last-child(-n+3) { border-bottom: 1px solid var(--ht-border); }
  .ht-footer-location-group:nth-last-child(-n+2) { border-bottom: 0; }
  body.ht-whmcs #order-standard_cart .row-eq-height { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .ht-hero-panel, .ht-dashboard-hero, .ht-order-hero, .ht-invoice-head, .ht-product-top, .ht-ticket-head { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 900px) {
  .ht-header-inner { min-height: 64px; flex-wrap: wrap; padding: 12px 0; }
  .ht-menu-toggle { display: inline-flex; }
  .ht-nav, .ht-header-actions { display: none; width: 100%; margin-left: 0; border: 1px solid var(--ht-border); background: var(--ht-bg-1); padding: 8px; }
  .ht-menu-open .ht-nav, .ht-menu-open .ht-header-actions { display: flex; }
  .ht-nav { order: 3; flex-direction: column; align-items: stretch; border-radius: var(--ht-radius-lg) var(--ht-radius-lg) 0 0; }
  .ht-nav-item { display: grid; }
  .ht-dropdown { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; margin: 0 0 6px; background: var(--ht-bg); }
  .ht-dropdown::before { display: none; }
  .ht-mega { position: static; width: auto; max-height: none; display: grid; grid-template-columns: 1fr; opacity: 1; visibility: visible; pointer-events: auto; transform: none; box-shadow: none; margin: 0 0 6px; background: var(--ht-bg); }
  .ht-mega::before { display: none; }
  .ht-mega-continents { border-right: 0; border-bottom: 1px solid var(--ht-border); }
  .ht-mega-cities { grid-template-columns: 1fr; max-height: 280px; }
  .ht-mega-footer { display: grid; gap: 8px; }
  .ht-header-actions { order: 4; flex-direction: column; align-items: stretch; border-top: 0; border-radius: 0 0 var(--ht-radius-lg) var(--ht-radius-lg); }
  .ht-header-actions .ht-btn { width: 100%; height: 38px; }
}
@media (max-width: 680px) {
  .ht-container, .ht-header-inner { width: min(100% - 32px, var(--ht-container)); }
  .ht-main { padding-top: 28px; }
  .ht-grid-2, .ht-grid-3, .ht-grid-4, .ht-stat-grid, .ht-footer-grid, .ht-option-grid, .ht-customer-choice, .ht-kv { grid-template-columns: 1fr; }
  .ht-form-grid, .ht-form-grid-3 { grid-template-columns: 1fr; }
  .ht-footer-locations-head { display: block; }
  .ht-footer-locations-head span { display: inline-block; margin-top: 10px; }
  .ht-footer-location-groups, .ht-footer-location-grid { grid-template-columns: 1fr; }
  .ht-footer-location-group, .ht-footer-location-group:nth-child(2n), .ht-footer-location-group:nth-child(3n), .ht-footer-location-group:nth-last-child(-n+2), .ht-footer-location-group:nth-last-child(-n+3) { border-right: 0; border-bottom: 1px solid var(--ht-border); }
  .ht-footer-location-group:last-child { border-bottom: 0; }
  body.ht-whmcs #order-standard_cart .row-eq-height { grid-template-columns: 1fr !important; }
  body.ht-whmcs #order-standard_cart .product .header-bottom { display: grid !important; }
  body.ht-whmcs #order-standard_cart .product .product-pricing { text-align: left !important; }
  .ht-page-head { display: block; }
  .ht-order-row { grid-template-columns: 1fr; }
  .ht-order-price { justify-content: flex-start; }
  .ht-deploy-grid { grid-template-columns: 1fr; }
  .ht-deploy-lines div { align-items: flex-start; flex-direction: column; gap: 6px; }
  .ht-footer-bottom { display: flex; align-items: center; }
  .ht-footer-actions { margin-left: auto; }
  .ht-form-row { align-items: flex-start; flex-direction: column; }
}
