/* ==========================================================================
   Cube Product Listing — scoped under .product-listing
   ========================================================================== */

.cube-pl__title-main {
	margin: 0 0 20px;
	font-size: 24px;
	font-weight: 700;
}

.cube-content-flex {
    display: flex;
    align-items: center;
    padding-bottom: 137px;
}

.cube-content-flex .cube-content-flex-item:first-child {
    width: 45%;
}

.cube-content-flex .cube-content-flex-item:last-child {
    width: 55%;
    display: flex;
    padding-left: 100px;
}

h2.cube-pl__title-main {
    color: #031E45 !important;
    font-family: 'magistral';
    font-size: 60px;
    font-style: normal;
    font-weight: 400;
    line-height: 54px;
    margin: 0 !important;
    padding-bottom: 44px;
}

.cube-pl__content p {
    color: #031E45;
    font-family: 'suisse-intl';
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
}

.cube-pl__filters {
    display: flex;
    align-items: flex-end;
    gap: 27px;
    position: relative;
    width: 100%;
    padding-top: 60px;
}

.cube-pl__filter-wrap {
    width: 50%;
    display: flex;
    flex-direction: column;
    row-gap: 21px;
}

.cube-pl__filter-label {
    width: 100%;
    color: #031E45;
    font-family: 'suisse-intl';
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 17px;
    letter-spacing: 0.2px;
    margin: 0 !important;
}

.cube-pl__select-wrap, .cube-pl__search-wrap {
    position: relative;
}

body .container-wrap .product-listing .cube-pl__select {
    appearance: none !important;
    -webkit-appearance: none !important;
    background: #FFFFFF;
    border: 0 !important;
    border-radius: 999px;
    padding: 15px 44px 15px 24px;
    min-width: 190px;
    cursor: pointer;
    color: #B1B1B1;
    font-family: 'suisse-intl';
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
	text-overflow: ellipsis;
}

body .container-wrap .product-listing .cube-pl__select option {
	font-family: 'suisse-intl' !important;
}

body .container-wrap .product-listing .cube-pl__select.is-active {
    color: #031E45 !important;
}

body .container-wrap .product-listing .cube-pl__select option {
    color: #031E45 !important;
}

.cube-pl__select-wrap::before {
    content: "";
    position: absolute;
    right: 4px;
    top: 50%;
    width: 46px;
    height: 46px;
    border-radius: 100%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='14' viewBox='0 0 11 14' fill='none'%3E%3Cpath d='M9.83496 7.93555L5.24182 12.5202L0.750001 8.02842' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5.29199 0.75L5.29199 12.5199' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 11px;
    background-color: #031E45;
	transition: 0.3s ease;
}

.cube-pl__search-wrap {
    display: flex;
    align-items: center;
    width: 50%;
}

