/* Шапка, подвал и главная — размеры из утверждённого макета ТЗ. */
body.mj-skin {
	--mj-bg: #090909;
	--mj-cream: #eae7e1;
	--mj-gold: #bfa989;
	--mj-muted: #96918b;
	--mj-line: #292623;
	--mj-max: 1530px;
}
body.mj-skin .mj-headwrap,
body.mj-skin .mj-footer,
body.mj-skin .mj-page,
body.mj-skin .mj-search,
body.mj-skin .mj-topbtn {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 300;
	color: var(--mj-cream);
	-webkit-font-smoothing: antialiased;
}
.mj-headwrap *, .mj-footer *, .mj-page *, .mj-search * { box-sizing: border-box; }
body.mj-canvas { background: var(--mj-bg); }
body.mj-canvas #inner-wrap { display: block; padding: 0; max-width: none; }
body.mj-skin:not(.mj-canvas) #inner-wrap { padding-top: 121px; }
.mjp { padding-top: 121px; }
html { scroll-padding-top: 142px; }

/* Сброс стилей Kadence внутри нового оформления. */
.mj-headwrap a, .mj-footer a, .mj-page a, .mjp a { text-decoration: none; }
.mj-headwrap button, .mj-search button, .mj-topbtn, .mjp button {
	border-radius: 0;
	box-shadow: none;
	line-height: inherit;
	min-height: 0;
}
.mjp input, .mjp textarea { border-radius: 0; box-shadow: none; }
.mj-page h1, .mj-page h2, .mj-page h3, .mj-page h4,
.mjp h1, .mjp h2, .mjp h3, .mjp h4 {
	color: inherit;
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: normal;
	text-transform: none;
}
.mjp h1 { font-size: 2em; }
.mjp h2 { font-size: 1.5em; }
.mjp h3 { font-size: 1.17em; }
.mjp h4 { font-size: 1em; }
.mjp p { margin: 1em 0; }
.mj-page img { max-width: 100%; display: block; }

