/*
Theme Name: PickMix
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: A bold, bakery-style Bootstrap + WooCommerce theme with an ACF-powered homepage.
Version: 1.1
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
Text Domain: pickmix
*/

/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
	--pm-navy: #14161a;
	--pm-cream: #fdece1;
	--pm-peach: #f0a382;
	--pm-coral: #e8845c;
	--pm-salmon: #ea8a70;
	--pm-blue: #ef7039;
	--pm-pink: #ff1f8f;
	--pm-yellow: #fbe28c;
	--pm-mainpleese: #efa693;
	--pm-card-pink: #fadde0;
	--pm-card-yellow: #fbe9a9;
	--pm-card-green: #c9f2da;

	--pm-font-display: 'Archivo Black', 'Arial Black', sans-serif;
	--pm-font-script: 'Pacifico', cursive;
	--pm-font-body: 'Inter', -apple-system, sans-serif;
}

body {
	font-family: var(--pm-font-body);
	color: var(--pm-navy);
	background: var(--pm-cream);
}

a {
	text-decoration: none;
}

/* ==========================================================================
   Announcement bar + shared marquee styles
   ========================================================================== */
.announcement-bar {
	background: #efd5cc;
	color: var(--pm-navy);
	overflow: hidden;
	white-space: nowrap;
	padding: 0.55rem 0;
}

.announcement-track,
.marquee-track {
	display: inline-flex;
	align-items: center;
	animation: pm-scroll 22s linear infinite;
}

.announcement-track span {
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 0 2rem;
}

.marquee-bar {
	background: var(--pm-pink);
	color: #fff;
	overflow: hidden;
	white-space: nowrap;
	padding: 0.9rem 0;
}

.marquee-track span {
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0 1.75rem;
	position: relative;
}

.marquee-track span::after {
	content: '|';
	position: absolute;
	right: -1rem;
	opacity: 0.6;
}

@keyframes pm-scroll {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

/* ==========================================================================
   Header / navigation
   ========================================================================== */
.site-header .navbar {
	background: var(--pm-mainpleese);
	padding: 1rem 0;
}

.brand-badge {
	display: inline-block;
	background: var(--pm-navy);
	color: #fff;
	font-family: var(--pm-font-script);
	font-size: 1.6rem;
	line-height: 1;
	padding: 0.5rem 1.25rem 0.65rem;
	border-radius: 10px;
}

.main-menu .nav-link {
	font-weight: 600;
	font-size: 1.15rem;
	color: var(--pm-navy) !important;
	padding: 0.5rem 1.1rem !important;
}

/* Active / hover underline: a short rounded pink bar under the label. */
.main-menu .nav-link,
.main-menu .menu-item > a {
	position: relative;
}

.main-menu .nav-link::after,
.main-menu .menu-item > a::after {
	content: '';
	position: absolute;
	left: 1rem;
	right: 1rem;
	bottom: 0.1rem;
	height: 3px;
	border-radius: 999px;
	background: var(--pm-pink);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.25s ease;
}

.main-menu .nav-link:hover::after,
.main-menu .menu-item > a:hover::after,
.main-menu .current-menu-item > a::after,
.main-menu .current-menu-ancestor > a::after,
.main-menu .current_page_item > a::after,
.main-menu .nav-link.active::after,
.main-menu a.is-current::after,
.main-menu .nav-link[aria-current="page"]::after {
	transform: scaleX(1);
}

.main-menu .nav-link:hover {
	color: var(--pm-navy) !important;
}

.header-icons {
	gap: 1.1rem;
}

.icon-link {
	color: var(--pm-navy);
	position: relative;
	display: inline-flex;
}

.cart-count {
	position: absolute;
	top: -8px;
	right: -10px;
	background: var(--pm-pink);
	color: #fff;
	font-size: 0.65rem;
	font-weight: 700;
	line-height: 1;
	padding: 3px 5px;
	border-radius: 999px;
	min-width: 16px;
	text-align: center;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	display: flex;
	flex-wrap: wrap;
	min-height: 560px;
}

.hero-left {
	flex: 1 1 480px;
	background: #f9b99a;
	display: flex;
	align-items: center;
	padding: 3rem 4vw;
}

.hero-copy {
	max-width: 640px;
}

.hero-heading {
	font-family: var(--pm-font-display);
	text-transform: uppercase;
	line-height: 0.88;
	margin-bottom: 1.5rem;
	font-size: clamp(2.75rem, 7vw, 5.5rem);
}

.hero-heading .line-1 {
	display: block;
	color: var(--pm-navy);
}

.hero-heading .line-2 {
	display: block;
	color: var(--pm-coral);
}

.hero-text {
	font-size: 1.15rem;
	font-weight: 500;
	max-width: 480px;
	margin-bottom: 2rem;
}

.hero-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.btn-hero-solid,
.btn-hero-outline {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.9rem 1.6rem;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.95rem;
}

.btn-hero-solid {
	background: var(--pm-peach);
	color: var(--pm-navy);
	border: 2px solid var(--pm-peach);
}

.btn-hero-solid:hover {
	background: var(--pm-coral);
	border-color: var(--pm-coral);
	color: var(--pm-navy);
}

.btn-hero-outline {
	background: transparent;
	color: var(--pm-navy);
	border: 2px solid var(--pm-navy);
}

.btn-hero-outline:hover {
	background: var(--pm-navy);
	color: #fff;
}

.hero-right {
	flex: 1 1 480px;
	background: var(--pm-salmon) center/cover no-repeat;
	min-height: 360px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
}

/* Image, uploaded video, or YouTube embed — all fill .hero-right edge to edge. */
.hero-media-cover {
	position: absolute;
	inset: 0;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.hero-media-cover video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hero-media-cover-youtube iframe {
	width: 100%;
	height: 100%;
	object-fit: cover; /* crops to fill .hero-right, the same as the <video> above */
	border: 0;
	pointer-events: none; /* it's a silent background video, not something to click into */
}

.hero-placeholder {
	border: 2px dashed rgba(255, 255, 255, 0.6);
	border-radius: 12px;
	padding: 2rem;
	margin: 2rem;
	text-align: center;
	color: #fff;
	font-weight: 600;
}

/* ==========================================================================
   Category cards
   ========================================================================== */
.category-cards {
	background: var(--pm-cream);
	padding: 1.25rem 1.25rem;
}

.cards-row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
	max-width: 1920px;
	margin: 0 auto;
}

.category-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 2rem 2rem 2rem 2rem;
	min-height: 300px;
	border-radius: 28px;
	color: var(--pm-navy);
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 28px rgba(20, 22, 26, 0.1);
	color: var(--pm-navy);
}

.category-card.card-pink { background: var(--pm-card-pink); }
.category-card.card-yellow { background: var(--pm-card-yellow); }
.category-card.card-green { background: var(--pm-card-green); }

.card-label {
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 1.5rem;
	font-weight: 800;
	margin-bottom: 0.75rem;
}

.card-heading {
	font-family: var(--pm-font-display);
	text-transform: uppercase;
	font-size: clamp(1.75rem, 3.4vw, 2.5rem);
	line-height: 0.95;
	margin-bottom: 1.25rem;
}

.btn-card {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.75rem 1.4rem;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--pm-navy);
	border: 2px solid var(--pm-navy);
}

.btn-card-peach { background: var(--pm-peach); }
.btn-card-yellow { background: var(--pm-mainpleese); }
.btn-card-green { background: #a9e6c3; }

.card-image {
	flex: 0 0 38%;
	align-self: center;
	aspect-ratio: 1 / 1;
	max-width: 220px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.06) center/cover no-repeat;
}

@media (max-width: 1199.98px) {
	.cards-row { grid-template-columns: 1fr; }
	.category-card { min-height: 240px; }
	.card-image { flex-basis: 34%; }
}

@media (max-width: 575.98px) {
	.category-cards { padding: 1rem; }
	.category-card { padding: 1.5rem; min-height: 200px; }
	.card-image { flex-basis: 40%; }
}

/* ==========================================================================
   Product rows
   ========================================================================== */
.product-row {
	background: var(--pm-cream);
	padding: 3rem 0;
}

.product-row-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 1.5rem;
}

.product-row-header h2 {
	font-family: var(--pm-font-display);
	text-transform: uppercase;
	line-height: 0.95;
	font-size: clamp(2.25rem, 5.4vw, 4.25rem);
	margin: 0;
}

.view-all {
	font-weight: 700;
	color: var(--pm-navy);
	white-space: nowrap;
}

.view-all:hover {
	color: var(--pm-coral);
}

.product-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
}

.product-card {
	position: relative;
	border-radius: 14px;
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	text-align: center;
}

.product-card.bg-pink { background: var(--pm-card-pink); }
.product-card.bg-yellow { background: var(--pm-card-yellow); }
.product-card.bg-green { background: var(--pm-card-green); }
.product-card.bg-salmon { background: #f7cfc4; }

.product-card-label {
	text-transform: uppercase;
	font-size: 1.2rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	margin-bottom: 1rem;
}

.product-card-image {
	display: block;
	margin: 0 auto 1rem;
	max-width: 75%;
}

.product-card-image img {
	width: 100%;
	height: auto;
	display: block;
}

.product-card-title {
	font-size: 0.9rem;
	font-weight: 700;
	text-transform: uppercase;
	line-height: 1.25;
	margin-bottom: 0.4rem;
}

.product-card-title a {
	color: var(--pm-navy);
}

.product-card-price {
	font-weight: 700;
	margin-bottom: 1rem;
}

.product-card-btn { margin-top: auto; }

.product-card-btn a,
.product-card-btn .added_to_cart {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	width: 100%;
	padding: 0.7rem 1rem;
	border-radius: 999px;
	border: 2px solid #000;
	font-weight: 700;
	font-size: 0.8rem;
	text-transform: uppercase;
	color: var(--pm-navy);
}

.product-card-btn.btn-yellow a { background: var(--pm-mainpleese); }
.product-card-btn.btn-pink a { background: var(--pm-pink); color: #fff; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
	background: var(--pm-navy);
	color: #fff;
	padding: 2.5rem 0;
	margin-top: 3rem;
}

.footer a { color: #fff; }

/* ==========================================================================
   Build Your Bundle (shop.php)
   ========================================================================== */
.bundle-page {
	background: var(--pm-cream);
}

.bundle-layout {
	display: grid;
	grid-template-columns: 1fr 380px;
	gap: 2rem;
	align-items: start;
}

.bundle-product-card {
	background: #fff;
	color: var(--pm-navy);
	text-align: center;
	border-radius: 12px;
	padding: 1rem;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.bundle-product-image {
	position: relative;
	background: #e9e9e9;
	border-radius: 8px;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	margin-bottom: 0.75rem;
}

.bundle-product-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.sold-out-flag {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: rgba(20, 22, 26, 0.85);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 0.4rem 0.9rem;
	border-radius: 999px;
}

.bundle-product-rating {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.85rem;
	margin-bottom: 0.35rem;
}

.bundle-product-rating .star-rating { font-size: 0.85rem; }

.bundle-product-title {
	font-size: 0.95rem;
	font-weight: 700;
	margin-bottom: 0.15rem;
	line-height: 1.25;
	color: inherit;
}

.bundle-product-link {
	font-size: 0.8rem;
	text-decoration: underline;
	color: inherit;
	margin-bottom: 0.75rem;
	display: inline-block;
}

.btn-add-to-bundle,
.btn-out-of-stock {
	margin-top: auto;
	width: 100%;
	padding: 0.65rem 1rem;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.85rem;
	border: 2px solid var(--pm-navy);
}

.btn-add-to-bundle {
	background: var(--pm-mainpleese);
	color: var(--pm-navy);
}

.btn-add-to-bundle:hover { background: #e8957f; }

.btn-out-of-stock {
	background: #fff;
	color: #9a9a9a;
	border-color: #d8d8d8;
}

/* Sidebar */
.bundle-sidebar {
	position: sticky;
	top: 1.5rem;
	background: #fff;
	border: 1px solid #e2ded6;
	border-radius: 14px;
	padding: 1.75rem;
}

.bundle-step h2 {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 1.15rem;
	font-weight: 800;
	margin-bottom: 1rem;
}

.step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--pm-mainpleese);
	font-size: 0.8rem;
	font-weight: 800;
}

.bundle-sidebar hr {
	border-color: #e2ded6;
	margin: 1.5rem 0;
}

.tier-options {
	display: flex;
	gap: 1rem 0.4rem;
	flex-wrap: nowrap;
}

.tier-option {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	background: #fff;
	border: 2px solid var(--pm-navy);
	border-radius: 999px;
	padding: 0.65rem 0.25rem;
	font-weight: 700;
	font-size: 0.78rem;
	white-space: nowrap;
}

.tier-option.active {
	background: var(--pm-mainpleese);
}

.tier-badge {
	position: absolute;
	top: -10px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--pm-blue);
	color: #fff;
	font-size: 0.65rem;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 999px;
	white-space: nowrap;
}

.tier-badge-15 {
	background: #29a86a;
}

.slot-progress {
	height: 6px;
	background: #eee;
	border-radius: 999px;
	margin-bottom: 1rem;
	overflow: hidden;
}

.slot-progress-fill {
	height: 100%;
	background: var(--pm-mainpleese);
	width: 0;
	transition: width 0.2s ease;
}

.bundle-slots {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-bottom: 0.5rem;
}

.bundle-slot {
	flex: 1 1 90px;
	min-height: 90px;
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 0.7rem;
	padding: 0.4rem;
	cursor: default;
}

.bundle-slot.empty {
	border: 2px dashed #cfe0f5;
	color: #7a8a9a;
}

.bundle-slot.filled {
	border: 2px solid var(--pm-navy);
	background: var(--pm-card-yellow);
	cursor: pointer;
	position: relative;
}

.bundle-slot.filled img {
	width: 36px;
	height: 36px;
	object-fit: cover;
	border-radius: 6px;
	margin-bottom: 0.25rem;
}

.slot-name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-weight: 600;
}

.slot-remove {
	position: absolute;
	top: 2px;
	right: 6px;
	font-weight: 700;
	color: var(--pm-navy);
}

.slot-status {
	font-size: 0.8rem;
	color: var(--pm-coral);
	font-weight: 600;
	min-height: 1.2em;
}

.frequency-option {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	border: 2px solid var(--pm-navy);
	border-radius: 10px;
	padding: 0.9rem 1rem;
	margin-bottom: 0.75rem;
	cursor: pointer;
}

.frequency-option input { margin-top: 4px; }

.frequency-option span { font-weight: 700; font-size: 0.9rem; }

.frequency-option ul {
	list-style: disc;
	font-weight: 500;
	font-size: 0.8rem;
	margin: 0.4rem 0 0 1.1rem;
	padding: 0;
}

.bundle-total-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 1.25rem 0 1rem;
	font-weight: 700;
}

.badge-shipping,
.badge-discount {
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	padding: 3px 8px;
	border-radius: 999px;
	color: #fff;
}

.badge-shipping { background: var(--pm-coral); }
.badge-discount { background: var(--pm-blue); }

.total-amount { margin-left: auto; font-size: 1.1rem; }

.btn-complete-bundle {
	width: 100%;
	padding: 0.9rem;
	border-radius: 999px;
	border: 2px solid var(--pm-navy);
	background: #e7e2d8;
	font-weight: 800;
	margin-bottom: 0.75rem;
}

.btn-complete-bundle.is-ready {
	background: var(--pm-mainpleese);
}

.btn-complete-bundle:disabled {
	opacity: 0.7;
}

.bundle-fineprint {
	font-size: 0.75rem;
	color: #8a8a8a;
	text-align: center;
	margin: 0;
}

/* Bundle panel as a bottom sheet (phones + tablets, where it would otherwise sit under every product).
   Desktop keeps the panel on the right; the strip and backdrop are hidden there. */
.bundle-strip,
.bundle-sheet-backdrop {
	display: none;
}

@keyframes pm-pop {
	0% { transform: scale(1); }
	40% { transform: scale(1.5); }
	100% { transform: scale(1); }
}

.bundle-strip-count strong.pm-pop { display: inline-block; animation: pm-pop 0.35s ease; }

