
@media(max-width:760px){
html.dc-fs,html.dc-fs body{overflow:hidden!important;overscroll-behavior:none!important;
 touch-action:none!important}
html.dc-fs .dc-searchbox,html.dc-fs .dc-sugg{touch-action:auto!important}
html.dc-fs #bhwd-bottom-bar,html.dc-fs #bhwd-fab-wrap,html.dc-fs #dc-msearch,html.dc-fs #wpadminbar{display:none!important}

.dc-fs__velo{display:none}
html.dc-fs .dc-fs__velo{display:block!important;position:fixed!important;left:0!important;right:0!important;
 top:-50vh!important;height:200vh!important;background:#fff!important;z-index:999998!important;
 margin:0!important;padding:0!important;touch-action:none!important}
html.dc-fs .dc-searchbox{position:fixed!important;inset:0!important;z-index:999999!important;
 width:auto!important;max-width:none!important;margin:0!important;border-radius:0!important;
 padding:8px 12px 0!important;padding-top:calc(8px + env(safe-area-inset-top,0px))!important;
 background:linear-gradient(180deg,#e20a16,#c70511)!important;
 display:flex!important;flex-wrap:wrap!important;align-content:flex-start!important;
 /* L'altezza vera di quello che si vede. Su iPhone 100vh conta anche la parte
    coperta dalle barre e dalla tastiera: la finestra restava piu' alta dello
    schermo e scorrendo si vedeva passare il sito sotto (foto di Diego,
    23-10-2026 ore 10:36). dvh misura quello che si vede davvero. */
 height:100vh!important;height:100dvh!important;
 overflow:hidden!important;overscroll-behavior:none!important;
 animation:dc-fs-su .18s ease-out both}
@keyframes dc-fs-su{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}

html.dc-fs .dc-fs__bar{display:flex!important;align-items:center;gap:9px;flex:none;
 padding:0 9px 0 0;height:42px}
html.dc-fs .dc-fs__back{flex:none;width:36px;height:36px;border:0;border-radius:50%;
 background:rgba(255,255,255,.18);color:#fff;display:flex;align-items:center;justify-content:center;padding:0}
html.dc-fs .dc-fs__back:active{background:rgba(255,255,255,.34)}
html.dc-fs .dc-fs__back svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2.4;
 stroke-linecap:round;stroke-linejoin:round}
html.dc-fs .dc-fs__nome{flex:none;width:34px;height:34px;border-radius:9px;background:#fff;
 color:#d80612;font-weight:800;font-size:20px;line-height:1;letter-spacing:-.05em;
 display:flex;align-items:center;justify-content:center;overflow:hidden;
 box-shadow:0 2px 8px rgba(0,0,0,.18)}
html.dc-fs .dc-fs__nome img{width:100%;height:100%;object-fit:contain;display:block;padding:3px}

/* La casella sta sulla STESSA riga della freccia e della D.
   Il tema a volte avvolge il campo in un div: senza queste righe quel div
   prende tutta la larghezza e la casella va a capo (foto di Diego, 23-10). */
html.dc-fs .dc-searchbox > *{min-width:0!important}
html.dc-fs .dc-searchbox > .dc-fs__bar{flex:0 0 auto!important;order:1}
html.dc-fs .dc-searchbox > *:not(.dc-fs__bar):not(.dc-sugg):not(.dc-fs__x){
 order:2;flex:1 1 0!important;width:auto!important;max-width:none!important;
 margin:0!important;display:flex!important;align-items:center;flex-wrap:wrap}
html.dc-fs .dc-searchbox > *:not(.dc-fs__bar):not(.dc-sugg):not(.dc-fs__x) > input{width:100%!important;flex:1 1 auto!important}
html.dc-fs .dc-searchbox .dc-sugg{order:9!important;flex:1 0 100%!important}

/* 27-10-2026: la X a destra per chiudere (molti la cercano li'). */
html.dc-fs .dc-searchbox > .dc-fs__x{order:3!important;flex:0 0 44px!important;width:44px!important;height:44px!important;
 margin:0 0 0 8px!important;border:0!important;border-radius:50%!important;padding:0!important;
 background:rgba(255,255,255,.18)!important;color:#fff!important;display:flex!important;align-items:center;justify-content:center}
html.dc-fs .dc-fs__x:active{background:rgba(255,255,255,.34)!important}
html.dc-fs .dc-fs__x svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round}

html.dc-fs .dc-searchbox input{flex:1 1 auto!important;min-width:0!important;width:auto!important;
 height:42px!important;font-size:16px!important;border:0!important;border-radius:21px!important;
 padding:0 16px!important;background:#fff!important;margin:0!important;color:#241c15!important;
 box-shadow:0 2px 10px rgba(0,0,0,.16)!important}
html.dc-fs .dc-searchbox input::placeholder{color:#a89d90!important}

html.dc-fs .dc-sugg{flex:1 1 100%!important;position:static!important;inset:auto!important;
 width:auto!important;margin:8px -12px 0!important;border:0!important;border-radius:0!important;
 box-shadow:none!important;background:#fff!important;
 /* Prende lo spazio che resta sotto la barra rossa, non un'altezza decisa a
    tavolino: cosi' finisce esattamente dove finisce lo schermo. */
 height:auto!important;min-height:0!important;
 max-height:calc(100vh - 58px)!important;max-height:calc(100dvh - 58px)!important;
 overflow-y:auto!important;-webkit-overflow-scrolling:touch;
 /* Arrivati in fondo, lo scorrimento NON passa alla pagina di sotto. */
 overscroll-behavior:contain!important;overscroll-behavior-y:contain!important;
 padding:4px 0 18px!important;
 padding-bottom:calc(18px + env(safe-area-inset-bottom,0px))!important}
/* La tenda copre TUTTO quello che si vede (anche con la tastiera aperta):
   l'altezza la misura il programma sulla parte di schermo visibile davvero. */
/* 27-10-2026 22:20 (Diego): con la tastiera aperta la tenda si accorciava
   fino alla tastiera e sotto si vedeva il sito. Ora e' sempre alta quanto lo
   schermo PIU' GRANDE (come senza tastiera e senza barre del browser) e la
   lista ha in fondo tanto spazio in piu': si scorre e il sito non compare mai. */
html.dc-fs .dc-searchbox{top:0!important;bottom:auto!important;
 height:100vh!important;height:100lvh!important;min-height:100vh!important}
html.dc-fs .dc-sugg{height:calc(100vh - 58px - env(safe-area-inset-top,0px))!important;
 height:calc(100lvh - 58px - env(safe-area-inset-top,0px))!important;max-height:none!important;
 padding-bottom:calc(50vh + env(safe-area-inset-bottom,0px))!important}

/* 27-10-2026 22:25 (Diego): «non puoi farla piu' grande del cellulare e uno
   scorre come se fosse un sito normale». La tenda diventa una PAGINA:
   parte dalla cima, e' piu' lunga dello schermo, scorre col dito come il sito.
   Il sito sotto e' nascosto (visibility), la striscia rossa resta in alto. */
.dc-fs__testa{display:none}
html.dc-fs{margin-top:0!important}
html.dc-fs{overflow-x:hidden!important;overflow-y:visible!important}
html.dc-fs body{overflow:visible!important}
html.dc-fs,html.dc-fs body{touch-action:auto!important;
 background:#fff!important;overscroll-behavior:auto!important}
html.dc-fs body{visibility:hidden!important}
html.dc-fs body .dc-searchbox{visibility:visible!important;position:absolute!important;
 top:0!important;left:0!important;right:0!important;bottom:auto!important;
 height:auto!important;min-height:100vh!important;overflow:visible!important;
 background:#fff!important;animation:none!important;padding:0 12px!important;
 z-index:999999!important;touch-action:auto!important}
html.dc-fs body .dc-searchbox > .dc-fs__testa.dc-fs__testa.dc-fs__testa.dc-fs__testa.dc-fs__testa{display:block!important;position:sticky!important;top:0!important;
 order:0!important;flex:0 0 calc(100% + 24px)!important;width:auto!important;
 margin:0 -12px -58px!important;height:58px!important;z-index:5!important;
 background:linear-gradient(180deg,#e20a16,#c70511)!important;box-shadow:0 2px 8px rgba(0,0,0,.12)!important}
html.dc-fs body .dc-searchbox > .dc-fs__bar,
html.dc-fs body .dc-searchbox > *:not(.dc-fs__bar):not(.dc-sugg):not(.dc-fs__x):not(.dc-fs__testa){
 position:sticky!important;top:8px!important;z-index:6!important;margin-top:8px!important}
html.dc-fs body .dc-searchbox > .dc-fs__x{position:sticky!important;top:7px!important;z-index:6!important;margin:7px 0 0 8px!important}
html.dc-fs body .dc-searchbox .dc-sugg{z-index:1!important;position:static!important;height:auto!important;max-height:none!important;
 min-height:calc(100vh - 58px)!important;overflow:visible!important;margin:12px -12px 0!important;
 padding-bottom:calc(28px + env(safe-area-inset-bottom,0px))!important}
html.dc-fs body .dc-fs__velo{display:none!important}
/* Elementor copia la testata quando diventa «sticky» (una seconda casella
   finta, con dentro anche la nostra barra): si apriva anche quella, sopra,
   ferma. Si vede solo la casella toccata davvero. */
html.dc-fs body .dc-searchbox:not(.dc-fs-on){display:none!important}
}

/* Sul computer la tenda si allarga: parte a filo del marchio e arriva
   fino al bordo destro della casella. Le misure le calcola il programma. */
@media(min-width:761px){
 .dc-sugg{position:fixed!important;right:auto!important;
  left:var(--dc-dd-left,0px)!important;top:var(--dc-dd-top,120px)!important;
  width:var(--dc-dd-width,640px)!important;max-height:calc(100vh - var(--dc-dd-top,120px) - 14px)!important;overflow-y:auto!important}
}
/* 27-10-2026 sera: tenda larga sul computer, ci stanno piu' cose:
   «Restringi» su piu' colonne, piu' prodotti per riga, foto in alto piu' basse. */
@media(min-width:1025px){
html body .dc-sugg .dc-sugg__rows{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(250px,1fr))!important;column-gap:6px!important;padding:0 8px!important}
html body .dc-sugg .dc-sugg__rows .dc-sugg__r{margin:0!important}
html body .dc-sugg .dc-sugg__grid{grid-template-columns:repeat(auto-fill,minmax(165px,1fr))!important;gap:12px!important}
html body .dc-sugg .dc-vetrina{gap:14px!important}
html body .dc-sugg .dc-vetrina__c img{aspect-ratio:16/9!important;height:auto!important;object-fit:cover!important}
}

/* La tendina del tema (BHWD) non si vede piu'.
   Ne abbiamo una nostra: due tendine insieme facevano a botte, e tornando
   indietro col tasto del telefono quella del tema restava aperta, stretta,
   con le scritte blu in verticale (foto di Diego, 23-10-2026 ore 10:04). */
.bhwd_search_results_container,#bhwd_search_results,#bhwd_search_results_content{
 display:none!important;visibility:hidden!important;opacity:0!important;
 pointer-events:none!important;height:0!important;overflow:hidden!important}

/* La lente del sito e' sempre rossa: si vede che e' un bottone. */
.bhwd_search_button,button.bhwd_search_button{background:#d80612!important;color:#fff!important;
 border-color:#d80612!important;border-radius:50%!important;box-shadow:0 2px 10px rgba(216,6,18,.3)!important}
.bhwd_search_button svg,.bhwd_search_button i,.bhwd_search_button path{color:#fff!important;
 stroke:#fff!important;fill:none!important}
.bhwd_search_button:hover{background:#b00510!important}

.dc-fs__bar{display:none}
.dc-fs__x{display:none}
