/* =====================================================================
   Unaizah Pro — Product page (redesign)
   Every rule is scoped under .pp-page (page wrapper) or .pp-sticky
   (floating cart bar) so quick view, product cards, cart and the
   reviews / questions pages are not affected.
   Sizes are in px on purpose: the theme sets html{font-size:20px}
   from 800px up, so rem values would grow on tablet / desktop.
   `!important` is only used where the overridden legacy rule has it
   (each one is marked with "legacy !important").
   ===================================================================== */

/* ---------- Tokens ---------- */
.pp-page,
.pp-sticky {
	--pp-k: 1;                         /* type scale: mobile 1, tablet 1.06, desktop 1.15 */
	--pp-ink: #121826;
	--pp-muted: #667085;
	--pp-body: #344054;
	--pp-line: #eceef2;
	--pp-sub: #f5f6f8;
	--pp-surface: #ffffff;
	--pp-cut-line: #e3e6ec;
	--pp-dots: #d5d9e0;
	--pp-bg: var(--product-page-bg, #fafafa);
	--pp-accent: var(--primary-color, #3b82f6);
	--pp-btn: var(--btn-color, var(--primary-color, #3b82f6));
	--pp-danger: #c4302f;
	--pp-danger-soft: #fdecec;
	--pp-ok: #15803d;
	--pp-ok-soft: #e8f6ec;
	--pp-star: #f5a524;
	--pp-flame: #e5484d;
	--pp-recommend: #16a34a;
	/* soft tints of the primary colour: fixed fallback first, then color-mix */
	--pp-soft-1: #f5f6f8;
	--pp-soft-1: color-mix(in srgb, var(--primary-color) 7%, #fff);
	--pp-soft-2: #eceef2;
	--pp-soft-2: color-mix(in srgb, var(--primary-color) 15%, #fff);

	--pp-fs-body: calc(12.5px * var(--pp-k));
	--pp-fs-text: calc(12px * var(--pp-k));
	--pp-fs-sm: calc(11px * var(--pp-k));
	--pp-fs-xs: calc(10.5px * var(--pp-k));
	--pp-fs-xxs: calc(10px * var(--pp-k));
	--pp-fs-card-title: calc(14px * var(--pp-k));
	--pp-fs-h1: 19px;
	--pp-fs-price: 24px;
	--pp-card-pad: 14px;
	--pp-page-pad: 12px;
}
@media (min-width: 768px) {
	.pp-page,
	.pp-sticky {
		--pp-k: 1.06;
		--pp-fs-h1: 22.3px;
		--pp-fs-price: 25.4px;
		--pp-card-pad: 16px;
		--pp-page-pad: 20px;
	}
}
@media (min-width: 1024px) {
	.pp-page,
	.pp-sticky {
		--pp-k: 1.15;
		--pp-fs-h1: 28.7px;
		--pp-fs-price: 27.6px;
		--pp-page-pad: 32px;
	}
}

/* ---------- Page wrapper / mobile flow ---------- */
body.product-view .pp-page.container {
	max-width: 1200px;
	padding: 0 var(--pp-page-pad) 16px;          /* the sticky bar's room is kept by the footer (main.js footReserve) */
	color: var(--pp-ink);
	font-size: var(--pp-fs-body);
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.pp-page .pp-top,
.pp-page .pp-col-a,
.pp-page .pp-col-b,
.pp-page .pp-masonry {
	display: contents;
}
.pp-page .pp-topbar    { order: 0; }
.pp-page .pp-media     { order: 1; }
.pp-page .pp-info      { order: 2; }
.pp-page .pp-extra     { order: 3; }
.pp-page .pp-order     { order: 4; }
.pp-page .pp-coupons   { order: 5; }
.pp-page .pp-offers    { order: 6; }
.pp-page .pp-trust     { order: 7; }
.pp-page .pp-details   { order: 8; }
.pp-page .pp-reviews   { order: 9; }
.pp-page .pp-questions { order: 10; }
.pp-page .pp-related   { order: 11; }

.pp-page h1, .pp-page h2, .pp-page h3, .pp-page h4 {
	color: var(--pp-ink);
}
.pp-page a { color: inherit; }
body.product-view .pp-page .pp-visually-hidden,
body.product-view .pp-sticky .block-p-qty.pp-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	margin: -1px;
	padding: 0;
	border: 0;
}

/* ---------- Icons (theme icon system: components/icons.jinja) ---------- */
.pp-page .pp-ic,
.pp-sticky .pp-ic,
#pswp-custom .pp-ic {
	color: inherit;
	/* the tap target stays the button (PhotoSwipe checks e.target.className) */;
}
/* spinners inside the page take the text colour of their button */
.pp-page .loader-icon::before,
.pp-sticky .loader-icon::before {
	border-color: currentColor;
	border-bottom-color: transparent;
	border-left-color: transparent;
}

/* ---------- Card ---------- */
.pp-page .pp-card {
	position: relative;
	background-color: var(--pp-surface);
	border-radius: 22px;
	padding: var(--pp-card-pad);
	min-width: 0;
}
.pp-page .pp-card-title {
	margin: 0;
	font-size: var(--pp-fs-card-title);
	font-weight: 800;
	line-height: 1.4;
}
.pp-page .pp-card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	flex-wrap: wrap;
}

/* ---------- Cut line (identity): dashed rule with two half-circle notches ---------- */
.pp-page .pp-cut,
.pp-page .pp-offer-part + .pp-offer-part::before {
	content: "";
	display: block;
	position: relative;
	height: 20px;
	margin-inline: calc(var(--pp-card-pad) * -1);
	--pp-dash: repeating-linear-gradient(to right, var(--pp-cut-line) 0 6px, transparent 6px 11px) 18px 9px / calc(100% - 36px) 2px no-repeat;
	background:
		radial-gradient(circle at 0 50%, var(--pp-bg) 10px, transparent 10.5px),
		radial-gradient(circle at 100% 50%, var(--pp-bg) 10px, transparent 10.5px),
		var(--pp-dash);
}
.pp-page .pp-info::after {
	content: "";
	position: absolute;
	top: 9px;
	inset-inline: 18px;
	border-top: 2px dashed var(--pp-cut-line);
}
.pp-page.pp-square .pp-cut,
.pp-page.pp-square .pp-offer-part + .pp-offer-part::before {
	background: var(--pp-dash);
}
.pp-page.pp-square .pp-info::before {
	background: none;
}

/* ---------- Top bar: breadcrumb + stock ---------- */
.pp-page .pp-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin: 0;
	padding: 10px 4px 0;
	font-size: var(--pp-fs-sm);
}
.pp-page .pp-topbar .breadcrumb-section {
	flex: 1 1 auto;
	min-width: 0;
}
.pp-page .pp-topbar .breadcrumb {
	margin: 0;
	padding: 0;
	background: none;
}
.pp-page .pp-topbar .breadcrumb .container {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 5px;
	padding: 0;
	max-width: none;
	color: var(--pp-muted);
	font-size: var(--pp-fs-sm);
	white-space: nowrap;
	overflow: hidden;
}
.pp-page .pp-topbar .breadcrumb a,
.pp-page .pp-topbar .breadcrumb a span {
	color: var(--pp-muted);
	font-size: var(--pp-fs-sm);
	font-weight: 400;
	margin: 0;
	padding: 0;
}
.pp-page .pp-topbar .breadcrumb .item-home .svg-icon {
	display: none;
}
.pp-page .pp-topbar .breadcrumb .item-product-name {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	pointer-events: none;
}
.pp-page .pp-topbar .breadcrumb .item-product-name span {
	color: var(--pp-ink);
}
.pp-page .pp-topbar .breadcrumb .separator {
	font-size: var(--pp-fs-sm);
	margin: 0;
	color: var(--pp-muted);
}
.pp-page .pp-topbar .breadcrumb .separator::before {
	content: "/";
	font-family: inherit;
	font-weight: 400;
}
.pp-page .pp-topbar .inventory-label {
	margin: 0;
	flex: 0 0 auto;
}
.pp-page .pp-topbar .inventory-label .inventory-box {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	height: 24px;
	padding: 0 9px;
	border-radius: 999px;
	font-size: var(--pp-fs-xs);
	font-weight: 800;
	background-color: var(--pp-ok-soft);
	color: var(--pp-ok);
}
.pp-page .pp-topbar .inventory-label .inventory-box.d-none {
	display: none;
}
.pp-page .pp-topbar .inventory-label .inventory-box.out-stock {
	background-color: var(--pp-danger-soft);
	color: var(--pp-danger);
}
.pp-page .pp-topbar .inventory-label .inventory-box.preorder {
	background-color: var(--pp-line);
	color: var(--pp-ink);
}
.pp-page .pp-topbar .inventory-label .inventory-box .icon {
	position: relative;
	top: 0;
	width: 6px;
	height: 6px;
	flex: 0 0 6px;
	border-radius: 50%;
	background-color: #16a34a;
}
.pp-page .pp-topbar .inventory-label .inventory-box.out-stock .icon { background-color: var(--pp-flame); }
.pp-page .pp-topbar .inventory-label .inventory-box.preorder .icon { background-color: var(--pp-ink); }
.pp-page .pp-topbar .inventory-label .inventory-box .icon::before,
.pp-page .pp-topbar .inventory-label .inventory-box .icon::after {
	display: none;
}

/* ---------- Image card ---------- */
.pp-page .pp-media {
	padding-bottom: 10px;
	border-end-start-radius: 0;
	border-end-end-radius: 0;
}
.pp-page .pp-media .thumb-gallery {
	position: relative;
	margin: 0;
}
.pp-page .pp-media .product-slider-block {
	border-radius: 16px;
	overflow: hidden;
	background-color: var(--pp-sub);
}
.pp-page .pp-media .product-img-swiper .swiper-slide,
.pp-page .pp-media .product-images-list .product-image {
	aspect-ratio: 1 / 1;
	overflow: hidden;
}
.pp-page .pp-media .product-images-slider {
	display: block;
	position: relative;
	width: 100%;
	height: 100%;
}
.pp-page .pp-media .product-images-slider .pt-100 {
	padding-top: 100%;
	background-size: var(--product-slider-image-fit, contain);
	background-position: center;
	background-repeat: no-repeat;
}
.pp-page .pp-media .product-images-slider img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 1 / 1;
	object-fit: var(--product-slider-image-fit, contain);
}
/* list / grid image styles: square tiles, no thumbnails */
.pp-page .pp-media .product-images-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	background: none;
}
.pp-page .pp-media .product-images-list .product-image {
	border-radius: 16px;
	background-color: var(--pp-sub);
}
.pp-page .pp-media .product-images-list.grid-view {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	height: auto;
}
.pp-page .pp-media .product-images-list.grid-view .product-image {
	width: auto;
}
.pp-page .pp-media .product-images-list.grid-view .product-image:only-child {
	grid-column: 1 / -1;
}
.pp-page .pp-media .swiper-pagination {
	display: none;
}
.pp-page .pp-media .play-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 56px;
	height: 56px;
	border: 0;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, .92);
	color: var(--pp-ink);
	box-shadow: 0 6px 18px rgba(18, 24, 38, .14);
}

