:root {
	--fb-primary: #9871d0;
	--fb-primary-dark: #8159bd;
	--fb-heading: #17141d;
	--fb-text: #2c2930;
	--fb-muted: #77727c;
	--fb-soft-purple: #f5f0fb;
	--fb-border: #ebe7ef;
	--fb-background: #ffffff;
}


/* ==================================================
   BOX SIZING
================================================== */

.florbloom-product-slider-block,
.florbloom-product-slider-block *,
.florbloom-product-slider-block *::before,
.florbloom-product-slider-block *::after {
	box-sizing: border-box;
}


/* ==================================================
   HOMEPAGE PRODUCT SLIDER
================================================== */

.florbloom-product-slider-block {
	position: relative;
	width: 100%;
	overflow: visible;
}

.florbloom-product-slider-container {
	width: 100%;
	max-width: 1360px;
	margin: 0 auto;
	padding-right: 28px;
	padding-left: 28px;
}

.florbloom-product-slider-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 22px;
}

.florbloom-product-slider-heading-content {
	min-width: 0;
}

.florbloom-product-slider-heading {
	margin: 0 !important;

	color: var(--fb-heading);

	font-size: clamp(25px, 2.2vw, 34px) !important;
	font-weight: 750 !important;
	line-height: 1.2 !important;
	letter-spacing: -0.025em;
}

.florbloom-product-slider-description {
	max-width: 700px;
	margin: 7px 0 0 !important;

	color: var(--fb-muted);

	font-size: 14px;
	line-height: 1.65;
}


/* ==================================================
   SLIDER CONTROLS
================================================== */

.florbloom-product-slider-controls {
	display: flex !important;
	flex: 0 0 auto;
	align-items: center;
	gap: 9px;

	opacity: 1 !important;
	visibility: visible !important;
}

