/* ===================================================
   WoodMart Widgets v1.1 — Image Rotator (Stacked Pills)
   =================================================== */

.wdwgt-rotator-wrap {
	position: relative;
	width: 100%;
	overflow: visible;
	/* Clip upward exit animation at the widget's top edge,
	   while allowing the stacked pills to overflow downward */
	clip-path: inset(0 -60px -500px -60px);
}

/* الـ stack — يحتوي على الـ pills المكدّسة */
.wdwgt-stack {
	position: relative;
	width: 100%;
	height: 260px;     /* fallback — بيتحكم فيه Elementor slider */
	overflow: visible; /* علشان الـ pills تظهر تحت */
}

/* كل صورة في شكل pill */
.wdwgt-pill {
	position: absolute;
	inset: 0;
	border-radius: 999px; /* full pill — بيتحكم فيه Elementor */
	overflow: hidden;
	transform-origin: center center;
	will-change: transform, opacity;
}

.wdwgt-pill img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	pointer-events: none;
	user-select: none;
}

/* ---- Dots ---- */
.wdwgt-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 14px;
	/* JS بيضبط margin-top ديناميكياً حسب ارتفاع الـ stack */
}

.wdwgt-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #ccc;
	cursor: pointer;
	transition: background .3s, transform .3s;
}

.wdwgt-dot.active {
	background: #1a1a1a;
	transform: scale(1.35);
}


/* ===================================================
   WoodMart Widgets v1.1 — Service Box
   =================================================== */

.wdwgt-service-box {
	position: relative;        /* لازم للـ SVG */
	background: #fde8d8;
	border-radius: 20px;
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	height: 100%;
	will-change: transform;
	/* لا CSS hover — كله بيتحكم فيه GSAP */
}

/* ---- SVG border draw overlay ---- */
.wdwgt-sb-border {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	overflow: visible;
}

.wdwgt-sb-border-rect {
	fill: none;
	stroke: #1a1a1a;
	stroke-width: 2;
	/* stroke-dasharray + dashoffset يتحكم فيهم GSAP */
}

/* ---- Title ---- */
.wdwgt-sb-title {
	font-size: 26px;
	font-weight: 700;
	line-height: 1.2;
	color: #1a1a1a;
	margin: 0;
}

/* ---- Description ---- */
.wdwgt-sb-desc {
	font-size: 15px;
	color: #555555;
	line-height: 1.6;
	margin: 0;
}

/* ---- Tags ---- */
.wdwgt-sb-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 4px;
}

.wdwgt-sb-tag {
	display: inline-block;
	background: #f5c9a8;
	color: #1a1a1a;
	font-size: 13px;
	font-weight: 500;
	padding: 6px 14px;
	border-radius: 30px;
	text-decoration: none;
	transition: background .25s, transform .25s, color .25s;
}

a.wdwgt-sb-tag:hover {
	background: #1a1a1a;
	color: #fff;
	transform: scale(1.05);
}

/* ---- Footer / Explore ---- */
.wdwgt-sb-footer {
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid rgba(0, 0, 0, .1);
}

.wdwgt-sb-explore {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 16px;
	font-weight: 600;
	color: #1a1a1a;
	text-decoration: none;
}

.wdwgt-sb-explore-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: #1a1a1a;
	color: #fff;
	border-radius: 50%;
	font-size: 16px;
	flex-shrink: 0;
	transition: transform .35s cubic-bezier(.4, 0, .2, 1),
	            background .35s;
}

.wdwgt-sb-explore:hover .wdwgt-sb-explore-arrow {
	transform: translateX(6px);
	background: #333;
}


/* ===================================================
   WoodMart Widgets v1.2 — Fan Slider
   =================================================== */

.wdwgt-fs-wrap {
	position: relative;
	width: 100%;
	user-select: none;
}

/* Stage clips the overflow so only visible cards show */
.wdwgt-fs-stage {
	position: relative;
	width: 100%;
	overflow: hidden;
	cursor: grab;
}
.wdwgt-fs-stage:active { cursor: grabbing; }

/* Each card — GPU only, no top/left layout props */
.wdwgt-fs-card {
	position: absolute;
	top: 0;
	width: 260px;    /* overridden by Elementor slider */
	height: 340px;   /* overridden by Elementor slider */
	border-radius: 20px;
	overflow: hidden;
	will-change: transform, opacity;
	transform-origin: center center;
	display: block;
	text-decoration: none;
	background: #f0f0f0; /* fallback for transparent PNGs */
}

.wdwgt-fs-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	pointer-events: none;
}

/* Stage height matches card height */
.wdwgt-fs-stage {
	height: 340px; /* JS matches this to the actual card height */
}

