/* Custom CSS dari index.php (inline dipindahkan) */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.popup-enter { animation: popupIn 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
@keyframes popupIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* Liquid Glass Theme - Dominasi Putih, Blur, Transparansi, Sudut Membulat */
body {
	background: linear-gradient(135deg, #f8fafc 0%, #e0eafc 100%);
	color: #1e293b;
	font-family: 'Segoe UI', Arial, sans-serif;
	margin: 0;
	padding: 0;
}
.site-header {
	position: sticky;
	top: 0;
	background: rgba(255,255,255,0.7);
	backdrop-filter: blur(12px);
	z-index: 100;
	box-shadow: 0 8px 32px 0 rgba(31,38,135,0.10);
	border-radius: 32px;
	margin: 16px 16px 0 16px;
	padding: 16px 32px;
	border: 1px solid rgba(255,255,255,0.18);
}
.nav-link {
	color: #1e293b;
	text-decoration: none;
	padding: 0.5rem 1rem;
	border-radius: 20px;
	background: rgba(255,255,255,0.35);
	transition: background 0.2s;
}
.nav-link:hover, .nav-link.active {
	background: rgba(224,234,252,0.7);
}
.badge {
	background: #facc15;
	color: #1e293b;
	border-radius: 999px;
	padding: 0.2em 0.7em;
	font-size: 0.9em;
	margin-left: 4px;
}
.dropdown-menu {
	display: none;
	position: absolute;
	right: 0;
	top: 100%;
	background: rgba(255,255,255,0.85);
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	border-radius: 16px;
	min-width: 160px;
	backdrop-filter: blur(8px);
}
.dropdown-menu.show {
	display: block;
}
.sticky-top {
	position: sticky;
	top: 0;
	z-index: 100;
}
.hero-slider {
	width: 100%;
	height: 220px;
	overflow: hidden;
	border-radius: 32px;
	margin-bottom: 1.5rem;
	background: rgba(255,255,255,0.6);
	box-shadow: 0 4px 24px rgba(31,38,135,0.10);
}
.info-marquee {
	background: rgba(255,255,255,0.7);
	color: #1e293b;
	padding: 0.5rem 1rem;
	border-radius: 24px;
	margin-bottom: 1rem;
	box-shadow: 0 2px 8px rgba(31,38,135,0.07);
}
.category-quick {
	display: flex;
	gap: 1rem;
	margin-bottom: 1.5rem;
}
.category-btn {
	background: rgba(255,255,255,0.8);
	color: #1e293b;
	border-radius: 20px;
	padding: 0.5rem 1.2rem;
	border: none;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(31,38,135,0.07);
}
.flash-sale-section {
	margin-bottom: 2rem;
}
.product-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.5rem;
}
.product-card {
	background: rgba(255,255,255,0.7);
	border-radius: 32px;
	box-shadow: 0 8px 32px rgba(31,38,135,0.10);
	padding: 1rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	border: 1px solid rgba(255,255,255,0.18);
}
.product-card.flash-sale {
	border: 2px solid #facc15;
}
.product-card-title {
	font-size: 1.1rem;
	font-weight: 600;
	color: #1e293b;
	margin: 0.5rem 0;
}
.product-card-img {
	width: 100%;
	height: 140px;
	object-fit: cover;
	border-radius: 24px;
	margin-bottom: 0.5rem;
	box-shadow: 0 2px 8px rgba(31,38,135,0.07);
}
.price-tag {
	font-size: 1.1rem;
	color: #1e293b;
	font-weight: 700;
}
.price-tag.discount {
	color: #ef4444;
	text-decoration: line-through;
	margin-right: 8px;
}
.progress-bar {
	width: 100%;
	height: 8px;
	background: rgba(224,234,252,0.7);
	border-radius: 8px;
	margin: 0.5rem 0;
}
.progress-bar-fill {
	height: 100%;
	background: #facc15;
	border-radius: 8px;
}
.seller-info-box {
	background: rgba(255,255,255,0.7);
	border-radius: 24px;
	padding: 1rem;
	margin-top: 1rem;
	display: flex;
	align-items: center;
	gap: 1rem;
	box-shadow: 0 2px 8px rgba(31,38,135,0.07);
}
.seller-photo {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
}
.tab-content.hidden {
	display: none;
}
.dashboard-layout {
	display: flex;
	gap: 2rem;
}
.dashboard-sidebar {
	min-width: 180px;
	background: rgba(255,255,255,0.7);
	border-radius: 24px;
	padding: 1rem;
	box-shadow: 0 2px 8px rgba(31,38,135,0.07);
}
.tab-trigger {
	background: rgba(255,255,255,0.8);
	border: none;
	border-radius: 16px;
	padding: 0.7rem 1.2rem;
	margin-bottom: 0.5rem;
	cursor: pointer;
	font-weight: 500;
	box-shadow: 0 2px 8px rgba(31,38,135,0.07);
}
.tab-trigger.active {
	background: #1e293b;
	color: #fff;
}
.badge-pending {
	background: #fbbf24;
	color: #fff;
	border-radius: 8px;
	padding: 0.2em 0.7em;
}
.badge-success {
	background: #22c55e;
	color: #fff;
	border-radius: 8px;
	padding: 0.2em 0.7em;
}
.badge-failed {
	background: #ef4444;
	color: #fff;
	border-radius: 8px;
	padding: 0.2em 0.7em;
}
.hidden {
	display: none;
}
