.gbcp-catalog,
.gbcp-catalog * {
	box-sizing: border-box;
}

.gbcp-catalog {
	--gbcp-accent: #7b2fa6;
	--gbcp-accent-soft: #f6edf9;
	--gbcp-text: #2d2630;
	--gbcp-muted: #756d76;
	--gbcp-border: #e8e2df;
	--gbcp-surface: #ffffff;
	--gbcp-image-bg: #f4f0ed;
	--gbcp-radius: 9px;
	/*
	 * Escala tipográfica de la tarjeta. Se declara aquí para que los ajustes
	 * responsive cambien solo estos tokens y las reglas blindadas de la
	 * tarjeta no tengan que repetirse dentro de cada media query.
	 */
	--gbcp-card-font: 15px;
	--gbcp-card-radius: 8px;
	--gbcp-card-title-size: 18px;
	--gbcp-card-title-line: 1.3;
	--gbcp-card-occasion-size: 12px;
	--gbcp-card-price-size: 17px;
	--gbcp-card-stars-size: 13px;
	--gbcp-card-reviews-size: 12px;
	--gbcp-card-badge-size: 11px;
	--gbcp-card-cta-size: 14px;
	--gbcp-card-cta-height: 40px;
	--gbcp-card-cta-min: 132px;
	--gbcp-card-cta-padding: 0 16px;
	position: relative;
	width: 100%;
	color: var(--gbcp-text);
	font-family: inherit;
	font-size: 14px;
	line-height: 1.35;
}

.gbcp-catalog button,
.gbcp-catalog input,
.gbcp-catalog select {
	font: inherit;
}

.gbcp-catalog button,
.gbcp-catalog select,
.gbcp-catalog a {
	-webkit-tap-highlight-color: transparent;
}

.gbcp-catalog a {
	color: inherit;
	text-decoration: none;
}

.gbcp-catalog button {
	margin: 0;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
}

.gbcp-catalog button:focus-visible,
.gbcp-catalog a:focus-visible,
.gbcp-catalog select:focus-visible,
.gbcp-catalog input:focus-visible {
	outline: 2px solid var(--gbcp-accent);
	outline-offset: 2px;
}

.gbcp-catalog svg {
	display: block;
	width: 1em;
	height: 1em;
}

.gbcp-catalog .screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.gbcp-admin-message {
	padding: 14px 16px;
	border: 1px solid #d63638;
	border-radius: 6px;
	background: #fff;
	color: #3c434a;
}

/* Estructura de escritorio */
.gbcp-layout {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
}

/* Sin filtros aplicables el catálogo ocupa todo el ancho. */
.gbcp-layout--no-filters {
	grid-template-columns: minmax(0, 1fr);
}

.gbcp-sidebar {
	position: sticky;
	top: 18px;
	min-width: 0;
}

.gbcp-sidebar-card {
	overflow: hidden;
	border: 1px solid var(--gbcp-border);
	border-radius: var(--gbcp-radius);
	background: var(--gbcp-surface);
}

.gbcp-filter-section {
	min-width: 0;
	margin: 0;
	padding: 16px 13px;
	border: 0;
	border-bottom: 1px solid var(--gbcp-border);
}

.gbcp-filter-section:last-child {
	border-bottom: 0;
}

.gbcp-filter-section h3,
.gbcp-filter-section legend {
	margin: 0 0 12px;
	padding: 0;
	font-family: inherit;
	font-size: 13px;
	font-weight: 650;
	line-height: 1.25;
}

/* Ordenación */
.gbcp-sort-radios {
	display: grid;
	gap: 8px;
}

.gbcp-radio-row {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	cursor: pointer;
}

.gbcp-radio-row input {
	position: absolute;
	left: -9999px;
	opacity: 0;
}


.gbcp-radio-row input:focus-visible + .gbcp-radio-ui,
.gbcp-color-option input:focus-visible + .gbcp-color-dot,
.gbcp-occasion-option input:focus-visible ~ .gbcp-occasion-thumb {
	outline: 2px solid var(--gbcp-accent);
	outline-offset: 2px;
}

.gbcp-radio-ui {
	position: relative;
	flex: 0 0 14px;
	width: 14px;
	height: 14px;
	border: 1px solid #aaa1aa;
	border-radius: 50%;
	background: #fff;
}

.gbcp-radio-row input:checked + .gbcp-radio-ui {
	border-color: var(--gbcp-accent);
}

.gbcp-radio-row input:checked + .gbcp-radio-ui::after {
	position: absolute;
	inset: 3px;
	border-radius: 50%;
	background: var(--gbcp-accent);
	content: "";
}

/* Precio */
.gbcp-price-values {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
	color: #4d464e;
	font-size: 11px;
}

.gbcp-price-values .woocommerce-Price-amount {
	font-weight: 400;
}

