/* The platform sections' base styles. Themes restyle them through these
   custom properties (set them on :root in the layout) or with their own
   rules on the mb-* classes, which come later and win. */
:root {
  --mb-page-width: 1200px;
  --mb-gutter: 16px;
  --mb-gap: 24px;
  --mb-radius: 8px;
  --mb-color-text: inherit;
  --mb-color-muted: rgba(0, 0, 0, 0.6);
  --mb-color-bg: transparent;
  --mb-color-surface: rgba(0, 0, 0, 0.04);
  --mb-color-accent: #1c1917;
  --mb-color-on-accent: #fff;
  --mb-font-heading: inherit;
  --mb-font-body: inherit;
  --mb-heading-weight: 600;
  --mb-button-radius: var(--mb-radius);
  --mb-color-border: rgba(0, 0, 0, 0.1);
  --mb-section-space: 56px;
}
.mobiari-section { color: var(--mb-color-text); }
/* The editor's per-section look (see site::wrapper_style). */
.mobiari-section.mb-scheme { background-color: var(--mb-color-bg); color: var(--mb-color-text); }
.mobiari-section.mb-full-width .mb-container { max-width: none; }
@media (max-width: 749px) { .mobiari-section.mb-hide-on-mobile { display: none !important; } }
@media (min-width: 750px) { .mobiari-section.mb-hide-on-desktop { display: none !important; } }
.mb-anim { transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1), filter .7s ease; }
.mb-anim-ready .mb-anim:not(.mb-in) { opacity: 0; }
.mb-anim-ready .mb-anim--fade-up:not(.mb-in) { transform: translateY(32px); }
.mb-anim-ready .mb-anim--fade-down:not(.mb-in) { transform: translateY(-32px); }
.mb-anim-ready .mb-anim--zoom:not(.mb-in) { transform: scale(.94); }
.mb-anim-ready .mb-anim--slide-left:not(.mb-in) { transform: translateX(48px); }
.mb-anim-ready .mb-anim--slide-right:not(.mb-in) { transform: translateX(-48px); }
.mb-anim-ready .mb-anim--blur:not(.mb-in) { filter: blur(12px); }
@media (prefers-reduced-motion: reduce) { .mb-anim-ready .mb-anim:not(.mb-in) { opacity: 1; transform: none; filter: none; } .mb-anim { transition: none; } }
.mb-container { box-sizing: border-box; width: 100%; max-width: var(--mb-page-width); margin: 0 auto; padding: 0 var(--mb-gutter); }
.mb-space { padding-top: var(--mb-space-top, var(--mb-section-space)); padding-bottom: var(--mb-space-bottom, var(--mb-section-space)); }
.mb-heading { font-family: var(--mb-font-heading); font-weight: var(--mb-heading-weight); line-height: 1.15; margin: 0 0 12px; font-size: clamp(1.4rem, 1rem + 1.6vw, 2.2rem); }
.mb-heading--sm { font-size: 1.25rem; }
.mb-text { color: var(--mb-color-muted); line-height: 1.6; }
.mb-text p { margin: 0 0 10px; }
.mb-button { display: inline-block; padding: 12px 22px; border-radius: var(--mb-button-radius); background: var(--mb-color-accent); color: var(--mb-color-on-accent); text-decoration: none; font-weight: 500; border: 0; cursor: pointer; }
.mb-button--ghost { background: transparent; color: inherit; border: 1px solid currentColor; }
.mb-align-center { text-align: center; }
.mb-align-right { text-align: right; }
.mb-grid { display: grid; gap: var(--mb-gap); grid-template-columns: repeat(var(--mb-cols-mobile, 2), minmax(0, 1fr)); }
@media (min-width: 750px) { .mb-grid { grid-template-columns: repeat(var(--mb-cols, 4), minmax(0, 1fr)); } }
.mb-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.mb-link { color: inherit; }

/* Product card */
.mb-card { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.mb-card__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--mb-radius); background: var(--mb-color-surface); }
.mb-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.mb-card:hover .mb-card__media img { transform: scale(1.04); }
.mb-card__badges { position: absolute; top: 8px; left: 8px; display: flex; flex-wrap: wrap; gap: 4px; }
.mb-card__badge { padding: 2px 8px; border-radius: 999px; background: var(--mb-color-accent); color: var(--mb-color-on-accent); font-size: 11px; }
.mb-card__badge--sold-out { background: rgba(28, 25, 23, .85); color: #fff; }
.mb-card__star { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 999px; background: #fbbf24; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.mb-card__body { flex: 1; }
.mb-card__title { margin: 10px 0 4px; font-size: .95rem; font-weight: 500; }
.mb-card__prices p { margin: 0; }
.mb-card__price { font-size: .95rem; }
.mb-card__compare, .mb-card__installments, .mb-card__pix { font-size: .8rem; color: var(--mb-color-muted); }
.mb-card__button { display: block; margin-top: 12px; padding: 10px 14px; border-radius: var(--mb-radius); background: var(--mb-color-accent); color: var(--mb-color-on-accent); text-align: center; font-size: .875rem; font-weight: 500; }
.mb-hide-mobile { display: none; }
@media (min-width: 750px) { .mb-hide-mobile { display: block; } }
.mb-icon { width: 22px; height: 22px; display: block; }

/* Announcement bar */
.mb-announcement { background: var(--mb-color-accent); color: var(--mb-color-on-accent); font-size: 13px; text-align: center; padding: 8px var(--mb-gutter); }
.mb-announcement a { color: inherit; }

/* Header */
.mb-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.mb-header__logo { font-family: var(--mb-font-heading); font-weight: 700; font-size: 1.4rem; color: inherit; text-decoration: none; }
.mb-header__logo img { display: block; height: auto; }
.mb-header__nav { display: none; gap: 20px; }
.mb-header__nav a { color: inherit; text-decoration: none; font-size: .95rem; }
@media (min-width: 990px) { .mb-header__nav { display: flex; } }
.mb-header__icons { display: flex; align-items: center; gap: 14px; }
.mb-header__icons a { color: inherit; position: relative; display: inline-flex; }
.mb-header__count[hidden] { display: none; }
.mb-header__count { position: absolute; top: -6px; right: -8px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--mb-color-accent); color: var(--mb-color-on-accent); font-size: 10px; display: inline-flex; align-items: center; justify-content: center; }
.mb-header--border { border-bottom: 1px solid rgba(0, 0, 0, .08); }
.mb-header__menu summary { list-style: none; cursor: pointer; display: inline-flex; }
.mb-header__menu summary::-webkit-details-marker { display: none; }
.mb-header__menu[open] summary::before { content: ""; position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, .4); }
.mb-header__drawer { position: fixed; top: 0; left: 0; bottom: 0; z-index: 50; width: min(320px, 85vw); overflow-y: auto; background: #fff; color: #1c1917; box-shadow: 0 10px 30px rgba(0, 0, 0, .15); }
.mb-header__drawer-top { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--mb-gutter); border-bottom: 1px solid rgba(0, 0, 0, .06); }
.mb-header__close { background: none; border: 0; padding: 4px; cursor: pointer; color: inherit; }
.mb-header__drawer-nav, .mb-header__drawer-secondary { display: grid; padding: 10px var(--mb-gutter); }
.mb-header__drawer-nav a { padding: 10px 0; color: inherit; text-decoration: none; }
.mb-header__drawer-secondary { border-top: 1px solid rgba(0, 0, 0, .06); }
.mb-header__drawer-secondary a { padding: 6px 0; color: var(--mb-color-muted); text-decoration: none; font-size: .85rem; }
.mb-header__search-toggle { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; display: inline-flex; }
.mb-search__backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, .4); }
.mb-search__panel { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: #fff; color: #1c1917; box-shadow: 0 10px 30px rgba(0, 0, 0, .12); padding: 14px 0; }
.mb-search__bar { display: flex; align-items: center; gap: 12px; }
.mb-search__input { flex: 1; border: 0; outline: none; font-size: 1rem; background: transparent; color: inherit; }
.mb-search__close { background: none; border: 0; padding: 4px; cursor: pointer; color: inherit; }
.mb-search__results { margin-top: 12px; max-height: 60vh; overflow-y: auto; }
.mb-search__item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--mb-radius); color: inherit; text-decoration: none; }
.mb-search__item:hover { background: var(--mb-color-surface); }
.mb-search__item img, .mb-search__thumb { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; background: var(--mb-color-surface); flex-shrink: 0; }
.mb-search__title, .mb-search__price { display: block; font-size: .875rem; }
.mb-search__price { color: var(--mb-color-muted); }
.mb-search__empty { padding: 28px 0; text-align: center; color: var(--mb-color-muted); font-size: .875rem; }
@media (min-width: 990px) { .mb-header__menu { display: none; } }

