/* Podstrony treściowe — kontakt, FAQ, o marce, lookbook, konto.
   Wymiary z ramek Figmy wypisanych w LISTA-PODSTRON.md.                 */

.md-page {
	max-width: var(--md-container);
	margin-inline: auto;
	padding: 27px 12px 0 28px;
}

.md-page__title {
	margin: 0;
	font-size: var(--md-text-lg);
	line-height: 26px;
	text-transform: uppercase;
}

/* ============================================================ kontakt */

.md-contact {
	display: grid;
	/* Prawa kolumna zaczyna się w makiecie na 840 px, a lewa na 28 px —
	   stąd 812 px pierwszej kolumny i zerowy odstęp. */
	grid-template-columns: 812px 470px;
	gap: 0;
	padding-bottom: 82px;
}

.md-contact__text {
	max-width: 427px;
	margin-top: 18px;
	padding-left: 2px;
	font-size: 14px;
	line-height: 22px;
}

.md-contact__text p { margin: 0 0 22px; }
.md-contact__text p:last-child { margin-bottom: 0; }

.md-contact__label {
	margin: 38px 0 0;
	padding-left: 2px;
	font-size: 14px;
	font-weight: 600;
	line-height: 22px;
}

.md-contact__label--online { margin-top: 36px; }

.md-contact__lines {
	margin: 11px 0 0;
	padding-left: 2px;
	font-size: 14px;
	line-height: 22px;
}

.md-contact__lines a { text-decoration: underline; }

/* ---- formularz ---- */

.md-form { margin-top: 36px; }

.md-form__field { margin: 0 0 24px; }
.md-form__field--area { margin-bottom: 30px; }

.md-form__label {
	display: block;
	margin-bottom: 4px;
	font-size: var(--md-text-base);
	line-height: 11px;
}

.md-form input[type="text"],
.md-form input[type="email"],
.md-form input[type="password"],
.md-form textarea {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid var(--md-black);
	background: var(--md-white);
	font: inherit;
	font-size: var(--md-text-md);
	color: inherit;
}

.md-form input[type="text"],
.md-form input[type="email"],
.md-form input[type="password"] { height: 40px; }
.md-form textarea { height: 149px; resize: vertical; }

.md-form__trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.md-form__consent {
	display: flex;
	gap: 15px;
	align-items: flex-start;
	max-width: 470px;
	font-size: var(--md-text-base);
	line-height: 15px;
	color: var(--md-grey-1);
	cursor: pointer;
}

.md-form__consent input {
	flex: 0 0 auto;
	width: 15px;
	height: 15px;
	margin: 0;
	accent-color: var(--md-black);
}

.md-form__submit {
	display: grid;
	place-items: center;
	width: 100%;
	height: 48px;
	margin-top: 25px;
	background: var(--md-black);
	color: var(--md-white);
	font-size: 14px;
	line-height: 16px;
	text-transform: uppercase;
	transition: opacity .2s;
}

.md-form__submit:hover { opacity: .85; }

.md-form__result {
	margin: 14px 0 0;
	font-size: var(--md-text-md);
	line-height: 18px;
}

.md-form__result.is-error { color: var(--md-accent); }

/* ---- mapa ---- */

.md-map {
	max-width: var(--md-container);
	margin-inline: auto;
	padding-inline: 12px;
}

.md-map iframe {
	display: block;
	width: 100%;
	height: 484px;
	border: 0;
	background: var(--md-band);
}

/* ============================================================ dlaczego warto */

.md-why {
	margin-top: 58px;
	background: var(--md-band);
}

.md-why__inner {
	display: grid;
	/* Ikony stoją w makiecie w środkach 426 / 701 / 977 / 1254 px — czyli
	   lista zaczyna się na 288 px i ma 1104 px szerokości. */
	grid-template-columns: 260px 1104px;
	align-items: start;
	max-width: var(--md-container);
	min-height: 196px;
	margin-inline: auto;
	padding: 60px 48px 0 28px;
}

