/**
 * Faradoran Commerce homepage rails, product cards, category and price-range cards and the product dialogs.
 *
 * Loaded by the Faradoran Theme homepage only (handle faradoran-commerce-home, after faradoran-theme-home).
 * Moved from the Theme in Phase 12a without changes; until Phase 13 the rules read the Theme design tokens
 * (--faradoran-theme-*) directly.
 */

/* Rules that loaded before the homepage stylesheet (Theme responsive-hardening.css). */

/* -------------------------------------------------------------------------- */

.faradoran-home-products__track,
.faradoran-rail__track {
	max-inline-size: 100%;
}

.faradoran-home-products__loop ul.products li.product.faradoran-home-product {
	min-inline-size: 0;
	max-inline-size: 100%;
}

/* Rules that loaded before the homepage stylesheet (Theme mobile-commerce.css). */

@media (max-width: 47.99rem) {
	/* Rails — controlled edge bleed for carousel peek */
	.faradoran-main.faradoran-home .faradoran-home-products,
.faradoran-main.faradoran-home .faradoran-home-categories,
.faradoran-main.faradoran-home .faradoran-home-price-ranges {
		padding-inline: 0;
	}

	.faradoran-main.faradoran-home .faradoran-home-products .faradoran-container,
.faradoran-main.faradoran-home .faradoran-home-categories .faradoran-container,
.faradoran-main.faradoran-home .faradoran-home-price-ranges .faradoran-container {
		inline-size: 100%;
		max-inline-size: none;
		margin-inline: 0;
		padding-inline: var(--faradoran-theme-mobile-rail-bleed);
	}

	.faradoran-home-products__carousel {
		--faradoran-carousel-gap: var(--faradoran-theme-space-3);
		--faradoran-carousel-peek: 0.15;
	}

	.faradoran-home-products__track {
		scroll-padding-inline: var(--faradoran-theme-mobile-rail-bleed);
		padding-inline-end: var(--faradoran-theme-mobile-rail-bleed);
	}

	@media (pointer: coarse) {
		.faradoran-home-product:hover {
			transform: none;
		}
	}
}

@media (prefers-reduced-motion: reduce) {
	.faradoran-home-products__track {
		scroll-behavior: auto;
	}
}

/* Rules that loaded before the homepage stylesheet (Theme tablet-commerce.css). */

@media (min-width: 48rem) and (max-width: 63.99rem) {
	.faradoran-home-products__carousel:not(.faradoran-rail):not(.faradoran-rail) {
		--faradoran-carousel-visible: 3;
		--faradoran-carousel-peek: 0.12;
	}

	.faradoran-rail.faradoran-home-products__carousel {
		--faradoran-rail-visible: 4;
	}

	.faradoran-main.faradoran-home .faradoran-home-products .faradoran-container,
.faradoran-main.faradoran-home .faradoran-home-categories .faradoran-container,
.faradoran-main.faradoran-home .faradoran-home-price-ranges .faradoran-container {
		padding-inline: var(--faradoran-theme-layout-gutter);
	}
}

/* Fine-pointer rails on tablet */
@media (min-width: 48rem) and (max-width: 63.99rem) and (hover: hover) and (pointer: fine) {
	.faradoran-home-products__carousel:not(.faradoran-rail):not(.faradoran-rail):has(li.product:nth-child(5)):not(.faradoran-home-products__carousel--static) {
		grid-template-columns: var(--faradoran-carousel-nav-slot) minmax(0, 1fr) var(--faradoran-carousel-nav-slot);
		column-gap: var(--faradoran-carousel-nav-gap);
	}

	.faradoran-home-products__carousel:not(.faradoran-rail):not(.faradoran-rail):has(li.product:nth-child(5)):not(.faradoran-home-products__carousel--static) .faradoran-home-products__nav-zone {
		display: flex;
	}

	.faradoran-rail.faradoran-rail--nav-enabled:has(.faradoran-rail__item:nth-child(5)) {
		grid-template-columns: var(--faradoran-carousel-nav-slot) minmax(0, 1fr) var(--faradoran-carousel-nav-slot);
	}

	.faradoran-rail.faradoran-rail--nav-enabled:has(.faradoran-rail__item:nth-child(5)) .faradoran-home-products__nav-zone {
		display: flex;
	}
}

@media (prefers-reduced-motion: reduce) {
	.faradoran-home-products__track {
		scroll-behavior: auto;
	}
}

/* Homepage rules (Theme home.css), in their original order. */

/* Categories — compact editorial collection strip */
.faradoran-home-categories {
	padding-block-end: var(--faradoran-theme-space-3);
	background-color: var(--faradoran-theme-color-ivory);
}

.faradoran-home-categories .faradoran-section__header {
	margin-block-end: var(--faradoran-theme-space-4);
	max-inline-size: none;
}

.faradoran-home-categories__loop {
	display: flex;
	flex-wrap: nowrap;
	gap: var(--faradoran-carousel-gap);
	margin: 0;
	padding: 0;
	inline-size: 100%;
	min-inline-size: 100%;
}

.faradoran-home-categories__loop > .faradoran-rail__item {
	flex: 0 0 var(--faradoran-carousel-card-basis);
	scroll-snap-align: start;
	min-inline-size: 0;
}

.faradoran-category-card {
	margin: 0;
	block-size: 100%;
}

.faradoran-category-card__link {
	display: flex;
	flex-direction: column;
	gap: var(--faradoran-theme-space-2);
	color: inherit;
	text-decoration: none;
	block-size: 100%;
}

.faradoran-category-card__link:focus-visible {
	outline: var(--faradoran-theme-focus-ring);
	outline-offset: var(--faradoran-theme-focus-offset);
	border-radius: var(--faradoran-theme-radius-md);
}

.faradoran-category-card__media {
	display: block;
	inline-size: 100%;
}

.faradoran-category-card__image-wrap {
	position: relative;
	display: block;
	inline-size: 100%;
	overflow: hidden;
	border-radius: var(--faradoran-theme-radius-md);
	background-color: var(--faradoran-theme-color-surface-muted, var(--faradoran-theme-color-ivory));
	aspect-ratio: 1 / 1;
}

.faradoran-home-categories--ratio-portrait .faradoran-category-card__image-wrap {
	aspect-ratio: 4 / 5;
}

.faradoran-home-categories--ratio-landscape .faradoran-category-card__image-wrap {
	aspect-ratio: 4 / 3;
}

.faradoran-category-card__image,
.faradoran-category-card__placeholder {
	inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
}

.faradoran-category-card__image-hover {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 220ms ease;
}

