/* Mantic Truths – homepage upgrades (1.9) */
:root { --mt-ann-h: 34px; }
@media (max-width: 849px) { :root { --mt-ann-h: 32px; } }

/* ---------- 1. Announcement bar ---------- */
.mt-ann {
	position: fixed;
	top: var(--wp-admin--admin-bar--height, 0px);
	left: 0; right: 0;
	z-index: 1003;
	height: var(--mt-ann-h);
	display: flex; align-items: center; justify-content: center;
	background: #000; color: #fff;
	font-family: var(--mt-font, inherit);
	font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
	overflow: hidden;
}
body.mt-ann-light .mt-ann { background: #f3f3f1; color: #000; border-bottom: 1px solid #eae9e9; }
.mt-ann__track { position: relative; width: 100%; height: 100%; }
.mt-ann__msg {
	position: absolute; inset: 0;
	display: flex; align-items: center; justify-content: center;
	margin: 0 !important; padding: 0 16px; text-align: center;
	opacity: 0; transform: translateY(6px);
	transition: opacity .45s ease, transform .45s ease;
	pointer-events: none;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mt-ann__msg.is-on { opacity: 1; transform: none; pointer-events: auto; }
.mt-ann a { color: inherit !important; text-decoration: none; }
.mt-ann a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .mt-ann__msg { transition: none; } }
@media (max-width: 549px) { .mt-ann { font-size: 10px; letter-spacing: .06em; } }

/* Push the fixed header and the page down by the bar's height. */
body.mt-ann-on { --mt-top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--mt-ann-h)); }
body.mt-rm-on.mt-ann-on:not(.mt-rm-transparent) { padding-top: calc(var(--mt-h) + var(--mt-ann-h)) !important; }
body.mt-rm-on.mt-ann-on.mt-rm-transparent { padding-top: var(--mt-ann-h) !important; }