.md-why__title {
	margin: 25px 0 0;
	font-size: var(--md-text-lg);
	line-height: 22px;
	text-transform: uppercase;
}

.md-why__list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}

.md-why__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
	text-align: center;
}

.md-why__icon { width: 42px; height: 42px; }
.md-why__icon svg { width: 42px; height: 42px; }

.md-why__text {
	margin: 0;
	font-size: 14px;
	line-height: 24px;
}

/* ============================================================ responsywność */

@media (max-width: 1439px) {
	.md-page { padding-inline: 24px; }
	.md-contact { grid-template-columns: 1.4fr 1fr; gap: 0 60px; }
	.md-why__inner { grid-template-columns: 220px 1fr; padding-inline: 24px; }
}

@media (max-width: 900px) {
	.md-contact { grid-template-columns: 1fr; gap: 48px; }
	.md-map iframe { height: 320px; }

	.md-why__inner { grid-template-columns: 1fr; gap: 28px; padding: 32px 24px; }
	.md-why__title { margin-top: 0; }
	.md-why__list { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

/* ============================================================ FAQ */

/* Makieta FAQ zaczyna treść wyżej niż pozostałe podstrony. */
.md-page.md-faq { padding-top: 6px; padding-bottom: 80px; }

.md-faq .md-page__title { margin-bottom: 0; }

.md-faq__list { margin: 68px 0 0 221px; max-width: 706px; }

.md-faq__group + .md-faq__group { margin-top: 11px; }

.md-faq__group-title {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	font-size: 14px;
	line-height: 23px;
	text-transform: uppercase;
	text-align: left;
}

button.md-faq__group-title { cursor: pointer; transition: opacity .18s; }
button.md-faq__group-title:hover { opacity: .6; }

.md-faq__items[hidden] { display: none; }

.md-faq__item { border-bottom: 1px solid #f1f1f1; }
.md-faq__item:last-child { border-bottom: 0; }

.md-faq__q {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	padding: 28px 0;
	font-size: 14px;
	line-height: 18px;
	text-align: left;
}

/* Pierwsze pytanie stoi bliżej nagłówka grupy — tak jest w makiecie. */
.md-faq__item:first-child .md-faq__q { padding-top: 14px; }

.md-faq__chevron {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	transition: transform .2s;
}

.md-faq__q[aria-expanded="true"] .md-faq__chevron { transform: scaleY(-1); }

.md-faq__a {
	padding-bottom: 46px;
	max-width: 629px;
	font-size: var(--md-text-md);
	line-height: 18px;
}

.md-faq__a[hidden] { display: none; }
.md-faq__a p { margin: 0 0 1em; }
.md-faq__a p:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
	.md-faq__list { margin-left: 0; }
}

/* ============================================================ konto klienta */

.md-head--bare { position: static; }

.md-header--bare {
	display: grid;
	place-items: center;
	height: var(--md-header-h);
	border-bottom: 1px solid #f1f1f1;
}

.md-header__logo--bare { position: static; translate: none; }
.md-logo__svg--big { width: 199px; height: 26px; }

.md-account {
	display: grid;
	grid-template-columns: 724px 1fr;
}

.md-account__media {
	height: 826px;
	overflow: hidden;
	background: var(--md-band);
}

.md-account__img { width: 100%; height: 100%; object-fit: cover; }

.md-account__panel { padding: 157px 130px 0 116px; }

.md-account__title {
	margin: 0;
	font-size: 18px;
	line-height: 28px;
	text-transform: uppercase;
}

.md-account__form { margin-top: 52px; }

/* Odstęp dokładamy MIĘDZY polami, a nie po każdym — inaczej margines
   ostatniego pola zlewałby się z odnośnikiem „Zgubiłeś hasło?”. */
.md-account__form .md-form__label { margin-bottom: 9px; }
.md-account__form .md-form__field { margin-bottom: 0; }
.md-account__form .md-form__field + .md-form__field { margin-top: 30px; }

.md-account__lost {
	margin: 19px 0 0;
	font-size: var(--md-text-base);
	line-height: 15px;
	color: var(--md-grey-1);
	text-align: center;
}

.md-account__lost a { transition: opacity .18s; }
.md-account__lost a:hover { opacity: .6; }

.md-account__form .md-form__submit { margin-top: 29px; }

.md-account__remember {
	display: flex;
	gap: 10px;
	align-items: center;
	margin-top: 18px;
	font-size: var(--md-text-base);
	cursor: pointer;
}

.md-account__remember input { width: 14px; height: 14px; margin: 0; accent-color: var(--md-black); }

.md-account__switch {
	margin: 29px 0 0;
	font-size: 14px;
	line-height: 16px;
	text-transform: uppercase;
	text-align: center;
}

.md-account__switch a { text-decoration: underline; }
.md-account__switch a[hidden] { display: none; }

.md-account__legal {
	margin: 43px 0 0;
	max-width: 469px;
	font-size: var(--md-text-base);
	line-height: 15px;
	color: var(--md-grey-1);
}

.md-account__legal a { text-decoration: underline; }

.md--login .woocommerce-notices-wrapper {
	max-width: 470px;
	margin: 24px auto 0;
}

/* Na logowaniu pas korzyści styka się ze zdjęciem — bez odstępu. */
.md--login .md-why { margin-top: 0; }

/* Pusty kontener powiadomień i tak zajmowałby margines. */
.woocommerce-notices-wrapper:empty { display: none; margin: 0; }

@media (max-width: 1439px) {
	.md-account { grid-template-columns: 50% 1fr; }
	.md-account__panel { padding: 100px 60px 0; }
}

@media (max-width: 900px) {
	.md-account { grid-template-columns: 1fr; }
	.md-account__media { height: 320px; }
	.md-account__panel { padding: 48px 24px 64px; }
}

/* WooCommerce obramowuje formularz logowania i dokłada marginesy — makieta
   ma czysty formularz na pełnej szerokości kolumny. */
.md--login .woocommerce { margin: 0; }
.md--login .woocommerce > p:empty { display: none; }

/* Selektor musi mieć tę samą wagę co reguła WooCommerce
   (`.woocommerce form.login`), inaczej ramka i wyściółka zostają. */
.woocommerce form.md-account__form,
.md-account .woocommerce-form {
	margin: 52px 0 0;
	padding: 0;
	border: 0;
	background: none;
}

.md-account__form[hidden] { display: none; }

/* WooCommerce stylizuje własne przyciski i pola z wagą `.woocommerce button.button`,
   więc nasze reguły muszą mieć co najmniej taką samą. */
.woocommerce .md-account__form .md-form__submit,
.woocommerce button.md-form__submit {
	display: grid;
	place-items: center;
	/* WooCommerce ustawia swoim przyciskom `float: left` — bez zdjęcia tego
	   przycisk wypada poza formularz i nie podnosi jej wysokości. */
	float: none;
	clear: both;
	width: 100%;
	height: 48px;
	margin-top: 29px;
	padding: 0;
	border-radius: 0;
	background: var(--md-black);
	color: var(--md-white);
	font-size: 14px;
	line-height: 16px;
	text-transform: uppercase;
}

.woocommerce .md-account__form .md-form__submit:hover,
.woocommerce button.md-form__submit:hover { background: var(--md-black); opacity: .85; }

.woocommerce .md-account input,
.woocommerce .md-account textarea { border-radius: 0; }

/* ============================================================ O marce

   Makieta „O marce” (Figma 130:224). Blok powitalny 165→881 px,
   sekcje tekstowe wcięte na 486 px, zdjęcia na 131 i 840 px.          */

.md-about-page { max-width: var(--md-container); margin-inline: auto; }

/* ---- blok powitalny ---- */

.md-abouthero {
	display: grid;
	grid-template-columns: 720px 1fr;
	height: 716px;
}

.md-abouthero__panel { position: relative; padding: 192px 0 0 130px; }

.md-abouthero__title {
	margin: 0;
	font-size: 18px;
	line-height: 20px;
	text-transform: uppercase;
}

.md-abouthero__text {
	max-width: 383px;
	margin-top: 39px;
	font-size: 16px;
	line-height: 26px;
}

.md-abouthero__text p { margin: 0 0 26px; }
.md-abouthero__text p:last-child { margin-bottom: 0; }

.md-abouthero__signature {
	position: absolute;
	left: 180px;
	top: 462px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 364px;
	height: 113px;
	pointer-events: none;
}

.md-abouthero__signature svg { width: 358px; height: 71px; rotate: -6.85deg; }

.md-abouthero__media { overflow: hidden; background: var(--md-band); }
.md-abouthero__img { width: 100%; height: 100%; object-fit: cover; }

/* ---- sekcje tekstowe ---- */

.md-abouttext { max-width: 544px; margin: 68px 0 0 486px; }

.md-abouttext__title,
.md-aboutrow__title {
	margin: 0;
	font-size: var(--md-text-lg);
	line-height: 22px;
	text-transform: uppercase;
}

.md-abouttext__body,
.md-aboutrow__body {
	margin-top: 20px;
	font-size: var(--md-text-base);
	line-height: 18px;
}

.md-abouttext__body p,
.md-aboutrow__body p { margin: 0 0 18px; }

.md-abouttext__body p:last-child,
.md-aboutrow__body p:last-child { margin-bottom: 0; }

/* ---- rzędy ze zdjęciem ---- */

.md-aboutrow {
	display: grid;
	grid-template-columns: 589px 470px;
	gap: 120px;
	margin: 68px 0 0 131px;
}

.md-aboutrow__media { aspect-ratio: 589 / 786; overflow: hidden; background: var(--md-band); }
.md-aboutrow__img { width: 100%; height: 100%; object-fit: cover; }

.md-aboutrow__small {
	width: 205px;
	aspect-ratio: 205 / 367;
	margin-bottom: 77px;
	overflow: hidden;
	background: var(--md-band);
}

.md-aboutrow__title { margin-top: 0; }

/* ---- kafle na dole ---- */

.md-abouttiles {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	margin-top: 80px;
	padding-inline: 12px;
}

.md-abouttile { position: relative; display: block; }

.md-abouttile__media {
	display: block;
	aspect-ratio: 345 / 500;
	overflow: hidden;
	background: var(--md-band);
}

.md-abouttile__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s cubic-bezier(.2, .8, .3, 1);
}

.md-abouttile:hover .md-abouttile__img { transform: scale(1.03); }

.md-abouttile__label {
	position: absolute;
	left: 16px;
	top: 21px;
	font-size: var(--md-text-lg);
	line-height: 24px;
	text-transform: uppercase;
}

/* Sygnet leży na dolnej krawędzi kafli — tak jak w makiecie. */
.md-abouttiles__mark {
	position: absolute;
	left: 50%;
	bottom: -41px;
	width: 1002px;
	translate: -50% 0;
	pointer-events: none;
}

.md-abouttiles__mark svg { width: 100%; height: auto; }

@media (max-width: 1439px) {
	.md-abouthero { grid-template-columns: 50% 1fr; }
	.md-abouthero__panel { padding-left: 9vw; }
	.md-abouttext { margin-left: 34vw; }
	.md-aboutrow { grid-template-columns: 1.25fr 1fr; gap: 60px; margin-left: 9vw; margin-right: 24px; }
	.md-abouttiles__mark { width: 70%; }
}

@media (max-width: 900px) {
	.md-abouthero { grid-template-columns: 1fr; height: auto; }
	.md-abouthero__panel { padding: 48px 24px 140px; }
	.md-abouthero__signature { left: 24px; top: auto; bottom: 20px; }
	.md-abouthero__media { aspect-ratio: 722 / 716; }

	.md-abouttext { margin: 48px 24px 0; }
	.md-aboutrow { grid-template-columns: 1fr; gap: 32px; margin: 48px 24px 0; }
	.md-aboutrow__small { margin-bottom: 32px; }

	.md-abouttiles { grid-template-columns: repeat(2, 1fr); }
	.md-abouttiles__mark { position: static; width: 100%; translate: none; margin-top: 32px; }
}

/* ============================================================ strona newslettera */

.md-nlpage {
	display: grid;
	grid-template-columns: 724px 1fr;
	max-width: var(--md-container);
	margin-inline: auto;
}

.md-nlpage__media { height: 716px; margin-top: 4px; overflow: hidden; background: var(--md-band); }
.md-nlpage__img { width: 100%; height: 100%; object-fit: cover; }

.md-nlpage__panel { padding: 24px 130px 0 116px; }

.md-nlpage__title {
	margin: 0;
	max-width: 400px;
	font-size: 18px;
	line-height: 28px;
	text-transform: uppercase;
}

.md-nlpage__points {
	display: flex;
	flex-direction: column;
	gap: 22px;
	margin-top: 23px;
}

.md-nlpage__points li {
	display: flex;
	align-items: center;
	gap: 13px;
	font-size: 14px;
	line-height: 16px;
}

.md-nlpage__icon { flex: 0 0 auto; width: 32px; height: 32px; }
.md-nlpage__icon svg { width: 32px; height: 32px; }

.md-nlpage__form { margin-top: 55px; }
.md-nlpage__form .md-form__field { position: relative; margin-bottom: 26px; }
.md-nlpage__form .md-form__label { margin-bottom: 4px; }

.md-nlpage__field-icon {
	position: absolute;
	right: 20px;
	bottom: 12px;
	width: 16px;
	height: 16px;
	color: var(--md-grey-2);
}

.md-nlpage__form .md-form__consent { margin-top: 11px; }
.md-nlpage__form .md-form__submit { margin-top: 25px; }

/* Pas korzyści styka się ze zdjęciem — 42 px pod jego dolną krawędzią. */
.md-nlpage + .md-why { margin-top: 42px; }

.md-nlpage__note {
	margin-top: 36px;
	max-width: 428px;
	font-size: var(--md-text-base);
	line-height: 15px;
	color: var(--md-grey-1);
}

.md-nlpage__note p { margin: 0; }

@media (max-width: 1439px) {
	.md-nlpage { grid-template-columns: 50% 1fr; }
	.md-nlpage__panel { padding: 24px 60px 0; }
}

@media (max-width: 900px) {
	.md-nlpage { grid-template-columns: 1fr; }
	.md-nlpage__media { height: 340px; }
	.md-nlpage__panel { padding: 40px 24px 60px; }
}

/* ============================================================ karta podarunkowa */

.md-page.md-gift { padding-top: 12px; padding-bottom: 0; }

.md-gift__intro {
	max-width: 790px;
	margin-top: 12px;
	font-size: var(--md-text-md);
	line-height: 20px;
}

.md-gift__intro p { margin: 0; }

.md-gift__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	max-width: var(--md-container);
	margin: 49px auto 0;
	padding-inline: 12px;
}

