/**
 * Fama Collection storefront system.
 *
 * Native Electro, WooCommerce and Elementor markup remains in charge. Rules
 * are deliberately scoped to the active child theme or a Fama component.
 */

:root {
	--fama-accent: #ce1d76;
	--fama-accent-hover: #9c1660;
	--fama-ink: #241a20;
	--fama-surface: #fff6f9;
	--fama-content-width: 1200px;
	--fama-radius: 16px;
	--fama-line: color-mix(in srgb, var(--fama-ink) 10%, transparent);
	--fama-muted: color-mix(in srgb, var(--fama-ink) 64%, white);
	--fama-shadow-sm: 0 8px 28px rgba(36, 26, 32, 0.07);
	--fama-shadow: 0 18px 48px rgba(36, 26, 32, 0.12);
	--fama-shop-columns: 4;
	--fama-shop-columns-tablet: 3;
	--fama-shop-columns-mobile: 2;
	--fama-announcement-bg: #241a20;
	--fama-announcement-color: #fff;
}

.fama-child-theme *,
.fama-child-theme *::before,
.fama-child-theme *::after {
	box-sizing: border-box;
}

.fama-child-theme {
	color: var(--fama-ink);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

.fama-component-container {
	width: min(calc(100% - 40px), var(--fama-content-width));
	margin-inline: auto;
}

.fama-icon {
	display: block;
	width: 1em;
	height: 1em;
	overflow: visible;
}

.fama-focus-enhanced :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--fama-accent-hover);
	outline-offset: 3px;
	box-shadow: 0 0 0 2px #fff;
}

.fama-skip-link {
	position: fixed;
	z-index: 100000;
	top: 10px;
	left: 10px;
	padding: 11px 16px;
	border-radius: 8px;
	background: var(--fama-ink);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.fama-skip-link:not(:focus) {
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.fama-skip-link:focus {
	clip: auto;
	width: auto;
	height: auto;
	clip-path: none;
	color: #fff;
}

/* Announcement */

.fama-announcement {
	position: relative;
	z-index: 100;
	padding: 9px 0;
	background: var(--fama-announcement-bg);
	color: var(--fama-announcement-color);
	font-size: clamp(11px, 1.2vw, 13px);
	font-weight: 650;
	letter-spacing: 0.015em;
}

.fama-announcement__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-height: 18px;
	text-align: center;
}

.fama-announcement a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: inherit;
	font-weight: 750;
	text-decoration: underline;
	text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
	text-underline-offset: 3px;
}

.fama-announcement a:hover {
	color: inherit;
	text-decoration-color: currentColor;
}

/* Electro header polish without fixing a header version. */

.fama-child-theme.fama-polish-header .site-header {
	border-bottom: 1px solid color-mix(in srgb, var(--fama-ink) 7%, transparent);
	background: #fff;
	box-shadow: 0 6px 30px rgba(36, 26, 32, 0.035);
}

.fama-child-theme.fama-polish-header .site-header .navbar-search,
.fama-child-theme.fama-polish-header .site-header form.woocommerce-product-search {
	max-width: 100%;
}

.fama-child-theme.fama-polish-header .site-header :where(.search-field, .woocommerce-product-search input[type="search"]) {
	min-height: 46px;
	border-color: color-mix(in srgb, var(--fama-accent) 30%, #d9d2d6);
	border-radius: 999px 0 0 999px;
	background: #fff;
	font-size: 14px;
}

.fama-child-theme.fama-polish-header .site-header :where(.navbar-search button, .woocommerce-product-search button) {
	min-width: 48px;
	min-height: 46px;
	border-color: var(--fama-accent);
	border-radius: 0 999px 999px 0;
	background: var(--fama-accent);
	color: #fff;
}

.fama-child-theme.fama-polish-header .site-header :where(.header-icon, .header-icons a, .handheld-header-links a) {
	min-width: 44px;
	min-height: 44px;
}

.fama-child-theme.fama-polish-header .primary-nav-menu a {
	text-underline-offset: 5px;
}

.fama-child-theme.fama-polish-header .primary-nav-menu a:hover {
	color: var(--fama-accent);
}

/* Generic forms and commerce controls. */

.fama-child-theme.fama-polish-commerce :where(
	input[type="text"],
	input[type="email"],
	input[type="tel"],
	input[type="password"],
	input[type="search"],
	input[type="number"],
	input[type="url"],
	select,
	textarea
) {
	border-color: color-mix(in srgb, var(--fama-ink) 18%, transparent);
	border-radius: max(6px, calc(var(--fama-radius) * 0.55));
	background-color: #fff;
}

.fama-child-theme.fama-polish-commerce :where(
	input[type="text"],
	input[type="email"],
	input[type="tel"],
	input[type="password"],
	input[type="search"],
	input[type="number"],
	input[type="url"],
	select
) {
	min-height: 44px;
}

.fama-child-theme.fama-polish-commerce :where(input, select, textarea):focus {
	border-color: var(--fama-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--fama-accent) 13%, transparent);
}

