/* Mobelli – new product page. Mobelli CI, Burrow-style layout. */
:root {
	--mpt-orange: #e4791d;
	--mpt-orange-dark: #c9640f;
	--mpt-ink: #2b2b2b;
	--mpt-text: #4e4e4d;
	--mpt-muted: #7a7a7a;
	--mpt-line: #e3e1dd;
	--mpt-panel: #f4f3f1;
	--mpt-warn-bg: #fff3e6;
	--mpt-warn: #b4500a;
	--mpt-serif: "Prata", Georgia, serif;
	--mpt-sans: "Montserrat", Arial, sans-serif;
	--mpt-sticky-top: 90px;
	--mpt-max: 1440px;
}

/* ---------- Layout helpers ---------- */
.mpt-section { font-family: var(--mpt-sans); color: var(--mpt-text); }
.mpt-wrap { max-width: var(--mpt-max); margin: 0 auto; padding: 0 40px; }
.mpt-section + .mpt-section { margin-top: 0; }
.mpt-grid { display: grid; gap: 48px; }
.mpt-grid--2 { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
.mpt-eyebrow { font-family: var(--mpt-sans); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--mpt-orange); margin: 0 0 14px; }
.mpt-section .mpt-h2, .mpt-h2 { font-family: var(--mpt-serif); font-weight: 400; color: var(--mpt-ink); font-size: clamp(26px, 2.4vw, 36px); line-height: 1.2; margin: 0 0 18px; }
.mpt-section .mpt-h2--xl { font-size: clamp(32px, 3.6vw, 54px); line-height: 1.12; }
.mpt-center { text-align: center; }
.mpt-link { background: none; border: 0; padding: 0; font: 600 13px/1.4 var(--mpt-sans); color: var(--mpt-orange) !important; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.mpt-link:hover { color: var(--mpt-orange-dark) !important; background: none; }

/* Arrows (gallery + carousels) */
.mpt-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--mpt-line); background: #fff; color: var(--mpt-ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; box-shadow: 0 2px 8px rgba(0,0,0,.08); transition: border-color .2s, opacity .2s; }
.mpt-arrow::before { content: ""; width: 9px; height: 9px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(135deg); margin-left: 4px; }
.mpt-arrow--next::before { transform: rotate(-45deg); margin: 0 4px 0 0; }
.mpt-arrow:hover, .mpt-arrow:focus-visible { border-color: var(--mpt-orange); background: #fff; color: var(--mpt-orange); }
.mpt-arrow[disabled] { opacity: .35; cursor: default; }

/* ---------- Top section ---------- */
.mpt-top { align-items: flex-start; }
@media (min-width: 1025px) {
	/* Image side stays put while the buy box scrolls */
	.mpt-sticky-col { position: sticky !important; top: var(--mpt-sticky-top); align-self: flex-start; z-index: 2; }
	.elementor-section.mpt-top > .elementor-container { align-items: flex-start; }
}

/* Gallery */
.mpt-gallery { width: 100%; }
.mpt-gallery__main { position: relative; background: var(--mpt-panel); }
.mpt-gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; aspect-ratio: var(--mpt-ratio, 1 / 1); outline: none; }
.mpt-gallery__track::-webkit-scrollbar { display: none; }
.mpt-gallery__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; display: flex; align-items: center; justify-content: center; }
.mpt-gallery__slide img { width: 100%; height: 100%; object-fit: contain; display: block; }
.mpt-gallery__prev, .mpt-gallery__next { position: absolute; bottom: 18px; z-index: 3; }
.mpt-gallery__prev { right: 72px; }
.mpt-gallery__next { right: 18px; }
.mpt-gallery__count { position: absolute; left: 18px; bottom: 26px; font: 500 12px/1 var(--mpt-sans); color: var(--mpt-ink); background: rgba(255,255,255,.85); padding: 6px 10px; border-radius: 20px; }
.mpt-gallery__thumbs { margin-top: 12px; }
.mpt-gallery__thumbtrack { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 6px; scroll-behavior: smooth; }
.mpt-thumb { flex: 0 0 calc((100% - 50px) / 6); min-width: 72px; padding: 0; border: 2px solid transparent; background: var(--mpt-panel); cursor: pointer; border-radius: 0; aspect-ratio: 1 / 1; overflow: hidden; }
.mpt-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mpt-thumb.is-active, .mpt-thumb:focus-visible { border-color: var(--mpt-orange); background: var(--mpt-panel); }
.mpt-thumb:hover { background: var(--mpt-panel); border-color: var(--mpt-line); }
.mpt-thumb.is-active:hover { border-color: var(--mpt-orange); }

/* Buy box */
.mpt-buybox .elementor-widget:not(:last-child) { margin-bottom: 14px; }
.mpt-buybox h1.elementor-heading-title { font-family: var(--mpt-serif); font-weight: 400; font-size: clamp(26px, 2.1vw, 34px); line-height: 1.2; color: var(--mpt-ink); }
.mpt-buybox .price { font-family: var(--mpt-sans); }

