/* Container inspector controls: scoped to the builder only. */
body.mdvb-standalone .mdvb-shell #mdvb-prop-fields:has(>.mdvb-ct){padding:0!important}
body.mdvb-standalone .mdvb-shell #mdvb-prop-fields>.mdvb-ct{direction:inherit;color:#394352;font-size:13px}
body.mdvb-standalone .mdvb-shell .mdvb-ct *{box-sizing:border-box}
body.mdvb-standalone .mdvb-shell .mdvb-ct button{cursor:pointer;font:inherit}
body.mdvb-standalone .mdvb-shell .mdvb-ct-layout-body{padding:18px 14px 24px}
body.mdvb-standalone .mdvb-shell .mdvb-ct-select-row,
body.mdvb-standalone .mdvb-shell .mdvb-ct-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);align-items:center;gap:10px;margin:0 0 21px;min-width:0}
body.mdvb-standalone .mdvb-shell .mdvb-ct-select-row label,
body.mdvb-standalone .mdvb-shell .mdvb-ct-row-label{font-size:12px;font-weight:550;text-align:start;color:#4a515b;min-width:0}
body.mdvb-standalone .mdvb-shell .mdvb-ct-select{width:100%;min-width:0;height:36px;border:1px solid #d3d8df;background:#fff;border-radius:5px;padding-inline:10px 24px;color:#4c5664;font-size:12px}
body.mdvb-standalone .mdvb-shell .mdvb-ct-device{font-size:13px;color:#5b6471;margin-inline-end:8px}
body.mdvb-standalone .mdvb-shell .mdvb-ct-separator{margin:20px 0 23px;border:0;border-top:1px solid #e0e3e8}
body.mdvb-standalone .mdvb-shell .mdvb-ct-subtitle{font-size:14px;text-align:start;color:#262c36;margin:8px 0 22px}
body.mdvb-standalone .mdvb-shell .mdvb-ct-segment{min-width:0;display:flex;align-items:stretch;border:1px solid #cfd6df;border-radius:5px;overflow:hidden;direction:inherit}
body.mdvb-standalone .mdvb-shell .mdvb-ct-segment-button{min-width:0;flex:1 1 0;border:0;border-inline-end:1px solid #d6dce4;background:white;color:#57616d;height:36px;display:grid;place-items:center;line-height:1}
body.mdvb-standalone .mdvb-shell .mdvb-ct-segment-button:last-child{border-inline-end:0}
body.mdvb-standalone .mdvb-shell .mdvb-ct-segment-button[aria-pressed="true"]{background:#d8dade;color:#15191f}
body.mdvb-standalone .mdvb-shell .mdvb-ct-icon{font-size:18px;line-height:1;white-space:nowrap}
body.mdvb-standalone .mdvb-shell .mdvb-ct-direction .mdvb-ct-icon{font-size:21px}
body.mdvb-standalone .mdvb-shell .mdvb-ct-justify .mdvb-ct-icon{font-size:15px}
body.mdvb-standalone .mdvb-shell .mdvb-ct-number{width:100%;min-width:0;margin:13px 0 21px}
body.mdvb-standalone .mdvb-shell .mdvb-ct-number-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:11px;text-align:start;font-size:12px;color:#4e5866}
body.mdvb-standalone .mdvb-shell .mdvb-ct-unit{width:auto;max-width:90px;height:25px;border:none;background:transparent;padding:0 4px;font-size:12px}
body.mdvb-standalone .mdvb-shell .mdvb-ct-number-value{display:flex;direction:ltr;flex-direction:row;align-items:center;gap:12px;width:100%}
body.mdvb-standalone .mdvb-shell .mdvb-ct-number-input{width:71px;min-width:60px;height:36px;flex:0 0 auto;padding:0 7px;border:1px solid #cbd3de;border-radius:5px;background:#fff;text-align:center;color:#424b59;font-size:12px}
body.mdvb-standalone .mdvb-shell .mdvb-ct-range{min-width:0;flex:1;accent-color:#d62b9b;cursor:pointer}
body.mdvb-standalone .mdvb-shell .mdvb-ct-field-hint{font-size:11px;font-style:italic;color:#9299a4;text-align:center;margin:6px 0}
body.mdvb-standalone .mdvb-shell .mdvb-ct-gaps{margin:20px 0}
body.mdvb-standalone .mdvb-shell .mdvb-ct-gaps-label{font-size:12px;font-weight:600;text-align:start;margin-bottom:12px}
body.mdvb-standalone .mdvb-shell .mdvb-ct-gaps-fields,
body.mdvb-standalone .mdvb-shell .mdvb-ct-corners-fields{display:flex;gap:0;align-items:stretch;width:100%;direction:inherit}
body.mdvb-standalone .mdvb-shell .mdvb-ct-link{border:1px solid #d1d6de;border-radius:5px 0 0 5px;background:#fff;padding:8px;min-width:33px;color:#394453;flex:0 0 auto}
body.mdvb-standalone .mdvb-shell .mdvb-ct-link[aria-pressed="true"]{background:#d7d9dc;color:#1b2028}
body.mdvb-standalone .mdvb-shell .mdvb-ct-gap-item,
body.mdvb-standalone .mdvb-shell .mdvb-ct-corner{display:flex;min-width:0;flex:1;flex-direction:column;align-items:center}
body.mdvb-standalone .mdvb-shell .mdvb-ct-gap-item input,
body.mdvb-standalone .mdvb-shell .mdvb-ct-corner input{width:100%;min-width:0;height:35px;border:1px solid #cdd4de;border-inline-start:0;background:white;text-align:center;color:#46505c}
body.mdvb-standalone .mdvb-shell .mdvb-ct-gap-item small,
body.mdvb-standalone .mdvb-shell .mdvb-ct-corner small{font-size:10px;color:#8c95a4;margin-top:6px;text-align:center}
body.mdvb-standalone .mdvb-shell .mdvb-ct-section{border-block-start:1px solid #e1e4e8}
body.mdvb-standalone .mdvb-shell .mdvb-ct-section-head{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:12px;padding:16px 18px;border:0;width:100%;background:#fff;color:#151b24;font-size:15px;text-align:start}
body.mdvb-standalone .mdvb-shell .mdvb-ct-section-head strong{font-weight:650}
body.mdvb-standalone .mdvb-shell .mdvb-ct-section-head:hover{background:#fafafa}
body.mdvb-standalone .mdvb-shell .mdvb-ct-collapse-icon{font-size:18px;transition:transform .2s ease;transform:rotate(90deg)}
body.mdvb-standalone .mdvb-shell .mdvb-ct-open>.mdvb-ct-section-head .mdvb-ct-collapse-icon{transform:rotate(0deg)}
body.mdvb-standalone .mdvb-shell .mdvb-ct-section-body{padding:10px 16px 30px}
body.mdvb-standalone .mdvb-shell .mdvb-ct-section-body[hidden],
body.mdvb-standalone .mdvb-shell .mdvb-ct-state-body[hidden],
body.mdvb-standalone .mdvb-shell .mdvb-ct-shape-face[hidden]{display:none!important}
body.mdvb-standalone .mdvb-shell .mdvb-ct-state-switch{display:flex;width:100%;border-radius:5px;overflow:hidden;border:1px solid #cfd5dc;margin:8px 0 20px}
body.mdvb-standalone .mdvb-shell .mdvb-ct-state-switch button{flex:1 1 0;min-width:0;border:0;border-inline-end:1px solid #d7dce4;background:#fff;color:#38414e;padding:10px 3px;font-size:12px}
body.mdvb-standalone .mdvb-shell .mdvb-ct-state-switch button[aria-pressed="true"]{background:#d6d9dd;color:#151a20;font-weight:650}
body.mdvb-standalone .mdvb-shell .mdvb-ct-state-body{min-width:0}
body.mdvb-standalone .mdvb-shell .mdvb-ct-state-body>.mdvb-field,
body.mdvb-standalone .mdvb-shell .mdvb-ct-shape-face>.mdvb-field{padding:4px 0!important;margin:10px 0 18px!important}
body.mdvb-standalone .mdvb-shell .mdvb-ct-state-body>.mdvb-field>label{font-size:12px}
body.mdvb-standalone .mdvb-shell .mdvb-ct-background-options{max-width:230px;margin-inline:0;margin-block:6px}
body.mdvb-standalone .mdvb-shell .mdvb-ct-background-options .mdvb-ct-icon{font-size:17px}
body.mdvb-standalone .mdvb-shell .mdvb-ct-spacer{min-height:3px}
body.mdvb-standalone .mdvb-shell .mdvb-ct-toggle{display:flex;justify-content:space-between;align-items:center;padding:9px 2px;font-size:12px;color:#4a5562}
body.mdvb-standalone .mdvb-shell .mdvb-ct-toggle input{accent-color:#d62b9b;width:16px;height:16px}
body.mdvb-standalone .mdvb-shell .mdvb-ct-help{color:#8b96a4;font-size:11px;line-height:1.5;margin:9px 0}
body.mdvb-standalone .mdvb-shell .mdvb-ct-shape-tabs{margin:0 0 16px}
body.mdvb-standalone .mdvb-shell .mdvb-ct-shape-tabs .mdvb-ct-icon{display:none}
body.mdvb-standalone .mdvb-shell .mdvb-ct-shape-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:3px;max-height:470px;overflow-y:auto;overflow-x:hidden}
body.mdvb-standalone .mdvb-shell .mdvb-ct-gallery-caption{font-size:13px;color:#7b8593;margin:0 0 11px}
body.mdvb-standalone .mdvb-shell .mdvb-ct-shape-card{
 min-height:83px;height:auto;min-width:0;max-width:100%;display:flex;flex-direction:column;align-items:stretch;
 gap:4px;border:1px solid #d9dee6;background:#fff;padding:4px 6px 6px;
 border-radius:6px;overflow:hidden;color:#4b5563;text-align:center
}
body.mdvb-standalone .mdvb-shell .mdvb-ct-shape-card.mdvb-ct-selected{outline:2px solid #d929b0;border-color:#d929b0}
body.mdvb-standalone .mdvb-shell .mdvb-ct-shape-card:focus-visible{outline:2px solid #d929b0;outline-offset:1px}
body.mdvb-standalone .mdvb-shell .mdvb-ct-shape-glyph{display:block;flex:none;width:100%;height:51px;background:#8c9096;mask-repeat:no-repeat;mask-size:100% 100%;mask-position:center;text-align:center;font-size:22px;color:#787f89}
body.mdvb-standalone .mdvb-shell .mdvb-ct-shape-name{display:block;flex:none;font-size:11px;font-weight:600;line-height:1.35;color:#515c6c;white-space:normal;overflow-wrap:anywhere}
body.mdvb-standalone .mdvb-shell .mdvb-ct-selected .mdvb-ct-shape-name{color:#bd218d}
body.mdvb-standalone .mdvb-shell .mdvb-ct-shape-glyph.mdvb-ct-shape-none{background:none;mask:none;display:grid;place-items:center;color:#85909d}
body.mdvb-standalone .mdvb-shell .mdvb-ct-corners{margin:24px 0 18px}
/* Runtime presentation. No selectors target native WooCommerce or shortcodes. */
.mdvb-page .mdvb-container{position:relative;isolation:isolate}
.mdvb-page .mdvb-container>.mdvb-ct-media{position:absolute!important;inset:0;z-index:0;pointer-events:none;width:100%;height:100%;object-fit:cover;overflow:hidden}
.mdvb-page .mdvb-container>.mdvb-ct-slideshow span{position:absolute;inset:0;display:block;background-position:center;background-size:cover;background-repeat:no-repeat;opacity:0;animation:mdvb-ct-slide var(--mdvb-ct-slide-duration,15s) linear infinite}
@keyframes mdvb-ct-slide{0%{opacity:0}8%,28%{opacity:1}34%,100%{opacity:0}}
.mdvb-page .mdvb-container>.mdvb-ct-overlay,.mdvb-page .mdvb-container>.mdvb-ct-preview-media>.mdvb-ct-overlay{display:block;position:absolute;inset:0;z-index:0;pointer-events:none;background-color:var(--mdvb-ct-overlay-bg,transparent);background-image:var(--mdvb-ct-overlay-image,none);opacity:var(--mdvb-ct-overlay-opacity,.5);border-radius:inherit;transition:background-color .2s,opacity .2s}
.mdvb-page .mdvb-container:hover>.mdvb-ct-overlay,.mdvb-page .mdvb-container:hover>.mdvb-ct-preview-media>.mdvb-ct-overlay{background-color:var(--mdvb-ct-overlay-hover,var(--mdvb-ct-overlay-bg,transparent));opacity:var(--mdvb-ct-overlay-hover-opacity,var(--mdvb-ct-overlay-opacity,.5))}
.mdvb-page .mdvb-container>.mdvb-container-children{position:relative;z-index:2}
/* Shape dividers are PAINTED inside the container's own width. Never enlarge the
   pseudo-element above 100%: doing so creates page-level horizontal overflow,
   especially where left+inset-inline-start conflict in RTL. The user-selected
   100–300% stretches the mask artwork, not its layout/scrollable box. */
.mdvb-page .mdvb-container::before,.mdvb-page .mdvb-container::after{
 content:"";pointer-events:none;position:absolute;box-sizing:border-box;
 inset-inline:0;left:0;right:0;width:100%;min-width:0;max-width:100%;
 margin:0;padding:0;mask-repeat:no-repeat;mask-position:50% 50%;
 background-image:none;border-radius:0;clip-path:none;
 /* Local paint containment prevents a large mask or theme pseudo-style escaping. */
 contain:paint;
}
.mdvb-page .mdvb-container::before{
 display:var(--mdvb-ct-top-display,none);top:0;bottom:auto;
 height:var(--mdvb-ct-top-height,50px);
 background-color:var(--mdvb-ct-top-color,#fff);
 mask-image:var(--mdvb-ct-top-mask,none);
 mask-size:var(--mdvb-ct-top-width,100%) 100%;
 z-index:var(--mdvb-ct-top-z,1);
 transform:rotate(180deg) scaleX(var(--mdvb-ct-top-flip,1));
}
.mdvb-page .mdvb-container::after{
 display:var(--mdvb-ct-bottom-display,none);bottom:0;top:auto;
 height:var(--mdvb-ct-bottom-height,50px);
 background-color:var(--mdvb-ct-bottom-color,#fff);
 mask-image:var(--mdvb-ct-bottom-mask,none);
 mask-size:var(--mdvb-ct-bottom-width,100%) 100%;
 z-index:var(--mdvb-ct-bottom-z,1);
 transform:scaleX(var(--mdvb-ct-bottom-flip,1));
}

@media(prefers-reduced-motion:reduce){.mdvb-page .mdvb-container>.mdvb-ct-slideshow span{animation:none}.mdvb-page .mdvb-container>.mdvb-ct-slideshow span:first-child{opacity:1}}

.mdvb-page .mdvb-container>.mdvb-ct-preview-media .mdvb-ct-media{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;pointer-events:none}
.mdvb-page .mdvb-container>.mdvb-ct-preview-media .mdvb-ct-slideshow span{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;animation:mdvb-ct-slide var(--mdvb-ct-slide-duration,15s) linear infinite}

/* Justification presets follow the reference: one full-width row of six buttons. */
body.mdvb-standalone .mdvb-shell .mdvb-ct-row:has(.mdvb-ct-justify){display:flex;flex-direction:column;align-items:stretch;gap:11px}
body.mdvb-standalone .mdvb-shell .mdvb-ct-row:has(.mdvb-ct-justify) .mdvb-ct-row-label{text-align:start}
body.mdvb-standalone .mdvb-shell .mdvb-ct-justify .mdvb-ct-segment-button{height:38px}
body.mdvb-standalone .mdvb-shell .mdvb-ct-icon svg{display:block;max-width:100%;height:20px;width:20px;fill:none;stroke:currentColor}
body.mdvb-standalone .mdvb-shell .mdvb-ct-link svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2}

/* v0.29.9: Four Elementor-inspired filled background-type pictograms. */
body.mdvb-standalone .mdvb-shell .mdvb-ct-background-options{max-width:216px;margin-block:5px 14px}
body.mdvb-standalone .mdvb-shell .mdvb-ct-background-options .mdvb-ct-segment-button{height:38px;min-width:0}
body.mdvb-standalone .mdvb-shell .mdvb-ct-background-options .mdvb-ct-icon svg{width:21px;height:21px;fill:currentColor;stroke:none}
body.mdvb-standalone .mdvb-shell .mdvb-ct-background-options .mdvb-ct-segment-button[aria-pressed="true"]{background:#d5d8dd;color:#101115}
body.mdvb-standalone .mdvb-shell .mdvb-ct-video-options{width:100%;min-width:0;direction:inherit}
body.mdvb-standalone .mdvb-shell .mdvb-ct-video-options>.mdvb-field{margin:14px 0 20px!important;padding:3px 0!important}
body.mdvb-standalone .mdvb-shell .mdvb-ct-video-link-field{margin-top:24px;margin-bottom:24px}
body.mdvb-standalone .mdvb-shell .mdvb-ct-video-label,
body.mdvb-standalone .mdvb-shell .mdvb-ct-fallback-title{display:block;text-align:start;font-size:13px;font-weight:550;margin:0 0 12px;color:#4f5660}
body.mdvb-standalone .mdvb-shell .mdvb-ct-video-link-line{display:flex;flex-direction:row;direction:ltr;width:100%;height:38px;border:1px solid #d1d7df;border-radius:5px;overflow:hidden;background:#fff}
body.mdvb-standalone .mdvb-shell .mdvb-ct-video-link-input{flex:1;min-width:0;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0 10px!important;text-align:start;font-size:12px;direction:ltr}
body.mdvb-standalone .mdvb-shell .mdvb-ct-video-dynamic{width:38px;min-width:38px;border:0;border-inline-end:1px solid #d1d7df;background:#fff;color:#1b2027;display:grid;place-items:center;padding:0}
body.mdvb-standalone .mdvb-shell .mdvb-ct-video-dynamic svg{width:19px;height:22px}
body.mdvb-standalone .mdvb-shell .mdvb-ct-video-hint{font-size:11px;font-style:italic;color:#89919d;margin:9px 0 0;text-align:start;line-height:1.8}
body.mdvb-standalone .mdvb-shell .mdvb-ct-video-time{margin:17px 0 23px;display:grid;grid-template-columns:minmax(0,1fr) 90px;gap:0 12px;align-items:center;direction:inherit}
body.mdvb-standalone .mdvb-shell .mdvb-ct-video-time>label{font-size:13px;color:#4d5460;text-align:start}
body.mdvb-standalone .mdvb-shell .mdvb-ct-video-time>input{width:90px;height:37px;border:1px solid #d1d6dd;border-radius:5px;padding:0 7px;text-align:center;font-size:12px;color:#626b79;direction:ltr}
body.mdvb-standalone .mdvb-shell .mdvb-ct-video-time>.mdvb-ct-video-hint{grid-column:1/-1;margin:7px 0 0;font-size:11px}
body.mdvb-standalone .mdvb-shell .mdvb-ct-video-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:41px;font-size:13px;color:#424c58;margin:9px 0;cursor:pointer;direction:inherit}
body.mdvb-standalone .mdvb-shell .mdvb-ct-video-toggle>input{position:absolute;opacity:0;width:1px;height:1px}
body.mdvb-standalone .mdvb-shell .mdvb-ct-video-switch{display:flex;flex-direction:row;align-items:center;justify-content:space-between;position:relative;width:63px;height:29px;border-radius:20px;background:#d6d9de;color:#969eac;flex:0 0 63px;font-size:11px;padding:0 7px;direction:ltr;transition:background .18s}
body.mdvb-standalone .mdvb-shell .mdvb-ct-video-switch i{position:absolute;width:26px;height:26px;left:35px;top:1.5px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0001;transition:left .18s}
body.mdvb-standalone .mdvb-shell .mdvb-ct-checked .mdvb-ct-video-switch{background:#ce31a1;color:#fff}
body.mdvb-standalone .mdvb-shell .mdvb-ct-checked .mdvb-ct-video-switch i{left:2px}
body.mdvb-standalone .mdvb-shell .mdvb-ct-video-yes{opacity:0}
body.mdvb-standalone .mdvb-shell .mdvb-ct-checked .mdvb-ct-video-no{opacity:0}
body.mdvb-standalone .mdvb-shell .mdvb-ct-checked .mdvb-ct-video-yes{opacity:1}
body.mdvb-standalone .mdvb-shell .mdvb-ct-video-toggle:focus-within .mdvb-ct-video-switch{outline:2px solid #d72eac;outline-offset:2px}
body.mdvb-standalone .mdvb-shell .mdvb-ct-fallback{margin:27px 0 0}
body.mdvb-standalone .mdvb-shell .mdvb-ct-fallback-title{margin-bottom:11px}
body.mdvb-standalone .mdvb-shell .mdvb-ct-fallback-tile{width:100%;min-height:150px;aspect-ratio:2.35;background:#d6d9dd;background-size:cover;background-position:center;display:grid;place-items:center;border:0;border-radius:0;padding:0;color:#d6d9dd}
body.mdvb-standalone .mdvb-shell .mdvb-ct-fallback-plus{display:grid;place-items:center;width:29px;height:29px;background:#fff;color:#d6d9dd;font-size:26px;line-height:1;border-radius:50%}
body.mdvb-standalone .mdvb-shell .mdvb-ct-fallback-clear{border:0;padding:9px 0;color:#596370;background:transparent;font-size:12px}
/* Layering preserves live content, with the fallback visible behind an unavailable/disabled video. */
.mdvb-page .mdvb-container>.mdvb-ct-fallback{position:absolute;inset:0;background-size:cover;background-position:center;pointer-events:none;z-index:0}
.mdvb-page .mdvb-container>.mdvb-ct-bg-video{position:absolute!important;inset:0;width:100%;height:100%;pointer-events:none;z-index:0;border:0;object-fit:cover}
.mdvb-page .mdvb-container>.mdvb-ct-video-embed{width:100%;height:100%;min-width:100%;min-height:100%;object-fit:cover}
@media(max-width:767px){.mdvb-page .mdvb-container>.mdvb-ct-mobile-off{display:none!important}}
@media(prefers-reduced-motion:reduce){.mdvb-page .mdvb-container>.mdvb-ct-bg-video{display:none!important}}

/* Preview media is nested one level deeper than published media. */
.mdvb-page .mdvb-container>.mdvb-ct-preview-media>.mdvb-ct-fallback{position:absolute;inset:0;background-position:center;background-size:cover;pointer-events:none;z-index:0}
@media(max-width:767px){.mdvb-page .mdvb-container>.mdvb-ct-preview-media>.mdvb-ct-mobile-off{display:none!important}}
@media(prefers-reduced-motion:reduce){.mdvb-page .mdvb-container>.mdvb-ct-preview-media>.mdvb-ct-bg-video{display:none!important}}
