.giuale-flyout {
	--flyout-border: #ececec;
	--flyout-text: #171717;
	background: #fff;
	color: var(--flyout-text);
	height: 100%;
	overflow: hidden;
	width: 100%;
}

.menu-flyout .brx-offcanvas-inner {
	overflow: hidden !important;
}

/* Il pannello account/login può superare l'altezza disponibile, soprattutto
 * su mobile: a differenza del menu non ha una lista interna scrollabile. */
.menu-flyout.login-offcanvas .brx-offcanvas-inner {
	overflow-x: hidden !important;
	overflow-y: auto !important;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

.menu-flyout .brxe-shortcode:has(.giuale-flyout) {
	flex: 1 1 auto;
	min-height: 0;
	overflow: hidden;
}

.giuale-flyout *,
.giuale-flyout *::before,
.giuale-flyout *::after {
	box-sizing: border-box;
}

.giuale-flyout__panel {
	background: #fff;
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 0;
	overflow: hidden;
	overscroll-behavior: contain;
}

.giuale-flyout__panel[hidden] {
	display: none !important;
}

.giuale-flyout__panel.is-entering {
	animation: giuale-flyout-in 220ms ease-out both;
}

@keyframes giuale-flyout-in {
	from { opacity: 0; transform: translateX(18px); }
	to { opacity: 1; transform: translateX(0); }
}

.giuale-flyout__hero {
	background: #191919;
	color: #fff;
	height: 162px;
	overflow: hidden;
	position: relative;
}

.giuale-flyout__hero-image {
	height: 100%;
	inset: 0;
	object-fit: cover;
	position: absolute;
	width: 100%;
}

.giuale-flyout__hero-overlay {
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 10.41%, rgba(0, 0, 0, 0.2) 53.01%, rgba(0, 0, 0, 0) 100%),
	linear-gradient(0deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
	inset: 0;
	position: absolute;
}

.giuale-flyout__hero-content {
	display: flex;
	flex-direction: column;
	height: 100%;
	justify-content: center;
	padding: 22px 25px 18px;
	position: relative;
	z-index: 1;
}

.giuale-flyout__hero-title {
	font-size: 24px;
	font-family:"Josefin Sans";
	letter-spacing: -.2px;
	font-weight: 500;
	line-height: 1.15;
	margin-bottom: 8px;
}

.giuale-flyout__hero-badge {
	align-self: flex-start;
	background: #c8102e;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .06em;
	padding: 5px 9px;
	text-transform: uppercase;
}

.giuale-flyout__hero-footer {
	align-items: center;
	display: flex;
	font-size: 11px;
	justify-content: space-between;
	letter-spacing: .14em;
	margin-top: 12px;
	text-transform: uppercase;
}

.giuale-flyout__hero-footer a {
	border-bottom: 1px solid rgba(255,255,255,.5);
	color: inherit;
	padding-bottom: 3px;
	text-decoration: none;
}
.giuale-flyout__hero-footer span {
	color: #FFFFFF8C;
}
.giuale-flyout__list {
	flex: 1 1 auto;
	list-style: none;
	margin: 0;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 0;
	-webkit-overflow-scrolling: touch;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.giuale-flyout__list::-webkit-scrollbar {
	display: none;
	height: 0;
	width: 0;
}

.giuale-flyout__item {
	border-bottom: 1px solid var(--flyout-border);
	margin: 0;
}

.giuale-flyout__row {
	align-items: center;
	appearance: none;
	background: #fff;
	border: 0;
	border-radius: 0;
	color: inherit;
	cursor: pointer;
	display: grid;
	font: inherit;
	font-size: 13px;
	grid-template-columns: 48px minmax(0, 1fr) 18px;
	min-height: 72px;
	padding: 9px 16px 9px 20px;
	text-align: left;
	text-decoration: none;
	transition: background-color 150ms ease;
	width: 100%;
}

.giuale-flyout__row:hover,
.giuale-flyout__row:focus-visible {
	background: #f7f7f5;
}

.giuale-flyout__row--text {
	grid-template-columns: minmax(0, 1fr) 18px;
	min-height: 72px;
}

.giuale-flyout__image {
	display: block;
	height: 48px;
	max-width: 42px;
	object-fit: contain;
	width: 42px;
}

.giuale-flyout__image--brand {
	max-width: 50px;
	width: 50px;
}

.giuale-flyout__image--placeholder {
	opacity: .55;
}

.giuale-flyout__label {
	min-width: 0;
	overflow-wrap: anywhere;
	padding: 0 8px;
	font-weight:500;
}

.giuale-flyout__arrow {
	fill: none;
	height: 17px;
	justify-self: end;
	stroke: currentColor;
	stroke-width: 1.25;
	width: 17px;
}

.giuale-flyout__panel-header {
	align-items: center;
	border-bottom: 1px solid var(--flyout-border);
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr) auto;
	min-height: 60px;
	padding: 0 16px;
	position: relative;
	z-index: 2;
	background: #fff;
}

.giuale-flyout__panel-header h2 {
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	margin: 0;
}

.giuale-flyout__panel-header > a {
	color: #8b8b8b;
	font-size: 9px;
	letter-spacing: .14em;
	text-decoration: none;
	text-transform: uppercase;
}

.giuale-flyout__back {
	appearance: none;
	background: transparent;
	border: 0;
	color: inherit;
	cursor: pointer;
	font-size: 19px;
	line-height: 1;
	padding: 7px 7px 7px 0;
}

.giuale-flyout__list--detail .giuale-flyout__row {
	min-height: 72px;
}

@media (prefers-reduced-motion: reduce) {
	.giuale-flyout__panel.is-entering { animation: none; }
}
