/* =========================================================
   Colomer Reviews — frontend styles (Designs 1 / 2 / 3)
   ========================================================= */

.colomer-reviews {
	--cr-accent: #c1912f;
	--cr-ink: #20242c;
	--cr-muted: #7b7f88;
	--cr-line: #eceae4;
	--cr-cream: #faf8f3;
	--cr-card: #ffffff;
	--cr-star-off: #e2ddd2;
	--cr-max: 1280px;
	--cr-gap: 24px;
	--cr-per-d: 3;
	--cr-per-t: 2;
	--cr-per-m: 1;
	/* default premium type pairing (overridable per section) */
	--cr-font: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
	--cr-font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	font-family: var(--cr-font);
	font-size: var(--cr-base, 16px);
	color: var(--cr-ink);
	padding: clamp(40px, 6vw, 72px) 0;
	box-sizing: border-box;
}

.colomer-reviews *,
.colomer-reviews *::before,
.colomer-reviews *::after {
	box-sizing: border-box
}

.colomer-reviews .cr-container {
	max-width: var(--cr-max, 1280px);
	margin: 0 auto;
	padding: 0 clamp(16px, 3vw, 32px);
	width: 100%
}

/* ---------- shared: heading ---------- */
.cr-heading {
	text-align: center
}

.cr-crown {
	display: block;
	font-size: 50px;
	color: var(--cr-accent);
	line-height: 1;
	margin-bottom: 10px
}

.cr-eyebrow {
	display: block;
	font-size: 12px;
	letter-spacing: .22em;
	color: var(--cr-accent);
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 10px
}

.cr-title {
	margin: 0;
	line-height: 1.08;
	font-weight: 400;
	font-family: var(--cr-font-heading, inherit)
}

.cr-title-top {
	display: block;
	font-size: clamp(15px, 1.6vw, 20px);
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--cr-ink);
	line-height: 24px;
	font-weight: 500;
}

.cr-title-main {
	display: block;
	font-size: clamp(28px, 4vw, 32px);
	letter-spacing: .02em;
	text-transform: uppercase;
	font-weight: 700
}

.cr-divider {
	display: block;
	width: 120px;
	height: 1px;
	background: var(--cr-accent);
	margin: 16px auto 0;
	position: relative;
	opacity: .6
}

.cr-divider::after {
	content: "◆";
	position: absolute;
	top: -9px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 10px;
	color: var(--cr-accent);
	background: transparent
}

/* ---------- shared: score ---------- */
.cr-score {
	text-align: center;
	margin-top: 22px
}

.cr-score-num {
	font-family: var(--cr-font-heading);
	font-size: clamp(48px, 6vw, 78px);
	font-weight: 600;
	color: var(--cr-accent);
	line-height: 1
}

.cr-score-total {
	color: #000;
	font-size: 16px;
	margin-top: 8px
}

/* ---------- shared: stars ---------- */
.cr-stars {
	display: inline-flex;
	gap: 3px;
	font-size: 20px;
	line-height: 1
}

.cr-star {
	color: var(--cr-star-off)
}

.cr-star--full {
	color: var(--cr-accent)
}

.cr-star--half {
	position: relative;
	color: var(--cr-star-off)
}

.cr-star--half::before {
	content: "★";
	position: absolute;
	left: 0;
	top: 0;
	width: 50%;
	overflow: hidden;
	color: var(--cr-accent)
}

.cr-score .cr-stars {
	font-size: 35px;
	margin-top: 12px
}

/* ---------- shared: breakdown ---------- */
/* Flexbox (not grid) so the bar reliably fills the middle space on every screen size */
.cr-breakdown {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	max-width: 380px
}

.cr-bar-row {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 16px
}

.cr-bar-label {
	flex: 0 0 88px;
	color: #000;
	white-space: nowrap
}

.cr-bar {
	flex: 1 1 auto;
	height: 12px;
	background: #e9e5dc;
	border-radius: 0;
	overflow: hidden
}

.cr-bar-fill {
	display: block;
	height: 100%;
	background: var(--cr-accent);
	border-radius: 0
}

.cr-bar-pct {
	flex: 0 0 42px;
	text-align: right;
	color: #000;
	font-variant-numeric: tabular-nums
}

