:root {
	--app-bg: #f6f7f8;
	--surface: #ffffff;
	--surface-alt: #f1f3f5;
	--text-main: #1d2329;
	--radius-xl: 1.25rem;
	--accent-1: #bf00ff;
	--accent-2: #aa1cff;
	--accent-3: #9446ff;
	--accent-4: #9b73f2;
	--accent-soft: #f4dcff;
	--accent-shadow: rgba(133, 54, 214, 0.28);
}

body {
	min-height: 100vh;
	background: linear-gradient(180deg, var(--app-bg) 0%, #eef1f3 100%);
	color: var(--text-main);
}

.page-loader {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(246, 247, 248, 0.95);
	backdrop-filter: blur(2px);
	opacity: 1;
	visibility: visible;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.page-loader.is-hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.page-loader__spinner {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	border: 4px solid rgba(191, 0, 255, 0.22);
	border-top-color: #bf00ff;
	animation: pageLoaderSpin 0.8s linear infinite;
	box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.45);
}

@keyframes pageLoaderSpin {
	to {
		transform: rotate(360deg);
	}
}

.container {
	max-width: 1300px !important;
}

.app-shell {
	background: rgba(255, 255, 255, 0.8);
	border: 1px solid #e8ecef;
	border-radius: calc(var(--radius-xl) + 0.25rem);
	padding: 1rem 1.25rem;
	backdrop-filter: blur(5px);
}

.card-soft {
	background: var(--surface);
	border: 1px solid #e8ecef;
	border-radius: var(--radius-xl);
	box-shadow: 0 8px 26px rgba(17, 24, 39, 0.06);
}


.btn,
.form-control,
.alert,
.card {
	border-radius: 0.95rem !important;
}

.btn {
	border-radius: 7px !important;
	font-weight: 600;
	transition: all 0.25s ease;
}

.btn-dark,
.btn-primary {
	background: linear-gradient(90deg, var(--accent-1) 0%, var(--accent-2) 34%, var(--accent-3) 68%, var(--accent-4) 100%);
	border-color: transparent;
	box-shadow: 0 10px 20px rgba(133, 54, 214, 0.18);
}

.btn-dark:hover,
.btn-dark:focus,
.btn-primary:hover,
.btn-primary:focus {
	background: linear-gradient(90deg, #b000ee 0%, #9e17f1 34%, #873df5 68%, #926ae8 100%);
	border-color: transparent;
	box-shadow: 0 12px 24px rgba(133, 54, 214, 0.24);
	transform: translateY(-1px);
}

.btn-outline-dark {
	color: var(--accent-3);
	border-color: rgba(148, 70, 255, 0.45);
	background: rgba(255, 255, 255, 0.72);
}

.btn-outline-dark:hover,
.btn-outline-dark:focus {
	color: #fff;
	border-color: transparent;
	background: linear-gradient(90deg, var(--accent-1) 0%, var(--accent-2) 34%, var(--accent-3) 68%, var(--accent-4) 100%);
}

.btn-outline-secondary {
	color: #6d4cb3;
	border-color: rgba(155, 115, 242, 0.38);
	background: rgba(255, 255, 255, 0.65);
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
	color: #fff;
	border-color: transparent;
	background: linear-gradient(90deg, #a03cf4 0%, #8f4df1 100%);
}

.btn-outline-light {
	border-color: rgba(255, 255, 255, 0.32);
	background: rgba(255, 255, 255, 0.08);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
	background: rgba(255, 255, 255, 0.18);
	border-color: rgba(255, 255, 255, 0.48);
}

.btn-outline-danger {
	color: #ff4f84;
	border-color: rgba(255, 79, 132, 0.45);
	background: rgba(255, 255, 255, 0.72);
}

.btn-outline-danger:hover,
.btn-outline-danger:focus {
	color: #fff;
	border-color: transparent;
	background: linear-gradient(90deg, #ff4f84 0%, #ff6a6a 100%);
}

.btn-outline-success {
	color: #7a4bde;
	border-color: rgba(122, 75, 222, 0.42);
	background: rgba(255, 255, 255, 0.72);
}

.btn-outline-success:hover,
.btn-outline-success:focus {
	color: #fff;
	border-color: transparent;
	background: linear-gradient(90deg, #7c49ff 0%, #a260ff 100%);
}

.form-control {
	border-color: #d9dee3;
	background-color: var(--surface-alt);
}

.form-control:focus {
	background-color: #fff;
	box-shadow: 0 0 0 0.2rem rgba(33, 37, 41, 0.08);
	border-color: #c5cbd1;
}

.output-box {
	background: #111827;
	color: #e5e7eb;
	border: 0;
	border-radius: var(--radius-xl);
	padding: 1rem;
	min-height: 120px;
}

.login-wrap {
	max-width: 420px;
	margin: 0 auto;
}

.btn-login {
	padding-left: 1rem;
	padding-right: 1rem;
}

.product-price {
	font-size: 1rem;
	letter-spacing: 0.2px;
}

/* Header Admin */
.app-shell-admin {
	border-bottom: 2px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.app-shell-admin .btn-outline-light:hover {
	background-color: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.3);
}

/* New Admin Header Styles */
.admin-header {
	background: linear-gradient(90deg, #bf00ff 0%, #aa1cff 34%, #9446ff 68%, #9b73f2 100%);
	color: #fff;
	padding: 0;
	margin-bottom: 0.75rem;
	margin-left: 0;
	border-radius: 0.95rem;
	box-shadow: 0 12px 28px rgba(133, 54, 214, 0.28);
	overflow: hidden;
	position: relative;
	isolation: isolate;
}

.admin-header-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding: 1.5rem 2rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.16);
	backdrop-filter: blur(8px);
}

.admin-header-main {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 1rem;
}

.admin-brand {
	display: flex;
	align-items: center;
	gap: 1.25rem;
}

.admin-logo {
	width: 60px;
	height: 60px;
	background: linear-gradient(135deg, #7c49ff 0%, #b86fff 100%);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.75rem;
	box-shadow: 0 6px 18px rgba(146, 77, 255, 0.35);
}

.admin-title {
	font-size: 1.5rem;
	font-weight: 700;
	margin: 0;
	letter-spacing: -0.5px;
}

.admin-subtitle {
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.7);
	margin: 0.25rem 0 0 0;
}

.admin-user-section {
	display: flex;
	align-items: center;
	gap: 1rem;
}
.admin-menu-toggle {
	display: none;
}

.admin-menu-icon-close {
	display: none;
}

.admin-menu-toggle[aria-expanded="true"] .admin-menu-icon-open {
	display: none;
}

.admin-menu-toggle[aria-expanded="true"] .admin-menu-icon-close {
	display: inline-block;
}

.admin-user-info {
	display: flex;
	align-items: center;
	gap: 0.85rem;
}

.admin-user-avatar {
	width: 48px;
	height: 48px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	border: 2px solid rgba(255, 255, 255, 0.2);
}

.admin-user-details p {
	margin: 0;
	font-size: 0.9rem;
}

.admin-user-name {
	font-weight: 600;
	color: #fff;
}

.admin-user-role {
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.6);
}

.admin-nav {
	display: flex;
	gap: 0;
	padding: 0 1rem;
	position: static;
	width: 100%;
	background: linear-gradient(90deg, #bf00ff 0%, #aa1cff 34%, #9446ff 68%, #9b73f2 100%);
	border-radius: 0.95rem;
	box-shadow: 0 12px 28px rgba(133, 54, 214, 0.24);
	margin-bottom: 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
.admin-nav-wrap {
	position: sticky;
	top: 0;
	z-index: 1030;
	margin-bottom: 1.25rem;
}

.admin-nav-mobile-user {
	display: none;
}

.admin-nav-item {
	padding: 1rem 1.4rem;
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	font-weight: 500;
	font-size: 0.95rem;
	display: flex;
	align-items: center;
	gap: 0.6rem;
	position: relative;
	transition: all 0.3s ease;
	border-bottom: 3px solid transparent;
	white-space: nowrap;
	flex: 0 0 auto;
}

.admin-nav-item i {
	font-size: 1rem;
}

.admin-nav-item:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.05);
}

.admin-nav-item.active {
	color: #fff;
	border-bottom-color: #f4dcff;
	background: rgba(255, 255, 255, 0.14);
}

@media (max-width: 992px) {
	.admin-header-top {
		padding: 1.2rem 1.25rem;
	}

	.admin-title {
		font-size: 1.3rem;
	}

	.admin-nav {
		padding: 0 0.5rem;
	}

	.admin-nav-item {
		padding: 0.95rem 1rem;
		font-size: 0.9rem;
	}
}

@media (max-width: 768px) {
	.admin-header-top {
		flex-direction: column;
		align-items: stretch;
		gap: 0.75rem;
		padding: 1rem;
	}

	.admin-header-main {
		width: 100%;
		align-items: center;
	}

	.admin-brand {
		gap: 0.85rem;
	}

	.admin-menu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.admin-nav-wrap {
		position: static;
		margin-bottom: 1rem;
	}

	.admin-logo {
		width: 50px;
		height: 50px;
		font-size: 1.4rem;
	}

	.admin-user-section {
		display: none;
	}

	.admin-user-info-desktop,
	.admin-logout-desktop {
		display: none;
	}

	.admin-nav-mobile-user {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 0.75rem;
		padding: 0.9rem 0.95rem;
		background: linear-gradient(90deg, #bf00ff 0%, #aa1cff 34%, #9446ff 68%, #9b73f2 100%);
		border-radius: 0.85rem 0.85rem 0 0;
		margin-bottom: 0.35rem;
	}

	.admin-nav-mobile-user .admin-user-info {
		gap: 0.6rem;
	}

	.admin-nav-mobile-user .btn {
		display: inline-flex;
		align-items: center;
		gap: 0.35rem;
	}

	.admin-user-avatar {
		width: 42px;
		height: 42px;
		font-size: 1.25rem;
	}

	.admin-nav {
		position: static;
		padding: 0;
		border-radius: 0 0 0.85rem 0.85rem;
		flex-direction: column;
		overflow-x: visible;
	}

	.admin-nav-item {
		border-bottom: 3px solid transparent;
		text-align: left;
		padding: 0.9rem 0.95rem;
		gap: 0.6rem;
		font-size: 0.82rem;
		justify-content: flex-start;
		white-space: normal;
	}

	.admin-nav-item:hover {
		border-bottom-color: rgba(244, 220, 255, 0.75);
	}

	.admin-nav-item.active {
		border-bottom-color: #f4dcff;
	}

	.admin-title {
		font-size: 1.25rem;
	}
}

@media (max-width: 576px) {
	.admin-header {
		border-radius: 0.8rem;
	}

	.admin-subtitle,
	.admin-user-role {
		display: none;
	}

	.admin-user-name {
		font-size: 0.85rem;
	}

	.admin-nav {
		border-radius: 0.8rem;
	}

	.admin-nav-mobile-user {
		padding: 0.75rem 0.8rem;
	}

	.admin-nav-mobile-user .btn span {
		display: none;
	}

	.admin-nav-item {
		padding: 0.8rem;
		font-size: 0.78rem;
	}

	.admin-nav-item i {
		font-size: 0.9rem;
	}
}

/* Login Page */
body.d-flex {
	min-height: 100vh;
	/* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
}

.min-vh-100 {
	min-height: 100vh;
}

.admin-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.25rem;
}

.admin-toolbar h2,
.admin-toolbar p {
	margin-bottom: 0;
}

.table-actions {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.table thead th {
	white-space: nowrap;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
	border: 1px solid #d9dee3;
	border-radius: 0.75rem;
	padding: 0.35rem 0.75rem;
	background: #fff;
}

.admin-form-card {
	max-width: 900px;
	margin: 0 auto;
}

.admin-thumb {
	width: 56px;
	height: 56px;
	object-fit: cover;
	border-radius: 0.85rem;
	border: 1px solid #d9dee3;
	background: #fff;
}

.gallery-uploader {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	flex-wrap: wrap;
}

.gallery-preview-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 1rem;
}

.gallery-preview-card {
	position: relative;
	padding: 0.75rem;
	background: #fff;
	border: 1px solid #d9dee3;
	border-radius: 1rem;
	box-shadow: 0 10px 20px rgba(17, 24, 39, 0.06);
}

.gallery-preview-card.is-primary {
	border-color: #212529;
	box-shadow: 0 12px 24px rgba(17, 24, 39, 0.12);
}

.gallery-preview-image {
	width: 100%;
	height: 160px;
	object-fit: cover;
	border-radius: 0.8rem;
	background: #f1f3f5;
}

.gallery-preview-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.5rem;
	margin-top: 0.75rem;
}

.gallery-preview-actions {
	display: flex;
	gap: 0.4rem;
	flex-wrap: wrap;
}

/* =====================================================
   SITE HEADER (frontend)
====================================================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255,255,255,0.92);
	border-bottom: 1px solid #e8ecef;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.site-header.site-header--home {
	background: linear-gradient(90deg, var(--accent-1) 0%, var(--accent-2) 34%, var(--accent-3) 68%, var(--accent-4) 100%);
	border-bottom: 1px solid rgba(255,255,255,0.2);
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

.site-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 64px;
	gap: 1rem;
}

.site-logo-link {
	text-decoration: none;
	display: flex;
	align-items: center;
}

.site-logo-img {
	max-height: 44px;
	width: auto;
}

.site-logo-text {
	font-size: 1.2rem;
	font-weight: 700;
	background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.site-header.site-header--home .site-logo-text {
	background: none;
	-webkit-text-fill-color: #fff;
	color: #fff;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.site-nav-link {
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--text-main);
	text-decoration: none;
	padding: 0.35rem 0.75rem;
	border-radius: 2rem;
	transition: background 0.15s, color 0.15s;
}

.site-nav-link:hover {
	background: var(--accent-soft);
	color: var(--accent-2);
}

.site-nav-btn {
	font-size: 0.85rem;
	background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
	color: #fff !important;
	border: none;
	border-radius: 2rem;
	padding: 0.4rem 1rem;
	font-weight: 500;
	transition: opacity 0.15s, transform 0.1s;
}

.site-nav-btn:hover {
	opacity: 0.88;
	transform: translateY(-1px);
	color: #fff;
}

.site-nav-btn-outline {
	font-size: 0.85rem;
	color: var(--accent-2) !important;
	border: 1.5px solid var(--accent-2);
	border-radius: 2rem;
	padding: 0.35rem 0.9rem;
	font-weight: 500;
	transition: background 0.15s, color 0.15s;
}

.site-nav-btn-outline:hover {
	background: var(--accent-soft);
}

main {
	min-height: 60vh;
}

/* =====================================================
   HERO — CAROUSEL VARIANT
====================================================== */

.hero-carousel-section {
	width: 100%;
	overflow: hidden;
}

.carousel-slide {
	height: 520px;
	background-size: cover;
	background-position: center;
	position: relative;
	display: flex;
	align-items: flex-end;
}

.carousel-mobile-img {
	display: none;
	width: 100%;
	height: auto;
}

@media (max-width: 768px) {
	.carousel-slide {
		height: auto;
		aspect-ratio: auto;
		background-image: none !important;
		background-size: initial;
	}
	.carousel-mobile-img { display: block; }
	.carousel-content { padding-bottom: 2rem; }
}
@media (max-width: 480px) {
	.carousel-slide { aspect-ratio: auto; }
	.carousel-content { padding-bottom: 1.25rem; }
	.carousel-title { font-size: 1.25rem; margin-bottom: 0.3rem; }
	.carousel-subtitle { font-size: 0.82rem; margin-bottom: 0.6rem; }
	.hero-carousel-btn { font-size: 0.78rem; padding: 0.35rem 0.9rem; }
}

.carousel-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.18) 60%, transparent 100%);
}

.carousel-content {
	position: relative;
	z-index: 2;
	padding-bottom: 3.5rem;
	color: #fff;
}

.carousel-title {
	font-size: clamp(1.6rem, 4vw, 3rem);
	font-weight: 800;
	line-height: 1.15;
	margin-bottom: 0.5rem;
	text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.carousel-subtitle {
	font-size: clamp(0.95rem, 2vw, 1.2rem);
	margin-bottom: 1.2rem;
	opacity: 0.9;
}

/* =====================================================
   HERO — GRADIENT FALLBACK VARIANT
====================================================== */

.hero-gradient-section {
	position: relative;
	overflow: hidden;
	padding: 6rem 0 5rem;
	color: #fff;
}

.hero-gradient-content {
	position: relative;
	z-index: 2;
	max-width: 680px;
}

.hero-badge {
	display: inline-block;
	background: rgba(255,255,255,0.18);
	border: 1px solid rgba(255,255,255,0.3);
	backdrop-filter: blur(6px);
	border-radius: 2rem;
	padding: 0.3rem 0.9rem;
	font-size: 0.85rem;
	font-weight: 500;
	margin-bottom: 1.25rem;
}

.hero-gradient-title {
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 900;
	line-height: 1.1;
	margin-bottom: 1rem;
}

.hero-gradient-sub {
	font-size: clamp(1rem, 2.5vw, 1.3rem);
	opacity: 0.92;
	margin-bottom: 2rem;
	max-width: 540px;
}

.hero-actions {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.hero-btn {
	background: #fff;
	color: var(--accent-2) !important;
	font-weight: 700;
	border-radius: 2rem;
	padding: 0.65rem 1.6rem;
	border: none;
	font-size: 0.95rem;
	transition: transform 0.15s, box-shadow 0.15s;
	box-shadow: 0 4px 18px rgba(0,0,0,0.18);
}

.hero-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0,0,0,0.22);
	color: var(--accent-1) !important;
}

.hero-btn-outline {
	background: transparent;
	color: #fff !important;
	font-weight: 600;
	border-radius: 2rem;
	padding: 0.65rem 1.6rem;
	border: 2px solid rgba(255,255,255,0.7);
	font-size: 0.95rem;
	transition: background 0.15s;
}

.hero-btn-outline:hover {
	background: rgba(255,255,255,0.15);
	color: #fff !important;
}

/* Decorative shapes */
.hero-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.hero-shape {
	position: absolute;
	border-radius: 50%;
	background: rgba(255,255,255,0.08);
}
.hero-shape.s1 { width: 500px; height: 500px; top: -120px; right: -80px; }
.hero-shape.s2 { width: 320px; height: 320px; bottom: -60px; right: 160px; background: rgba(255,255,255,0.05); }
.hero-shape.s3 { width: 180px; height: 180px; top: 60px; right: 320px; background: rgba(255,255,255,0.06); }

/* =====================================================
   CATEGORIES STRIP
====================================================== */

.categories-strip {
	background: #fff;
	border-bottom: 1px solid #eef0f3;
	padding: 0.6rem 0;
	position: sticky;
	top: 64px;
	z-index: 900;
}

.categories-scroll {
	display: flex;
	gap: 0.5rem;
	overflow-x: auto;
	overflow-y: visible;
	padding: 3px 0;
	scrollbar-width: none;
}

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

.category-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	white-space: nowrap;
	background: var(--surface-alt);
	color: var(--text-main);
	border: 1.5px solid transparent;
	border-radius: 2rem;
	padding: 0.4rem 0.9rem;
	font-size: 0.85rem;
	font-weight: 500;
	text-decoration: none;
	transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.1s;
}

.category-pill:hover {
	background: var(--accent-soft);
	border-color: var(--accent-3);
	color: var(--accent-2);
	transform: translateY(-1px);
}

.category-pill.active {
	background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
	color: #fff;
	border-color: transparent;
}

.category-pill.active:hover {
	opacity: 0.92;
	transform: translateY(-1px);
	color: #fff;
}

.pill-count {
	background: rgba(0,0,0,0.1);
	border-radius: 1rem;
	padding: 0 0.45rem;
	font-size: 0.75rem;
	line-height: 1.6;
}

.category-pill.active .pill-count {
	background: rgba(255,255,255,0.25);
}

/* =====================================================
   PRODUCTS SECTION & GRID
====================================================== */

.products-section {
	padding: 2.5rem 0 4rem;
}

.products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 1.4rem;
	transition: opacity 0.2s ease;
}

