/* ============================================================
   Bestogoo DETAIL reskin — 2026
   Visual alignment with the Claude Design "Bestogoo Detail".
   Scoped to body.detail-store and intentionally COSMETIC: it
   restyles the existing engine-generated markup (gallery grid,
   title, reputation, timetable, menu, vote buttons, reservation
   aside, map…) into the new design WITHOUT changing the DOM or
   any JS behaviour. Every id/class/onclick the engine depends on
   is preserved; we only re-skin via CSS (plus a tiny breadcrumb
   + contact-actions block injected in detail.php that carries no
   JS hooks).
   Tokens: blue #2563eb, coral #ff6b6b, surface #f8f9fa, ink #111827.
   ============================================================ */

/* index.css sets `html,body{background:#506cd6; height:100%}` (blue + fixed 100%
   height). Only body is re-skinned below, so the <html> blue bled through. ALSO:
   never use overflow-x:hidden on html/body here — combined with the legacy
   height:100% it turns them into a 900px-tall scroll BOX that clips all content
   below the fold (the "void"). Force height:auto so the page grows naturally;
   horizontal overflow from off-canvas widgets is clipped on the page wrapper
   (.bboxdetailstore-menu) and via overflow-x:clip, which does NOT create a
   scroll container. This stylesheet is loaded ONLY by detail.php. */
html:has(body.detail-store),
html:has(body.detail-store) body.detail-store{
  background:#f8f9fa!important;margin-bottom:0!important;
  height:auto!important;min-height:100%!important;overflow-y:visible!important;
}
html:has(body.detail-store){overflow-x:clip!important;}
body.detail-store{overflow-x:clip;}

body.detail-store{
  --bg-blue:#2563eb;
  --bg-blue-d:#1d4ed8;
  --bg-coral:#ff6b6b;
  --bg-ink:#111827;
  --bg-muted:#6b7280;
  --bg-soft:#9ca3af;
  --bg-line:#e5e7eb;
  --bg-line2:#dee2e6;
  --bg-surface:#f8f9fa;
  --bg-chip:#f0f2f5;
  background:var(--bg-surface)!important;
  font-family:'Nunito Sans','Avenir Next',system-ui,-apple-system,sans-serif!important;
  color:var(--bg-ink);
}
body.detail-store ::selection{background:#dbeafe;color:#111827;}

/* the full-viewport grey layer that sits behind everything — send it to the back */
body.detail-store .bgwtotal{background:var(--bg-surface)!important;z-index:-1!important;}

/* ------------------------------------------------------------
   GLOBAL LEGACY OVERRIDES
   detail-store.css ships aggressive descendant rules (h2/h3
   float:left + centred, .title-detail color:#fff, width:1024px,
   vote links position:absolute). Neutralise the ones that would
   fight the new layout.
   ------------------------------------------------------------ */
body.detail-store h2,
body.detail-store h3,
body.detail-store h4{
  float:none!important;text-align:left!important;width:auto!important;
  color:var(--bg-ink);font-family:inherit;
}

/* ============================================================
   STICKY BLURRED HEADER  (#contenitorsearchtool)
   ============================================================ */
body.detail-store #contenitorsearchtool.contenitor-search-tool{
  position:sticky!important;top:0;z-index:60!important;
  background:rgba(255,255,255,0.92)!important;
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  border-bottom:1px solid var(--bg-line)!important;
  box-shadow:0 1px 0 rgba(0,0,0,0.02);
  width:100%!important;height:62px!important;min-height:62px;
  display:flex;align-items:center;
  padding:0 clamp(14px,4vw,40px)!important;margin:0!important;
  box-sizing:border-box!important;   /* legacy detail.php has no global border-box → width:100%+padding overflowed by 80px, pushing the account off-screen */
}
/* logo block — legacy made it position:absolute, which pulled it out of the flex row
   and let it self-centre against the (then 123px) header. Force it back in-flow so it
   sits on the same centred baseline as the pill and account. */
body.detail-store #contenitorsearchtool .box047b{
  position:relative!important;top:auto!important;left:auto!important;transform:none!important;
  display:flex;align-items:center;flex-shrink:0;margin:0 0 0 calc(29px - clamp(14px,4vw,40px))!important;height:46px!important;padding:0!important;   /* logo a ~29px dal bordo, allineato a home+search (contrasta il padding clamp del header) */
}
body.detail-store #logobig.logobig{width:auto!important;height:30px!important;cursor:pointer;}
/* desktop shows the full wordmark, hide the icon-only mark; flip on mobile */
body.detail-store #contenitorsearchtool .logoicon{display:none!important;}

/* rimuovi le sezioni superflue in fondo: "Classifica migliori pizzerie", "Le migliori pizzerie scelte per te", "Storie su Bestogoo" (reazioni/reputazione sopra restano) */
body.detail-store .b-contenitor-stories-tot{display:none!important;}
@media(max-width:560px){
  body.detail-store #logobig.logobig{display:none!important;}
  body.detail-store #contenitorsearchtool .logoicon{display:inline-block!important;height:30px!important;width:auto!important;cursor:pointer;}
}

/* the search form becomes the centred pill */
body.detail-store #contenitorsearchtool #search{
  flex:1;max-width:520px;margin:0 auto!important;padding:0!important;width:auto!important;
  /* the form wrapped a stacked error placeholder (.boxerror-index, 50px) under the
     pill → #search grew to 106px and forced the header to 123px with the pill on its
     own top "row". Collapse the form to the pill height so the whole header is one
     vertically-centred 62px row (logo · pill · account on the same baseline). */
  display:flex!important;align-items:center;height:46px!important;
}
/* the empty error placeholder still occupied 50px even though it has no content —
   take it out of the header flow entirely */
body.detail-store #contenitorsearchtool #search .boxerror-index{
  position:absolute!important;height:0!important;margin:0!important;padding:0!important;
  overflow:hidden!important;pointer-events:none;
}
body.detail-store #contenitorsearchtool .box023,
body.detail-store #contenitorsearchtool .box024{
  display:flex!important;align-items:center;height:46px!important;
}
body.detail-store #contenitorsearchtool .boxcserchbox1,
body.detail-store #contenitorsearchtool .box023,
body.detail-store #contenitorsearchtool .box024{
  width:100%!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;
}
/* DETAIL bar = SEARCH bar: pill bianca "categoria • città" di default; al click si rivela l'input-tool (.editing) */
body.detail-store #contenitorsearchtool .contenitor-info-search{
  display:flex;align-items:center;justify-content:center;width:100%!important;height:44px;box-sizing:border-box;
  background:#fff;border:1px solid var(--bg-line2);border-radius:9999px;
  font-family:inherit;font-size:14px;font-weight:700;color:var(--bg-ink);text-align:center;
  cursor:pointer;box-shadow:0 2px 10px rgba(0,0,0,0.06);padding:0 18px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
body.detail-store #contenitorsearchtool .box024 > .bcontsearch.mbscmo{display:none!important;}   /* default (mobile): pill collassata / trigger dialog */
body.detail-store #contenitorsearchtool .box024.editing .contenitor-info-search{display:none!important;}
body.detail-store #contenitorsearchtool .box024.editing > .bcontsearch.mbscmo{display:flex!important;}
/* mobile: tieni il trigger legacy (apre il dialog), nascondi la pill desktop */
@media(max-width:767px){ body.detail-store #contenitorsearchtool .contenitor-info-search{display:none!important;} }
/* DESKTOP: barra = pill PIENA come la home (sempre visibile, niente click-to-expand) */
@media(min-width:768px){
  body.detail-store #contenitorsearchtool .box024 .contenitor-info-search{display:none!important;}
  body.detail-store #contenitorsearchtool .box024 > .bcontsearch.mbscmo{display:flex!important;}
}
/* the desktop location+category+button row → one rounded pill (bianca come la home) */
body.detail-store #contenitorsearchtool .bcontsearch.mbscmo{
  display:flex!important;align-items:center;gap:0;width:100%!important;
  background:#fff!important;border:1px solid var(--bg-line2)!important;border-radius:9999px!important;
  overflow:hidden;height:44px;margin:0!important;padding:0!important;
}
body.detail-store #contenitorsearchtool input#loctext.box026{
  flex:1;min-width:0;border:0!important;background:transparent!important;outline:none;
  font-family:inherit!important;font-size:14px!important;font-weight:600;color:var(--bg-ink)!important;
  height:100%!important;padding:0 10px 0 16px!important;margin:0!important;
}
/* location pin inside the pill — the legacy box is a 34px div painted with a BLACK
   map-pin SVG (map-pin-silhouette.svg). The design shows a small BLUE location-dot.
   Drop the SVG bg and inject a blue Font Awesome glyph (same pattern as .box022::after). */
body.detail-store #contenitorsearchtool .box025{
  flex-shrink:0;width:auto!important;height:auto!important;margin:0 0 0 16px!important;
  background-image:none!important;display:grid;place-items:center;cursor:pointer;
}
body.detail-store #contenitorsearchtool .box025::before{
  content:"\f3c5";font-family:"Font Awesome 6 Free";font-weight:900;
  color:var(--bg-blue);font-size:13px;line-height:1;
}
/* the pin now provides the leading inset → drop the input's own left padding so the
   placeholder sits a consistent gap after the pin (matches the design's pin · text). */