.faradoran-category-card__placeholder {
	display: block;
	background: linear-gradient(
		135deg,
		var(--faradoran-theme-color-border) 0%,
		var(--faradoran-theme-color-surface-muted, var(--faradoran-theme-color-ivory)) 100%
	);
}

.faradoran-category-card__body {
	display: grid;
	gap: var(--faradoran-theme-space-1);
	text-align: center;
}

.faradoran-category-card__title {
	font-size: var(--faradoran-theme-font-size-sm);
	font-weight: var(--faradoran-theme-font-weight-semibold);
	line-height: 1.4;
}

.faradoran-category-card__count {
	font-size: var(--faradoran-theme-font-size-xs);
	color: var(--faradoran-theme-color-text-muted);
}

@media (hover: hover) and (pointer: fine) {
	.faradoran-home-categories--hover-zoom .faradoran-category-card__image-wrap img {
		transition: transform 320ms ease-out;
	}

	.faradoran-home-categories--hover-zoom .faradoran-category-card__link:hover .faradoran-category-card__image-wrap img,
.faradoran-home-categories--hover-zoom .faradoran-category-card__link:focus-visible .faradoran-category-card__image-wrap img {
		transform: scale(1.05);
	}

	.faradoran-home-categories--hover-image .faradoran-category-card__link:hover .faradoran-category-card__image-hover,
.faradoran-home-categories--hover-image .faradoran-category-card__link:focus-visible .faradoran-category-card__image-hover {
		opacity: 1;
	}
}

/* Bestsellers — centered heading + compact luxury product row */
.faradoran-home-products {
	padding-block: var(--faradoran-theme-space-5) var(--faradoran-theme-space-6);
	background-color: var(--faradoran-theme-color-ivory);
}

.faradoran-home-products__header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--faradoran-theme-space-2) var(--faradoran-theme-space-4);
	max-inline-size: none;
	margin-block-end: var(--faradoran-theme-space-5);
	text-align: center;
}

.faradoran-home-products .faradoran-section__title {
	margin: 0;
	font-size: var(--faradoran-theme-font-size-h3);
	font-weight: var(--faradoran-theme-font-weight-semibold);
	line-height: 1.3;
}

.faradoran-home-products .faradoran-section__title--ornate::before {
	content: "✦";
	display: block;
	margin-block-end: var(--faradoran-theme-space-2);
	color: var(--faradoran-theme-color-gold);
	font-size: var(--faradoran-theme-font-size-xs);
	line-height: 1;
}

.faradoran-home-products .faradoran-section__title--ornate::after {
	margin-block-start: var(--faradoran-theme-space-2);
}

.faradoran-home-products__title-link,
.faradoran-rail__title-link {
	display: inline-block;
	color: inherit;
	text-decoration: none;
	transition: color 180ms ease;
}

.faradoran-home-products__title-link:hover,
.faradoran-rail__title-link:hover {
	color: var(--faradoran-theme-color-green);
}

.faradoran-home-products__title-link:focus-visible,
.faradoran-rail__title-link:focus-visible {
	outline: var(--faradoran-theme-focus-ring);
	outline-offset: var(--faradoran-theme-focus-offset);
	border-radius: var(--faradoran-theme-radius-sm);
}

.faradoran-home-products__carousel {
	--faradoran-carousel-gap: var(--faradoran-theme-space-4);
	--faradoran-carousel-visible: 2;
	--faradoran-carousel-peek: 0;
	--faradoran-carousel-nav-slot: var(--faradoran-theme-touch-target);
	--faradoran-carousel-nav-gap: var(--faradoran-theme-space-2);
	--faradoran-carousel-track-width: 100cqi;
	--faradoran-carousel-peek-gap: min(1, calc(var(--faradoran-carousel-peek) * 1000));
	--faradoran-carousel-card-basis: calc((var(--faradoran-carousel-track-width) - ((var(--faradoran-carousel-visible) - 1 + var(--faradoran-carousel-peek-gap)) * var(--faradoran-carousel-gap))) / (var(--faradoran-carousel-visible) + var(--faradoran-carousel-peek)));
	--faradoran-carousel-media-block-size: var(--faradoran-carousel-card-basis);
	container-type: inline-size;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: start;
	max-inline-size: 100%;
}

.faradoran-home-products--ratio-portrait .faradoran-home-products__carousel,
.faradoran-home-categories--ratio-portrait .faradoran-home-products__carousel,
.faradoran-home-price-ranges--ratio-portrait .faradoran-home-products__carousel {
	--faradoran-carousel-media-block-size: calc(var(--faradoran-carousel-card-basis) * 5 / 4);
}

.faradoran-home-products--ratio-landscape .faradoran-home-products__carousel,
.faradoran-home-categories--ratio-landscape .faradoran-home-products__carousel,
.faradoran-home-price-ranges--ratio-landscape .faradoran-home-products__carousel {
	--faradoran-carousel-media-block-size: calc(var(--faradoran-carousel-card-basis) * 3 / 4);
}

.faradoran-home-products__nav-zone {
	display: none;
	align-self: start;
	justify-content: center;
	align-items: center;
	inline-size: var(--faradoran-carousel-nav-slot);
	block-size: var(--faradoran-carousel-media-block-size);
	padding: 0;
}

.faradoran-rail > .faradoran-home-products__viewport {
	grid-column: 1 / -1;
}

.faradoran-home-products__viewport {
	min-inline-size: 0;
	max-inline-size: 100%;
}

.faradoran-home-products__track {
	padding-block: var(--faradoran-theme-focus-offset);
	scroll-padding-inline: var(--faradoran-theme-focus-offset);
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
}

.faradoran-home-products__track::-webkit-scrollbar {
	display: none;
}

.faradoran-home-products__nav {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	inline-size: var(--faradoran-theme-touch-target);
	min-inline-size: var(--faradoran-theme-touch-target);
	min-block-size: var(--faradoran-theme-touch-target);
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--faradoran-theme-color-green-dark);
	cursor: pointer;
	transition: color 180ms ease, opacity 180ms ease;
}

.faradoran-home-products__nav:focus-visible {
	outline: var(--faradoran-theme-focus-ring);
	outline-offset: var(--faradoran-theme-focus-offset);
	border-radius: var(--faradoran-theme-radius-sm);
}

.faradoran-home-products__nav:disabled,
.faradoran-home-products__nav[aria-disabled="true"] {
	opacity: 0.28;
	cursor: default;
}

.faradoran-home-products__nav:not(:disabled):hover {
	color: var(--faradoran-theme-color-gold);
}

.faradoran-home-products__nav-icon {
	display: block;
	inline-size: 1.35rem;
	block-size: 1.35rem;
	margin: auto;
	background-color: transparent;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a3c31' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/svg%3E");
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	mask: none;
	-webkit-mask: none;
}

