/**
 * Espace privé Vendôme Show — UI produit premium.
 * Marque : teal Pascale Gorce (#05686d).
 */

/* Dazzle force html{font-size:62.5%} (1rem≈10px). On rétablit une base normale. */
html.pg-vs-html {
	font-size: 100%;
}

.pg-vs-body {
	--vs-brand: #05686d;
	--vs-brand-deep: #03484c;
	--vs-brand-soft: color-mix(in srgb, var(--vs-brand) 10%, white);
	--vs-brand-mute: color-mix(in srgb, var(--vs-brand) 18%, white);
	--vs-ink: #1c2424;
	--vs-ink-soft: #3d4a4a;
	--vs-muted: #5c6b6b;
	--vs-line: color-mix(in srgb, var(--vs-brand) 14%, #e4ebea);
	--vs-surface: #ffffff;
	--vs-surface-2: #f4f8f7;
	--vs-danger: #9b2c1a;
	--vs-danger-bg: #fceeed;
	--vs-ok: #0d5c45;
	--vs-ok-bg: #e6f5ef;
	--vs-radius: 10px;
	--vs-radius-sm: 6px;
	--vs-space-1: 4px;
	--vs-space-2: 8px;
	--vs-space-3: 12px;
	--vs-space-4: 16px;
	--vs-space-5: 24px;
	--vs-space-6: 32px;
	--vs-space-7: 48px;
	--vs-shadow: 0 1px 2px rgba(28, 36, 36, 0.04), 0 8px 24px rgba(5, 104, 109, 0.06);
	--vs-ease: cubic-bezier(0.16, 1, 0.3, 1);
	--vs-header-h: 64px;
	--vs-max: 1100px;
	--vs-font: "Lato", "Helvetica Neue", Arial, sans-serif;
	--vs-display: "Montserrat", "Lato", sans-serif;

	margin: 0;
	font-family: var(--vs-font);
	font-size: 16px;
	line-height: 1.5;
	color: var(--vs-ink);
	background:
		radial-gradient(900px 420px at 8% -8%, color-mix(in srgb, var(--vs-brand) 14%, transparent), transparent 58%),
		radial-gradient(700px 360px at 100% 0%, color-mix(in srgb, var(--vs-brand) 9%, transparent), transparent 52%),
		linear-gradient(180deg, #f6faf9 0%, #ffffff 42%, #f3f7f6 100%);
	min-height: 100vh;
	min-height: 100dvh;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.pg-vs-body *,
.pg-vs-body *::before,
.pg-vs-body *::after {
	box-sizing: border-box;
}

.pg-vs-body img {
	max-width: 100%;
	height: auto;
}

.pg-vs-body a {
	color: var(--vs-brand);
}

.pg-vs-body a:focus-visible,
.pg-vs-body button:focus-visible,
.pg-vs-body input:focus-visible,
.pg-vs-body select:focus-visible,
.pg-vs-body textarea:focus-visible {
	outline: 2px solid var(--vs-brand);
	outline-offset: 2px;
}

/* ——— Header ——— */
.pg-vs-header {
	position: sticky;
	top: 0;
	z-index: 40;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	background: rgba(255, 255, 255, 0.9);
	border-bottom: 1px solid var(--vs-line);
}

.pg-vs-header__inner {
	max-width: var(--vs-max);
	margin: 0 auto;
	padding: 12px max(16px, env(safe-area-inset-right)) 12px max(16px, env(safe-area-inset-left));
	min-height: var(--vs-header-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--vs-space-4);
}

.pg-vs-brand {
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}

.pg-vs-brand:hover {
	color: inherit;
}

.pg-vs-brand__eyebrow {
	font-size: 10px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--vs-brand);
	font-weight: 700;
	line-height: 1.2;
}

.pg-vs-brand__title {
	font-family: var(--vs-display);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.25;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.pg-vs-nav {
	display: flex;
	gap: 4px;
	align-items: center;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.pg-vs-nav a {
	color: var(--vs-ink-soft);
	text-decoration: none;
	font-weight: 600;
	font-size: 13px;
	padding: 8px 10px;
	border-radius: 999px;
	min-height: 40px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	transition: background 0.2s var(--vs-ease), color 0.2s var(--vs-ease);
}

.pg-vs-nav a:hover,
.pg-vs-nav a.is-active {
	color: var(--vs-brand);
	background: var(--vs-brand-soft);
}

.pg-vs-cart-link {
	position: relative;
}

.pg-vs-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.35em;
	height: 1.35em;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--vs-brand);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}

/* ——— Shell ——— */
.pg-vs-main {
	max-width: var(--vs-max);
	margin: 0 auto;
	padding: var(--vs-space-6) max(16px, env(safe-area-inset-right)) calc(var(--vs-space-7) + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}

.pg-vs-footer {
	max-width: var(--vs-max);
	margin: 0 auto;
	padding: var(--vs-space-5) max(16px, env(safe-area-inset-right)) calc(var(--vs-space-6) + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
	color: var(--vs-muted);
	font-size: 13px;
	line-height: 1.55;
	border-top: 1px solid var(--vs-line);
}

.pg-vs-footer p {
	margin: 0 0 8px;
}

.pg-vs-footer a {
	color: var(--vs-brand);
	font-weight: 600;
	text-decoration: none;
}

.pg-vs-footer a:hover {
	text-decoration: underline;
}

.pg-vs-footer__legal {
	margin: 0 0 10px;
	font-size: 12px;
}

.pg-vs-footer__legal a,
.pg-vs-footer__legal .pg-cookie-prefs {
	color: var(--vs-brand);
	font-weight: 600;
	text-decoration: none;
}

.pg-vs-footer__legal .pg-cookie-prefs {
	appearance: none;
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	font: inherit;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.pg-vs-footer__legal a:hover,
.pg-vs-footer__legal .pg-cookie-prefs:hover {
	text-decoration: underline;
}

.pg-vs-check,
.pg-vs-form label.pg-vs-check {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.5;
	color: var(--vs-ink-soft);
	cursor: pointer;
}

.pg-vs-check input[type="checkbox"],
.pg-vs-form .pg-vs-check input[type="checkbox"] {
	appearance: auto;
	-webkit-appearance: checkbox;
	flex: 0 0 auto;
	width: 1.125rem;
	height: 1.125rem;
	min-width: 1.125rem;
	min-height: 1.125rem;
	max-width: 1.125rem;
	max-height: 1.125rem;
	margin: 0.2em 0 0;
	padding: 0;
	border: none;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	accent-color: var(--vs-brand);
	vertical-align: top;
	cursor: pointer;
}

.pg-vs-check > span {
	flex: 1 1 auto;
	min-width: 0;
	text-wrap: pretty;
}

.pg-vs-check a {
	color: var(--vs-brand);
	font-weight: 600;
}

.pg-vs-field--consent {
	margin-top: 4px;
	padding: 12px 14px;
	background: color-mix(in srgb, var(--vs-brand) 5%, white);
	border: 1px solid var(--vs-line);
	border-radius: var(--vs-radius-sm);
}

@media (max-width: 767px) {
	.pg-vs-check,
	.pg-vs-form label.pg-vs-check {
		gap: 10px;
		font-size: 13px;
		line-height: 1.55;
	}

	.pg-vs-check input[type="checkbox"],
	.pg-vs-form .pg-vs-check input[type="checkbox"] {
		width: 1.25rem;
		height: 1.25rem;
		min-width: 1.25rem;
		min-height: 1.25rem;
		max-width: 1.25rem;
		max-height: 1.25rem;
		margin-top: 0.15em;
	}

	.pg-vs-field--consent {
		padding: 12px;
	}
}

/* ——— Section head ——— */
.pg-vs-section__head {
	margin-bottom: var(--vs-space-5);
}

.pg-vs-section__head h1 {
	font-family: var(--vs-display);
	font-size: 1.75rem;
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.2;
	margin: 0 0 8px;
	color: var(--vs-ink);
	text-wrap: balance;
}

.pg-vs-section__head p {
	margin: 0;
	color: var(--vs-muted);
	max-width: 52ch;
}

.pg-vs-num {
	color: var(--vs-brand);
}

.pg-vs-breadcrumb {
	font-size: 13px;
	margin: 0 0 10px !important;
	color: var(--vs-muted);
}

.pg-vs-breadcrumb a {
	color: var(--vs-brand);
	text-decoration: none;
	font-weight: 600;
}

.pg-vs-breadcrumb a:hover {
	text-decoration: underline;
}

.pg-vs-gallery-back {
	margin: 0 0 12px !important;
	font-size: 14px;
}

.pg-vs-gallery-back a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--vs-brand);
	font-weight: 700;
	text-decoration: none;
}

.pg-vs-gallery-back a:hover {
	text-decoration: underline;
}

/* ——— Gallery prev / next ——— */
.pg-vs-gallery-nav {
	margin: 0 0 var(--vs-space-5);
}

.pg-vs-gallery-nav--bottom {
	margin: var(--vs-space-6) 0 0;
	padding-top: var(--vs-space-5);
	border-top: 1px solid var(--vs-line);
}

.pg-vs-gallery-nav__row {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 12px;
}

.pg-vs-gallery-nav__link {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 52px;
	padding: 10px 14px;
	border: 1px solid var(--vs-line);
	border-radius: var(--vs-radius);
	background: var(--vs-surface);
	color: var(--vs-ink) !important;
	text-decoration: none !important;
	transition: border-color 0.2s var(--vs-ease), background 0.2s var(--vs-ease), transform 0.2s var(--vs-ease);
}

.pg-vs-gallery-nav__link--prev {
	justify-self: start;
}

.pg-vs-gallery-nav__link--next {
	justify-self: end;
	text-align: right;
	flex-direction: row;
}

.pg-vs-gallery-nav__link.is-disabled {
	opacity: 0.42;
	cursor: default;
	pointer-events: none;
}

@media (hover: hover) {
	.pg-vs-gallery-nav__link:not(.is-disabled):hover {
		border-color: color-mix(in srgb, var(--vs-brand) 40%, var(--vs-line));
		background: var(--vs-brand-soft);
		transform: translateY(-1px);
	}
}

.pg-vs-gallery-nav__dir {
	flex: 0 0 auto;
	font-size: 1.15rem;
	line-height: 1;
	color: var(--vs-brand);
	font-weight: 700;
}

.pg-vs-gallery-nav__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.pg-vs-gallery-nav__label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--vs-muted);
}

.pg-vs-gallery-nav__title {
	font-family: var(--vs-display);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--vs-ink);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 28ch;
}

