/* ==========================================================================
   Inner pages — replica of the reference template
   (Cosmetic / Blocksy): shop, product, news, article, about, contact, 404.
   Loads after main.css and reuses its tokens, header, footer and buttons.
   ========================================================================== */

:root {
	--ref-soft: var(--v2-ivory);
	--ref-line: var(--v2-line);
	--ref-line-strong: #d9d1c9;
	--ref-body: var(--v2-taupe);
	--ref-muted: #9a948c;
	--ref-accent: var(--v2-deep-gold);
	--ref-ink: var(--cos-brand-ink);
	--ref-gap: 20px;
	--ref-section: clamp(48px, 6vw, 88px);
}

/* ------------------------------------------------------------------ base --- */
.ref-main {
	padding-bottom: 0;
}

.ref-container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

.ref-eyebrow {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ref-accent);
}

/* ------------------------------------------------------------- page title --- */
.ref-page-title {
	padding: clamp(40px, 5vw, 66px) 0 clamp(26px, 3vw, 40px);
	text-align: center;
}

.ref-page-title h1 {
	margin: 0;
	font-size: clamp(30px, 4vw, 44px);
	line-height: 1.16;
	letter-spacing: -0.03em;
	color: var(--ref-ink);
}

.ref-page-title--plain {
	padding-bottom: 30px;
}

/* ------------------------------------------------------------ shop banner --- */
.ref-banner {
	position: relative;
	overflow: hidden;
	background: var(--ref-soft);
	margin-top: 0;
}

.ref-banner__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	min-height: 244px;
}

.ref-banner__text {
	padding: 42px 0 42px clamp(8px, 3vw, 40px);
	max-width: 520px;
}

.ref-banner__title {
	margin: 0 0 14px;
	font-size: clamp(28px, 3.4vw, 40px);
	line-height: 1.18;
	letter-spacing: -0.03em;
	color: var(--ref-ink);
}

.ref-banner__text p {
	margin: 0;
	max-width: 46ch;
	font-size: 15px;
	line-height: 1.7;
	color: var(--ref-body);
}

.ref-banner__media {
	position: relative;
	align-self: stretch;
	min-height: 244px;
}

.ref-banner__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* English WooCommerce shop only. */
.ref-collections-banner {
	background: transparent;
}

.ref-collections-banner .ref-container,
.ref-container.ref-collections-en {
	max-width: 1320px;
}

.ref-collections-banner .ref-banner__inner {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: flex;
	aspect-ratio: 3 / 1;
	background: #f3eee9;
}

.ref-collections-banner .ref-banner__text {
	width: 53%;
	padding: 32px clamp(16px, 4vw, 64px);
}

.ref-collections-banner .ref-banner__media {
	position: absolute;
	inset: 0;
	z-index: -1;
	min-height: 0;
}

.ref-collections-banner .ref-banner__media img {
	object-position: right center;
}

.ref-collections-banner .ref-banner__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(250, 246, 241, .94), rgba(250, 246, 241, .75) 32%, transparent 65%);
}

.ref-collections-banner .ref-banner__title {
	font-size: clamp(34px, 4.1vw, 58px);
}

.ref-collections-en .ref-layout {
	grid-template-columns: minmax(0, 24fr) minmax(0, 76fr);
	gap: clamp(32px, 3vw, 44px);
	padding-block: clamp(32px, 4vw, 64px);
}

.ref-collections-en .ref-sidebar {
	gap: 26px;
}

.ref-collections-en .ref-filter li {
	padding-block: 11px;
}

.ref-collections-en .ref-catalog-quote p {
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.55;
}

.ref-collections-en .ref-catalog-quote a {
	color: var(--ref-ink);
	text-decoration: underline;
	text-underline-offset: 4px;
	font-weight: 600;
}

.ref-collections-en .ref-mini__thumb {
	width: 48px;
	height: 48px;
}

.ref-collections-en .ref-mini__name {
	font-size: 13px;
}

.ref-collections-en .ref-products {
	gap: 34px 22px;
}

.ref-collections-en .ref-card__media {
	aspect-ratio: 4 / 5;
}

.ref-collections-en .ref-card__title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	min-height: 2.7em;
	font-size: clamp(15px, 1.2vw, 16px);
}

.ref-collections-en .ref-card__category {
	margin: 0;
	font-size: 12px;
	color: var(--ref-muted);
}

@media (max-width: 860px) {
	.ref-collections-en .ref-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.ref-collections-banner .ref-banner__inner {
		min-height: 244px;
	}
}

@media (max-width: 600px) {
	.ref-collections-banner .ref-banner__inner {
		aspect-ratio: 16 / 10;
		min-height: 235px;
	}

	.ref-collections-banner .ref-banner__title {
		font-size: clamp(28px, 8vw, 36px);
	}

	.ref-collections-banner .ref-banner__text {
		width: 66%;
	}
	
	.ref-collections-banner .ref-banner__media::after {
		background: linear-gradient(90deg, rgba(250, 246, 241, .97), rgba(250, 246, 241, .82) 42%, transparent 79%);
	}

	.ref-collections-en .ref-products {
		gap: 26px 14px;
	}
}

/* ------------------------------------------------------- layout + sidebar --- */
.ref-layout {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	gap: 44px;
	align-items: start;
	padding: var(--ref-section) 0;
}

.ref-layout--news {
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 40px;
}

.ref-sidebar {
	display: flex;
	flex-direction: column;
	gap: 34px;
}

.ref-widget__title {
	margin: 0 0 16px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--ref-ink);
}

.ref-widget {
	padding-bottom: 22px;
	border-bottom: 1px solid var(--ref-line);
}

.ref-widget:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