/* ---- Arrows ---- */
.wdwgt-fs-arrows {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-top: 20px;
}

.wdwgt-fs-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1.5px solid #1a1a1a;
	border-radius: 50%;
	background: transparent;
	color: #1a1a1a;
	cursor: pointer;
	transition: background .25s, color .25s, transform .25s cubic-bezier(.4,0,.2,1);
	padding: 0;
}

.wdwgt-fs-btn svg {
	width: 18px;
	height: 18px;
}

.wdwgt-fs-btn:hover {
	background: #1a1a1a;
	color: #fff;
	transform: scale(1.08);
}

/* ---- Dots ---- */
.wdwgt-fs-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 16px;
}

.wdwgt-fs-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #ccc;
	border: none;
	cursor: pointer;
	padding: 0;
	transition: background .3s, transform .3s;
}

.wdwgt-fs-dot.active {
	background: #1a1a1a;
	transform: scale(1.35);
}


/* ===================================================
   WoodMart Widgets — Service Image Card
   =================================================== */

.wdwgt-si-wrap {
	width: 100%;
	will-change: transform;
}

/* Card — the full container */
.wdwgt-si-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	height: 480px;        /* fallback — overridden by Elementor slider */
	border-radius: 24px;
	overflow: hidden;
	will-change: transform, box-shadow;
}

/* Background image — covers the full card */
.wdwgt-si-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	will-change: transform;
	transition: transform 0.6s cubic-bezier(.4, 0, .2, 1);
}

/* Gradient overlay — dark at bottom, transparent at top */
.wdwgt-si-overlay {
	position: absolute;
	inset: 0;
	--si-ov: #000;
	--si-op: 0.85;
	background: linear-gradient(
		to top,
		color-mix(in srgb, var(--si-ov) calc(var(--si-op) * 100%), transparent) 0%,
		color-mix(in srgb, var(--si-ov) 30%, transparent)                        45%,
		transparent                                                                100%
	);
	pointer-events: none;
}

/* Fallback for browsers without color-mix (Firefox < 113) */
@supports not (color: color-mix(in srgb, red 50%, blue)) {
	.wdwgt-si-overlay {
		background: linear-gradient(
			to top,
			rgba(0, 0, 0, .85) 0%,
			rgba(0, 0, 0, .25) 50%,
			transparent       100%
		);
	}
}

/* Content block — sits on top of the gradient */
.wdwgt-si-body {
	position: relative;
	z-index: 2;
	padding: 20px 20px 14px;
}

/* Title */
.wdwgt-si-title {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
	margin: 0 0 8px;
}

/* Description */
.wdwgt-si-desc {
	font-size: 14px;
	color: rgba(255, 255, 255, .80);
	line-height: 1.55;
	margin: 0 0 14px;
}

/* Tags row — display:block so inline tags honour parent text-align */
.wdwgt-si-tags {
	display: block;
}

.wdwgt-si-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(255, 255, 255, .15);
	color: #fff;
	font-size: 12px;
	font-weight: 500;
	padding: 5px 12px;
	border-radius: 20px;
	border: 1px solid rgba(255, 255, 255, .25);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	/* spacing between tags — logical props work in both LTR & RTL */
	margin-inline-end: 8px;
	margin-block-end: 8px;
}

.wdwgt-si-tag i,
.wdwgt-si-tag svg {
	font-size: 11px;
	width: 12px;
	height: 12px;
}

/* CTA Button — full-width at the very bottom */
.wdwgt-si-btn {
	position: relative;
	z-index: 2;
	display: block;
	text-align: center;
	background: rgba(255, 255, 255, .92);
	color: #1a1a1a;
	font-size: 15px;
	font-weight: 600;
	padding: 16px 20px;
	text-decoration: none;
	letter-spacing: 0.01em;
	transition: background .25s ease;
	/* No border-radius — card's overflow:hidden handles corners */
}

.wdwgt-si-btn:hover {
	background: #fff;
	color: #1a1a1a;
}


/* ===================================================
   WoodMart Widgets v1.2 — Curved Carousel 3D
   =================================================== */

.wdwgt-cc-wrap {
	position: relative;
	width: 100%;
	user-select: none;
}

/* Stage — clips side overflow, preserves 3D per-card */
.wdwgt-cc-stage {
	position: relative;
	width: 100%;
	overflow: hidden;
	cursor: grab;
	height: 430px; /* JS overrides with cardH + arc */
}
.wdwgt-cc-stage:active { cursor: grabbing; }

/* Each card — GPU: transform(X/Y/Z/rotateY/scale) + opacity */
.wdwgt-cc-card {
	position: absolute;
	top: 0;
	width: 280px;   /* overridden by Elementor slider */
	height: 380px;  /* overridden by Elementor slider */
	border-radius: 20px;
	overflow: hidden;
	will-change: transform, opacity;
	transform-origin: center top; /* arc drops from top */
	display: block;
	text-decoration: none;
	background: #f0f0f0;
}

