/* Shared styles for all LuxeFashion Elementor widgets.
   Loaded only on pages where at least one widget declares this as a
   style dependency (see widgets/*.php get_style_depends()). */

.lf-hero {
	overflow: hidden;
	background: var(--lf-background);
	padding-block: clamp(2rem, 6vw, 4rem);
}

.lf-hero__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: clamp(1.5rem, 4vw, 3rem);
}

.lf-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	background: var(--lf-accent);
	color: var(--lf-primary);
	font-size: 0.8rem;
	font-weight: 700;
	padding: 0.4rem 0.9rem;
	border-radius: var(--lf-radius-pill);
	margin-bottom: 1rem;
}

.lf-hero__heading {
	font-size: var(--lf-fs-h1);
	margin-bottom: 0.75rem;
}

.lf-hero__highlight {
	color: var(--lf-primary);
}

.lf-hero__description {
	color: var(--lf-muted);
	max-width: 34ch;
	margin-bottom: 1.5rem;
}

.lf-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin-bottom: 2rem;
}

.lf-hero__social-proof {
	display: inline-flex;
	align-items: center;
	gap: 0.85rem;
	background: var(--lf-card-background);
	border-radius: var(--lf-radius);
	padding: 0.75rem 1.1rem;
	box-shadow: var(--lf-shadow-md);
}

.lf-hero__avatars {
	display: flex;
}

.lf-hero__avatars img {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 2px solid var(--lf-card-background);
	object-fit: cover;
	margin-inline-start: -10px;
}

.lf-hero__avatars img:first-child {
	margin-inline-start: 0;
}

.lf-hero__social-proof-text {
	display: flex;
	flex-direction: column;
	font-size: 0.8rem;
}

.lf-hero__rating {
	color: var(--lf-muted);
}

.lf-hero__media {
	position: relative;
}

.lf-hero__media img {
	position: relative;
	z-index: 1;
	border-radius: var(--lf-radius);
	width: 100%;
	object-fit: cover;
}

.lf-hero__decoration {
	position: absolute;
	inset: 5% -10% 5% 10%;
	background: var(--lf-accent);
	border-radius: 50%;
	z-index: 0;
}

@media (max-width: 900px) {
	.lf-hero__inner {
		grid-template-columns: 1fr;
	}
	.lf-hero__media {
		order: -1;
	}
}

/* ---------------------------------------------------------------------
   Feature Benefits (trust bar)
--------------------------------------------------------------------- */

.lf-benefits-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
	background: var(--lf-card-background);
	border-radius: var(--lf-radius);
	box-shadow: var(--lf-shadow-sm);
	padding: 1.5rem;
}

.lf-benefit-item {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	color: inherit;
}

.lf-benefit-item__icon {
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--lf-accent);
	color: var(--lf-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
}

.lf-benefit-item__text {
	display: flex;
	flex-direction: column;
}

.lf-benefit-item__title {
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--lf-secondary);
}

.lf-benefit-item__description {
	font-size: 0.8rem;
	color: var(--lf-muted);
}

/* ---------------------------------------------------------------------
   Product Grid Widget wrapper
--------------------------------------------------------------------- */

.lf-product-grid-widget .lf-section-header h2 {
	margin: 0;
}

.lf-empty-state {
	text-align: center;
	padding: 2rem;
	color: var(--lf-muted);
}

/* ---------------------------------------------------------------------
   Category cards + product cards + product grid.
   Duplicated (intentionally) from the theme's own component CSS so this
   plugin renders correctly even on a theme that isn't LuxeFashion —
   per the "plugin must work independently of the theme" requirement.
--------------------------------------------------------------------- */

.lf-categories-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 1.25rem;
}

.lf-category-card {
	position: relative;
	border-radius: var(--lf-radius, 16px);
	overflow: hidden;
	aspect-ratio: 3 / 4;
	background: var(--lf-accent, #f7d9cf);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 1.25rem;
	color: var(--lf-secondary, #1a1a1a);
	box-shadow: var(--lf-shadow-sm, 0 2px 8px rgba(0,0,0,.06));
	transition: transform 220ms ease;
}

.lf-category-card:hover {
	transform: translateY(-4px);
}

.lf-category-card__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.9;
}

.lf-category-card__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
}