/* Footer */
.mb-footer { background: var(--mb-color-surface); }
.mb-footer__cols { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.mb-footer__col h3 { font-size: 1rem; margin: 0 0 10px; }
.mb-footer__col ul { list-style: none; margin: 0; padding: 0; }
.mb-footer__col li { margin: 0 0 6px; }
.mb-footer__col a { color: var(--mb-color-muted); text-decoration: none; }
.mb-footer__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid rgba(0, 0, 0, .1); }
.mb-footer__logo { font-family: var(--mb-font-heading); font-weight: 700; font-size: 2rem; line-height: 1; }
.mb-footer__newsletter-heading { margin: 0 0 10px; font-size: 1.1rem; }
.mb-footer__contact li { display: flex; align-items: flex-start; gap: 8px; }
.mb-footer__contact .mb-icon { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }
.mb-footer__logos { display: flex; flex-wrap: wrap; gap: 8px; }
.mb-footer__logos img { height: 32px; width: auto; border-radius: 4px; background: #fff; padding: 4px; }
.mb-footer__bottom { margin-top: 32px; font-size: 13px; color: var(--mb-color-muted); }

/* Image banner */
.mb-banner { position: relative; display: grid; overflow: hidden; }
.mb-banner--small { min-height: 320px; } .mb-banner--medium { min-height: 480px; } .mb-banner--large { min-height: 680px; }
.mb-banner__media, .mb-banner__content { grid-area: 1 / 1; }
.mb-banner__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mb-banner__media::after { content: ""; position: absolute; inset: 0; background: #000; opacity: var(--mb-overlay, 0); }
.mb-banner__content { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: 48px var(--mb-gutter); }
.mb-banner--on-image .mb-banner__content { color: #fff; }
.mb-banner--on-image .mb-text { color: rgba(255, 255, 255, .85); }
.mb-banner__inner { max-width: 640px; }
.mb-align-center .mb-banner__inner { margin: 0 auto; }
.mb-align-right .mb-banner__inner { margin-left: auto; }
.mb-banner__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.mb-align-center .mb-banner__buttons { justify-content: center; }

/* Image with text */
.mb-split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 750px) { .mb-split { grid-template-columns: 1fr 1fr; } .mb-split--image-right .mb-split__media { order: 2; } }
.mb-split__media img { width: 100%; height: auto; display: block; border-radius: var(--mb-radius); }

/* Collection list */
.mb-collection-card { display: block; color: inherit; text-decoration: none; }
.mb-collection-card__media { aspect-ratio: 4 / 3; border-radius: var(--mb-radius); overflow: hidden; background: var(--mb-color-surface); }
.mb-collection-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mb-collection-card__title { margin: 10px 0 0; font-weight: 500; }
.mb-collections--overlay .mb-collection-card { position: relative; border-radius: var(--mb-radius); overflow: hidden; }
.mb-collections--overlay .mb-collection-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .6), rgba(0, 0, 0, .1) 50%, transparent); }
.mb-collections--overlay .mb-collection-card__title { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 12px; color: #fff; }
.mb-collection-card:hover .mb-collection-card__media img { transform: scale(1.05); }
.mb-collection-card__media img { transition: transform .4s ease; }

/* Multicolumn */
.mb-column { display: flex; flex-direction: column; gap: 12px; }
.mb-columns--card .mb-column { flex-direction: row; align-items: center; gap: 16px; padding: 20px 24px; border-radius: var(--mb-radius); border: 1px solid rgba(0, 0, 0, .1); }
.mb-column__icon { width: 48px; height: 48px; flex-shrink: 0; border-radius: 999px; border: 1px solid rgba(0, 0, 0, .15); display: inline-flex; align-items: center; justify-content: center; }
.mb-column__icon .mb-icon { width: 20px; height: 20px; }
.mb-column__image { width: 100%; height: auto; border-radius: var(--mb-radius); }
.mb-columns--card .mb-column__image { width: 48px; }
.mb-column__title { margin: 0; font-weight: 500; }
.mb-column__text { color: var(--mb-color-muted); font-size: .875rem; }
.mb-column__text p { margin: 0; }

/* Slideshow */
.mb-slideshow { position: relative; overflow: hidden; aspect-ratio: var(--mb-ratio-mobile, 4 / 5); background: var(--mb-color-surface); }
@media (min-width: 750px) { .mb-slideshow { aspect-ratio: var(--mb-ratio-desktop, 16 / 9); } }
.mb-slideshow--screen { aspect-ratio: auto; height: 100svh; }
.mb-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.mb-slide.is-active { opacity: 1; pointer-events: auto; }
.mb-slide__media { width: 100%; height: 100%; object-fit: cover; display: block; }
.mb-slide__link { position: absolute; inset: 0; z-index: 1; }
.mb-slide__content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 32px var(--mb-gutter); color: #fff; background: rgba(0, 0, 0, .25); }
.mb-slide__content .mb-text { color: rgba(255, 255, 255, .85); }
.mb-slide__content.mb-align-center { align-items: center; }
.mb-slide__content.mb-align-right { align-items: flex-end; }
.mb-slideshow__arrow, .mb-slideshow__sound { position: absolute; z-index: 2; width: 40px; height: 40px; border-radius: 999px; border: 0; background: rgba(0, 0, 0, .4); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.mb-slideshow__arrow:hover, .mb-slideshow__sound:hover { background: rgba(0, 0, 0, .6); }
.mb-slideshow__arrow[hidden], .mb-slideshow__sound[hidden], .mb-slideshow__sound [hidden] { display: none; }
.mb-slideshow__arrow { top: 50%; transform: translateY(-50%); }
.mb-slideshow__arrow--prev { left: 16px; } .mb-slideshow__arrow--next { right: 16px; }
.mb-slideshow__sound { top: 16px; right: 16px; }
.mb-slideshow__arrow .mb-icon, .mb-slideshow__sound .mb-icon { width: 20px; height: 20px; }
.mb-slideshow__dots { position: absolute; z-index: 2; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.mb-slideshow__dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .6); cursor: pointer; }
.mb-slideshow__dot.is-active { background: #fff; }

/* WhatsApp button */
.mb-whatsapp { position: fixed; bottom: 24px; z-index: 30; width: 56px; height: 56px; border-radius: 999px; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .2); }
.mb-whatsapp--right { right: 24px; } .mb-whatsapp--left { left: 24px; }
.mb-whatsapp .mb-icon { width: 28px; height: 28px; }

/* Collapsible content */
.mb-faq { max-width: 820px; margin: 0 auto; }
.mb-faq details { border-bottom: 1px solid rgba(0, 0, 0, .1); padding: 14px 0; }
.mb-faq summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.mb-faq summary::after { content: "+"; }
.mb-faq details[open] summary::after { content: "−"; }
.mb-faq__answer { margin-top: 10px; }

/* Video */
.mb-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--mb-radius); overflow: hidden; background: #000; }
.mb-video iframe, .mb-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Form */
.mb-form { max-width: 640px; margin: 0 auto; }
/* The store kit: styles of the platform's page and content sections
   (main-*, layout, cms-*, testimonials, logos...) and the header's menu
   and search. Same rules as sections.css: only the --mb-* tokens and mb-*
   classes, mobile first, breakpoints 750px and 990px. Themes override
   any of it with their own rules on these classes. */

/* ---------- Shared pieces ---------- */
.mb-visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mb-eyebrow { margin: 0 0 8px; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mb-color-muted); }
.mb-section-head { margin-bottom: 28px; }
.mb-section-head.mb-align-center { max-width: 720px; margin-left: auto; margin-right: auto; }
.mb-section-head .mb-text > :last-child { margin-bottom: 0; }
.mb-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 16px; font-size: .8rem; color: var(--mb-color-muted); }
.mb-breadcrumbs a { color: inherit; text-decoration: none; }
.mb-breadcrumbs a:hover { color: var(--mb-color-text); text-decoration: underline; }
.mb-breadcrumbs [aria-current] { color: var(--mb-color-text); }
.mb-empty { padding: 56px 16px; text-align: center; color: var(--mb-color-muted); }
.mb-empty p { margin: 0 0 16px; }
.mb-empty__title { color: var(--mb-color-text); font-size: 1.1rem; font-weight: 500; }
.mb-input, .mb-select { box-sizing: border-box; height: 44px; padding: 0 14px; border: 1px solid var(--mb-color-border); border-radius: var(--mb-radius); background: var(--mb-color-bg); color: inherit; font: inherit; font-size: .95rem; }
.mb-select { padding-right: 36px; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 14px; cursor: pointer; }
.mb-input:focus-visible, .mb-select:focus-visible, .mb-chip:focus-visible, .mb-icon-button:focus-visible, .mb-button:focus-visible { outline: 2px solid var(--mb-color-accent); outline-offset: 2px; }
.mb-check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: .95rem; }
.mb-check input { width: 18px; height: 18px; accent-color: var(--mb-color-accent); }
.mb-chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 1px solid var(--mb-color-border); border-radius: 999px; background: transparent; color: inherit; font: inherit; font-size: .9rem; cursor: pointer; }
.mb-chip:hover { border-color: currentColor; }
.mb-chip .mb-icon { width: 18px; height: 18px; }
.mb-chip__badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--mb-color-accent); color: var(--mb-color-on-accent); font-size: .72rem; display: inline-flex; align-items: center; justify-content: center; }
.mb-chip__badge[hidden] { display: none; }
.mb-icon-button { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--mb-color-border); background: var(--mb-color-bg); color: var(--mb-color-text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color .2s ease; }
.mb-icon-button:hover { border-color: currentColor; }
.mb-icon-button .mb-icon { width: 18px; height: 18px; }
.mb-carousel-nav { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.mb-placeholder { display: block; width: 100%; height: 100%; min-height: 120px; background: var(--mb-color-surface) linear-gradient(135deg, transparent 49.5%, var(--mb-color-border) 49.5%, var(--mb-color-border) 50.5%, transparent 50.5%); }
.mb-link { cursor: pointer; }
button.mb-link { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; color: inherit; }

/* Image formats, on any media box that holds an <img> */
.mb-ratio--square .mb-collection-card__media, .mb-ratio--square .mb-gallery__media, .mb-ratio--square .mb-entry-card__media, .mb-layout__media.mb-ratio--square { aspect-ratio: 1 / 1; }
.mb-ratio--portrait .mb-collection-card__media, .mb-ratio--portrait .mb-gallery__media, .mb-ratio--portrait .mb-entry-card__media, .mb-layout__media.mb-ratio--portrait { aspect-ratio: 3 / 4; }
.mb-ratio--landscape .mb-collection-card__media, .mb-ratio--landscape .mb-gallery__media, .mb-ratio--landscape .mb-entry-card__media, .mb-layout__media.mb-ratio--landscape { aspect-ratio: 4 / 3; }
.mb-layout__media.mb-ratio--wide { aspect-ratio: 21 / 9; }
.mb-layout__video.mb-ratio--landscape { aspect-ratio: 16 / 9; }
.mb-layout__video.mb-ratio--portrait { aspect-ratio: 9 / 16; }

/* Pagination */
.mb-pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-top: 40px; }
.mb-pagination__page, .mb-pagination__step { min-width: 40px; height: 40px; padding: 0 8px; box-sizing: border-box; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: inherit; text-decoration: none; font-size: .95rem; }
.mb-pagination a:hover { background: var(--mb-color-surface); }
.mb-pagination__page.is-current { background: var(--mb-color-accent); color: var(--mb-color-on-accent); }
.mb-pagination__step .mb-icon { width: 18px; height: 18px; }
.mb-pagination__gap { color: var(--mb-color-muted); padding: 0 4px; }

/* Reading column (pages, CMS entries) */
.mb-reading { margin: 0 auto; max-width: 760px; }
.mb-reading--narrow { max-width: 640px; }
.mb-reading--wide { max-width: 1000px; }
.mb-reading__title { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3rem); margin-bottom: 16px; }
.mb-reading__meta { margin: 0 0 12px; font-size: .85rem; color: var(--mb-color-muted); }
.mb-reading__head { margin-bottom: 28px; }
.mb-reading__back { margin: 0 0 24px; }
.mb-reading__back a { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; color: var(--mb-color-muted); font-size: .9rem; }
.mb-reading__back .mb-icon { width: 16px; height: 16px; }
.mb-reading__cover { margin: 0 0 32px; }
.mb-reading__cover img { display: block; width: 100%; height: auto; border-radius: var(--mb-radius); }
.mb-prose { line-height: 1.75; font-size: 1.05em; overflow-wrap: break-word; }
.mb-prose > :first-child { margin-top: 0; }
.mb-prose p, .mb-prose ul, .mb-prose ol, .mb-prose blockquote, .mb-prose figure, .mb-prose table { margin: 0 0 1.2em; }
.mb-prose h2, .mb-prose h3, .mb-prose h4 { font-family: var(--mb-font-heading); font-weight: var(--mb-heading-weight); line-height: 1.25; margin: 1.8em 0 .6em; }
.mb-prose h2 { font-size: 1.6em; } .mb-prose h3 { font-size: 1.3em; } .mb-prose h4 { font-size: 1.1em; }
.mb-prose a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.mb-prose img, .mb-prose video, .mb-prose iframe { max-width: 100%; height: auto; border-radius: var(--mb-radius); }
.mb-prose blockquote { padding-left: 1em; border-left: 3px solid var(--mb-color-accent); color: var(--mb-color-muted); font-style: italic; }
.mb-prose ul, .mb-prose ol { padding-left: 1.4em; }
.mb-prose li { margin-bottom: .4em; }
.mb-prose hr { border: 0; border-top: 1px solid var(--mb-color-border); margin: 2em 0; }
.mb-prose table { width: 100%; border-collapse: collapse; font-size: .95em; display: block; overflow-x: auto; }
.mb-prose th, .mb-prose td { border-bottom: 1px solid var(--mb-color-border); padding: 10px 8px; text-align: left; }

/* Store forms in the form sections, lightly: any theme rule wins (zero
   specificity), and forms elsewhere (a theme's own pages) are left alone. */
