/*
 * Tampilan toko oceanickesuma.com (gaya marketplace).
 * CSS biasa, tidak perlu `npm run build`. Dipakai layouts/app.blade.php.
 */

:root {
    --ink: #1f2430;
    --ink-2: #4a5160;
    --muted: #7a8190;
    --line: #e6e7eb;
    --line-2: #eef0f3;
    --bg: #f3f4f6;
    --paper: #ffffff;
    --navy: #10243b;
    --navy-2: #1b3554;
    --gold: #b8862b;
    --gold-dark: #996e1f;
    --gold-soft: #fbf3e2;
    --ok: #13834d;
    --ok-soft: #e4f5ec;
    --warn: #a35f00;
    --warn-soft: #fff1d9;
    --info: #1d5ea8;
    --info-soft: #e5effb;
    --danger: #c43025;
    --danger-soft: #fdecea;
    --radius: 10px;
    --radius-sm: 6px;
    --shadow: 0 1px 3px rgba(16, 24, 40, .08);
    --shadow-lg: 0 8px 28px rgba(16, 24, 40, .14);
    --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.oks { margin: 0; font-family: var(--font); font-size: 14px; line-height: 1.5; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
:where(.oks) a { color: inherit; text-decoration: none; }
.oks img { max-width: 100%; display: block; }
.oks h1, .oks h2, .oks h3, .oks h4 { margin: 0; line-height: 1.3; font-weight: 700; }
.oks p { margin: 0; }
.oks button { font-family: inherit; }
.oks [hidden] { display: none !important; }
.icon { flex-shrink: 0; display: inline-block; vertical-align: middle; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.mono { font-family: var(--mono); font-size: .92em; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.strong { font-weight: 700; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.center { text-align: center; }
.row { display: flex; align-items: center; gap: 10px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wrap-row { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.stack > * + * { margin-top: 12px; }
.stack-lg > * + * { margin-top: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.link { color: var(--gold-dark); font-weight: 600; }
.link:hover { text-decoration: underline; }
.hide-mobile { }
@media (max-width: 767px) { .hide-mobile { display: none !important; } }
@media (min-width: 768px) { .show-mobile { display: none !important; } }

/* ======================= Header ======================= */

.topbar { background: var(--navy); color: #c8d2de; font-size: 12px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 32px; }
.topbar a { color: #fff; }
.topbar a:hover { color: #f1d9a6; }
.topbar-links { display: flex; gap: 18px; align-items: center; }

.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-main { display: flex; align-items: center; gap: 18px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.brand-name { font-weight: 800; font-size: 15px; line-height: 1.1; color: var(--navy); }
.brand-sub { font-size: 11px; color: var(--gold-dark); font-weight: 600; letter-spacing: .02em; }

.cat-trigger { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 8px; border: 0; background: none; font-weight: 600; color: var(--ink-2); cursor: pointer; font-size: 14px; }
.cat-trigger:hover, .cat-trigger[aria-expanded="true"] { background: var(--bg); color: var(--ink); }

.search { flex: 1; display: flex; min-width: 0; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; height: 42px; }
.search:focus-within { border-color: var(--gold); }
.search .icon { margin: 0 4px 0 12px; align-self: center; color: var(--muted); }
.search input { flex: 1; min-width: 0; border: 0; padding: 0 8px; font: inherit; font-size: 14px; color: var(--ink); background: transparent; }
.search input:focus { outline: none; }
.search button { border: 0; background: var(--gold); color: #fff; font-weight: 700; padding: 0 20px; cursor: pointer; font-size: 14px; }
.search button:hover { background: var(--gold-dark); }

.header-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.hicon { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 10px; border-radius: 8px; color: var(--ink-2); font-size: 11px; font-weight: 600; border: 0; background: none; cursor: pointer; }
.hicon:hover { background: var(--bg); color: var(--ink); }
.hicon .count { position: absolute; top: 1px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--danger); color: #fff; font-size: 10.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.header-auth { display: flex; gap: 8px; margin-left: 6px; }
.header-divider { width: 1px; height: 28px; background: var(--line); margin: 0 6px; }

.catnav { border-top: 1px solid var(--line-2); }
.catnav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.catnav .wrap::-webkit-scrollbar { display: none; }
.catnav a { padding: 9px 12px; white-space: nowrap; font-size: 13px; color: var(--ink-2); font-weight: 500; border-bottom: 2px solid transparent; }
.catnav a:hover { color: var(--ink); }
.catnav a.is-active { color: var(--gold-dark); border-bottom-color: var(--gold); font-weight: 700; }
.catnav a.hl { color: var(--danger); font-weight: 700; }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow-lg); z-index: 60; }
.mega .wrap { display: grid; grid-template-columns: 240px 1fr; min-height: 320px; padding: 0; }
.mega-roots { border-right: 1px solid var(--line); padding: 10px 0; }
.mega-roots a { display: flex; align-items: center; gap: 10px; padding: 9px 18px; font-weight: 600; color: var(--ink-2); }
.mega-roots a:hover, .mega-roots a.is-hover { background: var(--gold-soft); color: var(--ink); }
.mega-roots .cat-ico { width: 28px; height: 28px; }
.mega-roots .cat-ico svg { width: 18px; height: 18px; }
.mega-panel { padding: 18px 24px; }
.mega-panel h4 { font-size: 15px; margin-bottom: 12px; }
.mega-children { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 24px; }
.mega-children a { color: var(--ink-2); padding: 4px 0; }
.mega-children a:hover { color: var(--gold-dark); }

.dropdown { position: relative; }
.dropdown-panel { position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 6px; z-index: 70; }
.dropdown-panel a, .dropdown-panel button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 9px 10px; border-radius: 6px; font: inherit; font-size: 14px; color: var(--ink); background: none; border: 0; cursor: pointer; }
.dropdown-panel a:hover, .dropdown-panel button:hover { background: var(--bg); }
.dropdown-panel hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.dropdown-head { padding: 10px; display: flex; gap: 10px; align-items: center; border-bottom: 1px solid var(--line); margin-bottom: 6px; }

/* Mobile header + bottom nav */
.m-header { display: none; }
@media (max-width: 767px) {
    .header-main .search, .header-main .cat-trigger, .header-main .header-actions, .catnav { display: none; }
    .m-header { display: flex; gap: 8px; padding: 0 0 10px; }
    .m-header .search { display: flex; height: 40px; }
    .m-header .search button { display: none; }
    .header-main { min-height: 56px; }
    .header-main .m-icons { margin-left: auto; display: flex; gap: 2px; }
    body.oks { padding-bottom: 64px; }
}
@media (min-width: 768px) { .m-icons { display: none; } }
.bottom-nav { display: none; }
@media (max-width: 767px) {
    .bottom-nav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); padding: 6px 0 calc(6px + env(safe-area-inset-bottom)); }
    .bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10.5px; font-weight: 600; color: var(--muted); position: relative; }
    .bottom-nav a.is-active { color: var(--gold-dark); }
    .bottom-nav .count { position: absolute; top: -3px; left: 52%; min-width: 16px; height: 16px; border-radius: 8px; background: var(--danger); color: #fff; font-size: 10px; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px; }
}

/* ======================= Page shell ======================= */

.page { padding: 18px 0 48px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--gold-dark); font-weight: 600; }
.crumbs .icon { width: 14px; height: 14px; }
.page-title { font-size: 22px; font-weight: 800; }
.page-sub { color: var(--muted); margin-top: 4px; }
.page-head { margin-bottom: 18px; }
.page-head h1 { font-size: 22px; font-weight: 800; }
.page-head > p, .page-head > div > p { color: var(--muted); margin-top: 4px; }

.alert { border-radius: var(--radius); padding: 12px 14px; font-size: 14px; margin-bottom: 16px; border: 1px solid; display: flex; gap: 10px; align-items: flex-start; }
.alert ul { margin: 0; padding-left: 18px; }
.alert-ok { background: var(--ok-soft); border-color: #bfe5cf; color: #0e5c37; }
.alert-err { background: var(--danger-soft); border-color: #f5c2bd; color: #8a1c12; }
.alert-info { background: var(--info-soft); border-color: #c5d9f1; color: #163f6e; }
.alert-warn { background: var(--warn-soft); border-color: #f2d7a6; color: #6b4000; }

.card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-pad { padding: 18px; }
.card-head { padding: 14px 18px; border-bottom: 1px solid var(--line-2); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-head h2, .card-head h3 { font-size: 15.5px; font-weight: 700; }
.card-body { padding: 18px; }
.card-foot { padding: 14px 18px; border-top: 1px solid var(--line-2); }
.list-rows > * + * { border-top: 1px solid var(--line-2); }

.grid-2 { display: grid; gap: 16px; grid-template-columns: 1fr; }
.grid-side { display: grid; gap: 16px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) {
    .grid-2 { grid-template-columns: 1fr 1fr; }
    .grid-side { grid-template-columns: minmax(0, 1fr) 360px; }
    .sticky { position: sticky; top: 130px; }
}

/* ======================= Buttons & forms ======================= */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 8px; border: 1px solid transparent; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s; text-decoration: none; }
.btn-primary, .btn-gold { background: var(--gold); color: #fff !important; }
.btn-primary:hover, .btn-gold:hover { background: var(--gold-dark); }
.btn-dark { background: var(--navy); color: #fff !important; }
.btn-dark:hover { background: var(--navy-2); }
.btn-outline { background: #fff; border-color: var(--gold); color: var(--gold-dark) !important; }
.btn-outline:hover { background: var(--gold-soft); }
.btn-light { background: #fff; border-color: var(--line); color: var(--ink) !important; }
.btn-light:hover { border-color: #c9ccd3; background: #fafafa; }
.btn-ghost { background: none; color: var(--ink-2) !important; }
.btn-ghost:hover { background: var(--bg); }
.btn-danger { background: #fff; border-color: #efc1bc; color: var(--danger) !important; }
.btn-danger:hover { background: var(--danger-soft); }
.btn-wa { background: #1fa855; color: #fff !important; }
.btn-wa:hover { background: #168a45; }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 7px; }
.btn-lg { height: 48px; padding: 0 22px; font-size: 15px; }
.btn-block { display: flex; width: 100%; }
.btn-icon { width: 36px; height: 36px; padding: 0; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.field { margin-bottom: 14px; }
.field > label, .label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--ink-2); }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 5px; }
.field .error, .error { font-size: 12.5px; color: var(--danger); margin-top: 5px; }
.input, .select, .textarea { width: 100%; border: 1px solid #d5d8de; border-radius: 8px; background: #fff; font: inherit; font-size: 14px; color: var(--ink); padding: 9px 12px; min-height: 40px; }
.textarea { min-height: 90px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184, 134, 43, .15); }
.input.is-invalid { border-color: var(--danger); }
.fields-2 { display: grid; gap: 0 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .fields-2 { grid-template-columns: 1fr 1fr; } }
.check { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--gold); }

.stepper { display: inline-flex; align-items: center; border: 1px solid #d5d8de; border-radius: 8px; overflow: hidden; height: 36px; background: #fff; }
.stepper button { width: 34px; height: 100%; border: 0; background: none; color: var(--gold-dark); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.stepper button:hover { background: var(--gold-soft); }
.stepper button:disabled { color: #c9ccd3; cursor: not-allowed; background: none; }
.stepper input { width: 46px; height: 100%; border: 0; text-align: center; font: inherit; font-weight: 700; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; }

/* ======================= Badges ======================= */

.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.badge-warn { background: var(--warn-soft); color: var(--warn); }
.badge-info { background: var(--info-soft); color: var(--info); }
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-muted { background: #eceef1; color: var(--muted); }
.badge-danger { background: var(--danger-soft); color: var(--danger); }
.tag-disc { display: inline-block; font-size: 11px; font-weight: 800; padding: 2px 6px; border-radius: 4px; background: var(--danger-soft); color: var(--danger); }
.tag-ready, .tag-po, .tag-out { white-space: nowrap; flex-shrink: 0; }
.tag-ready { display: inline-block; font-size: 10.5px; font-weight: 700; padding: 1px 6px; border-radius: 4px; background: var(--ok-soft); color: var(--ok); }
.tag-po { display: inline-block; font-size: 10.5px; font-weight: 700; padding: 1px 6px; border-radius: 4px; background: var(--info-soft); color: var(--info); }

/* ======================= Home ======================= */

.home-top { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 16px; }
@media (min-width: 960px) { .home-top { grid-template-columns: minmax(0, 1fr) 300px; } }
.home-top #promo-carousel { margin: 0 !important; border: 0 !important; border-radius: var(--radius) !important; }
.home-side { display: grid; gap: 14px; }
.side-card { border-radius: var(--radius); padding: 18px; color: #fff; display: flex; flex-direction: column; gap: 8px; justify-content: space-between; min-height: 140px; }
.side-card h3 { font-size: 16px; }
.side-card p { font-size: 13px; opacity: .85; }
.side-card.navy { background: linear-gradient(135deg, #10243b, #1f4166); }
.side-card.gold { background: linear-gradient(135deg, #a67521, #c99a3e); }
.side-card .btn { align-self: flex-start; background: #fff; color: var(--navy) !important; height: 32px; font-size: 13px; }

.hero-fallback { background: linear-gradient(120deg, #10243b 0%, #1d3e61 100%); color: #fff; border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; justify-content: center; min-height: 290px; }
.hero-fallback .kicker { color: #e7c27a; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero-fallback h1 { font-size: 30px; margin-top: 10px; max-width: 16em; }
.hero-fallback p { color: #cbd5e1; margin-top: 10px; max-width: 34em; font-size: 15px; }
.hero-fallback .row { margin-top: 18px; }
@media (max-width: 767px) {
    .hero-fallback { padding: 22px 18px; min-height: 0; }
    .hero-fallback h1 { font-size: 22px; }
    .hero-fallback p { font-size: 13.5px; }
    .home-side { grid-template-columns: 1fr 1fr; gap: 10px; }
    .side-card { min-height: 0; padding: 14px; }
    .side-card h3 { font-size: 14px; }
    .side-card p { display: none; }
    .side-card .btn { font-size: 12px; padding: 0 10px; }
    .usp { display: none; }
    .section { padding: 14px; margin-top: 12px; }
    .section-head h2 { font-size: 16px; }
    .page { padding-top: 12px; }
}

.usp { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 14px; box-shadow: var(--shadow); }
@media (min-width: 900px) { .usp { grid-template-columns: repeat(4, 1fr); } }
.usp div { background: #fff; padding: 14px 16px; display: flex; gap: 12px; align-items: center; }
.usp .icon { color: var(--gold-dark); }
.usp strong { display: block; font-size: 13.5px; }
.usp span { display: block; font-size: 12px; color: var(--muted); }

.section { margin-top: 18px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.section-plain { margin-top: 24px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-head h2 { font-size: 18px; font-weight: 800; }
.section-head p { color: var(--muted); font-size: 13px; margin-top: 2px; }
.section-head a.more { font-size: 13.5px; font-weight: 700; color: var(--gold-dark); white-space: nowrap; display: inline-flex; align-items: center; gap: 2px; }

.cat-circles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 8px; }
@media (min-width: 640px) { .cat-circles { grid-template-columns: repeat(6, 1fr); } }
@media (min-width: 1040px) { .cat-circles { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); } }
.cat-circle { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.cat-circle .cat-ico { width: 60px; height: 60px; border-radius: 18px; background: var(--gold-soft); color: var(--gold-dark); display: flex; align-items: center; justify-content: center; transition: transform .15s; }
.cat-circle .cat-ico svg { width: 30px; height: 30px; }
.cat-circle:hover .cat-ico { transform: translateY(-2px); background: #f6e6c4; }
.cat-ico { display: flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--gold-soft); color: var(--gold-dark); }

.steps { display: grid; gap: 12px; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.step::before { counter-increment: step; content: counter(step); font-weight: 800; font-size: 13px; width: 28px; height: 28px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-dark); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.step strong { display: block; font-size: 14px; }
.step p { font-size: 13px; color: var(--muted); margin-top: 4px; }

.ports { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .ports { grid-template-columns: repeat(3, 1fr); } }
.port-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.port-card h3 { font-size: 14.5px; display: flex; align-items: center; gap: 6px; }
.port-card ul { list-style: none; margin: 8px 0 0; padding: 0; font-size: 13px; color: var(--ink-2); columns: 2; column-gap: 12px; }
.port-card li { padding: 2px 0; break-inside: avoid; }

.cta-band { margin-top: 18px; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 22px 24px; display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-band h2 { font-size: 18px; }
.cta-band p { color: #c8d2de; margin-top: 4px; max-width: 46em; }

.testimonials { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }
.testimonial { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 0; }
.testimonial blockquote { margin: 0; font-size: 14px; color: var(--ink-2); }
.testimonial .who { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 13px; }
.testimonial .who img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }


/* ======================= Carousel ======================= */

.carousel { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy); box-shadow: var(--shadow); }
.carousel-track { position: relative; aspect-ratio: 1400 / 460; }
.carousel-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.carousel-slide.is-active { opacity: 1; visibility: visible; }
.carousel-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.carousel-text { position: absolute; left: 5%; top: 10%; right: 35%; color: #fff; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.carousel-kicker { color: #e8c377; font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.carousel-title { font-size: clamp(16px, 3vw, 36px); line-height: 1.15; font-weight: 800; }
.carousel-sub { font-size: clamp(13px, 2.2vw, 26px); font-weight: 700; color: #e6e2d8; line-height: 1.2; }
.carousel-sub em { font-style: normal; color: #d9a646; }
.carousel-body { font-size: 13px; color: #dcd8ce; margin-top: 4px; }
.carousel-cta { margin-top: 10px; background: #fff; color: var(--navy); font-weight: 700; border-radius: 6px; padding: 8px 16px; font-size: 13px; }
.carousel-badge { position: absolute; left: 71%; top: 78%; width: 20%; text-align: center; }
.carousel-badge strong { display: block; color: #d9a646; font-size: clamp(11px, 1.4vw, 18px); }
.carousel-badge span { display: block; color: #dcd8ce; font-size: 11px; }
@media (max-width: 639px) { .carousel-body, .carousel-kicker, .carousel-badge span { display: none; } .carousel-cta { padding: 4px 10px; font-size: 11px; margin-top: 4px; } }
.carousel-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.carousel-dots button { width: 8px; height: 8px; border-radius: 4px; border: 0; padding: 0; background: rgba(255, 255, 255, .5); cursor: pointer; transition: width .2s; }
.carousel-dots button.is-active { width: 22px; background: #fff; }
.carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow); opacity: 0; transition: opacity .2s; }
.carousel:hover .carousel-arrow, .carousel-arrow:focus-visible { opacity: 1; }
.carousel-arrow.prev { left: 10px; }
.carousel-arrow.next { right: 10px; }
.rate-note { text-align: center; color: var(--muted); font-size: 12px; margin-top: 16px !important; }
.usp div > span { display: block; }
.home-top > div:first-child { min-width: 0; }
@media (min-width: 960px) { .home-top .hero-fallback { min-height: 100%; } }

/* ======================= Product card ======================= */

.product-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } }
@media (min-width: 900px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .product-grid.cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); } .product-grid.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.product-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; scrollbar-width: thin; }
.product-scroll > * { scroll-snap-align: start; }
@media (min-width: 640px) { .product-scroll { grid-auto-columns: 31%; } }
@media (min-width: 900px) { .product-scroll { grid-auto-flow: row; grid-template-columns: repeat(6, minmax(0, 1fr)); overflow: visible; } }

.pcard { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; transition: box-shadow .15s, transform .15s; position: relative; min-width: 0; }
.pcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.section .pcard, .card .pcard { box-shadow: none; border: 1px solid var(--line); }
.section .pcard:hover { box-shadow: var(--shadow-lg); }
.pcard-img { position: relative; display: block; aspect-ratio: 1 / 1; background: #fff; overflow: hidden; border-bottom: 1px solid var(--line-2); }
.pcard-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.pcard-img img.is-placeholder { padding: 24%; opacity: .55; }
.pcard-img .noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #c9ccd3; background: #f7f8fa; }
.pcard-img .tag-disc { position: absolute; top: 8px; left: 8px; }
.pcard-body { padding: 10px 10px 4px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.pcard-name { font-size: 13px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; color: var(--ink); }
.pcard-name:hover { color: var(--gold-dark); }
.pcard-price { font-weight: 800; font-size: 15px; color: var(--ink); }
.pcard-was { display: flex; gap: 6px; align-items: center; font-size: 11.5px; }
.pcard-was s { color: var(--muted); }
.pcard-idr { font-size: 11.5px; color: var(--muted); }
.pcard-meta { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); margin-top: auto; padding-top: 4px; min-width: 0; }
.pcard-meta .cat { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard-foot { padding: 6px 10px 10px; }
.pcard-foot .btn { width: 100%; height: 32px; font-size: 12.5px; }

.pcard-soldout { position: absolute; inset: auto 0 0 0; background: rgba(31, 36, 48, .72); color: #fff; font-size: 12px; font-weight: 700; text-align: center; padding: 5px; }
.pcard-ask { font-size: 13px; color: var(--ink-2); font-weight: 700; }
.pcard-plus { font-size: 12px; color: var(--muted); margin-left: 2px; font-weight: 600; }
.tag-out { display: inline-block; font-size: 10.5px; font-weight: 700; padding: 1px 6px; border-radius: 4px; background: #eceef1; color: var(--muted); }

/* ======================= Catalog ======================= */

.catalog { display: grid; gap: 16px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .catalog { grid-template-columns: 250px minmax(0, 1fr); } }
.filters { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.filters h3 { font-size: 13px; font-weight: 800; margin-bottom: 8px; }
.filter-group { padding: 14px 16px; border-bottom: 1px solid var(--line-2); }
.filter-group:last-child { border-bottom: 0; }
.filter-list { list-style: none; margin: 0; padding: 0; font-size: 13.5px; }
.filter-list a { display: flex; justify-content: space-between; gap: 6px; padding: 5px 8px; border-radius: 6px; color: var(--ink-2); }
.filter-list a:hover { background: var(--bg); color: var(--ink); }
.filter-list a.is-active { background: var(--gold-soft); color: var(--gold-dark); font-weight: 700; }
.filter-list .sub { padding-left: 12px; }
.filter-list .sub a { font-size: 13px; }
.price-inputs { display: flex; gap: 6px; align-items: center; }
.price-inputs .input { min-height: 36px; padding: 6px 8px; font-size: 13px; }
@media (max-width: 959px) {
    .filters-drawer { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .45); display: none; }
    .filters-drawer.is-open { display: block; }
    .filters-drawer .filters { position: absolute; left: 0; top: 0; bottom: 0; width: 86%; max-width: 340px; overflow-y: auto; border-radius: 0; }
}
@media (min-width: 960px) { .filters-drawer { display: block !important; } .filters-close, .filters-open { display: none !important; } }

.sortbar { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.sortbar .label { margin: 0 6px 0 0; font-size: 13px; }
.sort-chip { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2); background: #fff; }
.sort-chip:hover { border-color: var(--gold); }
.sort-chip.is-active { background: var(--gold); border-color: var(--gold); color: #fff; }
.result-count { font-size: 13px; color: var(--muted); margin-left: auto; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.chip-x { display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px 4px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 12.5px; }
.chip-x a { display: inline-flex; color: var(--muted); }
.empty { text-align: center; padding: 48px 20px; color: var(--muted); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.empty .icon { color: #c9ccd3; margin: 0 auto 10px; }
.empty strong { display: block; color: var(--ink); font-size: 16px; margin-bottom: 6px; }

.catalog-head { margin-bottom: 12px; }
.sort-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.sort-chips::-webkit-scrollbar { display: none; }
.sort-chip { white-space: nowrap; }
.filter-group .check + .check { margin-top: 8px; }
.filter-list a .icon { align-self: center; }
@media (min-width: 960px) { .filters-close-row { display: none !important; } .filters { position: sticky; top: 130px; max-height: calc(100vh - 150px); overflow-y: auto; } }
.empty p { max-width: 420px; margin: 0 auto !important; }

/* ======================= Product detail ======================= */

.pd { display: grid; gap: 18px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .pd { grid-template-columns: 380px minmax(0, 1fr) 300px; } }
.pd-gallery .main { aspect-ratio: 1 / 1; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; position: relative; }
.pd-gallery .main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.pd-gallery .main img.is-placeholder { padding: 25%; opacity: .55; }
.pd-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.pd-thumbs button { width: 60px; height: 60px; padding: 4px; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: #fff; cursor: pointer; box-shadow: var(--shadow); }
.pd-thumbs button.is-active { border-color: var(--gold); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd-info h1 { font-size: 20px; font-weight: 800; }
.pd-price { font-size: 28px; font-weight: 800; margin-top: 10px; }
.pd-meta { margin: 16px 0 0; }
.pd-meta div { display: grid; grid-template-columns: 130px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line-2); font-size: 13.5px; }
.pd-meta dt { color: var(--muted); }
.pd-meta dd { margin: 0; }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-top: 20px; }
.tabs button, .tabs a { background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 14px; font-weight: 700; color: var(--muted); cursor: pointer; font-size: 14px; }
.tabs .is-active { color: var(--gold-dark); border-bottom-color: var(--gold); }
.tab-panel { padding: 14px 0; font-size: 14px; color: var(--ink-2); white-space: pre-line; }
.buybox { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 16px; }
.buybox h3 { font-size: 15px; margin-bottom: 12px; }
.buybox .sum { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0; }
.buybox .sum strong { font-size: 18px; }
.stock-ok { color: var(--ok); font-weight: 600; }
.stock-low { color: var(--warn); font-weight: 600; }
.stock-out { color: var(--danger); font-weight: 600; }
.mobile-buybar { display: none; }
@media (max-width: 899px) {
    .mobile-buybar { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 64px; z-index: 55; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px; }
    .mobile-buybar .btn { flex: 1; }
}

.pd-info { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; min-width: 0; }
.pd-sub { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); margin-top: 6px; }
.pd-price-box { background: #fafbfc; border: 1px solid var(--line-2); border-radius: 8px; padding: 12px 14px; margin-top: 14px; }
.pd-price-box .pd-price { margin-top: 0; }
.pd-unit { font-size: 14px; color: var(--muted); font-weight: 600; }
.tab-panel[hidden] { display: none; }
.buybox-points { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line-2); font-size: 12.5px; color: var(--ink-2); }
.buybox-points li { display: flex; gap: 8px; align-items: center; padding: 3px 0; }
.buybox-points .icon { color: var(--gold-dark); }
@media (min-width: 900px) and (max-width: 1099px) { .pd { grid-template-columns: 320px minmax(0, 1fr); } .pd .buybox { grid-column: 2; } }
@media (max-width: 899px) { body.oks:has(.mobile-buybar) { padding-bottom: 130px; } }
@media (max-width: 767px) { .mobile-buybar { bottom: 64px; } }
@media (min-width: 768px) and (max-width: 899px) { .mobile-buybar { bottom: 0; } }

/* ======================= Cart / checkout / orders ======================= */

.line-item { display: flex; gap: 14px; padding: 16px 18px; align-items: flex-start; }
.line-item .li-img { width: 72px; height: 72px; border-radius: 8px; border: 1px solid var(--line); background: #fff; overflow: hidden; flex-shrink: 0; position: relative; }
.line-item .li-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.line-item .li-main { flex: 1; min-width: 0; }
.line-item .li-name { font-weight: 600; display: block; }
.line-item .li-name:hover { color: var(--gold-dark); }
@media (max-width: 559px) { .line-item { flex-wrap: wrap; } .line-item .li-total { width: 100%; text-align: left; padding-left: 86px; } }
.line-item .li-actions { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.line-item .li-total { font-weight: 800; text-align: right; white-space: nowrap; }

.mini-items { margin-bottom: 10px; }
.mini-item { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line-2); }
.mini-item .li-img { width: 44px; height: 44px; border-radius: 6px; border: 1px solid var(--line); position: relative; overflow: hidden; flex-shrink: 0; background: #fff; }
.mini-item .li-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.mini-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; line-height: 1.35; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 14px; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font-weight: 800; font-size: 16px; }
.sum-sub { text-align: right; font-size: 12px; color: var(--muted); }

.checkout-steps { display: flex; gap: 0; margin-bottom: 18px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.checkout-steps div { flex: 1; padding: 12px 8px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--muted); border-bottom: 3px solid var(--line); }
.checkout-steps .cs-n { width: 22px; height: 22px; border-radius: 50%; background: #eceef1; display: inline-flex; align-items: center; justify-content: center; font-size: 11.5px; flex-shrink: 0; }
.checkout-steps div.done .cs-n { background: var(--ok); color: #fff; }
.checkout-steps div.current .cs-n { background: var(--gold); color: #fff; }
@media (max-width: 559px) { .checkout-steps div:not(.current) .cs-l { display: none; } }
.checkout-steps div.done { color: var(--ok); border-color: var(--ok); }
.checkout-steps div.current { color: var(--gold-dark); border-color: var(--gold); }

.account { display: grid; gap: 16px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .account { grid-template-columns: 240px minmax(0, 1fr); } }
@media (min-width: 900px) and (max-width: 1139px) { .account .grid-side { grid-template-columns: 1fr; } }
@media (min-width: 1140px) { .account .grid-side { grid-template-columns: minmax(0, 1fr) 300px; } }
.account-nav { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.account-user { display: flex; gap: 10px; align-items: center; padding: 16px; border-bottom: 1px solid var(--line-2); }
.account-user strong { display: block; font-size: 14px; }
.account-nav nav a, .account-nav nav button { display: flex; align-items: center; gap: 10px; padding: 11px 16px; font-weight: 600; color: var(--ink-2); width: 100%; background: none; border: 0; cursor: pointer; font-size: 14px; text-align: left; }
.account-nav nav a:hover, .account-nav nav button:hover { background: var(--bg); color: var(--ink); }
.account-nav nav a.is-active { background: var(--gold-soft); color: var(--gold-dark); box-shadow: inset 3px 0 0 var(--gold); }
@media (max-width: 899px) {
    .account-nav nav { display: flex; overflow-x: auto; }
    .account-nav nav a, .account-nav nav button { white-space: nowrap; width: auto; }
    .account-user { display: none; }
}

.status-tabs { display: flex; gap: 4px; overflow-x: auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 6px; margin-bottom: 12px; scrollbar-width: none; }
.status-tabs a { padding: 8px 14px; border-radius: 8px; font-weight: 700; font-size: 13px; color: var(--muted); white-space: nowrap; }
.status-tabs a.is-active { background: var(--gold-soft); color: var(--gold-dark); }
.status-tabs .n { font-size: 11px; background: var(--danger); color: #fff; border-radius: 9px; padding: 0 6px; margin-left: 4px; }

.order-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 12px; }
.order-card-head { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line-2); font-size: 12.5px; color: var(--muted); }
.order-card-body { display: flex; gap: 14px; padding: 14px 16px; align-items: center; }
.order-card-body .li-img { width: 64px; height: 64px; border-radius: 8px; border: 1px solid var(--line); position: relative; overflow: hidden; flex-shrink: 0; background: #fff; }
.order-card-body .li-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.order-card-foot { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; padding: 0 16px 14px; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 18px 28px; font-size: 14px; }
.timeline li::before { content: ""; position: absolute; left: 5px; top: 5px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #cfd3da; background: #fff; }
.timeline li::after { content: ""; position: absolute; left: 10px; top: 19px; bottom: 0; width: 2px; background: #e5e7eb; }
.timeline li:last-child::after { display: none; }
.timeline li.done::before { border-color: var(--ok); background: var(--ok); }
.timeline li.current::before { border-color: var(--gold); background: var(--gold); box-shadow: 0 0 0 4px rgba(184, 134, 43, .2); }
.timeline li.cancelled::before { border-color: var(--danger); background: var(--danger); }
.timeline strong { display: block; font-weight: 700; }
.timeline span { color: var(--muted); font-size: 12.5px; }

.callout { border-left: 3px solid var(--gold); background: var(--gold-soft); border-radius: 0 8px 8px 0; padding: 12px 14px; font-size: 13.5px; }
.callout strong { display: block; margin-bottom: 2px; }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 8px 12px; font-size: 14px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
@media (max-width: 520px) { .kv { grid-template-columns: 1fr; gap: 2px; } .kv dd { margin-bottom: 8px; } }

table.data { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.data th { text-align: left; font-weight: 700; font-size: 12px; color: var(--muted); padding: 10px 14px; border-bottom: 1px solid var(--line); background: #fafbfc; }
table.data td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
table.data tr:last-child td { border-bottom: 0; }
table.data th.right, table.data td.right { text-align: right; }
table.data .mono { white-space: nowrap; }
.table-scroll { overflow-x: auto; }

/* ======================= Content pages ======================= */

.page .prose:not(.card .prose) { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 26px; max-width: 880px; }
@media (max-width: 559px) { .page .prose:not(.card .prose) { padding: 18px; } }
.prose { font-size: 15px; color: var(--ink-2); line-height: 1.7; }
.prose h2 { font-size: 18px; color: var(--ink); margin: 26px 0 8px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 15.5px; color: var(--ink); margin: 18px 0 6px; }
.prose p { margin: 0 0 12px; }
.prose ul, .prose ol { margin: 0 0 12px; padding-left: 20px; }
.prose li { margin-bottom: 4px; }
.prose a { color: var(--gold-dark); font-weight: 600; }

/* ======================= Footer ======================= */

.site-footer { background: #fff; border-top: 1px solid var(--line); margin-top: 40px; font-size: 13.5px; color: var(--ink-2); }
.site-footer a:hover { color: var(--gold-dark); }
.footer-grid { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; padding-top: 36px; padding-bottom: 24px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; } }
.footer-grid > div:first-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-grid > div:first-child { grid-column: auto; } }
.site-footer h4 { margin: 0 0 12px; color: var(--ink); font-size: 14px; font-weight: 800; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 4px 0; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 800; font-size: 15px; }
.footer-brand img { width: 40px; height: 40px; border-radius: 50%; }
.pay-logos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pay-logos span { border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; font-size: 11.5px; font-weight: 700; color: var(--ink-2); background: #fafbfc; }
.footer-bottom { border-top: 1px solid var(--line); padding: 14px 0 18px; font-size: 12.5px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); }

/* ======================= Pagination (markup Laravel) ======================= */

.pager nav { font-size: 13.5px; }
.pager nav > div:first-child { display: none; }
.pager nav span[aria-current] span, .pager nav a, .pager nav span[aria-disabled] span { display: inline-flex; min-width: 36px; height: 36px; align-items: center; justify-content: center; padding: 0 10px; border: 1px solid var(--line); background: #fff; margin: 2px; border-radius: 8px; color: var(--ink-2); }
.pager nav a:hover { border-color: var(--gold); }
.pager nav span[aria-current] span { background: var(--gold); color: #fff; border-color: var(--gold); font-weight: 700; }
.pager nav svg { width: 16px; height: 16px; }
.pager nav p { color: var(--muted); font-size: 12.5px; margin: 0 0 8px; }
.pager .hidden { display: none; }
@media (min-width: 640px) { .pager .sm\:flex { display: flex; } .pager .sm\:flex-1 { flex: 1; } .pager .sm\:items-center { align-items: center; } .pager .sm\:justify-between { justify-content: space-between; } .pager .sm\:hidden { display: none; } }

/* ======================= Floating WhatsApp ======================= */

.wa-float { position: fixed; left: 16px; bottom: 16px; z-index: 50; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: #1fa855; color: #fff !important; box-shadow: 0 6px 18px rgba(0, 0, 0, .22); }
.wa-float:hover { background: #168a45; }
@media (max-width: 767px) { .wa-float { bottom: 76px; width: 46px; height: 46px; } }


/* ======================= Tambahan header ======================= */

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 6px; font-weight: 700; }
.skip-link:focus { left: 8px; }
.lang-btn { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; color: #fff; font: inherit; font-size: 12px; cursor: pointer; padding: 4px 0; }
.lang-btn:hover { color: #f1d9a6; }
.topbar .dropdown-panel a { color: var(--ink); }
.topbar .dropdown-panel a:hover { color: var(--ink); }
.account-btn { flex-direction: row; gap: 8px; font-size: 13px; }
.account-name { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-name, .brand-sub { display: block; }
.mega[hidden] { display: none; }
@media (max-width: 767px) {
    .mega { display: none !important; }
    .brand-sub { display: none; }
    .header-main { gap: 10px; }
    .brand { min-width: 0; flex-shrink: 1; }
    .brand > span { min-width: 0; }
    .brand-name { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .brand img { width: 34px; height: 34px; }
    .header-main .m-icons { flex-shrink: 0; }
}
.oks-avatar-img { border-radius: 9999px; object-fit: cover; flex-shrink: 0; display: inline-block; vertical-align: middle; }
.oks-avatar-fallback { border-radius: 9999px; background: var(--navy); color: #e8c377; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; vertical-align: middle; }

/* ======================= Chat widget ======================= */

.chat-widget { position: fixed; right: 16px; bottom: 16px; z-index: 55; }
@media (max-width: 767px) { .chat-widget { bottom: 76px; } }
.chat-fab { position: relative; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .22); }
.chat-fab:hover { background: var(--navy-2); }
.chat-badge { position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--danger); color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.chat-panel { position: absolute; right: 0; bottom: 64px; width: 340px; max-width: calc(100vw - 32px); height: 440px; max-height: calc(100vh - 160px); background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden; }
.chat-head { background: var(--navy); color: #fff; padding: 12px 10px 12px 16px; display: flex; align-items: center; justify-content: space-between; }
.chat-head strong { display: block; font-size: 14px; }
.chat-head span { display: block; font-size: 12px; color: #c8d2de; }
.chat-log { flex: 1; overflow-y: auto; padding: 12px; background: #f7f8fa; display: flex; flex-direction: column; gap: 8px; }
.chat-empty { color: var(--muted); font-size: 12.5px; text-align: center; margin-top: 24px !important; }
.chat-row { display: flex; }
.chat-row.from-me { justify-content: flex-end; }
.chat-bubble { max-width: 80%; padding: 8px 12px; border-radius: 12px; font-size: 13.5px; background: #fff; border: 1px solid var(--line); white-space: pre-line; word-wrap: break-word; }
.from-me .chat-bubble { background: var(--gold); border-color: var(--gold); color: #fff; }
.chat-time { display: block; font-size: 11px; margin-top: 3px; opacity: .7; }
.chat-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); }


/* ======================= Halaman login / daftar ======================= */

.auth-page { min-height: 100vh; display: flex; flex-direction: column; }
.auth-header { background: #fff; border-bottom: 1px solid var(--line); }
.auth-header .wrap { min-height: 64px; }
.auth-shell { flex: 1; padding: 32px 0; }
.auth-grid { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .auth-grid { grid-template-columns: minmax(0, 1fr) 420px; } }
.auth-promo { display: none; }
@media (min-width: 900px) { .auth-promo { display: block; background: linear-gradient(135deg, #10243b, #1f4166); color: #fff; border-radius: 16px; padding: 40px; min-height: 460px; } }
.auth-promo .kicker { color: #e7c27a; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.auth-promo h2 { font-size: 28px; margin-top: 12px !important; max-width: 14em; }
.auth-promo ul { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 18px; }
.auth-promo li { display: flex; gap: 14px; align-items: flex-start; color: #c8d2de; font-size: 14px; }
.auth-promo li .icon { color: #e7c27a; margin-top: 2px; }
.auth-promo li strong { display: block; color: #fff; font-size: 15px; }
.auth-card { background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 28px; width: 100%; max-width: 440px; margin: 0 auto; }
@media (max-width: 479px) { .auth-card { padding: 22px 18px; box-shadow: var(--shadow); } }
.auth-heading { font-size: 22px; font-weight: 800; }
.auth-subheading { color: var(--muted); margin-top: 6px !important; margin-bottom: 20px !important; font-size: 14px; }
.auth-field { margin-bottom: 14px; }
.auth-label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--ink-2); }
.auth-input { width: 100%; border: 1px solid #d5d8de; border-radius: 8px; background: #fff; font: inherit; font-size: 14px; color: var(--ink); padding: 10px 12px; min-height: 44px; }
.auth-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184, 134, 43, .15); }
.auth-error { font-size: 12.5px; color: var(--danger); margin-top: 5px !important; }
.auth-status { background: var(--ok-soft); color: #0e5c37; border: 1px solid #bfe5cf; border-radius: 8px; padding: 10px 12px; font-size: 13.5px; margin-bottom: 14px; }
.auth-row-between { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 4px 0 18px; font-size: 13.5px; }
.auth-checkbox-label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.auth-checkbox-label input { accent-color: var(--gold); }
.auth-link { color: var(--gold-dark); font-weight: 700; }
.auth-link:hover { text-decoration: underline; }
.auth-submit { display: flex; width: 100%; align-items: center; justify-content: center; height: 46px; border: 0; border-radius: 8px; background: var(--gold); color: #fff; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
.auth-submit:hover { background: var(--gold-dark); }
.auth-submit-secondary { background: #fff; color: var(--ink); border: 1px solid var(--line); margin-top: 10px; }
.auth-submit-secondary:hover { background: var(--bg); }
.auth-switch { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 18px !important; }
.auth-foot { border-top: 1px solid var(--line); background: #fff; font-size: 12.5px; color: var(--muted); padding: 14px 0; }
.auth-foot a:hover { color: var(--gold-dark); }

@media print {
    .topbar, .site-header, .site-footer, .wa-float, .bottom-nav, .no-print { display: none !important; }
    body.oks { background: #fff; padding: 0; }
}