.florbloom-slider-arrow,
.florbloom-slider-arrow:disabled {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;

	width: 42px;
	height: 42px;

	margin: 0;
	padding: 0;

	color: #ffffff !important;
	background: var(--fb-primary) !important;

	border: 1px solid var(--fb-primary) !important;
	border-radius: 50%;

	box-shadow:
		0 7px 22px rgba(34, 25, 45, 0.09) !important;

	cursor: pointer !important;

	opacity: 1 !important;
	visibility: visible !important;

	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.florbloom-slider-arrow:hover,
.florbloom-slider-arrow:focus,
.florbloom-slider-arrow:disabled:hover {
	color: #ffffff !important;
	background: var(--fb-primary-dark) !important;
	border-color: var(--fb-primary-dark) !important;

	transform: none !important;

	box-shadow:
		0 8px 24px rgba(129, 89, 189, 0.2) !important;
}

.florbloom-slider-arrow[hidden] {
	display: none !important;
}

.florbloom-slider-arrow svg {
	display: block;

	width: 19px;
	height: 19px;

	pointer-events: none;
}


/* ==================================================
   SLIDER SHELL
================================================== */

/*
 * Extra top space allows the card to lift on hover
 * without getting cut by the slider shell.
 */
.florbloom-product-slider-shell {
	position: relative;

	width: 100%;

	padding-top: 12px;

	overflow: hidden;
	
	isolation: isolate;
}


/* ==================================================
   DYNAMIC PRODUCT SLIDER EDGE FADES
================================================== */

.florbloom-product-slider-shell::before,
.florbloom-product-slider-shell::after {
	content: "";

	position: absolute;
	z-index: 20;

	top: 0;
	bottom: 0;

	width: 42px;

	pointer-events: none;
	opacity: 0;

	transition: opacity 0.22s ease;
}

.florbloom-product-slider-shell::before {
	left: 0;

	background:
		linear-gradient(
			to right,
			rgba(255, 255, 255, 0.98) 0%,
			rgba(255, 255, 255, 0.76) 38%,
			rgba(255, 255, 255, 0) 100%
		);
}

.florbloom-product-slider-shell::after {
	right: 0;

	background:
		linear-gradient(
			to left,
			rgba(255, 255, 255, 0.98) 0%,
			rgba(255, 255, 255, 0.76) 38%,
			rgba(255, 255, 255, 0) 100%
		);
}

.florbloom-product-slider-shell.has-left-overflow::before {
	opacity: 1;
}

.florbloom-product-slider-shell.has-right-overflow::after {
	opacity: 1;
}

.florbloom-product-slider-track {
	display: flex;
	align-items: stretch;

	gap: var(--fb-slider-gap, 22px);

	width: 100%;

	padding-top: 8px;
	padding-right: 18px;
	padding-bottom: 24px;
	padding-left: 2px;

	overflow-x: auto;
	overflow-y: hidden;

	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scroll-padding-left: 2px;

	scrollbar-width: none;

	-webkit-overflow-scrolling: touch;
}

.florbloom-product-slider-track::-webkit-scrollbar {
	display: none;
}


/*
 * Desktop:
 * 4 full cards + part of the fifth card.
 */
.florbloom-product-slider-slide {
	flex: 0 0 calc(
		(
			100% -
			(
				3.35 *
				var(--fb-slider-gap, 22px)
			)
		) / 4.35
	);

	min-width: 0;

	scroll-snap-align: start;
}


/* ==================================================
   PRODUCT CARD
================================================== */

.fb-card {
	position: relative;

	display: flex;
	flex-direction: column;

	width: 100%;
	height: 100%;
	min-width: 0;

	padding: 9px;
	overflow: hidden;

	background: var(--fb-background);

	border: 1px solid var(--fb-border);
	border-radius: 16px;

	box-shadow:
		0 5px 20px rgba(35, 24, 45, 0.055);

	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease,
		border-color 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {

	.fb-card:hover {
		transform: translateY(-5px);

		border-color:
			rgba(152, 113, 208, 0.34);

		box-shadow:
			0 17px 40px rgba(35, 24, 45, 0.12);
	}
}


/* ==================================================
   IMAGE
================================================== */

.fb-card__media {
	position: relative;

	width: 100%;
	flex: 0 0 auto;
}

.fb-card__image-link {
	position: relative;

	display: block;

	width: 100%;
	aspect-ratio: 1 / 1;

	overflow: hidden;

	background: #f4f2f6;

	border-radius: 12px;

	line-height: 0;
	text-decoration: none !important;
}

.fb-card__image-link img,
.fb-card__image {
	display: block !important;

	width: 100% !important;
	height: 100% !important;
	max-width: none !important;

	margin: 0 !important;
	padding: 0 !important;

	object-fit: cover !important;
	object-position: center !important;

	border: 0 !important;
	border-radius: 12px !important;

	box-shadow: none !important;

	transform: none !important;
	transition: none !important;
}


/* ==================================================
   DELIVERY BADGE
================================================== */

.fb-card__badge {
	position: absolute !important;
	z-index: 10 !important;

	top: 10px !important;
	left: 10px !important;

	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;

	width: auto !important;
	max-width: calc(100% - 20px) !important;
	min-height: 31px !important;

	margin: 0 !important;
	padding: 6px 10px !important;

	color: #ffffff !important;
	background: var(--fb-primary) !important;
	background-image: none !important;

	border: 0 !important;
	border-radius: 8px !important;

	font-size: 11px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	letter-spacing: 0 !important;

	text-align: center !important;
	white-space: nowrap !important;

	box-shadow:
		0 7px 18px rgba(152, 113, 208, 0.26) !important;

	transform: none !important;
}


/* ==================================================
   CONTENT
================================================== */

.fb-card__content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: center;

	min-width: 0;

	padding: 13px 5px 5px;

	text-align: center;
}


/* ==================================================
   TITLE
================================================== */

.fb-card__title {
	display: -webkit-box;

	min-height: 43px;
	max-height: 43px;

	margin: 0 !important;
	padding: 0 !important;

	overflow: hidden;

	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;

	color: var(--fb-heading);

	font-size: 15px !important;
	font-weight: 700 !important;
	line-height: 1.42 !important;
	letter-spacing: -0.012em;

	text-align: center;
}

.fb-card__title-link {
	color: var(--fb-heading) !important;
	text-decoration: none !important;
}

.fb-card__title-link:hover,
.fb-card__title-link:focus {
	color: var(--fb-primary) !important;
	text-decoration: none !important;
}


/* ==================================================
   RATING
================================================== */

.fb-card__rating {
	margin-top: 7px;
	line-height: 1;
}

.fb-card__rating .star-rating {
	float: none !important;

	width: 5.4em !important;
	margin: 0 !important;

	color: #e5a400;

	font-size: 12px !important;
}


/* ==================================================
   PRICE
================================================== */

.fb-card__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: center;

	width: 100%;
	gap: 5px;

	min-height: 25px;
	margin-top: 9px !important;

	color: var(--fb-primary) !important;

	font-size: 17px !important;
	font-weight: 800 !important;
	line-height: 1.3 !important;
}