/* Follow the article grid on desktop, allowing tall sidebars to scroll to their last widget. */
@media (min-width: 861px) {
	.ref-sidebar[data-ref-sticky] {
		position: sticky;
		align-self: start;
		top: min(var(--ref-sidebar-clearance), calc(100dvh - var(--ref-sidebar-height) - 24px));
	}
}

/* filter lists */
.ref-filter {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ref-filter li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 4px 0;
}

.ref-filter label {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 13px;
	color: #55555d;
	cursor: pointer;
}

.ref-filter input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	width: 14px;
	height: 14px;
	border: 1px solid var(--ref-line-strong);
	background: #fff;
	position: relative;
	flex: 0 0 auto;
	cursor: pointer;
}

.ref-filter input[type="checkbox"]:checked {
	background: var(--ref-ink);
	border-color: var(--ref-ink);
}

.ref-filter input[type="checkbox"]:checked::after {
	content: "";
	position: absolute;
	left: 4px;
	top: 1px;
	width: 4px;
	height: 8px;
	border: solid #fff;
	border-width: 0 1.5px 1.5px 0;
	transform: rotate(45deg);
}

.ref-filter a {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 13px;
	color: #55555d;
}

.ref-filter a:hover {
	color: var(--ref-accent);
}

.ref-filter__count {
	font-size: 12px;
	color: var(--ref-muted);
}

/* price slider (visual replica) */
.ref-price {
	padding-top: 4px;
}

.ref-price__track {
	position: relative;
	height: 2px;
	background: var(--ref-line-strong);
	margin: 14px 0 12px;
}

.ref-price__fill {
	position: absolute;
	left: 4%;
	right: 12%;
	top: 0;
	height: 2px;
	background: var(--ref-accent);
}

.ref-price__handle {
	position: absolute;
	top: 50%;
	width: 12px;
	height: 12px;
	border: 2px solid var(--ref-accent);
	background: #fff;
	border-radius: 50%;
	transform: translate(-50%, -50%);
}

.ref-price__value {
	font-size: 13px;
	color: var(--ref-body);
}

/* mini product list (sidebar) */
.ref-mini {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ref-mini__item {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
}

.ref-mini__thumb {
	display: block;
	width: 58px;
	height: 58px;
	overflow: hidden;
	background: var(--ref-soft);
}

.ref-mini__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ref-mini__name {
	display: block;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--ref-ink);
}

.ref-mini__name:hover {
	color: var(--ref-accent);
}

.ref-mini__meta {
	display: block;
	margin-top: 2px;
	font-size: 12px;
	color: var(--ref-muted);
}

/* ------------------------------------------------------------- shop toolbar -- */
.ref-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
}

.ref-toolbar__count {
	margin: 0;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ref-muted);
}

.ref-toolbar select {
	border: 1px solid var(--ref-line);
	background: #fff;
	padding: 8px 32px 8px 12px;
	font-size: 13px;
	color: var(--ref-ink);
	appearance: none;
	-webkit-appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, #6e6e75 50%), linear-gradient(135deg, #6e6e75 50%, transparent 50%);
	background-position: calc(100% - 15px) 50%, calc(100% - 10px) 50%;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
	cursor: pointer;
}

/* ------------------------------------------------------------ product grid -- */
.ref-products {
	display: grid;
	grid-template-columns: repeat(var(--ref-catalog-columns, 3), minmax(0, 1fr));
	gap: 40px 21px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ref-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	text-align: center;
}

.ref-card__media {
	position: relative;
	display: block;
	overflow: hidden;
	background: var(--ref-soft);
	aspect-ratio: 500 / 714;
}

.ref-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.ref-card:hover .ref-card__media img {
	transform: scale(1.045);
}

.ref-card__badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	background: var(--ref-accent);
	color: #fff;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 5px 9px;
	line-height: 1;
}

.ref-card__title {
	margin: 6px 0 0;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--ref-ink);
}

.ref-card__title a:hover {
	color: var(--ref-accent);
}

.ref-card__price {
	display: flex;
	justify-content: center;
	align-items: baseline;
	gap: 6px;
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: var(--ref-accent);
}

.ref-card__price del {
	font-size: 13px;
	font-weight: 400;
	color: var(--ref-muted);
}

.ref-card__chips {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 5px;
	margin: 2px 0 0;
	padding: 0;
	list-style: none;
}

.ref-card__chips li {
	border: 1px solid var(--ref-line);
	padding: 3px 8px;
	font-size: 11px;
	line-height: 1.5;
	color: var(--ref-body);
	background: #fff;
}

.ref-stars {
	display: inline-flex;
	justify-content: center;
	gap: 2px;
	color: #f0a04b;
}

.ref-stars svg {
	width: 14px;
	height: 14px;
	fill: #dcd9d4;
}

.ref-stars svg.is-on {
	fill: #f0a04b;
}

/* ------------------------------------------------------------- pagination --- */
.ref-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 44px;
	position: relative;
}

.ref-pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 34px;
	height: 34px;
	font-size: 13px;
	color: var(--ref-ink);
}

.ref-pagination .page-numbers.current {
	background: var(--ref-accent);
	color: #fff;
}

.ref-pagination .page-numbers:hover {
	color: var(--ref-accent);
}

.ref-pagination .next,
.ref-pagination .prev {
	position: absolute;
	right: 0;
	border: 1px solid var(--ref-line-strong);
	padding: 0 14px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	height: 36px;
}

.ref-pagination .prev {
	left: 0;
	right: auto;
}

/* ==========================================================================
   PRODUCT DETAIL
   ========================================================================== */
.ref-product {
	padding: clamp(24px, 3vw, 40px) 0 var(--ref-section);
}

.ref-crumbs {
	margin: 0 0 26px;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ref-muted);
}

.ref-crumbs a {
	color: var(--ref-body);
}