:where(.mobiari-section--newsletter, .mobiari-section--form, .mobiari-section--contact-info) :where(.mobiari-form) { display: grid; gap: 12px; }
:where(.mobiari-section--newsletter, .mobiari-section--form, .mobiari-section--contact-info) :where(.mobiari-field) { display: grid; gap: 6px; }
:where(.mobiari-section--newsletter, .mobiari-section--form, .mobiari-section--contact-info) :where(.mobiari-field__label) { font-size: .9rem; }
:where(.mobiari-section--newsletter, .mobiari-section--form, .mobiari-section--contact-info) :where(.mobiari-field__input) { box-sizing: border-box; width: 100%; min-height: 44px; padding: 10px 14px; border: 1px solid var(--mb-color-border); border-radius: var(--mb-radius); background: var(--mb-color-bg); color: inherit; font: inherit; }
:where(.mobiari-section--newsletter, .mobiari-section--form, .mobiari-section--contact-info) :where(.mobiari-field--consent .mobiari-field__input) { width: 18px; min-height: 0; }
:where(.mobiari-section--newsletter, .mobiari-section--form, .mobiari-section--contact-info) :where(.mobiari-field__error) { margin: 0; color: #b42318; font-size: .85rem; }
:where(.mobiari-section--newsletter, .mobiari-section--form, .mobiari-section--contact-info) :where(.mobiari-form__submit) { min-height: 44px; padding: 0 22px; border: 0; border-radius: var(--mb-button-radius); background: var(--mb-color-accent); color: var(--mb-color-on-accent); font: inherit; font-weight: 500; cursor: pointer; }
:where(.mobiari-section--newsletter, .mobiari-section--form, .mobiari-section--contact-info) :where(.mobiari-form__status) { margin: 0; font-size: .9rem; }
:where(.mobiari-section--newsletter, .mobiari-section--form, .mobiari-section--contact-info) :where(.mobiari-form__status:empty) { display: none; }

/* ---------- Header: layout options, menus, search ---------- */
.mb-header { position: relative; background: var(--mb-header-bg, transparent); transition: background-color .25s ease, color .25s ease, box-shadow .25s ease; }
.mb-header--menu-center .mb-header__nav { flex: 1; justify-content: center; }
@media (min-width: 990px) {
  .mb-header--menu-left .mb-header__bar { justify-content: flex-start; }
  .mb-header--menu-left .mb-header__nav { margin-left: 28px; }
  .mb-header--menu-left .mb-header__icons, .mb-header--menu-right .mb-header__nav { margin-left: auto; }
  .mb-header--menu-right .mb-header__nav { margin-right: 12px; }
}
.mb-header--logo-center .mb-header__bar { display: grid; grid-template-columns: 1fr auto 1fr; }
.mb-header--logo-center .mb-header__menu { grid-column: 1; grid-row: 1; justify-self: start; }
.mb-header--logo-center .mb-header__logo { grid-column: 2; grid-row: 1; }
.mb-header--logo-center .mb-header__nav { grid-column: 1; grid-row: 1; justify-content: flex-start; flex: none; margin: 0; }
.mb-header--logo-center .mb-header__icons { grid-column: 3; grid-row: 1; justify-self: end; }
.mb-sticky-host, .mobiari-section--header:has(> .mb-header--sticky) { position: sticky; top: 0; z-index: 40; }
.mb-header--sticky { background: var(--mb-header-bg, var(--mb-color-bg)); }
.mb-header--sticky.is-scrolled { box-shadow: 0 1px 0 var(--mb-color-border), 0 8px 24px rgba(0, 0, 0, .06); }
.mb-transparent-host { position: relative; z-index: 40; }
.mb-transparent-host:not(.is-scrolled), .mb-transparent-host:not(.mb-sticky-host) { background: transparent !important; }
.mb-header--transparent:not(.is-scrolled), .mb-transparent-host:not(.mb-sticky-host) .mb-header--transparent { background: transparent; color: var(--mb-header-transparent-text, #fff); border-bottom-color: transparent; box-shadow: none; }
.mb-header--transparent:not(.is-scrolled) .mb-header__count { background: var(--mb-header-transparent-text, #fff); color: #111; }
.mb-header__nav { align-items: center; }
.mb-header__link { color: inherit; text-decoration: none; font: inherit; font-size: .95rem; background: none; border: 0; padding: 0; cursor: pointer; }
.mb-header__nav > a, .mb-header__link { position: relative; }
.mb-header__nav > a::after, .mb-header__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.mb-header__nav > a:hover::after, .mb-header__link:hover::after, .mb-header__link.is-active::after, .mb-header__nav > a[aria-current]::after { transform: scaleX(1); }
.mb-header__caret--label::after { display: none; }
.mb-header__item { position: relative; display: inline-flex; align-items: center; gap: 2px; }
.mb-header__item--mega { position: static; }
@media (min-width: 990px) { .mb-header__item--parent { padding: 14px 0; margin: -14px 0; } }
.mb-header__caret { background: none; border: 0; padding: 4px; margin: -4px 0; color: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; font: inherit; font-size: .95rem; }
.mb-header__chev { width: 14px; height: 14px; transition: transform .2s ease; }
.mb-header__item.is-open .mb-header__chev { transform: rotate(180deg); }
.mb-header__dropdown { position: absolute; top: 100%; left: -16px; z-index: 50; min-width: 220px; padding-top: 12px; visibility: hidden; opacity: 0; transform: translateY(6px); transition: opacity .18s ease, transform .18s ease, visibility .18s; color: var(--mb-color-text); }
.mb-header__item--mega .mb-header__dropdown { left: 0; right: 0; padding-top: 0; }
.mb-header__dropdown-list { list-style: none; margin: 0; padding: 10px; background: var(--mb-color-bg, #fff); border: 1px solid var(--mb-color-border); border-radius: var(--mb-radius); box-shadow: 0 16px 40px rgba(0, 0, 0, .1); }
.mb-header__item--mega .mb-header__dropdown-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 24px; padding: 28px max(var(--mb-gutter), calc((100% - var(--mb-page-width)) / 2 + var(--mb-gutter))); border-radius: 0; border-left: 0; border-right: 0; }
.mb-header__dropdown a { display: block; padding: 8px 12px; border-radius: calc(var(--mb-radius) / 2); color: inherit; text-decoration: none; font-size: .92rem; white-space: nowrap; }
.mb-header__dropdown a:hover, .mb-header__dropdown a[aria-current] { background: var(--mb-color-surface); }
.mb-header__item--mega .mb-header__dropdown a { padding: 4px 0; white-space: normal; }
.mb-header__item--mega .mb-header__dropdown a:hover { background: none; text-decoration: underline; }
.mb-header__dropdown-title { font-weight: 600; margin-bottom: 4px; }
.mb-header__dropdown-sub { list-style: none; margin: 0; padding: 0 0 0 12px; }
.mb-header__item--mega .mb-header__dropdown-sub { padding: 0; }
.mb-header__dropdown-sub a { color: var(--mb-color-muted); }
@media (hover: hover) { .mb-header__item--parent:hover .mb-header__dropdown { visibility: visible; opacity: 1; transform: none; } }
.mb-header__item--parent:focus-within .mb-header__dropdown, .mb-header__item.is-open .mb-header__dropdown { visibility: visible; opacity: 1; transform: none; }
.mb-header__acc { border-bottom: 1px solid var(--mb-color-border); }
.mb-header__acc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 10px 0; cursor: pointer; }
.mb-header__acc summary::-webkit-details-marker { display: none; }
.mb-header__acc[open] .mb-header__chev { transform: rotate(180deg); }
.mb-header__acc-panel { display: grid; padding: 0 0 10px 12px; }
.mb-header__acc-panel a { padding: 8px 0; color: inherit; text-decoration: none; font-size: .95rem; }
.mb-header__acc-panel .mb-header__acc-sub { padding-left: 12px; color: var(--mb-color-muted); font-size: .88rem; }
.mb-header__drawer-nav a[aria-current] { font-weight: 600; }
.mb-header__icons > a:focus-visible, .mb-header__search-toggle:focus-visible, .mb-header__menu summary:focus-visible, .mb-header__caret:focus-visible, .mb-header__link:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
.mb-search-open { overflow: hidden; }
.mb-search__bar { margin: 0 auto; }
.mb-search__input { height: 44px; }
.mb-search__input::-webkit-search-cancel-button { display: none; }
.mb-search__label { margin: 4px 10px 6px; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mb-color-muted); }
.mb-search__list { display: grid; }
@media (min-width: 750px) { .mb-search__list { grid-template-columns: 1fr 1fr; } }
.mb-search__item:focus-visible { outline: 2px solid var(--mb-color-accent); outline-offset: -2px; }
.mb-search__info { min-width: 0; }
.mb-search__title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb-search__price s { margin-right: 4px; opacity: .7; }
.mb-search__all { display: block; margin: 8px 0 4px; padding: 12px; border-top: 1px solid var(--mb-color-border); color: inherit; font-weight: 500; font-size: .9rem; text-decoration: none; text-align: center; }
.mb-search__all:hover { text-decoration: underline; }
.mb-search__empty a { color: inherit; }

/* ---------- Collection / search page ---------- */
.mb-collection__banner { margin: 0 0 24px; border-radius: var(--mb-radius); overflow: hidden; aspect-ratio: 3 / 1; background: var(--mb-color-surface); }
.mb-collection__banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 749px) { .mb-collection__banner { aspect-ratio: 16 / 9; } }
.mb-collection__head { margin-bottom: 24px; }
.mb-collection__head .mb-heading { margin-bottom: 8px; }
.mb-collection__desc { max-width: 720px; }
.mb-collection__head.mb-align-center .mb-collection__desc { margin: 0 auto; }
.mb-collection__toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 14px 0; margin-bottom: 24px; border-top: 1px solid var(--mb-color-border); border-bottom: 1px solid var(--mb-color-border); }
.mb-collection__count { margin: 0; font-size: .9rem; color: var(--mb-color-muted); }
.mb-collection__sort { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; }
.mb-collection__sort > span { color: var(--mb-color-muted); }
@media (max-width: 749px) { .mb-collection__sort > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .mb-collection__sort .mb-select { height: 40px; } }
.mb-collection__filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 20px 32px; margin: -8px 0 24px; padding: 20px; border-radius: var(--mb-radius); background: var(--mb-color-surface); }
.mb-collection__filters[hidden] { display: none; }
.mb-collection__fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.mb-collection__fieldset legend { padding: 0; margin-bottom: 10px; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--mb-color-muted); }
.mb-collection__range { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--mb-color-muted); }
.mb-collection__range .mb-input { width: 110px; height: 40px; }
.mb-collection__clear { margin-left: auto; font-size: .9rem; }
.mb-collection__item[hidden] { display: none; }
.mb-collection__more { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 40px; }
.mb-collection__more[hidden] { display: none; }
.mb-collection__progress { margin: 0; font-size: .85rem; color: var(--mb-color-muted); }
.mb-search-page__head { margin-bottom: 28px; }
.mb-search-page__head.mb-align-center .mb-search-page__form { margin-left: auto; margin-right: auto; }
.mb-search-page__form { display: flex; gap: 8px; max-width: 560px; margin-top: 16px; }
.mb-search-page__input { flex: 1; min-width: 0; height: 48px; }
.mb-search-page__form .mb-button { flex-shrink: 0; }

/* ---------- Categories page ---------- */
.mb-collection-card__media { position: relative; }
.mb-collection-card__initial { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--mb-font-heading); font-weight: var(--mb-heading-weight); font-size: clamp(2rem, 1rem + 4vw, 4rem); color: var(--mb-color-muted); }
.mb-collection-card__desc { margin: 4px 0 0; font-size: .85rem; color: var(--mb-color-muted); }

/* ---------- 404 ---------- */
.mb-notfound { max-width: 620px; margin: 0 auto; padding: 24px 0; text-align: center; }
.mb-notfound__code { margin: 0 0 8px; font-family: var(--mb-font-heading); font-weight: var(--mb-heading-weight); font-size: clamp(4rem, 2rem + 10vw, 9rem); line-height: 1; letter-spacing: -.04em; color: var(--mb-color-surface); -webkit-text-stroke: 1px var(--mb-color-border); }
.mb-notfound .mb-search-page__form { margin: 24px auto 0; }
.mb-notfound__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }

