:root {
  --ink: #111214;
  --muted: #667085;
  --soft: #f6f7f8;
  --soft-2: #eef0f2;
  --line: #e2e5e9;
  --white: #ffffff;
  --success: #087a55;
  --danger: #b42318;
  --warning: #985a00;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 8px 24px rgba(17, 18, 20, .06);
  --shadow: 0 22px 60px rgba(17, 18, 20, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; object-fit: cover; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.pulse-dot { display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: #45d483; box-shadow: 0 0 0 4px rgba(69, 212, 131, .14); }

/* Header */
.topline { min-height: 34px; background: var(--ink); color: #fff; font-size: 11px; }
.topline-inner { min-height: 34px; display: flex; align-items: center; gap: 24px; }
.topline-inner > span:first-child { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topline-inner a { color: #d9dce1; font-weight: 700; }
.top-metric { color: #aeb4bd; }
.top-metric b { margin-left: 5px; color: #fff; }
.site-header { position: sticky; z-index: 70; top: 0; height: 72px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(18px); }
.nav-wrap { height: 100%; display: flex; align-items: center; gap: 14px; }
.nav-toggle { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-content: center; gap: 4px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.nav-toggle span { display: block; width: 17px; height: 2px; border-radius: 2px; background: var(--ink); }
.brand { display: flex; align-items: center; gap: 10px; min-width: max-content; }
.brand-logo { width: 40px; height: 40px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.brand-logo img { width: 100%; height: 100%; }
.brand b, .brand small { display: block; }
.brand b { font-size: 15px; letter-spacing: -.02em; }
.brand small { margin-top: 1px; color: #8b929d; font-size: 8px; font-weight: 800; letter-spacing: .15em; }
.main-nav { flex: 1; display: flex; align-items: center; justify-content: center; gap: 2px; }
.main-nav a { padding: 9px 10px; border-radius: 9px; color: #565d68; font-size: 12px; font-weight: 700; white-space: nowrap; }
.main-nav a:hover, .main-nav a.active { background: var(--soft); color: var(--ink); }
.nav-actions, .account-tools { display: flex; align-items: center; gap: 7px; }
.lang-switch { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 9px; }
.lang-switch a { padding: 4px 6px; border-radius: 6px; color: #7a828e; font-size: 9px; font-weight: 900; }
.lang-switch a.active { background: var(--ink); color: #fff; }
.balance-button { min-width: 104px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 10px; }
.balance-button small, .balance-button b { display: block; }
.balance-button small { color: var(--muted); font-size: 8px; }
.balance-button b { font-size: 12px; }
.account-pill { display: flex; align-items: center; gap: 7px; max-width: 145px; padding: 4px 8px 4px 4px; border: 1px solid var(--line); border-radius: 11px; }
.account-pill img { width: 32px; height: 32px; border-radius: 8px; }
.account-pill span { overflow: hidden; font-size: 10px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.logout-btn { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 9px; background: #fff; cursor: pointer; }

/* Buttons */
.btn { appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 10px 16px; border: 1px solid transparent; border-radius: 10px; font-size: 12px; font-weight: 800; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-primary, .btn-login { background: var(--ink); color: #fff; }
.btn-secondary, .btn-ghost { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-login { min-height: 38px; padding-inline: 15px; }
.btn-small { min-height: 34px; padding: 7px 11px; }
.btn-large { min-height: 48px; padding: 13px 20px; border-radius: 12px; }
.btn-wide { width: 100%; }
.simple-link, .text-link { border-bottom: 1px solid #aeb4bc; padding-bottom: 3px; font-size: 12px; font-weight: 800; white-space: nowrap; }

/* Home */
.home-hero { padding: 72px 0 54px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff 0%, #fafafa 100%); }
.home-hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr); align-items: center; gap: 70px; }
.hero-label, .section-label, .card-label { color: #747c88; font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.hero-label { display: inline-flex; align-items: center; gap: 8px; }
.hero-label i { width: 8px; height: 8px; border-radius: 50%; background: #15a66d; box-shadow: 0 0 0 5px rgba(21, 166, 109, .10); }
.hero-copy h1 { max-width: 730px; margin: 18px 0 22px; font-size: clamp(48px, 6vw, 76px); line-height: 1.02; letter-spacing: -.06em; }
.hero-copy h1 span { color: #8a9099; }
.hero-copy > p { max-width: 680px; margin: 0; color: #5e6672; font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 24px; color: #5e6671; font-size: 11px; }
.hero-summary { overflow: hidden; border: 1px solid #d9dde2; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.summary-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 23px 24px; border-bottom: 1px solid var(--line); }
.summary-heading small { color: #7b828d; font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.summary-heading h2 { margin: 4px 0 0; font-size: 18px; letter-spacing: -.02em; }
.online-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 99px; background: #eaf8f2; color: var(--success); font-size: 9px; font-weight: 900; }
.online-badge i, .availability i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.summary-stats { display: grid; grid-template-columns: repeat(3, 1fr); }
.summary-stats > div { min-width: 0; padding: 25px 18px; }
.summary-stats > div + div { border-left: 1px solid var(--line); }
.summary-stats span, .summary-stats b { display: block; }
.summary-stats span { min-height: 32px; color: var(--muted); font-size: 10px; }
.summary-stats b { margin-top: 6px; font-size: 25px; letter-spacing: -.04em; }
.summary-help { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin: 0 14px 14px; padding: 15px; border-radius: 14px; background: var(--soft); }
.help-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 900; }
.summary-help b { font-size: 12px; }
.summary-help p { margin: 2px 0 0; color: var(--muted); font-size: 10px; }
.summary-help > a { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.shortcut-section { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 26px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.shortcut-card { min-width: 0; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 17px; }
.shortcut-card + .shortcut-card { border-left: 1px solid var(--line); }
.shortcut-card:hover { background: var(--soft); }
.shortcut-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: var(--ink); color: #fff; font-size: 9px; font-weight: 900; }
.shortcut-card b, .shortcut-card small { display: block; }
.shortcut-card b { font-size: 12px; }
.shortcut-card small { overflow: hidden; margin-top: 2px; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.shortcut-card > i { color: #8b929c; font-style: normal; }
.catalog-section { padding: 78px 0; }
.soft-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--soft); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 27px; }
.section-heading h2 { margin: 7px 0 8px; font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: -.05em; }
.section-heading p { max-width: 680px; margin: 0; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.service-card, .instant-product-card, .store-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.service-card:hover, .instant-product-card:hover, .store-card:hover { border-color: #c9ced5; box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.service-card { padding: 18px; }
.service-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.service-initial { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 900; }
.availability { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 99px; font-size: 8px; font-weight: 800; }
.availability.available { background: #eaf8f2; color: var(--success); }
.availability.unavailable { background: #fff0ee; color: var(--danger); }
.service-card h3 { margin: 18px 0 5px; font-size: 17px; }
.service-card > p, .instant-product-card > p, .store-card-body > p { min-height: 43px; margin: 0; color: var(--muted); font-size: 11px; }
.card-bottom { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--line); }
.card-price small, .card-price strong { display: block; }
.card-price small { color: var(--muted); font-size: 9px; }
.card-price strong { margin-top: 2px; font-size: 18px; letter-spacing: -.03em; }
.instant-product-grid, .store-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.instant-product-card { padding: 22px; }
.instant-product-card h3 { min-height: 48px; margin: 13px 0 7px; font-size: 19px; line-height: 1.3; }
.product-meta { display: flex; gap: 18px; margin-top: 20px; color: var(--muted); font-size: 10px; }
.product-meta b { color: var(--ink); }
.store-card { overflow: hidden; }
.store-card-media { position: relative; aspect-ratio: 1.65; display: grid; place-items: center; overflow: hidden; background: #eceef1; }
.store-card-media img { width: 100%; height: 100%; transition: transform .3s ease; }
.store-card:hover .store-card-media img { transform: scale(1.025); }
.product-placeholder { color: #c3c8cf; font-size: 45px; font-weight: 950; letter-spacing: -.08em; }
.delivery-badge { position: absolute; left: 12px; bottom: 12px; padding: 6px 8px; border: 1px solid rgba(0,0,0,.08); border-radius: 7px; background: rgba(255,255,255,.92); font-size: 8px; font-weight: 900; backdrop-filter: blur(8px); }
.store-card-body { padding: 20px; }
.store-card-body h3 { margin: 8px 0 6px; font-size: 20px; letter-spacing: -.03em; }
.support-strip { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 60px; margin-bottom: 70px; padding: 32px; border-radius: var(--radius-lg); background: var(--ink); color: #fff; }
.support-strip > div { display: flex; align-items: center; gap: 18px; }
.support-mark { width: 58px; height: 58px; display: grid; place-items: center; flex: 0 0 58px; border-radius: 16px; background: #fff; color: var(--ink); font-weight: 950; }
.support-strip small { color: #aeb4bd; font-size: 8px; font-weight: 900; letter-spacing: .14em; }
.support-strip h2 { margin: 3px 0; font-size: 24px; }
.support-strip p { margin: 0; color: #aeb4bd; font-size: 11px; }
.support-strip .btn-primary { background: #fff; color: var(--ink); }
.empty-state { grid-column: 1 / -1; padding: 48px 24px; border: 1px dashed #c7ccd3; border-radius: var(--radius); color: var(--muted); text-align: center; }
.notice { margin: 20px 0; padding: 13px 16px; border: 1px solid; border-radius: var(--radius-sm); }
.notice.danger { border-color: #ffd5d1; background: #fff5f4; color: #9b1c1c; }

/* Inner pages */
.page-main { min-height: 70vh; padding-top: 52px; padding-bottom: 80px; }
.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.page-heading h1 { margin: 6px 0; font-size: clamp(34px, 5vw, 50px); letter-spacing: -.05em; }
.page-heading p { margin: 0; color: var(--muted); }
.kicker { color: #777f8a; font-size: 9px; font-weight: 900; letter-spacing: .15em; }
.back-link { display: inline-flex; margin-bottom: 22px; font-size: 12px; font-weight: 800; }
.detail-grid, .product-detail-main { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
.detail-media { min-height: 430px; display: grid; place-items: center; overflow: hidden; border-radius: var(--radius-lg); background: var(--soft); }
.detail-media img { width: 100%; height: 100%; max-height: 620px; }
.detail-media span { color: #c6cbd2; font-size: 110px; font-weight: 950; }
.detail-copy h1 { margin: 12px 0 20px; font-size: clamp(38px, 5vw, 60px); line-height: 1.05; letter-spacing: -.05em; }
.detail-copy > p, .product-detail-description { color: var(--muted); }
.detail-facts { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; margin: 24px 0; border: 1px solid var(--line); border-radius: 14px; }
.detail-facts > div { padding: 15px; }
.detail-facts > div + div { border-left: 1px solid var(--line); }
.detail-facts small, .detail-facts b { display: block; }
.detail-facts small { color: var(--muted); font-size: 9px; }
.detail-buy { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.detail-buy > strong { font-size: 28px; }
.security-caption { color: var(--muted); font-size: 10px !important; }
.tabs, .history-filters, .filter-bar { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-bar { justify-content: space-between; margin-bottom: 18px; }
.tab, .history-filters a { padding: 8px 12px; border: 1px solid var(--line); border-radius: 9px; background: #fff; font-size: 10px; font-weight: 800; cursor: pointer; }
.tab.active, .history-filters a.active { background: var(--ink); color: #fff; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.search-box { display: flex; align-items: center; gap: 6px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; }
.search-box input { padding: 9px; border: 0; outline: 0; background: transparent; }
.rental-showcase { display: grid; grid-template-columns: 1fr 280px; gap: 25px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.rental-points, .product-facts { display: flex; flex-wrap: wrap; gap: 12px; }
.rental-buy, .product-detail-buy { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); text-align: center; }
.big-stock b, .big-stock small { display: block; }
.big-stock b { font-size: 38px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step { padding: 22px; border-radius: var(--radius); background: var(--soft); }
.step b { color: #b7bdc5; font-size: 34px; }
.step p { color: var(--muted); }

/* Tables, forms and admin */
.table-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.table-scroll { overflow: auto; }
table { width: 100%; min-width: 800px; border-collapse: collapse; }
th { padding: 12px 14px; background: var(--soft); color: #747c87; font-size: 8px; font-weight: 900; letter-spacing: .09em; text-align: left; text-transform: uppercase; }
td { padding: 13px 14px; border-top: 1px solid var(--line); font-size: 11px; }
td small, td b { display: block; }
td small { color: var(--muted); font-size: 9px; }
.money-cell { font-weight: 850; }
.status { display: inline-flex !important; padding: 5px 8px; border-radius: 99px; background: var(--soft-2); font-size: 8px !important; font-weight: 900; text-transform: uppercase; }
.status-completed { background: #eaf8f2; color: var(--success); }
.status-pending, .status-processing, .status-running, .status-awaiting_delivery { background: #fff5df; color: var(--warning); }
.status-partial { background: #eef2ff; color: #4338ca; }
.status-cancelled, .status-canceled { background: #f1f3f5; color: #59616d; }
.status-failed, .status-failed_refunded { background: #fff0ee; color: var(--danger); }
.table-actions { display: flex; gap: 5px; }
.icon-btn { padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 9px; font-weight: 850; cursor: pointer; }
.icon-btn.accent { background: var(--ink); color: #fff; }
.pagination { display: flex; justify-content: center; gap: 5px; margin-top: 18px; }
.pagination a { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; }
.pagination a.active { background: var(--ink); color: #fff; }
.mail-grid, .api-orders { display: grid; gap: 10px; }
.mail-card { display: grid; grid-template-columns: auto 1fr auto; gap: 13px; padding: 14px; border: 1px solid var(--line); border-radius: 13px; }
.mail-avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; background: var(--ink); color: #fff; }
.mail-title h3 { margin: 0; }
.mail-title p { color: var(--muted); font-size: 10px; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; margin-bottom: 20px; }
.admin-stat { padding: 16px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.admin-stat small, .admin-stat b, .admin-stat span { display: block; }
.admin-stat small, .admin-stat span { color: var(--muted); font-size: 9px; }
.admin-stat b { font-size: 23px; }
.admin-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; }
.admin-form, .glass { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.glass { box-shadow: var(--shadow-sm); }
.form-head { display: flex; justify-content: space-between; gap: 15px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.form-head h2 { margin: 0; }
.form-head p { color: var(--muted); font-size: 10px; }
.form-section { padding: 20px 0; border-bottom: 1px solid var(--line); }
.form-section h3 { font-size: 13px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid.thirds { grid-template-columns: repeat(3, 1fr); }
.form-grid label.full { grid-column: 1 / -1; }
.form-grid label small { color: var(--muted); font-size: 9px; }
.toggle-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.switch-row, .toggle-label { display: flex; align-items: center; justify-content: space-between; padding: 10px; border: 1px solid var(--line); border-radius: 9px; font-size: 10px; }
.admin-side { display: grid; align-content: start; gap: 11px; }
.preview-card, .security-note { padding: 15px; border: 1px solid var(--line); border-radius: 13px; }
.preview-banner img { width: 50px; height: 50px; border-radius: 12px; }
.security-note p { color: var(--muted); font-size: 10px; }
.color-input { display: grid; grid-template-columns: 50px 1fr; gap: 7px; }
.admin-form > label { display: block; margin: 12px 0; }
.admin-form > label > span, .auth-form label > span, .form-grid label > span, .topup-form > label span { display: block; margin-bottom: 5px; color: #5f6772; font-size: 10px; font-weight: 800; }
.admin-form input, .admin-form textarea, .admin-form select, .auth-form input, .form-grid input, .form-grid textarea, .form-grid select, .topup-form input, .key-row input, .checkout-email input { width: 100%; padding: 10px 11px; border: 1px solid #d1d6dc; border-radius: 9px; background: #fff; outline: 0; }
.admin-form input:focus, .admin-form textarea:focus, .auth-form input:focus, .form-grid input:focus, .form-grid textarea:focus, .topup-form input:focus { border-color: #777f89; box-shadow: 0 0 0 3px rgba(17,18,20,.05); }
.admin-form details, td details { margin-top: 7px; }
td details summary { font-size: 9px; font-weight: 900; cursor: pointer; }
td details textarea { width: 250px; display: block; margin: 7px 0; padding: 8px; border: 1px solid var(--line); border-radius: 8px; }
.alert { padding: 12px 15px; border: 1px solid var(--line); border-radius: 10px; }
.alert-error { background: #fff0ee; color: var(--danger); }

/* Top up and API documentation */
.topup-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 18px; }
.topup-form, .payment-card { padding: 22px; border-radius: var(--radius); }
.topup-form > label { display: block; margin: 17px 0; }
.quick-amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 15px; }
.quick-amounts button { padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 9px; cursor: pointer; }
.topup-balance small, .topup-balance b { display: block; }
.topup-balance small { color: var(--muted); font-size: 9px; }
.topup-balance b { font-size: 23px; }
.qr-wrap { display: grid; place-items: center; }
.qr-wrap img { width: min(320px, 100%); border-radius: 14px; }
.payment-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 15px; }
.payment-detail span { padding: 10px; border-radius: 9px; background: var(--soft); color: var(--muted); font-size: 9px; }
.payment-detail b { display: block; margin-top: 3px; color: var(--ink); font-size: 12px; }
.payment-detail .important { grid-column: 1 / -1; background: var(--ink); color: #aaa; }
.payment-detail .important b { color: #fff; font-size: 16px; }
.payment-wait { color: var(--muted); font-size: 10px; text-align: center; }
.payment-placeholder { padding: 50px 20px; text-align: center; }
.payment-placeholder > span { font-size: 54px; }
.payment-code-preview { margin-top: 18px; padding: 14px; border-radius: 11px; background: var(--soft); }
.payment-code-preview small, .payment-code-preview b { display: block; }
.api-page { max-width: 1120px; }
.api-doc-grid, .api-note-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.api-doc-card, .api-info-card, .api-key-panel, .api-reference, .api-warning { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.api-quick-nav { display: flex; flex-wrap: wrap; gap: 5px; margin: 14px 0; }
.api-quick-nav a, .language-switch button { padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 9px; font-weight: 850; }
.api-balance { font-size: 24px; font-weight: 900; }
.key-row { display: flex; gap: 7px; }
.key-row input { flex: 1; min-width: 0; }
.api-endpoints, .code-library { display: grid; gap: 13px; }
.api-step { padding: 13px; border-left: 2px solid var(--ink); background: var(--soft); }
.code-sample { overflow: hidden; border: 1px solid #292c31; border-radius: 13px; background: var(--ink); color: #e6e8eb; }
.code-head { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-bottom: 1px solid #303339; }
.code-head button { padding: 6px 8px; border: 1px solid #444850; border-radius: 7px; background: #24262b; color: #fff; font-size: 8px; }
.code-sample pre { margin: 0; padding: 15px; overflow: auto; font-size: 11px; }
.method { display: inline-flex; padding: 4px 6px; border-radius: 6px; font-size: 8px; font-weight: 900; }
.method.get, .get { background: #e8f8f2; color: var(--success); }
.method.post, .post { background: #e9efff; color: #2545bb; }
.seo-note { padding: 16px; border: 1px dashed #bdc3cb; border-radius: 13px; }

/* Footer and overlays */
.site-footer { padding: 56px 0 20px; border-top: 1px solid var(--line); background: var(--soft); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 45px; }
.footer-brand { font-size: 22px; font-weight: 950; }
.footer-grid p { max-width: 440px; color: var(--muted); font-size: 11px; }
.footer-grid h3 { font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.footer-grid a { display: block; margin: 7px 0; color: #5e6672; font-size: 11px; }
.footer-badge { display: inline-flex; padding: 6px 8px; border: 1px solid #cbd0d7; border-radius: 7px; font-size: 8px; font-weight: 900; }
.copyright { margin-top: 30px; padding-top: 16px; border-top: 1px solid #dde0e4; color: #747c87; font-size: 9px; }
.modal { position: fixed; z-index: 100; inset: 0; display: none; align-items: center; justify-content: center; padding: 18px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(13,16,21,.42); backdrop-filter: blur(10px); }
.modal-card { position: relative; width: min(610px, 100%); max-height: 90vh; overflow: auto; padding: 28px; border: 1px solid #dce0e5; border-radius: 20px; background: #fff; box-shadow: 0 40px 110px rgba(0,0,0,.25); animation: modalIn .22s ease; }
.modal-close { position: absolute; top: 13px; right: 13px; width: 33px; height: 33px; border: 1px solid var(--line); border-radius: 9px; background: #fff; font-size: 19px; cursor: pointer; }
.modal h2 { margin: 5px 40px 8px 0; font-size: 27px; letter-spacing: -.035em; }
.modal-sub { color: var(--muted); font-size: 11px; }
.confirm-box, .result-box, .delivery-pending { margin: 15px 0; padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.confirm-row { display: flex; justify-content: space-between; gap: 10px; margin: 8px 0; }
.confirm-row span { color: var(--muted); }
.total-row { padding-top: 11px; border-top: 1px solid var(--line); }
.quantity-control { display: flex; align-items: center; gap: 5px; }
.quantity-control button { width: 31px; height: 31px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.quantity-control input { width: 56px; padding: 5px; border: 1px solid var(--line); border-radius: 7px; text-align: center; }
.checkout-email { display: block; margin: 13px 0; }
.checkout-email span { display: block; margin-bottom: 5px; font-size: 10px; font-weight: 800; }
.modal-actions { display: flex; justify-content: flex-end; gap: 7px; margin-top: 14px; }
.result-box pre { white-space: pre-wrap; word-break: break-word; font-size: 11px; }
.result-code { padding: 16px; font-size: 33px; font-weight: 950; text-align: center; }
.account-results { display: grid; gap: 7px; margin-top: 13px; }
.account-line { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 7px; padding: 9px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.account-line code { word-break: break-all; }
.account-line button { padding: 6px; border: 0; border-radius: 6px; background: var(--ink); color: #fff; font-size: 8px; }
.toast-stack { position: fixed; z-index: 130; right: 18px; bottom: 18px; width: min(350px, calc(100% - 36px)); display: grid; gap: 8px; }
.toast { padding: 12px 14px; border-radius: 10px; background: var(--ink); color: #fff; box-shadow: var(--shadow); font-size: 11px; }
.toast.error { background: #9f1c15; }
.loading-layer { position: fixed; z-index: 120; inset: 0; display: none; place-content: center; background: rgba(255,255,255,.84); text-align: center; backdrop-filter: blur(9px); }
.loading-layer.open { display: grid; }
.loader-ring { width: 46px; height: 46px; border: 3px solid #dfe2e7; border-top-color: var(--ink); border-radius: 50%; animation: spin 1s linear infinite; }
.auth-card { width: min(560px, 100%); }
.auth-brand { display: flex; align-items: center; gap: 12px; }
.auth-brand img { width: 48px; height: 48px; border-radius: 12px; }
.auth-brand h2 { margin: 2px 0; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; margin: 20px 0 17px; padding: 4px; border-radius: 10px; background: var(--soft-2); }
.auth-tabs button { padding: 9px; border: 0; border-radius: 8px; background: transparent; font-size: 11px; font-weight: 850; }
.auth-tabs button.active { background: #fff; box-shadow: 0 3px 10px rgba(0,0,0,.07); }
.auth-form { display: none; }
.auth-form.active { display: grid; gap: 12px; }
.auth-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.remember-row { display: flex !important; align-items: center; gap: 7px; }
.remember-row input { width: 15px; }
.remember-row span { margin: 0 !important; }
.auth-error { min-height: 14px; margin: 0; color: var(--danger); font-size: 10px; }
.auth-note, .auth-switch { margin: 0; color: var(--muted); font-size: 10px; text-align: center; }
.auth-switch button { border: 0; background: none; font-weight: 900; cursor: pointer; }
.google-btn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 11px; font-weight: 850; }
.google-btn:disabled { opacity: .45; }
.google-btn span { font-size: 16px; }
.turnstile-box { min-height: 65px; display: flex; justify-content: center; }

.reveal { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes modalIn { from { opacity: 0; transform: translateY(10px) scale(.985); } }

@media (max-width: 1080px) {
  .main-nav a { padding-inline: 6px; }
  .home-hero-grid { gap: 35px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .instant-product-grid, .store-grid { grid-template-columns: repeat(2, 1fr); }
  .shortcut-section { grid-template-columns: repeat(2, 1fr); }
  .shortcut-card:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .shortcut-card:nth-child(4) { border-top: 1px solid var(--line); }
  .account-pill span { display: none; }
}

@media (max-width: 900px) {
  .site-header { height: 66px; }
  .brand { flex: 1; }
  .main-nav { position: absolute; top: 72px; right: 20px; left: 20px; display: none; flex-direction: column; align-items: stretch; padding: 9px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 11px; }
  .home-hero-grid, .detail-grid, .product-detail-main, .topup-layout { grid-template-columns: 1fr; }
  .hero-summary { max-width: 720px; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-side { grid-template-columns: 1fr 1fr; }
  .rental-showcase { grid-template-columns: 1fr; }
}

@media (min-width: 901px) {
  .main-nav { display: flex !important; }
  .nav-toggle { cursor: default; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 26px, 1180px); }
  .topline-inner { justify-content: center; }
  .topline-inner > span:first-child { text-align: center; }
  .topline-inner .top-metric, .topline-inner a { display: none; }
  .brand-logo { width: 35px; height: 35px; }
  .brand small { display: none; }
  .brand b { font-size: 13px; }
  .nav-toggle { width: 37px; height: 37px; flex-basis: 37px; }
  .lang-switch, .balance-button, .account-tools form { display: none; }
  .account-pill { padding: 3px; border: 0; }
  .btn-login { padding-inline: 11px; }
  .home-hero { padding: 50px 0 38px; }
  .hero-copy h1 { font-size: 45px; }
  .hero-copy > p { font-size: 14px; line-height: 1.7; }
  .hero-actions .btn { flex: 1; }
  .hero-trust { gap: 9px 14px; }
  .summary-heading { padding: 18px; }
  .summary-stats > div { padding: 18px 12px; }
  .summary-stats span { min-height: 30px; font-size: 9px; }
  .summary-stats b { font-size: 20px; }
  .shortcut-section, .service-grid, .instant-product-grid, .store-grid { grid-template-columns: 1fr; }
  .shortcut-card + .shortcut-card { border-left: 0; border-top: 1px solid var(--line); }
  .catalog-section { padding: 58px 0; }
  .section-heading { align-items: start; flex-direction: column; gap: 10px; }
  .section-heading h2 { font-size: 36px; }
  .support-strip { align-items: stretch; flex-direction: column; margin-top: 40px; margin-bottom: 50px; padding: 24px; }
  .support-strip > div { align-items: flex-start; }
  .support-mark { display: none; }
  .support-strip .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .page-heading { align-items: start; flex-direction: column; }
  .detail-media { min-height: 290px; }
  .detail-buy { align-items: stretch; flex-direction: column; }
  .steps, .form-grid, .form-grid.thirds, .auth-form .form-grid, .toggle-grid, .api-doc-grid, .api-note-grid, .payment-detail { grid-template-columns: 1fr; }
  .payment-detail .important { grid-column: auto; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .admin-side { grid-template-columns: 1fr; }
  .modal-card { padding: 23px 17px; border-radius: 16px; }
  .quick-amounts { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* V5 — Aurora interface */
:root {
  --ink: #17142d;
  --muted: #716f83;
  --soft: #f7f6fb;
  --soft-2: #eeecf7;
  --line: #e5e1f0;
  --success: #078767;
  --danger: #c43755;
  --accent: #7057ff;
  --accent-dark: #4b36d1;
  --accent-soft: #efecff;
  --coral: #ff6b7d;
  --cyan: #44c7da;
  --shadow-sm: 0 10px 30px rgba(61, 44, 125, .08);
  --shadow: 0 26px 75px rgba(49, 35, 105, .15);
}
body { background: #fbfaff; color: var(--ink); }
.topline { background: #17142d; }
.pulse-dot { background: #61e6b2; box-shadow: 0 0 0 5px rgba(97,230,178,.13); }
.modern-header { border-color: rgba(112,87,255,.13); background: rgba(255,255,255,.94); box-shadow: 0 8px 30px rgba(47,35,96,.04); }
.nav-wrap { gap: 12px; }
.nav-toggle { border-color: #ded9f0; background: linear-gradient(145deg,#fff,#f3f0ff); box-shadow: 0 7px 18px rgba(83,65,158,.09); }
.nav-toggle span { height: 2px; background: linear-gradient(90deg,var(--accent),var(--coral)); }
.brand-logo { border-color: #ded9f0; box-shadow: 0 5px 16px rgba(78,58,155,.10); }
.brand small { color: var(--accent); }
.catalog-nav { min-width: 0; gap: 3px; }
.catalog-nav a { position: relative; color: #68657a; }
.catalog-nav a:hover { background: var(--accent-soft); color: var(--accent-dark); }
.catalog-nav a.active { background: linear-gradient(135deg,var(--accent),var(--accent-dark)); color: #fff; box-shadow: 0 7px 18px rgba(112,87,255,.22); }
.lang-switch { border-color: #ded9f0; background: #fff; }
.lang-switch a.active { background: var(--accent); }
.balance-button { border-color: #ded9f0; background: #faf9ff; }
.balance-button b { color: var(--accent-dark); }
.mini-avatar { width: 40px; height: 40px; padding: 3px; overflow: hidden; border: 1px solid #dcd6ef; border-radius: 12px; background: linear-gradient(135deg,#fff,#eeeaff); cursor: pointer; }
.mini-avatar img { width: 100%; height: 100%; border-radius: 9px; }
.btn-primary, .btn-login { border-color: transparent; background: linear-gradient(135deg,var(--accent),var(--accent-dark)); color: #fff; box-shadow: 0 8px 20px rgba(112,87,255,.19); }
.btn-primary:hover, .btn-login:hover { box-shadow: 0 12px 28px rgba(112,87,255,.28); }
.btn-secondary, .btn-ghost { border-color: #ddd8ec; background: #fff; }
.home-hero { border-color: #e8e4f2; background: radial-gradient(circle at 12% 22%,rgba(112,87,255,.13),transparent 32%),radial-gradient(circle at 88% 18%,rgba(68,199,218,.15),transparent 28%),linear-gradient(180deg,#fdfcff 0%,#f6f4fc 100%); }
.hero-label { color: var(--accent-dark); }
.hero-label i { background: var(--coral); box-shadow: 0 0 0 5px rgba(255,107,125,.13); }
.hero-copy h1 span { background: linear-gradient(90deg,var(--accent),#a34ae0,var(--coral)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-summary { border-color: #ded8ef; box-shadow: 0 30px 80px rgba(68,48,139,.15); }
.summary-heading { background: linear-gradient(135deg,#fff,#f7f4ff); }
.online-badge { background: #e7fbf4; }
.summary-stats b { color: var(--accent-dark); }
.help-icon { background: linear-gradient(135deg,var(--accent),var(--coral)); }
.summary-help { background: linear-gradient(135deg,#f1efff,#fff5f6); }
.catalog-stage { min-height: 520px; scroll-margin-top: 104px; }
.catalog-stage > [data-catalog-panel][hidden] { display: none !important; }
.catalog-section { animation: catalogIn .34s ease; }
.catalog-section:nth-child(even) { background: linear-gradient(180deg,rgba(246,244,252,.75),rgba(255,255,255,.78)); }
.section-label, .card-label { color: var(--accent); }
.service-card, .instant-product-card, .store-card { border-color: #e1dcec; box-shadow: 0 5px 18px rgba(54,42,105,.035); }
.service-card:hover, .instant-product-card:hover, .store-card:hover { border-color: #bcb0ef; box-shadow: 0 20px 48px rgba(74,54,151,.13); }
.service-initial { background: linear-gradient(135deg,var(--accent),#9a57de); }
.availability.available { background: #e7fbf4; }
.store-card-media { background: linear-gradient(135deg,#eeeaff,#fceff3); }
.product-placeholder { background: linear-gradient(135deg,var(--accent),var(--coral)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.delivery-badge { border-color: #ded8ed; }
.support-strip { background: radial-gradient(circle at 85% 20%,rgba(255,107,125,.3),transparent 28%),linear-gradient(135deg,#282047,#161329); }
.support-mark { color: var(--accent-dark); }
.rental-modern-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding: 30px; border: 1px solid #dcd5ef; border-radius: 24px; background: radial-gradient(circle at 95% 20%,rgba(68,199,218,.16),transparent 35%),linear-gradient(135deg,#fff,#f4f1ff); box-shadow: var(--shadow-sm); }
.rental-modern-copy { display: flex; align-items: center; gap: 18px; }
.rental-symbol { width: 72px; height: 72px; display: grid; place-items: center; flex: 0 0 72px; border-radius: 21px; background: linear-gradient(135deg,var(--accent),var(--coral)); color: #fff; font-size: 31px; font-weight: 950; box-shadow: 0 16px 34px rgba(112,87,255,.25); }
.rental-modern-copy small { color: var(--accent); font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.rental-modern-copy h3 { margin: 5px 0; font-size: 27px; letter-spacing: -.04em; }
.rental-modern-copy p { max-width: 600px; margin: 0; color: var(--muted); }
.rental-modern-stats { min-width: 330px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rental-modern-stats > div { padding: 15px; border: 1px solid #ded8ee; border-radius: 13px; background: rgba(255,255,255,.86); }
.rental-modern-stats small, .rental-modern-stats b { display: block; }
.rental-modern-stats small { color: var(--muted); font-size: 9px; }
.rental-modern-stats b { margin-top: 3px; font-size: 20px; }
.rental-modern-stats .btn { grid-column: 1 / -1; }

/* Account drawer */
.account-drawer { position: fixed; z-index: 160; inset: 0; pointer-events: none; visibility: hidden; }
.account-drawer.open { pointer-events: auto; visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; border: 0; background: rgba(20,16,43,.48); opacity: 0; backdrop-filter: blur(10px); transition: opacity .25s ease; }
.account-drawer.open .drawer-backdrop { opacity: 1; }
.drawer-panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(430px,calc(100% - 20px)); overflow: auto; padding: 22px; background: linear-gradient(180deg,#fcfbff,#f6f4fb); box-shadow: 28px 0 80px rgba(25,18,57,.28); transform: translateX(-105%); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.account-drawer.open .drawer-panel { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.drawer-head span { color: var(--accent); font-size: 9px; font-weight: 900; letter-spacing: .17em; }
.drawer-head h2 { margin: 3px 0 0; font-size: 21px; }
.drawer-head > button { width: 36px; height: 36px; border: 1px solid #ddd7ed; border-radius: 11px; background: #fff; font-size: 22px; cursor: pointer; }
.drawer-user { display: grid; grid-template-columns: auto 1fr; gap: 12px; margin: 18px 0; padding: 17px; border: 1px solid #ded8ed; border-radius: 17px; background: #fff; box-shadow: var(--shadow-sm); }
.drawer-user img { width: 54px; height: 54px; border-radius: 15px; }
.drawer-user small, .drawer-user b, .drawer-user span { display: block; }
.drawer-user small { color: var(--muted); font-size: 8px; }
.drawer-user b { margin-top: 2px; font-size: 14px; }
.drawer-user span { overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.drawer-user strong { grid-column: 1 / -1; padding-top: 12px; border-top: 1px solid var(--line); color: var(--accent-dark); font-size: 24px; }
.drawer-guest { display: flex; align-items: center; gap: 12px; margin: 18px 0; padding: 17px; border-radius: 17px; background: linear-gradient(135deg,var(--accent),#4d36d3); color: #fff; }
.drawer-guest-icon { width: 46px; height: 46px; display: grid; place-items: center; flex: 0 0 46px; border-radius: 13px; background: rgba(255,255,255,.18); font-weight: 950; }
.drawer-guest p { margin: 3px 0 0; color: #ded8ff; font-size: 10px; }
.drawer-menu { display: grid; gap: 7px; }
.drawer-menu a, .drawer-menu button { width: 100%; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 11px; padding: 12px; border: 1px solid #e1ddec; border-radius: 13px; background: #fff; color: var(--ink); text-align: left; cursor: pointer; }
.drawer-menu a:hover, .drawer-menu button:hover { border-color: #bfb3ef; background: var(--accent-soft); transform: translateX(3px); }
.drawer-menu > * > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: #f0edff; color: var(--accent-dark); font-size: 9px; font-weight: 900; }
.drawer-menu b, .drawer-menu small { display: block; }
.drawer-menu b { font-size: 12px; }
.drawer-menu small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.drawer-menu i { color: var(--accent); font-size: 21px; font-style: normal; }
.drawer-menu .drawer-admin-link { border-color: #c9bdf4; background: linear-gradient(135deg,#f4f1ff,#fff); }
.drawer-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.drawer-foot a, .drawer-foot button { border: 0; background: none; color: var(--muted); font-size: 10px; font-weight: 800; cursor: pointer; }

/* Account page */
.account-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 18px; }
.profile-card, .profile-form { padding: 24px; border: 1px solid #ded8ed; border-radius: 21px; background: #fff; box-shadow: var(--shadow-sm); }
.profile-card { background: radial-gradient(circle at 90% 5%,rgba(68,199,218,.17),transparent 33%),linear-gradient(145deg,#fff,#f4f1ff); }
.profile-card-top { display: flex; align-items: center; gap: 15px; }
.profile-card-top img { width: 76px; height: 76px; border: 4px solid #fff; border-radius: 21px; box-shadow: 0 12px 28px rgba(63,44,140,.15); }
.profile-card-top small { color: var(--accent); font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.profile-card-top h2 { margin: 4px 0 0; font-size: 22px; }
.profile-card-top p { margin: 2px 0 0; color: var(--muted); }
.profile-balance { margin: 24px 0 16px; padding: 20px; border-radius: 16px; background: linear-gradient(135deg,#211940,#4f38d4); color: #fff; }
.profile-balance span, .profile-balance b { display: block; }
.profile-balance span { color: #d2cdf8; font-size: 9px; }
.profile-balance b { margin: 5px 0; font-size: 31px; }
.profile-balance a { color: #fff; font-size: 10px; font-weight: 800; }
.profile-facts { display: grid; gap: 7px; }
.profile-facts > div { padding: 12px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.75); }
.profile-facts small, .profile-facts b { display: block; }
.profile-facts small { color: var(--muted); font-size: 8px; }
.profile-facts b { margin-top: 2px; overflow-wrap: anywhere; font-size: 11px; }
.profile-form { display: grid; align-content: start; gap: 15px; }
.profile-form h2 { margin: 5px 0; font-size: 26px; }
.profile-form p { margin: 0; color: var(--muted); }
.profile-form label span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 10px; font-weight: 800; }
.profile-form input { width: 100%; padding: 12px; border: 1px solid #d8d2e8; border-radius: 11px; background: #fbfaff; outline: 0; }
.profile-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(112,87,255,.10); }
.profile-security { display: flex; align-items: center; gap: 9px; padding: 12px; border-radius: 11px; background: #f0edff; }
.profile-security span { width: 26px; height: 26px; display: grid; place-items: center; flex: 0 0 26px; border-radius: 50%; background: var(--accent); color: #fff; }
.profile-security p { font-size: 10px; }
.notice.success { border-color: #b9ead9; background: #ecfbf6; color: #067553; }

/* Popups */
.modal-backdrop { background: rgba(26,19,57,.48); backdrop-filter: blur(14px); }
.modal-card { border-color: #ddd6ee; border-radius: 25px; box-shadow: 0 38px 120px rgba(31,22,72,.30); }
.modal-card::before { content: ""; position: absolute; top: 0; right: 65px; left: 0; height: 4px; border-radius: 25px 0 99px 0; background: linear-gradient(90deg,var(--accent),var(--cyan),var(--coral)); }
.modal-close { border-color: #ded8ed; background: #faf9ff; }
.auth-brand img { box-shadow: 0 12px 28px rgba(72,53,151,.17); }
.auth-tabs { background: #efecf8; }
.auth-tabs button.active { color: var(--accent-dark); }
.auth-form input, .form-grid input, .form-grid textarea, .form-grid select { border-color: #d8d2e8; background: #fbfaff; }
.auth-form input:focus, .form-grid input:focus, .form-grid textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(112,87,255,.10); }
.google-btn { border-color: #dad4e9; }
.loading-layer { background: rgba(249,247,255,.88); }
.loader-ring { border-color: #ddd7eb; border-top-color: var(--accent); }
.toast { background: linear-gradient(135deg,#241c46,#4d36cf); }
.code-sample { background: #1b1731; }
.status-completed { background: #e7fbf4; }
@keyframes catalogIn { from { opacity: 0; transform: translateY(8px); } }

@media (max-width: 1080px) {
  .catalog-nav a { padding-inline: 7px; font-size: 10px; }
  .brand > span:last-child { display: none; }
}
@media (max-width: 900px) {
  .modern-header { height: auto; min-height: 68px; }
  .modern-header .nav-wrap { min-height: 68px; flex-wrap: wrap; padding-block: 8px; }
  .modern-header .brand { flex: 1; }
  .catalog-nav { position: static; order: 4; width: 100%; display: flex !important; flex: 0 0 100%; justify-content: flex-start; overflow-x: auto; padding: 5px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; scrollbar-width: none; }
  .catalog-nav::-webkit-scrollbar { display: none; }
  .catalog-nav a { padding: 9px 12px; font-size: 10px; }
  .catalog-stage { scroll-margin-top: 125px; }
  .rental-modern-card, .account-layout { grid-template-columns: 1fr; }
  .rental-modern-stats { min-width: 0; }
}
@media (max-width: 680px) {
  .modern-header .lang-switch { display: none; }
  .modern-header .balance-button { display: none; }
  .modern-header .brand > span:last-child { display: block; }
  .modern-header .brand small { display: block; }
  .modern-header .brand b { font-size: 12px; }
  .catalog-nav a { flex: 0 0 auto; }
  .drawer-panel { width: calc(100% - 12px); padding: 17px; }
  .rental-modern-card { padding: 20px; }
  .rental-modern-copy { align-items: flex-start; }
  .rental-symbol { width: 54px; height: 54px; flex-basis: 54px; border-radius: 15px; font-size: 23px; }
  .rental-modern-copy h3 { font-size: 22px; }
  .rental-modern-stats { grid-template-columns: 1fr; }
  .rental-modern-stats .btn { grid-column: auto; }
  .account-layout { grid-template-columns: 1fr; }
}

/* Kim Trúc — separated admin console */
.kt-admin { width: min(1380px,calc(100% - 34px)); }
.kt-shell { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 22px; align-items: start; }
.kt-sidebar { position: sticky; top: 105px; overflow: hidden; padding: 14px; border: 1px solid #ded8ed; border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); }
.kt-sidebar-brand { display: flex; align-items: center; gap: 10px; padding: 6px 5px 15px; border-bottom: 1px solid var(--line); }
.kt-sidebar-brand > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(135deg,var(--accent),var(--coral)); color: #fff; font-weight: 950; }
.kt-sidebar-brand b, .kt-sidebar-brand small { display: block; }
.kt-sidebar-brand b { font-size: 12px; }
.kt-sidebar-brand small { color: var(--accent); font-size: 7px; font-weight: 900; letter-spacing: .14em; }
.kt-sidebar nav { display: grid; gap: 4px; margin: 13px 0; }
.kt-sidebar nav a { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; color: #5e5a70; font-size: 11px; font-weight: 750; }
.kt-sidebar nav a > span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: #f1eff8; color: var(--accent-dark); }
.kt-sidebar nav a:hover { background: #f6f3ff; color: var(--accent-dark); }
.kt-sidebar nav a.active { background: linear-gradient(135deg,var(--accent),var(--accent-dark)); color: #fff; box-shadow: 0 9px 22px rgba(112,87,255,.22); }
.kt-sidebar nav a.active > span { background: rgba(255,255,255,.17); color: #fff; }
.kt-store-link { display: block; padding: 11px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; font-weight: 800; }
.kt-content { min-width: 0; }
.kt-page-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 20px; padding: 25px; border: 1px solid #ddd6ed; border-radius: 21px; background: radial-gradient(circle at 90% 10%,rgba(68,199,218,.14),transparent 30%),linear-gradient(135deg,#fff,#f4f1ff); }
.kt-page-head span, .kt-card-head span, .kt-search-card > span, .kt-form-divider > span { color: var(--accent); font-size: 8px; font-weight: 900; letter-spacing: .14em; }
.kt-page-head h1 { margin: 4px 0; font-size: 32px; letter-spacing: -.04em; }
.kt-page-head p { margin: 0; color: var(--muted); }
.kt-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 18px; }
.kt-stats article { padding: 18px; border: 1px solid #e0dbeb; border-radius: 15px; background: #fff; }
.kt-stats span, .kt-stats b, .kt-stats small { display: block; }
.kt-stats span { color: var(--muted); font-size: 8px; font-weight: 900; letter-spacing: .08em; }
.kt-stats b { margin: 5px 0 2px; color: var(--accent-dark); font-size: 25px; letter-spacing: -.04em; }
.kt-stats small { color: var(--muted); font-size: 8px; }
.kt-launch-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 11px; }
.kt-launch-grid > a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 20px; border: 1px solid #dfd9ed; border-radius: 17px; background: #fff; transition: .2s ease; }
.kt-launch-grid > a:hover { border-color: #b9aeeb; box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.kt-launch-grid > a > span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(135deg,#f0edff,#fff0f3); color: var(--accent-dark); font-size: 10px; font-weight: 900; }
.kt-launch-grid b { font-size: 14px; }
.kt-launch-grid p { margin: 3px 0 0; color: var(--muted); font-size: 10px; }
.kt-launch-grid i { color: var(--accent); font-size: 20px; font-style: normal; }
.kt-guide-card { display: grid; grid-template-columns: .7fr 1.3fr; gap: 25px; margin-top: 16px; padding: 23px; border-radius: 18px; background: linear-gradient(135deg,#211940,#4933c5); color: #fff; }
.kt-guide-card span { color: #bfb6f7; font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.kt-guide-card h2 { margin: 4px 0; }
.kt-guide-card ol { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 25px; margin: 0; color: #ddd8f8; font-size: 10px; }
.kt-subtabs, .kt-filter { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.kt-subtabs a, .kt-filter a { padding: 8px 11px; border: 1px solid #ddd7eb; border-radius: 9px; background: #fff; color: var(--muted); font-size: 9px; font-weight: 850; }
.kt-filter a.active { background: var(--accent); color: #fff; }
.kt-two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-bottom: 13px; }
.kt-form-card, .kt-search-card { display: grid; align-content: start; gap: 12px; margin-bottom: 13px; padding: 20px; border: 1px solid #ded8ec; border-radius: 17px; background: #fff; box-shadow: 0 5px 20px rgba(58,44,118,.035); }
.kt-form-secondary { background: linear-gradient(135deg,#fff,#f8f5ff); }
.kt-card-head { display: flex; align-items: start; justify-content: space-between; gap: 14px; margin-bottom: 5px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.kt-card-head h2, .kt-search-card h2 { margin: 3px 0; font-size: 19px; }
.kt-card-head p { margin: 0; color: var(--muted); font-size: 9px; }
.kt-form-card > label, .kt-form-card .form-grid label { display: block; }
.kt-form-card label > span { display: block; margin-bottom: 5px; color: #625f70; font-size: 9px; font-weight: 800; }
.kt-form-card input, .kt-form-card textarea, .kt-form-card select, .kt-search-card input, .kt-deliver textarea { width: 100%; padding: 10px 11px; border: 1px solid #d9d3e8; border-radius: 9px; background: #fbfaff; outline: 0; }
.kt-form-card input:focus, .kt-form-card textarea:focus, .kt-form-card select:focus, .kt-search-card input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(112,87,255,.09); }
.kt-form-card label > small { display: block; margin-top: 4px; color: var(--muted); font-size: 8px; }
.kt-form-card .toggle-label { display: flex; align-items: center; justify-content: space-between; }
.kt-form-card .toggle-label > span { margin: 0; }
.kt-form-card .toggle-label input { width: 18px; height: 18px; accent-color: var(--accent); }
.kt-table-section { margin-top: 17px; }
.kt-table-section > .kt-card-head { border: 0; }
.kt-table-section table { min-width: 850px; }
.kt-mini-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin-bottom: 13px; }
.kt-mini-stats > div { padding: 15px; border: 1px solid #dfdaeb; border-radius: 13px; background: #fff; }
.kt-mini-stats span, .kt-mini-stats b { display: block; }
.kt-mini-stats span { color: var(--muted); font-size: 8px; font-weight: 900; }
.kt-mini-stats b { margin-top: 4px; color: var(--accent-dark); font-size: 21px; }
.kt-deliver summary { color: var(--accent-dark); font-size: 9px; font-weight: 900; cursor: pointer; }
.kt-deliver form { display: grid; gap: 6px; width: 260px; margin-top: 7px; }
.kt-done { color: var(--success); font-size: 9px; font-weight: 800; }
.kt-search-card { background: linear-gradient(135deg,#f2efff,#fff4f6); }
.kt-search-card > div { display: flex; gap: 6px; }
.kt-search-card small { color: var(--muted); font-size: 9px; }
.kt-security-line { padding: 11px; border-radius: 10px; background: #efecff; color: #5c4bb1; font-size: 9px; }
.kt-system-form { padding: 25px; }
.kt-form-divider { margin: 12px 0 2px; padding-top: 20px; border-top: 1px solid var(--line); }
.kt-form-divider h2 { margin: 4px 0 12px; }
.kt-toggle-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; }
.kt-toggle-grid label { display: flex; flex-direction: column; justify-content: space-between; min-height: 125px; padding: 14px; border: 1px solid #ded8ec; border-radius: 13px; background: linear-gradient(145deg,#fff,#f7f4ff); cursor: pointer; }
.kt-toggle-grid b, .kt-toggle-grid small { display: block; }
.kt-toggle-grid b { font-size: 12px; }
.kt-toggle-grid small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.kt-toggle-grid input { width: 19px; height: 19px; accent-color: var(--accent); }
.kt-feature-switches { margin: 9px 0 15px; }

@media (max-width: 1120px) {
  .kt-shell { grid-template-columns: 1fr; }
  .kt-sidebar { position: static; }
  .kt-sidebar-brand, .kt-store-link { display: none; }
  .kt-sidebar nav { display: flex; overflow-x: auto; margin: 0; scrollbar-width: none; }
  .kt-sidebar nav a { flex: 0 0 auto; }
  .kt-toggle-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 760px) {
  .kt-admin { width: min(100% - 22px,1380px); }
  .kt-page-head { align-items: start; flex-direction: column; padding: 19px; }
  .kt-page-head h1 { font-size: 27px; }
  .kt-stats, .kt-launch-grid, .kt-two-column, .kt-guide-card { grid-template-columns: 1fr; }
  .kt-stats { grid-template-columns: 1fr 1fr; }
  .kt-guide-card ol { grid-template-columns: 1fr; }
  .kt-mini-stats { grid-template-columns: 1fr 1fr 1fr; }
  .kt-toggle-grid { grid-template-columns: 1fr 1fr; }
  .kt-card-head { align-items: stretch; flex-direction: column; }
  .kt-card-head .btn { width: 100%; }
}
@media (max-width: 480px) {
  .kt-stats, .kt-mini-stats, .kt-toggle-grid { grid-template-columns: 1fr; }
}

/* Admin single-view navigation */
.kt-stats { grid-template-columns: repeat(auto-fit,minmax(175px,1fr)); }
.kt-view-switch { display: grid; grid-template-columns: repeat(auto-fit,minmax(165px,1fr)); gap: 9px; margin-bottom: 18px; }
.kt-view-switch > a { min-width: 0; display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 10px; padding: 13px; border: 1px solid #ddd7eb; border-radius: 14px; background: #fff; color: var(--ink); box-shadow: 0 5px 18px rgba(42,30,91,.035); }
.kt-view-switch > a:hover { border-color: #bcb0ef; transform: translateY(-2px); }
.kt-view-switch > a.active { border-color: transparent; background: linear-gradient(135deg,#5d45e8,#8c63ff); color: #fff; box-shadow: 0 13px 30px rgba(93,69,232,.23); }
.kt-view-switch > a > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: #f0edff; color: var(--accent-dark); font-size: 9px; font-weight: 950; }
.kt-view-switch > a.active > span { background: rgba(255,255,255,.17); color: #fff; }
.kt-view-switch b, .kt-view-switch small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kt-view-switch b { font-size: 11px; }
.kt-view-switch small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.kt-view-switch > a.active small { color: #ddd7ff; }
.kt-single-view { animation: catalogIn .24s ease both; }
.kt-category-list { display: grid; gap: 7px; }
.kt-category-list > div:not(.empty-state) { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 9px; padding: 11px; border: 1px solid #e2ddec; border-radius: 10px; background: #fbfaff; }
.kt-category-list > div > span { width: 36px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: #eeeaff; color: var(--accent-dark); font-size: 8px; font-weight: 900; }
.kt-category-list b, .kt-category-list small { display: block; }
.kt-category-list b { font-size: 10px; }
.kt-category-list small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.kt-category-list i { color: var(--success); font-size: 8px; font-style: normal; font-weight: 900; }
.kt-api-overview { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kt-api-overview article { padding: 25px; border: 1px solid #ded8ec; border-radius: 18px; background: radial-gradient(circle at 95% 0,rgba(68,199,218,.13),transparent 35%),linear-gradient(145deg,#fff,#f7f4ff); }
.kt-api-overview span { color: var(--accent); font-size: 8px; font-weight: 900; letter-spacing: .13em; }
.kt-api-overview h2 { margin: 5px 0; font-size: 23px; }
.kt-api-overview p { margin: 0 0 16px; color: var(--muted); }
.store-category-group + .store-category-group { margin-top: 38px; padding-top: 30px; border-top: 1px solid var(--line); }
.store-category-title { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 15px; }
.store-category-title span { color: var(--accent); font-size: 8px; font-weight: 900; letter-spacing: .14em; }
.store-category-title h3 { margin: 4px 0 0; font-size: 24px; letter-spacing: -.035em; }
.store-category-title > b { padding: 7px 10px; border-radius: 99px; background: #f0edff; color: var(--accent-dark); font-size: 9px; }
@media (max-width: 760px) {
  .kt-view-switch { display: flex; overflow-x: auto; padding-bottom: 3px; scrollbar-width: none; }
  .kt-view-switch::-webkit-scrollbar { display: none; }
  .kt-view-switch > a { flex: 0 0 175px; }
  .kt-api-overview { grid-template-columns: 1fr; }
}

/* V6 — SIEUTHIMMOVN white/blue marketplace dashboard */
:root {
  --hd-blue: #1769ff;
  --hd-blue-dark: #0753db;
  --hd-blue-soft: #edf4ff;
  --hd-ink: #101828;
  --hd-muted: #667085;
  --hd-line: #e4eaf3;
  --hd-bg: #f7f9fc;
  --hd-shadow: 0 18px 55px rgba(16, 62, 133, .10);
}
html { scroll-padding-top: 155px; }
body { background: var(--hd-bg); color: var(--hd-ink); }
.home-hero { display: none; }
.topline { min-height: 30px; background: linear-gradient(90deg,#0755df,#2879ff); color: #fff; }
.topline-inner { min-height: 30px; font-size: 9px; }
.topline-inner a, .topline-inner .top-metric { color: #fff; }
.pulse-dot { background: #80f2ba; box-shadow: 0 0 0 4px rgba(128,242,186,.18); }

.shop-header { position: sticky; top: 0; z-index: 800; height: auto; border-bottom: 1px solid var(--hd-line); background: rgba(255,255,255,.97); box-shadow: 0 8px 24px rgba(24,68,128,.05); backdrop-filter: blur(18px); }
.shop-header-main { min-height: 78px; display: grid; grid-template-columns: 44px 205px minmax(260px,1fr) auto; align-items: center; gap: 14px; }
.shop-header .nav-toggle { width: 42px; height: 42px; display: flex; flex-direction: column; justify-content: center; gap: 5px; flex: 0 0 42px; border: 1px solid #dce5f2; border-radius: 12px; background: #fff; box-shadow: 0 5px 15px rgba(22,74,151,.07); cursor: pointer; }
.shop-header .nav-toggle span { width: 18px; height: 2px; margin: 0 auto; border-radius: 4px; background: var(--hd-ink); }
.shop-brand { min-width: 0; display: flex; align-items: center; gap: 10px; }
.shop-brand .brand-logo { width: 42px; height: 42px; flex: 0 0 42px; overflow: hidden; border: 0; border-radius: 10px; background: var(--hd-blue-soft); }
.shop-brand .brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.shop-brand > span:last-child { display: block !important; }
.shop-brand b { color: #1c64da; font-size: 18px; letter-spacing: -.035em; }
.shop-brand b span { color: var(--hd-ink); }
.shop-brand small { display: block !important; margin-top: 1px; color: #344054; font-size: 8px; font-weight: 850; letter-spacing: .08em; }
.shop-search { min-width: 0; height: 44px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 0 13px; border: 1px solid #dfe6f0; border-radius: 12px; background: linear-gradient(180deg,#fbfcfe,#f6f8fb); }
.shop-search:focus-within { border-color: #9cc0ff; box-shadow: 0 0 0 4px rgba(23,105,255,.08); }
.shop-search > span { color: #667085; font-size: 23px; transform: rotate(-18deg); }
.shop-search input { min-width: 0; border: 0; background: transparent; color: var(--hd-ink); outline: 0; font-size: 12px; }
.shop-search kbd { padding: 4px 6px; border: 1px solid #d8e0ec; border-radius: 6px; background: #fff; color: #98a2b3; font: 8px/1 system-ui,sans-serif; }
.shop-header .nav-actions { display: flex; align-items: center; gap: 9px; }
.shop-header .lang-switch { border-color: #dfe6f0; border-radius: 9px; }
.shop-header .lang-switch a.active { background: var(--hd-blue); }
.wallet-card { min-width: 145px; display: grid; grid-template-columns: auto 1fr auto; gap: 9px; padding: 8px 11px; border: 1px solid #dfe6f0; border-radius: 12px; background: #f8fbff; }
.wallet-card > span { color: #344054; font-size: 20px; }
.wallet-card small, .wallet-card b { display: block; }
.wallet-card small { color: #667085; font-size: 8px; }
.wallet-card b { margin-top: 2px; color: var(--hd-blue); font-size: 12px; }
.wallet-card > i { color: #475467; font-style: normal; }
.header-bell { position: relative; width: 42px; height: 42px; border: 1px solid #dfe6f0; border-radius: 12px; background: #fff; color: #344054; font-size: 19px; cursor: pointer; }
.header-bell span { position: absolute; top: 7px; right: 8px; width: 7px; height: 7px; border: 2px solid #fff; border-radius: 50%; background: #ff3b4f; }
.shop-header .mini-avatar { border-color: #dfe6f0; border-radius: 50%; background: #fff; }
.shop-header .mini-avatar img { border-radius: 50%; }
.shop-header .mini-avatar i { position: absolute; right: 0; bottom: 1px; width: 9px; height: 9px; border: 2px solid #fff; border-radius: 50%; background: #35bd75; }
.shop-header .btn-login { border-radius: 10px; background: var(--hd-blue); box-shadow: 0 8px 18px rgba(23,105,255,.22); }

.shop-category-nav { position: static; min-height: 50px; display: flex !important; justify-content: center; gap: 0; padding: 0 max(12px,calc((100% - 1180px)/2)); border-top: 1px solid #edf1f6; background: #fff; }
.shop-category-nav a { position: relative; min-width: 235px; height: 50px; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 0 22px; border: 0; border-radius: 0; color: #344054; font-size: 10px; font-weight: 850; letter-spacing: .02em; }
.shop-category-nav a span { color: #475467; font-size: 16px; }
.shop-category-nav a:hover { background: #f8fbff; color: var(--hd-blue); }
.shop-category-nav a.active { background: linear-gradient(180deg,#f5f9ff,#fff); color: var(--hd-blue); box-shadow: inset 0 -2px 0 var(--hd-blue); }
.shop-category-nav a.active span { color: var(--hd-blue); }

.shop-dashboard-intro { min-height: 126px; display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 22px; margin-bottom: 0; padding: 24px 28px; border: 1px solid #dfe7f2; border-radius: 18px; background: radial-gradient(circle at 92% 0,rgba(23,105,255,.10),transparent 35%),#fff; box-shadow: 0 10px 35px rgba(18,68,135,.06); }
.shop-dashboard-intro > div:first-child > span { color: var(--hd-blue); font-size: 8px; font-weight: 900; letter-spacing: .13em; }
.shop-dashboard-intro h1 { margin: 5px 0 4px; font-size: clamp(24px,3vw,34px); letter-spacing: -.045em; }
.shop-dashboard-intro p { margin: 0; color: var(--hd-muted); font-size: 11px; }
.shop-live-metrics { display: flex; align-items: stretch; gap: 8px; }
.shop-live-metrics > span { min-width: 105px; padding: 13px; border: 1px solid #e3eaf4; border-radius: 12px; background: #f9fbff; }
.shop-live-metrics small, .shop-live-metrics b { display: block; }
.shop-live-metrics small { color: var(--hd-muted); font-size: 8px; }
.shop-live-metrics b { margin-top: 4px; color: var(--hd-blue); font-size: 21px; }
.shop-catalog-stage { min-height: 500px; scroll-margin-top: 160px; }
.shop-catalog-stage .catalog-section { padding: 26px 0 48px; background: transparent; }
.compact-heading { margin-bottom: 17px; }
.compact-heading h2 { margin-top: 4px; font-size: clamp(25px,3vw,34px); }
.compact-heading p { margin-top: 5px; color: var(--hd-muted); }
.compact-heading .section-label { color: var(--hd-blue); }

.subservice-nav, .account-brand-nav { display: grid; grid-template-columns: repeat(6,minmax(105px,1fr)); gap: 13px; margin-bottom: 14px; }
.subservice-nav { grid-template-columns: repeat(2,minmax(230px,1fr)); }
.subservice-nav button, .account-brand-nav button { min-width: 0; border: 1px solid #dfe6f0; border-radius: 14px; background: #fff; color: var(--hd-ink); cursor: pointer; transition: .2s ease; }
.subservice-nav button { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 11px; padding: 14px; text-align: left; }
.subservice-nav button > span { grid-row: 1 / 3; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--hd-blue-soft); color: var(--hd-blue); font-size: 15px; font-weight: 950; }
.subservice-nav b { align-self: end; font-size: 12px; }
.subservice-nav small { color: var(--hd-muted); font-size: 8px; }
.subservice-nav button:hover, .subservice-nav button.active, .account-brand-nav button:hover, .account-brand-nav button.active { border-color: var(--hd-blue); box-shadow: 0 9px 24px rgba(23,105,255,.10); transform: translateY(-2px); }
.subservice-nav button.active { background: #f7faff; }
.account-brand-nav button { position: relative; min-height: 112px; display: grid; place-items: center; align-content: center; gap: 9px; padding: 13px 8px; }
.account-brand-nav button.active::after { content: ""; position: absolute; right: 13px; bottom: -5px; width: 8px; height: 8px; border-right: 1px solid var(--hd-blue); border-bottom: 1px solid var(--hd-blue); background: #fff; transform: rotate(45deg); }
.account-brand-nav button > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-size: 25px; font-weight: 950; box-shadow: 0 8px 18px rgba(16,24,40,.12); }
.account-brand-nav b { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.brand-facebook { background: linear-gradient(145deg,#2684ff,#0860dc); }
.brand-tiktok { background: linear-gradient(145deg,#20222a,#050505); text-shadow: 2px 1px #24e3df,-2px -1px #ff3b66; }
.brand-gmail { background: linear-gradient(145deg,#f14b3e,#ca3126); }
.brand-instagram { background: linear-gradient(145deg,#8347e7,#e33b73 55%,#ffb84f); }
.brand-hotmail { background: linear-gradient(145deg,#2389f5,#0762c4); }
.brand-khac, .brand-other { background: linear-gradient(145deg,#667085,#344054); }

.account-category-nav { display: flex; flex-wrap: wrap; gap: 8px; min-height: 42px; margin: 7px 0 17px; }
.account-category-nav button { min-width: 155px; padding: 10px 15px; border: 1px solid #dce5f1; border-radius: 10px; background: #fff; color: #475467; font-size: 9px; font-weight: 850; cursor: pointer; }
.account-category-nav button::before { content: "◇"; margin-right: 7px; color: #98a2b3; }
.account-category-nav button:hover { border-color: #a8c5f8; color: var(--hd-blue); }
.account-category-nav button.active { border-color: var(--hd-blue); background: var(--hd-blue-soft); color: var(--hd-blue); box-shadow: 0 5px 14px rgba(23,105,255,.08); }
.account-category-nav button.active::before { content: "✹"; color: var(--hd-blue); }

.account-product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
[data-account-item][hidden], .account-category-nav button[hidden] { display: none !important; }
.account-product-grid > article { min-width: 0; overflow: hidden; border: 1px solid #dfe6f0; border-radius: 15px; background: #fff; box-shadow: 0 9px 28px rgba(16,66,132,.06); transition: .22s ease; }
.account-product-grid > article:hover { border-color: #b9cff4; box-shadow: var(--hd-shadow); transform: translateY(-4px); }
.account-product-grid .store-card-media { min-height: 180px; padding: 20px; background: radial-gradient(circle at 50% 30%,#e8f3ff,#0b4a9c 75%,#073876); }
.account-product-grid .store-card-media img { width: 100%; height: 160px; object-fit: contain; filter: drop-shadow(0 16px 25px rgba(0,0,0,.25)); }
.account-product-grid .store-card-body, .account-product-grid .instant-product-card { padding: 16px; }
.account-product-grid .store-card-body h3, .account-product-grid .instant-product-card h3 { margin: 5px 0; font-size: 15px; }
.account-product-grid .store-card-body > p, .account-product-grid .instant-product-card > p { min-height: 43px; display: -webkit-box; overflow: hidden; color: var(--hd-muted); font-size: 9px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.instant-product-card { display: flex; flex-direction: column; }
.instant-card-visual { min-height: 175px; display: grid; place-items: center; align-content: center; gap: 8px; margin: -16px -16px 16px; background: radial-gradient(circle at 50% 35%,#2e93ff,#0b4a9c 70%,#073876); color: #fff; }
.instant-card-visual span { width: 78px; height: 58px; display: grid; place-items: center; border-radius: 15px; background: linear-gradient(145deg,#fff,#e4edff); color: #e44134; font-size: 38px; font-weight: 950; box-shadow: 0 18px 30px rgba(0,0,0,.25); }
.instant-card-visual small { font-size: 7px; font-weight: 900; letter-spacing: .15em; opacity: .86; }
.account-product-grid .card-label { color: var(--hd-blue); }
.account-product-grid .card-bottom { margin-top: auto; padding-top: 13px; border-top: 1px solid #edf1f6; }
.account-product-grid .card-price strong { color: var(--hd-blue); }
.account-product-grid .btn-primary { border-radius: 9px; background: var(--hd-blue); box-shadow: 0 7px 15px rgba(23,105,255,.18); }
.account-filter-empty { margin-top: 15px; border: 1px dashed #cdd8e8; border-radius: 15px; background: #fff; }

.service-card, .rental-modern-card, .store-card { border-color: #dfe6f0; box-shadow: 0 8px 25px rgba(16,66,132,.05); }
.service-card:hover, .store-card:hover { border-color: #b8cef3; box-shadow: var(--hd-shadow); }
.service-initial, .rental-symbol { background: linear-gradient(145deg,var(--hd-blue),var(--hd-blue-dark)); }
.btn-primary, .btn-login { background: linear-gradient(145deg,var(--hd-blue),var(--hd-blue-dark)); }
.support-strip { border-color: #dfe6f0; background: linear-gradient(135deg,#0754d8,#297cff); box-shadow: 0 20px 55px rgba(23,105,255,.18); }
.support-strip, .support-strip p, .support-strip small { color: #fff; }
.support-strip .btn { border-color: rgba(255,255,255,.3); background: #fff; color: var(--hd-blue); }
.site-footer { border-top: 1px solid var(--hd-line); background: #fff; }

.account-drawer { z-index: 1200; }
.drawer-backdrop { background: rgba(10,30,65,.35); }
.drawer-panel { width: min(405px,calc(100% - 14px)); background: #f7f9fc; box-shadow: 30px 0 90px rgba(15,46,91,.28); }
.drawer-head span, .drawer-menu i { color: var(--hd-blue); }
.drawer-menu a:hover, .drawer-menu button:hover { border-color: #a9c6f6; background: var(--hd-blue-soft); }
.drawer-menu > * > span { background: var(--hd-blue-soft); color: var(--hd-blue); }
.drawer-user strong { color: var(--hd-blue); }
.drawer-guest { background: linear-gradient(145deg,var(--hd-blue),var(--hd-blue-dark)); }

.contact-dock { position: fixed; right: 16px; top: 46%; z-index: 640; display: grid; overflow: hidden; border: 1px solid #dfe6f0; border-radius: 14px; background: #fff; box-shadow: 0 15px 42px rgba(16,56,114,.14); transform: translateY(-50%); }
.contact-dock a, .contact-dock button { width: 88px; display: flex; align-items: center; gap: 8px; padding: 9px; border: 0; border-bottom: 1px solid #edf1f6; background: #fff; color: #344054; font: inherit; cursor: pointer; }
.contact-dock > *:last-child { border-bottom: 0; }
.contact-dock a:hover, .contact-dock button:hover { background: #f5f9ff; }
.contact-dock span { width: 27px; height: 27px; display: grid; place-items: center; flex: 0 0 27px; border-radius: 8px; color: #fff; font-size: 12px; font-weight: 950; }
.contact-dock b { font-size: 8px; }
.contact-zalo span { background: #1585ff; }
.contact-facebook span { background: #1769e7; }
.contact-telegram span { background: #29a9e9; }
.contact-discord span { background: #5865f2; }

.chatbot-launcher { position: fixed; right: 16px; bottom: 19px; z-index: 650; min-width: 213px; display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 9px; padding: 9px 12px 9px 9px; border: 0; border-radius: 14px; background: linear-gradient(135deg,#0755df,#456dff); color: #fff; box-shadow: 0 16px 42px rgba(23,87,216,.30); text-align: left; cursor: pointer; }
.chatbot-launcher .bot-face { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: rgba(255,255,255,.18); font-size: 18px; }
.chatbot-launcher b, .chatbot-launcher small { display: block; }
.chatbot-launcher b { font-size: 9px; }
.chatbot-launcher small { margin-top: 2px; color: #dce8ff; font-size: 7px; }
.chatbot-launcher > i { width: 8px; height: 8px; border: 2px solid #fff; border-radius: 50%; background: #38d584; }
.chatbot-panel { position: fixed; right: 16px; bottom: 80px; z-index: 700; width: min(370px,calc(100vw - 26px)); overflow: hidden; border: 1px solid #cbdaf1; border-radius: 18px; background: #fff; box-shadow: 0 30px 90px rgba(11,42,92,.26); opacity: 0; pointer-events: none; transform: translateY(14px) scale(.97); transform-origin: right bottom; transition: .22s ease; }
.chatbot-panel.open { opacity: 1; pointer-events: auto; transform: none; }
.chatbot-panel > header { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; background: linear-gradient(135deg,#0755df,#4c6eff); color: #fff; }
.chatbot-brand { display: flex; align-items: center; gap: 9px; }
.chatbot-brand > span { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 11px; background: rgba(255,255,255,.17); font-size: 17px; }
.chatbot-brand b, .chatbot-brand small { display: block; }
.chatbot-brand b { font-size: 9px; letter-spacing: .04em; }
.chatbot-brand small { margin-top: 3px; color: #dce8ff; font-size: 7px; }
.chatbot-brand small i, .chatbot-panel > footer i { width: 7px; height: 7px; display: inline-block; margin-right: 5px; border-radius: 50%; background: #42df8d; }
.chatbot-panel > header > button { width: 31px; height: 31px; border: 0; border-radius: 9px; background: rgba(255,255,255,.14); color: #fff; font-size: 19px; cursor: pointer; }
.chatbot-body { height: 245px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 15px; background: linear-gradient(180deg,#f8fbff,#fff); }
.chat-message { max-width: 88%; display: flex; align-items: flex-end; gap: 7px; }
.chat-message > span { width: 27px; height: 27px; display: grid; place-items: center; flex: 0 0 27px; border-radius: 9px; background: var(--hd-blue-soft); color: var(--hd-blue); }
.chat-message p { margin: 0; padding: 10px 11px; border: 1px solid #e0e8f4; border-radius: 13px 13px 13px 3px; background: #fff; color: #344054; font-size: 9px; line-height: 1.6; white-space: pre-wrap; }
.chat-message.user { align-self: flex-end; }
.chat-message.user p { border-color: var(--hd-blue); border-radius: 13px 13px 3px 13px; background: var(--hd-blue); color: #fff; }
.chat-message.pending p { color: #98a2b3; }
.chatbot-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 11px; }
.chatbot-quick button { padding: 7px 9px; border: 1px solid #d8e5f7; border-radius: 99px; background: #fff; color: var(--hd-blue); font-size: 7px; font-weight: 800; cursor: pointer; }
.chatbot-quick button:hover { background: var(--hd-blue-soft); }
.chatbot-form { display: grid; grid-template-columns: 1fr 37px; gap: 8px; margin: 0 13px 10px; padding: 7px 7px 7px 11px; border: 1px solid #d9e3f1; border-radius: 12px; }
.chatbot-form:focus-within { border-color: #90b7fb; box-shadow: 0 0 0 4px rgba(23,105,255,.07); }
.chatbot-form input { min-width: 0; border: 0; background: transparent; color: var(--hd-ink); outline: 0; font-size: 9px; }
.chatbot-form button { width: 37px; height: 34px; border: 0; border-radius: 9px; background: var(--hd-blue); color: #fff; cursor: pointer; }
.chatbot-panel > footer { padding: 0 14px 11px; background: #fff; color: #98a2b3; font-size: 7px; }

.modal-card { border-color: #d7e3f3; border-radius: 21px; box-shadow: 0 35px 110px rgba(11,43,94,.28); }
.modal-card::before { background: linear-gradient(90deg,var(--hd-blue),#53a3ff); }
.auth-tabs button.active, .auth-brand .kicker { color: var(--hd-blue); }
.auth-tabs { background: #eff5fd; }
.auth-form input:focus, .form-grid input:focus, .form-grid textarea:focus { border-color: var(--hd-blue); box-shadow: 0 0 0 4px rgba(23,105,255,.08); }
.toast { background: linear-gradient(135deg,#0d346d,#075fe8); }

.kt-child-category { margin-left: 23px; border-left: 3px solid #d8e6fb !important; }
.kt-category-list a.btn { justify-self: end; }
.kt-sidebar { border-color: #dbe5f2; box-shadow: 0 14px 42px rgba(16,62,133,.08); }
.kt-sidebar-brand > span, .kt-sidebar nav a.active, .kt-view-switch > a.active { background: linear-gradient(145deg,var(--hd-blue),var(--hd-blue-dark)); }
.kt-sidebar-brand small, .kt-page-head span, .kt-card-head span, .kt-search-card > span, .kt-form-divider > span { color: var(--hd-blue); }
.kt-sidebar nav a > span, .kt-view-switch > a > span { background: var(--hd-blue-soft); color: var(--hd-blue); }
.kt-page-head { border-color: #dbe5f2; background: radial-gradient(circle at 90% 10%,rgba(23,105,255,.11),transparent 32%),linear-gradient(135deg,#fff,#f5f9ff); }
.kt-stats b, .kt-mini-stats b { color: var(--hd-blue); }
.kt-form-card, .kt-search-card, .kt-table-section .table-card { border-color: #dfe6f0; box-shadow: 0 7px 24px rgba(16,62,133,.045); }
.kt-form-card input:focus, .kt-form-card textarea:focus, .kt-form-card select:focus, .kt-search-card input:focus { border-color: var(--hd-blue); box-shadow: 0 0 0 4px rgba(23,105,255,.08); }
.kt-form-card .toggle-label input { accent-color: var(--hd-blue); }
.kt-search-card { background: linear-gradient(135deg,#f1f6ff,#fff); }
.kt-guide-card { background: linear-gradient(135deg,#073b8a,#1769ff); }

@media (max-width: 1180px) {
  .shop-header-main { grid-template-columns: 42px 165px minmax(220px,1fr) auto; }
  .wallet-card { min-width: 125px; }
  .account-brand-nav { grid-template-columns: repeat(6,minmax(90px,1fr)); }
  .contact-dock { right: 8px; }
}
@media (max-width: 980px) {
  .shop-header-main { grid-template-columns: 42px 1fr auto; padding-block: 9px; }
  .shop-search { grid-column: 1 / -1; grid-row: 2; }
  .shop-category-nav { justify-content: flex-start; overflow-x: auto; padding-inline: 12px; scrollbar-width: none; }
  .shop-category-nav::-webkit-scrollbar { display: none; }
  .shop-category-nav a { min-width: 210px; flex: 0 0 210px; }
  .shop-dashboard-intro { align-items: flex-start; flex-direction: column; }
  .shop-live-metrics { width: 100%; }
  .shop-live-metrics > span { flex: 1; }
  .account-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .contact-dock { top: auto; right: 12px; bottom: 84px; display: flex; transform: none; }
  .contact-dock a, .contact-dock button { width: 42px; border-right: 1px solid #edf1f6; border-bottom: 0; }
  .contact-dock b { display: none; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 165px; }
  .topline-inner > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .shop-header-main { gap: 9px; }
  .shop-brand { gap: 7px; }
  .shop-brand .brand-logo { width: 37px; height: 37px; flex-basis: 37px; }
  .shop-brand b { font-size: 14px; }
  .shop-brand small { font-size: 6px; }
  .shop-header .nav-actions { gap: 5px; }
  .shop-header .lang-switch, .shop-header .header-bell { display: none; }
  .shop-header .wallet-card { min-width: 0; width: 42px; height: 42px; display: grid; grid-template-columns: 1fr; place-items: center; padding: 0; }
  .shop-header .wallet-card > span { font-size: 18px; }
  .shop-header .wallet-card div, .shop-header .wallet-card > i { display: none; }
  .shop-search { height: 41px; }
  .shop-search kbd { display: none; }
  .shop-category-nav a { min-width: 172px; flex-basis: 172px; padding: 0 13px; font-size: 8px; }
  .shop-dashboard-intro { min-height: 0; margin-top: 13px; padding: 18px; }
  .shop-dashboard-intro h1 { font-size: 25px; }
  .shop-dashboard-intro p { font-size: 9px; line-height: 1.55; }
  .shop-live-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
  .shop-live-metrics > span { min-width: 0; padding: 9px; }
  .shop-live-metrics small { overflow: hidden; font-size: 6px; text-overflow: ellipsis; white-space: nowrap; }
  .shop-live-metrics b { font-size: 16px; }
  .shop-catalog-stage .catalog-section { padding-top: 20px; }
  .compact-heading h2 { font-size: 26px; }
  .subservice-nav { display: flex; overflow-x: auto; }
  .subservice-nav button { flex: 0 0 250px; }
  .account-brand-nav { display: flex; overflow-x: auto; padding: 1px 1px 8px; scrollbar-width: none; }
  .account-brand-nav::-webkit-scrollbar { display: none; }
  .account-brand-nav button { flex: 0 0 103px; min-height: 101px; }
  .account-brand-nav button > span { width: 43px; height: 43px; font-size: 21px; }
  .account-category-nav { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 3px; scrollbar-width: none; }
  .account-category-nav::-webkit-scrollbar { display: none; }
  .account-category-nav button { min-width: 145px; flex: 0 0 auto; }
  .account-product-grid { grid-template-columns: 1fr; }
  .account-product-grid .store-card-media, .instant-card-visual { min-height: 165px; }
  .support-strip { margin-bottom: 85px; }
  .contact-dock { right: 9px; bottom: 78px; }
  .chatbot-launcher { right: 9px; bottom: 13px; min-width: 190px; }
  .chatbot-panel { right: 8px; bottom: 72px; width: calc(100vw - 16px); max-height: calc(100dvh - 95px); }
  .chatbot-body { height: min(300px,42dvh); }
  .kt-child-category { margin-left: 10px; }
}
@media (max-width: 430px) {
  .shop-brand > span:last-child { max-width: 105px; }
  .shop-header .mini-avatar { display: none; }
  .shop-header .btn-login { padding-inline: 10px; font-size: 8px; }
  .shop-live-metrics > span:nth-child(2) { display: none; }
  .shop-live-metrics { grid-template-columns: repeat(2,1fr); }
  .contact-dock a, .contact-dock button { width: 39px; padding: 6px; }
  .contact-dock span { width: 25px; height: 25px; }
}
