/* ===== CSS VARIABLES ===== */
:root {
	--bs-border-radius-lg: 0.2rem;
	--theme-blue: #0084DA;
	--theme-blue-dark: #006BA6;
	--theme-orange: #FC5E13;
}

/* ===== BASE BODY ===== */
body {
	font-family: 'Open Sans', Calibri, Helvetica, sans-serif;
	margin: 0;
	padding: 0;
	min-height: 100vh;
}

/* ===== SHOP PAGE ===== */
body.shop-page {
	background-color: rgb(4, 8, 22);
}


/* ===== INTRO VIDEO PAGE ===== */
body.intro-page {
	height: 100%;
	overflow: hidden;
	background-color: rgb(4, 8, 22);
}

/* ===== CLOSED PAGE ===== */
body.closed-page {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.closed-container {
	background: white;
	border-radius: 1rem;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	padding: 3rem;
	max-width: 500px;
	width: 90%;
	text-align: center;
}

.closed-icon {
	font-size: 5rem;
	color: var(--theme-blue);
	margin-bottom: 1.5rem;
}

.closed-title {
	font-size: 2rem;
	font-weight: 700;
	color: #333;
	margin-bottom: 1rem;
}

.closed-message {
	font-size: 1.1rem;
	color: #666;
	line-height: 1.6;
	margin-bottom: 2rem;
}

.closed-logo-img {
	max-width: 200px;
	margin-bottom: 1.5rem;
}

@media (max-width: 576px) {
	.closed-container {
		padding: 2rem 1.5rem;
	}

	.closed-title {
		font-size: 1.5rem;
	}

	.closed-message {
		font-size: 1rem;
	}

	.closed-icon {
		font-size: 4rem;
	}
}

/* ===== THEME COLORS ===== */
.text-theme-blue {
	color: var(--theme-blue);
}

.btn-theme {
	background-color: var(--theme-blue);
	border: none;
}

/* ===== FORM BACKGROUND ===== */
.form-bg {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

/* ===== TRANSPARENT FORM INPUTS ===== */
.input-transparent {
	background-color: rgba(255, 255, 255, 0.9) !important;
	border: none !important;
}

/* ===== LAYOUT HELPERS ===== */
/* Elements that start hidden but JS will show them (no !important so JS inline style wins) */
.initially-hidden {
	display: none;
}

/* ===== LANGUAGE FLAGS ===== */
.lang-flags {
	font-size: 1.5rem;
}

/* ===== PRODUCT IMAGES ===== */
.product-img {
	height: auto;
	object-fit: contain;
}

/* ===== DESCRIPTION LEAD ===== */
.description-lead {
	font-size: 1.25rem;
	max-width: 900px;
	margin: 0 auto;
}

/* ===== SPACERS ===== */
.spacer-100 {
	height: 100px;
}

/* ===== SMALL TEXT ===== */
.text-xs {
	font-size: 0.75rem;
}

/* ===== BANNER SPACER IMAGE ===== */
.banner-spacer-img {
	max-height: 100px;
	object-fit: contain;
}

/* ===== SHOP ORNAMENTS ===== */
.ornament-left,
.ornament-right,
.ornament-front {
	pointer-events: none;
}

.ornament-left  { z-index: 0; }
.ornament-right { z-index: 0; }
.ornament-front { z-index: 2; }

/* INDEX PAGE ornaments */
.index-page .ornament-left {
	left: -126px;
	top: -312px;
	width: 310px;
}

.index-page .ornament-right {
	right: -200px;
	top: -249px;
	width: 227px;
}

.index-page .ornament-front {
	right: -132px;
	top: -266px;
	width: 267px;
}

@media (min-width: 992px) {
	.index-page .ornament-left {
		left: 78px;
		top: -312px;
		width: 310px;
	}
	.index-page .ornament-right {
		right: 42px;
		top: -249px;
		width: 227px;
	}
	.index-page .ornament-front {
		right: -132px;
		top: -266px;
		width: 267px;
	}
}

@media (min-width: 1200px) {
	.index-page .ornament-left {
		left: 128px;
		top: -308px;
		width: 310px;
	}
	.index-page .ornament-right {
		right: 82px;
		top: -249px;
		width: 227px;
	}
	.index-page .ornament-front {
		right: -132px;
		top: -266px;
		width: 267px;
	}
}

@media (min-width: 1400px) {
	.index-page .ornament-left {
		left: 186px;
		top: -312px;
		width: 310px;
	}
	.index-page .ornament-right {
		right: 157px;
		top: -249px;
		width: 227px;
	}
	.index-page .ornament-front {
		right: -132px;
		top: -266px;
		width: 267px;
	}
}

@media (max-width: 576px) {
	.overflow-hidden-on-mobile {
		overflow: hidden;
	}
}

/* ===== SHOP COMPONENTS ===== */
.shiny {
	-bs-bg-opacity: .8;
}

.accordion-button:not(.collapsed) {
	background-color: var(--theme-blue);
}

.stock {
	min-width: 60px;
	text-align: right;
}

/* Carousel control buttons — hide by default, show on hover */
.carousel-control-prev,
.carousel-control-next {
	width: 28px;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
	opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
	width: 20px;
	height: 20px;
	background-color: transparent;
	border-radius: 0;
	padding: 0;
	filter: none;
	background-size: 12px 12px;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
	background-color: transparent;
}

/* ===== INDEX PAGE — REDESIGN ===== */

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

:root {
	--rabo-blue: #003082;
	--rabo-orange: #FC5000;
	--rabo-blue-dark: #00205B;
}

html {
	height: 100%;
	font-family: 'Helvetica Neue', Arial, sans-serif;
}

body.index-page {
	height: 100%;
	overflow: hidden;
	background-color: rgb(4, 8, 22);
}


/* Page layout */
.index-page .page {
	position: relative;
	z-index: 1;
	display: flex;
	height: 100vh;
	align-items: center;
	justify-content: center;
}

/* Card panel — Glassmorphism */
.card-panel {
	display: flex;
	flex-direction: column;
	background:
		/* subtle dark left / light right shading */
		linear-gradient(69deg, rgba(0, 10, 40, 0.14) 0%, transparent 50%, rgba(255, 255, 255, 0.10) 100%),
		/* one teal flare — top-left */
		radial-gradient(ellipse 80% 60% at 0% 0%, rgba(106, 202, 205, 0.28) 0%, transparent 65%),
		/* base glass */
		rgba(220, 232, 255, 0.25);
	backdrop-filter: blur(22px) saturate(200%) brightness(1.12);
	-webkit-backdrop-filter: blur(22px) saturate(200%) brightness(1.12);
	width: 430px;
	min-width: 320px;
	max-width: 100%;
	max-height: 90vh;
	/* white edges */
	border: 1.5px solid rgba(255, 255, 255, 0.70);
	box-shadow:
		0 32px 80px rgba(0, 0, 0, 0.50),
		0 8px 24px rgba(0, 0, 0, 0.25),
		/* inner top edge highlight */
		inset 0 1.5px 0 rgba(255, 255, 255, 0.90),
		/* inner bottom edge */
		inset 0 -1px 0 rgba(255, 255, 255, 0.20),
		/* inner dark shadow */
		inset 0 0 35px rgba(0, 10, 40, 0.85),
		/* outer rim glow */
		0 0 18px rgba(255, 255, 255, 0.18),
		0 0 2px  rgba(255, 255, 255, 0.50),
		/* left & right edge glow */
		-12px 0 28px rgba(255, 255, 255, 0.22),
		 12px 0 28px rgba(255, 255, 255, 0.22);
	flex-shrink: 0;
	border-radius: 24px;
	position: relative;
}

/* Glass overlay — sits above the panel background, below the content */
.card-panel::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(to bottom, rgba(147, 147, 147, 0.18) 0%, rgba(35, 46, 80, 0.01) 100%);
	/* diagonal edge: top at 1/3 width, bottom at 5/6 width, ~18° perpendicular = 72° gradient */
	-webkit-mask-image: linear-gradient(72deg, transparent 57%, black 58%);
	mask-image: linear-gradient(72deg, transparent 57%, black 58%);
	pointer-events: none;
	z-index: 0;
}

/* Edge sparkle — 4-pointed star on the top-right rim */
.card-panel::after {
	content: '';
	position: absolute;
	top: -22px;
	right: 28px;
	width: 46px;
	height: 44px;
	background: white;
	clip-path: polygon(50% 0%, 54% 46%, 100% 50%, 54% 54%, 50% 100%, 46% 54%, 0% 50%, 46% 46%);
	filter: drop-shadow(0 0 3px rgba(255, 255, 255, 1)) drop-shadow(0 0 7px rgba(160, 220, 255, 0.85));
	animation: card-sparkle 4.0s ease-in-out infinite;
	pointer-events: none;
	z-index: 2;
}

@keyframes card-sparkle {
	0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
	40%       { opacity: 0.3; transform: scale(0.6) rotate(15deg); }
	70%       { opacity: 0.9; transform: scale(1.1) rotate(-5deg); }
}

@keyframes card-sparkle-left {
	0%, 100% { opacity: 0.8; transform: scale(1) rotate(45deg); }
	30%       { opacity: 1;   transform: scale(1.2) rotate(45deg); }
	60%       { opacity: 0.15; transform: scale(0.5) rotate(90deg); }
}

/* Mouse-trail sparkles on the right border */
.card-panel > .edge-sparkle,
.edge-sparkle {
	position: absolute;
	background: white;
	clip-path: polygon(50% 0%, 54% 46%, 100% 50%, 54% 54%, 50% 100%, 46% 54%, 0% 50%, 46% 46%);
	filter: drop-shadow(0 0 3px rgba(255, 255, 255, 1)) drop-shadow(0 0 8px rgba(160, 220, 255, 0.9));
	pointer-events: none;
	z-index: 10;
}

/* Bokeh orb behind each edge sparkle */
.card-panel > .edge-sparkle::before,
.edge-sparkle::before {
	content: '';
	position: absolute;
	inset: -120%;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(180, 225, 255, 0.45) 0%, rgba(140, 200, 255, 0.15) 45%, transparent 70%);
	filter: blur(8px);
	z-index: -1;
}