/* ---------- Testimonials ---------- */
.mb-testimonials__track { gap: var(--mb-gap); }
.mb-testimonials--carousel .mb-testimonials__track { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.mb-testimonials--carousel .mb-testimonials__track::-webkit-scrollbar { display: none; }
@media (min-width: 750px) { .mb-testimonials--carousel .mb-testimonials__track { grid-auto-columns: calc((100% - (var(--mb-cols) - 1) * var(--mb-gap)) / var(--mb-cols)); } }
.mb-testimonial { margin: 0; display: flex; flex-direction: column; gap: 14px; scroll-snap-align: start; }
.mb-testimonials--card .mb-testimonial { padding: 28px; border-radius: var(--mb-radius); background: var(--mb-color-surface); }
.mb-stars { display: flex; gap: 2px; color: var(--mb-star-color, #f5a524); }
.mb-star { width: 18px; height: 18px; fill: currentColor; }
.mb-star--off { opacity: .25; }
.mb-testimonial__title { margin: 0; font-weight: 600; }
.mb-testimonial__quote { margin: 0; flex: 1; font-size: 1.02rem; line-height: 1.65; }
.mb-testimonial__quote p { margin: 0 0 8px; }
.mb-testimonial__quote > :last-child { margin-bottom: 0; }
.mb-testimonial__author { display: flex; align-items: center; gap: 12px; }
.mb-testimonial__avatar { width: 44px; height: 44px; border-radius: 999px; object-fit: cover; flex-shrink: 0; }
.mb-testimonial__avatar--initial { display: inline-flex; align-items: center; justify-content: center; background: var(--mb-color-accent); color: var(--mb-color-on-accent); font-weight: 600; }
.mb-testimonial__name { display: block; font-weight: 600; font-size: .95rem; }
.mb-testimonial__role { display: block; font-size: .85rem; color: var(--mb-color-muted); }

/* ---------- Logos ---------- */
.mb-logos__heading { margin: 0 0 24px; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mb-color-muted); }
.mb-logos__grid, .mb-marquee__track { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.mb-logos__grid { flex-wrap: wrap; justify-content: center; gap: 24px 48px; }
.mb-logos__item img { display: block; height: var(--mb-logo-height, 40px); width: auto; max-width: 180px; object-fit: contain; transition: filter .3s ease, opacity .3s ease; }
.mb-logos__item a { display: block; }
.mb-logos__item--text { font-family: var(--mb-font-heading); font-weight: var(--mb-heading-weight); font-size: calc(var(--mb-logo-height, 40px) * .5); color: var(--mb-color-muted); white-space: nowrap; }
.mb-logos--gray .mb-logos__item img { filter: grayscale(1); opacity: .65; }
.mb-logos--gray .mb-logos__item:hover img { filter: none; opacity: 1; }
.mb-marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mb-marquee__track { flex-shrink: 0; gap: 56px; padding-right: 56px; min-width: 100%; justify-content: space-around; animation: mb-marquee var(--mb-marquee-duration, 30s) linear infinite; }
.mb-marquee:hover .mb-marquee__track { animation-play-state: paused; }
@keyframes mb-marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .mb-marquee__track { animation: none; } .mb-marquee__track[aria-hidden] { display: none; } .mb-marquee { flex-wrap: wrap; justify-content: center; } }

/* ---------- Newsletter ---------- */
.mb-newsletter { display: grid; gap: 24px; }
.mb-newsletter--boxed { padding: clamp(28px, 5vw, 56px); border-radius: calc(var(--mb-radius) * 2); background: var(--mb-color-surface); }
.mb-newsletter--center { max-width: 760px; margin: 0 auto; text-align: center; }
.mb-newsletter--center .mb-newsletter__form { max-width: 520px; width: 100%; margin: 0 auto; }
@media (min-width: 750px) { .mb-newsletter--split { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; } }
.mb-newsletter__text .mb-text > :last-child, .mb-newsletter__text .mb-heading:last-child { margin-bottom: 0; }
.mb-newsletter .mobiari-form { text-align: left; }
@media (min-width: 750px) { .mb-newsletter .mobiari-form:has(.mobiari-field:only-of-type) { grid-template-columns: 1fr auto; align-items: end; } .mb-newsletter .mobiari-form:has(.mobiari-field:only-of-type) .mobiari-form__status { grid-column: 1 / -1; } }
.mb-newsletter__note { margin: 10px 0 0; font-size: .8rem; color: var(--mb-color-muted); }

/* ---------- Countdown ---------- */
.mb-countdown { max-width: 860px; margin: 0 auto; }
.mb-countdown.mb-align-left { margin: 0; }
.mb-countdown__clock { display: flex; gap: 12px; margin: 24px 0; }
.mb-countdown.mb-align-center .mb-countdown__clock { justify-content: center; }
.mb-countdown__clock[hidden] { display: none; }
.mb-countdown__unit { display: flex; flex-direction: column; align-items: center; min-width: 64px; }
.mb-countdown--boxes .mb-countdown__unit { padding: 14px 10px; border-radius: var(--mb-radius); background: var(--mb-color-surface); min-width: 72px; }
.mb-countdown__num { font-family: var(--mb-font-heading); font-weight: var(--mb-heading-weight); font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); line-height: 1.05; font-variant-numeric: tabular-nums; }
.mb-countdown--plain .mb-countdown__num { font-size: clamp(2.4rem, 1.4rem + 4vw, 4.5rem); }
.mb-countdown__label { margin-top: 6px; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mb-color-muted); }
.mb-countdown__expired { font-size: 1.1rem; font-weight: 500; }
.mb-countdown__cta { margin: 0; }

/* ---------- Image gallery ---------- */
.mb-gallery__items { display: grid; gap: var(--mb-gallery-gap, 12px); grid-template-columns: repeat(var(--mb-cols-mobile, 2), minmax(0, 1fr)); }
@media (min-width: 750px) { .mb-gallery__items { grid-template-columns: repeat(var(--mb-cols, 3), minmax(0, 1fr)); } }
.mb-gallery--masonry .mb-gallery__items { display: block; columns: var(--mb-cols-mobile, 2); column-gap: var(--mb-gallery-gap, 12px); }
@media (min-width: 750px) { .mb-gallery--masonry .mb-gallery__items { columns: var(--mb-cols, 3); } }
.mb-gallery--masonry .mb-gallery__item { break-inside: avoid; margin-bottom: var(--mb-gallery-gap, 12px); }
.mb-gallery--masonry .mb-gallery__media { aspect-ratio: auto !important; }
.mb-gallery--carousel .mb-gallery__items { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: calc((100% - (var(--mb-cols-mobile, 2) - 1) * var(--mb-gallery-gap, 12px)) / var(--mb-cols-mobile, 2) * .92); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.mb-gallery--carousel .mb-gallery__items::-webkit-scrollbar { display: none; }
@media (min-width: 750px) { .mb-gallery--carousel .mb-gallery__items { grid-auto-columns: calc((100% - (var(--mb-cols, 3) - 1) * var(--mb-gallery-gap, 12px)) / var(--mb-cols, 3)); } }
.mb-gallery__item { margin: 0; scroll-snap-align: start; }
.mb-gallery__media { display: block; width: 100%; padding: 0; border: 0; background: var(--mb-color-surface); border-radius: var(--mb-radius); overflow: hidden; cursor: default; color: inherit; }
a.mb-gallery__media, button.mb-gallery__media { cursor: pointer; }
.mb-gallery__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mb-ratio--natural .mb-gallery__media img { height: auto; }
a.mb-gallery__media:hover img, button.mb-gallery__media:hover img { transform: scale(1.03); }
.mb-gallery__caption { margin-top: 8px; font-size: .88rem; color: var(--mb-color-muted); }
.mb-lightbox { max-width: min(1100px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: var(--mb-radius); background: transparent; overflow: visible; }
.mb-lightbox::backdrop { background: rgba(0, 0, 0, .85); }
.mb-lightbox img { display: block; max-width: 100%; max-height: 92vh; border-radius: var(--mb-radius); }
.mb-lightbox__close { position: absolute; top: -48px; right: 0; width: 40px; height: 40px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .15); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }

/* ---------- Contact ---------- */
.mb-contact { display: grid; gap: 32px; }
@media (min-width: 990px) { .mb-contact--map-right { grid-template-columns: 1fr 1.2fr; align-items: stretch; gap: 56px; } }
.mb-contact__list { list-style: none; margin: 20px 0 24px; padding: 0; display: grid; gap: 18px; }
.mb-contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.mb-contact__list strong { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--mb-color-muted); margin-bottom: 2px; }
.mb-contact__list a { color: inherit; }
.mb-contact__icon { width: 40px; height: 40px; flex-shrink: 0; border-radius: 999px; background: var(--mb-color-surface); display: inline-flex; align-items: center; justify-content: center; }
.mb-contact__icon .mb-icon { width: 18px; height: 18px; }
.mb-contact__map { min-height: 320px; border-radius: var(--mb-radius); overflow: hidden; background: var(--mb-color-surface); }
.mb-contact__map iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; }

/* ---------- Spacer ---------- */
.mb-spacer { height: var(--mb-spacer-mobile, 32px); display: flex; align-items: center; }
@media (min-width: 750px) { .mb-spacer { height: var(--mb-spacer, 48px); } }
.mb-spacer__line { width: 100%; margin: 0; border: 0; border-top: 1px solid var(--mb-color-border); }
.mb-spacer__line--dashed { border-top-style: dashed; }
.mb-spacer__line--short { width: 64px; margin: 0 auto; border-top-width: 2px; border-top-color: var(--mb-color-accent); }

