/**
 * MÊME Cosmetics — shop styles (PLP, PDP, cart, checkout, account).
 *
 * Scope: assets/css/shop.css — loaded only on WooCommerce pages (theme-core
 * enqueue registry). Values mirror the reference theme
 * (data/ref/css/themes_crea_memecosmetics_assets_css_theme.css):
 * text #2e2e2e, cream #fef9f5, blush #edb09e / #ffece1, border #e5e4e2,
 * muted #979797, sale #f02e38, card radii ~5px, body Montserrat.
 *
 * All values read theme-core CSS custom properties with local fallbacks so the
 * shop renders even before/ independently of base.css values.
 */

/* =========================================================================
 * 1. Shared shop shell
 * ====================================================================== */
.meme-shop {
	--meme-shop-text: var(--meme-color-text, #2e2e2e);
	--meme-shop-muted: var(--meme-color-muted, #979797);
	--meme-shop-border: var(--meme-color-border, #e5e4e2);
	--meme-shop-cream: #fef9f5;
	--meme-shop-blush: #edb09e;
	--meme-shop-blush-soft: #ffece1;
	--meme-shop-sale: var(--meme-color-sale, #f02e38);
	--meme-shop-radius: var(--meme-radius, 5px);
	--meme-shop-font: var(--meme-font-body, "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif);
	--meme-shop-heading-font: var(--meme-font-heading, var(--meme-shop-font));
	--meme-shop-max: var(--meme-container-width, 1320px);
	--meme-shop-gutter: var(--meme-gutter, 20px);
	font-family: var(--meme-shop-font);
	color: var(--meme-shop-text);
	padding-bottom: 6rem;
}

.meme-shop *,
.meme-shop *::before,
.meme-shop *::after {
	box-sizing: border-box;
}

.meme-shop img {
	max-width: 100%;
	height: auto;
}

.meme-shop a {
	color: inherit;
}

.meme-shop .container {
	width: 100%;
	max-width: var(--meme-shop-max);
	padding-right: var(--meme-shop-gutter);
	padding-left: var(--meme-shop-gutter);
	margin-right: auto;
	margin-left: auto;
}

.meme-shop .row {
	display: flex;
	flex-wrap: wrap;
}

.meme-shop .old-price {
	text-decoration: line-through;
	font-weight: 400;
}

/* WooCommerce generic notices inside shop pages. */
.meme-shop .woocommerce-notices-wrapper,
.meme-shop .woocommerce-message,
.meme-shop .woocommerce-info,
.meme-shop .woocommerce-error {
	font-family: var(--meme-shop-font);
}

.meme-shop .woocommerce-message,
.meme-shop .woocommerce-info,
.meme-shop .woocommerce-error {
	padding: 1rem 1.25rem;
	margin-bottom: 1.5rem;
	color: var(--meme-shop-text);
	list-style: none;
	background: var(--meme-shop-cream);
	border: 1px solid var(--meme-shop-border);
	border-left: 4px solid var(--meme-shop-blush);
	border-radius: var(--meme-shop-radius);
}

.meme-shop .woocommerce-error {
	border-left-color: var(--meme-shop-sale);
}

.meme-shop .woocommerce-message a.button,
.meme-shop .woocommerce-info a.button {
	font-size: 0.8125rem;
}

/* Breadcrumb (reference .page-breadcrumb / .breadcrumb). */
.meme-shop .page-breadcrumb {
	padding-top: 1rem;
	padding-bottom: 1rem;
}

.meme-shop .breadcrumb {
	display: flex;
	flex-wrap: wrap;
	padding: 0;
	margin: 0;
	font-size: 0.875rem;
	list-style: none;
}

.meme-shop .breadcrumb-item {
	display: flex;
	align-items: center;
	font-weight: 600;
}

.meme-shop .breadcrumb-item + .breadcrumb-item::before {
	display: inline-block;
	width: 5px;
	height: 10px;
	margin-right: 0.5rem;
	margin-left: 0.5rem;
	content: "";
	background: currentColor;
	opacity: 0.45;
	clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.meme-shop .breadcrumb-item a {
	text-decoration: none;
}

.meme-shop .breadcrumb-item a:hover {
	text-decoration: underline;
}

.meme-shop .breadcrumb-item.active {
	font-weight: 400;
}

/* Buttons come from theme-core base.css (reference metrics); shop only keeps layout tweaks. */

.meme-shop .visually-hidden,
.meme-shop .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Offcanvas drawer (mobile filters). */
.meme-offcanvas {
	position: fixed;
	inset: 0;
	z-index: 1000;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.25s ease-in-out, visibility 0.25s ease-in-out;
}

.meme-offcanvas.is-open {
	visibility: visible;
	opacity: 1;
}

.meme-offcanvas__overlay {
	position: absolute;
	inset: 0;
	background: rgba(46, 46, 46, 0.45);
}

.meme-offcanvas__panel {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	width: min(88vw, 360px);
	background: #fff;
	box-shadow: 0 0 30px rgba(46, 46, 46, 0.25);
	transform: translateX(-102%);
	transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.meme-offcanvas.is-open .meme-offcanvas__panel {
	transform: translateX(0);
}

.meme-offcanvas__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.25rem 1.25rem 0.75rem;
	border-bottom: 1px solid var(--meme-shop-border);
}

.meme-offcanvas__title {
	margin: 0;
	font-family: var(--meme-shop-heading-font);
	font-size: 1.125rem;
	font-weight: 600;
}

.meme-offcanvas__close {
	display: inline-flex;
	padding: 0.25rem;
	color: inherit;
	cursor: pointer;
	background: none;
	border: 0;
}

.meme-offcanvas__body {
	flex: 1;
	padding: 1.25rem;
	overflow-y: auto;
}

.meme-offcanvas__foot {
	padding: 1rem 1.25rem;
	border-top: 1px solid var(--meme-shop-border);
}

body.meme-filters-open {
	overflow: hidden;
}

/* =========================================================================
 * 2. PLP — header, toolbar, facets, grid
 * ====================================================================== */
.meme-plp .page-content {
	overflow: hidden;
}

.meme-plp .category-header {
	padding: 0;
	margin-bottom: 3rem;
	overflow: hidden;
	text-align: left;
	background-color: #fffefd;
}

.meme-plp .category-header .row {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
}

.meme-plp .category-header .col-md-6,
.meme-plp .category-header .col-12 {
	width: 100%;
}

@media (min-width: 768px) {
	.meme-plp .category-header .col-md-6 {
		width: 50%;
	}
}

.meme-plp .category-header__infos {
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 100%;
	padding: 3rem 1.25rem 5rem;
	background-color: var(--meme-shop-cream);
}

.meme-plp .category-header--has-image .category-header__infos {
	padding-top: 2rem;
}

.meme-plp .category-header__title {
	margin: 0 0 1rem;
	font-family: var(--meme-shop-heading-font);
	font-size: clamp(1.375rem, 1.1rem + 1.5vw, 2.25rem);
	font-weight: 600;
	text-align: center;
}

.meme-plp .category-header__description {
	font-size: 0.9375rem;
	line-height: 1.6;
	text-align: center;
	text-wrap: balance;
}

.meme-plp .category-header__description p {
	margin-bottom: 0.75rem;
}

.meme-plp .category-header__image-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 9 / 3;
}

.meme-plp .product-list-main {
	padding-bottom: 2rem;
}

.meme-plp .product-list-main > .container > .row {
	margin: 0 -0.75rem;
}

@media (min-width: 1200px) {
	.meme-plp .product-list-main > .container > .row > .col-xl-3 {
		flex: 0 0 25%;
		width: 25%;
		padding: 0 0.75rem;
	}

	.meme-plp .product-list-main > .container > .row > .col-xl-9 {
		flex: 0 0 75%;
		width: 75%;
		padding: 0 0.75rem;
	}
}

@media (max-width: 1199.98px) {
	.meme-plp .product-list-main > .container > .row > .col-xl-9 {
		flex: 0 0 100%;
		width: 100%;
	}
}

/* Toolbar */
.meme-plp .product-list-top {
	position: relative;
	display: flex;
	align-items: center;
	margin-bottom: 1rem;
}

.meme-plp .product-list-top > .row {
	display: flex;
	flex: 1;
	align-items: center;
	margin: 0;
}

.meme-plp .product-list-top__filter-btn {
	display: flex;
	gap: 0.5rem;
	align-items: center;
	padding: 0;
	font-family: var(--meme-shop-font);
	font-size: 0.9375rem;
	color: var(--meme-shop-text);
	background: transparent;
	border: 0;
}

.meme-plp .product-list__products-count {
	font-family: var(--meme-shop-font);
	font-size: 1.125rem;
}

.meme-plp .sort-dropdown {
	display: flex;
	gap: 0.75rem;
	align-items: center;
	justify-content: flex-end;
	margin: 0;
}

.meme-plp .sort-dropdown__label {
	margin: 0;
	font-size: 0.75rem;
	color: var(--meme-shop-muted);
}

.meme-plp .sort-dropdown__select {
	font-family: var(--meme-shop-font);
	font-size: 0.875rem;
}

@media (max-width: 767.98px) {
	.meme-plp .sort-dropdown__label {
		display: none;
	}
}

/* Facets */
.meme-facets {
	margin-top: 1rem;
}

.meme-facets__title {
	margin: 0 0 1.25rem;
	font-family: var(--meme-shop-heading-font);
	font-size: 1.125rem;
	font-weight: 600;
}

.meme-plp .facet {
	margin-bottom: 1.25rem;
}

.meme-plp .facet-title {
	margin: 0 0 0.75rem;
	font-family: var(--meme-shop-font);
	font-size: 1rem;
	font-weight: 400;
}

.meme-plp .facet .form-check {
	position: relative;
	display: flex;
	gap: 0.5rem;
	align-items: center;
	padding: 0.5rem 1rem;
	margin-bottom: 0.5rem;
	border: 1px solid var(--meme-shop-border);
	border-radius: 4px;
	transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.meme-plp .facet .form-check:hover,
.meme-plp .facet .form-check-active {
	background-color: var(--meme-shop-blush-soft);
	border-color: var(--meme-shop-blush-soft);
}

.meme-plp .facet .form-check-label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	font-family: var(--meme-shop-font);
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
}

.meme-plp .facet .magnitude {
	font-size: 0.875em;
	font-weight: 400;
	color: var(--meme-shop-muted);
}

.meme-plp .active-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
}

.meme-plp .active-filters__item {
	display: flex;
	align-items: center;
	padding: 0.375rem 0.75rem;
	font-family: var(--meme-shop-font);
	font-size: 0.875rem;
	font-weight: 600;
	background-color: var(--meme-shop-blush-soft);
	border-radius: 50rem;
}

.meme-plp .active-filters__item a {
	display: flex;
	margin-left: 0.5rem;
	color: inherit;
}

/* Grid: 3 columns desktop / 2 columns mobile, like the reference. */
.meme-plp .product-list-default {
	padding-top: 2rem;
	text-align: center;
	background-color: #fff;
}

.meme-plp .product-list-default .products > .row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	margin: 0;
}

@media (min-width: 768px) {
	.meme-plp .product-list-default .products > .row {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 2rem;
	}
}

.meme-plp .product-list-default .products > .row > .col {
	display: flex;
	width: auto;
	max-width: none;
	padding: 0;
}

/* Card (only needed when theme-core's shared card CSS is not loaded; the
 * card markup itself comes from meme_product_card()). */
.meme-shop .product-miniature {
	position: relative;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	height: 100%;
	text-align: center;
	background-color: #fff;
}

.meme-shop .product-miniature:hover .product-miniature__image--ambiance {
	opacity: 1;
}

.meme-shop .product-miniature__image-container {
	position: relative;
	overflow: hidden;
	border-radius: var(--meme-shop-radius);
}

.meme-shop .product-miniature__image-link {
	display: block;
}

.meme-shop .product-miniature__image {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.meme-shop .product-miniature__image--ambiance {
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	transition: opacity 0.25s ease-in-out;
}

.meme-shop .product-miniature-stickers-flags {
	position: absolute;
	top: 0.625rem;
	right: 0.625rem;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

.meme-shop .product-miniature-stickers,
.meme-shop .product-miniature__flags,
.meme-shop .product-flags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
	justify-content: flex-end;
}

.meme-shop .product-sticker__label,
.meme-shop .product-flag {
	display: inline-block;
	padding: 0.5rem 0.625rem;
	font-family: var(--meme-shop-font);
	font-size: 0.625rem;
	font-weight: 600;
	line-height: 1;
	color: var(--meme-shop-text);
	text-transform: uppercase;
	background-color: #fffce3;
	border-radius: 0.25rem;
}

.meme-shop .product-sticker__label--sale {
	color: #d47176;
	background-color: #fadfdc;
}

.meme-shop .product-flag--new {
	color: #b65c4f;
	background-color: var(--meme-shop-blush-soft);
}

.meme-shop .product-miniature__content {
	display: flex;
	flex: 1 1 0%;
	flex-direction: column;
	gap: 0.5rem;
	align-items: center;
	padding: 1rem 0.25rem 0;
	text-align: center;
}

.meme-shop .product-miniature__name {
	margin: 0;
	font-family: var(--meme-shop-font);
	font-size: 1rem;
	font-weight: 500;
	text-wrap: balance;
}

.meme-shop .product-miniature__name a {
	text-decoration: none;
}

.meme-shop .product-miniature__subtitle {
	margin: 0;
	font-size: 0.75rem;
	color: var(--meme-shop-muted);
	text-wrap: balance;
}

.meme-shop .product-miniature__infos {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	align-items: center;
	padding: 0.75rem 0 2rem;
	margin-top: auto;
}

.meme-shop .product-miniature__prices-static {
	display: inline-flex;
	gap: 0.375rem;
	align-items: baseline;
	justify-content: center;
}

.meme-shop .product-miniature__price {
	font-family: var(--meme-shop-font);
	font-size: 1rem;
	font-weight: 600;
}

.meme-shop .product-miniature__regular-price {
	font-size: 0.875em;
	text-decoration: line-through;
	color: var(--meme-shop-muted);
}

.meme-shop .product-miniature__btn {
	white-space: nowrap;
}

/* Empty state */
.meme-plp-empty {
	padding: 4rem 1rem;
	margin: 2rem 0;
	text-align: center;
	background: var(--meme-shop-cream);
	border-radius: 10px;
}

.meme-plp-empty__icon {
	display: inline-flex;
	margin-bottom: 1.25rem;
	color: var(--meme-shop-blush);
}

.meme-plp-empty__title {
	margin: 0 0 0.75rem;
	font-family: var(--meme-shop-heading-font);
	font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
	font-weight: 600;
}

.meme-plp-empty__text {
	max-width: 620px;
	margin: 0 auto 1.5rem;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--meme-shop-muted);
}

/* =========================================================================
 * 3. PDP — gallery, buy box, social proof, trust, accordion, recommendations
 * ====================================================================== */
.meme-pdp .product-container {
	padding: 1.5rem 0 0;
}

.meme-pdp .product-container > .container > .row {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -0.75rem;
}

.meme-pdp .product-container > .container > .row > .col-lg-6 {
	flex: 0 0 100%;
	width: 100%;
	padding: 0 0.75rem;
}

@media (min-width: 992px) {
	.meme-pdp .product-container > .container > .row > .col-lg-6 {
		flex: 0 0 50%;
		width: 50%;
	}
}

/* Gallery */
.meme-pdp .product-images {
	display: flex;
	flex-direction: column-reverse;
	width: 100%;
}

.meme-pdp .product-images__main {
	width: 100%;
}

.meme-pdp .meme-gallery__main {
	position: relative;
	overflow: hidden;
	background: var(--meme-shop-cream);
	border-radius: var(--meme-shop-radius);
}

.meme-pdp .meme-gallery__img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.meme-pdp .meme-gallery__arrow {
	position: absolute;
	top: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	color: var(--meme-shop-text);
	cursor: pointer;
	background: rgba(255, 255, 255, 0.86);
	border: 0;
	border-radius: 50%;
	transform: translateY(-50%);
	transition: background-color 0.2s ease-in-out;
}

.meme-pdp .meme-gallery__arrow:hover {
	background: #fff;
}

.meme-pdp .meme-gallery__arrow--prev {
	left: 0.75rem;
}

.meme-pdp .meme-gallery__arrow--next {
	right: 0.75rem;
}

.meme-pdp .meme-gallery__counter {
	position: absolute;
	right: 0.75rem;
	bottom: 0.75rem;
	padding: 0.25rem 0.625rem;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--meme-shop-text);
	background: rgba(255, 255, 255, 0.86);
	border-radius: 50rem;
}

.meme-pdp .product-images__thumbs {
	display: flex;
	gap: 0.75rem;
	align-items: center;
	margin-top: 15px;
}

.meme-pdp .product-images__thumbs .swiper-product-thumbs {
	flex: 1 1 0%;
	overflow-x: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.meme-pdp .product-images__thumbs .swiper-product-thumbs::-webkit-scrollbar {
	display: none;
}

.meme-pdp .product-images__thumbs .swiper-wrapper {
	display: flex;
	gap: 0.75rem;
}

.meme-pdp .product-images__thumbs .swiper-slide {
	flex: 0 0 auto;
	width: calc(25% - 0.5625rem);
	height: auto;
}

@media (min-width: 992px) {
	.meme-pdp .product-images__thumbs .swiper-slide {
		width: calc(100% / 6 - 0.625rem);
	}
}

.meme-pdp .meme-gallery__thumb {
	display: block;
	width: 100%;
	padding: 0;
	cursor: pointer;
	background: var(--meme-shop-cream);
	border: 1px solid transparent;
	border-radius: var(--meme-shop-radius);
	transition: border-color 0.2s ease-in-out;
}

.meme-pdp .meme-gallery__thumb.is-active,
.meme-pdp .meme-gallery__thumb:hover {
	border-color: var(--meme-shop-text);
}

.meme-pdp .meme-gallery__thumb img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: var(--meme-shop-radius);
}

.meme-pdp .swiper-button-prev,
.meme-pdp .swiper-button-next {
	position: static;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.125rem;
	height: 1.125rem;
	padding: 0;
	color: var(--meme-shop-text);
	cursor: pointer;
	background: transparent;
	border: 0;
}

/* Buy box */
.meme-pdp .product-main-information {
	font-size: 1rem;
}

.meme-pdp .product-flags-stickers {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
}

.meme-pdp .product-name {
	margin: 0 0 0.5rem;
	font-family: var(--meme-shop-heading-font);
	font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem);
	font-weight: 600;
	line-height: 1.2;
}

.meme-pdp .product-subtitle {
	margin: 0 0 0.75rem;
	font-size: 0.9375rem;
	color: var(--meme-shop-muted);
}

.meme-pdp .product-subinfos-reviews {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	margin-bottom: 1.25rem;
	font-size: 0.8125rem;
	color: var(--meme-shop-muted);
}

.meme-pdp .product-format,
.meme-pdp .product-ref {
	font-weight: 600;
}

.meme-pdp .meme-pdp-price {
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem;
	align-items: baseline;
	padding: 1rem 0 1.25rem;
	margin-bottom: 0.5rem;
	border-top: 1px solid var(--meme-shop-border);
	border-bottom: 1px solid var(--meme-shop-border);
}

.meme-pdp .meme-pdp-price__sale {
	font-family: var(--meme-shop-font);
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1;
}

.meme-pdp .meme-pdp-price__regular {
	font-size: 1.0625rem;
	color: var(--meme-shop-muted);
}

.meme-pdp .meme-pdp-price__badge {
	padding: 0.25rem 0.5rem;
	font-size: 0.75rem;
	font-weight: 700;
	color: #d47176;
	background: #fadfdc;
	border-radius: 4px;
}

.meme-pdp .meme-pdp-price__vat {
	flex-basis: 100%;
	font-size: 0.75rem;
	color: var(--meme-shop-muted);
}

.meme-pdp .product-description-short {
	margin-bottom: 1.5rem;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--meme-shop-text);
}

