/* ==========================================================================
   Lotus26 — product page (track F, 2026-11-27, dev only)
   Loaded only on product/product (catalog/controller/extension/lotus26/product.php -> addStyle).
   Reads the stage-1 tokens of lotus26.css (--l26-*); lotus26.css itself is not changed.
   Legacy custom_v1.css styles #product / #product-product by id, so overrides here are prefixed with
   #product-product.l26-pp. Layout rules use plain classes (Lightning's critical CSS keeps those);
   :checked / :hover / [attr] rules are polish that arrives with the full stylesheet.
   ========================================================================== */

#product-product.l26-pp {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--l26-container, 1360px);
	margin-left: auto;
	margin-right: auto;
	padding: 16px var(--l26-gutter, 24px) 0;
	font-family: var(--l26-font);
	color: var(--l26-text);
}

#product-product.l26-pp > .row {
	padding: 0;
	margin-left: 0;
	margin-right: 0;
}

#product-product.l26-pp #content {
	float: none;
	width: 100%;
	padding: 0;
}

#product-product.l26-pp ul.breadcrumb.l26-pp__crumbs {
	margin: 0 0 20px;
	padding: 0;
	background: none;
	border-radius: 0;
}

#product-product.l26-pp ul.breadcrumb.l26-pp__crumbs > li {
	display: inline;
	padding: 0;
}

#product-product.l26-pp ul.breadcrumb.l26-pp__crumbs > li:first-child {
	display: inline;
}

#product-product.l26-pp ul.breadcrumb.l26-pp__crumbs > li + li::before {
	content: "›";
	padding: 0 6px 0 0;
	color: var(--l26-muted);
}

#product-product.l26-pp ul.breadcrumb.l26-pp__crumbs > li:last-child a {
	color: var(--l26-ink);
	font-weight: 600;
}

/* hidden state: a plain class (kept by Lightning's critical CSS) + the attribute */
.l26-pp .is-hidden,
.l26-pp-sticky .is-hidden {
	display: none !important;
}

.l26-pp [hidden],
.l26-pp-sticky [hidden] {
	display: none !important;
}

/* ---------- two columns ---------------------------------------------------- */

.l26-pp__main {
	display: grid;
	grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr);
	gap: 40px;
	align-items: start;
}

.l26-pp__media,
.l26-pp__info {
	min-width: 0;
}

/* ---------- desktop gallery ------------------------------------------------- */

.l26-pp__gallery {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
}

.l26-pp__gallery.has-thumbs {
	grid-template-columns: 64px minmax(0, 1fr);
}

.l26-pp__thumbs {
	display: flex;
	flex-direction: column;
	gap: 8px;
	grid-row: 1 / span 2;
	max-height: 720px;
	overflow-y: auto;
	scrollbar-width: none;
}

.l26-pp__thumb {
	box-sizing: border-box;
	flex: 0 0 auto;
	width: 64px;
	height: 64px;
	padding: 3px;
	border: 1px solid var(--l26-line);
	border-radius: var(--l26-radius-sm);
	background: #fff;
	cursor: pointer;
}

.l26-pp__thumb.is-active {
	border-color: var(--l26-ink);
}

.l26-pp__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.l26-pp__stage {
	position: relative;
	border-radius: var(--l26-radius);
	background: #fff;
	box-shadow: var(--l26-shadow);
	overflow: hidden;
}

.l26-pp__hero {
	display: block;
}

.l26-pp__hero img,
.l26-pp__duo-item img,
.l26-pp__slide img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: contain;
}

.l26-pp__badge {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
}

.l26-pp__zoom {
	position: absolute;
	right: 14px;
	bottom: 14px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--l26-line);
	border-radius: 50%;
	background: #fff;
	color: var(--l26-ink);
	cursor: zoom-in;
	box-shadow: 0 1px 4px rgba(0,0,0,.08);
}

.l26-pp__duo {
	grid-column: -2 / -1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.l26-pp__duo-item {
	display: block;
	border-radius: var(--l26-radius);
	background: #fff;
	box-shadow: var(--l26-shadow);
	overflow: hidden;
}

/* ---------- mobile swipe gallery (isMobile markup) -------------------------- */

.l26-pp__swipe {
	position: relative;
	margin: 0 calc(-1 * var(--l26-gutter, 16px));
}

.l26-pp__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.l26-pp__track::-webkit-scrollbar {
	display: none;
}

.l26-pp__slide {
	flex: 0 0 100%;
	scroll-snap-align: start;
	background: #fff;
}

.l26-pp__fav {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--l26-line);
	border-radius: 50%;
	background: #fff;
	color: var(--l26-ink);
}

.l26-pp__swipe .l26-pp__badge {
	top: 16px;
	left: 16px;
}

.l26-pp__dots {
	display: flex;
	justify-content: center;
	gap: 6px;
	padding: 10px 0 4px;
}

.l26-pp__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: var(--l26-pill);
	background: #D1D5DB;
	transition: width .2s ease, background-color .2s ease;
}

.l26-pp__dot.is-active {
	width: 24px;
	background: var(--l26-ink);
}

/* ---------- title / price ---------------------------------------------------- */

#product-product.l26-pp h1.l26-pp__h1 {
	margin: 0 0 16px;
	font: 800 30px/1.15 var(--l26-font);
	letter-spacing: -.01em;
	text-transform: none;
	color: var(--l26-ink);
	text-align: left;
}

.l26-pp__brand {
	display: block;
	margin-bottom: 6px;
	font: 700 12px/1.2 var(--l26-font);
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--l26-muted);
}

.l26-pp__model {
	display: block;
}

.l26-pp__sub {
	display: block;
	margin-top: 6px;
	font: 400 14px/1.4 var(--l26-font);
	letter-spacing: 0;
	color: var(--l26-muted);
}

.l26-pp__price {
	margin: 0 0 16px;
}

.l26-pp__prices {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
}

.l26-pp__now {
	font: 800 28px/1.1 var(--l26-font);
	color: var(--l26-ink);
}

.l26-pp__now.is-sale {
	color: var(--l26-red);
}

.l26-pp__from {
	font: 600 16px/1 var(--l26-font);
	color: var(--l26-muted);
}

.l26-pp__old {
	font: 400 16px/1 var(--l26-font);
	color: var(--l26-muted);
	text-decoration: line-through;
}

.l26-pp__pct {
	font-size: 13px;
}

.l26-pp__note {
	margin: 6px 0 0;
	font-size: 13px;
	color: var(--l26-muted);
}

.l26-pp__tbi {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 14px;
	padding: 10px 14px;
	border-radius: var(--l26-radius-sm);
	background: var(--l26-bg-soft);
	font-size: 14px;
	line-height: 1.35;
}

.l26-pp__tbi-icon {
	flex: 0 0 auto;
	color: var(--l26-muted);
}

.l26-pp__tbi-text {
	flex: 1 1 auto;
	min-width: 0;
}

.l26-pp__tbi-calc {
	flex: 0 0 auto;
	padding: 0;
	border: 0;
	background: none;
	font: 600 14px/1.2 var(--l26-font);
	color: var(--l26-ink);
	text-decoration: underline;
	cursor: pointer;
}

.l26-pp__promo {
	margin-top: 14px;
	padding: 10px 14px;
	border-left: 4px solid var(--l26-red);
	border-radius: 0 var(--l26-radius-sm) var(--l26-radius-sm) 0;
	background: var(--l26-bg-soft);
	font-size: 13px;
	line-height: 1.45;
}

.l26-pp__promo > strong {
	display: block;
	margin-bottom: 2px;
	color: var(--l26-red);
}

/* other colours */
.l26-pp__label {
	margin: 0 0 8px;
	font: 700 15px/1.2 var(--l26-font);
	color: var(--l26-ink);
}

