/*
 * JDP Theme — Components (buttons, header, footer, drawer, etc.).
 *
 * Approche : composants génériques, hover via CSS pure (pas de JS state).
 */

/* ============================================================
   BUTTONS
   ============================================================ */
.jdp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--sp-2);
	padding: var(--sp-3) var(--sp-6);
	border-radius: var(--radius-md);
	font-weight: 600;
	font-size: var(--fs-body);
	line-height: 1;
	cursor: pointer;
	transition: background var(--dur-normal) var(--ease-out), color var(--dur-normal) var(--ease-out), transform var(--dur-fast) var(--ease-out);
	border: 0;
	text-decoration: none;
	white-space: nowrap;
}
.jdp-btn:hover {
	transform: translateY(-1px);
}
.jdp-btn:active {
	transform: translateY(0);
}

.jdp-btn--primary {
	background: var(--accent);
	color: var(--jdp-white);
	box-shadow: 0 8px 24px -4px rgba(217, 149, 2, 0.35);
}
.jdp-btn--primary:hover {
	background: var(--accent-hover);
	color: var(--jdp-white);
}

/*
 * Contexte WooCommerce : le CSS core (.woocommerce a.button / button.button,
 * spécificité 0,2,1) impose un gris #e9e6ed qui bat nos .jdp-btn (0,1,0) et fait
 * paraître les boutons login / inscription / commander "désactivés". On ré-affirme
 * le style brand en spécificité (0,3,1), sans !important.
 */
.woocommerce a.button.jdp-btn--primary,
.woocommerce button.button.jdp-btn--primary,
.woocommerce input.button.jdp-btn--primary {
	background: var(--accent);
	color: var(--jdp-white);
}
.woocommerce a.button.jdp-btn--primary:hover,
.woocommerce button.button.jdp-btn--primary:hover,
.woocommerce input.button.jdp-btn--primary:hover {
	background: var(--accent-hover);
	color: var(--jdp-white);
}
.woocommerce a.button.jdp-btn--ghost,
.woocommerce button.button.jdp-btn--ghost,
.woocommerce input.button.jdp-btn--ghost {
	background: transparent;
	color: var(--fg1);
	border: 1px solid var(--border);
}
.woocommerce a.button.jdp-btn--ghost:hover,
.woocommerce button.button.jdp-btn--ghost:hover,
.woocommerce input.button.jdp-btn--ghost:hover {
	background: transparent;
	color: var(--accent);
	border-color: var(--accent);
}

.jdp-btn--ghost {
	background: transparent;
	color: var(--fg1);
	border: 1px solid var(--border);
}
.jdp-btn--ghost:hover {
	color: var(--accent);
	border-color: var(--accent);
}

/* Ghost button sur fond clair (forme par défaut) */
.jdp-btn--ghost--light {
	background: transparent;
	color: var(--fg1);
	border: 1px solid var(--border);
}
.jdp-btn--ghost--light:hover {
	color: var(--accent);
	border-color: var(--accent);
}

/* Ghost button sur fond sombre (CTA dark, hero dark) */
.jdp-btn--ghost--dark {
	background: transparent;
	color: var(--jdp-white);
	border: 1px solid rgba(255, 255, 255, 0.32);
}
.jdp-btn--ghost--dark:hover {
	background: rgba(255, 255, 255, 0.08);
	color: var(--jdp-white);
	border-color: rgba(255, 255, 255, 0.55);
}

.jdp-btn--lg { padding: var(--sp-4) var(--sp-8); font-size: 16px; }
.jdp-btn--sm { padding: var(--sp-2) var(--sp-4); font-size: var(--fs-small); }

/* ============================================================
   HEADER : promo strip
   ============================================================ */
.jdp-promo-strip {
	background: var(--bg-dark);
	color: var(--fg-on-dark1);
	padding: var(--sp-2) 0;
	font-size: var(--fs-small);
	text-align: center;
}
.jdp-promo-text {
	font-weight: 500;
}
.jdp-promo-code {
	display: inline-block;
	margin-left: var(--sp-2);
	background: var(--accent);
	color: var(--jdp-white);
	padding: 2px 8px;
	border-radius: 4px;
	font-weight: 700;
	letter-spacing: var(--tracking-wide);
}

/* ============================================================
   HEADER : utility row
   ============================================================ */
.jdp-utility-row {
	background: var(--bg-soft);
	border-bottom: 1px solid var(--border);
	font-size: var(--fs-micro);
}
.jdp-utility-nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: var(--sp-5);
	padding: var(--sp-2) 0;
}
.jdp-utility-list {
	display: flex;
	gap: var(--sp-5);
}
.jdp-utility-list a {
	color: var(--fg2);
}
.jdp-utility-list a:hover {
	color: var(--accent);
}
.jdp-utility-cart {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-1);
	color: var(--fg2);
}
.jdp-utility-account {
	color: var(--fg1);
}

