/* ==========================================================================
   עמוד "שיש למטבח" — template-marble-kitchen.php (Figma 868:7385 / mobile 961:7009)
   Milestone 1: HERO
   ========================================================================== */

.mk-page {
	font-family: var(--nzm-header-font);
	background: #fff;
	color: #000;
	overflow-x: clip;
}

.mk-container {
	width: min(1600px, 100% - 48px);
	margin-inline: auto;
}

/* ---------------- A. HERO ---------------- */
.mk-hero {
	position: relative;
	isolation: isolate;
	width: 100%;
	min-height: clamp(640px, 82vh, 900px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding-block: clamp(120px, 14vw, 170px) clamp(60px, 8vw, 96px);
	color: #fff;
	text-align: center;
	overflow: hidden;
}

.mk-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	background-color: #2b2b2b;
	background-size: cover;
	background-position: center;
}

.mk-hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
}

.mk-hero__crumbs {
	position: absolute;
	top: clamp(100px, 9.5vw, 185px);
	inset-inline-start: max(24px, calc((100vw - 1826px) / 2 + 50px));
	font-size: clamp(13px, 1vw, 15px);
	color: #fff;
	opacity: 0.95;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.mk-hero__crumbs-home { display: inline-flex; align-items: center; color: #fff; line-height: 0; }
.mk-hero__crumbs-home svg { display: block; width: 13px; height: 13px; }
.mk-hero__crumbs-sep { opacity: 0.7; }
.mk-hero__crumbs-current { font-weight: 500; }

.mk-hero__content {
	position: relative;
	z-index: 1;
	width: min(1600px, 100% - 48px);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
}

.mk-hero__title {
	margin: 0;
	font-weight: 300;
	font-size: clamp(40px, 6vw, 80px);
	line-height: 1.05;
	text-shadow: 0 4px 40px rgba(0, 0, 0, 0.9);
}

.mk-hero__lead {
	margin: 0;
	max-width: 1060px;
	font-weight: 300;
	font-size: clamp(20px, 2.5vw, 32px);
	line-height: 1.2;
	text-shadow: 0 4px 40px rgba(0, 0, 0, 0.9);
}

.mk-hero__cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: center;
	margin-top: 20px;
}

/* כפתורים — חץ בצד שמאל (row-reverse ב-RTL), הטקסט מימינו */
.mk-btn {
	display: inline-flex;
	flex-direction: row-reverse;
	align-items: center;
	gap: 12px;
	min-width: 254px;
	height: 58px;
	padding: 0 26px;
	font-weight: 500;
	font-size: 20px;
	line-height: 1;
	text-decoration: none;
	border: 1px solid rgba(255, 255, 255, 0.5);
	box-sizing: border-box;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.mk-btn__arrow { display: inline-flex; }
.mk-btn__arrow svg { display: block; }
.mk-btn--solid { background: #fff; color: #000; }
.mk-btn--solid:hover { background: transparent; color: #fff; }
.mk-btn--ghost { background: transparent; color: #fff; }
.mk-btn--ghost:hover { background: #fff; color: #000; }
.mk-btn--outline-dark { background: transparent; color: #000; border: 1px solid #000; min-width: 0; }
.mk-btn--outline-dark:hover { background: #000; color: #fff; }

.mk-hero__scroll-line {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 1px;
	height: 90px;
	background: rgba(255, 255, 255, 0.28);
	overflow: hidden;
	z-index: 1;
}
.mk-hero__scroll-line::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	top: 0;
	height: 45%;
	background: #fff;
	animation: mk-scroll-line 1.9s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes mk-scroll-line {
	0% { transform: translateY(-100%); opacity: 0; }
	25% { opacity: 1; }
	75% { opacity: 1; }
	100% { transform: translateY(222%); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.mk-hero__scroll-line::after { animation: none; transform: translateY(40%); }
}

/* ---------------- B. שיש איטלקי מקורי ---------------- */
.mk-italian { padding-block: clamp(48px, 6vw, 96px); }
.mk-italian__inner {
	display: flex;
	align-items: center;
	gap: clamp(32px, 5vw, 90px);
}
.mk-italian__text {
	flex: 0 0 587px;
	max-width: 587px;
	text-align: right;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 22px;
	color: #000;
}
.mk-italian__title { margin: 0; font-weight: 300; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.07; }
.mk-italian__body { margin: 0; font-weight: 400; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.43; }
.mk-italian__list {
	margin: 0;
	padding-inline-start: 0;
	padding-inline-end: 22px;
	list-style: disc;
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-weight: 400;
	font-size: clamp(17px, 1.6vw, 21px);
	line-height: 1.43;
}
.mk-italian__list strong { font-weight: 700; }
.mk-italian__media { position: relative; flex: 1 1 auto; min-width: 0; }
.mk-italian__img { display: block; width: 100%; height: auto; aspect-ratio: 1085 / 582; object-fit: cover; }
.mk-italian__badge {
	position: absolute;
	top: clamp(14px, 2vw, 26px);
	left: clamp(14px, 2vw, 26px);
	width: clamp(110px, 11vw, 160px);
	height: auto;
}

/* ---------------- C. Finder (שלב 1) ---------------- */
/* offset לעוגן (כפתורי ה-HERO) — שלא ייחתך מתחת ל-header הדביק */
#mk-finder, #mk-cta { scroll-margin-top: clamp(80px, 10vw, 120px); }
.mk-finder { background: #000; color: #fff; padding-block: clamp(56px, 7vw, 96px); text-align: center; }
.mk-finder__inner { display: flex; flex-direction: column; align-items: center; }
.mk-finder__title { margin: 0; font-weight: 300; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.07; }
.mk-finder__steps { list-style: none; margin: clamp(20px, 2.5vw, 34px) 0 0; padding: 0; display: flex; align-items: center; justify-content: center; gap: 14px; }
.mk-finder__step { display: flex; align-items: center; gap: 12px; }
.mk-finder__dot { width: 42px; height: 42px; border-radius: 50%; border: 1px solid #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; line-height: 1; }
.mk-finder__step.is-active .mk-finder__dot { background: #fff; color: #000; }
.mk-finder__step-label { font-size: 24px; }
.mk-finder__line { width: 49px; height: 1px; background: #fff; opacity: 0.6; }
.mk-finder__q { margin: clamp(28px, 3.5vw, 52px) 0 0; font-weight: 400; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; }
.mk-finder__hint { margin: 10px 0 0; font-weight: 400; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.25; opacity: 0.92; }
/* שלב 1 — ההנחיה מודגשת ובאותו גודל של השאלה (Figma 868:8937) */
.mk-finder__panel[data-step="1"] .mk-finder__hint { margin-top: 6px; font-weight: 700; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; opacity: 1; }
.mk-finder__cards { display: flex; gap: 18px; justify-content: center; margin-top: clamp(28px, 3.5vw, 44px); flex-wrap: wrap; }
.mk-finder__card { width: 257px; background: #151515; border: 1px solid #6c6c6c; padding: 13px 13px 22px; display: flex; flex-direction: column; gap: 14px; cursor: pointer; color: #fff; font: inherit; transition: border-color 0.15s ease; }
.mk-finder__card:hover { border-color: #fff; }
.mk-finder__card.is-selected { border: 2px solid #fff; padding: 12px 12px 21px; }
.mk-finder__card-media { display: block; height: 123px; border: 1px solid #6c6c6c; overflow: hidden; }
.mk-finder__card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mk-finder__card-label { font-size: 24px; text-align: center; }
.mk-finder__next { margin-top: clamp(28px, 3.5vw, 48px); min-width: 140px; }
.mk-finder__next:disabled { opacity: 0.45; cursor: not-allowed; }

/* פאנלים (שלבים) */
.mk-finder__panel { display: none; flex-direction: column; align-items: center; width: 100%; }
.mk-finder__panel.is-active { display: flex; }
.mk-finder__panel[hidden] { display: none; }

/* שלב 2 — כרטיסי גוון (קטנים, 6 בשורה) */
.mk-finder__cards--shades { gap: 14px; }
.mk-finder__card--shade { width: 136px; padding: 9px 9px 16px; gap: 12px; }
.mk-finder__card--shade .mk-finder__card-media { height: 118px; }
.mk-finder__card--shade.is-selected { padding: 8px 8px 15px; }
.mk-finder__card--shade .mk-finder__card-label { font-size: 20px; }

/* ניווט שלב 2 */
.mk-finder__nav { display: flex; align-items: center; gap: 24px; margin-top: clamp(28px, 3.5vw, 48px); }
.mk-finder__nav .mk-finder__next { margin-top: 0; }
.mk-finder__back,
.mk-finder__restart { background: none; border: 0; color: #fff; font: inherit; font-size: 18px; text-decoration: underline; cursor: pointer; opacity: 0.9; }
.mk-finder__restart { margin-top: clamp(20px, 2.5vw, 32px); }

/* שלב 3 — תוצאות + טופס */
.mk-finder__result-head { margin: 0; font-weight: 400; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.2; text-align: center; }
.mk-finder__result-sub { margin-top: 14px; }
.mk-finder__form { width: min(880px, 100%); margin-top: clamp(24px, 3vw, 36px); }
.mk-finder__form-row { display: flex; gap: 14px; align-items: flex-start; justify-content: center; flex-wrap: nowrap; }
.mk-finder__form .porc-field { flex: 1 1 0; min-width: 0; position: relative; }
.mk-finder__form input { width: 100%; height: 56px; box-sizing: border-box; background: transparent; border: 1px solid #919191; border-radius: 6px; padding: 0 18px; color: #fff; font: inherit; font-size: 18px; text-align: right; }
.mk-finder__form input::placeholder { color: #cfcfcf; }
.mk-finder__form .porc-field.is-error input { border-color: #e2756b; padding-top: 22px; }
.mk-finder__form .porc-field__error { position: absolute; top: 7px; right: 14px; font-size: 11px; color: #e2756b; }
.mk-finder__submit { display: inline-flex; flex-direction: row-reverse; align-items: center; gap: 10px; height: 56px; padding: 0 26px; border: 0; border-radius: 60px; background: #fff; color: #000; font: inherit; font-weight: 500; font-size: 20px; cursor: pointer; white-space: nowrap; }
.mk-finder__submit:disabled { opacity: 0.6; cursor: default; }
.mk-finder__submit svg { display: block; }
.mk-finder__consent { margin: 16px 0 0; font-size: 16px; text-align: center; opacity: 0.9; }
.porc-consult__msg { margin: 12px 0 0; text-align: center; font-size: 16px; min-height: 1em; }
.porc-consult__msg.is-ok { color: #8fdc8f; }
.mk-finder__results { width: 100%; margin-top: clamp(36px, 4.5vw, 56px); }
.mk-finder__results-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
/* כרטיסי תוצאה — רקע לבן בתחתון, טקסט שחור (Figma) */
.mk-finder__results .nzm-catalog-product-card { background: transparent; }
.mk-finder__results .nzm-catalog-product-card__info { background: #fff; color: #000; padding: 16px 18px; }
.mk-finder__results .nzm-catalog-product-card__name { color: #000; }
.mk-finder__results .nzm-catalog-product-card__meta { color: #656565; }

/* ---------------- F. למה לקנות אצלנו + מפעל ---------------- */
.mk-why { background: #000; color: #fff; padding-top: clamp(56px, 7vw, 90px); }
.mk-why__head { text-align: center; }
.mk-why__title { margin: 0; font-weight: 300; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.07; }
.mk-why__sub { margin: 14px auto 0; max-width: 1000px; font-weight: 400; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.43; }
.mk-why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(32px, 4vw, 52px); }
.mk-why__card { background: #151515; padding: 26px 30px; min-height: 161px; text-align: right; }
.mk-why__num { display: block; color: #848484; font-size: 18px; line-height: 1.4; }
.mk-why__card-title { margin: 2px 0 10px; font-weight: 500; font-size: clamp(20px, 2vw, 26px); line-height: 1.15; }
.mk-why__card-text { margin: 0; font-weight: 400; font-size: 18px; line-height: 1.44; }

.mk-process { margin-top: clamp(40px, 5vw, 72px); background-size: cover; background-position: center; padding-top: clamp(220px, 26vw, 460px); padding-bottom: clamp(48px, 6vw, 90px); color: #fff; }
.mk-process__inner { text-align: center; }
.mk-process__title { margin: 0; font-weight: 300; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.07; }
.mk-process__sub { margin: 16px auto 0; max-width: 1060px; font-weight: 400; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.43; }
.mk-process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: clamp(36px, 4.5vw, 64px); text-align: right; }
.mk-step__num { display: block; color: #848484; font-weight: 300; font-size: clamp(34px, 3.4vw, 50px); line-height: 1; }
.mk-step__title { margin: 12px 0 8px; font-weight: 500; font-size: clamp(20px, 2vw, 26px); line-height: 1.15; }
.mk-step__text { margin: 0; font-weight: 400; font-size: 18px; line-height: 1.44; max-width: 356px; }

/* ---------------- G. מדרגות מחיר ---------------- */
.mk-pricing { background: #fff; color: #000; padding-block: clamp(56px, 7vw, 96px); text-align: center; }
.mk-pricing__title { margin: 0; font-weight: 300; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.07; }
.mk-pricing__sub { margin: 14px auto 0; max-width: 1000px; font-weight: 400; font-size: clamp(16px, 1.6vw, 21px); line-height: 1.43; }
.mk-pricing__grid { display: flex; gap: 25px; justify-content: center; margin-top: clamp(36px, 4.5vw, 56px); flex-wrap: wrap; }
.mk-tier { position: relative; width: 427px; max-width: 100%; background: #fff; border: 1px solid #d4d4d4; border-top: 2px solid #000; padding: 38px 32px 40px; text-align: right; display: flex; flex-direction: column; }
.mk-tier.is-popular { border: 1px solid #000; border-top: 2px solid #000; }
.mk-tier__badge { position: absolute; top: 0; inset-inline-end: 14px; background: #000; color: #fff; font-weight: 700; font-size: 18px; line-height: 1; padding: 12px 18px; }
.mk-tier__label { font-weight: 700; font-size: 18px; letter-spacing: 0.9px; }
.mk-tier__price { margin-top: 22px; text-align: center; display: flex; align-items: baseline; justify-content: center; gap: 8px; }
.mk-tier__amount { font-weight: 400; font-size: clamp(32px, 3.4vw, 42px); line-height: 1.1; }
.mk-tier__unit { font-weight: 300; font-size: 24px; }
.mk-tier__desc { margin: 22px 0 0; font-weight: 400; font-size: 21px; line-height: 1.24; }
.mk-tier__list { margin: 22px 0 0; padding-inline-start: 0; padding-inline-end: 27px; list-style: disc; display: flex; flex-direction: column; gap: 8px; font-weight: 400; font-size: 18px; line-height: 1.44; }
.mk-pricing__note { margin: clamp(28px, 3vw, 40px) auto 0; font-weight: 400; font-size: 18px; line-height: 1.66; }
.mk-pricing__note a { color: inherit; }

/* ---------------- D. חלון הראווה (גריד מוצרים) ---------------- */
.mk-showroom { padding-block: clamp(48px, 6vw, 90px); text-align: center; }
.mk-showroom__title { margin: 0; font-weight: 300; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.07; color: #000; }
.mk-showroom__sub { margin: 14px auto 0; max-width: 1100px; font-weight: 400; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.43; color: #000; }
.mk-showroom__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: clamp(24px, 3vw, 40px); }
.mk-showroom__tab { flex: 0 0 auto; min-height: 35px; padding: 10px 20px; border-radius: 66px; border: 1px solid #d7d7d7; background: #fff; color: #000; font: inherit; font-size: 16px; line-height: 1; cursor: pointer; transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.mk-showroom__tab:hover,
.mk-showroom__tab.is-active { background: #000; color: #fff; border-color: #000; }
.mk-showroom__toolbar { margin-top: clamp(20px, 2.5vw, 30px); }
.mk-showroom__grid { margin-top: clamp(24px, 3vw, 36px); display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; transition: opacity 0.2s ease; }
.mk-showroom__grid.is-loading { opacity: 0.45; }
.mk-showroom__grid .nzm-catalog-empty { grid-column: 1 / -1; }
.mk-showroom__cta { margin-top: clamp(28px, 3.5vw, 44px); }

/* ---------------- H. ביקורות — ריווח + חצים (scoped לעמוד) ---------------- */
.mk-page .nzm-reviews-section { margin-bottom: clamp(48px, 7vw, 110px); }
.mk-page .nzm-reviews-slider__arrows { display: flex !important; gap: 22px !important; }
/* splide.min.css נטען אחרי style.css בעמוד הזה ודוחף את החצים אחד על השני (right:1em).
   מאלצים מיקום relative בתוך ה-flex כדי שלא יחפפו. */
.mk-page .nzm-reviews-slider .splide__arrow {
	position: relative !important;
	inset: auto !important;
	transform: none !important;
	margin: 0 !important;
}
/* splide.min.css נותן fill:#000 ל-svg של החץ וממלא את ה-chevron — מאלצים מתאר בלבד */
.mk-page .nzm-reviews-slider .splide__arrow svg,
.mk-page .nzm-reviews-slider .splide__arrow svg path { fill: none !important; stroke: currentColor; }

/* ---------------- מובייל ---------------- */
@media (max-width: 1200px) {
	.mk-showroom__grid { grid-template-columns: repeat(3, 1fr); }
	.mk-finder__results-grid { grid-template-columns: repeat(3, 1fr); }
	.mk-finder__cards--shades { flex-wrap: wrap; max-width: 480px; }
}
@media (max-width: 768px) {
	.mk-showroom__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.mk-finder__results-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.mk-finder__card--shade { width: calc(33.333% - 10px); }
	.mk-finder__form-row { flex-direction: column; }
	.mk-finder__form .porc-field { flex: 1 1 auto; width: 100%; }
	.mk-finder__submit { width: 100%; justify-content: center; }
	.mk-italian__inner { flex-direction: column; align-items: stretch; gap: 28px; }
	.mk-italian__text { flex: 1 1 auto; max-width: none; }
	.mk-italian__media { order: -1; }
	.mk-finder__steps { gap: 8px; }
	.mk-finder__step { gap: 8px; }
	.mk-finder__step-label { font-size: 18px; }
	.mk-finder__line { width: 22px; }
	.mk-finder__card { width: 100%; max-width: 320px; }
	.mk-why__grid { grid-template-columns: 1fr; }
	.mk-process { padding-top: clamp(150px, 56vw, 280px); }
	.mk-process__grid { grid-template-columns: 1fr; }
	.mk-step__text { max-width: none; }
	.mk-pricing__grid { flex-direction: column; align-items: center; }
	.mk-tier { width: 100%; max-width: 440px; }
	.mk-hero {
		min-height: clamp(560px, 90vh, 760px);
		padding-block: clamp(110px, 26vw, 150px) 64px;
	}
	.mk-hero__content { gap: 18px; }
	.mk-hero__cta-row { flex-direction: column; width: 100%; max-width: 320px; }
	.mk-btn { width: 100%; justify-content: center; }
	.mk-hero__crumbs { inset-inline-start: 20px; }
}