/* Left-edge sparkle */
.card-sparkle-left {
	position: absolute;
	top: 56px;
	left: -22px;
	width: 44px;
	height: 44px;
	background: white;
	clip-path: polygon(50% 0%, 54% 46%, 100% 50%, 54% 54%, 50% 100%, 46% 54%, 0% 50%, 46% 46%);
	filter: drop-shadow(0 0 3px rgba(255, 255, 255, 1)) drop-shadow(0 0 7px rgba(160, 220, 255, 0.85));
	animation: card-sparkle-left 3.6s ease-in-out infinite;
	animation-delay: 0.7s;
	pointer-events: none;
	z-index: 2;
}

/* Ensure direct children stack above the glass layer */
.card-panel > * {
	position: relative;
	z-index: 1;
}


.card-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 36px 40px 20px;
	overflow-y: auto;
}

/* Logo */
.logo-wrap {
	margin-bottom: 28px;
}

.logo-text {
	font-size: 3rem;
	font-weight: 900;
	font-style: italic;
	color: rgb(1, 22, 139);
	letter-spacing: -0.5px;
	line-height: 1;
	width: 60%;
}

/* Welcome heading */
.welcome-heading {
	font-size: 1.75rem;
	font-style: italic;
	font-weight: 700;
	color: #fff;
	line-height: 1.2;
	margin-bottom: 20px;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

/* Description */
.card-desc {
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.78);
	line-height: 1.55;
	margin-bottom: 22px;
}