/* ---------- shared: hero image ---------- */
.cr-hero {
	position: relative;
	text-align: center
}

.cr-hero-media {
	overflow: hidden
}

.cr-hero-img,
.cr-hero-media img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto
}

.cr-hero-caption {
	margin-top: 10px;
	display: flex;
	flex-direction: column;
	gap: 4px
}

.cr-hero-brand {
	font-size: 13px;
	letter-spacing: .24em;
	color: var(--cr-ink)
}

.cr-hero-tagline {
	font-size: clamp(16px, 1.8vw, 22px);
	font-weight: 600;
	letter-spacing: .08em;
	color: var(--cr-ink)
}

/* ---------- shared: slider + cards ---------- */
/* --per = cards visible per slide, set per breakpoint from the section vars */
.cr-slider {
	position: relative;
	margin-top: 40px;
	--per: var(--cr-per-d, 3)
}

.cr-track {
	display: flex;
	gap: var(--cr-gap, 24px);
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	padding: 6px 2px 16px;
	-ms-overflow-style: none;
	scrollbar-width: none;
	align-items: stretch
}

.cr-track::-webkit-scrollbar {
	display: none
}

.cr-card {
	scroll-snap-align: start;
	flex: 0 0 calc((100% - (var(--cr-gap, 24px) * (var(--per) - 1))) / var(--per));
	background: var(--cr-card);
	border: 1px solid var(--cr-line);
	border-radius: 14px;
	padding: 24px 22px 0;
	position: relative;
	display: flex;
	flex-direction: column;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .04);
	overflow: hidden
}

.cr-quote {
	position: absolute;
	top: 18px;
	right: 20px;
	font-size: 65px;
	line-height: .6;
	color: var(--cr-accent);
	opacity: .5;
	font-family: Georgia, serif
}

.cr-card-head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-right: 34px
}

.cr-avatar {
	position: relative;
	width: 46px;
	height: 46px;
	flex: 0 0 46px;
	border-radius: 50%;
	background: #f0ece3;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: visible
}

.cr-avatar img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover
}

.cr-avatar-initials {
	font-weight: 700;
	color: var(--cr-ink);
	font-size: 16px
}

.cr-verified-dot {
	position: absolute;
	right: -3px;
	bottom: -3px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #2ea44f;
	color: #fff;
	font-size: 11px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid #fff
}

.cr-card-id {
	display: flex;
	flex-direction: column;
	gap: 2px
}

.cr-card-name {
	font-weight: 600;
	font-size: 18px;
	line-height: 1.2;
	color:#000;
}

.cr-card-role {
	font-size: 14px;
	color: var(--cr-accent)
}

.cr-card-rating {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 16px 0 4px
}

.cr-card-rating .cr-stars {
	font-size: 24px
}

.cr-card-score {
	font-weight: 600;
	font-size: 16px;
	color: var(--cr-ink)
}

.cr-card-text {
	margin: 8px 0 16px;
	font-size: 16px;
	line-height: 1.55;
	color: #33373f
}

.cr-card-date {
	font-size: 14px;
	color: var(--cr-muted);
	padding-bottom: 16px
}

/* push the product bar to the bottom so every card aligns the same */
.cr-card-product {
	margin-top: auto;
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: -22px;
	margin-right: -22px;
	padding: 14px 22px;
	border-top: 1px solid var(--cr-line);
	background: #faf8f4;
	text-decoration: none;
	color: var(--cr-ink)
}

.cr-card:not(:has(.cr-card-product)) .cr-card-date {
	margin-top: auto
}

a.cr-card-product:hover {
	background: #f4f0e7
}

.cr-product-thumb {
	width: 38px;
	height: 38px;
	flex: 0 0 38px;
	border-radius: 8px;
	overflow: hidden;
	background: #efece5
}

.cr-product-thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain
}

.cr-product-name {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.25;
	flex: 1
}

.cr-product-arrow {
	color: #000;
	font-size: 	16px
}

/* slider nav arrows */
.cr-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 55px;
	height: 55px;
	border-radius: 50%;
	border: 1px solid var(--cr-line);
	background: #fff;
	color: var(--cr-ink);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
	transition: .15s
}

