/*
 * Single product page (approved 2026-11-12, built first in pdp-lab).
 * Tokens only: every colour, radius and font comes from tokens.css, and nothing is coloured
 * per product. Phone first; from 900px the picture and the buy box sit side by side.
 * Buttons, the shipping meter and the cart drawer's contents are in cart.css.
 */

.pdp {
	--ring: var(--surface-ring);
	display: block;
}

body.single-product {
	padding-bottom: calc(var(--space-8) + var(--space-2) + env(safe-area-inset-bottom));
}

.pdp :where(h1, h2, h3, p, ul, ol, dl, dd, fieldset, blockquote) {
	margin: 0;
	padding: 0;
}

.pdp :where(ul, ol) {
	list-style: none;
}

/* ---------- 1. Picture ---------- */

.pdp-top {
	position: relative;
}

.pdp-gallery {
	position: sticky;
	top: var(--header-height);
	z-index: 0;
	overflow: hidden;
	background: var(--color-surface);
}

.pdp-gallery__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}

.pdp-gallery__track::-webkit-scrollbar {
	display: none;
}

.pdp-gallery__slide {
	flex: 0 0 100%;
	aspect-ratio: 1 / 1;
	max-height: 62svh;
	scroll-snap-align: center;
	scroll-snap-stop: always;
}

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

/* The other photos, always in sight: a column of small pictures on the photo itself. */

.pdp-gallery__thumbs {
	position: absolute;
	top: var(--space-3);
	right: var(--space-3);
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
}

.pdp-gallery__thumbs button {
	width: 46px;
	height: 46px;
	padding: 0;
	border: 0;
	border-radius: var(--radius-sm);
	background: var(--color-surface);
	box-shadow: 0 0 0 1.5px #fff, 0 2px 8px color-mix(in srgb, var(--color-shadow) 22%, transparent);
	overflow: hidden;
	cursor: pointer;
	transition: box-shadow var(--duration);
}

.pdp-gallery__thumbs button.is-on {
	box-shadow: 0 0 0 2.5px var(--color-accent);
}

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

/* The picture sinks a little as the buy box rises over it. */

@supports (animation-timeline: scroll()) {
	@media (max-width: 899px) and (prefers-reduced-motion: no-preference) {
		.pdp-gallery__track {
			animation: pdp-sink linear both;
			animation-timeline: scroll(root);
			animation-range: 40px 520px;
			transform-origin: 50% 30%;
		}
	}
}

@keyframes pdp-sink {
	to {
		transform: scale(0.94);
		opacity: 0.55;
	}
}

/* ---------- 1. Buy box ---------- */

.pdp-sheet {
	position: relative;
	z-index: 1;
	margin-top: calc(-1 * var(--space-5));
	padding: var(--space-3) var(--gutter) var(--space-2);
	border-radius: 24px 24px 0 0;
	background: var(--color-bg);
	box-shadow: 0 -12px 32px color-mix(in srgb, var(--color-shadow) 10%, transparent);
}

.pdp-sheet__grip {
	display: block;
	width: 36px;
	height: 4px;
	margin: 0 auto var(--space-4);
	border-radius: var(--radius-pill);
	background: color-mix(in srgb, var(--color-honey-950) 18%, transparent);
}

.pdp-kicker {
	color: var(--color-muted);
	font-size: 13.5px;
	font-weight: 550;
}

.pdp-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--space-4);
	margin-top: var(--space-0);
}

.pdp-title {
	font-size: clamp(34px, 9.4vw, 52px);
	letter-spacing: -0.025em;
	line-height: 1;
}

.pdp-title--long {
	font-size: clamp(27px, 7.4vw, 44px);
	letter-spacing: -0.02em;
	line-height: 1.04;
	text-wrap: balance;
}

.pdp-price {
	flex: none;
	font-family: var(--font-display);
	font-size: clamp(28px, 7.6vw, 40px);
	font-weight: 620;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.02em;
	line-height: 1;
}

