/* src/public/css/main.css */
@font-face {
	font-family: "Barlow";
	src: url("/fonts/barlow-400.woff2") format("woff2");
	font-style: normal;
	font-weight: 400;
	font-display: swap;
}

@font-face {
	font-family: "Barlow";
	src: url("/fonts/barlow-600.woff2") format("woff2");
	font-style: normal;
	font-weight: 600;
	font-display: swap;
}

@font-face {
	font-family: "Barlow";
	src: url("/fonts/barlow-700.woff2") format("woff2");
	font-style: normal;
	font-weight: 700;
	font-display: swap;
}

:root {
	--bg: #f3f6fa;
	--surface: #ffffff;
	--surface-soft: #f7f9fc;
	--surface-subtle: #f9fbff;
	--surface-muted: #eef3f8;
	--surface-info-start: #f7f9fc;
	--surface-info-end: #eef3f8;
	--surface-success: #ecf8f3;
	--surface-success-strong: #e4f5ee;
	--surface-danger-strong: #fdeceb;
	--surface-warning: #ffe2c2;
	--surface-warning-hover: #ffd5a8;
	--text: #0f172a;
	--text-strong: #172033;
	--text-heading: #111111;
	--text-title: #0f0f0f;
	--text-muted: #5a6b82;
	--text-muted-2: #42536a;
	--text-on-dark: #ffffff;
	--text-warning: #4b2d11;
	--text-warning-strong: #a55300;
	--text-success: #114b24;
	--muted: #5a6b82;
	--brand: #24374a;
	--brand-dark: #0f172a;
	--brand-soft: #334b63;
	--accent: #f08000;
	--accent-dark: #cf6e00;
	--accent-strong: #ff922b;
	--border: #d5deea;
	--border-success: #b8d5bb;
	--border-soft: #dbe4ee;
	--border-muted: #c7d3e0;
	--border-strong: #a8b8ca;
	--danger: #b42318;
	--success: #0c7b3b;
	--success-strong: #0b9016;
	--success-strong-hover: #097a12;
	--radius: 12px;
	--radius-sm: 8px;
	--radius-pill: 50px;
	--shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.07);
	--shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
	--shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.13);
	--transition: 0.18s ease;
}


/* src/public/css/base/base.css */
* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: "Barlow", "Trebuchet MS", sans-serif;
	background: var(--bg);
	color: var(--text);
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

a {
	color: var(--brand);
	text-decoration: none;
	&:hover {
		text-decoration: none;
	}
}

.container {
	width: min(1600px, 94%);
	margin: 0 auto;
}

main {
	flex: 1;
	&.container {
		padding-top: 14px;
		padding-bottom: 24px;
	}
}


/* src/public/css/layout/header.css */
.top-strip {
	background: var(--brand-dark);
	color: #d8e3ef;
	font-size: 0.82rem;
	& a {
		color: #9fc5ff;
		font-weight: 600;
		text-decoration: none;
	}
	& a:hover,
	& a:focus-visible {
		color: #c7ddff;
		text-decoration: underline;
		text-underline-offset: 2px;
	}
}

.top-strip-inner {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 8px 0;
	& p {
		margin: 0;
	}
}

.score-pill {
	margin-left: auto !important;
	font-weight: 600;
}

.site-header {
	background: var(--surface);
	border-bottom: none;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	position: sticky;
	top: 0;
	z-index: 100;
}

.header-inner {
	display: grid;
	grid-template-columns: auto minmax(340px, 1fr) auto;
	align-items: center;
	gap: 16px;
	padding: 12px 0;
}

.brand {
	display: inline-flex;
	align-items: center;
	& img {
		height: 54px;
		width: auto;
	}
}

.header-search {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 0;
	background: #f0efed;
	border-radius: var(--radius-pill);
	padding: 4px 4px 4px 18px;
	align-items: center;
	& input {
		border: none;
		border-radius: var(--radius-pill) 0 0 var(--radius-pill);
		padding: 9px 4px;
		background: transparent;
		font-size: 0.95rem;
		outline: none;
		width: 100%;
	}
	& button {
		border: 0;
		border-radius: var(--radius-pill);
		padding: 9px 20px;
		font-weight: 700;
		font-size: 0.9rem;
		color: #111;
		background: var(--accent);
		cursor: pointer;
		transition: background var(--transition);
		&:hover {
			background: var(--accent-dark);
		}
	}
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.quote-link {
	border-radius: var(--radius-pill);
	border: 1.5px solid #d0cdc7;
	padding: 9px 16px;
	font-weight: 600;
	font-size: 0.9rem;
	color: #1a1a1a;
	background: #fff;
	transition:
		border-color var(--transition),
		background var(--transition);
	&:hover {
		border-color: #aaa;
		text-decoration: none;
	}
}

/* ── User dropdown ──────────────────────────────────────────── */
.user-dropdown {
	position: relative;
}

.user-dropdown-toggle {
	display: flex;
	align-items: center;
	gap: 4px;
	cursor: pointer;
	background: #fff;
}

.user-dropdown-menu {
	display: none;
	position: absolute;
	right: 0;
	top: calc(100% + 6px);
	min-width: 190px;
	background: #fff;
	border: 1px solid #eae9e5;
	border-radius: var(--radius);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
	z-index: 200;
	padding: 6px 0;
}

/* Bridge the gap between toggle and menu so hover isn't lost */
.user-dropdown-menu::before {
	content: "";
	position: absolute;
	top: -8px;
	left: 0;
	right: 0;
	height: 8px;
}

.user-dropdown:focus-within .user-dropdown-menu,
.user-dropdown:hover .user-dropdown-menu {
	display: block;
}

.user-dropdown-menu a,
.user-dropdown-menu button {
	display: block;
	width: 100%;
	padding: 9px 14px;
	font-family: inherit;
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--brand-soft);
	text-align: left;
	background: none;
	border: none;
	cursor: pointer;
	text-decoration: none;
}

