body {
	scroll-margin-top: 25vh;
}

.page-title {
	font-size: 3.5rem !important;
	text-align: center;
	margin-bottom: 25px !important;
	position: relative;
}

.page-description {
	color: #fff;
	font-size: var(--font-size-h4);
	font-family: var(--font-family-la-cartoonnerie);
	max-width: 1000px;
	margin-inline: auto;
	position: relative;
}

.page-content.page-not-found {
	text-align: center;
}

#js-product-list {
	width: 100%;
}

#search_filters_wrapper {
	position: relative;
	background: var(--color-white);
	padding-top: 30px;
	padding-bottom: 10px;
	padding-inline: 40px;
	border-radius: 40px 40px 0 0;
	width: 350px;
	max-width: 100%;
	margin-top: -20px;
	transition: all 0.3s ease;
}

#search_filters {
	left: 0;
	right: 0;
	position: absolute;
	top: 100%;
	z-index: 50;
	width: 100%;
	background: var(--color-white);
	border-radius: 0 0 40px 40px;
	padding-top: 10px;
	padding-bottom: 30px;
	padding-inline: 20px;
}

#search_filters .scroll-container {
	max-height: 50vh;
	overflow-x: hidden;
	overflow-y: auto;
	padding-inline: 20px;
	position: relative;
	padding-block: 10px;
	border-radius: 20px;
}

#search_filters .scroll-container::-webkit-scrollbar {
	width: 5px; /* width of the entire scrollbar */
}

#search_filters .scroll-container::-webkit-scrollbar-track {
	border-radius: 10px;
}

#search_filters .scroll-container::-webkit-scrollbar-thumb {
	border-radius: 10px;
	background-color: var(--color-grey-50);
}

#search_filters_wrapper:has(#filter_switch:checked),
#search_filters_wrapper:has(#filter_switch:checked) #search_filters {
	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.25);
	transition: all 0.3s ease;
}

#wrapper > .position-static > .row {
	padding-inline: 25px;
	margin-inline: 0 !important;
	gap: 25px;
}

:is(.category-id-76, .category-id-parent-76) .header-container * {
	color: var(--color-maroon) !important;
}

:is(.category-id-76, .category-id-parent-76) .decorated-title::before,
:is(.category-id-76, .category-id-parent-76) .decorated-title::after {
	filter: grayscale(0) brightness(0.4) hue-rotate(360deg) !important;
}

:is(.category-id-76, .category-id-parent-76) #wrapper > .header-container {
	background-color: #f8c084;
}
:is(.category-id-79, .category-id-parent-79) #wrapper > .header-container {
	background-color: var(--color-maroon);
}

@keyframes fadeInUp {
	0% {
		transform: translateY(20px);
		opacity: 0;
	}
	100% {
		transform: translateY(0);
		opacity: 1;
	}
}

#wrapper > .header-container::before {
	background-image: var(--category-decoration);
	position: absolute;
	left: 10vw;
	display: block;
	z-index: 1;
	animation: fadeInUp 0.5s ease-in-out;
	width: 175px;
	content: "";
	background-size: contain;
	aspect-ratio: 1;
	bottom: calc((var(--header-height) / 75) + 7vw);
	transform: translateY(-50%);
}

#category-description {
	padding: 25px 60px;
	background-image: var(--image-pattern-1);
	color: var(--color-maroon);
	border-radius: 40px;
	margin-top: 25px;
}

#category-description :is(h1, h2, h3, h4, h5, h6) {
	color: var(--color-maroon);
}

.page-item {
	margin: 0.25rem;
}

.page-item > .page-link {
	color: var(--color-orange);
	font-family: var(--font-family-la-cartoonnerie);
	font-size: 1.25rem;
	display: flex;
	justify-content: center;
	align-items: center;
	text-decoration: none;
	line-height: 1;
	text-align: center;
}

.page-item > .page-link.page-link-static {
	pointer-events: none;
}

.page-item:not(:first-child):not(:last-child) > .page-link {
	border-radius: 999px;
	background-color: transparent;
	border: 1px solid var(--color-orange);
	height: 32px;
	width: 32px;
}

.page-item.active:not(:first-child):not(:last-child) > .page-link,
.page-item > .page-link:hover {
	background-color: var(--color-orange) !important;
	box-shadow: none;
	color: var(--color-white);
}

.page-item > .page-link:active {
	background-color: var(--color-maroon) !important;
	border-color: var(--color-maroon) !important;
}

.category-top-menu,
.category-top-menu ul {
	all: unset;
	list-style-type: none;
}

.category-top-menu ul li[data-depth="0"] {
	margin-bottom: 10px;
}

.category-top-menu ul li[data-depth="1"] {
	margin-top: 5px;
	padding-left: 20px;
}

.category-top-menu a {
	text-decoration: none;
}

.category-top-menu a:is(:hover, :focus, :active) {
	text-decoration: underline;
}

.category-top-menu li[data-depth] a {
	color: var(--color-maroon);
	line-height: 1;
}

.category-top-menu li[data-depth] a:is(:hover, :focus, :active) {
	color: var(--color-orange);
}