body .container-wrap .product-listing .cube-pl__search {
    background: #FFFFFF;
    border: 0 !important;
    border-radius: 999px;
    padding: 15px 44px 15px 24px;
    color: #031E45;
    font-family: 'suisse-intl';
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

body .container-wrap .product-listing .cube-pl__search:placeholder {
    color: #B1B1B1;
}

body .container-wrap .product-listing .cube-pl__search-btn {
    position: absolute;
    right: 4px;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 100% !important;
    background: #031E45;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

body .container-wrap .product-listing .cube-pl__search-btn:hover {
    background: #0085CF;
}

.cube-pl__select-wrap:hover:before {
    background-color: #0085CF;
}

body .container-wrap .product-listing .cube-pl__search-btn svg {
    width: 16px;
    height: 16px;
}

body .container-wrap .product-listing .cube-pl__clear-btn {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    border-radius: 40px !important;
    background: #031E45;
    color: #fff;
    cursor: pointer;
    padding: 7px 18px;
    font-family: 'suisse-intl';
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    white-space: nowrap;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

body .container-wrap .product-listing .cube-pl__clear-btn {
    position: absolute;
    bottom: -60px;
}

body .container-wrap .product-listing .cube-pl__clear-btn span {
    line-height: 0 !important;
}

body .container-wrap .product-listing .cube-pl__clear-btn span svg {
    width: 15px;
    height: 15px;
}

body .container-wrap .product-listing .cube-pl__clear-btn:hover {
    background: #0085CF;
}

body .container-wrap .product-listing .cube-pl__clear-btn[hidden] {
    display: none !important;
}

.cube-pl__counter {
    margin-bottom: 23px;
    color: #031E45;
    font-family: 'suisse-intl';
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 17px;
    letter-spacing: 0.16px;
}

/* ---------- Grid ---------- */

.cube-pl__grid {
    display: grid;
    gap: 17px;
    row-gap: 70px;
    grid-template-columns: repeat(4, 1fr);
}

.cube-pl__grid--cols-3 {
	grid-template-columns: repeat(3, 1fr);
}

.cube-pl__grid--cols-2 {
	grid-template-columns: repeat(2, 1fr);
}

.cube-pl__card {
    background: #FFFFFF;
    border-radius: 40px;
    padding: 0;
    position: relative;
    transition: box-shadow .2s ease, transform .2s ease;
}

.cube-pl__body {
    padding: 0px 30px 20px;
}

.cube-pl__card:hover {
	transform: translateY(-2px);
}

.cube-pl__card .b-card__indicator {
    width: 32px;
    height: 94px;
    top: 55% !important;
}

.cube-pl__card .b-card__indicator svg.svg-icon {
    width: 11px;
    height: 13px;
    transition: fill .3s ease-in-out, transform .3s ease-in-out;
    top: 50%;
    transform: translateY(-50%);
    left: 10px;
}

.cube-pl__card:hover .b-card__indicator svg.svg-icon {
	fill: #00AEEF;
	transform: translateY(-50%) translateX(3px);
}

.cube-pl__card-link {
	text-decoration: none;
	color: inherit;
	display: block;
}

.cube-pl__thumb {
    width: 100%;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    height: 300px !important;
}

.cube-pl__thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    margin: 0 !important;
    border-radius: 20px;
}
.cube-pl__thumb-placeholder {
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(45deg, #eee, #eee 10px, #f6f6f6 10px, #f6f6f6 20px);
    border-radius: 20px !important;
}

.cube-pl__label {
    display: inline-block;
    color: #0085CF;
    font-family: 'suisse-intl';
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 14px;
    margin-bottom: 15px !important;
}

body .container-wrap .product-listing .cube-pl__title {
    margin: 0 0 6px;
    color: #031E45;
    font-family: 'magistral';
    font-size: 40px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.cube-pl__desc {
    margin: 0;
    color: #031E45;
    font-family: 'suisse-intl';
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding-top: 10px;
}

.cube-pl__empty {
    text-align: center;
    padding: 60px 20px;
    color: #031E45;
    font-family: 'magistral';
    font-size: 40px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

/* ---------- Pagination ---------- */

.cube-pl__pagination-wrap {
    display: flex;
    justify-content: center;
    margin-top: 70px;
    margin-bottom: 130px;
}

.cube-pl__pagination {
	display: flex;
	align-items: center;
	gap: 8px;
}

body .container-wrap .product-listing .cube-pl__page-btn {
    min-width: 46px;
    height: 46px;
    border-radius: 100% !important;
    border: none;
    background: #031E45;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #FFF;
    font-family: 'suisse-intl';
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 17px;
    letter-spacing: 0.2px;
    text-transform: lowercase;
}

body .container-wrap .product-listing .cube-pl__page-btn:hover,
body .container-wrap .product-listing .cube-pl__page-next:hover span.cube-pl__page-next-icon,
body .container-wrap .product-listing .cube-pl__page-btn.is-active,
body .container-wrap .product-listing .cube-pl__page-prev:hover span.cube-pl__page-prev-icon {
    background: #0085CF;
}

body .container-wrap .product-listing .cube-pl__page-next:hover,
body .container-wrap .product-listing .cube-pl__page-prev:hover {
    background: #ffffff;
}

body .container-wrap .product-listing .cube-pl__page-next,
body .container-wrap .product-listing .cube-pl__page-prev {
    color: #031E45;
    border: 1px solid #e2e5ea;
    min-width: 140px !important;
    border-radius: 40px !important;
    background: #FFF;
    height: 54px !important;
    display: flex;
    justify-content: space-between;
    padding-left: 21px;
    padding-right: 4px !important;
	transition: background .3s ease-in-out;
}

body .container-wrap .product-listing .cube-pl__page-prev {
    padding-left: 4px !important;
    padding-right: 20px !important;
    gap: 20px !important;
}

span.cube-pl__page-next-icon,
span.cube-pl__page-prev-icon {
    width: 46px;
    height: 46px;
    background: #031E45;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
	transition: background .3s ease-in-out;
}

.cube-pl__page-dots {
	color: var(--cube-pl-text-muted);
	padding: 0 4px;
}

body .container-wrap .product-listing .cube-pl__pagination--loadmore {
	width: 100%;
	justify-content: center;
}

body .container-wrap .product-listing .cube-pl__loadmore {
	padding: 10px 28px;
	border-radius: 999px;
	border: 1px solid #e2e5ea;
	background: #fff;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
}

/* ---------- Loading state ---------- */

.cube-pl__results-wrap {
	position: relative;
}

.cube-pl__loader {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 5;
    align-items: center;
    justify-content: center;
    background: #F1F4F9;
    border-radius: 40px;
}

.product-listing.is-loading .cube-pl__loader {
	display: flex;
}

.product-listing.is-loading .cube-pl__results {
	opacity: .35;
	pointer-events: none;
}

.cube-pl__spinner {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 6px solid #031E45;
    border-top-color: #F1F4F9;
    animation: cube-pl-spin .7s linear infinite;
}

@keyframes cube-pl-spin {
	to {
		transform: rotate(360deg);
	}
}

.cube-pl__card span.cube-pl__label {
    display: none !important;
}


/* ---------- Media queries ---------- */

@media (min-width: 1281px) and (max-width: 1601px) { 
    .cube-pl__thumb {
        height: 260px !important;
    }
    body .container-wrap .product-listing .cube-pl__title {
        font-size: 30px;
    }
    .cube-pl__desc {
        font-size: 18px;
        padding-top: 7px;
    }
    body .container-wrap .product-listing .cube-pl__page-next, body .container-wrap .product-listing .cube-pl__page-prev {
        height: 50px !important;
        display: flex;
        justify-content: space-between;
        padding-left: 21px;
        padding-right: 4px !important;
    }
    .cube-pl__pagination-wrap {
        margin-top: 60px;
        margin-bottom: 90px;
    }
    body .container-wrap .product-listing .cube-pl__page-btn {
        font-size: 18px;
    }
}



@media (min-width: 1000px) and (max-width: 1280px) { 
    .cube-pl__grid {
        gap: 20px;
        row-gap: 40px;
        grid-template-columns: repeat(3, 1fr);
    }
    .cube-pl__thumb {
        max-width: 100% !important;
        height: 220px !important;
    }
    body .container-wrap .product-listing .cube-pl__title {
        font-size: 30px;
    }
    .cube-pl__desc {
        font-size: 18px;
        padding-top: 7px;
    }
    body .container-wrap .product-listing .cube-pl__page-next, body .container-wrap .product-listing .cube-pl__page-prev {
        height: 50px !important;
        display: flex;
        justify-content: space-between;
        padding-left: 21px;
        padding-right: 4px !important;
    }
    .cube-pl__pagination-wrap {
        margin-top: 60px;
        margin-bottom: 90px;
    }
    body .container-wrap .product-listing .cube-pl__page-btn {
        font-size: 18px;
    }

}


@media (max-width: 1441px) {
    .cube-content-flex .cube-content-flex-item:last-child {
        padding-left: 20px;
    }
    h2.cube-pl__title-main {
        font-size: 50px;
        line-height: 54px;
        padding-bottom: 34px;
    }
    .cube-pl__content p {
        font-size: 19px;
        line-height: 23px;
    }
    .cube-pl__filters {
        gap: 15px;
    }
}


@media (max-width: 1281px) {
    h2.cube-pl__title-main {
        font-size: 42px;
        line-height: 44px;
        padding-bottom: 24px;
    }
    .cube-pl__content p {
        font-size: 18px;
        line-height: 22px;
    }
    .cube-content-flex {
        padding-bottom: 80px;
    }
    .cube-pl__filter-label {
        font-size: 18px;
        line-height: 15px;
    }
}

@media (max-width: 999px) {
	.cube-pl__grid,
	.cube-pl__grid--cols-3,
	.cube-pl__grid--cols-4 {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
    	row-gap: 20px;
	}
	.cube-pl__filter-label {
		font-size: 17px;
	}
	.cube-pl__filters {
        gap: 10px;
    }
	body .container-wrap .product-listing .cube-pl__select, 
	body .container-wrap .product-listing .cube-pl__search {
		padding: 11px 20px 11px 20px !important;
		font-size: 17px;
	}
	body .container-wrap .product-listing .cube-pl__clear-btn {
        padding: 5px 10px;
        font-size: 14px;
    }
    body .container-wrap .product-listing .cube-pl__clear-btn span svg {
        width: 12px;
        height: 12px;
    }
	.cube-pl__select-wrap::before,
	body .container-wrap .product-listing .cube-pl__search-btn {
		width: 36px;
		height: 36px;
	}
	.cube-pl__counter {
		margin-bottom: 15px;
	}
	.cube-pl__card {
        border-radius: 40px;
        padding: 0;
    }
	.cube-pl__thumb {
        margin-bottom: 32px;
        height: 200px !important;
        justify-content: flex-end;
    }
	.cube-pl__label {
		font-size: 14px;
		margin-bottom: 10px !important;
	}
	body .container-wrap .product-listing .cube-pl__title {
		margin: 0 0 5px;
		font-size: 28px;
	}
	.cube-pl__card .b-card__indicator {
		width: 30px;
		height: 94px;
	}
	.cube-pl__card .b-card__indicator svg.svg-icon {
		width: 11px;
		height: 13px;
	}
	.cube-pl__desc {
		font-size: 17px;
		padding-top: 5px;
	}
    .cube-content-flex .cube-content-flex-item {
        width: 100% !important;
        padding: 0 !important;
    }
    .cube-content-flex {
        flex-direction: column;
        padding-bottom: 60px !important;
    }
    body .container-wrap .product-listing .cube-pl__clear-btn {
        bottom: -40px;
    }

}


@media (max-width: 690px) {
	.cube-pl__grid, .cube-pl__grid--cols-3, .cube-pl__grid--cols-4 {
		grid-template-columns: repeat(1, 1fr);
	}
	.cube-pl__thumb {
		margin-bottom: 20px;
	}
	body .container-wrap .product-listing .cube-pl__title {
		margin: 0 0 5px;
		font-size: 24px;
	}
	body .container-wrap .product-listing .cube-pl__select, body .container-wrap .product-listing .cube-pl__search {
		font-size: 16px;
	}
	.cube-pl__desc {
		font-size: 16px;
		padding-top: 5px;
	}
    body .container-wrap .product-listing .cube-pl__clear-btn {
        margin-top: 10px;
    }
	.cube-pl__pagination-wrap {
		margin-top: 40px;
		margin-bottom: 40px;
	}
	.cube-pl__pagination {
		gap: 4px;
	}
	body .container-wrap .product-listing .cube-pl__page-next, body .container-wrap .product-listing .cube-pl__page-prev {
		font-size: 0;
		min-width: unset !important;
		padding: 0 !important;
		width: 40px !important;
		height: 40px !important;
		gap: 0;
	}

	span.cube-pl__page-next-icon, span.cube-pl__page-prev-icon {
		width: 40px !important;
		height: 40px !important;
	}
	body .container-wrap .product-listing  .cube-pl__page-next span.cube-pl__page-next-text, 
	body .container-wrap .product-listing .cube-pl__page-prev span.cube-pl__page-prev-text {
		display: none !important;
	}
	body .container-wrap .product-listing .cube-pl__page-btn {
		min-width: 40px;
		height: 40px;
		gap: 6px;
		font-size: 16px;
	}
    .cube-pl__filters {
        flex-direction: column;
    }
    .cube-pl__filter-wrap, .cube-pl__search-wrap {
        width: 100% !important;
    }
    body .container-wrap .product-listing .cube-pl__clear-btn {
        left: 0;
    }
}