.fama-child-theme.fama-polish-commerce :where(
	.button,
	button.button,
	input.button,
	.btn-primary,
	.single_add_to_cart_button,
	.checkout-button
) {
	min-height: 42px;
	border-radius: 999px;
	font-weight: 700;
	letter-spacing: 0.01em;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.fama-child-theme.fama-polish-commerce :where(
	.button,
	button.button,
	input.button,
	.btn-primary,
	.single_add_to_cart_button,
	.checkout-button
):hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(36, 26, 32, 0.1);
}

/* Product cards: structure only; Electro still owns template behavior. */

.fama-child-theme ul.products li.product {
	min-width: 0;
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.fama-child-theme ul.products li.product :where(.product-inner, .product-item__inner) {
	height: 100%;
	border-radius: var(--fama-radius);
	background: #fff;
}

.fama-cards-soft ul.products li.product :where(.product-inner, .product-item__inner) {
	box-shadow: 0 7px 26px rgba(36, 26, 32, 0.065);
}

.fama-cards-outlined ul.products li.product :where(.product-inner, .product-item__inner) {
	border: 1px solid color-mix(in srgb, var(--fama-ink) 11%, transparent);
}

.fama-cards-soft ul.products li.product:hover,
.fama-cards-outlined ul.products li.product:hover {
	z-index: 2;
	transform: translateY(-4px);
}

.fama-cards-soft ul.products li.product:hover :where(.product-inner, .product-item__inner),
.fama-cards-outlined ul.products li.product:hover :where(.product-inner, .product-item__inner) {
	border-color: color-mix(in srgb, var(--fama-accent) 25%, transparent);
	box-shadow: var(--fama-shadow);
}

.fama-child-theme ul.products li.product :where(.product-thumbnail, .product-loop-body) > a:first-child {
	display: block;
}

.fama-child-theme ul.products li.product :where(.product-thumbnail, .product-loop-body) img {
	width: 100%;
	border-radius: max(8px, calc(var(--fama-radius) - 5px));
	background: #fff;
}

.fama-product-image-square ul.products li.product :where(.product-thumbnail, .product-loop-body) img {
	aspect-ratio: 1 / 1;
}

.fama-product-image-portrait ul.products li.product :where(.product-thumbnail, .product-loop-body) img {
	aspect-ratio: 4 / 5;
}

.fama-product-image-natural ul.products li.product :where(.product-thumbnail, .product-loop-body) img {
	aspect-ratio: auto;
}

.fama-product-fit-contain ul.products li.product :where(.product-thumbnail, .product-loop-body) img {
	object-fit: contain;
}

.fama-product-fit-cover ul.products li.product :where(.product-thumbnail, .product-loop-body) img {
	object-fit: cover;
}

.fama-child-theme ul.products li.product :where(.woocommerce-loop-product__title, .product-title) {
	display: -webkit-box;
	overflow: hidden;
	color: var(--fama-ink);
	font-size: clamp(13px, 1.3vw, 15px);
	font-weight: 650;
	line-height: 1.4;
	-webkit-box-orient: vertical;
}

.fama-product-title-lines-1 ul.products li.product :where(.woocommerce-loop-product__title, .product-title) {
	min-height: 1.4em;
	-webkit-line-clamp: 1;
}

.fama-product-title-lines-2 ul.products li.product :where(.woocommerce-loop-product__title, .product-title) {
	min-height: 2.8em;
	-webkit-line-clamp: 2;
}

.fama-product-title-lines-3 ul.products li.product :where(.woocommerce-loop-product__title, .product-title) {
	min-height: 4.2em;
	-webkit-line-clamp: 3;
}

.fama-child-theme ul.products li.product :where(.price, .woocommerce-Price-amount) {
	color: var(--fama-accent);
	font-weight: 750;
}

.fama-child-theme ul.products li.product .price del {
	color: var(--fama-muted);
}

.fama-child-theme ul.products li.product .price ins {
	text-decoration: none;
}

.fama-child-theme :where(.onsale, .product-label) {
	border-radius: 999px;
	font-size: 11px;
	font-weight: 750;
	letter-spacing: 0.02em;
}

.fama-hide-compare :where(
	a.compare,
	.add-to-compare-link,
	.header-icon__compare,
	.header-compare,
	.compare-link
) {
	display: none !important;
}

.fama-hide-product-card-category ul.products li.product :where(
	.loop-product-categories,
	.product-loop-categories,
	.product-category,
	.electro-product-category
) {
	display: none !important;
}

/* CSS fallback for parent releases that move optional card callbacks. */
.fama-hide-loop-excerpt ul.products li.product :where(
	.product-short-description,
	.product-excerpt,
	.electro-product-excerpt
),
.fama-hide-loop-sku ul.products li.product :where(
	.product-sku,
	.sku_wrapper,
	.electro-product-sku
) {
	display: none !important;
}

/* Shop, cart and checkout surfaces. */

.fama-child-theme.fama-polish-commerce.woocommerce-page .site-content {
	padding-top: clamp(24px, 4vw, 52px);
	padding-bottom: clamp(42px, 6vw, 76px);
}

.fama-child-theme.fama-polish-commerce :where(.woocommerce-breadcrumb, .electro-advanced-pagination) {
	font-size: 13px;
}

.fama-child-theme.fama-polish-commerce :where(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
	border-radius: max(8px, calc(var(--fama-radius) * 0.65));
}

.fama-child-theme.fama-polish-commerce :where(.cart-collaterals .cart_totals, .woocommerce-checkout-review-order, .woocommerce-form-login, .woocommerce-form-coupon) {
	padding: clamp(20px, 3vw, 32px);
	border: 1px solid color-mix(in srgb, var(--fama-ink) 10%, transparent);
	border-radius: var(--fama-radius);
	background: #fff;
	box-shadow: var(--fama-shadow-sm);
}

.fama-child-theme.fama-polish-commerce :where(.shop_table, table.cart) {
	border-collapse: separate;
	border-spacing: 0;
	border-radius: var(--fama-radius);
	overflow: hidden;
}

.fama-child-theme.fama-polish-commerce :where(.shop_table, table.cart) th {
	background: var(--fama-surface);
	color: var(--fama-ink);
}

.fama-child-theme.fama-polish-commerce .woocommerce-checkout h3 {
	color: var(--fama-ink);
	font-weight: 700;
}

.fama-child-theme.fama-polish-commerce .woocommerce-account .woocommerce-MyAccount-navigation a {
	border-radius: 10px;
}

.fama-child-theme.fama-polish-commerce .woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
	background: var(--fama-surface);
	color: var(--fama-accent);
}

