/**
 * Black Friday de gocamis: portada de campaña y etiquetas de descuento.
 * Mismos mimbres que el resto de la web (Bricolage Grotesque, negro #0a0a0b,
 * el cromado de --gc-cromo) sin inventarse una paleta nueva.
 */

/* ------------------------------------------------------------- portada */

:root {
	--gcbf-morado: #a855f7;   /* el morado de campaña, el único color de la tienda */
	--gcbf-papel:  #faf6fe;   /* el blanco del cupón, con una gota de morado */
	--gcbf-letra:  #4e1a95;
	--gcbf-letra2: #7430c9;

	/* el icono: un cuadrado blanco con el símbolo del porcentaje calado, para
	   que por los huecos se vea el morado de debajo. Tres medidas porque en
	   `content` la imagen va a su tamaño propio y no al del texto. */
	--gcbf-pct:   url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' fill-rule='evenodd' d='M6 0h12a6 6 0 0 1 6 6v12a6 6 0 0 1-6 6H6a6 6 0 0 1-6-6V6a6 6 0 0 1 6-6Zm1.6 4.5a3.1 3.1 0 1 0 0 6.2 3.1 3.1 0 0 0 0-6.2Zm8.8 8.8a3.1 3.1 0 1 0 0 6.2 3.1 3.1 0 0 0 0-6.2ZM17.2 3.6l2.2 1.5-12.6 15.3-2.2-1.5Z'/%3E%3C/svg%3E");
	--gcbf-pct-s: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' fill-rule='evenodd' d='M6 0h12a6 6 0 0 1 6 6v12a6 6 0 0 1-6 6H6a6 6 0 0 1-6-6V6a6 6 0 0 1 6-6Zm1.6 4.5a3.1 3.1 0 1 0 0 6.2 3.1 3.1 0 0 0 0-6.2Zm8.8 8.8a3.1 3.1 0 1 0 0 6.2 3.1 3.1 0 0 0 0-6.2ZM17.2 3.6l2.2 1.5-12.6 15.3-2.2-1.5Z'/%3E%3C/svg%3E");
	--gcbf-pct-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' fill-rule='evenodd' d='M6 0h12a6 6 0 0 1 6 6v12a6 6 0 0 1-6 6H6a6 6 0 0 1-6-6V6a6 6 0 0 1 6-6Zm1.6 4.5a3.1 3.1 0 1 0 0 6.2 3.1 3.1 0 0 0 0-6.2Zm8.8 8.8a3.1 3.1 0 1 0 0 6.2 3.1 3.1 0 0 0 0-6.2ZM17.2 3.6l2.2 1.5-12.6 15.3-2.2-1.5Z'/%3E%3C/svg%3E");
}

@supports (color: oklch(0 0 0)) {
	:root {
		--gcbf-papel:  oklch(.98 .012 304);
		--gcbf-letra:  oklch(.38 .17 303);
		--gcbf-letra2: oklch(.52 .19 303);
	}
}

.gcbfh {
	position: relative;
	display: block;
	overflow: hidden;
	background: #0a0a0b;
	isolation: isolate;
}

/* En movil la foto va arriba y el texto debajo, sobre negro: antes el titular
   se comia media foto. Solo se funde el borde de abajo con el fondo. */
.gcbfh__foto {
	position: relative;
	display: block;
	z-index: 0;
	height: 46svh;
	min-height: 300px;
}

.gcbfh__foto img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 26%;
	opacity: .95;
	filter: contrast(1.04) saturate(1.12);
}

.gcbfh__foto::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 38%;
	background: linear-gradient(to top, #0a0a0b 10%, rgba(10, 10, 11, .55) 55%, transparent 100%);
}

.gcbfh__in {
	position: relative;
	z-index: 2;
	width: 100%;
	margin-top: -42px;   /* el texto empieza ya sobre el negro del degradado */
	padding: 0 18px 30px;
	color: #fff;
}