.faradoran-home-products__nav--next .faradoran-home-products__nav-icon {
	transform: scaleX( -1 );
}

[dir="rtl"] .faradoran-home-products__nav--prev .faradoran-home-products__nav-icon {
	transform: scaleX( -1 );
}

[dir="rtl"] .faradoran-home-products__nav--next .faradoran-home-products__nav-icon {
	transform: none;
}

.faradoran-home-products__nav:not(:disabled):hover .faradoran-home-products__nav-icon {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a961' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/svg%3E");
}

.faradoran-home-products__loop {
	margin: 0;
	min-inline-size: 0;
}

/* Homepage product carousel — minimal open storefront cards (scoped) */
.faradoran-home-products__loop ul.products {
	display: flex;
	flex-wrap: nowrap;
	gap: var(--faradoran-carousel-gap);
	margin: 0;
	padding: 0;
	list-style: none;
	inline-size: 100%;
	min-inline-size: 100%;
}

.faradoran-home-products__loop ul.products::before,
.faradoran-home-products__loop ul.products::after {
	display: none;
}

.faradoran-home-products__loop ul.products li.product.faradoran-home-product {
	flex: 0 0 var(--faradoran-carousel-card-basis);
	scroll-snap-align: start;
	float: none;
	inline-size: auto;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--faradoran-theme-space-2);
	position: relative;
	min-block-size: 0;
	overflow: visible;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.faradoran-home-product__media {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: var(--faradoran-theme-radius-lg);
	background-color: rgb(255 255 255 / 0.45);
	isolation: isolate;
}

.faradoran-home-products--ratio-portrait .faradoran-home-product__media {
	aspect-ratio: 4 / 5;
}

.faradoran-home-products--ratio-square .faradoran-home-product__media {
	aspect-ratio: 1 / 1;
}

.faradoran-home-product__image-wrap {
	display: block;
	inline-size: 100%;
	block-size: 100%;
	overflow: hidden;
	position: relative;
}

.faradoran-home-product__image-layer {
	position: absolute;
	inset: 0;
	display: block;
	pointer-events: none;
}

.faradoran-home-product__image-primary {
	opacity: 1;
	z-index: 1;
	transition: opacity 280ms ease;
}

.faradoran-home-product__image-hover {
	opacity: 0;
	z-index: 2;
	transition: opacity 280ms ease;
}

.faradoran-home-product__image-layer .faradoran-home-product__attachment-image,
.faradoran-home-product__image-layer img,
.faradoran-home-product__image-layer .woocommerce-placeholder {
	display: block;
	inline-size: 100%;
	block-size: 100%;
	max-block-size: none;
	object-fit: contain;
	object-position: center;
}

/* Keep native WooCommerce height:auto from overriding the owned media frame. */
.faradoran-home-products__loop ul.products li.product .faradoran-home-product__image-layer img {
	inline-size: 100%;
	block-size: 100%;
	max-block-size: none;
	margin: 0;
}

.faradoran-home-products--hover-image .faradoran-home-product__image-wrap img,
.faradoran-home-products--hover-image .faradoran-home-product__image-wrap .woocommerce-placeholder {
	transform: none;
	transition: opacity 280ms ease;
}

@media (hover: hover) and (pointer: fine) {
	.faradoran-home-products--hover-image .faradoran-home-product:hover .faradoran-home-product__image-primary,
.faradoran-home-products--hover-image .faradoran-home-product:has(.faradoran-home-product__action:focus-visible) .faradoran-home-product__image-primary {
		opacity: 0;
	}

	.faradoran-home-products--hover-image .faradoran-home-product:hover .faradoran-home-product__image-hover,
.faradoran-home-products--hover-image .faradoran-home-product:has(.faradoran-home-product__action:focus-visible) .faradoran-home-product__image-hover {
		opacity: 1;
	}
}

.faradoran-home-product__image-link {
	display: block;
	inline-size: 100%;
	block-size: 100%;
	color: inherit;
	text-decoration: none;
}

.faradoran-home-product__image-link:focus-visible {
	outline: var(--faradoran-theme-focus-ring);
	outline-offset: var(--faradoran-theme-focus-offset);
	border-radius: var(--faradoran-theme-radius-lg);
}

.faradoran-home-product__image-wrap img,
.faradoran-home-product__image-wrap .woocommerce-placeholder {
	transform: scale(1);
	transition: transform 380ms ease-out;
}

.faradoran-home-products--hover-image .faradoran-home-product__image-wrap img,
.faradoran-home-products--hover-image .faradoran-home-product__image-wrap .woocommerce-placeholder {
	transform: none;
}

.faradoran-home-product__details-link {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--faradoran-theme-space-1);
	color: inherit;
	text-align: center;
	text-decoration: none;
}

.faradoran-home-product__details-link:focus-visible {
	outline: var(--faradoran-theme-focus-ring);
	outline-offset: var(--faradoran-theme-focus-offset);
	border-radius: var(--faradoran-theme-radius-sm);
}

.faradoran-home-products__loop ul.products li.product .woocommerce-loop-product__title {
	margin: 0;
	padding: 0;
	font-size: var(--faradoran-theme-font-size-xs);
	font-weight: var(--faradoran-theme-font-weight-medium);
	line-height: 1.4;
	color: var(--faradoran-theme-color-text);
	overflow-wrap: anywhere;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.faradoran-home-products__loop ul.products li.product .price {
	margin: 0;
	color: var(--faradoran-theme-color-green);
	font-size: var(--faradoran-theme-font-size-xs);
	font-weight: var(--faradoran-theme-font-weight-medium);
	line-height: 1.35;
	overflow-wrap: anywhere;
	font-variant-numeric: tabular-nums;
}

.faradoran-home-products__loop ul.products li.product .price del {
	color: var(--faradoran-theme-color-text-muted);
	font-weight: var(--faradoran-theme-font-weight-regular);
	text-decoration: line-through;
	opacity: 0.8;
}

.faradoran-home-products__loop ul.products li.product .price ins {
	text-decoration: none;
	color: var(--faradoran-theme-color-green);
	font-weight: var(--faradoran-theme-font-weight-semibold);
}

.faradoran-home-products__loop ul.products li.product.outofstock .faradoran-home-product__image-wrap img,
.faradoran-home-products__loop ul.products li.product.faradoran-product--out-of-stock .faradoran-home-product__image-wrap img,
.faradoran-home-products__loop ul.products li.product.faradoran-product--not-purchasable .faradoran-home-product__image-wrap img {
	opacity: 0.72;
}

.faradoran-home-products__loop ul.products li.product .star-rating {
	display: none;
}

.faradoran-home-product__actions {
	position: absolute;
	inset-inline: 0;
	inset-block-end: var(--faradoran-theme-space-3);
	z-index: 4;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	gap: 0.875rem;
	padding-inline: var(--faradoran-theme-space-2);
	opacity: 0;
	transform: translateY(5px);
	transition:
		opacity 200ms ease,
		transform 200ms ease;
	pointer-events: none;
}

.faradoran-home-product__action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	inline-size: auto;
	block-size: auto;
	min-inline-size: 2.25rem;
	min-block-size: 2.25rem;
	padding: 0.375rem;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--faradoran-theme-color-green-dark);
	box-shadow: none;
	font-family: inherit;
	font-size: 0;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	appearance: none;
	transition:
		color 200ms ease,