.cr-nav:hover {
	border-color: var(--cr-accent);
	color: var(--cr-accent)
}

.cr-nav--prev {
	left: -10px
}

.cr-nav--next {
	right: -10px
}

.cr-nav[disabled] {
	opacity: .35;
	cursor: default
}

/* ---------- shared: CTA + trust ---------- */
.cr-cta {
	text-align: center;
	margin-top: 34px
}

.cr-btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 15px 34px;
	border-radius: 8px;
	background: var(--cr-ink);
	color: #fff;
	font-weight: 700;
	letter-spacing: .12em;
	font-size: 13px;
	text-transform: uppercase;
	text-decoration: none;
	transition: .18s
}

.cr-btn:hover {
	background: var(--cr-accent)
}

.cr-btn-arrow {
	transition: transform .18s
}

.cr-btn:hover .cr-btn-arrow {
	transform: translateX(4px)
}

.cr-trust {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px 14px;
	margin-top: 30px;
	padding-top: 24px;
	border-top: 1px solid var(--cr-line)
}

.cr-trust-shield {
	color: var(--cr-accent);
	flex: 0 0 auto;
	margin-right: 4px
}

.cr-trust-item {
	font-size: 15px;
	color: var(--cr-ink)
}

.cr-trust-sep {
	color: var(--cr-accent);
	font-size: 20px
}

.cr-empty {
	text-align: center;
	color: var(--cr-muted);
	padding: 30px
}

/* =========================================================
   DESIGN 1 — Elegante y clásico (claro)  [selected]
   ========================================================= */
.cr-design-1 {
	background: var(--cr-cream)
}

/* Full background image spans the whole summary panel (review-bg-image by default) */
.cr-design-1 .cr-summary {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 34px;
	align-items: center;
	background-image: var(--cr-bg);
	background-size: cover;
	background-position: right center;
	background-repeat: no-repeat;
	border: 1px solid var(--cr-line);
	border-radius: 22px;
	padding: 44px 48px;
	position: relative;
	overflow: hidden;
	min-height: 360px;
	box-shadow: 0 26px 60px rgba(0, 0, 0, .06);
}

/* left-to-right light scrim keeps the heading + bars readable, fades to reveal the watch on the right */
.cr-design-1 .cr-summary::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: linear-gradient(90deg, rgba(250, 248, 243, .97) 0%, rgba(250, 248, 243, .92) 40%, rgba(250, 248, 243, .55) 62%, rgba(250, 248, 243, .15) 82%, rgba(250, 248, 243, 0) 100%)
}

.cr-design-1 .cr-summary-left {
	text-align: center;
	position: relative;
	z-index: 2
}

.cr-design-1 .cr-summary-left .cr-heading {
	text-align: center
}

.cr-design-1 .cr-summary-mid {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	z-index: 2;
	align-self: stretch;
	border-left: 2px solid #c1912f26;
	padding-left: clamp(24px, 3vw, 46px)
}

/* brand + tagline caption sits at the BOTTOM-right, over the image */
.cr-design-1 .cr-summary-right {
	position: relative;
	z-index: 2;
	align-self: stretch;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-end
}

.cr-design-1 .cr-hero-caption {
	text-align: right;
	align-items: flex-end;
	display: flex;
	flex-direction: column;
	gap: 6px;
	text-shadow: 0 1px 10px rgba(250, 248, 243, .85)
}

.cr-design-1 .cr-hero-brand {
	font-size: 13px;
	letter-spacing: .26em;
	color: var(--cr-ink)
}

/* gold divider line sits BETWEEN the brand and the tagline (matches reference) */
.cr-design-1 .cr-hero-brand::after {
	content: "";
	display: block;
	width: 70px;
	height: 1px;
	background: var(--cr-accent);
	margin: 8px 0 8px auto
}

.cr-design-1 .cr-hero-tagline {
	font-family: var(--cr-font-heading);
	font-size: clamp(18px, 1.8vw, 26px);
	font-weight: 600;
	letter-spacing: .04em;
	line-height: 1.15;
	color: var(--cr-ink)
}

/* cards + outlined button to match the reference */
.cr-design-1 .cr-btn {
	background: transparent;
	border: 1px solid var(--cr-accent);
	color: var(--cr-ink)
}