.md-gift__photo {
	aspect-ratio: 345 / 500;
	overflow: hidden;
	background: var(--md-band);
}

.md-gift__img { width: 100%; height: 100%; object-fit: cover; }

.md-gift__grid + .md-why { margin-top: 70px; }

@media (max-width: 900px) {
	.md-gift__grid { grid-template-columns: repeat(2, 1fr); padding-inline: 24px; }
}

/* ============================================================ lookbook

   Strony lookbooków różnią się układem, więc szablon daje tylko zdjęcie
   otwierające i typografię z makiety — resztę składa edytor blokami.
   Klasy `md-col-left` / `md-col-mid` / `md-col-right` ustawiają kolumnę
   tekstu tam, gdzie stoi w projekcie (130 / 487 / 840 px).             */

/* Okruszki leżą w makiecie NA zdjęciu otwierającym, a nie nad nim —
   dlatego lookbook wjeżdża pod pasek o jego wysokość. */
.md-lookbook {
	position: relative;
	max-width: var(--md-container);
	margin: -63px auto 0;
}

.md-lookbook-page .md-crumbs { position: relative; z-index: 2; }

.md-lookbook__hero {
	position: relative;
	height: 653px;
	overflow: hidden;
	background: var(--md-band);
}

.md-lookbook__img { width: 100%; height: 100%; object-fit: cover; }