/* Normal product price */
.fb-card__price > .woocommerce-Price-amount {
	color: var(--fb-primary) !important;

	font-size: 17px !important;
	font-weight: 800 !important;
}

/* Sale price */
.fb-card__price ins,
.fb-card__price ins .woocommerce-Price-amount {
	color: var(--fb-primary) !important;
	background: transparent !important;

	font-size: 17px !important;
	font-weight: 800 !important;

	text-decoration: none !important;
}

/* Old price */
.fb-card__price del,
.fb-card__price del .woocommerce-Price-amount {
	color: #a5a0aa !important;

	font-size: 13px !important;
	font-weight: 550 !important;

	opacity: 1 !important;

	text-decoration-thickness: 1px;
}


/* ==================================================
   DELIVERY TEXT
================================================== */

.fb-card__delivery {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;

	width: 100%;
	gap: 3px;

	margin-top: 8px;

	color: var(--fb-muted);

	font-size: 11px;
	font-weight: 500;
	line-height: 1.4;
}

.fb-card__delivery-label {
	color: var(--fb-muted);
}

.fb-card__delivery-day {
	color: var(--fb-heading);
	font-weight: 700;
}

.fb-card__delivery-label,
.fb-card__delivery-day {
	display: inline;
	white-space: nowrap;
}

/* ==================================================
   BUTTON
================================================== */

.fb-card__actions {
	display: flex;

	width: 100%;

	margin-top: auto;
	padding-top: 13px;
}

.fb-card__button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;

	gap: 7px;

	width: 100%;
	min-height: 40px;

	margin: 0 !important;
	padding: 9px 13px !important;

	color: #ffffff !important;
	background: var(--fb-primary) !important;

	border:
		1px solid var(--fb-primary) !important;

	border-radius: 10px !important;

	font-family: inherit !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 1 !important;

	text-align: center;
	text-decoration: none !important;
	white-space: nowrap;

	box-shadow: none !important;

	cursor: pointer;

	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		transform 0.2s ease;
}

.fb-card__button:hover,
.fb-card__button:focus {
	color: #ffffff !important;
	background: var(--fb-primary-dark) !important;

	border-color:
		var(--fb-primary-dark) !important;

	text-decoration: none !important;
}

.fb-card__button:active {
	transform: translateY(1px);
}

.fb-card__button.loading {
	opacity: 0.7;
	pointer-events: none;
}

.fb-card__button.added {
	background: var(--fb-primary-dark) !important;
	border-color: var(--fb-primary-dark) !important;
}

.fb-card__button-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	width: 16px;
	height: 16px;

	color: #ffffff;
}

.fb-card__button-icon svg {
	display: block;

	width: 16px;
	height: 16px;
}

.fb-card__button-text {
	color: #ffffff !important;
	font-weight: 700 !important;
}

.fb-card__actions .added_to_cart {
	display: none !important;
}


/* ==================================================
   TABLET
================================================== */

