:root {
	--memoryz-accent: #ff8a00;
	--memoryz-accent-dark: #c96800;
	--memoryz-ink: #222;
	--memoryz-muted: #666;
	--memoryz-line: #e3e3e3;
	--memoryz-soft: #fff8ef;
}

body.memoryz-reviews-open {
	overflow: hidden;
}

.memoryz-photo-preview {
	box-sizing: border-box;
	margin: 14px 0 10px;
	padding: 14px;
	border: 1px solid #f0c88f;
	border-radius: 12px;
	background: linear-gradient(135deg, #fff 0%, var(--memoryz-soft) 100%);
}

.memoryz-photo-preview__title {
	display: block;
	margin: 0 0 10px;
	color: var(--memoryz-ink);
	font-size: 14px;
	font-weight: 800;
}

.memoryz-photo-preview__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 12px;
}

.memoryz-photo-preview__item {
	display: grid;
	grid-template-columns: minmax(96px, 150px) minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	min-width: 0;
	margin: 0;
}

.memoryz-photo-preview__item img {
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: 120px;
	border: 1px solid #ddd;
	border-radius: 9px;
	background: #fff;
	object-fit: contain;
}

.memoryz-photo-preview__item figcaption {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 5px;
}

.memoryz-photo-preview__item figcaption span {
	overflow: hidden;
	color: var(--memoryz-ink);
	font-size: 13px;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.memoryz-photo-preview__item figcaption small {
	color: #39744b;
	font-size: 12px;
	font-weight: 700;
}

.memoryz-photo-preview__fallback {
	display: flex;
	box-sizing: border-box;
	min-height: 120px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 12px;
	border: 1px dashed #d7a45d;
	border-radius: 9px;
	background: #fff;
	text-align: center;
}

.memoryz-photo-preview__fallback > span {
	display: inline-flex;
	width: 28px;
	height: 28px;
	align-items: center;
	justify-content: center;
	margin-bottom: 6px;
	border-radius: 50%;
	background: #e8f6ec;
	color: #39744b;
	font-weight: 800;
}

.memoryz-photo-preview__fallback small {
	margin-top: 4px;
	color: var(--memoryz-muted);
	font-size: 11px;
}

/* The live price is mirrored in the sticky product panel. Keep the original
 * Gravity Forms price field as the calculation source, but do not show the
 * duplicate blue price box. */
.memoryz-original-price-field {
	display: none !important;
}

.memoryz-product-reviews {
	display: block !important;
	clear: both;
	box-sizing: border-box;
	width: 100%;
	margin: 24px 0 0;
	padding: 22px;
	border: 1px solid var(--memoryz-line);
	border-radius: 14px;
	background: #fff;
	color: var(--memoryz-ink);
	box-shadow: 0 8px 26px rgba(0, 0, 0, .07);
}

body.single-product div.product > .memoryz-product-reviews {
	float: none !important;
	clear: both !important;
	flex: 0 0 100%;
	max-width: 100%;
}

.memoryz-product-reviews__intro {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
	align-items: center;
}

.memoryz-product-reviews__eyebrow {
	margin: 0 0 6px !important;
	color: var(--memoryz-accent-dark) !important;
	font-size: 13px !important;
	font-weight: 800 !important;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.memoryz-product-reviews h2 {
	margin: 0 0 8px !important;
	color: var(--memoryz-ink) !important;
	font-size: clamp(22px, 2vw, 30px) !important;
	line-height: 1.18 !important;
}

.memoryz-product-reviews__intro p:not(.memoryz-product-reviews__eyebrow) {
	margin: 0 !important;
	color: var(--memoryz-muted) !important;
	font-size: 15px !important;
	line-height: 1.5 !important;
}

.memoryz-rating-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	box-sizing: border-box;
	padding: 15px 17px;
	border: 1px solid #f2d4ad;
	border-radius: 12px;
	background: linear-gradient(135deg, #fff 0%, var(--memoryz-soft) 100%);
}

.memoryz-rating-card__stars,
.memoryz-reviews-modal__stars,
.memoryz-review-card__stars,
.memoryz-gallery-rating__stars {
	color: #f3a500;
	font-family: Arial, sans-serif;
	font-size: 19px;
	letter-spacing: 1px;
	line-height: 1;
}

.memoryz-rating-card strong {
	margin-top: 7px;
	font-size: 20px;
	line-height: 1.2;
}

.memoryz-rating-card span,
.memoryz-rating-card small {
	margin-top: 4px;
	color: var(--memoryz-muted);
	font-size: 12px;
	line-height: 1.35;
}

.memoryz-product-reviews__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 12px;
	margin-top: 20px;
}

.memoryz-review-card {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	min-width: 0;
	padding: 16px;
	border: 1px solid var(--memoryz-line);
	border-radius: 10px;
	background: #fff;
}

.memoryz-review-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 9px;
}

.memoryz-review-card__meta time {
	color: #777;
	font-size: 12px;
	white-space: nowrap;
}

.memoryz-review-card h3 {
	margin: 0 0 7px !important;
	color: var(--memoryz-ink) !important;
	font-size: 16px !important;
	line-height: 1.35 !important;
}

.memoryz-review-card p {
	display: -webkit-box;
	margin: 0 !important;
	color: #3f3f3f !important;
	font-size: 14px !important;
	line-height: 1.5 !important;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 5;
	overflow: hidden;
}

.memoryz-review-card__verified {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: auto;
	padding-top: 12px;
	color: #39744b;
	font-size: 12px;
	font-weight: 700;
}

.memoryz-review-card__verified::before {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 17px;
	height: 17px;
	border-radius: 50%;
	background: #e8f6ec;
	content: "✓";
}

.memoryz-review-loading {
	grid-column: 1 / -1;
	padding: 22px;
	border-radius: 10px;
	background: #f7f7f7;
	color: var(--memoryz-muted);
	text-align: center;
}

.memoryz-product-reviews__actions {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px 18px;
	margin-top: 18px;
}

.memoryz-review-button,
.memoryz-review-method-link {
	appearance: none;
	-webkit-appearance: none;
	border: 0;
	font: inherit;
	cursor: pointer;
}

.memoryz-review-button {
	padding: 12px 18px;
	border-radius: 8px;
	background: var(--memoryz-accent);
	color: #111;
	font-size: 14px;
	font-weight: 800;
}

.memoryz-review-button:hover,
.memoryz-review-button:focus-visible {
	background: #f29a2e;
}

.memoryz-review-method-link {
	padding: 7px 0;
	background: transparent;
	color: var(--memoryz-accent-dark);
	font-size: 13px;
	font-weight: 700;
	text-decoration: underline;
}