.cr-design-1 .cr-btn:hover {
	background: var(--cr-accent);
	color: #fff
}

.cr-design-1 .cr-card {
	background: #fdfcfa
}

/* =========================================================
   [colomer_all_reviews] — full paginated grid
   ========================================================= */
.cr-all-count {
	text-align: center;
	font-family: var(--cr-font-heading);
	font-size: clamp(22px, 3.2vw, 32px);
	font-weight: 500;
	color: var(--cr-ink);
	letter-spacing: .01em;
	margin: 0 0 30px
}

.cr-all-count strong {
	color: var(--cr-accent);
	font-weight: 700
}

.cr-all-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px
}

@media (max-width:1199.98px) {
	.cr-all-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) }
}

@media (max-width:900px) {
	.cr-all-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
}

@media (max-width:575.98px) {
	.cr-all-grid { grid-template-columns: 1fr }
}

/* The theme's page wrapper is a narrow text column; let the review grid use the full container. */
.page-content-inner > .colomer-reviews {
	width: min(1400px, calc(100vw - 32px));
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%)
}

/* Long reviews: clamp to 6 lines + "Leer más" opens the full text in a popup. */
.cr-card-text.is-clamped {
	display: -webkit-box;
	-webkit-line-clamp: 6;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 6px
}

.cr-readmore {
	align-self: flex-start;
	background: none;
	border: 0;
	padding: 0;
	margin: 0 0 16px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--cr-accent, #c1912f);
	border-bottom: 1px solid currentColor;
	cursor: pointer
}

.cr-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(0, 0, 0, .6)
}

.cr-modal[hidden] { display: none }

.cr-modal-box {
	position: relative;
	width: 100%;
	max-width: 640px;
	max-height: 85vh;
	overflow-y: auto;
	background: #fdfcfa;
	padding: 36px 32px 28px;
	border-radius: 6px
}

.cr-modal-box .cr-card-text {
	white-space: pre-line;
	margin-bottom: 0
}

.cr-modal-close {
	position: absolute;
	top: 8px;
	right: 12px;
	background: none;
	border: 0;
	font-size: 28px;
	line-height: 1;
	color: #33373f;
	cursor: pointer
}

body.cr-modal-open { overflow: hidden }

.cr-all-grid .cr-card {
	flex: none
}

.cr-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin-top: 38px
}

.cr-page {
	min-width: 40px;
	height: 40px;
	padding: 0 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--cr-line);
	border-radius: 8px;
	background: #fff;
	color: var(--cr-ink);
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	transition: .15s
}

.cr-page:hover {
	border-color: var(--cr-accent);
	color: var(--cr-accent);
	background: #fff
}

.cr-page--current {
	background: var(--cr-accent);
	border-color: var(--cr-accent);
	color: #fff
}

.cr-page--nav {
	font-size: 20px
}

.cr-page-dots {
	color: var(--cr-muted);
	padding: 0 4px
}

/* =========================================================
   DESIGN 2 — Premium (oscuro)
   ========================================================= */
.cr-design-2 {
	background: #0e0d0b;
	color: #f2ede3;
	--cr-ink: #f2ede3;
	--cr-muted: #a79f8f;
	--cr-line: #2b2822;
	--cr-card: #15140f;
	--cr-star-off: #4a4436
}

.cr-design-2 .cr-summary--dark {
	display: grid;
	grid-template-columns: 0.9fr 1fr 1fr;
	gap: 30px;
	align-items: center;
	background: #151310;
	border: 1px solid #2b2822;
	border-radius: 16px;
	padding: 28px 30px
}

.cr-design-2 .cr-title-top,
.cr-design-2 .cr-title-main {
	color: #f2ede3
}

.cr-design-2 .cr-hero-media img {
	border-radius: 12px
}

.cr-design-2 .cr-hero-brand,
.cr-design-2 .cr-hero-tagline {
	color: #e9e2d4
}

.cr-design-2 .cr-bar {
	background: #2b2822
}

.cr-design-2 .cr-card {
	box-shadow: none
}

.cr-design-2 .cr-card-product {
	background: #100f0c;
	border-top-color: #2b2822;
	color: #f2ede3
}