/* badges (top start corner) — colours stay on the --badge-* variables */
.pp-page .pp-media .label-block {
	position: absolute;
	top: 10px;
	inset-inline-start: 10px;
	inset-inline-end: auto;
	z-index: 3;
	width: auto;
	margin: 0;
	padding: 0;
	pointer-events: none;
}
.pp-page .pp-media .label-block .product-labels {
	position: static;
	top: auto;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 5px;
	margin: 0;
}
.pp-page .pp-media .label-block .product-badge,
.pp-page .pp-media .label-block .preorder-badge,
.pp-page .pp-media .label-block .bundle-offer-section {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	height: 24px;
	margin: 0;
	padding: 0 9px;
	border-radius: 8px;
	box-shadow: none;
	font-size: var(--pp-fs-xs);
	font-weight: var(--w-badge);
	line-height: 24px;                  /* the whole letters (no cut descenders) */
}
.pp-page .pp-media .label-block :is(.product-badge, .preorder-badge, .bundle-offer-section) {
	max-width: 100%;
	overflow: hidden;
}
.pp-page .pp-media .label-block .product-labels span {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	margin: 0;
	font-size: inherit;
}
/* the badges' colours: product-card.css (one style for every badge) */

/* action buttons (top end corner) */
.pp-page .pp-media-actions {
	position: absolute;
	top: 10px;
	inset-inline-end: 10px;
	z-index: 4;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.pp-page .pp-media-actions .wishlist-buttons,
.pp-page .pp-media-actions .share-btn,
.pp-page .pp-media-actions .zoom-btn {
	position: relative;
	inset: auto;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background-color: #fff;
	color: var(--pp-ink);
	box-shadow: 0 2px 8px rgba(18, 24, 38, .08);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.pp-page .pp-media-actions .wishlist-buttons.is-added .pp-ic-heart-on {
	color: var(--pp-flame);
}
.pp-page .pp-media-actions .wishlist-buttons .wishlist-progress {
	position: absolute;
	inset: 0;
	width: 18px;
	height: 18px;
	margin: auto;
	color: var(--pp-ink);
}
.pp-page .pp-media-actions .wishlist-buttons.is-loading .pp-ic-heart-on {
	opacity: 0;
}
/* main.js toggles d-none -> d-block on .wishlist-buttons (bootstrap d-block is !important) */
.pp-page .pp-media-actions .wishlist-buttons.d-block {
	display: flex !important; /* legacy !important (bootstrap .d-block) */
}
.pp-page .pp-media-actions .wishlist-buttons.d-none {
	display: none !important; /* legacy !important (bootstrap .d-none) */
}
.pp-page .pp-media-actions .wishlist-buttons.is-added {
	color: var(--pp-flame);
}
.pp-page .pp-media-actions .wishlist-buttons.is-loading {
	opacity: .6;
	pointer-events: none;
}
.pp-page .pp-share {
	position: relative;
}
.pp-page .pp-share .share-product {
	position: absolute;
	top: 0;
	inset-inline-end: calc(100% + 6px);
	z-index: 5;
	margin: 0;
	padding: 4px;
	border: 0;
	border-radius: 14px;
	background-color: #fff;
	box-shadow: 0 12px 30px rgba(18, 24, 38, .14);
}
.pp-page .pp-share .share-product .title {
	display: block;
	padding: 4px 8px 2px;
	font-size: var(--pp-fs-xs);
	color: var(--pp-muted);
	white-space: nowrap;
}
/* brand logos: original theme icons, only size / spacing adjusted */
.pp-page .pp-share .share-product .product-social {
	flex-direction: row;
	gap: 2px;
	margin: 0;
	padding: 0;
}
.pp-page .pp-share .share-product .product-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border-radius: 10px;
	color: var(--pp-ink);
}
.pp-page .pp-share .share-product .product-social a:hover {
	background-color: var(--pp-sub);
}
.pp-page .pp-share .share-product .product-social i {
	margin: 0;
	font-size: 18px;
	line-height: 1;
}

/* thumbnails (slider style only; built by JS) */
.pp-page .pp-thumbs {
	position: absolute;
	inset-inline: 0;
	bottom: 10px;
	z-index: 3;
	display: flex;
	justify-content: center;
	gap: 6px;
	padding: 0 10px;
}
.pp-page .pp-thumbs {
	overflow-x: auto;
	scrollbar-width: none;
	justify-content: safe center;
}
.pp-page .pp-thumbs::-webkit-scrollbar {
	display: none;
}
.pp-page .pp-thumbs:empty {
	display: none;
}
.pp-page .pp-thumb {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 2px solid #fff;
	border-radius: 12px;
	background-color: var(--pp-sub);
	background-size: cover;
	background-position: center;
	pointer-events: auto;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(18, 24, 38, .1);
}
.pp-page .pp-thumb.is-active {
	border-color: var(--pp-accent);
}

/* ---------- Info card ---------- */
.pp-page .pp-info {
	margin-top: -12px;                  /* joins the image card on mobile */
	padding-top: 30px;                  /* 20px cut + 10px gap */
	border-start-start-radius: 0;
	border-start-end-radius: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.pp-page .pp-info::before {
	content: "";
	position: absolute;
	top: 0;
	inset-inline: 0;
	height: 20px;
	background:
		radial-gradient(circle at 0 50%, var(--pp-bg) 10px, transparent 10.5px),
		radial-gradient(circle at 100% 50%, var(--pp-bg) 10px, transparent 10.5px);
}
/* neutralise the legacy sticky info block */
.inside-page-container.pp-page .product-info-block .product-main-block {
	position: relative;
	top: auto;
}
.pp-page .pp-head {
	display: flex;
	align-items: stretch;
	gap: 10px;
}
/* the brand above the name (components/product-brand.jinja): the logo as uploaded, 28px high, at most 140px wide; the
   name as a small link when there is no logo; a dark logo in dark mode on a small light plate (main.js brandLogoTone) */
.pp-page .pp-brand {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	max-width: 140px;
	min-height: 28px;
	margin: 0 0 2px;
	text-decoration: none;
}
.pp-page .pp-brand img {
	display: block;
	width: auto;
	max-width: 140px;
	height: 28px;
	object-fit: contain;
}
.pp-page .pp-brand-name {
	overflow: hidden;
	color: var(--pp-muted);
	font-size: 12px;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-overflow: ellipsis;
	white-space: nowrap;
}
a.pp-brand:hover .pp-brand-name {
	color: var(--pp-ink);
}
a.pp-brand:focus-visible {
	outline: 2px solid var(--primary-color);
	outline-offset: 3px;
	border-radius: 6px;
}
.pp-page .pp-head-main {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
}
.pp-page .pp-info .title-p-q.product-name {
	margin: 0;
	padding: 0;
	font-size: var(--pp-fs-h1);
	line-height: 1.35;
	font-weight: 800;
	color: var(--pp-ink) !important; /* legacy !important (style.css .title-p-q, max-width 992px) */
	text-align: start;
}

/* price: JS rewrites the inner HTML of .block-price-w > .price, style the output */
.pp-page .pp-info .block-price-w {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
}
.pp-page .pp-info .block-price-w > .price {
	display: flex;
	align-items: baseline;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 7px;
	margin: 0;
}
.pp-page .pp-info .block-price-w > .price > * {
	margin: 0;
}
.pp-page .pp-info .block-price-w .price-discount,
.pp-page .pp-info .block-price-w .product-price {
	display: inline-flex;
	align-items: baseline;
	flex-direction: row-reverse;       /* current price first, then the old one */
	gap: 7px;
	margin: 0;
}
.pp-page .pp-info .block-price-w .price-discount .price,
.pp-page .pp-info .block-price-w .product-price .price {
	font-size: var(--pp-fs-price);
	font-weight: 800;
	line-height: 1;
	color: var(--pp-accent);
	margin: 0;
}
.pp-page .pp-info .block-price-w .price-discount .old {
	font-size: var(--pp-fs-body);
	font-weight: 400;
	color: var(--pp-muted);
	margin: 0;
}
.pp-page .pp-info .block-price-w .discount-box {
	position: static;
	display: inline-flex;
	align-items: center;
	height: 20px;
	margin: 0;
	padding: 0 7px;
	border-radius: 6px;
	background-color: var(--pp-danger-soft);
	color: var(--pp-danger);
	font-size: var(--pp-fs-xs);
	font-weight: var(--w-badge);
	line-height: 1;
}
.pp-page .pp-price-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-size: var(--pp-fs-xs);
	color: var(--pp-muted);
}
.pp-page .pp-price-meta .product-tax-free {
	margin: 0;
	padding: 0;
	background: none;
	font-size: var(--pp-fs-xs);
	color: var(--pp-muted);
}
.pp-page .pp-price-meta .product-tax-free span {
	font-size: inherit;
	color: inherit;
}
.pp-page .pp-price-meta .low-quantity-section {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	margin: 0;
	color: var(--pp-danger);
	font-weight: 700;
}
.pp-page .pp-price-meta .low-quantity-section.d-inline-block {
	display: inline-flex !important; /* legacy !important (bootstrap .d-inline-block) */
}
.pp-page .pp-price-meta .low-quantity-section.d-none {
	display: none !important; /* legacy !important (bootstrap .d-none) */
}
.pp-page .pp-price-meta .low-quantity-section .low-quantity {
	color: var(--pp-danger);
	font-size: var(--pp-fs-xs);
	font-weight: 700;
}
.pp-page .pp-price-meta .low-quantity-section .pp-ic {
	color: var(--pp-danger);
}

/* rating box */
.pp-page .pp-rating {
	flex: 0 0 72px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	min-height: 72px;
	margin: 0;
	padding: 6px;
	border-radius: 14px;
	background-color: var(--pp-sub);
	color: var(--pp-ink);
	text-align: center;
	text-decoration: none;
}
.pp-page a.pp-rating:hover {
	color: var(--pp-ink);
	text-decoration: none;
	background-color: var(--pp-line);
}
.pp-page .pp-rating .average {
	font-size: calc(16px * var(--pp-k));
	font-weight: 800;
	line-height: 1.1;
}
.pp-page .pp-rating .count {
	font-size: var(--pp-fs-xxs);
	color: var(--pp-muted);
}
.pp-page .pp-rating.no-reviews {
	flex-basis: 84px;
}
.pp-page .pp-rating.no-reviews .title {
	font-size: var(--pp-fs-xxs);
	color: var(--pp-muted);
	line-height: 1.4;
}
.pp-page .pp-rating .pp-ic {
	color: var(--pp-star);
}
.pp-page .pp-rating.no-reviews .pp-ic {
	color: #d0d5dd;
}

/* stats strip */
.pp-page .pp-stats {
	display: flex;
	align-items: stretch;
	margin: 0;
	border-radius: 16px;
	background-color: var(--pp-sub);
}
.pp-page .pp-stat {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1px;
	margin: 0;
	padding: 9px 2px;
	background: none;
	border: 0;
	text-align: center;
}
.pp-page .pp-stat .watch-counter {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1px;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	color: inherit;
}
.pp-page .pp-stat.d-none {
	display: none;
}
/* separators: a stat that follows another visible stat gets a hairline */
.pp-page .pp-stat + .pp-stat:not(.d-none)::before {
	content: "";
	position: absolute;
	top: 10px;
	bottom: 10px;
	inset-inline-start: 0;
	width: 1px;
	background-color: var(--pp-cut-line);
}
.pp-page .pp-stat-value {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: calc(14px * var(--pp-k));
	font-weight: var(--w-stat);
	line-height: 1.3;
	color: var(--pp-ink);
}
/* every number of the stats bar one weight (theme setting --w-stat; the "+" of the sold count was regular) */
.pp-page .pp-stat-value span {
	font-weight: var(--w-stat);
}
.pp-page .pp-stat-value .counter,
.pp-page .pp-stat-value .counter span,
.pp-page .pp-stat-value .percent,
.pp-page .pp-stat-value .count {
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
	margin: 0;
}
.pp-page .recommend-info .pp-stat-value { color: var(--pp-recommend); }
.pp-page .sold-counter-block .pp-stat-value { color: var(--pp-flame); }
.pp-page .sold-counter-block.new-product .pp-stat-value { color: var(--pp-muted); }
.pp-page .pp-stat-label {
	font-size: calc(9.5px * var(--pp-k));
	color: var(--pp-muted);
	line-height: 1.35;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}
.pp-page .pp-stat .pp-ic {
	color: currentColor;
}

/* Tabby / Tamara: original component styles untouched, only outer spacing */
.pp-page .pp-info .block-payments-widget {
	margin: 0;
}

/* ---------- Short description + categories / tags ---------- */
.pp-page .pp-extra {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 0 6px;
}
.pp-page .pp-extra--tags-only:not(.pp-has-tags) {
	display: none;
}
.pp-page .pp-extra .short-description {
	margin: 0;
	padding: 0;
	font-size: var(--pp-fs-text);
	line-height: 1.75;
	color: var(--pp-muted);
}
.pp-page .pp-extra .short-description p {
	margin: 0;
	font-size: inherit;
	color: inherit;
}
.pp-page .pp-taxonomy {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 5px;
	margin: 0;
	padding: 0;
}
.pp-page .pp-taxonomy--tags-only:not(.pp-has-tags) {
	display: none;
}
.pp-page .pp-taxonomy > div {
	margin: 0;
	padding: 0;
	border: 0;
}
.pp-page .pp-taxonomy .div-product-categories {
	display: contents;
}
.pp-page .pp-taxonomy .product-categories {
	display: contents;
}
.pp-page .pp-taxonomy .product-categories > a {
	display: inline-flex;
	align-items: center;
	height: 24px;
	margin: 0;
	padding: 0 9px;
	border: 0;
	border-radius: 999px;
	background-color: #fff;
	color: var(--pp-accent);
	font-size: var(--pp-fs-xs);
	font-weight: 700;
	text-decoration: none;
}
.pp-page .pp-taxonomy .product-categories > a.hide-category {
	display: none;
}
.pp-page .pp-taxonomy .product-categories > a.show-more {
	border: 1px dashed #c8ccd4;
	background: none;
	color: var(--pp-ink);
	font-weight: 800;
}
.pp-page .pp-taxonomy .product-tags.product-view-tags {
	display: contents;
}
.pp-page .pp-taxonomy .product-tags .tag {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	height: 24px;
	margin: 0;
	padding: 0 8px;
	border-radius: 6px;
	background-color: var(--tags-bg, #eef0f3);
	color: var(--tags-color, var(--pp-muted));
	font-size: var(--pp-fs-xs);
}
.pp-page .pp-taxonomy .product-tags .tag .icon {
	width: 14px;
	height: 14px;
	background-size: contain;
	background-repeat: no-repeat;
}

/* ---------- Order card ---------- */
.pp-page .pp-order {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.pp-page .pp-order-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-height: 24px;
}
.pp-page .pp-order-summary {
	min-width: 0;
	font-size: var(--pp-fs-sm);
	color: var(--pp-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.pp-page .pp-order #product-form {
	margin: 0;
	padding: 0;
}
.pp-page .pp-order .options-container {
	min-width: 0;
	margin: 0;
	padding: 0;
}
.pp-page .pp-order #product-variants-options {
	display: flex;
	flex-direction: column;
	gap: 0;
}
.pp-page .pp-order #product-variants-options .form-group {
	margin: 0;
}
.pp-page .pp-order #product-variants-options .form-group > div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-height: 44px;
	padding: 2px 0;
}
.inside-page-container.pp-page #product-variants-options .form-group > div label {
	flex: 0 0 auto;
	max-width: 40%;
	margin: 0;
	font-size: var(--pp-fs-body);
	font-weight: 700;
	color: var(--pp-ink);
}
/* list choices */
.pp-page .pp-order .options-container #product-variants-options ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 3px;
	min-width: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}