/* Colour swatches */
.mpt-colours { margin: 4px 0 6px; font-family: var(--mpt-sans); }
.mpt-colours__label { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--mpt-ink); margin-bottom: 10px; }
.mpt-colours__label strong { text-transform: none; letter-spacing: 0; font-weight: 600; }
.mpt-colours__list { display: flex; flex-wrap: wrap; gap: 10px; }
.mpt-swatch { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 72px; text-decoration: none !important; color: var(--mpt-text) !important; }
.mpt-swatch__img { width: 64px; height: 64px; border: 1px solid var(--mpt-line); background: var(--mpt-panel); overflow: hidden; display: block; transition: border-color .2s; }
.mpt-swatch__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mpt-swatch__label { font-size: 11px; line-height: 1.3; text-align: center; }
.mpt-swatch:hover .mpt-swatch__img { border-color: var(--mpt-ink); }
.mpt-swatch.is-current .mpt-swatch__img { border: 2px solid var(--mpt-orange); }
.mpt-swatch.is-oos .mpt-swatch__img { opacity: .5; }

/* Add to cart area */
.mpt-atc p.stock { display: none; } /* simple products: availability is shown under Float instead */
.mpt-atc .woocommerce-variation-availability p.stock { display: block; }
.mpt-atc form.cart { margin-bottom: 0 !important; }
.mpt-atc .single_add_to_cart_button { min-height: 52px; }
.mpt-atc .bundle_sells_title, .mpt-atc .bundle_sells_title h3 { font: 600 13px/1.4 var(--mpt-sans) !important; text-transform: uppercase; letter-spacing: .06em; color: var(--mpt-ink); margin: 18px 0 10px !important; border-top: 1px solid var(--mpt-line); padding-top: 16px; }

/* Under Add to Cart */
.mpt-buymeta { font-family: var(--mpt-sans); display: flex; flex-direction: column; gap: 10px; }
.mpt-float .float-lightbox { font-size: 13px; }
.mpt-float .float-highlight, .mpt-float .float-highlight * { color: var(--mpt-ink) !important; font-weight: 600; }
.mpt-paylines { font-size: 13px; color: var(--mpt-text); line-height: 1.5; }
.mpt-paylines p { margin: 0 0 4px; }
.mpt-availability { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--mpt-line); padding-top: 12px; margin-top: 2px; }
.mpt-avail { display: inline-flex; align-items: center; gap: 10px; font: 500 14px/1.4 var(--mpt-sans); color: var(--mpt-ink); background: none; border: 0; padding: 0; text-align: left; cursor: default; }
button.mpt-avail { cursor: pointer; }
button.mpt-avail span:last-child { text-decoration: underline; text-decoration-color: var(--mpt-line); text-underline-offset: 3px; }
button.mpt-avail:hover, button.mpt-avail:focus { background: none; color: var(--mpt-orange); }
.mpt-avail--low { color: var(--mpt-warn); font-weight: 600; }