.wdwgt-cc-card img,
.wdwgt-cc-card video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	pointer-events: none;
}

/* ---- Arrows ---- */
.wdwgt-cc-arrows {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-top: 20px;
}

.wdwgt-cc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1.5px solid #1a1a1a;
	border-radius: 50%;
	background: transparent;
	color: #1a1a1a;
	cursor: pointer;
	transition: background .25s, color .25s, transform .25s cubic-bezier(.4,0,.2,1);
	padding: 0;
}
.wdwgt-cc-btn svg { width: 18px; height: 18px; }
.wdwgt-cc-btn:hover {
	background: #1a1a1a;
	color: #fff;
	transform: scale(1.08);
}

/* ---- Dots ---- */
.wdwgt-cc-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 16px;
}

.wdwgt-cc-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #ccc;
	border: none;
	cursor: pointer;
	padding: 0;
	transition: background .3s, transform .3s;
}
.wdwgt-cc-dot.active {
	background: #1a1a1a;
	transform: scale(1.35);
}


/* ===================================================
   WoodMart Widgets v1.2 — Text Animator
   =================================================== */

.wdwgt-ta-wrap {
	display: block;
	overflow: visible;
}

.wdwgt-ta-text {
	margin: 0;
	display: block;
}

/* Mask container (created by JS for Masked Reveal) */
.wdwgt-ta-wrap [style*="overflow:hidden"] {
	line-height: inherit !important;
}

/* Split chars/words — GPU: transform + opacity only */
.wdwgt-ta-wrap .word,
.wdwgt-ta-wrap .char,
.wdwgt-ta-wrap .line {
	display: inline-block;
	will-change: transform, opacity;
}

/* Lines must stay block-level for layout */
.wdwgt-ta-wrap .line {
	display: block;
}

/* ---- Typewriter cursor ---- */
.wdwgt-ta-cursor {
	display: inline-block;
	margin-left: 2px;
	color: #1a1a1a;
	font-weight: 400;
	will-change: opacity;
}

/* RTL cursor position */
[dir="rtl"] .wdwgt-ta-cursor,
.wdwgt-ta-wrap[dir="rtl"] .wdwgt-ta-cursor {
	margin-left: 0;
	margin-right: 2px;
}

/* Two-color spans — inline so they sit on the same line */
.wdwgt-ta-c1,
.wdwgt-ta-c2 {
	display: inline;
	color: inherit;
}

/* Typewriter — static + typed sit side by side */
.wdwgt-ta-static,
.wdwgt-ta-typed {
	display: inline;
	color: inherit;
}


/* ===================================================
   WoodMart Widgets — Service Box Modern
   =================================================== */

.wdwgt-sbm-wrap {
	width: 100%;
}

/* ── Card ── */
.wdwgt-sbm-card {
	--sbm-glow: #6366f1;
	position: relative;
	background: #111827;
	border: 1px solid #1f2937;
	border-radius: 16px;
	padding: 28px;
	overflow: hidden;
	transition:
		transform 0.35s cubic-bezier(.4, 0, .2, 1),
		border-color 0.35s ease,
		box-shadow 0.35s ease;
	will-change: transform, box-shadow;
}

/* Glow effect on hover */
.wdwgt-sbm-card.wdwgt-sbm--glow:hover {
	transform: translateY(-6px);
	border-color: color-mix(in srgb, var(--sbm-glow) 55%, transparent);
	box-shadow:
		0 0 0 1px color-mix(in srgb, var(--sbm-glow) 25%, transparent),
		0 20px 60px -12px color-mix(in srgb, var(--sbm-glow) 30%, transparent),
		0 8px 24px -4px rgba(0, 0, 0, .45);
}

/* Fallback for browsers without color-mix */
@supports not (color: color-mix(in srgb, red 50%, blue)) {
	.wdwgt-sbm-card.wdwgt-sbm--glow:hover {
		border-color: rgba(99, 102, 241, .55);
		box-shadow:
			0 0 0 1px rgba(99, 102, 241, .25),
			0 20px 60px -12px rgba(99, 102, 241, .30),
			0 8px 24px -4px rgba(0, 0, 0, .45);
	}
}

/* Subtle top-edge shimmer line on hover */
.wdwgt-sbm-card.wdwgt-sbm--glow::before {
	content: '';
	position: absolute;
	inset-inline: 0;
	top: 0;
	height: 1px;
	background: linear-gradient(
		90deg,
		transparent,
		color-mix(in srgb, var(--sbm-glow) 70%, transparent),
		transparent
	);
	opacity: 0;
	transition: opacity 0.35s ease;
}
.wdwgt-sbm-card.wdwgt-sbm--glow:hover::before {
	opacity: 1;
}