.pp-page .pp-order .options-container #product-variants-options ul.pp-choices--text {
	padding: 3px;
	border-radius: 13px;
	background-color: var(--pp-sub);
}
.pp-page .pp-order .options-container #product-variants-options ul li {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	margin: 0;
	padding: 0 12px;
	border: 0;
	border-radius: 10px;
	background-color: transparent;
	color: #475467;
	font-size: var(--pp-fs-text);
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .2s, color .2s, box-shadow .2s;
}
.pp-page .pp-order .options-container #product-variants-options ul li > span {
	font-size: inherit;
	color: inherit;
}
.pp-page .pp-order .options-container #product-variants-options ul li.active {
	border: 0;
	background-color: #fff;
	color: var(--pp-accent);
	box-shadow: 0 2px 6px rgba(18, 24, 38, .08);
	opacity: 1 !important; /* legacy !important */
}
.pp-page .pp-order .options-container #product-variants-options ul li.disabled {
	opacity: .45;
}
.pp-page .pp-order .options-container #product-variants-options ul li.disabled.active {
	opacity: .6 !important; /* legacy !important */
}
.pp-page .pp-order .options-container #product-variants-options ul li.disabled::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 6px;
	right: 6px;
	height: 1.5px;
	background-color: currentColor;
	opacity: .7;
	transform: rotate(-18deg);
}
/* swatches (colour / icon): 30px circles, ring on the selected one */
.pp-page .pp-order .options-container #product-variants-options ul.pp-choices--swatch {
	gap: 10px;
	padding: 4px 5px;
}
.inside-page-container.pp-page #product-variants-options ul li.image-choice {
	width: 30px;
	min-width: 30px;
	height: 30px;
	padding: 0;
	border-radius: 50%;
	background-size: cover;
	background-position: center;
	box-shadow: inset 0 0 0 4px #fff, 0 0 0 1px #e3e5ea;
}
.inside-page-container.pp-page #product-variants-options ul li.image-choice::before {
	content: "";
	position: absolute;
	inset: -6px;                        /* 42px touch target */
	border-radius: 50%;
}
.inside-page-container.pp-page #product-variants-options ul li.image-choice.active {
	box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--pp-accent);
}
.inside-page-container.pp-page #product-variants-options ul li.image-choice > span {
	display: none;
}
/* select */
.pp-page .pp-order #product-variants-options .option-select {
	flex: 0 1 190px;
	min-width: 0;
	margin: 0;
}
.pp-page .pp-order #product-variants-options .option-select::after,
.pp-page .pp-order #product-variants-options .option-select::before {
	display: none;
}
.pp-page .pp-order #product-variants-options .option-select select {
	width: 100%;
	height: 40px;
	margin: 0;
	padding: 0 10px;
	border: 0;
	border-radius: 12px;
	background-color: var(--pp-sub);
	color: var(--pp-ink);
	font-size: var(--pp-fs-text);
	font-family: inherit;
	-webkit-appearance: auto;
	appearance: auto;
}

