/* ==========================================================================
   Laurenza — mag.css  (Le Mag: article frame 24 + listing)
   ========================================================================== */

/* ---------- Article ---------- */
.lz-article { padding-top: 21px; }
.lz-article__crumbs ol { line-height: 21px; }
/* Frame 24: one space-width each side of ">" (Mag at x=180, current crumb at x=226). */
.lz-article__crumbs li + li::before { margin: 0 4px 0 5px; }

.lz-article__hero {
	position: relative; margin-top: 27px; height: 501px;
	border-radius: 20px; overflow: hidden; background: #ffd3dd;
}
.lz-article__hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.lz-article__pill {
	position: absolute; left: 80px; top: 35px;
	display: inline-flex; align-items: center; height: 40px; padding: 0 24px 0 24px;
	border-radius: var(--lz-r-pill); background: #fff; color: var(--lz-black);
	font-size: 16px; line-height: 24px; font-weight: 500; white-space: nowrap;
}

.lz-article__head {
	display: flex; justify-content: space-between; align-items: flex-start; gap: 32px;
	margin-top: 27px;
}
.lz-article__title {
	max-width: 660px; font-size: 40px; line-height: 60px; font-weight: 500; letter-spacing: -0.02em;
}
.lz-article__meta { flex: none; margin-top: 31px; text-align: right; font-size: 12px; line-height: 18px; color: var(--lz-grey); }
.lz-article__byline { margin-right: 3px; }
.lz-article__date { margin-top: 14px; }

.lz-article__layout {
	display: grid; grid-template-columns: minmax(0, 907px) minmax(0, 1fr); column-gap: 10px;
	margin-top: 64px; align-items: stretch;
}