/* Alert */
#alert-container {
	padding: 10px 14px;
	border-radius: 4px;
	font-size: 0.85rem;
	margin-bottom: 16px;
}
#alert-container.d-none { display: none; }
#alert-container.alert-danger  { background: #fde8e8; color: #c0392b; border: 1px solid #f5c6cb; }
#alert-container.alert-success { background: #e8f8ed; color: #1e7e34; border: 1px solid #c3e6cb; }

/* Form inputs */
.form-field {
	border: 1px solid rgba(255, 255, 255, 0.40);
	border-radius: 8px;
	padding: 12px 14px;
	font-size: 0.9rem;
	width: 100%;
	color: #fff;
	outline: none;
	transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
	background: rgba(255, 255, 255, 0.10);
	margin-bottom: 12px;
}
.form-field::placeholder { color: rgba(255, 255, 255, 0.50); }
.form-field:focus {
	border-color: rgba(255, 255, 255, 0.75);
	background: rgba(255, 255, 255, 0.16);
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.10);
}
.form-field.is-invalid   { border-color: #dc3545; }

.field-error {
	font-size: 0.75rem;
	color: #ff8a8a;
	margin-top: -8px;
	margin-bottom: 10px;
	display: none;
}
.field-error.visible { display: block; }

/* Submit button */
.btn-submit {
	background: var(--rabo-orange);
	color: #fff;
	border: none;
	border-radius: 4px;
	padding: 10px 28px;
	font-size: 0.9rem;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.2s, transform 0.1s;
	margin-top: 4px;
}
.btn-submit:hover    { background: #e04500; }
.btn-submit:active   { transform: scale(0.97); }
.btn-submit:disabled { opacity: 0.65; cursor: not-allowed; }

/* Spinner (injected by JS during submit) */
.spinner {
	display: inline-block;
	width: 14px;
	height: 14px;
	border: 2px solid rgba(255,255,255,0.4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: spin 0.7s linear infinite;
	vertical-align: middle;
	margin-right: 6px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Illustrations — bleed past card edges */
.illustrations {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	margin-top: auto;
	padding-top: 16px;
	overflow: visible;
}
.illustrations img {
	height: min(300px, 28vh);
	width: auto;
	display: block;
	flex-shrink: 0;
	/* Negative margin collapses the SVG whitespace so figures appear close.
	   The combined overflow bleeds ~30px past each card edge. */
	margin: 0 -60px;
}

/* ── Per-figure vertical fine-tuning ──────────────────────────
   Positive translateY  →  moves figure DOWN
   Negative translateY  →  moves figure UP
   ──────────────────────────────────────────────────────────── */
.illustrations img:nth-child(1) { transform: translateY(0px);  } /* left  — tennis player  */
.illustrations img:nth-child(2) { transform: translateY(17px);  } /* center — weight lifter */
.illustrations img:nth-child(3) { transform: translateY(15px);  } /* right  — dumbbell man  */

.card-header-bar, .card-footer-bar {
	background: transparent;
	padding: 10px 40px;
	display: flex;
	align-items: center;
}

.card-footer-bar {
	border-bottom: none;
}

.beglobal-logo {
	display: flex;
	align-items: center;
	gap: 8px;
	color: rgba(255,255,255,0.85);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.5px;
}
.beglobal-logo svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

/* Right side fills remaining space */
.bg-side {
	flex: 1;
	position: relative;
	overflow: hidden;
}

/* 2027 / Happy New Year decoration group — all children move with the image */
.newyear-group {
	display: none; /* hidden on mobile, shown on desktop below */
	position: absolute;
	right: 25%;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	/* Width and height are determined by newyear-deco img (in normal flow) */
}

@media (min-width: 600px) {
	.newyear-group { display: block; }
}

.newyear-deco {
	display: block;
	height: 80vh;
	max-height: 765px;
	width: auto;
	mix-blend-mode: screen;
	pointer-events: none;
	filter: drop-shadow(4px 5px 6px rgba(0,0,0,.9));
	position: relative; /* in normal flow — sizes the group */
}

/* All overlays are now relative to the group (= the image bounds) */
.newyear-group .flair {
	position: absolute;
	top: 49%;
	left: 34%;
	transform: translate(-50%, -50%);
	height: 24vh;
	max-height: 200px;
	width: auto;
	pointer-events: none;
	animation: flair-fadein 3.0s ease-out both;
}

.newyear-group .flair-2 {
	top: 61%;
  	left: 53%;
  	animation-delay: 0.5s;
  	height: 17vh;
  	max-height: 150px;
}
.newyear-group .flairs-3 {
	top: 86%;
  	left: 42%;
  	animation-delay: 1.0s;
  	height: 15vh;
  	max-height: 100px;
}

@keyframes flair-fadein {
	from { opacity: 0; }
	to   { opacity: 1; }
}

.text-deco {
	font-size: 2.6vh; /* scales with image (image height = 80vh) */
	text-align: center;
	color: var(--rabo-blue);
	position: absolute;
	top: 43%;
	left: 52%;
	transform: translate(-50%, -50%);
	white-space: nowrap;
	pointer-events: none;
}

.bubble-deco {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 55%;
	aspect-ratio: 1 / 1;
	pointer-events: none;
	border-radius: 50%;
	/* border: 1px solid rgba(255,255,255,0.45); */
	background:
		/* Specular highlight — tight bright spot top-left */
		radial-gradient(ellipse 48% 42% at 32% 28%,
			rgba(255,255,255,0.95)  0%,
			rgba(255,255,255,0.60) 38%,
			transparent            70%),
		/* Bottom caustic — secondary reflection */
		radial-gradient(ellipse 32% 22% at 62% 70%,
			rgba(255,255,255,0.55)  0%,
			transparent            70%),
		/* Body — slightly opaque, denser at rim */
		radial-gradient(ellipse 100% 100% at 50% 50%,
			rgba(255,255,255,0.08)         60%,
			rgba(255,255,255,0.22)         86%,
			rgba(255,255,255,0.45)        100%);
}

/* Card is centered via flexbox on the .page container */

/* Mobile */
@media (max-width: 500px) {
	.card-panel {
		width: calc(100% - 20px);
		box-shadow: none;
		margin-left: 10px;
		margin-right: 10px;
	}
	.card-body {
		padding: 28px 24px 16px;
	}
	.card-footer-bar {
		padding: 12px 24px;
	}
	.illustrations img {
		height: 150px;
	}
	.welcome-heading {
		font-size: 1.2rem;
	}
}

.display-none {
	display: none;
}

/* ===== ACCESSIBILITY ===== */

/* Visually hidden but available to screen readers */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Visible focus indicators for keyboard navigation */
.form-field:focus-visible {
	outline: 3px solid var(--rabo-blue);
	outline-offset: 2px;
	border-color: var(--rabo-blue);
}

.btn-submit:focus-visible {
	outline: 3px solid var(--rabo-blue);
	outline-offset: 3px;
}

#bokeh-canvas {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

/* Respect user's motion preference — fireworks animation is skipped in JS */
@media (prefers-reduced-motion: reduce) {
	#bokeh-canvas {
		display: none;
	}
}

/* ===== SHOP PAGE — REDESIGN ===== */

/* ── Sticky header ── */
.shop-header {
	background: var(--rabo-blue);
	padding: 12px 28px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: sticky;
	top: 0;
	z-index: 200;
	box-shadow: 0 2px 18px rgba(0,0,0,0.35);
}

.shop-header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.shop-logo {
	font-size: 1.9rem;
	font-weight: 900;
	font-style: italic;
	color: #fff;
	letter-spacing: -0.5px;
	line-height: 1;
}
.shop-logo img {
	height: 32px;
	width: auto;
}

#language-flags {
	margin: 0 !important;
	padding: 0;
	list-style: none;
	display: flex;
	gap: 6px;
	align-items: center;
	font-size: 2em;
}

/* ── Hero ── */
.shop-hero {
	text-align: center;
	padding: 60px 20px 40px;
	position: relative;
	z-index: 1;
}

.shop-hero h1 {
	font-size: clamp(2.6rem, 8vw, 5.5rem);
	font-weight: 900;
	font-style: italic;
	color: #fff;
	line-height: 1.05;
	margin-bottom: 14px;
	text-shadow: 0 3px 20px rgba(0,0,0,0.3);
}

.shop-hero p.lead {
	font-size: 1rem;
	color: rgba(255,255,255,0.92);
	max-width: 640px;
	margin: 0 auto;
	line-height: 1.65;
}

/* ── Products section ── */
.products-section {
	position: relative;
	z-index: 1;
	padding: 0 12px 52px;
}

/* ── Product card ── */
.product-card {
	background: #fff;
	backdrop-filter: blur(18px) saturate(140%) brightness(1.12);
	-webkit-backdrop-filter: blur(18px) saturate(140%) brightness(1.12);
	border-radius: 16px !important;
	overflow: hidden;
	border: 1.5px solid rgba(255, 255, 255, 0.65) !important;
	box-shadow:
		0 8px 32px rgba(0, 0, 0, 0.28),
		0 2px 8px rgba(0, 0, 0, 0.14),
		inset 0 1.5px 0 rgba(255, 255, 255, 0.85),
		inset 0 -1px 0 rgba(255, 255, 255, 0.15),
		0 0 12px rgba(255, 255, 255, 0.12) !important;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.product-card:hover {
	box-shadow:
		0 16px 48px rgba(0, 0, 0, 0.38),
		0 4px 16px rgba(0, 0, 0, 0.18),
		inset 0 1.5px 0 rgba(255, 255, 255, 0.90),
		inset 0 -1px 0 rgba(255, 255, 255, 0.20),
		0 0 18px rgba(255, 255, 255, 0.18) !important;
}

.product-card.product-selected {
	box-shadow:
		0 0 0 3px var(--rabo-orange),
		0 16px 48px rgba(0, 0, 0, 0.35),
		inset 0 1.5px 0 rgba(255, 255, 255, 0.85),
		0 0 18px rgba(255, 255, 255, 0.15) !important;
}

.product-card .carousel {
	background: rgba(255, 255, 255, 0.70);
	flex-shrink: 0;
}

.product-card .product-img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	background: rgba(255, 255, 255, 0.88);
}

/* Carousel controls — clean pill buttons */
.product-card .carousel-control-prev,
.product-card .carousel-control-next {
	width: 28px;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.product-card .carousel:hover .carousel-control-prev,
.product-card .carousel:hover .carousel-control-next {
	opacity: 1;
}

.product-card .carousel-control-prev-icon,
.product-card .carousel-control-next-icon {
	width: 28px;
	height: 28px;
	background-color: rgba(255,255,255,0.88);
	border-radius: 50%;
	background-size: 10px 10px;
	box-shadow: 0 1px 4px rgba(0,0,0,0.18);
	transition: background-color 0.15s;
}

.product-card .carousel-control-prev:hover .carousel-control-prev-icon,
.product-card .carousel-control-next:hover .carousel-control-next-icon {
	background-color: rgba(255,255,255,1);
	box-shadow: 0 2px 8px rgba(0,0,0,0.22);
}

/* Use dark chevrons (Bootstrap default is white, invert for light bg) */
.product-card .carousel-control-prev-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.product-card .carousel-control-next-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

@media (hover: none), (pointer: coarse) {
	.product-card .carousel-control-prev,
	.product-card .carousel-control-next {
		opacity: 1;
		width: 36px;
	}
}

/* Carousel indicators (bullets) */
.product-card .carousel-indicators {
	bottom: 6px;
	margin-bottom: 0;
}

.product-card .carousel-indicators [data-bs-slide-to] {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background-color: rgba(0, 0, 0, 0.25);
	border: none;
	opacity: 1;
	transition: background-color 0.15s;
}

.product-card .carousel-indicators [data-bs-slide-to].active {
	background-color: rgba(0, 0, 0, 0.65);
}

.product-card-info {
	padding: 12px 14px 6px;
	flex: 1;
}

.product-card-name {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--rabo-blue);
	margin: 0;
	line-height: 1.35;
}

.product-card-price {
	font-size: 1rem;
	font-weight: 700;
	color: var(--rabo-blue);
	margin: 4px 0 0;
}

.product-card-actions {
	padding: 10px 14px 14px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	margin-top: 20px;
}


.shop-size-select {
	border: 1.5px solid #e0e0e0 !important;
	border-radius: 7px !important;
	padding: 8px 10px !important;
	font-size: 0.82rem !important;
	font-weight: 600 !important;
	width: 100%;
	margin-bottom: 8px;
	background: #fafafa !important;
	color: #333 !important;
	cursor: pointer;
	transition: border-color 0.18s;
}

.shop-size-select:focus {
	border-color: var(--rabo-blue) !important;
	box-shadow: 0 0 0 2px rgba(0,48,130,0.12) !important;
	outline: none;
}

.shop-choose-btn {
	background: var(--rabo-orange) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 7px !important;
	padding: 9px 14px !important;
	font-size: 0.82rem !important;
	font-weight: 700 !important;
	cursor: pointer;
	width: 50%;
	transition: background 0.18s, transform 0.1s;
	display: block;
	text-align: center;
}

.shop-choose-btn:hover { background: #e04300 !important; }
.shop-choose-btn:active { transform: scale(0.97); }

/* ── Product image zoom cursor ── */
.product-card .carousel-inner .carousel-item img {
	cursor: zoom-in;
}

/* ── Sold-out badge ── */
.product-sold-out {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 10;
	background: #dc3545;
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 3px 10px;
	border-radius: 20px;
	pointer-events: none;
}

/* ── Product type badges ── */
.product-type-badge {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 10;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 3px 9px;
	border-radius: 20px;
	pointer-events: none;
}
.badge-gift-card { background: #4a90d9; color: #fff; }
.badge-donation   { background: #28a745; color: #fff; }
.badge-bogo       { background: #f07a00; color: #fff; }
.badge-virtual    { background: #7b5ea7; color: #fff; }

/* ── Product description (2-line clamp + Lees meer) ── */
.product-card-desc-wrap {
	margin-top: 6px;
}
.product-card-desc {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 0.8rem;
	color: #666;
	line-height: 1.5;
	margin-bottom: 3px;
	word-break: break-word;
	overflow-wrap: break-word;
}
.product-desc-more {
	background: none;
	border: none;
	padding: 0;
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--rabo-blue);
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.product-desc-more:hover {
	color: var(--rabo-blue-dark);
}

/* ── Duurzaamheid (sustainability) label on product image ── */
.duurzaamheid-icon {
	width: 13px;
	height: 13px;
	fill: currentColor;
	flex-shrink: 0;
}
.duurzaamheid-badge {
	position: absolute;
	bottom: 10px;
	left: 0;
	z-index: 10;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 14px 5px 10px;
	background: #2e7d32;
	color: #fff;
	border: none;
	border-radius: 0 20px 20px 0;
	font-size: 0.67rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.22);
	transition: background 0.15s, box-shadow 0.15s;
}
.duurzaamheid-badge:hover {
	background: #1b5e20;
	box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.3);
}

/* ── Shop modals (description, duurzaamheid, image zoom) ── */
.shop-modal {
	border: none;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 16px 64px rgba(0, 0, 0, 0.28);
	font-family: 'Open Sans', Calibri, Helvetica, sans-serif;
}
.shop-modal-header {
	background: var(--rabo-blue);
	padding: 18px 24px;
	border-bottom: none;
}
.shop-modal-header--green {
	background: #1b5e20;
}
.shop-modal-title {
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	font-style: italic;
	margin: 0;
	display: flex;
	align-items: center;
}
.shop-modal-title .duurzaamheid-icon {
	width: 18px;
	height: 18px;
	opacity: 0.9;
}
.shop-modal-body {
	padding: 24px;
	font-size: 0.88rem;
	color: #333;
	line-height: 1.65;
	background: #fff;
}

/* ── BOGO section — visually separated block ── */
#bogo-section {
	margin-top: 6px;
	margin-bottom: 4px;
	padding: 20px 22px 18px;
	border: 2px dashed #f07a00;
	border-radius: 12px;
	background: #fff8f3;
}

#bogo-section > .form-section-label {
	color: #f07a00;
	border-bottom-color: #f0cba0;
	margin-top: 0;
}

#bogo-recipient-fields {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid #f0cba0;
}

/* ── BOGO gift variant selector ── */
.bogo-gift-selector {
	background: #fff3e8;
	border: 1.5px solid #f07a00;
	padding: 12px 16px;
	border-radius: 8px;
}

/* ── Donation info box ── */
.donation-info-box {
	background: #f8f9fa;
	border-left: 3px solid #28a745;
	padding: 8px 12px;
	border-radius: 4px;
}

/* ── Color selector ── */
.product-color-selector {
	flex: 0 0 100%;
	margin-bottom: 8px;
}
.product-color-selector .color-swatches {
	display: none;
}

.color-swatches {
	display: flex;
	gap: 6px;
	margin-bottom: 12px;
}

.color-swatch {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 2.5px solid transparent;
	padding: 0;
	cursor: pointer;
	outline: none;
	appearance: none;
	-webkit-appearance: none;
	box-shadow: 0 1px 4px rgba(0,0,0,0.25);
	transition: transform 0.12s, box-shadow 0.12s;
	flex-shrink: 0;
}

.color-swatch:hover {
	transform: scale(1.18);
}

.color-swatch.active {
	border-color: var(--rabo-blue);
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--rabo-blue);
}

/* Inside the white order card swatches need a visible edge */
.order-card .color-swatch {
	border-color: #ccc;
}

.order-card .color-swatch.active {
	border-color: var(--rabo-blue);
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--rabo-blue);
}