.gbcp-range {
	--gbcp-range-start: 0%;
	--gbcp-range-end: 100%;
	position: relative;
	height: 24px;
	margin: 0 1px 10px;
}

.gbcp-range-track {
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 3px;
	border-radius: 999px;
	background: #ddd5dc;
	transform: translateY(-50%);
}

.gbcp-range-track span {
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--gbcp-range-start);
	right: calc(100% - var(--gbcp-range-end));
	border-radius: inherit;
	background: var(--gbcp-accent);
}

.gbcp-range input[type="range"] {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 24px;
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	background: transparent;
	pointer-events: none;
	-webkit-appearance: none;
	appearance: none;
}

.gbcp-range input[type="range"]::-webkit-slider-runnable-track {
	height: 3px;
	background: transparent;
}

.gbcp-range input[type="range"]::-moz-range-track {
	height: 3px;
	background: transparent;
}

.gbcp-range input[type="range"]::-webkit-slider-thumb {
	width: 14px;
	height: 14px;
	margin-top: -5.5px;
	border: 1.5px solid var(--gbcp-accent);
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(42, 25, 48, 0.16);
	pointer-events: auto;
	cursor: grab;
	-webkit-appearance: none;
	appearance: none;
}

.gbcp-range input[type="range"]::-moz-range-thumb {
	width: 14px;
	height: 14px;
	border: 1.5px solid var(--gbcp-accent);
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(42, 25, 48, 0.16);
	pointer-events: auto;
	cursor: grab;
}

.gbcp-range input[type="range"]:active::-webkit-slider-thumb {
	cursor: grabbing;
}

.gbcp-range input[type="range"]:active::-moz-range-thumb {
	cursor: grabbing;
}

.gbcp-price-presets {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 5px;
}

.gbcp-price-presets button {
	min-width: 0;
	padding: 5px 4px;
	border: 1px solid var(--gbcp-border);
	border-radius: 5px;
	background: #fff;
	color: #5d555e;
	font-size: 9px;
	line-height: 1.15;
	white-space: nowrap;
}

.gbcp-price-presets button:hover,
.gbcp-price-presets button.is-active {
	border-color: var(--gbcp-accent);
	background: var(--gbcp-accent-soft);
	color: var(--gbcp-accent);
}

/* Colores */
.gbcp-color-options {
	display: grid;
}

.gbcp-color-options--desktop {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 11px 6px;
}

.gbcp-color-option {
	position: relative;
	display: flex;
	min-width: 0;
	align-items: center;
	cursor: pointer;
}

.gbcp-color-options--desktop .gbcp-color-option {
	flex-direction: column;
	gap: 5px;
	text-align: center;
}

.gbcp-color-option input {
	position: absolute;
	left: -9999px;
	opacity: 0;
}

.gbcp-color-dot {
	--gbcp-swatch: #c9c2c8;
	position: relative;
	display: inline-flex;
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(68, 55, 69, 0.18);
	border-radius: 50%;
	background: var(--gbcp-swatch);
	box-shadow: 0 0 0 2px #fff;
	color: #fff;
}

.gbcp-color-dot--empty {
	background: conic-gradient(#c53636, #ef78a6, #ffd046, #ee8629, #6f45aa, #356ac3, #c53636);
}

.gbcp-color-option input:checked + .gbcp-color-dot {
	box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--gbcp-accent);
}

.gbcp-color-option input:checked + .gbcp-color-dot::after {
	width: 8px;
	height: 4px;
	border: solid currentColor;
	border-width: 0 0 2px 2px;
	content: "";
	filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.28));
	transform: rotate(-45deg) translateY(-1px);
}

.gbcp-color-name {
	max-width: 100%;
	overflow: hidden;
	font-size: 9px;
	line-height: 1.1;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Ocasiones */
.gbcp-occasion-options--desktop {
	display: grid;
	gap: 7px;
}

.gbcp-occasion-option {
	position: relative;
	cursor: pointer;
}

.gbcp-occasion-option input {
	position: absolute;
	left: -9999px;
	opacity: 0;
}

.gbcp-occasion-options--desktop .gbcp-occasion-option {
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr);
	gap: 8px;
	align-items: center;
	min-width: 0;
}

.gbcp-occasion-thumb {
	position: relative;
	display: flex;
	overflow: hidden;
	align-items: center;
	justify-content: center;
	border: 1px solid #ece6e2;
	border-radius: 5px;
	background: var(--gbcp-image-bg);
}

.gbcp-occasion-options--desktop .gbcp-occasion-thumb {
	width: 32px;
	height: 32px;
}

.gbcp-occasion-thumb img,
.gbcp-mobile-occasion-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gbcp-image-placeholder {
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #f5edf6, #eee6e1);
	color: var(--gbcp-accent);
	font-weight: 650;
}