.pdp-lede {
	margin-top: var(--space-3);
	color: var(--color-soft);
	font-size: 16px;
	text-wrap: pretty;
}

.pdp-claims {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-1) var(--space-4);
	margin-top: var(--space-3);
}

.pdp-claims li {
	display: inline-flex;
	align-items: center;
	gap: var(--space-1);
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
}

.pdp-claims li::before {
	content: "";
	width: 12px;
	height: 12px;
	background: var(--color-icon);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2 6.4 2.6 2.6L10 3.4' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2 6.4 2.6 2.6L10 3.4' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Pack picker */

.pdp-packs {
	min-width: 0;
	margin-top: var(--space-5);
	border: 0;
}

.pdp-packs__legend {
	margin-bottom: var(--space-4);
	padding: 0;
	font-size: 15px;
	font-weight: 650;
}

.pdp-packs__row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--space-2);
}

.pdp-pack {
	position: relative;
	display: block;
	cursor: pointer;
}

.pdp-pack input {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
}

.pdp-pack__box {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
	padding: var(--space-5) var(--space-1) var(--space-3);
	border-radius: var(--radius-md);
	background: var(--color-surface);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-honey-950) 16%, transparent);
	text-align: center;
	transition: box-shadow var(--duration), background var(--duration);
}

.pdp-pack input:checked + .pdp-pack__box {
	background: #fffaf0;
	box-shadow: inset 0 0 0 2px var(--color-accent);
}

.pdp-pack input:focus-visible + .pdp-pack__box {
	outline: 3px solid var(--color-focus);
	outline-offset: 2px;
}

.pdp-pack__flag {
	position: absolute;
	top: 0;
	left: 50%;
	padding: var(--space-1) var(--space-2);
	border-radius: var(--radius-pill);
	background: var(--color-highlight);
	color: var(--color-text);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 1.1;
	white-space: nowrap;
	transform: translate(-50%, -50%);
	transition: background var(--duration), color var(--duration);
}

.pdp-pack input:checked + .pdp-pack__box .pdp-pack__flag {
	background: var(--color-accent);
	color: var(--color-accent-contrast);
}

.pdp-pack__qty {
	font-family: var(--font-display);
	font-size: 30px;
	font-weight: 620;
	letter-spacing: -0.02em;
	line-height: 1;
}

.pdp-pack__qty small {
	font-family: var(--font-body);
	font-size: 13.5px;
	font-weight: 600;
	letter-spacing: 0;
}

.pdp-pack__price {
	margin-top: var(--space-2);
	font-size: 15px;
	font-weight: 650;
	font-variant-numeric: tabular-nums;
}

.pdp-pack__each {
	color: var(--color-muted);
	font-size: 12px;
	font-variant-numeric: tabular-nums;
}

.pdp-offer {
	margin-top: var(--space-3);
	color: var(--color-soft);
	font-size: 13.5px;
	line-height: 1.3;
}

.pdp-offer b {
	color: var(--color-text);
	font-weight: 650;
}

/* Free shipping meter: the pill itself fills with honey, the colour the site uses to mark
   things (top bar, added state). One line tall, so it reads as part of the pack picker. */

/* Buttons */

.pdp-buy {
	display: grid;
	grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
	gap: var(--space-2);
	margin-top: var(--space-4);
}

.pdp-pay {
	display: flex;
	justify-content: center;
	gap: var(--space-2);
	margin-top: var(--space-3);
}

.pdp-pay img {
	display: block;
	width: 38px;
	height: 24px;
}

/* Trust rows */

.pdp-trust {
	margin-top: var(--space-4);
	border-radius: var(--radius-md);
	background: var(--color-surface);
	box-shadow: var(--ring);
}

.pdp-trust li {
	display: flex;
	align-items: flex-start;
	gap: var(--space-3);
	padding: var(--space-3) var(--space-4);
	font-size: 14px;
	line-height: 1.35;
}

.pdp-trust li + li {
	border-top: var(--border);
}