/* ---------- Shared section look ---------- */
.mt-hs { max-width: 1440px; margin: 0 auto; padding: 48px 32px; font-family: var(--mt-sh-font, var(--mt-font, inherit)); }
.mt-hs__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.mt-hs__title { margin: 0 !important; font-size: 15px !important; font-weight: 700 !important; letter-spacing: .14em !important; text-transform: uppercase; color: #000; }
.mt-hs__all { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #000 !important; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 849px) { .mt-hs { padding: 32px 16px; } }

/* ---------- 2. Hero headline + buttons ---------- */
.mt-has-hero-text { position: relative; }
.mt-hero {
	position: absolute; inset: 0; z-index: 5;
	display: flex; align-items: flex-end;
	padding: 48px 56px;
	pointer-events: none;
	font-family: var(--mt-font, inherit);
}
.mt-hero--center { justify-content: center; text-align: center; }
.mt-hero--light { color: #fff; background: linear-gradient(to top, rgba(0,0,0,.42) 0%, rgba(0,0,0,0) 45%); }
.mt-hero--dark { color: #000; }
.mt-hero__inner { max-width: 560px; }
.mt-hero__eyebrow { margin: 0 0 10px !important; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: inherit; opacity: .9; }
.mt-hero .mt-hero__title { margin: 0 0 12px !important; font-size: clamp(30px, 4.2vw, 60px) !important; line-height: 1.02 !important; font-weight: 700 !important; letter-spacing: -.01em !important; text-transform: uppercase; color: inherit !important; }
.mt-hero__text { margin: 0 0 22px !important; font-size: 15px; line-height: 1.45; color: inherit; max-width: 440px; }
.mt-hero--center .mt-hero__text { margin-left: auto !important; margin-right: auto !important; }
.mt-hero__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.mt-hero--center .mt-hero__btns { justify-content: center; }
.mt-hero__btn {
	pointer-events: auto;
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 46px; padding: 0 26px;
	background: #fff; color: #000 !important; border: 1px solid #fff;
	font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none !important;
	transition: background .2s, color .2s;
}
.mt-hero__btn:hover { background: transparent; color: #fff !important; }
.mt-hero__btn--ghost { background: transparent; color: #fff !important; }
.mt-hero__btn--ghost:hover { background: #fff; color: #000 !important; }
.mt-hero--dark .mt-hero__btn { background: #000; border-color: #000; color: #fff !important; }
.mt-hero--dark .mt-hero__btn:hover { background: transparent; color: #000 !important; }
.mt-hero--dark .mt-hero__btn--ghost { background: transparent; color: #000 !important; }
.mt-hero--dark .mt-hero__btn--ghost:hover { background: #000; color: #fff !important; }
/* Band below the slider (default): clean text and buttons, no clash with text already on the slides. */
.mt-hero.mt-hero--below {
	position: static; inset: auto; z-index: auto;
	display: flex; justify-content: center; text-align: center;
	padding: 36px 24px 12px; background: none; color: #000; pointer-events: auto;
}
.mt-hero--below .mt-hero__inner { max-width: 720px; }
.mt-hero--below .mt-hero__title { font-size: clamp(26px, 3.2vw, 46px) !important; color: #000 !important; }
.mt-hero--below .mt-hero__text { margin-left: auto !important; margin-right: auto !important; color: #444; }
.mt-hero--below .mt-hero__btns { justify-content: center; }
.mt-hero--below .mt-hero__btn { background: #000; border-color: #000; color: #fff !important; }
.mt-hero--below .mt-hero__btn:hover { background: #fff; color: #000 !important; }
.mt-hero--below .mt-hero__btn--ghost { background: #fff; color: #000 !important; }
.mt-hero--below .mt-hero__btn--ghost:hover { background: #000; color: #fff !important; }
@media (max-width: 849px) {
	.mt-hero.mt-hero--below { padding: 24px 16px 8px; }
	.mt-hero--below .mt-hero__btns { margin: 0 auto; }
}

/* Keep the slider's own arrows/dots usable above the text layer. */
.mt-has-hero-text .flickity-page-dots, .mt-has-hero-text .flickity-prev-next-button { z-index: 6; }
@media (max-width: 849px) {
	.mt-hero { padding: 24px 18px 40px; }
	.mt-hero__text { font-size: 13px; margin-bottom: 16px !important; }
	.mt-hero__btns { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; }
	.mt-hero--center .mt-hero__btns { margin: 0 auto; }
	.mt-hero__btn { min-height: 44px; }
}

/* ---------- 7. Women / Men split tiles ---------- */
.mt-split { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 8px; padding-bottom: 8px; max-width: none; }
/* 1.38.3: no viewport-height cap on desktop (it cropped the top of the 4:5 photos and cut off heads); any crop keeps the top. */
.mt-split__tile { position: relative; display: block; aspect-ratio: 4 / 5; width: 100%; overflow: hidden; background: #f3f3f1; color: #fff !important; text-decoration: none !important; }
.mt-split__tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; transition: transform .8s cubic-bezier(.2,.7,.2,1); transform-origin: 50% 0%; }
.mt-split__tile:hover img { transform: scale(1.03); }
.mt-split__tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.38), rgba(0,0,0,0) 40%); }
.mt-split__label { position: absolute; left: 28px; bottom: 26px; z-index: 1; display: flex; flex-direction: column; gap: 8px; }
.mt-split__title { font-size: clamp(22px, 2.6vw, 36px); font-weight: 700; letter-spacing: .02em; text-transform: uppercase; line-height: 1; }
.mt-split__cta { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 549px) {
	.mt-split { gap: 4px; padding-left: 0; padding-right: 0; }
	.mt-split__tile { aspect-ratio: 3 / 4; }
	.mt-split__label { left: 14px; bottom: 14px; }
}

/* ---------- 8. Popular + Recently viewed ---------- */
.mt-popular .products { margin-bottom: 0 !important; }
.mt-rv__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mt-rv__card { display: flex; flex-direction: column; gap: 6px; color: #000 !important; text-decoration: none !important; font-size: 13px; }
.mt-rv__img { display: block; aspect-ratio: 3 / 4; background: #f3f3f1; overflow: hidden; }
.mt-rv__img img { width: 100%; height: 100%; object-fit: cover; }
.mt-rv__name { font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: 12px; }
.mt-rv__price { color: #444; }
@media (max-width: 849px) { .mt-rv__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

/* ---------- 6. Club Privé email-only sign-up ---------- */
.mt-club { text-align: center; }
.mt-club__inner { max-width: 560px; margin: 0 auto; }
.mt-club__title { margin: 0 0 10px !important; font-size: 22px !important; font-weight: 700 !important; letter-spacing: .08em !important; text-transform: uppercase; }
.mt-club__text { margin: 0 0 20px !important; color: #444; }
.mt-club__form { max-width: 520px; margin: 0 auto; text-align: left; }
.mt-club__row { display: flex; gap: 0; }
.mt-club__form input[type="email"] {
	flex: 1; min-width: 0; height: 50px !important; margin: 0 !important;
	border: 1px solid #000 !important; border-right: 0 !important; border-radius: 0 !important; box-shadow: none !important;
	padding: 0 16px !important; font-size: 14px !important; background: #fff !important; color: #000 !important;
}
.mt-club__form button {
	height: 50px; margin: 0 !important; padding: 0 28px !important;
	background: #000 !important; color: #fff !important; border: 1px solid #000 !important; border-radius: 0 !important;
	font-size: 12px !important; font-weight: 600 !important; letter-spacing: .12em !important; text-transform: uppercase; cursor: pointer;
}
.mt-club__form button:disabled { opacity: .6; }
.mt-club__consent { display: flex !important; align-items: flex-start; gap: 10px; margin: 12px 0 0 !important; font-size: 12px !important; line-height: 1.45; color: #555; font-weight: 400 !important; text-transform: none !important; letter-spacing: 0 !important; cursor: pointer; }
.mt-club__consent input { margin: 2px 0 0 !important; flex: none; width: 16px; height: 16px; accent-color: #000; }
.mt-club__form .mt-signup__msg { margin: 10px 0 0 !important; font-size: 13px; }
.mt-club__form.is-done .mt-club__row, .mt-club__form.is-done .mt-club__consent { display: none !important; }
.mt-club__form.is-done .mt-signup__msg { font-size: 15px; font-weight: 600; text-align: center; }
.mt-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
/* On the black footer (or any dark section): white field outline, white button, light grey text */
#footer .mt-club__form input[type="email"], .footer-wrapper .mt-club__form input[type="email"], footer .mt-club__form input[type="email"], .dark .mt-club__form input[type="email"] {
	background: transparent !important; color: #fff !important; border-color: #fff !important;
}
#footer .mt-club__form input[type="email"]::placeholder, .footer-wrapper .mt-club__form input[type="email"]::placeholder, footer .mt-club__form input[type="email"]::placeholder, .dark .mt-club__form input[type="email"]::placeholder { color: #9a9a9a; }
#footer .mt-club__form button, .footer-wrapper .mt-club__form button, footer .mt-club__form button, .dark .mt-club__form button {
	background: #fff !important; color: #000 !important; border-color: #fff !important;
}
#footer .mt-club__consent, .footer-wrapper .mt-club__consent, footer .mt-club__consent, .dark .mt-club__consent,
#footer .mt-club__form .mt-signup__msg, .footer-wrapper .mt-club__form .mt-signup__msg, footer .mt-club__form .mt-signup__msg, .dark .mt-club__form .mt-signup__msg { color: #b3b3b3 !important; }
#footer .mt-club__consent input, .footer-wrapper .mt-club__consent input, footer .mt-club__consent input, .dark .mt-club__consent input { accent-color: #fff; }
@media (max-width: 549px) {
	#footer .mt-club__form input[type="email"], .footer-wrapper .mt-club__form input[type="email"], footer .mt-club__form input[type="email"], .dark .mt-club__form input[type="email"] { border-right: 1px solid #fff !important; }
}
@media (max-width: 549px) {
	.mt-club__row { flex-direction: column; gap: 8px; }
	.mt-club__form input[type="email"] { border-right: 1px solid #000 !important; }
}

/* ---------- 9. Empty bag suggestions ---------- */
#cart-popup .mt-bagreco { margin-top: 24px; padding-top: 20px; border-top: 1px solid #eae9e9; text-align: left; }
#cart-popup .mt-bagreco__title { margin: 0 0 14px !important; font-size: 11px !important; font-weight: 700 !important; letter-spacing: .16em !important; text-transform: uppercase; color: #000 !important; }
#cart-popup .mt-bagreco ul { display: grid !important; grid-template-columns: 1fr 1fr; gap: 14px 12px; margin: 0 !important; padding: 0 !important; list-style: none !important; }
#cart-popup .mt-bagreco li { margin: 0 !important; padding: 0 !important; border: 0 !important; list-style: none !important; }
#cart-popup .mt-bagreco li a { display: flex !important; flex-direction: column; gap: 4px; color: #000 !important; text-decoration: none !important; }
#cart-popup .mt-bagreco img { width: 100% !important; height: auto !important; aspect-ratio: 3 / 4; object-fit: cover; background: #f3f3f1; margin: 0 0 4px !important; }
#cart-popup .mt-bagreco__name { font-size: 11px !important; font-weight: 600 !important; letter-spacing: .04em; text-transform: uppercase; line-height: 1.3; }
#cart-popup .mt-bagreco__price, #cart-popup .mt-bagreco__price * { font-size: 12px !important; color: #444 !important; font-weight: 400 !important; }
#cart-popup .mt-bagreco__all {
	display: flex !important; align-items: center; justify-content: center; margin-top: 18px; min-height: 48px;
	border: 1px solid #000; color: #000 !important; text-decoration: none !important;
	font-size: 12px !important; font-weight: 600 !important; letter-spacing: .12em; text-transform: uppercase;
}

/* ---------- 1.10 Feature banners (under the categories) ---------- */
.mt-fbs { display: flex; flex-direction: column; gap: 8px; margin: 8px 0; }
.mt-fb { position: relative; overflow: hidden; background: #111; }
.mt-fb__link { display: block; }
.mt-fb__pic, .mt-fb__img { display: block; width: 100%; }
.mt-fb__img { height: auto; max-height: 88vh; object-fit: cover; object-position: center; margin: 0 !important; }
.mt-fb__overlay {
	position: absolute; inset: 0;
	display: flex; align-items: center; justify-content: center; text-align: center;
	padding: 40px 24px;
	background: linear-gradient(to top, rgba(0,0,0,.45) 0%, rgba(0,0,0,.18) 45%, rgba(0,0,0,.08) 100%);
	pointer-events: none; color: #fff;
	font-family: var(--mt-font, inherit);
}
.mt-fb--bottom .mt-fb__overlay { align-items: flex-end; padding-bottom: 56px; }
.mt-fb--left .mt-fb__overlay { align-items: flex-end; justify-content: flex-start; text-align: left; padding: 0 56px 56px; }
.mt-fb__inner { max-width: 760px; }
.mt-fb__eyebrow { margin: 0 0 10px !important; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #fff; }
.mt-fb .mt-fb__title {
	margin: 0 0 22px !important;
	font-size: clamp(30px, 5vw, 76px) !important; line-height: 1 !important;
	font-weight: 700 !important; letter-spacing: .01em !important; text-transform: uppercase;
	color: #fff !important; text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.mt-fb__btn {
	pointer-events: auto;
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 48px; padding: 0 34px;
	background: #fff; color: #000 !important; border: 1px solid #fff;
	font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none !important;
	transition: background .2s, color .2s;
}
.mt-fb__btn:hover { background: transparent; color: #fff !important; }
@media (max-width: 849px) {
	.mt-fb__overlay { padding: 20px 16px; }
	.mt-fb--left .mt-fb__overlay { padding: 0 20px 24px; }
	.mt-fb--bottom .mt-fb__overlay { padding-bottom: 24px; }
	.mt-fb .mt-fb__title { margin-bottom: 14px !important; }
	.mt-fb__btn { min-height: 40px; padding: 0 22px; font-size: 11px; }
}
/* Phones: the whole wide photo is shown (no cropping, so both models stay in frame); with a phone image it becomes portrait. */
@media (max-width: 549px) {
	/* 1.38.6: phone photos are 3:4 portraits; show them whole (4:5 cropped the top) and keep the top if a photo is shorter. */
	.mt-fb.mt-fb--has-mobile .mt-fb__img { aspect-ratio: 3 / 4; max-height: none; object-fit: cover; object-position: 50% 0%; }
	.mt-fb .mt-fb__title { font-size: 22px !important; margin-bottom: 10px !important; }
	.mt-fb:not(.mt-fb--has-mobile) .mt-fb__overlay { padding: 12px; }
	.mt-fb__btn { min-height: 36px; padding: 0 18px; font-size: 10px; letter-spacing: .12em; }
}

/* Show on: desktop only / phones only (phones = under 550px, Flatsome's mobile breakpoint) */
@media (max-width: 549px) { .mt-fb--desktop-only { display: none !important; } }
@media (min-width: 550px) { .mt-fb--phone-only { display: none !important; } }