.meme-pdp .product-description-short > :last-child {
	margin-bottom: 0;
}

/* Variant chips */
.meme-pdp .product-clusters {
	margin-top: 0;
	margin-bottom: 1.5rem;
}

.meme-pdp .product-cluster + .product-cluster {
	margin-top: 0.75rem;
}

.meme-pdp .product-cluster__label {
	margin: 0 0 0.5rem;
	font-family: var(--meme-shop-font);
	font-size: 0.875rem;
	font-weight: 600;
}

.meme-pdp .chip-group {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
}

.meme-pdp .chip {
	position: relative;
}

.meme-pdp .chip-input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.meme-pdp .chip-label {
	display: block;
	min-width: 3.5rem;
	padding: 7px 14px;
	font-family: var(--meme-shop-font);
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.25;
	text-align: center;
	cursor: pointer;
	background: #fff;
	border: 1px solid var(--meme-shop-border);
	border-radius: 4px;
	transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.meme-pdp .chip-input:checked + .chip-label,
.meme-pdp .chip-label:hover {
	font-weight: 600;
	border-color: var(--meme-shop-text);
}

.meme-pdp .chip-input:focus-visible + .chip-label {
	outline: 2px solid var(--meme-shop-blush);
	outline-offset: 2px;
}

/* Availability */
.meme-pdp .product-availability {
	display: inline-flex;
	align-items: center;
	padding: 5px 10px;
	margin-bottom: 1rem;
	background-color: #d1e7dd;
	border-radius: 4px;
}

.meme-pdp .product-availability__label {
	display: flex;
	gap: 0.25rem;
	align-items: center;
	font-family: var(--meme-shop-font);
	font-size: 0.75rem;
	font-weight: 600;
	color: #198754;
}

.meme-pdp .product-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: stretch;
	margin-bottom: 1rem;
}