.l26-pp__colours {
	margin: 0 0 18px;
}

.l26-pp__swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.l26-pp__swatch {
	box-sizing: border-box;
	display: block;
	width: 64px;
	height: 64px;
	padding: 3px;
	border: 1px solid var(--l26-line);
	border-radius: var(--l26-radius-sm);
	background: #fff;
}

.l26-pp__swatch.is-active {
	border-color: var(--l26-ink);
}

.l26-pp__swatch img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* ---------- size grid ---------------------------------------------------------- */

#product-product.l26-pp #product {
	float: none;
	width: auto;
}

#product-product.l26-pp #product .form-group {
	float: none;
	width: auto;
	margin: 0 0 14px;
}

#product-product.l26-pp .l26-pp__sizes-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
}

#product-product.l26-pp #product .form-group label.control-label {
	margin: 0;
	padding: 0;
	font: 700 15px/1.2 var(--l26-font);
	color: var(--l26-ink);
}

#product-product.l26-pp #product .form-group label.control-label::before {
	content: none;
}

#product-product.l26-pp .l26-pp__chart {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font: 600 14px/1.2 var(--l26-font);
	color: var(--l26-ink);
	text-decoration: underline;
	white-space: nowrap;
}

.l26-sizes {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 8px;
}

#product-product.l26-pp .l26-size {
	position: relative;
	display: block;
	margin: 0;
	padding: 0;
	font-weight: 400;
	cursor: pointer;
}

#product-product.l26-pp #product input.l26-size__input {
	position: absolute;
	top: 0;
	left: 0;
	width: 1px;
	height: 1px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	opacity: 0;
}

.l26-size__box {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 4px 6px;
	border: 1px solid var(--l26-line);
	border-radius: var(--l26-radius-sm);
	background: #fff;
	font: 600 14px/1.15 var(--l26-font);
	color: var(--l26-ink);
	text-align: center;
	text-transform: none;
	transition: background-color .12s ease, color .12s ease, border-color .12s ease;
}

.l26-size:hover .l26-size__box {
	border-color: var(--l26-ink);
}

.l26-size__input:checked + .l26-size__box {
	background: var(--l26-ink);
	border-color: var(--l26-ink);
	color: #fff;
}

.l26-size__input:focus-visible + .l26-size__box {
	outline: 2px solid var(--l26-red);
	outline-offset: 2px;
}

#product-product.l26-pp .l26-size.is-out {
	cursor: not-allowed;
}

.l26-size.is-out .l26-size__box {
	background: repeating-linear-gradient(135deg, #fff 0 6px, var(--l26-bg-soft) 6px 9px);
	color: #A3A8B0;
	border-color: var(--l26-line);
	text-decoration: line-through;
}

.l26-pp__sizes.is-alert .l26-sizes {
	animation: l26-pp-nudge .35s ease 2;
}

#product-product.l26-pp #product .text-danger {
	margin-top: 8px;
	font-size: 13px;
}

@keyframes l26-pp-nudge {
	0%, 100% { transform: translateX(0); }
	30% { transform: translateX(-4px); }
	60% { transform: translateX(4px); }
}

/* ---------- availability / add to cart ----------------------------------------- */

.l26-pp__avail {
	margin: 0 0 12px;
	min-height: 20px;
}

.l26-pp__avail-text {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font: 600 14px/1.3 var(--l26-font);
	color: var(--l26-muted);
}

.l26-pp__avail-text.is-ok {
	color: var(--l26-green);
}

.l26-pp__avail-text.is-out,
.l26-pp__avail-text.is-alert {
	color: var(--l26-red);
}

.l26-pp__cta {
	display: flex;
	gap: 10px;
	margin: 0 0 16px;
}

#product-product.l26-pp #button-cart.l26-pp__add,
#product-product.l26-pp .l26-pp__add {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 52px;
	margin: 0;
	padding: 0 16px;
	border: 0;
	border-radius: var(--l26-radius-sm);
	background: var(--l26-red);
	color: #fff;
	font: 700 16px/1.2 var(--l26-font);
	letter-spacing: 0;
	text-transform: none;
	text-shadow: none;
	box-shadow: none;
}

#product-product.l26-pp #button-cart.l26-pp__add:hover,
#product-product.l26-pp #button-cart.l26-pp__add:focus {
	background: var(--l26-red-dark, #C4141A);
	color: #fff;
}

#product-product.l26-pp .l26-pp__add.is-disabled {
	background: #D1D5DB;
	color: #4B5563;
	cursor: not-allowed;
}

.l26-pp__wish {
	flex: 0 0 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 1px solid var(--l26-line);
	border-radius: var(--l26-radius-sm);
	background: #fff;
	color: var(--l26-ink);
}

.l26-pp__wish:hover {
	border-color: var(--l26-ink);
}

/* ---------- benefits + OrthoLab --------------------------------------------- */

.l26-pp__benefits {
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
	border: 1px solid var(--l26-line);
	border-radius: var(--l26-radius);
}

.l26-pp__benefit {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 13px 16px;
}

.l26-pp__benefit + .l26-pp__benefit {
	border-top: 1px solid var(--l26-line);
}

.l26-pp__benefit-icon {
	flex: 0 0 22px;
	color: var(--l26-red);
}

.l26-pp__benefit-body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	font-size: 13px;
	line-height: 1.4;
	color: var(--l26-muted);
}

.l26-pp__benefit-body strong {
	font: 700 14px/1.3 var(--l26-font);
	color: var(--l26-ink);
}

.l26-pp__ortholab {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 16px;
	padding: 14px 16px;
	border-radius: var(--l26-radius);
	background: var(--l26-ink-2);
	color: #fff;
	text-decoration: none;
}

.l26-pp__ortholab:hover,
.l26-pp__ortholab:focus {
	color: #fff;
	text-decoration: none;
}

.l26-pp__ortholab-icon {
	flex: 0 0 auto;
	color: var(--l26-red);
}

.l26-pp__ortholab-body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	flex: 1 1 auto;
	min-width: 0;
	font-size: 13px;
	line-height: 1.4;
	color: #D1D5DB;
}

.l26-pp__ortholab-body strong {
	font: 700 14px/1.3 var(--l26-font);
	color: #fff;
}

.l26-pp__ortholab-cta {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	flex: 0 0 auto;
	font: 700 13px/1.2 var(--l26-font);
	text-decoration: underline;
	white-space: nowrap;
}

#product-product.l26-pp #product-quick-order {
	float: none;
	width: auto;
	margin: 0 0 8px;
	border-width: 1px;
	border-radius: var(--l26-radius-sm);
}

#product-product.l26-pp #product-quick-order .fast-oder-button {
	padding: 11px;
	border-radius: var(--l26-radius-sm);
	font: 600 14px/1.2 var(--l26-font);
	letter-spacing: 0;
	text-transform: none;
}

/* ---------- tabs ---------------------------------------------------------------- */

.l26-pp__tabs {
	clear: both;
	margin: 48px 0 0;
}

.l26-pp__tablist {
	display: flex;
	gap: 28px;
	overflow-x: auto;
	border-bottom: 1px solid var(--l26-line);
	scrollbar-width: none;
}

.l26-pp__tab {
	flex: 0 0 auto;
	margin: 0 0 -1px;
	padding: 12px 0;
	border: 0;
	border-bottom: 2px solid transparent;
	background: none;
	font: 500 15px/1.2 var(--l26-font);
	color: var(--l26-muted);
	white-space: nowrap;
	cursor: pointer;
}

.l26-pp__tab.is-active {
	border-bottom-color: var(--l26-red);
	color: var(--l26-ink);
	font-weight: 700;
}