opacity 200ms ease,
transform 200ms ease;
}

.faradoran-home-products__loop.woocommerce ul.products li.product a.faradoran-home-product__action,
.faradoran-home-products__loop.woocommerce ul.products li.product button.faradoran-home-product__action,
.faradoran-home-products__loop.woocommerce ul.products li.product a.faradoran-home-product__action.button,
.faradoran-home-products__loop.woocommerce ul.products li.product button.faradoran-home-product__action.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: center;
	inline-size: auto;
	block-size: auto;
	min-inline-size: 2.25rem;
	min-block-size: 2.25rem;
	padding: 0.375rem;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--faradoran-theme-color-green-dark);
	box-shadow: none;
	font-size: 0;
	font-weight: inherit;
	line-height: 1;
}

.faradoran-home-products__loop.woocommerce ul.products li.product a.faradoran-home-product__action--cart-has-qty,
.faradoran-home-products__loop.woocommerce ul.products li.product button.faradoran-home-product__action--cart-has-qty {
	inline-size: auto;
	min-inline-size: 2.25rem;
	padding-inline: 0.375rem;
}

.faradoran-home-products__loop.woocommerce ul.products li.product a.faradoran-home-product__action.button:hover,
.faradoran-home-products__loop.woocommerce ul.products li.product a.faradoran-home-product__action.button:focus-visible,
.faradoran-home-products__loop.woocommerce ul.products li.product button.faradoran-home-product__action.button:hover,
.faradoran-home-products__loop.woocommerce ul.products li.product button.faradoran-home-product__action.button:focus-visible {
	background-color: transparent;
	color: var(--faradoran-theme-color-green);
}

.faradoran-home-product__action:hover,
.faradoran-home-product__action:focus-visible {
	color: var(--faradoran-theme-color-green);
	background-color: transparent;
}

.faradoran-home-product__action.loading,
.faradoran-home-product__action.added {
	border: 0;
	background: transparent;
	box-shadow: none;
}

.faradoran-home-product__cart-label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4375rem;
}

.faradoran-home-product__cart-qty {
	font-family: inherit;
	font-size: 0.8125rem;
	font-weight: var(--faradoran-theme-font-weight-semibold);
	line-height: 1;
	letter-spacing: -0.01em;
	color: currentColor;
	font-variant-numeric: tabular-nums;
}

.faradoran-home-product__action-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	inline-size: 1.5625rem;
	block-size: 1.5625rem;
	transition:
		transform 200ms ease,
		opacity 200ms ease;
}

.faradoran-home-product__icon-svg {
	display: block;
	inline-size: 100%;
	block-size: 100%;
	color: currentColor;
}

.faradoran-home-product__action:hover .faradoran-home-product__action-icon,
.faradoran-home-product__action:focus-visible .faradoran-home-product__action-icon {
	transform: scale(1.04);
}

.faradoran-home-products__carousel .faradoran-home-product__actions > .added_to_cart.wc-forward {
	display: none;
}

.faradoran-home-product__action:focus-visible {
	outline: 2px solid var(--faradoran-theme-color-green);
	outline-offset: var(--faradoran-theme-focus-offset);
}

.faradoran-home-products__loop ul.products li.product.faradoran-product--not-purchasable .faradoran-home-product__action--cart {
	opacity: 0.45;
	cursor: not-allowed;
}

.faradoran-home-product__media .onsale {
	position: absolute;
	inset-inline-start: var(--faradoran-theme-space-1);
	inset-inline-end: auto;
	top: var(--faradoran-theme-space-1);
	z-index: 3;
	min-block-size: auto;
	padding: 0.08rem 0.45rem;
	border-radius: 999px;
	background-color: rgb(201 169 97 / 0.9);
	color: var(--faradoran-theme-color-green-dark);
	font-size: 0.5625rem;
	font-weight: var(--faradoran-theme-font-weight-semibold);
	line-height: 1.2;
	letter-spacing: 0.01em;
}

.faradoran-home-products__loop ul.products li.product .out-of-stock {
	color: var(--faradoran-theme-color-text-muted);
	font-size: var(--faradoran-theme-font-size-xs);
	font-weight: var(--faradoran-theme-font-weight-medium);
}

@media (hover: hover) and (pointer: fine) {
	.faradoran-home-product:hover .faradoran-home-product__image-wrap img,
.faradoran-home-product:hover .faradoran-home-product__image-wrap .woocommerce-placeholder,
.faradoran-home-product:has(.faradoran-home-product__action:focus-visible) .faradoran-home-product__image-wrap img,
.faradoran-home-product:has(.faradoran-home-product__action:focus-visible) .faradoran-home-product__image-wrap .woocommerce-placeholder {
		transform: scale(1.02);
	}

	.faradoran-home-product__media:hover .faradoran-home-product__actions,
.faradoran-home-product__media:focus-within:has(.faradoran-home-product__action:focus-visible) .faradoran-home-product__actions {
		opacity: 1;
		transform: translateY(0);
		pointer-events: auto;
	}
}

@media (pointer: coarse) {
	.faradoran-home-product__actions {
		inset-inline: auto var(--faradoran-theme-space-2);
		inset-block-end: var(--faradoran-theme-space-2);
		justify-content: flex-end;
		gap: 0.75rem;
		opacity: 1;
		transform: none;
		pointer-events: auto;
	}

	.faradoran-home-product__view {
		display: none;
	}

	.faradoran-home-product__action--cart {
		min-inline-size: 2.75rem;
		min-block-size: 2.75rem;
		padding: 0.375rem;
	}
}

@media (min-width: 48rem) {
	.faradoran-home-products__carousel:not(.faradoran-rail):not(.faradoran-rail) {
		--faradoran-carousel-visible: 3;
		--faradoran-carousel-gap: var(--faradoran-theme-space-4);
	}
}