.meme-qty-selector {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	overflow: hidden;
	border: 1px solid var(--meme-shop-border);
	border-radius: 50rem;
}

.meme-qty-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.75rem;
	padding: 0;
	font-size: 1.125rem;
	color: inherit;
	cursor: pointer;
	background: transparent;
	border: 0;
	transition: background-color 0.15s ease-in-out;
}

.meme-qty-btn:hover {
	background: var(--meme-shop-cream);
}

.meme-qty-selector input[type="number"] {
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	font-family: var(--meme-shop-font);
	font-size: 0.9375rem;
	font-weight: 600;
	text-align: center;
	-moz-appearance: textfield;
	appearance: textfield;
	background: transparent;
	border: 0;
}

.meme-qty-selector input[type="number"]::-webkit-outer-spin-button,
.meme-qty-selector input[type="number"]::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.meme-pdp .meme-add-to-cart {
	flex: 1 1 260px;
	min-height: 2.75rem;
	font-size: 0.9375rem;
	border-radius: 50rem;
}

.meme-pdp .meme-add-to-cart__price {
	font-weight: 700;
}

.meme-pdp .meme-add-to-cart.is-loading {
	opacity: 0.7;
	pointer-events: none;
}

/* Fake social proof */
.meme-pdp .meme-pdp-social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem 1.25rem;
	padding: 0.75rem 1rem;
	margin-bottom: 1.25rem;
	font-size: 0.8125rem;
	background: var(--meme-shop-cream);
	border-radius: var(--meme-shop-radius);
}

.meme-pdp .meme-pdp-social p {
	display: flex;
	gap: 0.375rem;
	align-items: center;
	margin: 0;
}

.meme-pdp .meme-pdp-social strong {
	font-weight: 700;
}

.meme-pdp .meme-pdp-social__viewers svg {
	color: #b65c4f;
}

.meme-pdp .meme-pdp-social__countdown svg {
	color: var(--meme-shop-blush);
}

/* Trust row */
.meme-pdp .crea-reassurance--product {
	margin-top: 1.25rem;
}

.meme-pdp .crea-reassurance--product .row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 0;
	margin: 0 -0.5rem;
}

.meme-pdp .crea-reassurance--product .row > [class*="col-"] {
	width: 100%;
	padding: 0 0.5rem;
}

@media (min-width: 1200px) {
	.meme-pdp .crea-reassurance--product .row > .col-xl-6 {
		width: 50%;
	}
}

.meme-pdp .crea-reassurance-item {
	display: flex;
	gap: 0.75rem;
	align-items: center;
	font-size: 0.875rem;
	line-height: 1.25;
	text-wrap: balance;
}

.meme-pdp .crea-reassurance-item__image {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.875rem;
	height: 2.875rem;
	color: var(--meme-shop-text);
}

.meme-pdp .crea-reassurance-item__title {
	margin: 0;
	font-weight: 600;
}

.meme-pdp .crea-reassurance--product-general {
	padding: 2rem 0;
	margin-top: 2.5rem;
	background-color: var(--meme-shop-cream);
}

.meme-pdp .crea-reassurance--product-general .row {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem 0;
	margin: 0 -0.75rem;
}

.meme-pdp .crea-reassurance--product-general .row > [class*="col-"] {
	padding: 0 0.75rem;
}

@media (min-width: 768px) {
	.meme-pdp .crea-reassurance--product-general .row > .col-md-6 {
		width: 50%;
	}
}

@media (min-width: 1200px) {
	.meme-pdp .crea-reassurance--product-general .row > .col-xl-2 {
		width: 16.6667%;
	}
}

.meme-pdp .product-reassurance {
	display: flex;
	gap: 0.75rem;
	align-items: center;
}

.meme-pdp .product-reassurance__image {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	color: var(--meme-shop-text);
}

.meme-pdp .product-reassurance__content {
	font-size: 0.875rem;
	line-height: 1.25;
	text-wrap: balance;
}

.meme-pdp .product-reassurance__title {
	margin: 0;
	font-family: var(--meme-shop-font);
}

/* Accordion */
.meme-pdp .product-tabs {
	padding: 2.5rem 0 1rem;
}

.meme-pdp .product-tabs__heading {
	margin: 0 0 1.25rem;
	font-family: var(--meme-shop-heading-font);
	font-size: 1.375rem;
	font-weight: 600;
}

.meme-pdp .product-tabs__item {
	padding: 0 0.25rem;
	border-top: 1px solid var(--meme-shop-border);
}

.meme-pdp .product-tabs__item:last-child {
	border-bottom: 1px solid var(--meme-shop-border);
}

.meme-pdp .product-tabs__title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 0;
	font-family: var(--meme-shop-font);
	font-size: 1.0625rem;
	font-weight: 600;
	color: var(--meme-shop-text);
	cursor: pointer;
	list-style: none;
}

.meme-pdp .product-tabs__title::-webkit-details-marker {
	display: none;
}

.meme-pdp .product-tabs__title-button {
	pointer-events: none;
}

.meme-pdp .meme-accordion__chevron {
	flex-shrink: 0;
	transition: transform 0.25s ease-in-out;
}

.meme-pdp .product-tabs__item[open] .meme-accordion__chevron {
	transform: rotate(180deg);
}

.meme-pdp .product-tabs__tab-pane {
	padding: 0 0 1.5rem;
	font-size: 0.875rem;
	line-height: 1.7;
}

.meme-pdp .product-tabs__tab-pane h2,
.meme-pdp .product-tabs__tab-pane h3 {
	font-family: var(--meme-shop-heading-font);
	font-size: 1.125rem;
	font-weight: 600;
}

/* Recommendations rail */
.meme-pdp .featured-products-container {
	padding: 2.5rem 0;
	overflow: hidden;
}

.meme-pdp .featured-product__title {
	margin: 0 0 1.25rem;
	font-family: var(--meme-shop-heading-font);
	font-size: 1.375rem;
	font-weight: 600;
}

.meme-pdp .meme-rec-rail {
	position: relative;
}

.meme-pdp .meme-rec-rail__track {
	display: flex;
	gap: 1rem;
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.meme-pdp .meme-rec-rail__track::-webkit-scrollbar {
	display: none;
}

.meme-pdp .meme-rec-rail__item {
	flex: 0 0 45%;
	scroll-snap-align: start;
}

@media (min-width: 768px) {
	.meme-pdp .meme-rec-rail__item {
		flex-basis: calc(33.333% - 0.75rem);
	}
}

@media (min-width: 1200px) {
	.meme-pdp .meme-rec-rail__item {
		flex-basis: calc(20% - 0.8rem);
	}
}

.meme-pdp .meme-rec-rail__nav {
	display: flex;
	gap: 0.5rem;
	justify-content: flex-end;
	margin-top: 0.75rem;
}

.meme-pdp .meme-rec-rail__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	color: inherit;
	cursor: pointer;
	background: transparent;
	border: 1px solid var(--meme-shop-border);
	border-radius: 50%;
}

.meme-pdp .meme-rec-rail__btn:hover {
	background: var(--meme-shop-cream);
}

/* Sticky mobile bar */
.meme-sticky-bar {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 900;
	background: #fff;
	border-top: 1px solid var(--meme-shop-border);
	box-shadow: 0 -6px 24px rgba(46, 46, 46, 0.12);
}

.meme-sticky-bar[hidden] {
	display: none !important;
}

.meme-sticky-bar__inner {
	display: flex;
	gap: 0.75rem;
	align-items: center;
	max-width: var(--meme-shop-max);
	padding: 0.625rem var(--meme-shop-gutter);
	margin: 0 auto;
}

.meme-sticky-bar__img {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: 5px;
}

.meme-sticky-bar__infos {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
}