.ref-crumbs a:hover {
	color: var(--ref-accent);
}

.ref-crumbs span + span::before {
	content: ">";
	margin: 0 7px;
	color: #c6bfb7;
}

.ref-product__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
	gap: clamp(28px, 4vw, 46px);
	align-items: start;
}

.ref-product__gallery {
	position: sticky;
	top: 20px;
}

.ref-product__image {
	background: var(--ref-soft);
	overflow: hidden;
}

.ref-product__image img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.ref-related--en > .ref-container,
.ref-product--b2b > .ref-container {
	max-width: 1320px;
}

.ref-product--b2b .ref-tabs__panel :where(p, ul, ol) {
	max-inline-size: 76ch;
}

.ref-product--b2b .ref-product__image a {
	display: block;
	cursor: zoom-in;
}

.ref-product--b2b .ref-product__thumbs a {
	display: block;
}

.ref-product--b2b .ref-product__desc {
	line-height: 1.7;
}

.ref-product--b2b .ref-safe {
	margin-top: 20px;
}

.ref-product__thumbs {
	display: flex;
	gap: 8px;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}

.ref-product__thumbs img {
	width: 74px;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.ref-product__summary {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding-top: 4px;
}

.ref-product__title {
	margin: 0;
	font-size: clamp(26px, 2.8vw, 36px);
	line-height: 1.15;
	letter-spacing: -0.03em;
	color: var(--ref-ink);
}

.ref-product__price {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	color: var(--ref-accent);
}

.ref-product__desc {
	font-size: 15px;
	line-height: 1.7;
	color: var(--ref-body);
	border-top: 1px solid var(--ref-line);
	padding-top: 18px;
}

.ref-product__desc p {
	margin: 0 0 0.9em;
}

.ref-product__attr {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ref-product__attr-label {
	font-size: 13px;
	font-weight: 500;
	color: var(--ref-ink);
}

.ref-product__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ref-product__chips li {
	border: 1px solid var(--ref-line-strong);
	padding: 6px 12px;
	font-size: 12px;
	color: var(--ref-body);
	background: #fff;
}

.ref-product__buy {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 10px;
	margin-top: 4px;
}

.ref-qty {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--ref-line-strong);
	height: 46px;
	padding: 0 4px;
}

.ref-qty button {
	width: 30px;
	height: 100%;
	border: 0;
	background: none;
	font-size: 16px;
	color: var(--ref-ink);
	cursor: pointer;
}

.ref-qty span {
	min-width: 26px;
	text-align: center;
	font-size: 13px;
}

.ref-product__buy .cos-btn {
	height: 46px;
	padding: 0 26px;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	background: var(--ref-accent);
	border-color: var(--ref-accent);
	color: #fff;
}

.ref-product__buy .cos-btn:hover {
	background: var(--v2-black);
	border-color: var(--v2-black);
}

.ref-product__links {
	display: flex;
	gap: 18px;
	font-size: 12px;
	color: var(--ref-body);
}

.ref-product__links a:hover {
	color: var(--ref-accent);
}

.ref-product__meta {
	margin: 6px 0 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ref-muted);
}

.ref-product__meta strong {
	color: var(--ref-body);
	font-weight: 500;
}

.ref-safe {
	border: 1px solid var(--ref-line);
	padding: 14px 16px;
	text-align: center;
	margin-top: 6px;
}

.ref-safe__title {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 600;
	color: var(--ref-ink);
}

.ref-safe img {
	height: 22px;
	width: auto;
	margin: 0 auto;
}

/* tabs */
.ref-tabs {
	margin-top: clamp(40px, 5vw, 64px);
	border-top: 1px solid var(--ref-line);
}

.ref-tabs__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
	border-bottom: 1px solid var(--ref-line);
}

.ref-tabs__nav button {
	position: relative;
	border: 0;
	background: none;
	padding: 16px 0;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ref-muted);
	cursor: pointer;
}

.ref-tabs__nav button.is-active {
	color: var(--ref-ink);
}

.ref-tabs__nav button.is-active::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2px;
	background: var(--ref-accent);
}

.ref-tabs__panel {
	display: none;
	padding: 28px 0 0;
	font-size: 15px;
	line-height: 1.7;
	color: var(--ref-body);
}

.ref-tabs__panel.is-active {
	display: block;
}

.ref-tabs__panel h2,
.ref-tabs__panel h3 {
	color: var(--ref-ink);
	margin: 1.4em 0 0.5em;
	letter-spacing: -0.02em;
}

.ref-tabs__panel h2 {
	font-size: 22px;
}

.ref-tabs__panel p {
	margin: 0 0 1em;
}

.ref-tabs__panel table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.ref-tabs__panel th,
.ref-tabs__panel td {
	border: 1px solid var(--ref-line);
	padding: 10px 12px;
	text-align: left;
}

.ref-tabs__panel th {
	background: var(--ref-soft);
	font-weight: 600;
	color: var(--ref-ink);
	width: 34%;
}

/* related */
.ref-related {
	padding: 0 0 var(--ref-section);
}

.ref-related__title {
	margin: 0 0 24px;
	font-size: 20px;
	font-weight: 600;
	color: var(--ref-ink);
}

.ref-related .ref-products {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ==========================================================================
   NEWS / BLOG
   ========================================================================== */
.ref-news {
	display: flex;
	flex-direction: column;
	gap: 34px;
}

.ref-news__item {
	display: grid;
	grid-template-columns: 238px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
	padding-bottom: 34px;
	border-bottom: 1px solid var(--ref-line);
}

.ref-news__item:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.ref-news__media {
	display: block;
	overflow: hidden;
	background: var(--ref-soft);
	aspect-ratio: 1 / 1;
}

.ref-news__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.ref-news__item:hover .ref-news__media img {
	transform: scale(1.04);
}

.ref-news__title {
	margin: 4px 0 10px;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.28;
	letter-spacing: -0.02em;
}

.ref-news__title a {
	color: var(--ref-ink);
}

.ref-news__title a:hover {
	color: var(--ref-accent);
}

.ref-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--ref-muted);
}