.user-dropdown-menu a:hover,
.user-dropdown-menu button:hover {
	background: #f4f5f7;
}

.cart-link {
	border-radius: var(--radius-pill);
	border: 1.5px solid var(--accent-dark);
	padding: 9px 18px;
	font-weight: 700;
	font-size: 0.9rem;
	color: #111;
	background: var(--accent);
	transition: background var(--transition);
	&:hover {
		text-decoration: none;
		background: var(--accent-dark);
		color: #000;
	}
}

.category-ribbon {
	border-top: 1px solid #eae9e5;
	border-bottom: 1px solid #eae9e5;
	background: #fff;
}

.main-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	padding: 10px 0;
	& a {
		position: relative;
		padding: 4px 0;
		font-weight: 600;
		font-size: 0.93rem;
		color: #1a1a1a;
		letter-spacing: 0.01em;
	}
	& a::after {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: -6px;
		height: 2px;
		border-radius: 2px;
		transform: scaleX(0);
		transform-origin: left;
		transition: transform 0.2s ease;
		background: var(--accent);
	}
	& a:hover {
		text-decoration: none;
	}
	& a:hover::after {
		transform: scaleX(1);
	}
	& .sale-link {
		border-radius: var(--radius-pill);
		border: 1.5px solid var(--accent-dark);
		padding: 4px 12px;
		font-weight: 700;
		color: #111;
		background: var(--accent);
	}
	& .sale-link::after {
		display: none;
	}
}

.nav-dropdown {
	position: relative;
	& > a::after {
		content: " ▾";
		font-size: 0.7em;
		vertical-align: middle;
	}
	& .nav-dropdown-menu {
		display: none;
		position: absolute;
		top: calc(100% + 10px);
		left: 0;
		z-index: 200;
		min-width: 420px;
		width: var(--dropdown-menu-width, 460px);
		max-width: min(96vw, 1180px);
		background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
		border: 1px solid #dbe3ee;
		border-radius: 20px;
		box-shadow:
			0 22px 48px rgba(15, 23, 42, 0.16),
			0 6px 18px rgba(15, 23, 42, 0.08);
		padding: 14px;
		&::before {
			content: "";
			position: absolute;
			top: -10px;
			left: 0;
			right: 0;
			height: 10px;
		}
		& a {
			display: block;
			padding: 11px 13px;
			font-weight: 600;
			color: #223754;
			border: 1px solid transparent;
			border-radius: 14px;
			white-space: normal;
			line-height: 1.35;
			transition:
				background 0.18s ease,
				border-color 0.18s ease,
				transform 0.18s ease,
				color 0.18s ease;
		}
		& a::after {
			display: none;
		}
		& a:hover,
		& a:focus-visible {
			background: #fff7ed;
			border-color: #ffd6ab;
			color: #9a5300;
			transform: translateY(-1px);
			text-decoration: none;
			outline: none;
		}
	}
	& .nav-dropdown-overview {
		margin-bottom: 10px;
		padding: 11px 14px;
		font-size: 0.9rem;
		font-weight: 700;
		color: #183458;
		background: linear-gradient(180deg, #eef4fb 0%, #e8f0fb 100%);
		border: 1px solid #d6e1ef;
	}
	& .nav-dropdown-list {
		display: grid;
		grid-template-columns: repeat(var(--dropdown-cols, 2), minmax(0, 1fr));
		gap: 8px 10px;
		overflow: visible;
	}
	& .nav-dropdown-list a {
		margin: 0;
		min-height: 52px;
		display: flex;
		align-items: center;
	}
	& .nav-dropdown-brand-link {
		display: flex;
		align-items: center;
		gap: 8px;
	}
	& .nav-dropdown-brand-badge {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 28px;
		height: 18px;
		flex: 0 0 28px;
		overflow: hidden;
		font-size: 0;
		line-height: 0;
	}
	& .nav-dropdown-brand-logo {
		max-width: 100%;
		max-height: 100%;
		object-fit: contain;
		display: block;
		flex-shrink: 0;
	}
	& .nav-dropdown-brand-name {
		min-width: 0;
	}
	&:hover .nav-dropdown-menu,
	&:focus-within .nav-dropdown-menu {
		display: block;
	}
}

.service-strip {
	border-bottom: 1px solid #eae9e5;
	background: #f8f8f5;
}

.service-strip-inner {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 7px 0;
	overflow-x: auto;
	& p {
		margin: 0;
		white-space: nowrap;
		font-size: 0.82rem;
		color: #495a73;
	}
}

.promo-strip {
	border-bottom: 1px solid #2a2a2a;
	background: #1e1e1e;
}

.promo-strip-inner {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 8px 10px;
	padding: 8px 0;
	& a {
		display: inline-flex;
		align-items: center;
		gap: 5px;
		padding: 4px 13px;
		border: 1.5px solid rgba(240, 244, 251, 0.35);
		border-radius: 20px;
		font-size: 0.78rem;
		font-weight: 600;
		letter-spacing: 0.02em;
		color: #f0f4fb;
		text-decoration: none;
		transition:
			background 0.18s,
			color 0.18s,
			border-color 0.18s;
	}
	& a:hover {
		background: #fff;
		color: #1e1e1e;
		border-color: #fff;
		text-decoration: none;
	}
}

/* ── Mobile nav toggle group ───────────────────────────────── */
.nav-toggle-group {
	display: none;
	align-items: center;
	gap: 8px;
}

.cart-link-mobile {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--accent);
	color: #111;
	text-decoration: none;
	flex-shrink: 0;
}

