:root {
    color-scheme: dark;
    --bg: #08090d;
    --surface: rgba(17, 19, 29, .86);
    --surface-soft: rgba(255, 255, 255, .065);
    --text: #f8fafc;
    --muted: #aeb8cb;
    --border: rgba(255, 255, 255, .12);
    --accent: #00c9a7;
    --accent-2: #22c55e;
    --success: #22c55e;
    --warning: #38bdf8;
    --danger: #fb7185;
    --violet: #f472b6;
    --promo: #ff6b35;
    --panel: var(--surface);
    --panel-2: rgba(28, 33, 48, .92);
    --line: var(--border);
    --bg-soft: #10131c;
    --radius: 16px;
    --shadow: 0 24px 80px rgba(0, 0, 0, .34);
    --pointer-x: 50%;
    --pointer-y: 15%;
}

[data-theme="light"] {
    color-scheme: light;
    --bg: #f4f7fb;
    --surface: rgba(255, 255, 255, .86);
    --surface-soft: rgba(14, 23, 38, .055);
    --text: #121826;
    --muted: #5f6f88;
    --border: rgba(15, 23, 42, .13);
    --accent: #eab308;
    --accent-2: #16a34a;
    --success: #16a34a;
    --warning: #d97706;
    --danger: #e11d48;
    --violet: #7c3aed;
    --panel: var(--surface);
    --panel-2: rgba(243, 246, 252, .92);
    --bg-soft: #eaf0f8;
    --shadow: 0 22px 64px rgba(31, 41, 55, .13);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-main, "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
    background: var(--bg);
    color: var(--text);
    letter-spacing: 0;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -3;
    background:
        linear-gradient(135deg, rgba(0, 201, 167, .09), transparent 38%),
        linear-gradient(225deg, rgba(56, 189, 248, .08), transparent 42%),
        var(--bg);
}

.ambient-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(58rem 42rem at var(--pointer-x) var(--pointer-y), rgba(0, 201, 167, .18), transparent 52%),
        radial-gradient(46rem 34rem at calc(100% - var(--pointer-x)) 12%, rgba(244, 114, 182, .13), transparent 56%),
        radial-gradient(46rem 38rem at 12% 92%, rgba(56, 189, 248, .12), transparent 58%);
    opacity: .92;
    transition: background-position .18s linear;
}

[data-theme="light"] .ambient-bg {
    background:
        radial-gradient(58rem 42rem at var(--pointer-x) var(--pointer-y), rgba(234, 179, 8, .17), transparent 52%),
        radial-gradient(46rem 34rem at calc(100% - var(--pointer-x)) 10%, rgba(124, 58, 237, .12), transparent 56%),
        radial-gradient(46rem 38rem at 10% 90%, rgba(22, 163, 74, .12), transparent 58%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
button { color: inherit; }

.container {
    width: min(1180px, calc(100% - 28px));
    margin: 0 auto;
}

.top-announcement {
    border-bottom: 1px solid var(--border);
    background: linear-gradient(90deg, rgba(250, 204, 21, .2), rgba(34, 197, 94, .1), rgba(139, 92, 246, .12));
    color: var(--text);
    font-size: 13px;
    padding: 9px 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--border);
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    backdrop-filter: blur(18px);
}

.nav {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
    font-weight: 800;
    letter-spacing: 0;
}

.brand img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 12px;
    filter: drop-shadow(0 12px 24px rgba(250, 204, 21, .18));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.nav-search {
    position: relative;
    flex: 1 1 320px;
    max-width: 520px;
    min-width: 220px;
}

.nav-search input {
    width: 100%;
    min-height: 40px;
    border: 1px solid var(--border);
    border-radius: 999px;
    outline: none;
    background: var(--surface-soft);
    color: var(--text);
    padding: 11px 14px 11px 46px;
}

.nav-search input:focus {
    border-color: color-mix(in srgb, var(--accent) 70%, transparent);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent);
}

.nav-search-icon {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}

.nav-search-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.search-results {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    z-index: 80;
    display: grid;
    gap: 6px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    box-shadow: var(--shadow);
    padding: 8px;
    backdrop-filter: blur(18px);
}

.search-result-item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    border-radius: 12px;
    padding: 8px;
}

.search-result-item:hover {
    background: var(--surface-soft);
}

.search-result-item img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    background: var(--bg-soft);
}

.search-result-item strong,
.search-result-item span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-result-empty {
    padding: 10px 12px;
    color: var(--muted);
    font-size: 13px;
}

.nav-links a:hover,
.footer a:hover {
    color: var(--accent);
}

.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.nav-right form { margin: 0; }