/* ============================================================
   HEADER : main nav
   ============================================================ */
.jdp-main-nav {
	background: var(--bg);
	position: sticky;
	top: 0;
	z-index: var(--z-sticky);
	border-bottom: 1px solid var(--border);
}
.jdp-main-nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: var(--sp-4) var(--sp-6);
	gap: var(--sp-6);
}
.jdp-logo img {
	height: 44px;
	width: auto;
}
.jdp-main-menu {
	display: flex;
	gap: var(--sp-6);
	align-items: center;
}
.jdp-main-menu-item > a {
	display: inline-block;
	padding: var(--sp-2) var(--sp-1);
	font-weight: 500;
	color: var(--fg1);
}
.jdp-main-menu-item.current-menu-item > a {
	color: var(--accent);
	border-bottom: 2px solid var(--accent);
}
.jdp-has-children {
	position: relative;
}
.jdp-submenu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 240px;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	padding: var(--sp-2);
	box-shadow: var(--shadow-md);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out), visibility var(--dur-fast);
}
.jdp-has-children:hover > .jdp-submenu,
.jdp-has-children:focus-within > .jdp-submenu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.jdp-submenu-item a {
	display: block;
	padding: var(--sp-2) var(--sp-3);
	border-radius: var(--radius-sm);
}
.jdp-submenu-item a:hover {
	background: var(--bg-soft);
	color: var(--accent);
}

.jdp-main-nav-actions {
	display: flex;
	gap: var(--sp-3);
	align-items: center;
}

.jdp-cart-btn {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-2);
	background: var(--bg-dark);
	color: var(--fg-on-dark1);
	padding: var(--sp-3) var(--sp-5);
	border-radius: var(--radius-md);
	font-weight: 600;
	font-size: var(--fs-small);
	transition: background var(--dur-normal) var(--ease-out);
}
.jdp-cart-btn:hover {
	background: var(--accent);
}
.jdp-cart-btn-badge {
	background: var(--accent);
	color: var(--jdp-white);
	border-radius: var(--radius-full);
	min-width: 20px;
	height: 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 700;
}

.jdp-mobile-toggle {
	display: none;
	padding: var(--sp-2);
}

@media (max-width: 900px) {
	.jdp-main-menu,
	.jdp-utility-row {
		display: none;
	}
	.jdp-mobile-toggle {
		display: inline-flex;
	}
	.jdp-cart-btn-label {
		display: none;
	}
}

/* Mobile menu (hidden by default) */
.jdp-mobile-menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--bg-dark);
	color: var(--fg-on-dark1);
	z-index: var(--z-modal);
	opacity: 0;
	visibility: hidden;
	transform: translateX(100%);
	transition: transform var(--dur-normal) var(--ease-out), opacity var(--dur-normal) var(--ease-out), visibility var(--dur-normal);
}
.jdp-mobile-menu.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
}
.jdp-mobile-menu-list {
	padding: var(--sp-12) var(--sp-6);
	display: flex;
	flex-direction: column;
	gap: var(--sp-4);
}
.jdp-mobile-menu-item a {
	font-size: 22px;
	font-weight: 600;
	color: var(--fg-on-dark1);
}

/* ============================================================
   FOOTER
   ============================================================ */
.jdp-site-footer {
	background: var(--bg-deep);
	color: var(--fg-on-dark2);
	padding: var(--sp-16) 0 var(--sp-8);
	margin-top: var(--sp-16);
}
.jdp-footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
	gap: var(--sp-8);
	margin-bottom: var(--sp-12);
}
@media (max-width: 768px) {
	.jdp-footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}
.jdp-footer-brand .jdp-footer-logo img {
	background: var(--bg);
	padding: var(--sp-2) var(--sp-3);
	border-radius: var(--radius-sm);
	margin-bottom: var(--sp-4);
	display: inline-block;
}
.jdp-footer-tagline {
	font-size: var(--fs-small);
	line-height: var(--lh-normal);
	max-width: 280px;
}
.jdp-footer-col-title {
	font-size: var(--fs-micro);
	font-weight: 600;
	color: var(--fg-on-dark1);
	text-transform: uppercase;
	letter-spacing: var(--tracking-caps);
	margin: 0 0 var(--sp-4);
}
.jdp-footer-col-list li {
	margin-bottom: var(--sp-2);
}
.jdp-footer-col-list a {
	color: var(--fg-on-dark2);
	font-size: var(--fs-small);
}
.jdp-footer-col-list a:hover {
	color: var(--accent);
}