/* custom input fields (vitrin) — outer styling only */
.pp-page .pp-order .product-inputs {
	margin: 0;
	padding: 4px 0 0;
}
.pp-page .pp-order .product-inputs label {
	margin-bottom: 6px;
	font-size: var(--pp-fs-body);
	font-weight: 700;
	color: var(--pp-ink);
}
.pp-page .pp-order .product-inputs .form-group {
	margin-bottom: 8px;
}
.pp-page .pp-order .product-inputs .form-control,
.pp-page .pp-order .product-inputs .form-group input,
.pp-page .pp-order .product-inputs .form-group select,
.pp-page .pp-order .product-inputs .form-group textarea {
	min-height: 40px;
	border: 0;
	border-radius: 12px;
	background-color: var(--pp-sub) !important; /* legacy !important (product-details.css .product-inputs) */
	color: var(--pp-ink);
	font-size: var(--pp-fs-text);
	box-shadow: none;
}
.pp-page .pp-order .product-inputs .input-text {
	border: 0;
	border-radius: 12px;
	background-color: var(--pp-sub);
	height: auto;
	min-height: 40px;
}
.pp-page .pp-order .product-inputs .file-label button {
	height: 36px;
	padding: 0 12px;
	border: 1.5px dashed #c8ccd4;
	border-radius: 11px;
	background: none;
	color: var(--pp-muted);
	font-size: var(--pp-fs-sm);
	width: auto;
}

/* preorder countdown (vitrin) */
.pp-page .pp-order .preorder-widget {
	margin: 4px 0 0;
}
.pp-page .pp-order .preorder-widget .MuiPaper-root {
	border-radius: 14px;
}

/* live bill */
.pp-page .pp-bill {
	display: flex;
	flex-direction: column;
	gap: 7px;
}
.pp-page .pp-bill-row {
	display: flex;
	align-items: baseline;
	gap: 6px;
	font-size: var(--pp-fs-text);
}
.pp-page .pp-bill-row.d-none {
	display: none;
}
.pp-page .pp-bill-row .pp-bill-label {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.pp-page .pp-bill-name {
	font-weight: 400;
}
.pp-page .pp-bill-dots,
.pp-page .pp-spec-dots {
	flex: 1 1 auto;
	min-width: 12px;
	border-bottom: 1.5px dotted var(--pp-dots);
	transform: translateY(-3px);
}
.pp-page .pp-bill-subtotal,
.pp-page .pp-bill-discount {
	flex: 0 0 auto;
	font-weight: 700;
	white-space: nowrap;
}
.pp-page .pp-bill-discount {
	color: var(--pp-danger);
}
.pp-page .pp-bill-total-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding-top: 6px;
}
.pp-page .pp-bill-total-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.pp-page .pp-bill-total-text .pp-bill-label {
	font-size: var(--pp-fs-xs);
	color: var(--pp-muted);
}
.pp-page .pp-bill-total {
	font-size: calc(20px * var(--pp-k));
	font-weight: 800;
	line-height: 1.15;
	white-space: nowrap;
}
/* quantity stepper (shared .block-p-qty markup, restyled here only) */
.pp-page .pp-bill .block-p-qty {
	position: relative;
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	height: 42px;
	margin: 0;
	border-radius: 12px;
	background-color: var(--pp-soft-1);
}
.pp-page .pp-bill .block-p-qty button {
	position: static;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 42px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--pp-ink);
}
.pp-page .pp-bill .block-p-qty button[disabled] {
	opacity: .35;
}
.pp-page .pp-bill .block-p-qty input {
	width: 30px;
	height: 42px;
	padding: 0;
	border: 0;
	background: none;
	text-align: center;
	color: var(--pp-ink);
	font-size: calc(13px * var(--pp-k));
	font-weight: 800;
}
.pp-page .pp-bill .block-p-qty .pp-ic {
	color: currentColor;
}