.l26-pp__panel {
	padding: 24px 0 0;
	font-size: 15px;
	line-height: 1.6;
}

.l26-pp__desc {
	max-width: 820px;
}

.l26-pp__desc h2,
.l26-pp__desc h3 {
	margin: 20px 0 8px;
	font: 700 18px/1.3 var(--l26-font);
	color: var(--l26-ink);
	text-transform: none;
}

.l26-pp__desc img {
	height: auto;
}

.l26-pp__specs {
	width: 100%;
	max-width: 720px;
	border-collapse: collapse;
	font-size: 14px;
}

.l26-pp__specs + .l26-pp__specs {
	margin-top: 16px;
}

.l26-pp__specs th,
.l26-pp__specs td {
	padding: 11px 10px;
	border-bottom: 1px solid var(--l26-line);
	text-align: left;
	vertical-align: top;
}

.l26-pp__specs th {
	width: 40%;
	font-weight: 400;
	color: var(--l26-muted);
}

.l26-pp__specs td {
	color: var(--l26-ink);
}

.l26-pp__delivery,
.l26-pp__payments,
.l26-pp__links {
	max-width: 820px;
}

.l26-pp__links a,
.l26-pp__specs a {
	color: var(--l26-ink);
	text-decoration: underline;
}

#product-product.l26-pp #form-review h2 {
	font: 700 18px/1.3 var(--l26-font);
	text-transform: none;
}

/* ---------- related products (shared card) ------------------------------------- */

.l26-pp__related {
	margin: 48px 0 8px;
}

.l26-pp__related-row {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(200px, calc((100% - 4 * 16px) / 5));
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	padding-bottom: 8px;
	scrollbar-width: thin;
}

#product-product.l26-pp .l26-pp__related-item {
	float: none;
	width: auto;
	min-width: 0;
	padding: 0;
	scroll-snap-align: start;
}

/* ---------- mobile sticky bar (isMobile markup) --------------------------------- */

.l26-pp-sticky {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9991;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 10px;
	height: calc(var(--l26-tabbar-h, 60px) + env(safe-area-inset-bottom, 0px));
	padding: 8px 16px calc(8px + env(safe-area-inset-bottom, 0px));
	background: #fff;
	border-top: 1px solid var(--l26-line);
	box-shadow: 0 -2px 12px rgba(0,0,0,.06);
}

.l26-pp-sticky__fav {
	flex: 0 0 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--l26-line);
	border-radius: var(--l26-radius-sm);
	background: #fff;
	color: var(--l26-ink);
}

.l26-pp-sticky__add {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 0;
	height: 44px;
	padding: 0 12px;
	border: 0;
	border-radius: var(--l26-radius-sm);
	background: var(--l26-red);
	color: #fff;
	font: 700 16px/1.2 var(--l26-font);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.l26-pp-sticky__add.is-disabled {
	background: #D1D5DB;
	color: #4B5563;
}

/* the sticky bar replaces the stage-1 tab bar on the product page (it is drawn over it) */
body:has(.l26-pp-sticky) .l26-tabbar {
	visibility: hidden;
}

/* ---------- responsive ---------------------------------------------------------- */

@media (max-width: 1199px) {
	.l26-pp__main {
		gap: 28px;
	}

	.l26-sizes {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 991px) {
	.l26-pp__main {
		grid-template-columns: minmax(0, 1fr);
	}

	.l26-pp__gallery.has-thumbs {
		grid-template-columns: minmax(0, 1fr);
	}

	.l26-pp__thumbs {
		flex-direction: row;
		grid-row: auto;
		order: 2;
		max-height: none;
		overflow-x: auto;
	}

	.l26-pp__duo {
		grid-column: auto;
		order: 3;
	}

	.l26-sizes {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	.l26-pp__related-row {
		grid-auto-columns: minmax(180px, 42%);
	}
}

@media (max-width: 767px) {
	#product-product.l26-pp {
		padding: 8px 16px 0;
	}

	#product-product.l26-pp ul.breadcrumb.l26-pp__crumbs {
		flex-wrap: nowrap;
		overflow-x: auto;
		white-space: nowrap;
		margin-bottom: 12px;
		scrollbar-width: none;
	}

	.l26-pp__swipe {
		margin: 0 -16px;
	}

	.l26-pp__main {
		gap: 18px;
	}

	#product-product.l26-pp h1.l26-pp__h1 {
		font-size: 24px;
	}

	.l26-pp__now {
		font-size: 26px;
	}

	.l26-sizes {
		gap: 6px;
	}

	.l26-pp__duo {
		display: none;
	}

	.l26-pp__ortholab {
		flex-wrap: wrap;
	}

	.l26-pp__tabs {
		margin-top: 32px;
	}

	.l26-pp__tablist {
		gap: 20px;
	}

	.l26-pp__related-row {
		grid-auto-columns: minmax(150px, 46%);
		gap: 12px;
	}
}

@media (min-width: 992px) {
	.l26-pp-sticky {
		display: none;
	}

	body:has(.l26-pp-sticky) .l26-tabbar {
		visibility: visible;
	}
}

/* ==========================================================================
   Track Q polish (2026-11-27)
   22/27: breadcrumb labels are sentence case (template); on phones the crumb list is replaced by
   one short "‹ parent category" back link — never the full upper-case product name.
   21/28: product texts/buttons use the l26 stack (old #product-product rules had Kelson).
   ========================================================================== */
.l26-pp__back {
	display: none;
}

#product-product.l26-pp {
	font-family: var(--l26-font);
}

@media (max-width: 767px) {
	#product-product.l26-pp ul.breadcrumb.l26-pp__crumbs {
		display: none;
	}

	#product-product.l26-pp .l26-pp__back {
		display: inline-flex;
		align-items: center;
		gap: 4px;
		max-width: 100%;
		margin: 0 0 12px;
		color: var(--l26-ink);
		font: 600 14px/1.3 var(--l26-font);
		text-decoration: none;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	#product-product.l26-pp .l26-pp__back svg {
		flex: 0 0 auto;
		margin-left: -4px;
	}
}

/* ==========================================================================
   M5 (2026-11-28, emporica audit): phones — price, TBI line and sizes on the first screen.
   (1) gallery images 4:3 instead of 1:1 (object-fit: contain keeps the whole product; ~95px less);
   (2) the campaign box (.l26-pp__promo, inside .l26-pp__price) moves below #product (sizes + button):
       .l26-pp__info becomes a flex column, .l26-pp__price is display: contents so its children are
       flex items, the promo gets order 1 and everything after #product order 2.
   CSS only: DOM, OCMOD anchors and JS hooks (data-l26-*) are unchanged. Desktop is not affected.
   ========================================================================== */
@media (max-width: 767px) {
	.l26-pp__hero img,
	.l26-pp__slide img {
		aspect-ratio: 4 / 3;
	}

	.l26-pp__info {
		display: flex;
		flex-direction: column;
	}

	.l26-pp__info > * {
		min-width: 0;
	}

	.l26-pp__info > .l26-pp__price {
		display: contents;
	}

	/* the price block's own bottom margin is gone with display: contents — keep the gap above
	   the next block (colours or #product) */
	.l26-pp__info > .l26-pp__price > :last-child:not(.l26-pp__promo),
	.l26-pp__info > .l26-pp__price > :nth-last-child(2):has(+ .l26-pp__promo) {
		margin-bottom: 16px;
	}

	.l26-pp__info > .l26-pp__price > .l26-pp__promo {
		order: 1;
		margin: 0 0 16px;
	}

	.l26-pp__info > #product ~ * {
		order: 2;
	}
}

/* 2026-11-28 desktop: description tabs live in the left column under the gallery and the
   buy box (.l26-pp__info) stays sticky beside them. Mobile/tablet keep the single column:
   gallery, buy box, tabs (DOM order). The top offset is set by lotus26_product.js so a box
   taller than the screen sticks by its bottom edge. */
