/* Navidad en gocamis: la capa de campaña (gocamis-bf.css) vestida de rojo.
   Solo cambia el color, el dibujo (un copo en vez del porcentaje) y los rótulos. */
body.gcnv {
	--gcbf-morado: #c8102e;
	--gcbf-papel:  #fff6f4;
	--gcbf-letra:  #7d0b1e;
	--gcbf-letra2: #b3152c;
	--gcbf-pct:   url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v20M3.3 7l17.4 10M3.3 17 20.7 7'/%3E%3Cpath d='M9.6 3.9 12 6.2l2.4-2.3M9.6 20.1 12 17.8l2.4 2.3M3.7 10.7l3.2-.9-.9-3.2M20.3 13.3l-3.2.9.9 3.2M3.7 13.3l3.2.9-.9 3.2M20.3 10.7l-3.2-.9.9-3.2'/%3E%3C/g%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%3Cg fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v20M3.3 7l17.4 10M3.3 17 20.7 7'/%3E%3Cpath d='M9.6 3.9 12 6.2l2.4-2.3M9.6 20.1 12 17.8l2.4 2.3M3.7 10.7l3.2-.9-.9-3.2M20.3 13.3l-3.2.9.9 3.2M3.7 13.3l3.2.9-.9 3.2M20.3 10.7l-3.2-.9.9-3.2'/%3E%3C/g%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%3Cg fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v20M3.3 7l17.4 10M3.3 17 20.7 7'/%3E%3Cpath d='M9.6 3.9 12 6.2l2.4-2.3M9.6 20.1 12 17.8l2.4 2.3M3.7 10.7l3.2-.9-.9-3.2M20.3 13.3l-3.2.9.9 3.2M3.7 13.3l3.2.9-.9 3.2M20.3 10.7l-3.2-.9.9-3.2'/%3E%3C/g%3E%3C/svg%3E");
}
@supports (color: oklch(.5 .1 20)) {
	body.gcnv {
		--gcbf-papel:  oklch(.98 .012 22);
		--gcbf-letra:  oklch(.36 .14 20);
		--gcbf-letra2: oklch(.48 .18 21);
	}
}

/* portada: la sombra del chip del código */
.gcbf.gcnv .gcbfh .gcbfh__chip--x { box-shadow: 0 12px 28px -12px rgba(200, 16, 46, .95), inset 0 1.5px 0 0 rgba(255, 255, 255, .3); }

