/**
 * Estate Rental Manager
 * Rental information card
 */

.erm-rental-card {
	width: 100%;
	padding: 22px 24px;
	border: 1px solid rgba(25, 135, 55, 0.12);
	border-radius: 10px;
	background:
		linear-gradient(
			135deg,
			rgba(241, 249, 243, 0.98) 0%,
			rgba(247, 252, 248, 0.98) 100%
		);
	box-shadow:
		0 8px 24px rgba(20, 83, 45, 0.06);
	box-sizing: border-box;
}


/**
 * Posamezna vrstica
 */

.erm-rental-card-row {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}


/**
 * Ikona
 */

.erm-rental-icon {
	display: flex;
	flex: 0 0 22px;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	margin-top: 1px;
	color: #169447;
	font-size: 20px;
	line-height: 1;
}

.erm-rental-icon i {
	display: block;
	font-size: inherit;
	line-height: 1;
}

.erm-rental-icon .fas:before {
	color: #169447;
}


/**
 * Vsebina
 */

.erm-rental-content {
	flex: 1 1 auto;
	min-width: 0;
}


/**
 * Naslov statusa
 */

.erm-rental-title {
	margin: 0;
	color: #16833f;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}


/**
 * Opis
 */

.erm-rental-description {
	margin-top: 5px;
	color: #444a46;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
}


/**
 * Horizontalna črta
 */

.erm-rental-divider {
	width: calc(100% - 36px);
	height: 1px;
	margin: 15px 0 15px 36px;
	background-color: rgba(60, 75, 65, 0.16);
}


/**
 * Datum
 */

.erm-until {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.erm-until-label {
	display: block;
	color: #16833f;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.erm-until-date {
	display: block;
	color: #16833f;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
}


/**
 * Število dni do izteka
 */

.erm-days-left {
	padding-left: 36px;
	color: #444a46;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
}

.erm-days-left.erm-days-expired {
	color: #b42318;
	font-weight: 600;
}


/**
 * Različni statusi
 */

.erm-rental-card-available {
	border-color: rgba(107, 114, 128, 0.15);
	background: #f7f8f9;
}

.erm-rental-card-available .erm-rental-icon,
.erm-rental-card-available .erm-rental-title {
	color: #626a73;
}

.erm-rental-card-reserved {
	border-color: rgba(217, 139, 0, 0.18);
	background:
		linear-gradient(
			135deg,
			#fff9eb 0%,
			#fffdf7 100%
		);
}

.erm-rental-card-reserved .erm-rental-icon,
.erm-rental-card-reserved .erm-rental-title {
	color: #b66f00;
}


/**
 * Mobilni prikaz
 */

@media screen and (max-width: 767px) {

	.erm-rental-card {
		padding: 18px;
	}

	.erm-rental-card-row {
		gap: 12px;
	}

	.erm-rental-divider {
		width: calc(100% - 34px);
		margin-left: 34px;
	}

	.erm-days-left {
		padding-left: 34px;
	}

	.erm-until-date {
		font-size: 20px;
	}

}


/**
 * Estate Rental Manager
 * Single product image overlays
 */


/* Glavni vsebnik galerije */

.erm-single-product-gallery,
.woocommerce-product-gallery.erm-single-product-gallery,
.wd-gallery-images.erm-single-product-gallery {
	position: relative !important;
}


/* Vsebnik vseh značk */

.erm-single-product-overlays {
	position: absolute;
	inset: 0;
	z-index: 20;
	display: none;
	pointer-events: none;
}

.erm-single-product-overlays.erm-overlays-mounted {
	display: block;
}


/**
 * Zgornja značka statusa
 */

.erm-image-status-badge {
	position: absolute;
	top: 18px;
	left: 18px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 38px;
	padding: 8px 15px;
	border-radius: 8px;
	color: #ffffff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.01em;
	box-shadow: 0 5px 16px rgba(0, 0, 0, 0.18);
	box-sizing: border-box;
}


/* Oddano */

.erm-image-status-rented {
	/* background-color: #169447; */
	background-color: #f4faf5;
    border: 1px solid rgba(25, 135, 55, 0.12);
}


/* Rezervirano */

.erm-image-status-reserved {
	background-color: #d98b00;
}


/* Ikona statusa */

.erm-image-badge-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	font-size: 15px;
	line-height: 1;
}

.erm-image-badge-icon i,
.erm-image-badge-icon i::before,
.erm-image-badge-icon .fas::before,
.erm-image-badge-icon .fa-solid::before {
	color: #16833f !important;
}

.erm-image-badge-label {
	color: #16833f;
	line-height: 1;
	text-transform:uppercase;
}


/**
 * Spodnja značka datuma
 */

.erm-image-date-badge {
	position: absolute;
	bottom: 18px;
	left: 18px;
	display: flex;
	align-items: center;
	gap: 13px;
	/* min-width: 205px; */
	width:fit-content;
	padding: 13px 17px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 8px;
	background-color: rgba(22, 28, 24, 0.70);
	color: #ffffff;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.24);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	box-sizing: border-box;
}

/**
 * Samostojna ikona na levi
 */

.erm-image-date-icon {
	display: inline-flex;
	flex: 0 0 28px;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 34px;
	color: #c79238;
	font-size: 23px;
	line-height: 1;
}

.erm-image-date-icon i,
.erm-image-date-icon i::before,
.erm-image-date-icon .fas::before,
.erm-image-date-icon .fa-solid::before {
	color: #c79238 !important;
}


/**
 * Desni del z napisom in datumom
 */

.erm-image-date-content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
}

