/* Marsi 2 – F3: catalog, product page, quote page. Tokens in main.css. Theme selectors carry two classes where
   Elementor's kit (`.elementor-kit-9 a`) or WooCommerce (`.woocommerce-page img`) would otherwise win. */

/* ---------- Shared type ---------- */
.m2-eyebrow { margin: 0 0 12px; font-family: var(--m2-font-head); font-size: 16px; font-weight: 500; line-height: 1.3; letter-spacing: 0.12em; text-transform: uppercase; color: var(--m2-gold-text); }
.m2-h1 { margin: 0; font-family: var(--m2-font-head); font-size: clamp(38px, 5vw, 66px); font-weight: 600; line-height: 1.15; letter-spacing: 0.01em; text-transform: uppercase; }
.m2-h2 { margin: 0 0 var(--m2-s3); font-family: var(--m2-font-head); font-size: clamp(30px, 3.6vw, 48px); font-weight: 600; line-height: 1.15; text-transform: uppercase; }
.m2-lead { margin: 0; color: var(--m2-muted); }
.m2-link.m2-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--m2-dark); text-decoration: underline; text-underline-offset: 4px; }
.m2-link.m2-link:hover { color: var(--m2-gold-text); }
[hidden] { display: none !important; }

/* ---------- Photo frame: never cropped ---------- */
.m2-ph { position: relative; aspect-ratio: 1; overflow: hidden; background: #fff; isolation: isolate; }
.m2-ph.m2-ph > img { display: block; width: 100%; height: 100%; max-width: none; object-fit: contain; padding: 8%; transition: transform .35s var(--m2-ease); }
.m2-ph--photo::before { content: ""; position: absolute; inset: -12%; z-index: -1; background: var(--m2-src) center / cover no-repeat; filter: blur(26px); } /* grey studio photos: the frame is the photo itself, blurred */
.m2-ph--photo.m2-ph--photo > img { padding: 0; -webkit-mask-image: linear-gradient(to right, transparent, #000 16%, #000 84%, transparent); mask-image: linear-gradient(to right, transparent, #000 16%, #000 84%, transparent); }
.m2-ph--sq.m2-ph--sq > img { object-fit: cover; padding: 0; }
.m2-ph--none.m2-ph--none > img { padding: 18%; opacity: .5; }

/* ---------- Catalog head ---------- */
.m2-cat-hero { padding: var(--m2-s6) 0 var(--m2-s5); background: var(--m2-sand); }
.m2-cat-hero__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--m2-s5); align-items: end; }

/* ---------- Catalog ---------- */
.m2-catalog { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: var(--m2-s5); padding-block: var(--m2-s5) var(--m2-s6); align-items: start; }
.m2-catalog__side { position: sticky; top: calc(var(--m2-header-h) + 24px); display: flex; flex-direction: column; gap: var(--m2-s3); }
.admin-bar .m2-catalog__side { top: calc(var(--m2-header-h) + 56px); }
.m2-search { position: relative; }
.m2-search .m2-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--m2-muted); pointer-events: none; }
.m2-search__input.m2-search__input { width: 100%; height: 50px; padding: 0 16px 0 46px; font: 400 17px/1 var(--m2-font-body); color: var(--m2-dark); background: #fff; border: 1.5px solid var(--m2-grey-100); border-radius: var(--m2-pill); outline: none; transition: border-color .2s; }
.m2-search__input.m2-search__input:focus { border-color: var(--m2-dark); }
.m2-cats { display: flex; flex-direction: column; }
.m2-cats .m2-cats__item { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding: 0 14px; font-size: 17px; font-weight: 500; line-height: 1.25; color: var(--m2-dark); text-decoration: none; border-radius: 10px; transition: background-color .2s; }
.m2-cats .m2-cats__item:hover { background: var(--m2-grey-50); }
.m2-cats .m2-cats__item[aria-current] { color: #fff; background: var(--m2-dark); }
.m2-cats__n { flex: 0 0 auto; font-size: 14px; font-variant-numeric: tabular-nums; color: var(--m2-muted); }
.m2-cats__item[aria-current] .m2-cats__n { color: #d6d6d6; }
.m2-catalog__side, .m2-catalog__main { min-width: 0; }
.m2-cats-toggle { display: none; align-items: center; gap: 10px; width: 100%; min-height: 50px; padding: 0 16px; font: 500 17px/1.2 var(--m2-font-body); color: var(--m2-dark); text-align: left; background: #fff; border: 1.5px solid var(--m2-grey-100); border-radius: 12px; cursor: pointer; }
.m2-cats-toggle__label { color: var(--m2-muted); }
.m2-cats-toggle__current { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m2-cats-toggle .m2-icon--chevron { margin-left: auto; transition: transform .2s; }
.m2-cats-toggle[aria-expanded="true"] .m2-icon--chevron { transform: rotate(180deg); }
.m2-catalog__status { margin: 0 0 var(--m2-s2); font-size: 15px; color: var(--m2-muted); min-height: 1.6em; }
.m2-more-wrap { display: flex; justify-content: center; margin-top: var(--m2-s4); }
.m2-more-wrap:has(.m2-more[hidden]) { display: none; }
.m2-catalog__empty { padding: var(--m2-s5) 0; text-align: center; color: var(--m2-muted); }

/* ---------- Product grid + card ---------- */
.m2-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--m2-s3); }
.m2-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.m2-card { display: flex; flex-direction: column; min-width: 0; background: #fff; border-radius: var(--m2-radius); box-shadow: var(--m2-shadow); overflow: hidden; transition: box-shadow .25s; }
.m2-card:hover { box-shadow: var(--m2-shadow-hover); }
.m2-card:hover .m2-ph > img { transform: scale(1.03); }
.m2-card__media { display: block; }
.m2-card__body { display: flex; flex-direction: column; gap: 12px; flex: 1; min-width: 0; padding: 16px; border-top: 1px solid var(--m2-grey-100); container-type: inline-size; }
.m2-card__name { margin: 0; font-family: var(--m2-font-body); font-size: 17px; font-weight: 600; line-height: 1.35; text-transform: none; letter-spacing: 0; }
.m2-card .m2-card__name a { color: var(--m2-dark); text-decoration: none; }
.m2-card .m2-card__name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.m2-card__form { display: flex; align-items: center; gap: 8px; margin-top: auto; } /* quantity and button in one row */
.m2-card__form .m2-qty { flex: 0 0 auto; }
.m2-card .m2-qty .m2-qty__btn { width: 38px; }
.m2-card .m2-qty .m2-qty__input { width: 36px; }
.m2-card__form .m2-btn { flex: 1 1 auto; min-width: 0; padding: 0 10px; font-size: 15px; letter-spacing: 0.03em; }
.m2-btn--add .m2-btn__add > .m2-icon { display: none; }
@container (max-width: 235px) { /* narrow cards (phones): icon button, the text stays for screen readers */
	.m2-card__form .m2-qty { flex: 1 1 auto; justify-content: space-between; }
	.m2-card__form .m2-btn { flex: 0 0 48px; width: 48px; padding: 0; }
	.m2-card__form .m2-btn__txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.m2-card__form .m2-btn__add > .m2-icon { display: block; width: 22px; height: 22px; }
	.m2-card__form .m2-btn__added .m2-icon { width: 22px; height: 22px; }
}

/* Quantity stepper */
.m2-qty { display: inline-flex; align-items: center; height: 48px; flex: 0 0 auto; border: 1.5px solid var(--m2-grey-100); border-radius: var(--m2-pill); background: #fff; }
.m2-qty .m2-qty__btn { display: grid; place-items: center; width: 44px; height: 100%; padding: 0; font: 400 22px/1 var(--m2-font-body); color: var(--m2-dark); background: transparent; border: 0; border-radius: var(--m2-pill); cursor: pointer; }
.m2-qty .m2-qty__btn:hover { background: var(--m2-grey-50); }
.m2-qty .m2-qty__input { width: 46px; height: 100%; padding: 0; font: 600 17px/1 var(--m2-font-body); text-align: center; color: var(--m2-dark); background: transparent; border: 0; -moz-appearance: textfield; appearance: textfield; }
.m2-qty__input::-webkit-outer-spin-button, .m2-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Add button: added state */
.m2-btn__added { display: none; align-items: center; gap: 8px; }
.m2-btn__added .m2-icon { width: 18px; height: 18px; }
.is-added .m2-btn--add.m2-btn--add, .m2-btn--add.is-added.is-added { color: #fff; background: var(--m2-dark); border-color: var(--m2-dark); }
.is-added .m2-btn__add { display: none; }
.is-added .m2-btn__added { display: inline-flex; }
.m2-btn--add[aria-busy="true"] { opacity: .6; cursor: progress; }

/* ---------- Bottom band ---------- */
.m2-band { padding: var(--m2-s6) 0; background: var(--m2-sand); text-align: center; }
.m2-band__inner { max-width: 760px; }
.m2-band p { margin: 0 0 var(--m2-s2); color: var(--m2-muted); }
.m2-band .m2-btn { margin-top: var(--m2-s2); }
.m2-band + .m2-footer, .m2-main:has(> .m2-band:last-child) + .m2-footer { margin-top: 0; }

/* ---------- Rental-list bar (mobile) ---------- */
.m2-listbar.m2-listbar { width: auto; font: 600 17px/1.2 var(--m2-font-body); text-align: left; border: 0; cursor: pointer; position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 30; display: none; align-items: center; gap: 12px; min-height: 56px; padding: 0 20px; font-weight: 600; color: #fff; text-decoration: none; background: var(--m2-dark); border-radius: var(--m2-pill); box-shadow: var(--m2-shadow-hover); }
.m2-listbar__go .m2-icon { transform: rotate(180deg); }
.m2-listbar__go { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-family: var(--m2-font-head); letter-spacing: 0.06em; text-transform: uppercase; color: var(--m2-gold); }

/* ---------- Product page ---------- */
.m2-product { padding-block: var(--m2-s4) var(--m2-s6); }
.m2-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: var(--m2-s3); font-size: 15px; color: var(--m2-muted); }
.m2-crumbs .m2-crumbs__a, .m2-product .m2-crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--m2-muted); }
.m2-crumbs a:hover { color: var(--m2-dark); }
.m2-product__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--m2-s6); align-items: start; }
.m2-product__media .m2-ph { border-radius: var(--m2-radius); box-shadow: var(--m2-shadow); }
.m2-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.m2-thumbs__item { width: 76px; height: 76px; overflow: hidden; border-radius: 8px; border: 1.5px solid var(--m2-grey-100); }
.m2-thumbs .m2-thumbs__item img { width: 100%; height: 100%; object-fit: cover; }
.m2-product__info { display: flex; flex-direction: column; gap: var(--m2-s3); padding-top: var(--m2-s2); }
.m2-product__sku { margin: -8px 0 0; font-size: 15px; letter-spacing: 0.04em; color: var(--m2-muted); }
.m2-product__desc p { margin: 0 0 1em; }
.m2-product__desc p:last-child { margin-bottom: 0; }
.m2-product__form { display: flex; flex-wrap: wrap; gap: 12px; }
.m2-product__form .m2-btn { flex: 1 0 auto; min-height: 52px; }
.m2-product__list.m2-product__list { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; color: var(--m2-gold-text); }
.m2-product__how { margin: 0; padding: var(--m2-s3); font-size: 16px; color: var(--m2-muted); background: var(--m2-sand); border-radius: var(--m2-radius); }
.m2-related { margin-top: var(--m2-s6); }

/* ---------- Quote page ---------- */
.m2-quote-page { padding-block: var(--m2-s5) var(--m2-s6); }
.m2-quote-page > .m2-h1 { margin-bottom: var(--m2-s4); }
.m2-q__layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--m2-s5); align-items: start; }
.m2-q.marsi-aj-form { max-width: none; margin: 0; font-family: var(--m2-font-body); font-size: inherit; color: inherit; } /* the plugin styles its own .marsi-aj-form wrapper (kept for its reCAPTCHA script) */
.m2-q fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.m2-q__legend, .m2-step__title { display: flex; align-items: center; gap: 12px; margin: 0 0 var(--m2-s3); padding: 0; font-family: var(--m2-font-head); font-size: 26px; font-weight: 600; line-height: 1.15; text-transform: uppercase; }
.m2-q__types { margin-bottom: var(--m2-s5) !important; }
.m2-q__type-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.m2-type { position: relative; display: flex; flex-direction: column; gap: 4px; min-height: 92px; padding: 18px 20px 18px 52px; background: #fff; border: 1.5px solid var(--m2-grey-100); border-radius: var(--m2-radius); cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.m2-type:hover { border-color: #cfcfcf; }
.m2-type input { position: absolute; left: 20px; top: 21px; width: 20px; height: 20px; margin: 0; accent-color: var(--m2-dark); }
.m2-type__name { font-family: var(--m2-font-head); font-size: 20px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; }
.m2-type__desc { font-size: 15px; line-height: 1.4; color: var(--m2-muted); }
.m2-type:has(input:checked) { border-color: var(--m2-dark); box-shadow: inset 0 0 0 1px var(--m2-dark); }
.m2-type:has(input:focus-visible) { outline: 3px solid var(--m2-gold); outline-offset: 3px; }

.m2-stepper { display: none; margin: 0 0 var(--m2-s4); padding: 0; list-style: none; counter-reset: m2st; }
.m2-q.is-js .m2-stepper { display: flex; }
.m2-stepper li { flex: 1; display: flex; align-items: center; gap: 12px; padding: 14px 0; font-family: var(--m2-font-head); font-size: 18px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--m2-muted); border-bottom: 3px solid var(--m2-grey-100); }
.m2-stepper li::before { counter-increment: m2st; content: counter(m2st); display: inline-grid; place-items: center; flex: 0 0 auto; width: 32px; height: 32px; font-size: 16px; border: 1.5px solid currentColor; border-radius: 50%; }
.m2-stepper li.is-done { color: var(--m2-dark); }
.m2-stepper li.is-current { color: var(--m2-dark); border-color: var(--m2-gold); }
.m2-stepper li.is-current::before { color: var(--m2-dark); background: var(--m2-gold); border-color: var(--m2-gold); }
.m2-stepper li[data-skip] { display: none; }