.ref-meta__avatar {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	object-fit: cover;
}

.ref-meta a {
	color: var(--ref-accent);
}

.ref-meta__sep {
	color: #c6bfb7;
}

.ref-news__excerpt {
	margin: 0;
	font-size: 15px;
	line-height: 1.7;
	color: var(--ref-body);
}

/* sidebar promo */
.ref-promo {
	position: relative;
	overflow: hidden;
	min-height: 330px;
	display: flex;
	align-items: flex-end;
}

.ref-promo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ref-promo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(13, 14, 22, 0.05) 30%, rgba(13, 14, 22, 0.72) 100%);
}

.ref-promo__body {
	position: relative;
	z-index: 1;
	padding: 22px;
	color: #fff;
}

.ref-promo__title {
	margin: 0 0 10px;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -0.02em;
	color: #fff;
}

.ref-promo__text {
	margin: 0 0 16px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.86);
}

.ref-promo .cos-btn {
	height: 40px;
	padding: 0 18px;
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* English Journal list and sidebar. */
.ref-container.ref-journal-en,
.ref-article-en > .ref-container {
	max-width: 1320px;
}

:is(.ref-journal-en .ref-layout--news, .ref-article-en .ref-article__grid) {
	grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
	column-gap: clamp(36px, 3.5vw, 46px);
}

.ref-journal-en .ref-news {
	gap: 36px;
}

.ref-journal-en .ref-news__item {
	grid-template-columns: minmax(0, 32%) minmax(0, 1fr);
	gap: clamp(20px, 2.4vw, 34px);
	padding-bottom: 36px;
}

.ref-journal-en .ref-news__item:last-child {
	padding-bottom: 0;
}

.ref-journal-en .ref-news__title {
	margin-top: 0;
	font-size: clamp(19px, 1.55vw, 23px);
}

.ref-journal-en .ref-news__excerpt {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	overflow: hidden;
}

:is(.ref-journal-en, .ref-article-en) .ref-sidebar {
	gap: clamp(30px, 3vw, 42px);
}

:is(.ref-journal-en, .ref-article-en) .ref-promo {
	aspect-ratio: 2 / 3;
	min-height: 0;
	background: var(--ref-ink);
}

:is(.ref-journal-en, .ref-article-en) .ref-promo img {
	object-position: 50% 25%;
}

:is(.ref-journal-en, .ref-article-en) .ref-promo::after {
	background: linear-gradient(180deg, transparent 27%, rgba(13, 14, 22, .18) 54%, rgba(13, 14, 22, .87) 100%);
}

:is(.ref-journal-en, .ref-article-en) .ref-promo__body {
	padding: clamp(20px, 2vw, 30px);
}

:is(.ref-journal-en, .ref-article-en) .ref-widget__title {
	font-size: 18px;
}

:is(.ref-journal-en, .ref-article-en) .ref-mini__item {
	padding-block: 10px;
}

@media (max-width: 860px) {
	:is(.ref-journal-en .ref-layout--news, .ref-article-en .ref-article__grid) {
		grid-template-columns: minmax(0, 1fr);
		gap: 44px;
	}

	:is(.ref-journal-en, .ref-article-en) .ref-sidebar {
		width: 100%;
		max-width: 420px;
		margin-inline: auto;
	}
}

@media (max-width: 689px) {
	.ref-journal-en .ref-news,
	:is(.ref-journal-en, .ref-article-en) .ref-sidebar {
		gap: 28px;
	}

	.ref-journal-en .ref-news__item {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
		padding-bottom: 28px;
	}

	.ref-journal-en .ref-news__media {
		aspect-ratio: 1 / 1;
	}
}

/* newsletter */
.ref-newsletter p {
	margin: 0 0 12px;
	font-size: 13px;
	line-height: 1.6;
	color: var(--ref-body);
}

.ref-newsletter form {
	display: flex;
}

.ref-newsletter input[type="email"] {
	flex: 1 1 auto;
	min-width: 0;
	height: 42px;
	border: 1px solid var(--ref-line-strong);
	border-right: 0;
	background: #fff;
	padding: 0 12px;
	font-size: 13px;
	color: var(--ref-ink);
}

.ref-newsletter button {
	height: 42px;
	border: 0;
	background: var(--ref-accent);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0 18px;
	cursor: pointer;
}

.ref-newsletter button:hover {
	background: var(--v2-black);
}

/* ==========================================================================
   ARTICLE
   ========================================================================== */
.ref-article {
	padding: clamp(24px, 3vw, 40px) 0 var(--ref-section);
}

.ref-article.ref-article-en {
	padding-bottom: clamp(36px, 5vw, 72px);
}

.ref-article-en .ref-article__body {
	max-width: 760px;
}

.ref-article__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 40px;
	align-items: start;
}

.ref-article__cover {
	overflow: hidden;
	background: var(--ref-soft);
	margin-bottom: 26px;
}

.ref-article__cover img {
	width: 100%;
	aspect-ratio: 16 / 8.2;
	object-fit: cover;
}

.ref-article__title {
	margin: 0 0 12px;
	font-size: clamp(24px, 2.6vw, 30px);
	line-height: 1.24;
	letter-spacing: -0.03em;
}

.ref-article__body {
	font-size: 16px;
	line-height: 1.75;
	color: var(--ref-body);
}

.ref-article__body h2 {
	margin: 1.7em 0 0.6em;
	font-size: 24px;
	line-height: 1.3;
	color: var(--ref-ink);
}