/* .shop-color-select {
	font-size: 0.82rem !important;
	padding-top: 3px !important;
	padding-bottom: 3px !important;
} */

/* Disabled size options — visual strikethrough where browsers support it */
.size-select option:disabled {
	color: #aaa;
	text-decoration: line-through;
}

/* ── Order section ── */
.order-section {
	position: relative;
	z-index: 1;
	padding: 0 12px 68px;
}

.order-section-heading {
	text-align: center;
	margin-bottom: 30px;
}

.order-section-heading h2 {
	font-size: clamp(1.7rem, 4vw, 2.6rem);
	font-weight: 900;
	font-style: italic;
	color: #fff;
	margin-bottom: 6px;
	text-shadow: 0 2px 12px rgba(0,0,0,0.22);
}

.order-section-heading p {
	color: rgba(255,255,255,0.85);
	font-size: 0.95rem;
	margin: 0;
}

.order-card {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 8px 52px rgba(0,0,0,0.22);
	overflow: hidden;
	max-width: 760px;
	margin: 0 auto;
}

.order-card-header {
	background: var(--rabo-blue);
	padding: 18px 30px;
}

.order-card-header h3 {
	color: #fff;
	font-size: 1.1rem;
	font-weight: 700;
	font-style: italic;
	margin: 0;
}