.md-lookbook__caption {
	position: absolute;
	left: 959px;
	top: 309px;
	margin: 0;
	max-width: 300px;
	color: var(--md-white);
	font-size: var(--md-text-lg);
	font-weight: 500;
	line-height: 28px;
	text-transform: uppercase;
}

.md-lookbook__body { padding-bottom: 80px; }

/* ---- typografia treści ---- */

.md-lookbook__body h2,
.md-lookbook__body h3 {
	margin: 74px 0 0;
	font-size: var(--md-text-lg);
	line-height: 28px;
	text-transform: uppercase;
}

.md-lookbook__body p {
	margin: 23px 0 0;
	font-size: var(--md-text-base);
	line-height: 18px;
}

.md-lookbook__body > * { margin-inline: auto; max-width: 544px; }

/* ---- kolumny z makiety ---- */

.md-lookbook__body .md-col-left,
.md-lookbook__body .md-col-mid,
.md-lookbook__body .md-col-right {
	margin-inline: 0;
	margin-left: 130px;
	max-width: 470px;
}

.md-lookbook__body .md-col-mid { margin-left: 487px; max-width: 544px; }

/* Nagłówek na pełną szerokość treści — w makiecie zaczyna się na 28 px. */
.md-lookbook__body .md-lookbook__wide { margin-left: 28px; margin-right: 0; max-width: none; }
.md-lookbook__body .md-col-right { margin-left: 840px; max-width: 470px; }