.ref-article__body h3 {
	margin: 1.5em 0 0.5em;
	font-size: 19px;
	color: var(--ref-ink);
}

.ref-article__body p {
	margin: 0 0 1.1em;
}

.ref-article__body img {
	width: 100%;
	height: auto;
	margin: 1.4em 0;
}

.ref-article__body ul,
.ref-article__body ol {
	padding-left: 1.2em;
	margin: 0 0 1.2em;
}

.ref-article__body a {
	color: var(--ref-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ref-author {
	margin: 34px 0 0;
	padding-top: 28px;
	border-top: 1px solid var(--ref-line);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 10px;
}

.ref-author img {
	width: 68px;
	height: 68px;
	border-radius: 50%;
	object-fit: cover;
}

.ref-author h3 {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	color: var(--ref-ink);
}

.ref-author p {
	margin: 0;
	max-width: 60ch;
	font-size: 14px;
	line-height: 1.65;
	color: var(--ref-body);
}

.ref-author__social {
	display: flex;
	gap: 8px;
	margin-top: 4px;
}

.ref-author__social a {
	width: 26px;
	height: 26px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--ref-accent);
	color: #fff;
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
}

.ref-postnav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-top: 34px;
	padding-top: 24px;
	border-top: 1px solid var(--ref-line);
}

.ref-postnav a {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--ref-body);
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ref-postnav img {
	width: 54px;
	height: 54px;
	border-radius: 50%;
	object-fit: cover;
}

.ref-postnav strong {
	display: block;
	margin-top: 4px;
	font-size: 14px;
	letter-spacing: 0;
	text-transform: none;
	color: var(--ref-ink);
	font-weight: 600;
	line-height: 1.3;
}

.ref-postnav a:hover strong {
	color: var(--ref-accent);
}

.ref-postnav .is-next {
	justify-content: flex-end;
	text-align: right;
}

.ref-postnav .is-next img {
	order: 2;
}

/* comments */
.ref-article .comment-respond {
	margin-top: 40px;
	padding-top: 28px;
	border-top: 1px solid var(--ref-line);
}

.ref-article .comment-reply-title,
.ref-article .comment-respond h3 {
	font-size: 19px;
	font-weight: 600;
	margin: 0 0 6px;
	color: var(--ref-ink);
}

.ref-article .comment-form label {
	display: block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ref-body);
	margin-bottom: 5px;
}

.ref-article .comment-form input[type="text"],
.ref-article .comment-form input[type="email"],
.ref-article .comment-form input[type="url"],
.ref-article .comment-form textarea {
	width: 100%;
	background: #fff;
	border: 1px solid var(--ref-line-strong);
	padding: 12px 14px;
	font-size: 14px;
	color: var(--ref-ink);
}

.ref-article .comment-form .submit,
.ref-article #submit {
	background: var(--ref-accent) !important;
	color: #fff !important;
	border: 0 !important;
	padding: 13px 24px !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
	cursor: pointer;
}

/* ==========================================================================
   ABOUT (reference section stack)
   ========================================================================== */
.ref-about-hero {
	padding: clamp(40px, 5vw, 72px) 0 clamp(20px, 3vw, 34px);
	text-align: center;
}

.ref-about-hero h1 {
	margin: 0 auto;
	max-width: 820px;
	font-size: clamp(30px, 4.2vw, 46px);
	line-height: 1.2;
	letter-spacing: -0.03em;
}

.ref-two-col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 44px;
	max-width: 1080px;
	margin: 0 auto;
}

.ref-two-col p {
	margin: 0 0 1em;
	font-size: 14px;
	line-height: 1.75;
	color: var(--ref-body);
}

.ref-about-intro {
	padding-bottom: var(--ref-section);
}

.ref-cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	padding-bottom: var(--ref-section);
}

.ref-cards .cos-promo {
	min-height: 300px;
}

.ref-cards .cos-promo__body {
	padding: 32px 26px 30px;
}

.ref-cards .cos-promo__title {
	font-size: 22px;
	line-height: 1.3;
	margin-bottom: 18px;
}

.ref-cards .cos-promo .cos-btn {
	height: 42px;
	padding: 0 20px;
	font-size: 11px;
}

/* video band */
.ref-video {
	position: relative;
	background: #14141a;
	overflow: hidden;
}

.ref-video img {
	width: 100%;
	max-height: 460px;
	object-fit: cover;
	opacity: 0.92;
}

.ref-video__play {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	border: 0;
	background: none;
	cursor: pointer;
}

.ref-video__play span {
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	border-radius: 50%;
	background: #fff;
	color: var(--ref-ink);
	box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.5);
}

.ref-video__play svg {
	width: 18px;
	height: 18px;
	margin-left: 3px;
	fill: currentColor;
}

/* values band */
.ref-values {
	background: var(--ref-soft);
	padding: 44px 0;
}

.ref-values__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px;
	text-align: center;
}

.ref-values__item svg {
	width: 34px;
	height: 34px;
	fill: none;
	stroke: var(--ref-accent);
	stroke-width: 1.6;
	margin: 0 auto 12px;
}

.ref-values__title {
	font-family: var(--v2-sans);
	font-weight: 500;
	margin: 0 0 8px;
	font-size: 17px;
	color: var(--ref-ink);
}

.ref-values__text {
	margin: 0 auto;
	max-width: 34ch;
	font-size: 13px;
	line-height: 1.65;
	color: var(--ref-body);
}

/* image + text + stats */
.ref-split {
	padding: var(--ref-section) 0;
}

.ref-split__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(30px, 4vw, 60px);
	align-items: center;
}

.ref-split__media {
	overflow: hidden;
	background: var(--ref-soft);
}