.pg-vs-gallery-nav__pos {
	margin: 0;
	font-variant-numeric: tabular-nums;
	font-size: 13px;
	font-weight: 700;
	color: var(--vs-muted);
	text-align: center;
	white-space: nowrap;
}

.pg-vs-gallery-nav__back {
	display: flex;
	justify-content: center;
	margin: var(--vs-space-4) 0 0;
}

.pg-vs-gallery-nav__back .pg-vs-btn {
	text-decoration: none !important;
}

/* ——— Steps (panier → commande) ——— */
.pg-vs-steps {
	display: flex;
	align-items: center;
	gap: 0;
	margin: 0 0 var(--vs-space-5);
	padding: 0;
	list-style: none;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.pg-vs-steps::-webkit-scrollbar {
	display: none;
}

.pg-vs-steps li {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
	font-size: 13px;
	font-weight: 600;
	color: var(--vs-muted);
	white-space: nowrap;
}

.pg-vs-steps li + li::before {
	content: "";
	display: block;
	width: 28px;
	height: 1px;
	margin: 0 10px 0 2px;
	background: var(--vs-line);
}

.pg-vs-steps__n {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 999px;
	border: 1px solid var(--vs-line);
	background: var(--vs-surface);
	font-size: 11px;
	font-weight: 700;
	font-family: var(--vs-display);
}

.pg-vs-steps li.is-done {
	color: var(--vs-brand);
}

.pg-vs-steps li.is-done .pg-vs-steps__n {
	background: var(--vs-brand-soft);
	border-color: transparent;
	color: var(--vs-brand);
}

.pg-vs-steps li.is-current {
	color: var(--vs-ink);
}

.pg-vs-steps li.is-current .pg-vs-steps__n {
	background: var(--vs-brand);
	border-color: var(--vs-brand);
	color: #fff;
}

/* ——— Filters / chips ——— */
.pg-vs-groups {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: var(--vs-space-5);
}

.pg-vs-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 8px 14px;
	border: 1px solid var(--vs-line);
	border-radius: 999px;
	background: var(--vs-surface);
	color: var(--vs-brand);
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
	transition: background 0.2s var(--vs-ease), color 0.2s var(--vs-ease), border-color 0.2s var(--vs-ease);
}