.currency-pill,
.badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 31px;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 7px 11px;
    background: var(--surface-soft);
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.badge.hot {
    border-color: color-mix(in srgb, var(--accent) 42%, transparent);
    background: color-mix(in srgb, var(--accent) 16%, transparent);
    color: color-mix(in srgb, var(--accent) 80%, var(--text));
}

.btn,
button.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    border: 0;
    border-radius: 13px;
    padding: 12px 16px;
    background: linear-gradient(135deg, var(--accent), var(--warning));
    color: #111827;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 14px 32px rgba(234, 179, 8, .18);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.btn:hover,
.icon-btn:hover {
    transform: translateY(-1px);
}

.btn.secondary {
    border: 1px solid var(--border);
    background: var(--panel-2);
    color: var(--text);
    box-shadow: none;
}

.btn.ghost {
    border: 1px solid var(--border);
    background: transparent;
    color: var(--muted);
    box-shadow: none;
}

.btn.full { width: 100%; }

.icon-btn {
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--surface-soft);
    color: var(--text);
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.theme-toggle .theme-sun { display: none; }
[data-theme="light"] .theme-toggle .theme-sun { display: inline; }
[data-theme="light"] .theme-toggle .theme-moon { display: none; }

.hero { padding: 24px 0 10px; }

.hero-wide .hero-card {
    min-height: 260px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
    gap: 18px;
    align-items: stretch;
}

.hero-card {
    position: relative;
    min-height: 260px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--shadow);
}

.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .82;
    transform: scale(1.015);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: block;
    opacity: 0;
    transition: opacity .45s ease;
}

.hero-slide.active { opacity: 1; }

.hero-dots {
    position: absolute;
    z-index: 2;
    right: 22px;
    bottom: 22px;
    display: flex;
    gap: 7px;
}

.hero-dots button {
    width: 8px;
    height: 8px;
    border: 0;
    padding: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .36);
    cursor: pointer;
}

.hero-dots button.active {
    width: 24px;
    background: var(--accent);
}

.hero-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    background: rgba(0, 0, 0, .26);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.hero-nav.prev { left: 18px; }
.hero-nav.next { right: 18px; }

.hero-card::after,
.product-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--bg) 92%, transparent), color-mix(in srgb, var(--bg) 36%, transparent), transparent),
        linear-gradient(0deg, color-mix(in srgb, var(--bg) 48%, transparent), transparent 58%);
}

.hero-copy {
    position: absolute;
    z-index: 1;
    left: 28px;
    right: 28px;
    bottom: 28px;
    display: grid;
    gap: 14px;
    max-width: 680px;
}

.home-announcement {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
    padding: 12px 14px;
    overflow-wrap: anywhere;
}

.hero-copy h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(26px, 3.4vw, 38px);
    line-height: 1.06;
    letter-spacing: 0;
}

.hero-copy p {
    margin: 0;
    max-width: 640px;
    color: var(--muted);
}

.search-panel,
.panel {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.search-panel {
    display: grid;
    align-content: center;
    gap: 16px;
    padding: 20px;
}

.big-search {
    display: grid;
    gap: 10px;
}

.big-search h2 {
    margin: 0;
    font-size: 26px;
    line-height: 1.16;
}

.search-form,
.search-row {
    display: flex;
    gap: 10px;
}

.field {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--border);
    border-radius: 13px;
    outline: none;
    background: var(--surface-soft);
    color: var(--text);
    padding: 13px 14px;
}

.field:focus {
    border-color: color-mix(in srgb, var(--accent) 70%, transparent);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent);
}

.trust-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.trust-card {
    display: grid;
    gap: 3px;
    min-height: 84px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: var(--surface-soft);
    padding: 13px;
}

.trust-card strong { font-size: 14px; }
.trust-card span,
.choice small { color: var(--muted); font-size: 12px; }

.section { padding: 28px 0; }

.section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.section-title h2 {
    margin: 0;
    font-size: 25px;
    letter-spacing: 0;
}

.muted { color: var(--muted); }

.tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
}

.tab {
    white-space: nowrap;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--muted);
    font-weight: 800;
    padding: 10px 14px;
    cursor: pointer;
}

.tab.active {
    border-color: transparent;
    background: linear-gradient(135deg, var(--accent), var(--warning));
    color: #111827;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.product-grid.compact {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.product-section[hidden],
[data-popular-section][hidden],
[data-promo-section][hidden] {
    display: none;
}

.history-tabs {
    margin: 14px 0 18px;
}

.history-list {
    display: grid;
    gap: 12px;
}

.history-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(150px, auto) auto;
    gap: 16px;
    align-items: center;
}

.history-card h2 {
    margin: 8px 0 5px;
    font-size: 18px;
    line-height: 1.25;
}

.history-meta {
    display: grid;
    justify-items: end;
    gap: 6px;
}