@media (min-width: 64rem) {
	.faradoran-home-products__carousel:not(.faradoran-rail):not(.faradoran-rail) {
		--faradoran-carousel-visible: 4;
	}
}

@media (min-width: 80rem) {
	.faradoran-home-products__carousel:not(.faradoran-rail):not(.faradoran-rail) {
		--faradoran-carousel-visible: 5;
	}
}

@media (hover: hover) and (pointer: fine) {
	.faradoran-home-products__carousel:not(.faradoran-rail):not(.faradoran-rail):has(li.product:nth-child(6)) {
		--faradoran-carousel-peek: 0.2;
	}

	.faradoran-home-products__carousel:not(.faradoran-rail):not(.faradoran-rail):has(li.product:nth-child(6)):not(.faradoran-home-products__carousel--static, .faradoran-home-products__carousel--static) {
		grid-template-columns: var(--faradoran-carousel-nav-slot) minmax(0, 1fr) var(--faradoran-carousel-nav-slot);
		column-gap: var(--faradoran-carousel-nav-gap);
		--faradoran-carousel-track-width: calc(100cqi - (2 * var(--faradoran-carousel-nav-slot)) - (2 * var(--faradoran-carousel-nav-gap)));
	}

	.faradoran-home-products__carousel:not(.faradoran-rail):not(.faradoran-rail):has(li.product:nth-child(6)):not(.faradoran-home-products__carousel--static, .faradoran-home-products__carousel--static) .faradoran-home-products__nav-zone {
		display: flex;
	}
}

.faradoran-home-products__carousel--static,
.faradoran-home-products__carousel:not(.faradoran-rail):not(.faradoran-rail):not(:has(li.product:nth-child(6))) {
	--faradoran-carousel-peek: 0;
	grid-template-columns: minmax(0, 1fr);
}

.faradoran-home-products__carousel--static .faradoran-home-products__nav-zone,
.faradoran-home-products__carousel:not(.faradoran-rail):not(.faradoran-rail):not(:has(li.product:nth-child(6))) .faradoran-home-products__nav-zone {
	display: none;
}

@media (pointer: coarse) {
	.faradoran-home-products__carousel:not(.faradoran-rail):not(.faradoran-rail) {
		--faradoran-carousel-peek: 0;
		grid-template-columns: minmax(0, 1fr);
	}

	.faradoran-home-products__carousel:not(.faradoran-rail):not(.faradoran-rail) .faradoran-home-products__nav-zone {
		display: none;
	}
}

/* Price-range budget rail */
.faradoran-home-price-ranges {
	background-color: var(--faradoran-theme-color-ivory);
}

.faradoran-home-price-ranges .faradoran-section__header {
	max-inline-size: none;
	margin-block-end: var(--faradoran-theme-space-5);
}

.faradoran-home-price-ranges__loop {
	display: flex;
	flex-wrap: nowrap;
	gap: var(--faradoran-carousel-gap);
	margin: 0;
	padding: 0;
	inline-size: 100%;
	min-inline-size: 100%;
}

.faradoran-home-price-ranges__loop > .faradoran-rail__item {
	flex: 0 0 var(--faradoran-carousel-card-basis);
	scroll-snap-align: start;
	min-inline-size: 0;
}

.faradoran-price-range-card {
	margin: 0;
	block-size: 100%;
}

.faradoran-price-range-card__link {
	display: flex;
	flex-direction: column;
	gap: var(--faradoran-theme-space-3);
	color: inherit;
	text-decoration: none;
	block-size: 100%;
}

.faradoran-price-range-card__link:focus-visible {
	outline: var(--faradoran-theme-focus-ring);
	outline-offset: calc(-1 * var(--faradoran-theme-focus-offset));
	border-radius: var(--faradoran-theme-radius-md);
}

.faradoran-price-range-card__media {
	display: block;
	inline-size: 100%;
}

.faradoran-price-range-card__image-wrap {
	position: relative;
	display: block;
	inline-size: 100%;
	overflow: hidden;
	border: var(--faradoran-theme-border-width) solid var(--faradoran-theme-color-border);
	border-radius: var(--faradoran-theme-radius-lg);
	background-color: var(--faradoran-theme-color-white);
	aspect-ratio: 1 / 1;
}

.faradoran-home-price-ranges--ratio-portrait .faradoran-price-range-card__image-wrap {
	aspect-ratio: 4 / 5;
}

.faradoran-home-price-ranges--ratio-landscape .faradoran-price-range-card__image-wrap {
	aspect-ratio: 4 / 3;
}

.faradoran-price-range-card__image-wrap .faradoran-price-range-card__image,
.faradoran-price-range-card__image-wrap .faradoran-price-range-card__placeholder {
	position: absolute;
	inset: 0;
	display: block;
	inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
}

.faradoran-price-range-card__image-hover {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 220ms ease;
}

.faradoran-price-range-card__placeholder {
	background:
		linear-gradient(145deg, var(--faradoran-theme-color-surface) 0%, var(--faradoran-theme-color-ivory) 100%);
}

.faradoran-price-range-card__label {
	overflow-wrap: anywhere;
	margin: 0;
	color: var(--faradoran-theme-color-green);
	font-size: 0.8125rem;
	font-weight: var(--faradoran-theme-font-weight-semibold);
	line-height: 1.5;
	text-align: center;
}

.faradoran-price-range-card__link:hover .faradoran-price-range-card__label,
.faradoran-price-range-card__link:focus-visible .faradoran-price-range-card__label {
	color: var(--faradoran-theme-color-green-dark);
}

@media (hover: hover) and (pointer: fine) {
	.faradoran-home-price-ranges--hover-zoom .faradoran-price-range-card__image-wrap img {
		transition: transform 320ms ease-out;
	}

	.faradoran-home-price-ranges--hover-zoom .faradoran-price-range-card__link:hover .faradoran-price-range-card__image-wrap img,
.faradoran-home-price-ranges--hover-zoom .faradoran-price-range-card__link:focus-visible .faradoran-price-range-card__image-wrap img {
		transform: scale(1.03);
	}

	.faradoran-home-price-ranges--hover-image .faradoran-price-range-card__link:hover .faradoran-price-range-card__image-hover,
.faradoran-home-price-ranges--hover-image .faradoran-price-range-card__link:focus-visible .faradoran-price-range-card__image-hover {
		opacity: 1;
	}

	.faradoran-price-range-card__overlay {
		position: absolute;
		inset: 0;
		z-index: 2;
		display: flex;
		align-items: center;
		justify-content: center;
		padding: var(--faradoran-theme-space-3);
		background-color: color-mix(
			in srgb,
			var(--faradoran-banner-overlay-surface) calc(var(--faradoran-price-range-overlay-opacity, 0.4) * 100%),
			transparent
		);
		color: var(--faradoran-theme-color-white);
		opacity: 0;
		pointer-events: none;
		transition: opacity 220ms ease;
	}

	.faradoran-price-range-card__overlay-inner {
		inline-size: 100%;
		text-align: center;
	}

	.faradoran-price-range-card__overlay-text {
		margin: 0;
		font-size: 0.875rem;
		font-weight: var(--faradoran-theme-font-weight-semibold);
		line-height: 1.5;
	}

	.faradoran-home-price-ranges--hover-overlay .faradoran-price-range-card__link:hover .faradoran-price-range-card__overlay,
.faradoran-home-price-ranges--hover-overlay .faradoran-price-range-card__link:focus-visible .faradoran-price-range-card__overlay {
		opacity: 1;
	}
}