body.detail-store #contenitorsearchtool input#loctext.box026{padding-left:8px!important;}
body.detail-store #contenitorsearchtool .box005{display:flex;align-items:center;height:100%;}
body.detail-store #contenitorsearchtool .box022{
  width:50px!important;height:100%!important;align-self:stretch!important;flex-shrink:0;border:0!important;
  border-radius:0 9999px 9999px 0!important;margin:0!important;/* riempie l'estremita' arrotondata del pill: era square + margin-right:5px legacy -> gap bianco a destra */
  background:var(--bg-blue)!important;color:#fff;cursor:pointer;
  display:grid;place-items:center;transition:background 150ms;
}
body.detail-store #contenitorsearchtool .box022::after{
  content:"\f002";font-family:"Font Awesome 6 Free";font-weight:900;color:#fff;font-size:14px;
}
body.detail-store #contenitorsearchtool .box022:hover{background:var(--bg-blue-d)!important;}
/* the inline category segment inside the pill — shows this place's category (e.g.
   "Pizzeria") to the right of the location, before the search button, so the bar reads
   "Napoli | Pizzeria" like search.php's filled header. Kept compact + non-interactive
   chrome (the legacy dropdown list/search-input are collapsed; only the label shows). */
body.detail-store #contenitorsearchtool .box006{
  display:flex!important;align-items:center;height:100%;flex-shrink:0;
}
body.detail-store #contenitorsearchtool .box005{
  background:transparent!important;border:0!important;
}
body.detail-store #contenitorsearchtool .box006 .generalselectb{
  position:relative!important;padding:0!important;height:100%;display:flex;align-items:center;
  background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;
}
/* a thin divider between the location and the category label */
body.detail-store #contenitorsearchtool .box006 .generalselectb::before{
  content:"";width:1px;height:20px;background:var(--bg-line2);margin:0 2px 0 6px;flex:0 0 auto;
}
body.detail-store #contenitorsearchtool .box006 .btngeneralselectb{
  display:inline-flex!important;align-items:center;height:auto!important;width:auto!important;
  max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  background:none!important;background-image:none!important;border:0!important;box-shadow:none!important;
  margin:0!important;padding:0 8px!important;
  font-family:inherit!important;font-size:13.5px!important;font-weight:700!important;
  color:var(--bg-blue)!important;cursor:pointer;line-height:1;
}
body.detail-store #contenitorsearchtool .box006 .btngeneralselectb::after{
  content:"\f078";font-family:"Font Awesome 6 Free"!important;font-weight:900;font-size:9px;
  color:var(--bg-soft)!important;margin-left:6px;flex:0 0 auto;
  /* neutralise the legacy absolute SVG caret (right:10px / 20px box) that overlapped the text */
  position:static!important;right:auto!important;top:auto!important;width:auto!important;height:auto!important;
  background-image:none!important;transform:none!important;line-height:1!important;
}
/* keep the dropdown list + the legacy select out of the pill flow (the label opens it on
   click via the existing JS; the popup list is absolutely positioned by its own css) */
body.detail-store #contenitorsearchtool .box006 .subgeneralselectb{position:absolute!important;}
body.detail-store #contenitorsearchtool .box006 select.generalselectb-select{
  position:absolute!important;width:0!important;height:0!important;opacity:0!important;pointer-events:none;
}
/* the location input no longer needs to greedily fill the whole pill now that a category
   segment shares the row — but keep it flexible so long city names still fit */
body.detail-store #contenitorsearchtool input#loctext.box026{flex:1 1 auto;min-width:60px;}
/* narrow phones: the inline category segment would crowd the pill → hide it, keep the
   city + search button (the mobile dialog still carries the full category selector) */
@media(max-width:560px){
  body.detail-store #contenitorsearchtool .box006{display:none!important;}
}
/* the legacy search-tool parts (pin icon, input, button) are position:absolute → they ignore the flex
   pill and overlapped (the pin sat on top of the "Sc" of the placeholder). Make them flow so the flex
   layout (pin · input · button) actually applies and nothing overlaps. */
body.detail-store #contenitorsearchtool .bcontsearch.mbscmo > *{position:relative!important;inset:auto!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;}

/* === FIX dropdown categoria TAGLIATO: il pill .bcontsearch.mbscmo ha overflow:hidden (alto 44px) e ritagliava la lista
   categorie (244px). In stato .editing sblocco l'overflow, ri-arrotondo il bottone blu (prima lo arrotondava il clip del pill),
   e ridisegno la lista come popup pulito (bianco, ombra, sotto il pill, z-index sopra il contenuto). Desktop-only (mobile usa il dialog). === */
/* dropdown categoria: position:absolute con containing-block = .box024 (ANTENATO del pill overflow:hidden) -> esce dal clip.
   backdrop-filter dell'header NON cattura gli absolute (solo i fixed), quindi qui è sicuro. Servono: box024=relative e TUTTI
   gli intermedi (pill/box005/box006/generalselectb)=static + niente transform sulla catena. */
body.detail-store #contenitorsearchtool .box023 .box024{position:relative!important;}
body.detail-store #contenitorsearchtool .box023 .box024 .bcontsearch.mbscmo,
body.detail-store #contenitorsearchtool .box023 .box024 .bcontsearch.mbscmo > .box005,
body.detail-store #contenitorsearchtool .box023 .box024 .bcontsearch.mbscmo .box006,
body.detail-store #contenitorsearchtool .box023 .box024 .bcontsearch.mbscmo .box006 .generalselectb{
  position:static!important;transform:none!important;filter:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  will-change:auto!important;contain:none!important;perspective:none!important;content-visibility:visible!important;
}
body.detail-store #contenitorsearchtool .box006 .subgeneralselectb{
  position:absolute!important;top:calc(100% + 12px)!important;right:0!important;left:auto!important;
  width:240px!important;max-height:320px!important;overflow-y:auto!important;
  background:#fff!important;border:1px solid var(--bg-line2)!important;border-radius:14px!important;
  box-shadow:0 16px 40px rgba(0,0,0,0.18)!important;z-index:200!important;
  padding:6px!important;margin:0!important;list-style:none!important;
}
body.detail-store #contenitorsearchtool .box006 .subgeneralselectb li{
  display:block!important;padding:9px 14px!important;border-radius:9px!important;
  font-size:14px!important;font-weight:600!important;color:var(--bg-ink)!important;cursor:pointer!important;white-space:nowrap!important;
}
body.detail-store #contenitorsearchtool .box006 .subgeneralselectb li:hover{background:#eff4ff!important;color:var(--bg-blue)!important;}
body.detail-store #contenitorsearchtool .box006 .subgeneralselectb .search-input{
  width:100%!important;box-sizing:border-box!important;margin:0 0 6px!important;
  padding:9px 14px 9px 36px!important;   /* left=36 libera l'icona lente legacy (la mia 8px 12px la copriva) */
  background-color:#fff!important;background-position:14px center!important;background-size:15px!important;background-repeat:no-repeat!important;
  border:1px solid var(--bg-line2)!important;border-radius:9px!important;font-size:13.5px!important;outline:none!important;
}
body.detail-store #contenitorsearchtool .box006 .subgeneralselectb .close-list{display:none!important;}

/* === FIX "Accedi" disallineato: i CTA testuali Crea Menu/Registrati (.call-to-action-index legacy) avevano margin-top:25px
   che li spingeva 12.5px sotto il bottone Accedi (centrato a cy 30.5 nel cluster flex). Azzero -> tutti centrati. === */
body.detail-store #boxcontenitormenuindexright .call-to-action-index{margin-top:0!important;}

/* account / language cluster pinned right.
   NOTE: position:relative (NOT static) so the redesigned dropdown from
   account-menu.css (.bgh-acct .box045-loged.bmenu, absolutely positioned)
   anchors to this container. Legacy left it position:absolute which drifted. */
body.detail-store #boxcontenitormenuindexright.box-contenitor-menu-index-right{
  position:relative!important;margin-left:auto!important;margin-right:calc(2px - clamp(14px,4vw,40px))!important;display:flex!important;align-items:center;justify-content:flex-end!important;
  gap:12px;flex-shrink:0;width:auto!important;height:auto!important;top:auto!important;right:auto!important;transform:none!important;box-sizing:border-box!important;
}
/* anonimo (CTA "Accedi"): l'avatar loggato va al bordo come prod, ma il bottone Accedi (più largo) tocca/sborda -> margine destro */
body.detail-store #boxcontenitormenuindexright.box-contenitor-menu-index-right:not(:has(.box045-loged)){margin-right:calc(16px - clamp(14px,4vw,40px))!important;}

/* ============================================================
   PAGE SHELL  (.bboxdetailstore-menu / .detailstore-menu)
   was 1024px fixed; make it the fluid 1100 max container.
   ============================================================ */
body.detail-store .bboxdetailstore-menu{
  width:100%!important;max-width:1100px!important;margin:0 auto!important;
  padding:0 clamp(16px,4vw,40px)!important;box-sizing:border-box!important;   /* !important: il legacy forzava content-box -> width:100%+padding sforava di 32px (prezzi menu tagliati su mobile) */
}
body.detail-store .bboxdetailstore-menu > .detailstore-menu{
  width:100%!important;float:none!important;position:relative;z-index:0;
}
/* the duplicate title above the gallery (tt1) — design shows title in the main column only */
body.detail-store .detailstore-menu > .title-detail.tt1{display:none!important;}