.erm-image-date-heading {
	display: block;
	margin: 0 0 4px;
	color: rgba(255, 255, 255, 0.82);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.045em;
	text-transform: uppercase;
}

.erm-image-date-value {
	display: block;
	color: #ffffff;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.15;
	white-space: nowrap;
}


/**
 * Mobilni prikaz
 */

@media screen and (max-width: 767px) {

	.erm-image-date-badge {
		bottom: 12px;
		left: 12px;
		gap: 10px;
		min-width: 175px;
		padding: 10px 13px;
	}

	.erm-image-date-icon {
		flex-basis: 24px;
		width: 24px;
		font-size: 20px;
	}

	.erm-image-date-heading {
		font-size: 11px;
	}

	.erm-image-date-value {
		font-size: 17px;
	}

}

@media screen and (max-width: 420px) {

	.erm-image-date-badge {
		right: auto;
		bottom: 9px;
		left: 9px;
		width: auto;
		min-width: 165px;
	}

}


/* Naslov datuma */

.erm-image-date-heading {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 5px;
	color: rgba(255, 255, 255, 0.85);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}


/* Ikona koledarja */

.erm-image-date-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	font-size: 30px;
	line-height: 1;
}

.erm-image-date-icon i,
.erm-image-date-icon i::before,
.erm-image-date-icon .fas::before,
.erm-image-date-icon .fa-solid::before {
	color: #ffffff !important;
}


/* Vrednost datuma */

.erm-image-date-value {
	color: #ffffff;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
}


/**
 * WoodMart popravki
 */

.single-product .erm-single-product-overlays *,
.single-product .erm-single-product-overlays *::before {
	box-sizing: border-box;
}

.single-product .erm-image-status-badge,
.single-product .erm-image-date-badge {
	transform: translateZ(0);
}


/**
 * Mobilni prikaz
 */

@media screen and (max-width: 767px) {

	.erm-image-status-badge {
		top: 12px;
		left: 12px;
		min-height: 34px;
		padding: 7px 12px;
		font-size: 13px;
	}

	.erm-image-date-badge {
		bottom: 12px;
		left: 12px;
		min-width: 155px;
		padding: 10px 13px;
	}

	.erm-image-date-heading {
		font-size: 11px;
	}

	.erm-image-date-value {
		font-size: 17px;
	}

}


/**
 * Zelo majhni zasloni
 */

@media screen and (max-width: 420px) {

	.erm-image-status-badge {
		top: 9px;
		left: 9px;
	}

	.erm-image-date-badge {
		right: 9px;
		bottom: 9px;
		left: 9px;
		width: fit-content;
		min-width: 0;
	}

}



/**
 * Estate Rental Manager
 * WoodMart Loop Item badge
 */

.erm-loop-image-container {
	position: relative !important;
	display: block;
	overflow: hidden;
	border-radius: inherit;
}

.erm-loop-image-container .erm-loop-rental-badge {
	position: absolute !important;
	right: 12px !important;
	bottom: 12px !important;
	z-index: 50 !important;

	display: inline-flex !important;
	align-items: center;
	gap: 7px;

	min-height: 34px;
	padding: 7px 12px;

	border-radius: 7px;
	/*background-color: #169447;
	color: #ffffff;*/
	background-color: #f4faf5;
    border: 1px solid rgba(25, 135, 55, 0.12);
	color: #169447;
	
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.01em;
	text-transform:uppercase;

	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);

	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;

	pointer-events: none;
	box-sizing: border-box;
	white-space: nowrap;
}