@media (pointer: coarse) {
	.faradoran-home-price-ranges--hover-overlay .faradoran-price-range-card__overlay {
		opacity: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.faradoran-home-categories .faradoran-category-card__link:hover .faradoran-category-card__title,
.faradoran-home-product__image-wrap,
.faradoran-home-product__image-wrap img,
.faradoran-home-product__image-wrap .woocommerce-placeholder,
.faradoran-home-product__image-primary,
.faradoran-home-product__image-hover,
.faradoran-home-product__actions,
.faradoran-home-product__action,
.faradoran-home-product__action-icon,
.faradoran-home-products__track,
.faradoran-price-range-card__image-wrap img,
.faradoran-price-range-card__overlay {
		transition: none;
		transform: none;
		scroll-behavior: auto;
	}
}

/* Homepage variable product dialog */
.faradoran-home-variation-dialog {
	padding: 0;
	border: 0;
	background: transparent;
	max-inline-size: min(24rem, calc(100vw - 2rem));
	inline-size: 100%;
}

.faradoran-home-variation-dialog, .faradoran-home-variation-dialog::backdrop {
	background: rgb(30 30 30 / 0.34);
}

.faradoran-home-variation-dialog__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--faradoran-theme-space-4);
	padding: var(--faradoran-theme-space-5);
	border: 1px solid var(--faradoran-theme-color-border);
	border-radius: var(--faradoran-theme-radius-lg);
	background: var(--faradoran-theme-color-white);
	box-shadow: 0 18px 40px rgb(30 30 30 / 0.12);
	color: var(--faradoran-theme-color-text);
}

.faradoran-home-variation-dialog__close {
	position: absolute;
	inset-block-start: var(--faradoran-theme-space-3);
	inset-inline-end: var(--faradoran-theme-space-3);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	inline-size: 2rem;
	block-size: 2rem;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--faradoran-theme-color-green-dark);
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}

.faradoran-home-variation-dialog__close:hover,
.faradoran-home-variation-dialog__close:focus-visible {
	color: var(--faradoran-theme-color-gold);
}

.faradoran-home-variation-dialog__header {
	display: flex;
	align-items: center;
	gap: var(--faradoran-theme-space-3);
	padding-inline-end: 2rem;
}

.faradoran-home-variation-dialog__thumb {
	flex-shrink: 0;
	inline-size: 4rem;
	block-size: 4rem;
	border-radius: var(--faradoran-theme-radius-md);
	object-fit: cover;
	background: var(--faradoran-theme-color-surface);
}

.faradoran-home-variation-dialog__title {
	margin: 0;
	font-size: 1rem;
	font-weight: var(--faradoran-theme-font-weight-semibold);
	line-height: 1.5;
	color: var(--faradoran-theme-color-green-dark);
}

.faradoran-home-variation-dialog__status {
	font-size: 0.875rem;
	color: var(--faradoran-theme-color-text-muted);
}

.faradoran-home-variation-dialog__error {
	color: var(--faradoran-theme-color-error);
}

.faradoran-home-variation-dialog__body {
	display: flex;
	flex-direction: column;
	gap: var(--faradoran-theme-space-4);
}

.faradoran-home-variation-dialog__attribute {
	margin: 0;
	padding: 0;
	border: 0;
}

.faradoran-home-variation-dialog__attribute-label {
	margin-block-end: var(--faradoran-theme-space-2);
	font-size: 0.8125rem;
	font-weight: var(--faradoran-theme-font-weight-semibold);
	color: var(--faradoran-theme-color-green-dark);
}