/* ---------- Video hero ---------- */
.mb-vhero { position: relative; display: grid; overflow: hidden; background: #111; color: var(--mb-vhero-text, #fff); }
.mb-vhero--small { min-height: 360px; } .mb-vhero--medium { min-height: 520px; } .mb-vhero--large { min-height: min(760px, 88svh); } .mb-vhero--screen { min-height: 100svh; }
.mb-vhero__media, .mb-vhero__content { grid-area: 1 / 1; }
.mb-vhero__media { position: relative; overflow: hidden; }
.mb-vhero__media::after { content: ""; position: absolute; inset: 0; background: #000; opacity: var(--mb-overlay, .3); }
.mb-vhero__poster, .mb-vhero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mb-vhero__video { opacity: 0; transition: opacity .6s ease; }
.mb-vhero.is-playing .mb-vhero__video { opacity: 1; }
.mb-vhero__embed { position: absolute; top: 50%; left: 50%; width: max(100%, 177.78vh); height: max(100%, 56.25vw); transform: translate(-50%, -50%); border: 0; pointer-events: none; }
.mb-vhero__content { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: 56px 0; }
.mb-vhero--v-top .mb-vhero__content { justify-content: flex-start; }
.mb-vhero--v-bottom .mb-vhero__content { justify-content: flex-end; }
.mb-vhero__inner { max-width: 680px; }
.mb-align-center .mb-vhero__inner { margin: 0 auto; }
.mb-align-right .mb-vhero__inner { margin-left: auto; }
.mb-vhero__heading { font-size: clamp(2rem, 1.2rem + 3.6vw, 4rem); color: inherit; }
.mb-vhero .mb-eyebrow, .mb-vhero__text { color: inherit; opacity: .88; }
.mb-vhero .mb-button { background: var(--mb-vhero-text, #fff); color: #111; }
.mb-vhero .mb-button--ghost { background: transparent; color: inherit; }
.mb-align-center .mb-vhero__inner .mb-banner__buttons { justify-content: center; }
.mb-align-right .mb-vhero__inner .mb-banner__buttons { justify-content: flex-end; }
.mb-vhero__toggle { position: absolute; z-index: 2; right: 16px; bottom: 16px; width: 40px; height: 40px; border-radius: 999px; border: 0; background: rgba(0, 0, 0, .45); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.mb-vhero__toggle[hidden], .mb-vhero__toggle [hidden] { display: none; }
.mb-vhero__toggle .mb-icon { width: 18px; height: 18px; }

/* ---------- Layout livre ---------- */
.mb-layout--narrow { max-width: 880px; }
.mb-layout__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: calc(var(--mb-layout-gap, 24px) * .75); align-items: start; }
.mb-layout__grid--center { align-items: center; } .mb-layout__grid--end { align-items: end; } .mb-layout__grid--stretch { align-items: stretch; }
.mb-layout__cell { grid-column: span var(--span-m, 12); min-width: 0; }
@media (min-width: 750px) {
  .mb-layout__grid { grid-template-columns: repeat(var(--mb-layout-cols, 12), minmax(0, 1fr)); gap: var(--mb-layout-gap, 24px); grid-auto-flow: row dense; }
  .mb-layout__cell { grid-column: span var(--span, 12); grid-row: span var(--rows, 1); }
}
.mb-layout__cell.mb-align-center { text-align: center; } .mb-layout__cell.mb-align-right { text-align: right; }
.mb-layout__heading { margin: 0; }
.mb-layout__heading--sm { font-size: 1.25rem; }
.mb-layout__heading--lg { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3rem); }
.mb-layout__heading--xl { font-size: clamp(2.4rem, 1.4rem + 4.4vw, 5rem); letter-spacing: -.02em; line-height: 1.02; }
.mb-layout__text > :last-child { margin-bottom: 0; }
.mb-layout__text--sm { font-size: .9rem; } .mb-layout__text--lg { font-size: 1.2rem; }
.mb-layout__media { position: relative; display: block; overflow: hidden; background: var(--mb-color-surface); }
.mb-layout__media.is-rounded { border-radius: var(--mb-radius); }
.mb-layout__media img, .mb-layout__media video, .mb-layout__media iframe { display: block; width: 100%; height: 100%; object-fit: cover; border: 0; }
.mb-layout__media.mb-ratio--natural img { height: auto; }
.mb-layout__media.mb-ratio--natural { background: none; }
.mb-layout__video iframe, .mb-layout__video video { position: absolute; inset: 0; }
@media (min-width: 750px) { .mb-layout__cell--image .mb-layout__media:not(.mb-ratio--natural), .mb-layout__cell--video .mb-layout__media { height: 100%; } }
.mb-layout__caption { margin: 8px 0 0; font-size: .85rem; color: var(--mb-color-muted); }
.mb-layout__button--full { display: block; text-align: center; }
.mb-layout__textlink { background: none; color: inherit; padding: 0; text-decoration: underline; text-underline-offset: 4px; }
.mb-layout__feature { display: flex; flex-direction: column; gap: 12px; }
.mb-align-center .mb-layout__feature { align-items: center; } .mb-align-right .mb-layout__feature { align-items: flex-end; }
.mb-layout__feature--inline { flex-direction: row; align-items: flex-start; gap: 16px; }
.mb-layout__feature-img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--mb-radius); }
.mb-card--placeholder .mb-card__title { color: var(--mb-color-muted); }

/* ---------- CMS list ---------- */
.mb-cms-list--list { display: grid; gap: 28px; }
.mb-entry-card { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.mb-cms-list--list .mb-entry-card { padding-bottom: 28px; border-bottom: 1px solid var(--mb-color-border); }
@media (min-width: 750px) { .mb-cms-list--list .mb-entry-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 28px; align-items: center; } }
.mb-entry-card__media { display: block; overflow: hidden; border-radius: var(--mb-radius); background: var(--mb-color-surface); }
.mb-entry-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
a.mb-entry-card__media:hover img { transform: scale(1.03); }
.mb-entry-card__date { margin: 0 0 6px; font-size: .8rem; color: var(--mb-color-muted); }
.mb-entry-card__title { margin: 0 0 8px; font-family: var(--mb-font-heading); font-weight: var(--mb-heading-weight); font-size: 1.2rem; line-height: 1.3; }
.mb-entry-card__title a { color: inherit; text-decoration: none; }
.mb-entry-card__title a:hover { text-decoration: underline; }
.mb-entry-card__summary { margin: 0 0 12px; color: var(--mb-color-muted); line-height: 1.6; font-size: .95rem; }
.mb-entry-card__more { color: inherit; font-size: .9rem; font-weight: 500; text-decoration: none; }
.mb-entry-card__more:hover { text-decoration: underline; }

/* Store forms (the SDK's <mobiari-form>) in the form sections follow the
   site's styles. `:where` keeps them at the SDK defaults' weight, so
   they win over those (loaded earlier) and lose to any theme rule. */
:where(.mobiari-section--newsletter, .mobiari-section--form, .mobiari-section--contact-info) .mobiari-form__submit { background: var(--mb-color-accent); color: var(--mb-color-on-accent); border-radius: var(--mb-button-radius); }
:where(.mobiari-section--newsletter, .mobiari-section--form, .mobiari-section--contact-info) .mobiari-field__input { border-color: var(--mb-color-border); border-radius: var(--mb-radius); }
:where(.mobiari-section--newsletter, .mobiari-section--form, .mobiari-section--contact-info) .mobiari-field__input:focus { outline-color: var(--mb-color-accent); }
/* Commerce sections: main-product, product-recommendations, cart-drawer,
   main-cart. Only mb-* classes and the platform's style tokens
   (--mb-color-*, --mb-radius, --mb-button-radius, --mb-font-heading, ...),
   each with a fallback so the sections also look right without them.
   Mobile first; breakpoints at 750px and 990px. */

.mb-product, .mb-recs, .mb-cart, .mb-drawer, .mb-lightbox, .mb-pip, .mb-pip-modal {
  --mb-c-border: var(--mb-color-border, rgba(0, 0, 0, .12));
  --mb-c-radius: var(--mb-radius, 8px);
  --mb-c-btn-radius: var(--mb-button-radius, var(--mb-radius, 8px));
  --mb-c-muted: var(--mb-color-muted, rgba(0, 0, 0, .6));
  --mb-c-surface: var(--mb-color-surface, rgba(0, 0, 0, .04));
  --mb-c-accent: var(--mb-color-accent, #1c1917);
  --mb-c-on-accent: var(--mb-color-on-accent, #fff);
  /* A solid panel: the page background over white (the token may be transparent). */
  --mb-c-panel: linear-gradient(var(--mb-color-bg, #fff), var(--mb-color-bg, #fff)), #fff;
  --mb-c-success: #15803d;
  --mb-c-warning: #b45309;
  --mb-c-error: #b42318;
}
.mb-product [hidden], .mb-recs [hidden], .mb-cart [hidden], .mb-drawer [hidden],
.mb-lightbox[hidden], .mb-lightbox [hidden], .mb-pip[hidden], .mb-pip-modal[hidden] { display: none !important; }
html.mb-scroll-lock { overflow: hidden; }

/* ── Shared pieces ─────────────────────────────────────────────────── */
.mb-muted { color: var(--mb-c-muted); }
.mb-error-text { color: var(--mb-c-error); margin: 0; font-size: .875rem; }
.mb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; box-sizing: border-box;
  border: 1px solid transparent; border-radius: var(--mb-c-btn-radius);
  font: inherit; font-size: .95rem; font-weight: 500; line-height: 1.2; letter-spacing: .01em;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: opacity .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.mb-btn:disabled { opacity: .45; cursor: not-allowed; }
.mb-btn--primary { background: var(--mb-c-accent); color: var(--mb-c-on-accent); }
.mb-btn--primary:not(:disabled):hover { opacity: .88; }
.mb-btn--secondary { background: transparent; color: var(--mb-c-accent); border-color: var(--mb-c-accent); }
.mb-btn--secondary:not(:disabled):hover { background: var(--mb-c-accent); color: var(--mb-c-on-accent); }
.mb-btn--outline { background: var(--mb-c-panel); color: inherit; border-color: var(--mb-c-border); }
.mb-btn--outline:not(:disabled):hover { border-color: currentColor; }
.mb-btn--block { display: flex; width: 100%; }
.mb-btn--sm { min-height: 40px; padding: 0 16px; font-size: .875rem; }
.mb-btn--lg { min-height: 56px; font-size: 1rem; }
.mb-btn .mb-icon { width: 18px; height: 18px; }
.mb-icon-btn {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 40px; height: 40px; padding: 0; border: 1px solid var(--mb-c-border); border-radius: var(--mb-c-radius);
  background: transparent; color: inherit; cursor: pointer; transition: background-color .2s ease;
}
.mb-icon-btn:hover { background: var(--mb-c-surface); }
.mb-icon-btn .mb-icon { width: 18px; height: 18px; }
.mb-icon-btn--sm { width: 28px; height: 28px; border-color: transparent; color: var(--mb-c-muted); }
.mb-icon-btn--sm .mb-icon { width: 16px; height: 16px; }
.mb-link-btn { background: none; border: 0; padding: 0; color: var(--mb-c-muted); font: inherit; font-size: .8rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.mb-link-btn:hover { color: inherit; }

.mb-input {
  display: block; width: 100%; box-sizing: border-box; min-height: 46px; padding: 10px 14px;
  border: 1px solid var(--mb-c-border); border-radius: var(--mb-c-radius);
  background: var(--mb-c-panel); color: inherit; font: inherit; font-size: 1rem; line-height: 1.3;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.mb-input::placeholder { color: var(--mb-c-muted); opacity: .8; }
.mb-input:focus { outline: none; border-color: var(--mb-c-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--mb-c-accent) 14%, transparent); }
.mb-input[readonly], .mb-input:disabled { background: var(--mb-c-surface); cursor: not-allowed; }
textarea.mb-input { min-height: 120px; resize: vertical; }
.mb-select { position: relative; }
.mb-select select.mb-input { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.mb-select::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; pointer-events: none;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); opacity: .6;
}
.mb-form-row { display: grid; gap: 12px; }
@media (min-width: 750px) { .mb-form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mb-form-row--wide { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } }
.mb-form-row--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.mb-qty { display: inline-flex; align-items: stretch; flex: none; height: 44px; border: 1px solid var(--mb-c-border); border-radius: var(--mb-c-radius); overflow: hidden; background: var(--mb-c-panel); }
.mb-qty--tall { height: auto; min-height: 52px; }
.mb-qty--sm { height: 34px; }
.mb-qty__btn { width: 40px; border: 0; padding: 0; background: transparent; color: inherit; font-size: 1.1rem; line-height: 1; cursor: pointer; }
.mb-qty--sm .mb-qty__btn { width: 32px; font-size: 1rem; }
.mb-qty__btn:hover { background: var(--mb-c-surface); }
.mb-qty__input, .mb-qty__value {
  width: 48px; border: 0; border-left: 1px solid var(--mb-c-border); border-right: 1px solid var(--mb-c-border);
  background: transparent; color: inherit; font: inherit; font-size: .95rem; font-weight: 500; text-align: center;
  display: inline-flex; align-items: center; justify-content: center; -moz-appearance: textfield; appearance: textfield;
}
.mb-qty--sm .mb-qty__value { width: 36px; font-size: .85rem; }
.mb-qty__input:focus { outline: none; background: var(--mb-c-surface); }
.mb-qty__input::-webkit-inner-spin-button, .mb-qty__input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.mb-chevron { display: inline-block; flex: none; width: 8px; height: 8px; margin: -4px 4px 0 12px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .2s ease; opacity: .7; }

.mb-stars { display: inline-flex; gap: 1px; font-size: 1rem; line-height: 1; }
.mb-stars--sm { font-size: .8rem; }
.mb-stars__star { color: var(--mb-c-border); }
.mb-stars__star.is-on { color: #f5a524; }

.mb-spinner { display: inline-block; width: 16px; height: 16px; box-sizing: border-box; border: 2px solid currentColor; border-right-color: transparent; border-radius: 999px; opacity: .55; animation: mb-spin .7s linear infinite; }
.mb-spinner--inline { margin-right: 8px; vertical-align: -3px; }
@keyframes mb-spin { to { transform: rotate(360deg); } }

.mb-prose { line-height: 1.7; }
.mb-prose > :first-child { margin-top: 0; }
.mb-prose > :last-child { margin-bottom: 0; }
.mb-prose p { margin: 0 0 1em; }
.mb-prose--justify { text-align: justify; }
.mb-prose a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.mb-prose ul, .mb-prose ol { margin: 0 0 1em; padding-left: 1.4em; }
.mb-prose li { margin: .25em 0; }
.mb-prose li > p { margin: 0; }
.mb-prose h1, .mb-prose h2, .mb-prose h3, .mb-prose h4 { font-family: var(--mb-font-heading, inherit); font-weight: var(--mb-heading-weight, 600); line-height: 1.3; margin: 1.5em 0 .5em; }
.mb-prose h1 { font-size: 1.5rem; } .mb-prose h2 { font-size: 1.25rem; } .mb-prose h3 { font-size: 1.1rem; } .mb-prose h4 { font-size: 1rem; }
.mb-prose blockquote { margin: 1em 0; padding-left: 1em; border-left: 3px solid var(--mb-c-border); color: var(--mb-c-muted); font-style: italic; }
.mb-prose hr { border: 0; border-top: 1px solid var(--mb-c-border); margin: 1.5em 0; }
.mb-prose img, .mb-prose video, .mb-prose iframe { max-width: 100%; height: auto; border-radius: var(--mb-c-radius); }
.mb-prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .94em; }
.mb-prose th, .mb-prose td { padding: .6em .75em; border-bottom: 1px solid var(--mb-c-border); text-align: left; }
.mb-prose th { font-weight: 600; }
.mb-prose code { padding: .1em .35em; border-radius: 4px; background: var(--mb-c-surface); font-size: .9em; }
.mb-empty-note { margin: 0; font-style: italic; }

/* ── Product page ──────────────────────────────────────────────────── */
.mb-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 20px; font-size: .85rem; color: var(--mb-c-muted); }
.mb-breadcrumbs a { color: inherit; text-decoration: none; }
.mb-breadcrumbs a:hover { color: var(--mb-color-text, inherit); text-decoration: underline; }
.mb-breadcrumbs [aria-current] { color: var(--mb-color-text, inherit); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }

.mb-product__grid { display: grid; gap: 28px; }
@media (min-width: 750px) {
  .mb-product__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
  .mb-product--media-small .mb-product__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .mb-product--media-large .mb-product__grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
}
@media (min-width: 990px) {
  .mb-product__grid { gap: 64px; }
  .mb-product--sticky .mb-product__info { position: sticky; top: var(--mb-sticky-top, 24px); }
}
.mb-product__media { min-width: 0; }
.mb-product__info { min-width: 0; }
.mb-product__block { margin: 0 0 22px; }
.mb-product__info > :last-child { margin-bottom: 0; }

.mb-product__vendor { margin: 0 0 6px; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mb-c-muted); }
.mb-product__title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.mb-product__title { margin: 0; font-family: var(--mb-font-heading, inherit); font-weight: var(--mb-heading-weight, 600); line-height: 1.15; overflow-wrap: anywhere; }
.mb-product__title--small { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); }
.mb-product__title--medium { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); }
.mb-product__title--large { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.9rem); }
.mb-product__title--upper { text-transform: uppercase; letter-spacing: .02em; }
.mb-product__star { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin-left: 10px; vertical-align: middle; border-radius: 999px; background: #fbbf24; color: #fff; }
.mb-product__rating { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: .875rem; color: inherit; text-decoration: none; }

.mb-share { position: relative; flex: none; }
.mb-share__menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 190px; display: grid; padding: 6px;
  background: var(--mb-c-panel); border: 1px solid var(--mb-c-border); border-radius: var(--mb-c-radius); box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
}
.mb-share__menu a, .mb-share__menu button { display: block; padding: 10px 12px; border: 0; border-radius: calc(var(--mb-c-radius) * .6); background: none; color: inherit; font: inherit; font-size: .875rem; text-align: left; text-decoration: none; cursor: pointer; }
.mb-share__menu a:hover, .mb-share__menu button:hover { background: var(--mb-c-surface); }
.mb-share__menu button { border-top: 1px solid var(--mb-c-border); border-radius: 0; margin-top: 4px; }