.pdp-trust svg {
	flex: none;
	width: 20px;
	height: 20px;
	color: var(--color-icon);
}

.pdp-trust b {
	font-weight: 650;
}

/* One real voice under the buy box */

.pdp-voice {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: var(--space-0) var(--space-2);
	margin-top: var(--space-3);
	padding: var(--space-4) var(--space-4) var(--space-4);
	border-radius: var(--radius-md);
	background: var(--color-honey-200);
	text-decoration: none;
}

.pdp-voice__mark {
	grid-row: 1 / 3;
	color: var(--color-honey-700);
	font: 700 44px/0.9 var(--font-display);
}

.pdp-voice__text {
	font-family: var(--font-display);
	font-size: 19px;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.2;
}

.pdp-voice__by {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--space-1) var(--space-3);
	margin-top: var(--space-2);
	font-size: 13.5px;
	font-weight: 550;
}

.pdp-voice__more {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------- Sections ---------- */

.pdp-sec {
	width: min(100% - 2 * var(--gutter), var(--layout-wide));
	margin-inline: auto;
	padding-top: var(--space-section);
}

.pdp-h2 {
	margin-top: var(--space-2);
	font-size: clamp(27px, 6.8vw, 42px);
	letter-spacing: -0.022em;
	line-height: 1.04;
	text-wrap: balance;
}

.pdp-sub {
	margin-top: var(--space-2);
	color: var(--color-muted);
	font-size: 15px;
	text-wrap: pretty;
}

/* 2. Inside */

.pdp-inside {
	display: grid;
	gap: var(--space-5);
}

.pdp-inside__pic {
	position: relative;
	border-radius: var(--radius-md);
	overflow: hidden;
}

.pdp-inside__pic img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.pdp-dot,
.pdp-layers__n {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--color-accent);
	color: var(--color-accent-contrast);
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
}

.pdp-dot {
	position: absolute;
	left: var(--x);
	top: var(--y);
	box-shadow: 0 0 0 3px #fff;
	transform: translate(-50%, -50%);
}

.pdp-dot::after {
	content: "";
	position: absolute;
	inset: -3px;
	border-radius: 50%;
	box-shadow: 0 0 0 0 color-mix(in srgb, #fff 80%, transparent);
	animation: pdp-pulse 2.4s ease-out infinite;
}

@keyframes pdp-pulse {
	70%,
	100% {
		box-shadow: 0 0 0 12px transparent;
	}
}

.pdp-layers {
	margin-top: var(--space-head);
}

.pdp-layers li {
	display: flex;
	gap: var(--space-4);
	padding: var(--space-4) 0;
	border-top: var(--border);
}

.pdp-layers li:last-child {
	border-bottom: var(--border);
}

.pdp-layers__n {
	flex: none;
}

.pdp-layers h3 {
	font-size: 18px;
	letter-spacing: -0.01em;
}

.pdp-layers p {
	margin-top: var(--space-0);
	color: var(--color-muted);
	font-size: 15px;
}

/* 3. Facts */

.pdp-facts {
	padding-top: var(--space-6);
}

.pdp-facts__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--grid-gap);
}

.pdp-facts__grid > div {
	padding: var(--pad-tile);
	border-radius: var(--radius-md);
	background: var(--color-surface);
	box-shadow: var(--ring);
}

.pdp-facts dt {
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 620;
	letter-spacing: -0.02em;
	line-height: 1.05;
}

.pdp-facts dd {
	margin-top: var(--space-1);
	color: var(--color-muted);
	font-size: 13.5px;
	line-height: 1.3;
}

/* 4. Buy together */

.pdp-bundle__card {
	padding: var(--pad-panel) var(--pad-tile) var(--pad-tile);
	border-radius: var(--radius-lg);
	background: var(--color-surface);
	box-shadow: var(--ring);
}

.pdp-bundle__list {
	margin-top: var(--space-head);
}

.pdp-bundle__list li {
	border-top: var(--border);
}