.faradoran-home-variation-dialog__options {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.faradoran-home-variation-dialog__option {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-block-size: 2.25rem;
	padding: 0.35rem 0.75rem;
	border: 1px solid var(--faradoran-theme-color-border);
	border-radius: 999px;
	background: var(--faradoran-theme-color-ivory);
	color: var(--faradoran-theme-color-green-dark);
	font-family: inherit;
	font-size: 0.8125rem;
	font-weight: var(--faradoran-theme-font-weight-medium);
	line-height: 1.3;
	cursor: pointer;
	transition:
		border-color 180ms ease,
background-color 180ms ease,
color 180ms ease;
}

.faradoran-home-variation-dialog__option:hover,
.faradoran-home-variation-dialog__option:focus-visible {
	border-color: var(--faradoran-theme-color-gold);
	color: var(--faradoran-theme-color-gold);
}

.faradoran-home-variation-dialog__option, .faradoran-home-variation-dialog__option.is-selected {
	border-color: var(--faradoran-theme-color-green);
	background: rgb(77 101 85 / 0.08);
	color: var(--faradoran-theme-color-green-dark);
}

.faradoran-home-variation-dialog__option,
.faradoran-home-variation-dialog__option[aria-disabled="true"],
.faradoran-home-variation-dialog__option:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.faradoran-home-variation-dialog__price-wrap {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.faradoran-home-variation-dialog__price-label {
	font-size: 0.8125rem;
	font-weight: var(--faradoran-theme-font-weight-semibold);
	color: var(--faradoran-theme-color-green-dark);
}

.faradoran-home-variation-dialog__price {
	font-size: 0.9375rem;
	font-weight: var(--faradoran-theme-font-weight-semibold);
	color: var(--faradoran-theme-color-text);
}

.faradoran-home-variation-dialog__price, .faradoran-home-variation-dialog__price .woocommerce-Price-amount {
	font-family: inherit;
}

.faradoran-home-variation-dialog__price--placeholder {
	font-family: inherit;
	font-size: 0.875rem;
	font-weight: var(--faradoran-theme-font-weight-medium);
	color: var(--faradoran-theme-color-text-muted);
}

.faradoran-home-variation-dialog__footer {
	display: flex;
	flex-direction: column;
	gap: var(--faradoran-theme-space-2);
}

.faradoran-home-variation-dialog__submit {
	inline-size: 100%;
	min-block-size: 2.75rem;
	padding: 0.65rem 1rem;
	border: 0;
	border-radius: var(--faradoran-theme-radius-md);
	background: var(--faradoran-theme-color-green);
	color: var(--faradoran-theme-color-white);
	font-family: inherit;
	font-size: 0.875rem;
	font-weight: var(--faradoran-theme-font-weight-semibold);
	cursor: pointer;
	transition: background-color 180ms ease,
opacity 180ms ease;
}

.faradoran-home-variation-dialog__submit:hover:not(:disabled),
.faradoran-home-variation-dialog__submit:focus-visible:not(:disabled) {
	background: var(--faradoran-theme-color-green-dark);
}

.faradoran-home-variation-dialog__submit, .faradoran-home-variation-dialog__submit:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.faradoran-home-variation-dialog__fallback {
	font-size: 0.8125rem;
	text-align: center;
	color: var(--faradoran-theme-color-green);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.faradoran-home-variation-dialog__fallback:hover,
.faradoran-home-variation-dialog__fallback:focus-visible {
	color: var(--faradoran-theme-color-gold);
}

@media (max-width: 40rem) {
	.faradoran-home-variation-dialog {
		margin-block: auto var(--faradoran-theme-space-3);
		max-inline-size: calc(100vw - 1rem);
	}

	.faradoran-home-variation-dialog__panel {
		padding: var(--faradoran-theme-space-4);
		padding-block-end: calc(var(--faradoran-theme-space-4) + var(--faradoran-theme-safe-area-bottom));
	}
}

/* Homepage product quick view dialog */
.faradoran-home-quick-view-dialog {
	padding: 0;
	border: 0;
	background: transparent;
	max-inline-size: min(44rem, calc(100vw - 2rem));
	inline-size: 100%;
}

.faradoran-home-quick-view-dialog, .faradoran-home-quick-view-dialog::backdrop {
	background: rgb(30 30 30 / 0.34);
}

.faradoran-home-quick-view-dialog__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--faradoran-theme-space-4);
	padding: var(--faradoran-theme-space-5);
	border: 1px solid var(--faradoran-theme-color-border);
	border-radius: var(--faradoran-theme-radius-lg);
	background: var(--faradoran-theme-color-white);
	box-shadow: 0 18px 40px rgb(30 30 30 / 0.12);
	color: var(--faradoran-theme-color-text);
}

.faradoran-home-quick-view-dialog__close {
	position: absolute;
	inset-block-start: var(--faradoran-theme-space-3);
	inset-inline-end: var(--faradoran-theme-space-3);
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	inline-size: var(--faradoran-theme-touch-target);
	block-size: var(--faradoran-theme-touch-target);
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--faradoran-theme-color-green-dark);
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}

.faradoran-home-quick-view-dialog__close:hover,
.faradoran-home-quick-view-dialog__close:focus-visible {
	color: var(--faradoran-theme-color-gold);
}

.faradoran-home-quick-view-dialog__status {
	font-size: 0.875rem;
	color: var(--faradoran-theme-color-text-muted);
}

.faradoran-home-quick-view-dialog__error {
	color: var(--faradoran-theme-color-error);
}

.faradoran-home-quick-view-dialog__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--faradoran-theme-space-4);
}

.faradoran-home-quick-view-dialog__media {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--faradoran-theme-space-3);
	border-radius: var(--faradoran-theme-radius-md);
	background: var(--faradoran-theme-color-ivory);
}

.faradoran-home-quick-view-dialog__image {
	display: block;
	inline-size: 100%;
	max-inline-size: 18rem;
	block-size: auto;
	max-block-size: 18rem;
	margin-inline: auto;
	border-radius: var(--faradoran-theme-radius-md);
	object-fit: contain;
}

.faradoran-home-quick-view-dialog__content {
	display: flex;
	flex-direction: column;
	gap: var(--faradoran-theme-space-3);
}

.faradoran-home-quick-view-dialog__title {
	margin: 0;
	padding-inline-end: 2rem;
	font-size: 1.125rem;
	font-weight: var(--faradoran-theme-font-weight-semibold);
	line-height: 1.5;
	color: var(--faradoran-theme-color-green-dark);
}

.faradoran-home-quick-view-dialog__price {
	font-size: 0.9375rem;
	font-weight: var(--faradoran-theme-font-weight-semibold);
	color: var(--faradoran-theme-color-text);
}

.faradoran-home-quick-view-dialog__price, .faradoran-home-quick-view-dialog__price .woocommerce-Price-amount {
	font-family: inherit;
}

.faradoran-home-quick-view-dialog__description {
	font-size: 0.875rem;
	line-height: 1.7;
	color: var(--faradoran-theme-color-text-muted);
}

.faradoran-home-quick-view-dialog__description, .faradoran-home-quick-view-dialog__description p {
	margin: 0;
}

.faradoran-home-quick-view-dialog__description, .faradoran-home-quick-view-dialog__description p + p {
	margin-block-start: 0.75rem;
}

.faradoran-home-quick-view-dialog__attributes {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin: 0;
}

.faradoran-home-quick-view-dialog__attributes-heading {
	margin-block-end: 0.25rem;
	font-size: 0.8125rem;
	font-weight: var(--faradoran-theme-font-weight-semibold);
	color: var(--faradoran-theme-color-green-dark);
}

.faradoran-home-quick-view-dialog__attribute {
	display: grid;
	grid-template-columns: minmax(5rem, auto) minmax(0, 1fr);
	gap: 0.5rem 0.75rem;
	margin: 0;
}

.faradoran-home-quick-view-dialog__attribute-label,
.faradoran-home-quick-view-dialog__attribute-value {
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.5;
}

.faradoran-home-quick-view-dialog__attribute-label {
	font-weight: var(--faradoran-theme-font-weight-semibold);
	color: var(--faradoran-theme-color-green-dark);
}

.faradoran-home-quick-view-dialog__attribute-value {
	color: var(--faradoran-theme-color-text);
}

.faradoran-home-quick-view-dialog__footer {
	display: flex;
	justify-content: flex-start;
}

.faradoran-home-quick-view-dialog__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	font-size: 0.875rem;
	font-weight: var(--faradoran-theme-font-weight-semibold);
	color: var(--faradoran-theme-color-green);
	text-decoration: none;
}

.faradoran-home-quick-view-dialog__cta, .faradoran-home-quick-view-dialog__cta::before {
	content: "←";
	font-size: 0.9375rem;
	line-height: 1;
}