.history-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.product-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 94%, white 6%), var(--surface));
    box-shadow: 0 16px 44px rgba(0, 0, 0, .13);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--accent) 52%, transparent);
    box-shadow: 0 22px 52px color-mix(in srgb, var(--accent) 12%, transparent);
}

.product-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-soft);
}

.product-media img,
.product-card > img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    background: var(--bg-soft);
}

.product-media::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 40%;
    background: linear-gradient(0deg, rgba(0, 0, 0, .35), transparent);
}

.product-card-body {
    display: grid;
    gap: 7px;
    padding: 14px;
}

.badge-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    min-height: 31px;
}

.product-card strong {
    min-height: 44px;
    overflow-wrap: anywhere;
    line-height: 1.25;
}

.price {
    color: color-mix(in srgb, var(--accent) 80%, var(--text));
    font-weight: 800;
}

.card-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 34px;
    border: 1px solid color-mix(in srgb, var(--accent) 36%, transparent);
    border-radius: 999px;
    color: color-mix(in srgb, var(--accent) 86%, var(--text));
    font-size: 12px;
    font-weight: 800;
    padding: 7px 11px;
}

.old-price {
    color: color-mix(in srgb, var(--muted) 72%, transparent);
    font-size: 12px;
    text-decoration: line-through;
}

.promo-band {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}

.promo-tile {
    display: grid;
    align-content: center;
    gap: 8px;
    min-width: min(340px, 88vw);
    min-height: 106px;
    border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--accent) 17%, transparent), color-mix(in srgb, var(--violet) 12%, transparent)),
        var(--surface);
    padding: 18px;
}

.panel { padding: 18px; }

.product-layout,
.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 18px;
    align-items: start;
}

.product-cover {
    position: relative;
    min-height: 250px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--shadow);
}

.product-cover img {
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
    opacity: .86;
}

.product-cover .cover-text {
    position: absolute;
    inset: auto 18px 18px;
    z-index: 1;
    max-width: 720px;
}

.product-cover .cover-text p {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, .72);
}

.product-cover h1 {
    margin: 10px 0;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.08;
}

.step {
    display: grid;
    gap: 14px;
    padding: 18px 0;
    border-top: 1px solid var(--border);
}

.step:first-child { border-top: 0; padding-top: 0; }

.step h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    line-height: 1.25;
}

.step-no {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--warning));
    color: #111827;
    font-size: 13px;
    font-weight: 800;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.label {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: 13px;
}

.nominal-grid,
.channel-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.choice {
    position: relative;
    min-width: 0;
}

.choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.choice span {
    display: grid;
    align-content: center;
    gap: 4px;
    min-height: 78px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: var(--surface-soft);
    padding: 12px;
    cursor: pointer;
    overflow-wrap: anywhere;
    transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.choice:hover span { transform: translateY(-1px); }

.choice input:checked + span {
    border-color: var(--accent);
    outline: 3px solid color-mix(in srgb, var(--accent) 15%, transparent);
    background: color-mix(in srgb, var(--accent) 12%, var(--surface-soft));
}

.promo-active-row {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
}

.promo-active-row::-webkit-scrollbar {
    display: none;
}

.nominal-choice.promo-choice > span {
    border-color: color-mix(in srgb, var(--promo) 42%, transparent);
    background: color-mix(in srgb, var(--promo) 9%, var(--surface-soft));
}

.nom-promo-tag {
    width: fit-content;
    border-radius: 4px;
    background: var(--promo);
    color: #fff;
    padding: 2px 6px;
    font-size: 9px;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
}

.summary-sticky {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 12px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 11px 0;
    border-bottom: 1px solid var(--border);
}

.summary-row strong {
    text-align: right;
    overflow-wrap: anywhere;
}

.summary-row.total {
    border-bottom: 0;
    font-size: 20px;
    font-weight: 800;
}

.instructions {
    overflow-x: auto;
    white-space: pre-wrap;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: color-mix(in srgb, var(--bg) 46%, transparent);
    color: var(--muted);
    padding: 14px;
}

.timeline {
    display: grid;
    gap: 10px;
    margin: 16px 0;
}

.timeline-item {
    display: flex;
    align-items: start;
    gap: 12px;
    color: var(--muted);
}

.dot {
    width: 13px;
    height: 13px;
    margin-top: 4px;
    border-radius: 999px;
    background: var(--border);
}

.timeline-item.done .dot { background: var(--success); }
.timeline-item.active .dot { background: var(--accent); }

.status {
    display: inline-flex;
    border-radius: 999px;
    padding: 6px 11px;
    background: color-mix(in srgb, var(--muted) 36%, transparent);
    color: var(--text);
    font-size: 12px;
    font-weight: 800;
}

.status.paid,
.status.success,
.status.settlement,
.status.processing {
    background: color-mix(in srgb, var(--success) 24%, transparent);
    color: color-mix(in srgb, var(--success) 86%, var(--text));
}

.status.pending,
.status.pending_payment,
.status.waiting_payment,
.status.pending_review,
.status.required {
    background: color-mix(in srgb, var(--accent) 24%, transparent);
    color: color-mix(in srgb, var(--accent) 86%, var(--text));
}

.status.failed,
.status.expired,
.status.rejected,
.status.canceled,
.status.cancelled {
    background: color-mix(in srgb, var(--danger) 20%, transparent);
    color: color-mix(in srgb, var(--danger) 86%, var(--text));
}

.status.refunded {
    background: color-mix(in srgb, var(--success) 24%, transparent);
    color: color-mix(in srgb, var(--success) 86%, var(--text));
}

.manual-payment-panel {
    display: grid;
    gap: 14px;
    margin: 18px 0;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: color-mix(in srgb, var(--surface-soft) 84%, transparent);
    padding: 16px;
}

.manual-payment-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
}