.pdp-item {
	display: grid;
	grid-template-columns: 26px 52px minmax(0, 1fr) auto;
	align-items: center;
	gap: var(--space-3);
	padding: var(--space-3) 0;
	cursor: pointer;
}

.pdp-item input {
	position: absolute;
	opacity: 0;
}

.pdp-item input:checked + .pdp-item__check {
	background: var(--color-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath d='m7.500 13.400 3.700 3.700 7.300-7.800' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	box-shadow: none;
}

.pdp-item input:disabled + .pdp-item__check {
	opacity: 0.45;
}

.pdp-item input:focus-visible + .pdp-item__check {
	outline: 3px solid var(--color-focus);
	outline-offset: 2px;
}

.pdp-item img {
	display: block;
	width: 52px;
	height: 65px;
	border-radius: var(--radius-sm);
	object-fit: cover;
	transition: opacity var(--duration);
}

.pdp-item__name {
	font-size: 15.5px;
	font-weight: 650;
	line-height: 1.2;
}

.pdp-item__name small {
	display: block;
	margin-top: var(--space-1);
	color: var(--color-muted);
	font-size: 12.5px;
	font-weight: 500;
}

.pdp-item__price {
	font-size: 15px;
	font-weight: 650;
	font-variant-numeric: tabular-nums;
}

.pdp-item:has(input:not(:checked)) :is(img, .pdp-item__name, .pdp-item__price) {
	opacity: 0.45;
}

.pdp-bundle__note {
	padding: var(--space-3) 0;
	border-top: var(--border);
	color: var(--color-muted);
	font-size: 14px;
	font-weight: 550;
	text-align: center;
}

.pdp-bundle__note.is-free {
	color: var(--color-text);
	font-weight: 700;
}

/* 5. Side by side */

.pdp-compare__pic {
	display: none;
}

.pdp-table {
	width: 100%;
	margin-top: var(--space-head);
	border-collapse: separate;
	border-spacing: 0;
	table-layout: fixed;
}

.pdp-table thead td {
	width: 42%;
}

.pdp-table thead th {
	padding: var(--space-3) var(--space-2);
	color: var(--color-muted);
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.2;
	vertical-align: bottom;
}

.pdp-table thead .pdp-table__us {
	border-top: 2px solid var(--color-accent);
	border-radius: var(--radius-md) var(--radius-md) 0 0;
	color: var(--color-text);
	font-weight: 700;
}

.pdp-table thead .pdp-table__us img {
	display: block;
	width: 26px;
	height: auto;
	margin: 0 auto var(--space-2);
}

.pdp-table tbody th {
	padding: var(--space-4) var(--space-3) var(--space-4) 0;
	border-top: var(--border);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.25;
	text-align: left;
}

.pdp-table tbody td {
	padding: var(--space-3) var(--space-1);
	border-top: var(--border);
	text-align: center;
}

.pdp-table .pdp-table__us {
	border-inline: 2px solid var(--color-accent);
	background: var(--color-surface);
}

.pdp-table tbody tr:last-child .pdp-table__us {
	border-bottom: 2px solid var(--color-accent);
	border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.pdp-yes,
.pdp-no {
	display: inline-block;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	vertical-align: middle;
}

.pdp-yes {
	background: var(--color-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath d='m7.500 13.400 3.700 3.700 7.300-7.800' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.pdp-no {
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath d='m9 9 8 8m0-8-8 8' fill='none' stroke='%236b5446' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
	box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--color-honey-950) 26%, transparent);
}

.pdp-meh {
	color: var(--color-muted);
	font-size: 13px;
	font-weight: 550;
}

/* 6. Ways to enjoy */

.pdp-moments__rail,
.pdp-more__rail {
	display: flex;
	gap: var(--grid-gap);
	margin-top: var(--space-head);
	margin-inline: calc(-1 * var(--gutter));
	padding-inline: var(--gutter);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--gutter);
	scrollbar-width: none;
}

.pdp-moments__rail::-webkit-scrollbar,
.pdp-more__rail::-webkit-scrollbar {
	display: none;
}

.pdp-moments__rail li {
	flex: 0 0 min(72%, 300px);
	scroll-snap-align: start;
}

.pdp-moments__rail img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	border-radius: var(--radius-md);
	object-fit: cover;
}