/* buttons */
.pp-page .add-to-cart-block {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 6px 0 0;
	padding: 0;
}
.pp-page .add-to-cart-block .buy-block {
	display: block;
	margin: 0;
	padding: 0;
	width: 100%;
}
.pp-page .add-to-cart-block .btn-add-cart {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	height: 46px;
	margin: 0;
	padding: 0 16px;
	border: 0;
	border-radius: 14px;
	background-color: var(--pp-btn);
	color: var(--second-color, #fff);
	font-size: calc(13.5px * var(--pp-k));
	font-weight: var(--w-btn);
}
/* productAddToCart() adds .justify-content-center while loading: show the spinner alone */
.pp-page .btn-add-cart.justify-content-center > .pp-ic-btn,
.pp-sticky .btn-add-cart.justify-content-center > .pp-ic-btn {
	display: none;
}
.pp-page .add-to-cart-block .btn-add-cart .text {
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
	margin: 0;
}
.pp-page .pp-alt-buy {
	display: flex;
	gap: 6px;
}
.pp-page .pp-alt-buy.pp-is-empty {
	display: none;
}
.pp-page .pp-alt-buy > * {
	flex: 1 1 0;
	min-width: 0;
	margin: 0;
}
.pp-page .pp-alt-buy .quick-checkout {
	display: flex;
}
.inside-page-container.pp-page .product-info-block .quick-checkout .btn-buy-now {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	height: 42px;
	margin: 0;
	padding: 0 12px;
	border: 1.5px solid var(--pp-btn);
	border-radius: 14px;
	background: none;
	color: var(--pp-btn);
	font-size: var(--pp-fs-body);
	font-weight: var(--w-btn);
}
.inside-page-container.pp-page .product-info-block .quick-checkout .btn-buy-now.d-none {
	display: none !important; /* legacy !important (bootstrap .d-none) */
}
/* Apple Pay (Zid's component, Apple's own button): the official black button with the white mark, no frame, the height
   and corners of "add to cart" (46px / 14px); in dark mode a hairline keeps it apart from the page */
.pp-page .pp-alt-buy .applepay-widget {
	min-height: 46px;
	border: 0;
	border-radius: 14px;
	overflow: hidden;
	background-color: #000;
}
.pp-page .pp-alt-buy .applepay-widget :is(#apple-pay-quick-checkout-container, .apple-pay-button),
.pp-sticky .applepay-btn :is(#apple-pay-quick-checkout-container, .apple-pay-button) {
	border: 0 !important;                /* legacy !important (Zid's inline button styles) */
	background-color: #000 !important;   /* legacy !important (Zid's inline button styles) */
	-apple-pay-button-style: black;
}
.pp-page .pp-alt-buy .applepay-widget .apple-pay-button {
	width: 100% !important;              /* legacy !important (Zid's inline button styles) */
	height: 46px !important;             /* legacy !important (Zid's inline button styles) */
	border-radius: 14px;
	-apple-pay-button-type: plain;
}
.pp-page .pp-alt-buy .applepay-widget:empty {
	display: none;
}

/* out of stock: the notify form replaces the bill and the buttons */
.pp-page .product-info-block.out-stock .pp-bill,
.pp-page .product-info-block.out-stock .add-to-cart-block {
	display: none;
}
.inside-page-container.pp-page .product-info-block.out-stock .notify-block {
	display: flex !important; /* legacy !important (style.css .out-stock .notify-block); the look: site-chrome.css .pf */
}

.pp-page .notify-block .form-group {
	margin: 0;
}
.pp-page .notify-block .form-group input.form-control {
	width: 100%;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--pp-line);
	border-radius: 12px;
	background-color: #fff;
	color: var(--pp-ink);
	font-size: var(--pp-fs-body);
}

/* ---------- Coupons (bank discount / loyalty points) ---------- */
/* hidden until JS confirms the vitrin component rendered something */
.pp-page .pp-coupons {
	display: none;
}
.pp-page .pp-coupons.pp-has-content {
	display: flex;
	gap: 8px;
	margin: 0 calc(var(--pp-page-pad) * -1);
	padding: 6px var(--pp-page-pad);
	overflow-x: auto;
	scrollbar-width: none;
}
.pp-page .pp-coupons::-webkit-scrollbar {
	display: none;
}
.pp-page .pp-coupon {
	display: none;
}
.pp-page .pp-coupon.pp-has-content {
	position: relative;
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 88%;
	min-height: 56px;
	margin: 0;
	padding: 8px 14px;
	padding-inline-start: 60px;       /* icon (34) + gaps + dashed rule */
	border-radius: 16px;
	background-color: #fff;
	font-size: calc(11.5px * var(--pp-k));
	line-height: 1.5;
}
.pp-page .pp-coupon.pp-has-content::before {
	content: "";
	position: absolute;
	top: 50%;
	inset-inline-start: 12px;
	width: 34px;
	height: 34px;
	margin-top: -17px;
	border-radius: 11px;
	background-color: var(--pp-soft-1);
}
.pp-page .pp-coupon.pp-has-content::after {
	content: "";
	position: absolute;
	top: -6px;
	bottom: -6px;
	inset-inline-start: 52px;
	width: 12px;
	background:
		radial-gradient(circle at 50% 6px, var(--pp-bg) 6px, transparent 6.5px),
		radial-gradient(circle at 50% calc(100% - 6px), var(--pp-bg) 6px, transparent 6.5px),
		repeating-linear-gradient(to bottom, var(--pp-cut-line) 0 4px, transparent 4px 7px) 50% 14px / 2px calc(100% - 28px) no-repeat;
}
.pp-page.pp-square .pp-coupon.pp-has-content::after {
	background: repeating-linear-gradient(to bottom, var(--pp-cut-line) 0 4px, transparent 4px 7px) 50% 14px / 2px calc(100% - 28px) no-repeat;
}
.pp-page .pp-coupon .pp-coupon-icon {
	position: absolute;
	top: 50%;
	inset-inline-start: 19px;
	z-index: 1;
	margin-top: -10px;
	color: var(--pp-accent);
}
.pp-page .pp-coupon.loyalty-points-widget {
	margin: 0;
}
.pp-page .pp-coupon > * {
	min-width: 0;
	margin: 0;
}

/* ---------- Offers card ---------- */
.pp-page .pp-offers {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.pp-page .pp-offer-part {
	min-width: 0;
	margin: 0;
	padding: 0;
	background: none;
}
.pp-page .pp-offer-part + .pp-offer-part::before {
	margin-bottom: 10px;
}
.pp-page .block-bundle-offer .bundle-offer-title {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 10px;
	padding: 0;
	border-radius: 0;
	background: none;
	color: var(--pp-ink) !important; /* legacy !important (style.css .block-bundle-offer .bundle-offer-title) */
	font-size: var(--pp-fs-card-title);
	font-weight: 800;
	line-height: 1.4;
}
.pp-page .block-bundle-offer .bundle-offer-title > span {
	margin: 0;
	padding: 0;
	color: inherit;
	font-size: inherit;
}
.pp-page .block-bundle-offer .bundle-offer-title > .pp-ic {
	order: 2;
	margin: 0;
	margin-inline-start: auto;
	color: var(--pp-accent);
}
.pp-page .block-bundle-offer .bundle-offer-products,
.pp-page .block-bundle-offer .products-list {
	margin: 0;
	padding: 0;
}
.pp-page .block-bundle-offer .products-list.bundle-offer-details-products {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	overflow-x: auto;
	justify-content: flex-start;
}
.pp-page .block-bundle-offer .products-list.bundle-offer-details-products > div {
	flex: 0 0 120px;
	max-width: 120px;
	margin: 0;
	padding: 0;
}
.pp-page .block-bundle-offer .products-list .move-icon {
	display: none !important; /* legacy !important (bootstrap .d-flex added by SortSliders) */
}

/* ---------- Trust: payments / features / banner ---------- */
.pp-page .pp-trust {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.inside-page-container.pp-page .payments-banner {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 10px;
	margin: 0;
	padding: 10px 14px;
	border: 0;
	border-radius: 16px;
	background-color: #fff;
}
.inside-page-container.pp-page .payments-banner .title {
	order: 0;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: 1 1 auto;
	margin: 0;
	font-size: var(--pp-fs-text);
	font-weight: 800;
	color: var(--pp-ink);
}
.inside-page-container.pp-page .payments-banner .title .pp-ic {
	color: var(--pp-recommend);
}
.inside-page-container.pp-page .content-payments-banner {
	order: 1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 5px;
	margin: 0;
}
.inside-page-container.pp-page .content-payments-banner .payment-icon-box {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 24px;
	margin: 0;
	padding: 0;
}
.inside-page-container.pp-page .content-payments-banner img {
	height: 22px;
	width: auto;
	max-width: 44px;
	object-fit: contain;
}
.inside-page-container.pp-page .store-features {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 6px;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}
.inside-page-container.pp-page .store-features .feature-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 5px;
	margin: 0;
	padding: 10px 4px;
	border: 0;
	border-radius: 14px;
	background-color: #fff;
	text-align: center;
	color: var(--pp-muted);
	text-decoration: none;
}
.inside-page-container.pp-page .store-features .feature-item img {
	width: 26px;
	height: 26px;
	margin: 0;
	object-fit: contain;
}
.inside-page-container.pp-page .store-features .feature-item .text {
	margin: 0;
	font-size: var(--pp-fs-xxs);
	line-height: 1.4;
	color: var(--pp-muted);
}
/* vertical view keeps the setting: one feature per row */
.inside-page-container.pp-page .store-features.vertical-view {
	grid-template-columns: minmax(0, 1fr);
}
.inside-page-container.pp-page .store-features.vertical-view .feature-item {
	flex-direction: row;
	justify-content: flex-start;
	gap: 10px;
	padding: 10px 14px;
	text-align: start;
}
.inside-page-container.pp-page .store-features.vertical-view .feature-item .text {
	font-size: var(--pp-fs-sm);
}
.inside-page-container.pp-page .product-banner {
	display: block;
	margin: 0;
	padding: 0;
	border-radius: 18px;
	overflow: hidden;
}
.inside-page-container.pp-page .product-banner img {
	display: block;
	width: 100%;
	height: auto;
	padding: 0;
}

/* ---------- Details card (tabs) ---------- */
.pp-page .pp-details {
	display: flex;
	flex-direction: column;
}
.pp-page .pp-details.product-accordion {
	margin: 0;
	padding: var(--pp-card-pad);
	background-color: var(--desc-bgcolor, #fff);
	box-shadow: none;
}
.pp-page .pp-details #faqAccordion.list-accordion {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.pp-page .pp-tabs {
	display: flex;
	gap: 3px;
	padding: 3px;
	border-radius: 13px;
	background-color: var(--pp-sub);
}
.pp-page .pp-tab {
	flex: 1 1 0;
	min-width: 0;
	height: 36px;
	padding: 0 8px;
	border: 0;
	border-radius: 10px;
	background-color: #fff;
	color: var(--pp-accent);
	font-size: var(--pp-fs-text);
	font-weight: 700;
	box-shadow: 0 2px 6px rgba(18, 24, 38, .08);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	cursor: pointer;
}
.pp-page .pp-tab.collapsed {
	background-color: transparent;
	color: #475467;
	box-shadow: none;
}
.pp-page .pp-tab span {
	font-size: inherit;
	color: inherit;
}
.pp-page .pp-panel {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}
.pp-page .pp-panel .content-faq {
	margin: 0;
	padding: 0;
	font-size: var(--pp-fs-text);
	line-height: 1.85;
	color: var(--pp-body);
	overflow-wrap: anywhere;
}
.pp-page.inside-page-container .product-accordion #faq-text-description .content-faq > *:not(img),
.pp-page .pp-details #faq-text-description .content-faq > *:not(img) {
	margin: 0 0 6px !important; /* legacy !important (style.css #faq-text-description .content-faq > *) */
}
.pp-page .pp-panel .content-faq img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}
.pp-page .pp-details .no-description {
	display: block;
	padding: 0;
	font-size: var(--pp-fs-xs);
	color: var(--pp-muted) !important; /* legacy !important (style.css .product-accordion .no-description) */
	background: none;
	text-align: start;
}
/* specifications: dotted leaders */
.pp-page .pp-specs {
	display: flex;
	flex-direction: column;
	gap: 7px;
}
.pp-page .pp-spec-row {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin: 0;
	padding: 0;
	font-size: var(--pp-fs-text);
}
.pp-page .pp-spec-row.d-none {
	display: none;
}
.pp-page .pp-spec-row .product-weight-title,
.pp-page .pp-spec-row .product-sku-title {
	flex: 0 0 auto;
	color: var(--pp-muted);
	font-weight: 400;
}
.pp-page .pp-spec-row .product-weight,
.pp-page .pp-spec-row .product-sku {
	flex: 0 1 auto;
	font-weight: 700;
	color: var(--pp-ink);
	text-align: end;
	overflow-wrap: anywhere;
}
/* metafields (vitrin): same leader look, from the outside */
.pp-page .pp-specs .metafields {
	margin: 0;
	padding: 0;
}
.pp-page .pp-specs .metafields .metafields-item {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin: 0 0 7px;
	padding: 0;
	font-size: var(--pp-fs-text);
}
.pp-page .pp-specs .metafields .metafields-item::after {
	content: "";
	order: 1;
	flex: 1 1 auto;
	min-width: 12px;
	border-bottom: 1.5px dotted var(--pp-dots);
	transform: translateY(-3px);
}
.pp-page .pp-specs .metafields .item-name {
	order: 0;
	flex: 0 0 auto;
	margin: 0;
	color: var(--pp-muted);
	font-weight: 400;
	font-size: inherit;
}
.pp-page .pp-specs .metafields .item-content {
	order: 2;
	flex: 0 1 auto;
	margin: 0;
	font-weight: 700;
	font-size: inherit;
	color: var(--pp-ink);
	text-align: end;
}
.pp-page .pp-specs .metafields .metafields-item:has(.img-box) {
	align-items: center;
}
/* product options tab: one row per variant inside its card (components/product-variants-tab.jinja) */
.pp-page .pp-vlist {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}
.pp-page .pp-vrow {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	padding: 7px;
	border-radius: 12px;
	background-color: var(--pp-sub);
}
.pp-page .pp-vimg {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
}
.pp-page .pp-vimg .variant-image-wrapper,
.pp-page .pp-vimg .variant-image-wrapper > a,
.pp-page .pp-vimg-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 0;
	overflow: hidden;
	border-radius: 10px;
	background-color: #ffffff;
	color: var(--pp-muted);
}
.pp-page .pp-vimg img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;                /* the whole picture, square */
}
.pp-page .pp-vtext {
	flex: 1 1 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 2px 10px;
	min-width: 0;
	font-size: calc(11.5px * var(--pp-k));
	line-height: 1.5;
	color: var(--pp-ink);
}
.pp-page .pp-vattr {
	white-space: nowrap;                /* "option: value" stays on one line */
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
}
.pp-page .pp-vkey {
	color: var(--pp-muted);
}
.pp-page .pp-vattr b {
	font-weight: 800;
}
.pp-page .pp-vprice {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	max-width: 45%;
	text-align: end;
	line-height: 1.3;
}
.pp-page .pp-vprice b {
	font-size: calc(13px * var(--pp-k));
	font-weight: 800;
	color: var(--pp-ink);
	white-space: nowrap;
}
.pp-page .pp-vprice b.is-sale {
	color: var(--pp-sale, #c4302f);
}
.pp-page .pp-vprice del {
	font-size: var(--pp-fs-xxs);
	color: var(--pp-muted);
	white-space: nowrap;
}
/* ---------- Reviews card ---------- */
.inside-page-container.pp-page .pp-reviews.product-reviews,
.pp-page .pp-reviews.product-reviews {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: var(--pp-card-pad);
	background-color: var(--reviews-bgcolor, #fff);
}
.pp-page .pp-reviews .pp-card-title,
.pp-page .pp-reviews .pp-card-title span {
	color: var(--pp-ink);
	font-size: var(--pp-fs-card-title);
	font-weight: 800;
}
.pp-page .pp-reviews .btn-add-review,
.pp-page .pp-questions .btn-add-question.collapsed,
.pp-page .pp-questions .add-question-button .btn-add-question {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	height: 36px;
	margin: 0;
	padding: 0 12px;
	border: 0;
	border-radius: 999px;
	background-color: var(--pp-soft-1);
	color: var(--pp-accent);
	font-size: calc(11.5px * var(--pp-k));
	font-weight: var(--w-btn);
	box-shadow: none;
}
.pp-page .pp-reviews .btn-add-review span,
.pp-page .pp-questions .add-question-button .btn-add-question span {
	font-size: inherit;
	color: inherit;
}
.pp-page .pp-reviews .btn-add-review .pp-ic,
.pp-page .pp-questions .add-question-button .btn-add-question .pp-ic {
	color: currentColor;
}
/* summary */
.pp-page .pp-reviews-summary {
	display: flex;
	align-items: center;
	gap: 12px;
}
.pp-page .pp-reviews-summary.no-reviews {
	display: block;
}
.inside-page-container.pp-page .pp-reviews .rating-number {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex: 0 0 76px;
	height: 76px;
	margin: 0;
	padding: 4px;
	border-radius: 16px;
	background-color: var(--pp-sub);
	text-align: center;
}
.inside-page-container.pp-page .pp-reviews .rating-number.no-reviews {
	height: auto;
	padding: 10px;
	border-radius: 12px;
}
.pp-page .pp-reviews .rating-number .rating-average {
	min-width: 0;
	margin: 0;
	color: var(--pp-ink);
	font-size: calc(24px * var(--pp-k)) !important; /* legacy !important (product-details.css .rating-average) */
	font-weight: 800 !important; /* legacy !important (product-details.css .rating-average) */
	line-height: 1;
}
.pp-page .pp-reviews .rating-number .count,
.pp-page .pp-reviews .rating-number .count span {
	margin: 2px 0 0;
	font-size: calc(9.5px * var(--pp-k));
	font-weight: 400;
	color: var(--pp-muted);
}
.pp-page .pp-reviews .rating-number .no-review.count {
	font-size: calc(11.5px * var(--pp-k));
}
.inside-page-container.pp-page .pp-reviews .rating-stars-block {
	position: relative;
	display: inline-block;
	width: auto;
	margin: 4px 0 0;
}
.inside-page-container.pp-page .pp-reviews .rating-stars-block .rating-summary {
	display: flex;
	gap: 1px;
	margin: 0;
	padding: 0;
}
.inside-page-container.pp-page .pp-reviews .rating-stars-block .active-stars-block {
	position: absolute;
	top: 0;
	inset-inline-start: 0;
	overflow: hidden;
	height: 100%;
}
.inside-page-container.pp-page .pp-reviews .rating.rating-summary .star-icon {
	margin: 0;
	color: #e3e5ea;
}
.inside-page-container.pp-page .pp-reviews .rating.rating-summary .star-icon.active {
	color: var(--pp-star);
}
.pp-page .pp-reviews .reviews-break-down-div {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	padding: 0;
}
.pp-page .pp-reviews .rate-bar-block {
	width: 100%;
	margin: 0;
	border: 0;
	background: none;
}
.pp-page .pp-reviews .rate-bar-block tr,
.pp-page .pp-reviews .rate-bar-block td {
	padding: 2px 0;
	border: 0;
	background: none;
	font-size: var(--pp-fs-xxs);
	color: var(--pp-muted);
	vertical-align: middle;
}
.pp-page .pp-reviews .rate-bar-block .count-r {
	width: 14px;
	padding-inline-end: 6px;
}
.pp-page .pp-reviews .rate-bar-block .rating-label {
	width: 22px;
	padding-inline-start: 6px;
	text-align: end;
}
.pp-page .pp-reviews .rate-bar-block .rating-label span {
	color: inherit;
	font-size: inherit;
}
.pp-page .pp-reviews .rate-bar-block .bar-container {
	height: 5px;
	margin: 0;
	border-radius: 999px;
	background-color: #eef0f3;
	overflow: hidden;
}
.pp-page .pp-reviews .rate-bar-block .bar-container > div {
	height: 100%;
	border-radius: 999px;
	background-color: var(--pp-star);
}

.pp-page .pp-reviews textarea.form-control,
.pp-page .pp-questions textarea.form-control,
.pp-page .pp-questions input.form-control {
	width: 100%;
	min-height: 42px;
	padding: 10px 12px;
	border: 1px solid var(--pp-line);
	border-radius: 12px;
	background-color: #fff;
	color: var(--pp-ink);
	font-size: var(--pp-fs-body);
	box-shadow: none;
}
.pp-page .pp-reviews textarea.form-control {
	border: 0;
	min-height: 84px;
}
.pp-page .pp-reviews .add-review-form-checkbox,
.pp-page .pp-questions .checkbox-container {
	margin: 0;
	font-size: var(--pp-fs-sm);
}
.pp-page .pp-reviews .add-review-form-checkbox .form-group {
	margin: 0;
}
.pp-page .pp-reviews .add-review-form-checkbox label {
	min-height: 32px;
	align-items: center;
	margin: 0;
}
.pp-page .pp-reviews .add-review-form-checkbox .custom-checkbox-label > span,
.pp-page .pp-questions .custom-checkbox-label > span {
	font-size: var(--pp-fs-sm);
	color: var(--pp-ink);
}
.pp-page .pp-reviews .bottom-buttons {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
}

/* review list */
.pp-page .pp-reviews .reviews-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}
.pp-page .pp-reviews .pp-subtitle {
	display: flex;
	align-items: center;
	gap: 5px;
	margin: 4px 0 0;
	font-size: calc(13px * var(--pp-k));
	font-weight: 800;
	color: var(--pp-ink);
}
.pp-page .pp-reviews .pp-subtitle span {
	font-size: inherit;
	color: inherit;
}
.pp-page .pp-reviews .pp-subtitle .pp-ic {
	color: var(--pp-accent);
}
.pp-page .pp-reviews .comment-section {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
}

.pp-page .pp-reviews .load-more,
.pp-page .pp-questions .load-more {
	display: flex;
	justify-content: center;
	margin: 0;
	padding: 0;
}
.pp-page .pp-questions .load-more.d-none {
	display: none !important; /* legacy !important (bootstrap .d-none) */
}
.pp-page .pp-reviews .load-more-reviews,
.pp-page .pp-questions .load-more-questions {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: auto;
	height: 36px;
	margin: 0;
	padding: 0 16px;
	border: 1px solid var(--pp-line);
	border-radius: 999px;
	background-color: #fff;
	color: var(--pp-ink);
	font-size: calc(11.5px * var(--pp-k));
	font-weight: var(--w-btn);
}
.pp-page .pp-reviews .load-more-reviews.d-none {
	display: none !important; /* legacy !important (bootstrap .d-none) */
}
.pp-page .pp-reviews .load-more-reviews span,
.pp-page .pp-questions .load-more-questions span {
	font-size: inherit;
	color: inherit;
}

.pp-page .pp-questions .user-review-date {
	flex: 0 0 auto;
	margin: 0;
	font-size: var(--pp-fs-xxs);
	color: var(--pp-muted);
}

/* customer text: keep the customer's line breaks,
.pp-page .pp-qa .question-text,
.pp-page .pp-qa .answer-text {
	white-space: pre-line;
	overflow-wrap: anywhere;
	word-break: normal;
	min-width: 0;
	max-width: 100%;
}

/* question card (built by JS: ppRenderQuestion) */
.pp-page .pp-qa {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	gap: 6px 8px;
	align-items: start;
}
.pp-page .pp-qa-mark {
	font-size: calc(13px * var(--pp-k));
	font-weight: 800;
	line-height: 1.5;
	color: var(--pp-accent);
}
.pp-page .pp-qa-mark--answer {
	color: var(--pp-muted);
}
.pp-page .pp-qa-content {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.pp-page .pp-qa .question-text {
	margin: 0;
	font-size: var(--pp-fs-text);
	font-weight: 800;
	line-height: 1.6;
	color: var(--pp-ink);
	text-align: start;
	overflow-wrap: anywhere;
}
.pp-page .pp-qa .answer-text {
	margin: 0;
	font-size: var(--pp-fs-text);
	line-height: 1.7;
	color: var(--pp-ink);
	text-align: start;
	overflow-wrap: anywhere;
}
.pp-page .pp-qa-meta {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0;
	font-size: var(--pp-fs-xxs);
	color: var(--pp-muted);
}
.pp-page .pp-qa-meta .customer-name {
	font-size: inherit;
	color: inherit;
}
.pp-page .pp-qa-meta .user-icon {
	margin: 0;
}

/* Buy-now / Apple Pay wrapper with nothing visible: collapse without hiding (so it can still be measured) */
.pp-page .pp-alt-buy > .pp-collapsed {
	flex: 0 0 0;
	width: 0;
	min-width: 0;
	min-height: 0;
	margin-inline-start: -6px;
	overflow: hidden;
}

/* ---------- Questions card ---------- */
.inside-page-container.pp-page .pp-questions.product-questions,
.pp-page .pp-questions.product-questions {
	margin: 0;
	padding: var(--pp-card-pad);
	background-color: #fff;
}
.pp-page .pp-questions #faq-text-questions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.pp-page .pp-questions .add-question-button {
	display: block;
	margin: 0;
	padding: 0;
}
.pp-page .pp-questions .no-questions {
	display: none;
	margin-top: -4px;
	font-size: var(--pp-fs-sm);
	color: var(--pp-muted);
}
.pp-page .pp-questions.pp-no-questions .no-questions {
	display: block;
}
.pp-page .pp-questions .add-question {
	margin: 0;
	text-align: start;
}

.pp-page .pp-questions .questions-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
}
.pp-page .pp-questions .questions-list.d-none {
	display: none !important; /* legacy !important (bootstrap .d-none) */
}
.pp-page .pp-questions .questions-list .card-question {
	margin: 0;
	padding: 10px 0 0;
	border: 0;
	border-top: 2px dashed var(--pp-line);
	border-radius: 0;
	background: none;
	box-shadow: none;
}
.pp-page .pp-questions .questions-list .card-question .card-body {
	padding: 0;
}

