:root {
    --blue-900: #0b2f5f;
    --blue-800: #0f4c81;
    --blue-700: #1268b3;
    --blue-600: #1d8bd8;
    --blue-100: #e8f4ff;
    --green-700: #0b8f72;
    --green-600: #10b981;
    --green-100: #dcfce7;
    --orange: #ff8a00;
    --red: #ef4444;
    --yellow: #facc15;
    --ink: #172033;
    --muted: #6b7280;
    --line: #e5e7eb;
    --paper: #ffffff;
    --soft: #f5f8fb;
    --shadow: 0 14px 34px rgba(15, 76, 129, .12);
    --radius: 18px;
    --radius-sm: 12px;
    --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--soft);
    font-size: 14px;
    line-height: 1.45;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.container { width: min(var(--container), calc(100% - 28px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.mt-20 { margin-top: 20px; }

.site-header { color: #fff; background: linear-gradient(120deg, var(--blue-800), var(--green-700)); box-shadow: var(--shadow); position: sticky; top: 0; z-index: 100; }
.top-line { border-bottom: 1px solid rgba(255,255,255,.16); }
.top-line__inner { min-height: 30px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.top-links { display: none; gap: 8px; align-items: center; font-size: 12px; }
.top-links a:hover, .keyword-row a:hover { text-decoration: underline; }
.top-links .strong { font-weight: 800; }
.main-header { padding: 12px 0 10px; }
.header-grid { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "brand cart" "search search"; gap: 12px; align-items: center; }
.brand { grid-area: brand; display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark { width: 38px; height: 38px; border: 2px solid rgba(255,255,255,.9); border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.15); font-weight: 900; font-size: 24px; line-height: 1; }
.brand-name { font-size: 26px; font-weight: 850; letter-spacing: -.7px; }
.search { grid-area: search; display: grid; grid-template-columns: 1fr auto; background: #fff; border-radius: 12px; padding: 4px; box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.search input { border: 0; outline: 0; padding: 12px 14px; min-width: 0; color: var(--ink); border-radius: 9px; }
.search button { border: 0; background: linear-gradient(120deg, var(--blue-700), var(--green-600)); color: #fff; font-weight: 800; border-radius: 9px; padding: 0 18px; }
.cart-link { grid-area: cart; justify-self: end; position: relative; width: 44px; height: 44px; border-radius: 14px; background: rgba(255,255,255,.16); display: grid; place-items: center; font-size: 22px; }
.cart-badge { position: absolute; top: -6px; right: -5px; background: var(--yellow); color: #111827; font-size: 11px; font-weight: 900; min-width: 21px; height: 21px; border-radius: 999px; display: grid; place-items: center; border: 2px solid #fff; }
.keyword-row { display: flex; gap: 12px; overflow-x: auto; padding-top: 7px; scrollbar-width: none; font-size: 12px; white-space: nowrap; }
.keyword-row::-webkit-scrollbar { display: none; }

.flash { margin-top: 16px; padding: 12px 14px; border-radius: 12px; font-weight: 650; }
.flash--success { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.flash--warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.flash--error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.flash--info { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }

.hero { padding: 22px 0 16px; }
.hero-grid { display: grid; gap: 12px; }
.hero-main, .hero-side-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.hero-main { min-height: 250px; padding: 24px; color: #fff; background:
    radial-gradient(circle at 88% 18%, rgba(255,255,255,.22) 0 90px, transparent 92px),
    linear-gradient(130deg, #0f4c81 0%, #1277bd 49%, #10b981 100%);
    display: grid; align-content: space-between; position: relative; isolation: isolate;
}
.hero-main::after { content: ""; position: absolute; inset: auto 16px 12px auto; width: 180px; height: 160px; border-radius: 30px; background: rgba(255,255,255,.13); transform: rotate(-8deg); z-index: -1; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 8px 12px; background: rgba(255,255,255,.16); border-radius: 999px; font-weight: 800; font-size: 12px; }
.hero h1 { margin: 14px 0 10px; font-size: clamp(28px, 7vw, 52px); line-height: .98; letter-spacing: -1.8px; max-width: 700px; }
.hero p { margin: 0 0 18px; color: rgba(255,255,255,.92); max-width: 560px; font-size: 15px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; min-height: 42px; padding: 10px 16px; font-weight: 850; transition: .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: linear-gradient(120deg, var(--blue-700), var(--green-600)); box-shadow: 0 8px 20px rgba(16,185,129,.25); }
.btn-light { background: #fff; color: var(--blue-800); }
.btn-outline { color: var(--blue-700); background: #fff; border: 1px solid #bfdbfe; }
.btn-danger { background: var(--red); color: #fff; }
.btn-full { width: 100%; }
.hero-benefits { margin-top: 20px; display: grid; gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hero-benefits span { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); padding: 10px; border-radius: 12px; font-weight: 750; font-size: 12px; text-align: center; }
.hero-side { display: grid; gap: 12px; }
.hero-side-card { color: #fff; padding: 22px; min-height: 115px; display: flex; flex-direction: column; justify-content: space-between; }
.hero-side-card h2 { margin: 0; font-size: 22px; line-height: 1; }
.hero-side-card p { margin: 6px 0 0; color: rgba(255,255,255,.88); }
.hero-side-card:nth-child(1) { background: linear-gradient(120deg, #13a3dc, #0b8f72); }
.hero-side-card:nth-child(2) { background: linear-gradient(120deg, #0b2f5f, #13a3dc); }

.quick-menu { padding: 12px 0 18px; background: #fff; }
.quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.quick-item { display: grid; justify-items: center; gap: 7px; text-align: center; font-size: 12px; color: var(--ink); }
.quick-icon { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(180deg, #fff, #f8fbff); box-shadow: 0 8px 18px rgba(15,76,129,.07); font-size: 22px; }

.section { padding: 18px 0; }
.section-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 17px 18px; border-bottom: 1px solid var(--line); }
.section-title { margin: 0; font-size: 18px; letter-spacing: -.2px; }
.section-link { color: var(--blue-700); font-weight: 800; }
.category-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
.category-item { min-height: 132px; padding: 18px 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; justify-items: center; align-content: center; gap: 10px; text-align: center; }
.category-item:hover { background: #f8fbff; }
.category-icon { width: 60px; height: 60px; border-radius: 999px; display: grid; place-items: center; background: var(--blue-100); color: var(--blue-800); font-size: 28px; }
.category-item:nth-child(even) .category-icon { background: var(--green-100); color: var(--green-700); }
.category-name { font-weight: 750; }

.product-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 34px; padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 750; color: var(--muted); }
.chip.active, .chip:hover { color: #fff; background: linear-gradient(120deg, var(--blue-700), var(--green-600)); border-color: transparent; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.product-card { position: relative; background: #fff; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid rgba(229,231,235,.8); box-shadow: 0 10px 22px rgba(17,32,51,.06); transition: .18s ease; }
.product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.product-card__image { aspect-ratio: 1 / 1; background: #f8fbff; display: grid; place-items: center; overflow: hidden; }
.product-card__image img { width: 100%; height: 100%; object-fit: cover; }
.product-card__body { padding: 11px; }
.product-card__title { min-height: 39px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 720; }
.product-price { margin-top: 8px; color: var(--blue-700); font-size: 17px; font-weight: 900; }
.product-meta { margin-top: 8px; display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 12px; }
.badge { position: absolute; top: 8px; left: 8px; background: var(--orange); color: #fff; font-weight: 900; font-size: 11px; padding: 5px 7px; border-radius: 8px; }
.discount { position: absolute; top: 8px; right: 8px; background: #ecfeff; color: var(--green-700); font-weight: 900; font-size: 11px; padding: 5px 7px; border-radius: 8px; }
.empty-state { padding: 36px 18px; text-align: center; color: var(--muted); background: #fff; border-radius: var(--radius); }

.page-shell { padding: 24px 0; }
.panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.auth-grid, .detail-grid, .seller-grid { display: grid; gap: 18px; }
.form { display: grid; gap: 13px; }
.form label { display: grid; gap: 7px; font-weight: 780; color: var(--ink); }
.form input, .form textarea, .form select { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 13px; outline: 0; background: #fff; color: var(--ink); }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(29,139,216,.12); }
.form small { color: var(--muted); font-weight: 500; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.input-inline { display: flex; gap: 8px; }
.input-inline input { max-width: 90px; }

.stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.stat { border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: linear-gradient(180deg, #fff, #f8fbff); }
.stat strong { display: block; font-size: 24px; color: var(--blue-800); }
.stat span { color: var(--muted); font-weight: 700; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; min-width: 680px; }
th, td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { background: #f8fbff; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
tr:last-child td { border-bottom: 0; }
.cart-row { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-row:last-child { border-bottom: 0; }
.cart-row img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; background: #f8fbff; }
.cart-line-title { font-weight: 800; }
.cart-line-meta { margin: 6px 0 10px; color: var(--muted); }
.cart-summary { display: grid; gap: 10px; margin-top: 16px; border-top: 1px solid var(--line); padding-top: 16px; }
.summary-line { display: flex; justify-content: space-between; gap: 16px; }
.summary-line.total { font-size: 18px; font-weight: 900; color: var(--blue-800); }

.product-detail-image { background: #f8fbff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.product-detail-image img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.product-detail h1 { margin: 0 0 10px; font-size: clamp(24px, 6vw, 38px); line-height: 1.08; letter-spacing: -.8px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); margin-bottom: 12px; }
.price-large { color: var(--blue-700); font-size: clamp(26px, 7vw, 40px); font-weight: 950; margin: 12px 0; }
.description { color: #374151; white-space: pre-line; }

.benefit-list { display: grid; gap: 12px; margin-top: 18px; }
.benefit { padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #f8fbff; }
.benefit strong { color: var(--blue-800); }

.site-footer { padding: 28px 0 18px; background: #fff; border-top: 1px solid var(--line); color: #4b5563; }
.footer-grid { display: grid; gap: 24px; }
.footer-grid section { display: grid; align-content: start; gap: 9px; }
.footer-grid h3 { margin: 0 0 4px; color: var(--ink); font-size: 13px; }
.footer-grid a { color: #4b5563; }
.footer-grid a:hover { color: var(--blue-700); }
.logo-stack { display: flex; flex-wrap: wrap; gap: 8px; }
.logo-stack span, .app-buttons span, .trust-badge { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 7px 9px; font-weight: 750; font-size: 12px; }
.qr-box { width: 92px; height: 92px; border: 1px solid var(--line); border-radius: 12px; display: grid; place-items: center; color: var(--blue-800); font-size: 30px; font-weight: 950; background: repeating-linear-gradient(45deg, #fff, #fff 5px, #e8f4ff 5px, #e8f4ff 10px); }
.app-buttons { display: grid; gap: 8px; width: 140px; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 18px; display: flex; flex-direction: column; gap: 10px; color: var(--muted); }

@media (min-width: 560px) {
    .quick-grid { grid-template-columns: repeat(5, minmax(0,1fr)); }
    .category-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
    .product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .stats-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
}

@media (min-width: 820px) {
    .top-links { display: flex; }
    .header-grid { grid-template-columns: 180px 1fr 70px; grid-template-areas: "brand search cart"; }
    .main-header { padding: 16px 0 10px; }
    .hero-grid { grid-template-columns: 2fr 1fr; }
    .quick-grid { grid-template-columns: repeat(10, minmax(0,1fr)); }
    .category-grid { grid-template-columns: repeat(5, minmax(0,1fr)); }
    .product-grid { grid-template-columns: repeat(5, minmax(0,1fr)); }
    .auth-grid { grid-template-columns: .9fr 1.1fr; align-items: center; }
    .detail-grid { grid-template-columns: minmax(320px, 460px) 1fr; }
    .seller-grid { grid-template-columns: 280px 1fr; align-items: start; }
    .footer-grid { grid-template-columns: 1.2fr 1.2fr 1.5fr 1.2fr 1.4fr; }
    .footer-bottom { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 1080px) {
    .category-grid { grid-template-columns: repeat(10, minmax(0,1fr)); }
    .product-grid { grid-template-columns: repeat(6, minmax(0,1fr)); }
}

.form-grid-2 { display: grid; gap: 13px; }
.choice-list { display: grid; gap: 8px; }
.choice-item { width: 100%; text-align: left; border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 12px 14px; display: grid; gap: 4px; color: var(--ink); }
.choice-item strong { font-weight: 850; }
.choice-item small { color: var(--muted); }
.choice-item:hover, .choice-item.active { border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(29,139,216,.10); }
.status-card { border: 1px solid var(--line); border-radius: 16px; padding: 14px; margin: 12px 0 18px; display: grid; gap: 4px; background: #f8fbff; }
.status-card strong { color: var(--blue-800); }
.status-approved, .status-paid { border-color: #a7f3d0; background: #ecfdf5; }
.status-pending, .status-pending_payment { border-color: #fde68a; background: #fffbeb; }
.status-rejected, .status-cancelled { border-color: #fecaca; background: #fef2f2; }
.pill { display: inline-flex; align-items: center; border-radius: 999px; padding: 5px 10px; font-size: 12px; font-weight: 850; background: var(--green-100); color: var(--green-700); }
.pill-blue { background: var(--blue-100); color: var(--blue-800); }
.legal-grid { display: grid; gap: 18px; }
.legal-doc h1 { margin-top: 0; }
.legal-doc h2 { margin: 24px 0 8px; font-size: 18px; color: var(--blue-800); }
.legal-doc p { color: #374151; }
code { background: #f3f4f6; padding: 2px 5px; border-radius: 6px; }

@media (min-width: 820px) {
    .form-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .legal-grid { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
}

.payment-box { display: grid; gap: 12px; border: 1px solid var(--line); border-radius: 16px; padding: 16px; background: #f8fbff; }
.payment-box h2 { margin: 0; color: var(--blue-800); }
.copy-card { border: 1px dashed var(--blue-600); border-radius: 14px; padding: 13px; background: #fff; display: grid; gap: 6px; }
.copy-card span { color: var(--muted); font-weight: 700; }
.copy-card strong { font-size: 22px; letter-spacing: .04em; color: var(--blue-800); word-break: break-all; }
.payment-box .qr-box { width: 220px; max-width: 100%; height: auto; padding: 12px; background: #fff; }
.payment-box .qr-box img { width: 100%; height: auto; display: block; border-radius: 10px; }
.panel-soft { margin-top: 16px; border: 1px solid var(--line); border-radius: 16px; padding: 16px; background: #fff; }
.panel-soft h2 { margin-top: 0; color: var(--blue-800); }
.panel-soft h3 { margin: 14px 0 8px; font-size: 15px; }
.instruction-list { margin: 0 0 8px 20px; padding: 0; color: #374151; }
.instruction-list li { margin-bottom: 7px; }

/* Logo gambar Herbalami */
.brand--image { min-height: 44px; }
.brand-logo { display: block; object-fit: contain; }
.brand-logo--header { width: auto; height: 42px; max-width: 168px; }
.footer-brand-row { display: grid; gap: 10px; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.footer-logo-link { display: inline-flex; width: fit-content; align-items: center; }
.brand-logo--footer { width: auto; height: 46px; max-width: 190px; }
.footer-brand-text { color: var(--blue-800); font-size: 28px; font-weight: 900; letter-spacing: -.7px; }
.footer-brand-row p { margin: 0; max-width: 760px; color: var(--muted); }

@media (min-width: 820px) {
    .header-grid { grid-template-columns: 220px 1fr 70px; }
    .brand-logo--header { height: 48px; max-width: 210px; }
    .footer-brand-row { grid-template-columns: 220px 1fr; align-items: center; }
    .brand-logo--footer { height: 52px; max-width: 220px; }
}

/* Halaman hasil pencarian khusus tanpa banner */
.search-results-page { background: var(--soft); }
.search-results-toolbar { margin-bottom: 14px; align-items: flex-start; }
.eyebrow { margin: 0 0 4px; color: var(--green-700); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.results-count { margin: 7px 0 0; color: var(--muted); }
.search-filter-panel { display: grid; gap: 12px; padding: 14px; }
.category-filter-row { padding-top: 12px; border-top: 1px solid var(--line); }
.search-product-grid { padding-bottom: 10px; }


.payment-methods-image { display: block; width: 100%; max-width: 260px; height: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 8px; box-shadow: 0 8px 20px rgba(15, 23, 42, .06); }
.payment-methods-placeholder { max-width: 260px; border: 1px dashed #cbd5e1; border-radius: 12px; padding: 12px; background: #f8fafc; color: var(--muted); font-size: 12px; line-height: 1.45; }
.shipping-list { display: flex; flex-wrap: wrap; gap: 8px; }
.shipping-list span { display: inline-flex; align-items: center; min-height: 32px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: #334155; font-size: 12px; font-weight: 700; box-shadow: 0 6px 14px rgba(15, 23, 42, .04); }


/* Footer media images: pembayaran, pengiriman, QR download */
.shipping-methods-image { display: block; width: 100%; max-width: 260px; height: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 8px; box-shadow: 0 8px 20px rgba(15, 23, 42, .06); }
.shipping-methods-placeholder, .download-placeholder { max-width: 260px; border: 1px dashed #cbd5e1; border-radius: 12px; padding: 12px; background: #f8fafc; color: var(--muted); font-size: 12px; line-height: 1.45; }
.app-qr-link { display: inline-flex; width: fit-content; border-radius: 14px; }
.app-qr-link:hover { transform: translateY(-1px); }
.app-qr-image { width: 96px; height: 96px; object-fit: contain; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 7px; box-shadow: 0 8px 18px rgba(15, 23, 42, .06); }
.app-buttons a { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 8px 10px; font-weight: 800; font-size: 12px; color: #334155; text-align: center; }
.app-buttons a:hover { border-color: var(--blue-600); color: var(--blue-800); box-shadow: 0 0 0 4px rgba(29,139,216,.08); }

/* Halaman khusus download aplikasi */
.download-hero { display: grid; gap: 22px; align-items: center; }
.download-hero h1 { margin: 0; font-size: clamp(28px, 7vw, 48px); letter-spacing: -.9px; line-height: 1.05; color: var(--ink); }
.download-hero p { margin: 10px 0 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.download-visual { border: 1px solid var(--line); border-radius: 24px; padding: 18px; background: linear-gradient(180deg, #fff, #f8fbff); box-shadow: var(--shadow); display: grid; justify-items: center; gap: 12px; text-align: center; }
.download-qr-large { width: min(260px, 100%); height: auto; aspect-ratio: 1 / 1; object-fit: contain; border: 1px solid var(--line); border-radius: 20px; background: #fff; padding: 12px; }
.download-qr-placeholder { width: min(260px, 100%); aspect-ratio: 1 / 1; border: 1px dashed #cbd5e1; border-radius: 20px; display: grid; place-items: center; padding: 20px; text-align: center; color: var(--muted); background: #f8fafc; }
.download-option-grid { display: grid; gap: 14px; margin-top: 18px; }
.download-option { border: 1px solid var(--line); border-radius: 18px; padding: 16px; background: #fff; display: grid; gap: 8px; box-shadow: 0 8px 20px rgba(15, 23, 42, .04); }
.download-option.is-active { border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(29,139,216,.10), 0 10px 24px rgba(15, 23, 42, .06); }
.download-option strong { color: var(--blue-800); font-size: 17px; }
.download-option span { color: var(--muted); line-height: 1.55; }
.download-badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.download-badge-row a { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 850; }
.download-badge-row a:hover, .download-badge-row a.active { border-color: var(--blue-600); color: var(--blue-800); box-shadow: 0 0 0 4px rgba(29,139,216,.08); }
@media (min-width: 820px) {
    .download-hero { grid-template-columns: minmax(0, 1.25fr) 360px; }
    .download-option-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.muted { color: var(--muted); }

/* Footer images clickable to dedicated system pages */
.footer-media-link { display: inline-flex; width: fit-content; max-width: 100%; border-radius: 12px; transition: .18s ease; }
.footer-media-link:hover { transform: translateY(-1px); }
.footer-media-link:hover .payment-methods-image,
.footer-media-link:hover .shipping-methods-image,
.footer-media-link:hover .payment-methods-placeholder,
.footer-media-link:hover .shipping-methods-placeholder { border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(29,139,216,.08), 0 8px 20px rgba(15, 23, 42, .06); }
.footer-help-link { width: fit-content; color: var(--blue-700) !important; font-size: 12px; font-weight: 850; }
.footer-help-link:hover { color: var(--green-700) !important; text-decoration: underline; }

/* Halaman khusus sistem pembayaran dan pengiriman */
.system-page { display: grid; gap: 18px; }
.system-hero { display: grid; gap: 20px; align-items: center; overflow: hidden; position: relative; isolation: isolate; }
.system-hero::after { content: ""; position: absolute; right: -80px; top: -90px; width: 220px; height: 220px; border-radius: 999px; background: linear-gradient(135deg, rgba(29,139,216,.12), rgba(16,185,129,.12)); z-index: -1; }
.system-hero h1 { margin: 0; font-size: clamp(28px, 7vw, 46px); line-height: 1.05; letter-spacing: -.9px; color: var(--ink); }
.system-lead { margin: 12px 0 0; max-width: 760px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.system-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.system-visual { border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(180deg, #fff, #f8fbff); padding: 18px; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(15, 23, 42, .06); }
.system-visual img { width: 100%; max-width: 360px; height: auto; object-fit: contain; }
.system-image-placeholder { width: 100%; max-width: 360px; min-height: 190px; border: 1px dashed #cbd5e1; border-radius: 18px; padding: 18px; background: #f8fafc; display: grid; place-items: center; text-align: center; color: var(--muted); }
.system-grid { display: grid; gap: 14px; }
.system-card { position: relative; overflow: hidden; border: 1px solid rgba(229,231,235,.82); box-shadow: 0 10px 24px rgba(15, 23, 42, .06); }
.system-card h2 { margin: 8px 0 8px; color: var(--blue-800); font-size: 18px; }
.system-card p { margin: 0; color: #374151; line-height: 1.62; }
.system-number { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 14px; background: linear-gradient(120deg, var(--blue-700), var(--green-600)); color: #fff; font-weight: 950; letter-spacing: -.4px; }
.system-detail-grid { margin-top: 0; }
.system-side-card { align-content: start; }
.system-side-card h2 { margin-top: 0; color: var(--blue-800); }
.method-chip-grid { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 20px; }
.method-chip-grid span { display: inline-flex; align-items: center; min-height: 34px; padding: 7px 11px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: #334155; font-size: 12px; font-weight: 850; box-shadow: 0 6px 14px rgba(15, 23, 42, .04); }

@media (min-width: 820px) {
    .system-hero { grid-template-columns: minmax(0, 1.35fr) 390px; padding: 26px; }
    .system-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Payment gateway selector */
.gateway-grid { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 12px; }
.gateway-card { display: grid; gap: 4px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 8px 20px rgba(15, 23, 42, .04); transition: .18s ease; }
.gateway-card strong { color: var(--blue-800); font-size: 16px; }
.gateway-card span { color: var(--muted); font-size: 13px; }
.gateway-card:hover { border-color: var(--blue-600); transform: translateY(-1px); box-shadow: 0 0 0 4px rgba(29,139,216,.08), 0 10px 24px rgba(15, 23, 42, .06); }
.gateway-card--active { border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(16,185,129,.10), 0 10px 24px rgba(15, 23, 42, .06); }
@media (min-width: 640px) { .gateway-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Herbalami natural marketplace theme */
body { padding-bottom: 68px; background: var(--brand-soft); }
.herbal-header { background: #fff; color: var(--brand-ink); box-shadow: 0 8px 28px rgba(7,93,58,.10); border-bottom: 1px solid #dce8de; }
.herbal-header .top-line { background: var(--brand-primary-dark); color: #fff; border-bottom: 0; }
.herbal-header .main-header { background: #fff; }
.herbal-header .brand-logo--header { max-width: 210px; max-height: 58px; width: auto; object-fit: contain; }
.herbal-header .search { border: 1px solid #d5e4d8; box-shadow: 0 8px 22px rgba(7,93,58,.07); }
.herbal-header .search button { background: linear-gradient(120deg,var(--brand-primary-dark),var(--brand-primary)); }
.herbal-header .cart-link { color: #fff; background: var(--brand-primary); }
.herbal-header .keyword-row { color: #496257; }
.btn-primary { background: linear-gradient(120deg,var(--brand-primary-dark),var(--brand-primary)); box-shadow: 0 8px 20px rgba(11,122,75,.24); }
.btn-outline { color: var(--brand-primary); border-color: #b8d9c4; }
.section-link,.product-price,.price-large { color: var(--brand-primary); }
.form input:focus,.form textarea:focus,.form select:focus { border-color: var(--brand-primary); box-shadow: 0 0 0 4px rgba(11,122,75,.11); }
.chip.active,.chip:hover { background: linear-gradient(120deg,var(--brand-primary-dark),var(--brand-primary)); }
.category-icon { background: #e9f5ed; color: var(--brand-primary); }
.category-item:nth-child(even) .category-icon { background: #f1f7df; color: #5f7f27; }
.category-item:hover { background: #f7fbf7; }
.product-card__image,.cart-row img,.product-detail-image { background: #f4f8f2; }
.stat { background: linear-gradient(180deg,#fff,#f7fbf7); }
.stat strong,.summary-line.total,.benefit strong,.status-card strong { color: var(--brand-primary-dark); }

.herbal-hero { padding-top: 18px; }
.banner-carousel { position: relative; overflow: hidden; border-radius: 24px; box-shadow: 0 18px 45px rgba(7,93,58,.18); }
.banner-track { position: relative; min-height: 330px; }
.banner-slide { position: absolute; inset: 0; min-height: 330px; padding: 30px; background-size: cover; background-position: center; opacity: 0; pointer-events: none; transition: opacity .45s ease; display: grid; align-items: center; }
.banner-slide.active { opacity: 1; pointer-events: auto; position: relative; }
.banner-content { max-width: 720px; color: #fff; }
.banner-content h1 { margin: 15px 0 10px; font-size: clamp(34px,8vw,64px); line-height: .96; letter-spacing: -2px; }
.banner-content p { max-width: 620px; font-size: 16px; color: rgba(255,255,255,.92); }
.btn-glass { color: #fff; border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.12); backdrop-filter: blur(8px); }
.carousel-arrow { position: absolute; top: 50%; z-index: 4; width: 42px; height: 42px; border: 0; border-radius: 50%; transform: translateY(-50%); background: rgba(255,255,255,.9); color: var(--brand-primary-dark); font-size: 30px; line-height: 1; box-shadow: 0 8px 22px rgba(0,0,0,.14); }
.carousel-arrow.prev { left: 12px; }.carousel-arrow.next { right: 12px; }
.carousel-dots { position: absolute; left: 50%; bottom: 14px; z-index: 4; transform: translateX(-50%); display: flex; gap: 7px; }
.carousel-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.5); }
.carousel-dots button.active { width: 26px; background: #fff; }
.herbal-quick { grid-template-columns: repeat(4,minmax(0,1fr)); }
.section-subtitle { color: var(--muted); font-size: 12px; }
.store-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; padding: 16px; }
.store-card { display: grid; grid-template-columns: 52px 1fr; gap: 10px; align-items: center; padding: 12px; border: 1px solid #dce8de; border-radius: 16px; background: linear-gradient(180deg,#fff,#f8fbf7); }
.store-avatar { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #eaf5ed; font-size: 25px; }
.store-avatar img { width: 100%; height: 100%; object-fit: cover; }
.store-card strong,.store-card small { display: block; }.store-card small { color: var(--muted); margin-top: 4px; }
.official-badge { display: inline-flex; width: fit-content; margin-top: 4px; padding: 3px 7px; border-radius: 999px; background: #e7f7ed; color: var(--brand-primary-dark); font-size: 10px; font-weight: 900; border: 1px solid #b9ddc5; }
.official-badge.small { margin: 0; white-space: nowrap; }
.shop-line { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 6px; color: #5d6d64; font-size: 11px; }

.footer-brand-row { display: grid; gap: 14px; margin-bottom: 22px; }
.footer-logo-link { width: fit-content; }.brand-logo--footer { max-width: 230px; max-height: 70px; object-fit: contain; }
.mobile-bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; display: grid; grid-template-columns: repeat(5,1fr); background: rgba(255,255,255,.97); border-top: 1px solid #dce8de; box-shadow: 0 -8px 24px rgba(7,93,58,.08); padding-bottom: env(safe-area-inset-bottom); }
.mobile-bottom-nav a { min-height: 62px; display: grid; justify-items: center; align-content: center; gap: 2px; color: #68766e; font-size: 10px; font-weight: 800; }
.mobile-bottom-nav a span { font-size: 19px; line-height: 1; }.mobile-bottom-nav a.active { color: var(--brand-primary); }

.admin-shell { display: grid; gap: 18px; }
.admin-nav { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.admin-nav a { white-space: nowrap; padding: 9px 12px; border-radius: 10px; background: #fff; border: 1px solid #dce8de; font-weight: 800; color: #486055; }
.admin-nav a.active,.admin-nav a:hover { background: var(--brand-primary); border-color: var(--brand-primary); color: #fff; }
.settings-section { padding: 18px 0; border-top: 1px solid var(--line); }.settings-section:first-child { border-top: 0; padding-top: 0; }
.settings-section h2 { margin: 0 0 4px; }.settings-section > p { margin-top: 0; color: var(--muted); }
.switch-row { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 12px 0; }
.switch-row input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--brand-primary); }
.color-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }.color-grid input[type=color] { min-height: 46px; padding: 4px; }
.banner-admin-grid { display: grid; gap: 12px; }.banner-admin-card { border: 1px solid #dce8de; border-radius: 16px; overflow: hidden; background:#fff; }.banner-admin-card img { width: 100%; aspect-ratio: 16/5; object-fit: cover; }.banner-admin-card__body { padding: 14px; }
.seller-state { display:inline-flex;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:900 }.seller-state.active{background:#ecfdf5;color:#047857}.seller-state.pending{background:#fffbeb;color:#92400e}.seller-state.suspended{background:#fef2f2;color:#b91c1c}
.payment-success-modal { position: fixed; inset: 0; z-index: 300; display: none; place-items: center; background: rgba(13,40,28,.58); padding: 20px; }.payment-success-modal.show { display: grid; }.payment-success-card { width:min(480px,100%); background:#fff; border-radius:22px; padding:26px; text-align:center; box-shadow:0 25px 70px rgba(0,0,0,.24) }.success-icon{width:68px;height:68px;border-radius:50%;margin:0 auto 14px;display:grid;place-items:center;background:#dcfce7;color:#047857;font-size:34px;font-weight:900}.payment-live-status{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px;margin-top:12px}.live-dot{width:9px;height:9px;border-radius:50%;background:var(--brand-secondary);box-shadow:0 0 0 5px rgba(139,191,61,.15)}

@media (min-width:560px){.store-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.herbal-quick{grid-template-columns:repeat(8,minmax(0,1fr))}.color-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:820px){body{padding-bottom:0}.mobile-bottom-nav{display:none}.banner-slide,.banner-track{min-height:430px}.banner-slide{padding:52px}.store-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.admin-shell{grid-template-columns:220px 1fr}.admin-nav{display:grid;align-content:start;position:sticky;top:120px}.color-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}

/* Herbalami auth, checkout gateway, and in-app payment enhancements */
.auth-divider { display:flex; align-items:center; gap:12px; margin:4px 0; color:var(--muted); font-size:13px; }
.auth-divider::before, .auth-divider::after { content:""; flex:1; height:1px; background:var(--line); }
.btn-google { width:100%; display:inline-flex; align-items:center; justify-content:center; gap:10px; background:#fff; border:1px solid var(--line); color:var(--ink); font-weight:850; }
.btn-google:hover { border-color:var(--brand-primary); box-shadow:0 0 0 4px rgba(11,122,75,.09); }
.gateway-radio { position:relative; cursor:pointer; }
.gateway-radio input[type="radio"] { position:absolute; opacity:0; pointer-events:none; }
.gateway-radio:has(input:checked) { border-color:var(--brand-primary); box-shadow:0 0 0 4px rgba(11,122,75,.10); background:#f4fbf6; }
.gateway-radio small { display:block; margin-top:3px; color:var(--muted); }
.checkout-payment-section { display:grid; gap:12px; padding-top:6px; }
.checkout-payment-section h2 { margin:0; font-size:18px; }
.payment-embed { width:100%; min-height:640px; border:1px solid var(--line); border-radius:16px; background:#fff; }
.payment-qr { width:min(260px,100%); height:auto; display:block; margin:0 auto; border-radius:14px; background:#fff; padding:10px; border:1px solid var(--line); }
button:disabled, .btn:disabled { cursor:not-allowed; opacity:.55; filter:saturate(.55); }
.payment-success-modal { position:fixed; inset:0; z-index:1000; display:none; place-items:center; padding:20px; background:rgba(9,31,22,.58); backdrop-filter:blur(5px); }
.payment-success-modal.show { display:grid; }
.payment-success-card { width:min(460px,100%); padding:28px; border-radius:24px; background:#fff; box-shadow:0 28px 80px rgba(7,93,58,.26); text-align:center; border:1px solid #d8eadf; }
.payment-success-icon { width:68px; height:68px; margin:0 auto 14px; border-radius:50%; display:grid; place-items:center; background:#e8f7ee; color:var(--brand-primary-dark); font-size:34px; font-weight:950; }
.payment-success-card h2 { margin:0 0 8px; color:var(--brand-primary-dark); }
.payment-success-card p { margin:0 0 18px; color:var(--muted); }
.live-payment-status { display:flex; align-items:center; gap:10px; padding:12px 14px; border-radius:14px; background:#f5faf6; border:1px solid #dce9df; color:var(--brand-ink); }
.live-payment-status::before { content:""; width:9px; height:9px; border-radius:50%; background:var(--brand-secondary); box-shadow:0 0 0 5px rgba(139,191,61,.14); }

@media (max-width: 640px) {
    .payment-embed { min-height:520px; }
    .gateway-grid { grid-template-columns:1fr; }
}

/* Seller administration controls */
.seller-filter-grid { display:grid; gap:10px; grid-template-columns:1fr; align-items:end; }
.seller-filter-grid label { display:grid; gap:6px; font-weight:750; }
.seller-admin-details summary { cursor:pointer; color:var(--brand-primary-dark); font-weight:850; padding:8px 0; }
.seller-admin-details[open] summary { margin-bottom:10px; }
.seller-toggle-stack { display:grid; gap:8px; align-content:center; }
.seller-toggle-stack label { display:flex; align-items:center; gap:8px; font-weight:750; }
.seller-toggle-stack input { width:auto; }
.pagination { margin-top:18px; display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:10px; }
@media (min-width: 900px) { .seller-filter-grid { grid-template-columns:minmax(220px,2fr) repeat(3,minmax(120px,1fr)) auto auto; } }

/* Seller & Product Management Pro */
.seller-workspace,.admin-content{min-width:0}.seller-nav{display:flex;gap:8px;overflow-x:auto;padding:4px 0 8px;scrollbar-width:thin}.seller-nav a{white-space:nowrap;padding:10px 13px;border:1px solid var(--line);border-radius:12px;background:#fff;color:#456156;font-weight:800}.seller-nav a.active,.seller-nav a:hover{background:var(--brand-primary);border-color:var(--brand-primary);color:#fff}.workspace-header{display:flex;flex-direction:column;gap:14px;margin:14px 0 18px}.workspace-header h1{margin:5px 0 6px}.workspace-header .description{margin:0}.mini-stats,.seller-kpi-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:18px}.mini-stats>div,.seller-kpi-grid>a,.seller-kpi-grid>div{display:grid;gap:4px;padding:15px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(7,93,58,.06);color:var(--ink)}.mini-stats strong,.seller-kpi-grid strong{font-size:22px;color:var(--brand-primary-dark)}.mini-stats span,.seller-kpi-grid span{font-size:12px;font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.03em}.seller-kpi-grid small{color:var(--muted)}.dashboard-grid,.order-detail-grid,.product-info-layout{display:grid;gap:18px}.section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}.section-head h2{margin:0 0 4px}.section-head p{margin:0;color:var(--muted);font-size:13px}.compact-list{display:grid}.compact-list>a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);color:var(--ink)}.compact-list>a:last-child{border-bottom:0}.compact-list a>div{display:grid;gap:4px}.compact-list small{color:var(--muted)}.product-compact-list>a{display:grid;grid-template-columns:48px minmax(0,1fr) auto}.product-compact-list img{width:48px;height:48px;object-fit:cover;border-radius:10px;background:#f4f7f5}.text-right{text-align:right}.metric-list,.detail-list{display:grid;gap:0}.metric-list>div,.detail-list>div{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:12px 0;border-bottom:1px solid var(--line)}.metric-list>div:last-child,.detail-list>div:last-child{border-bottom:0}.metric-list span,.detail-list span{color:var(--muted)}.detail-list strong{text-align:right;max-width:65%;white-space:normal}.filter-panel{margin-bottom:18px}.filter-grid{display:grid;gap:12px}.filter-grid label{display:grid;gap:6px;font-weight:750}.filter-grid input,.filter-grid select,.table-toolbar select{width:100%;border:1px solid var(--line);border-radius:10px;padding:10px 11px;background:#fff}.filter-actions{display:flex;gap:8px;align-items:end}.table-toolbar{display:flex;flex-direction:column;gap:12px;justify-content:space-between;align-items:flex-start;margin-bottom:14px}.table-product{display:grid;grid-template-columns:52px minmax(150px,1fr);gap:10px;align-items:center}.table-product img{width:52px;height:52px;object-fit:cover;border-radius:10px;background:#f5f7f5}.table-product div{display:grid;gap:4px}.table-product small,td small{display:block;color:var(--muted);margin-top:3px}.table-actions{display:flex;flex-wrap:wrap;gap:8px}.table-actions a{font-weight:800;color:var(--brand-primary)}.stock-badge{display:inline-flex;min-width:34px;justify-content:center;padding:5px 8px;border-radius:999px;background:#ecfdf5;color:#166534;font-weight:850}.stock-badge.low{background:#fffbeb;color:#92400e}.stock-badge.out{background:#fef2f2;color:#b91c1c}.pill-success{background:#ecfdf5;color:#166534}.pill-warning{background:#fffbeb;color:#92400e}.pill-danger{background:#fef2f2;color:#b91c1c}.pagination{display:flex;flex-wrap:wrap;gap:6px;margin-top:16px}.pagination a{display:grid;place-items:center;min-width:36px;height:36px;border:1px solid var(--line);border-radius:9px;color:var(--ink);font-weight:800}.pagination a.active{background:var(--brand-primary);color:#fff;border-color:var(--brand-primary)}.order-card-list{display:grid;gap:12px}.seller-order-card{border:1px solid var(--line);border-radius:16px;overflow:hidden}.seller-order-card__head,.seller-order-card__foot{padding:13px 15px;background:#fbfdfb;display:flex;flex-direction:column;gap:10px}.seller-order-card__head{border-bottom:1px solid var(--line)}.seller-order-card__head>div:first-child{display:grid;gap:4px}.seller-order-card__head small{color:var(--muted)}.seller-order-card__body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:15px}.seller-order-card__body>div{display:grid;gap:4px}.seller-order-card__body span{font-size:12px;color:var(--muted)}.seller-order-card__foot{border-top:1px solid var(--line);align-items:flex-start}.product-editor-grid{display:grid;gap:18px;align-items:start}.editor-main{display:grid;gap:18px}.editor-section{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px;box-shadow:0 8px 24px rgba(7,93,58,.05);display:grid;gap:14px}.editor-section__head{display:flex;flex-direction:column;gap:7px;padding-bottom:13px;border-bottom:1px solid var(--line)}.editor-section__head>div{display:flex;align-items:center;gap:9px}.editor-section__head h2{margin:0}.editor-section__head p{margin:0;color:var(--muted);font-size:13px}.step-badge{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:var(--brand-primary);color:#fff;font-size:12px;font-weight:900}.req{color:#b91c1c}.toggle-row{display:grid;gap:12px}.inline-check{display:flex!important;align-items:center;gap:8px!important;font-weight:750!important}.inline-check input{width:auto!important}.inline-check--boxed{padding:12px;border:1px solid var(--line);border-radius:12px;background:#fbfdfb}.gallery-manager{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gallery-manager__item{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fbfdfb}.gallery-manager__item img{width:100%;aspect-ratio:1/1;object-fit:cover}.gallery-manager__item>div{padding:8px;display:grid;gap:7px}.gallery-manager__item span{font-size:12px;font-weight:800}.editor-sidebar{min-width:0}.sticky-card{display:grid;gap:12px}.sticky-card h3{margin:0}.editor-summary{display:grid}.editor-summary>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}.editor-summary span{color:var(--muted)}.editor-help{font-size:12px;color:var(--muted);margin:0}.admin-only-section{border-color:#cfe4d4;background:#fbfefb}.danger-zone{margin-top:18px;padding:16px;border:1px solid #fecaca;border-radius:14px;background:#fff}.shop-preview-logo{width:96px;height:96px;object-fit:contain;border:1px solid var(--line);border-radius:16px;padding:8px;background:#fff;margin-bottom:10px}.shop-preview-banner{width:100%;max-height:220px;object-fit:cover;border-radius:14px;border:1px solid var(--line);margin-bottom:10px}.sales-bars{display:grid;gap:10px}.sales-bar-row{display:grid;grid-template-columns:52px minmax(80px,1fr) 100px;gap:10px;align-items:center;font-size:12px}.sales-bar-row strong{text-align:right}.sales-bar-track{height:10px;border-radius:999px;background:#edf3ef;overflow:hidden}.sales-bar-track i{display:block;height:100%;border-radius:999px;background:var(--brand-primary)}.product-thumbs{display:flex;gap:8px;overflow-x:auto;padding-top:10px}.product-thumbs button{flex:0 0 72px;width:72px;height:72px;padding:0;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fff;cursor:pointer}.product-thumbs img{width:100%;height:100%;object-fit:cover}.product-lead{font-size:15px;color:#486055;line-height:1.6}.discount-inline{display:inline-flex;padding:6px 10px;border-radius:999px;background:#fff7ed;color:#9a3412;font-weight:850}.product-key-info{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}.product-key-info>div{display:grid;gap:4px;padding:10px;border:1px solid var(--line);border-radius:12px;background:#fbfdfb}.product-key-info span{font-size:12px;color:var(--muted)}.product-info-layout{margin-top:18px}.product-info-layout h2{margin-top:0}.product-info-layout h3{font-size:15px;margin:20px 0 7px}.admin-content{width:100%}

@media (min-width:700px){.workspace-header{flex-direction:row;justify-content:space-between;align-items:flex-start}.mini-stats,.seller-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.dashboard-grid,.order-detail-grid,.product-info-layout{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.table-toolbar{flex-direction:row;align-items:center}.seller-order-card__head{flex-direction:row;justify-content:space-between;align-items:center}.seller-order-card__body{grid-template-columns:repeat(4,minmax(0,1fr))}.gallery-manager{grid-template-columns:repeat(4,minmax(0,1fr))}.toggle-row{grid-template-columns:1fr 1fr;align-items:end}.product-key-info{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (min-width:980px){.seller-workspace{display:grid;grid-template-columns:220px minmax(0,1fr);gap:18px;align-items:start}.seller-workspace>.seller-nav{grid-row:1/span 30;display:grid;position:sticky;top:120px;align-content:start;overflow:visible;padding:0}.seller-workspace>.workspace-header,.seller-workspace>.status-card,.seller-workspace>.mini-stats,.seller-workspace>.seller-kpi-grid,.seller-workspace>.dashboard-grid,.seller-workspace>.panel,.seller-workspace>form,.seller-workspace>.order-detail-grid,.seller-workspace>.danger-zone{grid-column:2}.product-editor-grid{grid-template-columns:minmax(0,1fr) 280px}.sticky-card{position:sticky;top:120px}.filter-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.gallery-manager{grid-template-columns:repeat(5,minmax(0,1fr))}}
.old-price{display:inline-block;margin-top:4px;color:var(--muted);text-decoration:line-through;font-size:12px}.old-price--large{font-size:15px}.price-promo-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:-4px;margin-bottom:8px}
@media print{.site-header,.site-footer,.mobile-bottom-nav,.seller-nav,.no-print,.btn{display:none!important}body{background:#fff!important}.page-shell{padding:0}.seller-workspace{display:block!important}.panel{box-shadow:none!important;border:1px solid #ddd!important}.container{width:100%!important;max-width:none!important}.order-detail-grid{grid-template-columns:1fr 1fr!important}}


/* Product variant editor */
.variant-editor{display:grid;gap:12px}.variant-editor__head{display:none}.variant-editor>[data-variant-rows]{display:grid;gap:10px}.variant-row{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:14px;border:1px solid var(--line);border-radius:14px;background:#fbfdfb}.variant-row input,.variant-row select{min-width:0;width:100%;border:1px solid var(--line);border-radius:10px;padding:10px 11px;background:#fff}.variant-remove{position:absolute;right:8px;top:8px;width:30px;height:30px;border:1px solid #fecaca;border-radius:9px;background:#fff;color:#b91c1c;font-size:20px;font-weight:800;line-height:1;cursor:pointer}.variant-remove:hover{background:#fef2f2}.variant-editor small{color:var(--muted);line-height:1.55}.cart-variant{margin-top:3px;color:var(--brand-primary-dark);font-size:12px}
@media (min-width:980px){.variant-editor__head{display:grid;grid-template-columns:2fr 1.35fr 1fr .8fr .9fr .9fr 38px;gap:9px;padding:0 4px;color:var(--muted);font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.03em}.variant-row{grid-template-columns:2fr 1.35fr 1fr .8fr .9fr .9fr 38px;align-items:center;padding:10px}.variant-remove{position:static;width:36px;height:36px}}