/* breadcrumb (injected) */
body.detail-store .bgd-breadcrumb{
  font-size:13px;color:var(--bg-soft);font-weight:600;
  display:flex;align-items:center;gap:7px;flex-wrap:wrap;
  padding:16px 0 0;margin:0;width:100%;clear:both;
}
body.detail-store .bgd-breadcrumb a{color:var(--bg-soft);text-decoration:none;}
body.detail-store .bgd-breadcrumb a:hover{color:var(--bg-blue);}
body.detail-store .bgd-breadcrumb i{font-size:9px;color:#cbd0d6;padding:0!important;margin:0!important;width:auto!important;}
body.detail-store .bgd-breadcrumb .bgd-bc-cur{color:#374151;}

/* ============================================================
   GALLERY MOSAIC  (#gallerygrid .containercolumnimage)
   1 big (centre) + 2 left + 2 right small → rounded mosaic.
   The include already builds: columnimage1 (.imgd x2),
   columnimage2 (.imgd2 big), columnimage3 (.imgd3 x2).
   We re-order with flex so big sits left, smalls stack right.
   ============================================================ */
body.detail-store #gallerygrid{width:100%!important;margin:14px 0 0;}
body.detail-store #gallerygrid .detailstore-ph{padding:0!important;margin:0!important;}
body.detail-store #gallerygrid .containercolumnimage{
  display:flex!important;gap:8px!important;width:100%!important;
  height:clamp(300px,46vw,440px)!important;
  border-radius:18px!important;overflow:hidden!important;background:#eef1f4;
}
/* big photo first/left — flex so present columns fill the width even when
   the item has fewer than 3 photo-columns (no empty grey gap) */
body.detail-store #gallerygrid .columnimage2{order:1;flex:1.6 1 0!important;width:auto!important;min-width:0;height:100%!important;}
/* two stacks of smalls on the right */
body.detail-store #gallerygrid .columnimage1{order:2;flex:0.85 1 0!important;width:auto!important;min-width:0;height:100%!important;}
body.detail-store #gallerygrid .columnimage3{order:3;flex:0.85 1 0!important;width:auto!important;min-width:0;height:100%!important;}
body.detail-store #gallerygrid .gcim{display:flex!important;flex-direction:column!important;gap:8px;height:100%;}
body.detail-store #gallerygrid .imgd,
body.detail-store #gallerygrid .imgd3{height:calc(50% - 4px)!important;margin:0!important;flex:1;}
body.detail-store #gallerygrid .imgd2{height:100%!important;margin:0!important;}
body.detail-store #gallerygrid .imgd > img,
body.detail-store #gallerygrid .imgd2 > img,
body.detail-store #gallerygrid .imgd3 > img{
  width:100%!important;height:100%!important;object-fit:cover!important;display:block;
  border-radius:0!important;transition:filter 150ms;
}
body.detail-store #gallerygrid a:hover > img{filter:brightness(0.95);}
/* tablet/phone: stack to a single hero image */
@media(max-width:880px){
  body.detail-store #gallerygrid .containercolumnimage{height:clamp(220px,52vw,320px)!important;}
  body.detail-store #gallerygrid .columnimage1,
  body.detail-store #gallerygrid .columnimage3{display:none!important;}
  body.detail-store #gallerygrid .columnimage2{width:100%!important;}
}

/* ============================================================
   TWO-COLUMN BODY  (.totalcolumnd → grid; .column1d main; .column2d aside)
   ============================================================ */
body.detail-store .totalcolumnd{
  display:grid!important;grid-template-columns:1fr 360px;gap:40px;align-items:start;
  max-width:100%!important;margin:0!important;padding:26px 0 16px!important;width:100%!important;float:none!important;   /* era 120px -> troppo spazio prima della mappa (che sta fuori dalla two-column) */
}
body.detail-store .column1d{
  width:auto!important;min-width:0;float:none!important;margin:0!important;padding:0!important;
  display:flex!important;flex-direction:column;   /* abilita il riordino "Il locale": chips sotto la descrizione, sopra il menu (come da design) */
}
/* riordino sezioni come da design: (descrizione = default 0) -> chips -> menu -> riga condividi.
   tutto il resto (titolo, gallery, orari, prenotazione) resta a order:0 in ordine sorgente, in cima. */
body.detail-store .column1d > #whatitoffers{order:1;}
body.detail-store .column1d > .detail-menu{order:2;}
body.detail-store .column1d > #timetable_print{order:3;}    /* Orari riemessi (output buffering) come figlio diretto -> sotto il menu, come design */
body.detail-store .column1d > .detailstore-reservetion.new01[style*="flex-direction"]{order:4;}
body.detail-store .column2d{
  width:auto!important;float:none!important;margin:0!important;padding:0!important;
  position:sticky;top:80px;align-self:start;
  min-height:0!important;height:auto!important;   /* il legacy aveva min-height:calc(100% - 25px) -> aside alto 8000px (= menu) con colonna destra vuota; ora alto quanto la card e sticky */
}
@media(max-width:880px){
  body.detail-store .totalcolumnd{grid-template-columns:1fr!important;gap:0;padding-bottom:96px!important;}
  body.detail-store .column2d{position:static!important;top:auto;}
}

/* ---- title + verified ---- */
body.detail-store .column1d > .title-detail.tt2{
  display:flex!important;align-items:center;gap:10px;flex-wrap:wrap;
  position:static!important;color:var(--bg-ink)!important;text-align:left!important;
  width:auto!important;margin:0!important;
}
body.detail-store .column1d > .title-detail.tt2 h1{
  font-size:clamp(26px,4vw,38px)!important;font-weight:800!important;letter-spacing:-0.025em;
  margin:0!important;color:var(--bg-ink)!important;line-height:1.05!important;float:none!important;
  text-align:left!important;width:auto!important;
}
body.detail-store .column1d > .title-detail.tt2 img{
  height:24px!important;width:auto!important;margin:0!important;
}

/* ---- city / address / reputation block (.new01.boxnd.bp32) ---- */
body.detail-store .column1d .boxnd{margin-top:12px!important;}
body.detail-store .column1d .boxnd h2{
  display:inline!important;font-size:14.5px!important;font-weight:700!important;color:#374151!important;margin:0!important;
}
body.detail-store .column1d .boxnd h3.infoshort{
  display:block!important;font-size:14.5px!important;font-weight:400!important;color:var(--bg-muted)!important;
  margin:6px 0 0!important;text-align:left!important;
}
body.detail-store .column1d .boxnd h3.infoshort::before{
  content:"\f3c5";font-family:"Font Awesome 6 Free";font-weight:900;color:var(--bg-soft);font-size:13px;margin-right:6px;
}
/* reputation pill — force it to hug its content (legacy `.new01>.lbler{display:flex}`
   made it stretch full-width) */
body.detail-store .column1d .lbler,
body.detail-store .new01 > .lbler{
  display:inline-flex!important;align-items:center;gap:7px;
  background:rgba(255,107,107,0.12)!important;padding:7px 13px!important;border-radius:9999px!important;
  font-size:14px!important;font-weight:800!important;color:var(--bg-ink)!important;
  margin:14px 0 0!important;width:-moz-fit-content!important;width:fit-content!important;max-width:100%!important;
  float:none!important;align-self:flex-start;
}
body.detail-store .column1d .lbler img{display:none!important;}
body.detail-store .column1d .lbler::before{
  content:"\f004";font-family:"Font Awesome 6 Free";font-weight:900;color:var(--bg-coral);font-size:13px;
}
body.detail-store .column1d .lbler .font1{font-weight:800;color:var(--bg-ink);}
body.detail-store .column1d .lbler .font2{font-weight:600;color:var(--bg-soft);margin-left:2px;}

/* "Ora aperto" badge: the legacy markup is hardcoded text (not computed from the
   real open/closed state) and is hidden by detail-store.css (`.detailstore-info{display:none}`).
   We respect that — showing an always-"aperto" badge would be misleading. The real
   open hours live in the Orari card below. */

/* ============================================================
   CONTACT ACTIONS  (injected .bgd-actions)
   ============================================================ */
body.detail-store .bgd-actions{
  display:flex;gap:10px;flex-wrap:wrap;margin-top:20px;
}
body.detail-store .bgd-actbtn{
  display:inline-flex;align-items:center;gap:9px;flex:0 0 auto;white-space:nowrap;
  background:#fff;border:1px solid var(--bg-line);border-radius:12px;padding:11px 16px;
  text-decoration:none;font-size:13.5px;font-weight:700;color:var(--bg-ink);font-family:inherit;
  box-shadow:0 1px 3px rgba(0,0,0,0.05);transition:transform 160ms,box-shadow 160ms;cursor:pointer;
}
body.detail-store .bgd-actbtn:hover{transform:translateY(-2px);box-shadow:0 6px 18px rgba(0,0,0,0.10);}
body.detail-store .bgd-actbtn > span{
  width:30px;height:30px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;
  font-size:13px;flex-shrink:0;line-height:1;overflow:hidden;
}
/* the FA glyph rendered ~39px wide and a few px low (it overflowed the 30px circle to
   the right and sat below centre). Pin it to a centred, fixed-size, line-height:1 glyph
   so every contact icon (Chiama / Indicazioni / Sito / Condividi) is perfectly centred. */