.pdp-moments__rail h3 {
	margin-top: var(--space-3);
	font-size: 18px;
	letter-spacing: -0.01em;
}

.pdp-moments__rail p {
	margin-top: var(--space-0);
	color: var(--color-muted);
	font-size: 14.5px;
}

/* 7. Ingredients and storage */

.pdp-panels {
	display: grid;
	gap: var(--grid-gap);
}

.pdp-panel {
	padding: var(--pad-tile);
	border: var(--border);
	border-radius: var(--radius-md);
}

.pdp-panel h2 {
	font-size: 17px;
	letter-spacing: -0.01em;
}

.pdp-panel p {
	margin-top: var(--space-2);
	color: var(--color-soft);
	font-size: 14.5px;
}

.pdp-panel .pdp-panel__contains {
	margin-top: var(--space-3);
	padding: var(--space-3) var(--space-3);
	border-radius: var(--radius-sm);
	background: var(--color-honey-200);
	color: var(--color-text);
	font-weight: 600;
}

.pdp-panel .pdp-panel__serving {
	font-size: 13.5px;
}

.pdp-nutri {
	margin-top: var(--space-3);
	border-top: 2px solid var(--color-text);
}

.pdp-nutri div {
	display: flex;
	justify-content: space-between;
	gap: var(--space-4);
	padding: var(--space-2) 0;
	border-bottom: var(--border);
	font-size: 14.5px;
}

.pdp-nutri div:first-child {
	font-size: 16px;
	font-weight: 700;
}

.pdp-nutri dd {
	font-weight: 650;
	font-variant-numeric: tabular-nums;
}

/* 8. Reviews */

.pdp-reviews__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-auto-flow: dense;
	gap: var(--grid-gap);
	margin-top: var(--space-head);
}

.pdp-review {
	display: flex;
	padding: var(--pad-tile);
	border-radius: var(--radius-md);
	background: var(--color-surface);
	box-shadow: var(--ring);
}

.pdp-review--long {
	grid-column: 1 / -1;
}

.pdp-review blockquote {
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: space-between;
	gap: var(--space-4);
}

.pdp-review p {
	font-family: var(--font-display);
	font-size: 17px;
	font-weight: 560;
	letter-spacing: -0.008em;
	line-height: 1.24;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}

.pdp-review footer {
	display: flex;
	align-items: center;
	gap: var(--space-2);
}

.pdp-review__avatar {
	display: grid;
	flex: none;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--color-honey-200);
	font-size: 12px;
	font-weight: 700;
}

.pdp-review__who {
	display: grid;
	gap: var(--space-1);
	min-width: 0;
}

.pdp-review cite {
	font-size: 13px;
	font-style: normal;
	font-weight: 650;
	line-height: 1.15;
}

.pdp-review__stars {
	display: flex;
	gap: 1.5px;
}

.pdp-review__stars svg {
	width: 11px;
	height: 11px;
	fill: var(--color-honey-500);
}

@media (max-width: 719px) {
	.pdp-reviews__grid > :last-child:nth-child(even) {
		grid-column: 1 / -1;
	}
}

/* 9. Questions */

.pdp-faq__help {
	display: none;
}

.pdp-faq__list {
	margin-top: var(--space-head);
	border-bottom: var(--border);
}

.pdp-faq details {
	border-top: var(--border);
}

.pdp-faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-4);
	padding: var(--space-4) 0;
	font-size: 16px;
	font-weight: 650;
	list-style: none;
	cursor: pointer;
}

.pdp-faq summary::-webkit-details-marker {
	display: none;
}