.products-grid--enter {
	opacity: 0;
}

@media (max-width: 576px) {
	.hero-gradient-section { padding: 3rem 0 2.5rem; }
	.hero-gradient-title { font-size: 1.75rem; }
	.hero-gradient-sub { font-size: 0.92rem; margin-bottom: 1.25rem; }
	.hero-actions { gap: 0.5rem; }
	.hero-btn, .hero-btn-outline { font-size: 0.85rem; padding: 0.55rem 1.2rem; }
}

@media (max-width: 480px) {
	.products-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
	.product-card-body { padding: 0.45rem 0.5rem 0.5rem; font-size: 11px; }
	.product-card-body * { font-size: 11px; }
	.product-card-title { font-size: 11px !important; line-height: 1.3; }
	.product-card-desc { display: none; }
	.product-card-price { font-size: 11px !important; }
	.product-card-footer { font-size: 11px !important; flex-direction: row; align-items: center; justify-content: space-between; gap: 0.3rem; }
	.product-card-actions { flex-direction: row; gap: 0.25rem; }
	.product-card-cat-badge { font-size: 10px; padding: 0.15rem 0.45rem; }
	.btn-card-add { font-size: 11px !important; padding: 0.38rem 0.55rem; line-height: 1; }
	.btn-card-add i { font-size: 11px; }
	.btn-add-text { display: none; }
	.btn-card-detail { padding: 0.38rem 0.5rem; white-space: nowrap; }
	.site-header-inner { height: 54px; }
	.categories-strip { top: 54px; }
}