.gbcp-image-placeholder svg {
	width: 55%;
	height: 55%;
}

.gbcp-occasion-name {
	min-width: 0;
	overflow: hidden;
	font-size: 10px;
	line-height: 1.15;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.gbcp-occasion-options--desktop .gbcp-occasion-thumb::after {
	position: absolute;
	right: 3px;
	bottom: 3px;
	width: 5px;
	height: 3px;
	border: solid #fff;
	border-width: 0 0 1.5px 1.5px;
	border-radius: 1px;
	background: var(--gbcp-accent);
	box-shadow: 0 0 0 3px var(--gbcp-accent);
	content: "";
	opacity: 0;
	transform: rotate(-45deg);
}

.gbcp-occasion-options--desktop .gbcp-occasion-option input:checked ~ .gbcp-occasion-thumb::after {
	opacity: 1;
}

/* Barra y chips */
.gbcp-toolbar {
	display: flex;
	min-height: 48px;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 8px 12px;
	border: 1px solid var(--gbcp-border);
	border-radius: var(--gbcp-radius) var(--gbcp-radius) 0 0;
	background: #fff;
}

.gbcp-results-count {
	margin: 0;
	font-size: 12px;
	font-weight: 500;
}

.gbcp-toolbar-sort {
	display: flex;
	align-items: center;
	gap: 5px;
	color: var(--gbcp-muted);
	font-size: 11px;
}

.gbcp-toolbar-sort select {
	min-width: 155px;
	height: 30px;
	padding: 0 30px 0 10px;
	border: 1px solid var(--gbcp-border);
	border-radius: 6px;
	background-color: #fff;
	color: #615962;
	font-size: 10px;
}

.gbcp-desktop-active-row {
	display: flex;
	min-height: 48px;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 12px;
	border: 1px solid var(--gbcp-border);
	border-top: 0;
	background: #fff;
}

.gbcp-desktop-active-row.is-empty,
.gbcp-mobile-chip-row.is-empty {
	display: none;
}

.gbcp-chips {
	display: flex;
	min-width: 0;
	flex-wrap: wrap;
	gap: 7px;
}

.gbcp-chip {
	display: inline-flex;
	min-height: 25px;
	align-items: center;
	gap: 6px;
	padding: 4px 9px;
	border: 1px solid #e8d7ef !important;
	border-radius: 999px;
	background: var(--gbcp-accent-soft) !important;
	color: #6f417f !important;
	font-size: 10px !important;
	line-height: 1 !important;
	white-space: nowrap;
}

.gbcp-chip > span:nth-child(2) {
	font-size: 14px;
	line-height: 0.7;
}

.gbcp-clear-link {
	flex: 0 0 auto;
	padding: 4px !important;
	color: var(--gbcp-accent) !important;
	font-size: 10px !important;
	text-decoration: underline !important;
	text-underline-offset: 2px;
}

/* Resultados */
.gbcp-results-region {
	position: relative;
	min-height: 240px;
	padding-top: 12px;
}

/*
 * Rejilla. `grid-template-columns` y `gap` se dejan con especificidad baja
 * a propósito: el widget de Elementor los sobrescribe desde sus controles.
 */
.gbcp-products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px 15px;
}

/*
 * Blindaje de la lista. Muchos temas dan margen, padding y viñetas a `ul`/`li`
 * con selectores más específicos que una sola clase, así que estas
 * declaraciones estructurales sí necesitan `!important`.
 */