.cart-link-mobile-badge {
	position: absolute;
	top: -4px;
	right: -4px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 9px;
	background: var(--brand-dark);
	color: #d8e3ef;
	font-size: 0.68rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	pointer-events: none;
}

.nav-toggle {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	padding: 9px 8px;
	background: #fff;
	border: 1.5px solid #d0cdc7;
	border-radius: var(--radius-pill);
	cursor: pointer;
}

.nav-toggle-bar {
	display: block;
	width: 100%;
	height: 2px;
	background: #1a1a1a;
	border-radius: 2px;
	transition:
		transform 0.22s ease,
		opacity 0.22s ease;
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(2) {
	opacity: 0;
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile nav panel ──────────────────────────────────────── */
.mobile-nav {
	position: fixed;
	inset: 0 auto 0 0;
	width: 82%;
	max-width: 340px;
	z-index: 310;
	background: #fff;
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	transform: translateX(-100%);
	transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 4px 0 24px rgba(0, 0, 0, 0.16);
}

.mobile-nav.is-open {
	transform: translateX(0);
}

.mobile-nav-backdrop {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 309;
	background: rgba(0, 0, 0, 0.45);
	border: none;
	padding: 0;
	cursor: pointer;
}

.mobile-nav-backdrop.is-open {
	display: block;
}

.mobile-nav-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	border-bottom: 1px solid #eae9e5;
	flex-shrink: 0;
	& img {
		height: 40px;
		width: auto;
	}
}

.mobile-nav-close {
	background: none;
	border: none;
	font-size: 1.7rem;
	line-height: 1;
	color: #555;
	cursor: pointer;
	padding: 4px 6px;
}

.mobile-nav-search {
	display: grid;
	grid-template-columns: 1fr auto;
	margin: 14px 16px;
	background: #f0efed;
	border-radius: var(--radius-pill);
	padding: 4px 4px 4px 14px;
	flex-shrink: 0;
	& input {
		border: none;
		background: transparent;
		font-size: 0.93rem;
		padding: 8px 4px;
		outline: none;
		width: 100%;
		font-family: inherit;
	}
	& button {
		border: none;
		border-radius: var(--radius-pill);
		padding: 8px 16px;
		background: var(--accent);
		font-weight: 700;
		font-size: 0.88rem;
		cursor: pointer;
		color: #111;
		font-family: inherit;
		white-space: nowrap;
	}
}

.mobile-nav-links {
	display: flex;
	flex-direction: column;
	border-top: 1px solid #eae9e5;
	& > a {
		display: block;
		padding: 13px 16px;
		font-size: 1rem;
		font-weight: 600;
		color: #1a1a1a;
		border-bottom: 1px solid #f0efed;
		text-decoration: none;
	}
	& > a:hover {
		background: #f8f8f5;
	}
	& .mobile-nav-sale {
		color: #111;
		background: var(--accent);
	}
	& .mobile-nav-sale:hover {
		background: var(--accent-dark);
	}
}

.mobile-nav-details {
	border-bottom: 1px solid #f0efed;
	& summary {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 13px 16px;
		font-size: 1rem;
		font-weight: 600;
		color: #1a1a1a;
		cursor: pointer;
		list-style: none;
		user-select: none;
		background: #fff;
	}
	& summary::after {
		content: "›";
		font-size: 1.3rem;
		line-height: 1;
		transition: transform 0.2s;
		color: #888;
	}
	&[open] summary::after {
		transform: rotate(90deg);
	}
	& summary::-webkit-details-marker {
		display: none;
	}
	&[open] summary {
		background: #f8f8f5;
	}
}

.mobile-nav-sub {
	background: #f8f8f5;
	padding: 6px 8px 8px;
	& a {
		display: block;
		padding: 10px 12px 10px 20px;
		font-size: 0.93rem;
		font-weight: 500;
		color: #333;
		border-radius: 8px;
		text-decoration: none;
	}
	& a + a {
		margin-top: 2px;
	}
	& a:hover,
	& a:focus-visible {
		background: #efefeb;
		outline: none;
	}
}

.mobile-nav-account {
	display: flex;
	flex-direction: column;
	border-top: 2px solid #eae9e5;
	margin-top: 4px;
	& a,
	& button {
		display: block;
		padding: 12px 16px;
		font-size: 0.95rem;
		font-weight: 600;
		color: var(--brand-soft);
		border-bottom: 1px solid #f0efed;
		text-decoration: none;
		background: none;
		border-left: none;
		border-right: none;
		border-top: none;
		cursor: pointer;
		font-family: inherit;
		text-align: left;
		width: 100%;
	}
	& form {
		border-bottom: 1px solid #f0efed;
	}
	& a:hover,
	& button:hover {
		background: #f8f8f5;
	}
}

.mobile-nav-usp {
	padding: 6px 16px;
	margin: 0;
	font-size: 0.82rem;
	color: #666;
	background: #f8f8f5;
	&:first-of-type {
		margin-top: auto;
		border-top: 1px solid #eae9e5;
		padding-top: 12px;
	}
	&:last-of-type {
		padding-bottom: 20px;
	}
}


/* src/public/css/layout/footer.css */
.site-footer {
	margin-top: 48px;
	border-top: none;
	padding: 40px 0 24px;
	color: #a7b6c9;
	background: #0f172a;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr 1fr;
	gap: 32px;
	& h3 {
		margin: 0 0 12px;
		color: #ffffff;
		font-size: 0.8rem;
		letter-spacing: 0.1em;
		text-transform: uppercase;
	}
	& p {
		display: block;
		margin: 0 0 8px;
		color: #a7b6c9;
		font-size: 0.88rem;
		line-height: 1.5;
	}
	& a {
		display: block;
		margin: 0 0 8px;
		color: #a7b6c9;
		font-size: 0.88rem;
		transition: color 0.15s;
	}
	& a:hover {
		color: var(--accent);
		text-decoration: none;
	}
}


/* src/public/css/components/common.css */
.flash-message {
  margin: 0 0 16px;
  border: 1px solid var(--border-success);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  color: var(--text-success);
  background: var(--surface-success);
}

.page-head {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: var(--surface);
  & h1 {
    margin: 0 0 6px;
    color: var(--text-heading);
  }
  & p {
    margin: 0;
    color: var(--muted);
  }
}

.page-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}