@media (hover: hover) {
	.pg-vs-chip:hover {
		border-color: var(--vs-brand);
		background: var(--vs-brand-soft);
	}
}

.pg-vs-chip.is-active {
	background: var(--vs-brand);
	border-color: var(--vs-brand);
	color: #fff;
}

/* ——— Gallery cards ——— */
.pg-vs-gallery-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
	gap: 14px;
}

.pg-vs-gallery-card {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: 0;
	overflow: hidden;
	background: var(--vs-surface);
	border: 1px solid var(--vs-line);
	border-radius: var(--vs-radius);
	text-decoration: none;
	color: inherit;
	min-height: 100%;
	transition: border-color 0.2s var(--vs-ease), transform 0.2s var(--vs-ease), background 0.2s var(--vs-ease);
}

.pg-vs-gallery-card__cover {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #e8eeed;
	padding: 8px;
	box-sizing: border-box;
}

.pg-vs-gallery-card__cover img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	object-position: center;
	display: block;
	transition: transform 0.35s var(--vs-ease);
}

@media (hover: hover) {
	.pg-vs-gallery-card:hover .pg-vs-gallery-card__cover img {
		transform: scale(1.03);
	}
}

.pg-vs-gallery-card__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 14px 16px 16px;
	flex: 1;
}

@media (hover: hover) {
	.pg-vs-gallery-card:hover {
		border-color: var(--vs-brand);
		background: color-mix(in srgb, var(--vs-brand) 4%, white);
		transform: translateY(-2px);
		color: inherit;
	}
}

.pg-vs-gallery-card:active {
	transform: translateY(0);
}

.pg-vs-gallery-card__num {
	font-family: var(--vs-display);
	font-weight: 700;
	color: var(--vs-brand);
	font-size: 12px;
	letter-spacing: 0.08em;
}

.pg-vs-gallery-card__title {
	font-size: 16px;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.3;
	text-wrap: balance;
}

.pg-vs-gallery-card__meta {
	font-size: 12px;
	color: var(--vs-muted);
	margin-top: auto;
	padding-top: 4px;
}

.pg-vs-gallery-hero {
	margin: 0 0 24px;
	border-radius: var(--vs-radius);
	overflow: hidden;
	border: 1px solid var(--vs-line);
	background: #e8eeed;
	display: flex;
	align-items: center;
	justify-content: center;
}

.pg-vs-gallery-hero img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: min(70vh, 560px);
	object-fit: contain;
	object-position: center;
}

/* ——— Photo grid ——— */
.pg-vs-photo-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
	gap: 16px;
	align-items: stretch;
}

.pg-vs-photo {
	background: var(--vs-surface);
	border: 1px solid var(--vs-line);
	border-radius: var(--vs-radius);
	padding: 10px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-height: 100%;
}

.pg-vs-photo figure {
	margin: 0;
	background: transparent;
	display: flex;
	flex-direction: column;
	min-height: 0;
}

.pg-vs-photo__frame {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	max-width: 100%;
	margin-inline: auto;
	overflow: hidden;
	border-radius: var(--vs-radius-sm);
	background:
		radial-gradient(120% 90% at 50% 40%, color-mix(in srgb, var(--vs-brand) 6%, #eef4f3), transparent 70%),
		var(--vs-surface-2);
	isolation: isolate;
	padding: 0;
	border: 0;
	cursor: zoom-in;
	font: inherit;
	color: inherit;
	appearance: none;
	-webkit-appearance: none;
}

.pg-vs-photo__frame:focus-visible {
	outline: 2px solid var(--vs-brand);
	outline-offset: 3px;
}

.pg-vs-photo img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: min(52vh, 400px);
	margin: 0;
	object-fit: contain;
	object-position: center;
	background: transparent;
	user-select: none;
	-webkit-user-drag: none;
	pointer-events: none;
}

.pg-vs-photo--landscape .pg-vs-photo__frame {
	width: fit-content;
	max-width: 100%;
}

.pg-vs-photo--landscape img {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: min(52vh, 420px);
}

.pg-vs-photo--portrait img {
	max-height: min(58vh, 440px);
}

.pg-vs-photo--square img {
	max-height: min(48vh, 360px);
}

.pg-vs-photo figcaption {
	font-size: 12px;
	color: var(--vs-muted);
	margin-top: 8px;
	word-break: break-word;
	line-height: 1.35;
}

.pg-vs-add-form {
	display: grid;
	/* Colonne format assez large pour afficher « 10×15 · 3,90 € » + chevron */
	grid-template-columns: minmax(0, 1fr) 56px;
	grid-template-areas:
		"size-label qty-label"
		"size qty"
		"btn btn";
	gap: 6px 8px;
	align-items: end;
	margin-top: auto;
}

.pg-vs-field-label {
	margin: 0;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--vs-muted);
	line-height: 1.2;
}

.pg-vs-add-form > .pg-vs-field-label[for^="size-"] {
	grid-area: size-label;
}

.pg-vs-add-form > .pg-vs-field-label[for^="qty-"] {
	grid-area: qty-label;
}

.pg-vs-select-wrap {
	grid-area: size;
	position: relative;
	min-width: 0;
}

.pg-vs-select-wrap::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 12px;
	width: 10px;
	height: 10px;
	margin-top: -2px;
	border-right: 2px solid var(--vs-brand);
	border-bottom: 2px solid var(--vs-brand);
	transform: translateY(-60%) rotate(45deg);
	pointer-events: none;
}