@media (min-width: 992px) {
	.l26-pp__main {
		grid-template-areas: "media info" "tabs info";
		grid-template-rows: auto 1fr;
		row-gap: 0;
	}
	.l26-pp__main > .l26-pp__media { grid-area: media; }
	.l26-pp__main > .l26-pp__tabs { grid-area: tabs; margin-top: 48px; min-width: 0; }
	.l26-pp__main > .l26-pp__info {
		grid-area: info;
		align-self: start;
		position: sticky;
		top: var(--l26-pp-top, 24px);
	}
}

/* M5 round 2 (2026-11-28): phones — the "Други цветове" swatch row sat between the TBI line and the
   size grid (~90px). It now follows #product (sizes + button), before the campaign box; the size
   grid moves up by that much. CSS order only (DOM unchanged). */
@media (max-width: 767px) {
	.l26-pp__info > .l26-pp__colours {
		order: 1;
		margin: 16px 0 18px;
	}

	.l26-pp__info > .l26-pp__price > .l26-pp__promo {
		order: 2;
	}

	.l26-pp__info > #product ~ * {
		order: 3;
	}
}

/* P28 (2026-11-28) accessibility: campaign title red on #F4F5F7 was 4.35:1 -> --l26-red-dark (5.56:1);
   gallery dots get a 24x24px hit area (WCAG 2.5.8), the visible dot is a ::before of the old size.
   Dots row padding reduced so the row grows by only ~4px (M5 first screen). */
.l26-pp__promo > strong {
	color: var(--l26-red-dark);
}

.l26-pp__dots {
	gap: 0;
	padding: 2px 0 0;
}

.l26-pp__dot,
.l26-pp__dot.is-active {
	position: relative;
	width: 24px;
	height: 24px;
	background: transparent;
}

.l26-pp__dot.is-active {
	width: 32px;
}

.l26-pp__dot::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 8px;
	height: 8px;
	border-radius: var(--l26-pill);
	background: #D1D5DB;
	transform: translate(-50%, -50%);
	transition: width .2s ease, background-color .2s ease;
}

.l26-pp__dot.is-active::before {
	width: 24px;
	background: var(--l26-ink);
}

@media (prefers-reduced-motion: reduce) {
	.l26-pp__dot::before {
		transition: none;
	}
}

/* 2026-11-28 user: 20px space under the description/FAQ before the next full-width section */
.l26-pp__main > .l26-pp__tabs { padding-bottom: 20px; }

/* 2026-11-28 the old theme (custom_v1.css) has "#tab-specification, #tab-review { display:none; padding:0 20px }",
   so the Характеристики and Коментари panels stayed empty after the tab switch: the id rules are
   overridden here (the [hidden] attribute still hides the inactive panels). */
.l26-pp__tabs #tab-specification:not([hidden]),
.l26-pp__tabs #tab-review:not([hidden]) {
	display: block;
	padding: 24px 0 0;
}

/* 2026-11-28 "Категории" tab: every category of the product as chips (like OpenCart's tags) */
.l26-pp__cats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.l26-pp__cats a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 6px 14px;
	border: 1px solid var(--l26-line);
	border-radius: 999px;
	background: #fff;
	font: 500 13px/1.2 var(--l26-font);
	color: var(--l26-ink);
	text-decoration: none;
	text-transform: none;
	transition: border-color .15s, background-color .15s, color .15s;
}
.l26-pp__cats a:hover,
.l26-pp__cats a:focus-visible {
	border-color: var(--l26-ink);
	background: var(--l26-ink);
	color: #fff;
	text-decoration: none;
}

/* 2026-11-28 reviews ------------------------------------------------------------------------------
   "Отзиви" tab (lotus26/pp_tabs.twig + product/review.twig): summary card, list, form card.
   Narrow column (< 860px of panel, e.g. 1366 desktop / mobile): stacked; wider: summary on the left
   (sticky), list + form on the right. Stars = one element with a CSS mask, --l26-rv = filled part in %.
   Overrides the old custom_v1.css "#tab-review fieldset/h2" rules and Bootstrap legend/label/.alert. */
.l26-pp__tabs #tab-review:not([hidden]) {
	container-type: inline-size;
}

.l26-rv {
	display: grid;
	/* rv2fix: minmax(0, 1fr), not the implicit auto track: a long unbroken word in a review must not
	   widen the whole tab (min-content) */
	grid-template-columns: minmax(0, 1fr);
	gap: 28px;
	font-family: var(--l26-font);
	color: var(--l26-ink);
}

.l26-rv__stars {
	--l26-rv: 0%;
	--l26-rv-s: 16px;
	/* 2026-11-28 rv2: the mask tile used to be (s + 3px) wide with the star centred in it plus the star's own
	   2.48/24 side bearing, so the first star started ~3-4px right of the text above / below it. Now the SVG
	   viewBox is cropped to the star's width (x 2.48..21.52 of 24, same scale as before) and aligned left
	   (xMinYMid), the tile = star + gap, and the element ends at the last star: the first star's left edge is
	   the element's left edge. --l26-rv / --l26-rv-s stay the API (also used by lotus26/pp_look.twig). */
	--l26-rv-w: calc(var(--l26-rv-s) * .7933);
	--l26-rv-g: calc(var(--l26-rv-s) * .2 + 1px);
	/* rv2fix: unfilled part #9CA3AF (2.5:1 on white) instead of #D1D5DB (1.5:1): "3 of 5" stays readable;
	   the decorative empty state below keeps the light tone */
	--l26-rv-off: #9CA3AF;
	display: inline-block;
	flex: 0 0 auto;
	vertical-align: middle;
	width: calc(var(--l26-rv-w) * 5 + var(--l26-rv-g) * 4);
	height: var(--l26-rv-s);
	background: linear-gradient(90deg, var(--l26-ink) var(--l26-rv), var(--l26-rv-off) var(--l26-rv));
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='2.48 0 19.04 24' preserveAspectRatio='xMinYMid meet'%3E%3Cpath d='M12 2.5l2.94 5.96 6.58.96-4.76 4.64 1.12 6.55L12 17.52l-5.88 3.09 1.12-6.55L2.48 9.42l6.58-.96z'/%3E%3C/svg%3E") 0 0 / calc(var(--l26-rv-w) + var(--l26-rv-g)) var(--l26-rv-s) repeat-x;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='2.48 0 19.04 24' preserveAspectRatio='xMinYMid meet'%3E%3Cpath d='M12 2.5l2.94 5.96 6.58.96-4.76 4.64 1.12 6.55L12 17.52l-5.88 3.09 1.12-6.55L2.48 9.42l6.58-.96z'/%3E%3C/svg%3E") 0 0 / calc(var(--l26-rv-w) + var(--l26-rv-g)) var(--l26-rv-s) repeat-x;
}

.l26-rv__stars--lg {
	--l26-rv-s: 22px;
}

/* summary card */
.l26-rv__summary {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 20px 36px;
	padding: 24px;
	border: 1px solid var(--l26-line);
	border-radius: var(--l26-radius);
	background: #fff;
}

.l26-rv__summary.is-empty {
	grid-template-columns: minmax(0, 1fr);
}

/* empty state: the form with the same heading follows right below, so no CTA button */
.l26-rv__summary.is-empty .l26-rv__cta {
	display: none;
}

.l26-rv__score {
	display: grid;
	align-self: stretch;
	align-content: center;
	justify-items: start;
	gap: 8px;
	/* 2026-11-28 rv2: a thin divider between the score column and the bars */
	padding-right: 36px;
	border-right: 1px solid var(--l26-line);
}