/* WooCommerce Cart and Checkout blocks. */

.fama-child-theme.fama-polish-commerce :where(.wc-block-cart, .wc-block-checkout) {
	color: var(--fama-ink);
}

.fama-child-theme.fama-polish-commerce :where(
	.wc-block-components-sidebar,
	.wc-block-components-totals-wrapper,
	.wc-block-checkout__payment-method,
	.wc-block-components-address-form
) {
	border-color: color-mix(in srgb, var(--fama-ink) 10%, transparent);
	border-radius: var(--fama-radius);
}

.fama-child-theme.fama-polish-commerce :where(
	.wc-block-components-button,
	.wc-block-cart__submit-button,
	.wc-block-components-checkout-place-order-button
) {
	min-height: 48px;
	border-radius: 999px;
	font-weight: 700;
}

/* Shared section headings. */

.fama-section-heading {
	margin-bottom: clamp(22px, 3vw, 34px);
	text-align: center;
}

.fama-section-heading > span,
.fama-product-section__heading > div > span {
	display: block;
	margin-bottom: 7px;
	color: var(--fama-accent);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.fama-section-heading h2,
.fama-product-section__heading h2 {
	margin: 0;
	color: var(--fama-ink);
	font-family: inherit;
	font-size: clamp(24px, 3vw, 38px);
	font-weight: 720;
	letter-spacing: -0.025em;
	line-height: 1.15;
}

/* Store hero component. */

.fama-store-hero {
	--fama-hero-accent: var(--fama-accent);
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--fama-hero-accent) 11%, transparent), transparent 32%),
		var(--fama-surface);
}

