/* ==========================================================================
   GP Element Banner — 4 states: pending, sticky, dismissed, inline
   ========================================================================== */

/* Wrapper — shared */
.gpb-wrapper {
	width: 100%;
	left: 0;
	box-sizing: border-box;
	z-index: 9999;
}

/* ---------- State: Pending ---------- */
.gpb-wrapper.gpb-pending {
	position: fixed;
	bottom: 0;
	transform: translateY(100%);
	pointer-events: none;
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
	overflow: hidden;
}

.gpb-wrapper.gpb-pending .gpb-toggle {
	display: none;
}

/* ---------- State: Sticky (expanded, fixed at bottom) ---------- */
.gpb-wrapper.gpb-sticky {
	position: fixed;
	bottom: 0;
	transform: translateY(0);
	pointer-events: auto;
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- State: Dismissed (content inline, toggle fixed) ---------- */
.gpb-wrapper.gpb-dismissed {
	position: static;
	transform: none;
}

.gpb-wrapper.gpb-dismissed .gpb-content {
	max-height: 0 !important;
	opacity: 0;
	overflow: hidden;
}

.gpb-wrapper.gpb-dismissed .gpb-toggle {
	position: fixed;
	bottom: 0;
	right: 16px;
	top: auto;
	transform: none;
	z-index: 10000;
	border-radius: 6px 6px 0 0;
}

/* ---------- State: Inline (full inline, no toggle) ---------- */
.gpb-wrapper.gpb-inline {
	position: static;
	transform: none;
}

.gpb-wrapper.gpb-inline .gpb-content {
	max-height: none !important;
	opacity: 1;
	overflow: visible;
}

.gpb-wrapper.gpb-inline .gpb-toggle {
	display: none;
}

/* ---------- Content area ---------- */
.gpb-content {
	transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1),
	            opacity 0.3s ease;
	overflow: visible;
}

/* ---------- Toggle button ---------- */
.gpb-toggle {
	position: absolute;
	top: 0;
	right: 16px;
	transform: translateY(-100%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: none;
	border-radius: 6px 6px 0 0;
	cursor: pointer;
	padding: 0;
	line-height: 1;
	z-index: 1;
	transition: opacity 0.2s ease;
}

.gpb-toggle:hover {
	opacity: 0.85;
}

.gpb-toggle:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

/* ---------- Icon visibility ---------- */
.gpb-icon {
	display: block;
}

/* Default (sticky/expanded): show down-arrow, hide up-arrow */
.gpb-icon-up {
	display: none;
}

/* Dismissed: show up-arrow, hide down-arrow */
.gpb-wrapper.gpb-dismissed .gpb-icon-down {
	display: none;
}

.gpb-wrapper.gpb-dismissed .gpb-icon-up {
	display: block;
}

/* ---------- Placeholder (container) ---------- */
.gpb-placeholder {
	position: relative;
	padding: 0;
	margin: 0;
	border: 0;
}

/* ==========================================================================
   Banner Content Styles
   ========================================================================== */

.gpb-outer {
	background-color: var(--blue);
	background-clip: content-box;
	overflow-x: visible;
	overflow-y: visible;
}

.gpb-container {
	align-items: center;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-left: auto;
	margin-right: auto;
	max-width: var(--gb-container-width);
	row-gap: 40px;
	width: 100%;
	height: 129px;
	padding: 20px;
	box-sizing: border-box;
}

.gpb-col-link {
	display: flex;
	align-items: center;
	flex-direction: row;
	flex-wrap: nowrap;
	column-gap: 8px;
	padding-right: 10px;
	text-decoration: none;
	color: inherit;
}

.gpb-col-link:hover {
	opacity: 0.85;
}

.gpb-col-catalog {
	justify-content: flex-start;
	width: 100%;
	margin-top: -25px;
}

.gpb-text {
	text-align: left;
	margin-bottom: 0;
	margin-top: 10px;
	color: var(--base-3);
}

.gpb-chevron {
	display: inline-flex;
	flex-shrink: 0;
	margin-top: 10px;
}

.gpb-chevron svg {
	fill: currentColor;
	height: 70px;
	width: 40px;
	color: var(--base-3);
}

.gpb-catalog-img {
	padding-right: 12px;
	margin-top: -30px;
}

.gpb-catalog-img img {
	height: 155px;
	width: auto;
	display: block;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.gpb-col-catalog {
		justify-content: space-between;
	}

	.gpb-catalog-img {
		display: none;
	}
}

@media (max-width: 768px) {
	.gpb-toggle {
		right: 12px;
		width: 32px;
		height: 32px;
	}

	.gpb-wrapper.gpb-dismissed .gpb-toggle {
		right: 12px;
	}
}

@media (max-width: 767px) {
	.gpb-container {
		flex-direction: column;
		flex-wrap: nowrap;
		padding-left: 20px;
		padding-right: 20px;
		row-gap: 40px;
	}

	.gpb-col-catalog {
		padding-left: 0;
		padding-right: 0;
	}

	.gpb-catalog-img {
		display: none;
	}
}
