/* ==========================================================================
   Pelier Market — catalog: product cards, collection pages, filters,
   product page, wishlist page.
   ========================================================================== */

/* Breadcrumb ------------------------------------------------------------- */
.pm-breadcrumb { font-size: 12px; line-height: 18px; color: var(--pm-muted); }
.pm-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
.pm-breadcrumb li { display: inline-flex; align-items: center; }
.pm-breadcrumb li + li::before { content: "/"; margin: 0 8px; color: var(--pm-border); }
.pm-breadcrumb a { color: var(--pm-muted); transition: color .2s var(--ease); }
.pm-breadcrumb a:hover { color: var(--pm-ink); }
.pm-breadcrumb [aria-current="page"] { color: var(--pm-ink); }
.pm-breadcrumb--center ol { justify-content: center; }

/* Notices (WooCommerce messages on catalog pages) ------------------------ */
.pm-notices:empty { display: none; }
.pm-notices .woocommerce-message,
.pm-notices .woocommerce-error,
.pm-notices .woocommerce-info,
.pm-notices .wc-block-components-notice-banner {
	margin: 0 0 20px;
	padding: 14px 18px;
	list-style: none;
	font-size: 14px;
	background: var(--pm-cream);
	border-left: 3px solid var(--pm-espresso);
	border-radius: var(--radius);
}
.pm-notices .woocommerce-error { border-left-color: var(--pm-wine); }
.pm-notices .woocommerce-message .button,
.pm-notices .woocommerce-info .button { float: right; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; border-bottom: 1px solid currentColor; }