/* cartel del catálogo */
.gcbf.gcnv .gcbfb {
	background: linear-gradient(104deg, #7d0b1e 0%, var(--gcbf-morado) 58%, #f0627a 100%);
	box-shadow: 0 14px 30px -16px rgba(125, 11, 30, .9);
}

/* rótulos sobre las fotos de la portada y cabecera de la etiqueta */
body.gcnv .v2ed__f::after,
body.gcnv .gcb::before { content: var(--gcbf-pct-s) ' NAVIDAD'; }
@media (min-width: 768px) {
	body.gcnv .v2p__media > .gcb::before { content: var(--gcbf-pct-l) ' NAVIDAD'; }
}

/* aviso del menú */
.gcbf.gcnv .gcbfm {
	background: linear-gradient(140deg, #6b0919 0%, #a30d26 38%, var(--gcbf-morado) 70%, #f58a9c 100%);
	box-shadow: 0 20px 40px -20px rgba(125, 11, 30, 1), inset 0 0 0 1px rgba(255, 255, 255, .22);
}
.gcbf.gcnv .gcbfm .gcbfm__go { color: #7d0b1e; }
.gcbf.gcnv .gcbfm:hover .gcbfm__go { background: #ffe9e6; }

/* la caja del código en la ficha */
body.gcbf.gcnv .gcod {
	background: linear-gradient(110deg, #7d0b1e 0%, #c8102e 38%, #f58a9c 56%, #c8102e 74%, #7d0b1e 100%) !important;
	background-size: 240% 100% !important;
	box-shadow: 0 12px 30px -14px rgba(163, 13, 38, .95) !important;
}
body.gcbf.gcnv .gcod .gcod__copia { color: #7d0b1e !important; }
body.gcbf.gcnv .gcod.is-copiado { background: #5c0715 !important; }

/* ---- el precio que queda con el código, junto al precio rebajado */
.gcnv-p {
	display: block;
	margin-top: 4px;
	font: 600 12px/1.2 'Bricolage Grotesque', sans-serif;
	letter-spacing: .01em;
	color: #b3152c;
	white-space:normal;
}
.gcnv-p b { font-weight: 800; font-size: 1.15em; }
.gcnv-p .woocommerce-Price-amount { color: inherit; font: inherit; }
.v2p__price .gcnv-p {
	display: flex;
	width: fit-content;
	align-items: baseline;
	gap: 5px;
	margin-top: 10px;
	padding: 7px 13px 8px;
	border-radius: 999px;
	background: #fdecee;
	font-size: 14px;
	line-height: 1;
}
.v2p__price .gcnv-p b { font-size: 1.2em; }

/* ---- adornos: van en toda la web mientras dure la Navidad */
body.gcnv .v2h__bar {
	background: #c8102e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='28' viewBox='0 0 120 28'%3E%3Cg fill='%23fff'%3E%3Ccircle cx='9' cy='6' r='1.4' opacity='.55'/%3E%3Ccircle cx='31' cy='21' r='1' opacity='.4'/%3E%3Ccircle cx='52' cy='9' r='1.7' opacity='.35'/%3E%3Ccircle cx='74' cy='22' r='1.2' opacity='.5'/%3E%3Ccircle cx='96' cy='5' r='1' opacity='.45'/%3E%3Ccircle cx='112' cy='18' r='1.5' opacity='.35'/%3E%3C/g%3E%3C/svg%3E") repeat-x 0 50%;
	animation: gcnv-barra 14s linear infinite;
}
@keyframes gcnv-barra { to { background-position: 120px 50%; } }

/* nieve posada en la cabecera y gorro sobre el logo */
body.gcnv .v2h { position: sticky; }
body.gcnv .v2h::before {
	content: '';
	position: absolute;
	/* solo sobre el tramo recto: en las esquinas redondas la nieve quedaba en el aire */
	left: 28px;
	right: 28px;
	top: -9px;
	height: 20px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 20' preserveAspectRatio='none'%3E%3Cpath d='M0 9C10 2 24 1 36 5c9-5 22-5 32 0 10-4 24-4 34 1 9-5 21-5 31-1 11-4 24-4 34 1 10-5 22-5 32-1 12-3 26-2 41 4v4c-8 3-12 6-17 3-4 5-11 4-13-1-9 3-17 2-25-1-3 7-11 7-13 0-10 3-20 3-29 0-4 5-12 5-15-1-9 3-18 3-27 0-3 6-10 6-13 0-9 3-18 2-26-1-4 4-10 4-13-1-4 1-7 1-9 0z' fill='%23fff'/%3E%3C/svg%3E") repeat-x 50% 0 / 240px 20px;
	filter: drop-shadow(0 1.5px 1px rgba(20, 40, 70, .3));
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
	pointer-events: none;
}
body.gcnv .v2h__logo::before {
	content: '';
	position: absolute;
	left: -6px;
	top: -14px;
	width: 30px;
	height: 26px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 34'%3E%3Cpath d='M6 25C8 12 17 3 28 4c5 .5 8 4 9 9l-6-3c1 6-1 11-3 15z' fill='%23d3122f'/%3E%3Cpath d='M28 4c5 .5 8 4 9 9l-6-3z' fill='%23a30d26'/%3E%3Crect x='2' y='22' width='30' height='9' rx='4.5' fill='%23fff'/%3E%3Ccircle cx='36.5' cy='14.5' r='3.5' fill='%23fff'/%3E%3C/svg%3E") no-repeat 50% / contain;
	transform: rotate(-12deg);
	filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .35));
	pointer-events: none;
}

/* nieve cayendo del borde del pie */
body.gcnv .v2f { position: relative; }
body.gcnv .v2f::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: -1px;
	height: 16px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 16' preserveAspectRatio='none'%3E%3Cpath d='M0 0v7c9 7 19 8 28 3 7 6 16 6 24 1 9 5 19 5 27-1 7 5 16 6 24 1 9 5 18 5 26 0 9 4 19 3 31-4V0z' fill='%23fff'/%3E%3C/svg%3E") repeat-x 0 0 / 190px 16px;
	pointer-events: none;
}

/* la nevada */
.gcnv-nieve {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 90;
	pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
	body.gcnv .v2h__bar { animation: none; }
	.gcnv-nieve { display: none; }
}

/* el texto «con el cupón X» puede partir en móviles estrechos; el importe, nunca */
.gcnv-p b{white-space:nowrap}