.gbcp-catalog ul.gbcp-products {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.gbcp-catalog ul.gbcp-products > li {
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	text-indent: 0 !important;
}

.gbcp-catalog ul.gbcp-products > li::before,
.gbcp-catalog ul.gbcp-products > li::marker {
	content: none !important;
}

.gbcp-reveal-fade .gbcp-product-item.gbcp-reveal-pending,
.gbcp-reveal-up .gbcp-product-item.gbcp-reveal-pending {
	opacity: 0;
	transition: opacity 0.42s ease var(--gbcp-reveal-delay, 0ms), transform 0.42s ease var(--gbcp-reveal-delay, 0ms);
}

.gbcp-reveal-up .gbcp-product-item.gbcp-reveal-pending {
	transform: translateY(20px);
}

.gbcp-reveal-fade .gbcp-product-item.gbcp-reveal-pending.is-revealed,
.gbcp-reveal-up .gbcp-product-item.gbcp-reveal-pending.is-revealed {
	opacity: 1;
	transform: translateY(0);
}

/*
 * Tarjeta. Sin `!important` en tipografía ni `border-radius`: son controles
 * del widget de Elementor, que se declara un nivel de especificidad por
 * encima de estas reglas.
 */
.gbcp-catalog .gbcp-product-card {
	display: flex;
	height: 100%;
	min-width: 0;
	flex-direction: column;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	font-family: inherit;
	font-size: var(--gbcp-card-font);
	line-height: 1.35;
}

/*
 * Cortafuegos de herencia: normaliza dentro de la tarjeta lo que los temas y
 * los constructores visuales suelen imponer de forma global.
 */
.gbcp-catalog .gbcp-product-card,
.gbcp-catalog .gbcp-product-card * {
	box-sizing: border-box !important;
	font-style: normal !important;
	text-shadow: none !important;
}

.gbcp-catalog .gbcp-product-card a {
	box-shadow: none !important;
	text-decoration: none !important;
}

.gbcp-catalog .gbcp-product-card .gbcp-product-image-link {
	position: relative;
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	aspect-ratio: 4 / 3;
	border-radius: var(--gbcp-card-radius);
	background: var(--gbcp-image-bg);
}

.gbcp-catalog .gbcp-product-card .gbcp-product-image {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	object-fit: cover !important;
	object-position: center !important;
	transition: transform 0.28s ease;
}

.gbcp-catalog .gbcp-product-image-link:hover .gbcp-product-image {
	transform: scale(1.025);
}

.gbcp-catalog .gbcp-product-card .gbcp-badge {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 2;
	display: inline-flex !important;
	width: auto !important;
	align-items: center;
	margin: 0 !important;
	padding: 4px 8px !important;
	border: 0 !important;
	border-radius: 4px !important;
	font-family: inherit !important;
	font-size: var(--gbcp-card-badge-size) !important;
	font-weight: 600 !important;
	letter-spacing: 0.02em !important;
	line-height: 1.1 !important;
	text-transform: none !important;
}

.gbcp-catalog .gbcp-product-card .gbcp-badge--bestseller {
	background: #e3f2a8;
	color: #4d6714;
}

.gbcp-catalog .gbcp-product-card .gbcp-badge--new {
	background: #eadcf2;
	color: #795184;
}

.gbcp-catalog .gbcp-product-card .gbcp-product-info {
	display: flex !important;
	min-width: 0;
	flex: 1 1 auto;
	flex-direction: column;
	margin: 0 !important;
	padding: 10px 1px 0 !important;
}

/*
 * Título. Se impone al tema por especificidad (0,3,0) en lugar de por
 * `!important` para no anular el control de tipografía del widget de
 * Elementor, que se declara en (0,4,0).
 */
.gbcp-catalog .gbcp-product-card .gbcp-product-title {
	font-family: Georgia, "Times New Roman", serif;
	font-size: var(--gbcp-card-title-size);
	font-weight: 400;
	letter-spacing: 0;
	line-height: var(--gbcp-card-title-line);
	text-transform: none;
	display: block !important;
	min-height: calc(var(--gbcp-card-title-size) * var(--gbcp-card-title-line) * 2);
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	overflow-wrap: break-word;
	word-break: normal;
	hyphens: none;
}

.gbcp-catalog .gbcp-product-card .gbcp-product-title a {
	font: inherit;
	color: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	transition: color 0.18s ease;
}

.gbcp-catalog .gbcp-product-card .gbcp-product-title a:hover,
.gbcp-catalog .gbcp-product-card .gbcp-product-title a:focus-visible {
	color: var(--gbcp-accent);
}

.gbcp-catalog .gbcp-product-card .gbcp-product-occasion {
	min-height: calc(var(--gbcp-card-occasion-size) * 1.25);
	margin: 4px 0 0 !important;
	padding: 0 !important;
	color: var(--gbcp-muted);
	font-family: inherit !important;
	font-size: var(--gbcp-card-occasion-size) !important;
	font-weight: 400 !important;
	letter-spacing: 0 !important;
	line-height: 1.25 !important;
	text-transform: none !important;
}

/* `margin-top: auto` alinea el pie de todas las tarjetas de una misma fila. */
.gbcp-catalog .gbcp-product-card .gbcp-product-footer {
	display: flex !important;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 10px 8px;
	margin: auto 0 0 !important;
	padding: 8px 0 0 !important;
}

.gbcp-catalog .gbcp-product-card .gbcp-product-meta {
	min-width: 0;
	flex: 1 1 auto;
}

.gbcp-catalog .gbcp-product-card .gbcp-product-price {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	color: var(--gbcp-text) !important;
	font-family: inherit !important;
	font-size: var(--gbcp-card-price-size) !important;
	font-weight: 650 !important;
	letter-spacing: 0 !important;
	line-height: 1.25 !important;
	text-transform: none !important;
	white-space: nowrap;
}

/*
 * WooCommerce y los temas dan estilos propios a `.price`, `del`, `ins` y
 * `.woocommerce-Price-amount`; aquí se neutralizan dentro de la tarjeta.
 */
.gbcp-catalog .gbcp-product-card .gbcp-product-price .woocommerce-Price-amount,
.gbcp-catalog .gbcp-product-card .gbcp-product-price bdi,
.gbcp-catalog .gbcp-product-card .gbcp-product-price ins,
.gbcp-catalog .gbcp-product-card .gbcp-product-price del {
	font: inherit !important;
	letter-spacing: inherit !important;
	background: none !important;
	text-decoration: none !important;
}

.gbcp-catalog .gbcp-product-card .gbcp-product-price del {
	margin-right: 6px !important;
	opacity: 0.55;
	text-decoration: line-through !important;
}

.gbcp-catalog .gbcp-product-card .gbcp-product-price .woocommerce-Price-currencySymbol {
	font-size: 0.95em !important;
}

.gbcp-catalog .gbcp-product-card .gbcp-price-unavailable {
	color: var(--gbcp-muted) !important;
	font-weight: 500 !important;
}

.gbcp-catalog .gbcp-product-card .gbcp-rating {
	display: flex !important;
	align-items: center;
	gap: 5px;
	margin: 5px 0 0 !important;
	padding: 0 !important;
	line-height: 1 !important;
}

.gbcp-catalog .gbcp-product-card .gbcp-stars {
	--gbcp-rating-width: 0%;
	position: relative;
	display: inline-block !important;
	width: 5.65em;
	height: 1em;
	overflow: hidden;
	color: #d5ced6;
	font-family: inherit !important;
	font-size: var(--gbcp-card-stars-size) !important;
	font-weight: 400 !important;
	letter-spacing: 0.5px !important;
	line-height: 1 !important;
}

.gbcp-catalog .gbcp-product-card .gbcp-stars::before,
.gbcp-catalog .gbcp-product-card .gbcp-stars::after {
	position: absolute;
	top: 0;
	left: 0;
	content: "★★★★★";
	white-space: nowrap;
}

.gbcp-catalog .gbcp-product-card .gbcp-stars::after {
	width: var(--gbcp-rating-width);
	overflow: hidden;
	color: var(--gbcp-accent);
}

.gbcp-catalog .gbcp-product-card .gbcp-review-count {
	color: var(--gbcp-muted) !important;
	font-family: inherit !important;
	font-size: var(--gbcp-card-reviews-size) !important;
	font-weight: 400 !important;
	letter-spacing: 0 !important;
	line-height: 1 !important;
	text-transform: none !important;
}

/*
 * CTA. Es donde más se notaban los estilos globales de enlaces y botones del
 * tema, así que todas las propiedades de caja y tipografía se fuerzan.
 * `color` y `background` quedan sin `!important` porque son controles del
 * widget de Elementor.
 */
.gbcp-catalog .gbcp-product-card .gbcp-buy-button,
.gbcp-catalog .gbcp-product-card a.gbcp-buy-button {
	display: inline-flex !important;
	width: auto !important;
	min-width: var(--gbcp-card-cta-min) !important;
	max-width: 100% !important;
	height: auto !important;
	min-height: var(--gbcp-card-cta-height) !important;
	flex: 0 0 auto;
	align-items: center !important;
	justify-content: center !important;
	margin: 0 !important;
	padding: var(--gbcp-card-cta-padding) !important;
	border: 1px solid var(--gbcp-accent) !important;
	border-radius: 6px !important;
	box-shadow: none !important;
	font-family: inherit !important;
	font-size: var(--gbcp-card-cta-size) !important;
	font-weight: 600 !important;
	letter-spacing: 0.04em !important;
	line-height: 1.15 !important;
	text-align: center !important;
	text-decoration: none !important;
	text-transform: uppercase !important;
	white-space: nowrap !important;
	cursor: pointer;
	transition: opacity 0.18s ease, transform 0.18s ease;
}

.gbcp-catalog .gbcp-product-card .gbcp-buy-button {
	background: var(--gbcp-accent);
	color: #fff;
}

.gbcp-catalog .gbcp-product-card .gbcp-buy-button:hover,
.gbcp-catalog .gbcp-product-card .gbcp-buy-button:focus-visible {
	background: var(--gbcp-accent);
	color: #fff;
	opacity: 0.9;
	transform: translateY(-1px);
}

.gbcp-catalog .gbcp-product-card .gbcp-buy-button:focus-visible {
	outline: 2px solid var(--gbcp-accent) !important;
	outline-offset: 2px !important;
}

.gbcp-catalog .gbcp-product-card .gbcp-buy-button:active {
	opacity: 1;
	transform: translateY(0);
}

.gbcp-catalog ul.gbcp-products > li.gbcp-empty {
	grid-column: 1 / -1;
	display: flex !important;
	min-height: 220px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 8px;
	margin: 0 !important;
	padding: 30px !important;
	border: 1px dashed var(--gbcp-border);
	border-radius: var(--gbcp-card-radius);
	background: var(--gbcp-surface);
	color: var(--gbcp-muted);
	font-size: var(--gbcp-card-font) !important;
	line-height: 1.4 !important;
	text-align: center;
}

.gbcp-catalog ul.gbcp-products > li.gbcp-empty strong {
	color: var(--gbcp-text);
	font-size: calc(var(--gbcp-card-font) + 2px) !important;
	font-weight: 650 !important;
	line-height: 1.3 !important;
}

/* Carga */
.gbcp-loading {
	position: absolute;
	inset: 0;
	z-index: 8;
	display: flex;
	visibility: hidden;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 9px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.84);
	color: var(--gbcp-muted);
	font-size: 12px;
	opacity: 0;
	backdrop-filter: blur(1.5px);
	transition: opacity 0.15s ease, visibility 0.15s ease;
}

