.pbdfb-bar {
    --pbdfb-offset-x: 20px;
    --pbdfb-offset-y: 20px;
    --pbdfb-max-width: 760px;
    --pbdfb-z: 9999;
    --pbdfb-stack-shift: 0px;
    box-sizing: border-box;
    z-index: var(--pbdfb-z);
    max-width: var(--pbdfb-max-width);
    font-family: var(--pbdfb-font, inherit);
    color: var(--pbdfb-text, #fff);
    line-height: 1.35;
}

.pbdfb-bar *,
.pbdfb-bar *::before,
.pbdfb-bar *::after { box-sizing: border-box; }

.pbdfb-placement-fixed { position: fixed; }
.pbdfb-placement-sticky { position: sticky; margin-left: auto; margin-right: auto; }
.pbdfb-placement-inline { position: relative; margin: 18px auto; }

.pbdfb-content,
.pbdfb-launcher,
.pbdfb-launcher-panel,
.pbdfb-search-panel {
    background: var(--pbdfb-bg, #8b5a7b);
    color: var(--pbdfb-text, #fff);
    box-shadow: var(--pbdfb-shadow, 0 10px 30px rgba(0,0,0,.18));
    border: var(--pbdfb-bar-border-width, 0px) solid var(--pbdfb-bar-border, transparent);
}

.pbdfb-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.pbdfb-copy { display: grid; gap: 2px; min-width: 0; }
.pbdfb-primary-text { font-size: var(--pbdfb-primary-size, 15px); font-weight: 700; color: var(--pbdfb-primary, currentColor); }
.pbdfb-secondary-text { font-size: var(--pbdfb-secondary-size, 13px); color: var(--pbdfb-secondary, currentColor); opacity: .92; }

.pbdfb-items {
    display: flex;
    align-items: center;
    gap: var(--pbdfb-item-gap, 8px);
    min-width: 0;
}
.pbdfb-items[hidden] { display: none !important; }

.pbdfb-item {
    position: relative;
    overflow: visible !important;
    appearance: none;
    border: 1px solid var(--pbdfb-item-border-local, var(--pbdfb-item-border, rgba(255,255,255,.26)));
    background: var(--pbdfb-item-bg-local, var(--pbdfb-item-bg, rgba(255,255,255,.12)));
    color: var(--pbdfb-item-text-local, var(--pbdfb-item-text, inherit));
    min-height: 38px;
    padding: 7px 11px;
    border-radius: var(--pbdfb-item-radius-local, var(--pbdfb-item-radius, 10px));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-family: inherit;
    font-size: var(--pbdfb-item-font-size, 13px);
    line-height: 1.15;
    text-decoration: none !important;
    cursor: pointer;
    white-space: normal;
    transition: background .16s ease, transform .16s ease;
}
.pbdfb-item:hover { background: var(--pbdfb-item-hover-bg-local, var(--pbdfb-item-hover-bg, rgba(255,255,255,.2))); color: var(--pbdfb-item-hover-text-local, var(--pbdfb-item-hover-text, inherit)); }
.pbdfb-item:active { transform: translateY(1px); }
.pbdfb-item[aria-disabled="true"],
.pbdfb-item-static { cursor: default; opacity: .72; }
.pbdfb-item-static:hover { background: var(--pbdfb-item-bg-local, var(--pbdfb-item-bg, rgba(255,255,255,.12))); color: var(--pbdfb-item-text-local, var(--pbdfb-item-text, inherit)); }
.pbdfb-item:focus-visible,
.pbdfb-search-close:focus-visible,
.pbdfb-search-form button:focus-visible,
.pbdfb-search-form input:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 2px;
}
.pbdfb-item-icon {
    width: var(--pbdfb-icon-size, 19px);
    height: var(--pbdfb-icon-size, 19px);
    display: inline-grid;
    place-items: center;
    flex: 0 0 var(--pbdfb-icon-size, 19px);
    color: var(--pbdfb-item-icon-local, var(--pbdfb-item-icon, currentColor));
}
.pbdfb-item-icon svg,
.pbdfb-item-icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}
.pbdfb-item-icon svg { fill: currentColor; }
.pbdfb-item:hover .pbdfb-item-icon { color: var(--pbdfb-item-hover-icon-local, var(--pbdfb-item-hover-icon, currentColor)); }
.pbdfb-item-text { display: grid; gap: 1px; text-align: left; }
.pbdfb-item-label { font-size: inherit; font-weight: 700; }
.pbdfb-item-secondary { font-size: 10px; opacity: .82; font-weight: 400; }
.pbdfb-display-icon_only { width: max(38px, calc(var(--pbdfb-icon-size, 19px) + 14px)); min-width: max(38px, calc(var(--pbdfb-icon-size, 19px) + 14px)); padding-left: 7px; padding-right: 7px; }
.pbdfb-display-text_only .pbdfb-item-text { text-align: center; }
.pbdfb-cart-count {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--pbdfb-badge-bg-local, var(--pbdfb-badge-bg, #fff));
    color: var(--pbdfb-badge-text-local, var(--pbdfb-badge-text, #6f3f61));
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,.14);
}
.pbdfb-display-icon_only .pbdfb-cart-count { margin-left: -2px; }

.pbdfb-item-badge {
    position: absolute;
    z-index: 4;
    pointer-events: none;
    top: -7px;
    right: -7px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--pbdfb-badge-bg-local, var(--pbdfb-badge-bg, #fff));
    color: var(--pbdfb-badge-text-local, var(--pbdfb-badge-text, #6f3f61));
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
}

.pbdfb-layout-full_bottom {
    left: var(--pbdfb-offset-x);
    right: var(--pbdfb-offset-x);
    bottom: calc(var(--pbdfb-offset-y) + var(--pbdfb-stack-shift));
    max-width: none;
}
.pbdfb-layout-full_bottom .pbdfb-content {
    justify-content: center;
    width: 100%;
    min-height: 54px;
    padding: 12px 22px;
    border-radius: var(--pbdfb-radius, 0px);
}

.pbdfb-layout-compact_bottom {
    left: 50%;
    bottom: calc(var(--pbdfb-offset-y) + var(--pbdfb-stack-shift));
    transform: translateX(-50%);
}
.pbdfb-layout-compact_bottom .pbdfb-content {
    padding: 11px 14px 11px 18px;
    border-radius: var(--pbdfb-radius, 999px);
}

.pbdfb-layout-vertical_left,
.pbdfb-layout-vertical_right {
    top: calc(50% + var(--pbdfb-stack-shift));
    transform: translateY(-50%);
    max-width: 92px;
}
.pbdfb-layout-vertical_left { left: var(--pbdfb-offset-x); }
.pbdfb-layout-vertical_right { right: var(--pbdfb-offset-x); }
.pbdfb-layout-vertical_left .pbdfb-content,
.pbdfb-layout-vertical_right .pbdfb-content {
    min-height: 160px;
    padding: 12px 9px;
    border-radius: var(--pbdfb-radius, 16px);
    justify-content: center;
    text-align: center;
    flex-direction: column;
    flex-wrap: nowrap;
}
.pbdfb-layout-vertical_left .pbdfb-copy,
.pbdfb-layout-vertical_right .pbdfb-copy { writing-mode: vertical-rl; align-items: center; }
.pbdfb-layout-vertical_left .pbdfb-copy { transform: rotate(180deg); }
.pbdfb-layout-vertical_left .pbdfb-items,
.pbdfb-layout-vertical_right .pbdfb-items { flex-direction: column; }
.pbdfb-layout-vertical_left .pbdfb-item,
.pbdfb-layout-vertical_right .pbdfb-item { width: 38px; min-width: 38px; padding: 7px; }
.pbdfb-layout-vertical_left .pbdfb-item-text,
.pbdfb-layout-vertical_right .pbdfb-item-text { display: none; }
.pbdfb-layout-vertical_left .pbdfb-item-badge,
.pbdfb-layout-vertical_right .pbdfb-item-badge { top: -5px; right: -5px; }

.pbdfb-layout-corner_pill {
    right: var(--pbdfb-offset-x);
    bottom: calc(var(--pbdfb-offset-y) + var(--pbdfb-stack-shift));
}
.pbdfb-layout-corner_pill .pbdfb-content {
    padding: 11px 13px 11px 16px;
    border-radius: var(--pbdfb-radius, 18px);
}

.pbdfb-layout-expandable_launcher {
    right: var(--pbdfb-offset-x);
    bottom: calc(var(--pbdfb-offset-y) + var(--pbdfb-stack-shift));
}
.pbdfb-launcher {
    appearance: none;
    border: 0;
    border-radius: var(--pbdfb-radius, 999px);
    min-height: 50px;
    padding: 0 18px 0 12px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    font: inherit;
}
.pbdfb-launcher-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.16);
    font-size: 22px;
    line-height: 1;
    transition: transform .2s ease;
}
.pbdfb-bar.is-open .pbdfb-launcher-icon { transform: rotate(45deg); }
.pbdfb-launcher-panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 10px);
    width: min(380px, calc(100vw - 30px));
    padding: 18px;
    border-radius: var(--pbdfb-radius, 16px);
    display: grid;
    gap: 12px;
}
.pbdfb-launcher-panel .pbdfb-items { flex-wrap: wrap; }
.pbdfb-launcher-panel[hidden] { display: none !important; }

.pbdfb-layout-announcement_top {
    left: var(--pbdfb-offset-x);
    right: var(--pbdfb-offset-x);
    top: calc(var(--pbdfb-offset-y) + var(--pbdfb-stack-shift));
    max-width: none;
}
.pbdfb-layout-announcement_top .pbdfb-content {
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 10px 22px;
    border-radius: var(--pbdfb-radius, 0px);
}

.pbdfb-search-panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 10px);
    width: min(420px, calc(100vw - 28px));
    padding: 12px;
    border-radius: 14px;
}
.pbdfb-search-panel[hidden] { display: none !important; }
.pbdfb-layout-announcement_top .pbdfb-search-panel { top: calc(100% + 10px); bottom: auto; }
.pbdfb-layout-full_bottom .pbdfb-search-panel { right: 12px; }
.pbdfb-search-form { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 7px; }
.pbdfb-search-form input,
.pbdfb-search-form button {
    min-height: 40px;
    border-radius: 9px;
    border: 1px solid rgba(255,255,255,.35);
    font: inherit;
}
.pbdfb-search-form input { min-width: 0; padding: 0 11px; background: #fff; color: #1d2327; }
.pbdfb-search-form button { padding: 0 12px; background: rgba(255,255,255,.15); color: #fff; cursor: pointer; }
.pbdfb-search-close { width: 40px; padding: 0 !important; font-size: 22px !important; line-height: 1 !important; }
.pbdfb-search-results-note { margin-top: 8px; font-size: 10px; opacity: .75; }

.pbdfb-placement-sticky.pbdfb-layout-announcement_top,
.pbdfb-placement-sticky.pbdfb-layout-vertical_left,
.pbdfb-placement-sticky.pbdfb-layout-vertical_right,
.pbdfb-placement-sticky.pbdfb-layout-full_bottom,
.pbdfb-placement-sticky.pbdfb-layout-compact_bottom,
.pbdfb-placement-sticky.pbdfb-layout-corner_pill,
.pbdfb-placement-sticky.pbdfb-layout-expandable_launcher {
    top: var(--pbdfb-offset-y);
    bottom: auto;
    left: auto;
    right: auto;
    transform: none;
}
.pbdfb-placement-sticky.pbdfb-layout-full_bottom,
.pbdfb-placement-sticky.pbdfb-layout-announcement_top { max-width: none; }
.pbdfb-placement-sticky.pbdfb-layout-compact_bottom,
.pbdfb-placement-sticky.pbdfb-layout-corner_pill,
.pbdfb-placement-sticky.pbdfb-layout-expandable_launcher { width: max-content; }

.pbdfb-placement-inline.pbdfb-layout-full_bottom,
.pbdfb-placement-inline.pbdfb-layout-announcement_top { max-width: none; }
.pbdfb-placement-inline.pbdfb-layout-compact_bottom,
.pbdfb-placement-inline.pbdfb-layout-corner_pill,
.pbdfb-placement-inline.pbdfb-layout-expandable_launcher { width: max-content; }
.pbdfb-placement-inline.pbdfb-layout-vertical_left,
.pbdfb-placement-inline.pbdfb-layout-vertical_right { transform: none; max-width: 92px; }
.pbdfb-placement-inline.pbdfb-layout-expandable_launcher .pbdfb-launcher-panel { position: absolute; }

.pbdfb-launcher:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 3px;
}

@media (max-width: 768px) {
    .pbdfb-content { gap: 9px; }
    .pbdfb-layout-compact_bottom .pbdfb-content,
    .pbdfb-layout-corner_pill .pbdfb-content { padding: 10px 11px; }
    .pbdfb-layout-compact_bottom .pbdfb-copy,
    .pbdfb-layout-corner_pill .pbdfb-copy { max-width: 100%; }
    .pbdfb-items { gap: 6px; flex-wrap: wrap; }
    .pbdfb-item { min-height: 36px; padding: 6px 9px; }
}

@media (prefers-reduced-motion: reduce) {
    .pbdfb-bar *, .pbdfb-bar *::before, .pbdfb-bar *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/*
 * Viewport portal retained from the v0.3.3 compatibility baseline. Some
 * visual-builder themes transform their page wrappers, which changes how
 * position:fixed descendants behave. Fixed bars are mounted outside those
 * wrappers without buffering or rewriting the page HTML.
 */
#pbdfb-viewport-root {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: visible !important;
    pointer-events: none !important;
    z-index: 2147483000 !important;
    transform: none !important;
    filter: none !important;
    perspective: none !important;
}
#pbdfb-viewport-root > .pbdfb-bar { pointer-events: auto !important; }
#pbdfb-viewport-root > .pbdfb-placement-fixed { position: absolute !important; margin: 0 !important; }

/* Stage 8 — behaviour, dismiss and entry animations */
.pbdfb-behaviour-pending,
.pbdfb-behaviour-dismissed,
.pbdfb-schedule-inactive,
.pbdfb-priority-suppressed {
    display: none !important;
}

.pbdfb-dismiss {
    position: absolute;
    z-index: 20;
    top: -10px;
    right: -10px;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 2px solid var(--pbdfb-bg, #fff);
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--pbdfb-item-bg, #222);
    color: var(--pbdfb-item-text, #fff);
    box-shadow: 0 4px 14px rgba(0,0,0,.22);
    font: 700 18px/1 Arial, sans-serif;
    cursor: pointer;
}
.pbdfb-dismiss:hover { transform: scale(1.04); }
.pbdfb-dismiss:focus-visible { outline: 3px solid currentColor; outline-offset: 2px; }
.pbdfb-layout-full_bottom .pbdfb-dismiss,
.pbdfb-layout-announcement_top .pbdfb-dismiss { top: 6px; right: 8px; }
.pbdfb-layout-vertical_left .pbdfb-dismiss,
.pbdfb-layout-vertical_right .pbdfb-dismiss { top: -10px; right: -10px; }

.pbdfb-behaviour-visible.pbdfb-animation-fade { animation: pbdfbFadeIn var(--pbdfb-animation-duration,350ms) ease both; }
.pbdfb-behaviour-visible.pbdfb-animation-slide_up { animation: pbdfbSlideUp var(--pbdfb-animation-duration,350ms) ease both; }
.pbdfb-behaviour-visible.pbdfb-animation-slide_side { animation: pbdfbSlideSide var(--pbdfb-animation-duration,350ms) ease both; }
.pbdfb-behaviour-visible.pbdfb-animation-pop { animation: pbdfbPop var(--pbdfb-animation-duration,350ms) cubic-bezier(.2,.8,.2,1) both; }
.pbdfb-behaviour-visible.pbdfb-animation-pulse { animation: pbdfbPulse var(--pbdfb-animation-duration,500ms) ease both; }
.pbdfb-behaviour-visible.pbdfb-animation-bounce { animation: pbdfbBounce var(--pbdfb-animation-duration,650ms) ease both; }
.pbdfb-behaviour-visible.pbdfb-animation-shake { animation: pbdfbShake var(--pbdfb-animation-duration,500ms) ease both; }

@keyframes pbdfbFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pbdfbSlideUp { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
@keyframes pbdfbSlideSide { from { opacity: 0; translate: 18px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes pbdfbPop { 0% { opacity: 0; scale: .86; } 70% { scale: 1.04; } 100% { opacity: 1; scale: 1; } }
@keyframes pbdfbPulse { 0% { opacity: 0; scale: .95; } 55% { opacity: 1; scale: 1.045; } 100% { scale: 1; } }
@keyframes pbdfbBounce { 0% { opacity: 0; translate: 0 18px; } 55% { opacity: 1; translate: 0 -7px; } 75% { translate: 0 3px; } 100% { translate: 0 0; } }
@keyframes pbdfbShake { 0% { opacity: 0; translate: 0 0; } 20% { opacity: 1; translate: -7px 0; } 40% { translate: 7px 0; } 60% { translate: -4px 0; } 80% { translate: 4px 0; } 100% { translate: 0 0; } }

@media (prefers-reduced-motion: reduce) {
    .pbdfb-bar,
    .pbdfb-bar *,
    .pbdfb-bar *::before,
    .pbdfb-bar *::after {
        scroll-behavior: auto !important;
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}

/* Stage 9 — WhatsApp mini-panel */
.pbdfb-whatsapp-panel{
    position:absolute;
    right:0;
    bottom:calc(100% + 10px);
    width:min(380px, calc(100vw - 28px));
    padding:18px;
    border-radius:16px;
    background:var(--pbdfb-wa-bg,#fff);
    color:var(--pbdfb-wa-text,#1d2327);
    box-shadow:0 18px 50px rgba(0,0,0,.24);
    border:1px solid color-mix(in srgb, var(--pbdfb-wa-text,#1d2327) 14%, transparent);
    z-index:30;
}
.pbdfb-whatsapp-panel[hidden]{display:none!important}
.pbdfb-layout-announcement_top .pbdfb-whatsapp-panel{top:calc(100% + 10px);bottom:auto}
.pbdfb-layout-full_bottom .pbdfb-whatsapp-panel{right:12px}
.pbdfb-layout-vertical_left .pbdfb-whatsapp-panel{left:calc(100% + 10px);right:auto;bottom:auto;top:0}
.pbdfb-layout-vertical_right .pbdfb-whatsapp-panel{right:calc(100% + 10px);bottom:auto;top:0}
.pbdfb-whatsapp-close{position:absolute;top:10px;right:10px;width:30px;height:30px;padding:0;border:0;border-radius:50%;background:rgba(0,0,0,.06);color:inherit;font:700 20px/1 Arial,sans-serif;display:grid;place-items:center;cursor:pointer}
.pbdfb-whatsapp-close:hover{background:rgba(0,0,0,.11)}
.pbdfb-whatsapp-close:focus-visible,.pbdfb-whatsapp-contact-button:focus-visible{outline:3px solid var(--pbdfb-wa-accent,#25d366);outline-offset:2px}
.pbdfb-whatsapp-panel-head{display:flex;align-items:center;gap:11px;padding-right:32px}
.pbdfb-whatsapp-panel-logo{width:52px;height:52px;flex:0 0 52px;border-radius:50%;object-fit:cover;display:block;border:2px solid color-mix(in srgb,var(--pbdfb-wa-accent,#25d366) 45%,transparent)}
.pbdfb-whatsapp-panel-head>div{display:grid;gap:2px;min-width:0}
.pbdfb-whatsapp-business{font-size:11px;opacity:.72;font-weight:600}
.pbdfb-whatsapp-heading{font-size:17px;line-height:1.2;color:inherit}
.pbdfb-whatsapp-status{display:inline-flex;align-items:center;gap:6px;font-size:11px;opacity:.78}
.pbdfb-whatsapp-status>span{width:7px;height:7px;border-radius:50%;background:var(--pbdfb-wa-accent,#25d366)}
.pbdfb-whatsapp-status-offline>span{background:#9aa0a6}
.pbdfb-whatsapp-welcome{margin:12px 0 0;font-size:13px;line-height:1.45;color:inherit;opacity:.86}
.pbdfb-whatsapp-contact-list{display:grid;gap:9px;margin-top:14px}
.pbdfb-whatsapp-contact{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px;border:1px solid color-mix(in srgb,var(--pbdfb-wa-text,#1d2327) 12%,transparent);border-radius:12px;background:color-mix(in srgb,var(--pbdfb-wa-bg,#fff) 92%,var(--pbdfb-wa-text,#1d2327) 8%)}
.pbdfb-whatsapp-contact-copy{display:grid;gap:2px;min-width:0}
.pbdfb-whatsapp-contact-copy strong{font-size:13px;color:inherit}
.pbdfb-whatsapp-contact-copy span{font-size:11px;opacity:.72;color:inherit}
.pbdfb-whatsapp-contact-button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 10px;border:0;border-radius:9px;background:var(--pbdfb-wa-accent,#25d366);color:#fff!important;text-decoration:none!important;font:700 11px/1.2 inherit;white-space:nowrap}
.pbdfb-whatsapp-contact-button:hover{filter:brightness(.94);color:#fff!important}
.pbdfb-whatsapp-contact-button.is-disabled{opacity:.45;cursor:not-allowed}
@media(max-width:480px){.pbdfb-whatsapp-panel{width:min(350px,calc(100vw - 20px));padding:16px}.pbdfb-whatsapp-contact{grid-template-columns:1fr}.pbdfb-whatsapp-contact-button{width:100%}}

/* Stage 10 — live search results */
.pbdfb-search-panel {
    max-height: min(72vh, 620px);
    overflow: auto;
}
.pbdfb-search-status {
    margin-top: 8px;
    font-size: 11px;
    line-height: 1.35;
    opacity: .82;
}
.pbdfb-search-status[data-state="results"] { min-height: 0; margin-top: 4px; }
.pbdfb-search-results {
    display: grid;
    gap: 8px;
    margin-top: 9px;
}
.pbdfb-search-result {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 9px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 11px;
    background: rgba(255,255,255,.09);
    color: inherit;
}
.pbdfb-search-result-image {
    width: 58px;
    height: 58px;
    border-radius: 9px;
    overflow: hidden;
    background: rgba(255,255,255,.12);
    display: block;
}
.pbdfb-search-result-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.pbdfb-search-result-main { min-width: 0; display: grid; gap: 4px; }
.pbdfb-search-result-type {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .05em;
    opacity: .72;
}
.pbdfb-search-result-title {
    color: inherit !important;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.3;
    text-decoration: none !important;
    overflow-wrap: anywhere;
}
.pbdfb-search-result-title:hover { text-decoration: underline !important; }
.pbdfb-search-result-price { font-size: 12px; font-weight: 700; }
.pbdfb-search-result-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.pbdfb-search-result-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 5px 9px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 8px;
    background: rgba(255,255,255,.12);
    color: inherit !important;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
}
.pbdfb-search-result-action:hover { background: rgba(255,255,255,.2); }
.pbdfb-search-result-action:focus-visible,
.pbdfb-search-result-title:focus-visible,
.pbdfb-search-result-image:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 2px;
}
@media (max-width: 600px) {
    .pbdfb-search-panel {
        width: min(calc(100vw - 20px), 420px);
        max-width: calc(100vw - 20px);
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
    .pbdfb-search-form { grid-template-columns: minmax(0, 1fr) auto; }
    .pbdfb-search-form .pbdfb-search-close { grid-column: 2; grid-row: 1; }
    .pbdfb-search-form button[type="submit"] { grid-column: 1 / -1; }
    .pbdfb-search-result-image { width: 50px; height: 50px; }
}

/* v0.10.2 — mobile viewport/layout guardrails */
#pbdfb-viewport-root {
    top: var(--pbdfb-vv-top, 0px) !important;
    left: var(--pbdfb-vv-left, 0px) !important;
    right: auto !important;
    bottom: auto !important;
    width: var(--pbdfb-vv-width, 100vw) !important;
    height: var(--pbdfb-vv-height, 100vh) !important;
}

@supports (height: 100dvh) {
    #pbdfb-viewport-root {
        width: var(--pbdfb-vv-width, 100dvw) !important;
        height: var(--pbdfb-vv-height, 100dvh) !important;
    }
}

@media (max-width: 768px) {
    #pbdfb-viewport-root > .pbdfb-bar {
        max-width: calc(var(--pbdfb-vv-width, 100vw) - 16px);
    }

    /* Compact bottom becomes a deliberate mobile card instead of a cramped desktop pill. */
    .pbdfb-layout-compact_bottom {
        width: min(var(--pbdfb-max-width), calc(var(--pbdfb-vv-width, 100vw) - 16px));
    }
    .pbdfb-layout-compact_bottom .pbdfb-content {
        width: 100%;
        min-width: 0;
        padding: 11px;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        gap: 8px;
    }
    .pbdfb-layout-compact_bottom .pbdfb-copy {
        width: 100%;
        text-align: center;
        justify-items: center;
    }
    .pbdfb-layout-compact_bottom .pbdfb-items {
        width: 100%;
        justify-content: center;
    }

    /* Keep corner pills and launcher controls inside the visible mobile width. */
    .pbdfb-layout-corner_pill,
    .pbdfb-layout-expandable_launcher {
        max-width: calc(var(--pbdfb-vv-width, 100vw) - 16px) !important;
    }
    .pbdfb-layout-corner_pill .pbdfb-content {
        max-width: 100%;
    }
    .pbdfb-launcher {
        max-width: 100%;
    }

    /* Vertical bars may scroll internally instead of running off a short phone screen. */
    .pbdfb-layout-vertical_left,
    .pbdfb-layout-vertical_right {
        max-height: calc(var(--pbdfb-vv-height, 100vh) - 20px);
    }
    .pbdfb-layout-vertical_left .pbdfb-content,
    .pbdfb-layout-vertical_right .pbdfb-content {
        max-height: calc(var(--pbdfb-vv-height, 100vh) - 20px);
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    /* All pop-out panels get a hard mobile viewport ceiling. */
    .pbdfb-launcher-panel,
    .pbdfb-whatsapp-panel,
    .pbdfb-search-panel {
        max-width: calc(var(--pbdfb-vv-width, 100vw) - 20px) !important;
        max-height: calc(var(--pbdfb-vv-height, 100vh) - 20px);
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
    .pbdfb-launcher-panel,
    .pbdfb-whatsapp-panel {
        overflow-y: auto;
    }

    /* Full-width bars respect the device's safe area without changing desktop output. */
    .pbdfb-layout-full_bottom .pbdfb-content {
        padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    }
    .pbdfb-layout-announcement_top .pbdfb-content {
        padding-top: calc(10px + env(safe-area-inset-top, 0px));
    }

    .pbdfb-search-result-actions {
        width: 100%;
    }
    .pbdfb-search-result-action {
        flex: 1 1 auto;
        min-width: 0;
    }
}


/* Stage 14 — accessibility / performance hardening */
.pbdfb-screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.pbdfb-item,
.pbdfb-launcher,
.pbdfb-dismiss,
.pbdfb-search-close,
.pbdfb-search-form button,
.pbdfb-whatsapp-close,
.pbdfb-whatsapp-contact-button {
    touch-action: manipulation;
}
.pbdfb-whatsapp-close:focus-visible,
.pbdfb-whatsapp-contact-button:focus-visible,
.pbdfb-launcher:focus-visible,
.pbdfb-dismiss:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 2px;
}