.erm-loop-rental-badge-icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;

	font-size: 13px;
	line-height: 1;
}

.erm-loop-rental-badge-icon i,
.erm-loop-rental-badge-icon i::before,
.erm-loop-rental-badge-icon .fas::before,
.erm-loop-rental-badge-icon .fa-solid::before {
	color: #169447; !important;
}

.erm-loop-rental-badge-label {
	color: #169447 !important;
	line-height: 1;
	white-space: nowrap;
}

/**
 * WoodMart hover zaščita
 */

.erm-loop-image-container:hover .erm-loop-rental-badge,
.wd-product:hover .erm-loop-rental-badge,
.product-grid-item:hover .erm-loop-rental-badge {
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
}

/**
 * Mobilni prikaz
 */

@media screen and (max-width: 767px) {

	.erm-loop-image-container .erm-loop-rental-badge {
		right: 8px !important;
		bottom: 8px !important;

		min-height: 30px;
		padding: 6px 10px;

		font-size: 12px;
	}

	.erm-loop-rental-badge-icon {
		font-size: 12px;
	}

}


/**
 * Estate Rental Manager
 * Homepage statistics cards
 */

.erm-home-stat-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 245px;
	padding: 30px 18px;
	color: #202123;
	text-align: center;
	box-sizing: border-box;
}


/**
 * Ikona
 */

.erm-home-stat-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 84px;
	height: 84px;
	margin-bottom: 20px;
	border: 2px solid #bf8d3e;
	border-radius: 50%;
	color: #bf8d3e;
	font-size: 40px;
	line-height: 1;
	box-sizing: border-box;
}

.erm-home-stat-icon i,
.erm-home-stat-icon i::before,
.erm-home-stat-icon .fas::before,
.erm-home-stat-icon .fa-solid::before {
	color: #bf8d3e !important;
}


/**
 * Glavna številka
 */

.erm-home-stat-value {
	margin: 0 0 10px;
	color: #202123;
	font-size: clamp(30px, 3vw, 44px);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.03em;
	white-space: nowrap;
}

.erm-home-stat-value .woocommerce-Price-amount,
.erm-home-stat-value .woocommerce-Price-currencySymbol {
	color: #202123;
	font: inherit;
}


/**
 * Besedilo pod številko
 */

.erm-home-stat-label {
	color: #202123;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.025em;
	text-transform: uppercase;
}


/**
 * Ločilna črta med stolpci
 *
 * Razred se doda na WoodMart stolpce oziroma lahko ostane
 * samo spodnja splošna nastavitev.
 */

.erm-home-stat-column {
	position: relative;
}

.erm-home-stat-column:not(:last-child)::after {
	position: absolute;
	top: 18%;
	right: 0;
	width: 1px;
	height: 64%;
	background-color: rgba(32, 33, 35, 0.14);
	content: "";
}


/**
 * Opcijsko poudarjena tretja kartica
 */

.erm-home-stat-card-highlight {
	border-radius: 14px;
	background:
		linear-gradient(
			135deg,
			rgba(191, 141, 62, 0.13) 0%,
			rgba(191, 141, 62, 0.04) 100%
		);
	box-shadow: 0 12px 30px rgba(32, 33, 35, 0.08);
}


/**
 * Mobilni prikaz
 */

@media screen and (max-width: 767px) {

	.erm-home-stat-card {
		min-height: 205px;
		padding: 25px 15px;
	}

	.erm-home-stat-icon {
		width: 84px;
		height: 84px;
		margin-bottom: 16px;
		font-size: 40px;
	}

	.erm-home-stat-value {
		font-size: 44px;
		white-space: normal;
	}

	.erm-home-stat-label {
		font-size: 15px;
	}

	.erm-home-stat-column::after {
		display: none;
	}

}


/* Cena na osebo */

.erm-price-per-person{
	font-size:22px!important;
	font-weight:400!important;
	color:#767676!important;
	line-height:1.5;
}

.erm-price-per-person .amount{
	font-weight:400!important;
	color:#767676!important;
}

.erm-price-per-person-label{
	color:#767676!important;
}