.faradoran-home-quick-view-dialog__cta:hover,
.faradoran-home-quick-view-dialog__cta:focus-visible {
	color: var(--faradoran-theme-color-gold);
}

@media (min-width: 40rem) {
	.faradoran-home-quick-view-dialog__body {
		grid-template-columns: minmax(11rem, 14rem) minmax(0, 1fr);
		align-items: start;
		gap: var(--faradoran-theme-space-5);
	}

	.faradoran-home-quick-view-dialog__media {
		min-block-size: 100%;
	}
}

@media (max-width: 40rem) {
	.faradoran-home-quick-view-dialog {
		margin-block: auto var(--faradoran-theme-space-3);
		max-inline-size: calc(100vw - 1rem);
	}

	.faradoran-home-quick-view-dialog__panel {
		padding: var(--faradoran-theme-space-4);
		padding-block-end: calc(var(--faradoran-theme-space-4) + var(--faradoran-theme-safe-area-bottom));
	}
}

/* Presentation-driven product rails (dynamic product bars) */
.faradoran-rail.faradoran-home-products__carousel {
	--faradoran-rail-visible: var(--faradoran-rail-visible-mobile, 2);
	--faradoran-carousel-visible: var(--faradoran-rail-visible);
	--faradoran-carousel-peek: var(--faradoran-rail-peek, 0);
	--faradoran-carousel-gap: var(--faradoran-rail-gap, var(--faradoran-theme-space-4));
	--faradoran-carousel-peek-gap: min(1, calc(var(--faradoran-carousel-peek) * 1000));
}

@media (min-width: 48rem) {
	.faradoran-rail.faradoran-home-products__carousel {
		--faradoran-rail-visible: var(--faradoran-rail-visible-tablet, 3);
	}
}

@media (min-width: 64rem) {
	.faradoran-rail.faradoran-home-products__carousel {
		--faradoran-rail-visible: var(--faradoran-rail-visible-desktop, 5);
	}
}

.faradoran-rail.faradoran-home-products--ratio-landscape .faradoran-home-product__media {
	aspect-ratio: 4 / 3;
}

.faradoran-rail .faradoran-home-product__image-layer img,
.faradoran-rail .faradoran-home-product__image-layer .woocommerce-placeholder {
	object-fit: cover;
}

.faradoran-rail__header--align-start {
	justify-content: flex-start;
	text-align: start;
}

.faradoran-rail__header--align-center {
	justify-content: center;
	text-align: center;
}

.faradoran-rail__header--align-end {
	justify-content: flex-end;
	text-align: end;
}

.faradoran-rail__header--align-start .faradoran-section__title--ornate::after {
	margin-inline: 0;
}

.faradoran-rail__header--align-end .faradoran-section__title--ornate::after {
	margin-inline-start: auto;
	margin-inline-end: 0;
}

.faradoran-rail__title--size-sm {
	font-size: var(--faradoran-theme-font-size-sm);
}

.faradoran-rail__title--size-md {
	font-size: var(--faradoran-theme-font-size-h4);
}

.faradoran-rail__title--size-lg {
	font-size: var(--faradoran-theme-font-size-h3);
}

.faradoran-rail__title--weight-regular {
	font-weight: var(--faradoran-theme-font-weight-regular);
}

.faradoran-rail__title--weight-medium {
	font-weight: var(--faradoran-theme-font-weight-medium);
}

.faradoran-rail__title--weight-semibold {
	font-weight: var(--faradoran-theme-font-weight-semibold);
}

.faradoran-rail__title--weight-bold {
	font-weight: var(--faradoran-theme-font-weight-bold);
}

@media (hover: hover) and (pointer: fine) {
	.faradoran-rail.faradoran-home-products--hover-zoom .faradoran-home-product__image-wrap img,
.faradoran-rail.faradoran-home-products--hover-zoom .faradoran-home-product__image-wrap .woocommerce-placeholder {
		transition: transform 320ms ease-out;
	}

	.faradoran-rail.faradoran-home-products--hover-zoom .faradoran-home-product:hover .faradoran-home-product__image-wrap img,
.faradoran-rail.faradoran-home-products--hover-zoom .faradoran-home-product:has(.faradoran-home-product__action:focus-visible) .faradoran-home-product__image-wrap img {
		transform: scale(1.05);
	}
}

.faradoran-rail.faradoran-home-products--hover-image {
	opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
	.faradoran-rail.faradoran-home-products--hover-image .faradoran-home-product:hover .faradoran-home-product__image-primary,
.faradoran-rail.faradoran-home-products--hover-image .faradoran-home-product:has(.faradoran-home-product__action:focus-visible) .faradoran-home-product__image-primary {
		opacity: 0;
	}

	.faradoran-rail.faradoran-home-products--hover-image .faradoran-home-product:hover .faradoran-home-product__image-hover,
.faradoran-rail.faradoran-home-products--hover-image .faradoran-home-product:has(.faradoran-home-product__action:focus-visible) .faradoran-home-product__image-hover {
		opacity: 1;
	}
}

@media (min-width: 48rem) and (hover: hover) and (pointer: fine) {
	.faradoran-rail.faradoran-rail--nav-enabled:not(.faradoran-home-products__carousel--static, .faradoran-home-products__carousel--static) {
		grid-template-columns: var(--faradoran-carousel-nav-slot) minmax(0, 1fr) var(--faradoran-carousel-nav-slot);
		column-gap: var(--faradoran-carousel-nav-gap);
		--faradoran-carousel-track-width: calc(100cqi - (2 * var(--faradoran-carousel-nav-slot)) - (2 * var(--faradoran-carousel-nav-gap)));
	}

	.faradoran-rail.faradoran-rail--nav-enabled:not(.faradoran-home-products__carousel--static) .faradoran-home-products__viewport {
		grid-column: 2;
		grid-row: 1;
	}

	.faradoran-rail.faradoran-rail--nav-enabled:not(.faradoran-home-products__carousel--static, .faradoran-home-products__carousel--static) .faradoran-home-products__nav-zone {
		display: flex;
	}
}

.faradoran-rail.faradoran-home-products__carousel--static,
.faradoran-rail:not(.faradoran-rail--nav-enabled) {
	grid-template-columns: minmax(0, 1fr);
}

.faradoran-rail.faradoran-home-products__carousel--static .faradoran-home-products__nav-zone,
.faradoran-rail:not(.faradoran-rail--nav-enabled) .faradoran-home-products__nav-zone {
	display: none;
}

@media (prefers-reduced-motion: reduce) {
	.faradoran-rail.faradoran-home-products--hover-zoom .faradoran-home-product__image-wrap img {
		transition: none;
		transform: none;
	}
}