@media (max-width: 1024px) {

	.florbloom-product-slider-container {
		padding-right: 20px;
		padding-left: 20px;
	}

	.florbloom-product-slider-shell {
		padding-top: 10px;
	}


	.florbloom-product-slider-shell::before,
	.florbloom-product-slider-shell::after {
		width: 34px;
	}

	.florbloom-product-slider-track {
		padding-top: 7px;
		padding-right: 16px;
	}

	/*
	 * Tablet:
	 * 3 full cards + part of the fourth card.
	 */
	.florbloom-product-slider-slide {
		flex-basis: calc(
			(
				100% -
					(
						2.35 *
							var(--fb-slider-gap, 22px)
					)
			) / 3.35
		);
	}

	.florbloom-product-slider-heading {
		font-size: 27px !important;
	}
}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 767px) {

	.florbloom-product-slider-container {
		padding-right: 12px;
		padding-left: 12px;
	}

	.florbloom-product-slider-header {
		align-items: center;

		margin-bottom: 15px;
	}

	.florbloom-product-slider-heading {
		font-size: 22px !important;
	}

	.florbloom-product-slider-description {
		margin-top: 5px !important;

		font-size: 12px;
	}

	/*
	 * Mobile par customer swipe karega.
	 */
	.florbloom-product-slider-controls {
		display: none !important;
	}

	.florbloom-product-slider-shell {
		padding-top: 8px;
	}


	.florbloom-product-slider-shell::before,
	.florbloom-product-slider-shell::after {
		width: 24px;
	}

	.florbloom-product-slider-shell::before {
		background:
			linear-gradient(
				to right,
				rgba(255, 255, 255, 0.96) 0%,
				rgba(255, 255, 255, 0.58) 45%,
				rgba(255, 255, 255, 0) 100%
			);
	}

	.florbloom-product-slider-shell::after {
		background:
			linear-gradient(
				to left,
				rgba(255, 255, 255, 0.96) 0%,
				rgba(255, 255, 255, 0.58) 45%,
				rgba(255, 255, 255, 0) 100%
			);
	}

	.florbloom-product-slider-track {
		gap: 10px;

		padding-top: 6px;
		padding-right: 6px;
		padding-bottom: 6px;
		padding-left: 2px;

		scroll-padding-left: 2px;
	}

	/*
	 * Mobile:
	 * 2 full cards + part of the third card.
	 */
	.florbloom-product-slider-slide {
		flex: 0 0 calc(
			(
				100% -
					15px
			) / 2.25
		);

		min-width: 0;

		scroll-snap-align: start;
	}

	.fb-card {
		padding: 6px;

		border-radius: 12px;

		box-shadow:
			0 3px 12px rgba(17, 17, 17, 0.055);
	}

	.fb-card__image-link,
	.fb-card__image-link img,
	.fb-card__image {
		border-radius: 9px !important;
	}

	.fb-card__badge {
		top: 6px !important;
		left: 6px !important;

		max-width: calc(100% - 12px) !important;
		min-height: 25px !important;

		padding: 4px 7px !important;

		border-radius: 6px !important;

		font-size: 8.5px !important;
	}

	.fb-card__content {
	display: flex;
	flex-direction: column;
	align-items: center;

	padding: 14px 10px 10px;

	text-align: center;
}

    .fb-card__title {
	min-height: 38px;
	max-height: 38px;

	margin: 0 auto 5px !important;

	font-size: 14.5px !important;
	line-height: 1.45 !important;

	text-align: center !important;
}
    
	.fb-card__rating {
		margin-top: 5px;
	}

	.fb-card__rating .star-rating {
		font-size: 10px !important;
	}

	.fb-card__price {
	justify-content: center;

	gap: 5px;

	width: 100%;
	min-height: 23px;

	margin-top: 10px !important;

	font-size: 12px !important;

	text-align: center;
}

	.fb-card__price > .woocommerce-Price-amount {
		font-size: 14px !important;
		font-weight: 800 !important;
	}

	.fb-card__price ins,
	.fb-card__price ins .woocommerce-Price-amount {
		font-size: 14px !important;
		font-weight: 800 !important;
	}

	.fb-card__price del,
	.fb-card__price del .woocommerce-Price-amount {
		font-size: 12px !important;
		font-weight: 600 !important;
	}

	.fb-card__price del,
	.fb-card__price ins,
	.fb-card__price > .woocommerce-Price-amount {
		display: inline-flex !important;
		align-items: baseline;
		flex: 0 0 auto;
		margin: 0 !important;
		white-space: nowrap;
	}

	.fb-card__delivery {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: nowrap;

	gap: 3px;

	width: 100%;
	margin-top: 10px;

	font-size: 10px;
	line-height: 1.35;

	text-align: center;
	white-space: nowrap;
}

	.fb-card__actions {
		padding-top: 14px;
	}

	.fb-card__button {
		min-height: 35px;

		padding: 7px 6px !important;

		border-radius: 8px !important;

		font-size: 11px !important;
	}

	.fb-card__button-icon,
	.fb-card__button-icon svg {
		width: 13px;
		height: 13px;
	}
}