.ref-split__media img {
	width: 100%;
	aspect-ratio: 1 / 1.08;
	object-fit: cover;
}

.ref-split h2 {
	margin: 0 0 16px;
	font-size: clamp(26px, 3vw, 36px);
	line-height: 1.2;
	letter-spacing: -0.03em;
}

.ref-split p {
	margin: 0 0 1em;
	font-size: 14px;
	line-height: 1.75;
	color: var(--ref-body);
}

.ref-stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px 30px;
	margin-top: 26px;
}

.ref-stat__value {
	display: block;
	font-size: 32px;
	font-weight: 700;
	line-height: 1;
	color: var(--cos-brand-ink);
	letter-spacing: -0.02em;
}

.ref-stat__label {
	display: block;
	margin-top: 4px;
	font-size: 13px;
	color: var(--ref-body);
}

/* category tiles */
.ref-tiles {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	padding-bottom: var(--ref-section);
}

.ref-tile {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	background: var(--ref-soft);
}

.ref-tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.ref-tile::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(13, 14, 22, 0) 55%, rgba(13, 14, 22, 0.6) 100%);
}

.ref-tile span {
	position: absolute;
	left: 16px;
	bottom: 14px;
	z-index: 1;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
}

.ref-tile:hover img {
	transform: scale(1.05);
}

/* wide CTA banner */
.ref-banner-cta {
	position: relative;
	overflow: hidden;
	min-height: 300px;
	display: grid;
	place-items: center;
	text-align: center;
	margin-bottom: var(--ref-section);
}

.ref-banner-cta img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ref-banner-cta::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(13, 14, 22, 0.42);
}

.ref-banner-cta__body {
	position: relative;
	z-index: 1;
	padding: 30px;
	color: #fff;
}

.ref-banner-cta h2 {
	margin: 0 0 10px;
	font-size: clamp(26px, 3vw, 34px);
	color: #fff;
	letter-spacing: -0.02em;
}

.ref-banner-cta p {
	margin: 0 auto 20px;
	max-width: 54ch;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.86);
}

/* English Private Label — the shared About template retains its other layouts. */
.ref-about--private-label {
	--ref-private-label-space: clamp(48px, 6vw, 96px);
	--ref-private-label-edge: 24px;
}

.ref-about--private-label .ref-container {
	max-width: 1320px;
}

.ref-about--private-label .ref-about-hero {
	padding-block: clamp(42px, 5vw, 76px) clamp(32px, 4.2vw, 58px);
}

.ref-about--private-label .ref-about-hero h1 {
	max-width: min(100%, 640px);
	text-wrap: balance;
	line-height: 1.16;
	letter-spacing: -0.023em;
}

.ref-about--private-label .ref-two-col {
	max-width: 1100px;
	gap: clamp(24px, 3.5vw, 52px);
}

.ref-about--private-label .ref-about-intro .ref-two-col {
	max-width: none;
	gap: clamp(18px, 2.1vw, 30px);
}

.ref-about--private-label .ref-about-intro .ref-two-col p {
	font-size: 17px;
	line-height: 1.68;
}

.ref-about--private-label .ref-two-col p,
.ref-about--private-label .ref-split p {
	font-size: 16px;
	line-height: 1.68;
}

.ref-about--private-label .ref-two-col p:last-child {
	margin-bottom: 0;
}

.ref-about--private-label .ref-about-intro {
	padding-bottom: clamp(30px, 4vw, 60px);
}

.ref-about--private-label .ref-cards {
	gap: clamp(18px, 2.1vw, 30px);
	padding-bottom: clamp(20px, 2.5vw, 36px);
}

.ref-about--private-label .ref-cards .cos-promo {
	min-height: 300px;
	aspect-ratio: 1.56;
	align-items: center;
}

.ref-about--private-label .ref-cards .cos-promo__body {
	padding: clamp(24px, 3.5vw, 50px);
	max-width: min(100%, 370px);
}

.ref-about--private-label .ref-cards .cos-promo__title {
	font-size: clamp(22px, 1.9vw, 27px);
	line-height: 1.23;
	margin-bottom: 20px;
}

.ref-about--private-label .ref-video {
	background: linear-gradient(to bottom, transparent 59%, var(--ref-soft) 59%);
}

.ref-about--private-label .ref-video img {
	display: block;
	width: min(1272px, calc(100% - 2 * var(--ref-private-label-edge)));
	max-height: none;
	margin-inline: auto;
	aspect-ratio: 2.18;
	object-fit: cover;
	object-position: center 44%;
	opacity: 1;
}

.ref-about--private-label .ref-values {
	padding-block: clamp(35px, 4.5vw, 64px);
}

.ref-about--private-label .ref-values__grid {
	gap: clamp(24px, 4vw, 58px);
}

.ref-about--private-label .ref-split {
	padding-block: var(--ref-private-label-space);
}

.ref-about--private-label .ref-split__grid {
	gap: clamp(28px, 5vw, 72px);
}

.ref-about--private-label .ref-split__media img {
	display: block;
	aspect-ratio: 1 / 1.04;
}

.ref-about--private-label .ref-stats {
	gap: 24px 18px;
	margin-top: 30px;
}

.ref-about--private-label .ref-tiles {
	grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
	grid-auto-rows: clamp(160px, 20vw, 290px);
	gap: clamp(12px, 1.6vw, 24px);
	padding-bottom: 0;
}

.ref-about--private-label .ref-tile {
	aspect-ratio: auto;
}

.ref-about--private-label .ref-tile:first-child {
	grid-row: span 2;
}

.ref-about--private-label .ref-tile:nth-child(2) {
	grid-column: span 2;
}

.ref-about--private-label .ref-two-col-section {
	padding-block: var(--ref-private-label-space);
}

