/*
Theme Name: FarmMash
Theme URI: https://elementor.com/
Description: Child theme for Hello Elementor
Author: Your Name
Author URI: https://yourdomain.com/
Template: hello-elementor
Version: 1.0.0
Text Domain: farmmash
*/

.rank-math-breadcrumb {
	font-size:13px;
}
.rank-math-breadcrumb a {
	color:#70449C;

}
.rank-math-breadcrumb a:hover {
		text-decoration: underline;
	 text-underline-offset: 5px;
    text-decoration-thickness: 1px;
}
/*Шорткод [product_specs]*/
.product-specs{
	list-style:none;
	margin: 0 0 -14px 0;
	padding: 0;
	column-count: 2;
}
.product-specs__item{
	display:flex;
	align-items:center;
	gap:10px;
	margin: 0 0 14px 0;
}
.product-specs__icon{width:32px;height:32px;flex:none}
.product-specs__text{
	display:flex;
	flex-direction:column;
	font-family: "Montserrat", sans-serif;
}
.product-specs__label{font-weight:700}
.product-specs__value{color:var(--e-global-color-text);font-size:.85em; font-weight:500}
@media(max-width:640px){.product-specs{column-count: 1; margin-left: -4px;}}

/* Compact specifications inside an Elementor product Loop Item. */
.product-specs.product-specs--card {
    display: flex;
    flex-direction: column;
    gap: 5px;
    column-count: auto;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}