.gcbfh__seo {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	border: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.gcbfh__kick {
	display: inline-block;
	padding-top: 11px;
	border-top: 2px solid transparent;
	border-image: var(--gc-cromo, linear-gradient(135deg, #f6f6f8, #9da2ac)) 1;
	font: 700 10.5px/1 'Bricolage Grotesque', sans-serif;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #d7d7dd;
}

.gcbfh__t {
	display: grid;
	margin: 12px 0 14px;
	font: 800 clamp(46px, 16.5vw, 132px)/.88 'Bricolage Grotesque', sans-serif;
	letter-spacing: -.045em;
	text-transform: uppercase;
}

.gcbfh__t b {
	display: block;
	font-weight: inherit;
	animation: gcbfh-sube .7s cubic-bezier(.16, 1, .3, 1) both;
}

/* FRIDAY sobre tapa morada: en blanco se perdia contra el morado de la foto.
   Va con la clase del body delante porque el estilo en linea de la home pisa
   los fondos de los span. */
.gcbf .gcbfh .gcbfh__t b:last-child {
	justify-self: start;
	padding: 0 .1em .05em;
	border-radius: 8px;
	background: var(--gcbf-morado);
	color: #fff;
	animation-delay: .08s;
}

@keyframes gcbfh-sube {
	from { opacity: 0; transform: translateY(26px); }
	to   { opacity: 1; transform: none; }
}

/* los dos descuentos, uno al lado del otro con el signo de sumar en medio:
   el de serie en gris y el del cupón en morado, que es el que hay que mirar */
.gcbfh__suma {
	display: flex;
	align-items: stretch;
	gap: 7px;
	margin: 0 0 12px;
	animation: gcbfh-sube .7s cubic-bezier(.16, 1, .3, 1) .16s both;
}

.gcbf .gcbfh .gcbfh__chip {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	padding: 9px 14px 10px;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 13px;
	background: rgba(255, 255, 255, .09);
	color: #fff;
	font: 800 26px/1 'Bricolage Grotesque', sans-serif;
	letter-spacing: -.03em;
	font-variant-numeric: tabular-nums;
}

.gcbf .gcbfh .gcbfh__chip i {
	font: 700 9px/1 'Bricolage Grotesque', sans-serif;
	font-style: normal;
	letter-spacing: .11em;
	text-transform: uppercase;
	color: #fff;
}

.gcbf .gcbfh .gcbfh__chip--x {
	border-color: transparent;
	background: var(--gcbf-morado);
	box-shadow: 0 12px 28px -12px rgba(168, 85, 247, .95), inset 0 1.5px 0 0 rgba(255, 255, 255, .3);
}

.gcbf .gcbfh .gcbfh__chip--x i { color: #fff; }

.gcbf .gcbfh .gcbfh__mas {
	display: flex;
	align-items: center;
	font: 800 20px/1 'Bricolage Grotesque', sans-serif;
	color: rgba(255, 255, 255, .5);
}

.gcbfh__s {
	max-width: 34ch;
	margin: 0 0 18px;
	font: 400 13px/1.45 'Bricolage Grotesque', sans-serif;
	color: rgba(255, 255, 255, .62);
	animation: gcbfh-sube .7s cubic-bezier(.16, 1, .3, 1) .2s both;
}

.gcbfh__s b {
	font-weight: 800;
	color: #fff;
	font-variant-numeric: tabular-nums;
}

.gcbfh__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	animation: gcbfh-sube .7s cubic-bezier(.16, 1, .3, 1) .24s both;
}

.gcbfh__btn {
	flex: 1 1 auto;
	min-width: 60%;
}

/* el código, como un cupón recortado */
.gcbfh__cod {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 13px 18px;
	border: 1.5px dashed rgba(255, 255, 255, .5);
	border-radius: 999px;
	background: rgba(255, 255, 255, .07);
	color: #fff;
	font: 800 13px/1 'Bricolage Grotesque', sans-serif;
	letter-spacing: .08em;
	cursor: pointer;
	transition: background .15s, border-color .15s, transform .15s;
}

.gcbfh__cod:hover {
	background: rgba(255, 255, 255, .14);
	border-color: #fff;
}

.gcbfh__cod:active { transform: scale(.97); }

.gcbfh__cod__a {
	font-weight: 500;
	letter-spacing: 0;
	color: rgba(255, 255, 255, .62);
}

.gcbfh__cod.is-ok {
	border-style: solid;
	border-color: #fff;
}

.gcbfh__cod.is-ok .gcbfh__cod__a { color: #fff; }

@media (min-width: 768px) {
	/* En ordenador manda la foto: va en el flujo, a su proporcion real, y el
	   texto se coloca encima. Asi se ve entera, sin recortar ni por arriba ni
	   por los lados, sea cual sea la pantalla. */
	.gcbfh {
		display: block;
		min-height: 0;
		height: auto;
	}

	.gcbfh__foto {
		position: static;
		height: auto;
		min-height: 0;
	}

	.gcbfh__foto::after { display: none; }

	.gcbfh__foto img {
		position: static;
		width: 100%;
		height: auto;
		object-fit: fill;
		opacity: .78;
	}

	/* la cortina para que se lea el titular vuelve a cubrir toda la portada */
	.gcbfh::after {
		content: '';
		position: absolute;
		inset: 0;
		z-index: 1;
		background: linear-gradient(100deg, #0a0a0b 3%, rgba(10, 10, 11, .78) 34%, rgba(10, 10, 11, .08) 72%);
	}

	.gcbfh__in {
		margin-top: 0;
	}

	.gcbfh__in {
		position: absolute;
		inset: 0;
		display: flex;
		flex-direction: column;
		align-items: flex-start;   /* si no, el filete del antetitulo cruza la pantalla */
		justify-content: center;
	}

	.gcbfh__in {
		padding: 0 clamp(32px, 6vw, 92px);
	}

	.gcbf .gcbfh .gcbfh__chip { font-size: 32px; padding: 11px 17px 12px; }
	.gcbf .gcbfh .gcbfh__chip i { font-size: 10px; }
	.gcbf .gcbfh .gcbfh__mas { font-size: 24px; }

	.gcbfh__s {
		font-size: 14px;
		max-width: 40ch;
	}

	.gcbfh__btn { flex: 0 0 auto; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.gcbfh__t b,
	.gcbfh__suma,
	.gcbfh__s,
	.gcbfh__cta { animation: none; }
}

/* ------------------------------------------------- cartel del catálogo */
/*
 * Los dos descuentos se explican una sola vez, arriba de la rejilla, y así la
 * etiqueta de cada camiseta puede quedarse en un recordatorio diminuto que no
 * tapa la prenda.
 */

.gcbfb {
	display: flex;
	align-items: center;
	gap: 15px;
	margin: 0 0 22px;
	padding: 15px 18px;
	border-radius: 16px;
	background: linear-gradient(104deg, #6d28d9 0%, var(--gcbf-morado) 58%, #c598fb 100%);
	box-shadow: 0 14px 30px -16px rgba(109, 40, 217, .9);
	color: #fff;
}

.gcbfb__ico {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	background: var(--gcbf-pct) center / contain no-repeat;
}

.gcbfb__txt {
	flex: 1 1 auto;
	min-width: 0;
}

.gcbf .gcbfb .gcbfb__t {
	display: block;
	font: 800 15px/1 'Bricolage Grotesque', sans-serif;
	letter-spacing: -.015em;
	text-transform: uppercase;
	color: #fff;
}

.gcbf .gcbfb .gcbfb__s {
	max-width: 62ch;
	margin: 6px 0 0;
	font: 400 13.5px/1.45 'Bricolage Grotesque', sans-serif;
	color: rgba(255, 255, 255, .88);
}

.gcbf .gcbfb .gcbfb__s b {
	font-weight: 800;
	color: #fff;
	font-variant-numeric: tabular-nums;
}

.gcbf .gcbfb .gcbfb__cod {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 11px 16px;
	border: 1.5px dashed rgba(255, 255, 255, .55);
	border-radius: 999px;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	font: 800 13px/1 'Bricolage Grotesque', sans-serif;
	letter-spacing: .08em;
	cursor: pointer;
	transition: background .15s, border-color .15s, transform .15s;
}

.gcbf .gcbfb .gcbfb__cod:hover { background: rgba(255, 255, 255, .2); border-color: #fff; }
.gcbf .gcbfb .gcbfb__cod:active { transform: scale(.97); }
.gcbf .gcbfb .gcbfb__cod__a { font-weight: 500; letter-spacing: 0; color: rgba(255, 255, 255, .72); }
.gcbf .gcbfb .gcbfb__cod.is-ok { border-style: solid; border-color: #fff; }
.gcbf .gcbfb .gcbfb__cod.is-ok .gcbfb__cod__a { color: #fff; }

@media (max-width: 640px) {
	.gcbfb {
		flex-wrap: wrap;
		gap: 12px;
		padding: 14px;
		border-radius: 14px;
	}

	.gcbfb__ico { width: 30px; height: 30px; }
	.gcbfb__txt { flex: 1 1 0; }
	.gcbf .gcbfb .gcbfb__t { font-size: 14px; }
	.gcbf .gcbfb .gcbfb__s { font-size: 12.5px; }
	.gcbf .gcbfb .gcbfb__cod { flex: 1 1 100%; justify-content: center; padding: 10px 14px; }
}

/* ------------------------------------------------- portada vestida */
/* Las tiras editoriales de la portada son decorativas y no llevan texto, así
   que en campaña cada terna cuenta la oferta entre las tres: el rótulo, la
   rebaja que ya lleva puesta y lo que suma el cupón. */

body.gcbf .v2ed__f { position: relative; }

body.gcbf .v2ed__f::after {
	content: var(--gcbf-pct-s) ' BLACK FRIDAY';
	position: absolute;
	left: 13px;
	bottom: 13px;
	z-index: 2;
	padding: 9px 13px 10px;
	border-radius: 10px;
	background: var(--gcbf-morado);
	box-shadow: 0 12px 26px -10px rgba(10, 10, 11, .7), inset 0 0 0 1px rgba(255, 255, 255, .22);
	font: 800 13.5px/1 'Bricolage Grotesque', sans-serif;
	letter-spacing: .01em;
	color: #fff;
	white-space: nowrap;
}

body.gcbf .v2ed__f:nth-child(2)::after { content: '−40 % YA APLICADO'; }
body.gcbf .v2ed__f:nth-child(3)::after { content: '+30 % CON BLACK30'; }

@media (min-width: 768px) {
	body.gcbf .v2ed__f::after { left: 18px; bottom: 18px; padding: 10px 15px 11px; font-size: 16px; }
}

/* las dos bandas anchas llevan el mensaje escrito en CSS, no en la foto: así
   se lee nítido en cualquier pantalla y se va solo al acabar la campaña */
body.gcbf .v2ed-ancha {
	position: relative;
	isolation: isolate;
}

body.gcbf .v2ed-ancha::before {
	content: '';
	position: absolute;
	inset: auto 0 0 0;
	height: 62%;
	z-index: 1;
	background: linear-gradient(to top, rgba(10, 10, 11, .92) 4%, rgba(10, 10, 11, .5) 48%, transparent 100%);
}

body.gcbf .v2ed-ancha::after {
	content: 'BLACK FRIDAY · −40 % +30 % EXTRA';
	position: absolute;
	left: 0;
	right: 0;
	bottom: clamp(16px, 3.2vw, 38px);
	z-index: 2;
	padding: 0 16px;
	text-align: center;
	font: 800 clamp(17px, 2.7vw, 36px)/1.2 'Bricolage Grotesque', sans-serif;
	letter-spacing: -.015em;
	color: #fff;
	text-shadow: 0 3px 22px rgba(10, 10, 11, .75);
}

/* ------------------------------------------------- aviso del menú */
/* La misma idea que el cartel del catálogo, pero de pie y centrada: al abrirse
   el menú entra escalonada (icono, rótulo, cifras y pie), luego la recorre un
   destello cada pocos segundos y el icono y la flecha mantienen el pulso. */

.gcbf .gcbfm {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	/* el menú es una columna flexible y sin esto aplastaba la tarjeta */
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 9px;
	margin: 0 0 20px;
	padding: 22px 18px 20px;
	border-radius: 18px;
	background: linear-gradient(140deg, #5b21b6 0%, #7c3aed 38%, var(--gcbf-morado) 70%, #d8b4fe 100%);
	box-shadow: 0 20px 40px -20px rgba(109, 40, 217, 1), inset 0 0 0 1px rgba(255, 255, 255, .22);
	color: #fff;
	text-decoration: none;
	animation: gcbfm-entra .65s cubic-bezier(.16, 1, .3, 1) both;
}

.gcbf .gcbfm:hover { color: #fff; }
.gcbf .gcbfm:active { transform: scale(.985); }

/* el destello que la cruza */
.gcbf .gcbfm::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background: linear-gradient(104deg, transparent 38%, rgba(255, 255, 255, .3) 50%, transparent 62%);
	transform: translateX(-130%);
	animation: gcbfm-brillo 5.4s cubic-bezier(.22, 1, .36, 1) 1.1s infinite;
}

.gcbfm__ico {
	width: 44px;
	height: 44px;
	background: var(--gcbf-pct) center / contain no-repeat;
	animation: gcbfm-sube .55s cubic-bezier(.16, 1, .3, 1) .08s both,
	           gcbfm-sello 4.6s cubic-bezier(.22, 1, .36, 1) 1.4s infinite;
}

.gcbf .gcbfm .gcbfm__t {
	font: 800 19px/1 'Bricolage Grotesque', sans-serif;
	letter-spacing: .01em;
	text-transform: uppercase;
	color: #fff;
	animation: gcbfm-sube .55s cubic-bezier(.16, 1, .3, 1) .14s both;
}

.gcbf .gcbfm .gcbfm__s {
	display: block;
	max-width: 24ch;
	font: 400 13.5px/1.45 'Bricolage Grotesque', sans-serif;
	color: rgba(255, 255, 255, .88);
	animation: gcbfm-sube .55s cubic-bezier(.16, 1, .3, 1) .2s both;
}

.gcbf .gcbfm .gcbfm__s b {
	font-weight: 800;
	color: #fff;
	font-variant-numeric: tabular-nums;
}

.gcbf .gcbfm .gcbfm__s i {
	font-style: normal;
	color: rgba(255, 255, 255, .62);
}

.gcbf .gcbfm .gcbfm__s em {
	display: inline-block;
	font-style: normal;
	font-weight: 800;
	padding: 2px 7px 3px;
	border-radius: 6px;
	background: rgba(255, 255, 255, .22);
	color: #fff;
	letter-spacing: .04em;
	animation: gcbfm-codigo 3.8s ease-in-out 2s infinite;
}

.gcbf .gcbfm .gcbfm__go {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 3px;
	padding: 8px 16px 9px;
	border-radius: 999px;
	background: #fff;
	color: #5b21b6;
	font: 800 12px/1 'Bricolage Grotesque', sans-serif;
	letter-spacing: .05em;
	text-transform: uppercase;
	animation: gcbfm-sube .55s cubic-bezier(.16, 1, .3, 1) .26s both;
}

.gcbf .gcbfm .gcbfm__go i {
	font-style: normal;
	animation: gcbfm-flecha 2.8s cubic-bezier(.22, 1, .36, 1) 1.8s infinite;
}

.gcbf .gcbfm:hover .gcbfm__go { background: #f3e8ff; }

@keyframes gcbfm-entra {
	from { opacity: 0; transform: translateY(14px) scale(.97); }
	to   { opacity: 1; transform: none; }
}

@keyframes gcbfm-sube {
	from { opacity: 0; transform: translateY(10px); }
	to   { opacity: 1; transform: none; }
}

@keyframes gcbfm-brillo {
	0%, 4%     { transform: translateX(-130%); }
	26%, 100%  { transform: translateX(130%); }
}

@keyframes gcbfm-sello {
	0%, 74%, 100% { transform: none; }
	80% { transform: rotate(-7deg) scale(1.1); }
	87% { transform: rotate(4deg) scale(1.04); }
}

@keyframes gcbfm-codigo {
	0%, 70%, 100% { background: rgba(255, 255, 255, .22); box-shadow: none; }
	82% { background: rgba(255, 255, 255, .38); box-shadow: 0 0 0 3px rgba(255, 255, 255, .16); }
}

@keyframes gcbfm-flecha {
	0%, 62%, 100% { transform: none; }
	74% { transform: translateX(4px); }
	86% { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
	.gcbf .gcbfm,
	.gcbf .gcbfm::after,
	.gcbf .gcbfm .gcbfm__ico,
	.gcbf .gcbfm .gcbfm__t,
	.gcbf .gcbfm .gcbfm__s,
	.gcbf .gcbfm .gcbfm__s em,
	.gcbf .gcbfm .gcbfm__go,
	.gcbf .gcbfm .gcbfm__go i { animation: none; }
}

/* ------------------------------------------------- etiqueta de descuento */
/*
 * La etiqueta es un billete de dos mitades: a la izquierda la rebaja que la
 * camiseta ya lleva puesta y, en papel blanco a la derecha, la que añade el
 * cupón. El signo de sumar del medio es lo único que hace falta para contar
 * que se encadenan, así que no hay ninguna frase explicándolo.
 */

body.gcbf .gcb {
	/* inline-grid y no grid: en el pack la etiqueta va en el flujo y como
	   bloque se estiraba hasta el ancho de la fila */
	display: inline-grid;
	grid-template-columns: auto auto;
	justify-content: start;
	align-items: center;
	gap: 0 7px;
	overflow: hidden;
	padding: 0 7px 5px;
	border-radius: 10px;
	background: var(--gcbf-morado);
	box-shadow: 0 10px 22px -10px rgba(10, 10, 11, .55), inset 0 0 0 1px rgba(255, 255, 255, .16);
}

/* La cabecera va a sangre, como la banda impresa de una entrada, en el mismo
   morado que el resto. El icono es el porcentaje calado en blanco. El
   text-indent compensa el hueco que deja el espaciado de letras al final,
   para que el rótulo quede centrado de verdad. */
body.gcbf .gcb::before {
	content: var(--gcbf-pct-s) ' BLACK FRIDAY';
	grid-column: 1 / -1;
	margin: 0 -7px 1px;
	padding: 2px 7px 3px;
	background: linear-gradient(100deg, transparent 42%, rgba(255, 255, 255, .26) 50%, transparent 58%) 120% 0 / 320% 100%;
	text-align: center;
	text-indent: .14em;
	font: 800 7px/1.25 'Bricolage Grotesque', sans-serif;
	letter-spacing: .14em;
	color: #fff;
	animation: gcb-barrido 5.5s cubic-bezier(.22, 1, .36, 1) infinite;
}

/* mitad izquierda: lo que ya está descontado del precio */
body.gcbf .gcb__t {
	display: flex;
	flex-direction: column;
	gap: 1px;
	font: 800 14px/1 'Bricolage Grotesque', sans-serif;
	letter-spacing: -.025em;
	font-variant-numeric: tabular-nums;
	color: #fff;
}

body.gcbf .gcb__t::after {
	content: 'APLICADO';
	font: 700 6.5px/1 'Bricolage Grotesque', sans-serif;
	letter-spacing: .06em;
	color: #fff;
}

/* mitad derecha: el papel blanco del cupón */
body.gcbf .gcb__x {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1px;
	padding: 2px 6px 3px;
	border-radius: 6px;
	background: var(--gcbf-papel);
	color: var(--gcbf-letra);
}

/* el signo que une las dos mitades, justo en la juntura */
body.gcbf .gcb__x::before {
	content: '+';
	position: absolute;
	left: -7px;
	top: 50%;
	width: 7px;
	transform: translateY(-50%);
	text-align: center;
	font: 700 10px/1 'Bricolage Grotesque', sans-serif;
	color: rgba(255, 255, 255, .6);
}

body.gcbf .gcb__x b {
	font: 800 14px/1 'Bricolage Grotesque', sans-serif;
	letter-spacing: -.025em;
	font-variant-numeric: tabular-nums;
}

body.gcbf .gcb__cod {
	font: 700 6.5px/1 'Bricolage Grotesque', sans-serif;
	font-style: normal;
	letter-spacing: .05em;
	color: var(--gcbf-letra2);
}

/* el destello cruza la cabecera y descansa; en la rejilla de la tienda cada
   tarjeta entra en un momento distinto, para que no parpadeen todas a la vez */
@keyframes gcb-barrido {
	0%        { background-position: 120% 0; }
	26%, 100% { background-position: -120% 0; }
}

body.gcbf .v2card:nth-child(4n + 2) .gcb::before { animation-delay: 1.1s; }
body.gcbf .v2card:nth-child(4n + 3) .gcb::before { animation-delay: 2.2s; }
body.gcbf .v2card:nth-child(4n)     .gcb::before { animation-delay: 3.3s; }

@media (min-width: 768px) {
	body.gcbf .gcb { padding: 0 9px 6px; border-radius: 11px; gap: 0 10px; }
	body.gcbf .gcb::before { margin: 0 -9px 2px; padding: 3px 9px 4px; font-size: 7.5px; }
	body.gcbf .gcb__t,
	body.gcbf .gcb__x b { font-size: 17px; }
	body.gcbf .gcb__t::after { content: 'YA APLICADO'; font-size: 7px; letter-spacing: .08em; }
	body.gcbf .gcb__cod { font-size: 7px; letter-spacing: .06em; }
	body.gcbf .gcb__x { padding: 4px 7px 5px; }
	body.gcbf .gcb__x::before { left: -10px; width: 10px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
	body.gcbf .gcb::before { animation: none; background: none; }
}

/* en la ficha hay más sitio sobre la foto grande, así que sube de talla; en
   el móvil sube menos, que ahí la foto es lo que el cliente ha venido a ver */
body.gcbf .v2p__media { position: relative; }

body.gcbf .v2p__media > .gcb {
	top: 13px;
	left: 13px;
	z-index: 3;
	padding: 0 11px 8px;
	border-radius: 13px;
	gap: 0 13px;
}

body.gcbf .v2p__media > .gcb::before { margin: 0 -11px 4px; padding: 3px 11px 4px; font-size: 8.5px; }
body.gcbf .v2p__media > .gcb .gcb__t,
body.gcbf .v2p__media > .gcb .gcb__x b { font-size: 20px; }
body.gcbf .v2p__media > .gcb .gcb__t::after { content: 'YA APLICADO'; font-size: 8px; letter-spacing: .09em; }
body.gcbf .v2p__media > .gcb .gcb__cod { font-size: 8px; letter-spacing: .07em; }
body.gcbf .v2p__media > .gcb .gcb__x { padding: 5px 9px 6px; border-radius: 8px; }
body.gcbf .v2p__media > .gcb .gcb__x::before { left: -13px; width: 13px; font-size: 13px; }

@media (min-width: 768px) {
	body.gcbf .v2p__media > .gcb { top: 16px; left: 16px; padding: 0 14px 10px; border-radius: 15px; gap: 0 18px; }

	/* el rótulo es mayor aquí, así que el icono sube de talla con él */
	body.gcbf .v2p__media > .gcb::before {
		content: var(--gcbf-pct-l) ' BLACK FRIDAY';
		margin: 0 -14px 5px;
		padding: 4px 14px 5px;
		font-size: 10px;
	}

	body.gcbf .v2p__media > .gcb .gcb__t,
	body.gcbf .v2p__media > .gcb .gcb__x b { font-size: 28px; }
	body.gcbf .v2p__media > .gcb .gcb__t::after,
	body.gcbf .v2p__media > .gcb .gcb__cod { font-size: 9.5px; }
	body.gcbf .v2p__media > .gcb .gcb__x { padding: 7px 12px 8px; border-radius: 9px; }
	body.gcbf .v2p__media > .gcb .gcb__x::before { left: -18px; width: 18px; font-size: 16px; }
}

/* en el pack la etiqueta comparte renglón con el nombre: se queda en una fila
   y se callan los pies de cada cifra, que ahí no caben */
body.gcbf .gcpk__info .gcb {
	grid-template-columns: none;
	grid-auto-flow: column;
	align-items: center;
	gap: 10px;
	padding: 4px 9px 5px;
	border-radius: 8px;
	box-shadow: none;
}

body.gcbf .gcpk__info .gcb::before {
	grid-column: auto;
	margin: 0;
	padding: 0;
	background: none;
	animation: none;
	font-size: 8px;
}

body.gcbf .gcpk__info .gcb__t,
body.gcbf .gcpk__info .gcb__x b { font-size: 14px; }
body.gcbf .gcpk__info .gcb__t::after,
body.gcbf .gcpk__info .gcb__cod { display: none; }
body.gcbf .gcpk__info .gcb__x { padding: 2px 6px 3px; border-radius: 5px; }
body.gcbf .gcpk__info .gcb__x::before { left: -10px; width: 10px; font-size: 10px; }

/* -------------------------------------------- el codigo en la ficha */
/* En campana la caja del codigo se vuelve morada entera, con el degradado en
   movimiento y un destello que la cruza. La hoja de la ficha pone sus colores
   con !important, asi que aqui hay que ir con lo mismo. */

body.gcbf .gcod {
	position: relative;
	overflow: hidden;
	background: linear-gradient(110deg, #6d28d9 0%, #a855f7 38%, #d8b4fe 56%, #a855f7 74%, #6d28d9 100%) !important;
	background-size: 240% 100% !important;
	border-color: rgba(255, 255, 255, .38) !important;
	box-shadow: 0 12px 30px -14px rgba(124, 58, 237, .95) !important;
	color: #fff !important;
	animation: gcod-fondo 8s ease-in-out infinite;
}

/* el destello que cruza la caja */
body.gcbf .gcod::after {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .42) 50%, transparent 62%);
	transform: translateX(-130%);
	animation: gcod-brillo 4.6s ease-in-out infinite;
}

body.gcbf .gcod .gcod__ico-caja {
	position: relative;
	z-index: 1;
	background: rgba(255, 255, 255, .18) !important;
	color: #fff !important;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45);
	animation: gcod-sello 4.6s ease-in-out infinite;
}

body.gcbf .gcod .gcod__txt,
body.gcbf .gcod .gcod__copia {
	position: relative;
	z-index: 1;
}

body.gcbf .gcod .gcod__pct {
	color: #fff !important;
	text-shadow: 0 1px 10px rgba(49, 10, 90, .35);
}

body.gcbf .gcod .gcod__sub {
	color: rgba(255, 255, 255, .86) !important;
}

body.gcbf .gcod .gcod__code {
	color: #fff !important;
	padding: 1px 5px;
	border-radius: 5px;
	background: rgba(255, 255, 255, .2);
}

body.gcbf .gcod .gcod__copia {
	background: #fff !important;
	border-color: #fff !important;
	color: #5b21b6 !important;
}

/* al copiar, morado oscuro y se para todo */
body.gcbf .gcod.is-copiado {
	background: #3b0d7a !important;
	border-color: rgba(255, 255, 255, .5) !important;
	animation: none;
}

body.gcbf .gcod.is-copiado::after { animation: none; opacity: 0; }

body.gcbf .gcod.is-copiado .gcod__ico-caja {
	background: rgba(255, 255, 255, .22) !important;
	color: #fff !important;
	animation: none;
}

@keyframes gcod-fondo {
	0%, 100% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
}

@keyframes gcod-brillo {
	0%, 58% { transform: translateX(-130%); }
	80%, 100% { transform: translateX(130%); }
}

@keyframes gcod-sello {
	0%, 70%, 100% { transform: none; }
	76% { transform: rotate(-8deg) scale(1.08); }
	84% { transform: rotate(5deg) scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
	body.gcbf .gcod,
	body.gcbf .gcod::after,
	body.gcbf .gcod .gcod__ico-caja { animation: none; }
}