.mb-price-block p { margin: 0; }
.mb-price-block__compare { font-size: .9rem; color: var(--mb-c-muted); }
.mb-price-block__badge { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--mb-c-accent); color: var(--mb-c-on-accent); font-size: .75rem; font-weight: 600; vertical-align: 1px; }
.mb-price-block__main { margin: 4px 0 2px !important; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.3rem); font-weight: 600; line-height: 1.1; letter-spacing: -.01em; }
.mb-price-block__note { font-size: .8rem; color: var(--mb-c-muted); }
.mb-price-block__secondary { margin-top: 6px !important; font-size: .92rem; color: var(--mb-c-muted); }
.mb-price-block__secondary .mb-price { color: var(--mb-color-text, inherit); font-weight: 500; }

.mb-highlights__short { margin: 0 0 10px; line-height: 1.6; }
.mb-highlights__list { margin: 0; padding-left: 1.2em; color: var(--mb-c-muted); font-size: .92rem; line-height: 1.55; }
.mb-highlights__list li { margin: 5px 0; }

.mb-variant__group + .mb-variant__group { margin-top: 18px; }
.mb-variant__label { display: block; margin: 0 0 10px; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.mb-variant__selected { margin-left: 6px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--mb-c-muted); font-size: .85rem; }
.mb-variant__values { display: flex; flex-wrap: wrap; gap: 8px; }
.mb-chip {
  min-height: 42px; min-width: 48px; padding: 0 16px; border: 1px solid var(--mb-c-border); border-radius: var(--mb-c-radius);
  background: var(--mb-c-panel); color: inherit; font: inherit; font-size: .9rem; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease;
}
.mb-chip:hover { border-color: currentColor; }
.mb-chip.is-active { border-color: currentColor; box-shadow: inset 0 0 0 1px currentColor; font-weight: 500; }
.mb-chip.is-unavailable { color: var(--mb-c-muted); text-decoration: line-through; }
.mb-swatch { position: relative; width: 40px; height: 40px; padding: 3px; border: 1px solid var(--mb-c-border); border-radius: 999px; background: transparent; cursor: pointer; transition: box-shadow .15s ease; }
.mb-swatch__color { display: block; width: 100%; height: 100%; border-radius: 999px; background: var(--mb-c-surface); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.mb-swatch:hover { border-color: currentColor; }
.mb-swatch.is-active { border-color: currentColor; box-shadow: 0 0 0 1px currentColor; }
.mb-swatch.is-unavailable::after { content: ""; position: absolute; left: 50%; top: 4px; bottom: 4px; width: 1.5px; background: currentColor; transform: rotate(45deg); opacity: .6; }

.mb-stock { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid; border-radius: var(--mb-c-radius); font-size: .875rem; }
.mb-stock__dot { flex: none; width: 8px; height: 8px; border-radius: 999px; background: currentColor; }
.mb-stock--in_stock { color: var(--mb-c-success); background: color-mix(in srgb, var(--mb-c-success) 7%, transparent); border-color: color-mix(in srgb, var(--mb-c-success) 25%, transparent); }
.mb-stock--on_demand { color: var(--mb-c-warning); background: color-mix(in srgb, var(--mb-c-warning) 7%, transparent); border-color: color-mix(in srgb, var(--mb-c-warning) 25%, transparent); }
.mb-stock--sold_out { color: var(--mb-c-error); background: color-mix(in srgb, var(--mb-c-error) 6%, transparent); border-color: color-mix(in srgb, var(--mb-c-error) 22%, transparent); }

.mb-buy__row { display: flex; align-items: stretch; gap: 12px; }
.mb-buy__add { flex: 1; min-height: 52px; }
.mb-buy__now { width: 100%; margin-top: 10px; min-height: 52px; }
.mb-buy__error { margin: 10px 0 0; font-size: .85rem; color: var(--mb-c-error); }

.mb-estimate { padding: 20px; border-radius: var(--mb-c-radius); background: var(--mb-c-surface); }
.mb-estimate__title { margin: 0 0 2px; font-weight: 600; }
.mb-estimate__text { margin: 0 0 12px; font-size: .875rem; color: var(--mb-c-muted); }
.mb-estimate__form { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr) auto; }
.mb-estimate__form--wa { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 750px) { .mb-estimate__form--wa { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; } }
.mb-estimate__result { margin-top: 12px; font-size: .875rem; }
.mb-estimate__result p { margin: 0; }
.mb-estimate__list { list-style: none; margin: 0; padding: 0; }
.mb-estimate__list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--mb-c-border); }
.mb-estimate__list li:first-child { border-top: 0; }

.mb-product__text--muted { color: var(--mb-c-muted); font-size: .9rem; }
.mb-product__text--box { padding: 16px 18px; border-radius: var(--mb-c-radius); background: var(--mb-c-surface); font-size: .92rem; }
.mb-product__text p { margin: 0 0 .6em; }
.mb-product__text p:last-child { margin-bottom: 0; }

.mb-collapse { margin: 0; border-top: 1px solid var(--mb-c-border); border-bottom: 1px solid var(--mb-c-border); }
.mb-collapse + .mb-collapse { border-top: 0; }
.mb-collapse + :not(.mb-collapse) { margin-top: 22px; }
.mb-collapse__summary { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; font-weight: 500; cursor: pointer; list-style: none; }
.mb-collapse__summary::-webkit-details-marker { display: none; }
.mb-collapse[open] > .mb-collapse__summary .mb-chevron { transform: rotate(-135deg); margin-top: 4px; }
.mb-collapse__body { padding: 0 0 20px; font-size: .94rem; }