.meme-sticky-bar__name {
	overflow: hidden;
	font-size: 0.8125rem;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.meme-sticky-bar__prices {
	display: flex;
	gap: 0.375rem;
	align-items: baseline;
}

.meme-sticky-bar__sale {
	font-size: 0.875rem;
	font-weight: 700;
}

.meme-sticky-bar__regular {
	font-size: 0.75rem;
	color: var(--meme-shop-muted);
}

.meme-sticky-bar__btn {
	flex-shrink: 0;
	min-height: 2.5rem;
	padding: 0.5rem 1rem;
	font-size: 0.8125rem;
}

@media (min-width: 992px) {
	.meme-sticky-bar {
		display: none;
	}
}

/* "Ajouté au panier" popup */
.meme-added-popup {
	position: fixed;
	inset: 0;
	z-index: 1200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
	background: rgba(46, 46, 46, 0.4);
}

.meme-added-popup[hidden] {
	display: none !important;
}

.meme-added-popup__panel {
	position: relative;
	width: min(100%, 420px);
	padding: 1.75rem;
	text-align: center;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 18px 50px rgba(46, 46, 46, 0.25);
	transition: transform 0.25s ease-in-out;
}

.meme-added-popup__close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	display: inline-flex;
	padding: 0.25rem;
	color: var(--meme-shop-muted);
	cursor: pointer;
	background: none;
	border: 0;
}

.meme-added-popup__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.25rem;
	height: 3.25rem;
	margin-bottom: 0.75rem;
	color: #198754;
	background: #d1e7dd;
	border-radius: 50%;
}

.meme-added-popup__title {
	margin: 0 0 0.25rem;
	font-family: var(--meme-shop-heading-font);
	font-size: 1.25rem;
	font-weight: 600;
}

.meme-added-popup__name {
	margin: 0 0 1.25rem;
	font-size: 0.9375rem;
	color: var(--meme-shop-muted);
}

.meme-added-popup__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
}

/* =========================================================================
 * 4. Cart page
 * ====================================================================== */
.meme-cart {
	width: 100%;
	max-width: var(--meme-shop-max);
	padding: 1rem var(--meme-shop-gutter) 3rem;
	margin: 0 auto;
	font-family: var(--meme-shop-font);
}

.meme-cart-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	align-items: flex-start;
	margin-top: 2rem;
}

.meme-cart-grid__items {
	flex: 1 1 520px;
	min-width: 0;
}

.meme-cart-grid__summary {
	flex: 1 1 320px;
	max-width: 430px;
}

@media (min-width: 992px) {
	.meme-cart-grid__items {
		flex: 1 1 0;
	}

	.meme-cart-grid__summary {
		flex-shrink: 0;
		width: 380px;
	}
}

.meme-cart-table {
	width: 100%;
	margin-bottom: 1.5rem;
	border-collapse: collapse;
}

.meme-cart-table thead {
	display: none;
}

.meme-cart-table tr {
	display: grid;
	grid-template-columns: 84px 1fr auto;
	grid-template-areas:
		"thumb name remove"
		"thumb price price"
		"thumb qty qty"
		"thumb subtotal subtotal";
	column-gap: 1rem;
	row-gap: 0.5rem;
	padding: 1rem 0;
	border-bottom: 1px solid var(--meme-shop-border);
}

.meme-cart-table .product-thumbnail {
	grid-area: thumb;
	width: 84px;
}

.meme-cart-table .product-name {
	grid-area: name;
	text-align: left;
}

.meme-cart-table .product-remove {
	grid-area: remove;
	justify-self: end;
}

.meme-cart-table .product-price {
	grid-area: price;
}

.meme-cart-table .product-quantity {
	grid-area: qty;
}

.meme-cart-table .product-subtotal {
	grid-area: subtotal;
	font-weight: 600;
}

@media (min-width: 768px) {
	.meme-cart-table thead {
		display: table-header-group;
		border-bottom: 1px solid var(--meme-shop-border);
	}

	.meme-cart-table thead tr {
		display: table-row;
		padding: 0;
		border: 0;
	}

	.meme-cart-table thead th {
		padding: 0.75rem 0.5rem;
		font-size: 0.75rem;
		font-weight: 600;
		text-align: left;
		text-transform: uppercase;
		color: var(--meme-shop-muted);
	}

	.meme-cart-table tbody tr {
		display: table-row;
		padding: 0;
	}

	.meme-cart-table tbody td {
		padding: 1.25rem 0.5rem;
		vertical-align: middle;
		border-bottom: 1px solid var(--meme-shop-border);
	}

	.meme-cart-table .product-thumbnail {
		width: 120px;
	}

	.meme-cart-table .product-remove {
		text-align: right;
	}
}

.meme-cart-item__img {
	display: block;
	width: 84px;
	height: 84px;
	object-fit: cover;
	border-radius: var(--meme-shop-radius);
}

@media (min-width: 768px) {
	.meme-cart-item__img {
		width: 100px;
		height: 100px;
	}
}

.meme-cart-item__name {
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
}

.meme-cart-item__name:hover {
	text-decoration: underline;
}

.meme-cart-item__subtitle {
	margin: 0.25rem 0 0;
	font-size: 0.8125rem;
	color: var(--meme-shop-muted);
}

.meme-cart-item__remove {
	display: inline-flex;
	padding: 0.375rem;
	color: var(--meme-shop-muted);
	border-radius: 50%;
	transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

.meme-cart-item__remove:hover {
	color: var(--meme-shop-sale);
	background: #ffeded;
}

.meme-cart-table .meme-qty-selector {
	border-radius: 4px;
}

.meme-cart-table .meme-qty-btn {
	width: 2rem;
	height: 2.25rem;
}

.meme-cart-table .meme-qty-selector input[type="number"] {
	width: 2.25rem;
	height: 2.25rem;
	font-size: 0.875rem;
	border: 1px solid var(--meme-shop-border);
	border-right: 0;
	border-left: 0;
}

.meme-cart-actions-row td {
	padding: 1.25rem 0;
}

.meme-cart-actions-row .coupon {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
}

.meme-cart-actions-row .coupon input {
	min-width: 180px;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--meme-shop-border);
	border-radius: 4px;
}

.meme-cart-update {
	font-family: var(--meme-shop-font);
	font-size: 0.8125rem;
	color: var(--meme-shop-muted);
	cursor: pointer;
	background: none;
	border: 0;
	text-decoration: underline;
}

.meme-cart-shipping {
	padding: 1.25rem;
	margin-bottom: 1rem;
	background: var(--meme-shop-cream);
	border-radius: var(--meme-shop-radius);
}

.meme-cart-shipping__text {
	display: flex;
	gap: 0.5rem;
	align-items: center;
	margin: 0 0 0.75rem;
	font-size: 0.875rem;
}

.meme-cart-shipping__text--success {
	color: #198754;
}

.meme-cart-shipping__bar {
	height: 8px;
	overflow: hidden;
	background: #fff;
	border-radius: 50rem;
}

.meme-cart-shipping__bar-fill {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, var(--meme-shop-blush), #d47176);
	border-radius: 50rem;
	transition: width 0.4s ease-in-out;
}

.meme-cart-shipping__note {
	margin: 0.625rem 0 0;
	font-size: 0.75rem;
	color: var(--meme-shop-muted);
}

.meme-cart-rule-notice {
	padding: 1rem 1.25rem;
	margin-bottom: 1rem;
	font-size: 0.875rem;
	line-height: 1.55;
	border-radius: var(--meme-shop-radius);
}

.meme-cart-rule-notice p {
	margin: 0 0 0.375rem;
}

.meme-cart-rule-notice p:last-child {
	margin-bottom: 0;
}

.meme-cart-rule-notice--discount {
	background: #fff4d8;
	border: 1px solid #f0e0ac;
}

.meme-cart-rule-notice--regular {
	background: #fdf1ef;
	border: 1px solid #f3cfc9;
}

.meme-cart-summary {
	position: sticky;
	top: 1.5rem;
	padding: 1.5rem;
	background: #fff;
	border: 1px solid var(--meme-shop-border);
	border-radius: 10px;
}

.meme-cart-summary__title {
	margin: 0 0 1rem;
	font-family: var(--meme-shop-heading-font);
	font-size: 1.25rem;
	font-weight: 600;
}

.meme-cart-totals {
	width: 100%;
	margin-bottom: 1.25rem;
	border-collapse: collapse;
}

.meme-cart-totals th,
.meme-cart-totals td {
	padding: 0.5rem 0;
	font-size: 0.9375rem;
	text-align: left;
}

.meme-cart-totals td {
	text-align: right;
	white-space: nowrap;
}

.meme-cart-totals__row--discount th,
.meme-cart-totals__row--discount td {
	color: #b65c4f;
}

.meme-cart-totals__row--tax th,
.meme-cart-totals__row--tax td {
	font-size: 0.8125rem;
	color: var(--meme-shop-muted);
}

.meme-cart-totals__row--total th,
.meme-cart-totals__row--total td {
	padding-top: 0.875rem;
	font-size: 1.125rem;
	font-weight: 700;
	border-top: 1px solid var(--meme-shop-border);
}

.meme-cart-totals__free {
	color: #198754;
	font-weight: 600;
}

.meme-cart-checkout {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.meme-cart-continue {
	text-align: center;
	font-size: 0.8125rem;
	color: var(--meme-shop-muted);
	text-decoration: underline;
}

.meme-payments {
	margin-top: 1.25rem;
	padding-top: 1rem;
	border-top: 1px solid var(--meme-shop-border);
}

.meme-payments__label {
	margin: 0 0 0.5rem;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--meme-shop-muted);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.meme-payments__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
	padding: 0;
	margin: 0;
	list-style: none;
}

.meme-payments__list img {
	display: block;
	width: auto;
	max-width: 44px;
	height: 28px;
	padding: 3px;
	object-fit: contain;
	background: #fff;
	border: 1px solid var(--meme-shop-border);
	border-radius: 4px;
}

.meme-cart-summary__vat {
	margin: 0.75rem 0 0;
	font-size: 0.75rem;
	color: var(--meme-shop-muted);
}

.meme-cart-empty {
	padding: 3rem 1rem;
	text-align: center;
	background: var(--meme-shop-cream);
	border-radius: 10px;
}

.meme-cart-empty__icon {
	display: inline-flex;
	margin-bottom: 1rem;
	color: var(--meme-shop-blush);
}