.result-count {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  white-space: nowrap;
}

.empty-state {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.stock-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 0.8rem;
  font-weight: 600;
}

.stock-indicator {
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 0.8rem;
  font-weight: 600;
}

.in-stock {
  color: var(--success);
  background: var(--surface-success-strong);
}

.out-of-stock {
  color: var(--danger);
  background: var(--surface-danger-strong);
}


/* src/public/css/components/cart-drawer.css */
.cart-drawer {
	position: fixed;
	inset: 0;
	z-index: 1200;
	visibility: hidden;
	pointer-events: none;

	&.is-open {
		visibility: visible;
		pointer-events: auto;
	}

	&.is-open .cart-drawer-overlay {
		opacity: 1;
	}

	&.is-open .cart-drawer-panel {
		transform: translateX(0);
	}
}

.cart-drawer-overlay {
	position: absolute;
	inset: 0;
	border: 0;
	padding: 0;
	opacity: 0;
	background: rgba(0, 0, 0, 0.5);
	transition: opacity 0.2s ease;
	cursor: pointer;
}

.cart-drawer-panel {
	position: absolute;
	top: 0;
	right: 0;
	width: min(430px, 94vw);
	height: 100%;
	display: grid;
	grid-template-rows: auto auto 1fr auto;
	border-left: 1px solid #e0ddd8;
	box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
	transform: translateX(102%);
	transition: transform 0.24s ease;
	background: #fff;
}

body {
	&.cart-drawer-open {
		overflow: hidden;
	}
}

.cart-drawer-header {
	position: relative;
	border-bottom: 1px solid var(--border);
	padding: 16px 16px 12px;
	background: var(--surface-muted);
	& h2 {
		margin: 0;
		color: #111;
	}
	& p {
		margin: 4px 0 0;
		font-size: 0.9rem;
		color: var(--muted);
	}
}

.cart-drawer-close {
	position: absolute;
	top: 12px;
	right: 12px;
	border: 1px solid #e0ddd8;
	border-radius: 999px;
	width: 32px;
	height: 32px;
	font-size: 1.25rem;
	line-height: 1;
	color: #1a1a1a;
	background: #fff;
	cursor: pointer;
}

.cart-drawer-message {
	margin: 10px 12px 0;
	border: 1px solid #bad7bf;
	border-radius: 7px;
	padding: 10px 12px;
	font-size: 0.93rem;
	color: #144728;
	background: #eef9f0;
	&.is-error {
		border-color: #e6c3be;
		color: #7e2318;
		background: #fff3f2;
	}
}

.cart-drawer-body {
	overflow: auto;
	padding: 12px;
}

.cart-drawer-empty {
	border: 1px dashed #d8d4cc;
	border-radius: var(--radius);
	padding: 18px 14px;
	color: var(--muted);
	background: var(--surface-muted);
}

