: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 EDI */
.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)); } }

/* Legacy marketplace compatibility styles */
body { padding-bottom: 68px; background: var(--brand-soft); }
.legacy-header { background: #fff; color: var(--brand-ink); box-shadow: 0 8px 28px rgba(7,93,58,.10); border-bottom: 1px solid #dce8de; }
.legacy-header .top-line { background: var(--brand-primary-dark); color: #fff; border-bottom: 0; }
.legacy-header .main-header { background: #fff; }
.legacy-header .brand-logo--header { max-width: 210px; max-height: 58px; width: auto; object-fit: contain; }
.legacy-header .search { border: 1px solid #d5e4d8; box-shadow: 0 8px 22px rgba(7,93,58,.07); }
.legacy-header .search button { background: linear-gradient(120deg,var(--brand-primary-dark),var(--brand-primary)); }
.legacy-header .cart-link { color: #fff; background: var(--brand-primary); }
.legacy-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); }

.legacy-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; }
.legacy-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))}.legacy-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))}}

/* EDI 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}}

/* =========================================================
   EDI FUTURISTIC DIGITAL MARKETPLACE THEME
   Mobile-first, hybrid digital / virtual / physical commerce
   ========================================================= */
:root{
    --edi-bg:#f7f5fb;
    --edi-surface:#ffffff;
    --edi-dark:#0b0517;
    --edi-dark-2:#16082d;
    --edi-purple:#6d28d9;
    --edi-purple-2:#8b5cf6;
    --edi-violet:#a855f7;
    --edi-cyan:#22d3ee;
    --edi-cyan-dark:#0891b2;
    --edi-border:#e8e1f2;
    --edi-muted:#746b82;
    --edi-shadow:0 18px 50px rgba(58,25,100,.12);
    --edi-shadow-soft:0 10px 30px rgba(58,25,100,.08);
}
body{background:linear-gradient(180deg,#faf9fd 0,#f5f2fa 100%);color:#17112a;padding-bottom:74px}
main{position:relative;z-index:1;min-height:60vh}
.ambient-bg{position:fixed;inset:0;pointer-events:none;z-index:0;overflow:hidden}.ambient-bg span{position:absolute;border-radius:50%;filter:blur(80px);opacity:.12}.ambient-bg span:nth-child(1){width:360px;height:360px;background:#8b5cf6;top:120px;right:-120px}.ambient-bg span:nth-child(2){width:280px;height:280px;background:#22d3ee;top:44%;left:-160px}.ambient-bg span:nth-child(3){width:300px;height:300px;background:#c084fc;bottom:-160px;right:10%}

/* Header */
.edi-header{background:rgba(11,5,23,.96);color:#fff;border-bottom:1px solid rgba(255,255,255,.08);box-shadow:0 12px 38px rgba(10,4,24,.28);backdrop-filter:blur(18px)}
.edi-header .top-line{background:#090313;border-bottom:1px solid rgba(255,255,255,.08)}
.edi-header .top-line__inner{min-height:34px}.top-status{display:flex;align-items:center;gap:8px;font-size:11px;color:#c4b5d8;margin-inline:auto}.status-dot{width:7px;height:7px;border-radius:50%;background:#22d3ee;box-shadow:0 0 12px #22d3ee}
.edi-header .main-header{background:linear-gradient(180deg,rgba(18,7,39,.98),rgba(11,5,23,.98));padding:10px 0 9px}
.edi-header .header-grid{grid-template-columns:minmax(105px,150px) 1fr auto;grid-template-areas:"brand search actions";gap:10px}
.edi-header .brand-logo--header{width:auto;max-width:142px;max-height:55px;object-fit:contain;filter:drop-shadow(0 0 14px rgba(168,85,247,.24))}
.header-actions{grid-area:actions;display:flex;align-items:center;gap:8px}.header-icon-link{display:none;align-items:center;gap:6px;padding:8px 10px;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:rgba(255,255,255,.06)}.header-icon-link small{font-weight:800}
.edi-header .search{grid-area:search;display:grid;grid-template-columns:auto 1fr auto;align-items:center;background:#fff;border:1px solid rgba(196,181,216,.28);border-radius:14px;padding:3px 3px 3px 12px;box-shadow:0 10px 28px rgba(0,0,0,.18)}
.search-icon{color:#7c3aed;font-size:20px}.edi-header .search input{padding:11px 10px}.edi-header .search button{background:linear-gradient(135deg,#6d28d9,#a855f7);padding:0 18px;border-radius:11px}
.edi-header .cart-link{grid-area:auto;width:44px;height:44px;background:linear-gradient(135deg,#6d28d9,#9333ea);border:1px solid rgba(255,255,255,.16);box-shadow:0 8px 22px rgba(109,40,217,.32)}
.edi-header .cart-badge{background:#22d3ee;color:#082f49;border-color:#16082d}.edi-header .keyword-row{color:#d8cae9;gap:18px;padding-top:9px}.edi-header .keyword-row a{opacity:.84}.edi-header .keyword-row a:hover{opacity:1;color:#fff;text-decoration:none}

/* Common UI */
.panel,.section-card{border:1px solid var(--edi-border);box-shadow:var(--edi-shadow-soft);background:rgba(255,255,255,.96)}
.panel{border-radius:20px}.section-card{border-radius:24px}.section-head{padding:20px;border-color:var(--edi-border)}
.eyebrow{display:block;margin:0 0 5px;color:#7c3aed;font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.section-subtitle,.description,.results-count{color:var(--edi-muted)}
.section-title{font-size:clamp(19px,4vw,26px);letter-spacing:-.45px}.section-link{color:#6d28d9}.btn{border-radius:13px;min-height:44px}.btn-primary{background:linear-gradient(135deg,#6d28d9,#a855f7);box-shadow:0 10px 24px rgba(109,40,217,.25)}.btn-primary:hover{box-shadow:0 14px 30px rgba(109,40,217,.34)}.btn-outline{color:#6d28d9;border-color:#d8c9ef;background:#fff}.btn-light{color:#4c1d95}.btn-glass{color:#fff;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.24);backdrop-filter:blur(10px)}
.form input,.form textarea,.form select{border-color:#ddd3e9;border-radius:12px;background:#fff}.form input:focus,.form textarea:focus,.form select:focus{outline:0;border-color:#8b5cf6;box-shadow:0 0 0 3px rgba(139,92,246,.12)}
.chip{border-color:#e3daef;background:#fff}.chip.active,.chip:hover{background:linear-gradient(135deg,#6d28d9,#9333ea);color:#fff}
.flash{position:relative;z-index:2;box-shadow:var(--edi-shadow-soft)}

/* Hero */
.edi-hero{padding:16px 0 10px}.edi-banner-carousel{border-radius:26px;overflow:hidden;border:1px solid rgba(196,181,253,.22);box-shadow:0 26px 70px rgba(25,8,55,.24)}
.edi-banner-carousel .banner-slide{min-height:400px;background-size:cover;background-position:center;position:relative}.edi-banner-carousel .banner-slide::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 50%,rgba(5,2,12,.22));pointer-events:none}.edi-banner-carousel .banner-content{position:relative;z-index:1;padding:32px 24px;max-width:760px;min-height:400px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.edi-banner-carousel h1{font-size:clamp(34px,8vw,66px);line-height:.98;letter-spacing:-2.4px;margin:14px 0}.edi-banner-carousel p{font-size:15px;line-height:1.7;color:#eee7fa;max-width:650px}.edi-banner-carousel .hero-kicker{border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);backdrop-filter:blur(10px)}.edi-banner-carousel .hero-kicker i{width:8px;height:8px;background:#22d3ee;border-radius:50%;box-shadow:0 0 14px #22d3ee}
.hero-stats{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.hero-stats span{padding:8px 11px;border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.07);border-radius:10px;font-size:11px;color:#ddd1ec}.hero-stats strong{font-size:14px;color:#fff;margin-right:4px}.carousel-arrow{background:rgba(8,3,18,.62);border:1px solid rgba(255,255,255,.16);backdrop-filter:blur(10px)}.carousel-dots button.active{background:#22d3ee}

/* Product type selector */
.market-type-strip{padding:10px 0 4px}.type-strip-grid{display:grid;gap:10px}.market-type-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:15px;border:1px solid #e6dcf2;border-radius:18px;background:#fff;box-shadow:var(--edi-shadow-soft);transition:.2s}.market-type-card:hover,.market-type-card.active{transform:translateY(-2px);border-color:#bba6e1;box-shadow:0 15px 35px rgba(79,35,130,.15)}.market-type-card>span:last-child{color:#7c3aed;font-size:20px}.market-type-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(135deg,#f0e7ff,#e8faff);font-size:23px}.market-type-card strong{display:block;font-size:14px}.market-type-card small{display:block;color:var(--edi-muted);margin-top:3px;font-size:11px}

/* Quick menu and value cards */
.quick-menu{background:transparent;padding:14px 0}.edi-quick{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.quick-item{padding:9px 4px;border-radius:14px}.quick-item:hover{background:#fff;box-shadow:var(--edi-shadow-soft)}.quick-icon{border-color:#e5d9f3;background:linear-gradient(145deg,#fff,#f4effc);box-shadow:0 8px 20px rgba(78,35,128,.08)}
.value-section{padding-top:8px}.value-grid{display:grid;grid-template-columns:1fr;gap:10px}.value-grid article{display:flex;align-items:flex-start;gap:12px;padding:16px;border:1px solid #e5dcf0;border-radius:18px;background:rgba(255,255,255,.9);box-shadow:var(--edi-shadow-soft)}.value-grid article>span{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#f1e9ff;font-size:20px}.value-grid strong{display:block}.value-grid p{margin:4px 0 0;color:var(--edi-muted);font-size:12px}

/* Stores and categories */
.store-card{border-color:#e6dcf2;background:linear-gradient(180deg,#fff,#fbf9fe)}.store-avatar{background:linear-gradient(135deg,#ede9fe,#cffafe);color:#6d28d9}.official-badge{background:#ede9fe;color:#6d28d9}
.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.category-item{min-height:145px;border-color:#eee8f4;transition:.2s}.category-item:hover{background:linear-gradient(145deg,#fbf9ff,#f5f0ff);transform:translateY(-2px)}.category-icon{background:linear-gradient(145deg,#eee7ff,#e7fbff);color:#6d28d9;border:1px solid #ddd0f1}.category-item:nth-child(even) .category-icon{background:linear-gradient(145deg,#e8fbff,#f1e9ff);color:#0e7490}.category-item small{color:#8b5cf6;font-size:11px;font-weight:800}

/* Product cards */
.product-grid{gap:11px}.product-card{border-color:#e8e0f1;border-radius:17px;box-shadow:0 10px 28px rgba(56,24,95,.07);background:#fff}.product-card:hover{transform:translateY(-4px);box-shadow:0 18px 42px rgba(66,27,111,.15);border-color:#cdb9e9}.product-card__image{position:relative;background:linear-gradient(145deg,#f7f2ff,#edfafe)}.product-card__body{padding:12px}.product-card__title{font-weight:780}.product-price{color:#6d28d9}.delivery-mini{font-size:10px;color:#0e7490;font-weight:850;margin-top:5px;text-transform:uppercase;letter-spacing:.03em}.product-card-type{position:absolute;left:8px;bottom:8px;z-index:2;box-shadow:0 5px 16px rgba(0,0,0,.16)}.badge{background:linear-gradient(135deg,#6d28d9,#a855f7)}.discount{background:#ecfeff;color:#0e7490}.shop-line{color:#635a70}
.product-type-badge{display:inline-flex;align-items:center;gap:5px;width:max-content;padding:5px 8px;border-radius:999px;font-size:10px;font-weight:900;letter-spacing:.02em}.product-type-badge.digital{background:#ede9fe;color:#5b21b6}.product-type-badge.virtual{background:#ecfeff;color:#0e7490}.product-type-badge.physical{background:#fff7ed;color:#9a3412}.product-type-badge--floating{position:absolute;top:14px;left:14px;z-index:2;padding:8px 11px;font-size:11px}.product-detail-image{position:relative;border:1px solid #e4d9f0;background:linear-gradient(145deg,#f6f1ff,#eefcff)}

/* Product detail */
.product-breadcrumb{display:flex;align-items:center;gap:7px;overflow:auto;white-space:nowrap;color:#7b7187;font-size:12px;margin-bottom:14px}.product-breadcrumb a{color:#6d28d9;font-weight:750}.product-detail h1{letter-spacing:-.8px}.product-lead{color:#6f657d}.product-key-info>div{background:linear-gradient(145deg,#fcfbff,#f8f4fd);border-color:#e8e0f1}.benefit{border-color:#e7deef}.product-trust-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px;padding-top:14px;border-top:1px solid #ede7f3}.product-trust-row span{font-size:11px;color:#665c74}.price-large{color:#5b21b6}

/* Checkout and cart */
.checkout-heading{margin-bottom:20px}.checkout-section-title{display:flex;align-items:flex-start;gap:12px;margin:22px 0 14px}.checkout-section-title>span{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:#ede9fe;color:#6d28d9;font-weight:900}.checkout-section-title h2{margin:0;font-size:18px}.checkout-section-title p{margin:4px 0 0;color:var(--edi-muted);font-size:12px}.digital-checkout-banner{display:flex;gap:14px;padding:17px;border:1px solid #cfeef4;border-radius:17px;background:linear-gradient(135deg,#f5feff,#f6f0ff);margin-bottom:20px}.digital-checkout-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:#cffafe;font-size:23px}.digital-checkout-banner p{margin:4px 0 0;color:#5f6575}.gateway-card{border-color:#e2d7ef}.gateway-radio:has(input:checked){border-color:#8b5cf6;background:#f8f4ff;box-shadow:0 0 0 3px rgba(139,92,246,.09)}.btn-checkout{margin-top:18px;min-height:50px}.order-summary-card{align-self:start}.trust-stack{display:grid;gap:8px;margin-top:16px;padding-top:15px;border-top:1px solid #ebe4f2}.trust-stack span{font-size:11px;color:#6e657b}.cart-row{border-color:#ebe3f3}.cart-row--enhanced{position:relative;grid-template-columns:70px minmax(0,1fr);padding:14px 0}.cart-item-head{display:flex;flex-direction:column;gap:7px}.cart-line-total{position:absolute;right:0;bottom:14px;color:#6d28d9}.cart-delivery-info{margin-top:14px;padding:12px;border-radius:12px;background:#f6f1ff;color:#5b4b73;font-size:12px}

/* Product editor */
.type-selector{display:grid;gap:10px}.type-option{display:grid!important;grid-template-columns:auto 1fr;align-items:center;gap:11px!important;padding:14px;border:1px solid #e3d8ef;border-radius:15px;background:#fff;cursor:pointer}.type-option input{position:absolute;opacity:0;pointer-events:none}.type-option:has(input:checked){border-color:#8b5cf6;background:linear-gradient(145deg,#faf7ff,#f3edff);box-shadow:0 0 0 3px rgba(139,92,246,.08)}.type-option__icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#f0e8ff;font-size:21px}.type-option strong{display:block}.type-option small{display:block;color:var(--edi-muted);font-weight:500;margin-top:3px}.delivery-note{display:flex;flex-direction:column;gap:3px;padding:13px;border-radius:12px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412}.editor-section{border-color:#e7deef;box-shadow:var(--edi-shadow-soft)}.step-badge{background:linear-gradient(135deg,#6d28d9,#a855f7)}.admin-only-section{border-color:#d7c7ee;background:#fbf8ff}.variant-row{background:#fbf9fe;border-color:#e6ddf0}

/* Footer and mobile nav */
.edi-footer{background:#0b0517;color:#d9cfe6;border-top:1px solid rgba(255,255,255,.08)}.edi-footer .footer-brand-row{border-color:rgba(255,255,255,.09)}.edi-footer .brand-logo--footer{max-width:180px;filter:drop-shadow(0 0 16px rgba(168,85,247,.22))}.edi-footer h3{color:#fff}.edi-footer a:hover{color:#c084fc}.edi-footer .footer-bottom{border-color:rgba(255,255,255,.09);color:#998ca9}
.mobile-bottom-nav{background:rgba(255,255,255,.96);border-top:1px solid #e7ddf0;box-shadow:0 -12px 30px rgba(41,17,72,.10);backdrop-filter:blur(18px)}.mobile-bottom-nav a.active{color:#6d28d9}.mobile-bottom-nav a.active span{background:#ede9fe;color:#6d28d9}

/* Installer-like system pages and auth */
.auth-grid .panel:first-child{border-top:3px solid #8b5cf6}.status-card{border-radius:14px}.pill-blue{background:#ede9fe;color:#5b21b6}.pagination a.active{background:#6d28d9;border-color:#6d28d9}.table-actions a{color:#6d28d9}.stock-badge{background:#ecfeff;color:#0e7490}

/* Responsive */
@media (min-width:560px){
    .type-strip-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.value-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.edi-quick{grid-template-columns:repeat(8,minmax(0,1fr))}.type-selector{grid-template-columns:repeat(3,minmax(0,1fr))}.cart-item-head{flex-direction:row;align-items:center;justify-content:space-between}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (min-width:760px){
    body{padding-bottom:0}.header-icon-link{display:flex}.edi-banner-carousel .banner-content{padding:48px}.value-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.mobile-bottom-nav{display:none}.edi-footer .footer-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (min-width:980px){
    .edi-header .header-grid{grid-template-columns:180px minmax(400px,1fr) auto;gap:20px}.edi-header .brand-logo--header{max-width:172px;max-height:62px}.top-status{display:none}.edi-banner-carousel .banner-slide,.edi-banner-carousel .banner-content{min-height:500px}.category-grid{grid-template-columns:repeat(8,minmax(0,1fr))}.category-item{min-height:155px}.product-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.edi-footer .footer-grid{grid-template-columns:1.15fr 1fr 1fr 1.2fr 1fr 1fr}.order-summary-card{position:sticky;top:132px}.type-option{grid-template-columns:auto 1fr}.product-detail-grid{grid-template-columns:minmax(0,1.05fr) minmax(380px,.95fr)}
}
@media (max-width:699px){
    .edi-header .top-line{display:none}.edi-header .header-grid{grid-template-columns:104px 1fr auto;gap:8px}.edi-header .brand-logo--header{max-width:100px;max-height:44px}.edi-header .search{grid-column:1/-1;grid-row:2}.edi-header .header-actions{grid-column:3;grid-row:1}.edi-banner-carousel .banner-slide{background-position:68% center}.edi-banner-carousel .banner-content{padding:28px 20px}.edi-banner-carousel h1{max-width:95%}.hero-stats{display:none}.market-type-card small{line-height:1.3}.product-card__body{padding:10px}.product-price{font-size:16px}.shop-line{font-size:11px}.product-meta{font-size:10px}.cart-line-total{position:static;display:block;margin-top:8px}.footer-brand-row{align-items:flex-start}.edi-footer{padding-bottom:86px}
}

/* EDI Digital Library */
.digital-library-page .library-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;overflow:hidden;position:relative;background:linear-gradient(135deg,rgba(109,40,217,.12),rgba(34,211,238,.08));border-color:rgba(109,40,217,.18)}
.library-hero__icon{font-size:72px;line-height:1;color:var(--primary);filter:drop-shadow(0 10px 24px rgba(109,40,217,.25))}
.library-grid{display:grid;grid-template-columns:1fr;gap:16px}
.library-card{display:flex;flex-direction:column;gap:12px}
.library-card h2{margin:0;font-size:1.1rem}.library-card__top,.library-card__actions{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.library-access-box{display:grid;gap:10px;padding:14px;border-radius:16px;background:rgba(109,40,217,.055);border:1px solid rgba(109,40,217,.12)}
.library-access-box p{margin:0}.license-key{display:block;padding:12px;border-radius:10px;background:#17112a;color:#e9d5ff;overflow-wrap:anywhere;font-size:1rem}
@media(min-width:760px){.library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1100px){.library-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Product delivery badges */
.product-type-badge.type-digital,.product-type-badge.digital{background:#ede9fe;color:#5b21b6}
.product-type-badge.type-virtual,.product-type-badge.virtual{background:#ecfeff;color:#0e7490}
.product-type-badge.type-physical,.product-type-badge.physical{background:#fff7ed;color:#9a3412}
.product-card__badges{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:7px}
.delivery-badge{display:inline-flex;align-items:center;width:max-content;padding:5px 8px;border-radius:999px;background:#f5f3ff;color:#6d28d9;border:1px solid #e9ddfb;font-size:10px;font-weight:800}
.digital-asset-fields{display:grid;gap:12px}
@media(min-width:760px){.digital-asset-fields{grid-template-columns:1fr 1fr}}

/* =========================================================
   EDI Responsive Banner Carousel v2
   Mobile-first, content-safe, touch-friendly, and adaptive.
   This block intentionally overrides earlier carousel rules.
   ========================================================= */
.edi-banner-carousel{
    --edi-banner-radius: clamp(18px, 4vw, 28px);
    position:relative;
    isolation:isolate;
    overflow:hidden;
    border-radius:var(--edi-banner-radius);
    background:#0b0517;
    touch-action:pan-y pinch-zoom;
    -webkit-tap-highlight-color:transparent;
}
.edi-banner-carousel:focus-visible{
    outline:3px solid rgba(34,211,238,.72);
    outline-offset:3px;
}
.edi-banner-carousel .banner-track{
    display:grid;
    min-height:clamp(390px, 116vw, 470px);
    overflow:hidden;
    background:#0b0517;
}
.edi-banner-carousel .banner-slide,
.edi-banner-carousel .banner-slide.active{
    grid-area:1 / 1;
    position:relative !important;
    inset:auto !important;
    width:100%;
    min-width:0;
    min-height:inherit;
    padding:0;
    overflow:hidden;
    background-repeat:no-repeat;
    background-size:cover;
    background-position:72% center;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    z-index:0;
    transform:scale(1.012);
    transition:opacity .42s ease, visibility .42s ease, transform 1.1s ease;
}
.edi-banner-carousel .banner-slide.active{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    z-index:2;
    transform:scale(1);
}
.edi-banner-carousel .banner-slide::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:0;
    background:linear-gradient(90deg,rgba(7,3,16,.88) 0%,rgba(20,8,42,.80) 54%,rgba(31,12,64,.38) 78%,rgba(31,12,64,.16) 100%);
    pointer-events:none;
}
.edi-banner-carousel .banner-slide::after{
    z-index:0;
    background:linear-gradient(180deg,rgba(5,2,12,.04) 44%,rgba(5,2,12,.50) 100%);
}
.edi-banner-carousel .banner-content{
    position:relative;
    z-index:2;
    width:min(100%, 760px);
    max-width:none;
    min-height:inherit;
    padding:clamp(30px, 8vw, 42px) clamp(20px, 6vw, 34px) 76px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
}
.edi-banner-carousel .hero-kicker{
    max-width:100%;
    padding:7px 10px;
    font-size:clamp(10px, 2.9vw, 12px);
    line-height:1.25;
    white-space:normal;
}
.edi-banner-carousel h1{
    max-width:100%;
    margin:12px 0 10px;
    font-size:clamp(28px, 8.8vw, 42px);
    line-height:1.02;
    letter-spacing:clamp(-1.8px, -.25vw, -1px);
    overflow-wrap:anywhere;
    text-wrap:balance;
}
.edi-banner-carousel p{
    max-width:620px;
    margin:0 0 16px;
    font-size:clamp(13px, 3.6vw, 15px);
    line-height:1.58;
    color:#f0eafb;
    text-wrap:pretty;
}
.edi-banner-carousel .hero-actions{
    width:100%;
    display:flex;
    flex-wrap:wrap;
    gap:9px;
}
.edi-banner-carousel .hero-actions .btn{
    flex:1 1 145px;
    min-width:0;
    min-height:42px;
    padding:9px 13px;
    text-align:center;
    line-height:1.25;
}
.edi-banner-carousel .hero-stats{
    margin-top:16px;
}
.edi-banner-carousel .carousel-arrow{
    top:auto;
    bottom:14px;
    width:36px;
    height:36px;
    transform:none;
    display:grid;
    place-items:center;
    padding:0 0 3px;
    font-size:25px;
    line-height:1;
    color:#fff;
    opacity:.96;
}
.edi-banner-carousel .carousel-arrow.prev{
    left:auto;
    right:54px;
}
.edi-banner-carousel .carousel-arrow.next{
    right:12px;
}
.edi-banner-carousel .carousel-dots{
    left:14px;
    bottom:21px;
    transform:none;
    align-items:center;
    gap:5px;
}
.edi-banner-carousel .carousel-dots button{
    position:relative;
    width:20px;
    height:20px;
    padding:0;
    border:0;
    background:transparent;
}
.edi-banner-carousel .carousel-dots button::after{
    content:"";
    position:absolute;
    left:50%;
    top:50%;
    width:7px;
    height:7px;
    border-radius:999px;
    background:rgba(255,255,255,.54);
    transform:translate(-50%,-50%);
    transition:width .2s ease, background .2s ease, box-shadow .2s ease;
}
.edi-banner-carousel .carousel-dots button.active{
    width:32px;
    background:transparent;
}
.edi-banner-carousel .carousel-dots button.active::after{
    width:24px;
    background:#22d3ee;
    box-shadow:0 0 12px rgba(34,211,238,.45);
}
.edi-banner-carousel .carousel-dots button:focus-visible,
.edi-banner-carousel .carousel-arrow:focus-visible{
    outline:2px solid #67e8f9;
    outline-offset:2px;
}

@media (max-width:419px){
    .edi-hero{padding-top:10px}
    .edi-hero .container{width:min(var(--container), calc(100% - 18px))}
    .edi-banner-carousel .banner-track{min-height:420px}
    .edi-banner-carousel .banner-slide,
    .edi-banner-carousel .banner-slide.active{background-position:66% center}
    .edi-banner-carousel .banner-slide::before{background:linear-gradient(90deg,rgba(7,3,16,.94) 0%,rgba(21,8,43,.86) 62%,rgba(34,13,70,.48) 100%)}
    .edi-banner-carousel .banner-content{padding:28px 18px 70px}
    .edi-banner-carousel .hero-actions{display:grid;grid-template-columns:1fr}
    .edi-banner-carousel .hero-actions .btn{width:100%;min-height:40px}
}

@media (min-width:480px){
    .edi-banner-carousel .banner-track{min-height:clamp(390px, 72vw, 455px)}
    .edi-banner-carousel .banner-content{padding:36px 34px 76px}
    .edi-banner-carousel h1{font-size:clamp(34px, 7.2vw, 50px)}
    .edi-banner-carousel .hero-actions{width:auto}
    .edi-banner-carousel .hero-actions .btn{flex:0 1 auto}
}

@media (min-width:700px){
    .edi-banner-carousel .banner-track{min-height:clamp(420px, 55vw, 490px)}
    .edi-banner-carousel .banner-slide,
    .edi-banner-carousel .banner-slide.active{background-position:center}
    .edi-banner-carousel .banner-slide::before{background:linear-gradient(90deg,rgba(7,3,16,.76) 0%,rgba(22,8,47,.60) 48%,rgba(35,13,71,.16) 76%,transparent 100%)}
    .edi-banner-carousel .banner-content{width:min(68%, 760px);padding:44px 52px 58px}
    .edi-banner-carousel h1{font-size:clamp(42px, 6.3vw, 60px);line-height:.98}
    .edi-banner-carousel p{font-size:15px;line-height:1.68}
    .edi-banner-carousel .carousel-arrow{top:50%;bottom:auto;width:42px;height:42px;transform:translateY(-50%);font-size:30px}
    .edi-banner-carousel .carousel-arrow.prev{left:14px;right:auto}
    .edi-banner-carousel .carousel-arrow.next{right:14px}
    .edi-banner-carousel .carousel-dots{left:50%;bottom:15px;transform:translateX(-50%)}
}

@media (min-width:980px){
    .edi-banner-carousel .banner-track{min-height:clamp(440px, 36vw, 510px)}
    .edi-banner-carousel .banner-content{width:min(64%, 800px);padding:54px 64px 62px}
    .edi-banner-carousel h1{font-size:clamp(48px, 4.7vw, 66px);letter-spacing:-2.4px}
    .edi-banner-carousel .hero-stats{display:flex}
}

@media (min-width:1440px){
    .edi-banner-carousel .banner-track{min-height:510px}
    .edi-banner-carousel .banner-content{padding-left:72px}
}

@media (prefers-reduced-motion:reduce){
    .edi-banner-carousel .banner-slide,
    .edi-banner-carousel .banner-slide.active{
        transition:none;
        transform:none;
    }
}