/* ---------- Related products ("You may also like") ---------- */
.pp-page .pp-related {
	min-width: 0;
}
.pp-page .pp-related .related-products-block {
	margin: 0;
	padding: 0;
}
.pp-page .pp-related .title-block {
	margin: 0 0 8px;
	padding: 0 6px;
	gap: 6px;
}
.pp-page .pp-related .title-block .description-title,
.pp-page .pp-related .title-block .description-title span {
	margin: 0;
	padding: 0;
	font-size: var(--pp-fs-card-title);
	font-weight: 800;
	color: var(--pp-ink);
}
.pp-page .pp-related .related-products {
	margin: 0;
	padding: 0;
}
.pp-page .pp-related .related-products .products-slider,
.pp-page .pp-related #related-products.products-list {
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-start;
	gap: 8px;
	width: auto !important;             /* legacy !important (.row / .products-list width): the negative margins widen it */
	max-width: none !important;
	margin: 0 calc(var(--pp-page-pad) * -1) !important; /* legacy !important (style.css .related-products .products-slider margin-bottom) */
	padding: 0 0 2px;
	overflow-x: auto;
	scrollbar-width: none;
	scroll-padding-inline: var(--pp-page-pad);
}
/* the page padding at both ends of the strip (a scroll box does not keep its end padding everywhere): spacers */
.pp-page .pp-related #related-products.products-list::before,
.pp-page .pp-related #related-products.products-list::after {
	content: "";
	display: block;
	flex: 0 0 calc(var(--pp-page-pad) - 8px);
	width: calc(var(--pp-page-pad) - 8px);
	height: 1px;
}
.pp-page .pp-related #related-products::-webkit-scrollbar {
	display: none;
}
.pp-page .pp-related #related-products .move-icon {
	display: none !important; /* legacy !important (bootstrap .d-flex added by SortSliders) */
}
.pp-page .pp-related #related-products > .product-item-slide,
.pp-page .pp-related .related-products-block .products-list > div.col-6 {
	flex: 0 0 calc(138px * var(--pp-k));
	width: calc(138px * var(--pp-k));
	max-width: calc(138px * var(--pp-k)) !important; /* legacy !important (style.css .related-products-block .products-list > div.col-6) */
	margin: 0;
	padding: 0;
}
/* product card inside the product page only (product-card.jinja untouched) */