/* Body typography (exactly as frame 24: 16/22, 20px rhythm, bold sub-heads) */
.lz-article__content { font-size: 16px; line-height: 22px; color: var(--lz-black); min-width: 0; }
.lz-article__content > * + * { margin-top: 20px; }
.lz-article__content h2, .lz-article__content h3, .lz-article__content h4 {
	font-size: 16px; line-height: 22px; font-weight: 600; letter-spacing: 0;
}
.lz-article__content strong, .lz-article__content b { font-weight: 600; }
.lz-article__content ul, .lz-article__content ol { margin-bottom: 0; padding-left: 24px; }
.lz-article__content ul { list-style: none; }
.lz-article__content ul > li { position: relative; }
.lz-article__content ul > li::before { content: ""; position: absolute; left: -14px; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.lz-article__content ol { list-style: decimal; }
.lz-article__content ul.lz-steps li + li { margin-top: 22px; }
.lz-article__content a { color: #87b7e8; text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.lz-article__content a:hover { color: var(--lz-green); }
.lz-article__content img { border-radius: var(--lz-r-md); }
.lz-article__content blockquote,
.lz-article__content .lz-tip {
	margin: 42px 0 0; padding: 21px 24px 19px; background: var(--lz-field); border: 0;
}
.lz-article__content blockquote p { max-width: 760px; }
.lz-article__content blockquote > * + * { margin-top: 12px; }

/* Sidebar */
.lz-article__side { border-left: 1px solid #ccc; padding-left: 9px; min-width: 0; }
.lz-article__cats-toggle {
	display: flex; width: 100%; align-items: center; justify-content: space-between;
	padding: 0 16px 20px 0; border-bottom: 1px solid #ccc;
	font-size: 16px; line-height: 24px; font-weight: 500; color: #222; text-align: left;
}
.lz-article__cats-toggle .lz-icon { transition: transform .2s var(--lz-ease); }
.lz-article__cats:not(.is-open) .lz-article__cats-toggle .lz-icon { transform: rotate(-90deg); }
.lz-article__cats-list { margin-top: 24px; }
.lz-article__cats-list li + li { margin-top: 18px; }
.lz-article__cats-list a { display: inline-block; font-size: 16px; line-height: 24px; color: #222; }
.lz-article__cats-list a:hover { color: var(--lz-green); }
.lz-article__cats:not(.is-open) .lz-article__cats-list { display: none; }

.lz-article__products { margin-top: 110px; }
.lz-article__cats:not(.is-open) + .lz-article__products { margin-top: 40px; }
.lz-article__side-title { font-size: 16px; line-height: 24px; font-weight: 500; color: #222; margin-bottom: 36px; }
.lz-card--article + .lz-card--article { margin-top: 32px; }
.lz-card--article .lz-card__btn { background: var(--lz-black); color: #fff; border-color: var(--lz-black); }
.lz-card--article .lz-card__btn:hover { background: #2a2b2e; }
.lz-card--article .lz-card__btn.js-stock-alert { background: #fff; color: var(--lz-grey); border-color: var(--lz-border); }

/* Product row + following sections */
.lz-article-products { padding: 96px 0 43px; }
.lz-mag-carousel--article { padding: 43px 0 0; }
.lz-mag-carousel--article .lz-section-head { margin-bottom: 41px; }
.lz-mag-carousel--article .lz-section-title { color: #222; letter-spacing: 0; }
.lz-mag-carousel--article .lz-carousel__prev, .lz-mag-carousel--article .lz-carousel__next { top: 328px; margin-top: 0; }
.lz-article-page .lz-mag-card__meta, .lz-mag-page .lz-mag-card__meta { margin-top: 29px; margin-left: -1px; font-weight: 400; }
.lz-article-page .lz-mag-card__title, .lz-mag-page .lz-mag-card__title {
	margin-top: 22px; margin-left: -1px; font-weight: 400; color: #0f1113;
	letter-spacing: .06px; -webkit-text-stroke: .25px currentColor;
}
.lz-article-page .lz-mag-card__btn, .lz-mag-page .lz-mag-card__btn { padding: 0 20px; }
.lz-article-page .lz-mag-card,
.lz-mag-page .lz-mag-card { border-color: #dadde2; }
.lz-article-diag { margin-top: 134px; }
.lz-article-diag + .lz-atouts { margin-top: 64px; }
/* Frame 24 product cards (sidebar + 4-card row): tighter subtitle / price, as the frame 8 offer card. */
.lz-article-page .lz-card__subtitle,
.lz-article-page .lz-card__price { letter-spacing: -0.016em; }
/* Frame 24 atouts band: heading 4px lower and slightly wider; column titles 2px lower and wider. */
.lz-article-page .lz-atouts__title { position: relative; top: 4px; letter-spacing: -0.015em; }
.lz-article-page .lz-atout__title { margin-top: 22px; letter-spacing: .01em; }
.lz-article-page .lz-atout__text { margin-top: 9px; }
.lz-article-promo .lz-promo__bar { font-weight: 500; letter-spacing: -0.02em; }
@media (min-width: 1101px) {
	/* Frame 24 atouts: delivery truck drawn ~147x52, eco badge 14px right of its column centre. */
	.lz-article-page .lz-atout:first-child .lz-atout__icon img { width: 147px; margin-bottom: 3px; }
	.lz-article-page .lz-atout:nth-child(4) .lz-atout__icon img { transform: translateX(14px); }
}

/* ---------- Listing ---------- */
.lz-mag-list { padding: 19px 0 96px; }
.lz-mag-list__head { margin-top: 24px; }
.lz-mag-list__title { letter-spacing: 0; }
.lz-mag-list__lead { margin-top: 4px; font-size: 16px; line-height: 24px; color: var(--lz-grey); }
.lz-mag-filter { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.lz-mag-filter__chip { color: var(--lz-black); transition: background-color .2s, color .2s, border-color .2s; }
.lz-mag-filter__chip:hover { border-color: var(--lz-black); }
.lz-mag-filter__chip.is-active { background: var(--lz-black); border-color: var(--lz-black); color: #fff; }
.lz-mag-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 23px; margin-top: 40px; }
.lz-mag-grid .lz-mag-card[hidden] { display: none; }
.lz-mag-list__empty { margin-top: 40px; }
.lz-mag-list__promo + .lz-article-diag { margin-top: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1279px) {
	.lz-article__pill { left: 40px; top: 32px; }
}
@media (max-width: 1100px) {
	.lz-article__layout { grid-template-columns: minmax(0, 1fr) 300px; column-gap: 24px; }
	.lz-article__hero { height: auto; aspect-ratio: 1216 / 501; }
	.lz-article-diag { margin-top: 96px; }
}
@media (max-width: 1023px) {
	.lz-article__head { flex-direction: column; gap: 12px; }
	.lz-article__meta { margin-top: 0; text-align: left; display: flex; gap: 8px; flex-wrap: wrap; }
	.lz-article__date { margin-top: 0; }
	.lz-article__layout { grid-template-columns: 1fr; margin-top: 32px; row-gap: 48px; }
	.lz-article__side { border-left: 0; padding-left: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
	.lz-article__products { margin-top: 0; }
	.lz-article__cats:not(.is-open) + .lz-article__products { margin-top: 0; }
	.lz-article__side-title { margin-bottom: 20px; }
	.lz-article-products { padding: 64px 0 40px; }
	.lz-mag-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
}
@media (max-width: 767px) {
	/* Current crumb on its own line, without a dangling ">" at the line start. */
	.lz-article__crumbs li:last-child { flex-basis: 100%; }
	.lz-article__crumbs li:last-child::before { display: none; }
	.lz-article__hero { aspect-ratio: 4 / 3; border-radius: 16px; }
	.lz-article__pill { left: 16px; top: 16px; height: 34px; padding: 0 16px; font-size: 14px; }
	.lz-article__title { font-size: 28px; line-height: 38px; }
	.lz-article__head { margin-top: 20px; }
	.lz-article__content { font-size: 15px; line-height: 23px; }
	.lz-article__content blockquote, .lz-article__content .lz-tip { margin-top: 32px; padding: 16px; }
	.lz-article__side { grid-template-columns: 1fr; }
	.lz-article__products .lz-card--article { max-width: 340px; }
	.lz-article-diag { margin-top: 64px; }
	.lz-article-diag + .lz-atouts { margin-top: 40px; }
	.lz-mag-grid { grid-template-columns: 1fr; }
	.lz-mag-filter { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--lz-gutter)); padding-inline: var(--lz-gutter); scrollbar-width: none; }
	.lz-mag-filter::-webkit-scrollbar { display: none; }
	.lz-mag-filter__chip { flex: none; }
}