.l26-rv__avg {
	font: 800 48px/1 var(--l26-font);
	letter-spacing: -.02em;
	/* rv2fix: the 48px line box has the descender area under the digits: pull the stars up so the optical
	   gaps above and below the stars are about equal */
	margin-bottom: -6px;
}

.l26-rv__count {
	font: 500 13px/1.3 var(--l26-font);
	color: var(--l26-muted);
}

.l26-rv__dist {
	display: grid;
	gap: 7px;
	max-width: 380px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.l26-rv__dist li {
	display: grid;
	grid-template-columns: 30px minmax(0, 1fr) 26px;
	align-items: center;
	gap: 10px;
	font: 600 13px/1 var(--l26-font);
	color: var(--l26-muted);
}

.l26-rv__dist-star {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	color: var(--l26-ink);
}

.l26-rv__dist-icon {
	fill: currentColor;
}

.l26-rv__bar {
	height: 8px;
	overflow: hidden;
	border-radius: var(--l26-pill);
	background: var(--l26-line);
}

.l26-rv__bar > span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--l26-ink);
}

.l26-rv__dist-n {
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.l26-rv__none {
	display: grid;
	justify-items: start;
	gap: 6px;
}

.l26-rv__none .l26-rv__stars {
	--l26-rv-off: #D1D5DB;
	margin-bottom: 6px;
}

.l26-rv__none-title {
	margin: 0;
	font: 700 18px/1.3 var(--l26-font);
	color: var(--l26-ink);
}

.l26-rv__none-text {
	margin: 0;
	font: 400 14px/1.5 var(--l26-font);
	color: var(--l26-muted);
}

.l26-rv__cta {
	justify-self: end;
	min-height: 46px;
}

/* list */
.l26-rv__list:empty {
	display: none;
}

/* 2026-11-28 rv2fix: all reviews in ONE white card with hairline dividers (like the delivery card of the buy
   box), not a stack of bordered boxes. Each review: header (avatar + author/date), then stars and text on the
   same left edge as the avatar (= the summary card's content edge). */
.l26-rv__items {
	display: block;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--l26-line);
	border-radius: var(--l26-radius);
	background: #fff;
	list-style: none;
}

/* bottom padding is smaller than the top: the 1.65 line box of the text adds ~5px of half-leading */
.l26-rv__item {
	min-width: 0;
	padding: 20px 24px 17px;
}

.l26-rv__item + .l26-rv__item {
	border-top: 1px solid var(--l26-line);
}

.l26-rv__head {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.l26-rv__avatar {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #EEF0F3;
	color: var(--l26-ink);
	font: 700 15px/1 var(--l26-font);
	text-transform: uppercase;
	user-select: none;
}

.l26-rv__avatar svg {
	display: block;
	fill: #9CA3AF;
}

.l26-rv__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 10px;
	min-width: 0;
	margin: 0;
}

.l26-rv__author {
	min-width: 0;
	font: 700 16px/1.3 var(--l26-font);
	color: var(--l26-ink);
	overflow-wrap: anywhere;
}

.l26-rv__date {
	font: 400 13px/1.3 var(--l26-font);
	color: var(--l26-muted);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.l26-rv__item > .l26-rv__stars {
	display: block;
	margin-top: 14px;
}

/* 62ch ~ 68 Cyrillic characters per line; overflow-wrap: anywhere (not break-word) also lowers min-content */
.l26-rv__text {
	max-width: 62ch;
	margin: 8px 0 0;
	font: 400 16px/1.65 var(--l26-font);
	color: var(--l26-text);
	overflow-wrap: anywhere;
	text-wrap: pretty;
}

.l26-rv__pager {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	padding-top: 18px;
}

.l26-rv__pager .pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
}

.l26-rv__pager .pagination > li {
	float: none;
	margin: 0;
}

.l26-rv__pager .pagination > li > a,
.l26-rv__pager .pagination > li > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	float: none;
	min-width: 40px;
	height: 40px;
	margin: 0 !important;
	padding: 0 12px;
	border: 1px solid var(--l26-line) !important;
	border-radius: var(--l26-radius-sm) !important;
	background: #fff !important;
	color: var(--l26-ink) !important;
	font: 600 14px/1 var(--l26-font);
	text-decoration: none;
}

.l26-rv__pager .pagination > li > a:hover,
.l26-rv__pager .pagination > li > a:focus-visible {
	border-color: var(--l26-ink) !important;
}

.l26-rv__pager .pagination > li.active > span {
	border-color: var(--l26-ink) !important;
	background: var(--l26-ink) !important;
	color: #fff !important;
}

.l26-rv__results {
	font: 400 13px/1.3 var(--l26-font);
	color: var(--l26-muted);
}

/* form card */
/* rv2fix: 25px side padding (no border) = 24px + 1px border of the summary / list cards: one content edge */
.l26-rv__form {
	padding: 28px 25px;
	border-radius: var(--l26-radius);
	background: var(--l26-bg-soft);
	scroll-margin-top: 130px;
}

#product-product.l26-pp #form-review .l26-rv__title,
#tab-review .l26-rv__title {
	margin: 0 0 4px;
	font: 700 20px/1.3 var(--l26-font);
	letter-spacing: 0;
	text-transform: none;
	color: var(--l26-ink);
}

.l26-rv__sub {
	margin: 0 0 22px;
	font: 400 14px/1.5 var(--l26-font);
	color: #5F6673;
}

.l26-rv__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 18px 28px;
}

.l26-rv__field--full {
	grid-column: 1 / -1;
}

#tab-review fieldset.l26-rv__rate {
	float: none;
	width: auto;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

#tab-review .l26-rv__label {
	display: block;
	width: auto;
	max-width: none;
	margin: 0 0 7px;
	padding: 0;
	border: 0;
	font: 600 14px/1.3 var(--l26-font);
	color: var(--l26-ink);
}

.l26-rv__req {
	margin-left: 3px;
	font-weight: 400;
	color: #5F6673;
}

#tab-review .l26-rv__input {
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: 48px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid #878D97;
	border-radius: var(--l26-radius-sm);
	background: #fff;
	box-shadow: none;
	color: var(--l26-ink);
	font: 400 16px/1.4 var(--l26-font);
	-webkit-appearance: none;
	appearance: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}

#tab-review textarea.l26-rv__input {
	height: auto;
	min-height: 136px;
	padding: 12px 14px;
	line-height: 1.55;
	resize: vertical;
}

#tab-review .l26-rv__input::placeholder {
	color: #6B7280;
	opacity: 1;
}

#tab-review .l26-rv__input:hover {
	border-color: #4B5563;
}

/* the old theme has ":focus { border: none !important; box-shadow: none !important }" */
#tab-review .l26-rv__input:focus {
	border: 1px solid var(--l26-ink) !important;
	outline: none;
	box-shadow: 0 0 0 3px rgba(17, 17, 17, .12) !important;
}

#tab-review .is-invalid .l26-rv__input {
	border-color: var(--l26-red);
	background: #FFF7F7;
}

#tab-review .is-invalid .l26-rv__input:focus {
	border-color: var(--l26-red) !important;
	box-shadow: 0 0 0 3px rgba(227, 25, 31, .16) !important;
}

.l26-rv__note {
	margin: 6px 0 0;
	font: 400 12px/1.4 var(--l26-font);
	color: #5F6673;
}

.l26-rv__error {
	margin: 6px 0 0;
	font: 500 13px/1.4 var(--l26-font);
	color: var(--l26-red-dark);
}

.l26-rv__error[hidden] {
	display: none;
}

/* star picker: the radios stay in the DOM (keyboard: Tab to the group, arrows to change) */
.l26-rv__picker {
	position: relative;
	display: flex;
	align-items: center;
	gap: 2px;
	min-height: 48px;
	margin-left: -6px;
}