.meme-cart-empty__title {
	margin: 0 0 0.75rem;
	font-family: var(--meme-shop-heading-font);
	font-size: 1.5rem;
	font-weight: 600;
}

.meme-cart-empty__text {
	max-width: 560px;
	margin: 0 auto 1.5rem;
	color: var(--meme-shop-muted);
}

/* =========================================================================
 * 5. Checkout page
 * ====================================================================== */
.meme-checkout {
	max-width: var(--meme-shop-max);
	padding: 1.5rem var(--meme-shop-gutter) 4rem;
	margin: 0 auto;
	font-family: var(--meme-shop-font);
}

.meme-checkout__intro {
	margin-bottom: 1.5rem;
	text-align: center;
}

.meme-checkout__title {
	margin: 0 0 0.375rem;
	font-family: var(--meme-shop-heading-font);
	font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
	font-weight: 600;
}

.meme-checkout__subtitle {
	margin: 0;
	font-size: 0.875rem;
	color: var(--meme-shop-muted);
}

.meme-checkout__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	align-items: flex-start;
}

.meme-checkout__col--form {
	flex: 1 1 520px;
	min-width: 0;
}

.meme-checkout__col--summary {
	flex: 1 1 340px;
	max-width: 460px;
}

@media (min-width: 992px) {
	.meme-checkout__col--form {
		flex: 1 1 0;
	}

	.meme-checkout__col--summary {
		flex-shrink: 0;
		width: 420px;
	}
}

.meme-checkout__panel {
	padding: 1.5rem;
	margin-bottom: 1.25rem;
	background: #fff;
	border: 1px solid var(--meme-shop-border);
	border-radius: 10px;
}

.meme-checkout__panel-title {
	margin: 0 0 1rem;
	font-family: var(--meme-shop-heading-font);
	font-size: 1.125rem;
	font-weight: 600;
}

.meme-checkout__summary-inner {
	position: sticky;
	top: 1.5rem;
	padding: 1.5rem;
	background: #fff;
	border: 1px solid var(--meme-shop-border);
	border-radius: 10px;
}

/* WooCommerce form fields (checkout + account) */
.meme-shop .woocommerce form .form-row,
.meme-shop form .form-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
	margin-bottom: 1rem;
}

.meme-shop .woocommerce form .form-row label,
.meme-shop form .form-row label {
	font-size: 0.8125rem;
	font-weight: 600;
}

.meme-shop .woocommerce form .form-row .required,
.meme-shop form .form-row .required {
	color: var(--meme-shop-sale);
	text-decoration: none;
}

.meme-shop .woocommerce form .form-row input.input-text,
.meme-shop .woocommerce form .form-row textarea,
.meme-shop .woocommerce form .form-row select,
.meme-shop form .form-row input.input-text,
.meme-shop form .form-row textarea,
.meme-shop form .form-row select {
	width: 100%;
	padding: 0.625rem 0.75rem;
	font-family: var(--meme-shop-font);
	font-size: 0.9375rem;
	color: var(--meme-shop-text);
	background: #fff;
	border: 1px solid var(--meme-shop-border);
	border-radius: 4px;
}

.meme-shop .woocommerce form .form-row input.input-text:focus,
.meme-shop form .form-row input.input-text:focus,
.meme-shop form .form-row select:focus {
	border-color: var(--meme-shop-text);
	outline: none;
}

.meme-shop .woocommerce form .form-row-wide {
	width: 100%;
}

.meme-shop .woocommerce form .form-row-first,
.meme-shop .woocommerce form .form-row-last {
	flex: 1 1 0;
	min-width: 0;
}

.meme-shop .select2-container {
	width: 100% !important;
}

.meme-shop .select2-container--default .select2-selection--single {
	height: auto;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--meme-shop-border);
	border-radius: 4px;
}

.meme-shop .select2-container--default .select2-selection--single .select2-selection__arrow {
	top: 50%;
	transform: translateY(-50%);
}

/* Review order */
.meme-checkout-review {
	width: 100%;
	margin-bottom: 1rem;
	border-collapse: collapse;
}

.meme-checkout-review thead {
	display: none;
}

.meme-checkout-review tbody tr {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--meme-shop-border);
}

.meme-checkout-review .product-name {
	flex: 1;
}

.meme-checkout-review .product-total {
	flex-shrink: 0;
	font-weight: 600;
}

.meme-checkout-review__product {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
}

.meme-checkout-review__thumb {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	object-fit: cover;
	border-radius: 5px;
}

.meme-checkout-review__info {
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
}

.meme-checkout-review__name {
	font-size: 0.875rem;
	font-weight: 600;
}

.meme-checkout-review__qty {
	font-size: 0.8125rem;
	color: var(--meme-shop-muted);
}

.meme-checkout-review tfoot th,
.meme-checkout-review tfoot td {
	padding: 0.5rem 0;
	font-size: 0.875rem;
	text-align: left;
}

.meme-checkout-review tfoot td {
	text-align: right;
}

.meme-checkout-review__discount th,
.meme-checkout-review__discount td {
	color: #b65c4f;
}

.meme-checkout-review__total th,
.meme-checkout-review__total td {
	padding-top: 0.875rem;
	font-size: 1.0625rem;
	font-weight: 700;
	border-top: 1px solid var(--meme-shop-border);
}

.meme-checkout-review__notes {
	margin-bottom: 1rem;
	font-size: 0.8125rem;
	line-height: 1.55;
	color: var(--meme-shop-muted);
}

.meme-checkout-review__notes p {
	margin: 0 0 0.375rem;
}

.meme-checkout-review__note--rule {
	padding: 0.75rem;
	color: var(--meme-shop-text);
	background: var(--meme-shop-cream);
	border-radius: 4px;
}

/* Terms + privacy required checkboxes */
.meme-checkout-consents {
	margin: 1rem 0;
}

.meme-checkout-consents__row {
	padding: 0.625rem;
	background: var(--meme-shop-cream);
	border-radius: 4px;
}

.meme-checkout-consents__row .checkbox {
	display: flex;
	gap: 0.5rem;
	align-items: flex-start;
	font-size: 0.8125rem;
	font-weight: 400;
	line-height: 1.5;
	cursor: pointer;
}

.meme-checkout-consents__row input[type="checkbox"] {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	margin-top: 0.2rem;
	accent-color: var(--meme-shop-text);
}

.meme-checkout-consents__row a {
	text-decoration: underline;
}

/* Payment */
.meme-checkout-payment {
	margin-top: 1rem;
}

.meme-payments--checkout {
	margin-top: 0;
	margin-bottom: 1rem;
	padding-top: 0;
	border-top: 0;
}

.meme-shop .woocommerce-checkout-payment ul.wc_payment_methods {
	padding: 0;
	margin: 0 0 1rem;
	list-style: none;
}

.meme-shop .woocommerce-checkout-payment .wc_payment_method {
	padding: 0.75rem;
	margin-bottom: 0.5rem;
	background: #fff;
	border: 1px solid var(--meme-shop-border);
	border-radius: 4px;
}

.meme-shop .woocommerce-checkout-payment .wc_payment_method label {
	font-size: 0.875rem;
	font-weight: 600;
}

.meme-shop .woocommerce-checkout-payment .payment_box {
	padding: 0.5rem 0 0 1.5rem;
	font-size: 0.8125rem;
	color: var(--meme-shop-muted);
}