.pg-vs-add-form > input[type="number"] {
	grid-area: qty;
}

.pg-vs-add-form button {
	grid-area: btn;
	min-height: 44px;
	width: 100%;
}

.pg-vs-add-form select,
.pg-vs-add-form input[type="number"],
.pg-vs-form input:not([type="checkbox"]):not([type="radio"]),
.pg-vs-form textarea,
.pg-vs-cart-form input[type="number"] {
	width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid var(--vs-line);
	border-radius: var(--vs-radius-sm);
	font: inherit;
	font-size: 15px;
	color: var(--vs-ink);
	background: var(--vs-surface);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pg-vs-select-wrap select {
	padding-right: 32px;
	cursor: pointer;
	font-variant-numeric: tabular-nums;
}

.pg-vs-add-form select,
.pg-vs-form input:not([type="number"]):not([type="checkbox"]):not([type="radio"]),
.pg-vs-form textarea {
	appearance: none;
}

.pg-vs-form textarea {
	min-height: 96px;
	resize: vertical;
	line-height: 1.45;
}

.pg-vs-add-form select:hover,
.pg-vs-form input:not([type="checkbox"]):not([type="radio"]):hover,
.pg-vs-form textarea:hover,
.pg-vs-add-form input[type="number"]:hover,
.pg-vs-cart-form input[type="number"]:hover {
	border-color: color-mix(in srgb, var(--vs-brand) 40%, var(--vs-line));
}

.pg-vs-add-form select:focus,
.pg-vs-form input:not([type="checkbox"]):not([type="radio"]):focus,
.pg-vs-form textarea:focus,
.pg-vs-add-form input[type="number"]:focus,
.pg-vs-cart-form input[type="number"]:focus {
	border-color: var(--vs-brand);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--vs-brand) 18%, transparent);
	outline: none;
}

/* Champ quantité : le chiffre Chrome est trop haut avec line-height:1.
   Padding haut un peu plus fort pour le recentrer ; margin:0 contre le thème. */
.pg-vs-body .pg-vs-add-form input[type="number"],
.pg-vs-body .pg-vs-cart-form input[type="number"] {
	display: inline-block;
	box-sizing: border-box;
	text-align: center;
	font-family: var(--vs-font);
	font-size: 15px;
	font-style: normal;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	line-height: 1.2;
	height: 40px;
	min-height: 40px;
	margin: 0;
	padding: 10px 6px 6px;
	vertical-align: middle;
	border: 1px solid var(--vs-line);
	border-radius: var(--vs-radius-sm);
	background: var(--vs-surface);
	box-shadow: none;
	-moz-appearance: number-input !important;
	-webkit-appearance: auto !important;
	appearance: auto !important;
}

.pg-vs-body .pg-vs-add-form input[type="number"]::-webkit-inner-spin-button,
.pg-vs-body .pg-vs-add-form input[type="number"]::-webkit-outer-spin-button,
.pg-vs-body .pg-vs-cart-form input[type="number"]::-webkit-inner-spin-button,
.pg-vs-body .pg-vs-cart-form input[type="number"]::-webkit-outer-spin-button {
	opacity: 1 !important;
	display: block;
	height: 28px;
	margin: auto 2px;
	cursor: pointer;
}

.pg-vs-cart-form input[type="number"] {
	max-width: 80px;
}

.pg-vs-cart-form .pg-vs-table td[data-label="Qté"] {
	vertical-align: middle;
}

/* ——— Buttons ——— */
.pg-vs-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 11px 20px;
	border-radius: var(--vs-radius-sm);
	background: var(--vs-brand);
	color: #fff !important;
	border: 1px solid transparent;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.01em;
	text-transform: none;
	text-decoration: none !important;
	cursor: pointer;
	transition: background 0.2s var(--vs-ease), transform 0.2s var(--vs-ease), opacity 0.2s ease;
}

@media (hover: hover) {
	.pg-vs-btn:hover {
		background: var(--vs-brand-deep);
		transform: translateY(-1px);
		color: #fff !important;
	}
}

.pg-vs-btn:active {
	transform: translateY(0);
}

.pg-vs-btn:disabled,
.pg-vs-btn.is-loading {
	opacity: 0.65;
	cursor: not-allowed;
	transform: none;
}

.pg-vs-btn--small {
	min-height: 40px;
	padding: 8px 14px;
	font-size: 13px;
}

.pg-vs-btn--ghost {
	background: transparent;
	color: var(--vs-brand) !important;
	border-color: var(--vs-brand);
}

@media (hover: hover) {
	.pg-vs-btn--ghost:hover {
		background: var(--vs-brand-soft);
		color: var(--vs-brand) !important;
		transform: none;
	}
}

.pg-vs-btn--block {
	width: 100%;
}

/* ——— Panels ——— */
.pg-vs-panel {
	background: var(--vs-surface);
	border: 1px solid var(--vs-line);
	border-radius: var(--vs-radius);
	padding: var(--vs-space-5);
}

.pg-vs-panel h2 {
	font-family: var(--vs-display);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	margin: 0 0 var(--vs-space-4);
	color: var(--vs-ink);
}

.pg-vs-panel + .pg-vs-panel {
	margin-top: var(--vs-space-4);
}

.pg-vs-panel-link {
	margin: 16px 0 0;
	font-size: 13px;
}

.pg-vs-panel-link a {
	font-weight: 600;
	text-decoration: none;
}

.pg-vs-panel-link a:hover {
	text-decoration: underline;
}

.pg-vs-optional {
	font-weight: 500;
	color: var(--vs-muted);
}

/* ——— Login ——— */
.pg-vs-login {
	min-height: calc(100vh - 180px);
	min-height: calc(100dvh - 180px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--vs-space-4) 0;
}

.pg-vs-login__card {
	width: min(420px, 100%);
	background: var(--vs-surface);
	border: 1px solid var(--vs-line);
	border-radius: var(--vs-radius);
	padding: clamp(24px, 5vw, 36px);
	box-shadow: var(--vs-shadow);
}