.order-card-body {
	padding: 26px 30px 32px;
}

/* Form section labels */
.form-section-label {
	display: block;
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.9px;
	color: #888;
	margin: 20px 0 10px;
	padding-bottom: 7px;
	border-bottom: 2px solid #f0f0f0;
}

.form-section-label:first-child {
	margin-top: 0;
}

/* Override form field styles inside the white order card */
.order-card .form-control,
.order-card .form-select {
	border: 1.5px solid #e0e0e0 !important;
	border-radius: 7px !important;
	background: #fafafa !important;
	color: #333 !important;
	font-size: 0.88rem;
	padding: 9px 12px;
	transition: border-color 0.18s, box-shadow 0.18s;
}

.order-card .form-control:focus,
.order-card .form-select:focus {
	border-color: var(--rabo-blue) !important;
	background: #fff !important;
	box-shadow: 0 0 0 3px rgba(0,48,130,0.1) !important;
}

.order-card .form-control.is-invalid,
.order-card .form-select.is-invalid {
	border-color: #dc3545 !important;
}

/* Fix text-light/text-white for white background context */
.order-card h5.text-light {
	color: var(--rabo-blue) !important;
	font-size: 0.9rem;
	font-weight: 700;
}

.order-card .invalid-feedback {
	color: #dc3545 !important;
	font-size: 0.78rem;
}