.cart-drawer-items {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 12px;
}

.cart-drawer-item {
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr);
	gap: 10px;
	border: 1px solid #e8e5de;
	border-radius: var(--radius);
	padding: 8px;
	background: #fff;
}

.cart-drawer-item-link {
	display: block;
	& img {
		width: 84px;
		height: 84px;
		border-radius: var(--radius-sm);
		border: 1px solid #e8e5de;
		object-fit: cover;
		background: var(--surface-muted);
	}
}

.cart-drawer-thumb-placeholder {
	width: 84px;
	height: 84px;
	border-radius: var(--radius-sm);
	border: 1px solid #e8e5de;
	object-fit: cover;
	background: var(--surface-muted);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px;
	text-align: center;
	font-size: 0.75rem;
	color: #888;
}

.cart-drawer-item-content {
	min-width: 0;
}

.cart-drawer-item-title {
	display: inline-block;
	margin-top: 2px;
	font-weight: 700;
	color: #1a1a1a;
}

.cart-drawer-item-meta {
	margin: 6px 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
	font-size: 0.85rem;
	color: #777;
}

.cart-drawer-item-row {
	margin-top: 10px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.cart-drawer-item-price {
	margin: 0;
	font-size: 0.92rem;
	font-weight: 700;
	color: #111;
}

.cart-drawer-remove {
	border: 1px solid #e0ddd8;
	border-radius: var(--radius-sm);
	padding: 5px 9px;
	font-size: 0.83rem;
	color: #555;
	background: #fff;
	cursor: pointer;
}

.cart-drawer-item-actions {
	display: flex;
	align-items: center;
	gap: 6px;
}

.cart-drawer-qty-control {
	display: inline-flex;
	align-items: center;
	border: 1px solid #e0ddd8;
	border-radius: var(--radius-sm);
	overflow: hidden;
	background: #fff;
}

.cart-drawer-qty-btn {
	border: 0;
	min-width: 28px;
	height: 28px;
	font-size: 1rem;
	color: #1a1a1a;
	background: var(--surface-muted);
	cursor: pointer;
}

.cart-drawer-qty-value {
	min-width: 28px;
	text-align: center;
	font-size: 0.86rem;
	font-weight: 700;
	color: #1a1a1a;
	background: #fff;
}

.cart-drawer-footer {
	border-top: 1px solid var(--border);
	padding: 12px;
	background: var(--surface-muted);
}

.cart-free-shipping {
	margin-bottom: 12px;
	border: 1px solid #e8e5de;
	border-radius: var(--radius);
	padding: 10px;
	background: #fff;

	&.is-complete .cart-free-shipping-fill {
		background: linear-gradient(90deg, #1a9c52 0%, #0f7b3b 100%);
	}
}

.cart-free-shipping-title {
	margin: 0 0 8px;
	font-size: 0.86rem;
	font-weight: 700;
	color: #1a1a1a;
}

.cart-free-shipping-track {
	width: 100%;
	height: 8px;
	border-radius: 999px;
	overflow: hidden;
	background: #e8e5de;
}

.cart-free-shipping-fill {
	display: block;
	width: 0;
	height: 100%;
	border-radius: inherit;
	transition: width 0.22s ease;
	background: linear-gradient(90deg, #f0b000 0%, #f69a00 100%);
}

.cart-free-shipping-text {
	margin: 8px 0 0;
	font-size: 0.84rem;
	color: #777;
}

.cart-drawer-total-row {
	margin: 0 0 10px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: #555;
	& strong {
		font-size: 1.06rem;
		color: #111;
	}
}

.cart-drawer-cta {
	display: inline-flex;
	width: 100%;
	align-items: center;
	justify-content: center;
	gap: 10px;
	border-radius: var(--radius-pill);
	min-height: 56px;
	padding: 12px 16px;
	font-size: 1.04rem;
	font-weight: 800;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: #fff;
	background: #0c8b16;
	transition: background-color 0.2s ease;

	&:hover {
		color: #fff;
		background: #0a7712;
	}
}

.cart-drawer-cta-arrow {
	font-size: 1.25rem;
	line-height: 1;
}

@media (max-width: 640px) {
	.cart-drawer-panel {
		width: 100vw;
	}
}


/* src/public/css/components/product-card.css */
.product-grid {
	margin-top: 14px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 14px;
}

.product-card {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--surface);
	transition:
		border-color 0.2s ease,
		box-shadow var(--transition),
		transform var(--transition);

	&:hover {
		border-color: #d7b186;
		box-shadow: var(--shadow-md);
		transform: translateY(-2px);
	}

	& h2 {
		margin: 0;
		font-size: 1.02rem;
		line-height: 1.3;
	}
}

.product-card[data-product-card] {
	cursor: pointer;
}

.product-image-link {
	display: block;
	position: relative;
	background: var(--surface-muted);
}

.product-thumb {
	width: 100%;
	height: 200px;
	display: block;
	object-fit: cover;
}

.product-thumb-placeholder {
	width: 100%;
	height: 200px;
	display: grid;
	place-items: center;
	color: var(--muted);
}

.discount-badge {
	position: absolute;
	top: 10px;
	right: 10px;
	border-radius: var(--radius-sm);
	padding: 4px 10px;
	font-size: 0.77rem;
	font-weight: 700;
	color: #111;
	background: var(--accent);
	border: none;
}

.product-card-body {
	display: grid;
	gap: 8px;
	padding: 13px;
}

.card-meta {
	margin: 0;
	display: flex;
	justify-content: space-between;
	gap: 10px;
	color: var(--text-muted-2);
	font-size: 0.76rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.rating-row {
	margin: -2px 0 0;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	width: fit-content;
	font-size: 0.84rem;
	color: var(--text-muted-2);
}

.rating-stars {
	letter-spacing: 0.04em;
	color: #efb300;
}

.rating-value {
	font-weight: 700;
	color: #1a1a1a;
}

.rating-count {
	color: var(--text-muted-2);
}

.card-specs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.spec-chip {
	border: 1px solid #e0ddd8;
	border-radius: var(--radius-sm);
	padding: 4px 8px;
	font-size: 0.74rem;
	font-weight: 600;
	color: #444;
	background: var(--surface-muted);
}

.price-row {
	margin: 0;
	display: flex;
	align-items: baseline;
	gap: 9px;
}

.price {
	margin: 0;
	font-size: 1.3rem;
	font-weight: 800;
	color: #111;
}

.old-price {
	margin: 0;
	color: var(--danger);
	text-decoration: line-through;
}

.price-excl {
	margin: -3px 0 0;
	color: var(--text-muted-2);
	font-size: 0.84rem;
}

.stock-warning {
	margin: 0;
	border-left: 2px solid var(--accent);
	padding-left: 7px;
	color: #7a4200;
	font-size: 0.82rem;
	font-weight: 700;
}

.card-cta {
	margin-top: 4px;
	border-radius: var(--radius-pill);
	border: 1.5px solid #d0cdc7;
	padding: 9px 10px;
	text-align: center;
	font-size: 0.9rem;
	font-weight: 700;
	color: #1a1a1a;
	background: #fff;
	transition:
		border-color var(--transition),
		background var(--transition);

	&:hover {
		text-decoration: none;
		border-color: #aaa;
		background: var(--surface-muted);
	}
}

.catalog-content {
	& .product-grid {
		margin-top: 12px;
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: 8px;
	}
}

.product-card-catalog {
	position: relative;
	border: 1px solid #e8e5de;
	border-radius: var(--radius);
	min-height: 100%;
	box-shadow: var(--shadow-sm);
	background: #fff;
	transition:
		box-shadow var(--transition),
		border-color var(--transition),
		transform var(--transition);

	&:hover {
		border-color: #d7b186;
		box-shadow: var(--shadow-lg);
		transform: translateY(-2px);
	}

	& .product-image-link {
		border-bottom: 0;
		background: #fff;
	}

	& .product-thumb {
		height: 370px;
		object-fit: contain;
		background: #fff;
	}

	& .product-thumb-placeholder {
		height: 370px;
		background: var(--surface-muted);
	}

	& .product-card-body {
		gap: 6px;
		padding: 10px 12px 12px;
	}

	& .discount-badge {
		position: static;
		top: auto;
		right: auto;
		width: fit-content;
		border-radius: var(--radius-sm);
		border: 0;
		padding: 3px 8px;
		font-size: 0.88rem;
		font-weight: 800;
		color: #111;
		background: var(--accent);
	}

	& h2 {
		font-size: 1.16rem;
		line-height: 1.15;
		font-weight: 800;

		& a {
			color: #111;
		}
	}

	& .price {
		font-size: 2rem;
		line-height: 1;
		color: #111;
	}

	& .rating-row {
		font-size: 0.88rem;
	}
}

.product-fav-btn {
	position: absolute;
	top: 8px;
	right: 10px;
	z-index: 2;
	border: 0;
	padding: 0;
	font-size: 2rem;
	line-height: 1;
	color: #0f172a;
	background: transparent;
	cursor: pointer;
}

.brand-mini-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	min-width: 56px;
	max-width: 96px;
	height: 26px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #e0ddd8;
	border-radius: var(--radius-sm);
	padding: 3px 6px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #1a1a1a;
	background: #fff;
}

.brand-mini-badge[hidden] {
	display: none !important;
}

.brand-mini-logo {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	object-position: center;
}

.brand-mini-logo[hidden] {
	display: none !important;
}

/* Merk-specifieke badgekleuren (statisch, gebaseerd op logo-huisstijl) */
.price-excl-inline {
	font-size: 1.1rem;
	font-weight: 500;
	color: var(--text-muted-2);
}

.old-price-row {
	margin: 0;
	display: flex;
	align-items: baseline;
	gap: 7px;

	& span {
		color: #333;
		font-size: 1.08rem;
		text-decoration: line-through;
	}

	& em {
		font-style: italic;
		font-size: 0.88rem;
		color: var(--accent-dark);
	}
}

.product-card-meta {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 0.86rem;
	color: var(--text-muted-2);
}


/* src/public/css/pages/home.css */
.home-hero {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 14px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 16px;
	background: var(--surface);

	& h1 {
		margin: 0 0 10px;
		font-size: clamp(1.7rem, 3vw, 2.3rem);
		line-height: 1.05;
		color: #111;
	}

	& p {
		margin: 0;
		color: var(--text-muted-2);
	}
}

.hero-kicker {
	margin: 0 0 8px;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--text-muted-2);
}

.home-actions {
	margin-top: 14px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.cta-primary-link,
.cta-secondary-link {
	border-radius: 6px;
	padding: 11px 15px;
	font-weight: 600;
}

.cta-primary-link {
	border: 1.5px solid var(--accent-dark);
	border-radius: var(--radius-pill);
	color: #111;
	background: var(--accent);

	&:hover {
		text-decoration: none;
		background: var(--accent-dark);
	}
}

.cta-secondary-link {
	border: 1.5px solid #d0cdc7;
	border-radius: var(--radius-pill);
	color: #1a1a1a;
	background: var(--surface);

	&:hover {
		text-decoration: none;
		background: var(--surface-muted);
	}
}

.home-kpis {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;

	& article {
		border: 1px solid var(--border);
		border-top: 3px solid var(--accent);
		border-radius: var(--radius);
		padding: 12px;
		background: var(--surface);
	}

	& strong {
		display: block;
		font-size: 1.35rem;
		color: var(--text-strong);
	}

	& span {
		font-size: 0.92rem;
		color: var(--text-muted);
	}
}

.home-banner {
	margin-top: 14px;
	position: relative;
	border: none;
	border-radius: var(--radius);
	overflow: hidden;
	height: clamp(260px, 42vw, 460px);
	max-height: 460px;
	background: #1a2436;
}

.home-banner picture {
	display: block;
	height: 100%;
}

.home-banner-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 80%;
}

.home-banner-overlay {
	position: absolute;
	inset: 0;
	padding: 22px;
	display: grid;
	align-content: end;
	gap: 7px;
	color: var(--surface);
	background:
		radial-gradient(circle at top right, rgba(255, 179, 71, 0.22), transparent 32%),
		linear-gradient(180deg, rgba(10, 14, 22, 0.08) 18%, rgba(10, 14, 22, 0.72) 100%);

	& h2 {
		margin: 0;
		max-width: 680px;
		font-size: clamp(1.5rem, 2.7vw, 2.3rem);
		line-height: 1.1;
	}

	& p {
		margin: 0;
		max-width: 560px;
		color: #f7efe4;
	}
}

.home-banner-kicker {
	margin: 0;
	width: fit-content;
	border: none;
	border-radius: var(--radius-sm);
	padding: 4px 10px;
	font-size: 0.72rem;
	line-height: 1;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #ffffff;
	background: #8a3f00;
}

.home-banner-actions {
	margin-top: 6px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.home-live-section {
	border-color: #cfd9e8;
	background: var(--surface);
}

.live-stamp {
	margin: 0;
	font-size: 0.85rem;
	color: var(--text-muted-2);
}

.home-live-grid {
	margin-top: 10px;
	display: grid;
	grid-template-columns: 1.25fr 1fr;
	gap: 10px;
}

.deal-day-card,
.stock-alert-card {
	border: 1px solid var(--border);
	border-radius: 6px;
	padding: 12px;
	background: var(--surface);

	& h3 {
		margin: 0 0 10px;
		color: var(--text-heading);
	}
}

.deal-day-link {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: 10px;
	color: inherit;
	border-radius: 8px;
	padding: 4px;
	transition:
		background-color 0.2s ease,
		box-shadow var(--transition);

	&:hover {
		text-decoration: none;
		background: var(--surface-subtle);
		box-shadow: var(--shadow-sm);
	}

	& img {
		width: 100%;
		height: 96px;
		object-fit: cover;
		border-radius: 8px;
	}
}

.deal-day-title {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	color: var(--text-strong);
}

.deal-day-meta {
	margin: 3px 0 7px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 0.82rem;
	color: var(--text-muted-2);
}

.stock-alert-card {
	& ul {
		margin: 0;
		padding: 0;
		list-style: none;
		display: grid;
		gap: 8px;
	}

	& li {
		display: flex;
		justify-content: space-between;
		gap: 8px;
		border: 1px solid var(--border-soft);
		border-radius: 6px;
		padding: 8px 9px;
		background: var(--surface);
		transition:
			border-color 0.2s ease,
			background-color 0.2s ease;

		&:hover {
			border-color: #d7b186;
			background: var(--surface-subtle);
		}

		& a {
			font-weight: 600;
			color: var(--brand-soft);
		}

		& span {
			white-space: nowrap;
			font-size: 0.82rem;
			font-weight: 700;
			color: var(--text-warning-strong);
		}
	}
}

.home-section {
	margin-top: 14px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 14px;
	background: var(--surface);

	& .product-grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

.home-section-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 8px;

	& h2 {
		margin: 0;
		color: var(--text-heading);
	}

	& a {
		border: 1.5px solid #d0cdc7;
		border-radius: var(--radius-pill);
		padding: 7px 16px;
		font-size: 0.84rem;
		font-weight: 600;
		color: #1a1a1a;
		background: var(--surface);

		&:hover {
			text-decoration: none;
			border-color: #aaa;
			background: var(--surface-muted);
		}
	}
}

.home-cats {
	margin-top: 10px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.home-cat {
	display: grid;
	gap: 5px;
	border: 1px solid var(--border);
	border-radius: 6px;
	padding: 12px;
	background: var(--surface);
	transition:
		border-color 0.2s ease,
		background-color 0.2s ease;

	& strong {
		color: #111;
	}

	& span {
		font-size: 0.9rem;
		color: var(--text-muted);
	}

	&:hover {
		text-decoration: none;
		border-color: #ccc9c2;
		background: var(--surface-subtle);
	}
}

.brand-pills {
	margin-top: 10px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;

	& a {
		border: 1px solid var(--border);
		border-radius: var(--radius-pill);
		padding: 7px 11px;
		font-size: 0.9rem;
		font-weight: 600;
		color: #1a1a1a;
		background: var(--surface);
		transition:
			border-color 0.2s ease,
			background-color 0.2s ease,
			color 0.2s ease;

		&:hover {
			text-decoration: none;
			border-color: #ccc9c2;
			color: var(--text-title);
			background: var(--surface-subtle);
		}
	}
}


/* src/public/css/responsive/media.css */
@media (max-width: 1080px) {
	.catalog-shell {
		grid-template-columns: 1fr;
	}

	.catalog-sidebar {
		position: static;
	}

	.catalog-content {
		& .product-grid {
			grid-template-columns: repeat(4, minmax(0, 1fr));
		}
	}

	.home-section {
		& .product-grid {
			grid-template-columns: repeat(4, minmax(0, 1fr));
		}
	}

	.catalog-benefits {
		grid-template-columns: 1fr;
		& p {
			text-align: left;
		}
	}

	.catalog-toolbar {
		grid-template-columns: 1fr;
		align-items: start;
	}

	.pagination--compact {
		margin-left: 0;
		justify-content: flex-start;
	}

	.usp-cards {
		grid-template-columns: 1fr;
	}

	.offer-strip-grid {
		grid-template-columns: 1fr;
	}

	.page-head-row {
		flex-direction: column;
		align-items: flex-start;
	}

	.home-hero {
		grid-template-columns: 1fr;
	}

	.home-kpis {
		grid-template-columns: 1fr 1fr;
	}

	.home-banner-overlay {
		padding: 16px;
	}

	.home-live-grid {
		grid-template-columns: 1fr;
	}

	.home-cats {
		grid-template-columns: 1fr;
	}

	.contact-grid {
		grid-template-columns: 1fr;
	}

	.footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 901px) {
	.mobile-nav,
	.mobile-nav-backdrop,
	.nav-toggle-group {
		display: none !important;
	}
}

@media (max-width: 900px) {
	.top-strip {
		display: none;
	}

	/* ── Mobile header: logo + cart icon + hamburger ── */
	.site-header {
		position: static;
	}

	.header-inner {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 0;
		padding: 10px 0;
	}

	.brand {
		& img {
			height: 46px;
		}
	}

	.header-search {
		display: none;
	}

	.header-actions {
		display: none;
	}

	.nav-toggle-group {
		display: flex;
	}

	.category-ribbon {
		display: none;
	}

	.service-strip {
		display: none;
	}

	.promo-strip {
		display: none;
	}

	.top-strip-inner {
		flex-wrap: wrap;
		gap: 8px 16px;
	}

	.score-pill {
		margin-left: 0 !important;
	}

	.quick-filter-bar {
		overflow-x: auto;
		padding-bottom: 4px;
		flex-wrap: nowrap;
	}

	.quick-chip {
		white-space: nowrap;
	}

	.detail-hero {
		grid-template-columns: 1fr;
	}

	.home-kpis {
		grid-template-columns: 1fr;
	}

	.home-banner {
		height: auto;
		max-height: none;
		min-height: 0;
	}

	.home-banner-overlay {
		padding: 18px 16px;

		& h2 {
			font-size: 1.35rem;
		}
	}

	.deal-day-link {
		grid-template-columns: 1fr;
	}

	.stock-alert-card {
		& li {
			flex-direction: column;
			align-items: flex-start;
		}
	}

	.manual-slider {
		grid-template-columns: 1fr;
	}

	.slider-thumbs {
		grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
	}

	.detail-head {
		& h1 {
			font-size: 2rem;
		}
	}

	.detail-main-image {
		height: 360px;
	}

	.option-inline {
		grid-template-columns: 1fr;
	}

	.buy-row {
		grid-template-columns: 1fr;
	}

	.cta-primary {
		font-size: 1.05rem;
	}

	.footer-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	.catalog-content {
		& .product-grid {
			grid-template-columns: 1fr;
		}
	}

	.home-section {
		& .product-grid {
			grid-template-columns: repeat(2, minmax(0, 1fr));
		}
	}

	.filter-price-grid {
		grid-template-columns: 1fr;
	}

	.product-card-catalog {
		& .product-thumb {
			height: 270px;
		}

		& .product-thumb-placeholder {
			height: 270px;
		}
	}

	.service-strip-inner {
		gap: 8px 12px;
	}

	.cart-shipping-head {
		flex-direction: column;
		align-items: flex-start;
	}
}