.l26-rv__radio {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
	pointer-events: none;
}

#tab-review .l26-rv__star {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin: 0;
	border-radius: var(--l26-radius-sm);
	color: #858B95;
	--l26-rv-fill: #fff;
	cursor: pointer;
	transition: color .12s ease, transform .12s ease;
}

.l26-rv__star svg {
	display: block;
	fill: var(--l26-rv-fill);
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linejoin: round;
}

#tab-review .l26-rv__picker:has(.l26-rv__radio:nth-of-type(1):checked) .l26-rv__star:nth-of-type(-n+1),
#tab-review .l26-rv__picker:has(.l26-rv__radio:nth-of-type(2):checked) .l26-rv__star:nth-of-type(-n+2),
#tab-review .l26-rv__picker:has(.l26-rv__radio:nth-of-type(3):checked) .l26-rv__star:nth-of-type(-n+3),
#tab-review .l26-rv__picker:has(.l26-rv__radio:nth-of-type(4):checked) .l26-rv__star:nth-of-type(-n+4),
#tab-review .l26-rv__picker:has(.l26-rv__radio:nth-of-type(5):checked) .l26-rv__star:nth-of-type(-n+5),
#tab-review .l26-rv__picker .l26-rv__star.is-on {
	color: var(--l26-ink);
	--l26-rv-fill: currentColor;
}

/* no rating chosen on submit: red outlines, like the red borders of the other fields */
#tab-review .is-invalid .l26-rv__star {
	color: var(--l26-red);
}

#tab-review .l26-rv__radio:focus-visible + .l26-rv__star {
	outline: 2px solid var(--l26-ink);
	outline-offset: -2px;
}

@media (hover: hover) {
	#tab-review #form-review .l26-rv__picker:hover .l26-rv__star {
		color: #858B95;
		--l26-rv-fill: #fff;
	}

	#tab-review #form-review .l26-rv__picker .l26-rv__star:hover,
	#tab-review #form-review .l26-rv__picker .l26-rv__star:has(~ .l26-rv__star:hover) {
		color: var(--l26-ink);
		--l26-rv-fill: currentColor;
	}

	#tab-review .l26-rv__picker .l26-rv__star:hover {
		transform: scale(1.08);
	}
}

.l26-rv__hint {
	min-width: 64px;
	margin-left: 10px;
	font: 600 14px/1.3 var(--l26-font);
	color: var(--l26-ink);
}

/* captcha of the captcha extension (fieldset > .form-group > label + .col-sm-10 > .g-recaptcha) */
#tab-review .l26-rv__captcha {
	margin-top: 22px;
}

#tab-review .l26-rv__captcha fieldset {
	float: none;
	width: auto;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

#tab-review .l26-rv__captcha legend,
#tab-review .l26-rv__captcha .control-label {
	display: none !important;
}

#tab-review .l26-rv__captcha .form-group {
	margin: 0;
}

#tab-review .l26-rv__captcha .col-sm-10 {
	float: none;
	width: auto;
	padding: 0;
}

/* placeholder in the size and colours of the reCAPTCHA box, drawn under it: no empty band while api.js
   loads (only on use of the form) or while its iframe paints; the widget's own div sits on top */
#tab-review .l26-rv__captcha .g-recaptcha {
	position: relative;
	width: 304px;
	max-width: 100%;
	min-height: 78px;
}

#tab-review .l26-rv__captcha .g-recaptcha::before,
#tab-review .l26-rv__captcha .g-recaptcha::after {
	content: "";
	position: absolute;
	z-index: 0;
	box-sizing: border-box;
	pointer-events: none;
}

#tab-review .l26-rv__captcha .g-recaptcha::before {
	top: 0;
	left: 0;
	width: 100%;
	height: 78px;
	border: 1px solid #D3D3D3;
	border-radius: 3px;
	background: #F9F9F9;
}

#tab-review .l26-rv__captcha .g-recaptcha::after {
	top: 25px;
	left: 12px;
	width: 28px;
	height: 28px;
	border: 2px solid #C1C1C1;
	border-radius: 2px;
	background: #fff;
}

#tab-review .l26-rv__captcha .g-recaptcha > div {
	position: relative;
	z-index: 1;
}

#tab-review .l26-rv__captcha.is-invalid .g-recaptcha::before {
	border-color: var(--l26-red);
	box-shadow: 0 0 0 1px var(--l26-red);
}

#tab-review .l26-rv__captcha.is-invalid .g-recaptcha > div {
	border-radius: 4px;
	box-shadow: 0 0 0 2px var(--l26-red);
}

/* messages (OpenCart .alert-success / .alert-danger, put in #l26-rv-msg) */
.l26-rv__msg:empty {
	display: none;
}

.l26-rv__msg {
	margin-top: 20px;
}

#tab-review .l26-rv__msg .alert {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	box-sizing: border-box;
	float: none;
	width: 100%;
	max-width: none;
	margin: 0 !important;
	padding: 14px 16px;
	border: 1px solid;
	border-radius: var(--l26-radius-sm);
	font: 500 14px/1.45 var(--l26-font);
	text-shadow: none;
	box-shadow: none;
}

#tab-review .l26-rv__msg .alert .fa {
	flex: 0 0 auto;
	margin-top: 2px;
	font-size: 16px;
}

#tab-review .l26-rv__msg .alert-success {
	border-color: #BBF7D0;
	background: #F0FDF4;
	color: #166534;
}

#tab-review .l26-rv__msg .alert-danger {
	border-color: #FECACA;
	background: #FEF2F2;
	color: #991B1B;
}

.l26-rv__actions {
	margin-top: 22px;
}

#tab-review .l26-rv__submit {
	min-height: 48px;
	padding: 0 30px;
	font-size: 15px;
}

#tab-review .l26-rv__submit:focus-visible,
#tab-review .l26-rv__cta:focus-visible,
.l26-rv__pager .pagination > li > a:focus-visible {
	outline: 2px solid var(--l26-ink) !important;
	outline-offset: 2px !important;
}

#tab-review .l26-rv__cta:focus {
	border: 1px solid var(--l26-ink) !important;
}

#tab-review .l26-rv__submit.is-loading {
	cursor: progress;
	opacity: 1;
	background: var(--l26-red-dark);
	border-color: var(--l26-red-dark);
}

#tab-review .l26-rv__submit.is-loading::before {
	content: "";
	width: 16px;
	height: 16px;
	box-sizing: border-box;
	border: 2px solid rgba(255, 255, 255, .45);
	border-top-color: #fff;
	border-radius: 50%;
	animation: l26-rv-spin .7s linear infinite;
}

@keyframes l26-rv-spin {
	to { transform: rotate(360deg); }
}

.l26-rv__login {
	margin: 8px 0 0;
	font: 400 15px/1.5 var(--l26-font);
}

.l26-rv__login a {
	color: var(--l26-ink);
	text-decoration: underline;
}

/* wide panel (1920 desktop: ~1030px): summary on the left, list + form on the right */
@container (min-width: 860px) {
	.l26-rv {
		grid-template-columns: 300px minmax(0, 1fr);
		align-items: start;
		gap: 28px 40px;
	}

	.l26-rv__summary,
	.l26-rv__summary.is-empty {
		position: sticky;
		top: 96px;
		grid-row: 1 / span 2;
		grid-template-columns: minmax(0, 1fr);
		align-items: start;
		gap: 22px;
	}

	.l26-rv__dist {
		max-width: none;
	}

	.l26-rv__score {
		padding-right: 0;
		border-right: 0;
	}

	.l26-rv__cta {
		justify-self: stretch;
	}

	.l26-rv__list,
	.l26-rv__form {
		grid-column: 2;
	}

	.l26-rv__list:empty + .l26-rv__form {
		grid-row: 1;
	}
}