/* Kolejne akapity w tej samej kolumnie nie odsuwają się tak mocno. */
.md-lookbook__body .md-col-left + .md-col-left,
.md-lookbook__body .md-col-mid + .md-col-mid,
.md-lookbook__body .md-col-right + .md-col-right { margin-top: 23px; }

/* ---- zdjęcia ---- */

.md-lookbook__body .wp-block-image { margin: 74px auto 0; max-width: 589px; }
.md-lookbook__body .wp-block-image img { width: 100%; height: auto; }

.md-lookbook__body .wp-block-image.alignfull {
	max-width: none;
	margin-inline: 0;
}

.md-lookbook__body .wp-block-image.alignleft { margin-left: 131px; margin-right: 0; }
.md-lookbook__body .wp-block-image.alignright { margin-left: 720px; margin-right: 0; }

/* ---- rzędy: kolory i małe zdjęcia ---- */

.md-lookbook__body .wp-block-columns {
	display: grid;
	grid-template-columns: repeat(5, 236px);
	gap: 0;
	margin: 47px 0 0 129px;
	max-width: none;
}

.md-lookbook__body .wp-block-column { margin: 0; max-width: none; }
.md-lookbook__body .wp-block-column > * { margin: 0; max-width: none; }

/* Paski z kolorami kolekcji: 236x101 px, jeden przy drugim. */
.md-swatches { display: grid; grid-template-columns: repeat(5, 236px); margin: 58px 0 0 129px; max-width: none; }
.md-swatch { height: 101px; }