.pg-vs-login__kicker {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--vs-brand);
	margin-bottom: 10px;
}

.pg-vs-login__card h1 {
	margin: 0 0 10px;
	font-family: var(--vs-display);
	font-size: 1.5rem;
	letter-spacing: -0.025em;
	color: var(--vs-ink);
	text-wrap: balance;
}

.pg-vs-lead {
	color: var(--vs-muted);
	margin: 0 0 var(--vs-space-5);
	line-height: 1.55;
}

.pg-vs-form label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: var(--vs-ink-soft);
	margin: 0 0 6px;
}

.pg-vs-form .pg-vs-field {
	margin-bottom: var(--vs-space-4);
}

.pg-vs-form .pg-vs-field:last-of-type {
	margin-bottom: 0;
}

.pg-vs-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--vs-space-4);
}

.pg-vs-form button[type="submit"] {
	margin-top: var(--vs-space-5);
	width: 100%;
}

.pg-vs-form-hint {
	margin: 8px 0 0;
	font-size: 12px;
	color: var(--vs-muted);
}

/* ——— Alerts / empty ——— */
.pg-vs-alert {
	background: var(--vs-danger-bg);
	color: var(--vs-danger);
	padding: 12px 14px;
	margin: 0 0 var(--vs-space-4);
	border-radius: var(--vs-radius-sm);
	border: 1px solid color-mix(in srgb, var(--vs-danger) 18%, transparent);
	font-size: 14px;
	line-height: 1.45;
}

.pg-vs-alert--ok {
	background: var(--vs-ok-bg);
	color: var(--vs-ok);
	border-color: color-mix(in srgb, var(--vs-ok) 18%, transparent);
}

.pg-vs-empty {
	color: var(--vs-muted);
	padding: var(--vs-space-6) var(--vs-space-5);
	text-align: center;
	background: var(--vs-surface);
	border: 1px dashed var(--vs-line);
	border-radius: var(--vs-radius);
}

.pg-vs-empty a {
	font-weight: 700;
	text-decoration: none;
}

.pg-vs-empty a:hover {
	text-decoration: underline;
}

.pg-vs-hint {
	color: var(--vs-muted);
	font-size: 14px;
	margin-top: var(--vs-space-5);
}

.pg-vs-hint a {
	font-weight: 600;
	text-decoration: none;
}

.pg-vs-hint a:hover {
	text-decoration: underline;
}

/* ——— Tables / cart ——— */
.pg-vs-table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--vs-line);
	border-radius: var(--vs-radius);
	background: var(--vs-surface);
}

.pg-vs-table {
	width: 100%;
	border-collapse: collapse;
	background: var(--vs-surface);
	min-width: 0;
}

.pg-vs-table th,
.pg-vs-table td {
	padding: 12px 14px;
	border-bottom: 1px solid var(--vs-line);
	text-align: left;
	vertical-align: middle;
}

.pg-vs-table tbody tr:last-child td {
	border-bottom: 0;
}

.pg-vs-table th {
	background: var(--vs-surface-2);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--vs-muted);
	font-weight: 700;
	white-space: nowrap;
}

.pg-vs-cart-photo {
	display: flex;
	gap: 12px;
	align-items: center;
	min-width: 0;
}

/* Miniatures respectant portrait / paysage */
.pg-vs-thumb {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	overflow: hidden;
	isolation: isolate;
	border-radius: 5px;
	background: var(--vs-surface-2);
	border: 1px solid color-mix(in srgb, var(--vs-brand) 10%, var(--vs-line));
	box-sizing: border-box;
}

.pg-vs-thumb--landscape {
	width: 80px;
	height: 56px;
}

.pg-vs-thumb--portrait {
	width: 52px;
	height: 72px;
}

.pg-vs-thumb--square {
	width: 64px;
	height: 64px;
}

.pg-vs-thumb img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	object-position: center;
	background: transparent;
	user-select: none;
	-webkit-user-drag: none;
	pointer-events: none;
}

.pg-vs-cart-photo strong {
	display: block;
	font-size: 14px;
	line-height: 1.3;
}

.pg-vs-cart-photo span:not(.pg-vs-thumb) {
	display: block;
	font-size: 12px;
	color: var(--vs-muted);
	margin-top: 2px;
}

.pg-vs-cart-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
	gap: var(--vs-space-5);
	align-items: start;
}

.pg-vs-cart-form.is-live .pg-vs-cart-update-fallback {
	display: none;
}

.pg-vs-cart-form.is-updating {
	opacity: 0.72;
	pointer-events: none;
	transition: opacity 0.15s ease;
}

.pg-vs-cart-summary {
	margin: 0;
	position: sticky;
	top: calc(var(--vs-header-h) + 12px);
}

.pg-vs-summary-rows {
	display: grid;
	gap: 10px;
	margin: 0 0 var(--vs-space-4);
}

.pg-vs-summary-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	font-size: 14px;
	color: var(--vs-ink-soft);
}

.pg-vs-summary-row--total {
	padding-top: 12px;
	border-top: 1px solid var(--vs-line);
	font-size: 1.05rem;
	color: var(--vs-ink);
	font-weight: 700;
}

.pg-vs-summary-row--total strong {
	font-family: var(--vs-display);
	font-size: 1.2rem;
	color: var(--vs-brand);
}

.pg-vs-cart-total {
	font-size: 1.15rem;
	margin: 0 0 var(--vs-space-4);
}

.pg-vs-cart-total strong {
	font-family: var(--vs-display);
	color: var(--vs-brand);
}

.pg-vs-actions {
	display: flex;
	gap: 10px;
	justify-content: stretch;
	flex-wrap: wrap;
}

.pg-vs-actions .pg-vs-btn {
	flex: 1 1 auto;
	min-width: min(100%, 140px);
}

.pg-vs-link-danger {
	color: var(--vs-danger);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	padding: 8px 0;
	display: inline-flex;
	min-height: 40px;
	align-items: center;
}

.pg-vs-link-danger:hover {
	text-decoration: underline;
}

/* ——— Checkout ——— */
.pg-vs-checkout-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: var(--vs-space-5);
	align-items: start;
}

