/* =====================================================================
   Tema AthaHost — portal klien WHMCS (turunan Twenty-One)
   Bahasa visual sama dengan athamedia.co.id: tinta + aqua + kuning,
   Plus Jakarta Sans + JetBrains Mono. Rancangan sendiri, 5 Nov 2026.
   ===================================================================== */

@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }

:root {
  --ah-ink: #0b1726; --ah-ink-2: #102238; --ah-ink-3: #18304d;
  --ah-paper: #f3f5f7; --ah-card: #ffffff; --ah-line: #e1e6ec; --ah-line-dark: rgba(157, 176, 196, .18);
  --ah-text: #0e1a28; --ah-muted: #5b6b7d; --ah-on-dark: #e8eef5; --ah-on-dark-muted: #9db0c4;
  --ah-aqua: #11b4c6; --ah-aqua-deep: #08707c; /* ≥5.2:1 di paper/putih/aqua-soft (WCAG AA) */ --ah-aqua-soft: #e3f6f8;
  --ah-yellow: #f4b400; --ah-yellow-soft: #fff4d6;
  --ah-radius: 14px; --ah-radius-lg: 20px;
  --ah-shadow: 0 1px 2px rgba(11, 23, 38, .06), 0 8px 24px rgba(11, 23, 38, .06);
  --ah-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ah-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- Dasar ---------- */
body, body.primary-bg-color { background: var(--ah-paper) !important; color: var(--ah-text); font-family: var(--ah-sans); font-size: 15.5px; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: var(--ah-sans); color: var(--ah-text); letter-spacing: -0.015em; font-weight: 800; }
a { color: var(--ah-aqua-deep); }
a:hover { color: var(--ah-ink); }
.text-muted, small.text-muted { color: var(--ah-muted) !important; }
::selection { background: rgba(17, 180, 198, .25); }
:focus-visible { outline: 3px solid var(--ah-aqua); outline-offset: 2px; }
code, kbd, pre, .ah-mono { font-family: var(--ah-mono); }

/* ---------- Pita pengumuman (hook alertbar) — tidak lagi menimpa header ---------- */
html body #whmcs-client-alert { position: relative !important; top: auto !important; z-index: 1 !important; background: var(--ah-yellow-soft) !important; border-bottom: 1px solid #f3dc9a !important; box-shadow: none !important; }
html body #whmcs-client-alert .whmcs-alert-inner { max-width: 1140px; padding: 9px 16px; }
html body #whmcs-client-alert .whmcs-alert-message { font-size: 14px !important; color: #5c4400 !important; }
html body #whmcs-client-alert .whmcs-alert-message a { color: #7a4f00 !important; font-weight: 700; }
html body #whmcs-alert-close { color: #7a4f00 !important; }

/* ---------- Kepala ---------- */
header.header.ah-header { background: var(--ah-ink); position: sticky; top: 0; z-index: 1030; box-shadow: 0 1px 0 var(--ah-line-dark); }
header.header.ah-header .topbar { background: var(--ah-ink-2); border-bottom: 1px solid var(--ah-line-dark); padding: 4px 0; }
header.header.ah-header .topbar .btn, header.header.ah-header .topbar .input-group-text, header.header.ah-header .topbar .active-client .btn { color: var(--ah-on-dark-muted); background: transparent; border: 0; font-size: 13px; padding: 4px 8px; }
header.header.ah-header .topbar .btn:hover { color: #fff; }
header.header.ah-header .topbar .active-client .btn.btn-active-client span { color: #fff; font-weight: 700; border-bottom: 1px dashed var(--ah-aqua); }
.ah-header .topbar .btn-return-to-admin { color: var(--ah-yellow) !important; }
.ah-nav { padding: 0; min-height: 68px; }
.ah-nav > .container { display: flex; flex-wrap: wrap; align-items: center; }
.ah-brand { padding: 0; margin-right: 28px; display: inline-flex; align-items: center; }
header.header .ah-brand .logo-img { height: 30px; width: auto; max-height: none; max-width: none; }
.ah-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.ah-cart { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; border: 1.5px solid var(--ah-line-dark); color: var(--ah-on-dark) !important; text-decoration: none !important; }
.ah-cart:hover { border-color: var(--ah-aqua); }
.ah-cart .badge { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--ah-yellow); color: var(--ah-ink); font: 700 11px/20px var(--ah-mono); }
.ah-toggler { width: 42px; height: 42px; border-radius: 12px; border: 1.5px solid var(--ah-line-dark); background: transparent; color: #fff; }
/* Menu utama. Markup twenty-one: li > a.pr-4 (bukan .nav-link) dan li.dropdown-item > a.dropdown-item,
   sedangkan twenty-one memberi `header.header .navbar a { color:#444 }` — gelap di atas kepala gelap.
   Semua selektor di bawah sengaja diawali header.header.ah-header supaya selalu menang. */
header.header.ah-header .ah-nav .navbar-nav > li > a { display: inline-flex; align-items: center; gap: 6px; color: var(--ah-on-dark) !important; font-weight: 600; font-size: 14.5px; line-height: 1.25; padding: 9px 12px !important; border-radius: 10px; text-decoration: none !important; transition: background-color .15s ease, color .15s ease; }
header.header.ah-header .ah-nav .navbar-nav > li > a:hover, header.header.ah-header .ah-nav .navbar-nav > li > a:focus-visible, header.header.ah-header .ah-nav .navbar-nav > li.show > a { color: #fff !important; background: rgba(255, 255, 255, .09); }
header.header.ah-header .ah-nav .navbar-nav > li.active > a { color: #fff !important; box-shadow: inset 0 -2px 0 var(--ah-yellow); }
header.header.ah-header .ah-nav .navbar-nav > li > a .badge { background: var(--ah-yellow); color: var(--ah-ink); font: 700 11px/1 var(--ah-mono); padding: 3px 6px; border-radius: 6px; }
header.header.ah-header .ah-nav .dropdown-menu { background: var(--ah-card); border: 1px solid var(--ah-line); border-radius: var(--ah-radius); box-shadow: 0 12px 32px rgba(11, 23, 38, .18); padding: 6px; margin-top: 8px; min-width: 240px; }
header.header.ah-header .ah-nav .dropdown-menu > li.dropdown-item { padding: 0; background: transparent !important; white-space: normal; }
header.header.ah-header .ah-nav .dropdown-menu a.dropdown-item, header.header.ah-header .ah-nav .dropdown-menu > li > a { display: block; padding: 8px 12px !important; border-radius: 8px; color: var(--ah-text) !important; font-weight: 500; font-size: 14.5px; line-height: 1.35; text-decoration: none !important; background: transparent; }
header.header.ah-header .ah-nav .dropdown-menu a.dropdown-item:hover, header.header.ah-header .ah-nav .dropdown-menu a.dropdown-item:focus-visible, header.header.ah-header .ah-nav .dropdown-menu > li.active > a { background: var(--ah-aqua-soft); color: var(--ah-aqua-deep) !important; }
header.header.ah-header .ah-nav .dropdown-divider { border-top: 1px solid var(--ah-line); margin: 6px 4px; padding: 0; }
@media (min-width: 1200px) {
  .ah-nav { min-height: 72px; }
  /* JS twenty-one (autoCollapse('#nav', 30)) melipat menu ke "More" bila tinggi #nav >= 30px — tautan wajib < 30px */
  header.header.ah-header .ah-nav .navbar-nav > li > a { padding: 4px 11px !important; line-height: 20px; border-radius: 8px; }
  /* Daftar Store panjang (20+ grup): gulir di dalam menu, tidak keluar layar */
  header.header.ah-header .ah-nav .dropdown-menu { max-height: calc(100vh - 140px); overflow-y: auto; }
}
@media (max-width: 1199.98px) {
  .ah-nav #mainNavbar { flex-basis: 100%; border-top: 1px solid var(--ah-line-dark); margin-top: 12px; padding: 8px 0 14px; }
  header.header.ah-header .ah-nav .navbar-nav > li > a { display: flex; padding: 12px 12px !important; font-size: 15.5px; }
  header.header.ah-header .ah-nav .dropdown-menu { background: var(--ah-ink-2); border-color: var(--ah-line-dark); box-shadow: none; margin: 2px 0 8px; }
  header.header.ah-header .ah-nav .dropdown-menu a.dropdown-item, header.header.ah-header .ah-nav .dropdown-menu > li > a { color: #c3d0de !important; padding: 10px 12px !important; font-size: 15px; }
  header.header.ah-header .ah-nav .dropdown-menu a.dropdown-item:hover, header.header.ah-header .ah-nav .dropdown-menu a.dropdown-item:focus-visible { background: rgba(255, 255, 255, .07); color: #fff !important; }
  header.header.ah-header .ah-nav .dropdown-divider { border-top-color: var(--ah-line-dark); }
}
@media (max-width: 480px) { .ah-brand .logo-img { height: 26px; } }

/* Breadcrumb */
.master-breadcrumb { background: var(--ah-card); border-bottom: 1px solid var(--ah-line); }
.master-breadcrumb .breadcrumb { background: transparent; padding: 10px 0; margin: 0; font-size: 13px; }
.master-breadcrumb .breadcrumb-item, .master-breadcrumb .breadcrumb-item a { color: var(--ah-muted); }
.master-breadcrumb .breadcrumb-item.active { color: var(--ah-text); font-weight: 600; }

#main-body { padding: 32px 0 56px; background: transparent; }

/* ---------- Tombol ---------- */
.btn { font-family: var(--ah-sans); font-weight: 700; border-radius: 11px; padding: .55rem 1.05rem; border-width: 1.5px; transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .1s ease; }
.btn:active { transform: translateY(1px); }
.btn-sm { border-radius: 9px; padding: .38rem .8rem; font-size: 13.5px; }
.btn-lg { border-radius: 13px; padding: .75rem 1.4rem; }
.btn-primary, .btn-primary:not(:disabled):not(.disabled):active { background: var(--ah-yellow); border-color: var(--ah-yellow); color: var(--ah-ink); }
.btn-primary:hover, .btn-primary:focus { background: #ffc61f; border-color: #ffc61f; color: var(--ah-ink); box-shadow: none; }
.btn-success, .btn-success:not(:disabled):not(.disabled):active { background: var(--ah-ink); border-color: var(--ah-ink); color: #fff; }
.btn-success:hover, .btn-success:focus { background: var(--ah-ink-3); border-color: var(--ah-ink-3); color: #fff; box-shadow: none; }
.btn-info { background: var(--ah-aqua-deep); border-color: var(--ah-aqua-deep); color: #fff; }
.btn-info:hover { background: #065e68; border-color: #065e68; }
.btn-default, .btn-light, .btn-secondary { background: var(--ah-card); border-color: var(--ah-line); color: var(--ah-text); }
.btn-default:hover, .btn-light:hover, .btn-secondary:hover { border-color: var(--ah-aqua); color: var(--ah-aqua-deep); background: var(--ah-card); }
.btn-outline-primary { border-color: var(--ah-line); color: var(--ah-text); background: var(--ah-card); }
.btn-outline-primary:hover, .btn-outline-primary:focus { background: var(--ah-ink); border-color: var(--ah-ink); color: #fff; }
.btn-link { color: var(--ah-aqua-deep); font-weight: 600; }
.ah-btn-ghost { border: 1.5px solid rgba(232, 238, 245, .32); color: var(--ah-on-dark); background: transparent; }
.ah-btn-ghost:hover { border-color: var(--ah-aqua); color: #fff; }

/* ---------- Kartu & panel ---------- */
.card, .panel { border: 1px solid var(--ah-line); border-radius: var(--ah-radius-lg); box-shadow: var(--ah-shadow); background: var(--ah-card); overflow: hidden; }
.card-header, .panel-heading { background: var(--ah-card); border-bottom: 1px solid var(--ah-line); font-weight: 800; padding: 14px 18px; }
.card-header h3, .card-header .card-title, .card-title { font-size: 16px; font-weight: 800; margin: 0; }
.card-footer { background: var(--ah-paper); border-top: 1px solid var(--ah-line); }
.card-accent-teal, .card-accent-pomegranate, .card-accent-sun-flower, .card-accent-asbestos, .card-accent-green, .card-accent-midnight-blue, .card-accent-blue, .card-accent-gold, .card-accent-red, .card-accent-orange, .card-accent-emerald, .card-accent-amethyst { border-top: 0 !important; }

/* Sidebar ala panel rak */
.sidebar .card, .card-sidebar { border-radius: var(--ah-radius); }
.card-sidebar .card-header { font-size: 14px; display: flex; align-items: center; gap: 8px; }
.card-sidebar .card-header .card-title { font-size: 14px; }
.card-sidebar .card-header i, .card-sidebar .card-header .fas { color: var(--ah-aqua-deep); }
.list-group-item { border-color: var(--ah-line); font-size: 14px; padding: 10px 16px; color: var(--ah-text); }
.list-group-item-action:hover, .list-group-item-action:focus { background: #f7fafb; color: var(--ah-aqua-deep); }
.list-group-item.active, .card-sidebar .list-group-item.active, .list-group-item.active:hover { background: var(--ah-aqua-soft) !important; color: var(--ah-aqua-deep) !important; border-color: var(--ah-line) !important; font-weight: 700; box-shadow: inset 3px 0 0 var(--ah-aqua); }
.list-group-item .badge { background: var(--ah-paper); color: var(--ah-muted); font-family: var(--ah-mono); font-weight: 500; border-radius: 6px; }

/* ---------- Formulir ---------- */
.form-control, .custom-select, select.form-control { border: 1.5px solid var(--ah-line); border-radius: 11px; color: var(--ah-text); font-family: var(--ah-sans); min-height: 42px; }
.form-control:focus, .custom-select:focus { border-color: var(--ah-aqua); box-shadow: 0 0 0 3px rgba(17, 180, 198, .18); }
.input-group-text { background: var(--ah-paper); border: 1.5px solid var(--ah-line); color: var(--ah-muted); border-radius: 11px; }
.input-group > .form-control:not(:first-child), .input-group > .input-group-append > .btn, .input-group > .input-group-append > .input-group-text { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.input-group > .form-control:not(:last-child), .input-group > .input-group-prepend > .input-group-text, .input-group > .input-group-prepend > .btn { border-top-right-radius: 0; border-bottom-right-radius: 0; }
label, .form-control-label { font-weight: 600; color: var(--ah-text); font-size: 14px; }
.custom-control-input:checked ~ .custom-control-label::before { background: var(--ah-aqua-deep); border-color: var(--ah-aqua-deep); }

/* ---------- Tabel & status ---------- */
.table { color: var(--ah-text); }
.table thead th, .table-list thead th { font: 600 11.5px/1.2 var(--ah-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--ah-muted); background: var(--ah-paper); border-bottom: 1px solid var(--ah-line) !important; border-top: 0; }
.table td, .table th { border-color: var(--ah-line); vertical-align: middle; }
.table-list tbody tr:hover td, .table-hover tbody tr:hover { background: #f7fafb; }
.dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter { color: var(--ah-muted); font-size: 13.5px; }
.label, .status, span.label { border-radius: 999px; font: 700 11px/1 var(--ah-sans); letter-spacing: .02em; padding: 5px 10px; text-transform: uppercase; }
.status-active, .label-success, .status-paid, .status-completed, .status-open, .status-answered { background: #dff6ee !important; color: #11795a !important; }
.status-pending, .status-unpaid, .status-customer-reply, .label-warning, .status-inprogress, .status-onhold { background: var(--ah-yellow-soft) !important; color: #8a5a00 !important; }
.status-suspended, .status-overdue, .label-danger, .status-fraud, .status-cancelled, .status-terminated, .status-collections, .status-refunded, .status-closed { background: #fde8e8 !important; color: #a3262c !important; }
.badge-info, .badge-primary { background: var(--ah-aqua-deep); }
.page-item.active .page-link { background: var(--ah-ink); border-color: var(--ah-ink); }
.page-link { color: var(--ah-aqua-deep); border-color: var(--ah-line); }

/* ---------- Peringatan ---------- */
.alert { border-radius: var(--ah-radius); border-width: 1px; font-size: 14.5px; }
.alert-info { background: var(--ah-aqua-soft); border-color: #bfe8ee; color: #0b5560; }
.alert-warning { background: var(--ah-yellow-soft); border-color: #f3dc9a; color: #6b4700; }
.alert-success { background: #e4f7ef; border-color: #b9e8d5; color: #11573f; }
.alert-danger { background: #fdeceb; border-color: #f5c6c4; color: #8a1f24; }

/* ---------- Beranda portal (homepage.tpl) ---------- */
.ah-home { display: grid; gap: 40px; }
.ah-eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 12.5px/1 var(--ah-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ah-aqua-deep); }
.ah-eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.ah-hero { position: relative; overflow: hidden; border-radius: 22px; padding: 44px; color: var(--ah-on-dark); display: grid; grid-template-columns: 1.3fr .9fr; gap: 32px; align-items: center;
  background: radial-gradient(700px 320px at 95% 0%, rgba(17, 180, 198, .18), transparent 60%), radial-gradient(500px 240px at 0% 100%, rgba(244, 180, 0, .09), transparent 60%), var(--ah-ink); }
.ah-hero::before { content: ""; position: absolute; inset: 0; opacity: .45; pointer-events: none; background-image: linear-gradient(var(--ah-line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--ah-line-dark) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%); mask-image: linear-gradient(180deg, #000, transparent 90%); }
.ah-hero > * { position: relative; }
.ah-hero .ah-eyebrow { color: var(--ah-aqua); }
.ah-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin: 14px 0 0; }
.ah-hero p { margin: 14px 0 0; color: var(--ah-on-dark-muted); font-size: 16.5px; max-width: 34em; }
.ah-hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.ah-hero-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ah-hero-links a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--ah-line-dark); border-radius: var(--ah-radius); background: rgba(16, 34, 56, .6); color: var(--ah-on-dark); text-decoration: none; transition: border-color .15s ease; }
.ah-hero-links a:hover { border-color: var(--ah-aqua); color: #fff; }
.ah-hero-links i { color: var(--ah-yellow); font-size: 18px; width: 22px; text-align: center; }
.ah-hero-links b { display: block; color: #fff; font-size: 15px; }
.ah-hero-links small { display: block; color: var(--ah-on-dark-muted); font-size: 13px; }
.ah-sec-head { margin-bottom: 18px; }
.ah-sec-head h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 10px 0 0; }
.ah-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; background: var(--ah-card); border: 1px solid var(--ah-line); border-radius: var(--ah-radius-lg); box-shadow: var(--ah-shadow); overflow: hidden; }
.ah-group { display: grid; grid-template-columns: 10px minmax(0, 1fr) 18px; gap: 14px; align-items: center; padding: 16px 20px; color: var(--ah-text) !important; text-decoration: none !important; border-bottom: 1px solid var(--ah-line); transition: background-color .15s ease; }
.ah-group:nth-child(odd) { border-right: 1px solid var(--ah-line); }
.ah-group:hover { background: #f7fafb; }
.ah-group:hover .fa-arrow-right { color: var(--ah-aqua-deep); transform: translateX(2px); }
.ah-led { width: 8px; height: 8px; border-radius: 50%; background: var(--ah-aqua); box-shadow: 0 0 0 3px rgba(17, 180, 198, .15); }
.ah-group-name { font-weight: 700; font-size: 15px; line-height: 1.3; }
.ah-group-name small { display: block; font-weight: 500; font-size: 13px; color: var(--ah-muted); margin-top: 3px; line-height: 1.45; }
.ah-group .fa-arrow-right { color: #a3b1bf; transition: transform .15s ease, color .15s ease; }
.ah-help { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ah-help a { display: block; padding: 22px 20px; background: var(--ah-card); border: 1px solid var(--ah-line); border-radius: var(--ah-radius-lg); color: var(--ah-text) !important; text-decoration: none !important; transition: border-color .15s ease; }
.ah-help a:hover { border-color: var(--ah-aqua); }
.ah-help i { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 12px; background: var(--ah-aqua-soft); color: var(--ah-aqua-deep); font-size: 17px; margin-bottom: 14px; }
.ah-help b { display: block; font-size: 16px; }
.ah-help small { display: block; margin-top: 4px; color: var(--ah-muted); font-size: 13.5px; }
@media (max-width: 991.98px) { .ah-hero { grid-template-columns: 1fr; padding: 32px 24px; } .ah-help { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .ah-groups { grid-template-columns: 1fr; } .ah-group:nth-child(odd) { border-right: 0; } }
@media (max-width: 480px) { .ah-help { grid-template-columns: 1fr; } .ah-hero { padding: 26px 18px; border-radius: 18px; } .ah-hero-cta .btn { flex: 1 1 100%; } }

/* ---------- Area klien (dasbor) ---------- */
.tiles .tile { background: var(--ah-card); border: 1px solid var(--ah-line); border-radius: var(--ah-radius); box-shadow: var(--ah-shadow); color: var(--ah-text); }
.tiles .tile:hover { border-color: var(--ah-aqua); }
.tiles .tile .stat { font-family: var(--ah-mono); font-weight: 600; color: var(--ah-ink); }
.tiles .tile .title { color: var(--ah-muted); font-weight: 600; text-transform: none; }
.tiles .tile i { color: var(--ah-aqua); opacity: .35; }
.tiles .tile .highlight { background: var(--ah-aqua) !important; height: 3px; }
.client-home-cards .card-header { display: flex; align-items: center; }
.client-home-cards .card-header .card-title i { color: var(--ah-aqua-deep); }

/* Login & registrasi */
.login-form .card, .card.mw-540 { border-radius: 22px; }
.mw-540 .card-body h6.h3, .mw-540 h6.h3 { font-weight: 800; }

/* ---------- Toko: order form standard_cart ---------- */
html body #order-standard_cart { font-family: var(--ah-sans); }
html body #order-standard_cart .header-lined h1, html body #order-standard_cart .header-lined .font-size-36 { font-weight: 800; letter-spacing: -0.02em; }
html body #order-standard_cart .header-lined p { color: var(--ah-muted); }
html body #order-standard_cart .products .product { border: 1px solid var(--ah-line); border-radius: var(--ah-radius-lg); background: var(--ah-card); box-shadow: var(--ah-shadow); overflow: hidden; padding: 0 0 18px; margin-bottom: 20px; }
html body #order-standard_cart .products .product header { background: var(--ah-ink); color: #fff; padding: 14px 18px; margin: 0 0 14px; border: 0; }
html body #order-standard_cart .products .product header span { color: #fff; font-weight: 800; font-size: 16px; }
html body #order-standard_cart .products .product header .qty { color: var(--ah-yellow); font: 500 12px var(--ah-mono); }
html body #order-standard_cart .products .product div.product-desc { padding: 0 18px; font-size: 14px; color: var(--ah-muted); line-height: 1.7; }
html body #order-standard_cart .products .product div.product-desc ul { padding-left: 18px; }
html body #order-standard_cart .products .product div.product-desc .feature-value { color: var(--ah-text); font-weight: 700; }
html body #order-standard_cart .products .product footer, html body #order-standard_cart .products .product div.product-pricing { padding: 0 18px; }
html body #order-standard_cart .products .product .product-pricing .price { font: 600 22px/1.2 var(--ah-mono); color: var(--ah-ink); letter-spacing: -0.02em; }
html body #order-standard_cart .products .product .btn-order-now { background: var(--ah-yellow); border-color: var(--ah-yellow); color: var(--ah-ink); border-radius: 11px; padding: .5rem 1rem; font-weight: 700; }
html body #order-standard_cart .products .product .btn-order-now:hover { background: #ffc61f; border-color: #ffc61f; }
html body #order-standard_cart .cart-sidebar .card-header, html body #order-standard_cart .sidebar .card-header { font-size: 14px; }
html body #order-standard_cart .sub-heading { border-top: 1px solid var(--ah-line); }
html body #order-standard_cart .sub-heading span, html body #order-standard_cart .sub-heading-borderless span { background: var(--ah-paper); color: var(--ah-text); font-weight: 800; font-family: var(--ah-sans); }
html body #order-standard_cart .product-info { background: var(--ah-card); border: 1px solid var(--ah-line); border-radius: var(--ah-radius); padding: 16px 18px; }
html body #order-standard_cart .product-info .product-title { font-weight: 800; }
html body #order-standard_cart .field-container, html body #order-standard_cart .panel-addon { border-radius: var(--ah-radius); }
html body #order-standard_cart .view-cart-items-header { background: var(--ah-ink) !important; color: var(--ah-on-dark) !important; border-radius: var(--ah-radius) var(--ah-radius) 0 0; font: 600 12px var(--ah-mono); text-transform: uppercase; letter-spacing: .05em; }
html body #order-standard_cart .view-cart-items { border: 1px solid var(--ah-line); border-top: 0; border-radius: 0 0 var(--ah-radius) var(--ah-radius); background: var(--ah-card); }
html body #order-standard_cart .view-cart-items .item { border-color: var(--ah-line); }
html body #order-standard_cart .view-cart-items .item-title { font-weight: 800; }
html body #order-standard_cart .view-cart-items .item-price span:first-child, html body #order-standard_cart .item-price { font-family: var(--ah-mono); font-weight: 600; }
html body #order-standard_cart .order-summary, html body #order-standard_cart .summary-container { background: var(--ah-ink) !important; border: 0 !important; border-radius: var(--ah-radius-lg); color: var(--ah-on-dark); overflow: hidden; }
html body #order-standard_cart .order-summary h2, html body #order-standard_cart .summary-container h2 { background: var(--ah-ink-2) !important; color: #fff !important; font-size: 15px; font-weight: 800; padding: 14px 18px; margin: 0; }
html body #order-standard_cart .summary-container { background: var(--ah-ink) !important; }
html body #order-standard_cart .summary-container .subtotal, html body #order-standard_cart .summary-container .bordered-totals, html body #order-standard_cart .summary-container .total-due-today { border-color: var(--ah-line-dark) !important; color: var(--ah-on-dark); }
html body #order-standard_cart .summary-container .total-due-today .amt, html body #order-standard_cart .total-due-today .amt { font-family: var(--ah-mono); color: var(--ah-yellow) !important; font-weight: 600; }
html body #order-standard_cart .summary-container .product-name { color: #fff; font-weight: 700; }
html body #order-standard_cart .summary-container .product-group, html body #order-standard_cart .summary-container .text-muted { color: var(--ah-on-dark-muted) !important; }
html body #order-standard_cart .summary-container .btn-checkout, html body #order-standard_cart #btnCompleteProductConfig, html body #order-standard_cart #btnCompleteOrder, html body #order-standard_cart .btn-checkout { background: var(--ah-yellow) !important; border-color: var(--ah-yellow) !important; color: var(--ah-ink) !important; border-radius: 12px; font-weight: 800; }
html body #order-standard_cart .empty-cart .btn, html body #order-standard_cart .btn-continue-shopping { border-radius: 11px; }
html body #order-standard_cart .already-registered, html body #order-standard_cart .account-select-container { border-radius: var(--ah-radius); }
html body #order-standard_cart .account-select-container .account.active { border-color: var(--ah-aqua) !important; background: var(--ah-aqua-soft) !important; }

/* ---------- Kaki ---------- */
.ah-footer { background: var(--ah-ink) !important; color: var(--ah-on-dark-muted); padding: 56px 0 24px !important; margin-top: 0; font-size: 14.5px; }
.ah-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.ah-foot-grid h4 { color: #fff; font-size: 14px; letter-spacing: .02em; margin-bottom: 14px; }
.ah-foot-grid ul { list-style: none; margin: 0; padding: 0; }
.ah-foot-grid li + li { margin-top: 9px; }
.ah-footer a { color: var(--ah-on-dark-muted); text-decoration: none; }
.ah-footer a:hover { color: #fff; }
.ah-foot-logo img { height: 30px; width: auto; }
.ah-foot-about p { margin: 14px 0 0; max-width: 30em; }
.ah-asn { display: inline-flex; margin-top: 16px; padding: 7px 12px; border-radius: 10px; border: 1px solid var(--ah-line-dark); font: 500 12.5px/1 var(--ah-mono); color: var(--ah-on-dark) !important; }
.ah-asn:hover { border-color: var(--ah-aqua); }
.ah-foot-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--ah-line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; font-size: 13.5px; }
.ah-footer .copyright { color: var(--ah-on-dark-muted); font-size: 13.5px; }
.ah-foot-tools { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ah-locale { display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 1px solid var(--ah-line-dark); color: var(--ah-on-dark); border-radius: 10px; padding: 7px 12px; font: 500 13px var(--ah-sans); cursor: pointer; }
.ah-locale:hover { border-color: var(--ah-aqua); }
@media (max-width: 991.98px) { .ah-foot-grid { grid-template-columns: 1fr 1fr; } .ah-foot-about { grid-column: span 2; } }
@media (max-width: 480px) { .ah-foot-grid { grid-template-columns: 1fr; } .ah-foot-about { grid-column: auto; } }

/* Modal */
.modal-content { border: 0; border-radius: var(--ah-radius-lg); box-shadow: 0 20px 60px rgba(11, 23, 38, .25); }
.modal-header { border-bottom-color: var(--ah-line); }
.modal-footer { border-top-color: var(--ah-line); }
.modal-localisation .modal-content { background: var(--ah-ink); }
.modal-localisation .item-selector .item { border-radius: 10px; }
.modal-localisation .item-selector .item.active { background: var(--ah-aqua-deep) !important; }

/* ---------- Penyesuaian lanjutan ---------- */
.card-sidebar .card-header .card-title, .card-sidebar .card-header .panel-title { display: flex; align-items: center; gap: 8px; width: 100%; margin: 0; font-size: 14px; font-weight: 800; }
.card-sidebar .card-header .card-minimise { margin-left: auto; float: none !important; color: var(--ah-muted); font-size: 12px; }
.card-sidebar .card-header .badge { margin-left: auto; }
.card-sidebar .card-header .badge + .card-minimise { margin-left: 8px; }

/* Kartu produk: deskripsi di atas, harga + tombol berjajar di bawah */
html body #order-standard_cart .products .row-eq-height > [class*="col-"] { display: flex; }
html body #order-standard_cart .products .product { display: flex; flex-direction: column; width: 100%; }
html body #order-standard_cart .products .product header { background: var(--ah-ink); }
html body #order-standard_cart .products .product div.product-desc { float: none; width: auto; flex: 1; padding: 0 18px; }
html body #order-standard_cart .products .product div.product-desc p { margin-bottom: 0; color: var(--ah-muted); }
html body #order-standard_cart .products .product footer { float: none; width: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 18px 0; padding: 14px 0 0; border-top: 1px dashed var(--ah-line); text-align: left; font-size: 12.5px; color: var(--ah-muted); }
html body #order-standard_cart .products .product footer .product-pricing { padding: 0; text-align: left; line-height: 1.35; }
html body #order-standard_cart .products .product footer .product-pricing br:first-of-type { display: none; }
html body #order-standard_cart .products .product .product-pricing .price { display: block; white-space: nowrap; font-size: 20px; }
html body #order-standard_cart .products .product footer .btn-order-now { white-space: nowrap; flex: none; margin: 0; }
html body #order-standard_cart .header-lined h1 { font-size: 2rem; }
html body #order-standard_cart .sub-heading span, html body #order-standard_cart .sub-heading-borderless span { color: var(--ah-text) !important; }
html body #order-standard_cart .product-info { background: var(--ah-card); }

/* Tabel di layar sempit: gulir di dalam pembungkus, halaman tidak meluap */
.table-container, .dataTables_wrapper { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-container > .table-list { min-width: 100%; }

/* Keranjang: tombol kosongkan & lanjut belanja */
html body #order-standard_cart .empty-cart .btn, html body #order-standard_cart .btn-empty-cart, html body #order-standard_cart #btnEmptyCart { background: var(--ah-card) !important; border: 1px solid var(--ah-line) !important; color: var(--ah-muted) !important; border-radius: 9px; }
html body #order-standard_cart .empty-cart .btn:hover, html body #order-standard_cart #btnEmptyCart:hover { border-color: #e2a3a6 !important; color: #a3262c !important; }
html body #order-standard_cart #continueShopping, html body #order-standard_cart .btn-continue-shopping { color: var(--ah-on-dark-muted) !important; font-weight: 600; }
html body #order-standard_cart #continueShopping:hover { color: #fff !important; }

/* Navbar: Bootstrap menghapus padding container di bawah xl */
header.header .ah-nav > .container { padding-left: 16px; padding-right: 16px; }
@media (min-width: 576px) { header.header .ah-nav > .container { padding-left: 15px; padding-right: 15px; } }