.m2-step { margin-bottom: var(--m2-s5) !important; }
.m2-q.is-js .m2-step { display: none; }
.m2-q.is-js .m2-step.is-current { display: block; animation: m2-fade .25s var(--m2-ease); }
@keyframes m2-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.m2-step__n { display: none; }
.m2-q.is-js .m2-step__title { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* the stepper above shows it */
.m2-step__nav { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--m2-s4); }
.m2-step__nav .m2-btn--primary { margin-left: auto; }
.m2-step__nav .m2-btn { min-width: 140px; }

.m2-lines { display: flex; flex-direction: column; gap: 12px; margin: 0 0 var(--m2-s2); padding: 0; list-style: none; }
.m2-line { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto 44px; align-items: center; gap: 16px; padding: 10px 12px 10px 10px; background: #fff; border-radius: var(--m2-radius); box-shadow: var(--m2-shadow); }
.m2-line .m2-ph { width: 76px; height: 76px; border-radius: 8px; }
.m2-line .m2-ph.m2-ph > img { padding: 6%; }
.m2-line .m2-line__name { font-weight: 600; line-height: 1.35; color: var(--m2-dark); text-decoration: none; }
.m2-line .m2-line__name:hover { text-decoration: underline; }
.m2-line .m2-line__remove { display: grid; place-items: center; width: 44px; height: 44px; color: var(--m2-muted); border-radius: 50%; }
.m2-line .m2-line__remove:hover { color: var(--m2-danger); background: rgba(179, 38, 30, 0.08); }
.m2-line.is-busy { opacity: .55; pointer-events: none; }
.m2-lines-empty { padding: var(--m2-s4); text-align: center; background: var(--m2-grey-50); border-radius: var(--m2-radius); }
.m2-lines-empty p { margin: 0 0 var(--m2-s2); }

.m2-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--m2-s3); margin-bottom: var(--m2-s3); }
.m2-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.m2-field__label { font-size: 16px; font-weight: 600; }
.m2-req { color: var(--m2-danger); }
.m2-q input[type="text"], .m2-q input[type="email"], .m2-q input[type="tel"], .m2-q input[type="date"], .m2-q input[type="number"]:not(.m2-qty__input), .m2-q textarea { width: 100%; min-height: 52px; padding: 12px 16px; font: 400 17px/1.4 var(--m2-font-body); color: var(--m2-dark); background: #fff; border: 1.5px solid #d4d4d4; border-radius: 10px; transition: border-color .2s; }
.m2-q textarea { min-height: 140px; resize: vertical; }
.m2-q input:focus, .m2-q textarea:focus { border-color: var(--m2-dark); outline: 2px solid transparent; }
.m2-field.has-error input, .m2-field.has-error textarea { border-color: var(--m2-danger); }
.m2-field__err { min-height: 0; font-size: 15px; color: var(--m2-danger); }
.m2-field__err:empty { display: none; }
.m2-consent label { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 1.5; cursor: pointer; }
.m2-consent input { flex: 0 0 auto; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--m2-dark); }
.m2-consent a { color: var(--m2-dark); }
.m2-alert { margin: 0 0 var(--m2-s3); padding: 14px 18px; color: var(--m2-danger); background: rgba(179, 38, 30, 0.07); border-radius: 10px; }
.marsi-aj-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.m2-q__summary { position: sticky; top: calc(var(--m2-header-h) + 24px); padding: var(--m2-s4); background: var(--m2-sand); border-radius: var(--m2-radius); }
.m2-q__summary-title { margin: 0 0 var(--m2-s2); font-family: var(--m2-font-head); font-size: 26px; font-weight: 600; text-transform: uppercase; }
.m2-q__summary dl, .m2-q__summary dt, .m2-q__summary dd { font-family: var(--m2-font-body); }
.m2-q__summary dl { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.m2-q__summary dt { font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--m2-muted); }
.m2-q__summary dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.m2-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.m2-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.m2-q__layout { grid-template-columns: minmax(0, 1fr); }
	.m2-q__summary { position: static; }
}
@media (max-width: 900px) {
	.m2-cat-hero__grid, .m2-product__grid { grid-template-columns: minmax(0, 1fr); gap: var(--m2-s3); }
	.m2-catalog { grid-template-columns: minmax(0, 1fr); gap: var(--m2-s3); padding-top: var(--m2-s3); }
	.m2-catalog__side { position: static; gap: var(--m2-s2); }
	/* Category filter folds into a button that opens the list. */
	.m2-cats-toggle { display: flex; }
	.m2-cats { display: none; margin-top: -8px; padding: 6px; background: #fff; border: 1.5px solid var(--m2-grey-100); border-radius: 12px; box-shadow: var(--m2-shadow); }
	.m2-cats.is-open { display: flex; }
	.m2-fields { grid-template-columns: 1fr; gap: var(--m2-s2); }
	.m2-q__type-grid { gap: 8px; }
	.m2-type { min-height: 56px; padding: 10px 6px; align-items: center; justify-content: center; text-align: center; }
	.m2-type input { position: absolute; opacity: 0; pointer-events: none; }
	.m2-type__name { font-size: 17px; line-height: 1.1; }
	.m2-type__desc { display: none; }
	.m2-type:has(input:checked) { color: #fff; background: var(--m2-dark); }
}
@media (max-width: 767px) {
	.m2-cat-hero { padding: var(--m2-s5) 0 var(--m2-s4); }
	/* Phones: one product per row, photo on the left – a list is quicker to scan and the controls stay large. */
	.m2-grid, .m2-grid--4 { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.m2-card { flex-direction: row; }
	.m2-card__media { flex: 0 0 112px; }
	.m2-card .m2-ph { width: 112px; height: 100%; min-height: 112px; aspect-ratio: auto; }
	.m2-card__body { padding: 12px 12px 12px 14px; gap: 10px; border-top: 0; border-left: 1px solid var(--m2-grey-100); }
	.m2-card__name { font-size: 16px; }
	.m2-listbar.m2-listbar { display: flex; }
	.m2-catalog:has(+ .m2-band) { padding-bottom: var(--m2-s5); }
	body:has(.m2-listbar:not([hidden])) .m2-footer__bottom { padding-bottom: 88px; }
	.m2-stepper li { font-size: 0; justify-content: center; gap: 0; }
	.m2-stepper li::before { font-size: 16px; }
	.m2-stepper li.is-current { font-size: 15px; gap: 8px; }
	.m2-line { grid-template-columns: 60px minmax(0, 1fr) 44px; gap: 8px 12px; }
	.m2-line .m2-ph { width: 60px; height: 60px; }
	.m2-line__media { grid-row: 1 / 3; }
	.m2-line .m2-qty { grid-column: 2; grid-row: 2; justify-self: start; }
	.m2-line .m2-line__remove { grid-column: 3; grid-row: 1; }
	.m2-step__nav .m2-btn { flex: 1 1 0; min-width: 0; }
	.m2-q__summary { padding: var(--m2-s3); }
	.m2-product__form .m2-btn { width: 100%; }
}

/* ---------- Rental list quick view (bottom sheet) ---------- */
.m2-sheet { position: fixed; inset: auto 0 0 0; width: 100%; max-width: 100%; max-height: 82dvh; margin: 0; padding: 0; display: none; flex-direction: column; color: var(--m2-dark); background: #fff; border: 0; border-radius: 20px 20px 0 0; box-shadow: var(--m2-shadow-hover); }
.m2-sheet[open] { display: flex; animation: m2-sheet-in .28s var(--m2-ease); }
.m2-sheet::backdrop { background: rgba(17, 17, 17, 0.45); }
@keyframes m2-sheet-in { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.m2-sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--m2-grey-100); }
.m2-sheet__title { margin: 0; font-family: var(--m2-font-head); font-size: 22px; font-weight: 600; text-transform: uppercase; }
.m2-sheet__close { display: grid; place-items: center; width: 44px; height: 44px; color: inherit; background: transparent; border: 0; border-radius: 50%; cursor: pointer; }
.m2-sheet__body { flex: 1 1 auto; overflow-y: auto; padding: 4px 20px; overscroll-behavior: contain; }
.m2-sheet__foot { padding: 12px 20px max(16px, env(safe-area-inset-bottom)); border-top: 1px solid var(--m2-grey-100); }

/* ---------- Mini list (quick view + quote summary) ---------- */
.m2-minilist__list { margin: 0; padding: 0; list-style: none; }
.m2-minilist__item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--m2-grey-100); }
.m2-minilist__item:last-child { border-bottom: 0; }
.m2-minilist .m2-ph { width: 56px; height: 56px; border-radius: 8px; }
.m2-minilist .m2-ph.m2-ph > img { padding: 4%; }
.m2-minilist .m2-minilist__name { font-size: 16px; font-weight: 600; line-height: 1.3; color: inherit; text-decoration: none; }
.m2-minilist__qty { font-variant-numeric: tabular-nums; color: var(--m2-muted); white-space: nowrap; }
.m2-minilist__empty { margin: 8px 0; color: var(--m2-muted); }

/* ---------- Quote page, revised: sand page, white form card, dark summary ---------- */
.m2-quote-page { padding-block: var(--m2-s5) var(--m2-s6); background: var(--m2-sand); }
.m2-main:has(.m2-quote-page) + .m2-footer { margin-top: 0; }
.m2-q-title { margin: 0 0 var(--m2-s3); font-family: var(--m2-font-head); font-size: clamp(32px, 3.6vw, 44px); font-weight: 600; line-height: 1.15; text-transform: uppercase; }
.m2-q-card { padding: var(--m2-s4); background: #fff; border-radius: 16px; box-shadow: var(--m2-shadow); }
.m2-q .m2-q__legend { margin: 0 0 14px; font-family: var(--m2-font-head); font-size: 16px; font-weight: 500; letter-spacing: 0.12em; color: var(--m2-gold-text); }
.m2-q .m2-q__types { margin: 0 0 var(--m2-s4) !important; padding-bottom: var(--m2-s4); border-bottom: 1px solid var(--m2-grey-100); }
.m2-type { padding: 18px; gap: 6px; }
.m2-type input { position: absolute; opacity: 0; pointer-events: none; }
.m2-type__icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 6px; color: var(--m2-dark); background: rgba(189, 175, 130, 0.22); border-radius: 50%; }
.m2-type__icon .m2-icon { width: 22px; height: 22px; }
.m2-type__check { position: absolute; top: 14px; right: 14px; display: none; place-items: center; width: 26px; height: 26px; color: #fff; background: var(--m2-gold-text); border-radius: 50%; }
.m2-type__check .m2-icon { width: 16px; height: 16px; stroke-width: 2.5; }
.m2-type:has(input:checked) { background: #fbfaf6; border-color: var(--m2-dark); box-shadow: inset 0 0 0 1px var(--m2-dark); }
.m2-type:has(input:checked) .m2-type__check { display: grid; }
.m2-type:has(input:checked) .m2-type__icon { color: #fff; background: var(--m2-dark); }
.m2-q-card .m2-line { box-shadow: none; border: 1px solid var(--m2-grey-100); }
.m2-q__summary.m2-q__summary { color: #fff; background: var(--m2-dark); border-radius: 16px; }
.m2-q__summary .m2-q__summary-title { color: #fff; }
.m2-q__summary dt { color: #b9b9b9; }
.m2-q__summary dd { color: #fff; }
.m2-q__summary dl > div { padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.m2-q__summary dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.m2-q__summary .m2-minilist__item { border-color: rgba(255, 255, 255, 0.12); grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; padding: 8px 0; }
.m2-q__summary .m2-minilist .m2-ph { width: 44px; height: 44px; }
.m2-q__summary .m2-minilist__name { font-size: 15px; font-weight: 500; }
.m2-q__summary .m2-minilist__qty { color: var(--m2-gold); font-weight: 600; }
.m2-q__summary .m2-minilist__empty { color: #b9b9b9; }
@media (max-width: 900px) {
	.m2-type { padding: 12px 4px; }
	.m2-type__name { font-size: 15px; letter-spacing: 0.01em; overflow-wrap: anywhere; }
	.m2-type__icon { margin: 0 auto 4px; width: 40px; height: 40px; }
	.m2-type__check { top: 6px; right: 6px; width: 22px; height: 22px; }
	.m2-type:has(input:checked) { color: inherit; background: #fbfaf6; }
}
@media (max-width: 767px) {
	.m2-quote-page { padding-top: var(--m2-s4); }
	.m2-q-card { padding: 20px 16px; }
}

/* ---------- Closing band on a darkened photo (all pages) ---------- */
.m2-band--color { padding: var(--m2-s7) 0; color: var(--m2-dark); background: var(--m2-gold); } /* green is for Az Udvar only (user, 2026-10-14) */
.m2-band--color .m2-h2 { color: var(--m2-dark); font-size: clamp(38px, 5vw, 68px); }
.m2-band--color p { color: var(--m2-dark); font-size: 19px; }
.m2-band--color .m2-btn--primary.m2-btn--primary { background: var(--m2-dark); border-color: var(--m2-dark); }
.m2-band--color .m2-btn--primary.m2-btn--primary:hover { background: var(--m2-black); border-color: var(--m2-black); }
.m2-band--color .m2-btn:not(.m2-btn--primary):hover { color: var(--m2-dark); background: rgba(255, 255, 255, 0.35); border-color: var(--m2-dark); }
.m2-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: var(--m2-s4); }
.m2-band .m2-band__actions .m2-btn { margin-top: 0; }
.m2-btn--light.m2-btn--light { color: #fff; border-color: #fff; }
.m2-btn--light.m2-btn--light:hover { color: var(--m2-dark); background: #fff; }
.m2-btn--gold.m2-btn--gold { color: var(--m2-dark); background: var(--m2-gold); border-color: var(--m2-gold); }
.m2-btn--gold.m2-btn--gold:hover { color: var(--m2-dark); background: #d3c79c; border-color: #d3c79c; }
.m2-main:has(> .m2-band:last-child) + .m2-footer { margin-top: 0; }
@media (max-width: 767px) {
	.m2-band--color { padding: var(--m2-s6) 0; }
	.m2-band__actions .m2-btn { flex: 1 1 100%; }
}

/* Rental options (2026-10-14): delivery checkbox, washing note; reply time above the send button. */
.m2-rental-opts { margin-top: var(--m2-s3); padding: var(--m2-s3); background: var(--m2-sand); border-radius: var(--m2-radius); }
.m2-check { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 600; cursor: pointer; }
.m2-check input { width: 22px; height: 22px; margin: 0; accent-color: var(--m2-gold-text); }
.m2-rental-opts__hint { margin: 2px 0 0 34px; color: var(--m2-muted); }
.m2-rental-opts__small { margin: var(--m2-s2) 0 0; font-size: 14px; color: var(--m2-muted); }
.m2-q__reply { margin: var(--m2-s2) 0 0; font-weight: 600; color: var(--m2-gold-text); }