body.detail-store .bgd-actbtn > span > i{
  width:auto!important;height:auto!important;line-height:1!important;font-size:14px!important;
  /* a legacy rule put 13px padding on the icon → its box ballooned to 40px and spilled
     out of the 30px circle. Zero the padding/margin so the glyph centres cleanly. */
  padding:0!important;margin:0!important;display:inline-block!important;text-align:center;
}
body.detail-store .bgd-act-call > span{background:rgba(117,213,114,0.16);color:#3aa53a;}
body.detail-store .bgd-act-dir  > span{background:rgba(238,88,90,0.16);color:#ee585a;}
body.detail-store .bgd-act-web  > span{background:rgba(88,120,237,0.16);color:#5878ed;}
body.detail-store .bgd-act-share> span{background:rgba(243,213,89,0.22);color:#caa915;}
/* the share button carries the legacy `.share-button` class (so the existing
   share JS handler binds to it) — that class forces a 32px icon button with an
   svg bg, float, overflow:hidden and display:none. Undo all of that here. */
body.detail-store .bgd-actbtn.share-button{
  width:auto!important;height:auto!important;overflow:visible!important;float:none!important;
  display:inline-flex!important;background-image:none!important;background-color:#fff!important;
  border-radius:12px!important;margin:0!important;
}

/* ============================================================
   SECTION HEADINGS (shared)
   ============================================================ */
body.detail-store .bgd-h2{
  font-size:20px!important;font-weight:800!important;letter-spacing:-0.01em;
  margin:0 0 10px!important;color:var(--bg-ink)!important;float:none!important;text-align:left!important;width:auto!important;
  text-transform:capitalize;   /* l'etichetta DB "informazioni" è minuscola -> "Informazioni" come gli altri titoli */
}

/* ---- description "Il locale" ---- */
body.detail-store #descriptionDetail.detailstore-description{
  width:auto!important;max-width:640px;float:none!important;background:transparent!important;
  border:0!important;padding:0!important;height:auto!important;max-height:7.6em;overflow:hidden!important;margin:34px 0 0!important;   /* clamp ~5 righe: cosi "Mostra altro" tronca davvero (prima era tutta aperta -> toggle inutile) */
  font-size:15.5px!important;line-height:1.6!important;color:#4b5563!important;
}
body.detail-store #descriptionDetail.detailstore-description.expand{height:auto!important;max-height:none!important;}   /* espansa: testo completo */
body.detail-store .decriptiontoogle{
  width:auto!important;float:none!important;background:transparent!important;padding:8px 0 0!important;
}
body.detail-store .decriptiontoogle > div{color:var(--bg-blue)!important;float:none!important;display:inline-block;}

/* ============================================================
   TIMETABLE  (.timetable-print)  → collapsible "Orari" card
   ============================================================ */
body.detail-store #timetable_print.timetable-print{
  margin:30px 0 0!important;display:block!important;
  /* the container itself carried a white background + 1px border, which painted a thin
     full-width "stray bar" beside/under the "Orari" toggle. The card look belongs to
     .week-print only — keep this wrapper transparent. */
  background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;
}
body.detail-store #timetabletoogle.timetabletoogle{
  display:flex!important;align-items:center;justify-content:space-between;gap:12px;
  cursor:pointer;width:100%!important;float:none!important;margin:0 0 14px!important;padding:0!important;
}
/* title on the left */
body.detail-store #timetabletoogle .timet-title{
  display:inline-flex!important;align-items:center;
  font-size:20px!important;font-weight:800!important;letter-spacing:-0.01em;color:var(--bg-ink)!important;
}
/* blue "mostra/nascondi" toggle pushed to the right, with a chevron (matches design) */
body.detail-store #timetabletoogle .timet-toggle{
  display:inline-flex!important;align-items:center;gap:8px;margin-left:auto;
  font-size:13.5px!important;font-weight:700!important;color:var(--bg-blue)!important;
}
body.detail-store #timetabletoogle .timet-toggle::after{
  content:"\f078"; /* fa-chevron-down */
  font-family:"Font Awesome 6 Free";font-weight:900;font-size:12px;color:var(--bg-blue);
}
body.detail-store #timetabletoogle .timetshow,
body.detail-store #timetabletoogle .timethide{
  font-size:13.5px!important;font-weight:700!important;color:var(--bg-blue)!important;
}
body.detail-store .week-print{
  margin:0!important;background:#fff;border:1px solid var(--bg-line);border-radius:14px;overflow:hidden;max-width:460px;
}
body.detail-store .week-print .day-print{display:block;}
body.detail-store .week-print .daylist{
  width:100%!important;float:none!important;margin:0!important;border:0!important;border-bottom:1px solid #f5f6f7!important;
  border-radius:0!important;background:#fff!important;
}
body.detail-store .week-print .daylist:last-child{border-bottom:0!important;}
body.detail-store .week-print .daylist .day{
  display:flex!important;align-items:center;gap:8px;flex-wrap:nowrap!important;
  padding:11px 16px!important;font-size:14px!important;
}
body.detail-store .week-print .daylist .day > font:first-child{
  font-weight:700;color:#374151;flex-shrink:0;margin-right:auto!important;   /* giorno a sinistra, orari spinti a destra */
}
/* orari (mattina/pomeriggio): niente a-capo verticale -> ognuno su una riga inline a destra */
body.detail-store .week-print .daylist .day > font{font-weight:600;color:var(--bg-muted);float:none!important;white-space:nowrap!important;}
/* today's row highlighted */
body.detail-store .week-print .daylist.dayselect{
  background:#eff4ff!important;border:0!important;border-bottom:1px solid #e3ebfb!important;
}
body.detail-store .week-print .daylist.dayselect .day > font{color:var(--bg-blue)!important;font-weight:700;}

/* ============================================================
   MENU  (.detailstore-reservetion share row + browse link)
   + the menu modal stays styled by its own css; we only polish
   the inline "share" button row.
   ============================================================ */
/* the menu "share" + browse-menu button row (NOT #whatitoffers, which reuses the same
   class but must stack its heading + chips) */
body.detail-store .column1d .detailstore-reservetion:not(#whatitoffers){
  margin-top:24px!important;display:flex!important;gap:10px;flex-wrap:wrap;flex-direction:row!important;
  width:auto!important;float:none!important;
}
/* the engine "share" + browse-menu buttons → pill buttons */
body.detail-store .buttondetail.btndl2{
  display:inline-flex!important;align-items:center;gap:8px;
  background:#fff!important;border:1px solid var(--bg-line)!important;border-radius:12px!important;
  padding:11px 18px!important;font-family:inherit!important;font-size:13.5px!important;font-weight:700!important;
  color:var(--bg-ink)!important;cursor:pointer;text-decoration:none;box-shadow:0 1px 3px rgba(0,0,0,0.05);
  transition:transform 160ms,box-shadow 160ms;width:auto!important;float:none!important;
}
body.detail-store .buttondetail.btndl2:hover{transform:translateY(-2px);box-shadow:0 6px 18px rgba(0,0,0,0.10);}
body.detail-store .buttondetail.btndl3::before{
  content:"\f1e0";font-family:"Font Awesome 6 Free";font-weight:900;color:var(--bg-blue);font-size:13px;
}

/* dish list: legacy wraps each dish in a bordered, rounded, padded card. The design
   uses clean borderless rows separated by a thin bottom divider, name+desc left and a
   bold price on the right. */
body.detail-store ul.listdishes{
  list-style:none!important;margin:6px 0 0!important;padding:0!important;
  display:flex!important;flex-direction:column!important;gap:0!important;
}
body.detail-store ul.listdishes > li{
  display:grid!important;grid-template-columns:1fr auto!important;
  column-gap:14px!important;row-gap:3px!important;align-items:baseline!important;
  border:0!important;border-bottom:1px solid #f0f2f5!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;
  padding:12px 0!important;margin:0!important;width:auto!important;float:none!important;
}
body.detail-store ul.listdishes > li > .namedish{
  grid-column:1;grid-row:1;min-width:0;
  font-size:15.5px!important;font-weight:700!important;color:var(--bg-ink)!important;
  margin:0!important;padding:0!important;
}
/* price on the same row as the name, hard right */
body.detail-store ul.listdishes > li > .pricedish{
  grid-column:2;grid-row:1;white-space:nowrap;text-align:right;
  font-size:15px!important;font-weight:800!important;color:var(--bg-ink)!important;
  margin:0!important;padding:0!important;
}
/* description spans both columns on the next row, under the name */
body.detail-store ul.listdishes > li > .descriptiondish{
  grid-column:1 / -1;grid-row:2;min-width:0;
  font-size:13.5px!important;color:#6b7280!important;line-height:1.45!important;
  margin:0!important;padding:0!important;
}
body.detail-store ul.listdishes > li > .descriptiondish span{
  background:transparent!important;font-size:13.5px!important;color:#6b7280!important;
}

/* "Cosa offriamo" section: stack the heading above the service chips (its shared
   .detailstore-reservetion class would otherwise lay it out as a horizontal row). */
body.detail-store #whatitoffers{
  margin-top:34px!important;width:auto!important;float:none!important;
  display:block!important;
}
body.detail-store #whatitoffers > h2{display:none!important;}   /* design: niente heading "Cosa offriamo" -> le pill vanno dirette sotto la descrizione (parte di "Il locale") */
body.detail-store .showhatitoffers.buttondetail{
  display:inline-flex!important;align-items:center;gap:6px;
  background:var(--bg-chip)!important;border:0!important;border-radius:9999px!important;
  padding:9px 15px!important;font-size:13px!important;font-weight:700!important;color:#374151!important;
  width:auto!important;float:none!important;box-shadow:none!important;cursor:pointer;
}
/* the "Cosa offriamo" service tags: legacy renders them as list-items with a 40px
   left-padded background icon (the icon URL 404s on dev → a big blank gap). Re-style
   each as a compact grey pill chip like the design's tags. */
body.detail-store ul.wttofs{
  list-style:none!important;display:flex!important;flex-wrap:wrap!important;gap:9px!important;
  margin:14px 0 0!important;padding:0!important;width:auto!important;float:none!important;
}
body.detail-store ul.wttofs:empty{display:none!important;}
body.detail-store .iwttofs{
  display:inline-flex!important;align-items:center;
  background-color:var(--bg-chip)!important;border-radius:9999px!important;   /* background-color (NON background shorthand) per non resettare l'icona inline */
  padding:7px 13px 7px 32px!important;margin:0!important;
  font-size:13px!important;font-weight:700!important;color:#374151!important;line-height:1.2!important;
  background-repeat:no-repeat!important;background-position:11px center!important;background-size:15px 15px!important;   /* icona amenity (path filesystem->web in detail.php) a sinistra, come il design */
}
body.detail-store .iwttofs.cash{opacity:0.85;}