.gbcp-results-region.is-loading .gbcp-loading {
	visibility: visible;
	opacity: 1;
}

.gbcp-spinner {
	width: 25px;
	height: 25px;
	border: 2px solid #e2d9e5;
	border-top-color: var(--gbcp-accent);
	border-radius: 50%;
	animation: gbcp-spin 0.75s linear infinite;
}

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

/* Paginación */
.gbcp-pagination-wrap {
	padding: 26px 0 4px;
}

.gbcp-pagination-wrap:empty {
	display: none;
}

.gbcp-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.gbcp-page {
	display: inline-flex;
	width: 34px;
	height: 34px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--gbcp-border) !important;
	border-radius: 5px;
	background: #fff;
	color: #5f5661;
	font-size: 11px !important;
}

.gbcp-page--arrow {
	width: auto;
	min-width: 34px;
	gap: 4px;
	padding: 0 9px !important;
}

.gbcp-page--arrow svg {
	display: block !important;
	flex: 0 0 16px;
	color: currentColor;
}

.gbcp-page svg {
	width: 16px;
	height: 16px;
}

.gbcp-page:hover,
.gbcp-page.is-current {
	border-color: var(--gbcp-accent) !important;
	background: var(--gbcp-accent);
	color: #fff;
}

.gbcp-page:disabled {
	cursor: default;
	opacity: 0.35;
}