/* Zdjęcia pod paskami są w makiecie poprzesuwane co drugie o 36 px. */
/* Zdjęcia nachodzą na paski z kolorami — w makiecie wjeżdżają na nie o 39 px. */
.md-lookbook__body .md-stagger { display: grid; grid-template-columns: repeat(4, 236px); align-items: start; gap: 0; margin: -39px 0 0 130px; max-width: none; }
.md-lookbook__body .md-stagger .wp-block-image { margin: 0; max-width: none; }
.md-lookbook__body .md-stagger .wp-block-image:nth-child(even) { margin-top: -36px; }
.md-lookbook__body .md-stagger img { aspect-ratio: 236 / 354; object-fit: cover; }

/* ---- para banerów na dole ---- */

.md-lookbook__body .md-pair {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	margin: 49px 0 0;
	max-width: none;
}

.md-lookbook__body .md-pair figure { position: relative; margin: 0; max-width: none; }
.md-lookbook__body .md-pair img { width: 100%; height: 716px; object-fit: cover; }

.md-lookbook__body .md-pair figcaption {
	position: absolute;
	left: 50%;
	bottom: 46px;
	margin: 0;
	translate: -50% 0;
	color: var(--md-white);
	font-size: var(--md-text-lg);
	line-height: 22px;
	text-transform: uppercase;
	white-space: nowrap;
}