.fama-store-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
	align-items: center;
	gap: clamp(36px, 7vw, 92px);
	padding-block: clamp(62px, 8vw, 112px);
}

.fama-store-hero--image_left .fama-store-hero__content {
	order: 2;
}

.fama-store-hero--image_left .fama-store-hero__media {
	order: 1;
}

.fama-store-hero--centered .fama-store-hero__inner {
	display: flex;
	max-width: 900px;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.fama-store-hero__eyebrow {
	margin: 0 0 15px;
	color: var(--fama-hero-accent);
	font-size: clamp(11px, 1.2vw, 13px);
	font-weight: 800;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.fama-store-hero__title {
	max-width: 760px;
	margin: 0;
	color: var(--fama-ink);
	font-family: inherit;
	font-size: clamp(40px, 5.3vw, 72px);
	font-weight: 730;
	letter-spacing: -0.045em;
	line-height: 1.01;
}

.fama-store-hero--centered .fama-store-hero__title,
.fama-store-hero--centered .fama-store-hero__description {
	margin-inline: auto;
}

.fama-store-hero__description {
	max-width: 610px;
	margin: 24px 0 0;
	color: var(--fama-muted);
	font-size: clamp(16px, 1.7vw, 19px);
	line-height: 1.65;
}

.fama-store-hero__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px 26px;
	margin-top: 30px;
}

.fama-store-hero--centered .fama-store-hero__actions {
	justify-content: center;
}

.fama-store-hero__primary,
.fama-store-hero__secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.035em;
	text-decoration: none;
}

.fama-store-hero__primary {
	padding: 13px 24px;
	border-radius: 999px;
	background: var(--fama-hero-accent);
	color: #fff;
	box-shadow: 0 12px 30px color-mix(in srgb, var(--fama-hero-accent) 24%, transparent);
}

