/* GoodCold Novedades v1.1.1 */

.gcnv-bell {
	position: relative;
	display: inline-block;
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1;
}

.gcnv-bell button.gcnv-bell__btn,
.gcnv-bell button.gcnv-bell__btn:focus,
.gcnv-bell button.gcnv-bell__btn:active {
	-webkit-appearance: none !important;
	appearance: none !important;
	position: relative;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 42px !important;
	height: 42px !important;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	border-radius: 50% !important;
	background: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	outline: none;
	color: #222 !important;
	font-size: 0 !important;
	line-height: 1 !important;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.gcnv-bell button.gcnv-bell__btn:hover,
.gcnv-bell button.gcnv-bell__btn[aria-expanded="true"] {
	background: rgba(11, 57, 242, 0.08) !important;
	color: #0B39F2 !important;
}

.gcnv-bell__icon {
	display: block;
	width: 24px !important;
	height: 24px !important;
	stroke: currentColor;
	fill: none;
}

.gcnv-bell__badge {
	position: absolute;
	top: 2px;
	right: 2px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 9px;
	background: #0B39F2;
	color: #fff;
	font-size: 11px;
	font-weight: bold;
	line-height: 18px;
	text-align: center;
	box-sizing: border-box;
}

.gcnv-panel {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	width: 340px;
	max-width: calc(100vw - 24px);
	background: #fff;
	border-radius: 22px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
	overflow: hidden;
	z-index: 9999;
}

.gcnv-panel__head {
	padding: 16px 20px 12px;
	font-size: 15px;
	font-weight: bold;
	color: #111;
	border-bottom: 1px solid #f0f0f0;
}

.gcnv-panel__list {
	max-height: 380px;
	overflow-y: auto;
}

.gcnv-item {
	display: block;
	padding: 13px 20px;
	border-bottom: 1px solid #f5f5f5;
	text-decoration: none;
	color: inherit;
	transition: background 0.12s ease;
}

.gcnv-item:last-child {
	border-bottom: none;
}

a.gcnv-item:hover {
	background: #f7f9ff;
}

.gcnv-item__top {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 3px;
}

.gcnv-item__dot {
	flex-shrink: 0;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #0B39F2;
}

.gcnv-item--pago .gcnv-item__dot   { background: #1aa552; }
.gcnv-item--evento .gcnv-item__dot { background: #7c3aed; }
.gcnv-item--oferta .gcnv-item__dot { background: #f59e0b; }

.gcnv-item__titulo {
	flex: 1;
	font-size: 14px;
	font-weight: bold;
	color: #111;
	line-height: 1.3;
}

.gcnv-item__fecha {
	flex-shrink: 0;
	font-size: 11px;
	color: #999;
}

.gcnv-item__msg {
	margin: 0;
	padding-left: 16px;
	font-size: 13px;
	line-height: 1.45;
	color: #555;
}

.gcnv-item--nueva .gcnv-item__titulo::after {
	content: "Nuevo";
	display: inline-block;
	margin-left: 7px;
	padding: 1px 7px;
	border-radius: 9px;
	background: #0B39F2;
	color: #fff;
	font-size: 10px;
	font-weight: bold;
	vertical-align: middle;
}

.gcnv-panel__empty,
.gcnv-panel__loading {
	padding: 24px 20px;
	font-size: 13px;
	color: #888;
	text-align: center;
}

@media (max-width: 480px) {
	.gcnv-panel {
		position: fixed;
		top: auto;
		left: 12px;
		right: 12px;
		width: auto;
	}
}

/* ---------- Pop-up (v1.1.0) ---------- */

.gcnv-popup {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: Arial, Helvetica, sans-serif;
}

.gcnv-popup[hidden] {
	display: none;
}

.gcnv-popup__overlay {
	position: absolute;
	inset: 0;
	background: rgba(10, 15, 40, 0.55);
}

.gcnv-popup__card {
	position: relative;
	width: 440px;
	max-width: calc(100vw - 32px);
	max-height: calc(100vh - 64px);
	overflow-y: auto;
	background: #fff;
	border-radius: 22px;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
	padding: 28px 28px 24px;
	box-sizing: border-box;
	animation: gcnvPopIn 0.22s ease-out;
}

@keyframes gcnvPopIn {
	from { opacity: 0; transform: translateY(14px) scale(0.97); }
	to   { opacity: 1; transform: translateY(0) scale(1); }
}

.gcnv-popup button.gcnv-popup__close {
	-webkit-appearance: none !important;
	appearance: none !important;
	position: absolute;
	top: 14px;
	right: 14px;
	width: 32px !important;
	height: 32px !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	border-radius: 50% !important;
	background: #f2f3f7 !important;
	box-shadow: none !important;
	color: #555 !important;
	font-size: 20px !important;
	line-height: 1 !important;
	cursor: pointer;
}

.gcnv-popup button.gcnv-popup__close:hover {
	background: #e6e9f5 !important;
	color: #0B39F2 !important;
}

.gcnv-popup__top {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
}

.gcnv-popup__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #0B39F2;
}

.gcnv-popup__card--pago .gcnv-popup__dot   { background: #1aa552; }
.gcnv-popup__card--evento .gcnv-popup__dot { background: #7c3aed; }
.gcnv-popup__card--oferta .gcnv-popup__dot { background: #f59e0b; }

.gcnv-popup__fecha {
	font-size: 12px;
	color: #999;
}

.gcnv-popup__titulo {
	font-size: 20px;
	font-weight: bold;
	color: #111;
	line-height: 1.25;
	margin-bottom: 10px;
	padding-right: 28px;
}

.gcnv-popup__msg {
	margin: 0 0 20px;
	font-size: 14px;
	line-height: 1.55;
	color: #444;
	white-space: pre-line;
}

.gcnv-popup__acciones {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
}

.gcnv-popup .gcnv-popup__btn {
	-webkit-appearance: none !important;
	appearance: none !important;
	display: inline-block;
	margin: 0 !important;
	padding: 10px 22px !important;
	border: none !important;
	border-radius: 22px !important;
	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 14px !important;
	font-weight: bold;
	line-height: 1.2 !important;
	text-decoration: none !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: background 0.15s ease;
}

.gcnv-popup a.gcnv-popup__btn--link {
	background: #0B39F2 !important;
	color: #fff !important;
}

.gcnv-popup a.gcnv-popup__btn--link:hover {
	background: #0930c9 !important;
}

.gcnv-popup button.gcnv-popup__btn--cerrar {
	background: #eef1fb !important;
	color: #0B39F2 !important;
}

.gcnv-popup button.gcnv-popup__btn--cerrar:hover {
	background: #e0e5f7 !important;
}

/* ---------- v1.1.1 ---------- */

/* Fix: respetar [hidden] aunque la clase defina display */
.gcnv-popup [hidden],
.gcnv-bell [hidden] {
	display: none !important;
}

.gcnv-popup__img {
	display: block;
	width: 100%;
	max-height: 240px;
	object-fit: contain;
	border-radius: 14px;
	background: #f7f8fc;
	margin-bottom: 16px;
}