.order-card .form-text {
	color: #999 !important;
}

.order-card #delivery-address-info {
	color: #666 !important;
}

.order-submit-btn {
	background: var(--rabo-orange) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 8px !important;
	padding: 13px 28px !important;
	font-size: 0.98rem !important;
	font-weight: 700 !important;
	cursor: pointer;
	width: 100%;
	transition: background 0.18s, transform 0.1s;
}

.order-submit-btn:hover { background: #e04300 !important; }
.order-submit-btn:active { transform: scale(0.98); }

/* ── Closing message ── */
.closing-message {
	text-align: center;
	color: rgba(255,255,255,0.88);
	padding: 20px 20px 0;
	font-size: 0.95rem;
	line-height: 1.8;
	position: relative;
	z-index: 1;
}

/* ── FAQ ── */
.faq-section {
	position: relative;
	z-index: 1;
	padding: 32px 12px 56px;
	max-width: 760px;
	margin: 0 auto;
}

.faq-title {
	color: #fff;
	font-size: clamp(1.7rem, 4vw, 2.6rem);
	font-weight: 900;
	font-style: italic;
	text-align: center;
	margin-bottom: 14px;
	text-shadow: 0 2px 12px rgba(0,0,0,0.22);
}

.faq-toggle {
	display: block;
	margin: 0 auto 22px;
	background: rgba(255,255,255,0.18);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border: 2px solid rgba(255,255,255,0.5) !important;
	color: #fff !important;
	border-radius: 7px !important;
	padding: 10px 30px !important;
	font-weight: 700 !important;
	font-size: 0.9rem !important;
	transition: background 0.18s;
}

.faq-toggle:hover {
	background: rgba(255,255,255,0.3);
	color: #fff !important;
}

/* ── Shop footer ── */
.shop-footer {
	background: var(--rabo-blue);
	padding: 14px 24px;
	text-align: center;
	color: rgba(255,255,255,0.6);
	font-size: 0.8rem;
}

/* ── Shop responsive ── */
@media (max-width: 576px) {
	.shop-header { padding: 10px 16px; }
	.shop-logo { font-size: 1.6rem; }
	.shop-hero { padding: 40px 14px 28px; }
	.order-card-body { padding: 18px 16px 22px; }
	.order-card-header { padding: 14px 18px; }
	.faq-section { padding: 24px 12px 44px; }
}

@media (max-width: 400px) {
	.product-card .product-img { width: 100%; }
}

#toast-container { z-index: 9999; }

/* ===== DEMO MODE — Email Preview Panel ===== */
.demo-email-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	z-index: 10000;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}
.demo-email-overlay.open {
	opacity: 1;
	pointer-events: auto;
}