/* rem-based legacy card text -> px (html is 20px from 800px up) */

/* =====================================================================
   Tablet (>= 768px) and desktop (>= 1024px)
   ===================================================================== */
@media (min-width: 768px) {
	body.product-view .pp-page.container {
		display: block;
		padding-top: 0;
	}
	.pp-page .pp-topbar {
		padding: 14px 0 12px;
	}
	.pp-page .pp-top {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: stretch;
		gap: 14px 20px;
	}
	.pp-page .pp-col-a,
	.pp-page .pp-col-b {
		display: flex;
		flex-direction: column;
		gap: 14px;
		min-width: 0;
	}
	.pp-page .pp-media {
		padding-bottom: var(--pp-card-pad);
		border-radius: 22px;
	}
	.pp-page .pp-info {
		margin-top: 0;
		padding-top: var(--pp-card-pad);
		border-radius: 22px;
	}
	.pp-page .pp-info::before,
	.pp-page .pp-info::after {
		display: none;
	}
	.pp-page .pp-details {
		flex: 1 1 auto;                 /* stretches until both columns are equal */
	}
	.pp-page .pp-extra {
		padding: 0 4px;
	}
	.pp-page .pp-masonry {
		display: block;
		column-count: 2;
		column-gap: 20px;
		margin-top: 14px;
	}
	.pp-page .pp-masonry > .pp-block {
		display: flex;
		flex-direction: column;
		width: 100%;
		margin-bottom: 14px;
		break-inside: avoid;
		-webkit-column-break-inside: avoid;
		page-break-inside: avoid;
	}
	.pp-page .pp-masonry > .pp-coupons {
		display: none;
	}
	.pp-page .pp-masonry > .pp-coupons.pp-has-content {
		display: flex;
		flex-direction: column;
		margin-inline: 0;
		padding: 0;
		overflow: visible;
	}
	.pp-page .pp-coupon.pp-has-content {
		max-width: 100%;
		flex: 1 1 100%;
	}
	.pp-page .pp-related {
		margin-top: 0;
	}
	.pp-page .pp-related .related-products .products-slider,
	.pp-page .pp-related #related-products.products-list {
		margin: 0 !important; /* legacy !important (style.css .related-products .products-slider margin-bottom) */
		padding: 0 0 2px;
	}
	.pp-page .pp-related #related-products.products-list::before,
	.pp-page .pp-related #related-products.products-list::after {
		display: none;                  /* the strip sits inside the page's column here */
	}
	.pp-page .pp-related .title-block {
		padding: 0 4px;
	}
}

/* =====================================================================
   Floating cart bar (#sticky-container.pp-sticky) — outside .pp-page
   Show / hide logic untouched: .open is toggled by the IntersectionObserver.
   ===================================================================== */