.manual-payment-head h2,
.manual-payment-head p {
    margin: 6px 0 0;
}

.manual-payment-grid {
    display: grid;
    grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.manual-qr-box {
    display: grid;
    gap: 8px;
    justify-items: center;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: color-mix(in srgb, var(--bg) 38%, transparent);
    padding: 12px;
    text-align: center;
}

.manual-qr {
    width: min(100%, 190px);
    aspect-ratio: 1;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
    padding: 8px;
}

.manual-detail-list {
    display: grid;
    gap: 8px;
}

.manual-copy-row {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: color-mix(in srgb, var(--bg) 32%, transparent);
    padding: 9px 10px;
}

.manual-copy-row span {
    color: var(--muted);
    font-size: 12px;
}

.manual-copy-row strong {
    min-width: 0;
    overflow-wrap: anywhere;
}

.manual-copy-row button {
    min-height: 30px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--surface-soft);
    color: var(--text);
    padding: 5px 9px;
    cursor: pointer;
}

.manual-alert {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 12px;
    color: var(--muted);
}

.manual-alert.info {
    border-color: color-mix(in srgb, var(--accent) 34%, transparent);
    background: color-mix(in srgb, var(--accent) 12%, transparent);
}

.manual-alert.danger {
    border-color: color-mix(in srgb, var(--danger) 38%, transparent);
    background: color-mix(in srgb, var(--danger) 13%, transparent);
    color: color-mix(in srgb, var(--danger) 76%, var(--text));
}

.manual-proof-current {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 13px;
}

.manual-proof-current a,
.manual-alert a {
    color: var(--accent);
    font-weight: 800;
}

.manual-proof-form {
    display: grid;
    gap: 12px;
}

.manual-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.manual-form-grid label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.manual-form-grid input {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--border);
    border-radius: 11px;
    outline: none;
    background: var(--surface-soft);
    color: var(--text);
    padding: 10px 12px;
}

.manual-file-field {
    grid-column: 1 / -1;
}

.alert {
    border: 1px solid color-mix(in srgb, var(--danger) 38%, transparent);
    border-radius: 15px;
    background: color-mix(in srgb, var(--danger) 14%, transparent);
    color: color-mix(in srgb, var(--danger) 74%, var(--text));
    padding: 12px 14px;
}

.cs-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 40;
    border-radius: 999px;
    box-shadow: var(--shadow);
}

.footer {
    margin-top: 36px;
    border-top: 1px solid var(--border);
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    color: var(--muted);
    padding: 34px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 24px;
}

.footer ul {
    display: grid;
    gap: 9px;
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
}

.section-link,
.back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 31px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    color: var(--accent);
    padding: 7px 11px;
    font-size: 12px;
    font-weight: 800;
}

.section-link:hover,
.back-link:hover {
    border-color: color-mix(in srgb, var(--accent) 45%, transparent);
}

.prodlist-header {
    padding: 24px 0 8px;
}

.prodlist-header .container {
    display: grid;
    gap: 14px;
}

.prodlist-header h1 {
    margin: 10px 0 6px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.08;
}

.prodlist-grid {
    align-items: stretch;
}

ol.clean {
    color: var(--muted);
    line-height: 1.8;
    padding-left: 20px;
}

.template-soft-light {
    --bg: #f7fafc;
    --surface: rgba(255, 255, 255, .9);
    --surface-soft: rgba(37, 99, 235, .06);
    --text: #111827;
    --muted: #667085;
    --border: rgba(15, 23, 42, .12);
    --accent: #2563eb;
    --warning: #06b6d4;
    --violet: #7c3aed;
    --bg-soft: #e9f0fb;
    --radius: 14px;
}