/* MOBILE: la barra prenotazione #prereservations è position:fixed in basso; la card .contprereservations
   resta un box bianco vuoto (contenuto fixed) -> togli il chrome. Nella barra fixed mostra SOLO il bottone:
   via "Tavoli disponibili/prenota gratis" + link "registra la tua attività" (sbordavano sul menu = "una merda"). */
@media(max-width:880px){
  body.detail-store .column2d .contprereservations{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;min-height:0!important;}
  body.detail-store #prereservations .contenitor-txt-prereservation{display:none!important;}
  body.detail-store #prereservations #linkjoindetail{display:none!important;}
  /* la barra fixed + il bottone non devono sforare il viewport (sforavano di ~28px a destra) */
  body.detail-store #prereservations{box-sizing:border-box!important;max-width:100vw!important;}
  body.detail-store #prereservations #reservbutton{box-sizing:border-box!important;width:100%!important;max-width:100%!important;margin:0!important;}
  /* spazio in fondo: la barra fixed 'Prenota un tavolo' non deve coprire l'ultima sezione (voti/cuori reazioni).
     il padding va sul container in-flow (.bboxdetailstore-menu): il padding sul body NON estendeva lo scroll. */
  body.detail-store{padding-bottom:40px!important;}
  body.detail-store .bboxdetailstore-menu{padding-bottom:130px!important;}
  /* la card menu su mobile: foto più piccola così il corpo (nome + categorie) respira */
  body.detail-store .bgd-menu-card-img{flex:0 0 86px!important;}
}
/* il blocco debug "Nessun referrer ricevuto" (#fromwhere) non deve essere visibile agli utenti */
body.detail-store #fromwhere{display:none!important;}

/* la stray "Cerca ovunque / quello che vuoi in qualsiasi città" (.bboxsearchmobile = trigger search mobile)
   sbucava nell'header a larghezze tablet/desktop, sovrapposta all'account -> nascondila su desktop (la pill è la UI search) */