/* phone */
@media (max-width: 640px) {
	.l26-rv {
		gap: 22px;
	}

	.l26-rv__summary,
	.l26-rv__summary.is-empty {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
		padding: 20px 16px;
	}

	.l26-rv__summary:not(.is-empty) {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.l26-rv__summary .l26-rv__cta {
		grid-column: 1 / -1;
		justify-self: stretch;
	}

	.l26-rv__avg {
		margin-bottom: -5px;
		font-size: 40px;
	}

	.l26-rv__score {
		padding-right: 18px;
	}

	.l26-rv__item {
		padding: 16px 16px 13px;
	}

	.l26-rv__head {
		gap: 10px;
	}

	.l26-rv__avatar {
		width: 32px;
		height: 32px;
		font-size: 14px;
	}

	.l26-rv__item > .l26-rv__stars {
		margin-top: 12px;
	}

	.l26-rv__text {
		font-size: 15.5px;
		line-height: 1.6;
	}

	.l26-rv__form {
		padding: 22px 17px;
	}

	.l26-rv__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	#tab-review .l26-rv__submit {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	#tab-review .l26-rv__star,
	#tab-review .l26-rv__input {
		transition: none;
	}

	#tab-review .l26-rv__submit.is-loading::before {
		animation-duration: 2s;
	}
}

/* 2026-11-28 user: review form — submit button on the right, in one row with the captcha */
#tab-review .l26-rv__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	margin-top: 22px;
}
#tab-review .l26-rv__foot > .l26-rv__captcha,
#tab-review .l26-rv__foot > .l26-rv__actions {
	margin-top: 0;
}
#tab-review .l26-rv__foot > .l26-rv__actions {
	margin-left: auto;
}
@media (max-width: 640px) {
	#tab-review .l26-rv__foot > .l26-rv__actions {
		flex: 1 1 100%;
		margin-left: 0;
	}
}

/* 2026-11-28 user: TBI instalment line with the TBI logo and TBI orange (#FF6600) accents. Text stays dark /
   dark orange for contrast (#FF6600 on white is only 2.9:1), orange is used for the accent bar, logo and button. */
.l26-pp__tbi {
	--l26-tbi: #FF6600;
	--l26-tbi-ink: #B84300; /* 5.6:1 on #FFF5EE */
	border: 1px solid rgba(255, 102, 0, .28);
	border-left: 4px solid var(--l26-tbi);
	background: transparent; /* user 28.11: no background */
}
.l26-pp__tbi-logo {
	flex: 0 0 auto;
	display: block;
	width: 44px;
	height: 18px;
	object-fit: contain;
}
.l26-pp__tbi-text strong {
	color: var(--l26-tbi); /* user 28.11: the official TBI orange #FF6600 */
	font-weight: 800;
}
.l26-pp__tbi-calc {
	padding: 6px 14px;
	border: 1.5px solid var(--l26-tbi);
	border-radius: 4px; /* user 28.11: not rounded */
	color: var(--l26-tbi-ink);
	text-decoration: none;
	transition: background-color .15s, color .15s;
}
.l26-pp__tbi-calc:hover,
.l26-pp__tbi-calc:focus-visible {
	background: var(--l26-tbi);
	color: #fff;
	text-decoration: none;
}
.l26-pp__tbi-calc:focus-visible {
	outline: 2px solid var(--l26-tbi-ink);
	outline-offset: 2px;
}