.jdp-footer-bottom {
	border-top: 1px solid var(--border-dark);
	padding-top: var(--sp-6);
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--sp-4);
	font-size: var(--fs-small);
}
.jdp-footer-bottom .jdp-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--sp-4);
}
.jdp-footer-copy { margin: 0; }
.jdp-payment-badges {
	display: flex;
	gap: var(--sp-2);
	align-items: center;
}
.jdp-payment-badges img {
	height: 22px;
	width: auto;
	opacity: 0.9;
	transition: opacity var(--dur-fast);
}
.jdp-payment-badges img:hover {
	opacity: 1;
}

/* ============================================================
   CART DRAWER
   ============================================================ */
.jdp-cart-drawer {
	position: fixed;
	inset: 0;
	z-index: var(--z-modal);
	pointer-events: none;
}
.jdp-cart-drawer[aria-hidden="false"] {
	pointer-events: auto;
}
.jdp-cart-drawer-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,.5);
	opacity: 0;
	transition: opacity var(--dur-normal) var(--ease-out);
}
.jdp-cart-drawer[aria-hidden="false"] .jdp-cart-drawer-overlay {
	opacity: 1;
}
.jdp-cart-drawer-panel {
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	max-width: 420px;
	height: 100%;
	background: var(--bg);
	box-shadow: var(--shadow-xl);
	transform: translateX(100%);
	transition: transform var(--dur-normal) var(--ease-out);
	display: flex;
	flex-direction: column;
	overflow-y: auto;
}
.jdp-cart-drawer[aria-hidden="false"] .jdp-cart-drawer-panel {
	transform: translateX(0);
}
.jdp-cart-drawer-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: var(--sp-5);
	border-bottom: 1px solid var(--border);
}
.jdp-cart-drawer-title {
	margin: 0;
	font-size: var(--fs-h4);
}
.jdp-cart-drawer-body {
	flex: 1;
	padding: var(--sp-5);
}
.jdp-cart-drawer-empty {
	text-align: center;
	color: var(--fg2);
	padding: var(--sp-8) 0;
}
.jdp-cart-drawer-footer {
	padding: var(--sp-5);
	border-top: 1px solid var(--border);
	display: flex;
	flex-direction: column;
	gap: var(--sp-3);
}
.jdp-cart-drawer-total {
	display: flex;
	justify-content: space-between;
	font-size: var(--fs-h4);
	margin-bottom: var(--sp-3);
}
.jdp-cart-drawer-total strong {
	color: var(--accent);
}

/* Body lock when drawer open */
body.jdp-drawer-open {
	overflow: hidden;
}

/* ============================================================
   SEARCH FORM
   ============================================================ */
.jdp-search-form {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-2);
	background: var(--bg-soft);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	padding: var(--sp-2) var(--sp-3);
	max-width: 420px;
	width: 100%;
}
.jdp-search-form:focus-within {
	border-color: var(--accent);
}
.jdp-search-input {
	flex: 1;
	background: transparent;
	border: 0;
	outline: 0;
	color: var(--fg1);
}
.jdp-search-submit {
	color: var(--fg2);
}
.jdp-search-submit:hover {
	color: var(--accent);
}

/* ============================================================
 * Pricing Table (4 packs S/M/L/XL avec growth bar).
 * ============================================================ */
.jdp-pricing-section {
	background: var(--jdp-dark);
	color: var(--jdp-text-light);
	padding: var(--sp-16) 0;
}
.jdp-pricing-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	flex-wrap: wrap;
	gap: var(--sp-4);
	margin-bottom: var(--sp-10);
}
.jdp-pricing-title {
	max-width: 720px;
	color: var(--jdp-white);
	margin: 0;
}
.jdp-pricing-title-accent {
	color: var(--accent);
}
.jdp-trust-chip {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-2);
	padding: var(--sp-2) var(--sp-3);
	border-radius: var(--radius-full);
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.10);
	color: var(--jdp-text-light);
	font-size: var(--fs-small);
}
.jdp-trust-chip svg {
	color: var(--accent-cool);
	flex-shrink: 0;
}

.jdp-pricing-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--sp-4);
}