/* ── Body (text block) ── */
.wdwgt-sbm-body {
	position: relative;
	z-index: 1;
}

/* ── Icon box ── */
.wdwgt-sbm-icon-box {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	background: #312e81;
	border-radius: 14px;
	margin-bottom: 20px;
	transition: transform 0.3s cubic-bezier(.4, 0, .2, 1);
	flex-shrink: 0;
}

.wdwgt-sbm-card:hover .wdwgt-sbm-icon-box {
	transform: scale(1.08) rotate(-3deg);
}

.wdwgt-sbm-icon-box i,
.wdwgt-sbm-icon-box svg {
	font-size: 26px;
	width: 26px;
	height: 26px;
	color: #818cf8;
	fill: #818cf8;
	display: block;
}

/* ── Title ── */
.wdwgt-sbm-title {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
	color: #f9fafb;
	margin: 0 0 10px;
}

/* ── Description ── */
.wdwgt-sbm-desc {
	font-size: 14px;
	line-height: 1.65;
	color: #9ca3af;
	margin: 0 0 20px;
}

/* ── Tags — inline so they follow text-align ── */
.wdwgt-sbm-tags {
	display: block;
}

.wdwgt-sbm-tag {
	display: inline-flex;
	align-items: center;
	background: rgba(99, 102, 241, .08);
	color: #818cf8;
	font-size: 12px;
	font-weight: 500;
	padding: 5px 14px;
	border-radius: 20px;
	border: 1px solid rgba(99, 102, 241, .30);
	margin-inline-end: 8px;
	margin-block-end: 8px;
	transition: background 0.25s ease, border-color 0.25s ease;
}

.wdwgt-sbm-card:hover .wdwgt-sbm-tag {
	background: rgba(99, 102, 241, .15);
	border-color: rgba(99, 102, 241, .50);
}

/* ── Arrow Link row ── */
.wdwgt-sbm-link-row {
	margin-top: 20px;
	border-top: 1px solid transparent;
}

.wdwgt-sbm-link-row--sep {
	border-top-color: #1f2937;
	padding-top: 18px;
}

/* The link itself */
.wdwgt-sbm-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #818cf8;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	letter-spacing: 0.01em;
	transition: color 0.25s ease;
	line-height: 1;
}

.wdwgt-sbm-link:hover {
	color: #a5b4fc;
}

/* Arrow SVG — slides inline-forward on hover */
.wdwgt-sbm-link-arrow {
	flex-shrink: 0;
	display: block;
	transition: transform 0.3s cubic-bezier(.4, 0, .2, 1);
}

.wdwgt-sbm-link:hover .wdwgt-sbm-link-arrow {
	transform: translateX(5px);
}

/* RTL — flip the arrow direction */
[dir="rtl"] .wdwgt-sbm-link-arrow,
.wdwgt-sbm-body[style*="rtl"] .wdwgt-sbm-link-arrow {
	transform: scaleX(-1);
}

[dir="rtl"] .wdwgt-sbm-link:hover .wdwgt-sbm-link-arrow,
.wdwgt-sbm-body[style*="rtl"] .wdwgt-sbm-link:hover .wdwgt-sbm-link-arrow {
	transform: scaleX(-1) translateX(5px);
}


/* ===================================================
   WoodMart Widgets — Portfolio
   =================================================== */

.wdwgt-pf-wrap {
	--pf-tilt:  14;
	--pf-scale: 1.04;
	width: 100%;
}

/* ── Grid ── */
.wdwgt-pf-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

/* ── Card ── */
.wdwgt-pf-card {
	position: relative;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	overflow: hidden;
	transition: box-shadow 0.35s ease, transform 0.35s ease;
	will-change: transform;
}

.wdwgt-pf-card:hover {
	box-shadow: 0 12px 40px rgba(0,0,0,.12);
}

/* ── Media (image container) ── */
.wdwgt-pf-media {
	position: relative;
	overflow: hidden;
	border-radius: 14px 14px 0 0;
}

.wdwgt-pf-img-wrap {
	position: relative;
	width: 100%;
	padding-bottom: 75%; /* fallback 4:3 */
}

/* auto ratio */
.wdwgt-pf-img-wrap:not([style]) {
	padding-bottom: 0;
}

.wdwgt-pf-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.55s cubic-bezier(.4,0,.2,1);
}

/* When no ratio set, img is static */
.wdwgt-pf-img-wrap:not([style]) .wdwgt-pf-img {
	position: static;
	height: auto;
}

