.groupmate--ghost {
	background: pink;
}
.groupmate--collection_widget {
	width: 100%;
	overflow: hidden;
}
.groupmate--collection_widget .gm_miniswatch_list {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	width: auto;
	gap: var(--swatch-gap);
	list-style: none;
	margin: 0;
	padding: 3px;
}
.groupmate--collection_widget
	.gm_miniswatch_list:has(.gm_item--miniswatch).--collapse
	.gm_item--miniswatch:not(:first-of-type) {
	margin-left: var(--swatch-overlap);
}
.groupmate--collection_widget .gm_more_pill {
	background: var(--more-pill-bg-color);
	color: var(--more-pill-color);
	border-radius: var(--more-pill-radius);
	padding: var(--more-pill-padding);
	line-height: 1;
	font-size: var(--more-pill-font-size);
}
.gm_miniswatch_list li.gm_item--minipill {
	font-size: var(--button-font-size);
	width: auto;
	position: relative;
	transition: 0.2s all ease;
}
.gm_miniswatch_list li.gm_item--minipill div {
	display: block;
	background: #fff;
	border: 1px solid #000;
	border-radius: var(--button-radius);
	color: inherit;
	padding: var(--button-padding) calc(3 * var(--button-padding));
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-decoration: none;
}
.gm_miniswatch_list li.gm_item--minipill:hover {
	opacity: 0.8;
}
.gm_miniswatch_list li.gm_item--miniswatch {
	position: relative;
	--color: rgba(128, 128, 128, 0.5);
	min-width: var(--swatch-size);
	width: var(--swatch-size);
}
.gm_miniswatch_list li.gm_item--miniswatch,
.gm_miniswatch_list li.gm_item--miniswatch > .gm_swatchwrap {
	aspect-ratio: 1;
	border-radius: var(--swatch-radius);
}
.gm_miniswatch_list li.gm_item--miniswatch .gm_swatchwrap {
	width: 100%;
	display: block;
	overflow: hidden;
	outline: 1px solid transparent;
	outline-offset: 2px;
	transition: outline 0.2s ease;
}
.gm_miniswatch_list li.gm_item--miniswatch .gm_swatchwrap img {
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	object-fit: cover;
}
.gm_miniswatch_list li.gm_item--miniswatch .gm_swatchwrap .gm_item_color {
	background-color: var(--color);
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	object-fit: cover;
}

/* Stage 4: PDP typography alignment — 2026-08-03
   Existing font-weight values are intentionally untouched. */

body:has(product-info) {
  --pdp-type-xs: 1.3rem;
  --pdp-type-sm: 1.4rem;
  --pdp-type-md: 1.5rem;
  --pdp-line-compact: 1.3;
  --pdp-line-normal: 1.4;
  --pdp-line-reading: 1.55;
}

product-info,
product-info .product__info-container,
product-info .product__description,
product-info .rte,
product-info .product-form,
product-info .product-form__input,
product-info .six-size-popup,
product-info .size-range-badge,
product-info #pdp-trustbar,
product-info .sense-pdp-badges,
product-info .product-details-card,
product-info .sense-delivery-return-box,
#pqa-root,
body:has(product-info) .sense-complementary-products,
body:has(product-info) .pdp-faq,
body:has(product-info) .sense-offer-widget,
body:has(product-info) [class*="recently-viewed"],
body:has(product-info) [class*="recently_viewed"],
body:has(product-info) [class*="pasilobus"] {
  font-family: var(--font-body-family) !important;
}

product-info .product-details-card__title,
product-info .sense-delivery-return-box__title,
#pqa-root .pqa-title,
body:has(product-info) .sense-complementary-products h2,
body:has(product-info) .pdp-faq h2 {
  font-family: var(--font-heading-family) !important;
}

product-info .gm_swatch_list,
product-info .gm_swatch_list .label,
product-info .gm_swatch_list legend,
product-info .gm_swatch_list button,
product-info .gm_swatch_list a,
product-info .gm_swatch_list span,
product-info .gm_swatch_list div {
  font-family: var(--font-body-family) !important;
}

product-info .jdgm-prev-badge__text,
product-info .jdgm-all-reviews-text,
body:has(product-info) .jdgm-rev-widg__title,
body:has(product-info) .jdgm-rev__title,
body:has(product-info) .jdgm-rev__body,
body:has(product-info) .jdgm-form,
body:has(product-info) .jdgm-sort-dropdown,
body:has(product-info) .jdgm-write-rev-link,
body:has(product-info) .jdgm-ask-question-btn {
  font-family: var(--font-body-family) !important;
}

product-info .product-form__input .form__label,
product-info .gm_swatch_list .label,
product-info .gm_swatch_list legend {
  font-size: var(--pdp-type-sm) !important;
  line-height: 1.35 !important;
}

product-info .six-size-popup__button,
product-info .size-range-badge,
product-info #pdp-trustbar.pdp-trustbar .pdp-trustbar__text,
product-info .jdgm-prev-badge__text,
product-info .jdgm-all-reviews-text {
  font-size: var(--pdp-type-xs) !important;
  line-height: 1.35 !important;
}

product-info .sense-pdp-badges__text {
  font-size: var(--pdp-type-xs) !important;
  line-height: var(--pdp-line-compact) !important;
}

product-info .product-details-card__title,
product-info .sense-delivery-return-box__title,
#pqa-root .pqa-title {
  font-size: var(--pdp-type-md) !important;
  line-height: var(--pdp-line-compact) !important;
}

product-info .product-details-card__row {
  font-size: var(--pdp-type-sm) !important;
  line-height: var(--pdp-line-normal) !important;
}

product-info .product-details-card__row--product-code .product-details-card__value {
  font-size: var(--pdp-type-xs) !important;
  line-height: var(--pdp-line-normal) !important;
}

product-info .sense-delivery-return-box__item {
  font-size: var(--pdp-type-sm) !important;
  line-height: 1.45 !important;
}

product-info .sense-delivery-return-box__links a,
product-info .share-button__button {
  font-size: var(--pdp-type-sm) !important;
  line-height: var(--pdp-line-normal) !important;
}

#pqa-root .pqa-body {
  font-size: var(--pdp-type-md) !important;
  line-height: var(--pdp-line-reading) !important;
}

#pqa-root .pqa-body p,
#pqa-root .pqa-body li {
  font-size: inherit;
  line-height: inherit;
}