/* 2026-11-28 "Моля, изберете размер!" popup (lotus26_product.js, native <dialog>) */
.l26-sizepop {
	width: min(480px, calc(100vw - 32px));
	max-height: calc(100vh - 48px);
	padding: 0;
	border: 0;
	border-radius: 18px;
	background: #fff;
	color: var(--l26-ink);
	box-shadow: 0 24px 64px rgba(17, 17, 17, .28), 0 2px 8px rgba(17, 17, 17, .08);
	font-family: var(--l26-font);
	overflow: auto;
}
.l26-sizepop[open] {
	animation: l26-sizepop-in .2s cubic-bezier(.2, .8, .2, 1);
}
.l26-sizepop[open]::backdrop {
	animation: l26-sizepop-fade .2s ease-out;
}
@keyframes l26-sizepop-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes l26-sizepop-fade { from { opacity: 0; } to { opacity: 1; } }
.l26-sizepop::backdrop {
	background: rgba(17, 17, 17, .55);
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
}
.l26-sizepop__in {
	position: relative;
	padding: 22px 22px 20px;
}
.l26-sizepop__head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 44px 0 0;
}
.l26-sizepop__img {
	flex: 0 0 72px;
	width: 72px;
	height: 72px;
	overflow: hidden;
	border-radius: 12px;
	background: #F5F5F5;
}
.l26-sizepop__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
}
.l26-sizepop__hd {
	min-width: 0;
}
.l26-sizepop__t {
	margin: 0;
	font: 800 20px/1.25 var(--l26-font);
	color: var(--l26-ink);
}
.l26-sizepop__name {
	display: -webkit-box;
	margin: 4px 0 0;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	color: var(--l26-muted);
	font-size: 14px;
	line-height: 1.35;
}
.l26-sizepop__sub {
	margin: 16px 0 14px;
	padding: 10px 12px;
	border-radius: 10px;
	background: var(--l26-bg-soft, #F3F4F6);
	color: var(--l26-ink);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
}
.l26-sizepop__x {
	position: absolute;
	top: 14px;
	right: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: var(--l26-bg-soft, #F3F4F6);
	color: var(--l26-ink);
	cursor: pointer;
	transition: background-color .15s;
}
.l26-sizepop__x:hover { background: #E5E7EB; }
.l26-sizepop__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
	gap: 8px;
}
.l26-sizepop__s {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 6px 4px;
	border: 1px solid var(--l26-line, #E5E7EB);
	border-radius: 10px;
	background: #fff;
	color: var(--l26-ink);
	font: 600 15px/1.2 var(--l26-font);
	cursor: pointer;
	transition: border-color .15s, background-color .15s, color .15s, transform .1s;
}
.l26-sizepop__s:hover,
.l26-sizepop__s:focus-visible {
	border-color: var(--l26-ink);
	background: var(--l26-ink);
	color: #fff;
}
.l26-sizepop__s:active { transform: scale(.97); }
.l26-sizepop__s.is-out,
.l26-sizepop__s.is-out:hover {
	border-color: #EEF0F2;
	background: repeating-linear-gradient(135deg, #fff 0 6px, #F4F5F7 6px 12px);
	color: #A3A9B1;
	font-weight: 500;
	text-decoration: line-through;
	cursor: not-allowed;
}
.l26-sizepop__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid var(--l26-line, #E5E7EB);
}
.l26-sizepop__note {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--l26-muted);
	font-size: 13px;
}
.l26-sizepop__note i {
	width: 14px;
	height: 14px;
	border: 1px solid #E5E7EB;
	border-radius: 3px;
	background: repeating-linear-gradient(135deg, #fff 0 3px, #ECEEF1 3px 6px);
}
.l26-sizepop__chart {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 0;
	border: 0;
	background: none;
	color: var(--l26-ink);
	font: 600 14px/1.2 var(--l26-font);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}
.l26-sizepop__chart:hover { color: var(--l26-red, #E3191F); }
.l26-sizepop__chart:focus-visible {
	outline: 2px solid var(--l26-red, #E3191F);
	outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
	.l26-sizepop[open],
	.l26-sizepop[open]::backdrop { animation: none; }
}
.l26-sizepop__s:focus-visible,
.l26-sizepop__x:focus-visible {
	outline: 2px solid var(--l26-red, #E3191F) !important;
	outline-offset: 2px;
}
@media (max-width: 575px) {
	.l26-sizepop {
		margin: auto 0 0;
		width: 100vw;
		max-width: 100vw;
		border-radius: 18px 18px 0 0;
	}
	.l26-sizepop__in { padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
}
/* the old theme's "*:focus{border:none!important}" erased the border of the focused first size */
.l26-sizepop .l26-sizepop__s:focus {
	border: 1px solid var(--l26-line, #E5E7EB) !important;
}
.l26-sizepop .l26-sizepop__s:hover,
.l26-sizepop .l26-sizepop__s:focus-visible {
	border-color: var(--l26-ink) !important;
}

/* 2026-11-28 user: "Отзивите в черен цвят не стоят добре – направи ги в червен, в стила на магазина".
   Stars, bars, avatar and the rating picker in the shop red (--l26-red #E3191F); empty stars in a light
   neutral so the red reads clearly; also applies to the star row of "Завърши визията" (same .l26-rv__stars). */
.l26-rv__stars {
	--l26-rv-on: var(--l26-red, #E3191F);
	--l26-rv-off: #D5D9DF;
	background: linear-gradient(90deg, var(--l26-rv-on) var(--l26-rv), var(--l26-rv-off) var(--l26-rv));
}
.l26-rv__none .l26-rv__stars {
	--l26-rv-off: #E5E7EB;
}
.l26-rv__avg {
	color: var(--l26-ink);
}
.l26-rv__dist-star,
.l26-rv__dist-icon {
	color: var(--l26-ink);
}
.l26-rv__dist-icon {
	fill: var(--l26-red, #E3191F);
}
.l26-rv__bar {
	background: #F1F2F4;
}
.l26-rv__bar > span {
	background: linear-gradient(90deg, var(--l26-red-dark, #C4141A), var(--l26-red, #E3191F));
}
.l26-rv__avatar {
	background: #FDECEC;
	color: var(--l26-red-dark, #C4141A);
}
.l26-rv__avatar svg {
	fill: #F19C9F;
}
.l26-rv__item {
	transition: background-color .15s;
}
@media (hover: hover) {
	.l26-rv__item:hover { background: #FFFBFB; }
}
.l26-rv__cta {
	transition: border-color .15s, color .15s, background-color .15s;
}
@media (hover: hover) {
	.l26-rv__cta:hover {
		border-color: var(--l26-red, #E3191F) !important;
		background: var(--l26-red, #E3191F) !important;
		color: #fff !important;
	}
}
/* rating picker in the form */
#tab-review .l26-rv__picker:has(.l26-rv__radio:nth-of-type(1):checked) .l26-rv__star:nth-of-type(-n+1),
#tab-review .l26-rv__picker:has(.l26-rv__radio:nth-of-type(2):checked) .l26-rv__star:nth-of-type(-n+2),
#tab-review .l26-rv__picker:has(.l26-rv__radio:nth-of-type(3):checked) .l26-rv__star:nth-of-type(-n+3),
#tab-review .l26-rv__picker:has(.l26-rv__radio:nth-of-type(4):checked) .l26-rv__star:nth-of-type(-n+4),
#tab-review .l26-rv__picker:has(.l26-rv__radio:nth-of-type(5):checked) .l26-rv__star:nth-of-type(-n+5),
#tab-review .l26-rv__picker .l26-rv__star.is-on {
	color: var(--l26-red, #E3191F);
	--l26-rv-fill: currentColor;
}
@media (hover: hover) {
	#tab-review #form-review .l26-rv__picker .l26-rv__star:hover,
	#tab-review #form-review .l26-rv__picker .l26-rv__star:has(~ .l26-rv__star:hover) {
		color: var(--l26-red, #E3191F);
		--l26-rv-fill: currentColor;
	}
}

/* ===== fin3 2026-11-29: product page QA fix pass (CSS only, no text changed) ===== */

/* add to cart: the mini cart opens and confirms the add; the old green Bootstrap alert above the breadcrumb ("... към
   вашата кошница") is kept only for screen readers (visually hidden, the text now says "в количката") */
#product-product.l26-pp > .alert-success {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* the phone sticky add-to-cart bar (z 9991) sat above Bootstrap modals (z 1050): hidden while one is open */
body.modal-open .l26-pp-sticky {
	visibility: hidden;
	pointer-events: none;
}

/* the description: the old "#tab-description { line-height: 18px; letter-spacing: .075em }" (custom_v1.css) won by
   its ID selector; LOTUS26 body text = 1.6, no tracking (headings and list items inherit it) */
#product-product.l26-pp #tab-description {
	letter-spacing: normal;
	line-height: 1.6;
}
#product-product.l26-pp .l26-pp__desc h2,
#product-product.l26-pp .l26-pp__desc h3,
#product-product.l26-pp .l26-pp__desc li {
	letter-spacing: normal;
}

/* the old theme's rotated grey hook after every breadcrumb item (the other LOTUS26 sections reset it too) */
ul.breadcrumb.l26-pp__crumbs > li::after {
	display: none;
}

/* "Бърза поръчка" is a <button> now (product.twig): it looks exactly like the old text inside the grey bar */
#product-product.l26-pp #product-quick-order button.trigger-fast-order {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}
/* the privacy link in the quick-order consent: ink + underline (it failed the contrast check) */
#product-product.l26-pp #product-quick-order a.l26-pp__qprivacy {
	color: var(--l26-ink, #111);
	text-decoration: underline;
}

/* size chart on phones: the four columns (EU / length / UK / US) fit at 360 px instead of hiding UK and US */
@media (max-width: 767px) {
	#sizechart-modal .lsc-table thead th {
		white-space: normal;
		line-height: 1.25;
	}
	#sizechart-modal .lsc-table th,
	#sizechart-modal .lsc-table td {
		padding: 7px 5px;
	}
}

/* review form on small phones: the 304 px reCAPTCHA box stuck out of the form by ~12 px at 360 */
@media (max-width: 379px) {
	#product-product.l26-pp #tab-review .g-recaptcha {
		transform: scale(.9);
		transform-origin: 0 0;
	}
}

/* one-size articles: the pre-selected "Един размер" (pp_options.twig) is a text-wide chip; two grid columns + a smaller font,
   one 64 px column on a phone cut the text (owner, 2026-12-03) */
#product-product.l26-pp .l26-size--one {
	grid-column: span 2;
}

#product-product.l26-pp .l26-size--one .l26-size__box {
	width: auto;
	min-width: 0;
	padding-left: 8px;
	padding-right: 8px;
	font-size: 13px;
	white-space: nowrap;
}

/* phone tabs: a fade at the right edge shows that the row scrolls ("Доставка и връщане" was cut without a hint) */
@media (max-width: 767px) {
	.l26-pp__tablist {
		-webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
		mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
		padding-right: 24px;
	}
}

/* 2026-12-02 sold-out article: row of in-stock alternatives in the info column (lotus26/pp_benefits.twig). It is the home
   product row (lotus26_home.css) in a narrow column: 2 cards per view. */
.l26-pp__similar {
	margin: 0 0 22px;
	min-width: 0;
}

.l26-pp .l26-pp__similar .l26-home-sec {
	margin: 0;
}

.l26-pp .l26-pp__similar .l26-home-sec__head {
	margin: 0 0 12px;
}

.l26-pp .l26-pp__similar .l26-home-sec__head .l26-home-sec__title {
	font-size: 18px;
	line-height: 1.25;
}

.l26-pp .l26-pp__similar .l26-home-sec ul.l26-ptabs__row {
	gap: 12px;
}

.l26-pp .l26-pp__similar .l26-ptabs__item {
	flex: 0 0 calc((100% - 12px) / 2);
}