/* Gallery: a scroll-snap track (swipe on touch), arrows on desktop. */
.mb-gallery { display: grid; gap: 12px; --mb-ratio: 1 / 1; }
.mb-gallery--portrait { --mb-ratio: 4 / 5; }
.mb-gallery--landscape { --mb-ratio: 4 / 3; }
.mb-gallery__viewport { position: relative; min-width: 0; border-radius: var(--mb-c-radius); overflow: hidden; background: var(--mb-c-surface); }
.mb-gallery__track { position: relative; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; outline: none; }
.mb-gallery__track::-webkit-scrollbar { display: none; }
.mb-gallery__track:focus-visible { box-shadow: inset 0 0 0 2px var(--mb-c-accent); }
.mb-gallery__slide { position: relative; flex: 0 0 100%; aspect-ratio: var(--mb-ratio); scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; }
.mb-gallery__zoom { display: block; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: none; cursor: zoom-in; }
.mb-gallery__zoom:disabled { cursor: default; }
.mb-gallery__zoom picture { display: block; width: 100%; height: 100%; }
.mb-gallery__img, .mb-gallery__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.mb-gallery--fit-contain .mb-gallery__img { object-fit: contain; }
.mb-gallery__video { object-fit: contain; background: #000; }
.mb-gallery__embed { position: relative; width: 100%; height: 100%; background: #000; cursor: pointer; }
.mb-gallery__embed img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.mb-gallery__embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mb-gallery__embed.is-playing .mb-gallery__play { display: none; }
.mb-gallery__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; transform: translate(-50%, -50%); border-radius: 999px; background: rgba(0, 0, 0, .55); pointer-events: none; }
.mb-gallery__play::after { content: ""; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%); border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; }
.mb-gallery__play--sm { width: 26px; height: 26px; }
.mb-gallery__play--sm::after { border-width: 5px 0 5px 8px; }
.mb-gallery__arrow {
  position: absolute; top: 50%; z-index: 2; display: none; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0;
  transform: translateY(-50%); border: 0; border-radius: 999px; background: var(--mb-c-panel); color: #1c1917; box-shadow: 0 4px 14px rgba(0, 0, 0, .14);
  cursor: pointer; opacity: .92; transition: opacity .2s ease, transform .2s ease;
}
.mb-gallery__arrow:hover { opacity: 1; }
.mb-gallery__arrow .mb-icon { width: 18px; height: 18px; }
.mb-gallery__arrow--prev { left: 14px; } .mb-gallery__arrow--next { right: 14px; }
.mb-gallery__counter { position: absolute; right: 12px; bottom: 12px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; font-size: .75rem; pointer-events: none; }
@media (min-width: 750px) { .mb-gallery__arrow { display: inline-flex; } .mb-gallery__counter { display: none; } }
.mb-gallery__thumbs { position: relative; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 2px; }
.mb-gallery__thumb { position: relative; flex: none; width: 68px; height: 68px; padding: 0; border: 2px solid transparent; border-radius: calc(var(--mb-c-radius) * .75); overflow: hidden; background: var(--mb-c-surface); cursor: pointer; transition: border-color .15s ease; }
.mb-gallery__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mb-gallery__thumb:hover { border-color: var(--mb-c-border); }
.mb-gallery__thumb.is-active { border-color: currentColor; }
.mb-gallery__empty { display: flex; align-items: center; justify-content: center; aspect-ratio: var(--mb-ratio); color: var(--mb-c-muted); }
.mb-gallery__empty svg { width: 64px; height: 64px; opacity: .4; }
@media (min-width: 990px) {
  .mb-gallery--thumbs-left { grid-template-columns: 76px minmax(0, 1fr); align-items: start; }
  .mb-gallery--thumbs-left .mb-gallery__viewport { grid-column: 2; grid-row: 1; }
  /* Height 0 + min-height 100%: the strip takes the photo's height and scrolls. */
  .mb-gallery--thumbs-left .mb-gallery__thumbs { grid-column: 1; grid-row: 1; flex-direction: column; height: 0; min-height: 100%; overflow-x: hidden; overflow-y: auto; padding: 0; }
  .mb-gallery--thumbs-left .mb-gallery__thumb { width: 76px; height: 76px; }
}
.mb-model { margin-top: 12px; }
.mb-model__viewer { display: block; width: 100%; aspect-ratio: 1 / 1; border-radius: var(--mb-c-radius); background: var(--mb-c-surface); }

/* Content placed below: tabs on desktop, accordions on mobile. */
.mb-tabs { margin-top: 48px; }
.mb-tabs__nav { display: none; }
.mb-tabs__item { border-top: 1px solid var(--mb-c-border); }
.mb-tabs__item:last-child { border-bottom: 1px solid var(--mb-c-border); }
.mb-tabs__toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 18px 0; border: 0; background: none; color: inherit; font: inherit; font-size: 1.05rem; font-weight: 500; text-align: left; cursor: pointer; }
.mb-tabs__item.is-open .mb-tabs__toggle .mb-chevron { transform: rotate(-135deg); margin-top: 4px; }
.mb-tabs__panel { display: none; padding: 0 0 28px; }
.mb-tabs__item.is-open .mb-tabs__panel { display: block; }
@media (min-width: 750px) {
  .mb-tabs { margin-top: 72px; }
  .mb-tabs--tabs .mb-tabs__nav { display: grid; grid-template-columns: repeat(var(--mb-tab-count, 3), minmax(0, 1fr)); border-bottom: 1px solid var(--mb-c-border); }
  .mb-tabs__tab { margin-bottom: -1px; padding: 16px 8px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--mb-c-muted); font: inherit; font-size: 1.1rem; font-weight: 500; cursor: pointer; transition: color .2s ease, border-color .2s ease; }
  .mb-tabs__tab:hover { color: var(--mb-color-text, inherit); }
  .mb-tabs__tab.is-active { color: var(--mb-color-text, inherit); border-bottom-color: currentColor; }
  .mb-tabs--tabs .mb-tabs__item { border: 0; }
  .mb-tabs--tabs .mb-tabs__toggle { display: none; }
  .mb-tabs--tabs .mb-tabs__panel { padding: 36px 8px 0; }
}
.mb-product__full { margin-top: 64px; }
.mb-product__full > .mb-heading { margin-bottom: 20px; }

.mb-specs { display: grid; gap: 32px; max-width: 860px; margin: 0 auto; }
.mb-specs__title { margin: 0 0 10px; font-size: 1rem; font-weight: 600; }
.mb-specs__list { display: grid; grid-template-columns: minmax(110px, 38%) minmax(0, 1fr); margin: 0; font-size: .92rem; }
.mb-specs__list dt, .mb-specs__list dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--mb-c-border); }
.mb-specs__list dt { padding-right: 16px; color: var(--mb-c-muted); }
.mb-specs__list a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.mb-measure { display: flex; justify-content: center; }
.mb-measure__zoom { max-width: 720px; padding: 0; border: 0; background: none; cursor: zoom-in; }
.mb-measure__zoom picture { display: block; }
.mb-measure__img { display: block; max-width: 100%; height: auto; border-radius: var(--mb-c-radius); }

.mb-reviews__summary { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 1rem; }
.mb-review { padding: 18px 0; border-bottom: 1px solid var(--mb-c-border); }
.mb-review:first-child { padding-top: 4px; }
.mb-review__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mb-review__author { font-size: .9rem; }
.mb-review__badge { padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--mb-c-success) 10%, transparent); color: var(--mb-c-success); font-size: .7rem; }
.mb-review__title { margin: 8px 0 4px; font-size: .95rem; font-weight: 600; }
.mb-review__body { margin: 6px 0 0; color: var(--mb-c-muted); font-size: .92rem; line-height: 1.6; white-space: pre-line; }
.mb-reviews__form { display: grid; gap: 12px; max-width: 640px; margin-top: 32px; }
.mb-reviews__form-title { margin: 0; font-size: 1.05rem; font-weight: 600; }
.mb-rating-input { display: flex; gap: 2px; }
.mb-rating-input__star { padding: 0 2px; border: 0; background: none; color: var(--mb-c-border); font-size: 1.9rem; line-height: 1; cursor: pointer; transition: color .1s ease; }
.mb-rating-input__star.is-on { color: #f5a524; }
.mb-reviews__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.mb-reviews__status { margin: 0; font-size: .875rem; color: var(--mb-c-muted); }
.mb-reviews__status.is-ok { color: var(--mb-c-success); }
.mb-reviews__status.is-error { color: var(--mb-c-error); }

/* Lightbox and highlight video (lifted to <body> while open). */
.mb-lightbox, .mb-pip-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(10, 10, 10, .92); }
.mb-lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; }
.mb-lightbox__btn { position: absolute; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; transition: background-color .2s ease; }
.mb-lightbox__btn:hover { background: rgba(255, 255, 255, .24); }
.mb-lightbox__btn .mb-icon { width: 20px; height: 20px; }
.mb-lightbox__close { top: 16px; right: 16px; }
.mb-lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.mb-lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.mb-lightbox--single .mb-lightbox__prev, .mb-lightbox--single .mb-lightbox__next { display: none; }
.mb-pip-modal__stage { width: min(100%, 1100px); aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; }
.mb-pip-modal__stage iframe { width: 100%; height: 100%; border: 0; }
.mb-pip-modal__stage video { max-width: 100%; max-height: 85vh; }
.mb-pip { position: fixed; left: 16px; bottom: 16px; z-index: 900; width: 150px; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); cursor: pointer; opacity: 0; transition: opacity .25s ease; }
@media (min-width: 750px) { .mb-pip { width: 224px; } }
.mb-pip.is-ready { opacity: 1; }
.mb-pip__mini { position: absolute; inset: 0; pointer-events: none; }
.mb-pip__mini iframe, .mb-pip__mini video { width: 100%; height: 100%; border: 0; object-fit: cover; }
.mb-pip__hint { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; background: linear-gradient(to top, rgba(0, 0, 0, .65), transparent); color: #fff; font-size: .72rem; font-weight: 500; opacity: 0; transition: opacity .2s ease; }
.mb-pip:hover .mb-pip__hint, .mb-pip:focus-visible .mb-pip__hint { opacity: 1; }
.mb-pip__close { position: absolute; top: 6px; right: 6px; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 999px; background: rgba(0, 0, 0, .6); color: #fff; cursor: pointer; }
.mb-pip__close .mb-icon { width: 14px; height: 14px; }

/* ── Product recommendations ──────────────────────────────────────── */
.mb-recs__item { min-width: 0; }
@media (max-width: 749px) {
  .mb-recs--scroll .mb-recs__grid {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(-1 * var(--mb-gutter, 16px)); padding: 0 var(--mb-gutter, 16px); scroll-padding: 0 var(--mb-gutter, 16px);
  }
  .mb-recs--scroll .mb-recs__grid::-webkit-scrollbar { display: none; }
  .mb-recs--scroll .mb-recs__item { flex: 0 0 calc(86% / var(--mb-cols-mobile, 2)); scroll-snap-align: start; }
}

/* ── Cart drawer ──────────────────────────────────────────────────── */
.mb-drawer { position: fixed; inset: 0; z-index: 950; visibility: hidden; pointer-events: none; transition: visibility 0s linear .32s; }
.mb-drawer.is-open { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.mb-drawer__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .42); opacity: 0; transition: opacity .3s ease; }
.mb-drawer.is-open .mb-drawer__overlay { opacity: 1; }
.mb-drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); display: flex; flex-direction: column;
  background: var(--mb-c-panel); color: var(--mb-color-text, #1c1917); box-shadow: -12px 0 40px rgba(0, 0, 0, .14);
  transform: translateX(100%); transition: transform .32s cubic-bezier(.4, 0, .2, 1); outline: none;
}
.mb-drawer.is-open .mb-drawer__panel { transform: translateX(0); }
.mb-drawer__body { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.mb-drawer__header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--mb-c-border); }
.mb-drawer__header .mb-icon-btn { border-color: transparent; }
.mb-drawer__title { margin: 0; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.mb-drawer__count { font-weight: 400; letter-spacing: 0; color: var(--mb-c-muted); }
.mb-drawer__free { padding: 14px 20px; border-bottom: 1px solid var(--mb-c-border); font-size: .85rem; }
.mb-drawer__free p { margin: 0 0 8px; }
.mb-progress { height: 6px; border-radius: 999px; background: var(--mb-c-surface); overflow: hidden; }
.mb-progress span { display: block; height: 100%; border-radius: inherit; background: var(--mb-c-accent); transition: width .4s ease; }
.mb-drawer__lines { flex: 1; min-height: 0; margin: 0; padding: 0; list-style: none; overflow-y: auto; overscroll-behavior: contain; }
.mb-drawer__line { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--mb-c-border); transition: opacity .2s ease; }
.mb-drawer__line.is-removing { opacity: .4; pointer-events: none; }
.mb-drawer__thumb { display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: calc(var(--mb-c-radius) * .75); overflow: hidden; background: var(--mb-c-surface); color: var(--mb-c-muted); }
.mb-drawer__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mb-drawer__thumb svg { width: 26px; height: 26px; opacity: .5; }
.mb-drawer__line-title { margin: 0; font-size: .9rem; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mb-drawer__line-note { margin: 4px 0 0; font-size: .75rem; color: var(--mb-c-warning); }
.mb-drawer__line-info .mb-qty { margin-top: 10px; }
.mb-drawer__line-end { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.mb-drawer__line-price { font-size: .9rem; font-weight: 500; white-space: nowrap; }
.mb-drawer__footer { display: grid; gap: 10px; padding: 16px 20px 20px; border-top: 1px solid var(--mb-c-border); }
.mb-drawer__subtotal { display: flex; align-items: baseline; justify-content: space-between; font-size: 1rem; font-weight: 500; }
.mb-drawer__subtotal--discount { font-size: .9rem; color: var(--mb-c-success); }
.mb-drawer__note { margin: 0; font-size: .8rem; color: var(--mb-c-muted); }
.mb-drawer__link { display: block; padding: 4px; border: 0; background: none; color: inherit; font: inherit; font-size: .875rem; text-align: center; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.mb-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 40px 28px; text-align: center; }
.mb-drawer__empty svg { width: 48px; height: 48px; color: var(--mb-c-muted); opacity: .45; }
.mb-drawer__empty p { margin: 0; color: var(--mb-c-muted); }

/* ── Cart page + checkout ─────────────────────────────────────────── */
.mb-cart__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin-bottom: 24px; }
.mb-cart__head .mb-heading { margin: 0; }
.mb-alert { margin: 0 0 20px; padding: 12px 16px; border: 1px solid; border-radius: var(--mb-c-radius); font-size: .9rem; }
.mb-alert--warning { color: var(--mb-c-warning); background: color-mix(in srgb, var(--mb-c-warning) 7%, transparent); border-color: color-mix(in srgb, var(--mb-c-warning) 30%, transparent); }
.mb-alert--success { color: var(--mb-c-success); background: color-mix(in srgb, var(--mb-c-success) 7%, transparent); border-color: color-mix(in srgb, var(--mb-c-success) 28%, transparent); }
.mb-alert--error { color: var(--mb-c-error); background: color-mix(in srgb, var(--mb-c-error) 6%, transparent); border-color: color-mix(in srgb, var(--mb-c-error) 24%, transparent); margin: 0; }

.mb-cart__layout { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "lines" "aside" "steps"; }
.mb-cart__lines { grid-area: lines; min-width: 0; }
.mb-cart__aside { grid-area: aside; min-width: 0; }
.mb-steps { grid-area: steps; min-width: 0; display: grid; gap: 12px; scroll-margin-top: 24px; }
@media (min-width: 990px) {
  .mb-cart__layout { grid-template-columns: minmax(0, 1fr) 380px; grid-template-areas: "lines aside" "steps aside"; column-gap: 56px; row-gap: 40px; align-items: start; }
  .mb-cart--sticky .mb-cart__aside { position: sticky; top: var(--mb-sticky-top, 24px); }
}

.mb-line { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--mb-c-border); transition: opacity .2s ease; }
.mb-line:first-child { padding-top: 0; }
.mb-line.is-removing { opacity: .4; pointer-events: none; }
@media (min-width: 750px) { .mb-line { grid-template-columns: 104px minmax(0, 1fr); gap: 20px; } }
.mb-line__media { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; border-radius: var(--mb-c-radius); overflow: hidden; background: var(--mb-c-surface); color: var(--mb-c-muted); }
.mb-line__media picture { display: block; width: 100%; height: 100%; }
.mb-line__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mb-line__media svg { width: 30px; height: 30px; opacity: .45; }
.mb-line__title { margin: 0; font-size: .95rem; font-weight: 500; line-height: 1.35; }
.mb-line__sku { margin: 2px 0 0; font-size: .75rem; color: var(--mb-c-muted); }
.mb-line__note { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; font-size: .78rem; color: var(--mb-c-warning); }
.mb-line__note .mb-icon { width: 14px; height: 14px; flex: none; }
.mb-line__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.mb-line__prices { text-align: right; }
.mb-line__total { display: block; font-weight: 600; font-size: .95rem; }
.mb-line__unit { display: block; font-size: .75rem; color: var(--mb-c-muted); }
.mb-line .mb-link-btn { margin-top: 10px; }
.mb-cart__clear { padding-top: 14px; }