.pdp-faq summary::after {
	content: "";
	flex: none;
	width: 22px;
	height: 22px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' fill='none' stroke='%232f1a10' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform var(--duration);
}

.pdp-faq details[open] summary::after {
	transform: rotate(45deg);
}

.pdp-faq details p {
	padding: 0 var(--space-6) var(--space-4) 0;
	color: var(--color-soft);
	font-size: 15px;
}

/* 10. More from the store */

.pdp-more__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--space-4);
}

.pdp-more__all {
	flex: none;
	font-size: 14.5px;
	font-weight: 650;
	text-underline-offset: 3px;
}

.pdp-chips {
	display: flex;
	gap: var(--space-2);
	margin-top: var(--space-head);
	margin-inline: calc(-1 * var(--gutter));
	padding-inline: var(--gutter);
	overflow-x: auto;
	scrollbar-width: none;
}

.pdp-chips::-webkit-scrollbar {
	display: none;
}

.pdp-chip {
	flex: none;
	min-height: 38px;
	padding: 0 var(--space-4);
	border: 0;
	border-radius: var(--radius-pill);
	background: var(--color-surface);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-honey-950) 16%, transparent);
	color: var(--color-text);
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	cursor: pointer;
}

.pdp-chip.is-on {
	background: var(--color-accent);
	box-shadow: none;
	color: var(--color-accent-contrast);
}

.pdp-more__rail {
	margin-top: var(--space-4);
}

.pdp-card[hidden] {
	display: none;
}

.pdp-card {
	flex: 0 0 min(44%, 220px);
	min-width: 0;
	scroll-snap-align: start;
}

.pdp-card__pic {
	display: block;
	border-radius: var(--radius-md);
	background: var(--color-surface);
	box-shadow: var(--ring);
	overflow: hidden;
}

.pdp-card__pic img {
	display: block;
	width: 100%;
	height: auto;
}

.pdp-card__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: start;
	column-gap: var(--space-2);
	padding: var(--space-3) var(--space-0) 0;
}

.pdp-card__name {
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: 620;
	letter-spacing: -0.008em;
	line-height: 1.14;
	text-decoration: none;
}

.pdp-card__price {
	grid-column: 1;
	margin-top: var(--space-1);
	font-size: 14px;
	font-variant-numeric: tabular-nums;
}

.pdp-card__add {
	display: grid;
	grid-area: 1 / 2 / 3 / 3;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--color-accent);
	color: var(--color-accent-contrast);
	cursor: pointer;
	transition: background var(--duration), color var(--duration);
}

.pdp-card__add svg {
	width: 18px;
	height: 18px;
}

.pdp-card__add.is-added {
	background: var(--color-highlight);
	color: var(--color-text);
}

/* ---------- Buy bar and toast ---------- */

.pdp-bar {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 40;
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) auto;
	align-items: center;
	gap: var(--space-3);
	padding: var(--space-2) var(--gutter) calc(var(--space-2) + env(safe-area-inset-bottom));
	padding-inline: max(var(--gutter), calc((100vw - var(--layout-wide)) / 2));
	background: color-mix(in srgb, var(--color-honey-50) 92%, transparent);
	-webkit-backdrop-filter: blur(14px) saturate(1.4);
	backdrop-filter: blur(14px) saturate(1.4);
	box-shadow: 0 -1px 0 color-mix(in srgb, var(--color-shadow) 12%, transparent), 0 -10px 30px color-mix(in srgb, var(--color-shadow) 8%, transparent);
	transform: translateY(110%);
	transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.pdp-bar.is-on {
	transform: none;
}

.pdp-bar img {
	display: block;
	width: 44px;
	height: 44px;
	border-radius: var(--radius-sm);
	object-fit: cover;
}

.pdp-bar__what {
	display: grid;
	gap: var(--space-0);
	margin: 0;
	min-width: 0;
	line-height: 1.15;
}

