/* =========================================================
   SmartToko — Mobile First Theme
   ========================================================= */

:root {
	--st-primary: #1758e8;
	--st-primary-dark: #1147bd;
	--st-primary-soft: #e8f0fe;
	--st-danger: #ef4444;
	--st-success: #16a34a;
	--st-warning: #f59e0b;
	--st-text: #0f172a;
	--st-muted: #64748b;
	--st-line: #e8edf5;
	--st-bg: #f7f9fc;
	--st-card: #ffffff;
	--st-radius: 16px;
	--st-radius-sm: 12px;
	--st-shadow: 0 2px 12px rgba(15, 23, 42, .06);
	--st-shadow-lg: 0 12px 32px rgba(15, 23, 42, .12);
	--st-max: 720px;
	--st-nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body.st-app {
	margin: 0;
	font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	background: var(--st-bg);
	color: var(--st-text);
	font-size: 15px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.st-shell {
	max-width: var(--st-max);
	margin: 0 auto;
	background: var(--st-bg);
	min-height: 100vh;
	position: relative;
	padding-bottom: calc(var(--st-nav-h) + env(safe-area-inset-bottom, 0px));
}

/* ---------- Header ---------- */
.st-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--st-bg);
	padding: 8px 16px 10px;
}

.st-header__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-height: 52px;
}

.st-icon-btn {
	background: none;
	border: 0;
	padding: 8px;
	border-radius: 12px;
	color: var(--st-text);
	cursor: pointer;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background .15s;
}
.st-icon-btn:active { background: rgba(15, 23, 42, .06); }

.st-logo { display: inline-flex; align-items: flex-start; gap: 2px; }
.st-logo img { max-height: 40px; width: auto; }
.st-logo__text {
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -.5px;
	color: var(--st-text);
}
.st-logo__text span { color: var(--st-primary); }
.st-logo__icon { color: var(--st-primary); margin-top: 2px; }
.st-logo__image { display: inline-block; max-height: 40px; width: auto; vertical-align: middle; }

.st-drawer__brand { display: inline-flex; align-items: flex-start; gap: 2px; }
.st-footer__brand { display: flex; flex-direction: column; align-items: center; }
.st-footer__brand .st-logo__text { font-size: 22px; }

.st-cart-count {
	position: absolute;
	top: 0;
	right: 0;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--st-primary);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.st-cart-count.is-hidden { display: none; }

/* ---------- Search ---------- */
.st-search { position: relative; margin-top: 6px; }
.st-search__form {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	border: 1px solid var(--st-line);
	border-radius: 14px;
	padding: 12px 16px;
	color: var(--st-muted);
	box-shadow: var(--st-shadow);
}
.st-search__input {
	flex: 1;
	border: 0;
	outline: 0;
	font-size: 15px;
	background: transparent;
	color: var(--st-text);
}
.st-search__input::placeholder { color: #9aa5b6; }

.st-suggest {
	position: absolute;
	left: 0; right: 0; top: calc(100% + 6px);
	background: #fff;
	border-radius: var(--st-radius-sm);
	box-shadow: var(--st-shadow-lg);
	z-index: 60;
	overflow: hidden;
	max-height: 60vh;
	overflow-y: auto;
}
.st-suggest__list { list-style: none; margin: 0; padding: 0; }
.st-suggest__list a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border-bottom: 1px solid var(--st-line);
}
.st-suggest__list img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.st-suggest__name { flex: 1; font-size: 14px; }
.st-suggest__price { font-weight: 700; color: var(--st-primary); font-size: 13px; }
.st-suggest__empty { padding: 16px; text-align: center; color: var(--st-muted); font-size: 14px; }

/* ---------- Main ---------- */
.st-main { padding: 0 16px; }