.mb-summary { padding: 24px; border: 1px solid var(--mb-c-border); border-radius: var(--mb-c-radius); background: var(--mb-c-panel); }
.mb-summary__title { margin: 0 0 14px; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.mb-summary__row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 5px 0; font-size: .9rem; }
.mb-summary__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb-summary__row--sep { margin-top: 8px; padding-top: 13px; border-top: 1px solid var(--mb-c-border); }
.mb-summary__row--discount { color: var(--mb-c-success); }
.mb-summary__row--total { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--mb-c-border); font-size: 1.1rem; font-weight: 600; }
.mb-summary__free { color: var(--mb-c-success); font-weight: 500; }
.mb-trust { display: grid; gap: 10px; margin-top: 16px; padding: 16px; border: 1px solid var(--mb-c-border); border-radius: var(--mb-c-radius); font-size: .8rem; color: var(--mb-c-muted); }
.mb-trust__item { display: flex; align-items: center; gap: 10px; margin: 0; }
.mb-trust__item .mb-icon { width: 18px; height: 18px; flex: none; color: var(--mb-color-text, inherit); }
.mb-trust__logos { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 2px; }
.mb-trust__logos img { height: 26px; width: auto; padding: 3px; border: 1px solid var(--mb-c-border); border-radius: 4px; background: #fff; }

.mb-step { border: 1px solid var(--mb-c-border); border-radius: var(--mb-c-radius); background: var(--mb-c-panel); transition: border-color .2s ease, opacity .2s ease; scroll-margin-top: 24px; }
.mb-step__header { display: flex; align-items: center; gap: 14px; padding: 18px 20px; cursor: pointer; user-select: none; }
.mb-step[data-mb-step="payment"] .mb-step__header { cursor: default; }
.mb-step__index { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 28px; height: 28px; border-radius: 999px; background: var(--mb-c-surface); color: var(--mb-c-muted); font-size: .85rem; font-weight: 600; transition: background-color .2s ease, color .2s ease; }
.mb-step__heading { flex: 1; min-width: 0; }
.mb-step__title { margin: 0; font-family: inherit; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.mb-step__summary { margin: 3px 0 0; font-size: .8rem; color: var(--mb-c-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb-step__summary:empty { display: none; }
.mb-step__edit { display: none; padding: 0; border: 0; background: none; color: var(--mb-c-muted); font: inherit; font-size: .8rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.mb-step__body { display: grid; gap: 14px; padding: 0 20px 20px; }
.mb-step__actions { display: flex; justify-content: flex-end; padding-top: 4px; }
.mb-step.is-active { border-color: color-mix(in srgb, currentColor 32%, transparent); }
.mb-step.is-active .mb-step__index { background: var(--mb-c-accent); color: var(--mb-c-on-accent); }
.mb-step.is-done .mb-step__index { background: var(--mb-c-success); color: #fff; }
.mb-step.is-done .mb-step__edit { display: inline; }
.mb-step.is-done .mb-step__body, .mb-step.is-idle .mb-step__body { display: none; }
.mb-step.is-idle { opacity: .6; }
.mb-step.is-idle .mb-step__header { pointer-events: none; }

.mb-field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.mb-field__label { margin: 0; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.mb-field__wrap { position: relative; }
.mb-field__wrap .mb-spinner { position: absolute; right: 14px; top: 50%; margin-top: -8px; }
.mb-field__error { display: none; margin: 0; font-size: .78rem; color: var(--mb-c-error); }
.mb-field.is-invalid .mb-input { border-color: var(--mb-c-error); }
.mb-field.is-invalid .mb-field__error, .mb-field__error--block { display: block; }
.mb-field__error--block:empty { display: none; }
.mb-field__hint { margin: 0; font-size: .78rem; color: var(--mb-c-muted); }

.mb-segmented { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--mb-c-border); border-radius: var(--mb-c-radius); overflow: hidden; }
.mb-segmented__btn { padding: 12px 8px; border: 0; background: none; color: var(--mb-c-muted); font: inherit; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.mb-segmented__btn + .mb-segmented__btn { border-left: 1px solid var(--mb-c-border); }
.mb-segmented__btn.is-active { background: var(--mb-c-accent); color: var(--mb-c-on-accent); }
.mb-segmented__btn:disabled { opacity: .5; cursor: not-allowed; }
.mb-options { display: grid; gap: 8px; }
.mb-options__empty { margin: 0; font-size: .85rem; }
.mb-option { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--mb-c-border); border-radius: var(--mb-c-radius); background: var(--mb-c-panel); cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease; }
.mb-option:hover { border-color: color-mix(in srgb, currentColor 40%, transparent); }
.mb-option.is-selected, .mb-option:has(input:checked) { border-color: var(--mb-c-accent); box-shadow: inset 0 0 0 1px var(--mb-c-accent); }
.mb-option input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--mb-c-accent); }
.mb-option__body { flex: 1; min-width: 0; display: grid; gap: 2px; }
.mb-option__title { font-size: .92rem; font-weight: 500; }
.mb-option__text { font-size: .8rem; color: var(--mb-c-muted); }
.mb-option__hint { font-size: .75rem; color: var(--mb-c-muted); }
.mb-option__price { flex: none; font-size: .92rem; font-weight: 600; }
.mb-ship { display: grid; gap: 14px; }
.mb-ship__freight { display: grid; gap: 10px; padding-top: 4px; }
.mb-card-form { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--mb-c-border); border-radius: var(--mb-c-radius); background: var(--mb-c-surface); }
.mb-btn__busy { display: inline-flex; align-items: center; }
.mb-pix { display: grid; gap: 12px; justify-items: center; padding-top: 16px; border-top: 1px solid var(--mb-c-border); text-align: center; }
.mb-pix__title { margin: 0; font-weight: 600; }
.mb-pix__qr { width: 200px; height: 200px; padding: 8px; border: 1px solid var(--mb-c-border); border-radius: var(--mb-c-radius); background: #fff; }
.mb-pix__code { width: 100%; box-sizing: border-box; padding: 12px; border: 1px solid var(--mb-c-border); border-radius: var(--mb-c-radius); background: var(--mb-c-surface); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .75rem; text-align: left; word-break: break-all; }
.mb-pix__note { margin: 0; font-size: .8rem; }
.mb-pix__done { display: grid; gap: 6px; justify-items: center; padding: 8px 0; }
.mb-pix__done p { margin: 0; }
.mb-pix__check { position: relative; width: 52px; height: 52px; border-radius: 999px; background: color-mix(in srgb, var(--mb-c-success) 12%, transparent); }
.mb-pix__check::after { content: ""; position: absolute; left: 19px; top: 13px; width: 11px; height: 20px; border-right: 2.5px solid var(--mb-c-success); border-bottom: 2.5px solid var(--mb-c-success); transform: rotate(45deg); }
.mb-cart__empty { display: grid; gap: 16px; justify-items: center; padding: 64px 0; text-align: center; }
.mb-cart__empty svg { width: 56px; height: 56px; color: var(--mb-c-muted); opacity: .45; }
.mb-cart__empty p { margin: 0; color: var(--mb-c-muted); }