.template-neon-glass {
    --bg: #071018;
    --surface: rgba(11, 23, 32, .82);
    --surface-soft: rgba(34, 211, 238, .08);
    --text: #ecfeff;
    --muted: #9cc7d0;
    --border: rgba(125, 211, 252, .18);
    --accent: #22d3ee;
    --warning: #a3e635;
    --violet: #f472b6;
    --bg-soft: #0b1f2c;
    --radius: 16px;
}

.template-clean-minimal {
    --bg: #ffffff;
    --surface: rgba(255, 255, 255, .96);
    --surface-soft: rgba(17, 24, 39, .045);
    --text: #111827;
    --muted: #6b7280;
    --border: rgba(17, 24, 39, .13);
    --accent: #111827;
    --warning: #64748b;
    --violet: #475569;
    --bg-soft: #f3f4f6;
    --radius: 10px;
}

.template-gaming-purple {
    --bg: #0e0b18;
    --surface: rgba(25, 18, 42, .86);
    --surface-soft: rgba(168, 85, 247, .09);
    --text: #faf5ff;
    --muted: #c4b5fd;
    --border: rgba(216, 180, 254, .16);
    --accent: #a855f7;
    --warning: #22d3ee;
    --violet: #f472b6;
    --bg-soft: #1d1530;
    --radius: 16px;
}

.template-emerald-soft {
    --bg: #071412;
    --surface: rgba(12, 30, 26, .86);
    --surface-soft: rgba(16, 185, 129, .08);
    --text: #ecfdf5;
    --muted: #9bd8c3;
    --border: rgba(110, 231, 183, .15);
    --accent: #10b981;
    --warning: #f59e0b;
    --violet: #38bdf8;
    --bg-soft: #0d241f;
    --radius: 14px;
}

.template-midnight-gold {
    --bg: #090b12;
    --surface: rgba(18, 21, 31, .88);
    --surface-soft: rgba(245, 158, 11, .08);
    --text: #f9fafb;
    --muted: #b8c0cc;
    --border: rgba(251, 191, 36, .16);
    --accent: #f59e0b;
    --warning: #facc15;
    --violet: #60a5fa;
    --bg-soft: #151925;
    --radius: 12px;
}

.template-ocean-blur {
    --bg: #06131f;
    --surface: rgba(8, 28, 45, .86);
    --surface-soft: rgba(14, 165, 233, .08);
    --text: #eff6ff;
    --muted: #a8c7dd;
    --border: rgba(125, 211, 252, .16);
    --accent: #0ea5e9;
    --warning: #14b8a6;
    --violet: #818cf8;
    --bg-soft: #0b2235;
    --radius: 16px;
}

.template-sunset-card {
    --bg: #151016;
    --surface: rgba(35, 24, 34, .88);
    --surface-soft: rgba(251, 113, 133, .08);
    --text: #fff1f2;
    --muted: #e8b4bd;
    --border: rgba(253, 164, 175, .16);
    --accent: #fb7185;
    --warning: #fbbf24;
    --violet: #a78bfa;
    --bg-soft: #241922;
    --radius: 8px;
}

.template-monochrome-premium {
    --bg: #050505;
    --surface: rgba(18, 18, 18, .9);
    --surface-soft: rgba(255, 255, 255, .07);
    --text: #f5f5f5;
    --muted: #a3a3a3;
    --border: rgba(255, 255, 255, .16);
    --accent: #e5e7eb;
    --warning: #a3a3a3;
    --violet: #737373;
    --bg-soft: #171717;
    --radius: 10px;
}

.card-solid {
    --surface: color-mix(in srgb, var(--bg) 92%, white 8%);
    --surface-soft: color-mix(in srgb, var(--bg) 88%, white 12%);
}

.card-glass .panel,
.card-glass .product-card,
.card-glass .promo-tile,
.card-glass .hero-card {
    backdrop-filter: blur(20px);
}

.banner-cinematic .hero-wide .hero-card {
    min-height: 320px;
}

.banner-minimal .hero-wide .hero-card {
    min-height: 220px;
}

.spacing-compact .section {
    padding: calc(20px * var(--spacing-scale, 1)) 0;
}

.spacing-relaxed .section {
    padding: calc(34px * var(--spacing-scale, 1)) 0;
}