.category-top-menu li[data-depth] a.highlight {
	color: var(--color-orange);
}

.category-top-menu li[data-depth] a.highlight:is(:hover, :focus, :active) {
	color: var(--color-maroon);
}

.block-categories .widget-title {
	color: var(--color-maroon);
	font-size: var(--font-size-h2);
	font-family: var(--font-family-la-cartoonnerie);
}

.gift-card {
	margin-top: 30px;
}

#shop-sidebar {
	position: sticky;
	top: var(--header-height);
	transition: all 0.6s ease 0.2s;
	display: flex;
	flex-direction: column;
	gap: 20px;
	align-items: center;
}

.category-header {
	position: sticky;
	top: calc(var(--header-height) + 5px);
	border-radius: 25px;
	background: var(--color-white);
	z-index: 500;
	padding: 20px 25px;
	transition: all 0.5s ease;
}

.cz-sidebar-body {
	padding-inline: 0;
	padding-block: 40px;
}

.category-header.is-pinned {
	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.25);
	transition: all 0.5s ease;
}

.decorated-title::before,
.decorated-title::after {
	filter: grayscale(1) brightness(2);
}

.category-top-menu li[data-depth] a.active {
	position: relative;
}

.category-top-menu li[data-depth] a.active::before {
	position: absolute;
	left: -30px;
	content: url("/modules/octablocks/views/images/category-arrow.svg");
	display: block;
	top: 50%;
	transform: translateY(-50%);
	border-radius: 99px;
	padding: 3px;
	transition: all 0.3s ease;
}

.category-top-menu li[data-depth] a.active:is(:hover, :focus, :active)::before {
	transform: translateX(5px) translateY(-50%);
	filter: brightness(0.5) grayscale(0.5);
}

#octa-col-50-1 .octa-col__item__text_1 p {
	font-size: var(--font-size-h3);
	font-family: var(--font-family-la-cartoonnerie);
	color: var(--color-orange);
	line-height: 1.2;
	margin: 0;
}

#octa-col-50-3 a {
	color: var(--color-maroon);
}

#category-description:empty {
	display: none;
}

.filters-container{
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}
.filters-container .btn-xs i{
margin-top: unset;
}
.btn-xs{
	padding: 0.4rem 0.6rem;
    font-size: 0.8125rem;
    line-height: 0;
}
.btn-tertiary{
    color: white !important;
	background: var(--color-maroon) !important;
}
.btn-tertiary:hover{
	background: var(--color-orange) !important;
	color: var(--value-color-maroon) !important;
}
@media screen and (max-width: 1730px) {
	#wrapper > .header-container::before {
		bottom: -3vw;
		left: 75%;
	}
}

@media screen and (max-width: 1300px) {
	#wrapper > .header-container::before {
		bottom: unset;
		position: relative;
		top: 50px;
		left: 50%;
		transform: translate(-50%, -50%);
	}
}

@media screen and (max-width: 992px) {
	.row:has(> #left-column) {
		flex-direction: column-reverse;
	}
	.cz-sidebar-body {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding-inline: 25px;
		flex-direction: row-reverse;
	}

	#shop-sidebar .block-categories {
		padding: 15px;
	}

	#octa-row-50 {
		margin: 0;
	}

	#shop-sidebar .block-categories .widget-title {
		display: none;
	}
	#octa-col-50-1 {
		width: 100%;
	}
	#octa-col-50-2,
	#octa-col-50-3 {
		width: unset !important;
	}
	#octa-col-50-3 {
		flex-grow: 1;
	}
	#wrapper > .position-static > .row {
		padding-inline: 0;
	}
}

@media screen and (max-width: 768px) {
	#octa-col-50-1 {
		order: 1;
	}
	#octa-col-50-1 .octa-col__item__text_1 {
		margin: 0;
	}

	#octa-col-50-3 {
		order: 2;
	}
	#octa-row-50 {
		gap: 5px !important;
	}
	#octa-row-50 * {
		text-align: center;
	}
	.category-header {
		flex-direction: column;
		align-items: stretch;
		gap: 15px;
	}
	.category-header > * {
		width: 100% !important;
	}

	#search_filters_wrapper {
		padding-inline: 20px;
		margin-top: 0;
		padding-top: 20px;
	}

	#search_filters_wrapper .switch {
		display: flex;
		justify-content: center;
		align-items: center;
	}

	#search_filters {
		padding-bottom: 10px;
	}
}

@media screen and (max-width: 575px) {
	#content-wrapper ul.pagination .page-item > .page-link {
		border: none;
		width: unset;
		height: unset;
	}
}

@media screen and (max-width: 500px) {
	.cz-sidebar-body {
		flex-direction: column-reverse;
	}
}

@media screen and (max-width: 400px) {
	.pagination {
		flex-wrap: wrap;
	}
	.pagination .page-count {
		order: 0;
		width: 100%;
	}
	.pagination .prev-page {
		order: 1;
	}
	.pagination .next-page {
		order: 2;
	}
}

@media screen and (max-width: 305px) {
	.pagination {
		flex-direction: column;
	}
}