.lf-category-card__title {
	font-weight: 700;
	font-size: 1rem;
}

.lf-category-card__count {
	font-size: 0.75rem;
	color: var(--lf-muted, #7a716c);
}

.lf-category-card__arrow {
	margin-top: 0.5rem;
	font-size: 0.8rem;
	font-weight: 600;
}

.lf-products-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}

.lf-product-card {
	position: relative;
	background: var(--lf-card-background, #fff);
	border-radius: var(--lf-radius, 16px);
	overflow: hidden;
	box-shadow: var(--lf-shadow-sm, 0 2px 8px rgba(0,0,0,.06));
	transition: box-shadow 220ms ease, transform 220ms ease;
}

.lf-product-card:hover {
	box-shadow: var(--lf-shadow-md, 0 10px 30px rgba(0,0,0,.08));
	transform: translateY(-3px);
}

.lf-product-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--lf-accent, #f7d9cf);
}

.lf-product-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	inset: 0;
	transition: opacity 220ms ease;
}

.lf-product-card__image--hover {
	opacity: 0;
}

@media (hover: hover) {
	.lf-product-card:hover .lf-product-card__image--hover {
		opacity: 1;
	}
}

.lf-product-card__placeholder {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, var(--lf-accent, #f7d9cf), var(--lf-border, #ece2d9));
}

.lf-product-card__wishlist {
	position: absolute;
	top: 0.75rem;
	inset-inline-end: 0.75rem;
	z-index: 2;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #fff;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--lf-secondary, #1a1a1a);
	box-shadow: var(--lf-shadow-sm, 0 2px 8px rgba(0,0,0,.06));
}

.lf-product-card__wishlist:hover {
	color: var(--lf-primary, #e4573d);
}

.lf-product-card__body {
	padding: 1rem;
}

.lf-product-card__title {
	display: block;
	font-weight: 600;
	font-size: 0.95rem;
	margin-bottom: 0.35rem;
	color: var(--lf-text, #241f1d);
}

.lf-product-card__price {
	font-weight: 700;
	color: var(--lf-primary, #e4573d);
	margin-bottom: 0.5rem;
}

.lf-product-card__price del {
	color: var(--lf-muted, #7a716c);
	font-weight: 400;
	margin-inline-end: 0.4rem;
}

.lf-product-card__swatches {
	display: flex;
	gap: 0.4rem;
	margin-bottom: 0.6rem;
}

.lf-swatch {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 1px solid var(--lf-border, #ece2d9);
	display: inline-block;
}

.lf-product-card__actions .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 0.6rem 1rem;
	border-radius: var(--lf-radius-pill, 999px);
	background: var(--lf-secondary, #1a1a1a);
	color: #fff;
	font-size: 0.85rem;
	font-weight: 600;
	border: none;
	min-height: 40px;
}

.lf-product-card__actions .button:hover {
	background: var(--lf-primary, #e4573d);
}

@media (max-width: 1024px) {
	.lf-categories-grid,
	.lf-products-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 768px) {
	.lf-categories-grid,
	.lf-products-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 0.85rem;
	}
	.lf-benefits-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.lf-benefits-grid {
		grid-template-columns: 1fr;
	}
}

/* ---------------------------------------------------------------------
   Promo Banner
--------------------------------------------------------------------- */

.lf-promo-banner {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	background: var(--lf-primary, #e4573d);
	color: #fff;
	border-radius: var(--lf-radius, 16px);
	padding: clamp(1.75rem, 4vw, 3rem);
}

.lf-promo-banner--image-left {
	flex-direction: row-reverse;
}

.lf-promo-banner__content {
	position: relative;
	z-index: 1;
	max-width: 480px;
}

.lf-promo-banner__eyebrow {
	display: inline-flex;
	align-items: center;
	background: rgba(255, 255, 255, 0.18);
	padding: 0.35rem 0.9rem;
	border-radius: var(--lf-radius-pill, 999px);
	font-size: 0.75rem;
	font-weight: 700;
	margin-bottom: 0.75rem;
}

.lf-promo-banner__heading {
	color: #fff;
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	margin-bottom: 0.5rem;
}

.lf-promo-banner__highlight {
	display: block;
}

.lf-promo-banner__description {
	opacity: 0.9;
	margin-bottom: 1.5rem;
}

.lf-btn--secondary-inverse {
	display: inline-flex;
	background: #fff;
	color: var(--lf-primary, #e4573d);
	padding: 0.85rem 1.75rem;
	border-radius: var(--lf-radius-pill, 999px);
	font-weight: 700;
}

.lf-promo-banner__media {
	flex: 1;
	max-width: 50%;
}

.lf-promo-banner__media img {
	width: 100%;
	border-radius: var(--lf-radius-sm, 10px);
}

@media (max-width: 768px) {
	.lf-promo-banner,
	.lf-promo-banner--image-left {
		flex-direction: column;
		text-align: center;
	}
	.lf-promo-banner__content {
		max-width: 100%;
	}
	.lf-promo-banner__media {
		max-width: 100%;
	}
}

/* ---------------------------------------------------------------------
   Service Features
--------------------------------------------------------------------- */

.lf-service-features {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}

.lf-service-feature {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.5rem;
}

.lf-service-feature__icon {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--lf-accent, #f7d9cf);
	color: var(--lf-primary, #e4573d);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
}

.lf-service-feature__title {
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--lf-secondary, #1a1a1a);
}

.lf-service-feature__description {
	font-size: 0.8rem;
	color: var(--lf-muted, #7a716c);
}

@media (max-width: 768px) {
	.lf-service-features {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ---------------------------------------------------------------------
   Product Carousel / Product Slider
--------------------------------------------------------------------- */

.lf-product-carousel-widget .lf-section-header h2 {
	margin: 0;
}

.lf-product-carousel {
	position: relative;
}

.lf-product-carousel__viewport {
	overflow: hidden;
}

.lf-product-carousel__track {
	display: flex;
	gap: 1.25rem;
	transition: transform 320ms ease;
	will-change: transform;
}

.lf-product-carousel__slide {
	flex: 0 0 calc(25% - 0.94rem);
	min-width: 0;
}

@media (max-width: 1024px) {
	.lf-product-carousel__slide {
		flex-basis: calc(33.333% - 0.85rem);
	}
}

@media (max-width: 767px) {
	.lf-product-carousel__slide {
		flex-basis: calc(50% - 0.65rem);
	}
}

.lf-product-carousel__arrow {
	position: absolute;
	top: 40%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #fff;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--lf-secondary, #1a1a1a);
	box-shadow: var(--lf-shadow-md, 0 10px 30px rgba(0,0,0,.08));
	z-index: 2;
}

.lf-product-carousel__arrow:disabled {
	opacity: 0.35;
	cursor: default;
}

.lf-product-carousel__arrow--prev {
	inset-inline-start: -1.25rem;
}

.lf-product-carousel__arrow--next {
	inset-inline-end: -1.25rem;
}

.lf-product-carousel__dots {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 1.25rem;
}

.lf-product-carousel__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--lf-border, #ece2d9);
	border: none;
	padding: 0;
}

.lf-product-carousel__dot.is-active {
	background: var(--lf-primary, #e4573d);
}

@media (max-width: 480px) {
	.lf-product-carousel__arrow {
		display: none;
	}
}

/* ---------------------------------------------------------------------
   Standalone Product Card
--------------------------------------------------------------------- */

.lf-product-card-widget {
	margin-inline: auto;
}

/* ---------------------------------------------------------------------
   AJAX Product Search (standalone styling — does not depend on the
   theme's header.css, since this widget must work without the theme)
--------------------------------------------------------------------- */

.lf-elementor-search {
	position: relative;
	max-width: 420px;
}

.lf-elementor-search input[type="search"] {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid var(--lf-border, #ece2d9);
	border-radius: var(--lf-radius-pill, 999px);
	font-size: 0.95rem;
}

.lf-elementor-search input[type="search"]:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.lf-elementor-search .lf-search-results {
	position: absolute;
	inset-inline: 0;
	top: calc(100% + 0.5rem);
	background: #fff;
	border: 1px solid var(--lf-border, #ece2d9);
	border-radius: 12px;
	box-shadow: var(--lf-shadow-md, 0 10px 30px rgba(0,0,0,.08));
	max-height: 360px;
	overflow-y: auto;
	z-index: 20;
}

.lf-elementor-search .lf-search-results:empty {
	display: none;
}

.lf-elementor-search .lf-search-loading,
.lf-elementor-search .lf-search-empty,
.lf-elementor-search .lf-search-error {
	margin: 0;
	padding: 0.85rem 1rem;
	font-size: 0.9rem;
	color: var(--lf-muted, #7a7268);
}

.lf-elementor-search .lf-search-result {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.6rem 1rem;
	text-decoration: none;
	color: inherit;
}

.lf-elementor-search .lf-search-result:hover {
	background: var(--lf-surface, #faf6f1);
}

.lf-elementor-search .lf-search-result img {
	width: 44px;
	height: 44px;
	object-fit: cover;
	border-radius: 8px;
	flex-shrink: 0;
}

.lf-elementor-search .lf-search-result__info {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
}

.lf-elementor-search .lf-search-result__title {
	font-size: 0.9rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.lf-elementor-search .lf-search-result__price {
	font-size: 0.85rem;
	color: var(--lf-primary, #e4573d);
}

/* ---------------------------------------------------------------------
   Product Filters
--------------------------------------------------------------------- */

.lf-product-filters {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.lf-product-filters__group {
	border: none;
	padding: 0;
	margin: 0;
}

.lf-product-filters__group legend {
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.lf-product-filters__price-inputs {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.lf-product-filters__price-inputs input {
	width: 100%;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--lf-border, #ece2d9);
	border-radius: 8px;
}

.lf-product-filters__checkbox {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.4rem;
	font-size: 0.9rem;
}

.lf-product-filters__actions {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.lf-product-filters__apply {
	background: var(--lf-primary, #e4573d);
	color: #fff;
	border: none;
	border-radius: var(--lf-radius-pill, 999px);
	padding: 0.65rem 1.5rem;
	font-weight: 600;
	cursor: pointer;
}

.lf-product-filters__reset {
	font-size: 0.85rem;
	color: var(--lf-muted, #7a7268);
	text-decoration: underline;
}

/* ---------------------------------------------------------------------
   Product Comparison
--------------------------------------------------------------------- */

.lf-product-card__compare {
	position: absolute;
	top: 3.25rem;
	inset-inline-end: 0.75rem;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid var(--lf-border, #ece2d9);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--lf-secondary, #1a1a1a);
	z-index: 2;
}

.lf-product-card__compare.is-active {
	background: var(--lf-primary, #e4573d);
	border-color: var(--lf-primary, #e4573d);
	color: #fff;
}

.lf-product-comparison--empty {
	padding: 2rem;
	text-align: center;
	color: var(--lf-muted, #7a7268);
}

.lf-product-comparison__table {
	width: 100%;
	border-collapse: collapse;
}

.lf-product-comparison__table th,
.lf-product-comparison__table td {
	padding: 0.85rem 1rem;
	border-bottom: 1px solid var(--lf-border, #ece2d9);
	text-align: center;
	vertical-align: top;
}

.lf-product-comparison__table th[scope="row"] {
	text-align: left;
	font-weight: 600;
	white-space: nowrap;
}

.lf-product-comparison__product-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
}

.lf-product-comparison__product-head img {
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: 8px;
}

.lf-product-comparison__title {
	display: block;
	font-weight: 600;
	font-size: 0.9rem;
}

.lf-product-comparison__product-head .lf-product-card__compare {
	position: static;
	width: auto;
	height: auto;
	border-radius: var(--lf-radius-pill, 999px);
	padding: 0.3rem 0.85rem;
	font-size: 0.8rem;
}

@media (max-width: 767px) {
	.lf-product-comparison__table {
		display: block;
		overflow-x: auto;
		white-space: nowrap;
	}
}

/* ---------------------------------------------------------------------
   Product Tabs
--------------------------------------------------------------------- */

.lf-product-tabs__nav {
	display: flex;
	gap: 0.5rem;
	border-bottom: 1px solid var(--lf-border, #ece2d9);
}

.lf-product-tabs--vertical {
	display: flex;
	gap: 2rem;
}

.lf-product-tabs--vertical .lf-product-tabs__nav {
	flex-direction: column;
	border-bottom: none;
	border-inline-end: 1px solid var(--lf-border, #ece2d9);
	flex: 0 0 220px;
}

.lf-product-tabs__tab {
	background: none;
	border: none;
	border-bottom: 2px solid transparent;
	padding: 0.75rem 1rem;
	cursor: pointer;
	color: var(--lf-text-muted, #6b6257);
	font: inherit;
}

.lf-product-tabs--vertical .lf-product-tabs__tab {
	border-bottom: none;
	border-inline-start: 2px solid transparent;
	text-align: start;
}

.lf-product-tabs__tab.is-active {
	color: var(--lf-primary, #e4573d);
	border-color: var(--lf-primary, #e4573d);
}

.lf-product-tabs__panels {
	padding-block-start: 1.5rem;
	flex: 1;
}

.lf-product-tabs__panel[hidden] {
	display: none;
}

.lf-product-tabs--accordion .lf-product-tabs__accordion-item {
	border-bottom: 1px solid var(--lf-border, #ece2d9);
}

.lf-product-tabs__accordion-trigger {
	width: 100%;
	text-align: start;
	background: none;
	border: none;
	padding: 1rem 0;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.lf-product-tabs__accordion-panel {
	padding-block-end: 1rem;
}

.lf-product-tabs__accordion-panel[hidden] {
	display: none;
}

/* ---------------------------------------------------------------------
   Breadcrumbs widget
--------------------------------------------------------------------- */

.lf-breadcrumbs-widget .lf-breadcrumbs {
	font-size: 0.875rem;
	color: var(--lf-text-muted, #6b6257);
}

.lf-breadcrumbs-widget .lf-breadcrumbs a {
	color: inherit;
}

/* ---------------------------------------------------------------------
   Brand / Logo Grid
--------------------------------------------------------------------- */

.lf-brand-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 2rem;
	align-items: center;
}

.lf-brand-grid__item img {
	max-width: 100%;
	height: auto;
	display: block;
	margin-inline: auto;
	transition: filter 200ms ease, opacity 200ms ease;
}

.lf-brand-grid--grayscale .lf-brand-grid__item img {
	filter: grayscale(100%);
	opacity: 0.6;
}

.lf-brand-grid--grayscale .lf-brand-grid__item:hover img {
	filter: none;
	opacity: 1;
}

@media (max-width: 767px) {
	.lf-brand-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.25rem;
	}
}

/* ---------------------------------------------------------------------
   Testimonial
--------------------------------------------------------------------- */

.lf-testimonial-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.5rem;
}

.lf-testimonial {
	background: var(--lf-surface, #faf6f1);
	border-radius: 16px;
	padding: 1.75rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	max-width: 560px;
	margin-inline: auto;
}

.lf-testimonial__rating {
	display: flex;
	gap: 0.15rem;
	color: var(--lf-primary, #e4573d);
}

.lf-testimonial__quote {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.6;
	font-style: italic;
}

.lf-testimonial__author {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.lf-testimonial__avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
}

.lf-testimonial__author-info {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}

.lf-testimonial__name {
	font-weight: 600;
}

.lf-testimonial__role {
	font-size: 0.85rem;
	color: var(--lf-muted, #7a7268);
}

.lf-testimonial-carousel .lf-product-carousel__slide {
	flex-basis: 100%;
}

/* ---------------------------------------------------------------------
   Newsletter
--------------------------------------------------------------------- */

.lf-newsletter {
	text-align: center;
	max-width: 480px;
	margin-inline: auto;
}

.lf-newsletter__title {
	margin: 0 0 0.5rem;
}

.lf-newsletter__description {
	margin: 0 0 1.25rem;
	color: var(--lf-muted, #7a7268);
}

.lf-newsletter__form {
	display: flex;
	gap: 0.5rem;
}

.lf-newsletter__form input[type="email"] {
	flex: 1;
	padding: 0.75rem 1rem;
	border: 1px solid var(--lf-border, #ece2d9);
	border-radius: var(--lf-radius-pill, 999px);
}

.lf-newsletter__form button {
	background: var(--lf-primary, #e4573d);
	color: #fff;
	border: none;
	border-radius: var(--lf-radius-pill, 999px);
	padding: 0.75rem 1.5rem;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
}

.lf-newsletter__form button:disabled {
	opacity: 0.6;
	cursor: default;
}

.lf-newsletter__message {
	margin-top: 0.75rem;
	font-size: 0.9rem;
	min-height: 1.2em;
}

.lf-newsletter__message.is-success {
	color: #2e7d32;
}

.lf-newsletter__message.is-error {
	color: #c62828;
}

@media (max-width: 480px) {
	.lf-newsletter__form {
		flex-direction: column;
	}
}

/* ---------------------------------------------------------------------
   Instagram / Social Gallery
--------------------------------------------------------------------- */

.lf-social-gallery__handle {
	text-align: center;
	font-weight: 600;
	margin-bottom: 1rem;
}

.lf-social-gallery {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 0.5rem;
}

.lf-social-gallery__item {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 4px;
}

.lf-social-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 250ms ease;
}

.lf-social-gallery__item:hover img {
	transform: scale(1.05);
}

.lf-social-gallery__caption {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	padding: 0.5rem;
	font-size: 0.75rem;
	color: #fff;
	background: linear-gradient(to top, rgba(0,0,0,.6), transparent);
}

@media (max-width: 767px) {
	.lf-social-gallery {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* ---- Deal Countdown widget ---- */

.lf-deal-countdown {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	align-items: center;
	background: var(--lf-accent, #fdf0e4);
	border-radius: var(--lf-radius, 16px);
	padding: clamp(1.5rem, 4vw, 3rem);
}

.lf-deal-countdown__eyebrow {
	display: inline-block;
	color: var(--lf-primary, #e4573d);
	font-weight: 700;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 0.5rem;
}

.lf-deal-countdown__heading {
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	margin: 0 0 0.75rem;
	line-height: 1.15;
}

.lf-deal-countdown__highlight {
	display: block;
	color: var(--lf-primary, #e4573d);
}

.lf-deal-countdown__description {
	color: var(--lf-muted, #767676);
	margin-bottom: 1.25rem;
}

.lf-deal-countdown__timer {
	display: flex;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.lf-deal-countdown__unit {
	background: var(--lf-card-background, #fff);
	border-radius: var(--lf-radius-sm, 8px);
	padding: 0.6rem 1rem;
	text-align: center;
	min-width: 64px;
}

.lf-deal-countdown__unit span {
	display: block;
	font-size: 1.5rem;
	font-weight: 800;
	line-height: 1;
}

.lf-deal-countdown__unit small {
	display: block;
	font-size: 0.65rem;
	color: var(--lf-muted, #767676);
	margin-top: 0.25rem;
	letter-spacing: 0.05em;
}

.lf-deal-countdown__product {
	background: var(--lf-card-background, #fff);
	border-radius: var(--lf-radius, 16px);
	padding: 1.5rem;
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.lf-deal-countdown__product img {
	width: 120px;
	height: 120px;
	object-fit: contain;
	flex-shrink: 0;
}

.lf-deal-countdown__product-info h3 {
	margin: 0 0 0.25rem;
	font-size: 1.1rem;
}

.lf-deal-countdown__product-subtitle {
	color: var(--lf-muted, #767676);
	font-size: 0.85rem;
	margin: 0 0 0.5rem;
}

.lf-deal-countdown__price {
	font-size: 1.4rem;
	font-weight: 800;
	color: var(--lf-primary, #e4573d);
	margin-bottom: 0.5rem;
}

.lf-deal-countdown__price del {
	color: var(--lf-muted, #767676);
	font-weight: 400;
	font-size: 1rem;
	margin-inline-end: 0.4rem;
}

.lf-deal-countdown__stock {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--lf-primary, #e4573d);
	margin: 0 0 0.4rem;
}

.lf-deal-countdown__stock-bar {
	height: 6px;
	background: var(--lf-border, #eee);
	border-radius: 999px;
	overflow: hidden;
}

/* Decorative fixed-width urgency fill — see the widget file's docblock
   for why this isn't computed from a real "percent depleted" figure. */
.lf-deal-countdown__stock-bar-fill {
	width: 80%;
	height: 100%;
	background: var(--lf-primary, #e4573d);
	border-radius: 999px;
}

@media (max-width: 767px) {
	.lf-deal-countdown {
		grid-template-columns: 1fr;
	}

	.lf-deal-countdown__product {
		flex-direction: column;
		text-align: center;
	}
}