.ref-about--private-label .ref-two-col-section h2 {
	font-family: var(--v2-sans);
	font-weight: 500;
	margin: 0 0 16px;
	line-height: 1.25;
}

.ref-about--private-label .ref-banner-cta {
	min-height: clamp(310px, 32vw, 420px);
	margin-bottom: var(--ref-private-label-space);
}

/* Image CTA treatment applies only when the English background is set. */
.ref-about--private-label .ref-banner-cta:not(.ref-banner-cta--neutral)::after {
	background: rgba(13, 14, 22, 0.6);
	pointer-events: none;
}

.ref-about--private-label .ref-banner-cta:not(.ref-banner-cta--neutral) p {
	color: #fff;
}

.ref-about--private-label .ref-banner-cta:not(.ref-banner-cta--neutral) .cos-btn {
	background: transparent;
	border-color: #e1ab91;
	color: #fff;
}

.ref-about--private-label .ref-banner-cta:not(.ref-banner-cta--neutral) .cos-btn:hover {
	background: #e1ab91;
	border-color: #e1ab91;
	color: var(--ref-ink);
}

.ref-about--private-label .ref-banner-cta--neutral {
	background: var(--ref-soft);
}

.ref-about--private-label .ref-banner-cta--neutral::after {
	content: none;
}

.ref-about--private-label .ref-banner-cta h2 {
	max-width: 30ch;
	margin: 0 auto 14px;
}

.ref-about--private-label .ref-banner-cta p {
	margin-bottom: 24px;
}

.ref-about--private-label .ref-banner-cta--neutral h2 {
	color: var(--ref-ink);
}

.ref-about--private-label .ref-banner-cta--neutral p {
	color: var(--ref-body);
}

@media (max-width: 860px) {
	.ref-about--private-label .ref-cards .cos-promo {
		min-height: 270px;
	}
}

@media (max-width: 689px) {
	.ref-about--private-label {
		--ref-private-label-edge: 20px;
	}

	.ref-about--private-label .ref-cards .cos-promo {
		aspect-ratio: 1.25;
	}

	.ref-about--private-label .ref-video img {
		aspect-ratio: 4 / 3;
	}

	.ref-about--private-label .ref-values__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 30px;
	}

	.ref-about--private-label .ref-tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: clamp(140px, 44vw, 225px);
	}

	.ref-about--private-label .ref-tile:first-child {
		grid-column: span 2;
		grid-row: auto;
	}
}

/* FAQ */
.ref-faq {
	padding-bottom: var(--ref-section);
}

.ref-faq__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ref-faq__item {
	background: var(--ref-soft);
}

.ref-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	border: 0;
	background: none;
	padding: 18px 22px;
	font-size: 17px;
	font-weight: 500;
	color: var(--ref-ink);
	text-align: left;
	cursor: pointer;
}

.ref-faq__icon {
	position: relative;
	width: 14px;
	height: 14px;
	flex: 0 0 auto;
}

.ref-faq__icon::before,
.ref-faq__icon::after {
	content: "";
	position: absolute;
	background: var(--ref-ink);
}

.ref-faq__icon::before {
	left: 0;
	top: 6px;
	width: 14px;
	height: 1.5px;
}

.ref-faq__icon::after {
	left: 6px;
	top: 0;
	width: 1.5px;
	height: 14px;
	transition: opacity 0.2s;
}

.ref-faq__item.is-open .ref-faq__icon::after {
	opacity: 0;
}

.ref-faq__a {
	display: none;
	padding: 0 22px 20px;
	font-size: 14px;
	line-height: 1.7;
	color: var(--ref-body);
}

.ref-faq__item.is-open .ref-faq__a {
	display: block;
}

/* ==========================================================================
   CONTACT (page content is Elementor; these style the surrounding shell)
   ========================================================================== */
.ref-contact-head {
	padding: clamp(38px, 5vw, 64px) 0 30px;
	text-align: center;
}

.ref-contact-head h1 {
	margin: 0;
	font-size: clamp(30px, 4vw, 44px);
	letter-spacing: -0.03em;
}

/* ==========================================================================
   SEARCH / 404
   ========================================================================== */
.ref-search {
	padding: var(--ref-section) 0;
}

.ref-search__form {
	max-width: 620px;
	margin: 0 auto 34px;
}

.ref-search .ref-news__item:first-child {
	padding-top: 0;
}

.ref-empty {
	padding: 60px 20px;
	text-align: center;
	background: var(--ref-soft);
}

.ref-empty h2 {
	margin: 0 0 8px;
	font-size: 24px;
}

.ref-empty p {
	margin: 0 0 20px;
	color: var(--ref-body);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
	.ref-layout {
		grid-template-columns: 250px minmax(0, 1fr);
		gap: 30px;
	}

	.ref-products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ref-related .ref-products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}


	.ref-tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 860px) {
	.ref-layout,
	.ref-layout--news,
	.ref-article__grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.ref-sidebar {
		order: 2;
	}

	.ref-banner__inner {
		grid-template-columns: 1fr;
	}

	.ref-banner__media {
		order: -1;
		min-height: 220px;
	}

	.ref-banner__text {
		padding: 30px 0;
	}

	.ref-product__grid,
	.ref-split__grid,
	.ref-two-col,
	.ref-cards {
		grid-template-columns: 1fr;
	}

	.ref-product__gallery {
		position: static;
	}

	.ref-news__item {
		grid-template-columns: 140px minmax(0, 1fr);
		gap: 18px;
	}

	.ref-news__title {
		font-size: 18px;
	}

	.ref-author {
		margin-top: 28px;
	}
}

