/* Ysolis Quote – override these variables in Elementor Site Settings → Custom CSS if needed */
:root {
	--yl-accent: #1f1a17;
	--yl-accent-text: #fff;
	--yl-gold: #b8914b;
	--yl-border: #e6e1d8;
	--yl-muted: #6b6560;
	--yl-bg-soft: #faf8f4;
	--yl-radius: 6px;
	--yl-ok: #15803d;
	--yl-err: #b91c1c;
	--yl-warn: #b45309;
}
.yl-add input, .yl-basket input, .yl-basket select, .yl-basket textarea { box-sizing: border-box; }
.yl-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: .7em 1.4em; border: 1px solid var(--yl-accent); border-radius: var(--yl-radius); background: var(--yl-accent); color: var(--yl-accent-text); font: inherit; font-weight: 600; letter-spacing: .02em; cursor: pointer; text-decoration: none; transition: opacity .15s; }
.yl-btn:hover { opacity: .85; color: var(--yl-accent-text); }
.yl-btn:disabled { opacity: .5; cursor: wait; }
.yl-btn--lg { width: 100%; padding: .9em 1.4em; font-size: 1.05em; }
.yl-btn--compact { padding: .5em 1em; font-size: .9em; background: transparent; color: var(--yl-accent); }
.yl-btn--compact:hover { background: var(--yl-accent); color: var(--yl-accent-text); opacity: 1; }
.yl-btn--wa { background: #25d366; border-color: #25d366; color: #fff; }
.yl-wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 999; border-radius: 999px; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.yl-msg { margin-top: .6em; font-size: .92em; min-height: 1.2em; }
.yl-msg.is-error { color: var(--yl-err); }
.yl-msg.is-success { color: var(--yl-ok); }
.yl-muted { color: var(--yl-muted); font-size: .9em; }

/* quantity matrix */
.yl-add { display: grid; gap: .8em; }
.yl-add--compact { display: block; }
.yl-matrix-wrap { overflow-x: auto; }
.yl-matrix { width: 100%; border-collapse: collapse; margin: 0; font-size: .95em; }
.yl-matrix th, .yl-matrix td { border: 1px solid var(--yl-border); padding: .45em .5em; text-align: center; white-space: nowrap; }
.yl-matrix thead th { background: var(--yl-bg-soft); font-weight: 600; }
.yl-matrix tbody th { background: var(--yl-bg-soft); font-weight: 500; width: 1%; }
.yl-matrix input { width: 100%; min-width: 56px; max-width: 110px; padding: .35em; border: 1px solid var(--yl-border); border-radius: 4px; text-align: center; font: inherit; }
.yl-matrix .is-active { background: #fff8e6; }
.yl-add-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4em 1em; font-size: .92em; }
.yl-moq-note { color: var(--yl-muted); }

/* color dots */
.yl-dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); vertical-align: -2px; margin-right: .35em; background: #ddd; }
.yl-swatches { display: flex; flex-wrap: wrap; gap: .5em; }
.yl-swatches--dots { gap: .2em; }
.yl-swatches--dots .yl-dot { margin: 0; }
.yl-swatch { display: inline-flex; align-items: center; padding: .4em .8em; border: 1px solid var(--yl-border); border-radius: 999px; background: #fff; color: inherit; font: inherit; font-size: .9em; cursor: pointer; }
.yl-swatch[aria-pressed="true"] { border-color: var(--yl-accent); box-shadow: 0 0 0 1px var(--yl-accent); }

/* header icon */
.yl-count { position: relative; display: inline-flex; align-items: center; gap: .35em; color: inherit; text-decoration: none; }
.yl-count-num { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--yl-gold); color: #fff; font-size: 11px; line-height: 18px; text-align: center; font-weight: 700; }
.yl-count:not(.has-items) .yl-count-num { background: #bbb; }

/* inquiry list */
.yl-item { border: 1px solid var(--yl-border); border-radius: var(--yl-radius); padding: 1em; margin-bottom: 1em; }
.yl-item.is-low { border-color: var(--yl-warn); }
.yl-item-head { display: flex; align-items: center; gap: 1em; }
.yl-item-head img { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; }
.yl-item-title { font-weight: 600; color: inherit; }
.yl-item-total { margin-left: auto; text-align: right; white-space: nowrap; }
.yl-warn { color: var(--yl-warn); font-size: .85em; }
.yl-lines { width: 100%; border-collapse: collapse; margin: .8em 0 0; table-layout: fixed; }
.yl-lines td:nth-child(1) { width: 34%; } .yl-lines td:nth-child(2) { width: 18%; } .yl-lines td:nth-child(4) { width: 18%; text-align: right; }
.yl-lines td { border-top: 1px solid var(--yl-border); padding: .45em .3em; }
.yl-qty-cell input { width: 90px; padding: .3em; border: 1px solid var(--yl-border); border-radius: 4px; text-align: center; font: inherit; }
.yl-remove { border: 0; background: none; color: var(--yl-muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: .9em; }
.yl-form { margin-top: 1.5em; display: grid; gap: 1em; }
.yl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1em; }
.yl-field { display: grid; gap: .3em; }
.yl-label { font-size: .9em; font-weight: 600; }
.yl-field input, .yl-field select, .yl-field textarea { width: 100%; padding: .6em .7em; border: 1px solid var(--yl-border); border-radius: 4px; font: inherit; background: #fff; }
.yl-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.yl-success { padding: 1.5em; border: 1px solid var(--yl-ok); border-radius: var(--yl-radius); color: var(--yl-ok); background: #f0fdf4; font-weight: 600; }
.yl-empty { padding: 2em; text-align: center; background: var(--yl-bg-soft); border-radius: var(--yl-radius); }
@media (max-width: 600px) {
	.yl-matrix { font-size: .85em; table-layout: fixed; }
	.yl-matrix th, .yl-matrix td { padding: .35em .25em; white-space: normal; }
	.yl-matrix tbody th { width: 62px; }
	.yl-matrix thead th:first-child { width: 62px; }
	.yl-matrix input { min-width: 0; padding: .35em .1em; }
	.yl-matrix .yl-dot { display: block; margin: 0 auto .2em; }
	.yl-item-head { flex-wrap: wrap; }
	.yl-item-total { margin-left: 0; width: 100%; text-align: left; }
}

/* ===== 3.1 product page ===== */
/* price */
.yl-price-range { display: flex; align-items: baseline; gap: .4em; flex-wrap: wrap; }
.yl-price-num { font-size: 1.9em; font-weight: 600; color: var(--yl-accent); line-height: 1.1; }
.yl-price--note { font-size: 1.1em; color: var(--yl-muted); }
.yl-tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 6px; margin-top: .7em; }
.yl-tier { display: grid; gap: 2px; padding: .55em .7em; border: 1px solid var(--yl-border); border-radius: var(--yl-radius); background: var(--yl-bg-soft); transition: border-color .2s, background .2s; }
.yl-tier-q { font-size: .8em; color: var(--yl-muted); }
.yl-tier-p { font-weight: 700; color: var(--yl-accent); }
.yl-tier.is-on { border-color: var(--yl-gold); background: #fff8e9; box-shadow: inset 0 0 0 1px var(--yl-gold); }

/* variant swatches */
.yl-buy { gap: 1.1em; }
.yl-opt { display: grid; gap: .55em; }
.yl-opt-label { font-size: .95em; display: flex; flex-wrap: wrap; gap: .3em 1em; align-items: baseline; }
.yl-vswatches { display: flex; flex-wrap: wrap; gap: 10px; }
.yl-vswatch { position: relative; display: grid; justify-items: center; gap: 4px; padding: 5px 5px 6px; min-width: 70px; border: 1px solid var(--yl-border); border-radius: var(--yl-radius); background: #fff; color: inherit; font: inherit; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.yl-vswatch img { width: 58px; height: 58px; object-fit: cover; display: block; border-radius: calc(var(--yl-radius) / 2); }
.yl-vswatch.has-img .yl-vdot { position: absolute; top: 9px; left: 9px; width: 12px; height: 12px; }
.yl-vdot { display: block; width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); background: #ddd; }
.yl-vname { font-size: .78em; line-height: 1.2; text-align: center; }
.yl-vqty { position: absolute; top: -8px; right: -8px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--yl-gold); color: #fff; font-size: 11px; line-height: 20px; font-weight: 700; }
.yl-vqty:empty { display: none; }
.yl-vswatch:hover { border-color: #bbb; }
.yl-vswatch[aria-checked="true"] { border-color: var(--yl-accent); box-shadow: 0 0 0 1px var(--yl-accent); }

/* sizes / stepper */
.yl-sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.yl-size { display: grid; border: 1px solid var(--yl-border); border-radius: var(--yl-radius); overflow: hidden; }
.yl-size span { padding: .3em; text-align: center; font-size: .85em; background: var(--yl-bg-soft); border-bottom: 1px solid var(--yl-border); }
.yl-size input { width: 100%; padding: .45em .3em; border: 0; text-align: center; font: inherit; }
.yl-size:focus-within { border-color: var(--yl-accent); }
.yl-stepper { display: inline-flex; border: 1px solid var(--yl-border); border-radius: var(--yl-radius); overflow: hidden; width: max-content; }
.yl-stepper button { width: 44px; border: 0; background: var(--yl-bg-soft); font-size: 1.2em; cursor: pointer; color: inherit; }
.yl-stepper input { width: 110px; border: 0; border-left: 1px solid var(--yl-border); border-right: 1px solid var(--yl-border); text-align: center; padding: .6em; font: inherit; }
.yl-sum { display: flex; flex-wrap: wrap; gap: .4em 1.6em; padding: .8em 1em; background: var(--yl-bg-soft); border-radius: var(--yl-radius); font-size: .95em; }
.yl-sum-est strong { color: var(--yl-gold); font-size: 1.1em; }

/* gallery */
.yl-gal { display: grid; grid-template-columns: 84px 1fr; gap: 12px; }
.yl-gal-main { position: relative; grid-column: 2; grid-row: 1; aspect-ratio: 1; overflow: hidden; background: var(--yl-bg-soft); }
.yl-gal-slide { position: absolute; inset: 0; display: none; cursor: zoom-in; }
.yl-gal-slide.is-on { display: block; }
.yl-gal-slide img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.yl-gal-slide.is-zoom img { transform: scale(1.9); }
.yl-gal-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.85); font-size: 26px; line-height: 1; cursor: pointer; color: #222; opacity: 0; transition: opacity .2s; }
.yl-gal-main:hover .yl-gal-nav { opacity: 1; }
.yl-gal-prev { left: 12px; } .yl-gal-next { right: 12px; }
.yl-gal-count { position: absolute; right: 12px; bottom: 12px; z-index: 2; padding: 2px 10px; border-radius: 12px; background: rgba(0,0,0,.45); color: #fff; font-size: 12px; }
.yl-gal-thumbs { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 8px; max-height: 100%; overflow-y: auto; scrollbar-width: none; }
.yl-gal-thumb { flex: none; width: 84px; height: 84px; padding: 0; border: 1px solid transparent; background: var(--yl-bg-soft); cursor: pointer; opacity: .65; transition: opacity .15s, border-color .15s; }
.yl-gal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yl-gal-thumb.is-on, .yl-gal-thumb:hover { opacity: 1; border-color: var(--yl-accent); }
.yl-gal-vthumb { font-size: 22px; color: var(--yl-accent); }
.yl-gal-video { position: absolute; inset: 0; z-index: 3; background: #000; }
.yl-gal-video iframe { width: 100%; height: 100%; }
.yl-lb { position: fixed; inset: 0; z-index: 99999; background: rgba(15,12,10,.94); display: flex; align-items: center; justify-content: center; }
.yl-lb img { max-width: 92vw; max-height: 90vh; object-fit: contain; }
.yl-lb button { position: absolute; border: 0; background: none; color: #fff; font-size: 44px; cursor: pointer; padding: 10px 18px; }
.yl-lb-x { top: 10px; right: 10px; } .yl-lb-p { left: 10px; top: 50%; transform: translateY(-50%); } .yl-lb-n { right: 10px; top: 50%; transform: translateY(-50%); }
@media (max-width: 767px) {
	.yl-gal { grid-template-columns: 1fr; }
	.yl-gal-main { grid-column: 1; }
	.yl-gal-thumbs { grid-column: 1; grid-row: 2; flex-direction: row; overflow-x: auto; }
	.yl-gal-thumb { width: 64px; height: 64px; }
	.yl-gal-nav { opacity: 1; width: 34px; height: 34px; font-size: 22px; }
}

/* material blocks */
.yl-mat-intro { margin: 0 0 1.2em; color: var(--yl-muted); }
.yl-mat-opt { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--yl-border); }
.yl-mat-opt-head h3 { margin: 0 0 .3em; font-size: 1.15em; }
.yl-mat-opt-head p { margin: 0; font-size: .92em; color: var(--yl-muted); }
.yl-mat-strip { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.yl-mat-strip figure { flex: 0 0 130px; margin: 0; }
.yl-mat-strip img { width: 130px; height: 130px; object-fit: cover; display: block; background: #fff; }
.yl-mat-strip figcaption { font-size: .8em; text-align: center; margin-top: 4px; color: var(--yl-muted); }
.yl-mat-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.yl-mat-step-img { position: relative; }
.yl-mat-step-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.yl-mat-step-img span { position: absolute; left: 8px; top: 8px; background: var(--yl-gold); color: #fff; font-size: 12px; padding: 2px 8px; }
.yl-mat-steps p { margin: .5em 0 0; text-align: center; font-size: .92em; }
.yl-mat-tests { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.yl-mat-test { background: #fff; box-shadow: 0 8px 26px rgba(60,40,20,.06); }
.yl-mat-test img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.yl-mat-test h3 { margin: 14px 16px 6px; font-size: 1.05em; }
.yl-mat-test p { margin: 0 16px 16px; font-size: .9em; color: var(--yl-muted); }
@media (max-width: 767px) {
	.yl-mat-opt { grid-template-columns: 1fr; gap: 10px; }
	.yl-mat-strip figure { flex-basis: 100px; } .yl-mat-strip img { width: 100px; height: 100px; }
	.yl-mat-steps { grid-template-columns: repeat(2, 1fr); }
}

/* basket price */
.yl-lines td:nth-child(1) { width: 30%; } .yl-lines td:nth-child(2) { width: 14%; } .yl-lines td:nth-child(4) { width: 18%; text-align: right; } .yl-lines td:nth-child(5) { width: 14%; text-align: right; }
.yl-item-est { margin-top: .6em; text-align: right; font-size: .92em; }

/* mobile sticky bar */
.yl-mbar { display: none; }
@media (max-width: 767px) {
	.yl-mbar { display: flex; align-items: center; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 998; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -4px 18px rgba(0,0,0,.1); }
	.yl-mbar .yl-btn { flex: 1; padding: .75em .6em; font-size: .9em; }
	.yl-mbar-price { font-weight: 700; color: var(--yl-accent); white-space: nowrap; }
	body.single-yl_product .yl-wa-float { bottom: 80px; }
}

/* theme button resets (Astra/Elementor style every <button>) */
.yl-buy button.yl-vswatch, .yl-buy button.yl-vswatch:hover, .yl-buy button.yl-vswatch:focus, .yl-buy button.yl-vswatch:active,
.yl-stepper button, .yl-stepper button:hover, .yl-stepper button:focus,
.yl-gal button, .yl-gal button:hover, .yl-gal button:focus, .yl-lb button, .yl-lb button:hover {
	background-color: #fff; color: inherit; text-transform: none; letter-spacing: normal; font-weight: 400; line-height: 1.2; min-height: 0; text-shadow: none;
}
.yl-buy button.yl-vswatch[aria-checked="true"] { background-color: #fff; color: var(--yl-accent); }
.yl-stepper button, .yl-stepper button:hover { background-color: var(--yl-bg-soft); padding: 0; }
.yl-gal .yl-gal-thumb, .yl-gal .yl-gal-thumb:hover { background-color: var(--yl-bg-soft); padding: 0; border-radius: 0; }
.yl-gal .yl-gal-nav, .yl-gal .yl-gal-nav:hover { background-color: rgba(255,255,255,.88); color: #222; padding: 0; border-radius: 50%; }
.yl-lb button, .yl-lb button:hover { background-color: transparent; color: #fff; }
.yl-mat-strip img { object-fit: contain; }
.yl-mbar .yl-btn, .yl-mbar .yl-btn:hover { color: #fff; }
.yl-mbar .yl-btn:not(.yl-btn--wa) { background: var(--yl-gold); border-color: var(--yl-gold); }
.yl-mat-steps { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }

/* ===== customization showcase: desktop tabs / phone accordion (3.2.3) ===== */
.yl-cz { display: grid; grid-template-columns: 300px 1fr; grid-auto-rows: min-content; align-content: start; min-height: 520px; padding: 10px 0;
	border: 1px solid var(--yl-border); background: linear-gradient(90deg, var(--yl-bg-soft) 300px, var(--yl-border) 300px, var(--yl-border) 301px, #fff 301px); }
.yl-cz-item { display: contents; }
.yl-cz .yl-cz-tab, .yl-cz .yl-cz-tab:hover, .yl-cz .yl-cz-tab:focus { grid-column: 1; display: flex; align-items: center; gap: 16px; width: 100%; padding: 18px 26px; border: 0; border-left: 3px solid transparent; background: transparent; color: var(--yl-muted); font: inherit; font-size: 17px; text-align: left; text-transform: none; letter-spacing: normal; cursor: pointer; transition: color .2s, background .2s, border-color .2s; border-radius: 0; box-shadow: none; }
.yl-cz .yl-cz-tab:hover { color: var(--yl-accent); background: rgba(255,255,255,.6); }
.yl-cz .yl-cz-item.is-open .yl-cz-tab { color: var(--yl-accent); background: #fff; border-left-color: var(--yl-gold); }
.yl-cz-num { flex: none; font-size: 13px; color: var(--yl-gold); letter-spacing: 1px; font-variant-numeric: tabular-nums; }
.yl-cz-name { flex: 1; }
.yl-cz-chev { display: none; }
.yl-cz-panel { grid-column: 2; grid-row: 1 / span 30; padding: 34px 48px 48px; animation: ylfade .35s ease; }
.yl-cz-panel[hidden] { display: none; }
@keyframes ylfade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.yl-cz-head { display: flex; gap: 26px; align-items: flex-start; margin-bottom: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--yl-border); }
.yl-cz-big { flex: none; font-size: 64px; line-height: .9; color: transparent; -webkit-text-stroke: 1px var(--yl-gold); font-family: Georgia, serif; }
.yl-cz-head h3 { margin: 0 0 10px; font-size: clamp(24px, 2.2vw, 32px); font-weight: 600; color: var(--yl-accent); line-height: 1.2; }
.yl-cz-head p { margin: 0; max-width: 680px; font-size: 17px; line-height: 1.7; color: var(--yl-muted); }
.yl-cz-grid { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
.yl-cz-grid--2 { grid-template-columns: repeat(2, minmax(0, 340px)); }
.yl-cz-grid--3 { grid-template-columns: repeat(3, 1fr); }
.yl-cz-grid--5 { grid-template-columns: repeat(5, 1fr); }
.yl-cz-grid figure { margin: 0; }
.yl-cz-grid img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--yl-bg-soft); padding: 14px; box-sizing: border-box; display: block; transition: transform .35s ease, box-shadow .35s ease; }
.yl-cz-grid figure:hover img { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(60,40,20,.10); }
.yl-cz-grid figcaption { margin-top: 10px; text-align: center; font-size: 15px; color: var(--yl-accent); }
@media (max-width: 1024px) {
	.yl-cz { grid-template-columns: 230px 1fr; background: linear-gradient(90deg, var(--yl-bg-soft) 230px, var(--yl-border) 230px, var(--yl-border) 231px, #fff 231px); }
	.yl-cz .yl-cz-tab, .yl-cz .yl-cz-tab:hover { padding: 16px 18px; font-size: 15px; gap: 10px; }
	.yl-cz-panel { padding: 28px 30px 36px; }
	.yl-cz-grid, .yl-cz-grid--3, .yl-cz-grid--5 { grid-template-columns: repeat(3, 1fr); }
}
/* phones: accordion — every option visible as a row, tap to open */
@media (max-width: 767px) {
	.yl-cz { display: block; min-height: 0; padding: 0; border: 0; border-top: 1px solid var(--yl-border); background: none; }
	.yl-cz-item { display: block; border-bottom: 1px solid var(--yl-border); }
	.yl-cz .yl-cz-tab, .yl-cz .yl-cz-tab:hover, .yl-cz .yl-cz-tab:focus { padding: 18px 4px; font-size: 17px; gap: 12px; border-left: 0; background: transparent; color: var(--yl-accent); }
	.yl-cz .yl-cz-item.is-open .yl-cz-tab { background: transparent; }
	.yl-cz-chev { display: block; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--yl-border); position: relative; transition: transform .25s, background .25s; }
	.yl-cz-chev::before { content: ''; position: absolute; left: 50%; top: 45%; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translate(-50%, -50%) rotate(45deg); }
	.yl-cz-item.is-open .yl-cz-chev { transform: rotate(180deg); background: var(--yl-accent); color: #fff; border-color: var(--yl-accent); }
	.yl-cz-panel { padding: 0 0 22px; animation-duration: .25s; }
	.yl-cz-head { display: block; margin: 0 0 14px; padding: 0; border: 0; }
	.yl-cz-big, .yl-cz-head h3 { display: none; }
	.yl-cz-head p { font-size: 15px; line-height: 1.65; }
	.yl-cz-grid, .yl-cz-grid--2, .yl-cz-grid--3, .yl-cz-grid--5 { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: -20px; padding-right: 20px; }
	.yl-cz-grid figure { flex: 0 0 42%; scroll-snap-align: start; }
	.yl-cz-grid img { padding: 8px; }
	.yl-cz-grid figcaption { font-size: 13px; margin-top: 6px; }
	/* process & tests: swipe rows instead of long stacks */
	.yl-mat-tests { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: -20px; padding: 0 20px 10px 0; }
	.yl-mat-test { flex: 0 0 72%; scroll-snap-align: start; }
	.yl-mat-steps { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: -20px; padding-right: 20px; }
	.yl-mat-steps li { flex: 0 0 40%; scroll-snap-align: start; }
}