.pg-vs-mini-lines {
	list-style: none;
	margin: 0 0 var(--vs-space-4);
	padding: 0;
}

.pg-vs-mini-lines li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--vs-line);
	font-size: 14px;
	align-items: center;
}

.pg-vs-mini-lines li:last-child {
	border-bottom: 0;
}

.pg-vs-mini-line {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	flex: 1;
}

.pg-vs-mini-line > span:not(.pg-vs-thumb) {
	color: var(--vs-ink-soft);
	min-width: 0;
	line-height: 1.4;
}

.pg-vs-mini-lines .pg-vs-thumb--landscape {
	width: 64px;
	height: 44px;
}

.pg-vs-mini-lines .pg-vs-thumb--portrait {
	width: 40px;
	height: 56px;
}

.pg-vs-mini-lines .pg-vs-thumb--square {
	width: 48px;
	height: 48px;
}

.pg-vs-mini-lines li strong {
	flex-shrink: 0;
	font-variant-numeric: tabular-nums;
}

.pg-vs-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	margin-top: var(--vs-space-4);
	padding-top: var(--vs-space-4);
	border-top: 1px solid var(--vs-line);
	font-size: 12px;
	color: var(--vs-muted);
}

.pg-vs-trust > span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.pg-vs-trust > span::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--vs-brand);
	flex-shrink: 0;
}

.pg-vs-trust__link {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	font-style: inherit;
	letter-spacing: inherit;
	line-height: inherit;
	color: inherit;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
	text-transform: none !important;
	cursor: pointer;
}

.pg-vs-trust__link:hover {
	color: inherit;
	text-decoration-thickness: 2px;
}

/* ——— Dialog Stripe ——— */
.pg-vs-body .pg-vs-dialog {
	border: 0;
	padding: 0;
	margin: auto;
	max-width: min(560px, calc(100vw - 32px));
	width: 100%;
	border-radius: var(--vs-radius);
	box-shadow: 0 16px 48px rgba(28, 36, 36, 0.18);
	background: #ffffff;
	color: #1c2424;
	font-family: var(--vs-font);
	font-size: 18px;
	line-height: 1.6;
	text-transform: none;
}

.pg-vs-body .pg-vs-dialog::backdrop {
	background: rgba(28, 36, 36, 0.55);
}

/* ——— Lightbox photo ——— */
.pg-vs-body .pg-vs-lightbox {
	border: 0;
	padding: 0;
	margin: 0;
	max-width: none;
	max-height: none;
	width: 100%;
	height: 100%;
	background: transparent;
	color: #fff;
	overflow: hidden;
}

.pg-vs-body .pg-vs-lightbox::backdrop {
	background: rgba(12, 16, 16, 0.88);
}

.pg-vs-body .pg-vs-lightbox[open] {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
	box-sizing: border-box;
}

.pg-vs-body .pg-vs-lightbox__figure {
	position: relative;
	margin: 0;
	width: fit-content;
	max-width: min(96vw, 1100px);
	max-height: min(82vh, 900px);
	display: block;
	isolation: isolate;
	overflow: hidden;
	border-radius: var(--vs-radius-sm);
	background: #0c1010;
}

.pg-vs-lightbox__figure img {
	display: block;
	max-width: min(96vw, 1100px);
	max-height: min(82vh, 900px);
	width: auto;
	height: auto;
	object-fit: contain;
	user-select: none;
	-webkit-user-drag: none;
	pointer-events: none;
	position: relative;
	z-index: 0;
}

/* Filigrane « © PG / PREUVE » (calque DOM ; URL injectée en inline via PHP). */
.pg-vs-lightbox__wm {
	position: absolute;
	inset: 0;
	z-index: 4;
	pointer-events: none;
	background-repeat: repeat;
	background-size: 320px 152px;
	background-position: center;
	opacity: 0.62;
}

.pg-vs-lightbox__caption {
	margin: 0;
	font-size: 14px;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.78);
	text-align: center;
	max-width: min(96vw, 640px);
	word-break: break-word;
}

.pg-vs-lightbox__close,
.pg-vs-lightbox__nav {
	position: fixed;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	cursor: pointer;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	transition: background 0.15s ease;
}

.pg-vs-lightbox__close:hover,
.pg-vs-lightbox__nav:hover {
	background: rgba(255, 255, 255, 0.22);
}

.pg-vs-lightbox__close:focus-visible,
.pg-vs-lightbox__nav:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.pg-vs-lightbox__close {
	top: max(12px, env(safe-area-inset-top));
	right: max(12px, env(safe-area-inset-right));
	width: 44px;
	height: 44px;
	font-size: 28px;
	line-height: 1;
}

.pg-vs-lightbox__nav {
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	font-size: 22px;
	line-height: 1;
}

.pg-vs-lightbox__nav--prev {
	left: max(10px, env(safe-area-inset-left));
}

.pg-vs-lightbox__nav--next {
	right: max(10px, env(safe-area-inset-right));
}

@media (prefers-reduced-motion: reduce) {
	.pg-vs-lightbox__close,
	.pg-vs-lightbox__nav {
		transition: none;
	}
}

.pg-vs-body .pg-vs-dialog__panel {
	background: #ffffff;
	border-radius: var(--vs-radius);
	overflow: hidden;
}

.pg-vs-body .pg-vs-dialog__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding: 24px 28px 18px;
	border-bottom: 1px solid var(--vs-line);
	background: #ffffff;
}

.pg-vs-body .pg-vs-dialog__head h2 {
	margin: 0;
	font-family: var(--vs-font);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: normal;
	color: #1c2424;
	text-transform: none !important;
	text-wrap: balance;
}

.pg-vs-body .pg-vs-dialog__close {
	appearance: none;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	margin: -6px -8px 0 0;
	padding: 0;
	border: 0;
	border-radius: var(--vs-radius-sm);
	background: transparent;
	color: #3d4a4a;
	font-family: var(--vs-font);
	font-size: 28px;
	font-weight: 400;
	letter-spacing: normal;
	line-height: 1;
	text-transform: none !important;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 180ms var(--vs-ease), color 180ms var(--vs-ease);
}