/* ==================================================
   RESPONSIVE VISIBILITY
================================================== */

@media (max-width: 767px) {

	.florbloom-hide-mobile {
		display: none !important;
	}
}

@media (min-width: 768px) {

	.florbloom-hide-desktop {
		display: none !important;
	}
}


/* ==================================================
   GLOBAL HOMEPAGE SECTION WIDTH
================================================== */

.florbloom-homepage-builder > * {
	width: 100%;
	max-width: 1360px;

	margin-right: auto !important;
	margin-left: auto !important;

	padding-right: 28px !important;
	padding-left: 28px !important;

	box-sizing: border-box;
}


/*
 * Full-width blocks ko container restriction nahi deni.
 */
.florbloom-homepage-builder
.florbloom-banner--full,
.florbloom-homepage-builder
[data-width="full"],
.florbloom-homepage-builder
.florbloom-full-width {
	max-width: none;

	padding-right: 0 !important;
	padding-left: 0 !important;
}


/* Tablet global spacing */

@media (max-width: 1024px) {

	.florbloom-homepage-builder > * {
		padding-right: 20px !important;
		padding-left: 20px !important;
	}
}


/* Mobile global spacing */

@media (max-width: 767px) {

	.florbloom-homepage-builder > * {
		padding-right: 12px !important;
		padding-left: 12px !important;
	}
}

/* ==================================================
   FINAL MOBILE PRICE + TITLE FIX
================================================== */

@media (max-width: 767px) {

	.fb-card__content {
		align-items: stretch !important;
		padding: 12px 4px 10px !important;
		text-align: center !important;
	}

	.fb-card__title {
		display: -webkit-box !important;
		width: 100% !important;
		min-height: 40px !important;
		max-height: 40px !important;
		margin: 0 0 6px !important;
		padding: 0 !important;

		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;

		font-size: 13.5px !important;
		line-height: 1.45 !important;
		text-align: center !important;
	}

	.fb-card__title-link {
		display: block !important;
		width: 100% !important;
		text-align: center !important;
	}

	.fb-card__price {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		align-items: baseline !important;
		justify-content: center !important;

		gap: 5px !important;

		width: 100% !important;
		min-height: 24px !important;

		margin: 7px 0 0 !important;
		padding: 0 !important;

		line-height: 1.2 !important;
		white-space: nowrap !important;
	}

	.fb-card__price del,
	.fb-card__price ins {
		display: inline-flex !important;
		flex: 0 0 auto !important;
		align-items: baseline !important;

		width: auto !important;
		min-width: 0 !important;

		margin: 0 !important;
		padding: 0 !important;

		float: none !important;
		white-space: nowrap !important;
	}

	.fb-card__price del,
	.fb-card__price del .woocommerce-Price-amount {
		font-size: 11px !important;
		font-weight: 600 !important;
		line-height: 1.2 !important;
	}

	.fb-card__price ins,
	.fb-card__price ins .woocommerce-Price-amount {
		font-size: 13px !important;
		font-weight: 800 !important;
		line-height: 1.2 !important;
	}

	.fb-card__price > .woocommerce-Price-amount {
		display: inline-flex !important;
		width: auto !important;
		margin: 0 !important;

		font-size: 13px !important;
		font-weight: 800 !important;
		white-space: nowrap !important;
	}
}