.wdwgt-pf-card:hover .wdwgt-pf-img {
	transform: scale(1.06);
}

/* ── Info bar (clean / dark / tilt) ── */
.wdwgt-pf-info {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	gap: 12px;
}

.wdwgt-pf-text {
	min-width: 0;
}

.wdwgt-pf-title {
	font-size: 15px;
	font-weight: 600;
	color: #111827;
	margin: 0 0 3px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.wdwgt-pf-cat {
	font-size: 12px;
	color: #6b7280;
	margin: 0;
}

/* ── Arrow button ── */
.wdwgt-pf-arrow {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #f3f4f6;
	color: #111827;
	transition:
		background 0.25s ease,
		color 0.25s ease,
		transform 0.25s ease;
}

.wdwgt-pf-card:hover .wdwgt-pf-arrow {
	background: #111827;
	color: #fff;
	transform: rotate(0deg) scale(1.1);
}

/* ── Full-card link ── */
.wdwgt-pf-link {
	position: absolute;
	inset: 0;
	z-index: 3;
}

/* ══════════════════════════════
   STYLE: dark
══════════════════════════════ */
[data-pf-style="dark"] .wdwgt-pf-card {
	background: #0f172a;
	border-color: #1e293b;
}
[data-pf-style="dark"] .wdwgt-pf-card:hover {
	box-shadow: 0 16px 50px rgba(0,0,0,.45);
}
[data-pf-style="dark"] .wdwgt-pf-title { color: #f1f5f9; }
[data-pf-style="dark"] .wdwgt-pf-cat   { color: #64748b; }
[data-pf-style="dark"] .wdwgt-pf-arrow {
	background: #1e293b;
	color: #94a3b8;
}
[data-pf-style="dark"] .wdwgt-pf-card:hover .wdwgt-pf-arrow {
	background: #f1f5f9;
	color: #0f172a;
}

/* ══════════════════════════════
   STYLE: reveal  ✨ (ANIMATED via JS)
   — Card IS the image, info revealed on hover
══════════════════════════════ */
[data-pf-style="reveal"] .wdwgt-pf-card {
	background: transparent;
	border: none;
	overflow: visible; /* card itself */
}

[data-pf-style="reveal"] .wdwgt-pf-media {
	border-radius: 14px;
	overflow: hidden;
}

/* Hide info bar — overlay handles text */
[data-pf-style="reveal"] .wdwgt-pf-info {
	display: none;
}

/* Always-on bottom gradient hint */
[data-pf-style="reveal"] .wdwgt-pf-media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,.55) 0%, transparent 55%);
	pointer-events: none;
	z-index: 1;
}

/* Overlay — starts below the card, GSAP slides it up */
[data-pf-style="reveal"] .wdwgt-pf-overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 22px 18px;
	background: rgba(17,24,39,.9);
	transform: translateY(100%);  /* JS animates this */
	will-change: transform;
}

[data-pf-style="reveal"] .wdwgt-pf-overlay .wdwgt-pf-cat {
	font-size: 11px;
	font-weight: 500;
	color: rgba(255,255,255,.60);
	letter-spacing: .06em;
	text-transform: uppercase;
	margin: 0 0 7px;
}

[data-pf-style="reveal"] .wdwgt-pf-overlay .wdwgt-pf-title {
	font-size: 17px;
	font-weight: 700;
	color: #fff;
	margin: 0 0 14px;
	white-space: normal;
	overflow: visible;
}

[data-pf-style="reveal"] .wdwgt-pf-overlay .wdwgt-pf-arrow {
	align-self: flex-start;
	background: rgba(255,255,255,.12);
	color: #fff;
	border: 1px solid rgba(255,255,255,.2);
	width: 38px;
	height: 38px;
}

[data-pf-style="reveal"] .wdwgt-pf-card:hover .wdwgt-pf-img {
	transform: scale(1.08);
}

/* ══════════════════════════════
   STYLE: tilt  🎲 (ANIMATED via JS)
   — Same as clean + 3D mouse tilt + shine
══════════════════════════════ */
[data-pf-style="tilt"] .wdwgt-pf-card {
	transform-style: preserve-3d;
	transition: box-shadow 0.4s ease; /* no transform transition — GSAP handles it */
}

[data-pf-style="tilt"] .wdwgt-pf-card:hover {
	box-shadow: 0 24px 60px rgba(0,0,0,.18);
}

/* Glossy shine layer */
.wdwgt-pf-shine {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 4;
	background: radial-gradient(
		circle at 50% 50%,
		rgba(255,255,255,.18) 0%,
		transparent 65%
	);
	opacity: 0;
	transition: opacity 0.3s ease;
	mix-blend-mode: overlay;
}