/* Product grid ------------------------------------------------------------ */
.pm-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 30px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.pm-grid__item { min-width: 0; margin: 0; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.pm-grid__item.is-removing { opacity: 0; transform: scale(.97); }

/* Product card ------------------------------------------------------------ */
.pm-card { position: relative; display: flex; flex-direction: column; height: 100%; }
.pm-card__media { position: relative; }
.pm-card__link {
	display: block;
	position: relative;
	aspect-ratio: 2 / 3;
	overflow: hidden;
	background: var(--pm-ph);
}
.pm-card__link > img,
.pm-card__link > .pm-ph {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.pm-card__img { transition: opacity .45s var(--ease), transform .8s var(--ease); }
.pm-card__img--alt { opacity: 0; }
.pm-card--has-alt:hover .pm-card__img--alt,
.pm-card--has-alt:focus-within .pm-card__img--alt { opacity: 1; }
.pm-card--has-alt:hover .pm-card__img--main { opacity: 0; }
.pm-card:not(.pm-card--has-alt):hover .pm-card__img--main { transform: scale(1.03); }
.pm-card .pm-ph { transition: filter .4s var(--ease); }
.pm-card:hover .pm-ph { filter: brightness(.97); }
.pm-card .pm-ph__label { font-size: 9.5px; }

.pm-card__badges {
	position: absolute; top: 10px; left: 10px; z-index: 2;
	display: flex; flex-wrap: wrap; gap: 6px;
	pointer-events: none;
}
.pm-card__soldout {
	position: absolute; left: 10px; bottom: 10px; z-index: 2;
	padding: 4px 8px; font-size: 11px; letter-spacing: .8px; text-transform: uppercase;
	background: rgba(255, 255, 255, .92); color: var(--pm-ink); border-radius: 2px;
}
.pm-card--soldout .pm-card__link { opacity: .75; }

.pm-card__wish {
	position: absolute; top: 8px; right: 8px; z-index: 3;
	display: inline-flex; align-items: center; justify-content: center;
	width: 36px; height: 36px; border-radius: 50%;
	color: var(--pm-ink);
	background: rgba(255, 255, 255, .9);
	box-shadow: 0 1px 4px rgba(48, 40, 35, .08);
	transition: color .2s var(--ease), background-color .2s var(--ease), transform .2s var(--ease);
}
.pm-card__wish:hover { color: var(--pm-wine); background: #fff; }
.pm-card__wish svg { transition: fill .2s var(--ease); }
.pm-card__wish.is-active,
.pm-card__wish[aria-pressed="true"] { color: var(--pm-wine); }
.pm-card__wish.is-active svg,
.pm-card__wish[aria-pressed="true"] svg { fill: currentColor; }
.is-bump { animation: pm-bump .35s var(--ease); }
@keyframes pm-bump { 0% { transform: scale(1); } 40% { transform: scale(1.22); } 100% { transform: scale(1); } }

.pm-card__body { padding-top: 14px; }
.pm-card__title {
	margin: 0 0 4px;
	font-family: var(--font-body);
	font-size: 14px;
	line-height: 20px;
	font-weight: 400;
	letter-spacing: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.pm-card__title a { color: var(--pm-ink); }
.pm-card__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pm-card__meta { margin: 0 0 2px; font-size: 12px; line-height: 18px; color: var(--pm-muted); }
.pm-card__price { margin: 0; font-size: 12px; line-height: 18px; font-weight: 500; color: var(--pm-wine); }

/* Collection page --------------------------------------------------------- */
.pm-shop { padding: 28px 0 90px; }
.pm-shop__head { text-align: center; margin: 22px auto 0; max-width: 760px; }
.pm-shop__title { font-size: 38px; line-height: 45.6px; margin: 0; }
.pm-shop__desc { margin: 14px auto 0; font-size: 15px; line-height: 24px; color: var(--pm-muted); }
.pm-shop__desc p:last-child { margin-bottom: 0; }

.pm-shop__toolbar {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	min-height: 58px; margin: 34px 0 32px;
	border-top: 1px solid var(--pm-line);
	border-bottom: 1px solid var(--pm-line);
}
.pm-shop__toolbar-left { display: flex; align-items: center; gap: 22px; min-width: 0; }
.pm-filter-toggle {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 0;
	font-size: 12px; line-height: 1; font-weight: 500; letter-spacing: 1.1px; text-transform: uppercase;
	color: var(--pm-ink);
	transition: opacity .2s var(--ease);
}
.pm-filter-toggle:hover { opacity: .65; }
.pm-filter-toggle__count { color: var(--pm-wine); }
.pm-shop__count { font-size: 12px; color: var(--pm-muted); white-space: nowrap; }

.pm-sort { display: flex; align-items: center; gap: 10px; margin: 0; }
.pm-sort__label { font-size: 12px; font-weight: 500; letter-spacing: 1.1px; text-transform: uppercase; }
.pm-sort__select-wrap { position: relative; display: inline-flex; align-items: center; }
.pm-sort__select {
	appearance: none; -webkit-appearance: none;
	min-width: 150px; height: 38px;
	padding: 0 30px 0 12px;
	font-size: 13px; color: var(--pm-ink);
	background: var(--pm-white);
	border: 1px solid var(--pm-line);
	border-radius: var(--radius);
	cursor: pointer;
}
.pm-sort__select:focus { outline: none; border-color: var(--pm-ink); }
.pm-sort__select-wrap .pm-icon { position: absolute; right: 10px; pointer-events: none; }
.pm-sort__go { margin-left: 6px; font-size: 12px; text-decoration: underline; }

.pm-shop__layout { display: flex; align-items: flex-start; gap: 0; transition: opacity .2s var(--ease); }
.pm-shop__layout.is-loading { opacity: .55; pointer-events: none; }
.pm-shop__main { flex: 1 1 auto; min-width: 0; }

/* Filters sidebar */
.pm-filters { flex: 0 0 272px; width: 272px; display: none; }
.pm-shop__layout.is-filters-open .pm-filters { display: block; margin-right: 30px; }
.pm-filters__head { display: none; }
.pm-filters__form { margin: 0; }
.pm-filter { border-bottom: 1px solid var(--pm-line); }
.pm-filter:first-of-type { border-top: 1px solid var(--pm-line); }
.pm-filter__title {
	display: flex; align-items: center; justify-content: space-between;
	padding: 16px 0;
	font-size: 12px; line-height: 1; font-weight: 500; letter-spacing: 1.1px; text-transform: uppercase;
	cursor: pointer; list-style: none;
}
.pm-filter__title::-webkit-details-marker { display: none; }
.pm-filter__title .pm-icon { transition: transform .25s var(--ease); }
.pm-filter[open] > .pm-filter__title .pm-icon { transform: rotate(180deg); }
.pm-filter__options, .pm-filter__cats { padding: 0 0 18px; margin: 0; list-style: none; }
.pm-filter__options li + li { margin-top: 8px; }
.pm-filter__options--sizes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
.pm-filter__options--sizes li + li { margin-top: 0; }
.pm-filter__cats li { margin: 0; }
.pm-filter__cat {
	display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
	padding: 5px 0; font-size: 14px; line-height: 20px; color: var(--pm-ink);
}
.pm-filter__cat:hover span:first-child { text-decoration: underline; text-underline-offset: 3px; }
.pm-filter__cat.is-current { font-weight: 600; }
.pm-filter__n { font-size: 12px; color: var(--pm-muted); }
.pm-filter__sub { margin: 2px 0 6px 14px; padding-left: 12px; border-left: 1px solid var(--pm-line); list-style: none; }
.pm-filter__sub .pm-filter__cat { font-size: 13px; padding: 4px 0; }

.pm-check { position: relative; display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 20px; cursor: pointer; }
.pm-check input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.pm-check__box {
	flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
	width: 18px; height: 18px; border: 1px solid var(--pm-border); border-radius: 2px;
	color: transparent; background: var(--pm-white);
	transition: background-color .15s var(--ease), border-color .15s var(--ease);
}
.pm-check input:checked + .pm-check__box { background: var(--pm-espresso); border-color: var(--pm-espresso); color: #fff; }
.pm-check input:focus-visible + .pm-check__box,
.pm-check input:focus-visible + .pm-check__swatch { outline: 2px solid var(--pm-wine); outline-offset: 2px; }
.pm-check__swatch {
	flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
}
/* Neutral chip only when the colour has no hex (inline background-color wins otherwise) */
.pm-check__swatch:not([style*="background-color"]),
.pm-swatch__dot:not([style*="background-color"]) { background-image: linear-gradient(135deg, var(--pm-ph) 0%, var(--pm-ph-dark) 100%); }
.pm-check input:checked + .pm-check__swatch { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 2px #fff, 0 0 0 3px var(--pm-ink); }
.pm-check input:checked ~ .pm-check__label { font-weight: 600; }

.pm-filters__actions { padding: 22px 0 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.pm-filters__apply { display: none; }
.pm-filters__clear { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; border-bottom: 1px solid currentColor; }
.pm-filters__clear:hover { color: var(--pm-wine); }
.pm-filters-overlay { position: fixed; inset: 0; z-index: 998; background: rgba(17, 17, 17, .4); }
.pm-filters-overlay[hidden] { display: none; }

/* Pagination */
.pm-pagination { margin-top: 60px; display: flex; justify-content: center; }
.pm-pagination ul.page-numbers { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pm-pagination .page-numbers li { margin: 0; }
.pm-pagination a.page-numbers,
.pm-pagination span.page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 38px; height: 38px; padding: 0 6px;
	font-size: 14px; color: var(--pm-ink);
	border-bottom: 1px solid transparent;
	transition: border-color .2s var(--ease), opacity .2s var(--ease);
}
.pm-pagination a.page-numbers:hover { border-bottom-color: var(--pm-ink); }
.pm-pagination span.current { font-weight: 600; border-bottom-color: var(--pm-ink); }
.pm-pagination .dots { color: var(--pm-muted); }

/* Empty state */
.pm-empty { text-align: center; padding: 70px 20px 40px; max-width: 520px; margin: 0 auto; }
.pm-empty__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 64px; height: 64px; border-radius: 50%; margin-bottom: 18px;
	background: var(--pm-cream); color: var(--pm-espresso);
}
.pm-empty__title { font-size: 26px; margin: 0 0 10px; }
.pm-empty__text { color: var(--pm-muted); margin: 0 0 26px; }
.pm-empty__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Product page ------------------------------------------------------------ */
.pm-product-page { padding: 28px 0 90px; }
.pm-breadcrumb--product { margin: 0 0 20px; }
/* Centered block like the reference: 570px gallery + 44px gap + 490px info */
.pm-product {
	display: grid;
	grid-template-columns: minmax(0, 570fr) minmax(0, 490fr);
	gap: 44px;
	align-items: start;
	max-width: 1104px;
	margin: 0 auto;
}

/* Gallery */
.pm-gallery__main {
	position: relative;
	aspect-ratio: 2 / 3;
	overflow: hidden;
	background: var(--pm-ph);
}
.pm-gallery__slide {
	position: absolute; inset: 0;
	opacity: 0; visibility: hidden;
	transition: opacity .45s var(--ease), visibility .45s;
}
.pm-gallery__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.pm-gallery__slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pm-gallery__badges { position: absolute; top: 14px; left: 14px; z-index: 2; display: flex; gap: 6px; }
.pm-gallery__arrow {
	position: absolute; top: 50%; z-index: 2;
	display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; margin-top: -21px; border-radius: 50%;
	background: rgba(255, 255, 255, .85); color: var(--pm-ink);
	opacity: 0; transition: opacity .2s var(--ease), background-color .2s var(--ease);
}
.pm-gallery__arrow--prev { left: 14px; }
.pm-gallery__arrow--next { right: 14px; }
.pm-gallery__main:hover .pm-gallery__arrow,
.pm-gallery__arrow:focus-visible { opacity: 1; }
.pm-gallery__arrow:hover { background: #fff; }

.pm-gallery__thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.pm-gallery__thumb {
	position: relative; display: block; width: 100%;
	aspect-ratio: 2 / 3; overflow: hidden;
	background: var(--pm-ph);
	outline: 1px solid transparent; outline-offset: -1px;
	opacity: .7;
	transition: opacity .2s var(--ease), outline-color .2s var(--ease);
}
.pm-gallery__thumb:hover { opacity: 1; }
.pm-gallery__thumb.is-active { opacity: 1; outline-color: var(--pm-ink); }
.pm-gallery__thumb > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pm-ph--mini::after { inset: 6px; }
.pm-ph--mini .pm-icon { width: 18px; height: 18px; }
.pm-ph--mini .pm-ph__inner { padding: 6px; }

/* Info column */
.pm-product__info { min-width: 0; }
.pm-product__sticky { position: sticky; top: calc(var(--pm-header-h, 0px) + var(--pm-adminbar-h, 0px) + 30px); }
.pm-product__title { font-size: 38px; line-height: 45.6px; margin: 0 0 19px; }
.pm-product__stock { display: flex; align-items: center; gap: 8px; margin: 0 0 15px; font-size: 15px; line-height: 21px; color: var(--pm-olive); }
.pm-product__dot { width: 7px; height: 7px; border-radius: 50%; background: #5d8a4e; }
.pm-product__stock.is-out { color: var(--pm-wine); }
.pm-product__stock.is-out .pm-product__dot { background: var(--pm-wine); }

.pm-product__price-note {
	display: flex; align-items: center; gap: 10px;
	padding: 15px 17px 14px; margin: 0 0 18px;
	font-size: 15px; line-height: 21px; font-weight: 400;
	color: var(--pm-ink);
	background: #f3f1e9;
	border-radius: var(--radius);
}
.pm-product__price-icon { display: inline-flex; color: #1fa855; }

.pm-product__sell { margin: 0 0 18px; }
.pm-product__sell-line { margin: 0; font-size: 14px; line-height: 22px; font-weight: 500; }
.pm-pack-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.pm-chip {
	display: inline-flex; align-items: center;
	padding: 4px 10px;
	font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .4px;
	border: 1px solid var(--pm-line); border-radius: 999px;
	background: var(--pm-white);
}
.pm-product__pack-note { margin: 8px 0 0; font-size: 12px; line-height: 18px; color: var(--pm-muted); }
.pm-product__short { margin: 0 0 20px; font-size: 14px; line-height: 22px; color: #3a3430; }
.pm-product__short p:last-child { margin-bottom: 0; }

/* Add-to-cart form */
.pm-product__form { margin: 0 0 12px; padding-top: 18px; border-top: 1px solid var(--pm-line); }
.pm-atc { margin: 0; }
.pm-variations { display: flex; flex-direction: column; gap: 18px; margin: 0 0 18px; }
.pm-attr__head { display: flex; align-items: baseline; gap: 8px; margin: 0 0 10px; }
.pm-attr__label { font-size: 15px; line-height: 21px; font-weight: 600; }
.pm-attr__label::after { content: ":"; }
.pm-attr__value { font-size: 15px; color: var(--pm-muted); }
.pm-attr__select { max-width: 320px; }
/* Buttons shown only once shop.js is running; native selects stay as fallback. */
.pm-swatches, .pm-sizes { display: none; }
.pm-attr--enhanced .pm-swatches, .pm-attr--enhanced .pm-sizes { display: flex; }
.pm-attr--enhanced .pm-attr__native { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

.pm-swatches { flex-wrap: wrap; gap: 10px; }
.pm-swatch {
	position: relative;
	display: inline-flex; align-items: center; justify-content: center;
	width: 34px; height: 34px; border-radius: 50%;
	box-shadow: 0 0 0 1px transparent;
	transition: box-shadow .2s var(--ease), opacity .2s var(--ease);
}
.pm-swatch__dot {
	width: 28px; height: 28px; border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14);
}
.pm-swatch:hover { box-shadow: 0 0 0 1px var(--pm-border); }
.pm-swatch.is-selected { box-shadow: 0 0 0 1px var(--pm-ink); }
.pm-swatch.is-unavailable { opacity: .35; }
.pm-swatch.is-unavailable::after {
	content: ""; position: absolute; left: 50%; top: 3px; bottom: 3px; width: 1px;
	background: var(--pm-ink); transform: rotate(45deg);
}

.pm-sizes { flex-wrap: wrap; gap: 8px; }
.pm-size {
	min-width: 48px; height: 48px; padding: 0 15px;
	font-size: 15px;
	border: 1px solid var(--pm-border); border-radius: var(--radius);
	background: var(--pm-white); color: var(--pm-ink);
	transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.pm-size:hover { border-color: var(--pm-ink); }
.pm-size.is-selected { background: var(--pm-espresso); border-color: var(--pm-espresso); color: #fff; }
.pm-size.is-unavailable { color: var(--pm-border); text-decoration: line-through; }

.pm-variations .reset_variations {
	align-self: flex-start;
	font-size: 12px; color: var(--pm-muted);
	border-bottom: 1px solid currentColor;
}
.single_variation_wrap .woocommerce-variation { font-size: 13px; color: var(--pm-muted); }
.single_variation_wrap .woocommerce-variation:not(:empty) { margin: 0 0 12px; }
.single_variation_wrap .woocommerce-variation p { margin: 0; }
.single_variation_wrap .woocommerce-variation-availability .out-of-stock,
.single_variation_wrap [role="alert"] { color: var(--pm-wine); }

.pm-atc__row { display: flex; flex-direction: column; gap: 14px; }
.pm-qty { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pm-qty__label { font-size: 15px; line-height: 21px; font-weight: 600; }
.pm-qty__ctrl {
	display: inline-flex; align-items: stretch;
	height: 48px;
	border: 1px solid var(--pm-border); border-radius: var(--radius);
	background: var(--pm-white);
}
.pm-qty__btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; color: var(--pm-ink);
	transition: background-color .15s var(--ease), opacity .15s var(--ease);
}
.pm-qty__btn:hover { background: var(--pm-cream); }
.pm-qty__btn:disabled { opacity: .3; cursor: default; background: none; }
.pm-qty__input {
	width: 56px; border: 0; padding: 0;
	text-align: center; font-size: 15px; font-weight: 500;
	background: transparent;
	-moz-appearance: textfield;
}
.pm-qty__input::-webkit-outer-spin-button,
.pm-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pm-qty__input:focus { outline: none; }
.pm-qty__ctrl:focus-within { border-color: var(--pm-ink); }

.single_add_to_cart_button { min-height: 48px; font-size: 13px; }
.single_add_to_cart_button.disabled,
.single_add_to_cart_button.wc-variation-selection-needed,
.single_add_to_cart_button.wc-variation-is-unavailable { opacity: .5; cursor: not-allowed; }
.single_add_to_cart_button.loading { opacity: .7; }
.woocommerce-variation-add-to-cart-disabled .single_add_to_cart_button:hover { background: var(--pm-espresso); }

.pm-product__secondary { display: flex; flex-direction: column; gap: 10px; margin: 0 0 18px; }
.pm-product__wa { min-height: 48px; }
.pm-product__wa .pm-icon { color: #1fa855; transition: color .2s var(--ease); }
.pm-product__wa:hover .pm-icon { color: #fff; }
.pm-product__wish {
	align-self: center;
	display: inline-flex; align-items: center; gap: 8px;
	padding: 6px 4px;
	font-size: 12px; letter-spacing: 1px; text-transform: uppercase;
	color: var(--pm-ink);
}
.pm-product__wish:hover { color: var(--pm-wine); }
.pm-product__wish-saved { display: none; }
.pm-product__wish.is-active { color: var(--pm-wine); }
.pm-product__wish.is-active svg { fill: currentColor; }
.pm-product__wish.is-active .pm-product__wish-add { display: none; }
.pm-product__wish.is-active .pm-product__wish-saved { display: inline; }
.pm-product__soldout { margin: 0 0 14px; color: var(--pm-wine); font-weight: 500; }

.pm-product__note {
	display: flex; align-items: center; justify-content: center; gap: 6px;
	margin: 0 0 26px; font-size: 13px; color: var(--pm-muted); text-align: center;
}
.pm-product__heart { display: inline-flex; color: var(--pm-wine); }
.pm-product__heart svg { fill: currentColor; }

/* Accordions */
.pm-accordions { border-top: 1px solid rgba(17, 17, 17, .15); }
.pm-accordion { border-bottom: 1px solid rgba(17, 17, 17, .15); }
.pm-accordion__title {
	position: relative;
	display: flex; align-items: center; justify-content: space-between;
	padding: 15px 30px 15px 0;
	font-size: 15px; line-height: 21px; font-weight: 600;
	cursor: pointer; list-style: none;
}
.pm-accordion__title::-webkit-details-marker { display: none; }
.pm-accordion__icon { position: absolute; right: 4px; top: 50%; width: 12px; height: 12px; margin-top: -6px; }
.pm-accordion__icon::before,
.pm-accordion__icon::after {
	content: ""; position: absolute; left: 0; top: 50%; width: 12px; height: 1px; margin-top: -.5px;
	background: currentColor; transition: transform .25s var(--ease);
}
.pm-accordion__icon::after { transform: rotate(90deg); }
.pm-accordion[open] .pm-accordion__icon::after { transform: rotate(0deg); }
.pm-accordion__body { padding: 0 0 20px; font-size: 15px; line-height: 24px; color: var(--pm-ink); }
.pm-accordion__body ul { list-style: disc; padding-left: 20px; margin: 0 0 1em; }
.pm-accordion__body p:last-child { margin-bottom: 0; }
.pm-product__meta { margin-top: 12px; font-size: 12px; color: var(--pm-muted); }
.pm-product__address { display: flex; align-items: flex-start; gap: 8px; }
.pm-product__address .pm-icon { flex: 0 0 auto; margin-top: 3px; }

/* Related */
.pm-related { margin-top: 90px; padding-top: 60px; border-top: 1px solid var(--pm-line); }
.pm-related__title { text-align: center; font-size: 26px; margin: 0 0 36px; }

/* Wishlist page ----------------------------------------------------------- */
.pm-wishlist-page { padding: 28px 0 90px; }
.pm-wishlist__head { text-align: center; margin: 22px auto 40px; }
.pm-wishlist__title { font-size: 36px; margin: 0; }
.pm-wishlist__total { margin: 10px 0 0; font-size: 13px; color: var(--pm-muted); }
.pm-wishlist__intro { margin: 10px auto 0; max-width: 560px; font-size: 15px; color: var(--pm-muted); }
.pm-wishlist__loading { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 20px; }
.pm-wishlist__loading[hidden] { display: none; }
.pm-skeleton { aspect-ratio: 2 / 3; background: linear-gradient(100deg, var(--pm-ph) 30%, #f4f0ea 50%, var(--pm-ph) 70%); background-size: 300% 100%; animation: pm-shimmer 1.4s linear infinite; }
@keyframes pm-shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
.pm-wishlist__error { text-align: center; color: var(--pm-wine); }
.pm-wishlist__footer { text-align: center; margin-top: 60px; }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1199px) {
	.pm-product { gap: 40px; }
	.pm-shop__layout.is-filters-open .pm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
	.pm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 16px; }
	.pm-wishlist__loading { grid-template-columns: repeat(3, minmax(0, 1fr)); }

	/* Filters become an off-canvas drawer */
	.pm-filters,
	.pm-shop__layout.is-filters-open .pm-filters {
		display: flex; flex-direction: column;
		position: fixed; top: var(--pm-adminbar-h, 0px); bottom: 0; left: 0; z-index: 999;
		width: min(380px, 88vw); margin: 0;
		background: var(--pm-white);
		transform: translateX(-102%);
		visibility: hidden;
		transition: transform .35s var(--ease), visibility .35s;
		box-shadow: 0 0 40px rgba(0, 0, 0, .12);
	}
	.pm-filters.is-open { transform: none; visibility: visible; }
	.pm-filters__head {
		display: flex; align-items: center; justify-content: space-between;
		flex: 0 0 auto; height: 64px; padding: 0 20px;
		border-bottom: 1px solid var(--pm-line);
	}
	.pm-filters__heading { font-family: var(--font-head); font-size: 22px; }
	.pm-filters__close { display: inline-flex; padding: 8px; margin-right: -8px; }
	.pm-filters__form { flex: 1 1 auto; overflow-y: auto; padding: 0 20px 24px; -webkit-overflow-scrolling: touch; }
	.pm-filter:first-of-type { border-top: 0; }
	.pm-filters__actions { position: sticky; bottom: 0; padding: 16px 0 4px; background: var(--pm-white); }
	.pm-filters__apply { display: flex; }
	.pm-shop__layout.is-filters-open .pm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

	.pm-product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
	.pm-gallery__thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.pm-grid--related { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
	.pm-shop, .pm-product-page, .pm-wishlist-page { padding: 18px 0 60px; }
	.pm-shop__title, .pm-wishlist__title { font-size: 30px; }
	.pm-shop__toolbar { margin: 22px 0 24px; min-height: 52px; }
	.pm-shop__toolbar-left { gap: 12px; }
	.pm-shop__count { display: none; }
	.pm-sort__label { display: none; }
	.pm-sort__select { min-width: 0; width: 150px; }

	.pm-grid,
	.pm-grid--related,
	.pm-shop__layout.is-filters-open .pm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 12px; }
	.pm-wishlist__loading { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 12px; }
	.pm-card__wish { width: 32px; height: 32px; top: 6px; right: 6px; }
	.pm-card__badges { top: 8px; left: 8px; }
	.pm-card__title { font-size: 13px; line-height: 18px; }
	.pm-card__meta, .pm-card__price { font-size: 11.5px; }

	.pm-product { grid-template-columns: minmax(0, 1fr); gap: 26px; }
	.pm-product__gallery { margin: 0 calc(var(--container-pad) * -1); }
	.pm-gallery__thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; padding: 0 var(--container-pad); }
	.pm-gallery__arrow { opacity: 1; width: 36px; height: 36px; margin-top: -18px; }
	.pm-product__sticky { position: static; }
	.pm-product__title { font-size: 28px; line-height: 1.25; margin-bottom: 14px; }
	.pm-related { margin-top: 60px; padding-top: 40px; }
	.pm-related__title { font-size: 22px; margin-bottom: 26px; }
	.pm-empty { padding: 50px 0 20px; }
}