/* Backorder / sold-out notice – strong enough not to be missed */
.mpt-notice, .mpt-atc .woocommerce-variation-availability .available-on-backorder { display: flex; gap: 12px; align-items: flex-start; background: var(--mpt-warn-bg); border: 1px solid #f3c79c; border-left: 4px solid var(--mpt-orange); padding: 14px 16px; color: var(--mpt-ink); font: 400 13px/1.55 var(--mpt-sans); }
.mpt-notice > div { display: flex; flex-direction: column; gap: 4px; }
.mpt-notice__title { font-size: 15px; font-weight: 700; color: var(--mpt-warn); text-transform: uppercase; letter-spacing: .03em; }
.mpt-notice__date { font-weight: 600; }
.mpt-notice--oos { background: #f6f6f6; border-color: #ddd; border-left-color: var(--mpt-ink); }
.mpt-notice a { color: var(--mpt-orange) !important; }

/* Icons */
.mpt-ico { flex: 0 0 auto; width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.mpt-ico--truck { color: var(--mpt-orange); --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M2 6h11v10H2zM13 9h4.5l3.5 3.5V16h-8z'/%3E%3Ccircle cx='6' cy='17.5' r='1.8' fill='white'/%3E%3Ccircle cx='17' cy='17.5' r='1.8' fill='white'/%3E%3C/svg%3E"); }
.mpt-ico--clock { color: var(--mpt-orange); margin-top: 1px; --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }

/* Side panel list (keeps Mobelli's accordion look) */
.mpt-sp { border-top: 2px solid var(--mpt-orange); font-family: var(--mpt-sans); }
.mpt-sp__item { border-bottom: 1px solid var(--mpt-line); }
button.mpt-sp__item, .mpt-sp__title { display: flex; width: 100%; justify-content: space-between; align-items: center; background: none !important; border: 0; border-bottom: 1px solid var(--mpt-line); padding: 13px 4px; font: 600 13px/1.4 var(--mpt-sans); color: var(--mpt-ink) !important; text-align: left; cursor: pointer; border-radius: 0; }
.mpt-sp__item--desc .mpt-sp__title { border-bottom: 0; padding-bottom: 6px; }
.mpt-sp__title::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(-45deg); flex: 0 0 auto; margin-left: 12px; }
.mpt-sp__title:hover, .mpt-sp__title:focus-visible { color: var(--mpt-orange) !important; }
.mpt-sp__preview { font-size: 13px; line-height: 1.6; max-height: 4.8em; overflow: hidden; position: relative; padding: 0 4px; }
.mpt-sp__preview::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.8em; background: linear-gradient(rgba(255,255,255,0), #fff); }
.mpt-sp__preview p { margin: 0 0 6px; }
.mpt-sp__item--desc .mpt-link { margin: 2px 4px 12px; display: inline-block; }

/* Slide-out panel */
.mpt-panel[hidden] { display: none; }
.mpt-panel { position: fixed; inset: 0; z-index: 100000; }
.mpt-panel__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.35); opacity: 0; transition: opacity .3s; }
.mpt-panel__box { position: absolute; top: 0; right: 0; height: 100%; width: min(460px, 100%); background: #fff; overflow-y: auto; padding: 56px 40px 40px; box-shadow: -12px 0 40px rgba(0,0,0,.12); transform: translateX(100%); transition: transform .35s ease; font-family: var(--mpt-sans); color: var(--mpt-text); outline: none; }
.mpt-panel.is-open .mpt-panel__overlay { opacity: 1; }
.mpt-panel.is-open .mpt-panel__box { transform: none; }
.mpt-panel__close { position: absolute; top: 12px; right: 16px; background: none !important; border: 0; font-size: 34px; line-height: 1; color: var(--mpt-ink) !important; cursor: pointer; padding: 4px 8px; }
.mpt-panel__title { font: 600 20px/1.3 var(--mpt-sans); color: var(--mpt-ink); margin: 0 0 24px; }
.mpt-panel__content { font-size: 14px; line-height: 1.7; }
.mpt-panel__content p { margin: 0 0 12px; }
.mpt-panel__content ul { margin: 0 0 14px 18px; padding: 0; list-style: disc; }
.mpt-panel__content ol { margin: 0 0 14px 18px; padding: 0; }
.mpt-panel__content li { margin-bottom: 6px; list-style: inherit; }
.mpt-panel__content a { color: var(--mpt-orange); text-decoration: underline; }
.mpt-panel__content strong, .mpt-panel__content b { font-weight: 700; color: var(--mpt-ink); }
.mpt-panel__content img { max-width: 100%; height: auto; }
body.mpt-noscroll { overflow: hidden; }

/* ---------- Overview ---------- */
.mpt-overview { padding: 96px 0 72px; }
.mpt-overview__text { font-size: 16px; line-height: 1.75; }
.mpt-overview__text p { margin: 0 0 14px; }
.mpt-overview__text a { color: var(--mpt-orange); }
.mpt-overview__points { margin: 18px 0 0; padding: 0 0 0 20px; font-size: 15px; line-height: 1.6; }
.mpt-overview__points li { margin-bottom: 8px; list-style: disc; }
.mpt-overview__points li::marker { color: var(--mpt-orange); }

/* ---------- Carousels / cards ---------- */
.mpt-carousel { position: relative; }
.mpt-carousel__nav { display: flex; gap: 8px; justify-content: flex-end; margin-bottom: 14px; }
.mpt-carousel__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; outline: none; }
.mpt-carousel__track::-webkit-scrollbar { display: none; }
.mpt-carousel.is-static .mpt-carousel__nav { display: none; }
.mpt-card { flex: 0 0 calc((100% - 48px) / 4); scroll-snap-align: start; text-decoration: none !important; color: var(--mpt-text) !important; font-family: var(--mpt-sans); display: flex; flex-direction: column; gap: 6px; }
.mpt-card__img { position: relative; display: block; background: var(--mpt-panel); aspect-ratio: 4 / 3; overflow: hidden; }
.mpt-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.mpt-card:hover .mpt-card__img img { transform: scale(1.03); }
.mpt-card__badge { position: absolute; top: 10px; left: 10px; z-index: 1; background: var(--mpt-orange); color: #fff; font-size: 11px; font-weight: 600; padding: 4px 8px; }
.mpt-card__title { font-size: 14px; font-weight: 500; color: var(--mpt-ink); margin-top: 6px; line-height: 1.35; }
.mpt-card__price { font-size: 13px; color: var(--mpt-orange); }
.mpt-card__price del { color: var(--mpt-muted); margin-right: 4px; }
.mpt-card__price ins { text-decoration: none; }

.mpt-configs { padding: 40px 0 72px; }
.mpt-config { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 40px; align-items: center; }
.mpt-config .mpt-card { flex-basis: calc((100% - 32px) / 3); }

.mpt-collection { padding: 80px 0; }
.mpt-collection__head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: -44px; padding-right: 110px; position: relative; z-index: 1; }

/* ---------- Dimensions ---------- */
.mpt-dims { background: var(--mpt-panel); padding: 72px 0; }
.mpt-grid--dims { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: center; }
.mpt-grid--noimg { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
.mpt-dims__img img { width: 100%; height: auto; mix-blend-mode: multiply; }
.mpt-dims__table { margin: 8px 0 0; }
.mpt-dims__table > div { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #d8d5cf; padding: 15px 0; }
.mpt-dims__table > div:last-child { border-bottom: 1px solid #d8d5cf; }
.mpt-dims__table dt { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--mpt-ink); font-weight: 500; }
.mpt-dims__table dd { margin: 0; font-size: 15px; color: var(--mpt-ink); text-align: right; }

/* ---------- Key features ---------- */
.mpt-features { padding: 80px 0; }
.mpt-features__row { display: grid; grid-template-columns: repeat(var(--mpt-cols, 4), minmax(0, 1fr)); gap: 40px; text-align: center; }
.mpt-feature__icon { height: 64px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.mpt-feature__icon img { max-height: 64px; width: auto; }
.mpt-feature__title { font: 600 14px/1.4 var(--mpt-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mpt-ink); margin: 0 0 10px; }
.mpt-feature__text { font-size: 14px; line-height: 1.6; margin: 0 auto; max-width: 280px; }

/* ---------- Video ---------- */
.mpt-video { padding: 0 0 80px; }
.mpt-video .mpt-h2 { margin-bottom: 28px; }
.mpt-video__media { position: relative; width: 100%; background: #000; }
.mpt-video__media video { width: 100%; max-height: 80vh; object-fit: cover; display: block; }
.mpt-embed { position: relative; aspect-ratio: 16 / 9; max-height: 80vh; margin: 0 auto; }
.mpt-embed iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }

/* ---------- Story boxes ---------- */
.mpt-stories { padding: 0; }
.mpt-story { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: stretch; min-height: 460px; }
.mpt-story--text-right { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.mpt-story--text-right .mpt-story__text { order: 2; }
.mpt-story--text-right .mpt-story__media { order: 1; }
.mpt-story--nomedia { grid-template-columns: 1fr; min-height: 0; }
.mpt-story__text { display: flex; align-items: center; padding: 64px clamp(24px, 5vw, 80px); }
.mpt-story__inner { max-width: 520px; }
.mpt-story__body { font-size: 16px; line-height: 1.7; }
.mpt-story__body p { margin: 0 0 12px; }
.mpt-story__points { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; margin-top: 28px; }
.mpt-story__point h3 { font: 600 12px/1.4 var(--mpt-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mpt-ink); margin: 0 0 6px; }
.mpt-story__point p { font-size: 13px; line-height: 1.55; margin: 0; }
.mpt-story__media { position: relative; overflow: hidden; background: var(--mpt-panel); }
.mpt-story__media img, .mpt-story__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mpt-story__media .mpt-embed { position: absolute; inset: 0; aspect-ratio: auto; max-height: none; }
.mpt-stories--service .mpt-story { background: #fff; }
.mpt-stories--service .mpt-story:nth-child(odd) { background: var(--mpt-panel); }

/* ---------- Reviews ---------- */
.mpt-reviews { padding: 80px 0; }
.mpt-reviews__head { margin-bottom: 28px; }
.mpt-reviews__score { display: flex; align-items: center; gap: 12px; }
.mpt-reviews__num { font: 600 28px/1 var(--mpt-sans); color: var(--mpt-ink); }
.mpt-reviews__count { margin: 6px 0 8px; font-size: 14px; }
.mpt-reviews__photos { display: flex; gap: 12px; overflow-x: auto; margin-bottom: 32px; scrollbar-width: thin; }
.mpt-reviews__photo { flex: 0 0 120px; height: 120px; overflow: hidden; }
.mpt-reviews__photo img { width: 100%; height: 100%; object-fit: cover; }
.mpt-review { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; border-top: 1px solid var(--mpt-line); padding: 26px 0; }
.mpt-review:last-child { border-bottom: 1px solid var(--mpt-line); }
.mpt-review__who { display: flex; flex-direction: column; gap: 8px; }
.mpt-review__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--mpt-panel); color: var(--mpt-ink); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 15px; }
.mpt-review__name { font-size: 14px; font-weight: 600; color: var(--mpt-ink); }
.mpt-review__title { font: 600 14px/1.4 var(--mpt-sans); color: var(--mpt-ink); margin: 8px 0 6px; }
.mpt-review__body p { font-size: 15px; line-height: 1.65; margin: 6px 0; }
.mpt-review__date { font-size: 12px; color: var(--mpt-muted); }
.mpt-stars { position: relative; display: inline-block; font-size: 18px; line-height: 1; letter-spacing: 2px; color: #d9d6d0; }
.mpt-stars::before { content: "★★★★★"; }
.mpt-stars__fill { position: absolute; top: 0; left: 0; overflow: hidden; white-space: nowrap; color: var(--mpt-orange); }
.mpt-stars__fill::before { content: "★★★★★"; }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
	.mpt-wrap { padding: 0 24px; }
	.mpt-grid--2, .mpt-grid--dims, .mpt-config { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.mpt-card { flex-basis: calc((100% - 32px) / 2.6); }
	.mpt-config .mpt-card { flex-basis: calc((100% - 32px) / 2.6); }
	.mpt-features__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mpt-story, .mpt-story--text-right { grid-template-columns: minmax(0, 1fr); min-height: 0; }
	.mpt-story__media { aspect-ratio: 4 / 3; order: 1 !important; }
	.mpt-story__text { order: 2 !important; padding: 40px 24px 56px; }
	.mpt-overview { padding: 64px 0 48px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
	.mpt-wrap { padding: 0 18px; }
	.mpt-gallery__main { margin: 0 -10px; }
	.mpt-gallery__prev, .mpt-gallery__next { width: 38px; height: 38px; bottom: 12px; }
	.mpt-gallery__prev { right: 58px; }
	.mpt-gallery__next { right: 12px; }
	.mpt-gallery__count { bottom: 20px; left: 12px; }
	.mpt-thumb { flex-basis: 64px; min-width: 64px; }
	.mpt-card, .mpt-config .mpt-card { flex-basis: 72%; }
	.mpt-features { padding: 56px 0; }
	.mpt-features__row { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.mpt-dims, .mpt-collection, .mpt-reviews { padding: 56px 0; }
	.mpt-collection__head { margin-bottom: 16px; padding-right: 0; }
	.mpt-collection .mpt-carousel__nav { display: none; }
	.mpt-review { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.mpt-review__who { flex-direction: row; align-items: center; }
	.mpt-panel__box { padding: 56px 24px 32px; }
	.mpt-video { padding-bottom: 56px; }
}


/* ---------- Template glue (v1.0.1) ---------- */
/* The theme puts overflow-x:hidden on html/body, which stops position:sticky working. clip keeps the same look without breaking sticky. */
html:has(body.single-product .mpt-top), body.single-product:has(.mpt-top) { overflow-x: clip !important; overflow-y: visible !important; }
@media (min-width: 1025px) {
	/* Keep the whole gallery (image + thumbnails) on screen while it's sticky */
	/* Narrow the gallery on short screens instead of cropping, so Mobelli's image ratio is kept */
	.mpt-sticky-col .mpt-gallery { max-width: calc((100vh - var(--mpt-sticky-top) - 150px) * var(--mpt-ratio-num, 1)); margin: 0 auto; }
}
.mpt-stack > .elementor-container { max-width: none !important; }
.mpt-stack .elementor-widget-wrap { padding: 0 !important; }
.mpt-stack .elementor-widget:not(:last-child) { margin-bottom: 0 !important; }
.mpt-stack .elementor-widget-shortcode .elementor-shortcode:empty { display: none; }

/* Buy box spacing and Add to Cart row */
.mpt-buybox .elementor-widget-heading + .elementor-widget-heading { margin-top: -4px; }
.mpt-buybox h1.elementor-heading-title { margin-bottom: 6px; }
.mpt-atc .e-atc-qty-button-holder { display: flex !important; flex-wrap: nowrap; gap: 12px; align-items: stretch; }
.mpt-atc .quantity { margin: 0 !important; }
.mpt-atc .quantity input.qty { width: 84px !important; height: 54px !important; border: 1px solid #d2d2d2 !important; font: 500 18px/1 var(--mpt-sans) !important; color: var(--mpt-ink) !important; text-align: center; margin: 0 !important; }
.mpt-atc .single_add_to_cart_button { flex: 1 1 auto; min-height: 54px; margin: 0 !important; font: 600 14px/1 var(--mpt-sans) !important; letter-spacing: .08em; text-transform: uppercase; background: var(--mpt-orange) !important; border-color: var(--mpt-orange) !important; }
.mpt-atc .single_add_to_cart_button:hover { background: var(--mpt-orange-dark) !important; border-color: var(--mpt-orange-dark) !important; }
/* Wishlist + Secure Checkout on one line */
.mpt-buybox .elementor-widget-icon-box, .mpt-buybox .elementor-widget-yith_wcwl_add_to_wishlist { width: auto !important; max-width: none; margin-right: 28px; margin-bottom: 18px !important; }
.mpt-buybox .elementor-widget-yith_wcwl_add_to_wishlist * { position: static !important; top: auto !important; float: none !important; margin: 0 !important; }
.mpt-buybox .elementor-widget-yith_wcwl_add_to_wishlist + .elementor-widget-icon-box, .mpt-buybox .elementor-widget-icon-box + .elementor-widget-yith_wcwl_add_to_wishlist { align-self: center; }
/* Dimension drawing shouldn't dominate */
.mpt-gallery__slide picture { display: contents; }
.mpt-atc .elementor-add-to-cart .e-atc-qty-button-holder .quantity { flex: 0 0 auto !important; width: auto !important; }
.mpt-buybox .elementor-widget-icon-box { margin-top: 0 !important; }
.mpt-atc .elementor-add-to-cart .e-atc-qty-button-holder { flex-wrap: nowrap !important; }
.mpt-atc .elementor-add-to-cart .e-atc-qty-button-holder .single_add_to_cart_button { flex: 1 1 0 !important; min-width: 0; width: auto !important; }
.mpt-atc .e-atc-qty-button-holder { flex-direction: row !important; }
.mpt-atc .e-atc-qty-button-holder .single_add_to_cart_button { width: auto !important; }
.mpt-atc .bundle_sells_title { border-top: 0 !important; padding-top: 0 !important; }
.mpt-atc .bundle_sells_title h3 { border: 0 !important; padding: 0 !important; margin: 4px 0 10px !important; }
.mpt-atc .bundle_sells_form .bundled_product { display: flex; gap: 14px; align-items: center; border: 1px solid var(--mpt-line); padding: 10px; margin-bottom: 10px; }
.mpt-atc .bundle_sells_form .bundled_product_images { width: 72px !important; flex: 0 0 72px; margin: 0 !important; }
.mpt-atc .bundle_sells_form .details { flex: 1 1 auto; padding: 0 !important; margin: 0 !important; }
.mpt-atc .bundle_sells_form .bundled_product_title { font: 600 14px/1.35 var(--mpt-sans) !important; margin: 0 0 4px !important; }
.mpt-dims__img { display: flex; justify-content: center; }
.mpt-dims__img img { width: 100%; height: auto; max-height: 420px; object-fit: contain; }
.mpt-buybox .elementor-widget-icon-box, .mpt-buybox .elementor-widget-yith_wcwl_add_to_wishlist { align-self: center; }
.mpt-buybox .elementor-widget-icon-box .elementor-icon-box-wrapper { display: flex; align-items: center; gap: 8px; }
.mpt-buybox .elementor-widget-icon-box .elementor-icon-box-title { margin: 0 !important; }

/* Wishlist: show the label on every screen size (brief: wishlist wasn't visible on mobile) */
.mpt-buybox .yith-wcwl-add-button a, .mpt-buybox .yith-wcwl-wishlistexistsbrowse a, .mpt-buybox .yith-wcwl-wishlistaddedbrowse a { display: inline-flex !important; align-items: center; gap: 8px; font: 500 13px/1.4 var(--mpt-sans); color: var(--mpt-ink) !important; }
.mpt-buybox .yith-wcwl-add-button a > span, .mpt-buybox .yith-wcwl-add-to-wishlist a > span { display: inline !important; }
@media (max-width: 767px) {
	.mpt-buybox .elementor-widget-icon-box, .mpt-buybox .elementor-widget-yith_wcwl_add_to_wishlist { margin-right: 20px; }
}

/* Story boxes without an image/video line up with the page content */
.mpt-story--nomedia .mpt-story__text { max-width: var(--mpt-max); width: 100%; margin: 0 auto; padding: 56px 40px; box-sizing: border-box; }
.mpt-story--nomedia .mpt-story__inner { max-width: 760px; }
.mpt-story__body a, .mpt-overview__text a { color: var(--mpt-orange) !important; text-decoration: underline; }

/* Video overview: edge to edge, no gap underneath */
.mpt-section.mpt-video { padding: 0 !important; margin: 0 !important; }
.mpt-video .mpt-h2 { padding-top: 64px; }
.mpt-video__media { background: none; line-height: 0; }
.mpt-video .mpt-embed { width: 100%; max-height: none; aspect-ratio: 16 / 9; }
.mpt-video__media video { max-height: none; aspect-ratio: 16 / 9; }

/* Additional Details accordion (inline, Burrow style) */
.mpt-details { margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--mpt-line); }
.mpt-acc-list { border-top: 1px solid var(--mpt-line); }
.mpt-acc { border-bottom: 1px solid var(--mpt-line); }
.mpt-acc__title { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font: 600 16px/1.4 var(--mpt-sans); color: var(--mpt-ink); }
.mpt-acc__title::-webkit-details-marker { display: none; }
.mpt-acc__title::after { content: ""; flex: 0 0 14px; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat; }
.mpt-acc[open] > .mpt-acc__title::after { background: linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat; }
.mpt-acc__title:hover, .mpt-acc__title:focus-visible { color: var(--mpt-orange); }
.mpt-acc__body { padding: 0 0 26px; font-size: 15px; line-height: 1.75; color: var(--mpt-text); max-width: 720px; }
.mpt-acc__body p { margin: 0 0 12px; }
.mpt-acc__body ul { margin: 0 0 14px 18px; padding: 0; list-style: disc; }
.mpt-acc__body ol { margin: 0 0 14px 18px; padding: 0; }
.mpt-acc__body li { list-style: inherit; margin-bottom: 6px; }
.mpt-acc__body a { color: var(--mpt-orange) !important; text-decoration: underline; }
.mpt-acc__body strong, .mpt-acc__body b { color: var(--mpt-ink); font-weight: 700; }
.mpt-acc__body img { max-width: 100%; height: auto; }
.mpt-quicklinks { display: flex; gap: 20px; font-size: 13px; margin-top: -6px; }
@media (max-width: 1024px) { .mpt-details { margin-top: 48px; padding-top: 40px; } }

/* Story boxes below the video: equal 50 / 50 columns */
.mpt-story, .mpt-story--text-right { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 520px; }
.mpt-story--nomedia { grid-template-columns: minmax(0, 1fr); min-height: 0; }
.mpt-story__text { justify-content: center; }
@media (max-width: 1024px) { .mpt-story, .mpt-story--text-right { grid-template-columns: minmax(0, 1fr); min-height: 0; } }

/* Top section: same container as the sections below; gallery flush left, buy box takes the rest (no gap) */
@media (min-width: 1025px) {
	.mpt-crumbs > .elementor-container, .mpt-top > .elementor-container { max-width: calc(var(--mpt-max) - 80px) !important; margin-left: auto; margin-right: auto; }
	.mpt-crumbs .woocommerce-breadcrumb { text-align: left !important; }
	.mpt-top > .elementor-container > .mpt-sticky-col { flex: 0 0 auto !important; width: auto !important; max-width: 60%; }
	.mpt-sticky-col .mpt-gallery { width: min(56vw, 800px, calc((100vh - var(--mpt-sticky-top) - 150px) * var(--mpt-ratio-num, 1))); max-width: none; margin: 0; }
	.mpt-top > .elementor-container > .mpt-buybox { flex: 1 1 0 !important; width: auto !important; min-width: 0; }
	.mpt-top > .elementor-container > .mpt-buybox > .elementor-widget-wrap { padding-left: 56px !important; }
}

/* Secure Checkout: drop the -25px offset carried over from the old template, sit on one line with the wishlist */
.mpt-buybox .elementor-widget-icon-box > .elementor-widget-container { margin: 0 !important; padding: 0 !important; }
.mpt-buybox .elementor-widget-icon-box .elementor-icon-box-wrapper { display: flex !important; align-items: center; gap: 8px; text-align: left; }
.mpt-buybox .elementor-widget-icon-box .elementor-icon-box-icon { margin: 0 !important; display: inline-flex; line-height: 0; }
.mpt-buybox .elementor-widget-icon-box .elementor-icon-box-title, .mpt-buybox .elementor-widget-icon-box .elementor-icon-box-title * { margin: 0 !important; line-height: 25px !important; }
.mpt-buybox .elementor-widget-icon-box, .mpt-buybox .elementor-widget-yith_wcwl_add_to_wishlist { align-self: center; height: 25px; margin-bottom: 18px !important; }

/* Dimensions drawing: larger */
.mpt-grid--dims { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.mpt-section .mpt-dims__img img { width: 100%; max-width: 820px; height: auto; max-height: 620px; object-fit: contain; }

/* Dimensions: tighter section, drawing trimmed to its content */
.mpt-section.mpt-dims { padding: 48px 0; }
.mpt-dims__img picture { display: contents; }
.mpt-dims__img.is-trimmed { position: relative; display: block; overflow: hidden; width: 100%; max-width: 820px; margin: 0 auto; }
.mpt-section .mpt-dims__img.is-trimmed img { position: absolute; max-width: none; max-height: none; height: auto; object-fit: fill; }
@media (max-width: 767px) { .mpt-section.mpt-dims { padding: 36px 0; } }

/* Quick links under the price: outlined buttons */
.mpt-quicklinks { display: flex; flex-wrap: wrap; gap: 12px; margin: 10px 0 14px !important; font-size: inherit; }
.mpt-quicklinks .mpt-link { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border: 1px solid #cfccc6; border-radius: 2px; background: #fff; font: 600 12px/1 var(--mpt-sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none !important; color: var(--mpt-ink) !important; transition: border-color .2s, color .2s, background .2s; }
.mpt-quicklinks .mpt-link::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-2px); }
.mpt-quicklinks .mpt-link:hover, .mpt-quicklinks .mpt-link:focus-visible { border-color: var(--mpt-orange); color: var(--mpt-orange) !important; background: #fff; }
.mpt-buybox .elementor-widget-shortcode:has(.mpt-quicklinks) { margin-top: 6px; margin-bottom: 22px !important; }
@media (max-width: 767px) { .mpt-quicklinks .mpt-link { flex: 1 1 0; justify-content: center; padding: 12px 10px; } }
/* Title and 'Sold by' line: room to breathe */
.mpt-buybox .elementor-widget-woocommerce-product-price { margin-top: 12px !important; }
.mpt-buybox .elementor-widget-heading > .elementor-widget-container { margin: 0 !important; } /* old template's -25px offset */
.mpt-buybox h1.elementor-heading-title { line-height: 1.22 !important; margin: 0 0 12px !important; }
.mpt-buybox .elementor-widget-heading + .elementor-widget-heading { margin-top: 0 !important; }
.mpt-buybox .elementor-widget-heading + .elementor-widget-heading .elementor-heading-title { font: 500 13px/1.5 var(--mpt-sans) !important; letter-spacing: .04em; color: var(--mpt-muted) !important; margin: 0 !important; }
.mpt-buybox .elementor-widget-heading:has(h1) { margin-bottom: 4px !important; }
.mpt-buybox .elementor-widget-heading + .elementor-widget-heading { margin-bottom: 18px !important; }

/* Shop the Collection: heading, View all and arrows on one centred row */
.mpt-collection__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 44px; margin-bottom: -44px; padding-right: 124px; position: relative; z-index: 1; }
.mpt-section .mpt-collection__head .mpt-h2 { margin: 0; line-height: 44px; }
.mpt-collection__head .mpt-link { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border: 1px solid #cfccc6; border-radius: 2px; font: 600 12px/1 var(--mpt-sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none !important; color: var(--mpt-ink) !important; white-space: nowrap; }
.mpt-collection__head .mpt-link::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(-45deg); }
.mpt-collection__head .mpt-link:hover { border-color: var(--mpt-orange); color: var(--mpt-orange) !important; }
.mpt-collection .mpt-carousel__nav { margin-bottom: 20px; }
.mpt-collection:has(.mpt-carousel.is-static) .mpt-collection__head { padding-right: 0; margin-bottom: 20px; }
@media (max-width: 767px) {
	.mpt-collection__head { margin-bottom: 16px; padding-right: 0; }
	.mpt-section .mpt-collection__head .mpt-h2 { line-height: 1.2; }
	.mpt-collection__head .mpt-link { height: 38px; padding: 0 14px; }
}

/* Configuration picker (Burrow style) */
.mpt-cfg { margin: 2px 0 6px; font-family: var(--mpt-sans); }
.mpt-cfg__label { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--mpt-ink); margin-bottom: 10px; }
.mpt-cfg__label strong { text-transform: none; letter-spacing: 0; font-weight: 600; }
.mpt-cfg__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.mpt-cfg__tile { display: block; border: 1px solid transparent; border-radius: 4px; padding: 8px 6px; background: #fff; text-decoration: none !important; transition: border-color .2s; }
.mpt-cfg__tile:hover, .mpt-cfg__tile:focus-visible { border-color: #cfccc6; }
.mpt-cfg__tile.is-current { border-color: var(--mpt-ink); }
.mpt-cfg__tile.is-oos .mpt-cfg__icon { opacity: .45; }
.mpt-cfg__icon { display: flex; align-items: center; justify-content: center; height: 46px; position: relative; overflow: hidden; }
.mpt-cfg__icon picture { display: contents; }
.mpt-cfg__icon > img, .mpt-cfg__icon > picture > img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.mpt-cfg__crop { position: relative; display: block; overflow: hidden; flex: 0 0 auto; }
.mpt-cfg__all { display: inline-block; margin-top: 10px; font: 600 12px/1.4 var(--mpt-sans); color: var(--mpt-ink) !important; text-decoration: underline; text-underline-offset: 3px; }
.mpt-cfg__all:hover { color: var(--mpt-orange) !important; }
.mpt-buybox .elementor-widget-shortcode:has(.mpt-cfg) { margin-bottom: 20px !important; }
@media (max-width: 767px) { .mpt-cfg__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

@media (prefers-reduced-motion: reduce) {
	.mpt-gallery__track, .mpt-carousel__track, .mpt-gallery__thumbtrack { scroll-behavior: auto; }
	.mpt-panel__box, .mpt-panel__overlay, .mpt-card__img img { transition: none; }
}