/* ---------- Hero ---------- */
.st-hero { margin-top: 6px; }
.st-slider { position: relative; overflow: hidden; border-radius: 20px; }
.st-slider__track {
	display: flex;
	transition: transform .4s cubic-bezier(.4, 0, .2, 1);
	will-change: transform;
}
.st-slide {
	min-width: 100%;
	display: flex;
	align-items: center;
	gap: 8px;
	background: linear-gradient(135deg, #dceafe 0%, #eaf2ff 55%, #f4f8ff 100%);
	border-radius: 20px;
	padding: 26px 18px;
	min-height: 210px;
}
.st-slide__text { flex: 1.15; }
.st-slide__text h2 {
	margin: 0 0 8px;
	font-size: 22px;
	line-height: 1.25;
	font-weight: 800;
	letter-spacing: -.4px;
}
.st-slide__text p { margin: 0 0 16px; color: #56637a; font-size: 13.5px; }
.st-slide__media { flex: .85; position: relative; min-height: 130px; }
.st-slide__media img { border-radius: 16px; object-fit: cover; }
.st-slide__blob {
	position: absolute;
	inset: 10% 0 10% 5%;
	background: radial-gradient(circle at 60% 40%, #bcd6ff, #8fbaff);
	border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
	opacity: .85;
}
.st-deco {
	position: absolute;
	z-index: 2;
	width: 40px; height: 40px;
	border-radius: 50%;
	background: #fff;
	box-shadow: var(--st-shadow);
	display: grid;
	place-items: center;
	font-weight: 700;
	color: var(--st-primary);
}
.st-deco--1 { top: 0; left: -6px; }
.st-deco--2 { bottom: 6px; right: 0; }

.st-slider__dots {
	display: flex;
	gap: 6px;
	justify-content: center;
	position: absolute;
	bottom: 12px;
	left: 0; right: 0;
}
.st-slider__dot {
	width: 7px; height: 7px;
	border-radius: 999px;
	background: #c3d3ea;
	border: 0;
	padding: 0;
	cursor: pointer;
	transition: all .2s;
}
.st-slider__dot.is-active { background: var(--st-primary); width: 20px; }

/* ---------- Kategori ---------- */
.st-cats {
	margin: 14px 0;
	background: #fff;
	border-radius: var(--st-radius);
	box-shadow: var(--st-shadow);
	padding: 14px 8px;
}
.st-cats__inner {
	display: flex;
	gap: 4px;
	overflow-x: auto;
	scrollbar-width: none;
}
.st-cats__inner::-webkit-scrollbar { display: none; }
.st-cat {
	flex: 1 0 20%;
	min-width: 72px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-align: center;
}
.st-cat__icon {
	width: 52px; height: 52px;
	border-radius: 16px;
	display: grid;
	place-items: center;
	background: var(--st-primary-soft);
	color: var(--st-primary);
}
.st-cat__icon svg { width: 24px; height: 24px; }
.st-cat__icon-img { width: 28px; height: 28px; object-fit: contain; border-radius: 6px; }
.st-cat__icon--semua { background: #e6edfd; color: #1e40af; }
.st-cat__icon--elektronik { background: #ffedd5; color: #ea580c; }
.st-cat__icon--fashion { background: #d1fae5; color: #059669; }
.st-cat__icon--rumah { background: #ede9fe; color: #7c3aed; }
.st-cat__icon--kecantikan { background: #ffe4e6; color: #e11d48; }
.st-cat__label { font-size: 12px; font-weight: 600; color: #334155; }

/* ---------- Section ---------- */
.st-section { margin: 22px 0; }
.st-section__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}
.st-section__title {
	margin: 0;
	font-size: 19px;
	font-weight: 800;
	letter-spacing: -.3px;
	display: flex;
	align-items: center;
	gap: 6px;
}
.st-bolt { color: var(--st-primary); }
.st-section__more {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	font-size: 13.5px;
	color: var(--st-muted);
	font-weight: 500;
}

/* ---------- Countdown ---------- */
.st-countdown {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: #fff1f2;
	border-radius: 12px;
	padding: 6px 10px;
	margin-bottom: 12px;
	color: var(--st-danger);
	font-size: 13px;
	font-weight: 600;
}
.st-countdown__label { display: inline-flex; align-items: center; gap: 5px; margin-right: 4px; }
.st-countdown__box {
	background: #fff;
	border: 1px solid #fecdd3;
	border-radius: 8px;
	padding: 3px 8px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

/* ---------- Grid & Scroller ---------- */
.st-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}
.st-scroller {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	padding-bottom: 4px;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.st-scroller::-webkit-scrollbar { display: none; }
.st-scroller > .st-card { min-width: 152px; max-width: 152px; scroll-snap-align: start; }

/* ---------- Product Card ---------- */
.st-card {
	background: var(--st-card);
	border-radius: var(--st-radius);
	overflow: hidden;
	box-shadow: var(--st-shadow);
	display: flex;
	flex-direction: column;
	position: relative;
}
.st-card.is-out { opacity: .65; }
.st-card__media { position: relative; display: block; background: #f1f5f9; }
.st-card__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

.st-badge-disc {
	position: absolute;
	top: 8px; left: 8px;
	background: var(--st-danger);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 999px;
}
.st-badge-disc--lg { font-size: 13px; padding: 5px 12px; top: 12px; left: 12px; }
.st-badge-out {
	position: absolute;
	inset: auto 0 0 0;
	background: rgba(15, 23, 42, .75);
	color: #fff;
	font-size: 11px;
	text-align: center;
	padding: 4px;
	font-weight: 600;
}

.st-wish {
	position: absolute;
	top: 8px; right: 8px;
	width: 30px; height: 30px;
	border-radius: 50%;
	border: 0;
	background: rgba(255, 255, 255, .92);
	color: #94a3b8;
	display: grid;
	place-items: center;
	cursor: pointer;
	box-shadow: var(--st-shadow);
}
.st-wish.is-active { color: var(--st-danger); }
.st-wish.is-active svg { fill: var(--st-danger); }

.st-card__body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.st-card__title {
	margin: 0;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 36px;
}
.st-card__foot {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 8px;
	margin-top: auto;
}
.st-card__price { display: flex; flex-direction: column; line-height: 1.25; }
.st-price { font-size: 15px; font-weight: 800; color: var(--st-text); }
.st-price--lg { font-size: 24px; color: var(--st-primary); }
.st-price-old { font-size: 12px; color: #94a3b8; text-decoration: line-through; }

.st-btn-cart {
	width: 34px; height: 34px;
	flex: 0 0 34px;
	border: 0;
	border-radius: 10px;
	background: var(--st-primary);
	color: #fff;
	display: grid;
	place-items: center;
	cursor: pointer;
	transition: transform .12s, background .15s;
}
.st-btn-cart:active { transform: scale(.92); }
.st-btn-cart:disabled { background: #cbd5e1; cursor: not-allowed; }

/* ---------- Trust ---------- */
.st-trust {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	background: #eef4ff;
	border-radius: var(--st-radius);
	padding: 14px 12px;
	margin: 20px 0;
}
.st-trust__item { display: flex; flex-direction: column; gap: 6px; }
.st-trust__icon {
	width: 34px; height: 34px;
	border-radius: 10px;
	background: #dbe7ff;
	color: var(--st-primary);
	display: grid;
	place-items: center;
}
.st-trust__item strong { font-size: 12.5px; display: block; line-height: 1.25; }
.st-trust__item small { font-size: 11px; color: var(--st-muted); line-height: 1.3; display: block; }

/* ---------- Buttons ---------- */
.st-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 0;
	border-radius: 12px;
	padding: 13px 20px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: background .15s, transform .12s, opacity .15s;
	text-align: center;
}
.st-btn:active { transform: scale(.985); }
.st-btn:disabled { opacity: .6; cursor: not-allowed; }
.st-btn--primary { background: var(--st-primary); color: #fff; }
.st-btn--primary:active { background: var(--st-primary-dark); }
.st-btn--ghost { background: #fff; color: var(--st-primary); border: 1px solid var(--st-line); }
.st-btn--outline { background: #fff; color: var(--st-primary); border: 1.5px solid var(--st-primary); }
.st-btn--block { display: flex; width: 100%; }
.st-btn--grow { flex: 1; }
.st-btn--pill { border-radius: 999px; padding: 12px 22px; box-shadow: 0 8px 20px rgba(23, 88, 232, .25); }
.st-btn.is-loading { position: relative; color: transparent !important; }
.st-btn.is-loading::after {
	content: '';
	position: absolute;
	width: 18px; height: 18px;
	border: 2px solid rgba(255, 255, 255, .45);
	border-top-color: #fff;
	border-radius: 50%;
	animation: st-spin .7s linear infinite;
}
.st-btn--ghost.is-loading::after, .st-btn--outline.is-loading::after {
	border-color: rgba(23, 88, 232, .3);
	border-top-color: var(--st-primary);
}
@keyframes st-spin { to { transform: rotate(360deg); } }

.st-link {
	background: none;
	border: 0;
	color: var(--st-primary);
	font-size: 13.5px;
	font-weight: 600;
	cursor: pointer;
	padding: 0;
}

/* ---------- Filter bar ---------- */
.st-page-head { padding: 16px 0 8px; }
.st-page-title { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.4px; }
.st-page-sub { margin: 4px 0 0; color: var(--st-muted); font-size: 13.5px; }

.st-filterbar { display: flex; align-items: center; gap: 8px; margin: 8px 0 4px; }
.st-chips { display: flex; gap: 8px; overflow-x: auto; flex: 1; scrollbar-width: none; padding: 2px 0; }
.st-chips::-webkit-scrollbar { display: none; }
.st-chip {
	white-space: nowrap;
	border: 1px solid var(--st-line);
	background: #fff;
	color: #475569;
	border-radius: 999px;
	padding: 8px 14px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}
.st-chip.is-active { background: var(--st-primary); border-color: var(--st-primary); color: #fff; }
.st-sort {
	border: 1px solid var(--st-line);
	background: #fff;
	border-radius: 999px;
	padding: 8px 10px;
	font-size: 13px;
	color: #475569;
	max-width: 120px;
}

.st-loadmore-wrap { display: flex; justify-content: center; margin-top: 16px; }
.st-empty-text { grid-column: 1 / -1; text-align: center; color: var(--st-muted); padding: 24px 0; }

/* ---------- Filter drawer ---------- */
.st-filter-toggle { border: 1px solid var(--st-line); border-radius: 999px; flex-shrink: 0; }
.st-filter-toggle.is-active { border-color: var(--st-primary); color: var(--st-primary); }
.st-filter-toggle__badge {
	position: absolute;
	top: 2px;
	right: 2px;
	min-width: 16px;
	height: 16px;
	padding: 0 3px;
	border-radius: 999px;
	background: var(--st-primary);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 16px;
	text-align: center;
}

.st-filter-group { margin-bottom: 22px; }
.st-filter-group__title { margin: 0 0 10px; font-size: 14px; font-weight: 700; }

.st-filter-price { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--st-muted); }
.st-filter-input {
	flex: 1;
	min-width: 0;
	border: 1px solid var(--st-line);
	border-radius: 10px;
	padding: 10px 12px;
	font-size: 13.5px;
}

.st-filter-presets { display: flex; flex-wrap: wrap; gap: 8px; }

.st-filter-check { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; cursor: pointer; }
.st-filter-check input { width: 18px; height: 18px; accent-color: var(--st-primary); }

/* ---------- Catgrid ---------- */
.st-catgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.st-catgrid__item {
	background: #fff;
	border-radius: var(--st-radius);
	padding: 16px;
	box-shadow: var(--st-shadow);
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.st-catgrid__item strong { font-size: 14px; }
.st-catgrid__item small { color: var(--st-muted); font-size: 12px; }

/* ---------- Single Produk ---------- */
.st-single { padding-bottom: 12px; }
.st-single__gallery {
	position: relative;
	margin: 0 -16px;
	background: #fff;
}
.st-single__gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.st-single__info { padding-top: 16px; }
.st-single__cat {
	display: inline-block;
	background: var(--st-primary-soft);
	color: var(--st-primary);
	border-radius: 999px;
	padding: 4px 12px;
	font-size: 12px;
	font-weight: 600;
	margin-bottom: 8px;
}
.st-single__title { margin: 0 0 8px; font-size: 20px; font-weight: 800; line-height: 1.3; }
.st-single__meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--st-muted); flex-wrap: wrap; }
.st-rating { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: #334155; text-decoration: none; }
.st-rating__count { color: var(--st-muted); font-weight: 500; }
.st-sep { color: #cbd5e1; }
.st-stock-in { color: var(--st-success); font-weight: 600; }
.st-stock-out { color: var(--st-danger); font-weight: 600; }
.st-single__price { display: flex; align-items: baseline; gap: 10px; margin: 12px 0; }
.st-single__ship {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	border-radius: var(--st-radius-sm);
	padding: 12px 14px;
	font-size: 12.5px;
	color: var(--st-muted);
	box-shadow: var(--st-shadow);
}
.st-single__ship svg { flex: 0 0 18px; color: var(--st-primary); }
.st-single__ship strong { color: var(--st-text); }
.st-single__desc { margin-top: 20px; }
.st-single__desc h2 { font-size: 16px; margin: 0 0 8px; }
.st-single__desc p { color: #475569; font-size: 14px; }

/* ---------- Ulasan produk ---------- */
.st-badge { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #f1f5f9; color: #475569; white-space: nowrap; }
.st-badge--green { background: #ecfdf5; color: #047857; }

.st-stars { display: inline-flex; gap: 2px; }
.st-star { color: #e2e8f0; }
.st-star svg { display: block; fill: currentColor; }
.st-star.is-filled { color: #f59e0b; }

.st-review-summary { display: flex; gap: 24px; background: #fff; border-radius: var(--st-radius); box-shadow: var(--st-shadow); padding: 18px; margin: 14px 0; flex-wrap: wrap; }
.st-review-summary__score { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 96px; }
.st-review-summary__score strong { font-size: 32px; font-weight: 800; line-height: 1; }
.st-review-summary__score span { font-size: 12.5px; color: var(--st-muted); }
.st-review-summary__bars { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.st-review-bar { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--st-muted); }
.st-review-bar span { width: 32px; flex-shrink: 0; }
.st-review-bar small { width: 22px; text-align: right; flex-shrink: 0; }
.st-review-bar__track { flex: 1; height: 6px; border-radius: 999px; background: #f1f5f9; overflow: hidden; }
.st-review-bar__fill { height: 100%; background: #f59e0b; border-radius: 999px; }

.st-review-list { display: flex; flex-direction: column; gap: 16px; margin-top: 12px; }
.st-review-item { display: flex; gap: 12px; background: #fff; border-radius: var(--st-radius); box-shadow: var(--st-shadow); padding: 14px; }
.st-review-item img { border-radius: 50%; flex-shrink: 0; }
.st-review-item__body { flex: 1; min-width: 0; }
.st-review-item__head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.st-review-item__text { margin: 6px 0 0; font-size: 13.5px; color: #334155; line-height: 1.6; }
.st-review-item__date { display: block; margin-top: 6px; font-size: 12px; color: var(--st-muted); }

.st-review-locked { background: #fff; border-radius: var(--st-radius); box-shadow: var(--st-shadow); padding: 18px; text-align: center; margin-top: 18px; }
.st-review-locked p { margin: 0 0 10px; color: var(--st-muted); font-size: 13.5px; }

.st-review-form { background: #fff; border-radius: var(--st-radius); box-shadow: var(--st-shadow); padding: 18px; margin-top: 18px; }
.st-review-form h3 { margin: 0 0 12px; font-size: 15px; }
.st-star-input { display: flex; gap: 6px; margin-bottom: 14px; }
.st-star-input__btn { background: none; border: 0; padding: 0; color: #e2e8f0; cursor: pointer; }
.st-star-input__btn svg { display: block; fill: currentColor; }
.st-star-input__btn.is-active { color: #f59e0b; }

.st-badge-disc--custom { background: var(--st-primary); letter-spacing: .3px; }
.st-badge-po {
	position: absolute;
	top: 8px; right: 8px;
	background: #0f172a;
	color: #fff;
	font-size: 10px;
	font-weight: 800;
	padding: 3px 7px;
	border-radius: 6px;
}
.st-tag-po {
	display: inline-block;
	background: #fffbeb;
	color: #92400e;
	font-size: 10px;
	font-weight: 800;
	padding: 2px 7px;
	border-radius: 999px;
	margin: 2px 0;
}

/* ---------- Galeri produk ---------- */
.st-gallery__main { position: relative; }
.st-gallery__thumbs {
	display: flex;
	gap: 8px;
	padding: 10px 16px 0;
	overflow-x: auto;
	scrollbar-width: none;
}
.st-gallery__thumbs::-webkit-scrollbar { display: none; }
.st-gallery__thumb {
	flex: 0 0 62px;
	width: 62px; height: 62px;
	border-radius: 10px;
	overflow: hidden;
	border: 2px solid transparent;
	background: #fff;
	padding: 0;
	cursor: pointer;
}
.st-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.st-gallery__thumb.is-active { border-color: var(--st-primary); }

/* ---------- Varian ---------- */
.st-variants { margin: 16px 0; }
.st-variant-group { margin-bottom: 14px; }
.st-variant-group:last-of-type { margin-bottom: 8px; }
.st-variants__title { font-size: 14px; margin: 0 0 8px; font-weight: 700; }
.st-variants__list { display: flex; flex-wrap: wrap; gap: 8px; }
.st-variants__stock { display: block; font-size: 13px; font-weight: 600; }
.st-variant {
	border: 1px solid var(--st-line);
	background: #fff;
	border-radius: 10px;
	padding: 9px 14px;
	font-size: 13px;
	font-weight: 600;
	color: #475569;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	line-height: 1.3;
	transition: border-color .15s, background .15s, opacity .15s;
}
.st-variant small { font-size: 11px; color: var(--st-primary); font-weight: 700; }
.st-variant.is-active { border-color: var(--st-primary); background: #f5f9ff; color: var(--st-primary); }
.st-variant.is-unavailable, .st-variant:disabled {
	opacity: .4;
	cursor: not-allowed;
	text-decoration: line-through;
}

.st-spec { list-style: none; margin: 14px 0; padding: 0; }
.st-spec li { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--st-line); font-size: 13px; }
.st-spec span { color: var(--st-muted); }

.st-single__video { margin-top: 20px; }
.st-single__video h2 { font-size: 16px; margin: 0 0 8px; }
.st-embed { position: relative; padding-bottom: 56.25%; height: 0; border-radius: var(--st-radius-sm); overflow: hidden; }
.st-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Artikel ---------- */
.st-artikel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.st-artikel-card {
	background: #fff;
	border-radius: var(--st-radius);
	overflow: hidden;
	box-shadow: var(--st-shadow);
	display: flex;
	flex-direction: column;
}
.st-artikel-card__media { position: relative; display: block; }
.st-artikel-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.st-artikel-card__cat {
	position: absolute;
	left: 8px; bottom: 8px;
	background: rgba(15, 23, 42, .75);
	color: #fff;
	font-size: 10.5px;
	font-weight: 700;
	padding: 3px 9px;
	border-radius: 999px;
}
.st-artikel-card__body { padding: 12px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.st-artikel-card__body h3 {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.st-artikel-card__body p {
	margin: 0;
	font-size: 12.5px;
	color: var(--st-muted);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.st-artikel-card__date { font-size: 11.5px; color: #94a3b8; margin-top: auto; }

.st-artikel { padding-bottom: 20px; }
.st-artikel__cover { margin: 0 -16px 16px; }
.st-artikel__cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.st-artikel__title { font-size: 24px; font-weight: 800; line-height: 1.25; margin: 8px 0; letter-spacing: -.5px; }
.st-artikel__meta { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--st-muted); flex-wrap: wrap; }
.st-artikel__meta img { border-radius: 50%; width: 28px; height: 28px; }
.st-artikel__body { margin-top: 18px; font-size: 15px; line-height: 1.75; color: #334155; }
.st-artikel__body h2, .st-artikel__body h3 { color: var(--st-text); margin: 24px 0 8px; font-size: 17px; }
.st-artikel__body img { border-radius: var(--st-radius-sm); margin: 14px 0; }
.st-artikel__body ul, .st-artikel__body ol { padding-left: 20px; }
.st-artikel__body blockquote {
	border-left: 3px solid var(--st-primary);
	background: #f5f9ff;
	margin: 16px 0;
	padding: 12px 16px;
	border-radius: 0 12px 12px 0;
	font-style: italic;
}
.st-artikel__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

/* ---------- Komentar artikel ---------- */
.st-comments { font-size: 14px; }
.st-comments-title { font-size: 17px; font-weight: 800; margin: 0 0 14px; }
.st-comments-closed { color: var(--st-muted); font-size: 13.5px; }

.st-comment-list, .st-comment-list .children {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.st-comment-list .children { margin: 12px 0 0; padding-left: 20px; border-left: 2px solid var(--st-line); }

.st-comment-item__inner { display: flex; gap: 12px; background: #fff; border-radius: var(--st-radius); box-shadow: var(--st-shadow); padding: 14px; }
.st-comment-item__inner img { border-radius: 50%; flex-shrink: 0; }
.st-comment-item__body { flex: 1; min-width: 0; }
.st-comment-item__head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.st-comment-item__head strong a { color: inherit; text-decoration: none; }
.st-comment-item__date { font-size: 12px; color: var(--st-muted); text-decoration: none; margin-left: auto; }
.st-comment-item__pending { margin: 4px 0; font-size: 12.5px; color: #b45309; background: #fff7ed; border-radius: 8px; padding: 6px 10px; display: inline-block; }
.st-comment-item__text { font-size: 13.5px; color: #334155; line-height: 1.65; }
.st-comment-item__text p { margin: 0 0 8px; }
.st-comment-item__text p:last-child { margin-bottom: 0; }
.st-comment-item__reply { display: inline-block; margin-top: 8px; font-size: 12.5px; font-weight: 700; color: var(--st-primary); text-decoration: none; }

#respond { margin-top: 24px; }
.comment-reply-title { font-size: 15px; font-weight: 800; margin: 0 0 4px; }
#cancel-comment-reply-link { margin-left: 8px; font-size: 12.5px; font-weight: 500; color: var(--st-muted); }
.st-comment-form { background: #fff; border-radius: var(--st-radius); box-shadow: var(--st-shadow); padding: 18px; margin-top: 12px; }
.comment-notes, .comment-form-cookies-consent { color: var(--st-muted); font-size: 12.5px; margin: 0 0 14px; }
.comment-form-cookies-consent { display: flex; align-items: center; gap: 8px; }
.comment-form-cookies-consent input { width: 16px; height: 16px; accent-color: var(--st-primary); }
.logged-in-as { color: var(--st-muted); font-size: 12.5px; margin: 0 0 14px; }
.logged-in-as a { color: var(--st-primary); }
.form-submit { margin: 0; }

/* ---------- Buy bar ---------- */
.st-buybar {
	position: fixed;
	bottom: calc(var(--st-nav-h) + env(safe-area-inset-bottom, 0px));
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	max-width: var(--st-max);
	background: #fff;
	border-top: 1px solid var(--st-line);
	padding: 10px 16px;
	display: flex;
	align-items: center;
	gap: 8px;
	z-index: 40;
	box-shadow: 0 -4px 20px rgba(15, 23, 42, .06);
}
.st-buybar .st-btn { flex: 1; padding: 12px 10px; font-size: 14px; }
.st-buybar--checkout { gap: 12px; }
.st-buybar__total { display: flex; flex-direction: column; line-height: 1.2; }
.st-buybar__total small { font-size: 11px; color: var(--st-muted); }
.st-buybar__total strong { font-size: 17px; color: var(--st-primary); }

/* ---------- Qty ---------- */
.st-qty {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--st-line);
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
}
.st-qty__btn {
	width: 32px; height: 32px;
	border: 0;
	background: #f8fafc;
	color: var(--st-text);
	font-size: 17px;
	cursor: pointer;
	line-height: 1;
}
.st-qty__btn:active { background: #eef2f7; }
.st-qty__input {
	width: 42px;
	height: 32px;
	border: 0;
	text-align: center;
	font-size: 14px;
	font-weight: 600;
	outline: 0;
	-moz-appearance: textfield;
}
.st-qty__input::-webkit-outer-spin-button,
.st-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.st-qty--lg .st-qty__btn { width: 38px; height: 42px; }
.st-qty--lg .st-qty__input { height: 42px; width: 44px; }

/* ---------- Cart ---------- */
.st-cart-list { display: flex; flex-direction: column; gap: 12px; }
.st-cart-item {
	display: flex;
	gap: 12px;
	background: #fff;
	border-radius: var(--st-radius);
	padding: 12px;
	box-shadow: var(--st-shadow);
}
.st-cart-item__img img { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; }
.st-cart-item__info { flex: 1; min-width: 0; }
.st-cart-item__info h3 {
	margin: 0 0 2px;
	font-size: 14px;
	font-weight: 600;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.st-cart-item__price { font-size: 13px; color: var(--st-muted); }
.st-cart-item__variant { display: inline-block; font-size: 11.5px; color: var(--st-muted); background: #f1f5f9; border-radius: 6px; padding: 2px 7px; margin: 2px 0 4px; }
.st-cart-item__row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; gap: 8px; }
.st-cart-item__sub { font-weight: 800; color: var(--st-primary); font-size: 15px; margin-top: 4px; }
.st-cart-remove {
	border: 0;
	background: none;
	color: #94a3b8;
	padding: 6px;
	cursor: pointer;
	border-radius: 8px;
}
.st-cart-remove:active { background: #fee2e2; color: var(--st-danger); }
.st-cart-item.is-removing { opacity: .35; }

.st-summary {
	position: sticky;
	bottom: calc(var(--st-nav-h) + 8px);
	background: #fff;
	border-radius: var(--st-radius);
	box-shadow: var(--st-shadow-lg);
	padding: 16px;
	margin: 16px 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.st-summary__row { display: flex; align-items: center; justify-content: space-between; font-size: 14px; }
.st-summary__row--muted { color: var(--st-muted); font-size: 13px; }
.st-summary__row--total {
	border-top: 1px dashed var(--st-line);
	padding-top: 10px;
	margin-top: 4px;
	font-size: 16px;
}
.st-summary__row--total strong { color: var(--st-primary); font-size: 18px; }

/* ---------- Empty ---------- */
.st-empty {
	text-align: center;
	padding: 40px 20px;
	color: var(--st-muted);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}
.st-empty svg { color: #cbd5e1; }
.st-empty h3 { margin: 8px 0 0; color: var(--st-text); font-size: 17px; }
.st-empty p { margin: 0 0 8px; font-size: 14px; }

/* ---------- Panels & Forms ---------- */
.st-panel {
	background: #fff;
	border-radius: var(--st-radius);
	box-shadow: var(--st-shadow);
	padding: 16px;
	margin: 14px 0;
}
.st-panel__title { margin: 0 0 12px; font-size: 15.5px; font-weight: 700; }

.st-field { margin-bottom: 14px; position: relative; }
.st-field label { display: block; font-size: 13px; font-weight: 600; color: #334155; margin-bottom: 6px; }
.st-field input[type="text"],
.st-field input[type="email"],
.st-field input[type="tel"],
.st-field input[type="password"],
.st-field input[type="number"],
.st-field input[type="search"],
.st-field input[type="file"],
.st-field textarea,
.st-field select {
	width: 100%;
	border: 1px solid var(--st-line);
	border-radius: 12px;
	padding: 12px 14px;
	font-size: 15px;
	font-family: inherit;
	background: #fbfcfe;
	color: var(--st-text);
	outline: none;
	transition: border-color .15s, box-shadow .15s;
}
.st-field input:focus, .st-field textarea:focus {
	border-color: var(--st-primary);
	box-shadow: 0 0 0 3px rgba(23, 88, 232, .12);
	background: #fff;
}
.st-field textarea { resize: vertical; }
.st-field--pass .st-eye {
	position: absolute;
	right: 10px;
	top: 32px;
	background: none;
	border: 0;
	color: #94a3b8;
	padding: 6px;
	cursor: pointer;
}
.st-field-row { display: grid; grid-template-columns: 1fr; gap: 0; }

.st-error { display: none; color: var(--st-danger); font-size: 12px; margin-top: 4px; }
.st-error.is-show { display: block; }
.st-hint { display: block; font-size: 12px; color: var(--st-muted); margin-top: 4px; }

.st-region-picker { margin-bottom: 14px; }
.st-region-picker__current { background: #f5f9ff; border-radius: 10px; padding: 10px 12px; margin: 0 0 14px; }
.st-field select:disabled { background: #f1f5f9; color: var(--st-muted); cursor: not-allowed; }

.st-check { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #475569; cursor: pointer; }
.st-check input { width: 18px; height: 18px; accent-color: var(--st-primary); }

.st-form__row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.st-form__msg { margin-top: 10px; font-size: 13.5px; text-align: center; }
.st-form__msg.is-error { color: var(--st-danger); }
.st-form__msg.is-success { color: var(--st-success); }

.st-radio {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	border: 1px solid var(--st-line);
	border-radius: 12px;
	padding: 12px 14px;
	margin-bottom: 10px;
	cursor: pointer;
	transition: border-color .15s, background .15s;
}
.st-radio input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--st-primary); }
.st-radio:has(input:checked) { border-color: var(--st-primary); background: #f5f9ff; }
.st-radio__body { display: flex; flex-direction: column; }
.st-radio__body strong { font-size: 14px; }
.st-radio__body small { color: var(--st-muted); font-size: 12.5px; }

/* ---------- Buku alamat ---------- */
.st-address-list { display: flex; flex-direction: column; gap: 12px; }
.st-address-card { border: 1px solid var(--st-line); border-radius: 12px; padding: 14px; }
.st-address-card__head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.st-address-card__body { margin: 0 0 10px; font-size: 13.5px; color: #475569; line-height: 1.6; }
.st-address-card__actions { display: flex; gap: 16px; }
.st-link--danger { color: var(--st-danger); }

.st-address-select { margin-bottom: 16px; }
.st-address-option {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	border: 1px solid var(--st-line);
	border-radius: 12px;
	padding: 12px 14px;
	margin-bottom: 10px;
	cursor: pointer;
	transition: border-color .15s, background .15s;
}
.st-address-option input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--st-primary); flex-shrink: 0; }
.st-address-option:has(input:checked) { border-color: var(--st-primary); background: #f5f9ff; }
.st-address-option__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.st-address-option__body strong { font-size: 14px; }
.st-address-option__body small { color: var(--st-muted); font-size: 12.5px; }

.st-notice {
	border-radius: 12px;
	padding: 12px 14px;
	font-size: 13.5px;
	margin: 12px 0;
}
.st-notice--info { background: #eff6ff; color: #1e40af; }
.st-notice--warn { background: #fffbeb; color: #92400e; }
.st-notice a { font-weight: 700; text-decoration: underline; }

.st-thankyou { max-width: 480px; margin: 0 auto; text-align: center; padding: 48px 16px 40px; }
.st-thankyou__icon {
	width: 72px; height: 72px;
	margin: 0 auto 18px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 50%;
	background: #dcfce7;
	color: #16a34a;
}
.st-thankyou__title { font-size: 24px; font-weight: 800; margin: 0 0 6px; letter-spacing: -.2px; }
.st-thankyou__sub { color: var(--st-muted); font-size: 14.5px; margin: 0 0 24px; }
.st-thankyou__card { text-align: left; padding: 20px 22px; }
.st-thankyou__row { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--st-line); font-size: 14px; }
.st-thankyou__row:first-child { padding-top: 0; }
.st-thankyou__row:last-of-type { border-bottom: 0; padding-bottom: 4px; }
.st-thankyou__row > span:first-child { color: var(--st-muted); }
.st-thankyou__row strong { font-size: 15px; }
.st-thankyou__banks { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.st-thankyou__banks strong { display: block; margin-bottom: 2px; }
.st-thankyou__bank { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; }
.st-thankyou__bank img { width: 24px; height: 24px; border-radius: 6px; background: #fff; object-fit: contain; flex: 0 0 24px; }
.st-thankyou__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
@media (min-width: 480px) {
	.st-thankyou__actions { flex-direction: row; }
	.st-thankyou__actions .st-btn { flex: 1; }
}

/* ---------- Checkout ---------- */
.st-checkout { padding-bottom: 90px; }
.st-checkout-items { display: flex; flex-direction: column; gap: 10px; }
.st-checkout-item { display: flex; align-items: center; gap: 10px; }
.st-checkout-item img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; }
.st-checkout-item__info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.st-checkout-item__name { font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-checkout-item__qty { font-size: 12px; color: var(--st-muted); }
.st-checkout-item__sub { font-size: 13.5px; font-weight: 700; }
.st-checkout-weight { margin-top: 10px; font-size: 12px; color: var(--st-muted); border-top: 1px dashed var(--st-line); padding-top: 10px; }

.st-shipping { display: flex; flex-direction: column; gap: 10px; }
.st-shipping__placeholder, .st-shipping__loading {
	color: var(--st-muted);
	font-size: 13.5px;
	text-align: center;
	padding: 14px;
	background: #f8fafc;
	border-radius: 12px;
}
.st-ship-option {
	display: flex;
	align-items: center;
	gap: 10px;
	border: 1px solid var(--st-line);
	border-radius: 12px;
	padding: 12px 14px;
	cursor: pointer;
}
.st-ship-option:has(input:checked) { border-color: var(--st-primary); background: #f5f9ff; }
.st-ship-option input { width: 18px; height: 18px; accent-color: var(--st-primary); }
.st-ship-option__body { flex: 1; display: flex; flex-direction: column; }
.st-ship-option__name { font-size: 13.5px; font-weight: 700; }
.st-ship-option__etd { font-size: 12px; color: var(--st-muted); }
.st-ship-option__cost { font-weight: 800; color: var(--st-primary); font-size: 14px; }

/* ---------- Kelompok kategori ongkir (Reguler / Next Day / Cargo) ---------- */
.st-ship-kategori-tabs { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.st-ship-kategori-tab {
	padding: 8px 16px;
	border: 1px solid var(--st-line);
	border-radius: 999px;
	background: #fff;
	font-size: 13px;
	font-weight: 700;
	color: var(--st-muted);
	cursor: pointer;
}
.st-ship-kategori-tab.is-active { background: var(--st-primary); border-color: var(--st-primary); color: #fff; }
.st-ship-kategori-pane { display: none; flex-direction: column; gap: 8px; }
.st-ship-kategori-pane.is-active { display: flex; }

/* ---------- Kupon ---------- */
.st-coupon { display: flex; gap: 8px; }
.st-coupon input {
	flex: 1;
	border: 1px solid var(--st-line);
	border-radius: 12px;
	padding: 12px 14px;
	font-size: 15px;
	background: #fbfcfe;
	text-transform: uppercase;
	letter-spacing: .5px;
	font-weight: 600;
	outline: none;
}
.st-coupon input:focus { border-color: var(--st-primary); box-shadow: 0 0 0 3px rgba(23, 88, 232, .12); background: #fff; }
.st-coupon .st-btn { padding: 12px 20px; }
.st-coupon__ok {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 10px;
	background: #ecfdf5;
	color: #047857;
	border-radius: 12px;
	padding: 10px 14px;
	font-size: 13px;
	font-weight: 600;
}
.st-summary__row--diskon strong { color: var(--st-success); }

.st-bank-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.st-bank {
	background: #f8fafc;
	border-radius: 12px;
	padding: 10px 14px;
	display: flex;
	align-items: center;
	gap: 12px;
}
.st-bank__logo { width: 36px; height: 36px; object-fit: contain; flex: 0 0 36px; border-radius: 8px; background: #fff; padding: 4px; border: 1px solid var(--st-line); }
.st-bank__info { display: flex; flex-direction: column; min-width: 0; }
.st-bank strong { font-size: 13px; color: var(--st-primary); }
.st-bank span { font-size: 15px; font-weight: 700; letter-spacing: .5px; }
.st-bank small { font-size: 12px; color: var(--st-muted); }

/* ---------- Auth ---------- */
.st-auth { padding: 24px 0 40px; }
.st-auth__brand { text-align: center; margin-bottom: 20px; }
.st-auth__brand p { color: var(--st-muted); font-size: 13.5px; margin: 6px 0 0; }

.st-tabs {
	display: flex;
	background: #eef2f7;
	border-radius: 12px;
	padding: 4px;
	margin-bottom: 18px;
}
.st-tab {
	flex: 1;
	border: 0;
	background: none;
	padding: 10px;
	border-radius: 9px;
	font-size: 14px;
	font-weight: 700;
	color: var(--st-muted);
	cursor: pointer;
}
.st-tab.is-active { background: #fff; color: var(--st-primary); box-shadow: var(--st-shadow); }

.st-tabpane { display: none; }
.st-tabpane.is-active { display: block; }
.st-form { background: #fff; border-radius: var(--st-radius); box-shadow: var(--st-shadow); padding: 18px; }

/* Honeypot anti-bot: sengaja di luar layar (bukan display:none) supaya bot yang mengecek visibility tetap terjebak. */
.st-hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Account ---------- */
.st-account { padding-bottom: 24px; }
.st-account__head { display: flex; align-items: center; gap: 14px; padding: 18px 0 14px; }
.st-account__head img { border-radius: 50%; width: 60px; height: 60px; }
.st-account__head h1 { margin: 0; font-size: 19px; font-weight: 800; }
.st-account__head p { margin: 2px 0 0; color: var(--st-muted); font-size: 13px; }

.st-account__stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
	background: #fff;
	border-radius: var(--st-radius);
	box-shadow: var(--st-shadow);
	padding: 14px 10px;
}
.st-stat { text-align: center; display: flex; flex-direction: column; }
.st-stat strong { font-size: 18px; color: var(--st-primary); }
.st-stat span { font-size: 11px; color: var(--st-muted); }

.st-account__nav {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	margin: 14px 0;
	scrollbar-width: none;
}
.st-account__nav::-webkit-scrollbar { display: none; }
.st-account__nav a {
	white-space: nowrap;
	padding: 8px 14px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--st-line);
	font-size: 13px;
	font-weight: 600;
	color: #475569;
}
.st-account__nav a.is-active { background: var(--st-primary); border-color: var(--st-primary); color: #fff; }

.st-account__menu { background: #fff; border-radius: var(--st-radius); box-shadow: var(--st-shadow); overflow: hidden; }
.st-account__menu a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px 16px;
	border-bottom: 1px solid var(--st-line);
	font-size: 14px;
	font-weight: 500;
}
.st-account__menu a:last-child { border-bottom: 0; }
.st-account__menu svg { color: #cbd5e1; }

.st-orders { display: flex; flex-direction: column; gap: 12px; }
.st-order-card {
	display: block;
	background: #fff;
	border-radius: var(--st-radius);
	box-shadow: var(--st-shadow);
	padding: 14px;
}
.st-order-card__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.st-order-no { font-size: 12.5px; font-weight: 700; color: #475569; }
.st-order-card__body { display: flex; align-items: center; gap: 10px; }
.st-order-card__body img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.st-order-item-name { font-size: 13.5px; font-weight: 600; }
.st-order-more { font-size: 12px; color: var(--st-muted); }
.st-order-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px dashed var(--st-line);
}
.st-order-date { font-size: 12px; color: var(--st-muted); }
.st-order-total { font-weight: 800; color: var(--st-primary); }

.st-status {
	font-size: 11px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 999px;
	background: #f1f5f9;
	color: #475569;
	white-space: nowrap;
}
.st-status--pending { background: #fff7ed; color: #c2410c; }
.st-status--dibayar { background: #eff6ff; color: #1d4ed8; }
.st-status--diproses { background: #f5f3ff; color: #6d28d9; }
.st-status--dikirim { background: #ecfeff; color: #0e7490; }
.st-status--selesai { background: #ecfdf5; color: #047857; }
.st-status--batal { background: #fef2f2; color: #b91c1c; }

.st-order-detail__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.st-order-detail__head small { display: block; color: var(--st-muted); font-size: 12px; }
.st-order-detail__items { display: flex; flex-direction: column; gap: 10px; padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px dashed var(--st-line); }
.st-order-address { font-size: 13.5px; color: #475569; }
.st-order-detail .st-form { box-shadow: none; padding: 0; margin-top: 12px; }

/* ---------- Lacak paket (AWB) ---------- */
.st-track-result { margin-top: 10px; }
.st-track-summary { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.st-track-status {
	align-self: flex-start;
	background: #fffbeb;
	color: #92400e;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .3px;
	padding: 3px 10px;
	border-radius: 999px;
	text-transform: uppercase;
}
.st-track-status.is-done { background: #ecfdf5; color: #047857; }
.st-track-meta { font-size: 12.5px; color: var(--st-muted); }
.st-track-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.st-track-list li { display: flex; flex-direction: column; gap: 2px; padding-left: 14px; border-left: 2px solid var(--st-line); }
.st-track-date { font-size: 11.5px; color: var(--st-muted); font-weight: 600; }
.st-track-desc { font-size: 13px; }
.st-track-error { color: #b91c1c; font-size: 13px; }

/* ---------- Bottom nav ---------- */
.st-bottomnav {
	position: fixed;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	max-width: var(--st-max);
	height: calc(var(--st-nav-h) + env(safe-area-inset-bottom, 0px));
	padding-bottom: env(safe-area-inset-bottom, 0px);
	background: #fff;
	border-top: 1px solid var(--st-line);
	display: flex;
	z-index: 45;
}
.st-bottomnav__item {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	font-size: 10.5px;
	font-weight: 600;
	color: #94a3b8;
}
.st-bottomnav__item svg { width: 22px; height: 22px; }
.st-bottomnav__item.is-active { color: var(--st-primary); }

/* ---------- Drawer ---------- */
.st-overlay {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, .45);
	z-index: 90;
	opacity: 0;
	transition: opacity .25s;
}
.st-overlay.is-open { opacity: 1; }

.st-drawer {
	position: fixed;
	top: 0;
	bottom: 0;
	width: 84%;
	max-width: 380px;
	background: #fff;
	z-index: 95;
	display: flex;
	flex-direction: column;
	transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}
.st-drawer--left { left: 0; transform: translateX(-105%); }
.st-drawer--right { right: 0; transform: translateX(105%); }
.st-drawer.is-open { transform: translateX(0); }

.st-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px;
	border-bottom: 1px solid var(--st-line);
}
.st-drawer__body { flex: 1; overflow-y: auto; padding: 16px; }
.st-drawer__foot { border-top: 1px solid var(--st-line); padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.st-drawer__total { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 4px; }
.st-drawer__total strong { color: var(--st-primary); font-size: 17px; }

.st-drawer__user { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--st-line); margin-bottom: 12px; }
.st-drawer__user img { border-radius: 50%; }
.st-drawer__user small { display: block; color: var(--st-muted); font-size: 12px; }
.st-drawer__auth { margin-bottom: 16px; }
.st-drawer__menu { list-style: none; margin: 0; padding: 0; }
.st-drawer__menu li a {
	display: block;
	padding: 13px 4px;
	border-bottom: 1px solid var(--st-line);
	font-size: 14.5px;
	font-weight: 500;
}
.st-drawer__wa {
	display: block;
	margin-top: 16px;
	background: #dcfce7;
	color: #166534;
	text-align: center;
	padding: 12px;
	border-radius: 12px;
	font-weight: 700;
	font-size: 14px;
}
.st-drawer__logout {
	margin-top: 12px;
	width: 100%;
	background: #fef2f2;
	color: #b91c1c;
	border: 0;
	padding: 12px;
	border-radius: 12px;
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
}

/* ---------- Toast ---------- */
.st-toast {
	position: fixed;
	left: 50%;
	bottom: calc(var(--st-nav-h) + 24px);
	transform: translate(-50%, 20px);
	background: #0f172a;
	color: #fff;
	padding: 12px 18px;
	border-radius: 999px;
	font-size: 13.5px;
	font-weight: 600;
	z-index: 200;
	opacity: 0;
	pointer-events: none;
	transition: opacity .25s, transform .25s;
	max-width: 90%;
	text-align: center;
}
.st-toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.st-toast.is-error { background: var(--st-danger); }
.st-toast.is-success { background: var(--st-success); }

/* ---------- Footer ---------- */
.st-footer {
	padding: 28px 16px 24px;
	background: #fff;
	border-top: 1px solid var(--st-line);
	margin-top: 24px;
	text-align: center;
}
.st-footer__brand p { color: var(--st-muted); font-size: 13px; margin: 6px 0 0; }
.st-footer__menu { list-style: none; padding: 0; margin: 16px 0; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; font-size: 13.5px; }
.st-footer__copy { margin-top: 14px; font-size: 12px; color: #94a3b8; }

/* ---------- Blog ---------- */
.st-posts { display: flex; flex-direction: column; gap: 14px; }
.st-post { background: #fff; border-radius: var(--st-radius); box-shadow: var(--st-shadow); overflow: hidden; }
.st-post__body { padding: 14px; }
.st-post__title { font-size: 16px; margin: 0 0 4px; }
.st-post__meta { font-size: 12px; color: var(--st-muted); margin-bottom: 6px; }
.st-page-content { background: #fff; border-radius: var(--st-radius); box-shadow: var(--st-shadow); padding: 18px; }
.st-pagination { display: flex; justify-content: center; margin-top: 20px; }
.st-pagination .page-numbers {
	padding: 8px 13px;
	background: #fff;
	border-radius: 10px;
	margin: 0 3px;
	font-size: 13px;
	display: inline-block;
}
.st-pagination .page-numbers.current { background: var(--st-primary); color: #fff; }

/* ---------- Tablet / Desktop ---------- */
@media (min-width: 520px) {
	.st-grid { grid-template-columns: repeat(3, 1fr); }
	.st-catgrid { grid-template-columns: repeat(3, 1fr); }
	.st-artikel-grid { grid-template-columns: repeat(3, 1fr); }
	.st-field-row { grid-template-columns: 1fr 1fr; gap: 12px; }
	.st-slide__text h2 { font-size: 26px; }
}

@media (min-width: 768px) {
	:root { --st-max: 960px; }
	.st-grid { grid-template-columns: repeat(4, 1fr); }
	.st-shell { box-shadow: 0 0 40px rgba(15, 23, 42, .06); }
	.st-slide { min-height: 260px; padding: 34px 28px; }
	.st-slide__text h2 { font-size: 32px; }
	.st-single { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
	.st-single__gallery { margin: 0; border-radius: var(--st-radius); overflow: hidden; }
	.st-single__info { padding-top: 0; }
	.st-artikel-grid { grid-template-columns: repeat(4, 1fr); }
	.st-artikel__cover { margin: 0 0 20px; border-radius: var(--st-radius); overflow: hidden; }
	.st-artikel__title { font-size: 32px; }
	.st-checkout { display: grid; grid-template-columns: 1fr; gap: 0; }
}

@media (min-width: 1024px) {
	:root { --st-max: 1120px; }
	.st-grid { grid-template-columns: repeat(5, 1fr); }
	.st-bottomnav { max-width: var(--st-max); }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