/* Шапка */
.mj-headwrap {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 9000;
	background: transparent;
	-webkit-backdrop-filter: blur(24px);
	backdrop-filter: blur(24px);
	border-bottom: 1px solid #ffffff1c;
	transition: background .35s, backdrop-filter .35s, top .3s;
	isolation: isolate;
	--mj-top-h: 30px;
}
body.admin-bar .mj-headwrap { top: 32px; }
.mj-headwrap.is-solid { top: calc(-1 * var(--mj-top-h)); }
body.admin-bar .mj-headwrap.is-solid { top: calc(32px - var(--mj-top-h)); }
.mj-headwrap.is-menu {
	background: rgba(9,9,9,.97);
	border-color: #ffffff20;
}
.mj-top {
	position: relative;
	height: 30px;
	padding: 0 330px;
	display: grid;
	place-items: center;
	color: #c4b49f;
	letter-spacing: .25em;
	font-size: 9px;
	text-transform: uppercase;
	white-space: nowrap;
	border-bottom: 1px solid #ffffff18;
}
.mj-top-phone {
	position: absolute;
	right: 40px;
	top: 0;
	height: 30px;
	display: flex;
	align-items: center;
	color: #c7b497;
	font-size: 10px;
	letter-spacing: .07em;
	font-weight: 500;
	white-space: nowrap;
}
.mj-top-phone:hover { color: #f2dec1; }
.mj-header {
	height: 90px;
	max-width: 1640px;
	padding: 0 52px;
	margin: auto;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 24px;
	font-size: 14px;
}
.mj-nav, .mj-tools { display: flex; align-items: center; gap: 23px; }
.mj-tools { justify-content: flex-end; }
.mj-navlink, .mj-iconbtn {
	font-size: 10px;
	letter-spacing: .14em;
	white-space: nowrap;
	color: #ddd5cb;
	background: none;
	border: 0;
	padding: 9px 0;
	text-transform: uppercase;
	font-weight: 300;
	cursor: pointer;
}
.mj-navlink:hover, .mj-iconbtn:hover { color: var(--mj-gold); background: none; }
.mj-brand { text-align: center; min-width: 330px; display: block; color: inherit; }
.mj-brand strong {
	display: block;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 30px;
	font-weight: 400;
	letter-spacing: .21em;
	white-space: nowrap;
	color: var(--mj-cream);
}
.mj-brand small { display: block; margin-top: 7px; color: #b9aa95; font-size: 9px; letter-spacing: .26em; }
.mj-iconbtn { display: flex; align-items: center; gap: 7px; }
.mj-iconbtn svg { width: 18px; height: 18px; stroke: #e5dfd6; stroke-width: 1.35; fill: none; }
.mj-cart-count { font-size: 9px; color: var(--mj-gold); }
.mj-burger { display: none; background: none; color: #dbc8ad; border: 0; font-size: 23px; padding: 0; cursor: pointer; }

/* Выпадающее меню каталога */
.mj-mega-holder { display: flex; align-items: center; height: 90px; }
.mj-chevron { color: #a98f6e; font-size: 13px; margin-left: 4px; letter-spacing: 0; }
.mj-mega {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	max-height: min(72vh, 720px);
	overflow-y: auto;
	background: rgba(14,14,13,.99);
	border-bottom: 1px solid #5f4d37;
	box-shadow: 0 28px 60px #000a;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	transition: opacity .18s, transform .18s, visibility .18s;
	pointer-events: none;
}
.mj-mega-holder:hover .mj-mega,
.mj-mega-holder:focus-within .mj-mega,
.mj-mega.mobile-open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}
.mj-mega.mobile-open { background: #0e0e0d; }
.mj-mega-inner {
	max-width: 1490px;
	margin: auto;
	padding: 48px 65px 57px;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 42px;
}
.mj-mega-col { display: flex; flex-direction: column; gap: 13px; }
.mj-mega-col > b {
	color: #ceb591;
	letter-spacing: .17em;
	font-size: 10px;
	font-weight: 500;
	margin-bottom: 15px;
	text-transform: uppercase;
}
.mj-mega-col a { font-size: 15px; color: #bfb8af; line-height: 1.3; transition: color .15s, transform .15s; }
.mj-mega-col a:hover { color: #e5c99f; transform: translateX(3px); }
.mj-mega-caption { font-size: 11px; line-height: 2; color: #7f756b; margin-top: 12px; max-width: 210px; }

/* Поиск — как в макете: полноэкранная панель и подсказки по мере ввода. */
.mj-search {
	position: fixed;
	inset: 0;
	z-index: 9100;
	overflow: auto;
	background: #0b0b0b;
}
.mj-search-inner { max-width: 900px; margin: 10vh auto; padding: 30px; }
.mj-search-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 50px; }
.mj-search-head h2 { margin: 0; color: var(--mj-cream); font: 400 40px/1.2 Georgia, "Times New Roman", serif; }
.mj-search-close {
	background: none;
	border: 0;
	color: #dbd3c8;
	font-size: 26px;
	line-height: 1;
	padding: 0;
	cursor: pointer;
}
.mj-search form { margin: 0; }
.mj-search input {
	width: 100%;
	background: none;
	border: 0;
	border-bottom: 1px solid #8c785e;
	border-radius: 0;
	box-shadow: none;
	color: #fff;
	font: 400 25px Georgia, serif;
	padding: 20px 0;
	outline: 0;
}
.mj-search input::-webkit-search-cancel-button { display: none; }
.mj-search-hits { margin-top: 35px; }
.mj-search-muted { margin: 0; color: #96918b; font-size: 15px; line-height: 1.6; }
.mj-search a { color: inherit; text-decoration: none; }
.mj-search-hit {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 0;
	border-bottom: 1px solid #28241f;
	color: var(--mj-cream);
}
.mj-search-hit span {
	flex: 0 0 150px;
	color: var(--mj-gold);
	font-size: 10px;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.mj-search-hit b { font: 400 17px/1.35 Georgia, "Times New Roman", serif; }
.mj-search-hit:hover b { color: var(--mj-gold); }
@media (max-width: 700px) {
	.mj-search-inner { margin: 0 auto; padding: 24px 18px 40px; }
	.mj-search-head { margin-bottom: 28px; }
	.mj-search-head h2 { font-size: 30px; }
	.mj-search input { font-size: 20px; }
	.mj-search-hit { align-items: flex-start; flex-direction: column; gap: 6px; }
	.mj-search-hit span { flex-basis: auto; }
}

/* Главная */
.mj-page { background: var(--mj-bg); color: var(--mj-cream); }
.mj-wrap { max-width: var(--mj-max); margin: auto; padding: 0 66px; }
.mj-eye { display: block; font-size: 10px; letter-spacing: .25em; color: var(--mj-gold); font-weight: 400; text-transform: uppercase; }
.mj-hero {
	height: min(900px, 100vh);
	min-height: 690px;
	background: #000;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
}
.mj-hero video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.mj-hero-bottom {
	position: absolute;
	z-index: 1;
	bottom: 40px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 9px;
	letter-spacing: .22em;
	color: #81796e;
	text-transform: uppercase;
	white-space: nowrap;
}
.mj-section { padding: 114px 0; }
.rule { border-top: 1px solid var(--mj-line); }
.mj-headrow { display: flex; justify-content: space-between; align-items: end; gap: 35px; margin-bottom: 46px; }
.mj-page .mj-headrow h2 { font-family: Georgia, "Times New Roman", serif; font-size: 39px; font-weight: 400; letter-spacing: .015em; margin: 15px 0 0; line-height: 1.2; }
.mj-headrow p { color: #9c948c; font-size: 13px; line-height: 1.8; max-width: 380px; margin: 0; }
.mj-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 52px 22px; }
.mj-card-photo {
	display: block;
	aspect-ratio: 4/4.5;
	background: #111;
	overflow: hidden;
	position: relative;
	transition: box-shadow .32s ease, border-color .32s ease;
}
.mj-card-photo img { width: 100%; height: 100%; object-fit: contain; transition: transform .7s; }
.mj-card-photo:hover img { transform: scale(1.055); }
.mj-card:hover .mj-card-photo { box-shadow: 0 0 0 1px #b596624d, 0 0 24px #bf9a6440, 0 0 58px #c8a66b12; }
.mj-card-copy { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-top: 20px; }
.mj-card-fav { border: 0; background: none; color: #b5a899; font-size: 29px; line-height: 1; padding: 0 3px; cursor: pointer; }
.mj-card-fav.is-on { color: var(--mj-gold); }
.mj-page .mj-card h3 { font-family: Georgia, serif; font-size: 24px; font-weight: 400; margin: 9px 0 6px; line-height: 1.2; }
.mj-card p { font-size: 12px; color: var(--mj-muted); margin: 0; line-height: 1.5; }
.mj-textlink {
	display: inline-block;
	border-bottom: 1px solid #625747;
	padding-bottom: 10px;
	margin-top: 23px;
	color: #c4b398;
	font-size: 10px;
	letter-spacing: .17em;
	text-transform: uppercase;
}
.mj-textlink span { margin-left: 12px; }
.mj-textlink:hover { color: #e7d3b6; }
.mj-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 510px; }
.mj-split-copy {
	padding: 100px 10% 100px max(9%, calc((100vw - 1530px) / 2 + 66px));
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.mj-page .mj-split-copy h2 { font: 400 42px/1.25 Georgia, serif; max-width: 550px; margin: 22px 0; }
.mj-split-copy p { font-size: 14px; line-height: 2; color: #aaa198; max-width: 500px; margin: 0; }
.mj-split-visual { background: #141312; display: grid; place-items: center; overflow: hidden; }
.mj-split-visual img { width: 100%; height: 100%; max-height: 680px; object-fit: cover; }
.mj-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mj-tile {
	height: 260px;
	border: 1px solid #342d26;
	background: linear-gradient(145deg, #191612, #0b0b0b);
	padding: 35px;
	display: flex;
	flex-direction: column;
	justify-content: end;
	gap: 13px;
	color: inherit;
	transition: box-shadow .32s ease, border-color .32s ease;
}
.mj-tile:hover { border-color: #9d805b; box-shadow: 0 0 0 1px #b596624d, 0 0 24px #bf9a6440, 0 0 58px #c8a66b12; }
.mj-page .mj-tile h3 { font: 400 27px Georgia, serif; margin: 0; }
.mj-tile p { font-size: 12px; color: #928b83; margin: 0; }
.mj-store-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mj-store {
	border: 1px solid #302c27;
	padding: 38px;
	min-height: 220px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	color: inherit;
}
.mj-store:hover { border-color: #5f4d37; }
.mj-page .mj-store h3 { font: 400 29px Georgia, serif; margin: 12px 0; }
.mj-store p { font-size: 12px; line-height: 1.8; color: #9e958c; margin: 0; }
.mj-news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.mj-news { display: block; padding: 38px; border: 1px solid #302c27; min-height: 210px; color: inherit; }
a.mj-news:hover { border-color: #5f4d37; }
.mj-news-grid + .mj-textlink { margin-top: 34px; }
.mj-page .mj-news h3, .mjp .mj-news h3 { font: 400 25px Georgia, serif; margin: 20px 0; color: var(--mj-cream); }
.mj-news p { color: #9e958c; font-size: 13px; line-height: 1.7; margin: 0; }
.mjp .mj-news .mj-eye { color: var(--mj-gold); }
.mjp-news .locations { padding: 80px 0 110px; }

/* Подвал */
.mj-footer { background: #0e0e0e; border-top: 1px solid #302b25; padding: 80px 0 30px; }
.mj-footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 45px; }
.mj-footer h3 { font: 400 26px Georgia, serif; letter-spacing: .1em; margin: 0 0 18px; color: var(--mj-cream); line-height: 1.2; text-transform: none; }
.mj-footer h4 { font-size: 11px; letter-spacing: .2em; color: #d3bd9e; font-weight: 400; margin: 0 0 25px; text-transform: uppercase; font-family: Arial, Helvetica, sans-serif; line-height: 1.2; }
.mj-footer a, .mj-footer p, .mj-footer span { display: block; color: #9b948c; font-size: 12px; line-height: 2.2; }
.mj-footer p { margin: 1em 0; }
.mj-footer a:hover { color: #e7d3b6; }
.mj-footer a.mj-footer-phone { display: inline; color: #d2baa0; }
.mj-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.mj-footer .mj-social a { border: 1px solid #3d352d; padding: 3px 9px; font-size: 10px; line-height: 2.2; }
.mj-footer-bottom { border-top: 1px solid #2c2925; margin-top: 55px; padding-top: 23px; display: flex; justify-content: space-between; gap: 30px; }
.mj-footer .mj-footer-bottom p { font-size: 10px; color: #77716b; line-height: 1.7; max-width: 720px; margin: 0; }

/* Плавающая иконка Side Cart: корзина открывается из шапки */
.xoo-wsc-basket { display: none !important; }

/* Кнопка «наверх» */
.mj-topbtn {
	position: fixed;
	right: 34px;
	bottom: 32px;
	z-index: 48;
	width: 48px;
	height: 48px;
	border: 1px solid #766753;
	background: #111e;
	color: #e8d7c0;
	display: grid;
	place-items: center;
	padding: 0;
	cursor: pointer;
	backdrop-filter: blur(12px);
	transition: background .25s;
}
.mj-topbtn[hidden] { display: none; }
.mj-topbtn:hover { background: #30261d; }
.mj-topbtn svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* Сертификаты: поля заявки в стиле поля номинала */
.mj-hp { position: absolute; left: -9999px; }
.mjp-certs .gift-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; margin-bottom: 26px; }
.mjp-certs .gift-field.gift-field-small { min-height: 52px; }
.mjp-certs .gift-field.gift-field-small input { font: 400 15px Arial, Helvetica, sans-serif; padding: 14px 16px; }
@media (max-width: 1350px) {
	.mj-top-phone { right: 18px; font-size: 9px; }
	.mj-top { padding: 0 260px; }
	.mj-header { padding: 0 22px; gap: 14px; }
	.mj-nav, .mj-tools { gap: 14px; }
	.mj-brand { min-width: 280px; }
	.mj-brand strong { font-size: 24px; }
}
@media (max-width: 1150px) {
	.mj-navlink { font-size: 9px; }
	.mj-wrap { padding: 0 30px; }
	.mj-footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1060px) {
	.mj-top-phone { right: 12px; }
	.mj-top { padding: 0 220px; }
	.mj-header { grid-template-columns: auto 1fr auto; gap: 16px; }
	.mj-burger { display: block; }
	.mj-nav { display: none; }
	.mj-brand { grid-column: 2; text-align: center; min-width: 0; }
	.mj-tools { grid-column: 3; }
	.mj-txt { display: none; }
}
@media (max-width: 800px) {
	body.mj-skin:not(.mj-canvas) #inner-wrap, .mjp { padding-top: 119px; }
	.mj-headwrap { --mj-top-h: 48px; }
	.mj-top {
		height: 48px;
		padding: 3px 0;
		grid-template-rows: 18px 22px;
		font-size: 8px;
		letter-spacing: .13em;
	}
	.mj-top-phone { position: static; height: auto; justify-content: center; font-size: 9px; padding: 0 5px; }
	.mj-header { height: 70px; }
	.mj-mega-inner { padding: 24px 23px; grid-template-columns: 1fr 1fr; gap: 35px; }
	.mj-brand strong { font-size: 18px; }
	.mj-brand small { font-size: 7px; letter-spacing: .13em; }
	.mj-iconbtn { font-size: 9px; }
	.mj-tools { gap: 12px; }
	.mj-iconbtn svg { width: 19px; height: 19px; }
	.mj-cart-count { display: none; }
	.mj-hero { min-height: 540px; height: 80vh; }
	.mj-section { padding: 65px 0; }
	.mj-cards, .mj-store-grid, .mj-tiles { grid-template-columns: repeat(2, 1fr); }
	.mj-split { grid-template-columns: 1fr; }
	.mj-split-copy { padding: 65px 30px; }
	.mj-split-visual { height: 350px; }
	.mj-page .mj-headrow h2 { font-size: 31px; }
	.mj-footer-grid { grid-template-columns: repeat(2, 1fr); }
	.mjp-certs .gift-contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 782px) {
	body.admin-bar .mj-headwrap { top: 46px; }
	body.admin-bar .mj-headwrap.is-solid { top: calc(46px - var(--mj-top-h)); }
}
@media (max-width: 520px) {
	.mj-mega-inner { grid-template-columns: 1fr; gap: 28px; }
	.mj-mega { max-height: 78vh; }
	.mj-header { padding: 0 15px; }
	.mj-brand strong { font-size: 17px; letter-spacing: .09em; }
	.mj-brand small { font-size: 6px; }
	.mj-tools { gap: 8px; }
	.mj-iconbtn svg { width: 17px; height: 17px; }
	.mj-cards, .mj-store-grid, .mj-tiles, .mj-news-grid { grid-template-columns: 1fr; }
	.mj-headrow { display: block; }
	.mj-headrow p { margin-top: 15px; }
	.mj-wrap { padding: 0 18px; }
	.mj-footer-grid { grid-template-columns: 1fr; }
	.mj-footer-bottom { display: block; }
	.mj-card-photo { aspect-ratio: 1/1.1; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.mj-topbtn { transition: none; }
}