@media(min-width:768px){body.detail-store #contenitorsearchtool .bboxsearchmobile{display:none!important;}}
/* telefono: la pillola e' alta 50px e si stringe quando «Accedi» tradotto e' lungo; titolo e sottotitolo andavano a capo
   e uscivano sopra e sotto (es/pt/fr/de/ru a 320-390). Una riga ciascuno, il resto con i puntini. */
body.detail-store #bboxsearchmobile .textsearch1,
body.detail-store #bboxsearchmobile .textsearch2{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
/* ...e la pillola resta larga quanto lo spazio accanto ad «Accedi»: senza min-width:0 i flex item della catena non scendono
   sotto la riga intera e spingono «Accedi» fuori dallo schermo */
@media(max-width:767px){
  body.detail-store #contenitorsearchtool > form,
  body.detail-store #contenitorsearchtool .boxcserchbox1,
  body.detail-store #contenitorsearchtool .box024,
  body.detail-store #bboxsearchmobile,
  body.detail-store #bboxsearchmobile .textsearch{min-width:0;}
}
/* bottoni azione come il design: "Chiama / Indicazioni / Sito web / Condividi" (erano minuscoli) */
body.detail-store .bgd-actbtn{text-transform:capitalize;}

/* === card prenotazione + widget calendario (form_create inline) === */
/* CTA proprietario "Se hai un'attività, registrala o riscattala" fuori posto in una card di prenotazione cliente */
body.detail-store .column2d #linkjoindetail{display:none!important;}
/* il bottone "Prenota un tavolo" deve stare dentro la card (width:100% + padding) */
body.detail-store .column2d #reservbutton.buttondetail{box-sizing:border-box!important;width:100%!important;max-width:100%!important;}
/* il calendario si apriva come card bianca DENTRO la card aside (box-in-box) -> appiattisci */
body.detail-store #containeredit{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;margin:8px 0 0!important;}
/* Prenotazione aperta (#containeredit visibile): il modale #wzRoot (fixed, z 99999) vive dentro .column2d (sticky = livello
   proprio) e .detailstore-menu (z 0), quindi la mappa «Ecco dove si trova», che viene dopo, gli passava sopra e la testata
   (z 60) restava fuori dal velo. Solo finché è aperto, i due contenitori salgono sopra tutto. */
body.detail-store .bboxdetailstore-menu > .detailstore-menu:has(#containeredit:not([style*="none"])),
body.detail-store .column2d:has(#containeredit:not([style*="none"])){z-index:100;}
/* MODALE PRENOTAZIONE — il flusso REALE ("Prenota un tavolo" -> #reservbutton) apre #ctotaldialogreservation con
   className="" (NON .displayflex), display:block, position:fixed: a riposo ha height:0 (invisibile), aperto si riempie
   a tutta altezza col contenuto. Quindi NIENTE gate di classe: stilizzo direttamente #ctotaldialogreservation.
   Il backdrop (sotto) è invisibile quando h:0 (chiuso) e si vede solo quando il contenuto lo riempie (aperto); NON forzo
   height/inset, altrimenti coprirebbe la pagina anche a riposo. Prima era background:transparent -> calendario sopra la
   pagina (ROTTO mobile+desktop). */
body.detail-store #containeredit #ctotaldialogreservation{
  background:rgba(17,24,39,0.55)!important;z-index:10000!important;overflow:auto!important;
}
body.detail-store #containeredit #ctotaldialogreservation .total-dialog-reservation{
  background:#fff!important;border:0!important;border-radius:16px!important;box-shadow:0 24px 60px rgba(0,0,0,0.35)!important;
  width:auto!important;max-width:430px!important;margin:5vh auto!important;padding:18px!important;box-sizing:border-box!important;
  /* gli step alti (login+note+completa ~1228px) sbordavano la card (height legacy ~100% = 844): cap a 90vh + scroll interno
     così TUTTO il contenuto resta sul bianco (niente parti sul backdrop trasparente) */
  height:auto!important;max-height:90vh!important;overflow-y:auto!important;overflow-x:hidden!important;
}
@media(max-width:767px){
  body.detail-store #containeredit #ctotaldialogreservation .total-dialog-reservation{max-width:100%!important;padding:16px 5px!important;margin:3vh auto!important;}
}
/* tab Data/Ora/Persone: l'attivo era nero -> blu come il design */
body.detail-store #button-select-data[style*="background-color: #000"],
body.detail-store .tool-reservations-frontend > div[style*="background-color: #000"]{background-color:var(--bg-blue)!important;}

/* ============================================================
   WEB REPUTATION  (.detailstore-valutation .contenitor-reaction)
   box1 = UP pill, box2 = rating, box3 = DOWN pill.
   Override legacy position:absolute so links stay in flow.
   ============================================================ */
/* (b) Duplicati voto/reputazione rimossi su richiesta dell'utente:
   - .detailstore-valutation-echo = sezione "Reazioni" (ridondante con "Reputazione web" in alto)
   - .contenitor-reaction .box2   = punteggio + label "Reputazione web" duplicati nel widget di voto
   Restano: "Reputazione web" (in alto, punteggio aggregato) + i pill Mi piace / No. */
body.detail-store .detailstore-valutation-echo{display:none!important;}
body.detail-store .contenitor-reaction .box2{display:none!important;}

body.detail-store .detailstore-valutation{
  /* legacy detail-store.css sets `float:left` here, which shrink-wraps this block to its
     content (~251px) inside the 1100px wrapper → the reputation card rendered as a tiny
     box floating at the left with the Up/Down pills cramped in it. Clear the float and
     force display:block so it fills the column like the design's full-width reputation row. */
  width:auto!important;height:auto!important;margin:34px 0 0!important;padding:0!important;
  background:#fff;border:1px solid var(--bg-line);border-radius:14px;
  float:none!important;display:block!important;max-width:700px;clear:both;
}
body.detail-store .detailstore-valutation .contenitor-reaction{
  width:auto!important;margin:0!important;float:none!important;
  display:flex!important;align-items:center;gap:12px;padding:14px 16px;flex-wrap:wrap;
}
body.detail-store .contenitor-reaction .box1,
body.detail-store .contenitor-reaction .box2,
body.detail-store .contenitor-reaction .box3{
  width:auto!important;float:none!important;position:relative!important;text-align:left!important;margin:0!important;
}
/* box1 (Up) / box3 (Down) are display:block and stayed ~23px wide while their inline-flex
   pill child (70px) spilled OUT to the right and overlapped the adjacent rating text.
   Make them shrink-wrap their pill so each occupies exactly the pill's width. */
body.detail-store .contenitor-reaction .box1,
body.detail-store .contenitor-reaction .box3{
  display:inline-flex!important;align-items:center;flex:0 0 auto!important;
}
/* the intermediate vote wrapper (.buttonup/.buttonups/.buttondown/.buttondowns) sits
   between box1/box3 and the pill <a>; it stayed ~24px so the 70px pill spilled out and
   the Up/Down pills overlapped each other. Make the wrapper shrink-wrap its pill too. */
body.detail-store .contenitor-reaction .box1 > div,
body.detail-store .contenitor-reaction .box3 > div{
  display:inline-flex!important;align-items:center;width:auto!important;float:none!important;
  position:relative!important;left:auto!important;top:auto!important;margin:0!important;
}
/* design order: rating pill on the LEFT, then the Mi piace/No vote pair grouped on the
   right. box1=Up, box2=rating, box3=Down → put rating first, then push the votes right. */
body.detail-store .contenitor-reaction .box2{order:0;}
body.detail-store .contenitor-reaction .box1{order:1;margin-left:auto!important;}
body.detail-store .contenitor-reaction .box3{order:2;}
body.detail-store .contenitor-reaction .box2{display:flex;align-items:center;gap:8px;}
body.detail-store .contenitor-reaction .box2 > div{display:none!important;}
body.detail-store .contenitor-reaction .box2 > font{
  font-size:15px!important;font-weight:800!important;color:var(--bg-ink)!important;
  float:none!important;display:inline-flex!important;align-items:center;width:auto!important;
}
body.detail-store .contenitor-reaction .box2 .txt-valutation{
  font-size:13px!important;font-weight:700!important;color:#374151!important;display:inline-flex;align-items:center;gap:5px;
}
body.detail-store .contenitor-reaction .box2 .txt-valutation::before{
  content:"\f004";font-family:"Font Awesome 6 Free";font-weight:900;color:var(--bg-coral);font-size:12px;
}
/* UP button → "Mi piace" coral-capable pill */
body.detail-store .contenitor-reaction .buttonup > a.margin,
body.detail-store .contenitor-reaction .buttonups > a.margin{
  position:relative!important;left:auto!important;top:auto!important;float:none!important;
  display:inline-flex!important;align-items:center;gap:7px;
  background:var(--bg-chip)!important;color:#374151!important;background-image:none!important;
  border-radius:9999px!important;padding:9px 16px!important;width:auto!important;height:auto!important;
  font-size:13.5px!important;font-weight:800!important;cursor:pointer;text-decoration:none;box-shadow:none!important;
  transition:all 140ms;
}
body.detail-store .contenitor-reaction .buttonup > a.margin::before,
body.detail-store .contenitor-reaction .buttonups > a.margin::before{
  content:"\f004";font-family:"Font Awesome 6 Free";font-weight:900;font-size:13px;
}
body.detail-store .contenitor-reaction .buttonups > a.margin{
  background:rgba(255,107,107,0.16)!important;color:var(--bg-coral)!important;
}
/* DOWN button → "No" pill */
body.detail-store .contenitor-reaction .buttondown > a.margin,
body.detail-store .contenitor-reaction .buttondowns > a.margin{
  position:relative!important;left:auto!important;top:auto!important;float:none!important;
  display:inline-flex!important;align-items:center;gap:7px;
  background:var(--bg-chip)!important;color:#374151!important;background-image:none!important;
  border-radius:9999px!important;padding:9px 16px!important;width:auto!important;height:auto!important;
  font-size:13.5px!important;font-weight:800!important;cursor:pointer;text-decoration:none;box-shadow:none!important;
  transition:all 140ms;
  margin-left:0!important; /* css/b-reactions.css: margin-left:-16px, la pillola «No» copriva di 4px «Mi piace» */
}
body.detail-store .contenitor-reaction .buttondown > a.margin::before,
body.detail-store .contenitor-reaction .buttondowns > a.margin::before{
  content:"\f7a9";font-family:"Font Awesome 6 Free";font-weight:900;font-size:13px;
}
body.detail-store .contenitor-reaction .buttondowns > a.margin{
  background:#fee2e2!important;color:#dc2626!important;
}
/* the legacy vote label <font> (text "up"/"down") is display:block;float:left;width:100%,
   which stacked it under the heart and made the pill tall. Inline it so the pill reads
   "♥ up" / "♥ down" on a single row. */
body.detail-store .contenitor-reaction .buttonup > a.margin > font,
body.detail-store .contenitor-reaction .buttonups > a.margin > font,
body.detail-store .contenitor-reaction .buttondown > a.margin > font,
body.detail-store .contenitor-reaction .buttondowns > a.margin > font{
  display:inline!important;float:none!important;width:auto!important;margin:0!important;
  font-size:13.5px!important;line-height:1!important;text-transform:capitalize;
}
/* keep the explosion overlay contained, not floating onto siblings */
body.detail-store .contenitor-reaction .esplosion{position:absolute!important;inset:0!important;pointer-events:none;width:0!important;height:0!important;overflow:hidden;}

/* reactions echo (avatars who voted) — card it up */
body.detail-store .detailstore-valutation-echo{
  width:auto!important;float:none!important;margin:16px 0 0!important;
  background:#fff;border:1px solid var(--bg-line);border-radius:14px;padding:14px 16px;
}
body.detail-store .detailstore-valutation-echo h2{font-size:16px!important;}
body.detail-store .detailstore-valutation-echo h4{font-size:12.5px!important;color:var(--bg-muted)!important;font-weight:600;text-align:left!important;}
/* the voter-avatar strip (.scroll) centred its single avatar in the middle of the
   row → it read as a stray dot floating in the card. Left-align it like a normal
   avatar row, and pad it under the heading. */
body.detail-store .detailstore-valutation-echo .scroll{
  text-align:left!important;justify-content:flex-start!important;margin-top:10px!important;
  display:flex!important;align-items:center;gap:8px;
}
body.detail-store .detailstore-valutation-echo .scroll .box1{
  float:none!important;margin:0!important;
}
/* the avatar img is a div painted with a Google photo whose URL is double-prefixed
   (www.bestogoo.com/https://lh3…) so it 404s and the bare BLACK fallback bg showed as a
   stark dark circle. Use a soft neutral grey fallback so a broken avatar reads as a
   placeholder chip, not a black blob. */
body.detail-store .detailstore-valutation-echo .scroll .box1 .img{
  background-color:#e5e7eb!important;
}

/* reviews list (footer-rank.php .card-review) */
body.detail-store .card-review{
  background:#fff;border:1px solid var(--bg-line);border-radius:14px;padding:15px 17px;margin-bottom:12px;
}
body.detail-store .card-review .description-review{
  font-size:14px!important;line-height:1.55!important;color:#4b5563!important;font-weight:400!important;text-align:left!important;
}

/* ============================================================
   MAP  (.detailstore-map)  → "Dove si trova" card
   ============================================================ */
body.detail-store .detailstore-map{
  width:auto!important;max-width:700px;float:none!important;margin:34px 0 0!important;padding:0!important;
  background:transparent!important;border:0!important;border-radius:0!important;overflow:visible!important;
}
body.detail-store .detailstore-map > img{display:none!important;}
/* section heading sits above the card */
body.detail-store .detailstore-map h2{
  font-size:20px!important;font-weight:800!important;letter-spacing:-0.01em!important;
  padding:0!important;margin:0 0 14px!important;color:var(--bg-ink)!important;
}
/* old address heading is now rendered inside the card row */
body.detail-store .detailstore-map > h3{display:none!important;}

/* the map card: rounded bordered container */
body.detail-store .bgd-mapcard{
  background:#fff;border:1px solid var(--bg-line);border-radius:16px;overflow:hidden;
}
/* map surface holds the iframe + an overlaid pin; styled placeholder so a
   blank/referrer-blocked iframe reads as an intentional muted map panel */
body.detail-store .bgd-mapsurface{
  position:relative;height:240px;
  background:#eef1f5;
  background-image:
    linear-gradient(0deg,rgba(37,99,235,0.04),rgba(37,99,235,0.04)),
    linear-gradient(#e3e7ee 1px,transparent 1px),
    linear-gradient(90deg,#e3e7ee 1px,transparent 1px);
  background-size:100% 100%,38px 38px,38px 38px;
}
body.detail-store .bgd-mapsurface iframe{
  width:100%!important;height:100%!important;display:block;border:0!important;
}
/* centered pin marker (name pill + tip), overlaid above the iframe */
body.detail-store .bgd-mappin{
  position:absolute;top:50%;left:50%;transform:translate(-50%,-100%);
  display:flex;flex-direction:column;align-items:center;pointer-events:none;z-index:2;
}
body.detail-store .bgd-mappin-pill{
  display:inline-flex;align-items:center;gap:6px;background:var(--bg-blue);color:#fff;
  font-size:12px;font-weight:800;padding:6px 12px;border-radius:9999px;white-space:nowrap;
  box-shadow:0 4px 12px rgba(0,0,0,0.28);max-width:240px;overflow:hidden;text-overflow:ellipsis;
}
body.detail-store .bgd-mappin-pill i{
  font-size:10px;width:auto;height:auto;line-height:1;flex:0 0 auto;
}
/* the fa-utensils glyph does not resolve on dev (empty ::before) and rendered as a
   ~35px blank box inside the blue pill; collapse it to nothing if it has no glyph */
body.detail-store .bgd-mappin-pill i:empty:before{content:none;}
body.detail-store .bgd-mappin-pill i:empty{display:none;}
body.detail-store .bgd-mappin-tip{
  width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;
  border-top:8px solid var(--bg-blue);
}
/* bottom row: address + Indicazioni pill */
body.detail-store .bgd-maprow{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:14px 16px;background:#fff;border-top:1px solid var(--bg-line);flex-wrap:wrap;
}
body.detail-store .bgd-mapaddr{
  font-size:14px;color:#374151;font-weight:600;min-width:0;
}
body.detail-store .bgd-mapaddr i{color:#9ca3af;margin-right:6px;}
body.detail-store .bgd-mapdir{
  display:inline-flex;align-items:center;gap:7px;background:#f0f2f5;border-radius:9999px;
  padding:8px 15px;text-decoration:none;font-size:13px;font-weight:700;color:var(--bg-blue);
  white-space:nowrap;flex-shrink:0;
}
body.detail-store .bgd-mapdir:hover{background:#e6ebf7;}

/* video block: keep responsive but contained */
body.detail-store .detailstore-video{width:auto!important;float:none!important;margin:24px 0 0!important;}
body.detail-store .detailstore-video iframe{width:100%!important;border-radius:14px;}

/* manage profile row */
body.detail-store .detailstore-manage{
  width:auto!important;float:none!important;margin:18px 0 0!important;display:flex;align-items:center;gap:8px;
}
body.detail-store .detailstore-manage .manageprofile{
  color:var(--bg-blue)!important;font-weight:700;cursor:pointer;text-decoration:none;
}
/* locali non gestiti: link alle pagine per i gestori (menu digitale, prenotazioni) */
body.detail-store .bgd-owner-links{clear:both;margin:10px 0 0;font-size:13px;line-height:1.6;color:var(--bg-muted);}
body.detail-store .bgd-owner-links a{color:var(--bg-blue);font-weight:700;text-decoration:none;}
/* schede non gestite: "Altri ristoranti a ..." (al posto del vecchio footer-rank nascosto) */
body.detail-store .bgd-nearby{clear:both;box-sizing:border-box!important;max-width:700px;margin:28px 0 0;padding:20px;background:#fff;border:1px solid var(--bg-line);border-radius:18px;}
body.detail-store .bgd-nearby h2{margin:0 0 12px;font-size:18px;font-weight:800;color:var(--bg-ink);}
body.detail-store .bgd-nearby ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;}
body.detail-store .bgd-nearby li a{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:9px 0;border-bottom:1px solid var(--bg-line);color:var(--bg-ink);text-decoration:none;font-size:14px;}
body.detail-store .bgd-nearby li a span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600;}
body.detail-store .bgd-nearby li a:hover span:first-child{color:var(--bg-blue);}
body.detail-store .bgd-nearby__rating{flex:none;color:var(--bg-muted);font-size:13px;}
body.detail-store .bgd-nearby__all{display:inline-flex;align-items:center;gap:6px;margin-top:14px;color:var(--bg-blue);font-weight:700;font-size:14px;text-decoration:none;}
body.detail-store .bgd-nearby__all i{font-size:11px;}
@media(max-width:560px){ body.detail-store .bgd-nearby{padding:16px;} body.detail-store .bgd-nearby ul{grid-template-columns:minmax(0,1fr);} } /* 1fr = minimo il nome intero: righe larghe fino a 389px a 360, voti fuori vista */

/* ============================================================
   RESERVATION ASIDE  (.column2d > .contprereservations / prereservations)
   sticky white card on desktop; the reservation form lives in
   #containeredit (form_create.php) and is untouched structurally.
   ============================================================ */
body.detail-store .column2d .contprereservations,
body.detail-store .column2d .nextreservations{
  background:#fff;border:1px solid var(--bg-line);border-radius:18px;
  box-shadow:0 8px 24px rgba(0,0,0,0.08);padding:20px;width:auto!important;float:none!important;margin:0!important;
  /* legacy detail-store.css makes .contprereservations a flex column with
     align-items:center, so the inner #prereservations shrank to its content
     width (~224px) and was centred inside the 360px card → the title, subtitle
     and CTA all looked pushed to the right. Force the children to stretch and
     left-align so the card content fills it edge-to-edge like the design. */
  display:flex!important;flex-direction:column!important;align-items:stretch!important;text-align:left!important;
}
body.detail-store .column2d #prereservations.prereservations{
  width:100%!important;float:none!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  /* the inner element kept a legacy box-shadow + 12px radius → it rendered as a second
     card inside .contprereservations (box-in-a-box). Strip both so the aside is one
     clean card. */
  box-shadow:none!important;border-radius:0!important;
}
/* the text block + its children fill the card width, left aligned */
body.detail-store .column2d .contenitor-txt-prereservation,
body.detail-store .column2d .contprereservations .boxprert1{
  width:100%!important;text-align:left!important;
}
body.detail-store .column2d .contenitor-txt-prereservation{margin-bottom:14px;}
body.detail-store .column2d .bprtitle{
  font-size:18px!important;font-weight:800!important;letter-spacing:-0.01em;color:var(--bg-ink)!important;text-align:left!important;
}
body.detail-store .column2d .bprsubtitle{
  font-size:13px!important;color:var(--bg-muted)!important;margin-top:4px!important;text-align:left!important;
}
/* the main "Prenota / reserve table" button */
body.detail-store .column2d #reservbutton.buttondetail,
body.detail-store .column2d .buttondetail{
  display:inline-flex!important;align-items:center;justify-content:center;gap:9px;
  width:100%!important;background:var(--bg-blue)!important;color:#fff!important;border:0!important;
  font-family:inherit!important;font-size:15px!important;font-weight:800!important;padding:14px!important;
  border-radius:11px!important;cursor:pointer;text-decoration:none;float:none!important;margin:0!important;
  box-shadow:0 8px 24px rgba(37,99,235,0.25);transition:filter 140ms;
}
body.detail-store .column2d #reservbutton.buttondetail::before{
  content:"\f274";font-family:"Font Awesome 6 Free";font-weight:900;font-size:14px;
}
body.detail-store .column2d #reservbutton.buttondetail:hover,
body.detail-store .column2d .buttondetail:hover{filter:brightness(1.05);}
/* "see detail" secondary button inside nextreservations should not be full blue-CTA (desktop + card mobile) */
body.detail-store .nextreservations .buttondetail.btndl2{
  display:flex!important;justify-content:center;align-items:center;gap:8px;
  width:100%!important;box-sizing:border-box!important;float:none!important;
  background:#eef4ff!important;color:var(--bg-blue)!important;border:0!important;
  box-shadow:none!important;border-radius:12px!important;
  font-size:14px!important;font-weight:800!important;padding:13px 16px!important;margin-top:14px!important;
}
body.detail-store .nextreservations .buttondetail.btndl2:hover{background:#e2ecff!important;transform:none!important;box-shadow:none!important;}
body.detail-store .nextreservations .buttondetail.btndl2::before{content:none!important;}
body.detail-store .nextreservations .buttondetail.btndl2::after{
  content:"\f054";font-family:"Font Awesome 6 Free"!important;font-weight:900;font-size:11px;color:var(--bg-blue);
}
/* FIX duplicato mobile: la card prenotazione desktop #nextreservations (.column2d) NON era nascosta su
   mobile -> compariva insieme a #nextreservationsmobile (2 box). Su mobile mostro solo quella mobile. */
@media(max-width:880px){
  body.detail-store #nextreservations{display:none!important;}
}
/* register-your-business link */
body.detail-store .column2d #linkjoindetail.linkjoindetail{
  display:block;text-align:center;font-size:12.5px!important;color:var(--bg-soft)!important;
  font-weight:600;margin-top:12px!important;text-decoration:none;cursor:pointer;
}
body.detail-store .column2d #linkjoindetail.linkjoindetail:hover{color:var(--bg-blue)!important;}
/* the reservation form container — let it fill the aside cleanly when open */
body.detail-store .column2d #containeredit{
  width:100%!important;background:#fff;border:1px solid var(--bg-line);border-radius:18px;
  box-shadow:0 8px 24px rgba(0,0,0,0.08);padding:0;overflow:hidden;
}
/* "no tables" message */
body.detail-store .column2d .notreservations{
  background:#fff;border:1px solid var(--bg-line);border-radius:18px;padding:20px;
  font-size:14px;color:var(--bg-muted);font-weight:600;text-align:center;
}

/* the legacy triangle rank link + phone block — keep out of the visual flow noise */
body.detail-store .detailstore-rank{display:none!important;}

/* ============================================================
   STORIES rail
   ============================================================ */
body.detail-store .b-contenitor-stories-tot{width:auto!important;float:none!important;margin-top:34px!important;}
body.detail-store #contstories h2{font-size:20px!important;font-weight:800!important;}

/* ============================================================
   MOBILE  (<880px)  — reservation moves to the main column flow;
   the mobile prereservation/nextreservation blocks (already in
   .column1d) get the same card treatment.
   ============================================================ */
body.detail-store .nextreservationsmobile,
body.detail-store .notreservationsmobile{
  width:auto!important;float:none!important;margin:18px 0 0!important;
  background:#fff;border:1px solid var(--bg-line);border-radius:14px;padding:16px;
}
@media(min-width:881px){
  /* on desktop the mobile reservation duplicate + mobile gallery are redundant */
  body.detail-store #gallerymobile{display:none!important;}
  body.detail-store .nextreservationsmobile,
  body.detail-store .notreservationsmobile{display:none!important;}
}
@media(max-width:880px){
  /* on mobile the desktop hero gallery is hidden; show the mobile one */
  body.detail-store #gallerymobile{display:block!important;width:100%;}
}

/* ============================================================
   utility: hide leftover legacy chrome that the design drops
   ============================================================ */
body.detail-store .detailstore-reaction{display:none!important;}

/* LEGACY MOBILE BOTTOM-NAV (#contanitorbarmobile "Esplora / Prenotazioni / …").
   index.css makes it position:fixed and `display:flex` under @media(max-width:1280px),
   but on detail.php its bottom:0 anchoring is broken so it renders as a full-width
   OPAQUE WHITE bar pinned to the TOP (y≈-10, z-index:1) — painting directly OVER the
   header logo + centred search pill on BOTH desktop (the 1280 breakpoint is inclusive)
   and mobile, which is exactly why the header looked "empty / misaligned". The redesign
   has no such bar (mobile booking lives in the sticky book bar), so drop it everywhere. */
body.detail-store #contanitorbarmobile,
body.detail-store .contanitor-barmobile{display:none!important;}

/* ------------------------------------------------------------
   OVERLAPPING off-canvas marketing widgets.
   - #advevi / .contenitor-adv-evidence: a position:absolute "Hai una
     attività?" + WhatsApp promo that slides in (bottom:-600px → 0) and
     collides with the new sticky aside. It's not part of the design and
     duplicates the "Condividi/contact" affordances — hide on detail.
   - #calltoaction: a floating anonymous login nudge that animates in over
     the content. Pin it cleanly to the bottom-left so it never overlaps
     the aside/cards (instead of its legacy top/right drift).
   ------------------------------------------------------------ */
body.detail-store #advevi,
body.detail-store .contenitor-adv-evidence{display:none!important;}

/* #calltoaction: a fixed anonymous "Accedi" login nudge that animates in over
   the page. Its full-bleed fixed box was intercepting clicks on the reserve
   button (mobile). The "Accedi" affordance already lives in the header, and the
   design has no floating nudge — hide it on detail so nothing covers the CTAs. */
body.detail-store #calltoaction{display:none!important;}

/* ============================================================
   PASS 2 — WEB REPUTATION SECTION POLISH
   The reputation area rendered as 3 disconnected, inconsistently
   sized boxes (full-bleed "Profilo gestito" bar, full-bleed
   "Reazioni" card, a 700px vote card) with no section heading.
   Unify them: one "Web reputation" heading + rating·voti pill,
   then the reactions + vote cards at a consistent 700px width.
   ============================================================ */

/* injected section heading (markup: .bgd-rep-head) — same look as the other
   section <h2>s, with the heart "rating · N voti" pill beside it (design). */
body.detail-store .bgd-rep-head{
  display:flex!important;align-items:center;gap:12px;flex-wrap:wrap;
  margin:34px 0 16px!important;max-width:700px;width:auto!important;float:none!important;clear:both;
}
body.detail-store .bgd-rep-head h2{
  font-size:20px!important;font-weight:800!important;letter-spacing:-0.01em!important;
  margin:0!important;padding:0!important;color:var(--bg-ink)!important;
  float:none!important;text-align:left!important;width:auto!important;display:inline-block!important;
}
body.detail-store .bgd-rep-pill{
  display:inline-flex!important;align-items:center;gap:7px;
  background:rgba(255,107,107,0.12)!important;padding:5px 12px!important;border-radius:9999px!important;
  font-size:13.5px!important;font-weight:800!important;color:var(--bg-ink)!important;line-height:1!important;
}
body.detail-store .bgd-rep-pill::before{
  content:"\f004";font-family:"Font Awesome 6 Free";font-weight:900;color:var(--bg-coral);font-size:12px;
}

/* the reputation block now sits under one heading → drop the per-card top margins
   so the heading owns the spacing, and cap the echo card to the same 700px width
   as the vote card so the two read as one aligned column (it was full-bleed 1100). */
body.detail-store .detailstore-valutation-echo{
  max-width:700px!important;margin:0 0 12px!important;
}
/* the echo card's own "Reazioni" / subtitle heading is now redundant with the
   section heading above it; keep it but shrink it to a quiet sub-label. */
body.detail-store .detailstore-valutation-echo > label{display:block!important;margin:0 0 4px!important;}
body.detail-store .detailstore-valutation-echo h2{font-size:13px!important;font-weight:800!important;color:#374151!important;margin:0!important;}
/* the vote card sits right under the echo card → tighten its top margin so the
   heading owns the section's leading space (pass-1 set 34px here). */
body.detail-store .detailstore-valutation{margin:0!important;}

/* "Ci sei stato? Lascia il tuo voto" prompt (markup: .bgd-vote-prompt) sits at the
   start of the vote row; the Mi piace / No pills group on the right. The inner rating
   (box2 "5 · Reputazione web") is now redundant with the heading pill above, so it's
   hidden here → the row reads exactly like the design: prompt left, two pills right. */
body.detail-store .bgd-vote-prompt{
  order:-1;flex:1 1 auto;min-width:0;
  font-size:14.5px!important;font-weight:700!important;color:#374151!important;
}
body.detail-store .contenitor-reaction .box2{display:none!important;}
/* telefono: l'invito su una riga sua e le due pillole insieme sotto, come in italiano. Con l'invito tradotto piu' corto
   (en, ar) «Mi piace» restava accanto all'invito e «No» andava a capo da solo, a sinistra. */
@media(max-width:767px){ body.detail-store .bgd-vote-prompt{flex-basis:100%;} }
/* with box2 hidden, group the Mi piace/No pills to the right of the prompt. */
body.detail-store .contenitor-reaction .box1{order:1;margin-left:auto!important;}
body.detail-store .contenitor-reaction .box3{order:2;}

/* "Mi piace" / "No" of the design: detail.php prints them in the <font> from the labels
   (public.like, bz.rset.no) in the page language; before they were painted here via ::after,
   in Italian for every language. No capitalize: "Mi piace", "J'aime". */
body.detail-store .contenitor-reaction .box1 a.margin > font,
body.detail-store .contenitor-reaction .box3 a.margin > font{
  font-size:13.5px!important;line-height:1!important;font-weight:800!important;text-transform:none!important;
}

/* "Profilo gestito" badge: legacy renders it display:block → a full-width (1100px)
   centred stripe with a lone green check, reading as a stray empty bar. Shrink it to
   a compact inline green chip, left-aligned with the content column.
   NOTE: the two .detailstore-manage blocks (Gestisci profilo / Profilo gestito) toggle
   via an inline `display:none/block` — only restyle the VISIBLE one so we never
   force-show the hidden state. */
body.detail-store .detailstore-manage:not([style*="display:none"]){
  display:inline-flex!important;align-items:center;gap:7px;width:-moz-fit-content!important;width:fit-content!important;
  max-width:100%!important;margin:18px 0 0!important;padding:6px 13px!important;
  background:rgba(52,168,83,0.12)!important;border-radius:9999px!important;text-align:left!important;clear:both;
}
body.detail-store .detailstore-manage[style*="display:none"]{display:none!important;}
body.detail-store .detailstore-manage .svg2,
body.detail-store .detailstore-manage svg{
  width:15px!important;height:15px!important;flex:0 0 auto;margin:0!important;fill:#1f8a4c!important;
}
body.detail-store .detailstore-manage > span{
  font-size:13px!important;font-weight:800!important;color:#1f8a4c!important;line-height:1!important;
}

/* stray bottom "Sfoglia menu / Condividi" row: the sfoglia link is inline display:none
   so only a duplicate "Condividi" button shows — the design has the menu as the featured
   banner and the share affordance already lives in the top contact-actions row. Hide this
   leftover row (these .btndl3 buttons carry no JS hook; the real share uses .share-button). */
body.detail-store .column1d > .detailstore-reservetion.new01[style*="flex-direction: row"]{display:none!important;}

/* RTL (arabo, <html dir="rtl"> come widget.php e view/menu.php): solo regole sotto [dir="rtl"], la resa LTR non cambia. */
html[dir="rtl"], [dir="rtl"] body.detail-store{direction:rtl;} /* css/index.css forza ltr su html e body */
[dir="rtl"] body.detail-store .detailstore-menu,
[dir="rtl"] body.detail-store .bgd-owner-links{text-align:right;}
/* i text-align:left!important di questo file, a destra */
[dir="rtl"] body.detail-store h2,
[dir="rtl"] body.detail-store h3,
[dir="rtl"] body.detail-store h4,
[dir="rtl"] body.detail-store .column1d > .title-detail.tt2,
[dir="rtl"] body.detail-store .column1d > .title-detail.tt2 h1,
[dir="rtl"] body.detail-store .column1d .boxnd h3.infoshort,
[dir="rtl"] body.detail-store .bgd-h2,
[dir="rtl"] body.detail-store .card-review .description-review,
[dir="rtl"] body.detail-store .column2d .contprereservations,
[dir="rtl"] body.detail-store .column2d .nextreservations,
[dir="rtl"] body.detail-store .column2d .contenitor-txt-prereservation,
[dir="rtl"] body.detail-store .column2d .contprereservations .boxprert1,
[dir="rtl"] body.detail-store .column2d .bprtitle,
[dir="rtl"] body.detail-store .column2d .bprsubtitle,
[dir="rtl"] body.detail-store .notreservationsmobile{text-align:right!important;}
[dir="rtl"] body.detail-store .column1d .boxnd h3.infoshort::before{margin-right:0;margin-left:6px;}
/* testi dei locali e dei piatti (spesso in italiano): direzione dal contenuto, cosi' «anni!..» non diventa «..!anni» */
[dir="rtl"] body.detail-store #descriptionDetail,
[dir="rtl"] body.detail-store .bgd-dish-main > div,
[dir="rtl"] body.detail-store .bgd-menu-card-txt > div{unicode-bidi:plaintext;}
/* pillole del voto insieme a fine riga (a sinistra): con margin-left:auto «No» finiva lontano da «Mi piace» */
[dir="rtl"] body.detail-store .contenitor-reaction .box1{margin-left:0!important;margin-right:auto!important;}
[dir="rtl"] body.detail-store .bgd-breadcrumb i,
[dir="rtl"] body.detail-store .bgd-nearby__all i,
[dir="rtl"] body.detail-store .bgd-menu-card-arrow i{transform:scaleX(-1);}
/* modale di accesso/registrazione (view/login_and_reg.php): «عرض» copriva il campo password, titolo a destra (come css/bz-user.css) */
[dir="rtl"] body.detail-store .showp{right:auto;left:0;margin-right:0;margin-left:55px;}
[dir="rtl"] body.detail-store .box032 > form > h1,
[dir="rtl"] body.detail-store .box032b > h1{text-align:right;margin-left:0;margin-right:7.5%;}
/* X a sinistra e nomi dei campi a destra, come gli altri modali arabi (css/bz-public.css) */
[dir="rtl"] body.detail-store :is(#loginBox,#regBox) .box034{right:auto;left:16px;margin-left:0;}
[dir="rtl"] body.detail-store :is(#loginBox,#regBox) .box036{float:right;text-align:right;margin-left:0;margin-right:7.5%;}
[dir="rtl"] body.detail-store :is(#loginBox,#regBox) .box036 > font{float:right;}
/* ricerca del telefono aperta: campo citta' e puntina sono assoluti senza left/right, in rtl finivano fuori dal riquadro */
[dir="rtl"] body.detail-store #dinamicdialogsearch .bcontsearch{direction:ltr;}
