/* =========================================
   CROP CATEGORY
========================================= */

.crop-category-page {
	--crop-green: #174b35;
	--crop-green-dark: #0c3524;
	--crop-light: #f4f7f1;
	--crop-text: #26352c;
	--crop-muted: #718078;
	background: #ffffff;
}

.crop-category-container {
	width: min(1320px, calc(100% - 40px));
	margin: 0 auto;
	    padding-bottom: 35px;
}


/* =========================================
   HEADING
========================================= */

.crop-category-heading {
	max-width: 750px;
	margin: 0 auto 55px;
	text-align: center;
}


.crop_card_title {
    font-size: 30px !important;
    line-height: 35px !important;
    font-weight: 600;
	margin-bottom:10px;
}
.crop-category-heading > span {
	display: block;
	margin-bottom: 12px;
	color: var(--crop-green);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.crop-category-heading h1 {
	margin: 0 0 18px;
	color: var(--crop-green-dark);
	font-size: clamp(38px, 5vw, 60px);
	font-weight: 500;
	line-height: 1.1;
}

.crop-category-description {
	color: var(--crop-muted);
	font-size: 15px;
	line-height: 1.8;
}


/* =========================================
   CARDS
========================================= */
.crop-simple-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
}

.crop-simple-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dce5dc;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border-radius: 15px
}

.crop-simple-image {
	overflow: hidden;
	width: 100%;
	aspect-ratio: 1 / 0.82;
	background: var(--crop-light);
	padding:20px;
}

.crop-simple-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 0.6s ease;
}

.crop-simple-content {padding:20px;}
/* =========================================
   NO RESULTS
========================================= */

.crop-no-results {
	padding: 70px 20px;
	background: var(--crop-light);
	text-align: center;
}

.crop-no-results h2 {
	margin-bottom: 10px;
	color: var(--crop-green-dark);
}

.crop-no-results p {
	color: var(--crop-muted);
}


/* =========================================
   POPUP
========================================= */

.crop-popup {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 25px;
	visibility: hidden;
	opacity: 0;
	transition:
		opacity 0.3s ease,
		visibility 0.3s ease;
}

.crop-popup.is-open {
	visibility: visible;
	opacity: 1;
}

/* =========================================
   OVERLAY
========================================= */

.crop-popup-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.58);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
}


/* =========================================
   POPUP BOX
========================================= */

.crop-popup-box {
	position: relative;
	z-index: 2;
	width: min(800px, 100%);
	max-height: calc(100vh - 50px)
	overflow-y: auto;
	overflow-x: hidden;
	padding: 42px;
	background: #ffffff;
	border-radius: 7px;
	box-shadow:
		0 30px 80px rgba(0, 0, 0, 0.25);
	transform: translateY(25px) scale(0.97);
	transition: transform 0.3s ease;

	/*
	 * Better touch scrolling on mobile.
	 */
	-webkit-overflow-scrolling: touch;

	/*
	 * Prevent scroll chaining to background.
	 */
	overscroll-behavior: contain;
}

.crop-popup.is-open .crop-popup-box {
	transform: translateY(0) scale(1);
}


/* =========================================
   POPUP CONTENT
========================================= */

.crop-popup-content {
	padding: 25px;
	border: 1px solid var(--crop-green);
	border-radius: 9px;
}

.crop-popup-inner {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	align-items: start;
	gap: 35px;
}


/* =========================================
   POPUP IMAGE
========================================= */

.crop-popup-image {
	display: flex;
	align-items: center;
	justify-content: center;
}

.crop-popup-image img {
	display: block;
	width: 100%;
	max-width: 350px;
	height: auto;
	max-height: 350px;
	object-fit: contain;
	margin: 0 auto;
}


/* =========================================
   POPUP TEXT
========================================= */

.crop-popup-text {
	color: var(--crop-text);
	font-size: 15px;
	line-height: 1.75;
}

.crop-popup-text h2 {
	margin: 0 0 20px;
	color: var(--crop-green-dark);
	font-size: 38px;
	font-weight: 500;
	line-height: 1.15;
}

.crop-popup-text p {
	margin-top: 0;
	margin-bottom: 18px;
}

.crop-popup-text h3,
.crop-popup-text h4 {
	margin-top: 25px;
	margin-bottom: 8px;
	color: var(--crop-green-dark);
	font-size: 16px;
}


/* =========================================
   BODY SCROLL LOCK
========================================= */

html.crop-popup-open,
body.crop-popup-open {
	overflow: hidden !important;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 900px) {

	.crop-popup {
		padding: 15px;
	}

	.crop-popup-box {
		max-height: calc(100vh - 30px);
		padding: 35px 25px 25px;
	}

	.crop-popup-inner {
		grid-template-columns: 1fr;
		gap: 25px;
	}

	.crop-popup-image img {
		max-width: 260px;
		max-height: 240px;
	}
}


@media (max-width: 600px) {

	.crop-popup {
		padding: 10px;
	}

	.crop-popup-box {
		width: 100%;
		max-height: calc(100vh - 20px);
		padding: 30px 12px 15px;
		border-radius: 7px;
	}

	.crop-popup-content {
		padding: 18px;
	}

	.crop-popup-text h2 {
		font-size: 31px;
	}

	.crop-popup-text {
		font-size: 14px;
	}

	.crop-popup-image img {
		max-width: 100%;
		max-height: 250px;
	}
}

.crop-popup-close {
	position: absolute;
	top: 15px;
	right: 15px;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid rgba(23, 75, 53, 0.15);
	border-radius: 50%;
	background: #ffffff;
	color: #174b35;
	font-family: Arial, sans-serif;
	font-size: 28px;
	font-weight: 300;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
	transition:
		background 0.25s ease,
		color 0.25s ease,
		transform 0.25s ease,
		box-shadow 0.25s ease;
}


/* Hover */
.crop-popup-close:hover {
	background: #174b35;
	color: #ffffff;
	transform: rotate(90deg);
	box-shadow: 0 8px 25px rgba(23, 75, 53, 0.2);
}


/* Focus */

.crop-popup-close:focus {
	outline: none;
	box-shadow:
		0 0 0 3px rgba(23, 75, 53, 0.15),
		0 5px 20px rgba(0, 0, 0, 0.08);
}


/* Mobile */

@media (max-width: 600px) {

	.crop-popup-close {
		top: 10px;
		right: 10px;
		width: 38px;
		height: 38px;
		font-size: 25px;
	}

}



/* Tablet - 3 columns */
@media (max-width: 1024px) {
    .crop-simple-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

/* Mobile - 2 columns */
@media (max-width: 767px) {
    .crop-simple-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
	.crop-view-text {font-size:15px;}
	.crop_card_title {
    font-size: 20px !important;
    line-height: 25px !important;
    font-weight: 600;
    margin-bottom: 10px;
}
}