.motion-off .ambient-bg {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

@media (max-width: 980px) {
    .hero-grid,
    .product-layout,
    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .summary-sticky { position: static; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-grid.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .promo-band { grid-template-columns: 1fr; }
    .history-card {
        grid-template-columns: 1fr;
    }

    .history-meta,
    .history-actions {
        justify-items: start;
        justify-content: flex-start;
    }

    .nav {
        align-items: start;
        flex-direction: column;
        padding: 12px 0;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 12px;
    }

    .nav-search {
        width: 100%;
        max-width: none;
        order: 3;
    }

    .nav-right {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .container { width: min(100% - 20px, 1180px); }
    .top-announcement { font-size: 12px; }
    .hero { padding-top: 14px; }
    .hero-card { min-height: 280px; }
    .hero-copy { left: 18px; right: 18px; bottom: 18px; }
    .search-row,
    .search-form,
    .form-grid,
    .nominal-grid,
    .channel-grid,
    .footer-grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    .product-grid { gap: 10px; }
    .product-card-body { padding: 12px; }
    .product-card strong { min-height: 38px; }
    .panel { padding: 15px; }
    .summary-row { gap: 10px; }
}

/* Storefront preview-aligned compact layout */
body {
    background: #0b0e14;
}

body::before {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .018), transparent 220px),
        linear-gradient(135deg, rgba(0, 201, 167, .055), transparent 42%),
        var(--bg);
}

.ambient-bg {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
    background-size: 52px 52px;
    opacity: .22;
}

.container {
    width: min(1100px, calc(100% - 32px));
}

.site-header {
    background: color-mix(in srgb, var(--bg) 90%, transparent);
}

.nav {
    min-height: 58px;
    gap: 18px;
}

.brand {
    gap: 9px;
    font-size: 15px;
}

.brand img {
    width: 31px;
    height: 31px;
    border-radius: 9px;
}

.nav-links {
    gap: 18px;
    font-size: 13px;
    font-weight: 700;
}

.nav-search {
    max-width: 480px;
}

.nav-search input {
    min-height: 38px;
    border-radius: 10px;
    padding-top: 8px;
    padding-bottom: 8px;
    font-size: 13px;
}

.currency-pill,
.badge {
    min-height: 22px;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 10px;
    line-height: 1;
}

.btn,
button.btn {
    min-height: 36px;
    border-radius: 10px;
    padding: 9px 14px;
    font-size: 13px;
}

.icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.hero {
    padding: 22px 0 10px;
}

.hero-wide .hero-card,
.hero-card {
    height: 220px;
    min-height: 220px;
    max-width: 1100px;
    border-radius: 20px;
    box-shadow: 0 18px 58px rgba(0, 0, 0, .28);
}

.hero-card img {
    opacity: .76;
    transform: none;
}

.hero-card::after,
.product-cover::after {
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--bg) 88%, transparent), color-mix(in srgb, var(--bg) 42%, transparent), transparent),
        linear-gradient(0deg, rgba(0, 0, 0, .28), transparent 62%);
}

.hero-copy {
    left: 30px;
    right: 30px;
    bottom: 24px;
    max-width: 560px;
    gap: 10px;
}

.hero-copy h1 {
    max-width: 560px;
    font-size: clamp(22px, 2.4vw, 30px);
    line-height: 1.16;
}

.hero-copy p {
    max-width: 520px;
    font-size: 13px;
}

.hero-copy .btn {
    width: fit-content;
}

.hero-nav {
    width: 34px;
    height: 34px;
    font-size: 22px;
}

.hero-nav.prev { left: 14px; }
.hero-nav.next { right: 14px; }

.hero-dots {
    right: 20px;
    bottom: 16px;
}

.home-announcement {
    min-height: 44px;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 13px;
}

.promo-strip-section {
    padding: 0 0 16px;
}

.promo-row {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 34px;
}

.promo-label {
    flex: 0 0 auto;
    border: 1px solid color-mix(in srgb, var(--promo, #ff6b35) 32%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--promo, #ff6b35) 13%, transparent);
    color: var(--promo, #ff6b35);
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.promo-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0;
    scrollbar-width: none;
}

.promo-scroll::-webkit-scrollbar {
    display: none;
}

.promo-pill {
    flex: 0 0 auto;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--muted);
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
}

.promo-pill:hover {
    border-color: color-mix(in srgb, var(--accent) 48%, transparent);
    color: var(--accent);
}

.category-filter-wrap {
    padding: 0 0 8px;
}

.cat-tabs {
    gap: 6px;
}

.cat-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 8px;
    background: var(--surface);
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 700;
}

.cat-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--muted);
}