.pg-vs-body .pg-vs-dialog__close:hover {
	background: var(--vs-surface-2);
	color: #1c2424;
}

.pg-vs-body .pg-vs-dialog__body {
	padding: 24px 28px;
	background: #ffffff;
}

.pg-vs-body .pg-vs-dialog__body > p {
	margin: 0 0 18px;
	color: #1c2424;
	font-family: var(--vs-font);
	font-size: 18px;
	line-height: 1.6;
	text-transform: none;
	text-wrap: pretty;
}

.pg-vs-body .pg-vs-dialog__list {
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.pg-vs-body .pg-vs-dialog__list li {
	position: relative;
	padding-left: 1.4em;
	font-family: var(--vs-font);
	font-size: 18px;
	color: #1c2424;
	line-height: 1.6;
	text-transform: none;
}

.pg-vs-body .pg-vs-dialog__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--vs-brand);
}

.pg-vs-body .pg-vs-dialog__aside {
	margin: 0;
	padding: 14px 16px;
	border-radius: var(--vs-radius-sm);
	background: var(--vs-surface-2);
	border: 1px solid var(--vs-line);
	font-family: var(--vs-font);
	font-size: 17px;
	line-height: 1.55;
	color: #1c2424;
	text-transform: none;
}

.pg-vs-body .pg-vs-dialog__foot {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: flex-end;
	padding: 18px 28px 24px;
	border-top: 1px solid var(--vs-line);
	background: #ffffff;
}

.pg-vs-body .pg-vs-dialog__foot .pg-vs-btn,
.pg-vs-body .pg-vs-dialog__foot button {
	font-size: 16px !important;
	padding: 12px 18px;
	text-transform: none !important;
	letter-spacing: normal !important;
}

@media (prefers-reduced-motion: reduce) {
	.pg-vs-body .pg-vs-dialog__close {
		transition: none;
	}
}

.pg-vs-note {
	background: var(--vs-brand-soft);
	border: 1px solid color-mix(in srgb, var(--vs-brand) 16%, transparent);
	border-radius: var(--vs-radius);
	padding: 16px 18px;
	margin: var(--vs-space-5) 0;
}

.pg-vs-note p {
	margin: 0;
	color: var(--vs-ink-soft);
	font-size: 14px;
	line-height: 1.5;
}

/* ——— Thanks ——— */
.pg-vs-thanks {
	max-width: 560px;
	margin: 0 auto;
	text-align: center;
}

.pg-vs-thanks .pg-vs-section__head p {
	max-width: none;
	margin-left: auto;
	margin-right: auto;
}

.pg-vs-thanks__mark {
	width: 56px;
	height: 56px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: var(--vs-ok-bg);
	color: var(--vs-ok);
	display: grid;
	place-items: center;
	font-size: 1.4rem;
	font-weight: 700;
	font-family: var(--vs-display);
}

.pg-vs-thanks .pg-vs-note {
	text-align: left;
}

.pg-vs-thanks__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin-top: var(--vs-space-5);
}

.pg-vs-thanks__actions a:not(.pg-vs-btn) {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-weight: 600;
	text-decoration: none;
	padding: 0 8px;
}

.pg-vs-thanks__actions a:not(.pg-vs-btn):hover {
	text-decoration: underline;
}

/* ——— Pricing ——— */
.pg-vs-pricing .pg-vs-table {
	font-variant-numeric: tabular-nums;
}