@media (max-width: 1439px) {
	.md-lookbook__caption { left: auto; right: 6vw; }

	.md-lookbook__body .md-col-left { margin-left: 9vw; }
	.md-lookbook__body .md-col-mid { margin-left: 34vw; }
	.md-lookbook__body .md-col-right { margin-left: 58vw; }

	.md-lookbook__body .wp-block-image.alignleft { margin-left: 9vw; }
	.md-lookbook__body .wp-block-image.alignright { margin-left: 50vw; }

	.md-swatches,
	.md-lookbook__body .wp-block-columns,
	.md-lookbook__body .md-stagger { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-inline: 24px; }
}

@media (max-width: 900px) {
	.md-lookbook__hero { height: 60vh; min-height: 380px; }
	.md-lookbook__caption { left: 24px; right: auto; top: auto; bottom: 40px; }

	.md-lookbook__body > *,
	.md-lookbook__body .md-col-left,
	.md-lookbook__body .md-col-mid,
	.md-lookbook__body .md-col-right { margin-inline: 24px; max-width: none; }

	.md-lookbook__body .wp-block-image,
	.md-lookbook__body .wp-block-image.alignleft,
	.md-lookbook__body .wp-block-image.alignright { margin-inline: 24px; max-width: none; }

	.md-lookbook__body .md-stagger .wp-block-image:nth-child(even) { margin-top: 0; }
	.md-lookbook__body .md-pair { grid-template-columns: 1fr; }
	.md-lookbook__body .md-pair img { height: 60vh; }
}

/* Zdjęcie i tekst obok siebie — w makiecie tekst zaczyna się sporo niżej
   niż zdjęcie, stąd osobne wcięcie górne. */
.md-lookbook__body .md-split {
	display: grid;
	grid-template-columns: 589px 470px;
	gap: 0 120px;
	margin: 119px 0 0 131px;
	max-width: none;
}

.md-lookbook__body .md-split--flip { grid-template-columns: 470px 589px; margin-left: 130px; }

.md-lookbook__body .md-split figure,
.md-lookbook__body .md-split img { margin: 0; max-width: none; width: 100%; }
.md-lookbook__body .md-split img { aspect-ratio: 589 / 786; object-fit: cover; }

.md-lookbook__body .md-split__text { padding-top: 255px; max-width: none; }
.md-lookbook__body .md-split__text > * { margin-inline: 0; max-width: none; }
.md-lookbook__body .md-split__text h2 { margin-top: 0; }

@media (max-width: 1439px) {
	.md-lookbook__body .md-split { grid-template-columns: 1.25fr 1fr; gap: 0 60px; margin-inline: 24px; }
	.md-lookbook__body .md-split--flip { grid-template-columns: 1fr 1.25fr; }
}

@media (max-width: 900px) {
	.md-lookbook__body .md-split,
	.md-lookbook__body .md-split--flip { grid-template-columns: 1fr; gap: 24px; }
	.md-lookbook__body .md-split__text { padding-top: 0; }
	.md-lookbook__body .md-split--flip figure { order: -1; }
}