.jdp-price-card {
	position: relative;
	background: var(--jdp-dark-alt);
	border: 1px solid rgba(255, 255, 255, 0.04);
	border-radius: 16px;
	padding: var(--sp-6);
	color: var(--jdp-white);
	display: flex;
	flex-direction: column;
	gap: var(--sp-4);
	min-height: 380px;
	box-shadow: var(--shadow-md);
	transition: transform var(--dur-normal) var(--ease-out), box-shadow var(--dur-normal) var(--ease-out);
}
.jdp-price-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-lg);
}
.jdp-price-card.is-popular {
	border: 1.5px solid var(--accent);
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.18), 0 10px 20px rgba(0, 0, 0, 0.08);
}
.jdp-price-card.is-accent {
	background: var(--accent-cool);
	border-color: rgba(255, 255, 255, 0.12);
}
.jdp-price-card-badge {
	position: absolute;
	top: -12px;
	left: var(--sp-6);
	background: var(--accent);
	color: var(--jdp-white);
	font-weight: 700;
	font-size: 10px;
	padding: 5px 11px;
	border-radius: 6px;
	letter-spacing: var(--tracking-caps);
	text-transform: uppercase;
	box-shadow: 0 4px 12px rgba(217, 149, 2, 0.4);
}

.jdp-price-card-head {
	display: flex;
	flex-direction: column;
	gap: var(--sp-1);
}
.jdp-price-card-qty {
	font-weight: 800;
	font-size: 56px;
	line-height: 1;
	letter-spacing: -0.03em;
}
.jdp-price-card-platform {
	display: flex;
	align-items: center;
	gap: var(--sp-2);
	font-size: 12px;
	color: rgba(255, 255, 255, 0.65);
}
.jdp-price-card.is-accent .jdp-price-card-platform {
	color: rgba(255, 255, 255, 0.82);
}
.jdp-price-card-platform svg {
	width: 14px;
	height: 14px;
}

.jdp-price-card-bar-track {
	height: 6px;
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.06);
	overflow: hidden;
}
.jdp-price-card.is-accent .jdp-price-card-bar-track {
	background: rgba(255, 255, 255, 0.18);
}
.jdp-price-card-bar-fill {
	height: 100%;
	background: var(--accent-cool);
	border-radius: 3px;
	transition: width var(--dur-slow) var(--ease-out);
}
.jdp-price-card.is-popular .jdp-price-card-bar-fill {
	background: var(--accent);
}
.jdp-price-card.is-accent .jdp-price-card-bar-fill {
	background: var(--jdp-white);
}
.jdp-price-card-bar-labels {
	display: flex;
	justify-content: space-between;
	font-size: 11px;
	color: rgba(255, 255, 255, 0.65);
	margin-top: var(--sp-1);
}
.jdp-price-card.is-accent .jdp-price-card-bar-labels {
	color: rgba(255, 255, 255, 0.82);
}

.jdp-price-card-price {
	display: flex;
	align-items: baseline;
	gap: var(--sp-2);
}
.jdp-price-card-amount {
	font-weight: 800;
	font-size: 32px;
	letter-spacing: var(--tracking-tight);
	color: var(--accent);
}
.jdp-price-card.is-accent .jdp-price-card-amount {
	color: var(--jdp-white);
}
.jdp-price-card-old {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.5);
	text-decoration: line-through;
}

.jdp-price-card-features {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: var(--sp-2);
}
.jdp-price-card-features li {
	display: flex;
	align-items: center;
	gap: var(--sp-3);
	font-size: 13px;
	color: var(--jdp-text-light);
}
.jdp-price-card-check {
	width: 18px;
	height: 18px;
	border-radius: var(--radius-full);
	background: rgba(43, 170, 177, 0.18);
	color: var(--accent-cool);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.jdp-price-card.is-accent .jdp-price-card-check {
	background: rgba(255, 255, 255, 0.2);
	color: var(--jdp-white);
}

.jdp-price-card-cta {
	margin-top: auto;
	width: 100%;
	justify-content: center;
	border-radius: 10px;
	padding: 13px 22px;
	font-weight: 700;
}
.jdp-price-card.is-accent .jdp-price-card-cta {
	background: var(--jdp-white);
	color: var(--accent-cool);
}
.jdp-price-card.is-accent .jdp-price-card-cta:hover {
	background: rgba(255, 255, 255, 0.92);
}

.jdp-pricing-footnote {
	margin-top: var(--sp-8);
	text-align: center;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.65);
}
.jdp-pricing-footnote-link {
	color: var(--accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Pricing responsive */
@media (max-width: 1100px) {
	.jdp-pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.jdp-pricing-grid { grid-template-columns: 1fr; }
	.jdp-price-card-qty { font-size: 44px; }
	.jdp-pricing-title { font-size: 32px; }
}

/* ============================================================
 * Modal (générique, jdp-modal-order et autres).
 * ============================================================ */
.jdp-modal {
	position: fixed;
	inset: 0;
	z-index: var(--z-modal);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--sp-5);
	pointer-events: none;
	opacity: 0;
	transition: opacity var(--dur-normal) var(--ease-out);
}
.jdp-modal[aria-hidden="false"] {
	pointer-events: auto;
	opacity: 1;
}
.jdp-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(31, 31, 31, 0.6);
	border: 0;
	padding: 0;
	cursor: pointer;
}
.jdp-modal-dialog {
	position: relative;
	background: var(--bg);
	color: var(--fg1);
	border-radius: var(--radius-lg);
	width: 100%;
	max-width: 480px;
	max-height: calc(100vh - var(--sp-10));
	overflow-y: auto;
	box-shadow: var(--shadow-xl);
	transform: translateY(12px) scale(0.98);
	transition: transform var(--dur-normal) var(--ease-out);
}
.jdp-modal[aria-hidden="false"] .jdp-modal-dialog {
	transform: translateY(0) scale(1);
}