@media (max-width: 991.98px) {
	.bundle-layout {
		grid-template-columns: 1fr;
	}

	/* room at the bottom so the strip never hides the last products */
	.bundle-page {
		padding-bottom: 110px;
	}

	/* ...and never covers the footer when scrolled to the very bottom */
	.bundle-page + .footer {
		margin-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
	}

	.bundle-sidebar {
		--pm-strip-h: calc(72px + env(safe-area-inset-bottom, 0px));
		position: fixed;
		top: auto;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 1030;
		display: flex;
		flex-direction: column;
		max-height: 85vh;
		padding: 0;
		border: 0;
		border-radius: 18px 18px 0 0;
		box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.18);
		transform: translateY(calc(100% - var(--pm-strip-h)));
		transition: transform 0.3s ease;
	}

	.bundle-sidebar.sheet-open {
		transform: translateY(0);
	}

	.bundle-strip {
		display: flex;
		align-items: stretch;
		flex: 0 0 auto;
		min-height: var(--pm-strip-h);
		padding-bottom: env(safe-area-inset-bottom, 0px);
		background: #fff;
		border-radius: 18px 18px 0 0;
		border-bottom: 1px solid #e2ded6;
	}

	.bundle-strip-toggle {
		position: relative;
		flex: 1 1 auto;
		display: flex;
		align-items: center;
		gap: 0.75rem;
		padding: 1.1rem 0.75rem 0.5rem 1.25rem;
		border: 0;
		background: transparent;
		text-align: left;
		color: var(--pm-navy);
		cursor: pointer;
	}

	.bundle-strip-handle {
		position: absolute;
		top: 8px;
		left: 50%;
		width: 44px;
		height: 5px;
		margin-left: -22px;
		border-radius: 999px;
		background: #d6d0c4;
	}

	.bundle-strip-main {
		display: flex;
		flex-direction: column;
		flex: 1 1 auto;
		line-height: 1.2;
	}

	.bundle-strip-count { font-size: 1.05rem; font-weight: 700; }
	.bundle-strip-count strong { font-size: 1.35rem; font-weight: 800; }
	.bundle-strip-hint { color: #6b6b6b; font-size: 0.72rem; }
	.bundle-strip-hint-open { display: none; }
	.sheet-open .bundle-strip-hint-open { display: inline; }
	.sheet-open .bundle-strip-hint-closed { display: none; }

	.bundle-strip-total { font-weight: 800; font-size: 1.05rem; }

	.bundle-strip-chevron {
		font-size: 0.8rem;
		transition: transform 0.3s ease;
	}
	.sheet-open .bundle-strip-chevron { transform: rotate(180deg); }

	.bundle-strip-complete {
		flex: 0 0 auto;
		align-self: center;
		margin: 0 1rem 0 0.25rem;
		padding: 0.7rem 1.1rem;
		border: 2px solid var(--pm-navy);
		border-radius: 999px;
		background: #e7e2d8;
		font-weight: 800;
		color: var(--pm-navy);
		cursor: pointer;
	}
	.bundle-strip-complete.is-ready { background: var(--pm-mainpleese); }

	.bundle-sheet-body {
		flex: 1 1 auto;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		padding: 1rem 1.25rem 1.5rem;
	}

	/* keep the hidden part out of the tab order while the sheet is down */
	.bundle-sidebar:not(.sheet-open) .bundle-sheet-body {
		visibility: hidden;
		transition: visibility 0s linear 0.3s;
	}

	.bundle-sheet-backdrop {
		display: block;
		position: fixed;
		inset: 0;
		background: rgba(20, 22, 26, 0.45);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.3s ease;
		z-index: 1020;
	}
	.bundle-sheet-backdrop.open { opacity: 1; visibility: visible; }
}

/* Postcode checker */
.pm-postcode-check {
	background: #fff;
	border: 2px solid var(--pm-navy);
	border-radius: 14px;
	padding: 1rem 1.25rem;
	margin: 0 0 1.5rem;
	max-width: 520px;
}

.pm-postcode-check label {
	display: block;
	font-weight: 700;
	font-size: 0.9rem;
	margin-bottom: 0.5rem;
}

.pm-postcode-row {
	display: flex;
	gap: 0.5rem;
}

.pm-postcode-input {
	flex: 1 1 auto;
	min-width: 0;
	border: 2px solid var(--pm-navy);
	border-radius: 999px;
	padding: 0.6rem 1rem;
	text-transform: uppercase;
	background: #fff;
}

.pm-postcode-button {
	border: 2px solid var(--pm-navy);
	background: var(--pm-mainpleese);
	border-radius: 999px;
	padding: 0.6rem 1.25rem;
	font-weight: 800;
}

.pm-postcode-hint {
	font-size: 0.8rem;
	color: #6b6b6b;
	margin: 0.6rem 0 0;
}

.pm-postcode-result {
	font-size: 0.85rem;
	font-weight: 600;
	margin: 0.4rem 0 0;
	min-height: 1.2em;
}

.pm-postcode-check.is-ok { border-color: #1c7a4a; }
.pm-postcode-check.is-ok .pm-postcode-result { color: #1c7a4a; }
.pm-postcode-check.is-bad { border-color: #c0392b; }
.pm-postcode-check.is-bad .pm-postcode-result { color: #c0392b; }

.single_add_to_cart_button.pm-blocked {
	opacity: 0.5;
	cursor: not-allowed;
}

.pm-checkout-postcode-note {
	font-size: 0.85rem;
	font-weight: 600;
	color: #c0392b;
	margin: 0.25rem 0 1rem;
}

/* Delivery + quantity messages */
.pm-checkout-postcode-note.is-ok { color: #1c7a4a; }
.pm-checkout-postcode-note.is-bad { color: #c0392b; }

/* Set on <body> by postcode-check.js while the checkout postcode can't be delivered to */
body.pm-delivery-blocked #place_order {
	opacity: 0.45;
	pointer-events: none;
	cursor: not-allowed;
}

.pm-quantity-note {
	font-size: 0.85rem;
	font-weight: 600;
	margin: 0.25rem 0 0.75rem;
}

.cart-drawer-alert {
	background: #fdecea;
	border: 1px solid #c0392b;
	color: #8f2a1f;
	border-radius: 10px;
	padding: 0.7rem 0.9rem;
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 1rem;
}

.btn-cart-drawer-checkout.is-disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

/* Cookie boxes (boxes.php) */
.boxes-page {
	background: #f1d5cc;
	min-height: 60vh;
}

.boxes-header h1 {
	font-family: var(--pm-font-display);
	text-transform: uppercase;
	color: #4a2512;
	margin-bottom: 1.25rem;
}

.boxes-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
}

.box-card {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.6);
	border-radius: 14px;
	padding: 0.75rem 0.75rem 1.25rem;
	text-align: center;
	display: flex;
	flex-direction: column;
}

.box-card-image {
	display: block;
	border-radius: 12px;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background: #e9a48f;
	margin-bottom: 0.9rem;
}

.box-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.box-card-title {
	font-family: var(--pm-font-display);
	text-transform: uppercase;
	font-size: 1.1rem;
	color: #4a2512;
	margin: 0 0 0.5rem;
}

.box-card-price {
	font-family: var(--pm-font-display);
	font-size: 1.15rem;
	color: #4a2512;
	margin: 0 0 0.6rem;
}

.box-card-contents {
	font-size: 0.85rem;
	color: #4a2512;
	text-align: left;
	margin: 0 0.5rem 0.75rem;
}

.box-card-contents summary {
	cursor: pointer;
	font-weight: 700;
	text-align: center;
}

.box-card-contents ul {
	margin: 0.5rem 0 0;
	padding-left: 1.1rem;
}

.btn-select-box {
	margin-top: auto;
	align-self: center;
	background: transparent;
	border: 0;
	border-bottom: 2px solid transparent;
	color: #c9694f;
	font-weight: 700;
	font-size: 1rem;
	padding: 0.3rem 0.75rem;
	text-decoration: none;
}

.btn-select-box:hover:not(:disabled),
.btn-select-box:focus-visible {
	color: #4a2512;
	border-bottom-color: #4a2512;
}

.btn-select-box:disabled {
	color: #a58a80;
	cursor: not-allowed;
}

.boxes-status {
	margin: 1rem 0 0;
	font-weight: 700;
	color: #8f2a1f;
	min-height: 1.2em;
}

.cart-drawer-item-contents {
	margin: 0 0 0.4rem;
	padding-left: 1rem;
	font-size: 0.75rem;
	color: #555;
}

@media (max-width: 991.98px) {
	.boxes-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575.98px) {
	.boxes-grid { grid-template-columns: 1fr; }
}

/* Cart drawer */
.cart-drawer-overlay {
	position: fixed;
	inset: 0;
	background: rgba(20, 22, 26, 0.5);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease;
	z-index: 1040;
}

.cart-drawer-overlay.open {
	opacity: 1;
	visibility: visible;
}

.cart-drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(420px, 100%);
	background: var(--pm-cream);
	box-shadow: -8px 0 24px rgba(0, 0, 0, 0.15);
	transform: translateX(100%);
	transition: transform 0.3s ease;
	z-index: 1050;
	display: flex;
	flex-direction: column;
}

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

.cart-drawer-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.25rem 1.5rem;
	border-bottom: 1px solid #e2ded6;
}

.cart-drawer-header h2 {
	font-size: 1.25rem;
	font-weight: 800;
	margin: 0;
}

.cart-drawer-close {
	background: none;
	border: none;
	font-size: 1.75rem;
	line-height: 1;
	color: var(--pm-navy);
}

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

.cart-drawer-shipping { margin-bottom: 1.25rem; }

.shipping-message {
	font-weight: 700;
	font-size: 0.95rem;
	margin-bottom: 0.5rem;
}

.shipping-bar {
	height: 8px;
	background: #e5e0d5;
	border-radius: 999px;
	overflow: hidden;
}

.shipping-bar-fill {
	height: 100%;
	background: var(--pm-blue);
	transition: width 0.3s ease;
}

.cart-drawer-items {
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0;
}

.cart-drawer-item {
	display: flex;
	gap: 0.9rem;
	padding: 0.9rem 0;
	border-bottom: 1px solid #ece7dc;
}

.cart-drawer-item-image img {
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: 8px;
	display: block;
}

.cart-drawer-item-name {
	font-weight: 700;
	font-size: 0.9rem;
	margin: 0 0 0.2rem;
}

.cart-drawer-item-meta {
	font-size: 0.8rem;
	color: #6b6b6b;
	margin: 0 0 0.3rem;
}

.cart-drawer-item-remove {
	font-size: 0.75rem;
	text-decoration: underline;
	color: var(--pm-navy);
}

.cart-drawer-total {
	display: flex;
	justify-content: space-between;
	font-weight: 800;
	font-size: 1.1rem;
	padding: 1rem 0;
	border-top: 1px solid #e2ded6;
	margin-bottom: 1rem;
}

.btn-cart-drawer-checkout {
	display: block;
	text-align: center;
	width: 100%;
	padding: 0.9rem;
	border-radius: 999px;
	background: var(--pm-mainpleese);
	border: 2px solid var(--pm-navy);
	font-weight: 800;
	color: var(--pm-navy);
}

.cart-drawer-empty {
	color: #6b6b6b;
	text-align: center;
	padding: 2rem 0;
}

/* ==========================================================================
   Subscription plans page + My Account (scoped: checkout/other pages untouched)
   ========================================================================== */
.bundle-plans-note {
	margin: 0 0 1rem;
	font-size: 0.9rem;
}

.bundle-plans-note a { text-decoration: underline; color: var(--pm-navy); font-weight: 700; }

.pm-plans-header { margin-bottom: 1.5rem; }
.pm-plans-header h1 { font-family: var(--pm-font-display); text-transform: uppercase; }

.pm-plans-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}

.pm-plan-card {
	border-radius: 14px;
	padding: 1.75rem;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.pm-plan-card.bg-pink { background: var(--pm-card-pink); }
.pm-plan-card.bg-yellow { background: var(--pm-card-yellow); }
.pm-plan-card.bg-green { background: var(--pm-card-green); }

.pm-plan-name {
	font-family: var(--pm-font-display);
	text-transform: uppercase;
	font-size: 1.75rem;
	margin: 0;
}

.pm-plan-price { font-size: 1.5rem; font-weight: 800; margin: 0; }
.pm-plan-boxes { font-weight: 700; margin: 0; }
.pm-plan-desc p, .pm-plan-contents, .pm-plan-delivery { margin: 0; font-size: 0.9rem; }
.pm-plan-delivery { color: #555; }
.pm-plan-cta { margin-top: auto; align-self: flex-start; }

/* My Account ---------------------------------------------------------------
   Layout: nav card on the left, content card on the right. Grid columns are set
   explicitly because WooCommerce puts an empty notices <div> first, which would
   otherwise take the nav's grid cell. */
.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 2rem;
	align-items: start;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem 0 4rem;
}

.woocommerce-account .woocommerce::before,
.woocommerce-account .woocommerce::after { display: none; }

.woocommerce-account .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-account .woocommerce-notices-wrapper:empty { display: none; }

.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
	float: none !important;
	width: auto !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation { grid-column: 1; position: sticky; top: 1.5rem; }
.woocommerce-account .woocommerce-MyAccount-content {
	grid-column: 2;
	background: #fff;
	border-radius: 20px;
	padding: 2rem;
	box-shadow: 0 6px 24px rgba(20, 22, 26, 0.06);
	min-width: 0;
}

.woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	background: #fff;
	border: 2px solid var(--pm-navy);
	border-radius: 14px;
	overflow: hidden;
}

.woocommerce-MyAccount-navigation li { margin: 0; }

.woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 0.8rem 1.1rem;
	font-weight: 700;
	color: var(--pm-navy);
	border-bottom: 1px solid #ece6df;
}

.woocommerce-MyAccount-navigation li:last-child a { border-bottom: 0; }
.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation li a:hover { background: var(--pm-mainpleese); }

.woocommerce-account .woocommerce-MyAccount-content > p:first-child { margin-top: 0; }
.woocommerce-account .woocommerce-MyAccount-content a:not(.button) {
	color: var(--pm-navy);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
	font-family: var(--pm-font-display);
	text-transform: uppercase;
	font-size: 1.3rem;
	margin: 0 0 1rem;
}

/* buttons */
.woocommerce-account .woocommerce-MyAccount-content .button,
.woocommerce-account .woocommerce-MyAccount-content button.button,
.woocommerce-account .woocommerce-MyAccount-content input.button,
.woocommerce-account .woocommerce-form-login .button,
.woocommerce-account .woocommerce-form-register .button {
	display: inline-block;
	background: var(--pm-mainpleese);
	color: var(--pm-navy) !important;
	border: 2px solid var(--pm-navy);
	border-radius: 999px;
	padding: 0.55rem 1.25rem;
	font-weight: 800;
	font-size: 0.85rem;
	text-decoration: none !important;
	cursor: pointer;
}