.product-specs--card .product-specs__item {
    align-items: center;
    gap: 3px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 12px;
    line-height: 1.5;
}
.product-specs--card .product-specs__icon {
    display: block;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    border: 0;
    object-fit: contain;
}
.product-specs--card .product-specs__text {
    display: block;
    flex: 1;
    min-width: 0;
    color: #5f6368;
    font-size: inherit;
    line-height: inherit;
    overflow-wrap: anywhere;
}
.product-specs--card .product-specs__label {
    color: #5f6368;
    font-size: inherit;
    font-weight: 600;
}
.product-specs--card .product-specs__value {
    color: #5f6368;
    font-size: inherit;
    font-weight: 400;
}
.product-specs--card .product-specs__value a { color: inherit; text-decoration: none; }
.product-specs--card .product-specs__value a:hover { color: #70449c; text-decoration: underline; }
.product-specs--card a:focus-visible { outline: 2px solid #70449c; outline-offset: 2px; }


/*[farmmash_product_gallery]*/ 
.custom-product-gallery-wrapper {
	position: relative;
	max-width: 100%;
}
.myProductMainSlider {
	width: 100%;
	
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	margin-bottom: 12px;
	background: #fff;
}
@media(min-width:768px) {
	.myProductMainSlider {
		height: 450px;
	}
	
}
@media(max-width:767.98px) {
	.myProductMainSlider .swiper-wrapper {
		align-items:center;
	}
	.product-specs__label {
		font-size: 14px;
	}
}
.myProductMainSlider .swiper-slide {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}
.myProductMainSlider .swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
/* Zoom icon style matching your screenshot */
.zoom-icon-btn {
	position: absolute;
	bottom: 15px;
	right: 15px;
	width: 36px;
	height: 36px;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #6c5ce7;
	box-shadow: 0 2px 6px rgba(0,0,0,0.05);
	transition: all 0.2s ease;
}
.gallery-fancybox-link:hover .zoom-icon-btn {
	background: #f8f8f8;
	transform: scale(1.05);
}
.myProductThumbsSlider {
	width: 100%;
	height: 90px;
	box-sizing: border-box;
}
.myProductThumbsSlider .swiper-slide {
	width: 25%;
	height: 100%;
	opacity: 0.5;
	cursor: pointer;
	border: 1px solid #ddd;
	border-radius: 4px;
	overflow: hidden;
	background: #fff;
	transition: opacity 0.3s ease, border-color 0.3s ease;
}
.myProductThumbsSlider .swiper-slide-thumb-active {
	opacity: 1;
	border-color: #6c5ce7;
}
.myProductThumbsSlider .swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/*Шорткод [product_specs_full]*/
.product-specs-full {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 1px solid #dcdce2; 
	border-radius: 8px;
	overflow: hidden;
	font-size: 15px;
	line-height: 1.4;
}

.product-specs-full li {
	display: grid;
	grid-template-columns: minmax(140px, 35%) 1fr;
	gap: 0;  
	margin: 0;
	padding: 0;
	background: #fff;

}

.product-specs-full li:nth-child(odd) {
	background: #f6f6f8;
}

.product-specs-full li > span {
	padding: 12px 16px;
	font-family: "Montserrat", sans-serif;
	color:var(--e-global-color-text);

	font-weight:500
}

.product-specs-full li > span:first-child {
	font-weight: 700;
	color: #1a1a1a;
	border-right: 1px solid #dcdce2; 
}

.product-specs-full li > span:last-child {
	color: #5f6368;
	overflow-wrap: anywhere;
}

@media (max-width: 600px) {
	.product-specs-full li {
		grid-template-columns: 1fr;
	}
	.product-specs-full li > span {
		padding: 10px 14px;
	}
	.product-specs-full li > span:first-child {
		border-right: 0;  
		padding-bottom: 0;
		font-size: 13px;
	}
	.product-specs-full li > span:last-child {
		padding-top: 2px;
	}
}

/*Шорткод [farmmash_docs_list]*/
.farmmash-docs-list {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 1px solid #dcdce2; 
	border-radius: 8px;
	overflow: hidden;
	font-size: 15px;
	line-height: 1.4;
}
.farmmash-docs-list li {
	display: grid;
	grid-template-columns: minmax(140px, 55%) 1fr;
	gap: 0;  
	margin: 0;
	padding: 0;
	background: #fff;
}
.farmmash-docs-list li:nth-child(odd) {
	background: #f6f6f8;
}
.farmmash-docs-list li > span {
	padding: 12px 14px;
	font-family: "Montserrat", sans-serif;
	color: var(--e-global-color-text, #333);
	font-weight: 500;
	display: flex;
	align-items: center;
}
.farmmash-docs-list .farmmash-docs-title {
	color: #262626;
	gap: 8px;
}
.farmmash-docs-list .farmmash-docs-icon {
	flex-shrink: 0;
	color: #7a7a7a;
}
.farmmash-docs-list .farmmash-docs-action {
	justify-content: flex-end;
}
.farmmash-docs-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #70449C;
	text-decoration: none;
	font-weight: 600;
	transition: color 0.2s ease;
}
.farmmash-docs-link:hover {
	color: #5b4bc4;
	text-decoration: underline;
}
.farmmash-docs-status {
	color: #5f6368;
}

@media (max-width: 600px) {
	.farmmash-docs-list li {
		/*grid-template-columns: 1fr;*/
	}
	.farmmash-docs-list li > span {
		padding: 8px 10px;
	}
	.farmmash-docs-list .farmmash-docs-title {
		border-right: 0;  
		border-bottom: 1px solid #eee;
		padding-bottom: 8px;
		font-size: 14px;
	}
	.farmmash-docs-list .farmmash-docs-action {
		text-align:right;
		        font-size: 13px;
	}
	.farmmash-benefits-list li .farmmash-benefit-text {
		    font-size: 14px;
	}
}


/*[farmmash_benefits]*/
.farmmash-benefits-list {
	display:flex;
	flex-direction:column;
	gap:10px;
	margin:0;
	padding:0;
	list-style:none;
}
.farmmash-benefits-list li {
	display:flex;
	align-items:flex-start;
	gap:10px;
}
.farmmash-benefits-list li .farmmash-benefit-icon {
	display:flex;
}
.farmmash-benefits-list li .farmmash-benefit-icon svg{
	fill: #70449C;
	width:24px;
	height:24px;
}
.farmmash-benefits-list li .farmmash-benefit-text{
	color: #262626;
	font-family: "Montserrat", Sans-serif;
	font-size: 16px;
	font-weight: 500;
}
@media (max-width: 600px) {
	.farmmash-benefits-list li .farmmash-benefit-text {
		font-size:14px;
	}
}

/*[farmmash_compatible_products]*/
.farmmash-compatible-swiper-wrapper {
	position: relative;
	margin: 0 auto;
}
.farmmashCompatibleSwiper {
	width: 100%;
	overflow: hidden;
	padding: 6px 2px;
}
.farmmashCompatibleSwiper .swiper-slide {
	padding:5px 0;
	height: auto;
}
.farmmash-compatible-card {
	position: relative;
	background: #fff;
	border: 1px solid #dcdce2;
	border-radius: 12px;
	padding: 0;
	overflow: hidden;
	display: flex;
	align-items: center;
	gap: 16px;
	box-sizing: border-box;
	height: 100%;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.farmmash-compatible-card:hover {
	border-color: #70449c;
	box-shadow: 0 4px 14px rgba(112 68 156 / 0.1);
	transform: translateY(-2px);
}
.farmmash-card-overlay-link {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
}
.farmmash-card-image {
	width: 100px;
	height: 100px;
	flex-shrink: 0;
	padding:5px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.farmmash-card-image img {
	max-width: 100%;
	max-height: 100%;
	object-fit: cover;
}
.farmmash-card-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	padding: 12px 12px 12px 0;
}
.farmmash-card-title {
	font-family: "Montserrat", sans-serif;
	font-size: 14px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0;
	line-height: 1.3;
}
.farmmash-card-action {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: "Montserrat", sans-serif;
	font-size: 13px;
	font-weight: 500;
	color: #5f6368;
	transition: color 0.2s ease;
}

.farmmash-compatible-card > svg {
	position:absolute;
	bottom:12px;
	right:12px;
	transition: transform 0.2s ease;
}
.farmmash-compatible-card:hover > svg {
	transform: translateX(3px);
}

/* Outside Navigation Buttons */
.farmmash-swiper-button-wrapper {
	display:flex;
	align-items:center;
	gap:10px;
}
.farmmash-swiper-button-prev,
.farmmash-swiper-button-next {
	width: 36px;
	height: 36px;
	background: #fff;
	border: 1px solid #dcdce2;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #1a1a1a;
	cursor: pointer;
	z-index: 5;
	transition: all 0.2s ease;
	box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.farmmash-swiper-button-prev:hover,
.farmmash-swiper-button-next:hover {
	border-color: #6c5ce7;
	color: #6c5ce7;
	background: #fdfdfd;
}
.farmmash-swiper-button-prev.swiper-button-disabled,
.farmmash-swiper-button-next.swiper-button-disabled {
	opacity: 0.35;
	cursor: not-allowed;
	border-color: #e5e5e5;
	color: #aaa;
}

@media (max-width: 600px) {
	.farmmash-compatible-swiper-wrapper {
		/*padding: 0 36px;*/
	}
	.farmmash-swiper-button-prev,
	.farmmash-swiper-button-next {
		width: 24px;
		height: 24px;
		flex-shrink:0;
	}
	.farmmash-swiper-button-prev svg,
	.farmmash-swiper-button-next svg {
		width:16px;
		height:16px;
	}
	.farmmash-swiper-button-wrapper {
		gap:8px;
	}
}



/* Общая сетка */
.fm-system-components,
.fm-related-categories {
    display: grid;
    gap: 20px;
    width: 100%;
    font-family: "Montserrat", sans-serif;
}

.fm-system-components,
.fm-system-components *,
.fm-related-categories,
.fm-related-categories * {
    box-sizing: border-box;
}

.fm-system-components {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.fm-related-categories {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Общий вид карточек */
.fm-system-components .fm-system-component,
.fm-related-categories .fm-related-category {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    height: 100%;
    margin: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dcdce2;
    border-radius: 12px;
    color: #70449c;
    text-decoration: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.fm-system-components .fm-system-component:hover,
.fm-system-components .fm-system-component:focus-visible,
.fm-related-categories .fm-related-category:hover,
.fm-related-categories .fm-related-category:focus-visible {
    border-color: #70449c;
    box-shadow: 0 4px 14px rgba(112, 68, 156, 0.1);
    transform: translateY(-2px);
    color: #70449c;
}

.fm-system-components .fm-system-component:focus-visible,
.fm-related-categories .fm-related-category:focus-visible {
    outline: 2px solid #70449c;
    outline-offset: 3px;
}

/* Различия компоновки */
.fm-system-components .fm-system-component {
    flex-direction: column;
    padding: 16px;
    text-align: center;
}

.fm-related-categories .fm-related-category {
    justify-content: space-between;
    gap: 12px;
    min-height: 140px;
    padding: 16px 20px;
    text-align: left;
}

/* Изображения */
.fm-system-components .fm-system-component__image,
.fm-related-categories .fm-related-category__image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.fm-system-components .fm-system-component__image {
    width: 100%;
    aspect-ratio: 1;
    margin-bottom: 16px;
}

.fm-related-categories .fm-related-category__image {
    flex: 0 0 46%;
    height: 110px;
}

.fm-system-components .fm-system-component__image img,
.fm-related-categories .fm-related-category__image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Заголовки */
.fm-system-components .fm-system-component__title,
.fm-related-categories .fm-related-category__title {
    min-width: 0;
    margin: 0;
    padding: 0;
    color: inherit;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.25;
    overflow-wrap: anywhere;
	font-weight: 600;
}

.fm-system-components .fm-system-component__title {
    margin-bottom: 10px;
}

.fm-related-categories .fm-related-category__title {
    flex: 1 1 0;
	font-size: 16px;
}

/* Описания компонентов */
.fm-system-components .fm-system-component__description {
    margin-bottom: 16px;
    color: var(--e-global-color-text, #5f6368);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.fm-system-components .fm-system-component__description p {
    margin: 0 0 8px;
}

.fm-system-components .fm-system-component__description p:last-child {
    margin-bottom: 0;
}

/* View и стрелки */
.fm-system-components .fm-system-component__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    padding: 6px 4px;
    color: #70449c;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.fm-system-components .fm-system-component__link svg,
.fm-related-categories .fm-related-category__arrow {
    flex-shrink: 0;
    color: #70449c;
    transition: transform 0.2s ease;
}

.fm-related-categories .fm-related-category__arrow {
    position: absolute;
    right: 16px;
    bottom: 12px;
}

.fm-system-components .fm-system-component:hover
.fm-system-component__link svg,
.fm-related-categories .fm-related-category:hover
.fm-related-category__arrow {
    transform: translateX(3px);
}

/* Планшет */
@media (max-width: 1024px) {
    .fm-system-components,
    .fm-related-categories {
        gap: 16px;
    }

    .fm-system-components {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .fm-related-categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Мобильные */
@media (max-width: 767px) {
    .fm-system-components,
    .fm-related-categories {
        gap: 12px;
    }

    .fm-system-components {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fm-system-components .fm-system-component {
        padding: 12px;
    }
}

@media (max-width: 600px) {
    .fm-related-categories {
        grid-template-columns: 1fr;
    }

    .fm-related-categories .fm-related-category {
        min-height: 120px;
        padding: 12px 16px;
    }

    .fm-related-categories .fm-related-category__image {
        height: 96px;
    }

    .fm-related-categories .fm-related-category__title {
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .fm-system-components {
        grid-template-columns: 1fr;
    }
}

/* Уменьшение анимации по настройке устройства */
@media (prefers-reduced-motion: reduce) {
    .fm-system-components .fm-system-component,
    .fm-system-components .fm-system-component__link svg,
    .fm-related-categories .fm-related-category,
    .fm-related-categories .fm-related-category__arrow {
        transition: none;
        transform: none;
    }
}
/* General catalog: [farmmash_catalog_sidebar], [farmmash_catalog_categories]. */
.fm-catalog-sidebar,
.fm-catalog {
    --fm-catalog-accent: #70449c;
    --fm-catalog-border: #e8e5ed;
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    color: #262626;
    font-family: "Montserrat", sans-serif;
}

.fm-catalog-sidebar *,
.fm-catalog * { box-sizing: border-box; }

.fm-catalog-sidebar {
    padding: 22px 20px 12px;
    background: #fff;
    border: 1px solid var(--fm-catalog-border);
    border-radius: 10px;
}

.fm-catalog-sidebar .fm-catalog-sidebar__title {
    margin: 0 0 14px;
    padding: 0;
    color: #262626;
    font: 700 16px/1.4 "Montserrat", sans-serif;
}

.fm-catalog-sidebar .fm-catalog-sidebar__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.fm-catalog-sidebar .fm-catalog-sidebar__item {
    margin: 0;
    padding: 0;
    border: 0;
}

.fm-catalog-sidebar__panel > .fm-catalog-sidebar__list > .fm-catalog-sidebar__item + .fm-catalog-sidebar__item {
    border-top: 1px solid #f0edf3;
}

.fm-catalog-sidebar .fm-catalog-sidebar__branch {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.fm-catalog-sidebar .fm-catalog-sidebar__row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    color: var(--fm-catalog-accent);
    list-style: none;
}

.fm-catalog-sidebar summary.fm-catalog-sidebar__row { cursor: pointer; }
.fm-catalog-sidebar summary::-webkit-details-marker { display: none; }
.fm-catalog-sidebar summary::marker { content: ""; }

.fm-catalog-sidebar .fm-catalog-sidebar__link {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 6px;
    min-width: 0;
    padding: 12px 0;
    color: var(--fm-catalog-accent);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.fm-catalog-sidebar .fm-catalog-sidebar__link:hover,
.fm-catalog-sidebar .fm-catalog-sidebar__link[aria-current="page"] {
    color: #50306f;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.fm-catalog-sidebar .fm-catalog-sidebar__icon {
    display: flex;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    height: 36px;
    min-width: 32px;
}

.fm-catalog-sidebar .fm-catalog-sidebar__icon img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    object-fit: contain;
}

.fm-catalog-sidebar__chevron {
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    margin-right: 4px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(-45deg);
    transition: transform .2s ease;
}

.fm-catalog-sidebar__branch[open] > summary > .fm-catalog-sidebar__chevron {
    transform: rotate(45deg);
}

.fm-catalog-sidebar .fm-catalog-sidebar__list .fm-catalog-sidebar__list {
    margin: 0 0 12px 12px;
    padding-left: 24px;
   
}


.fm-catalog-sidebar__list .fm-catalog-sidebar__list .fm-catalog-sidebar__link { padding: 5px 0; }

.fm-catalog { container-type: inline-size; }

.fm-catalog .fm-catalog__search {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 440px;
    min-height: 48px;
    margin: 0 0 22px;
    padding: 0 14px;
    color: #97919f;
    background: #fff;
    border: 1px solid var(--fm-catalog-border);
    border-radius: 8px;
	margin-left: auto;
}

.fm-catalog__search > svg { flex-shrink: 0; }

.fm-catalog .fm-catalog__input {
    width: 100%;
    min-width: 0;
    height: 46px;
    margin: 0;
    padding: 0;
    color: #262626;
    background: transparent;
    border: 0;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    font: 400 13px/1.5 "Montserrat", sans-serif;
}

.fm-catalog__input::placeholder { color: #97919f; opacity: 1; }
.fm-catalog__search:focus-within { outline: 2px solid var(--fm-catalog-accent); outline-offset: 2px; }

.fm-catalog__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.fm-catalog__grid-columns-5 .fm-catalog__grid {
	 grid-template-columns: repeat(5, minmax(0, 1fr));
}
.fm-catalog__grid-columns-5 .fm-catalog .fm-catalog-card__title,
.fm-catalog__grid-columns-5 .fm-catalog .fm-catalog-card__description {
	text-align:center;
}
.fm-catalog__grid-columns-5 .fm-catalog-card__action {
	justify-content:center;
}
.fm-catalog .fm-catalog-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 16px;
    color: #262626;
    background: #fff;
    border: 1px solid var(--fm-catalog-border);
    border-radius: 10px;
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.fm-catalog .fm-catalog-card:hover {
    color: #262626;
    border-color: var(--fm-catalog-accent);
    box-shadow: 0 6px 20px rgb(112 68 156 / 9%);
    transform: translateY(-2px);
}

.fm-catalog-card__image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1.12;
}

.fm-catalog-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
}

.fm-catalog .fm-catalog-card__title {
    margin: 0;
    padding: 0;
    color: #262626;
    font: 700 16px/1.35 "Montserrat", sans-serif;
    overflow-wrap: anywhere;
}

.fm-catalog .fm-catalog-card__description {
    margin: 0;
    padding: 0;
    color: #5f6368;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.fm-catalog-card__action {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 6px;
    color: var(--fm-catalog-accent);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}

.fm-catalog-card__action svg { flex-shrink: 0; }
.fm-catalog .fm-catalog__empty { margin: 20px 0; color: #5f6368; font-size: 14px; }
.fm-catalog [hidden] { display: none !important; }
.fm-catalog a:focus-visible,
.fm-catalog-sidebar a:focus-visible,
.fm-catalog-sidebar summary:focus-visible { outline: 2px solid var(--fm-catalog-accent); outline-offset: 3px; }

/* Mobile catalog disclosure. Keep the desktop sidebar and category styles. */
.fm-catalog-sidebar .fm-catalog-sidebar__toggle { display: none; }

@media (max-width: 767px) {
    .fm-catalog-sidebar { padding: 0; overflow: visible; }

    .fm-catalog-sidebar .fm-catalog-sidebar__toggle {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        min-height: 56px;
        margin: 0;
        padding: 16px 18px;
        border: 0;
        border-radius: 9px;
        background: #f7f3fb;
        color: var(--fm-catalog-accent);
        box-shadow: none;
        font: 600 14px/1.5 "Montserrat", sans-serif;
        text-align: left;
        text-transform: none;
        letter-spacing: normal;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .fm-catalog-sidebar .fm-catalog-sidebar__toggle:hover { background: #f0e9f7; color: #50306f; }
    .fm-catalog-sidebar .fm-catalog-sidebar__toggle:focus-visible { outline: 2px solid var(--fm-catalog-accent); outline-offset: 3px; }
    .fm-catalog-sidebar__toggle-icon,
    .fm-catalog-sidebar__toggle-arrow { flex-shrink: 0; }
    .fm-catalog-sidebar__toggle-text { flex: 1; min-width: 0; overflow-wrap: anywhere; }
    .fm-catalog-sidebar__toggle-arrow { transition: transform .2s ease; }
    .fm-catalog-sidebar.is-open .fm-catalog-sidebar__toggle-arrow { transform: rotate(180deg); }
    .fm-catalog-sidebar.is-open .fm-catalog-sidebar__toggle { border-radius: 9px 9px 0 0; }
    .fm-catalog-sidebar .fm-catalog-sidebar__panel { display: none; padding: 20px 18px 8px; border-top: 1px solid var(--fm-catalog-border); }
    .fm-catalog-sidebar.is-open .fm-catalog-sidebar__panel { display: block; }
}

@container (max-width: 850px) {
    .fm-catalog__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@container (max-width: 640px) {
    .fm-catalog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .fm-catalog .fm-catalog-card { padding: 12px; }
    .fm-catalog .fm-catalog-card__title { font-size: 14px; }
}
@container (max-width: 340px) {
    .fm-catalog__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .fm-catalog .fm-catalog-card,
    .fm-catalog-sidebar__chevron,
    .fm-catalog-sidebar__toggle-arrow { transition: none; }
    .fm-catalog .fm-catalog-card:hover { transform: none; }
}

/* Direct subcategories: [farmmash_catalog_categories mode="children"]. */
.fm-catalog .fm-catalog__heading {
    margin: 0 0 18px;
    padding: 0;
    color: #262626;
    font: 600 20px/1.4 "Montserrat", sans-serif;
    overflow-wrap: anywhere;
}
.fm-catalog--children .fm-catalog__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}
.fm-catalog--children .fm-catalog-card { gap: 12px; padding: 14px; height: auto; min-height: 0; }
.fm-catalog--children .fm-catalog-card__image {
    position: relative;
    aspect-ratio: 1.4;
    flex: 0 0 auto;
}
.fm-catalog--children .fm-catalog-card__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* The photo box sets its own height; intrinsic/lazy-loaded image dimensions
   cannot stretch the grid. Reset height only for this shortcode's wrappers. */
.fm-catalog.fm-catalog--children,
.fm-catalog--children .fm-catalog__grid {
    height: auto;
    min-height: 0;
    align-content: start;
}
.elementor-widget-shortcode:has(.fm-catalog--children),
.elementor-shortcode:has(> .fm-catalog--children) {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 0;
    flex-grow: 0;
    align-self: flex-start;
}
.fm-catalog--children .fm-catalog-card__title { font-size: 14px; font-weight: 600; }
.fm-catalog--children .fm-catalog-card__action { padding-top: 2px; }
@container (max-width: 850px) {
    .fm-catalog--children .fm-catalog__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@container (max-width: 680px) {
    .fm-catalog--children .fm-catalog__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@container (max-width: 500px) {
    .fm-catalog--children .fm-catalog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .fm-catalog--children .fm-catalog-card { padding: 12px; }
}
@container (max-width: 300px) {
    .fm-catalog--children .fm-catalog__grid { grid-template-columns: 1fr; }
}
/* Mobile filters button: [farmmash_filters_toggle target="catalog-filters"]. */
.fm-filters-toggle,
.elementor-widget-shortcode:has(.fm-filters-toggle) {
    display: none;
}

@media (max-width: 767px) {
    .fm-filters-toggle.is-ready,
    .elementor-widget-shortcode:has(.fm-filters-toggle.is-ready) {
        display: block;
        width: 100%;
        min-width: 0;
    }

    .fm-filters-toggle .fm-filters-toggle__button {
        display: flex;
        align-items: center;
        gap: 12px;
        box-sizing: border-box;
        width: 100%;
        min-height: 56px;
        margin: 0;
        padding: 16px 18px;
        border: 1px solid #e8e5ed;
        border-radius: 10px;
        background: #f7f3fb;
        color: #70449c;
        box-shadow: none;
        font: 600 14px/1.5 "Montserrat", sans-serif;
        text-align: left;
        text-transform: none;
        letter-spacing: normal;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .fm-filters-toggle .fm-filters-toggle__button:hover {
        background: #f0e9f7;
        color: #50306f;
    }
    .fm-filters-toggle__icon,
    .fm-filters-toggle__arrow { flex-shrink: 0; }
    .fm-filters-toggle__icon circle { fill: #f7f3fb; }
    .fm-filters-toggle__button:hover .fm-filters-toggle__icon circle { fill: #f0e9f7; }
    .fm-filters-toggle__text { flex: 1; min-width: 0; overflow-wrap: anywhere; }
    .fm-filters-toggle__arrow { transition: transform .2s ease; }
    .fm-filters-toggle.is-open .fm-filters-toggle__arrow { transform: rotate(180deg); }
    .fm-filters-toggle .fm-filters-toggle__button:focus-visible {
        outline: 2px solid #70449c;
        outline-offset: 3px;
    }

    /* Preserve Elementor's original Grid/Flex display when expanded. */
    .fm-filters-panel.fm-filters-closed { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
    .fm-filters-toggle__arrow { transition: none; }
}
/* Compact fallback icons; category photographs keep their existing sizing. */
.fm-catalog .fm-catalog-card__image--icon {
    aspect-ratio: auto;
    height: 112px;
    flex: 0 0 auto;
}
.fm-catalog .fm-catalog-card__image--icon img {
    position: static;
    inset: auto;
    width: 80px;
    height: 80px;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
/* Related industry terms: [farmmash_applications]. */
.fm-applications {
    container-type: inline-size;
    width: 100%;
    min-width: 0;
    font-family: "Montserrat", sans-serif;
}
.fm-applications,
.fm-applications * { box-sizing: border-box; }
.fm-applications .fm-applications__heading {
    margin: 0 0 20px;
    padding: 0;
    color: #000;
    font: 700 22px/1.3 "Montserrat", sans-serif;
    overflow-wrap: anywhere;
}
.fm-applications__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
}
.fm-applications .fm-application {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-width: 0;
    min-height: 180px;
    margin: 0;
    padding: 20px 16px;
    background: #fff;
    border: 1px solid #e8e0ef;
    border-radius: 16px;
    color: #70449c;
    text-align: center;
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.fm-applications .fm-application:hover {
    color: #70449c;
    border-color: #a78abb;
    box-shadow: 0 4px 14px rgb(112 68 156 / 8%);
    transform: translateY(-2px);
}
.fm-applications .fm-application:focus-visible {
    outline: 2px solid #70449c;
    outline-offset: 3px;
}
.fm-applications .fm-application__icon {
    display: flex;
    flex: 0 0 64px;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 4px;
}
.fm-applications .fm-application__icon img {
    display: block;
    width: 64px;
    height: 64px;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    object-fit: contain;
}
.fm-applications .fm-application__title {
    margin: 0;
    padding: 0;
    color: #70449c;
    font: 600 18px/1.4 "Montserrat", sans-serif;
    overflow-wrap: anywhere;
}
.fm-applications .fm-application__description {
    margin: 0;
    padding: 0;
    color: var(--e-global-color-text, #262626);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
@container (max-width: 1400px) {
    .fm-applications__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@container (max-width: 800px) {
    .fm-applications__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@container (max-width: 480px) {
    .fm-applications__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .fm-applications .fm-application { transition: none; }
    .fm-applications .fm-application:hover { transform: none; }
}

/* Conditional headings for related content; rendered only with valid cards. */
.fm-related-block {
    width: 100%;
    min-width: 0;
}
.fm-related-block .fm-related-block__heading {
    margin: 0 0 20px;
    padding: 0;
    color: #000;
    font: 700 22px/1.3 "Montserrat", sans-serif;
    overflow-wrap: anywhere;
}
@media (max-width: 767px) {
    .fm-related-block .fm-related-block__heading,
    .fm-applications .fm-applications__heading {
        font-size: 18px;
    }
}
/* Conditional compatible products section, including its own heading/frame. */
.farmmash-compatible-swiper-wrapper.farmmash-compatible-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 24px;
    background: #fff;
    border: 1px solid #e9e2ee;
    border-radius: 14px;
    box-shadow: 0 0 5px -2px #b2aeb5;
}
.farmmash-compatible-block .farmmash-compatible-block__heading {
    margin: 0;
    padding: 0;
    color: #70449c;
    font: 700 20px/1.4 "Montserrat", sans-serif;
    overflow-wrap: anywhere;
}
.farmmash-compatible-block .farmmashCompatibleSwiper { min-width: 0; }
@media (max-width: 767px) {
    .farmmash-compatible-swiper-wrapper.farmmash-compatible-block { padding: 18px; }
    .farmmash-compatible-block .farmmash-compatible-block__heading { font-size: 18px; }
}
.farmmash-compatible-block__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-width: 0;
}
.farmmash-compatible-block__header .farmmash-compatible-block__heading {
    flex: 1;
    min-width: 0;
}
.farmmash-compatible-block__header .farmmash-swiper-button-wrapper {
    flex: 0 0 auto;
    margin-left: auto;
}
.farmmash-compatible-block .farmmash-swiper-button-prev,
.farmmash-compatible-block .farmmash-swiper-button-next {
    box-sizing: border-box;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    line-height: 1;
}
.farmmash-compatible-block .farmmash-swiper-button-prev:focus-visible,
.farmmash-compatible-block .farmmash-swiper-button-next:focus-visible {
    outline: 2px solid #70449c;
    outline-offset: 3px;
}
.farmmash-compatible-block .swiper-button-lock { display: none; }
.farmmash-benefits-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 24px;
    background: #fff;
    border: 1px solid #e9e2ee;
    border-radius: 14px;
    box-shadow: 0 0 5px -2px #b2aeb5;
}
.farmmash-benefits-box .farmmash-benefits-box__heading {
    margin: 0;
    padding: 0;
    color: #70449c;
    font: 700 20px/1.4 "Montserrat", sans-serif;
    overflow-wrap: anywhere;
}
.farmmash-benefits-box .farmmash-benefits-list li { margin: 0; padding: 0; min-width: 0; }
.farmmash-benefits-box .farmmash-benefit-icon { flex: 0 0 24px; }
.farmmash-benefits-box .farmmash-benefit-text { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 767px) {
    .farmmash-benefits-box { padding: 18px; }
    .farmmash-benefits-box .farmmash-benefits-box__heading { font-size: 18px; }
}
.farmmash-docs-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
    width: 100%;
	height:100%;
    min-width: 0;
    margin: 0;
    padding: 24px;
    background: #fff;
    border: 1px solid #e9e2ee;
    border-radius: 14px;
    box-shadow: 0 0 5px -2px #b2aeb5;
}
.farmmash-docs-box .farmmash-docs-box__heading {
    margin: 0;
    padding: 0;
    color: #70449c;
    font: 700 20px/1.4 "Montserrat", sans-serif;
    overflow-wrap: anywhere;
}
.farmmash-docs-box .farmmash-docs-list { min-width: 0; width: 100%; box-sizing: border-box; }
.farmmash-docs-box .farmmash-docs-list li { grid-template-columns: minmax(0, 55%) minmax(0, 1fr); }
.farmmash-docs-box .farmmash-docs-list li > span { min-width: 0; overflow-wrap: anywhere; }
.farmmash-docs-box .farmmash-docs-link svg { flex-shrink: 0; }
@media (max-width: 767px) {
    .farmmash-docs-box { padding: 18px; }
    .farmmash-docs-box .farmmash-docs-box__heading { font-size: 18px; }
}
@media (max-width: 480px) {
    .farmmash-docs-box .farmmash-docs-list li { grid-template-columns: minmax(0, 1fr); }
}
/* Elementor Grid: Documentation + Related Products.
   Keep the configured column proportions when documents exist. */
#fm-docs-related-grid:not(:has(.farmmash-docs-box)),
#fm-docs-related-grid:not(:has(.farmmash-docs-box)) > .e-con-inner {
    grid-template-columns: minmax(0, 1fr) !important;
}
#fm-docs-related-grid:not(:has(.farmmash-docs-box)) .fm-docs-slot {
    display: none !important;
}
#fm-docs-related-grid:not(:has(.farmmash-docs-box)) .fm-related-products-slot {
    grid-column: 1 / -1 !important;
    width: 100%;
    min-width: 0;
    justify-self: stretch;
}



/* FarmMash request popup */
.fm-request-popup{--fm-purple:#70449c;--fm-border:#e9e2ee;width:100%;min-width:0;box-sizing:border-box;background:#fff;border:1px solid var(--fm-border);border-radius:18px;padding:32px;gap:12px;font-family:Montserrat,sans-serif;color:#30263c;}
.fm-request-popup *,.fm-request-popup *::before,.fm-request-popup *::after{box-sizing:border-box;}
.fm-request-popup .elementor-widget{min-width:0;margin:0;}
.fm-request-popup .fm-request-heading .elementor-heading-title{margin:0;color:var(--fm-purple);font-family:Montserrat,sans-serif;font-size:28px;font-weight:700;line-height:1.25;}
.fm-request-popup .fm-request-intro p{margin:0;color:#706779;font-size:14px;line-height:1.65;}
.fm-request-popup .fm-request-context{margin:0;padding:10px 12px;border-radius:9px;background:#f7f3fb;color:#66516f;font-size:12px;line-height:1.5;overflow-wrap:anywhere;}
.fm-request-popup .fm-request-context strong{font-weight:600;}
.fm-request-popup [hidden],.fm-request-popup .elementor-widget-html:has(.fm-request-context[hidden]){display:none!important;}
.fm-request-popup .fm-request-form{margin-top:8px;}
.fm-request-popup .fm-request-form .elementor-form-fields-wrapper{display:flex;flex-wrap:wrap;margin:-7px;}
.fm-request-popup .fm-request-form .elementor-field-group{padding:7px;min-width:0;align-content:start;}
.fm-request-popup .fm-request-form .elementor-field-type-hidden{display:none;}
.fm-request-popup .fm-request-form .elementor-field-label{display:block;width:100%;padding-bottom:7px;color:#45354f;font-family:Montserrat,sans-serif;font-size:13px;font-weight:600;line-height:1.4;}
.fm-request-popup .fm-request-form .elementor-field-required .elementor-field-label:after{color:var(--fm-purple);}
.fm-request-popup .fm-request-form :is(input,textarea,select).elementor-field:not([type=checkbox]):not([type=radio]):not([type=hidden]){width:100%;min-height:46px;margin:0;padding:11px 13px;border:1px solid #e4dcea;border-radius:9px;background:#fcfbfe;color:#30263c;box-shadow:none;font:400 14px/1.5 Montserrat,sans-serif;}
.fm-request-popup .fm-request-form .elementor-field::placeholder{color:#a097a9;opacity:1;}
.fm-request-popup .fm-request-form :is(input,textarea,select).elementor-field:focus{outline:2px solid #a88bbb;outline-offset:1px;border-color:#a88bbb;background:#fff;}
.fm-request-popup .fm-request-form textarea.elementor-field{min-height:110px;resize:vertical;}
.fm-request-popup .fm-request-form .elementor-select-wrapper{width:100%;min-height:0;padding:0!important;border:0!important;border-radius:0;background:none!important;box-shadow:none!important;outline:none!important;}
.fm-request-popup .fm-request-form .elementor-select-wrapper:before,.fm-request-popup .fm-request-form .select-caret-down-wrapper{display:none;}
.fm-request-popup .fm-request-form select.elementor-field{appearance:none;-webkit-appearance:none;padding-right:42px!important;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2370449c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 14px center!important;background-size:18px!important;}
.fm-request-popup .fm-request-form select option{background:#fff;color:#30263c;}
.fm-request-popup .fm-request-form .elementor-field-type-submit{margin-top:4px;}
.fm-request-popup .fm-request-form .elementor-button{display:flex;justify-content:center;align-items:center;width:100%;min-height:48px;margin:0;padding:13px 20px;border:1px solid var(--fm-purple);border-radius:10px;background:var(--fm-purple);color:#fff;box-shadow:none;font:600 15px/1.4 Montserrat,sans-serif;cursor:pointer;transition:background .2s ease,border-color .2s ease;}
.fm-request-popup .fm-request-form .elementor-button:hover{background:#59347e;border-color:#59347e;color:#fff;}
.fm-request-popup .fm-request-form .elementor-button:focus-visible{outline:2px solid var(--fm-purple);outline-offset:3px;}
.fm-request-popup .fm-request-form .elementor-message{margin:14px 0 0;font-size:13px;line-height:1.5;}
.fm-request-popup .fm-request-form .elementor-message-success{color:#347148;}
@media(max-width:600px){.fm-request-popup{padding:24px 20px;border-radius:14px;}.fm-request-popup .fm-request-heading .elementor-heading-title{font-size:24px;}.fm-request-popup .fm-request-form .elementor-col-50{width:100%;}}
@media(prefers-reduced-motion:reduce){.fm-request-popup .fm-request-form .elementor-button{transition:none;}}

/* Blog category navigation: [farmmash_blog_categories]. */
.fm-blog-categories {
    --fm-blog-category-active: #8060a2;
    --fm-blog-category-border: #ece5f3;
    font-family: Montserrat, sans-serif;
}
.fm-blog-categories .fm-blog-categories__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.fm-blog-categories .fm-blog-categories__item { margin: 0; padding: 0; }
.fm-blog-categories .fm-blog-categories__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 8px 15px;
    border: 1px solid var(--fm-blog-category-border);
    border-radius: 15px;
    background: #fcf9ff;
    color: #13052b;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    text-align: center;
    overflow-wrap: anywhere;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.fm-blog-categories .fm-blog-categories__link:hover,
.fm-blog-categories .fm-blog-categories__link[aria-current="page"] {
    background: var(--fm-blog-category-active);
    border-color: var(--fm-blog-category-active);
    color: #fff;
}
.fm-blog-categories .fm-blog-categories__link:focus-visible {
    outline: 2px solid var(--fm-blog-category-active);
    outline-offset: 3px;
}
@media (max-width: 767px) {
    .fm-blog-categories .fm-blog-categories__list { gap: 10px; }
    .fm-blog-categories .fm-blog-categories__link { font-size: 14px; padding: 8px 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .fm-blog-categories .fm-blog-categories__link { transition: none; }
}