.pdp-bar__what b {
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: 620;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.pdp-bar__what span {
	color: var(--color-muted);
	font-size: 12.5px;
	font-weight: 550;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.pdp-bar .pdp-btn {
	min-height: 48px;
	padding: 0 var(--space-4);
	font-size: 15.5px;
}

/* ---------- Wide screens ---------- */

@media (min-width: 720px) {
	.pdp-facts__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.pdp-reviews__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.pdp-review--long {
		grid-column: span 2;
	}

	.pdp-panels {
		grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
		align-items: start;
	}

	.pdp-moments__rail {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: var(--grid-gap);
		margin-inline: 0;
		padding-inline: 0;
		overflow: visible;
	}

	.pdp-card {
		flex-basis: 200px;
	}
}

@media (min-width: 900px) {
	.pdp-top {
		display: grid;
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
		align-items: start;
		gap: var(--space-split);
		width: min(100% - 2 * var(--gutter), var(--layout-wide));
		margin-inline: auto;
		padding-top: var(--space-5);
	}

	.pdp-gallery {
		top: calc(var(--header-height) + var(--space-4));
		overflow: visible;
		background: none;
	}

	.pdp-gallery__track {
		border-radius: var(--radius-md);
	}

	.pdp-gallery__slide {
		aspect-ratio: 4 / 5;
		max-height: calc(100svh - var(--header-height) - 130px);
	}

	.pdp-gallery__thumbs {
		position: static;
		flex-direction: row;
		gap: var(--space-2);
		margin-top: var(--space-3);
	}

	.pdp-gallery__thumbs button {
		width: 64px;
		height: 80px;
		box-shadow: none;
		opacity: 0.6;
	}

	.pdp-gallery__thumbs button.is-on {
		box-shadow: 0 0 0 2px var(--color-accent);
		opacity: 1;
	}

	.pdp-sheet {
		margin-top: 0;
		padding: var(--space-2) 0 0;
		border-radius: 0;
		background: none;
		box-shadow: none;
	}

	.pdp-sheet__grip {
		display: none;
	}

	.pdp-inside {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: center;
		gap: var(--space-split);
	}

	.pdp-bundle__card {
		display: grid;
		grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
		column-gap: var(--space-split);
		padding: var(--pad-panel);
	}

	.pdp-bundle__card > :is(.pdp-eyebrow, .pdp-h2, .pdp-sub) {
		grid-column: 1;
	}

	.pdp-bundle__list {
		grid-area: 1 / 2 / 5 / 3;
		margin-top: 0;
	}

	.pdp-bundle__list li:first-child {
		border-top: 0;
	}

	.pdp-bundle__note,
	.pdp-bundle .pdp-btn--wide {
		grid-column: 2;
	}

	/* Side by side: words and a photo on the left, the table as a card on the right */

	.pdp-compare {
		display: grid;
		grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
		align-items: start;
		gap: var(--space-split);
	}

	.pdp-compare__words {
		display: flex;
		flex-direction: column;
	}

	.pdp-compare__words .pdp-sub {
		max-width: 26rem;
		font-size: 17px;
	}

	.pdp-compare__pic {
		display: block;
		width: 100%;
		aspect-ratio: 3 / 2;
		margin-top: var(--space-6);
		border-radius: var(--radius-md);
		object-fit: cover;
	}

	.pdp-compare__card {
		padding: var(--pad-panel);
		border-radius: var(--radius-lg);
		background: var(--color-surface);
		box-shadow: var(--ring);
	}

	.pdp-table {
		margin-top: 0;
	}

	.pdp-table thead td {
		width: 46%;
	}

	.pdp-table thead th {
		padding: var(--space-4) var(--space-3) var(--space-4);
		font-size: 14.5px;
	}

	.pdp-table thead .pdp-table__us img {
		width: 34px;
		margin-bottom: var(--space-2);
	}

	.pdp-table tbody th {
		padding: var(--space-5) var(--space-4) var(--space-5) var(--space-1);
		font-size: 18px;
	}

	.pdp-table tbody td {
		padding: var(--space-4) var(--space-2);
	}

	.pdp-table .pdp-table__us {
		background: var(--color-honey-200);
	}

	.pdp-yes,
	.pdp-no {
		width: 34px;
		height: 34px;
	}

	.pdp-meh {
		font-size: 15px;
	}

	/* Questions: heading and a way to reach a person on the left, answers as cards on the right */

	.pdp-faq {
		display: grid;
		grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
		align-items: start;
		gap: var(--space-split);
	}

	.pdp-faq__words {
		position: sticky;
		top: calc(var(--header-height) + var(--space-5));
	}

	.pdp-faq__help {
		display: grid;
		grid-template-columns: repeat(2, max-content);
		gap: var(--space-2) var(--space-2);
		max-width: 26rem;
		margin-top: var(--space-6);
		padding: var(--space-5);
		border-radius: var(--radius-md);
		background: var(--color-honey-200);
	}

	.pdp-faq__help h3 {
		grid-column: 1 / -1;
		font-size: 22px;
		letter-spacing: -0.015em;
	}

	.pdp-faq__help p {
		grid-column: 1 / -1;
		margin-bottom: var(--space-3);
		color: var(--color-soft);
	}

	.pdp-faq__help .pdp-btn {
		min-height: 48px;
		font-size: 15px;
	}

	.pdp-faq__list {
		display: grid;
		gap: var(--space-3);
		margin-top: 0;
		border: 0;
	}

	.pdp-faq details {
		border: 0;
		border-radius: var(--radius-md);
		background: var(--color-surface);
		box-shadow: var(--ring);
		transition: background var(--duration);
	}

	.pdp-faq details[open] {
		background: #fffaf0;
		box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--color-honey-950) 22%, transparent);
	}

	.pdp-faq summary {
		padding: var(--space-5) var(--space-5);
		font-family: var(--font-display);
		font-size: 20px;
		font-weight: 620;
		letter-spacing: -0.01em;
	}

	.pdp-faq summary::after {
		width: 36px;
		height: 36px;
		border-radius: 50%;
		background-color: var(--color-honey-200);
		background-size: 18px;
	}

	.pdp-faq details p {
		padding: 0 calc(2 * var(--space-5) + 36px) var(--space-5) var(--space-5); /* clears the round mark beside the question */
		font-size: 16.5px;
	}

	.pdp-chips {
		margin-inline: 0;
		padding-inline: 0;
	}
}