.woocommerce-account .woocommerce-MyAccount-content .button:hover,
.woocommerce-account .woocommerce-form-login .button:hover,
.woocommerce-account .woocommerce-form-register .button:hover { background: #e8957f; }
.woocommerce-account .woocommerce-MyAccount-content .pm-btn-danger { background: #fff; border-color: #c0392b; color: #c0392b !important; }

/* tables: orders, downloads, order details */
.woocommerce-account table.shop_table,
.woocommerce-account table.woocommerce-orders-table {
	width: 100%;
	border: 0;
	border-collapse: collapse;
	margin: 0 0 1.5rem;
}

.woocommerce-account table.shop_table th,
.woocommerce-account table.shop_table td {
	padding: 0.85rem 0.75rem;
	border: 0;
	border-bottom: 1px solid #ece6df;
	text-align: left;
	vertical-align: middle;
}

.woocommerce-account table.shop_table thead th {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	border-bottom: 2px solid var(--pm-navy);
}

.woocommerce-account table.shop_table .woocommerce-orders-table__cell-order-number a { color: var(--pm-navy); }
.woocommerce-account table.shop_table .woocommerce-orders-table__cell-order-actions .button { margin: 0 0.35rem 0.35rem 0; }

/* addresses: two cards side by side */
.woocommerce-account .woocommerce-Addresses,
.woocommerce-account .u-columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
}
.woocommerce-account .woocommerce-Addresses::before,
.woocommerce-account .woocommerce-Addresses::after,
.woocommerce-account .u-columns::before,
.woocommerce-account .u-columns::after { display: none; }
.woocommerce-account .woocommerce-Address,
.woocommerce-account .u-column1,
.woocommerce-account .u-column2 {
	float: none !important;
	width: auto !important;
	background: var(--pm-cream);
	border-radius: 14px;
	padding: 1.25rem;
}
.woocommerce-account .woocommerce-Address-title { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.woocommerce-account .woocommerce-Address-title h3 { margin: 0 0 0.75rem; }
.woocommerce-account address { font-style: normal; line-height: 1.6; }

/* forms: edit account, edit address, login */
.woocommerce-account form .form-row {
	float: none !important;
	width: 100% !important;
	margin: 0 0 1rem;
	padding: 0;
}
.woocommerce-account form .form-row-first,
.woocommerce-account form .form-row-last { width: calc(50% - 0.5rem) !important; display: inline-block; vertical-align: top; }
.woocommerce-account form .form-row-first { margin-right: 1rem; }
.woocommerce-account form .form-row label { display: block; font-weight: 700; font-size: 0.85rem; margin-bottom: 0.35rem; }
.woocommerce-account form .form-row .required { color: #c0392b; text-decoration: none; }
.woocommerce-account fieldset { border: 0; padding: 0; margin: 1.5rem 0 0; }
.woocommerce-account fieldset legend { font-family: var(--pm-font-display); text-transform: uppercase; font-size: 1.1rem; padding: 0; margin-bottom: 1rem; }
.woocommerce-account em, .woocommerce-account span em { font-size: 0.8rem; opacity: 0.7; }

.woocommerce-account .woocommerce input[type="text"],
.woocommerce-account .woocommerce input[type="email"],
.woocommerce-account .woocommerce input[type="tel"],
.woocommerce-account .woocommerce input[type="password"],
.woocommerce-account .woocommerce textarea,
.woocommerce-account .woocommerce select {
	width: 100%;
	height: 46px;
	border: 2px solid var(--pm-navy);
	border-radius: 10px;
	padding: 0 0.9rem;
	background: #fff;
	color: var(--pm-navy);
	box-shadow: none;
}
.woocommerce-account .woocommerce textarea { height: auto; padding: 0.7rem 0.9rem; }

/* logged-out: login / register card */
.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register {
	background: #fff;
	border: 0 !important;
	border-radius: 20px;
	padding: 2rem !important;
	box-shadow: 0 6px 24px rgba(20, 22, 26, 0.06);
	max-width: 520px;
}
.woocommerce-account .woocommerce:not(:has(.woocommerce-MyAccount-navigation)) { max-width: 1100px; margin: 0 auto; padding: 2rem 0 4rem; }
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-error {
	background: #fff;
	border-top: 0;
	border-left: 4px solid var(--pm-yellow);
	border-radius: 10px;
	padding: 1rem 1.25rem 1rem 3rem;
	margin: 0 0 1.5rem;
	list-style: none;
}

.pm-sub-card {
	background: #fff;
	border: 2px solid var(--pm-navy);
	border-radius: 14px;
	padding: 1.5rem;
	margin-bottom: 1.25rem;
}

.pm-sub-plan {
	font-family: var(--pm-font-display);
	text-transform: uppercase;
	font-size: 1.5rem;
	margin: 0 0 1rem;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.pm-sub-badge {
	font-family: var(--pm-font-body);
	font-size: 0.75rem;
	font-weight: 800;
	background: var(--pm-card-green);
	border-radius: 999px;
	padding: 0.2rem 0.7rem;
}

.pm-sub-status-on-hold .pm-sub-badge { background: #f7cfc4; }
.pm-sub-status-cancelled .pm-sub-badge,
.pm-sub-status-expired .pm-sub-badge,
.pm-sub-status-pending-cancel .pm-sub-badge { background: #e7e2d8; }

.pm-sub-alert {
	background: #fdecea;
	border: 1px solid #c0392b;
	color: #8f2a1f;
	border-radius: 10px;
	padding: 0.75rem 1rem;
	font-weight: 600;
	margin-bottom: 1rem;
}

.pm-sub-details {
	display: grid;
	grid-template-columns: 170px 1fr;
	gap: 0.5rem 1rem;
	margin: 0 0 1.25rem;
}

.pm-sub-details dt { font-weight: 700; }
.pm-sub-details dd { margin: 0; }

.pm-sub-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

@media (max-width: 991.98px) {
	.pm-plans-grid { grid-template-columns: 1fr; }
	.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) { grid-template-columns: 1fr; gap: 1.25rem; }
	.woocommerce-account .woocommerce-MyAccount-navigation,
	.woocommerce-account .woocommerce-MyAccount-content { grid-column: 1; position: static; }
	.woocommerce-account .woocommerce-MyAccount-content { padding: 1.25rem; }
	.woocommerce-account .woocommerce-Addresses, .woocommerce-account .u-columns { grid-template-columns: 1fr; }
	.woocommerce-account form .form-row-first, .woocommerce-account form .form-row-last { width: 100% !important; margin-right: 0; }
	.pm-sub-details { grid-template-columns: 1fr; gap: 0.15rem; }
	.pm-sub-details dd { margin-bottom: 0.6rem; }
}

/* Cart drawer: editable lines + totals */
.cart-drawer-body.is-loading {
	opacity: 0.5;
	pointer-events: none;
}

.cart-drawer-loading { text-align: center; padding: 2rem 0; color: #6b6b6b; }

.cart-drawer-item-controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin: 0.4rem 0;
}

.pm-qty {
	display: inline-flex;
	align-items: center;
	border: 2px solid var(--pm-navy);
	border-radius: 999px;
	background: #fff;
	overflow: hidden;
}

.pm-qty-btn {
	width: 32px;
	height: 32px;
	border: 0;
	background: transparent;
	font-weight: 800;
	font-size: 1.1rem;
	line-height: 1;
	color: var(--pm-navy);
	cursor: pointer;
}

.pm-qty-btn:hover:not(:disabled) { background: var(--pm-mainpleese); }
.pm-qty-btn:disabled { opacity: 0.35; cursor: not-allowed; }

.pm-qty-input {
	width: 44px;
	text-align: center;
	border: 0;
	background: transparent;
	font-weight: 700;
	-moz-appearance: textfield;
}

.pm-qty-input::-webkit-outer-spin-button,
.pm-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.pm-qty-fixed { font-size: 0.85rem; color: #555; }
.cart-drawer-item-total { font-weight: 800; }

button.cart-drawer-item-remove {
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}

.cart-drawer-totals { margin: 0.5rem 0 1rem; }

.cart-drawer-row {
	display: flex;
	justify-content: space-between;
	padding: 0.25rem 0;
	font-size: 0.9rem;
}

.cart-drawer-row-total {
	font-weight: 800;
	font-size: 1.1rem;
	border-top: 1px solid #e2ded6;
	margin-top: 0.5rem;
	padding-top: 0.75rem;
}

.cart-drawer-note { font-size: 0.75rem; color: #6b6b6b; margin: 0.5rem 0 0; }

button.btn-cart-drawer-checkout { cursor: pointer; font-family: inherit; }

/* ==========================================================================
   Partners section (homepage, bottom)
   ========================================================================== */
.partners-section {
	background: var(--pm-cream);
	padding: 4rem 0;
	text-align: center;
}

.partners-heading {
	font-family: var(--pm-font-display);
	text-transform: uppercase;
	line-height: 0.95;
	font-size: clamp(1.9rem, 4.2vw, 3rem);
	margin: 0 0 1rem;
}

.partners-text {
	max-width: 620px;
	margin: 0 auto 2.5rem;
	color: #555;
	font-size: 1.05rem;
}

.partners-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	text-align: left;
}

.partner-card {
	text-align: center;
	color: var(--pm-navy);
	background: #fff;
	border: 1px solid var(--pm-navy);
	border-radius: 16px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

a.partner-card { transition: transform 0.2s ease, box-shadow 0.2s ease; }
a.partner-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(20, 22, 26, 0.1); }

.partner-card-image {
	aspect-ratio: 4 / 3;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.partner-card-image.bg-yellow { background-color: var(--pm-yellow); }
.partner-card-image.bg-blue { background-color: var(--pm-blue); }
.partner-card-image.bg-pink { background-color: var(--pm-pink); }

.partner-card-body {
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	flex: 1 1 auto;
}

.partner-card-title {
	font-size: 1.15rem;
	font-weight: 800;
	margin: 0;
}

.partner-card-text {
	color: #666;
	font-size: 0.9rem;
	margin: 0;
}

.btn-partner {
	margin-top: auto;
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.7rem 1.3rem;
	border-radius: 999px;
	font-weight: 800;
	font-size: 0.85rem;
	text-transform: uppercase;
	color: var(--pm-navy);
}

.btn-partner.bg-yellow { background: var(--pm-mainpleese); }
.btn-partner.bg-blue { background: var(--pm-blue); color: #fff; }
.btn-partner.bg-pink { background: var(--pm-pink); color: #fff; }
.btn-partner.is-disabled { opacity: 0.5; cursor: not-allowed; }

/* ==========================================================================
   Gift card banner (homepage, bottom)
   ========================================================================== */
.giftcard-section {
	background: var(--pm-cream);
	padding: 0 0 4rem;
}

.giftcard-banner {
	--giftcard-image: none;
	max-width: 1400px;
	margin: 0 auto;
	border-radius: 24px;
	overflow: hidden;
	background: var(--pm-card-pink) var(--giftcard-image) right center / 55% auto no-repeat;
	min-height: 420px;
	display: flex;
	align-items: center;
}

.giftcard-copy {
	width: 50%;
	padding: 3rem 2.5rem;
}

.giftcard-eyebrow {
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 700;
	font-size: 0.85rem;
	color: var(--pm-coral);
	margin-bottom: 0.5rem;
}

.giftcard-heading {
	font-family: var(--pm-font-display);
	text-transform: uppercase;
	line-height: 0.95;
	font-size: clamp(2rem, 4.5vw, 3.25rem);
	margin: 0 0 1.25rem;
}

.giftcard-heading .line-1 { display: block; color: var(--pm-navy); }
.giftcard-heading .line-2 { display: block; color: var(--pm-coral); }

.giftcard-text {
	max-width: 420px;
	margin: 0 0 1.75rem;
	color: #4a3d38;
}

.giftcard-amount-label {
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-weight: 800;
	font-size: 0.8rem;
	margin-bottom: 0.75rem;
}

.giftcard-amounts {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.btn-giftcard-amount {
	min-width: 110px;
	padding: 0.9rem 1.5rem;
	border-radius: 12px;
	border: 2px solid var(--pm-coral);
	background: #fff;
	color: var(--pm-navy);
	font-weight: 800;
	font-size: 1.1rem;
}

.btn-giftcard-amount:hover:not(:disabled) { background: #fff5f1; }

.btn-giftcard-amount.is-highlighted {
	background: var(--pm-coral);
	color: #fff;
}

.btn-giftcard-amount:disabled { opacity: 0.6; cursor: not-allowed; }

.giftcard-status {
	margin: 0.75rem 0 0;
	font-weight: 600;
	color: var(--pm-coral);
	min-height: 1.2em;
}

/* ==========================================================================
   Gift card recipient fields (checkout)
   ========================================================================== */
.pm-giftcard-recipient-section {
	margin-bottom: 1.5rem;
}

.pm-giftcard-recipient-section h3 {
	font-family: var(--pm-font-display);
	text-transform: uppercase;
	font-size: 1.1rem;
	margin: 0 0 1rem;
}

.pm-giftcard-recipient {
	border: 2px solid var(--pm-navy);
	border-radius: 14px;
	padding: 1.25rem 1.25rem 0.25rem;
	margin: 0 0 1rem;
}

.pm-giftcard-recipient legend {
	font-weight: 700;
	padding: 0 0.5rem;
	margin-left: -0.5rem;
}

/* ==========================================================================
   Our Story page
   (the hero banner at the top now uses the shared .hero/.page-hero styles —
   see "Hero" above)
   ========================================================================== */

/* About Joe ---------------------------------------------------------- */
.story-about {
	background: #fff;
	padding: 4.5rem 0;
}

.story-about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 2.5rem;
	align-items: start;
	max-width: 1320px;
	margin: 0 auto;
}

.story-about-text h2 {
	font-family: var(--pm-font-display);
	font-size: 1.9rem;
	color: var(--pm-navy);
	margin-bottom: 1rem;
}

.story-about-text p {
	color: var(--pm-navy);
	opacity: 0.85;
	line-height: 1.6;
	margin-bottom: 1rem;
}

.story-about-photo,
.story-about-placeholder {
	border-radius: 24px;
	overflow: hidden;
	aspect-ratio: 4 / 5;
}

.story-about-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.story-about-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--pm-card-yellow);
	text-align: center;
	padding: 1.5rem;
}

.story-about-quote {
	background: var(--pm-card-green);
	border-radius: 24px;
	padding: 2rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.story-quote-mark {
	color: var(--pm-navy);
	opacity: 0.35;
	margin-bottom: 0.75rem;
}

.story-quote-text {
	font-family: var(--pm-font-display);
	font-size: 1.1rem;
	line-height: 1.4;
	color: var(--pm-navy);
	margin-bottom: 1rem;
}

.story-quote-name {
	font-weight: 700;
	color: var(--pm-navy);
	margin-bottom: 0.1rem;
}

.story-quote-role {
	color: var(--pm-navy);
	opacity: 0.7;
	font-size: 0.9rem;
	margin-bottom: 0;
}

/* Journey timeline ---------------------------------------------------- */
.story-timeline {
	background: var(--pm-cream);
	padding: 4.5rem 0 5rem;
}

.story-timeline-heading {
	font-family: var(--pm-font-display);
	text-align: center;
	text-transform: uppercase;
	font-size: 1.8rem;
	color: var(--pm-navy);
	margin-bottom: 3rem;
}

.story-timeline-track {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
	max-width: 1320px;
	margin: 0 auto;
	position: relative;
}

.story-timeline-track::before {
	content: "";
	position: absolute;
	top: 1.4rem;
	left: 0;
	right: 0;
	height: 2px;
	background: var(--pm-navy);
	opacity: 0.15;
}

.story-timeline-item {
	position: relative;
	text-align: left;
	padding-top: 0;
}

.story-timeline-icon {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.8rem;
	height: 2.8rem;
	border-radius: 50%;
	background: var(--pm-navy);
	color: #fff;
	margin-bottom: 1rem;
}

.story-timeline-year {
	display: block;
	font-family: var(--pm-font-script);
	font-size: 1.3rem;
	color: var(--pm-coral);
	margin-bottom: 0.3rem;
}

.story-timeline-title {
	font-family: var(--pm-font-display);
	font-size: 1rem;
	color: var(--pm-navy);
	margin-bottom: 0.5rem;
}

.story-timeline-text {
	color: var(--pm-navy);
	opacity: 0.8;
	font-size: 0.92rem;
	line-height: 1.5;
	margin-bottom: 0;
}

/* ==========================================================================
   Shop page
   ========================================================================== */
.shop-page {
	background: var(--pm-cream);
}

.shop-page-heading {
	font-family: var(--pm-font-display);
	font-size: clamp(2rem, 3.2vw, 2.75rem);
	color: var(--pm-navy);
	margin-bottom: 1.5rem;
}

.shop-filter-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 2.5rem;
}

.shop-pill {
	border: 2px solid var(--pm-navy);
	background: #fff;
	color: var(--pm-navy);
	border-radius: 999px;
	padding: 0.7rem 1.4rem;
	font-weight: 700;
	font-size: 0.9rem;
	text-transform: none;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.shop-pill:hover {
	border-color: var(--pm-coral);
}

.shop-pill.active {
	background: var(--pm-pink);
	border-color: var(--pm-pink);
	color: #fff;
}

.shop-grid-header {
	margin-bottom: 2rem;
}

.shop-grid-header h2 {
	font-family: var(--pm-font-display);
	text-transform: uppercase;
	font-size: 1.6rem;
	color: var(--pm-navy);
	margin-bottom: 0.4rem;
}

.shop-grid-header p {
	color: var(--pm-navy);
	opacity: 0.75;
	margin-bottom: 0;
	max-width: 46ch;
}

#shop-product-grid.is-loading {
	opacity: 0.45;
	pointer-events: none;
	transition: opacity 0.15s ease;
}

.shop-grid-empty {
	grid-column: 1 / -1;
	color: var(--pm-navy);
	opacity: 0.75;
}

/* ==========================================================================
   Single product page
   ========================================================================== */
.product-page {
	background: var(--pm-cream);
	padding-bottom: 4rem;
	padding-left: clamp(1.25rem, 6vw, 7rem);
	padding-right: clamp(1.25rem, 6vw, 7rem);
}

.product-breadcrumb {
	font-size: 0.85rem;
	color: var(--pm-navy);
	opacity: 0.6;
	margin-bottom: 1.5rem;
}

.product-breadcrumb a {
	color: var(--pm-navy);
}

.product-single {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3.5rem;
	align-items: start;
}

/* Gallery -------------------------------------------------------------- */
.product-gallery-main {
	border-radius: 24px;
	overflow: hidden;
	background: var(--pm-card-pink);
	aspect-ratio: 1 / 1;
}

.product-gallery-main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.product-gallery-thumbs-row {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-top: 1rem;
}

.gallery-nav {
	flex: 0 0 auto;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	border: 2px solid var(--pm-navy);
	background: #fff;
	color: var(--pm-navy);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.gallery-nav:hover {
	background: var(--pm-navy);
	color: #fff;
}

.product-gallery-thumbs {
	flex: 1;
	display: flex;
	gap: 0.75rem;
	overflow-x: auto;
	scroll-behavior: smooth;
}

.gallery-thumb {
	flex: 0 0 auto;
	width: 72px;
	height: 72px;
	border-radius: 12px;
	overflow: hidden;
	padding: 0;
	border: 2px solid transparent;
	background: var(--pm-card-yellow);
	cursor: pointer;
}

.gallery-thumb.active {
	border-color: var(--pm-pink);
}

.gallery-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Info column ------------------------------------------------------------ */
.product-eyebrow {
	display: inline-block;
	font-family: var(--pm-font-display);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.85rem;
	color: var(--pm-pink);
	margin-bottom: 0.5rem;
}

.product-title {
	font-family: var(--pm-font-display);
	text-transform: uppercase;
	line-height: 1.05;
	font-size: clamp(2rem, 3.2vw, 2.9rem);
	color: var(--pm-navy);
	margin-bottom: 0.5rem;
}

.product-tagline {
	font-family: "Chewy", system-ui, sans-serif;
	font-weight: 400;
	color: #f53290;
	font-size: 3rem;
	line-height: 1.1;
	margin-bottom: 0.75rem;
}

.product-price {
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--pm-navy);
	margin-bottom: 0.75rem;
}

.product-short-desc {
	color: var(--pm-navy);
	opacity: 0.8;
	max-width: 52ch;
	margin-bottom: 1.5rem;
}

.product-short-desc p:last-child {
	margin-bottom: 0;
}

.product-feature-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-bottom: 1.5rem;
}

.feature-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	background: var(--pm-mainpleese);
	color: var(--pm-navy);
	border-radius: 999px;
	padding: 0.5rem 1rem;
	font-size: 0.85rem;
	font-weight: 700;
}

.feature-pill-icon {
	display: inline-flex;
	color: var(--pm-navy);
}

/* Quantity + Add to Bag / Add to Bundle ---------------------------------- */
.product-purchase-row {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.product-purchase-row form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	margin: 0;
}

.pm-qty-stepper {
	display: inline-flex;
	align-items: center;
	border: 2px solid var(--pm-navy);
	border-radius: 999px;
	overflow: hidden;
	height: 3.2rem;
}

.pm-qty-stepper .qty-step {
	width: 2.6rem;
	height: 100%;
	border: 0;
	background: transparent;
	color: var(--pm-navy);
	font-size: 1.2rem;
	line-height: 1;
	cursor: pointer;
}

.pm-qty-stepper .qty-step:hover {
	background: var(--pm-cream);
}

.pm-qty-stepper input.qty {
	width: 3rem;
	height: 100%;
	border: 0;
	border-left: 2px solid var(--pm-navy);
	border-right: 2px solid var(--pm-navy);
	text-align: center;
	font-weight: 700;
	-moz-appearance: textfield;
}

.pm-qty-stepper input.qty::-webkit-outer-spin-button,
.pm-qty-stepper input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.product-purchase-row .single_add_to_cart_button {
	height: 3.2rem;
	padding: 0 2rem;
	border-radius: 999px;
	border: 2px solid var(--pm-coral);
	background: var(--pm-coral);
	color: var(--pm-navy);
	font-weight: 700;
	text-transform: uppercase;
	font-size: 0.9rem;
}

.product-purchase-row .single_add_to_cart_button:hover {
	background: var(--pm-peach);
	border-color: var(--pm-peach);
}

.btn-add-to-bundle-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	height: 3.2rem;
	padding: 0 1.5rem;
	border-radius: 999px;
	border: 2px solid var(--pm-navy);
	color: var(--pm-navy);
	font-weight: 700;
	text-transform: uppercase;
	font-size: 0.9rem;
}

.btn-add-to-bundle-link:hover {
	background: var(--pm-navy);
	color: #fff;
}

/* Flavour & texture ------------------------------------------------------ */
.product-flavour-section {
	margin-bottom: 1.5rem;
}

.product-flavour-label {
	display: block;
	font-family: var(--pm-font-display);
	text-transform: uppercase;
	font-size: 0.8rem;
	letter-spacing: 0.06em;
	color: var(--pm-navy);
	opacity: 0.6;
	margin-bottom: 0.6rem;
}

.product-flavour-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.flavour-tag {
	background: var(--pm-card-pink);
	color: var(--pm-navy);
	border-radius: 999px;
	padding: 0.45rem 1rem;
	font-size: 0.85rem;
	font-weight: 600;
}

/* Accordion --------------------------------------------------------------
   Bootstrap's accordion markup, recoloured to match the rest of the site. */
.product-accordion .accordion-item {
	border: 0;
	border-top: 1px solid rgba(20, 22, 26, 0.12);
	background: transparent;
}

.product-accordion .accordion-item:first-child {
	border-top: 0;
}

.product-accordion .accordion-button {
	background: transparent;
	color: var(--pm-navy);
	font-family: var(--pm-font-display);
	text-transform: uppercase;
	font-size: 1rem;
	padding: 1.1rem 0;
	box-shadow: none;
}

.product-accordion .accordion-button:not(.collapsed) {
	background: transparent;
	color: var(--pm-navy);
	box-shadow: none;
}

.product-accordion .accordion-button::after {
	flex-shrink: 0;
}

.product-accordion .accordion-body {
	padding: 0 0 1.25rem;
	color: var(--pm-navy);
	opacity: 0.85;
}

/* Related products --------------------------------------------------------- */
.related-products {
	margin-top: 4rem;
}

.related-products-header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}

.related-products-header h2 {
	font-family: var(--pm-font-display);
	text-transform: uppercase;
	font-size: 1.6rem;
	color: var(--pm-navy);
	margin-bottom: 0;
}

.related-carousel { position: relative; }

.related-grid {
	display: flex;
	gap: 1.5rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	padding: 0.25rem 0 0.75rem;
	scrollbar-width: none;
}
.related-grid::-webkit-scrollbar { display: none; }
.related-grid { cursor: grab; }
.related-grid.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.related-grid.is-dragging a { pointer-events: none; }

.related-grid .bundle-product-card {
	flex: 0 0 calc((100% - 4.5rem) / 4);
	scroll-snap-align: start;
	height: auto;
}

.related-grid .bundle-product-image { display: block; }
.related-grid .btn-add-to-bundle,
.related-grid .btn-out-of-stock { display: block; text-align: center; text-decoration: none; color: var(--pm-navy); }

.related-nav {
	position: absolute;
	top: 38%;
	z-index: 2;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	border: 2px solid var(--pm-navy);
	background: #fff;
	color: var(--pm-navy);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(20, 22, 26, 0.15);
	transition: opacity 0.2s, background 0.2s, color 0.2s;
}
.related-nav:hover { background: var(--pm-navy); color: #fff; }
.related-nav-prev { left: -1.1rem; }
.related-nav-next { right: -1.1rem; }
.related-nav[disabled] { opacity: 0; pointer-events: none; }

@media (max-width: 1199.98px) { .related-grid .bundle-product-card { flex-basis: calc((100% - 3rem) / 3); } }
@media (max-width: 767.98px) {
	.related-grid { gap: 1rem; }
	.related-grid .bundle-product-card { flex-basis: 72%; }
	.related-nav { display: none; }
}

.related-products-viewall {
	font-weight: 700;
	color: var(--pm-navy);
	white-space: nowrap;
}

/* ==========================================================================
   British Airways competition page
   ========================================================================== */
.ba-hero {
	display: flex;
	flex-wrap: wrap;
	min-height: 520px;
}

.ba-hero-left {
	flex: 1 1 520px;
	background: #f9b99a;
	display: flex;
	align-items: center;
	padding: 2.5rem 4vw;
}

.ba-hero-copy { max-width: 640px; }

.ba-logos {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	margin-bottom: 1.5rem;
}

.ba-logo { height: 44px; width: auto; display: block; }
.ba-logo-partner { height: 40px; }
.ba-x { font-size: 1.6rem; line-height: 1; }
.ba-partner-text { font-weight: 800; color: #2430b4; font-size: 1.4rem; text-transform: uppercase; }

.ba-heading {
	font-family: var(--pm-font-display);
	text-transform: uppercase;
	line-height: 0.9;
	font-size: clamp(2.75rem, 6.5vw, 5.25rem);
	margin-bottom: 1.25rem;
}

.ba-line-1 { display: block; color: var(--pm-navy); }
.ba-line-2 { display: block; color: #2430b4; }

.ba-text {
	font-size: 1.1rem;
	max-width: 520px;
	margin-bottom: 1.75rem;
}

.btn-ba {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: #2430b4;
	color: #fff !important;
	border: 2px solid #2430b4;
	border-radius: 999px;
	padding: 0.9rem 1.8rem;
	font-weight: 700;
}

.btn-ba:hover { background: var(--pm-navy); border-color: var(--pm-navy); }

.ba-hero-right {
	flex: 1 1 480px;
	min-height: 360px;
	background: var(--pm-salmon) center/cover no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ba-win {
	background: #fbe6e8;
	padding: 2.5rem 4vw 4rem;
}

.ba-win-inner {
	display: grid;
	grid-template-columns: 1fr 440px;
	gap: 3rem;
	align-items: start;
	max-width: 1440px;
	margin: 0 auto;
}

.ba-win-heading {
	font-family: var(--pm-font-display);
	text-transform: uppercase;
	font-size: 1.9rem;
	margin-bottom: 1.5rem;
}

.ba-prizes {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}

.ba-prize {
	text-align: center;
	padding: 0 1rem;
	border-left: 1px solid rgba(20, 22, 26, 0.18);
}

.ba-prize:first-child { border-left: 0; }

.ba-prize-icon { display: inline-flex; margin-bottom: 0.75rem; color: var(--pm-navy); }

.ba-prize h3 {
	font-family: var(--pm-font-display);
	text-transform: uppercase;
	font-size: 0.8rem;
	margin-bottom: 0.4rem;
}

.ba-prize p { font-size: 0.9rem; margin: 0; }

.ba-form-card {
	background: #fff;
	border-radius: 20px;
	padding: 1.5rem;
	box-shadow: 0 6px 24px rgba(20, 22, 26, 0.06);
}

.ba-form-card h2 {
	font-family: var(--pm-font-display);
	text-transform: uppercase;
	font-size: 1.6rem;
	margin-bottom: 1rem;
}

.ba-form-note { font-size: 0.85rem; opacity: 0.7; }

/* Contact Form 7 inside the card */
.ba-form .wpcf7 form { margin: 0; }
.ba-form .wpcf7 form p { margin: 0 0 0.75rem; line-height: 1.3; }
.ba-form .wpcf7 br { display: none; }
.ba-form .wpcf7-form-control-wrap { display: block; width: 100%; }

/* first name + last name side by side, email full width */
.ba-form .wpcf7 form p:has(.wpcf7-form-control-wrap) { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.ba-form .wpcf7 form p:has(.wpcf7-form-control-wrap) > .wpcf7-form-control-wrap { flex: 1 1 100%; width: auto; }
.ba-form .wpcf7 form p:has(.wpcf7-form-control-wrap) > .wpcf7-form-control-wrap[data-name="your-name"],
.ba-form .wpcf7 form p:has(.wpcf7-form-control-wrap) > .wpcf7-form-control-wrap[data-name="text-811"] { flex: 1 1 calc(50% - 0.375rem); min-width: 0; }

.ba-form .wpcf7 input[type="text"],
.ba-form .wpcf7 input[type="email"],
.ba-form .wpcf7 input[type="tel"],
.ba-form .wpcf7 textarea {
	width: 100%;
	height: 46px;
	border: 2px solid #c9c9cc;
	border-radius: 8px;
	padding: 0 0.9rem;
	font-size: 0.95rem;
	background: #fff;
	color: var(--pm-navy);
	box-shadow: none;
	outline: 0;
}
.ba-form .wpcf7 textarea { height: auto; padding: 0.7rem 0.9rem; }
.ba-form .wpcf7 input::placeholder,
.ba-form .wpcf7 textarea::placeholder { color: #85858b; opacity: 1; }
.ba-form .wpcf7 input[type="text"]:focus,
.ba-form .wpcf7 input[type="email"]:focus,
.ba-form .wpcf7 input[type="tel"]:focus,
.ba-form .wpcf7 textarea:focus { border-color: #2430b4; }

/* checkboxes */
.ba-form .wpcf7 .wpcf7-acceptance { display: block; margin: 0 0 0.55rem; font-size: 0.85rem; font-weight: 500; }
.ba-form .wpcf7 .wpcf7-list-item { display: block; margin: 0; }
.ba-form .wpcf7 .wpcf7-list-item label { display: flex; align-items: center; gap: 0.65rem; margin: 0; cursor: pointer; }
.ba-form .wpcf7 input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	flex: 0 0 14px;
	width: 14px;
	height: 14px;
	margin: 0;
	border: 1.5px solid #6b6b72;
	border-radius: 3px;
	background: #fff;
	cursor: pointer;
}
.ba-form .wpcf7 input[type="checkbox"]:checked {
	background: #2430b4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.4 2.4 4.6-5' fill='none' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E") center/100% no-repeat;
	border-color: #2430b4;
}
.ba-form .wpcf7 .wpcf7-list-item-label a { color: var(--pm-navy); font-weight: 700; text-decoration: underline; }

/* submit */
.ba-form .wpcf7 form p:has(input[type="submit"]) { position: relative; margin: 1rem 0 0; }
.ba-form .wpcf7 input[type="submit"] {
	display: block;
	width: 100%;
	height: 52px;
	background: #2430b4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.5'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E") no-repeat calc(50% + 62px) center / 16px;
	color: #fff;
	border: 0;
	border-radius: 999px;
	padding: 0 1rem;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.15s;
}
.ba-form .wpcf7 input[type="submit"]:hover { background-color: var(--pm-navy); }
.ba-form .wpcf7-spinner { position: absolute; right: 1rem; top: 50%; margin: -12px 0 0; }
.ba-form .wpcf7-not-valid-tip, .ba-form .wpcf7-response-output { font-size: 0.8rem; }
.ba-form .wpcf7 form .wpcf7-response-output { margin: 0.75rem 0 0; border-radius: 8px; }

@media (max-width: 1199.98px) {
	.ba-win-inner { grid-template-columns: 1fr; }
	.ba-form-card { max-width: 560px; }
}

@media (max-width: 767.98px) {
	.ba-prizes { grid-template-columns: 1fr 1fr; row-gap: 1.5rem; }
	.ba-prize:nth-child(3) { border-left: 0; }
	.ba-logo { height: 34px; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 991.98px) {
	.header-icons { margin-top: 0.75rem; }
	.hero-left, .hero-right { flex-basis: 100%; }
	.product-grid { grid-template-columns: repeat(2, 1fr); }
	.partners-grid { grid-template-columns: 1fr; }
	.giftcard-banner { background-image: none !important; }
	.giftcard-copy { width: 100%; }
	.story-about-grid { grid-template-columns: 1fr 1fr; }
	.story-about-quote { grid-column: span 2; }
	.story-timeline-track { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
	.story-timeline-track::before { display: none; }
	.product-single { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
}

@media (max-width: 575.98px) {
	.category-card { flex-direction: column; align-items: flex-start; }
	.card-image { align-self: center; margin-top: 1rem; }
	.product-grid { grid-template-columns: 1fr; }
	.product-row-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
	.story-about-grid { grid-template-columns: 1fr; }
	.story-about-quote { grid-column: auto; }
	.story-timeline-track { grid-template-columns: 1fr; }
	.shop-filter-pills { gap: 0.5rem; }
	.shop-pill { padding: 0.55rem 1.1rem; font-size: 0.82rem; }
	.product-purchase-row { flex-direction: column; align-items: stretch; }
	.product-purchase-row form.cart { justify-content: space-between; }
	.btn-add-to-bundle-link { justify-content: center; }
}

/* Cookie tiles: name and "Product Info" follow the per-product text colour and stay centred. */
.bundle-product-card .bundle-product-title,
.bundle-product-card .bundle-product-link {
	color: inherit !important;
	text-align: center;
}
.bundle-product-card .bundle-product-title { text-transform: uppercase; }
.bundle-product-card .bundle-product-link { display: block; }

/* Main navigation size (kept last so it wins over earlier rules). */
.site-header .main-menu .nav-link,
.site-header .main-menu .menu-item > a { font-size: 1.15rem !important; }
@media (max-width: 1199.98px) {
	.site-header .main-menu .nav-link,
	.site-header .main-menu .menu-item > a { font-size: 1.05rem !important; }
}

/* Product gallery: thumbnails run down the left of the main photo (desktop),
   stretched so the column is exactly as tall as the big image. */
@media (min-width: 768px) {
	.product-gallery {
		display: grid;
		grid-template-columns: 16.5% minmax(0, 1fr);
		gap: 1rem;
		align-items: stretch;
	}
	.product-gallery-main { grid-column: 2; grid-row: 1; }
	.product-gallery-thumbs-row { grid-column: 1; grid-row: 1; margin-top: 0; display: block; position: relative; }
	.product-gallery-thumbs-row .gallery-nav { display: none; }
	.product-gallery-thumbs {
		position: absolute;
		inset: 0;
		flex-direction: column;
		overflow-x: hidden;
		overflow-y: auto;
		gap: 0.6rem;
		scrollbar-width: none;
		scroll-snap-type: y proximity;
		cursor: grab;
		touch-action: pan-y;
	}
	.product-gallery-thumbs::-webkit-scrollbar { display: none; }
	/* five thumbnails fill the height of the big photo; any extra ones scroll */
	.gallery-thumb {
		flex: 0 0 calc((100% - 2.4rem) / 5);
		min-height: 0;
		width: 100%;
		height: auto;
		border-radius: 12px;
		scroll-snap-align: start;
	}
	.product-gallery-thumbs.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
	.product-gallery-thumbs img { pointer-events: none; -webkit-user-drag: none; }
}

@media (max-width: 575.98px) {
	.product-tagline { font-size: 2.1rem; }
}

/* Product page: Add to cart is a pill like the bundle button next to it. */
.product-page .product-purchase-row .single_add_to_cart_button,
.product-page .product-purchase-row button.single_add_to_cart_button.button {
	border-radius: 999px !important;
}

/* ==========================================================================
   Mobile clean-up (phones)
   ========================================================================== */
@media (max-width: 575.98px) {
	/* header + menu */
	.site-header .main-menu .nav-link,
	.site-header .main-menu .menu-item > a { font-size: 1.1rem !important; }
	.main-menu .nav-link::after, .main-menu .menu-item > a::after { right: auto; width: 2.5rem; }

	/* homepage category cards */
	.category-card { padding: 1.5rem; }
	.card-label { font-size: 1.1rem; }
	.card-image { flex-basis: auto; width: 55%; max-width: 200px; }

	/* homepage product rows */
	.product-row-header h2 { font-size: 2rem; }
	.product-card-label { font-size: 1rem; }

	/* cookie bundle sizes: four on one line, smaller text */
	.tier-options { gap: 0.3rem; }
	.tier-option { font-size: 0.68rem; padding: 0.6rem 0.1rem; }
	.tier-badge { font-size: 0.55rem; padding: 2px 6px; }

	/* product page */
	.product-page { padding-left: 1rem; padding-right: 1rem; }
	.product-title { font-size: 1.9rem; }
	.product-tagline { font-size: 2rem; }
	.product-gallery-thumbs-row { margin-top: 0.75rem; }
	.gallery-thumb { width: 64px; height: 64px; }
	.product-feature-pills { flex-wrap: wrap; }
	.product-purchase-row form.cart { flex-wrap: nowrap; gap: 0.75rem; }
	.product-purchase-row .single_add_to_cart_button { flex: 1 1 auto; padding: 0 1rem; }
	.related-products { margin-top: 2.5rem; }
	.related-products-header h2 { font-size: 1.3rem; }

	/* partner + giftcard blocks */
	.partner-card-body { padding: 1.1rem; }
}

/* Stop the product page from growing wider than the phone screen: grid/flex
   children may shrink below their content width (the thumbnail strip scrolls
   inside itself instead of stretching the page). */
.product-single > *,
.product-gallery,
.product-gallery-thumbs-row,
.product-gallery-thumbs,
.product-info,
.related-products,
.related-carousel { min-width: 0; max-width: 100%; }
.product-gallery-thumbs { overflow-x: auto; }
.product-page { overflow-x: clip; }
html, body { max-width: 100%; overflow-x: clip; }

/* ==========================================================================
   Page banner (shared hero): big outlined heading, pink accent line, pink
   pill buttons with a black border.
   ========================================================================== */
.hero-left { padding: 3rem 2.5vw; }
.hero-copy { max-width: 820px; }

.hero-heading {
	font-size: clamp(3rem, 8.2vw, 7rem);
	line-height: 0.92;
	margin-bottom: 1.5rem;
}

.hero-heading .line-1,
.hero-heading .line-2 {
	text-shadow: 0px 2px 0px #ffffff;
}

.hero-heading .line-1 { color: #000; }
.hero-heading .line-2 { color: #e9267e; }

.hero-text {
	font-size: clamp(1.1rem, 1.6vw, 1.5rem);
	font-weight: 500;
	line-height: 1.55;
	max-width: 760px;
	margin-bottom: 2rem;
}

.btn-hero-solid,
.btn-hero-outline {
	background: #e9267e;
	color: #fff;
	border: 2px solid #000;
	padding: 0.85rem 1.5rem;
	font-size: 0.95rem;
}

.btn-hero-solid:hover,
.btn-hero-outline:hover {
	background: #000;
	border-color: #000;
	color: #fff;
}

@media (max-width: 575.98px) {
	.hero-left { padding: 2rem 1.25rem; }
	.hero-heading { font-size: clamp(2.6rem, 13vw, 3.6rem); }
}

/* "Yes, Pleese." — lead word black, rest pink, always on one line. */
.hero-heading .line-2 { white-space: nowrap; }
.hero-heading .line-2-lead { color: #000; }
.hero-heading .line-2-accent { color: #e9267e; }
@media (min-width: 992px) {
	.hero-heading { font-size: clamp(3rem, 6.4vw, 7rem); }
}
@media (max-width: 575.98px) {
	.hero-heading { font-size: clamp(2.2rem, 11.5vw, 3.4rem); }
}

/* Homepage category cards: white drop shadow on the big headings. */
.category-card .card-heading { text-shadow: 0px 2px 0px #ffffff; }

/* Product gallery: swipe / drag the big photo to move between images. */
.product-gallery-main { touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.product-gallery-main.is-grabbing { cursor: grabbing; }
.product-gallery-main img { transition: opacity 0.12s ease; -webkit-user-drag: none; pointer-events: none; }
.product-gallery-main img.is-changing { opacity: 0; }

.product-gallery-main { position: relative; }
.gallery-counter {
	position: absolute;
	right: 0.9rem;
	bottom: 0.9rem;
	background: rgba(20, 22, 26, 0.65);
	color: #fff;
	font-size: 0.8rem;
	font-weight: 700;
	padding: 0.25rem 0.7rem;
	border-radius: 999px;
	pointer-events: none;
}

@media (max-width: 767.98px) {
	.product-gallery-thumbs { touch-action: pan-x; -webkit-overflow-scrolling: touch; scrollbar-width: none; cursor: grab; }
	.product-gallery-thumbs::-webkit-scrollbar { display: none; }
	.product-gallery-thumbs img { pointer-events: none; -webkit-user-drag: none; }
}

/* Shop grid: same tiles as the Cookies page. */
#shop-product-grid { gap: 1.5rem; align-items: stretch; }
#shop-product-grid .bundle-product-image { display: block; }

/* Shop grid columns: 5 across on desktop, then 4 / 2 / 1 as the screen narrows. */
#shop-product-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 1399.98px) { #shop-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 991.98px)  { #shop-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479.98px)  { #shop-product-grid { grid-template-columns: 1fr; } }
#shop-product-grid .bundle-product-card { padding: 0.85rem; }
#shop-product-grid .bundle-product-title { font-size: 0.85rem; }

/* Cookies page: temporary "Select your favourite box" panel (closeable). */
.pm-box-promo {
	background: #f9c7a6;
	border-radius: 14px;
	padding: 1rem 1.1rem 1.25rem;
	margin-bottom: 1.5rem;
}
.pm-box-promo[hidden] { display: none; }

.pm-box-promo-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.8rem;
}

.pm-box-promo-head h2 {
	font-family: var(--pm-font-display);
	text-transform: uppercase;
	font-size: clamp(1.3rem, 2.4vw, 1.9rem);
	line-height: 1;
	margin: 0;
	text-shadow: 0px 2px 0px #ffffff;
}

.pm-box-promo-close {
	flex: 0 0 auto;
	width: 1.9rem;
	height: 1.9rem;
	border-radius: 50%;
	border: 0;
	background: #4a4a4a;
	color: #fff;
	font-size: 1.2rem;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}
.pm-box-promo-close:hover { background: var(--pm-navy); }

.pm-box-promo-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.9rem;
}

.pm-box-promo-card {
	background: #f89b5a;
	border-radius: 6px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.pm-box-promo-image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #e9b9a6; }
.pm-box-promo-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.pm-box-promo-body { padding: 0.55rem 0.75rem 0.7rem; text-align: center; }
.pm-box-promo-body h3 {
	font-family: var(--pm-font-display);
	text-transform: uppercase;
	font-size: 0.95rem;
	line-height: 1.1;
	margin: 0 0 0.4rem;
}

.pm-box-promo-row { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.pm-box-promo-price { font-family: var(--pm-font-display); font-size: 1.05rem; }
.pm-box-promo .btn-select-box {
	width: auto;
	padding: 0.3rem 0.9rem;
	border-radius: 4px;
	background: #e9267e;
	color: #fff;
	border: 0;
	font-size: 0.85rem;
	text-transform: uppercase;
	text-decoration: none;
}
.pm-box-promo .btn-select-box:hover:not(:disabled) { background: #000; color: #fff; }

@media (max-width: 991.98px) { .pm-box-promo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479.98px) { .pm-box-promo-grid { grid-template-columns: 1fr; } }

/* Box panel spacing: even padding all round, no extra gap from the empty status line. */
.pm-box-promo { padding: 1.25rem; }
.pm-box-promo-head { margin-bottom: 1rem; }
.pm-box-promo .boxes-status { margin: 0; min-height: 0; }
.pm-box-promo .boxes-status:empty { display: none; }
.pm-box-promo .boxes-status:not(:empty) { margin-top: 0.75rem; }
.pm-box-promo-card { margin: 0; }

/* ==========================================================================
   Product tiles (Shop, Cookies page, "You might also like"):
   neutral card; each product's colour goes on the photo border and the button.
   --tile-accent = Card background colour field, --tile-text = Card text colour field (button text only).
   ========================================================================== */
.bundle-product-card {
	background: #fff !important;
	color: var(--pm-navy) !important;
}

.bundle-product-card .bundle-product-image {
	border: 6px solid var(--tile-accent, transparent);
	border-radius: 16px;
	background: #f3e4dc;
}

.bundle-product-card .bundle-product-title,
.bundle-product-card .bundle-product-link { color: #59341a !important; }

.bundle-product-card .btn-add-to-bundle,
.bundle-product-card .btn-out-of-stock {
	background: var(--tile-accent, var(--pm-mainpleese));
	color: var(--tile-text, var(--pm-navy));
	border: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	text-decoration: none;
}

.bundle-product-card .btn-add-to-bundle:hover {
	background: var(--tile-accent, var(--pm-mainpleese));
	color: var(--tile-text, var(--pm-navy));
	filter: brightness(0.94);
}

/* round "+" in front of Add to Bundle (drawn with gradients, so it never depends on the font) */
.bundle-product-card .btn-add-to-bundle::before {
	content: '';
	flex: 0 0 auto;
	width: 1.45rem;
	height: 1.45rem;
	border-radius: 50%;
	background:
		linear-gradient(var(--tile-accent, var(--pm-mainpleese)), var(--tile-accent, var(--pm-mainpleese))) center / 0.7rem 2px no-repeat,
		linear-gradient(var(--tile-accent, var(--pm-mainpleese)), var(--tile-accent, var(--pm-mainpleese))) center / 2px 0.7rem no-repeat,
		var(--tile-text, var(--pm-navy));
}

/* Shop grid + Cookies page share one button style (beats older #shop-product-grid rules) */
#shop-product-grid .bundle-product-card .btn-add-to-bundle,
#shop-product-grid .bundle-product-card .btn-out-of-stock {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	width: 100%;
	text-align: center;
	text-decoration: none;
	color: var(--tile-text, var(--pm-navy));
	background: var(--tile-accent, var(--pm-mainpleese));
}

.bundle-product-card .btn-out-of-stock { opacity: 0.55; cursor: not-allowed; }

/* ==========================================================================
   My Account — logged-out login / register screen ("Join the Dessert Club")
   ========================================================================== */
/* page.php prints its own page title; the login screen has its own heading. */
.woocommerce-account:not(.logged-in) main.container > h1 { display: none; }

.pm-login {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: 2.5rem;
	align-items: start;
	padding: 1rem 0 3rem;
}

.pm-login-title {
	font-family: var(--pm-font-body);
	font-weight: 800;
	font-size: clamp(2.2rem, 4vw, 3.4rem);
	line-height: 1.05;
	letter-spacing: -0.02em;
	margin: 0 0 1rem;
}
.pm-login-intro { font-size: 1.15rem; line-height: 1.4; max-width: 30rem; margin: 0 0 1.75rem; }

.pm-login-card {
	background: #fff;
	border-radius: 14px;
	padding: 2.25rem 2.25rem 2rem;
	max-width: 500px;
}
.pm-login-card form { margin: 0; padding: 0; border: 0; }
.pm-login-card [hidden] { display: none !important; }

.pm-login-card label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 0.45rem; }
.pm-login-card .required { color: #d4143c; text-decoration: none; }
.pm-login-card .form-row { margin: 0 0 1.25rem; padding: 0; }
.pm-login-card input.input-text {
	width: 100%;
	border: 2px solid var(--pm-navy);
	border-radius: 12px;
	background: #fff;
	padding: 0.8rem 1rem;
	font-size: 1rem;
	min-height: 3rem;
	box-shadow: none;
}
.pm-login-card input.input-text:focus { outline: 3px solid rgba(233, 38, 126, 0.25); outline-offset: 1px; }
.pm-login-card .password-input { position: relative; display: block; }
.pm-login-card .password-input input.input-text { padding-right: 3rem; }
.pm-login-card .show-password-input { position: absolute; right: 0.9rem; top: 50%; transform: translateY(-50%); cursor: pointer; }

.pm-login-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; margin: 0 0 1.1rem; }
.pm-login-actions .woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0; font-weight: 600; }

.woocommerce-account .pm-login-card .pm-btn-pill {
	display: inline-block;
	background: var(--pm-mainpleese);
	color: var(--pm-navy) !important;
	border: 2px solid var(--pm-navy);
	border-radius: 999px;
	padding: 0.7rem 2rem;
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1.2;
	text-decoration: none !important;
	cursor: pointer;
	transition: background 0.15s ease;
}
.woocommerce-account .pm-login-card .pm-btn-pill:hover { background: #e8957f; }

.pm-login-card .lost_password { margin: 0; }
.pm-login-card .lost_password a { color: #1565c0; font-size: 0.95rem; text-decoration: none; }
.pm-login-card .lost_password a:hover { text-decoration: underline; }

.pm-login-switch {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	border-top: 1px solid #e6e0dc;
	margin-top: 1.75rem;
	padding-top: 1.5rem;
	font-weight: 500;
}
.pm-register-title { font-size: 1.4rem; font-weight: 800; margin: 0 0 1.25rem; }
.pm-register-note { font-size: 0.9rem; margin: 0 0 1.25rem; }
.pm-login-switch--back { margin-top: 1.25rem; }

/* Dessert Club panel */
.pm-login-promo {
	--pm-promo-bg: #fbd0c3;
	position: relative;
	overflow: hidden;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--pm-promo-bg) 0%, color-mix(in srgb, var(--pm-promo-bg) 70%, #fff) 100%);
	min-height: 720px;
}
.pm-login-promo-image {
	position: absolute;
	top: 0; right: 0; bottom: 0;
	width: 58%;
	background-size: cover;
	background-position: center;
	-webkit-mask-image: linear-gradient(to right, transparent 0%, #000 38%);
	mask-image: linear-gradient(to right, transparent 0%, #000 38%);
}
.pm-login-promo-body { position: relative; z-index: 1; padding: 2.25rem 2.25rem 2.5rem; max-width: 62%; }

.pm-login-promo-title {
	font-family: var(--pm-font-body);
	font-weight: 900;
	font-size: clamp(2.2rem, 4.2vw, 3.6rem);
	line-height: 0.95;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	margin: 0 0 0.9rem;
}
.pm-login-promo-title span { display: block; }
.pm-login-promo-accent { color: #e9267e; }
.pm-login-promo-text { font-size: 1.15rem; line-height: 1.35; margin: 0 0 1.25rem; max-width: 22rem; }

.pm-login-promo-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	background: #e9267e;
	color: #fff !important;
	border-radius: 999px;
	padding: 0.9rem 1.7rem;
	font-weight: 700;
	font-size: 1.05rem;
	text-decoration: none !important;
}
.pm-login-promo-btn:hover { background: #cf1569; }

.pm-login-perks { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.15rem; }
.pm-login-perks li { display: flex; align-items: center; gap: 1rem; }
.pm-perk-icon {
	flex: 0 0 auto;
	width: 4.4rem; height: 4.4rem;
	border-radius: 50%;
	background: #f6b3a3;
	border: 1px solid rgba(20, 22, 26, 0.08);
	display: flex; align-items: center; justify-content: center;
	color: var(--pm-navy);
}
.pm-perk-copy { display: block; }
.pm-perk-copy strong { display: block; font-size: 1.1rem; font-weight: 700; line-height: 1.2; }
.pm-perk-copy span { display: block; font-size: 0.95rem; line-height: 1.35; max-width: 17rem; }

@media (max-width: 991.98px) {
	.pm-login { grid-template-columns: 1fr; gap: 2rem; }
	.pm-login-card { max-width: none; }
	.pm-login-promo { min-height: 0; }
	.pm-login-promo-image { position: relative; width: 100%; height: 260px; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 40%); mask-image: linear-gradient(to bottom, transparent 0%, #000 40%); order: 2; }
	.pm-login-promo { display: flex; flex-direction: column; }
	.pm-login-promo-body { max-width: none; padding: 1.5rem 1.25rem 1rem; }
}
@media (max-width: 575.98px) {
	.pm-login-card { padding: 1.5rem 1.25rem; }
	.pm-login-actions { gap: 1rem; }
	.pm-perk-icon { width: 3.6rem; height: 3.6rem; }
}

/* ---- My Account login: layout refinements (match the design) ---------------- */
/* One card only: cancel the generic WooCommerce form-card styling inside our card. */
.woocommerce-account .pm-login-card form.woocommerce-form,
.woocommerce-account .pm-login-card form.login,
.woocommerce-account .pm-login-card form.register {
	background: none;
	box-shadow: none;
	border: 0;
	border-radius: 0;
	padding: 0;
	margin: 0;
	max-width: none;
	width: 100%;
}
.woocommerce-account .pm-login-card .woocommerce-form-row,
.woocommerce-account .pm-login-card .form-row { width: 100%; float: none; }
.woocommerce-account .pm-login-card label { font-size: 0.9rem; font-weight: 700; }
.woocommerce-account .pm-login-card .lost_password { margin-top: 0.25rem; }

/* Full-width login screen: left column inset, Dessert Club panel runs to the right edge. */
.woocommerce-account:not(.logged-in) .pm-account-main {
	max-width: none;
	width: 100%;
	padding: 0 !important;
}
.woocommerce-account:not(.logged-in) .pm-account-main .entry-content { margin: 0; }

.pm-account-main .pm-login {
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
	gap: 0;
	align-items: stretch;
	padding: 0;
	min-height: 760px;
}
.pm-account-main .pm-login-main {
	padding: clamp(2rem, 4vw, 3.5rem) clamp(1.25rem, 4vw, 4rem) 3rem clamp(1.25rem, 12.5vw, 15.25rem);
}
.pm-account-main .pm-login-promo {
	/* inset from the header, rounded on the left, running off the right edge of the screen */
	margin: 21px 0;
	border-radius: 12px 0 0 12px;
	min-height: 0;
}
.pm-account-main .pm-login-promo-image { width: 62%; }
.pm-account-main .pm-login-promo-body {
	max-width: 60%;
	padding: clamp(2rem, 4vw, 3.25rem) 2rem 3rem clamp(1.5rem, 3vw, 2.75rem);
}

@media (max-width: 991.98px) {
	.pm-account-main .pm-login { grid-template-columns: 1fr; min-height: 0; }
	.pm-account-main .pm-login-main { padding: 1.5rem 1.25rem 2rem; }
	.pm-account-main .pm-login-promo { margin: 0 1rem 1.5rem; border-radius: 12px; }
	.pm-account-main .pm-login-promo-body { max-width: none; padding: 1.75rem 1.25rem 1rem; }
	.pm-account-main .pm-login-promo-image { width: 100%; }
}

/* ==========================================================================
   Cheesecakes page (cheesecakes.php)
   ========================================================================== */
.cc-page [hidden] { display: none !important; }

.cc-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 410px;
	gap: 2rem;
	align-items: start;
}

.cc-section + .cc-section { border-top: 2px solid #f1c3b8; margin-top: 2.25rem; padding-top: 2rem; }
.cc-section-title {
	font-family: var(--pm-font-display);
	text-transform: uppercase;
	font-size: clamp(1.9rem, 3vw, 2.6rem);
	line-height: 1;
	letter-spacing: -0.01em;
	margin: 0 0 0.35rem;
}
.cc-section-text { font-size: 1.1rem; margin: 0 0 1.25rem; }
.cc-empty { margin: 0; }

.cc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.cc-grid .bundle-product-card { padding: 0.85rem; }
.cc-grid .bundle-product-title { font-size: 0.85rem; }
.cc-card.is-selected { box-shadow: 0 0 0 3px #e9267e; }
.cc-card .btn-add-to-bundle { width: 100%; cursor: pointer; font: inherit; font-weight: 700; }

/* side panel */
.cc-panel {
	position: sticky;
	top: 1.25rem;
	background: #fff;
	border-radius: 16px;
	padding: 1.4rem 1.4rem 1.5rem;
	box-shadow: 0 6px 24px rgba(20, 22, 26, 0.06);
}
.cc-step { padding: 0 0 1.1rem; }
.cc-step + .cc-step { border-top: 1px solid #f1e6e0; padding-top: 1.1rem; }
.cc-step h2 { display: flex; align-items: center; gap: 0.7rem; font-size: 1.1rem; font-weight: 800; margin: 0 0 0.85rem; }
.cc-num {
	flex: 0 0 auto;
	width: 1.75rem; height: 1.75rem;
	border-radius: 50%;
	background: #f6b3a3;
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 0.85rem; font-weight: 800;
}
.cc-optional { font-weight: 500; color: #6b6460; font-size: 0.95rem; }

.cc-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.cc-tab {
	display: flex; align-items: center; gap: 0.6rem;
	text-align: left;
	background: #fff;
	border: 2px solid var(--pm-navy);
	border-radius: 16px;
	padding: 0.7rem 0.75rem;
	cursor: pointer;
	color: var(--pm-navy);
	font: inherit;
}
.cc-tab.active { background: var(--pm-mainpleese); box-shadow: 0 0 0 2px var(--pm-navy) inset; }
.cc-tab-icon { flex: 0 0 auto; display: inline-flex; }
.cc-tab-icon svg { width: 2.1rem; height: 2.1rem; }
.cc-tab-label { display: flex; flex-direction: column; line-height: 1.2; }
.cc-tab-label strong { font-size: 0.95rem; font-weight: 800; }
.cc-tab-label small { font-size: 0.85rem; }

.cc-selected {
	display: flex; align-items: center; gap: 0.9rem;
	background: #fcebe3;
	border-radius: 12px;
	padding: 0.6rem;
}
.cc-selected-img { width: 5rem; height: 5rem; object-fit: cover; border-radius: 10px; flex: 0 0 auto; }
.cc-selected-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 0.35rem; }
.cc-selected-info strong { font-size: 1rem; line-height: 1.2; }
.cc-selected-price { font-size: 1.5rem; font-weight: 800; }
.cc-selected-remove {
	flex: 0 0 auto; align-self: flex-start;
	width: 1.9rem; height: 1.9rem; border-radius: 50%;
	border: 0; background: #ecdcd4; color: var(--pm-navy);
	font-size: 1.2rem; line-height: 1; cursor: pointer;
}
.cc-selected-empty { margin: 0; color: #6b6460; }

.cc-step-qty h2 { margin-bottom: 0; }
.cc-step-qty { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.cc-qty { display: inline-flex; align-items: center; gap: 0.6rem; }
.cc-qty button {
	width: 2.9rem; height: 2.9rem; border-radius: 10px;
	background: #fff; border: 1px solid #cfc6c1;
	font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--pm-navy);
}
.cc-qty input {
	width: 2.6rem; text-align: center; border: 0; background: transparent;
	font-size: 1.15rem; font-weight: 700; -moz-appearance: textfield;
}
.cc-qty input::-webkit-outer-spin-button, .cc-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.cc-extra-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.cc-extra { display: flex; align-items: center; gap: 0.8rem; background: #fdf3ee; border-radius: 10px; padding: 0.4rem 0.7rem 0.4rem 0.4rem; }
.cc-extra-img { flex: 0 0 auto; width: 4rem; height: 4rem; border-radius: 8px; overflow: hidden; }
.cc-extra-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-extra-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 0.2rem; }
.cc-extra-info strong { font-size: 0.95rem; line-height: 1.2; }
.cc-extra-info span { font-weight: 800; }
.cc-extra-btn {
	flex: 0 0 auto;
	min-width: 5.4rem;
	background: #fff; color: #e9267e;
	border: 2px solid #e9267e; border-radius: 10px;
	padding: 0.55rem 1rem; font-weight: 800; cursor: pointer;
}
.cc-extra.is-added .cc-extra-btn { background: #e9267e; color: #fff; }

.cc-delivery { border-top: 1px solid #f1e6e0; padding-top: 1.1rem; }
.cc-delivery .pm-postcode-check { margin: 0 0 0.8rem; }
.cc-delivery-notes { list-style: none; margin: 0 0 0.6rem; padding: 0; display: grid; gap: 0.5rem; font-size: 0.9rem; }

.cc-total-row { display: flex; align-items: baseline; justify-content: space-between; margin: 0.4rem 0 0.9rem; font-size: 1.1rem; }
.cc-total-row strong { font-size: 1.7rem; font-weight: 800; }
.cc-add {
	width: 100%;
	background: #e9267e; color: #fff;
	border: 0; border-radius: 999px;
	padding: 0.95rem 1.5rem;
	font-size: 1.1rem; font-weight: 800; cursor: pointer;
}
.cc-add:hover:not(:disabled) { background: #cf1569; }
.cc-add:disabled { opacity: 0.45; cursor: not-allowed; }
.cc-status { margin: 0.7rem 0 0; font-size: 0.9rem; color: #b3123f; min-height: 0; }
.cc-status:empty { display: none; }

@media (max-width: 1399.98px) { .cc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 991.98px) {
	.cc-layout { grid-template-columns: 1fr; }
	.cc-panel { position: static; }
	.cc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
}
@media (max-width: 479.98px) {
	.cc-tabs { grid-template-columns: 1fr; }
}

/* Checkout: delivery date (large celebration cakes) */
.pm-delivery-date { margin: 1.5rem 0; }
.pm-delivery-date h3 { margin-bottom: 0.75rem; }
.pm-delivery-date .input-text,
.pm-delivery-date .pm-delivery-date-alt { width: 100%; cursor: pointer; background: #fff; }
.pm-delivery-date-note { font-size: 0.9rem; margin: 0.4rem 0 0; }
.flatpickr-day.flatpickr-disabled, .flatpickr-day.flatpickr-disabled:hover { color: rgba(20, 22, 26, 0.25); }
.flatpickr-day.selected, .flatpickr-day.selected:hover { background: #e9267e; border-color: #e9267e; }

/* Caramels page: favourite-box cards (description + Best Seller badge) */
.pm-box-promo-image { position: relative; }
.pm-box-badge {
	position: absolute;
	top: 0.6rem; right: 0.6rem;
	width: 3.6rem; height: 3.6rem;
	border-radius: 50%;
	background: #e9267e; color: #fff;
	display: flex; align-items: center; justify-content: center;
	text-align: center;
	font-size: 0.7rem; font-weight: 800; line-height: 1.05; text-transform: uppercase;
	padding: 0.3rem;
}
.pm-box-promo-desc { font-size: 0.85rem; line-height: 1.25; margin: 0 0 0.5rem; }

/* ==========================================================================
   Sticky header (desktop + mobile) with a smooth scroll transition
   ========================================================================== */
html { scroll-padding-top: calc(var(--pm-header-h, 5.5rem) + 0.75rem); }

.site-header {
	position: sticky;
	top: 0;
	z-index: 1030;
	box-shadow: 0 0 0 rgba(20, 22, 26, 0);
	transition: box-shadow 0.35s ease;
	/* own compositing layer: keeps the bar rock-steady while the page scrolls (mobile Safari / Chrome) */
	transform: translateZ(0);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .site-header { top: 0; } }

.site-header .site-logo { transition: transform 0.3s ease; transform-origin: left center; }

.site-header.is-scrolled { box-shadow: 0 6px 22px rgba(20, 22, 26, 0.16); }
/* The bar keeps the same height at all times (a changing height shifts the page and makes the
   bar jump on phones); the scrolled look is the shadow plus a slightly smaller logo. */
.site-header.is-scrolled .site-logo { transform: scale(0.86); }

/* Phones / tablets: an open menu can never be taller than the screen. */
@media (max-width: 991.98px) {
	.site-header .navbar-collapse {
		max-height: calc(100vh - var(--pm-header-h, 4.5rem));
		max-height: calc(100dvh - var(--pm-header-h, 4.5rem));
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}
}

/* Other sticky panels sit just under the header instead of sliding beneath it. */
@media (min-width: 992px) {
	.bundle-sidebar,
	.cc-panel,
	.woocommerce-account .woocommerce-MyAccount-navigation { top: calc(var(--pm-header-h, 5.5rem) + 1rem); transition: top 0.3s ease; }
}

@media (prefers-reduced-motion: reduce) {
	.site-header, .site-header .site-logo { transition: none; }
}

/* ==========================================================================
   Events page: photo collage, video card and photo viewer
   ========================================================================== */
.ev-collage-section { padding: 2rem 0 1rem; }
.ev-collage-wrap { position: relative; max-width: none; width: 100%; margin: 0; }
.ev-collage-section .container-fluid { padding-left: 0; padding-right: 0; }
.ev-collage-wrap.has-video { min-height: clamp(380px, 40vw, 600px); }

/* scattered collage: one cell per photo; each photo is tilted, resized, nudged and stacked
   differently (values come from events.php), so photos overlap like a pile on a table. */
.ev-collage-section { overflow: hidden; }
.ev-collage {
	--cols: 4;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;   /* an unfinished last row is centred, not left over */
	position: relative;        /* the small "extra" tiles are placed on top of this frame */
	padding: 1.2rem 2.5%;
}
.ev-cell {
	position: relative;
	flex: 0 0 calc(100% / var(--cols));
	aspect-ratio: 5 / 4;
	display: flex; align-items: center; justify-content: center;
}
.ev-collage-item {
	position: relative;
	z-index: var(--z, 1);
	flex: 0 0 auto;
	width: calc(100% * var(--sw, 1.12));
	height: calc(100% * var(--sh, 1.12));
	margin: 0;
	padding: 0;
	border: 5px solid #fff;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 5px 16px rgba(20, 22, 26, 0.22);
	overflow: hidden;
	cursor: zoom-in;
	transform: translate(var(--tx, 0), var(--ty, 0)) rotate(var(--r, 0deg));
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ev-collage-item img { display: block; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }

/* photos on the outer border sit flush against the frame's edge, so all four sides line up */
@media (min-width: 992px) {
	.ev-cell.is-l { justify-content: flex-start; }
	.ev-cell.is-r { justify-content: flex-end; }
	.ev-cell.is-t { align-items: flex-start; }
	.ev-cell.is-b { align-items: flex-end; }
}

/* extra photos (beyond the frame's 12 spots): small tiles lying on top of the collage (desktop) */
@media (min-width: 992px) {
	.ev-cell--extra {
		position: absolute;
		left: var(--ex, 5%);
		top: var(--ey, 5%);
		flex: none;
		width: 14%;
		aspect-ratio: 1 / 1;
		z-index: var(--z, 20);
		pointer-events: none;           /* only the photo itself is clickable */
	}
	.ev-cell--extra .ev-collage-item {
		pointer-events: auto;
		width: 100%; height: 100%;
		border-width: 4px;
		transform: rotate(var(--r, 0deg));
		box-shadow: 0 8px 22px rgba(20, 22, 26, 0.38);
		z-index: auto;
	}
	.ev-cell--extra:hover, .ev-cell--extra:focus-within { z-index: 410; }
	.ev-cell--extra .ev-collage-item:hover, .ev-cell--extra .ev-collage-item:focus-visible {
		transform: rotate(0deg) scale(1.1);
		z-index: auto;
	}
}
.ev-collage-item:hover, .ev-collage-item:focus-visible {
	z-index: 400; /* whichever photo you point at comes to the very front, above the small tiles too */
	transform: translate(var(--tx, 0), var(--ty, 0)) rotate(0deg) scale(1.1);
	box-shadow: 0 14px 34px rgba(20, 22, 26, 0.35);
}

.ev-collage-sticker {
	position: relative;
	z-index: 8;
	align-self: center;
	width: 92%;
	background: #f8c6d2;
	border-radius: 6px;
	padding: 1.6rem 1.4rem;
	transform: rotate(-3deg);
	box-shadow: 0 6px 18px rgba(20, 22, 26, 0.18);
	font-family: var(--pm-font-display);
	text-transform: uppercase;
	font-size: clamp(1.1rem, 2vw, 1.6rem);
	line-height: 1.05;
}
.ev-collage-sticker span::after { content: ' \2665'; color: var(--pm-navy); }

/* the video: a full cover over the whole collage block until it is closed */
.ev-video {
	position: absolute;
	inset: 0;
	z-index: 500;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	background: transparent;
	pointer-events: none; /* the photos around the video stay visible and clickable */
	animation: ev-veil-in 0.5s ease both;
}
.ev-video[hidden] { display: none; }
.ev-video.is-closing { animation: ev-veil-out 0.38s ease both; pointer-events: none; }
.ev-video-card {
	position: relative;
	pointer-events: auto;
	width: min(64%, 840px);
	background: #e9267e;
	border: 5px solid #e9267e;
	border-radius: 16px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
	animation: ev-card-in 0.7s cubic-bezier(0.2, 1.1, 0.3, 1) 0.12s both;
}
.ev-video.is-closing .ev-video-card { animation: ev-card-out 0.38s ease both; }
@keyframes ev-veil-in  { from { opacity: 0; } to { opacity: 1; } }
@keyframes ev-veil-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes ev-card-in  { from { opacity: 0; transform: translateY(60px) scale(0.82) rotate(-2deg); } to { opacity: 1; transform: none; } }
@keyframes ev-card-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(40px) scale(0.88); } }
.ev-video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #14161a; }
.ev-video-frame img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer; }
.ev-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ev-video-play {
	position: absolute; left: 50%; top: 50%;
	transform: translate(-50%, -50%);
	background: #e9267e;
	border: 0; border-radius: 50%;
	box-shadow: 0 6px 22px rgba(233, 38, 126, 0.55);
	width: 5rem; height: 5rem; padding: 0;
	display: flex; align-items: center; justify-content: center;
	cursor: pointer;
	transition: transform 0.2s ease, background 0.2s ease;
}
.ev-video-play:hover { transform: translate(-50%, -50%) scale(1.08); background: #ff3f95; }
.ev-video-play::before {
	content: ''; position: absolute; inset: 0; border-radius: 50%;
	border: 3px solid #e9267e;
	animation: ev-pulse 1.8s ease-out infinite;
	pointer-events: none;
}
.ev-video-play svg { position: relative; }
@keyframes ev-pulse { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(1.7); opacity: 0; } }
.ev-video-hint { animation: ev-bob 1.6s ease-in-out infinite; }
@keyframes ev-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
.ev-video-hint {
	position: absolute; top: 1rem; right: 1.25rem;
	display: flex; align-items: flex-start; gap: 0.4rem;
	color: #fff;
	font-family: var(--pm-font-script);
	font-size: 1.1rem;
	text-transform: uppercase;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
	pointer-events: none;
}
.ev-video.is-playing .ev-video-hint, .ev-video.is-playing .ev-video-play { display: none; }
.ev-video-close {
	position: absolute; z-index: 2; top: -0.9rem; right: -0.9rem;
	width: 2.3rem; height: 2.3rem; border-radius: 50%;
	border: 3px solid #e9267e; background: #fff; color: #e9267e;
	font-size: 1.4rem; line-height: 1; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.ev-video-close { transition: background 0.2s ease, transform 0.3s ease; }
.ev-video-close:hover { background: #e9267e; color: #fff; transform: rotate(90deg) scale(1.1); }

/* photo viewer */
.ev-lightbox {
	position: fixed; inset: 0; z-index: 2000;
	background: rgba(15, 15, 18, 0.92);
	display: flex; align-items: center; justify-content: center;
	padding: 3.5rem 4.5rem;
}
.ev-lightbox[hidden] { display: none; }
.ev-lb-figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; touch-action: pan-y; user-select: none; }
.ev-lb-figure img {
	max-width: 100%; max-height: calc(100vh - 9rem);
	border-radius: 10px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
	transition: opacity 0.2s ease, transform 0.25s ease;
	-webkit-user-drag: none; cursor: grab;
}
.ev-lb-figure img.is-changing { opacity: 0.25; }
.ev-lb-figure figcaption { color: #fff; margin-top: 0.8rem; text-align: center; font-size: 1rem; }
.ev-lb-figure figcaption[hidden] { display: none; }
.ev-lb-close, .ev-lb-nav {
	position: absolute; border: 0; cursor: pointer;
	background: rgba(255, 255, 255, 0.14); color: #fff;
	border-radius: 50%; display: flex; align-items: center; justify-content: center;
	transition: background 0.2s ease;
}
.ev-lb-close:hover, .ev-lb-nav:hover { background: rgba(255, 255, 255, 0.3); }
.ev-lb-close { top: 1rem; right: 1rem; width: 2.8rem; height: 2.8rem; font-size: 1.8rem; line-height: 1; }
.ev-lb-nav { top: 50%; transform: translateY(-50%); width: 3rem; height: 3rem; font-size: 1.3rem; }
.ev-lb-nav[hidden] { display: none; }
.ev-lb-prev { left: 1rem; }
.ev-lb-next { right: 1rem; }
.ev-lb-count { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); color: #fff; font-size: 0.9rem; letter-spacing: 0.05em; }
html.ev-lb-open, html.ev-lb-open body { overflow: hidden; }

@media (max-width: 991.98px) {
	.ev-collage { --cols: 3; }
	.ev-video-card { width: min(80%, 640px); }
}
@media (max-width: 575.98px) {
	.ev-collage { --cols: 2; padding: 0.75rem 3%; }
	.ev-collage-item { border-width: 4px; }
	.ev-collage-wrap.has-video { min-height: 0; }
	.ev-video { padding: 0.6rem; }
	.ev-video-card { width: 100%; }
	.ev-video-play { width: 4rem; height: 4rem; }
	.ev-video-hint { font-size: 0.85rem; top: 0.6rem; right: 0.8rem; }
	.ev-video-close { top: -0.7rem; right: -0.4rem; }
	.ev-lightbox { padding: 3.5rem 0.5rem 3rem; }
	.ev-lb-nav { width: 2.6rem; height: 2.6rem; top: auto; bottom: 0.7rem; transform: none; }
	.ev-lb-prev { left: 1rem; }
	.ev-lb-next { right: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
	.ev-collage-item, .ev-lb-figure img, .ev-video-play { transition: none; }
	.ev-video, .ev-video-card, .ev-video-play::before, .ev-video-hint { animation: none !important; }
}


/* events strip: the sliding row of event covers under the collage */
.ev-strip-section { padding: 0.5rem 0 2.5rem; }
.ev-strip-title {
	text-align: center; margin: 0 0 1rem;
	font-family: var(--pm-font-display); text-transform: uppercase;
	font-size: clamp(1.3rem, 2.4vw, 1.9rem); color: var(--pm-navy);
}
.ev-strip {
	overflow-x: auto; overflow-y: hidden;
	scrollbar-width: none; -ms-overflow-style: none;
	-webkit-overflow-scrolling: touch;
	padding: 0.6rem 0 0.9rem;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.ev-strip::-webkit-scrollbar { display: none; }
.ev-strip-track { display: flex; gap: 1rem; width: max-content; padding: 0 1rem; margin: 0 auto; }
.ev-strip.is-static { -webkit-mask-image: none; mask-image: none; }
.ev-strip.is-static .ev-strip-track { width: auto; justify-content: center; flex-wrap: wrap; }
.ev-strip-item {
	position: relative; flex: 0 0 auto;
	width: clamp(120px, 13vw, 170px); aspect-ratio: 6 / 5;
	padding: 0; border: 3px solid #fff; border-radius: 10px; overflow: hidden;
	background: #fff; cursor: pointer;
	box-shadow: 0 4px 14px rgba(20, 22, 26, 0.18);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ev-strip-item img { width: 100%; height: 100%; object-fit: cover; display: block; -webkit-user-drag: none; user-select: none; }
.ev-strip-item:hover, .ev-strip-item:focus-visible { transform: translateY(-5px) scale(1.04); box-shadow: 0 12px 26px rgba(233, 38, 126, 0.35); outline: 0; }
.ev-strip-label {
	position: absolute; left: 6px; right: 6px; bottom: 6px;
	padding: 0.3rem 0.4rem; border-radius: 6px;
	background: rgba(20, 22, 26, 0.62); color: #fff; text-align: center;
	font-family: var(--pm-font-display); text-transform: uppercase;
	font-size: 0.72rem; line-height: 1.1; letter-spacing: 0.03em;
	transition: background 0.25s ease;
}
.ev-strip-item:hover .ev-strip-label, .ev-strip-item:focus-visible .ev-strip-label { background: #e9267e; }
@media (max-width: 575.98px) {
	.ev-strip-item { width: 112px; }
	.ev-strip-track { gap: 0.7rem; }
}


/* events page: "Perfect for every kind of event" blocks */
.ev-types-section { padding: 2rem 0 3.5rem; }
.ev-types-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 1.6rem; }
.ev-types-title {
	margin: 0; font-family: var(--pm-font-display); text-transform: uppercase;
	font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 0.98; color: #14161a;
}
.ev-types-title span { display: block; color: #e9267e; }
.ev-types-intro { margin: 0; max-width: 28rem; font-size: 1rem; line-height: 1.45; color: #14161a; }
.ev-types-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.ev-type {
	display: flex; flex-direction: column; overflow: hidden;
	background: rgba(255, 255, 255, 0.35);
	border: 1.5px solid rgba(233, 38, 126, 0.22); border-radius: 14px;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.ev-type:hover { transform: translateY(-6px); border-color: #e9267e; box-shadow: 0 14px 30px rgba(233, 38, 126, 0.2); }
.ev-type-img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 14px 14px 0 0; }
.ev-type-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.ev-type:hover .ev-type-img img { transform: scale(1.06); }
.ev-type-body { padding: 1rem 1rem 1.3rem; text-align: center; }
.ev-type-body h3 { margin: 0 0 0.4rem; font-family: var(--pm-font-display); text-transform: uppercase; font-size: 1.05rem; color: #14161a; }
.ev-type-body p { margin: 0; font-size: 0.9rem; line-height: 1.4; color: #14161a; }
@media (max-width: 991.98px) {
	.ev-types-grid { grid-template-columns: repeat(2, 1fr); }
	.ev-types-head { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
}
@media (max-width: 575.98px) {
	.ev-types-grid { gap: 0.7rem; }
	.ev-type-body { padding: 0.8rem 0.6rem 1rem; }
	.ev-type-body h3 { font-size: 0.9rem; }
	.ev-type-body p { font-size: 0.8rem; }
}


/* events page: testimonial slider */
.ev-testi-section { padding: 1rem 0 3.5rem; }
.ev-testi {
	position: relative; overflow: hidden;
	background: #f9bdc9; border-radius: 18px;
	padding: 2.6rem 3rem 3.6rem;
}
.ev-testi-slides { display: grid; }
.ev-testi-slide {
	grid-area: 1 / 1;
	display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 2rem;
	opacity: 0; visibility: hidden; transform: translateX(30px);
	transition: opacity 0.6s ease, transform 0.6s ease, visibility 0s linear 0.6s;
}
.ev-testi-slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity 0.6s ease, transform 0.6s ease; }
.ev-testi-mark { display: block; margin-bottom: 1rem; }
.ev-testi-text blockquote {
	margin: 0 0 1.2rem; max-width: 34rem;
	font-size: clamp(1.05rem, 1.7vw, 1.4rem); line-height: 1.45; font-weight: 500; color: #14161a;
}
.ev-testi-text cite { font-style: normal; font-size: 0.9rem; color: #14161a; }
.ev-testi-photos { position: relative; min-height: 270px; }
.ev-polaroid {
	position: absolute; margin: 0; background: #fff; padding: 9px 9px 34px;
	border-radius: 6px; box-shadow: 0 10px 26px rgba(20, 22, 26, 0.22);
}
.ev-polaroid img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ev-polaroid-1 { width: 31%; aspect-ratio: 3 / 4; left: 2%; top: 14%; transform: rotate(-4deg); z-index: 1; }
.ev-polaroid-2 { width: 36%; aspect-ratio: 3 / 4; left: 32%; top: 0; transform: rotate(2deg); z-index: 3; }
.ev-polaroid-3 { width: 30%; aspect-ratio: 3 / 4; left: 66%; top: 20%; transform: rotate(5deg); z-index: 2; }
.ev-testi-slide.is-active .ev-polaroid { animation: ev-polaroid-in 0.7s cubic-bezier(0.2, 1.1, 0.3, 1) both; }
.ev-testi-slide.is-active .ev-polaroid-2 { animation-delay: 0.1s; }
.ev-testi-slide.is-active .ev-polaroid-3 { animation-delay: 0.2s; }
@keyframes ev-polaroid-in { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }
.ev-testi-note {
	position: absolute; right: 0; bottom: 2%; z-index: 4; text-align: right;
	display: flex; align-items: flex-end; gap: 0.4rem; max-width: 14rem;
	font-family: var(--pm-font-script); text-transform: uppercase; font-size: 1.15rem; line-height: 1.1; color: #14161a;
	transform: rotate(-4deg);
}
.ev-testi-note svg { position: absolute; right: 0; top: -3.2rem; }
.ev-testi-dots { position: absolute; left: 3rem; bottom: 1.5rem; display: flex; gap: 0.5rem; }
.ev-testi-dot { width: 11px; height: 11px; padding: 0; border: 0; border-radius: 50%; background: #fff; cursor: pointer; transition: background 0.25s ease, transform 0.25s ease; }
.ev-testi-dot.is-active { background: #e9267e; transform: scale(1.2); }
@media (max-width: 767.98px) {
	.ev-testi { padding: 1.8rem 1.2rem 3.2rem; }
	.ev-testi-slide { grid-template-columns: 1fr; gap: 1.4rem; }
	.ev-testi-photos { min-height: 230px; }
	.ev-testi-dots { left: 50%; transform: translateX(-50%); }
	.ev-testi-note { font-size: 0.95rem; }
}
@media (prefers-reduced-motion: reduce) {
	.ev-testi-slide, .ev-testi-slide.is-active { transition: none; }
	.ev-testi-slide.is-active .ev-polaroid { animation: none; }
}


/* testimonial: full width edge to edge, and the handwritten note kept clear of the photos */
.ev-testi-section { padding: 0; }
.ev-testi { border-radius: 0; padding: 3rem clamp(1.2rem, 6vw, 7rem) 4rem; }
.ev-testi-dots { left: clamp(1.2rem, 6vw, 7rem); }
.ev-testi-photos { min-height: 0; aspect-ratio: 1.35 / 1; max-width: 760px; width: 100%; margin-left: auto; }
.ev-testi-note { right: 3%; bottom: 0; align-items: flex-end; }
.ev-testi-note svg { position: static; flex: 0 0 auto; align-self: flex-start; margin-right: 0.2rem; }
@media (max-width: 767.98px) {
	.ev-testi { padding: 2rem 1.2rem 3.4rem; }
	.ev-testi-photos { margin: 0 auto; }
	.ev-testi-dots { left: 50%; }
}


/* testimonial: desktop layout matched to the design (everything positioned in % of the panel) */
.ev-testi { background: #f7bccb; }
.ev-testi-arrow { display: none; }
.ev-testi-note { text-align: left; }
@media (min-width: 992px) {
	.ev-testi { padding: 0; aspect-ratio: 1090 / 340; }
	.ev-testi-slides { position: absolute; inset: 0; display: block; }
	.ev-testi-slide { position: absolute; inset: 0; display: block; }
	.ev-testi-text { position: absolute; left: 7.5%; top: 11%; width: 40%; }
	.ev-testi-mark { width: 3.7%; min-width: 30px; height: auto; margin-bottom: 1.2%; }
	.ev-testi-text blockquote {
		margin: 0 0 4%; max-width: none;
		font-family: 'Poppins', var(--pm-font-body, sans-serif);
		font-size: clamp(14px, 1.85vw, 28px); line-height: 1.5; font-weight: 500;
	}
	.ev-testi-text cite { font-size: clamp(11px, 1.05vw, 16px); }
	.ev-testi-photos { position: absolute; left: 45.4%; top: 0; width: 54.6%; height: 100%; max-width: none; margin: 0; aspect-ratio: auto; min-height: 0; }
	.ev-polaroid { padding: 1.7% 1.7% 5.2%; border-radius: 4px; box-sizing: border-box; }
	.ev-polaroid-1 { left: 1%;    top: 13%; width: 27.8%; height: 70.6%; aspect-ratio: auto; transform: rotate(-4deg); }
	.ev-polaroid-2 { left: 28.6%; top: 5%;  width: 32%;   height: 81.5%; aspect-ratio: auto; transform: rotate(2deg); }
	.ev-polaroid-3 { left: 55.6%; top: 22%; width: 27%;   height: 55%;   aspect-ratio: auto; transform: rotate(7deg); }
	.ev-testi-arrow { display: block; position: absolute; z-index: 4; left: 79%; top: 11%; width: 7.5%; height: auto; }
	.ev-testi-note {
		display: block; position: absolute; z-index: 4; left: 73%; top: 64%; right: auto; bottom: auto; max-width: none;
		font-size: clamp(12px, 1.5vw, 22px); line-height: 1.25; transform: rotate(-4deg);
	}
	.ev-testi-dots { left: 24%; bottom: 5%; transform: none; }
}
@media (max-width: 991.98px) {
	.ev-testi-arrow { display: none; }
}


/* testimonial tweaks: bigger quote mark, text kept clear of the photos, photos side by side without covering each other */
@media (min-width: 992px) {
	.ev-testi-text { top: 9%; width: 35%; }
	.ev-testi-mark { width: 6%; min-width: 50px; margin-bottom: 1.6%; }
	.ev-polaroid-1 { left: 0.5%; width: 28%; }
	.ev-polaroid-2 { left: 30.2%; width: 31%; }
	.ev-polaroid-3 { left: 63.5%; top: 18%; width: 26%; height: 54%; }
	.ev-testi-arrow { left: 80%; top: 4%; }
	.ev-testi-note { left: 66%; top: 76%; }
}


/* testimonial: text and photos centred vertically in the panel */
@media (min-width: 992px) {
	.ev-testi-text { top: 50%; transform: translateY(-50%); }
	.ev-polaroid-1 { top: 14.7%; }
	.ev-polaroid-2 { top: 9.2%; }
	.ev-polaroid-3 { top: 23%; }
	.ev-testi-arrow { top: 7%; }
	.ev-testi-note { top: 77%; }
}


/* testimonial note: position and tilt taken from the DevTools values */
@media (min-width: 992px) {
	.ev-testi-note { left: 77%; top: 80%; transform: rotate(-10deg); }
}


/* events page: bottom call-to-action banner */
.ev-cta { position: relative; background: #2b1810 center / cover no-repeat; color: #fff; }
.ev-cta::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 12, 8, 0.82) 0%, rgba(20, 12, 8, 0.45) 100%); }
.ev-cta-inner {
	position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem;
	padding: clamp(2.2rem, 5vw, 4rem) clamp(1.2rem, 6vw, 7rem);
}
.ev-cta-eyebrow { margin: 0 0 0.6rem; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 500; }
.ev-cta-title { margin: 0; font-family: var(--pm-font-display); text-transform: uppercase; font-size: clamp(1.8rem, 3.6vw, 3.2rem); line-height: 1.05; color: #fff; max-width: 40rem; }
.ev-cta-title span { color: #e9267e; }
.ev-cta-btn {
	flex: 0 0 auto; display: inline-flex; align-items: center; gap: 0.5rem;
	padding: 1rem 2.2rem; border-radius: 999px; background: #e9267e; color: #fff;
	font-weight: 600; font-size: 1rem; text-decoration: none;
	box-shadow: 0 8px 22px rgba(233, 38, 126, 0.4);
	transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.ev-cta-btn span { transition: transform 0.25s ease; }
.ev-cta-btn:hover { background: #ff3f95; color: #fff; transform: translateY(-3px); box-shadow: 0 12px 28px rgba(233, 38, 126, 0.55); }
.ev-cta-btn:hover span { transform: translateX(5px); }
@media (max-width: 767.98px) {
	.ev-cta-inner { flex-direction: column; align-items: flex-start; }
}

/* events page: no gap between the bottom banner and the footer */
body.page-template-events-php footer.footer,
body.page-template-events-php .footer { margin-top: 0; }


/* Dessert Club page: perks strip under the banner */
.dc-perks-section { padding: 1.6rem 0 0.4rem; }
.dc-perks {
	list-style: none; margin: 0; padding: 1.1rem 0.6rem;
	display: grid; grid-template-columns: repeat(4, 1fr);
	background: rgba(255, 255, 255, 0.55); border-radius: 18px;
	box-shadow: 0 6px 22px rgba(20, 22, 26, 0.06);
}
.dc-perk { display: flex; align-items: center; gap: 0.9rem; padding: 0.4rem 1.2rem; }
.dc-perk + .dc-perk { border-left: 1px solid rgba(20, 22, 26, 0.18); }
.dc-perk-icon { flex: 0 0 auto; display: inline-flex; color: #14161a; }
.dc-perk-body { display: flex; flex-direction: column; gap: 0.2rem; }
.dc-perk-body strong { font-family: var(--pm-font-display); text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.01em; color: #14161a; }
.dc-perk-body span { font-size: 0.8rem; line-height: 1.3; color: #14161a; }
@media (max-width: 991.98px) {
	.dc-perks { grid-template-columns: repeat(2, 1fr); row-gap: 0.8rem; }
	.dc-perk:nth-child(3) { border-left: 0; }
}
@media (max-width: 575.98px) {
	.dc-perks { grid-template-columns: 1fr; }
	.dc-perk + .dc-perk { border-left: 0; border-top: 1px solid rgba(20, 22, 26, 0.14); padding-top: 0.8rem; }
}


/* Dessert Club page: what's in your box, join banner, bottom banner */
.dc-box-section { padding: 2rem 0 3.5rem; }
.dc-box { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 2.2rem; }
.dc-box-photo { aspect-ratio: 4 / 3; border-radius: 18px; background: center / cover no-repeat #f2a9ba; }
.dc-box-text h2 { margin: 0 0 1.1rem; font-family: var(--pm-font-display); text-transform: uppercase; font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1; color: #14161a; }
.dc-box-text h2 span { color: #e9267e; }
.dc-checks { list-style: none; margin: 0; padding: 0; }
.dc-checks li { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.75rem; font-size: 1rem; color: #14161a; }
.dc-check { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: #e9267e; }
.dc-join {
	display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 2.2rem;
	padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.4rem, 4vw, 3rem); border-radius: 18px; background: #e9267e; color: #fff;
}
.dc-join h2 { margin: 0 0 0.4rem; font-family: var(--pm-font-display); text-transform: uppercase; font-size: clamp(1.5rem, 3.2vw, 2.6rem); line-height: 1.02; color: #fff; }
.dc-join p { margin: 0; font-size: 1rem; }
.dc-join-btn {
	flex: 0 0 auto; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.95rem 2rem; border-radius: 999px;
	background: #fdf1ea; color: #14161a; font-weight: 700; text-decoration: none;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
a.dc-join-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25); color: #14161a; }
a.dc-join-btn span { transition: transform 0.25s ease; }
a.dc-join-btn:hover span { transform: translateX(5px); }
.dc-join-btn.is-done { opacity: 0.9; }
.dc-pass {
	position: relative; overflow: hidden; margin-top: 1.4rem; border-radius: 18px; min-height: 150px;
	display: flex; align-items: center; padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.4rem, 4vw, 3rem);
	background: linear-gradient(90deg, #f7c32e 0%, #fbd669 55%, #f4b53a 100%);
}
.dc-pass::after {
	content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 50%;
	background: var(--dc-pass-img, none) center / cover no-repeat;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); mask-image: linear-gradient(90deg, transparent, #000 35%);
}
.dc-pass h2 { position: relative; z-index: 1; margin: 0; font-family: var(--pm-font-display); text-transform: uppercase; font-size: clamp(1.4rem, 3vw, 2.4rem); line-height: 1.05; color: #14161a; }
@media (max-width: 767.98px) {
	.dc-box { grid-template-columns: 1fr; }
	.dc-join { flex-direction: column; align-items: flex-start; }
	.dc-pass::after { width: 100%; opacity: 0.35; }
}


/* Dessert Club page: full width, edge to edge */
.dc-wide { width: 100%; max-width: none; padding-left: clamp(1.2rem, 5vw, 6rem); padding-right: clamp(1.2rem, 5vw, 6rem); }
.dc-perks-section { padding-top: 0; }
.dc-perks-section .dc-wide { padding-left: 0; padding-right: 0; }
.dc-perks { border-radius: 0; padding: 1.4rem clamp(1.2rem, 5vw, 6rem); box-shadow: none; }
.pm-club-page .pc-plans { max-width: 1200px; }
.dc-box-section .dc-wide { padding-left: 0; padding-right: 0; }
.dc-box { padding: 0 clamp(1.2rem, 5vw, 6rem); }
.dc-join, .dc-pass { margin-left: 0; margin-right: 0; border-radius: 0; }
.dc-join { margin-top: 3rem; padding-left: clamp(1.2rem, 5vw, 6rem); padding-right: clamp(1.2rem, 5vw, 6rem); }
.dc-pass { margin-top: 0; padding-left: clamp(1.2rem, 5vw, 6rem); min-height: 190px; }
.dc-box-section { padding-bottom: 0; }

/* Dessert Club page: no gap between the bottom banner and the footer */
body.page-template-dessert-club-php footer.footer,
body.page-template-dessert-club-php .footer { margin-top: 0; }
body.page-template-dessert-club-php .pm-club-page { padding-bottom: 0; margin-bottom: 0; }

/* Dessert Club perks: a rounded frosted card that overlaps the bottom of the banner */
.dc-perks-section { position: relative; z-index: 5; margin-top: -2.6rem; padding: 0 0 0.6rem; }
.dc-perks-section .dc-wide { padding-left: clamp(1rem, 4vw, 4rem); padding-right: clamp(1rem, 4vw, 4rem); }
.dc-perks {
	padding: 1rem 0.4rem; border-radius: 18px;
	background: rgba(255, 244, 238, 0.82);
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	box-shadow: 0 8px 26px rgba(20, 22, 26, 0.12);
}
.dc-perk { gap: 0.8rem; padding: 0.3rem 1.1rem; }
.dc-perk + .dc-perk { border-left: 1px solid rgba(233, 38, 126, 0.22); }
.dc-perk-icon svg { width: 38px; height: 38px; }
.dc-perk-body strong { font-family: inherit; font-weight: 800; font-size: 0.82rem; letter-spacing: 0; line-height: 1.15; }
.dc-perk-body span { font-size: 0.76rem; line-height: 1.3; }
@media (max-width: 991.98px) { .dc-perks-section { margin-top: -1.6rem; } }

/* Dessert Club perks: sit below the banner, not over it */
.dc-perks-section { margin-top: 0; padding-top: 1.6rem; }
@media (max-width: 991.98px) { .dc-perks-section { margin-top: 0; } }

/* Dessert Club perks: coloured icon tiles and larger text */
.dc-perks { background: #fcefe9; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 24px; padding: 1.4rem 0.6rem; box-shadow: 0 6px 20px rgba(20, 22, 26, 0.06); }
.dc-perk { gap: 1.1rem; padding: 0.3rem 1.6rem; }
.dc-perk + .dc-perk { border-left: 1px solid rgba(20, 22, 26, 0.12); }
.dc-perk-icon {
	width: 4.2rem; height: 4.2rem; justify-content: center; align-items: center;
	border-radius: 18px; background: #f9cfd0; color: #14161a;
}
.dc-perk:nth-child(4n+2) .dc-perk-icon { background: #f4756f; }
.dc-perk:nth-child(4n+3) .dc-perk-icon { background: #d9e3fb; }
.dc-perk:nth-child(4n+4) .dc-perk-icon { background: #d3f6d2; }
.dc-perk-icon svg { width: 2.3rem; height: 2.3rem; }
.dc-perk-body { gap: 0.25rem; }
.dc-perk-body strong { font-size: clamp(0.9rem, 1vw, 1.1rem); font-weight: 700; text-transform: uppercase; }
.dc-perk-body span { font-size: clamp(1rem, 1.2vw, 1.3rem); line-height: 1.3; }
@media (max-width: 991.98px) {
	.dc-perk { padding: 0.4rem 1rem; }
	.dc-perk-icon { width: 3.6rem; height: 3.6rem; border-radius: 14px; }
	.dc-perk-icon svg { width: 2rem; height: 2rem; }
}