.cat-tab[data-cat="games"] .cat-dot { background: #3d9bff; }
.cat-tab[data-cat="pulsa"] .cat-dot { background: #00c9a7; }
.cat-tab[data-cat="paket-data"] .cat-dot { background: #60a5fa; }
.cat-tab[data-cat="voucher"] .cat-dot { background: #94a3b8; }
.cat-tab[data-cat="e-money"] .cat-dot { background: #f472b6; }
.cat-tab[data-cat="pln"] .cat-dot { background: #facc15; }

.cat-tab.active {
    color: #071014;
    border-color: transparent;
}

.cat-tab[data-cat="all"].active { background: var(--text); }
.cat-tab[data-cat="games"].active { background: #3d9bff; }
.cat-tab[data-cat="pulsa"].active { background: #00c9a7; }
.cat-tab[data-cat="paket-data"].active { background: #60a5fa; }
.cat-tab[data-cat="voucher"].active { background: #94a3b8; }
.cat-tab[data-cat="e-money"].active { background: #f472b6; }
.cat-tab[data-cat="pln"].active { background: #facc15; }

.section {
    padding: 22px 0;
}

.section-title {
    margin-bottom: 12px;
}

.section-title h2 {
    font-size: 17px;
}

.section-title .muted,
.product-card .muted {
    font-size: 12px;
}

.product-grid,
.product-grid.compact {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.product-card {
    border-radius: 14px;
    background: var(--surface);
    box-shadow: none;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .26);
}

.product-media {
    height: 94px;
    aspect-ratio: auto;
    display: grid;
    place-items: center;
    padding: 10px;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, transparent), transparent),
        var(--bg-soft);
}

.product-media img,
.product-card > img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: contain;
}

.product-media::after {
    display: none;
}

.product-card-body {
    gap: 6px;
    padding: 10px 11px 11px;
}

.category-badge {
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.category-games { color: #7cc0ff; background: rgba(61, 155, 255, .12); border-color: rgba(61, 155, 255, .2); }
.category-pulsa { color: #43e8ca; background: rgba(0, 201, 167, .12); border-color: rgba(0, 201, 167, .2); }
.category-paket-data { color: #93c5fd; background: rgba(96, 165, 250, .12); border-color: rgba(96, 165, 250, .2); }
.category-voucher { color: #cbd5e1; background: rgba(148, 163, 184, .12); border-color: rgba(148, 163, 184, .2); }
.category-e-money { color: #f9a8d4; background: rgba(244, 114, 182, .12); border-color: rgba(244, 114, 182, .2); }
.category-pln { color: #fde047; background: rgba(250, 204, 21, .12); border-color: rgba(250, 204, 21, .2); }

.product-name,
.product-card strong {
    min-height: 32px;
    font-size: 12px;
    line-height: 1.3;
}

.product-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.product-card-meta > span:first-child {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.card-price {
    display: block;
    color: color-mix(in srgb, var(--accent) 78%, var(--text));
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
}

.card-action {
    min-height: 26px;
    border-radius: 6px;
    padding: 5px 9px;
    font-size: 10px;
}

.more-card {
    display: grid;
    grid-template-rows: 94px minmax(0, 1fr);
}

.more-card-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 94px;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--accent) 16%, transparent), color-mix(in srgb, var(--warning) 8%, transparent)),
        var(--bg-soft);
}

.more-card-visual span {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent) 86%, var(--text));
    box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 34%, transparent);
}

.category-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px auto;
    gap: 10px;
    align-items: center;
    margin: 0 0 14px;
}

.category-search-field,
.category-sort-field {
    min-height: 38px;
    border-radius: 10px;
    padding-top: 8px;
    padding-bottom: 8px;
    font-size: 13px;
}

.category-toolbar-submit {
    min-height: 38px;
    white-space: nowrap;
}

.product-layout,
.checkout-grid {
    max-width: 1100px;
    margin-inline: auto;
}

.product-cover {
    min-height: 200px;
    border-radius: 20px;
}

.product-cover img {
    min-height: 200px;
}

.product-cover h1 {
    font-size: clamp(26px, 3vw, 34px);
}

.nominal-grid,
.channel-grid {
    gap: 8px;
}

.choice span {
    min-height: 70px;
    border-radius: 10px;
    padding: 10px 12px;
}

@media (max-width: 1120px) and (min-width: 981px) {
    .product-grid,
    .product-grid.compact {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 980px) and (min-width: 641px) {
    .product-grid,
    .product-grid.compact {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 20px, 1100px);
    }

    .hero-wide .hero-card,
    .hero-card {
        height: 190px;
        min-height: 190px;
    }

    .hero-copy {
        left: 18px;
        right: 18px;
        bottom: 16px;
    }

    .hero-copy h1 {
        font-size: 21px;
    }

    .hero-copy .badge {
        max-width: 100%;
    }

    .hero-copy p {
        display: none;
    }

    .section {
        padding: 18px 0;
    }

    .section-title {
        align-items: start;
        gap: 10px;
    }

    .section-title h2 {
        font-size: 16px;
    }

    .product-grid,
    .product-grid.compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .product-card {
        border-radius: 10px;
    }

    .product-media {
        height: 82px;
        padding: 7px;
    }

    .more-card {
        grid-template-rows: 82px minmax(0, 1fr);
    }

    .more-card-visual {
        min-height: 82px;
    }

    .more-card-visual span {
        width: 7px;
        height: 7px;
    }

    .product-card-body {
        gap: 5px;
        padding: 8px;
    }

    .badge-row {
        gap: 4px;
        min-height: 20px;
    }

    .badge {
        min-height: 18px;
        padding: 3px 6px;
        font-size: 8.5px;
    }

    .product-name,
    .product-card strong {
        min-height: 30px;
        font-size: 11px;
        line-height: 1.28;
    }

    .product-card .muted {
        font-size: 10px;
    }

    .product-card-meta {
        gap: 5px;
    }

    .card-price {
        font-size: 9.5px;
    }

    .card-action {
        min-height: 23px;
        padding: 4px 7px;
        font-size: 9.5px;
    }

    .category-toolbar {
        grid-template-columns: minmax(0, 1fr) 108px;
        gap: 8px;
    }

    .category-toolbar-submit {
        grid-column: 1 / -1;
        width: 100%;
    }

    .category-filter-wrap .container {
        width: 100%;
        padding-left: 10px;
    }

    .cat-tabs {
        padding-right: 10px;
        scrollbar-width: none;
    }

    .cat-tab {
        padding: 8px 11px;
        font-size: 12px;
    }
}

/* Mobile search/header hardening */
.search-results[hidden],
.search-results:not(.is-open) {
    display: none !important;
}

.search-results.is-open {
    display: grid;
}

@media (max-width: 640px) {
    .site-header {
        position: sticky;
    }

    .site-header .container.nav {
        width: 100%;
        min-height: 0;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 8px 10px;
        padding: 10px 12px 11px;
    }

    .site-header .brand {
        min-width: 0;
        font-size: 14px;
    }

    .site-header .brand img {
        width: 30px;
        height: 30px;
        border-radius: 8px;
    }

    .nav-links {
        grid-column: 1 / -1;
        order: initial;
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 0;
        font-size: 12px;
        scrollbar-width: none;
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-links a {
        flex: 0 0 auto;
        min-height: 28px;
        display: inline-flex;
        align-items: center;
        border: 1px solid var(--border);
        border-radius: 999px;
        background: var(--surface-soft);
        padding: 5px 9px;
    }

    .nav-right {
        grid-column: 2;
        grid-row: 1;
        order: initial;
        width: auto;
        justify-content: end;
        flex-wrap: nowrap;
        gap: 6px;
    }

    .nav-right .currency-pill {
        display: none;
    }

    .nav-right .icon-btn {
        width: 32px;
        height: 32px;
        border-radius: 9px;
    }

    .nav-right .btn {
        min-height: 32px;
        max-width: 118px;
        border-radius: 9px;
        padding: 7px 9px;
        font-size: 11px;
        white-space: nowrap;
    }

    .nav-search {
        grid-column: 1 / -1;
        order: initial;
        width: 100%;
        max-width: none;
        min-width: 0;
        min-height: 0;
        height: auto;
        flex: none;
        margin-top: 0;
    }

    .nav-search input {
        min-height: 44px;
        height: 44px;
        border-radius: 11px;
        padding: 10px 12px 10px 42px;
        font-size: 13px;
    }

    .nav-search-icon {
        left: 6px;
        width: 32px;
        height: 32px;
        background: transparent;
    }

    .search-results {
        position: absolute;
        top: calc(100% + 6px);
        left: 0;
        right: 0;
        max-height: 280px;
        overflow-y: auto;
        border-radius: 12px;
        padding: 7px;
        z-index: 80;
    }

    .search-result-item {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 8px;
        padding: 7px;
    }

    .search-result-item img {
        width: 38px;
        height: 38px;
        border-radius: 8px;
    }

    .search-result-empty {
        padding: 9px 10px;
        font-size: 12px;
    }

    .hero {
        padding: 12px 0 8px;
    }

    .hero-wide .hero-card,
    .hero-card,
    .banner-cinematic .hero-wide .hero-card,
    .banner-minimal .hero-wide .hero-card {
        height: 180px;
        min-height: 180px;
    }

    .promo-strip-section {
        padding: 0 0 10px;
    }

    .promo-row {
        min-height: 30px;
        gap: 7px;
    }

    .promo-label {
        padding: 4px 8px;
        font-size: 10px;
    }

    .promo-pill {
        padding: 5px 9px;
        font-size: 11px;
    }

    .cs-float {
        right: 10px;
        bottom: 10px;
        min-height: 34px;
        padding: 8px 11px;
        font-size: 12px;
    }

    .manual-payment-panel {
        padding: 12px;
        gap: 12px;
    }

    .manual-payment-head {
        display: grid;
    }

    .manual-payment-grid,
    .manual-form-grid {
        grid-template-columns: 1fr;
    }

    .manual-qr {
        width: 168px;
    }

    .manual-copy-row {
        grid-template-columns: 1fr auto;
        gap: 5px 8px;
        padding: 8px;
    }

    .manual-copy-row span {
        grid-column: 1 / -1;
    }
}