body.product-view .pp-sticky.sticky-cart {
	display: block;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	padding: 0 12px max(14px, env(safe-area-inset-bottom));
	border-radius: 0;
	background: none;
	box-shadow: none;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	color: var(--pp-ink);
	font-size: var(--pp-fs-body);
	pointer-events: none;
	transform: translateY(calc(100% + 24px));
}
body.product-view .pp-sticky.sticky-cart.open {
	transform: none;
	background: none;
	box-shadow: none;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	border: 0;
}
body.product-view .pp-sticky .sticky-cart-block {
	pointer-events: auto;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	width: 100%;
	max-width: 620px;
	margin: 0 auto;
	padding: 6px;
	border-radius: 999px;
	background-color: #fff;
	box-shadow: 0 10px 30px rgba(18, 24, 38, .16);
}
body.product-view .pp-sticky.sticky-cart.out-stock .sticky-cart-block {
	display: none;
}
/* legacy rule forces rtl in ltr */
body.product-view.ltr .pp-sticky.sticky-cart.in-stock .sticky-cart-block {
	direction: ltr;
}
body.product-view .pp-sticky .pp-sticky-info {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 8px;
	padding-inline-start: 8px;
}
body.product-view .pp-sticky .pp-sticky-swatch {
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background-size: cover;
	background-position: center;
	box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px #e3e5ea;
}
body.product-view .pp-sticky .pp-sticky-swatch.d-none {
	display: none;
}
body.product-view .pp-sticky .pp-sticky-text {
	min-width: 0;
	display: flex;
	flex-direction: column;
}
body.product-view .pp-sticky .pp-sticky-variant {
	font-size: var(--pp-fs-xxs);
	color: var(--pp-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
body.product-view .pp-sticky .mini-price,
body.product-view .pp-sticky.sticky-cart.sticky-apple-pay .mini-price {
	display: block;
	margin: 0;
	padding: 0;
	background: none;
	color: var(--pp-ink);
	font-size: calc(13.5px * var(--pp-k));
	font-weight: 800;
	line-height: 1.25;
	white-space: nowrap;
	direction: inherit;
}
body.product-view .pp-sticky.sticky-cart button.btn-add-cart,
body.product-view .pp-sticky.sticky-cart.sticky-apple-pay .sticky-cart-block button.btn-add-cart {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: auto;
	height: 44px;
	margin: 0 !important; /* legacy !important (style.css .sticky-apple-pay button.btn-add-cart) */
	padding: 0 18px !important; /* legacy !important (style.css .sticky-apple-pay button.btn-add-cart) */
	border: 0;
	border-radius: 999px;
	background-color: var(--pp-btn);
	color: var(--second-color, #fff);
	font-size: calc(13px * var(--pp-k)) !important; /* legacy !important (style.css .sticky-cart button.btn-add-cart) */
	font-weight: var(--w-btn);
	white-space: nowrap;
}
body.product-view .pp-sticky.sticky-cart button.btn-add-cart .text {
	margin: 0;
	font-size: inherit;
	color: inherit;
}
body.product-view .pp-sticky.sticky-cart.sticky-apple-pay .sticky-cart-block .applepay-btn,
body.product-view .pp-sticky .applepay-btn {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: auto;
	height: 44px;
	border-radius: 999px;
	overflow: hidden;
	background-color: #000;
}
body.product-view .pp-sticky .applepay-btn:empty {
	display: none;
}
body.product-view .pp-sticky.sticky-cart.sticky-apple-pay .sticky-cart-block .applepay-btn .buy {
	height: 44px !important; /* legacy !important (style.css .sticky-apple-pay .applepay-btn .buy) */
}
/* out of stock: calm pill button (not disabled, still scrolls to the notify form) */
body.product-view .pp-sticky.sticky-cart.out-stock .sticky-notification-block {
	pointer-events: auto;
	display: flex;
	max-width: 620px;
	margin: 0 auto;
	padding: 0;
}
body.product-view .pp-sticky .section-out-of-stock-notify-me {
	width: 100%;
	padding: 0;
}
body.product-view .pp-sticky .sticky-notification-block .btn-out-stock {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 48px;
	margin: 0;
	border: 0;
	border-radius: 999px;
	background-color: #e7e9ee;
	color: var(--pp-muted);
	font-size: calc(13px * var(--pp-k));
	font-weight: var(--w-btn);
	box-shadow: 0 10px 30px rgba(18, 24, 38, .12);
}
body.product-view .pp-sticky .sticky-notification-block .btn-out-stock span {
	font-size: inherit;
	color: inherit;
}

/* ---------- PhotoSwipe controls (markup lives in product.jinja) ---------- */
#pswp-custom .pswp-custom__button--arrow--left,
#pswp-custom .pswp-custom__button--arrow--right,
#pswp-custom .pswp-custom__button--close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: #fff;
	color: #121826;
	opacity: 1;
}
#pswp-custom .pswp-custom__button--arrow--left::before,
#pswp-custom .pswp-custom__button--arrow--right::before {
	content: none;
	display: none;
	background: none;
}

/* wishlist heart on the gallery: outline, filled once added (same switch as before: .is-added) */
.pp-page .pp-media-actions .wishlist-buttons .pp-ic-heart-on {
	display: none;
}
.pp-page .pp-media-actions .wishlist-buttons.is-added .pp-ic-heart {
	display: none;
}
.pp-page .pp-media-actions .wishlist-buttons.is-added .pp-ic-heart-on {
	display: inline-block;
}
.pp-page .pp-media-actions .wishlist-buttons.is-loading .pp-ic-heart {
	opacity: 0;
}

/* =====================================================================
   Preorder card (drawn by the theme from the campaign, product.jinja .pp-po) and bundle packs (.pp-packs) in
   the order card. Zid's countdown component (.pp-po-zid) is only shown when the end date cannot be read.
   ===================================================================== */
.pp-page .pp-po {
	margin: 4px 0 0;
	padding: 12px;
	border-radius: 18px;
	background-color: var(--pp-soft, #f1f6fe);
	background-color: color-mix(in srgb, var(--primary-color, #3b82f6) 7%, #fff);
	color: var(--pp-ink, #121826);
}
.pp-page .pp-po[hidden],
.pp-page .pp-po-zid[hidden] {
	display: none;
}
.pp-page .product-main-block:not(.preorder-product) .pp-po:not(.is-full) {
	display: none;                      /* the selected variant is not on preorder (product.jinja toggles the class) */
}
.pp-page .pp-po-line {
	display: flex;
	align-items: center;
	gap: 10px;
}
.pp-page .pp-po-ic {
	flex: 0 0 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background-color: #fff;
	color: var(--pp-accent, #3b82f6);
}
.pp-page .pp-po-t {
	flex: 1 1 auto;
	min-width: 0;
}
.pp-page .pp-po-badge {
	display: block;
	font-size: 13.5px;
	font-weight: var(--w-badge);
	line-height: 1.4;
}
.pp-page .pp-po-ends {
	display: block;
	font-size: 11px;
	color: var(--pp-muted, #667085);
	line-height: 1.5;
}
.pp-page .pp-po-ends.is-now {
	color: var(--pp-accent, #3b82f6);
	font-weight: 700;
}
.pp-page .pp-po-cd {
	flex: 0 0 auto;
	display: flex;
	gap: 4px;
	direction: rtl;
}
.pp-page .pp-po-cd > span {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 40px;
	border-radius: 11px;
	background-color: #fff;
	color: var(--pp-ink, #121826);
	line-height: 1.1;
}
.pp-page .pp-po-cd b {
	font-size: 15px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}
.pp-page .pp-po-cd small {
	font-size: 8.5px;
	opacity: .7;
}
.pp-page .pp-po-note {
	display: flex;
	gap: 6px;
	margin: 10px 0 0;
	padding-top: 10px;
	border-top: 1px solid color-mix(in srgb, var(--primary-color, #3b82f6) 16%, #fff);
	font-size: 11.5px;
	line-height: 1.7;
	color: #3d4a63;
}
.pp-page .pp-po-note > .ico {
	flex: 0 0 auto;
	margin-top: 4px;
}
.pp-page .pp-po.is-full {
	display: flex;
	align-items: center;
	gap: 10px;
	background-color: #f5f6f8;
}
.pp-page .pp-po.is-full .pp-po-ic {
	color: var(--pp-muted, #667085);
}
.pp-page .pp-po-text b {
	display: block;
	font-size: 13px;
	font-weight: 800;
}
.pp-page .pp-po-text small {
	display: block;
	font-size: 11.5px;
	color: var(--pp-muted, #667085);
}
@media (max-width: 359.98px) {
	.pp-page .pp-po-line {
		flex-wrap: wrap;
	}
	.pp-page .pp-po-cd {
		width: 100%;
		justify-content: center;
	}
}

/* bundle packs */
.pp-page .pp-packs {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 4px 0 0;
}
.pp-page .pp-packs-head {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 800;
}
.pp-page .pp-packs-head > b {
	flex: 1 1 auto;
	min-width: 0;
}
.pp-page .pp-packs-ends {
	display: inline-flex;
	align-items: center;
	height: 22px;
	padding: 0 9px;
	border-radius: 999px;
	background-color: #fff4dc;
	color: #9a6200;
	font-size: 10.5px;
	font-weight: 800;
	white-space: nowrap;
}
.pp-page .pp-packs-ends[hidden] {
	display: none;
}
.pp-page .pp-pack {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 12px;
	border: 0;
	border-radius: 16px;
	background-color: #fff;
	box-shadow: inset 0 0 0 1px #eceef2;
	color: var(--pp-ink, #121826);
	font-family: inherit;
	text-align: start;
	cursor: pointer;
}
.pp-page .pp-pack.is-on {
	background-color: color-mix(in srgb, var(--primary-color, #3b82f6) 7%, #fff);
	box-shadow: inset 0 0 0 2px var(--pp-accent, #3b82f6);
}
.pp-page .pp-pack-tag {
	position: absolute;
	top: -9px;
	inset-inline-end: 14px;
	display: inline-flex;
	align-items: center;
	height: 18px;
	padding: 0 9px;
	border-radius: 999px;
	background-color: var(--pp-accent, #3b82f6);
	color: var(--second-color, #fff);
	font-size: 9.5px;
	font-weight: 800;
	white-space: nowrap;
}
.pp-page .pp-pack-dot {
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background-color: #fff;
	box-shadow: inset 0 0 0 2px #d5dae3;
}
.pp-page .pp-pack.is-on .pp-pack-dot {
	box-shadow: inset 0 0 0 6px var(--pp-accent, #3b82f6);
}
.pp-page .pp-pack-text {
	flex: 1 1 0;
	min-width: 0;
}
.pp-page .pp-pack-text b {
	display: block;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.4;
}
.pp-page .pp-pack-text small {
	display: block;
	font-size: 11px;
	color: var(--pp-muted, #667085);
}
.pp-page .pp-pack.is-best .pp-pack-text small {
	color: #15803d;
	font-weight: 700;
}
.pp-page .pp-pack-price {
	flex: 0 0 auto;
	text-align: end;
	font-size: 14.5px;
	font-weight: 800;
	white-space: nowrap;
}
.pp-page .pp-pack-price del {
	display: block;
	font-size: 10.5px;
	font-weight: 400;
	color: var(--pp-muted, #667085);
}
.pp-page .pp-pack-price del:empty {
	display: none;
}
.pp-page .pp-pack-gift {
	flex: 0 0 100%;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px;
	border-radius: 13px;
	background-color: #fff;
}
.pp-page .pp-pack-gift-img {
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background-color: #e6eefb;
	overflow: hidden;
}
.pp-page .pp-pack-gift-img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.pp-page .pp-pack-gift-name {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 11.5px;
	line-height: 1.5;
}
.pp-page .pp-pack-gift-name del {
	margin-inline: 6px;
	font-size: 10.5px;
	color: var(--pp-muted, #667085);
}
.pp-page .pp-pack-free {
	display: inline-flex;
	align-items: center;
	height: 18px;
	padding: 0 7px;
	border-radius: 999px;
	background-color: #e8f6ec;
	color: #15803d;
	font-size: 10px;
	font-weight: 800;
}
.pp-page .pp-bill-offer-row .pp-bill-offer {
	color: #15803d;
	font-weight: 800;
}
.pp-page .pp-bill-offer-row.d-none {
	display: none;
}
/* explicit weights: a legacy rule sets the order card's <b> to regular */
.pp-page .pp-packs-head > b,
.pp-page .pp-pack-price b,
.pp-page .pp-po-cd b,
.pp-page .pp-po-badge,
.pp-page .pp-po-text b {
	font-weight: 800;
}
/* preorder card states: with / without a countdown, waiting for the second source (no flash), bookings left */
.pp-page .pp-po.is-wait {
	display: none;
}
.pp-page .pp-po:not(.has-cd) .pp-po-cd,
.pp-page .pp-po:not(.has-cd) .pp-po-ends.is-cd,
.pp-page .pp-po.has-cd .pp-po-ends.is-now {
	display: none;
}
.pp-page .pp-po-left-wrap {
	display: flex;
	margin-top: 8px;
}
.pp-page .pp-po-left-wrap[hidden] {
	display: none;
}
.pp-page .pp-po-left {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	height: 22px;
	padding: 0 9px;
	border-radius: 999px;
	background-color: #fff4dc;
	color: #9a6200;
	font-size: 10.5px;
	font-weight: 800;
	white-space: nowrap;
}