.meme-checkout-place-order {
	width: 100%;
	padding: 1rem 1.5rem;
	font-family: var(--meme-shop-font);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--meme-color-primary-contrast, #fff);
	cursor: pointer;
	background: var(--meme-color-primary, #2e2e2e);
	border: 1px solid var(--meme-color-primary, #2e2e2e);
	border-radius: 50rem;
	transition: opacity 0.2s ease-in-out;
}

.meme-checkout-place-order:hover {
	opacity: 0.88;
}

.meme-checkout__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	padding-top: 0.75rem;
	margin-top: 1rem;
	font-size: 0.75rem;
	color: var(--meme-shop-muted);
	border-top: 1px solid var(--meme-shop-border);
}

.meme-checkout__trust-item {
	display: flex;
	gap: 0.375rem;
	align-items: center;
	margin: 0;
}

/* =========================================================================
 * 6. Account (login / register / dashboard)
 * ====================================================================== */
.meme-shop .woocommerce {
	max-width: var(--meme-shop-max);
	padding: 2rem var(--meme-shop-gutter) 4rem;
	margin: 0 auto;
}

.meme-shop .woocommerce-notices-wrapper {
	margin-bottom: 1rem;
}

.meme-shop .woocommerce-form-login,
.meme-shop .woocommerce-form-register,
.meme-shop .woocommerce-ResetPassword,
.meme-shop .woocommerce-EditAccountForm {
	max-width: 520px;
	padding: 1.75rem;
	margin: 0 auto 1.5rem;
	background: #fff;
	border: 1px solid var(--meme-shop-border);
	border-radius: 10px;
}

.meme-shop .woocommerce-form-login h2,
.meme-shop .woocommerce-form-register h2 {
	font-family: var(--meme-shop-heading-font);
	font-size: 1.375rem;
}

.meme-shop .woocommerce-form__label-for-checkbox {
	font-size: 0.8125rem;
}

.meme-shop .woocommerce-LostPassword a,
.meme-shop .woocommerce-form-register a {
	text-decoration: underline;
}

.meme-shop .woocommerce button.button,
.meme-shop .woocommerce a.button {
	padding: 0.625rem 1.5rem;
	font-family: var(--meme-shop-font);
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--meme-color-primary-contrast, #fff);
	cursor: pointer;
	background: var(--meme-color-primary, #2e2e2e);
	border: 1px solid var(--meme-color-primary, #2e2e2e);
	border-radius: 50rem;
}

.meme-shop .woocommerce button.button:hover,
.meme-shop .woocommerce a.button:hover {
	opacity: 0.88;
}

.meme-shop .woocommerce-MyAccount-navigation {
	margin-bottom: 1.5rem;
}

.meme-shop .woocommerce-MyAccount-navigation ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding: 0;
	margin: 0;
	list-style: none;
}

.meme-shop .woocommerce-MyAccount-navigation li a {
	display: inline-block;
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	text-decoration: none;
	background: var(--meme-shop-cream);
	border-radius: 50rem;
}

.meme-shop .woocommerce-MyAccount-navigation li.is-active a,
.meme-shop .woocommerce-MyAccount-navigation li a:hover {
	background: var(--meme-shop-blush-soft);
}

/* =========================================================================
 * 7. Mobile refinements (390 px target: zero horizontal overflow)
 * ====================================================================== */
@media (max-width: 767.98px) {
	.meme-shop {
		padding-bottom: 5rem;
	}

	.meme-pdp {
		padding-bottom: 6.5rem;
	}

	.meme-plp .category-header__infos {
		padding: 1.5rem 1rem 2rem;
	}

	.meme-plp .category-header__image-img {
		aspect-ratio: 16 / 9;
	}

	.meme-plp .product-list-top > .row {
		justify-content: space-between;
	}

	.meme-pdp .meme-pdp-price__sale {
		font-size: 1.5rem;
	}

	.meme-cart-grid__summary,
	.meme-checkout__col--summary {
		max-width: none;
	}

	.meme-cart-summary,
	.meme-checkout__summary-inner {
		position: static;
	}

	.meme-checkout__panel,
	.meme-cart-summary,
	.meme-checkout__summary-inner {
		padding: 1.125rem;
	}

	.meme-checkout__grid,
	.meme-cart-grid {
		gap: 1.25rem;
	}
}

@media (min-width: 390px) and (max-width: 767.98px) {
	.meme-added-popup {
		align-items: flex-end;
		padding: 0.75rem;
	}

	.meme-added-popup__panel {
		border-radius: 10px 10px 4px 4px;
	}
}

/* =========================================================================
 * 8. Theme-core integration (page.php hosts cart / checkout / account)
 * ====================================================================== */
/*
 * theme-core's page.php prints a page title + .container around the_content().
 * On Woo endpoints the shop templates provide their own full-width section and
 * heading, so neutralise the duplicated shell here (works with the current and
 * the Woo-aware page.php).
 */
.meme-shop-page .meme-page > .meme-page__article > .container,
.meme-shop-page .page-wrapper > .content-wrapper > .container {
	max-width: none;
	padding-right: 0;
	padding-left: 0;
}

.meme-shop-page .meme-page > .meme-page__article > .container > .page-header,
.meme-shop-page .meme-page .page-header {
	display: none;
}

.meme-shop-page .entry-content {
	font-size: inherit;
	line-height: inherit;
}

/* Rule / shipping notice printed by the wp-import mu-plugin on cart + checkout. */
.meme-shop-page .meme-rule-notice {
	max-width: var(--meme-shop-max, 1320px);
	padding: 1rem 1.25rem;
	margin: 1.5rem auto 0;
	font-family: var(--meme-shop-font, "Montserrat", sans-serif);
	font-size: 0.875rem;
	line-height: 1.5;
	border-radius: var(--meme-shop-radius, 5px);
}

.meme-cart .meme-rule-notice {
	max-width: none;
	margin: 0 0 1rem;
}

.meme-shop-page .meme-rule-notice__price {
	margin: 0 0 0.25rem;
	font-weight: 600;
}

.meme-shop-page .meme-rule-notice__shipping {
	margin: 0;
}

.meme-shop-page .meme-rule-notice--discount {
	background: #fff4d8;
	border: 1px solid #f0e0ac;
}

.meme-shop-page .meme-rule-notice--regular {
	background: #fdf1ef;
	border: 1px solid #f3cfc9;
}

/* Card prices rendered inside the add-to-cart button (theme-core card.php). */
.meme-shop .product-miniature__prices {
	display: inline-flex;
	gap: 0.375rem;
	align-items: baseline;
}

.meme-shop .product-miniature__prices::before {
	content: "—";
	opacity: 0.5;
}

.meme-shop .product-miniature__price {
	font-family: var(--meme-shop-font);
	font-size: 0.9375rem;
	font-weight: 600;
}

.meme-shop .product-miniature__form {
	margin: 0;
}

.meme-shop .product-miniature__regular-price {
	font-size: 0.8125rem;
	font-weight: 400;
	color: var(--meme-shop-muted);
	text-decoration: line-through;
}

/* Account layout (my-account.php override). */
.meme-account {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	align-items: flex-start;
	padding: 1rem 0 3rem;
}

.meme-account .woocommerce-MyAccount-navigation {
	flex: 0 0 100%;
	margin-bottom: 0;
}

.meme-account .woocommerce-MyAccount-content {
	flex: 1 1 520px;
	min-width: 0;
}

@media (min-width: 992px) {
	.meme-account .woocommerce-MyAccount-navigation {
		flex: 0 0 220px;
	}

	.meme-account .woocommerce-MyAccount-navigation ul {
		flex-direction: column;
	}
}

/* Cart page state while AJAX-updating. */
.meme-cart.is-updating {
	opacity: 0.6;
	transition: opacity 0.15s ease-in-out;
}

.meme-cart-table tr.is-removing {
	opacity: 0.4;
}

/* Placeholder payment gateway row (fr label from wp-import mu-plugin). */
.meme-shop .woocommerce-checkout-payment .wc_payment_method label img {
	max-height: 24px;
	margin-left: 0.375rem;
	vertical-align: middle;
}

/* =========================================================================
 * 9. Shop-specific layout classes (self-contained, no Bootstrap utilities)
 * ====================================================================== */
/* --- PLP category header --- */
.meme-cat-header {
	display: flex;
	flex-wrap: wrap;
}

.meme-cat-header__text {
	width: 100%;
}

.meme-cat-header__media {
	width: 100%;
}

@media (min-width: 768px) {
	.meme-cat-header__text {
		width: 50%;
	}

	.meme-cat-header__media {
		width: 50%;
	}
}

.meme-cat-header__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 9 / 3;
}

/* --- PLP layout --- */
.meme-plp__layout {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	align-items: flex-start;
}

.meme-plp__sidebar {
	display: none;
}

.meme-plp__main {
	flex: 1 1 0;
	min-width: 0;
	width: 100%;
}

@media (min-width: 1200px) {
	.meme-plp__layout {
		gap: 2.5rem;
	}

	.meme-plp__sidebar {
		display: block;
		flex: 0 0 240px;
		width: 240px;
	}

	.meme-plp__main {
		flex: 1 1 0;
		width: auto;
	}
}

/* --- PLP toolbar --- */
.meme-plp-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.25rem;
}

.meme-plp-toolbar__filter {
	flex: 0 0 auto;
}

.meme-plp-toolbar__count {
	display: none;
	flex: 1 1 auto;
}

.meme-plp-toolbar__sort {
	flex: 0 0 auto;
	margin-left: auto;
}

@media (min-width: 1200px) {
	.meme-plp-toolbar__filter {
		display: none;
	}

	.meme-plp-toolbar__count {
		display: block;
	}
}

/* --- PLP product grid: 3 columns desktop / 2 columns mobile --- */
.meme-product-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	padding-top: 1.5rem;
}

@media (min-width: 768px) {
	.meme-product-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 2rem;
	}
}

.meme-product-grid__item {
	display: flex;
	min-width: 0;
}

.meme-product-grid__item > .product-miniature {
	flex: 1 1 auto;
}

/* --- PDP grid --- */
.meme-pdp__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
}

.meme-pdp__col {
	width: 100%;
	min-width: 0;
}

@media (min-width: 992px) {
	.meme-pdp__col--media {
		flex: 0 0 calc(50% - 1rem);
		width: calc(50% - 1rem);
	}

	.meme-pdp__col--info {
		flex: 1 1 0;
		width: auto;
	}
}

/* --- PDP inline trust row --- */
.meme-trust-inline {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 0;
	margin: 0 -0.5rem;
}

.meme-trust-inline__item {
	width: 100%;
	padding: 0 0.5rem;
}

@media (min-width: 1200px) {
	.meme-trust-inline__item {
		width: 50%;
	}
}

/* --- PDP general trust row --- */
.meme-trust-general {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem 0;
	margin: 0 -0.75rem;
}

.meme-trust-general__item {
	width: 100%;
	padding: 0 0.75rem;
}

@media (min-width: 768px) {
	.meme-trust-general__item {
		width: 50%;
	}
}

@media (min-width: 1200px) {
	.meme-trust-general__item {
		width: 16.6667%;
	}
}

/* The old Bootstrap-col rules above are kept harmless; new layout classes win. */

/* =========================================================================
 * 10. Shop fixes / WooCommerce overrides
 * ====================================================================== */
.meme-shop-page [hidden],
.meme-shop [hidden] {
	display: none !important;
}

.meme-cart__title {
	margin: 0 0 1.5rem;
	font-family: var(--meme-shop-heading-font);
	font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
	font-weight: 600;
	text-align: center;
}

.meme-cart-continue-row {
	margin: 0 0 2rem;
}

.meme-cart-continue-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	padding: 0.625rem 1.5rem;
	font-family: var(--meme-shop-font);
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--meme-shop-text);
	text-decoration: none;
	background: #fff;
	border: 1px solid var(--meme-shop-text);
	border-radius: 4px;
	transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
}

.meme-cart-continue-btn:hover {
	color: #fff;
	background: var(--meme-shop-text);
}

.meme-cart-breadcrumb {
	padding-top: 0;
}

.meme-cart-table .product-thumbnail img {
	display: block;
	width: 84px;
	height: 84px;
	max-width: none;
	object-fit: cover;
	border-radius: var(--meme-shop-radius);
}

@media (min-width: 768px) {
	.meme-cart-table .product-thumbnail img {
		width: 100px;
		height: 100px;
	}
}

.meme-cart-actions-row .meme-cart-update {
	padding: 0;
	font-size: 0.75rem;
}

/* WooCommerce injects its own discount row through the mu-plugin hook. */
.meme-discount-row__hint {
	display: none;
}