.gbcp-page:disabled:hover {
	border-color: var(--gbcp-border) !important;
	background: #fff;
	color: #5f5661;
}

.gbcp-page-ellipsis {
	padding: 0 2px;
	color: var(--gbcp-muted);
}

/* Elementos solo móvil */
.gbcp-mobile-occasion-nav,
.gbcp-mobile-actions,
.gbcp-mobile-chip-row,
.gbcp-backdrop,
.gbcp-sheet {
	display: none;
}

body.gbcp-no-scroll {
	overflow: hidden;
}

@media (max-width: 1100px) and (min-width: 768px) {
	.gbcp-products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gbcp-catalog {
		--gbcp-card-title-size: 17px;
		--gbcp-card-price-size: 16px;
		--gbcp-card-cta-size: 13.5px;
		--gbcp-card-cta-min: 124px;
	}
}

@media (max-width: 767px) {
	.gbcp-catalog {
		font-size: 13px;
	}

	.gbcp-mobile-occasion-nav {
		display: flex;
		overflow-x: auto;
		gap: 8px;
		margin: 0 -2px 14px;
		padding: 2px 2px 7px;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.gbcp-mobile-occasion-nav::-webkit-scrollbar,
	.gbcp-mobile-chip-row::-webkit-scrollbar,
	.gbcp-occasion-options--mobile::-webkit-scrollbar {
		display: none;
	}

	.gbcp-mobile-occasion {
		display: flex;
		flex: 0 0 59px;
		align-items: center;
		flex-direction: column;
		gap: 5px;
		padding: 0 !important;
		background: transparent !important;
		color: #625965 !important;
		font-size: 8px !important;
		line-height: 1.05;
		text-align: center;
	}

	.gbcp-mobile-occasion-image {
		display: flex;
		overflow: hidden;
		width: 57px;
		height: 48px;
		align-items: center;
		justify-content: center;
		border: 1.5px solid transparent;
		border-radius: 8px;
		background: var(--gbcp-image-bg);
		box-shadow: inset 0 0 0 1px rgba(93, 77, 88, 0.06);
	}

	.gbcp-mobile-occasion.is-active .gbcp-mobile-occasion-image {
		border-color: var(--gbcp-accent);
		box-shadow: 0 0 0 1px rgba(123, 47, 166, 0.12);
	}

	.gbcp-mobile-occasion.is-active {
		color: var(--gbcp-accent) !important;
	}

	.gbcp-mobile-actions {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
		gap: 8px;
		margin-bottom: 9px;
	}

	.gbcp-mobile-action {
		display: inline-flex;
		height: 42px;
		align-items: center;
		justify-content: center;
		gap: 8px;
		padding: 0 12px !important;
		border: 1px solid var(--gbcp-border) !important;
		border-radius: 6px;
		background: #fff !important;
		color: #4a414c !important;
		font-size: 12px !important;
		font-weight: 500;
	}

	.gbcp-mobile-action:first-child {
		border-color: var(--gbcp-accent) !important;
		color: var(--gbcp-accent) !important;
	}

	.gbcp-mobile-action svg {
		width: 18px;
		height: 18px;
	}

	.gbcp-mobile-chip-row {
		display: block;
		overflow-x: auto;
		margin: 0 0 10px;
		padding-bottom: 2px;
		scrollbar-width: none;
	}

	.gbcp-mobile-chip-row .gbcp-chips {
		width: max-content;
		max-width: none;
		flex-wrap: nowrap;
	}

	.gbcp-layout {
		display: block;
	}

	.gbcp-sidebar,
	.gbcp-toolbar,
	.gbcp-desktop-active-row {
		display: none !important;
	}

	.gbcp-results-region {
		min-height: 180px;
		padding-top: 0;
	}

	.gbcp-products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 17px 11px;
	}

	/* Escala de la tarjeta en móvil: solo se reajustan los tokens. */
	.gbcp-catalog {
		--gbcp-card-font: 14px;
		--gbcp-card-radius: 7px;
		--gbcp-card-title-size: 16px;
		--gbcp-card-title-line: 1.28;
		--gbcp-card-occasion-size: 11px;
		--gbcp-card-price-size: 15px;
		--gbcp-card-stars-size: 12px;
		--gbcp-card-reviews-size: 11px;
		--gbcp-card-badge-size: 10px;
		--gbcp-card-cta-size: 13px;
		--gbcp-card-cta-height: 42px;
		--gbcp-card-cta-min: 0;
		--gbcp-card-cta-padding: 0 12px;
	}

	.gbcp-catalog .gbcp-product-card .gbcp-product-image-link {
		aspect-ratio: 1 / 1;
	}

	.gbcp-catalog .gbcp-product-card .gbcp-badge {
		top: 6px;
		left: 6px;
		padding: 3px 7px !important;
	}

	.gbcp-catalog .gbcp-product-card .gbcp-product-info {
		padding-top: 8px !important;
	}

	/* En dos columnas estrechas el CTA pasa a ocupar su propia línea. */
	.gbcp-catalog .gbcp-product-card .gbcp-product-footer {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
	}

	.gbcp-catalog .gbcp-product-card .gbcp-buy-button,
	.gbcp-catalog .gbcp-product-card a.gbcp-buy-button {
		width: 100% !important;
		white-space: normal !important;
	}

	.gbcp-pagination-wrap {
		padding-top: 22px;
	}

	.gbcp-page {
		width: 32px;
		height: 32px;
	}

	.gbcp-page--arrow {
		min-width: 32px;
		padding: 0 7px !important;
	}

	.gbcp-page-label {
		display: none;
	}

	/* Hoja inferior */
	.gbcp-backdrop {
		position: fixed;
		inset: 0;
		z-index: 99990;
		display: block;
		background: rgba(33, 27, 34, 0.32);
		opacity: 0;
		transition: opacity 0.22s ease;
	}

	.gbcp-backdrop[hidden] {
		display: none;
	}

	.gbcp-backdrop.is-open {
		opacity: 1;
	}

	.gbcp-sheet {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 99991;
		display: flex;
		max-height: min(84vh, 760px);
		flex-direction: column;
		border-radius: 17px 17px 0 0;
		background: #fff;
		box-shadow: 0 -8px 35px rgba(36, 25, 39, 0.18);
		transform: translateY(105%);
		transition: transform 0.26s cubic-bezier(0.22, 0.78, 0.22, 1);
	}

	.gbcp-sheet.is-open {
		transform: translateY(0);
	}

	.gbcp-sheet[hidden] {
		display: none;
	}

	.gbcp-sheet-handle {
		flex: 0 0 auto;
		width: 52px;
		height: 4px;
		margin: 8px auto 5px;
		border-radius: 999px;
		background: #8e858c;
	}

	.gbcp-sheet-header {
		display: grid;
		grid-template-columns: 1fr auto 1fr;
		align-items: center;
		padding: 7px 14px 12px;
		border-bottom: 1px solid var(--gbcp-border);
	}

	.gbcp-sheet-header h2 {
		grid-column: 2;
		margin: 0;
		font-family: inherit;
		font-size: 14px;
		font-weight: 600;
	}

	.gbcp-sheet-close {
		grid-column: 3;
		justify-self: end;
		padding: 4px 0 !important;
		color: var(--gbcp-accent) !important;
		font-size: 11px !important;
	}

	.gbcp-sheet-content {
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
	}

	.gbcp-sheet .gbcp-filter-section {
		padding: 16px 14px 18px;
	}

	.gbcp-sheet .gbcp-filter-section h3,
	.gbcp-sheet .gbcp-filter-section legend {
		margin-bottom: 14px;
		font-size: 12px;
	}

	.gbcp-sheet .gbcp-price-values {
		font-size: 10px;
	}

	.gbcp-sheet .gbcp-range {
		margin-bottom: 0;
	}

	.gbcp-sheet .gbcp-range-track {
		height: 4px;
	}

	.gbcp-sheet .gbcp-range input[type="range"]::-webkit-slider-thumb {
		width: 15px;
		height: 15px;
		margin-top: -5.5px;
	}

	.gbcp-sheet .gbcp-range input[type="range"]::-moz-range-thumb {
		width: 15px;
		height: 15px;
	}

	.gbcp-color-options--mobile {
		display: flex;
		overflow-x: auto;
		width: 100%;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 3px 3px 5px;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.gbcp-color-options--mobile::-webkit-scrollbar {
		display: none;
	}

	.gbcp-color-options--mobile .gbcp-color-option {
		flex: 0 0 auto;
	}

	.gbcp-color-options--mobile .gbcp-color-dot {
		flex-basis: 31px;
		width: 31px;
		height: 31px;
	}

	.gbcp-color-options--mobile .gbcp-color-dot svg {
		width: 15px;
		height: 15px;
	}

	.gbcp-occasion-options--mobile {
		display: flex;
		overflow-x: auto;
		gap: 8px;
		margin: 0 -2px;
		padding: 2px 2px 5px;
		scrollbar-width: none;
	}

	.gbcp-occasion-options--mobile .gbcp-occasion-option {
		display: flex;
		flex: 0 0 64px;
		align-items: center;
		flex-direction: column;
		gap: 5px;
		text-align: center;
	}

	.gbcp-occasion-options--mobile .gbcp-occasion-thumb {
		width: 64px;
		height: 58px;
		border: 1.5px solid transparent;
		border-radius: 8px;
	}

	.gbcp-occasion-options--mobile .gbcp-occasion-name {
		width: 100%;
		font-size: 8px;
		white-space: normal;
	}

	.gbcp-occasion-options--mobile .gbcp-occasion-option input:checked ~ .gbcp-occasion-thumb {
		border-color: var(--gbcp-accent);
		box-shadow: 0 0 0 1px rgba(123, 47, 166, 0.12);
	}

	.gbcp-occasion-options--mobile .gbcp-occasion-option input:checked ~ .gbcp-occasion-name {
		color: var(--gbcp-accent);
	}

	.gbcp-mobile-order-select {
		width: 100%;
		height: 42px;
		padding: 0 38px 0 11px;
		border: 1px solid var(--gbcp-border);
		border-radius: 6px;
		background-color: #fff;
		color: #625a63;
		font-size: 11px;
	}

	.gbcp-sheet-footer {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		gap: 16px;
		align-items: center;
		padding: 12px 14px max(13px, env(safe-area-inset-bottom));
		border-top: 1px solid var(--gbcp-border);
		background: #fff;
	}

	.gbcp-sheet-clear {
		padding: 7px 0 !important;
		color: var(--gbcp-accent) !important;
		font-size: 11px !important;
		text-decoration: underline !important;
		text-underline-offset: 2px;
	}

	.gbcp-sheet-apply {
		height: 43px;
		padding: 0 16px !important;
		border-radius: 5px;
		background: var(--gbcp-accent);
		color: #fff;
		font-size: 12px !important;
		font-weight: 650;
	}

	.gbcp-sheet-apply:only-child {
		grid-column: 1 / -1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gbcp-reveal-fade .gbcp-product-item,
	.gbcp-reveal-up .gbcp-product-item {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}

	.gbcp-product-image,
	.gbcp-loading,
	.gbcp-sheet,
	.gbcp-backdrop,
	.gbcp-buy-button {
		transition: none !important;
	}

	.gbcp-spinner {
		animation: none;
	}

	/*
	 * `!important` obligatorio: las reglas de la tarjeta están namespaceadas
	 * con más especificidad que estos selectores.
	 */
	.gbcp-product-image-link:hover .gbcp-product-image,
	.gbcp-buy-button:hover,
	.gbcp-buy-button:focus-visible {
		transform: none !important;
	}
}

.gbcp-error {
	position: relative;
	z-index: 9;
	margin: 0 0 12px;
	padding: 10px 12px;
	border: 1px solid #d63638;
	border-radius: 6px;
	background: #fff2f2;
	color: #8b1f22;
	font-size: 12px;
}