.jdp-modal-header {
	background: var(--jdp-dark);
	color: var(--jdp-white);
	padding: var(--sp-4) var(--sp-5);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-3);
}
.jdp-modal-title-row {
	display: flex;
	align-items: center;
	gap: var(--sp-3);
}
.jdp-modal-platform-icon svg { width: 20px; height: 20px; }
.jdp-modal-title {
	font-size: 15px;
	font-weight: 600;
	margin: 0;
	color: var(--jdp-white);
}
.jdp-modal-title-detail {
	color: rgba(255, 255, 255, 0.7);
	font-weight: 500;
}
.jdp-modal-close {
	background: transparent;
	border: 0;
	color: var(--jdp-white);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: var(--radius-sm);
	transition: background var(--dur-fast);
}
.jdp-modal-close:hover {
	background: rgba(255, 255, 255, 0.1);
}
.jdp-modal-close:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.jdp-modal-body {
	padding: var(--sp-5);
	display: flex;
	flex-direction: column;
	gap: var(--sp-3);
}
.jdp-modal-field {
	display: flex;
	flex-direction: column;
	gap: var(--sp-2);
}
.jdp-modal-label {
	font-weight: 500;
	font-size: 12px;
	color: var(--fg1);
}
.jdp-modal-input {
	font-family: var(--font-sans);
	font-size: 14px;
	padding: 11px 14px;
	border-radius: var(--radius-sm);
	border: 1px solid var(--border);
	background: var(--bg);
	color: var(--fg1);
	transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
	min-height: 44px; /* touch target */
}
.jdp-modal-input:focus {
	outline: 0;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(217, 149, 2, 0.15);
}
.jdp-modal-help {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-1);
	font-size: 11px;
	color: var(--fg2);
}
.jdp-modal-help svg {
	color: var(--jdp-spotify);
	flex-shrink: 0;
}

.jdp-modal-total-row {
	background: var(--bg-soft);
	border-radius: var(--radius-md);
	padding: var(--sp-3);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--sp-3);
	margin-top: var(--sp-2);
}
.jdp-modal-total-label {
	font-size: 12px;
	color: var(--fg2);
}
.jdp-modal-total-amount {
	font-weight: 700;
	font-size: 22px;
	color: var(--accent);
}
.jdp-modal-trust {
	font-size: 11px;
	color: var(--fg2);
	text-align: right;
	line-height: 1.4;
}

.jdp-modal-submit {
	justify-content: center;
	width: 100%;
	min-height: 48px;
}

.jdp-modal-payment-badges {
	display: flex;
	gap: var(--sp-2);
	justify-content: center;
	align-items: center;
	padding-top: var(--sp-1);
	flex-wrap: wrap;
}
.jdp-modal-payment-badges img {
	height: 22px;
	width: auto;
}

body.jdp-modal-open {
	overflow: hidden;
}

/* Modal responsive */
@media (max-width: 480px) {
	.jdp-modal { padding: var(--sp-3); }
	.jdp-modal-body { padding: var(--sp-4); }
	.jdp-modal-total-row { flex-direction: column; align-items: flex-start; }
	.jdp-modal-trust { text-align: left; }
}

/* ============================================================
   CusRev lightbox (.cr-pswp.pswp) : conteneur PhotoSwipe injecté globalement par le plugin
   d'avis, alors que le CSS PhotoSwipe est dé-enqueué hors fiche produit (perf, voir
   inc/enqueue.php). Fermé et non stylé, il occupe ~47px en flux et laisse un bloc blanc sous
   le footer sur toutes les pages hors produit. On le neutralise tant qu'il n'est pas ouvert.
   ============================================================ */
.cr-pswp.pswp:not(.pswp--open) {
	display: none !important;
}