.meme-discount-row th,
.meme-discount-row td {
	color: #b65c4f;
}

.meme-checkout-review__notes-row td {
	padding: 0.75rem 0 0;
	font-size: 0.8125rem;
	line-height: 1.55;
	color: var(--meme-shop-muted);
}

.meme-checkout-review__notes-row p {
	margin: 0 0 0.375rem;
}

/* Place order button (beat WooCommerce's default purple styles). */
.meme-shop .meme-checkout-place-order,
.meme-shop .woocommerce-checkout-payment .meme-checkout-place-order,
.meme-shop #payment .meme-checkout-place-order {
	width: 100%;
	padding: 1rem 1.5rem;
	font-family: var(--meme-shop-font);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--meme-color-primary-contrast, #fff);
	cursor: pointer;
	background: var(--meme-color-primary, #2e2e2e);
	border: 1px solid var(--meme-color-primary, #2e2e2e);
	border-radius: 50rem;
	transition: opacity 0.2s ease-in-out;
}

.meme-shop .meme-checkout-place-order:hover {
	color: var(--meme-color-primary-contrast, #fff);
	background: #000;
	border-color: #000;
	opacity: 0.92;
}

/* Payment gateway JS must not alter the French order button label via a
 * pseudo-element; the JS also restores the COMMANDER label itself. */
.meme-shop #place_order::after,
.meme-shop #place_order::before {
	content: none !important;
}

.meme-checkout-consent-error {
	margin: 0.75rem 0;
}

/* =========================================================================
 * 11. Reference tabs (horizontal), routine block, PLP packs
 * ====================================================================== */
/* PDP tab bar */
.meme-pdp .product-tabs__nav {
	display: flex;
	flex-wrap: nowrap;
	gap: 2rem;
	padding: 0;
	margin: 0 0 1.5rem;
	overflow-x: auto;
	list-style: none;
	border-bottom: 1px solid var(--meme-shop-border);
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.meme-pdp .product-tabs__nav::-webkit-scrollbar {
	display: none;
}

.meme-pdp .product-tabs__nav-item {
	flex: 0 0 auto;
	margin: 0;
}

.meme-pdp .product-tabs__nav-link {
	position: relative;
	padding: 0.75rem 0 1rem;
	font-family: var(--meme-shop-font);
	font-size: 1.0625rem;
	font-weight: 600;
	color: var(--meme-shop-muted);
	cursor: pointer;
	background: transparent;
	border: 0;
	transition: color 0.15s ease-in-out;
}

.meme-pdp .product-tabs__nav-link::after {
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 100%;
	height: 2px;
	content: "";
	background: var(--meme-shop-text);
	opacity: 0;
	transition: opacity 0.15s ease-in-out;
}

.meme-pdp .product-tabs__nav-link:hover,
.meme-pdp .product-tabs__nav-link.active {
	color: var(--meme-shop-text);
}

.meme-pdp .product-tabs__nav-link.active::after {
	opacity: 1;
}

.meme-pdp .product-tabs__tab-content {
	padding-top: 1.5rem;
}

.meme-pdp .product-tabs__tab-pane {
	font-size: 0.9375rem;
	line-height: 1.7;
}

.meme-pdp .product-tabs__tab-pane[hidden] {
	display: none !important;
}

.meme-tabs-pane__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
}

.meme-tabs-pane__text {
	flex: 1 1 420px;
	min-width: 0;
}

.meme-tabs-pane__media {
	flex: 0 1 380px;
	align-self: flex-start;
}

.meme-tabs-pane__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: var(--meme-shop-radius);
}

.meme-tabs-pane__text h2,
.meme-tabs-pane__text h3 {
	margin: 0 0 0.75rem;
	font-family: var(--meme-shop-heading-font);
	font-size: 1.25rem;
	font-weight: 600;
}

.meme-tabs-pane__text p {
	margin-bottom: 0.75rem;
}

.meme-tabs-pane__text ul {
	padding-left: 1.25rem;
	margin-bottom: 0.75rem;
}

@media (max-width: 767.98px) {
	.meme-pdp .product-tabs__nav {
		gap: 1.25rem;
		font-size: 0.9375rem;
	}

	.meme-tabs-pane__media {
		flex-basis: 100%;
	}
}

/* PDP routine block */
.meme-pdp .meme-routine {
	padding: 2.5rem 0;
	background: var(--meme-shop-cream);
}

.meme-routine__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	align-items: center;
}

.meme-routine__infos {
	flex: 1 1 240px;
}

.meme-pdp .product-routine__title {
	margin: 0 0 0.5rem;
	font-family: var(--meme-shop-heading-font);
	font-size: 1.375rem;
	font-weight: 600;
}

.meme-pdp .product-routine__price {
	margin: 0 0 1rem;
	font-size: 1.25rem;
	font-weight: 700;
}

.meme-routine__items {
	display: flex;
	flex: 1 1 480px;
	flex-wrap: wrap;
	gap: 1rem;
}

.meme-routine__item {
	flex: 1 1 200px;
	background: #fff;
	border-radius: var(--meme-shop-radius);
}

/* PLP packs section ("Nos routines") */
.meme-plp-packs {
	padding: 1.5rem 1.25rem 0.5rem;
	margin-bottom: 1rem;
	text-align: center;
	background-color: var(--meme-shop-cream);
	border-radius: 10px;
}

.meme-plp-packs .product-list-packs__title {
	font-size: clamp(1.275rem, 1.1rem + 0.3vw, 1.5rem);
}

.meme-plp-packs .meme-rec-rail__track {
	display: flex;
	gap: 1rem;
	align-items: stretch;
	padding-bottom: 0.75rem;
	overflow-x: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
	text-align: left;
}

.meme-plp-packs .meme-rec-rail__track::-webkit-scrollbar {
	display: none;
}

.meme-plp-packs .meme-rec-rail__item {
	flex: 0 0 45%;
	max-width: 45%;
}

@media (min-width: 768px) {
	.meme-plp-packs .meme-rec-rail__item {
		flex: 0 0 calc(33.333% - 0.75rem);
		max-width: calc(33.333% - 0.75rem);
	}
}

@media (min-width: 1200px) {
	.meme-plp-packs .meme-rec-rail__item {
		flex: 0 0 calc(33.333% - 0.75rem);
		max-width: calc(33.333% - 0.75rem);
	}
}

.meme-plp-packs .meme-rec-rail__nav {
	justify-content: center;
}

/* =========================================================================
 * 12. Checkout field layout + payment box (reference 1-column form / 2-col page)
 * ====================================================================== */
/* WooCommerce floats .col-1 / .col-2 at 48% — neutralise so the form column is
 * one clean vertical flow (fields had been squeezed into half width). */
.meme-checkout .col2-set,
.meme-checkout .col2-set .col-1,
.meme-checkout .col2-set .col-2 {
	float: none !important;
	width: 100% !important;
}

.meme-checkout .woocommerce-billing-fields > h3 {
	display: none;
}

.meme-checkout .woocommerce-billing-fields__field-wrapper,
.meme-checkout .woocommerce-shipping-fields__field-wrapper,
.meme-checkout .woocommerce-additional-fields__field-wrapper,
.meme-checkout .woocommerce-account-fields {
	display: flex;
	flex-wrap: wrap;
	gap: 0 1rem;
}

.meme-checkout .form-row {
	float: none !important;
	display: block !important;
	width: 100%;
	margin: 0 0 1rem;
	padding: 0;
}

.meme-checkout .form-row label {
	display: block;
	margin-bottom: 0.375rem;
	font-size: 0.8125rem;
	font-weight: 600;
}

.meme-checkout .form-row .woocommerce-input-wrapper {
	display: block;
	width: 100%;
}

.meme-checkout .form-row input.input-text,
.meme-checkout .form-row select,
.meme-checkout .form-row textarea {
	width: 100% !important;
	box-sizing: border-box;
}

.meme-checkout .form-row textarea {
	min-height: 90px;
}

.meme-checkout .form-row-first,
.meme-checkout .form-row-last,
.meme-checkout #billing_postcode_field,
.meme-checkout #billing_city_field {
	flex: 0 0 calc(50% - 0.5rem);
	width: calc(50% - 0.5rem);
}

/* Reference FR field order: Prénom, Nom, Pays, Adresse, Complément,
 * Code postal, Ville, Téléphone, E-mail, Notes. */
.meme-checkout #billing_first_name_field { order: 1; }
.meme-checkout #billing_last_name_field { order: 2; }
.meme-checkout #billing_country_field { order: 3; }
.meme-checkout #billing_address_1_field { order: 4; }
.meme-checkout #billing_address_2_field { order: 5; }
.meme-checkout #billing_postcode_field { order: 6; }
.meme-checkout #billing_city_field { order: 7; }
.meme-checkout #billing_state_field { order: 8; }
.meme-checkout #billing_phone_field { order: 9; }
.meme-checkout #billing_email_field { order: 10; }
.meme-checkout .woocommerce-account-fields { order: 20; }

.meme-checkout .woocommerce-shipping-fields #ship-to-different-address {
	margin: 0 0 1rem;
	font-family: var(--meme-shop-font);
	font-size: 0.875rem;
	font-weight: 600;
}

/* Payment box */
.meme-shop #payment,
.meme-shop .woocommerce-checkout-payment {
	padding: 0;
	margin: 1rem 0 0;
	background: transparent;
	border: 0;
}

.meme-shop #payment .payment_box,
.meme-shop .woocommerce-checkout-payment .payment_box {
	padding: 0.5rem 0 0;
	margin: 0;
	font-size: 0.8125rem;
	color: var(--meme-shop-muted);
	background: transparent;
}

.meme-shop #payment .payment_box::before,
.meme-shop .woocommerce-checkout-payment .payment_box::before {
	display: none;
}

.meme-shop .woocommerce-checkout-payment ul.wc_payment_methods {
	padding: 0;
	margin: 0 0 1rem;
	list-style: none;
}