.demo-email-panel {
	position: fixed;
	top: 0;
	right: 0;
	width: 580px;
	max-width: 95vw;
	height: 100vh;
	background: #fff;
	box-shadow: -6px 0 40px rgba(0, 0, 0, 0.25);
	z-index: 10001;
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.demo-email-panel.open {
	transform: translateX(0);
}

.demo-email-panel-header {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 18px;
	background: #111827;
	color: #fff;
	flex-shrink: 0;
}
.demo-badge-label {
	background: #FC5E13;
	color: #fff;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	padding: 3px 8px;
	border-radius: 3px;
	flex-shrink: 0;
}
.demo-panel-title {
	flex: 1;
	font-size: 13px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.85);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.demo-panel-close {
	background: none;
	border: none;
	color: rgba(255, 255, 255, 0.55);
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	padding: 0 2px;
	flex-shrink: 0;
	font-family: inherit;
}
.demo-panel-close:hover {
	color: #fff;
}
.demo-email-panel iframe {
	flex: 1;
	width: 100%;
	border: none;
	background: #f5f5f5;
}

/* Floating demo trigger button */
.demo-fab {
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 9980;
	background: #111827;
	color: #fff;
	border: none;
	border-radius: 10px;
	padding: 12px 18px;
	font-size: 13px;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	display: none;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	transition: background 0.15s, transform 0.15s;
}
@media (max-width: 575px) {
	.demo-fab {
		bottom: 0;
		right: 0;
		left: 0;
		border-radius: 0;
		flex-direction: row;
		align-items: center;
		justify-content: center;
		gap: 8px;
		padding: 8px 12px;
		font-size: 11px;
	}
	.demo-fab-label {
		margin-bottom: 0;
	}
	.demo-fab-actions {
		flex-wrap: nowrap;
	}
	.demo-fab-btn {
		padding: 4px 10px;
		font-size: 11px;
	}
}
.demo-fab.visible {
	display: flex;
}
.demo-fab:hover {
	background: #1f2937;
	transform: translateY(-1px);
}
.demo-fab .demo-badge-label {
	font-size: 8px;
	padding: 2px 6px;
}
.demo-fab-label {
	margin-bottom: 2px;
}
.demo-fab-actions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.demo-fab-btn {
	background: rgba(255, 255, 255, 0.12);
	border: none;
	color: #fff;
	border-radius: 6px;
	padding: 5px 12px;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
}