.memoryz-review-method {
	margin-top: 16px;
	padding: 14px 16px;
	border-left: 4px solid var(--memoryz-accent);
	border-radius: 7px;
	background: var(--memoryz-soft);
	font-size: 14px;
	line-height: 1.5;
}

.memoryz-review-method[hidden] {
	display: none !important;
}

.memoryz-review-method p {
	margin: 5px 0 0 !important;
}

.memoryz-gallery-rating {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 12;
	box-sizing: border-box;
	max-width: calc(100% - 28px);
	padding: 9px 12px;
	border: 1px solid rgba(0, 0, 0, .08);
	border-radius: 999px;
	background: rgba(255, 255, 255, .95);
	color: var(--memoryz-ink);
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	box-shadow: 0 5px 16px rgba(0, 0, 0, .12);
	cursor: pointer;
	backdrop-filter: blur(5px);
}

.memoryz-gallery-rating__stars {
	font-size: 15px;
}

.memoryz-sticky-product-head {
	position: sticky;
	top: var(--memoryz-sticky-top, 212px);
	z-index: 40;
	box-sizing: border-box;
	width: 100%;
	margin: 0 0 18px;
	padding: 14px 16px;
	border: 1px solid var(--memoryz-line);
	border-top: 4px solid var(--memoryz-accent);
	border-radius: 10px;
	background: rgba(255, 255, 255, .97);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .09);
	backdrop-filter: blur(8px);
}

.memoryz-sticky-product-head__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
}

.memoryz-sticky-product-head h2 {
	margin: 0 !important;
	color: var(--memoryz-ink) !important;
	font-size: 19px !important;
	line-height: 1.25 !important;
}

.memoryz-sticky-product-head__price {
	color: var(--memoryz-ink);
	font-size: 19px;
	font-weight: 800;
	white-space: nowrap;
}

.memoryz-sticky-product-head__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 12px;
	margin-top: 8px;
	color: #555;
	font-size: 12px;
}

.memoryz-sticky-product-head__trust span::before {
	margin-right: 4px;
	color: var(--memoryz-accent-dark);
	content: "✓";
}

.memoryz-selection-summary {
	margin-top: 9px;
	padding-top: 9px;
	border-top: 1px solid #ededed;
}

.memoryz-selection-summary > strong {
	display: block;
	margin-bottom: 5px;
	font-size: 12px;
	text-transform: uppercase;
}

.memoryz-reviews-modal[hidden] {
	display: none !important;
}

.memoryz-reviews-modal {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: 18px;
}

.memoryz-reviews-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .58);
}

.memoryz-reviews-modal__dialog {
	display: flex;
	flex-direction: column;
	position: relative;
	box-sizing: border-box;
	width: min(920px, 100%);
	max-height: min(860px, calc(100vh - 36px));
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .3);
	overflow: hidden;
}

.memoryz-reviews-modal__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	padding: 19px 22px 15px;
	border-bottom: 1px solid var(--memoryz-line);
}

.memoryz-reviews-modal__header h2 {
	margin: 5px 0 2px !important;
	font-size: 25px !important;
	line-height: 1.2 !important;
}

.memoryz-reviews-modal__header p {
	margin: 0 !important;
	color: var(--memoryz-muted) !important;
	font-size: 13px !important;
}

.memoryz-reviews-modal__close {
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #f1f1f1;
	color: #222;
	font: 400 28px/1 Arial, sans-serif;
	cursor: pointer;
}

.memoryz-reviews-modal__controls {
	display: flex;
	gap: 12px;
	padding: 12px 22px;
	border-bottom: 1px solid var(--memoryz-line);
	background: #fafafa;
}

.memoryz-reviews-modal__controls label {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	font-weight: 700;
}

.memoryz-reviews-modal__controls select {
	min-height: 38px;
	padding: 6px 30px 6px 9px;
	border: 1px solid #ccc;
	border-radius: 7px;
	background: #fff;
	font: inherit;
}

.memoryz-reviews-modal__body {
	min-height: 220px;
	padding: 0 22px 18px;
	overflow-y: auto;
}