[data-pf-style="tilt"] .wdwgt-pf-card:hover .wdwgt-pf-shine {
	opacity: 1;
}

/* Reveal overlay hidden for non-reveal styles */
[data-pf-style="clean"] .wdwgt-pf-overlay,
[data-pf-style="dark"]  .wdwgt-pf-overlay,
[data-pf-style="tilt"]  .wdwgt-pf-overlay {
	display: none;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
	.wdwgt-pf-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.wdwgt-pf-grid { grid-template-columns: 1fr; }
}


/* ===================================================
   WoodMart Widgets — Data Visualization
   =================================================== */

.wdwgt-dv-wrap {
	--dv-grid:    #e5e7eb;
	--dv-area-op: 0.18;
	background:   #fff;
	border:       1px solid #e5e7eb;
	border-radius: 20px;
	padding:      32px;
	width:        100%;
	box-sizing:   border-box;
}

/* ── Header ── */
.wdwgt-dv-header {
	margin-bottom: 20px;
}
.wdwgt-dv-title {
	font-size:   22px;
	font-weight: 700;
	color:       #111827;
	margin:      0 0 6px;
	line-height: 1.25;
}
.wdwgt-dv-desc {
	font-size:  14px;
	color:      #6b7280;
	margin:     0;
	line-height: 1.6;
}

/* ── Tabs row ── */
.wdwgt-dv-tabs-wrap {
	display:       flex;
	margin-bottom: 20px;
}
.wdwgt-dv-tabs {
	display:       inline-flex;
	background:    #f3f4f6;
	border-radius: 10px;
	padding:       4px;
	gap:           2px;
}
.wdwgt-dv-tab {
	background:    transparent;
	border:        none;
	border-radius: 7px;
	padding:       6px 16px;
	font-size:     13px;
	font-weight:   500;
	color:         #6b7280;
	cursor:        pointer;
	transition:    background .2s ease, color .2s ease, box-shadow .2s ease;
	white-space:   nowrap;
}
.wdwgt-dv-tab.active {
	background:  #fff;
	color:       #111827;
	box-shadow:  0 1px 4px rgba(0,0,0,.10);
}
.wdwgt-dv-tab:hover:not(.active) {
	color: #374151;
}

/* ── Body layout: chart left, stats right ── */
.wdwgt-dv-body {
	display: grid;
	grid-template-columns: 1fr 220px;
	gap: 20px;
	align-items: start;
}

/* ── Chart area ── */
.wdwgt-dv-chart-area {
	position:      relative;
	background:    #f9fafb;
	border-radius: 14px;
	height:        260px;
	overflow:      visible;
}

/* SVG internals */
.wdwgt-dv-svg {
	display: block;
}

.dv-grid-line,
.dv-grid line {
	stroke: var(--dv-grid);
	stroke-width: 1;
}

.dv-ylabel,
.dv-xlabel {
	font-size:   11px;
	fill:        #9ca3af;
	font-family: inherit;
}