@media (max-width: 689px) {
	.ref-container {
		padding: 0 20px;
	}

	.ref-page-title {
		padding: 30px 0 22px;
	}

	.ref-products {
		gap: 26px 14px;
	}

	.ref-card__title {
		font-size: 15px;
	}

	.ref-card__price {
		font-size: 13px;
	}

	.ref-card__chips {
		display: none;
	}

	.ref-news__item {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.ref-news__media {
		aspect-ratio: 16 / 9;
	}

	.ref-meta {
		font-size: 9px;
	}

	.ref-pagination .next,
	.ref-pagination .prev {
		position: static;
	}

	.ref-pagination {
		justify-content: center;
		flex-wrap: wrap;
	}




	.ref-tiles,
	.ref-values__grid,
	.ref-stats {
		grid-template-columns: 1fr 1fr;
	}

	.ref-tabs__nav {
		gap: 18px;
	}

	.ref-tabs__nav button {
		font-size: 10px;
	}

	.ref-postnav {
		grid-template-columns: 1fr;
	}

	.ref-postnav .is-next {
		justify-content: flex-start;
		text-align: left;
	}

	.ref-postnav .is-next img {
		order: 0;
	}

	.ref-video img {
		max-height: 260px;
	}
}

/* payment badges in the product summary */
.ref-safe__cards {
	display: flex;
	justify-content: center;
	gap: 6px;
}

.ref-safe__cards svg {
	width: 40px;
	height: 26px;
}


/* about promo cards: stronger shade so the copy always reads */
.ref-cards .cos-promo__shade {
	background: linear-gradient(90deg, rgba(13, 14, 22, 0.55) 0%, rgba(13, 14, 22, 0.32) 45%, rgba(13, 14, 22, 0.05) 75%);
}

.ref-cards .cos-eyebrow,
.ref-cards .cos-promo__title {
	color: #fff;
}

.ref-cards .cos-eyebrow {
	color: rgba(255, 255, 255, 0.75);
}


/* v3.1 B2B-safe additions and missing-image states */
.ref-card__category {
	margin: 2px 0 -4px;
	color: var(--ref-muted);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.ref-card__action {
	display: inline-block;
	align-self: center;
	margin-top: 2px;
	color: var(--ref-ink);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	border-bottom: 1px solid var(--ref-line-strong);
	padding-bottom: 4px;
}

.ref-card__action:hover {
	color: var(--ref-accent);
	border-color: var(--ref-accent);
}

.ref-card__placeholder,
.ref-news__placeholder,
.ref-mini__placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	min-height: 58px;
	padding: 12px;
	background: var(--ref-soft);
	color: var(--ref-muted);
	font-size: 11px;
	line-height: 1.5;
	text-align: center;
}

.ref-product__image-placeholder {
	display: grid;
	place-items: center;
	min-height: 360px;
	padding: 28px;
	background: var(--ref-soft);
	color: var(--ref-muted);
	font-size: 13px;
	line-height: 1.6;
	text-align: center;
}

.ref-product__quantity-note {
	margin: -8px 0 0;
	color: var(--ref-muted);
	font-size: 11px;
	line-height: 1.5;
}

.ref-safe__text {
	margin: 0;
	color: var(--ref-body);
	font-size: 12px;
	line-height: 1.6;
}

.ref-price__note {
	margin: 9px 0 0;
	color: var(--ref-muted);
	font-size: 11px;
	line-height: 1.5;
}

.ref-news-intro {
	max-width: 60ch;
	margin: 10px 0 0;
	color: var(--ref-body);
	font-size: 14px;
	line-height: 1.65;
}

.ref-news__read {
	display: inline-block;
	margin-top: 8px;
	color: var(--ref-ink);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	border-bottom: 1px solid var(--ref-line-strong);
	padding-bottom: 4px;
}

.ref-news__read:hover {
	color: var(--ref-accent);
	border-color: var(--ref-accent);
}

.ref-search-intro {
	max-width: 60ch;
	margin: 14px auto 0;
	color: var(--ref-body);
	font-size: 15px;
	line-height: 1.65;
}

.ref-search-count {
	margin: 14px 0 0;
	color: var(--ref-muted);
	font-size: 12px;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.ref-empty--actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
	background: transparent;
	padding-top: 10px;
}

.ref-about-copy {
	margin: 28px auto 0;
	max-width: 900px;
}

.ref-sidebar-cta .cos-btn {
	margin-top: 8px;
}

.ref-related {
	padding: var(--ref-section) 0;
	border-top: 1px solid var(--ref-line);
}

.ref-related__title {
	margin: 0 0 28px;
	font-size: clamp(23px, 3vw, 32px);
	color: var(--ref-ink);
}

.ref-related.ref-related--en {
	padding-block: clamp(36px, 4vw, 64px);
}

.ref-related--en .ref-products {
	gap: clamp(16px, 2.2vw, 24px);
}

@media (max-width: 1080px) {
	section.ref-related.ref-related--en .ref-products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.ref-related--en .ref-card__media {
	aspect-ratio: 4 / 5;
}

.ref-related--en .ref-card__title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	margin-top: 12px;
}

.ref-tile__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--ref-soft), var(--ref-line));
}

@media (max-width: 767px) {
	.ref-product__image-placeholder {
		min-height: 260px;
	}

	.ref-empty--actions {
		align-items: stretch;
		flex-direction: column;
	}

	.ref-empty--actions .cos-btn {
		text-align: center;
	}
}


.ref-tile .ref-tile__placeholder {
	position: absolute;
	inset: 0;
	left: 0;
	bottom: 0;
	z-index: 0;
	padding: 0;
	background: linear-gradient(135deg, var(--ref-soft), var(--ref-line));
}

.ref-tile > span:not(.ref-tile__placeholder) {
	z-index: 1;
}

.ref-tabs__panel[hidden] {
	display: none !important;
}