.meme-shop .woocommerce-checkout-payment .wc_payment_method {
	padding: 0.875rem 1rem;
	margin-bottom: 0.5rem;
	background: #fff;
	border: 1px solid var(--meme-shop-border);
	border-radius: 8px;
}

.meme-shop .woocommerce-checkout-payment .wc_payment_method > label {
	display: inline-flex;
	gap: 0.5rem;
	align-items: center;
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 600;
	cursor: pointer;
}

.meme-shop .woocommerce-checkout-payment .wc_payment_method input.input-radio {
	display: inline-block !important;
	width: 16px !important;
	height: 16px !important;
	margin: 0 0.5rem 0 0 !important;
	accent-color: var(--meme-shop-text);
}

.meme-shop .woocommerce-checkout-payment .payment_box {
	padding: 0.5rem 0 0;
	margin: 0;
	font-size: 0.8125rem;
	color: var(--meme-shop-muted);
	background: transparent;
}

.meme-shop .woocommerce-checkout-payment .payment_box::before {
	display: none;
}

.meme-checkout .woocommerce-error,
.meme-checkout .woocommerce-info,
.meme-checkout .woocommerce-message {
	margin-bottom: 1rem;
}

@media (max-width: 767.98px) {
	.meme-checkout .form-row-first,
	.meme-checkout .form-row-last,
	.meme-checkout #billing_postcode_field,
	.meme-checkout #billing_city_field {
		flex: 0 0 100%;
		width: 100%;
	}
}

/* =========================================================================
 * 13. Overflow guards, select2, PDP routine cards
 * ====================================================================== */
/* theme-core header carousel slides can extend the document on shop pages;
 * clip them so 390px has zero horizontal scroll (defensive, harmless once the
 * header component clips itself). */
.meme-shop-page .swiper {
	overflow: hidden;
}

.meme-shop-page {
	overflow-x: clip;
}

/* Keep the native country/state select at 1px (select2 replaces it visually). */
.meme-shop-page .select2-hidden-accessible,
.meme-checkout .form-row select.select2-hidden-accessible {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.meme-shop-page .select2-container {
	max-width: 100%;
}

.meme-shop-page .select2-container--default .select2-selection--single .select2-selection__rendered {
	padding: 0;
	line-height: 1.5;
}

/* PDP routine cards (featured-product styles live in home.css, not loaded here). */
.meme-pdp .featured-product {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	font-size: 0.875rem;
	line-height: 1.4;
	background-color: #fef9f5;
	border-radius: 5px;
}

.meme-pdp .featured-product__content {
	display: flex;
	flex: 1 1 auto;
	gap: 0.875rem;
	align-items: center;
	padding: 0.875rem;
}

.meme-pdp .featured-product__image {
	flex-shrink: 0;
	width: 4.5rem;
	height: 4.5rem;
	overflow: hidden;
	border-radius: 4px;
}

.meme-pdp .featured-product__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.meme-pdp .featured-product__infos {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.meme-pdp .featured-product__name {
	font-family: var(--meme-shop-font);
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--meme-shop-text);
	text-decoration: none;
}

.meme-pdp .featured-product__name:hover {
	text-decoration: underline;
}

.meme-pdp .featured-product__subtitle {
	margin: 0.25rem 0 0;
	font-size: 0.75rem;
	color: var(--meme-shop-muted);
}

.meme-pdp .meme-routine__items {
	align-items: stretch;
}

.meme-pdp .meme-routine__item {
	display: flex;
}

/* =========================================================================
 * 14. Account login / register (reference: centred title + 2 cards)
 * ====================================================================== */
.meme-account-login {
	padding: 2rem 1.25rem 4rem;
	margin: 0 auto;
}

.meme-account-login__title {
	margin: 0 0 2.5rem;
	font-family: var(--meme-shop-heading-font);
	font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);
	font-weight: 700;
	text-align: center;
}

.meme-account-login__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	justify-content: center;
	max-width: 1060px;
	margin: 0 auto;
}

.meme-account-card {
	flex: 1 1 380px;
	padding: 2rem;
	background: var(--meme-shop-cream);
	border-radius: 10px;
}

.meme-account-card__title {
	margin: 0 0 1.25rem;
	font-family: var(--meme-shop-heading-font);
	font-size: 1.25rem;
	font-weight: 700;
}

.meme-account-card__text {
	margin: 0 0 1.5rem;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--meme-shop-muted);
}

.meme-shop .woocommerce-form-login,
.meme-shop .woocommerce-form-register {
	padding: 0;
	margin: 0;
	background: transparent;
	border: 0;
}

.meme-account-field {
	margin-bottom: 1rem !important;
}

.meme-account-field label {
	display: block;
	margin-bottom: 0.375rem;
	font-size: 0.8125rem;
	font-weight: 600;
}

.meme-account-field input.input-text {
	width: 100%;
	padding: 0.75rem 1rem;
	font-family: var(--meme-shop-font);
	font-size: 0.9375rem;
	color: var(--meme-shop-text);
	background: #fff;
	border: 1px solid var(--meme-shop-border);
	border-radius: 5px;
}

.meme-account-field input.input-text:focus {
	border-color: var(--meme-shop-text);
	outline: none;
}

.meme-password-wrap {
	position: relative;
	display: block;
}

.meme-password-wrap input {
	padding-right: 2.75rem !important;
}

.meme-password-toggle {
	position: absolute;
	top: 50%;
	right: 0.75rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.25rem;
	color: var(--meme-shop-muted);
	cursor: pointer;
	background: none;
	border: 0;
	transform: translateY(-50%);
}

.meme-password-toggle.is-visible {
	color: var(--meme-shop-text);
}

.meme-account-lostpassword {
	margin: 0 0 1rem;
	font-size: 0.875rem;
}

.meme-account-lostpassword a {
	color: var(--meme-shop-text);
	text-decoration: underline;
}

.meme-shop .meme-account-card .woocommerce-form-login__rememberme {
	display: flex;
	gap: 0.375rem;
	align-items: center;
	margin-bottom: 1rem;
	font-size: 0.8125rem;
	font-weight: 400;
}

.meme-account-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 3rem;
	padding: 0.75rem 1.5rem;
	font-family: var(--meme-shop-font);
	font-size: 1rem;
	font-weight: 600;
	color: var(--meme-color-primary-contrast, #fff);
	cursor: pointer;
	background: var(--meme-color-primary, #2e2e2e);
	border: 1px solid var(--meme-color-primary, #2e2e2e);
	border-radius: 5px;
	transition: opacity 0.2s ease-in-out;
}

.meme-account-submit:hover {
	opacity: 0.9;
}

@media (max-width: 767.98px) {
	.meme-account-card {
		padding: 1.5rem;
	}

	.meme-account-login {
		padding: 1rem 0 3rem;
	}
}



/* -------------------------------------------------------------------------
 * Module solidaire (checkout — zone paiement) — Lead add 2026-11-12
 * Affichage uniquement : aucun calcul, aucun débit, aucun impact sur les totaux.
 * ---------------------------------------------------------------------- */
.meme-charity {
	margin: 0 0 1rem;
	padding: 1rem 1.25rem;
	background: #fef9f5;
	border: 1px solid #f0e3d8;
	border-radius: 6px;
}

.meme-charity__title {
	margin: 0 0 0.35rem;
	font-family: var(--meme-shop-font);
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--meme-color-primary, #2e2e2e);
}

.meme-charity__text {
	margin: 0 0 0.35rem;
	font-size: 0.875rem;
	line-height: 1.5;
	color: #4a4a4a;
}

.meme-charity__note {
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.45;
	color: #6b6b6b;
}

@media (max-width: 767.98px) {
	.meme-charity {
		padding: 0.875rem 1rem;
	}
}

/* --------------------------------------------------------------------------
 * Notices WooCommerce (checkout/cart) — style propre, sans icône superposée
 * (client review 2026-11-15 : l'icône chevauchait le texte).
 * ----------------------------------------------------------------------- */
.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
	position: relative;
	padding: 0.875rem 1.125rem;
	margin: 0 0 1rem;
	color: #3d3d3d;
	background: #fef9f5;
	border: 1px solid #f0e3d8;
	border-radius: 4px;
}

.woocommerce-info::before,
.woocommerce-info::after,
.woocommerce-message::before,
.woocommerce-message::after,
.woocommerce-error::before,
.woocommerce-error::after {
	content: none !important;
	display: none !important;
}

.woocommerce-info a,
.woocommerce-message a,
.woocommerce-error a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.woocommerce-message .button,
.woocommerce-info .button {
	float: right;
	margin-left: 1rem;
}

/* --------------------------------------------------------------------------
 * Checkout — le moyen de paiement unique n'affiche plus de bloc/outil Stripe
 * (client review 2026-11-15 : supprimer le bloc radio + logo Stripe + bulle).
 * La passerelle reste sélectionnée (input radio coché, masqué) et le bouton
 * COMMANDER continue de fonctionner avec PGPay.
 * ----------------------------------------------------------------------- */
.woocommerce-checkout-payment .wc_payment_methods.payment_methods {
	display: none !important;
}

.woocommerce-checkout-payment .wc_payment_methods .payment_box {
	display: none !important;
}

/* --------------------------------------------------------------------------
 * Icônes de paiement — checkout 26 icônes (24 px, retour à la ligne) + note,
 * panier/footer 5 icônes (client review 2026-11-15).
 * ----------------------------------------------------------------------- */
.meme-payments--checkout .meme-payments__accept {
	margin: 0.25rem 0 0.5rem;
	font-size: 0.8125rem;
	color: var(--meme-shop-muted);
}

.meme-payments--checkout .meme-payments__list {
	gap: 0.5rem;
}

.meme-payments--checkout .meme-payments__list img {
	width: auto;
	max-width: 56px;
	height: 24px;
	padding: 0;
	border-radius: 3px;
	object-fit: contain;
}

.meme-payments--checkout .meme-payments__note {
	margin: 0.625rem 0 1rem;
	font-size: 0.75rem;
	line-height: 1.4;
	color: var(--meme-shop-muted);
}