/* ── Tooltip ── */
.wdwgt-dv-tooltip {
	display:       none;
	position:      absolute;
	flex-direction: column;
	gap:           2px;
	background:    #1f2937;
	color:         #f9fafb;
	border-radius: 9px;
	padding:       9px 13px;
	font-size:     12px;
	pointer-events: none;
	z-index:       10;
	white-space:   nowrap;
	box-shadow:    0 4px 16px rgba(0,0,0,.22);
}
.dv-tt-lbl  { color: #9ca3af; font-size: 11px; }
.dv-tt-val  { font-weight: 700; font-size: 15px; }
.dv-tt-ds   { color: #6b7280; font-size: 11px; margin-top: 1px; }

/* ── Stats column ── */
.wdwgt-dv-stats {
	display:        flex;
	flex-direction: column;
	gap:            12px;
}

.wdwgt-dv-stat {
	background:    #fff;
	border:        1px solid #e5e7eb;
	border-radius: 12px;
	padding:       14px 16px;
	transition:    box-shadow .25s ease, transform .25s ease;
}

.wdwgt-dv-stat:hover {
	box-shadow: 0 4px 18px rgba(0,0,0,.08);
	transform:  translateY(-2px);
}

.wdwgt-dv-stat-top {
	display:     flex;
	align-items: baseline;
	gap:         6px;
	margin-bottom: 4px;
}

.wdwgt-dv-stat-value {
	font-size:   22px;
	font-weight: 800;
	color:       #111827;
	line-height: 1;
}

/* Trend badge */
.wdwgt-dv-trend {
	font-size:     11px;
	font-weight:   600;
	padding:       2px 7px;
	border-radius: 20px;
	line-height:   1.6;
}
.wdwgt-dv-trend--up      { background: #d1fae5; color: #065f46; }
.wdwgt-dv-trend--down    { background: #fee2e2; color: #991b1b; }
.wdwgt-dv-trend--neutral { background: #f3f4f6; color: #6b7280; }

.wdwgt-dv-stat-label {
	font-size:   13px;
	font-weight: 600;
	color:       #374151;
	margin:      0 0 3px;
}

.wdwgt-dv-stat-desc {
	font-size: 11px;
	color:     #9ca3af;
	margin:    0;
}

/* ── Responsive ── */
@media (max-width: 900px) {
	.wdwgt-dv-body {
		grid-template-columns: 1fr;
	}
	.wdwgt-dv-stats {
		flex-direction: row;
		flex-wrap:      wrap;
	}
	.wdwgt-dv-stat {
		flex: 1 1 calc(50% - 6px);
		min-width: 140px;
	}
}
@media (max-width: 480px) {
	.wdwgt-dv-wrap  { padding: 20px 16px; }
	.wdwgt-dv-stat  { flex: 1 1 100%; }
}

/* ════════════════════════════════════════════════════════
   Content Card Widget — 3 Styles
════════════════════════════════════════════════════════ */

/* ── Shared base ── */
.wdwgt-cc-wrap {
	position:    relative;
	overflow:    hidden;
	box-sizing:  border-box;
}

/* ════════════════════════════════════
   Style 1 — App Showcase
════════════════════════════════════ */
.wdwgt-cc-app {
	--cc-app-from: #7c3aed;
	--cc-app-to:   #4f46e5;
	background:    linear-gradient(135deg, var(--cc-app-from) 0%, var(--cc-app-to) 100%);
	border-radius: 20px;
	min-height:    340px;
	display:       flex;
	flex-direction: column;
	justify-content: flex-end;
}

/* Screenshot image — fills top area */
.wdwgt-cc-app-preview {
	position: absolute;
	inset:    0;
	display:  flex;
	align-items: flex-start;
	justify-content: center;
	padding-top: 24px;
	overflow: hidden;
}

.wdwgt-cc-app-preview img {
	width:         88%;
	height:        auto;
	border-radius: 10px 10px 0 0;
	object-fit:    cover;
	box-shadow:    0 12px 40px rgba(0,0,0,0.25);
	transition:    transform 0.5s ease;
}

.wdwgt-cc-app:hover .wdwgt-cc-app-preview img {
	transform: translateY(-6px) scale(1.01);
}

/* Circle arrow — top right */
.wdwgt-cc-app-arrow {
	position:        absolute;
	top:             16px;
	right:           16px;
	width:           40px;
	height:          40px;
	background:      rgba(255,255,255,0.20);
	border-radius:   50%;
	display:         flex;
	align-items:     center;
	justify-content: center;
	text-decoration: none;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border:          1px solid rgba(255,255,255,0.25);
	transition:      background 0.3s ease, transform 0.3s ease;
	z-index:         4;
}

.wdwgt-cc-app-arrow:hover {
	background: rgba(255,255,255,0.35);
	transform:  scale(1.12);
}

.wdwgt-cc-app-arrow svg {
	stroke: #fff;
	display: block;
}

/* RTL: flip arrow */
[dir="rtl"] .wdwgt-cc-app-arrow {
	right: auto;
	left:  16px;
}
[dir="rtl"] .wdwgt-cc-app-arrow svg {
	transform: scaleX(-1);
}

/* Body — overlays bottom of preview */
.wdwgt-cc-app-body {
	position:   relative;
	z-index:    3;
	padding:    22px 22px 26px;
	background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 100%);
}

.wdwgt-cc-app-identity {
	display:     flex;
	align-items: center;
	gap:         10px;
	margin-bottom: 8px;
}

.wdwgt-cc-app-icon {
	width:         36px;
	height:        36px;
	border-radius: 10px;
	object-fit:    cover;
	flex-shrink:   0;
	box-shadow:    0 2px 8px rgba(0,0,0,0.2);
}

.wdwgt-cc-app-name {
	font-size:   20px;
	font-weight: 700;
	color:       #fff;
	line-height: 1.2;
}

.wdwgt-cc-app-desc {
	font-size:   14px;
	color:       rgba(255,255,255,0.85);
	line-height: 1.65;
	margin:      0;
}

/* ════════════════════════════════════
   Style 2 — Service List
════════════════════════════════════ */
.wdwgt-cc-service {
	background:    #fff;
	border:        1px solid #e5e7eb;
	border-radius: 16px;
	padding:       36px 32px;
	display:       flex;
	flex-direction: column;
	transition:    box-shadow 0.3s ease, transform 0.3s ease;
}

.wdwgt-cc-service:hover {
	box-shadow: 0 12px 40px rgba(0,0,0,0.08);
	transform:  translateY(-3px);
}

/* Icon box */
.wdwgt-cc-svc-icon-wrap {
	width:           80px;
	height:          80px;
	background:      #fef9c3;
	border-radius:   12px;
	display:         flex;
	align-items:     center;
	justify-content: center;
	margin-bottom:   24px;
	overflow:        hidden;
	flex-shrink:     0;
}

.wdwgt-cc-svc-icon {
	width:      100%;
	height:     100%;
	object-fit: contain;
	padding:    14px;
	box-sizing: border-box;
}

.wdwgt-cc-svc-title {
	font-size:     22px;
	font-weight:   700;
	color:         #111827;
	margin:        0 0 8px;
	line-height:   1.3;
}

.wdwgt-cc-svc-sub {
	font-size:   14px;
	color:       #f97316;
	margin:      0 0 22px;
	line-height: 1.55;
}

.wdwgt-cc-svc-list {
	list-style: none;
	margin:     0;
	padding:    0;
	display:    flex;
	flex-direction: column;
	gap:        13px;
}

.wdwgt-cc-svc-item {
	display:     flex;
	align-items: center;
	gap:         11px;
}

.wdwgt-cc-svc-arrow {
	flex-shrink: 0;
}

.wdwgt-cc-svc-item-text {
	font-size:   15px;
	color:       #374151;
	line-height: 1.4;
}

/* ════════════════════════════════════
   Style 3 — Image Hero
════════════════════════════════════ */
.wdwgt-cc-img {
	border-radius: 20px;
	min-height:    420px;
	display:       flex;
	align-items:   flex-end;
}

/* Background image layer */
.wdwgt-cc-img-bg {
	position:            absolute;
	inset:               0;
	background-size:     cover;
	background-position: center;
	background-repeat:   no-repeat;
	transition:          transform 0.65s ease;
	z-index:             0;
}

.wdwgt-cc-img:hover .wdwgt-cc-img-bg {
	transform: scale(1.04);
}

/* Gradient overlay — heavy at bottom */
.wdwgt-cc-img-overlay {
	--cc-overlay: rgba(0,0,0,0.38);
	position:     absolute;
	inset:        0;
	background:   linear-gradient(
		to top,
		color-mix(in srgb, var(--cc-overlay) 190%, transparent) 0%,
		var(--cc-overlay) 45%,
		rgba(0,0,0,0.05) 100%
	);
	/* Fallback for browsers without color-mix */
	background:   linear-gradient(
		to top,
		rgba(0,0,0,0.72) 0%,
		rgba(0,0,0,0.38) 45%,
		rgba(0,0,0,0.05) 100%
	);
	z-index:      1;
}

/* Content body */
.wdwgt-cc-img-body {
	position:       relative;
	z-index:        2;
	padding:        30px 28px 32px;
	width:          100%;
	display:        flex;
	flex-direction: column;
	align-items:    flex-start;
	gap:            12px;
	box-sizing:     border-box;
}

/* Badge pill */
.wdwgt-cc-img-badge {
	display:         inline-block;
	background:      rgba(255,255,255,0.22);
	color:           #fff;
	font-size:       13px;
	font-weight:     500;
	padding:         5px 15px;
	border-radius:   20px;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border:          1px solid rgba(255,255,255,0.22);
	letter-spacing:  0.02em;
}

.wdwgt-cc-img-title {
	font-size:   32px;
	font-weight: 400;
	color:       #fff;
	margin:      0;
	line-height: 1.2;
}

.wdwgt-cc-img-desc {
	font-size:   15px;
	color:       rgba(255,255,255,0.85);
	margin:      0;
	line-height: 1.65;
}

/* Outline pill button */
.wdwgt-cc-img-btn {
	display:         inline-block;
	padding:         11px 28px;
	border:          1.5px solid rgba(255,255,255,0.80);
	border-radius:   30px;
	color:           #fff;
	font-size:       12px;
	font-weight:     600;
	letter-spacing:  0.09em;
	text-transform:  uppercase;
	text-decoration: none;
	transition:      background 0.3s ease, border-color 0.3s ease, transform 0.25s ease;
	margin-top:      4px;
}

.wdwgt-cc-img-btn:hover {
	background:   rgba(255,255,255,0.15);
	border-color: #fff;
	transform:    translateY(-2px);
}

/* ── Responsive ── */
@media (max-width: 600px) {
	.wdwgt-cc-app  { min-height: 280px; }
	.wdwgt-cc-img  { min-height: 340px; }
	.wdwgt-cc-img-title  { font-size: 26px; }
	.wdwgt-cc-app-name   { font-size: 18px; }
	.wdwgt-cc-service    { padding: 28px 22px; }
}