/* Product Card */
.product-card {
	background: var(--surface);
	border-radius: var(--radius-xl);
	overflow: hidden;
	border: 1px solid #eaecf0;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.2s, transform 0.2s;
}

.product-card:hover {
	box-shadow: 0 8px 32px rgba(133, 54, 214, 0.14);
	transform: translateY(-3px);
}

.product-card-img-link {
	display: block;
	position: relative;
	overflow: hidden;
	aspect-ratio: 4/3;
	background: var(--surface);
	flex-shrink: 0;
}

.product-card-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	/* object-fit: cover; */
	display: block;
	transition: transform 0.35s ease;
}

.product-card:hover .product-card-img {
	transform: scale(1.06);
}

.product-card-img-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #c8cdd4;
	font-size: 2.5rem;
}

.product-card-cat-badge {
	position: absolute;
	top: 0.65rem;
	left: 0.65rem;
	background: rgba(255,255,255,0.9);
	color: var(--accent-2);
	font-size: 0.72rem;
	font-weight: 600;
	padding: 0.2rem 0.6rem;
	border-radius: 1rem;
	backdrop-filter: blur(4px);
	letter-spacing: 0.02em;
}

.product-card-overlay {
	position: absolute;
	inset: 0;
	background: rgba(133,54,214,0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: 600;
	font-size: 0.9rem;
	opacity: 0;
	transition: opacity 0.25s;
}

.product-card:hover .product-card-overlay {
	opacity: 1;
}

.product-card-body {
	padding: 1rem 1rem 0.9rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.product-card-title {
	font-size: 0.92rem;
	font-weight: 700;
	margin: 0 0 0.35rem;
	color: var(--text-main);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.product-card-desc {
	font-size: 0.8rem;
	color: #6c757d;
	margin: 0 0 0.6rem;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-height: 1.45;
}

.product-card-footer {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
}

.product-card-price {
	font-size: 1.05rem;
	font-weight: 800;
	color: var(--accent-2);
}

.product-card-actions {
	display: flex;
	gap: 0.4rem;
}

.btn-card-detail {
	font-size: 0.78rem;
	font-weight: 600;
	background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
	color: #fff !important;
	border: none;
	border-radius: 1.5rem;
	padding: 0.35rem 0.8rem;
	transition: opacity 0.15s, transform 0.1s;
}

.btn-card-detail:hover {
	opacity: 0.88;
	transform: translateY(-1px);
	color: #fff !important;
}

.btn-card-whatsapp {
	font-size: 1rem;
	background: #25d366;
	color: #fff !important;
	border: none;
	border-radius: 50%;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: background 0.15s, transform 0.1s;
}

.btn-card-whatsapp:hover {
	background: #1ebe5d;
	transform: scale(1.1);
	color: #fff !important;
}

/* Empty state */
.empty-state {
	text-align: center;
	padding: 4rem 1rem;
	color: #9aa3ad;
}

.empty-state i {
	font-size: 3.5rem;
	margin-bottom: 1rem;
	display: block;
	opacity: 0.35;
}

.empty-state h3 {
	font-size: 1.15rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
	color: #6c757d;
}

.related-products-section {
	padding-bottom: 2rem;
}

.related-products-banner {
	position: relative;
	overflow: hidden;
	border-radius: 1.1rem;
	padding: 1rem 1.2rem;
	color: #fff;
	background: linear-gradient(110deg, #7d3bff 0%, #5f62ff 50%, #2ca9ff 100%);
	box-shadow: 0 10px 28px rgba(57, 81, 214, 0.28);
}

.related-products-banner::after {
	content: '';
	position: absolute;
	right: -32px;
	top: -30px;
	width: 130px;
	height: 130px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.16);
}

.related-products-kicker {
	position: relative;
	z-index: 1;
	font-size: 0.74rem;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	opacity: 0.92;
}

.related-products-title {
	position: relative;
	z-index: 1;
	font-size: clamp(1.1rem, 2.6vw, 1.45rem);
	font-weight: 800;
	letter-spacing: -0.01em;
}


.product-gallery-link {
	display: block;
	cursor: zoom-in;
}

/* =====================================================
   FLOATING WHATSAPP BUTTON
====================================================== */

.float-whatsapp {
	position: fixed;
	bottom: 1.75rem;
	right: 1.75rem;
	z-index: 9999;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: #25d366;
	color: #fff !important;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.75rem;
	box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
	text-decoration: none;
	transition: transform 0.2s, box-shadow 0.2s;
	animation: wa-pulse 2.4s infinite;
}

.float-whatsapp:hover {
	transform: scale(1.1);
	box-shadow: 0 6px 28px rgba(37, 211, 102, 0.65);
	color: #fff !important;
}

.float-whatsapp-tooltip {
	position: absolute;
	right: calc(100% + 0.6rem);
	top: 50%;
	transform: translateY(-50%);
	background: #1c1c1e;
	color: #fff;
	font-size: 0.78rem;
	font-weight: 500;
	padding: 0.3rem 0.7rem;
	border-radius: 0.5rem;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s;
}

.float-whatsapp:hover .float-whatsapp-tooltip { opacity: 1; }

@keyframes wa-pulse {
	0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
	50% { box-shadow: 0 4px 32px rgba(37,211,102,0.75); }
}

/* =====================================================
   ADMIN SETTINGS PAGE
====================================================== */

.settings-tabs .nav-link {
	font-size: 0.88rem;
	font-weight: 500;
	color: #6c757d;
	border-radius: 0.5rem 0.5rem 0 0;
}

.settings-tabs .nav-link.active {
	color: var(--accent-2);
	border-bottom-color: transparent;
}

.settings-logo-preview {
	max-height: 64px;
	max-width: 160px;
	border-radius: 0.5rem;
	border: 1px solid #e8ecef;
	object-fit: contain;
	background: #f8f9fa;
	padding: 4px;
}

.banner-form-preview {
	max-height: 160px;
	max-width: 420px;
	border-radius: var(--radius-xl);
	object-fit: cover;
	border: 1px solid #e8ecef;
}

.mug-banner-preview-wrap {
	width: 100%;
	border: 1px solid #e8ecef;
	border-radius: var(--radius-xl);
	background: #f8f9fa;
	overflow: hidden;
}

.mug-banner-preview {
	width: 100%;
	max-height: 320px;
	object-fit: cover;
	display: block;
}

.mug-banner-preview-empty {
	min-height: 180px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	text-align: center;
	color: #6c757d;
	font-size: 0.95rem;
}

.color-preview-chip {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.25rem;
	padding: 1rem 1.25rem;
	border-radius: 0.75rem;
	color: #fff;
	min-width: 160px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.color-preview-chip span { font-size: 0.85rem; font-weight: 600; }
.color-preview-chip code { font-size: 0.78rem; background: rgba(255,255,255,0.2); padding: 0.1rem 0.4rem; border-radius: 0.3rem; color: #fff; }

.color-hex-input { max-width: 120px; font-family: monospace; font-size: 0.88rem; }

.admin-thumb {
	width: 72px;
	height: 48px;
	object-fit: cover;
	border-radius: 0.5rem;
	border: 1px solid #e8ecef;
}

.admin-thumb-banner {
	width: 180px;
	height: 72px;
	object-fit: cover;
	border-radius: 0.5rem;
	border: 1px solid #e8ecef;
	background: #f8f9fa;
}

/* =====================================================
   CART BUTTON (header)
====================================================== */

.cart-btn {
	position: relative;
	background: none;
	border: none;
	cursor: pointer;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	color: var(--text-main);
	transition: background 0.15s, color 0.15s;
}

.cart-btn:hover {
	background: var(--accent-soft);
	color: var(--accent-2);
}

.site-header.site-header--home .cart-btn {
	color: #fff;
}

.site-header.site-header--home .cart-btn:hover {
	background: rgba(255,255,255,0.16);
	color: #fff;
}

.cart-badge {
	position: absolute;
	top: 2px;
	right: 2px;
	background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
	color: #fff;
	font-size: 0.65rem;
	font-weight: 700;
	min-width: 18px;
	height: 18px;
	border-radius: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 4px;
	line-height: 1;
	border: 2px solid #fff;
}

/* =====================================================
   MUG SHOW 3D
====================================================== */

.mug-show-section {
	padding: 2rem 0 3rem;
}

.mug-show-header {
	margin-bottom: 1rem;
}

.mug-show-title {
	margin: 0;
	font-size: clamp(1.4rem, 2.2vw, 2rem);
	font-weight: 700;
	color: var(--text-main);
}

.mug-show-subtitle {
	margin: 0.35rem 0 0;
	color: #6c757d;
}

.mug-show-stage {
	width: 100%;
	min-height: 420px;
	border-radius: 1rem;
	overflow: hidden;
	border: 1px solid #e8ecef;
	background: #9b9b9b;
	box-shadow: 0 10px 30px rgba(22, 28, 45, 0.08);
}

#mugViewport {
	width: 100%;
	height: 100%;
	display: block;
	cursor: grab;
	outline: none;
}

#mugViewport:active {
	cursor: grabbing;
}

/* =====================================================
   CART OFFCANVAS
====================================================== */

.cart-offcanvas {
	width: 400px !important;
	max-width: 96vw;
	display: flex;
	flex-direction: column;
}

.cart-offcanvas-header {
	background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
	color: #fff;
	padding: 1rem 1.25rem;
}

.cart-offcanvas-header .btn-close {
	filter: brightness(0) invert(1);
}

.cart-offcanvas-header .offcanvas-title {
	font-size: 1rem;
	font-weight: 700;
	color: #fff;
}

.cart-offcanvas-body {
	flex: 1;
	overflow-y: auto;
	padding: 1rem 1.25rem;
}

/* Empty state */
.cart-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	min-height: 200px;
	color: #b0b8c1;
	gap: 0.75rem;
}

.cart-empty i {
	font-size: 3rem;
	opacity: 0.35;
}

.cart-empty p {
	font-size: 0.95rem;
	margin: 0;
}

/* Cart item */
.cart-item {
	display: grid;
	grid-template-columns: 64px 1fr auto;
	gap: 0.75rem;
	align-items: start;
	padding: 0.85rem 0;
	border-bottom: 1px solid #f0f2f5;
}

.cart-item:last-child {
	border-bottom: none;
}

.cart-item-img {
	width: 64px;
	height: 64px;
	border-radius: 0.6rem;
	overflow: hidden;
	background: var(--surface-alt);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ccd0d5;
	font-size: 1.4rem;
	flex-shrink: 0;
}

.cart-item-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cart-item-info {
	min-width: 0;
}

.cart-item-name {
	font-size: 0.85rem;
	font-weight: 600;
	margin: 0 0 0.2rem;
	color: var(--text-main);
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.cart-item-price {
	font-size: 0.78rem;
	color: #6c757d;
	margin: 0 0 0.4rem;
}

.cart-item-qty {
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.qty-btn {
	width: 26px;
	height: 26px;
	border: 1.5px solid #dde1e6;
	background: #fff;
	border-radius: 50%;
	font-size: 1rem;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-main);
	transition: background 0.12s, border-color 0.12s;
}

.qty-btn:hover {
	background: var(--accent-soft);
	border-color: var(--accent-3);
}

.qty-val {
	font-size: 0.88rem;
	font-weight: 600;
	min-width: 18px;
	text-align: center;
}

.cart-item-side {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.5rem;
}

.cart-item-subtotal {
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--accent-2);
	white-space: nowrap;
}

.cart-item-remove {
	background: none;
	border: none;
	cursor: pointer;
	color: #c8cdd4;
	font-size: 0.85rem;
	padding: 0;
	line-height: 1;
	transition: color 0.12s;
}

.cart-item-remove:hover {
	color: #e74c3c;
}

/* Footer */
.cart-offcanvas-footer {
	padding: 1rem 1.25rem 1.5rem;
	border-top: 1px solid #eef0f3;
	background: #fff;
}

.cart-total-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
	font-size: 1rem;
}

.cart-total-row strong {
	font-size: 1.2rem;
	color: var(--accent-2);
}

.cart-checkout-btn {
	width: 100%;
	background: #25d366;
	color: #fff !important;
	font-weight: 700;
	font-size: 0.95rem;
	border: none;
	border-radius: 2rem;
	padding: 0.7rem 1rem;
	margin-bottom: 0.5rem;
	transition: background 0.15s, transform 0.1s;
}

.cart-checkout-btn:hover {
	background: #1ebe5d;
	transform: translateY(-1px);
	color: #fff !important;
}

.cart-clear-btn {
	width: 100%;
	background: none;
	border: 1.5px solid #e0e3e8;
	color: #9aa3ad;
	font-size: 0.82rem;
	border-radius: 2rem;
	padding: 0.4rem 1rem;
	transition: border-color 0.12s, color 0.12s;
}

.cart-clear-btn:hover {
	border-color: #e74c3c;
	color: #e74c3c;
}

/* Add to cart button on product cards */
.btn-card-add {
	font-size: 0.78rem;
	font-weight: 600;
	background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
	color: #fff !important;
	border: none;
	border-radius: 1.5rem;
	padding: 0.35rem 0.8rem;
	transition: opacity 0.15s, transform 0.1s;
}

.btn-card-add:hover {
	opacity: 0.88;
	transform: translateY(-1px);
	color: #fff !important;
}