.fama-store-hero__primary:hover,
.fama-store-hero__primary:focus-visible {
	background: color-mix(in srgb, var(--fama-hero-accent) 84%, #000);
	color: #fff;
	transform: translateY(-1px);
}

.fama-store-hero__secondary {
	gap: 7px;
	color: var(--fama-hero-accent);
	text-underline-offset: 4px;
}

.fama-store-hero__secondary:hover {
	color: color-mix(in srgb, var(--fama-hero-accent) 78%, #000);
	text-decoration: underline;
}

.fama-store-hero__media {
	position: relative;
	display: grid;
	min-width: 0;
	place-items: center;
}

.fama-store-hero__media::before {
	position: absolute;
	width: min(90%, 500px);
	aspect-ratio: 1;
	border-radius: 50%;
	background: color-mix(in srgb, var(--fama-hero-accent) 8%, #fff);
	content: "";
}

.fama-store-hero__media img,
.fama-store-hero__placeholder {
	position: relative;
	z-index: 1;
	display: block;
	width: min(100%, 560px);
	max-height: 520px;
	object-fit: contain;
}

.fama-store-hero__placeholder {
	color: var(--fama-hero-accent);
}

/* Product collection component. */

.fama-product-section {
	padding: clamp(48px, 7vw, 88px) 0;
}

.fama-product-section--soft {
	background: var(--fama-surface);
}

.fama-product-section--dark {
	background: var(--fama-ink);
}

.fama-product-section__heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: clamp(22px, 3vw, 34px);
}

.fama-product-section__heading > a {
	flex: 0 0 auto;
	padding-bottom: 3px;
	color: var(--fama-accent);
	font-size: 13px;
	font-weight: 750;
	text-decoration: none;
	text-underline-offset: 4px;
}

.fama-product-section__heading > a:hover {
	color: var(--fama-accent-hover);
	text-decoration: underline;
}

.fama-product-section--dark .fama-product-section__heading h2 {
	color: #fff;
}

.fama-product-section--dark .fama-product-section__heading > div > span,
.fama-product-section--dark .fama-product-section__heading > a {
	color: color-mix(in srgb, var(--fama-accent) 74%, white);
}

.fama-product-section .woocommerce.columns-2,
.fama-product-section .woocommerce.columns-3,
.fama-product-section .woocommerce.columns-4,
.fama-product-section .woocommerce.columns-5,
.fama-product-section .woocommerce.columns-6 {
	width: 100%;
}

.fama-product-section ul.products {
	margin-bottom: 0;
}

.fama-child-theme .fama-product-section ul.products:not(.owl-carousel):not(.slick-slider) > li.product {
	width: calc(100% / var(--fama-product-columns, 4));
	max-width: calc(100% / var(--fama-product-columns, 4));
	flex-basis: calc(100% / var(--fama-product-columns, 4));
}

/* Category grid component. */

.fama-category-section {
	padding: clamp(48px, 7vw, 88px) 0;
	background: #fff;
}

.fama-category-grid {
	display: grid;
	grid-template-columns: repeat(var(--fama-category-columns, 4), minmax(0, 1fr));
	gap: clamp(12px, 2vw, 22px);
}

.fama-category-card {
	position: relative;
	display: block;
	min-width: 0;
	overflow: hidden;
	border: 1px solid color-mix(in srgb, var(--fama-ink) 9%, transparent);
	border-radius: var(--fama-radius);
	background: #fff;
	color: var(--fama-ink);
	box-shadow: 0 6px 22px rgba(36, 26, 32, 0.045);
	text-decoration: none;
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.fama-category-card:hover {
	border-color: color-mix(in srgb, var(--fama-accent) 28%, transparent);
	color: var(--fama-ink);
	transform: translateY(-4px);
	box-shadow: var(--fama-shadow);
}

.fama-category-card__media {
	display: grid;
	width: 100%;
	aspect-ratio: 1 / 0.82;
	place-items: center;
	overflow: hidden;
	background:
		radial-gradient(circle at 75% 24%, rgba(206, 29, 118, 0.09), transparent 29%),
		var(--fama-surface);
	color: var(--fama-accent);
}

.fama-category-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.fama-category-card:hover .fama-category-card__media img {
	transform: scale(1.035);
}

.fama-category-card__media .fama-icon {
	width: 44px;
	height: 44px;
}

.fama-category-card__content {
	display: block;
	padding: 16px 17px 18px;
}

.fama-category-card__content strong,
.fama-category-card__content small {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.fama-category-card__content strong {
	font-size: clamp(14px, 1.5vw, 17px);
	font-weight: 720;
}

.fama-category-card__content small {
	margin-top: 4px;
	color: var(--fama-muted);
	font-size: 12px;
}

/* Trust bar component. */

.fama-trust-bar {
	padding: 23px 0;
	border-block: 1px solid color-mix(in srgb, var(--fama-ink) 8%, transparent);
	background: #fff;
}

.fama-trust-bar__items {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fama-trust-bar--grid .fama-trust-bar__items li {
	padding: 18px;
	border: 1px solid color-mix(in srgb, var(--fama-ink) 9%, transparent);
	border-radius: max(9px, calc(var(--fama-radius) * 0.75));
	background: var(--fama-surface);
}

.fama-trust-bar__items li,
.fama-trust-bar__items a {
	display: flex;
	align-items: center;
	gap: 11px;
	min-width: 0;
	color: var(--fama-ink);
	font-size: clamp(12px, 1.3vw, 14px);
	font-weight: 650;
	line-height: 1.35;
	text-decoration: none;
}

.fama-trust-bar__copy {
	display: block;
	min-width: 0;
}

.fama-trust-bar__copy strong,
.fama-trust-bar__copy small {
	display: block;
}

.fama-trust-bar__copy strong {
	color: inherit;
	font-size: inherit;
	font-weight: 720;
}

.fama-trust-bar__copy small {
	margin-top: 3px;
	color: var(--fama-muted);
	font-size: 11px;
	font-weight: 500;
}

.fama-trust-bar__items a {
	width: 100%;
}

.fama-trust-bar__items a:hover {
	color: var(--fama-accent);
}

.fama-trust-bar__icon {
	display: grid;
	flex: 0 0 39px;
	width: 39px;
	height: 39px;
	place-items: center;
	border-radius: 50%;
	background: var(--fama-surface);
	color: var(--fama-accent);
}

.fama-trust-bar--grid .fama-trust-bar__icon {
	background: #fff;
}

.fama-trust-bar__icon .fama-icon {
	width: 20px;
	height: 20px;
}

/* WhatsApp component. */

.fama-whatsapp-button {
	--fama-wa-bg: #08783f;
	--fama-wa-fg: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	border: 0;
	border-radius: 999px;
	background: var(--fama-wa-bg);
	color: var(--fama-wa-fg);
	font-weight: 750;
	line-height: 1;
	text-decoration: none;
	box-shadow: 0 11px 28px color-mix(in srgb, var(--fama-wa-bg) 30%, transparent);
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.fama-whatsapp-button:hover,
.fama-whatsapp-button:focus-visible {
	color: var(--fama-wa-fg);
	filter: saturate(0.95) brightness(0.94);
	transform: translateY(-2px);
	box-shadow: 0 15px 34px color-mix(in srgb, var(--fama-wa-bg) 38%, transparent);
}

.fama-whatsapp-button--inline {
	min-height: 48px;
	padding: 13px 22px;
}

.fama-whatsapp-button--floating {
	position: fixed;
	z-index: 9998;
	bottom: calc(var(--fama-wa-bottom, 24px) + env(safe-area-inset-bottom));
	max-width: min(260px, calc(100vw - 32px));
	min-width: 58px;
	min-height: 58px;
	padding: 13px 19px;
}

.fama-whatsapp-button--right {
	right: var(--fama-wa-side, 24px);
}

.fama-whatsapp-button--left {
	left: var(--fama-wa-side, 24px);
}

.fama-whatsapp-button__icon {
	display: grid;
	flex: 0 0 27px;
	width: 27px;
	height: 27px;
	place-items: center;
}

.fama-whatsapp-button__icon .fama-icon {
	width: 27px;
	height: 27px;
}

.fama-whatsapp-button__custom-icon {
	display: block;
	width: 27px;
	height: 27px;
	border-radius: 5px;
	object-fit: contain;
}

.fama-whatsapp-button__label {
	overflow: hidden;
	font-size: 14px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.fama-wa-label-desktop-hide .fama-whatsapp-button__label {
	display: none;
}

.fama-elementor-whatsapp {
	line-height: 1;
}

/* Elementor-specific page canvas and useful editor feedback. */

.fama-elementor-page {
	width: 100%;
	min-height: 1px;
}

.page-template-elementor-full-width .site-content,
.page-template-elementor-full-width .content-area,
.page-template-elementor-full-width .site-main {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.fama-editor-placeholder {
	padding: 22px;
	border: 1px dashed color-mix(in srgb, var(--fama-accent) 45%, transparent);
	border-radius: 10px;
	background: var(--fama-surface);
	color: var(--fama-muted);
	text-align: center;
}

/* Footer simplification and readability. */

.fama-child-theme.fama-polish-footer .site-footer {
	border-top: 1px solid color-mix(in srgb, var(--fama-ink) 8%, transparent);
	background: #fffafb;
}

.fama-child-theme.fama-polish-footer .site-footer :where(.widget-title, .footer-widget-title) {
	color: var(--fama-ink);
	font-size: 14px;
	font-weight: 750;
	letter-spacing: 0.045em;
	text-transform: uppercase;
}

.fama-child-theme.fama-polish-footer .site-footer a {
	text-underline-offset: 4px;
}

.fama-child-theme.fama-polish-footer .site-footer a:hover {
	color: var(--fama-accent);
}

/* Responsive behavior. */

@media (max-width: 991.98px) {
	.fama-store-hero__inner {
		grid-template-columns: minmax(0, 1.05fr) minmax(270px, 0.95fr);
		gap: clamp(26px, 5vw, 54px);
	}

	.fama-category-grid {
		grid-template-columns: repeat(var(--fama-category-columns-tablet, 3), minmax(0, 1fr));
	}

	.fama-trust-bar__items {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.fama-child-theme ul.products:not(.owl-carousel):not(.slick-slider) > li.product {
		width: calc(100% / var(--fama-shop-columns-tablet));
		max-width: calc(100% / var(--fama-shop-columns-tablet));
		flex-basis: calc(100% / var(--fama-shop-columns-tablet));
	}

	.fama-child-theme .fama-product-section ul.products:not(.owl-carousel):not(.slick-slider) > li.product {
		width: calc(100% / var(--fama-product-columns-tablet, 3));
		max-width: calc(100% / var(--fama-product-columns-tablet, 3));
		flex-basis: calc(100% / var(--fama-product-columns-tablet, 3));
	}
}

@media (max-width: 767.98px) {
	.fama-component-container {
		width: min(calc(100% - 28px), var(--fama-content-width));
	}

	.fama-announcement__inner {
		gap: 8px;
	}

	.fama-announcement-mobile-hide {
		display: none;
	}

	.fama-store-hero__inner {
		display: flex;
		min-height: 0 !important;
		align-items: stretch;
		flex-direction: column;
		gap: 32px;
		padding-block: clamp(50px, 12vw, 76px);
	}

	.fama-store-hero--image_left .fama-store-hero__content,
	.fama-store-hero--image_left .fama-store-hero__media {
		order: initial;
	}

	.fama-store-hero__title {
		font-size: clamp(38px, 12vw, 54px);
	}

	.fama-store-hero__media img,
	.fama-store-hero__placeholder {
		max-height: 330px;
	}

	.fama-product-section__heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	.fama-category-grid {
		grid-template-columns: repeat(var(--fama-category-columns-mobile, 2), minmax(0, 1fr));
	}

	.fama-category-card__content {
		padding: 13px 13px 15px;
	}

	.fama-child-theme ul.products:not(.owl-carousel):not(.slick-slider) > li.product {
		width: calc(100% / var(--fama-shop-columns-mobile));
		max-width: calc(100% / var(--fama-shop-columns-mobile));
		flex-basis: calc(100% / var(--fama-shop-columns-mobile));
	}

	.fama-child-theme .fama-product-section ul.products:not(.owl-carousel):not(.slick-slider) > li.product {
		width: calc(100% / var(--fama-product-columns-mobile, 2));
		max-width: calc(100% / var(--fama-product-columns-mobile, 2));
		flex-basis: calc(100% / var(--fama-product-columns-mobile, 2));
	}

	.fama-child-theme ul.products li.product :where(.product-inner, .product-item__inner) {
		border-radius: max(10px, calc(var(--fama-radius) * 0.78));
	}

	.fama-whatsapp-button--floating {
		min-width: 54px;
		min-height: 54px;
		padding: 12px 15px;
	}

	.fama-wa-label-mobile-hide .fama-whatsapp-button__label {
		display: none;
	}

	.fama-wa-label-mobile-show .fama-whatsapp-button__label {
		display: inline;
	}

	.fama-wa-mobile-hide {
		display: none;
	}
}

@media (min-width: 768px) {
	.fama-announcement-desktop-hide {
		display: none;
	}

	.fama-wa-desktop-hide {
		display: none;
	}
}

@media (max-width: 479.98px) {
	.fama-trust-bar__items {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.fama-trust-bar__items li {
		justify-content: flex-start;
	}

	.fama-category-card__media {
		aspect-ratio: 1 / 0.92;
	}

	.fama-category-card__content small {
		display: none;
	}
}

/* Reviews and manual testimonials components. */

.fama-product-reviews {
	padding-block: clamp(48px, 6vw, 88px);
	background: var(--fama-surface);
}

.fama-product-reviews__grid {
	display: grid;
	grid-template-columns: repeat(var(--fama-review-columns, 3), minmax(0, 1fr));
	gap: 24px;
}

.fama-review-card {
	--fama-review-accent: var(--fama-accent);
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 16px;
	padding: 28px;
	border: 1px solid color-mix(in srgb, var(--fama-ink) 9%, transparent);
	border-radius: var(--fama-radius);
	background: #fff;
	box-shadow: var(--fama-shadow-sm);
}

.fama-review-card__stars {
	display: inline-flex;
	gap: 3px;
}

.fama-review-card__stars svg {
	width: 15px;
	height: 15px;
	fill: var(--fama-review-accent);
}

.fama-review-card blockquote,
.fama-review-card blockquote p {
	margin: 0;
}

.fama-review-card blockquote {
	flex: 1 1 auto;
	padding: 0;
	border: 0;
	color: var(--fama-ink);
	font-size: 15px;
	font-style: normal;
	line-height: 1.65;
}

.fama-review-card footer {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding-top: 14px;
	border-top: 1px solid color-mix(in srgb, var(--fama-ink) 8%, transparent);
}

.fama-review-card footer strong {
	color: var(--fama-ink);
	font-size: 13px;
}

.fama-review-card footer a {
	display: -webkit-box;
	overflow: hidden;
	color: var(--fama-accent);
	font-size: 12px;
	line-height: 1.4;
	text-decoration: none;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.fama-review-card footer a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.fama-testimonials {
	padding-block: clamp(48px, 6vw, 88px);
}

.fama-testimonials__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
}

.fama-testimonial-card {
	--fama-testimonial-accent: var(--fama-accent);
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 28px;
	min-width: 0;
	border: 1px solid color-mix(in srgb, var(--fama-ink) 9%, transparent);
	border-radius: var(--fama-radius);
	background: #fff;
	color: var(--fama-ink);
	box-shadow: 0 6px 22px rgba(36, 26, 32, 0.045);
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.fama-testimonial-card:hover {
	border-color: color-mix(in srgb, var(--fama-accent) 28%, transparent);
	transform: translateY(-4px);
	box-shadow: var(--fama-shadow);
}

.fama-testimonial-card__stars {
	display: inline-flex;
	gap: 3px;
}

.fama-testimonial-card__stars svg {
	width: 15px;
	height: 15px;
	fill: var(--fama-testimonial-accent);
	overflow: visible;
}

.fama-testimonial-card__quote {
	margin: 0;
	flex-grow: 1;
	color: var(--fama-ink);
	font-size: 15.5px;
	line-height: 1.65;
}

.fama-testimonial-card__author {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding-top: 4px;
	border-top: 1px solid color-mix(in srgb, var(--fama-ink) 8%, transparent);
}

.fama-testimonial-card__avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.fama-testimonial-card__author strong {
	display: block;
	color: var(--fama-ink);
	font-size: 13.5px;
	font-weight: 700;
}

.fama-testimonial-card__author small {
	display: block;
	color: var(--fama-muted);
	font-size: 12px;
}

/* Brand strip component. */

.fama-brand-strip {
	padding-block: clamp(40px, 5vw, 72px);
}

.fama-brand-strip__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fama-brand-strip__item {
	margin: 0;
}

.fama-brand-strip__link {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 64px;
	padding: 10px 26px;
	border: 1px solid color-mix(in srgb, var(--fama-ink) 9%, transparent);
	border-radius: 999px;
	background: #fff;
	text-decoration: none;
	transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

a.fama-brand-strip__link:hover,
a.fama-brand-strip__link:focus-visible {
	border-color: color-mix(in srgb, var(--fama-accent) 32%, transparent);
	transform: translateY(-2px);
	box-shadow: var(--fama-shadow-sm);
}

.fama-brand-strip__word {
	color: var(--fama-ink);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	white-space: nowrap;
}

.fama-brand-strip__logo {
	max-height: 32px;
	width: auto;
	max-width: 140px;
	object-fit: contain;
}

.fama-brand-strip--grayscale .fama-brand-strip__logo {
	filter: grayscale(1) opacity(0.72);
	transition: filter 0.2s ease;
}

.fama-brand-strip--grayscale a.fama-brand-strip__link:hover .fama-brand-strip__logo,
.fama-brand-strip--grayscale a.fama-brand-strip__link:focus-visible .fama-brand-strip__logo {
	filter: grayscale(0) opacity(1);
}

@media (min-width: 768px) and (max-width: 991.98px) {
	.fama-product-reviews__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767.98px) {
	.fama-product-reviews__grid {
		grid-template-columns: 1fr;
	}

	.fama-brand-strip__link {
		min-height: 52px;
		padding: 8px 18px;
	}

	.fama-brand-strip__logo {
		max-height: 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fama-child-theme *,
	.fama-child-theme *::before,
	.fama-child-theme *::after,
	.fama-category-card,
	.fama-whatsapp-button {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

@media print {
	.fama-announcement,
	.fama-whatsapp-button--floating,
	.fama-child-theme .site-header,
	.fama-child-theme .site-footer {
		display: none !important;
	}

	.fama-child-theme {
		color: #000;
	}
}