.cr-design-2 a.cr-card-product:hover {
	background: #1a1813
}

.cr-design-2 .cr-avatar {
	background: #2a271f
}

.cr-design-2 .cr-avatar-initials {
	color: #e9e2d4
}

.cr-design-2 .cr-nav {
	background: #15140f;
	color: #e9e2d4;
	border-color: #2b2822;
	box-shadow: none
}

.cr-design-2 .cr-btn {
	background: transparent;
	border: 1px solid var(--cr-accent);
	color: var(--cr-accent)
}

.cr-design-2 .cr-btn:hover {
	background: var(--cr-accent);
	color: #0e0d0b
}

.cr-design-2 .cr-trust {
	border-top-color: #2b2822
}

/* =========================================================
   DESIGN 3 — Minimalista con imagen
   ========================================================= */
.cr-design-3 {
	background: #fff
}

.cr-design-3 .cr-layout3 {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: 44px;
	align-items: center
}

.cr-design-3 .cr-layout3-left {
	text-align: center
}

.cr-design-3 .cr-layout3-left .cr-heading {
	text-align: center;
	margin-top: 14px
}

.cr-design-3 .cr-layout3-left .cr-breakdown {
	margin: 22px auto 0
}

.cr-design-3 .cr-layout3-left .cr-cta {
	margin-top: 26px
}

.cr-design-3 .cr-hero-media {
	position: static
}

.cr-design-3 .cr-hero-media img {
	border-radius: 14px;
	width: 100%;
	height: auto;
	object-fit: cover
}

.cr-design-3 .cr-slider {
	margin-top: 0
}

/* =========================================================
   Responsive — cards-per-slide switches at tablet / mobile
   ========================================================= */
@media (max-width:1024px) {
	.cr-slider {
		--per: var(--cr-per-t, 2)
	}
}

@media (max-width:900px) {

	.cr-design-1 .cr-summary,
	.cr-design-2 .cr-summary--dark,
	.cr-design-3 .cr-layout3 {
		grid-template-columns: 1fr;
		gap: 24px
	}

	/* stronger overall scrim so all stacked content stays readable over the bg image */
	.cr-design-1 .cr-summary {
		padding: 30px 24px;
		min-height: 0;
		background-position: center
	}

	.cr-design-1 .cr-summary::before {
		background: linear-gradient(180deg, rgba(250, 248, 243, .94), rgba(250, 248, 243, .9))
	}

	.cr-design-1 .cr-summary-right {
		align-items: center
	}

	/* no vertical divider once the columns stack */
	.cr-design-1 .cr-summary-mid {
		border-left: 0;
		padding-left: 0
	}

	.cr-design-1 .cr-hero-caption {
		text-align: center;
		align-items: center;
		margin-top: 6px
	}

	.cr-design-1 .cr-hero-brand::after {
		margin-left: auto;
		margin-right: auto
	}

	.cr-summary-mid,
	.cr-breakdown {
		justify-content: center;
		margin-left: auto;
		margin-right: auto
	}

	.cr-nav {
		display: none
	}
}
@media (max-width:900px) { 
	.cr-bar{
		min-width: 250px;
	}
}
@media (max-width:640px) {
	.cr-slider {
		--per: var(--cr-per-m, 1)
	}

	.cr-bar-label {
		flex-basis: 74px
	}

	.cr-bar-pct {
		flex-basis: 38px
	}

	.cr-breakdown {
		max-width: 100%
	}

	.cr-bar{
		min-width: 130px;
	}

	/* keep pagination on a single line on mobile (scrolls sideways if it overflows) */
	.cr-pagination {
		flex-wrap: nowrap;
		gap: 5px;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 2px
	}

	.cr-pagination::-webkit-scrollbar {
		display: none
	}

	.cr-page {
		flex: 0 0 auto;
		min-width: 32px;
		height: 32px;
		padding: 0 6px;
		font-size: 13px;
		border-radius: 6px
	}

	.cr-page--nav {
		font-size: 17px
	}

	.cr-page-dots {
		flex: 0 0 auto
	}
}


@media (max-width:340px) {

	.cr-bar{
		min-width: 60px;
	}
}