/* ---------- Inside WordPress ---------- */

.site-main--product {
	padding-block: 0;
}

.pdp-shell > .woocommerce-breadcrumb {
	display: none;
}

.pdp-shell > .woocommerce-notices-wrapper {
	width: min(100% - 2 * var(--gutter), var(--layout-wide));
	margin-inline: auto;
}

.admin-bar .pdp-gallery {
	top: calc(var(--header-height) + var(--wp-admin--admin-bar--height, 0px));
}

.pdp-form {
	margin: 0;
}

.pdp-packs__row {
	grid-template-columns: repeat(var(--packs, 3), minmax(0, 1fr));
}

.pdp-buy {
	grid-template-columns: minmax(0, 1fr);
}

.pdp-claims__note {
	margin-top: var(--space-1);
	color: var(--color-muted);
	font-size: 13px;
}

.pdp-price del {
	color: var(--color-muted);
	font-size: 0.6em;
	font-weight: 500;
}

.pdp-price ins {
	text-decoration: none;
}

/* Express pay, when the gateway offers it, sits under the main button at full width. */
.pdp-sheet #wc-stripe-express-checkout-element {
	margin-top: var(--space-2) !important;
}

@media (min-width: 900px) {
	.pdp-shell > .woocommerce-breadcrumb {
		display: block;
		width: min(100% - 2 * var(--gutter), var(--layout-wide));
		margin: var(--space-4) auto 0;
	}

	.admin-bar .pdp-gallery {
		top: calc(var(--header-height) + var(--wp-admin--admin-bar--height, 0px) + var(--space-4));
	}
}