.memoryz-reviews-modal__body .memoryz-product-reviews__list {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.memoryz-reviews-modal__body .memoryz-review-card p {
	display: block;
	overflow: visible;
}

.memoryz-reviews-modal__footer {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 12px 22px;
	border-top: 1px solid var(--memoryz-line);
	background: #fafafa;
}

.memoryz-reviews-modal__footer button {
	min-width: 92px;
	padding: 9px 13px;
	border: 1px solid #ccc;
	border-radius: 7px;
	background: #fff;
	color: #222;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}

.memoryz-reviews-modal__footer button:disabled {
	opacity: .45;
	cursor: default;
}

.memoryz-mobile-buybar {
	display: none;
}

@media (min-width: 992px) {
	body.single-product .woocommerce-product-gallery,
	body.single-product div.product .images {
		position: sticky !important;
		top: var(--memoryz-sticky-top, 212px);
		align-self: flex-start;
	}

	body.single-product .woocommerce-product-gallery,
	body.single-product div.product .images,
	body.single-product div.product .summary {
		overflow: visible !important;
	}

	/* Release the gallery before the full-width review block reaches it. */
	body.single-product.memoryz-gallery-released .woocommerce-product-gallery,
	body.single-product.memoryz-gallery-released div.product .images {
		position: relative !important;
		top: auto !important;
	}
}

@media (max-width: 991px) {
	.memoryz-photo-preview__item {
		grid-template-columns: 110px minmax(0, 1fr);
	}

	.memoryz-sticky-product-head {
		position: static;
		margin-top: 8px;
	}

	.memoryz-product-reviews__intro {
		grid-template-columns: 1fr;
	}

	.memoryz-product-reviews__list {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	body.single-product {
		padding-bottom: 78px;
	}

	.memoryz-product-reviews {
		margin-top: 18px;
		padding: 16px;
		border-radius: 11px;
	}

	.memoryz-rating-card {
		width: 100%;
	}

	.memoryz-product-reviews__list .memoryz-review-card:nth-child(n+3) {
		display: none;
	}

	.memoryz-gallery-rating {
		top: 9px;
		left: 9px;
		padding: 8px 10px;
		font-size: 12px;
	}

	.memoryz-sticky-product-head__trust,
	.memoryz-selection-summary {
		display: none;
	}

	.memoryz-reviews-modal {
		align-items: flex-end;
		padding: 0;
	}

	.memoryz-reviews-modal__dialog {
		width: 100%;
		max-height: 92vh;
		border-radius: 16px 16px 0 0;
	}

	.memoryz-reviews-modal__header {
		padding: 16px;
	}

	.memoryz-reviews-modal__header h2 {
		font-size: 21px !important;
	}

	.memoryz-reviews-modal__controls {
		display: grid;
		grid-template-columns: 1fr 1fr;
		padding: 10px 16px;
	}

	.memoryz-reviews-modal__controls label {
		display: block;
	}

	.memoryz-reviews-modal__controls select {
		width: 100%;
		margin-top: 4px;
	}

	.memoryz-reviews-modal__body {
		padding: 0 16px 14px;
	}

	.memoryz-reviews-modal__body .memoryz-product-reviews__list {
		grid-template-columns: 1fr;
	}

	.memoryz-reviews-modal__body .memoryz-review-card:nth-child(n) {
		display: flex;
	}

	.memoryz-mobile-buybar {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 99990;
		box-sizing: border-box;
		min-height: 70px;
		padding: 10px 14px max(10px, env(safe-area-inset-bottom));
		border-top: 1px solid #ddd;
		background: rgba(255, 255, 255, .98);
		box-shadow: 0 -7px 24px rgba(0, 0, 0, .13);
	}

	.memoryz-mobile-buybar div {
		display: flex;
		flex-direction: column;
		min-width: 90px;
	}

	.memoryz-mobile-buybar small {
		color: #666;
		font-size: 11px;
	}

	.memoryz-mobile-buybar strong {
		font-size: 17px;
	}

	.memoryz-mobile-buybar button {
		flex: 1;
		max-width: 260px;
		min-height: 46px;
		padding: 9px 12px;
		border: 0;
		border-radius: 8px;
		background: var(--memoryz-accent);
		color: #111;
		font: inherit;
		font-size: 14px;
		font-weight: 800;
	}
}

/* 3.1.1 refinements */
body.single-product .woocommerce-product-gallery > .memoryz-sticky-product-head,
body.single-product div.product .images > .memoryz-sticky-product-head {
	position: static !important;
	top: auto !important;
	width: 100% !important;
	margin: 16px 0 0 !important;
}

.memoryz-product-intro--replaced {
	display: none !important;
}

.memoryz-configurator-guide {
	display: grid;
	box-sizing: border-box;
	width: 100%;
	gap: 14px;
	margin: 0 0 22px;
	color: var(--memoryz-ink);
	font-family: inherit;
}

.memoryz-configurator-guide__eyebrow {
	margin: 0 0 6px !important;
	color: var(--memoryz-accent-dark) !important;
	font-size: 12px !important;
	font-weight: 800 !important;
	line-height: 1.35 !important;
	letter-spacing: .07em;
	text-transform: uppercase;
}

.memoryz-shape-intro,
.memoryz-origin-card,
.memoryz-order-guide {
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 17px 18px;
	border: 1px solid var(--memoryz-line);
	border-left: 4px solid var(--memoryz-accent);
	border-radius: 10px;
	background: #fff;
}

.memoryz-shape-intro {
	background: linear-gradient(135deg, #fff 0%, #fffaf4 100%);
}

.memoryz-shape-intro h2,
.memoryz-origin-card h3,
.memoryz-order-guide h3 {
	margin: 0 0 8px !important;
	color: var(--memoryz-ink) !important;
	font-family: inherit !important;
	font-weight: 800 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

.memoryz-shape-intro h2 {
	font-size: clamp(22px, 2.2vw, 28px) !important;
	line-height: 1.2 !important;
}

.memoryz-origin-card h3,
.memoryz-order-guide h3 {
	font-size: 19px !important;
	line-height: 1.3 !important;
}

.memoryz-shape-intro > p:last-child,
.memoryz-origin-card > p:last-child {
	margin: 0 !important;
	color: #4c4c4c !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	line-height: 1.58 !important;
}

.memoryz-origin-card {
	background: #fafafa;
}

.memoryz-order-guide {
	padding-bottom: 14px;
}

.memoryz-order-guide ol {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
	margin: 12px 0 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.memoryz-order-guide li {
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
	margin: 0 !important;
	padding: 11px 12px !important;
	border: 1px solid #e7e7e7;
	border-radius: 8px;
	background: #fafafa;
}

.memoryz-order-guide li > span {
	display: inline-flex;
	width: 30px;
	height: 30px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--memoryz-accent);
	color: #171717;
	font-size: 14px;
	font-weight: 800;
}

.memoryz-order-guide li strong {
	display: block;
	margin: 0 0 3px;
	color: #222;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.35;
}

.memoryz-order-guide li strong em {
	display: inline-block;
	margin-left: 5px;
	padding: 2px 6px;
	border-radius: 999px;
	background: var(--memoryz-soft);
	color: var(--memoryz-accent-dark);
	font-size: 10px;
	font-style: normal;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.memoryz-order-guide li p {
	margin: 0 !important;
	color: #555 !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	line-height: 1.48 !important;
}

.memoryz-order-guide__facts {
	margin: 12px 0 0 !important;
	color: #494949 !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 1.5 !important;
	text-align: center;
}

.memoryz-order-guide__facts span {
	padding: 0 4px;
	color: var(--memoryz-accent-dark);
}

body.single-product .image-choices-choice-text {
	font-family: inherit !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1.35 !important;
}

body.single-product .gfield--type-fileupload .memoryz-photo-preview,
.memoryz-photo-preview {
	box-sizing: border-box !important;
	width: 100% !important;
	padding: 16px !important;
}

.memoryz-photo-preview__grid {
	display: grid !important;
	grid-template-columns: 1fr !important;
	gap: 14px !important;
	width: 100% !important;
}

.memoryz-photo-preview__item {
	display: grid !important;
	grid-template-columns: minmax(240px, 320px) minmax(0, 1fr) !important;
	gap: 18px !important;
	align-items: center !important;
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	float: none !important;
}

.memoryz-photo-preview__item img {
	display: block !important;
	box-sizing: border-box !important;
	width: 100% !important;
	height: 300px !important;
	max-width: 320px !important;
	margin: 0 auto !important;
	border-radius: 10px !important;
	object-fit: contain !important;
}

.memoryz-photo-preview__item figcaption {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
}

/* Isolate the reviews from inherited theme floats and column widths. */
body.single-product div.product > .memoryz-product-reviews {
	display: block !important;
	grid-column: 1 / -1 !important;
	float: none !important;
	clear: both !important;
	width: 100% !important;
	max-width: none !important;
}

body.single-product .memoryz-product-reviews > *,
body.single-product .memoryz-product-reviews__intro > *,
body.single-product .memoryz-product-reviews__list > *,
body.single-product .memoryz-product-reviews__actions > * {
	box-sizing: border-box !important;
	float: none !important;
	clear: none !important;
	max-width: none !important;
}

body.single-product .memoryz-product-reviews__intro {
	display: grid !important;
	grid-template-columns: minmax(0, 1.6fr) minmax(270px, .8fr) !important;
	gap: 32px !important;
	align-items: center !important;
	direction: ltr !important;
}

body.single-product .memoryz-product-reviews__intro > * {
	width: auto !important;
	margin: 0 !important;
}

body.single-product .memoryz-product-reviews__list {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 14px !important;
	align-items: stretch !important;
	direction: ltr !important;
}

body.single-product .memoryz-product-reviews__list > .memoryz-review-card {
	display: flex !important;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
}

body.single-product .memoryz-product-reviews__actions {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 12px !important;
}

body.single-product .memoryz-product-reviews__actions > * {
	width: 100% !important;
	margin: 0 !important;
}

@media (max-width: 991px) {
	body.single-product .memoryz-product-reviews__intro,
	body.single-product .memoryz-product-reviews__list {
		grid-template-columns: 1fr !important;
	}

	body.single-product .memoryz-product-reviews__intro {
		gap: 18px !important;
	}

	.memoryz-photo-preview__item {
		grid-template-columns: 1fr !important;
	}

	.memoryz-photo-preview__item img {
		width: 100% !important;
		height: min(76vw, 340px) !important;
		max-width: 100% !important;
	}
}

@media (max-width: 768px) {
	.memoryz-shape-intro,
	.memoryz-origin-card,
	.memoryz-order-guide {
		padding: 15px;
	}

	.memoryz-shape-intro h2 {
		font-size: 22px !important;
	}

	.memoryz-shape-intro > p:last-child,
	.memoryz-origin-card > p:last-child {
		font-size: 15px !important;
	}

	body.single-product .memoryz-product-reviews__actions {
		grid-template-columns: 1fr !important;
	}

	.memoryz-order-guide__facts span {
		display: none;
	}

	.memoryz-order-guide__facts {
		display: grid;
		gap: 3px;
	}
}

@media (max-width: 420px) {
	.memoryz-reviews-modal__controls {
		grid-template-columns: 1fr;
	}

	.memoryz-gallery-rating__stars {
		letter-spacing: 0;
	}

	.memoryz-gallery-rating span:last-child {
		max-width: 120px;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
}

/* 3.1.0: one calm visual system for configuration, upload and reviews. */
body.single-product .summary,
body.single-product .memoryz-product-reviews {
	font-family: inherit;
}

body.single-product .summary .gfield_label,
body.single-product .summary .gform-field-label,
body.single-product .summary .memoryz-montage-legend {
	color: var(--memoryz-ink);
	font-family: inherit;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.35;
	letter-spacing: .01em;
}

body.single-product .summary .single_add_to_cart_button,
body.single-product .summary .gform_footer .gform_button,
body.single-product .summary button[type="submit"] {
	box-sizing: border-box !important;
	width: 100% !important;
	min-height: 50px !important;
	margin: 18px 0 0 !important;
	padding: 13px 18px !important;
	border: 2px solid #111 !important;
	border-radius: 10px !important;
	background: #111 !important;
	color: #fff !important;
	font-family: inherit !important;
	font-size: 16px !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	text-align: center !important;
	box-shadow: none !important;
	transition: background-color .18s ease, border-color .18s ease, transform .18s ease !important;
}

body.single-product .summary .single_add_to_cart_button:hover,
body.single-product .summary .gform_footer .gform_button:hover,
body.single-product .summary button[type="submit"]:hover {
	border-color: #333 !important;
	background: #333 !important;
	transform: translateY(-1px);
}

body.single-product .summary .single_add_to_cart_button:focus-visible,
body.single-product .summary .gform_footer .gform_button:focus-visible,
body.single-product .summary button[type="submit"]:focus-visible,
.memoryz-review-button:focus-visible,
.memoryz-review-method-link:focus-visible,
body.single-product .gform_button_select_files:focus-visible {
	outline: 3px solid rgba(255, 138, 0, .35) !important;
	outline-offset: 3px !important;
}

body.single-product .gfield--type-fileupload,
body.single-product .memoryz-details-field {
	box-sizing: border-box;
	width: 100%;
	margin-top: 18px !important;
}

body.single-product .gfield--type-fileupload .gform_drop_area {
	box-sizing: border-box !important;
	width: 100% !important;
	min-height: 150px !important;
	margin: 8px 0 0 !important;
	padding: 24px 18px !important;
	border: 1px dashed #c9c9c9 !important;
	border-radius: 10px !important;
	background: #fafafa !important;
	color: var(--memoryz-ink) !important;
	font-family: inherit !important;
	text-align: center !important;
}

body.single-product .gform_button_select_files {
	min-height: 42px !important;
	margin: 10px 0 0 !important;
	padding: 10px 17px !important;
	border: 2px solid var(--memoryz-accent) !important;
	border-radius: 9px !important;
	background: #fff !important;
	color: #222 !important;
	font-family: inherit !important;
	font-size: 14px !important;
	font-weight: 800 !important;
	box-shadow: none !important;
}

body.single-product .gform_button_select_files:hover {
	background: var(--memoryz-soft) !important;
}

body.single-product .gfield--type-fileupload .gform_fileupload_rules {
	display: block;
	margin-top: 8px;
	color: var(--memoryz-muted);
	font-size: 12px;
	line-height: 1.4;
}

body.single-product .gfield--type-fileupload .ginput_preview,
body.single-product .gfield--type-fileupload .ginput_preview_list {
	box-sizing: border-box;
	width: 100%;
	margin-top: 10px !important;
	padding: 10px 12px !important;
	border: 1px solid var(--memoryz-line);
	border-radius: 8px;
	background: #fff;
	color: #333;
	font-size: 12px;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

body.single-product .gfield--type-fileupload .ginput_preview {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px 8px;
}

body.single-product .gfield--type-fileupload .ginput_preview > * {
	margin: 0 !important;
}

body.single-product .memoryz-details-field textarea {
	box-sizing: border-box !important;
	width: 100% !important;
	height: 150px !important;
	min-height: 150px !important;
	margin-top: 8px !important;
	padding: 16px !important;
	border: 1px solid #c9c9c9 !important;
	border-radius: 10px !important;
	background: #fafafa !important;
	color: var(--memoryz-ink) !important;
	font-family: inherit !important;
	font-size: 14px !important;
	line-height: 1.5 !important;
	box-shadow: none !important;
}

body.single-product .memoryz-details-field textarea:focus {
	border-color: var(--memoryz-accent) !important;
	background: #fff !important;
	outline: 3px solid rgba(255, 138, 0, .15) !important;
}

.memoryz-photo-preview {
	width: 100%;
	margin: 12px 0 0;
	padding: 12px;
	border-color: var(--memoryz-line);
	border-radius: 10px;
	background: #fff;
}

.memoryz-photo-preview__item img {
	height: 140px;
}

.memoryz-selection-summary > strong {
	margin-bottom: 7px;
	color: var(--memoryz-ink);
	font-size: 11px;
	letter-spacing: .04em;
}

.memoryz-selection-summary__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
	gap: 6px;
}

.memoryz-selection-item {
	display: flex;
	min-width: 0;
	flex-direction: column;
	box-sizing: border-box;
	padding: 6px 8px;
	border: 1px solid #e7e7e7;
	border-radius: 7px;
	background: #f7f7f7;
	line-height: 1.2;
}

.memoryz-selection-item small {
	margin-bottom: 2px;
	color: #747474;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .02em;
	text-transform: uppercase;
}

.memoryz-selection-item strong {
	margin: 0;
	color: #292929;
	font-size: 11px;
	font-weight: 700;
	overflow-wrap: anywhere;
	text-transform: none;
}

.memoryz-selection-item--empty {
	grid-column: 1 / -1;
	color: var(--memoryz-muted);
	font-size: 11px;
}

.memoryz-sticky-product-head__price,
.memoryz-rating-card strong,
.memoryz-review-card__meta time {
	font-variant-numeric: tabular-nums;
}

.memoryz-product-reviews,
.memoryz-product-reviews > *,
.memoryz-product-reviews__intro,
.memoryz-product-reviews__list,
.memoryz-product-reviews__actions,
.memoryz-review-method {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
}

.memoryz-product-reviews {
	grid-column: 1 / -1 !important;
	margin-top: 18px;
	padding: clamp(18px, 3vw, 34px);
}

.memoryz-product-reviews__intro {
	grid-template-columns: minmax(0, 1.6fr) minmax(250px, .8fr);
	gap: clamp(20px, 4vw, 46px);
}

.memoryz-product-reviews__list {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.memoryz-review-card {
	min-height: 210px;
}

.memoryz-product-reviews__actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.memoryz-review-button,
.memoryz-review-method-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	padding: 11px 16px;
	border: 2px solid var(--memoryz-accent);
	border-radius: 9px;
	background: #fff;
	color: #222;
	font-family: inherit;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.memoryz-review-button:hover,
.memoryz-review-method-link:hover,
.memoryz-review-button:focus-visible,
.memoryz-review-method-link:focus-visible {
	border-color: var(--memoryz-accent-dark);
	background: var(--memoryz-soft);
	color: #111;
	transform: translateY(-1px);
}

.memoryz-review-method-link {
	gap: 10px;
}

.memoryz-review-method-link__icon {
	width: 9px;
	height: 9px;
	border-right: 2px solid var(--memoryz-accent-dark);
	border-bottom: 2px solid var(--memoryz-accent-dark);
	transform: rotate(45deg) translateY(-2px);
	transition: transform .18s ease;
}

.memoryz-review-method-link[aria-expanded="true"] .memoryz-review-method-link__icon {
	transform: rotate(225deg) translate(-2px, -2px);
}

.memoryz-review-method {
	margin-top: 12px;
	padding: 17px 18px;
	border: 1px solid #f1d7b5;
	border-left: 4px solid var(--memoryz-accent);
	border-radius: 9px;
	background: var(--memoryz-soft);
	color: #333;
}

.memoryz-mobile-buybar button {
	border: 2px solid #111 !important;
	background: #111 !important;
	color: #fff !important;
}

@media (max-width: 991px) {
	.memoryz-product-reviews__intro,
	.memoryz-product-reviews__list {
		grid-template-columns: 1fr;
	}

	.memoryz-review-card {
		min-height: 0;
	}
}

@media (max-width: 768px) {
	.memoryz-selection-summary {
		display: block;
	}

	.memoryz-selection-summary__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.memoryz-product-reviews__list .memoryz-review-card:nth-child(n+3) {
		display: flex;
	}

	.memoryz-product-reviews__actions {
		grid-template-columns: 1fr;
	}

	.memoryz-review-button,
	.memoryz-review-method-link {
		min-height: 50px;
		font-size: 13px;
	}

	body.single-product .gfield--type-fileupload .gform_drop_area,
	body.single-product .memoryz-details-field textarea {
		min-height: 138px !important;
	}

	.memoryz-photo-preview__item {
		grid-template-columns: 92px minmax(0, 1fr);
	}

	.memoryz-photo-preview__item img {
		height: 104px;
	}
}

/* 3.2.0 — stable left-column sequence and theme-isolated reviews. */
body.single-product .woocommerce-product-gallery > .memoryz-gallery-after-content,
body.single-product div.product .images > .memoryz-gallery-after-content {
	display: block !important;
	order: 9999 !important;
	box-sizing: border-box !important;
	flex: 0 0 100% !important;
	clear: both !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 16px 0 0 !important;
	padding: 0 !important;
	float: none !important;
}

body.single-product .memoryz-gallery-after-content::before,
body.single-product .memoryz-gallery-after-content::after {
	display: none !important;
	content: none !important;
}

body.single-product .memoryz-gallery-after-content .memoryz-sticky-product-head {
	position: static !important;
	top: auto !important;
	order: initial !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
}

body.single-product .memoryz-gallery-after-content .memoryz-configurator-guide {
	display: flex !important;
	flex-direction: column !important;
	gap: 12px !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 12px 0 0 !important;
}

body.single-product .memoryz-gallery-after-content .memoryz-shape-intro,
body.single-product .memoryz-gallery-after-content .memoryz-origin-card,
body.single-product .memoryz-gallery-after-content .memoryz-order-guide {
	width: 100% !important;
	max-width: 100% !important;
	padding: 15px 16px !important;
}

body.single-product .memoryz-gallery-after-content .memoryz-order-guide ol {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
	margin-top: 10px !important;
}

body.single-product .memoryz-gallery-after-content .memoryz-order-guide li {
	display: flex !important;
	flex: 1 1 145px !important;
	align-items: center !important;
	gap: 8px !important;
	min-width: 0 !important;
	padding: 9px 10px !important;
}

body.single-product .memoryz-gallery-after-content .memoryz-order-guide li > span {
	flex: 0 0 28px !important;
	width: 28px !important;
	height: 28px !important;
}

body.single-product .memoryz-gallery-after-content .memoryz-order-guide li strong {
	margin: 0 !important;
	font-size: 13px !important;
}

body.single-product .memoryz-gallery-after-content .memoryz-order-guide__facts {
	margin-top: 10px !important;
	font-size: 12px !important;
	text-align: left !important;
}

/* The theme uses clearfix pseudo-elements. Inside CSS grid they become real
 * grid items and shift every review card by one column, so remove them only
 * from our private layout containers. */
body.single-product .memoryz-product-reviews::before,
body.single-product .memoryz-product-reviews::after,
body.single-product .memoryz-product-reviews__shell::before,
body.single-product .memoryz-product-reviews__shell::after,
body.single-product .memoryz-product-reviews__intro::before,
body.single-product .memoryz-product-reviews__intro::after,
body.single-product .memoryz-product-reviews__list::before,
body.single-product .memoryz-product-reviews__list::after,
body.single-product .memoryz-product-reviews__actions::before,
body.single-product .memoryz-product-reviews__actions::after {
	display: none !important;
	content: none !important;
}

body.single-product .memoryz-product-reviews {
	display: block !important;
	position: static !important;
	box-sizing: border-box !important;
	clear: both !important;
	width: 100% !important;
	max-width: none !important;
	margin: 30px 0 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	float: none !important;
	transform: none !important;
}

body.single-product .memoryz-product-reviews__shell {
	display: block !important;
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: none !important;
	padding: clamp(20px, 3vw, 34px) !important;
	border: 1px solid var(--memoryz-line) !important;
	border-radius: 14px !important;
	background: #fff !important;
	box-shadow: 0 8px 26px rgba(0, 0, 0, .07) !important;
}

body.single-product .memoryz-product-reviews__intro {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: clamp(22px, 4vw, 48px) !important;
	width: 100% !important;
	max-width: none !important;
}

body.single-product .memoryz-product-reviews__intro > div:first-child {
	flex: 1 1 auto !important;
	width: auto !important;
	min-width: 0 !important;
}

body.single-product .memoryz-product-reviews__intro > .memoryz-rating-card {
	flex: 0 0 min(320px, 36%) !important;
	width: auto !important;
	min-width: 250px !important;
}

body.single-product .memoryz-product-reviews__list {
	display: flex !important;
	flex-direction: row !important;
	align-items: stretch !important;
	gap: 14px !important;
	width: 100% !important;
	max-width: none !important;
	margin: 22px 0 0 !important;
}

body.single-product .memoryz-product-reviews__list > .memoryz-review-card {
	display: flex !important;
	flex: 1 1 0 !important;
	width: 0 !important;
	min-width: 0 !important;
	max-width: none !important;
	margin: 0 !important;
	float: none !important;
}

body.single-product .memoryz-product-reviews__actions {
	display: flex !important;
	flex-direction: row !important;
	align-items: stretch !important;
	justify-content: center !important;
	gap: 12px !important;
	width: 100% !important;
	max-width: none !important;
	margin: 18px 0 0 !important;
}

body.single-product .memoryz-product-reviews__actions > button {
	flex: 1 1 0 !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
}

body.single-product .memoryz-review-method {
	width: 100% !important;
	max-width: none !important;
}

@media (max-width: 768px) {
	body.single-product .memoryz-product-reviews__intro,
	body.single-product .memoryz-product-reviews__list,
	body.single-product .memoryz-product-reviews__actions {
		flex-direction: column !important;
	}

	body.single-product .memoryz-product-reviews__intro > .memoryz-rating-card,
	body.single-product .memoryz-product-reviews__list > .memoryz-review-card,
	body.single-product .memoryz-product-reviews__actions > button {
		flex: 1 1 auto !important;
		width: 100% !important;
		min-width: 0 !important;
	}

	body.single-product .memoryz-gallery-after-content .memoryz-order-guide ol {
		flex-direction: column !important;
	}

	body.single-product .memoryz-gallery-after-content .memoryz-order-guide li {
		flex: 0 0 auto !important;
		width: 100% !important;
	}

	/* Keep the uploaded portrait large enough to verify on a phone. */
	body.single-product .memoryz-photo-preview__item {
		display: block !important;
	}

	body.single-product .memoryz-photo-preview__item img {
		width: 100% !important;
		height: min(82vw, 360px) !important;
		max-width: 100% !important;
		margin: 0 0 10px !important;
	}
}

/* 3.2.1 — calm typography, reliable gallery order and isolated modal. */
body.single-product .memoryz-configurator-guide {
	display: none !important;
}

body.single-product .memoryz-gallery-after-content {
	font-family: inherit !important;
}

body.single-product .memoryz-gallery-after-content .memoryz-sticky-product-head {
	padding: 15px 16px !important;
	border-top-width: 2px !important;
	background: #fff !important;
	box-shadow: 0 5px 18px rgba(0, 0, 0, .055) !important;
}

body.single-product .memoryz-sticky-product-head h2,
body.single-product .memoryz-sticky-product-head__price {
	font-family: inherit !important;
	font-weight: 500 !important;
	line-height: 1.35 !important;
}

body.single-product .memoryz-sticky-product-head h2 {
	font-size: 20px !important;
}

body.single-product .memoryz-sticky-product-head__price {
	color: var(--memoryz-accent-dark) !important;
	font-size: 25px !important;
	font-weight: 600 !important;
}

body.single-product .memoryz-sticky-product-head__trust {
	font-family: inherit !important;
	font-size: 12px !important;
	font-weight: 400 !important;
	line-height: 1.45 !important;
}

body.single-product .memoryz-selection-summary > strong {
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	margin-bottom: 7px !important;
	font-family: inherit !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	letter-spacing: 0 !important;
	text-align: left !important;
	text-transform: none !important;
}

body.single-product .memoryz-selection-summary > strong::before {
	display: block !important;
	flex: 0 0 3px !important;
	width: 3px !important;
	height: 18px !important;
	border-radius: 3px !important;
	background: var(--memoryz-accent) !important;
	content: "" !important;
}

body.single-product .memoryz-selection-item small {
	font-family: inherit !important;
	font-size: 10px !important;
	font-weight: 400 !important;
	letter-spacing: .02em !important;
}

body.single-product .memoryz-selection-item strong {
	font-family: inherit !important;
	font-size: 12px !important;
	font-weight: 400 !important;
	line-height: 1.35 !important;
}

/* One restrained typographic system for all configurator labels and choices. */
body.single-product .summary .gfield_label,
body.single-product .summary .gform-field-label,
body.single-product .summary .gform-field-label__text,
body.single-product .summary legend,
body.single-product .summary .memoryz-montage-legend {
	font-family: inherit !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	line-height: 1.4 !important;
	letter-spacing: 0 !important;
}

body.single-product .summary .memoryz-size-card,
body.single-product .summary .memoryz-size-card *,
body.single-product .summary .gchoice label,
body.single-product .summary .memoryz-montage-choice,
body.single-product .summary .image-choices-choice-text,
body.single-product .summary .gform_button_select_files,
body.single-product .summary .single_add_to_cart_button,
body.single-product .summary .gform_footer .gform_button,
body.single-product .summary button[type="submit"] {
	font-family: inherit !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
	letter-spacing: 0 !important;
}

body.single-product .summary .memoryz-size-card__price,
body.single-product .summary .memoryz-size-card__size {
	font-weight: 400 !important;
}

/* The preview list and the all-reviews dialog intentionally use different
 * layouts. Keep modal cards readable instead of inheriting the preview flex row. */
body.single-product .memoryz-reviews-modal__dialog {
	width: min(980px, calc(100vw - 36px)) !important;
}

body.single-product .memoryz-reviews-modal__body {
	overflow-x: hidden !important;
}

body.single-product .memoryz-reviews-modal__body .memoryz-product-reviews__list {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	align-items: stretch !important;
	gap: 14px !important;
	width: 100% !important;
	margin: 18px 0 0 !important;
	overflow: visible !important;
}

body.single-product .memoryz-reviews-modal__body .memoryz-product-reviews__list::before,
body.single-product .memoryz-reviews-modal__body .memoryz-product-reviews__list::after {
	display: none !important;
	content: none !important;
}

body.single-product .memoryz-reviews-modal__body .memoryz-review-card {
	display: flex !important;
	box-sizing: border-box !important;
	width: 100% !important;
	min-width: 0 !important;
	max-width: none !important;
	min-height: 190px !important;
	margin: 0 !important;
	font-family: inherit !important;
	float: none !important;
}

body.single-product .memoryz-reviews-modal__header h2 {
	font-family: inherit !important;
	font-weight: 500 !important;
}

body.single-product .memoryz-reviews-modal__controls label,
body.single-product .memoryz-reviews-modal__controls select,
body.single-product .memoryz-reviews-modal__footer,
body.single-product .memoryz-reviews-modal__footer button {
	font-family: inherit !important;
	font-weight: 400 !important;
}

body.single-product .memoryz-reviews-modal__body .memoryz-review-card h3 {
	font-family: inherit !important;
	font-size: 15px !important;
	font-weight: 500 !important;
}

body.single-product .memoryz-reviews-modal__body .memoryz-review-card p {
	font-family: inherit !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	line-height: 1.5 !important;
}

/* 3.2.2 — a final mobile check directly before the purchase action. */
.memoryz-mobile-purchase-summary {
	display: none;
}

/* 3.2.3 — use the clean mobile-style rows for the desktop selection too. */
body.single-product .memoryz-gallery-after-content .memoryz-selection-summary {
	margin-top: 13px !important;
	padding-top: 13px !important;
}

body.single-product .memoryz-gallery-after-content .memoryz-selection-summary__grid {
	display: block !important;
}

body.single-product .memoryz-gallery-after-content .memoryz-selection-item {
	display: flex !important;
	flex-direction: row !important;
	align-items: baseline !important;
	justify-content: space-between !important;
	gap: 14px !important;
	width: 100% !important;
	padding: 7px 0 !important;
	border: 0 !important;
	border-bottom: 1px solid #f0f0f0 !important;
	border-radius: 0 !important;
	background: transparent !important;
}

body.single-product .memoryz-gallery-after-content .memoryz-selection-item small,
body.single-product .memoryz-gallery-after-content .memoryz-selection-item strong {
	margin: 0 !important;
	font-family: inherit !important;
	font-size: 13px !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
	text-transform: none !important;
}

body.single-product .memoryz-gallery-after-content .memoryz-selection-item small {
	flex: 0 0 38% !important;
	color: #696969 !important;
}

body.single-product .memoryz-gallery-after-content .memoryz-selection-item strong {
	flex: 1 1 auto !important;
	color: var(--memoryz-ink) !important;
	text-align: right !important;
}

/* 3.2.4 — orderly product identity, price and trust facts. */
body.single-product .memoryz-gallery-after-content .memoryz-sticky-product-head__top {
	display: block !important;
	width: 100% !important;
}

body.single-product .memoryz-gallery-after-content .memoryz-sticky-product-head h2 {
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
	text-align: left !important;
}

body.single-product .memoryz-gallery-after-content .memoryz-sticky-product-head__price {
	display: block !important;
	width: 100% !important;
	margin-top: 5px !important;
	text-align: left !important;
}

body.single-product .memoryz-gallery-after-content .memoryz-sticky-product-head__trust {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 7px 20px !important;
	width: 100% !important;
	margin-top: 12px !important;
}

body.single-product .memoryz-gallery-after-content .memoryz-sticky-product-head__trust span {
	display: flex !important;
	align-items: flex-start !important;
	min-width: 0 !important;
	line-height: 1.4 !important;
}

body.single-product .memoryz-gallery-after-content .memoryz-sticky-product-head__trust span::before {
	display: inline-block !important;
	flex: 0 0 13px !important;
	width: 13px !important;
	margin: 0 4px 0 0 !important;
	text-align: center !important;
}

/* 3.2.5 — match the clean mobile card from top to bottom. */
body.single-product .memoryz-gallery-after-content .memoryz-sticky-product-head__eyebrow {
	display: block !important;
	margin: 0 0 6px !important;
	color: #6a6a6a !important;
	font-family: inherit !important;
	font-size: 11px !important;
	font-weight: 400 !important;
	letter-spacing: .02em !important;
	text-align: center !important;
	text-transform: uppercase !important;
}

body.single-product .memoryz-gallery-after-content .memoryz-sticky-product-head h2 {
	text-align: center !important;
}

body.single-product .memoryz-gallery-after-content .memoryz-sticky-product-head__trust {
	grid-template-columns: 1fr !important;
	gap: 6px !important;
	margin-top: 18px !important;
	font-size: 13px !important;
}

body.single-product .memoryz-gallery-after-content .memoryz-sticky-product-head__trust span::before {
	flex-basis: 16px !important;
	width: 16px !important;
	margin-right: 6px !important;
}

body.single-product .memoryz-gallery-after-content .memoryz-selection-summary {
	margin-top: 17px !important;
	padding-top: 15px !important;
}

body.single-product .memoryz-sticky-product-head__total {
	display: flex !important;
	align-items: center !important;
	align-self: stretch !important;
	justify-content: space-between !important;
	gap: 16px !important;
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: none !important;
	margin-top: 14px !important;
	padding-top: 2px !important;
	text-align: left !important;
}

/* 3.2.8 — centered desktop photo proof and guided mobile completion. */
@media (min-width: 769px) {
	body.single-product .memoryz-photo-preview__item {
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: 12px !important;
		justify-items: center !important;
		text-align: center !important;
	}

	body.single-product .memoryz-photo-preview__item img {
		width: min(100%, 280px) !important;
		height: 320px !important;
		max-width: 280px !important;
		margin: 0 auto !important;
	}

	body.single-product .memoryz-photo-preview__item figcaption {
		align-items: center !important;
		max-width: 100% !important;
		text-align: center !important;
	}
}

body.single-product .memoryz-sticky-product-head__total > span,
body.single-product .memoryz-mobile-purchase-summary__total > span {
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	margin: 0 !important;
	color: var(--memoryz-ink) !important;
	font-family: inherit !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	letter-spacing: 0 !important;
	line-height: 1.35 !important;
	text-transform: none !important;
}

body.single-product .memoryz-sticky-product-head__total > span::before,
body.single-product .memoryz-mobile-purchase-summary__total > span::before {
	display: block !important;
	flex: 0 0 3px !important;
	width: 3px !important;
	height: 18px !important;
	border-radius: 3px !important;
	background: var(--memoryz-accent) !important;
	content: "" !important;
}

body.single-product .memoryz-sticky-product-head__total > strong {
	color: var(--memoryz-accent-dark) !important;
	font-family: inherit !important;
	font-size: 25px !important;
	font-weight: 600 !important;
	font-variant-numeric: tabular-nums !important;
	line-height: 1.15 !important;
	white-space: nowrap !important;
}

@media (max-width: 768px) {
	body.single-product .memoryz-gallery-after-content .memoryz-sticky-product-head {
		display: none !important;
	}

	body.single-product .memoryz-mobile-purchase-summary {
		display: block !important;
		box-sizing: border-box !important;
		width: 100% !important;
		max-width: none !important;
		margin: 26px 0 16px !important;
		padding: 17px 16px 15px !important;
		border: 1px solid #e1e1e1 !important;
		border-top: 2px solid var(--memoryz-accent) !important;
		border-radius: 10px !important;
		background: #fff !important;
		box-shadow: 0 5px 18px rgba(0, 0, 0, .055) !important;
		font-family: inherit !important;
	}

	body.single-product .memoryz-mobile-purchase-summary__product > span,
	body.single-product .memoryz-mobile-purchase-summary__total > span {
		display: block !important;
		margin: 0 0 3px !important;
		color: #6a6a6a !important;
		font-size: 11px !important;
		font-weight: 400 !important;
		letter-spacing: .02em !important;
		text-transform: uppercase !important;
	}

	body.single-product .memoryz-mobile-purchase-summary__product h2 {
		margin: 0 !important;
		color: var(--memoryz-ink) !important;
		font-family: inherit !important;
		font-size: 19px !important;
		font-weight: 500 !important;
		line-height: 1.35 !important;
	}

	body.single-product .memoryz-mobile-purchase-summary__trust {
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: 5px !important;
		margin-top: 12px !important;
		color: #555 !important;
		font-family: inherit !important;
		font-size: 12px !important;
		font-weight: 400 !important;
		line-height: 1.4 !important;
	}

	body.single-product .memoryz-mobile-purchase-summary__trust span {
		display: flex !important;
		align-items: flex-start !important;
	}

	body.single-product .memoryz-mobile-purchase-summary__trust span::before {
		display: inline-block !important;
		flex: 0 0 14px !important;
		width: 14px !important;
		margin-right: 4px !important;
		color: var(--memoryz-accent-dark) !important;
		content: "✓" !important;
		text-align: center !important;
	}

	body.single-product .memoryz-mobile-purchase-summary .memoryz-selection-summary {
		display: block !important;
		margin: 14px 0 0 !important;
		padding: 13px 0 0 !important;
		border-top: 1px solid #ededed !important;
	}

	body.single-product .memoryz-mobile-purchase-summary .memoryz-selection-summary > strong {
		display: flex !important;
		margin: 0 0 7px !important;
		font-family: inherit !important;
		font-size: 16px !important;
		font-weight: 600 !important;
		letter-spacing: 0 !important;
		text-align: left !important;
		text-transform: none !important;
	}

	body.single-product .memoryz-mobile-purchase-summary .memoryz-selection-summary__grid {
		display: block !important;
	}

	body.single-product .memoryz-mobile-purchase-summary .memoryz-selection-item {
		display: flex !important;
		flex-direction: row !important;
		align-items: baseline !important;
		justify-content: space-between !important;
		gap: 14px !important;
		width: 100% !important;
		padding: 7px 0 !important;
		border: 0 !important;
		border-bottom: 1px solid #f0f0f0 !important;
		border-radius: 0 !important;
		background: transparent !important;
	}

	body.single-product .memoryz-mobile-purchase-summary .memoryz-selection-item small,
	body.single-product .memoryz-mobile-purchase-summary .memoryz-selection-item strong {
		margin: 0 !important;
		font-family: inherit !important;
		font-size: 13px !important;
		font-weight: 400 !important;
		line-height: 1.4 !important;
		text-transform: none !important;
	}

	body.single-product .memoryz-mobile-purchase-summary .memoryz-selection-item small {
		flex: 0 0 38% !important;
		color: #696969 !important;
	}

	body.single-product .memoryz-mobile-purchase-summary .memoryz-selection-item strong {
		flex: 1 1 auto !important;
		color: var(--memoryz-ink) !important;
		text-align: right !important;
	}

	body.single-product .memoryz-mobile-purchase-summary__total {
		display: flex !important;
		align-items: flex-end !important;
		justify-content: space-between !important;
		gap: 16px !important;
		margin-top: 14px !important;
	}

	body.single-product .memoryz-mobile-purchase-summary__total > span {
		display: flex !important;
		align-items: center !important;
		gap: 8px !important;
		margin: 0 !important;
		color: var(--memoryz-ink) !important;
		font-family: inherit !important;
		font-size: 16px !important;
		font-weight: 600 !important;
		letter-spacing: 0 !important;
		line-height: 1.35 !important;
		text-transform: none !important;
	}

	body.single-product .memoryz-mobile-purchase-summary__total > strong {
		color: var(--memoryz-accent-dark) !important;
		font-family: inherit !important;
		font-size: 25px !important;
		font-weight: 600 !important;
		line-height: 1.15 !important;
		white-space: nowrap !important;
	}

	body.single-product .memoryz-mobile-buybar strong {
		color: var(--memoryz-accent-dark) !important;
	}

	body.single-product .memoryz-mobile-buybar {
		transition: opacity .2s ease, transform .2s ease !important;
	}

	body.single-product .memoryz-mobile-buybar.is-purchase-visible {
		opacity: 0 !important;
		transform: translateY(calc(100% + 16px)) !important;
		pointer-events: none !important;
	}

	body.single-product .memoryz-reviews-modal__dialog {
		width: 100% !important;
	}

	body.single-product .memoryz-reviews-modal__body .memoryz-product-reviews__list {
		grid-template-columns: 1fr !important;
	}

	body.single-product .memoryz-reviews-modal__body .memoryz-review-card {
		min-height: 0 !important;
	}
}
