/* 2026.4: Attractive Boxes Elementor widget. */
.woodmart-modern-2026 .wd-attractive-boxes-2026 {
	--wd-attractive-columns: 3;
	--wd-attractive-gap: 18px;
	--wd-attractive-box-width: 280px;
	--wd-attractive-icon-box-size: 86px;
	--wd-attractive-icon-size: 28px;
	--wd-attractive-image-fit: contain;
	--wd-attractive-hover-lift: 4px;
}

.woodmart-modern-2026 .wd-attractive-boxes-grid {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wd-attractive-gap);
	align-items: stretch;
	width: 100%;
}

.woodmart-modern-2026 .wd-attractive-layout-fill .wd-attractive-box {
	flex: 1 1 calc((100% - (var(--wd-attractive-gap) * (var(--wd-attractive-columns) - 1))) / var(--wd-attractive-columns));
	max-width: 100%;
}

.woodmart-modern-2026 .wd-attractive-layout-fit .wd-attractive-box {
	flex: 0 1 var(--wd-attractive-box-width);
	max-width: 100%;
}

.woodmart-modern-2026 .wd-attractive-box {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
	min-height: 138px;
	padding: 22px;
	border: 1px solid rgba(0, 0, 0, .08);
	border-radius: 20px;
	background: #fff;
	color: inherit;
	text-decoration: none;
	overflow: hidden;
	isolation: isolate;
	transition: transform .25s ease, border-color .25s ease, background-color .25s ease, box-shadow .25s ease, color .25s ease;
}

.woodmart-modern-2026 a.wd-attractive-box:hover {
	color: inherit;
	text-decoration: none;
}

.woodmart-modern-2026 .wd-attractive-box:hover {
	transform: translateY(calc(var(--wd-attractive-hover-lift) * -1));
}

.woodmart-modern-2026 .wd-attractive-media {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 var(--wd-attractive-icon-box-size);
	width: var(--wd-attractive-icon-box-size);
	height: var(--wd-attractive-icon-box-size);
	border-radius: 18px;
	background: rgba(36, 36, 36, .06);
	color: var(--wd-primary-color, #83b735);
	transition: transform .25s ease, background-color .25s ease, color .25s ease;
}

.woodmart-modern-2026 .wd-attractive-box:hover .wd-attractive-media {
	transform: scale(1.04);
}

.woodmart-modern-2026 .wd-attractive-icon,
.woodmart-modern-2026 .wd-attractive-icon :where(i, svg) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--wd-attractive-icon-size);
	height: var(--wd-attractive-icon-size);
	font-size: var(--wd-attractive-icon-size);
	line-height: 1;
}

.woodmart-modern-2026 .wd-attractive-icon svg {
	max-width: 100%;
	max-height: 100%;
	fill: currentColor;
}

.woodmart-modern-2026 .wd-attractive-media-image img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: var(--wd-attractive-image-fit, contain);
}

.woodmart-modern-2026 .wd-attractive-content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 7px;
	min-width: 0;
}

.woodmart-modern-2026 .wd-attractive-title {
	display: block;
	color: var(--color-gray-900, #242424);
	font-weight: 800;
	font-size: 16px;
	line-height: 1.45;
	transition: color .25s ease;
}

.woodmart-modern-2026 .wd-attractive-desc {
	display: block;
	color: var(--color-gray-600, #777);
	font-size: 13.5px;
	line-height: 1.75;
	transition: color .25s ease;
}

.woodmart-modern-2026 .wd-attractive-template-soft .wd-attractive-box {
	background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,248,248,.96));
	box-shadow: 0 10px 28px rgba(0, 0, 0, .06);
}

.woodmart-modern-2026 .wd-attractive-template-soft .wd-attractive-box:before {
	content: "";
	position: absolute;
	top: -42px;
	inset-inline-end: -42px;
	z-index: -1;
	width: 110px;
	height: 110px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--wd-primary-color, #83b735) 14%, transparent);
	transition: transform .25s ease, opacity .25s ease;
}

.woodmart-modern-2026 .wd-attractive-template-soft .wd-attractive-box:hover:before {
	transform: scale(1.18);
	opacity: .95;
}

.woodmart-modern-2026 .wd-attractive-template-elevated .wd-attractive-box {
	border-color: rgba(255,255,255,.7);
	background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(245,245,245,.88));
	box-shadow: 0 18px 45px rgba(0,0,0,.10);
	backdrop-filter: blur(8px);
}

.woodmart-modern-2026 .wd-attractive-template-elevated .wd-attractive-box:after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(135deg, color-mix(in srgb, var(--wd-primary-color, #83b735) 16%, transparent), transparent 45%);
	opacity: .75;
	transition: opacity .25s ease;
}

.woodmart-modern-2026 .wd-attractive-template-elevated .wd-attractive-box:hover:after {
	opacity: 1;
}

.woodmart-modern-2026 .wd-attractive-template-elevated .wd-attractive-media {
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.55), 0 8px 18px rgba(0,0,0,.08);
}

.woodmart-modern-2026 .wd-attractive-template-split .wd-attractive-box {
	flex-direction: row;
	align-items: center;
	min-height: 116px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(0,0,0,.055);
}

.woodmart-modern-2026 .wd-attractive-template-split .wd-attractive-content {
	flex: 1 1 auto;
}

.woodmart-modern-2026 .wd-attractive-arrow {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	border-radius: 999px;
	background: rgba(0,0,0,.045);
	transition: transform .25s ease, background-color .25s ease;
}

.woodmart-modern-2026 .wd-attractive-arrow:before {
	content: "";
	width: 8px;
	height: 8px;
	border-top: 2px solid currentColor;
	border-left: 2px solid currentColor;
	transform: rotate(-45deg);
}

.woodmart-modern-2026 .wd-attractive-box:hover .wd-attractive-arrow {
	background: color-mix(in srgb, var(--wd-primary-color, #83b735) 15%, transparent);
	transform: translateX(-3px);
}

@supports not (color: color-mix(in srgb, #000 10%, transparent)) {
	.woodmart-modern-2026 .wd-attractive-template-soft .wd-attractive-box:before,
	.woodmart-modern-2026 .wd-attractive-template-elevated .wd-attractive-box:after,
	.woodmart-modern-2026 .wd-attractive-box:hover .wd-attractive-arrow {
		background: rgba(131, 183, 53, .12);
	}
}

@media (max-width: 767px) {
	.woodmart-modern-2026 .wd-attractive-layout-fill .wd-attractive-box {
		flex-basis: calc((100% - (var(--wd-attractive-gap) * (var(--wd-attractive-columns) - 1))) / var(--wd-attractive-columns));
	}
}

/* 2026.6: Attractive Boxes larger media, square cards and true responsive columns. */
.woodmart-modern-2026 .wd-attractive-shape-square .wd-attractive-box {
	aspect-ratio: 1 / 1;
	min-height: 0;
}

.woodmart-modern-2026 .wd-attractive-shape-square .wd-attractive-template-split .wd-attractive-box,
.woodmart-modern-2026 .wd-attractive-template-split.wd-attractive-shape-square .wd-attractive-box {
	flex-direction: column;
	align-items: center;
}

.woodmart-modern-2026 .wd-attractive-media-image {
	overflow: hidden;
}

@media (max-width: 767px) {
	.woodmart-modern-2026 .wd-attractive-shape-square .wd-attractive-box {
		aspect-ratio: 1 / 1;
	}
}