/* ——— Sticky mobile checkout bar ——— */
.pg-vs-mobile-bar {
	display: none;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

/* ——— Tablet ——— */
@media (max-width: 900px) {
	.pg-vs-cart-layout,
	.pg-vs-checkout-grid {
		grid-template-columns: 1fr;
	}

	.pg-vs-cart-summary {
		position: static;
	}
}

/* ——— Mobile ——— */
@media (max-width: 760px) {
	.pg-vs-header__inner {
		padding-top: 10px;
		padding-bottom: 10px;
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}

	.pg-vs-nav {
		width: 100%;
		justify-content: flex-start;
		gap: 2px;
		overflow-x: auto;
		flex-wrap: nowrap;
		padding-bottom: 2px;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.pg-vs-nav::-webkit-scrollbar {
		display: none;
	}

	.pg-vs-nav a {
		flex: 0 0 auto;
		font-size: 13px;
		padding: 8px 12px;
		background: var(--vs-surface-2);
	}

	.pg-vs-main {
		padding-top: var(--vs-space-5);
	}

	.pg-vs-body--checkout-flow .pg-vs-main {
		padding-bottom: calc(96px + env(safe-area-inset-bottom));
	}

	.pg-vs-section__head h1 {
		font-size: 1.45rem;
	}

	.pg-vs-brand__title {
		font-size: 15px;
	}

	.pg-vs-panel {
		padding: var(--vs-space-4);
	}

	.pg-vs-form-row {
		grid-template-columns: 1fr;
	}

	.pg-vs-add-form {
		grid-template-columns: minmax(0, 1fr) 56px;
	}

	.pg-vs-photo-grid {
		grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
		gap: 12px;
	}

	.pg-vs-gallery-list {
		grid-template-columns: 1fr;
	}

	.pg-vs-gallery-nav__row {
		grid-template-columns: 1fr 1fr;
		gap: 8px;
	}

	.pg-vs-gallery-nav__pos {
		grid-column: 1 / -1;
		order: -1;
		margin-bottom: 2px;
	}

	.pg-vs-gallery-nav__link {
		min-height: 48px;
		padding: 8px 10px;
		width: 100%;
	}

	.pg-vs-gallery-nav__title {
		max-width: 100%;
		font-size: 13px;
	}

	/* Cart as stacked cards */
	.pg-vs-table-wrap {
		border: 0;
		border-radius: 0;
		background: transparent;
		overflow: visible;
	}

	.pg-vs-cart-form .pg-vs-table,
	.pg-vs-cart-form .pg-vs-table tbody {
		display: block;
		width: 100%;
	}

	.pg-vs-cart-form .pg-vs-table thead {
		display: none;
	}

	.pg-vs-cart-form .pg-vs-table tr {
		display: grid;
		grid-template-columns: 1fr auto;
		gap: 8px 12px;
		margin-bottom: 12px;
		padding: 14px;
		border: 1px solid var(--vs-line);
		border-radius: var(--vs-radius);
		background: var(--vs-surface);
	}

	.pg-vs-cart-form .pg-vs-table td {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 10px;
		padding: 0;
		border: 0;
		font-size: 14px;
	}

	.pg-vs-cart-form .pg-vs-table td:first-child {
		grid-column: 1 / -1;
		justify-content: flex-start;
	}

	.pg-vs-cart-form .pg-vs-table td:last-child {
		justify-content: flex-end;
		align-self: start;
	}

	.pg-vs-cart-form .pg-vs-table td::before {
		content: attr(data-label);
		font-weight: 700;
		font-size: 11px;
		text-transform: uppercase;
		letter-spacing: 0.04em;
		color: var(--vs-muted);
	}

	.pg-vs-cart-form .pg-vs-table td:first-child::before,
	.pg-vs-cart-form .pg-vs-table td:last-child::before {
		display: none;
	}

	.pg-vs-cart-form input[type="number"] {
		max-width: 88px;
	}

	.pg-vs-cart-photo .pg-vs-thumb--landscape {
		width: 68px;
		height: 48px;
	}

	.pg-vs-cart-photo .pg-vs-thumb--portrait {
		width: 44px;
		height: 60px;
	}

	.pg-vs-cart-photo .pg-vs-thumb--square {
		width: 54px;
		height: 54px;
	}

	/* Pricing table scroll cards */
	.pg-vs-pricing .pg-vs-table thead {
		display: none;
	}

	.pg-vs-pricing .pg-vs-table,
	.pg-vs-pricing .pg-vs-table tbody,
	.pg-vs-pricing .pg-vs-table tr,
	.pg-vs-pricing .pg-vs-table td {
		display: block;
		width: 100%;
	}

	.pg-vs-pricing .pg-vs-table tr {
		margin-bottom: 12px;
		padding: 12px 14px;
		border: 1px solid var(--vs-line);
		border-radius: var(--vs-radius);
		background: var(--vs-surface);
	}

	.pg-vs-pricing .pg-vs-table td {
		display: flex;
		justify-content: space-between;
		gap: 12px;
		padding: 6px 0;
		border: 0;
		border-bottom: 1px solid color-mix(in srgb, var(--vs-line) 70%, transparent);
	}

	.pg-vs-pricing .pg-vs-table td:last-child {
		border-bottom: 0;
	}

	.pg-vs-pricing .pg-vs-table td::before {
		content: attr(data-label);
		font-weight: 700;
		color: var(--vs-muted);
		font-size: 12px;
	}

	.pg-vs-pricing .pg-vs-table-wrap {
		border: 0;
		background: transparent;
	}

	.pg-vs-actions {
		flex-direction: column;
	}

	.pg-vs-actions .pg-vs-btn {
		width: 100%;
	}

	/* Sticky bar for checkout CTA on cart */
	.pg-vs-mobile-bar {
		display: block;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 50;
		padding: 12px max(16px, env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
		background: rgba(255, 255, 255, 0.96);
		backdrop-filter: blur(10px);
		-webkit-backdrop-filter: blur(10px);
		border-top: 1px solid var(--vs-line);
		box-shadow: 0 -8px 24px rgba(28, 36, 36, 0.06);
	}

	.pg-vs-mobile-bar__inner {
		max-width: var(--vs-max);
		margin: 0 auto;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
	}

	.pg-vs-mobile-bar__total {
		font-size: 13px;
		color: var(--vs-muted);
		line-height: 1.3;
	}

	.pg-vs-mobile-bar__total strong {
		display: block;
		font-family: var(--vs-display);
		font-size: 1.05rem;
		color: var(--vs-ink);
	}

	.pg-vs-mobile-bar .pg-vs-btn {
		flex: 0 0 auto;
		min-width: 140px;
	}

	.pg-vs-cart-summary .pg-vs-actions .pg-vs-btn:not(.pg-vs-btn--ghost),
	.pg-vs-checkout-pay-desktop {
		display: none;
	}

	.pg-vs-login {
		min-height: auto;
		align-items: flex-start;
		padding-top: var(--vs-space-5);
	}
}

@media (max-width: 380px) {
	.pg-vs-photo-grid {
		grid-template-columns: 1fr;
	}

	.pg-vs-steps li span:not(.pg-vs-steps__n) {
		max-width: 72px;
		overflow: hidden;
		text-overflow: ellipsis;
	}
}

@media (pointer: coarse) {
	.pg-vs-chip,
	.pg-vs-nav a,
	.pg-vs-btn {
		min-height: 44px;
	}

	.pg-vs-cart-form input[type="number"],
	.pg-vs-add-form input[type="number"],
	.pg-vs-add-form select {
		min-height: 44px;
		font-size: 16px; /* évite zoom iOS */
	}

	.pg-vs-form input:not([type="checkbox"]):not([type="radio"]),
	.pg-vs-form textarea,
	.pg-vs-form select {
		font-size: 16px;
	}

	.pg-vs-check input[type="checkbox"],
	.pg-vs-form .pg-vs-check input[type="checkbox"] {
		width: 1.25rem;
		height: 1.25rem;
		min-width: 1.25rem;
		min-height: 1.25rem;
		max-width: 1.25rem;
		max-height: 1.25rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pg-vs-chip,
	.pg-vs-gallery-card,
	.pg-vs-btn,
	.pg-vs-nav a,
	.pg-vs-add-form select,
	.pg-vs-form input:not([type="checkbox"]):not([type="radio"]),
	.pg-vs-form textarea {
		transition: none !important;
	}

	.pg-vs-chip:hover,
	.pg-vs-gallery-card:hover,
	.pg-vs-btn:hover {
		transform: none !important;
	}

	.pg-vs-header,
	.pg-vs-mobile-bar {
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
		background: #fff;
	}
}
