/* =========================================================
   Stile LIDO / BAR SULLA SPIAGGIA — sabbia, azzurro, ombrellone a righe
   (si aggiunge a menu.css; i colori arrivano dal locale)
   ========================================================= */
.style-lido{--sky:var(--brand);--sun:var(--accent);--sand:#f6e3bf;--sand-dark:#e9cf9c;--card-shadow:0 14px 28px -18px rgba(20,90,120,.5)}

/* ---------- Copertina: cielo, sole, ombrellone che si apre, sabbia; si chiude come una tenda ---------- */
.style-lido .cover{background:linear-gradient(180deg,#6fd0ea 0%,var(--sky) 55%,#0e86a8 100%);transition:transform .9s cubic-bezier(.6,0,.3,1)}
.style-lido .cover-shade{display:none}
html.style-lido.cover-opening .cover{transform:translateY(-104%)}
.style-lido .ld-sun{position:absolute;top:calc(8% + env(safe-area-inset-top));left:14%;width:84px;height:84px;border-radius:50%;
  background:radial-gradient(circle,#fff3b0 0 45%,#ffd35c 46% 60%,rgba(255,211,92,0) 61%);
  box-shadow:0 0 60px 20px rgba(255,225,120,.45);transform:translateY(40px);opacity:0;animation:ldSun 1.6s var(--ease-out) .2s forwards}
@keyframes ldSun{to{transform:none;opacity:1}}
.style-lido .ld-umbrella{position:relative;z-index:2;width:min(48vw,26vh,210px);height:auto;margin:0 0 -2vh;overflow:visible}
.style-lido .ld-pole{stroke:#fff;stroke-width:5;stroke-linecap:round;stroke-dasharray:140;stroke-dashoffset:140;animation:ldPole .7s ease-out .3s forwards}
@keyframes ldPole{to{stroke-dashoffset:0}}
.style-lido .ld-canopy{transform-box:fill-box;transform-origin:50% 100%;transform:scaleX(.08) scaleY(.4);opacity:0;
  animation:ldOpen .9s cubic-bezier(.3,1.5,.5,1) 1s forwards, ldWind 5s ease-in-out 2.2s infinite alternate}
@keyframes ldOpen{to{transform:none;opacity:1}}
@keyframes ldWind{from{transform:rotate(-2deg)}to{transform:rotate(2deg)}}
.style-lido .ld-sand{position:absolute;left:-5%;right:-5%;bottom:0;height:22%;background:var(--sand);border-radius:50% 50% 0 0/40px 40px 0 0;
  box-shadow:inset 0 10px 0 var(--sand-dark)}

.style-lido .cover{justify-content:center;padding-bottom:18vh}
.style-lido .cover-name{font-family:var(--font-h);font-weight:400;font-size:clamp(2.8rem,14vw,4rem);line-height:1;color:#fff;
  text-shadow:0 4px 0 rgba(0,70,100,.35)}
.style-lido .cover-rule{width:110px;height:8px;margin:16px 0 10px;background:none;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 8'%3E%3Cpath d='M0 4 Q 6.9 0 13.75 4 T 27.5 4 T 41.25 4 T 55 4 T 68.75 4 T 82.5 4 T 96.25 4 T 110 4' fill='none' stroke='black' stroke-width='2.6'/%3E%3C/svg%3E") no-repeat center/100% 100%;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 8'%3E%3Cpath d='M0 4 Q 6.9 0 13.75 4 T 27.5 4 T 41.25 4 T 55 4 T 68.75 4 T 82.5 4 T 96.25 4 T 110 4' fill='none' stroke='black' stroke-width='2.6'/%3E%3C/svg%3E") no-repeat center/100% 100%;
  background-color:#fff}
.style-lido .cover-title{font-family:var(--font-b);font-weight:800;font-size:.95rem;letter-spacing:.45em;padding-left:.45em;color:#fff}
.style-lido .cover-sub{color:#eafaff;font-weight:600}
.style-lido .cover-open{background:var(--sun);border:0;color:#fff;font-weight:800;box-shadow:0 10px 22px -10px rgba(150,70,0,.6)}

/* ---------- Barra ---------- */
.style-lido .bar{background:var(--sky);box-shadow:0 10px 24px -16px rgba(0,60,90,.6)}
.style-lido .bar-logo{font-family:var(--font-h);font-size:1.6rem;color:#fff}
.style-lido .bar-btn{color:#fff}
.style-lido .catnav-link{color:#e3f7fd;font-weight:800}
.style-lido .catnav-link.on{background:#fff;color:var(--sky)}

/* ---------- Titoli ---------- */
.style-lido .feat-title{font-family:var(--font-h);color:var(--sky);font-size:2.1rem}
.style-lido .feat-card{border-radius:20px;box-shadow:var(--card-shadow)}
.style-lido .cat{border-bottom:0}
.style-lido .cat-head{padding-top:38px}
.style-lido .cat-text{max-width:none}
.style-lido .cat-title{font-family:var(--font-h);font-weight:400;color:var(--sky);font-size:clamp(2.3rem,10.5vw,3rem);line-height:1}
.style-lido .cat-head .cat-title{display:inline-block;background:linear-gradient(transparent 62%,color-mix(in srgb,var(--sun) 30%,transparent) 62% 90%,transparent 90%) no-repeat;
  background-size:0% 100%;transition:background-size .8s var(--ease-out) .1s}
.style-lido .cat-head.in .cat-title{background-size:100% 100%}
.style-lido .cat-count{color:var(--muted)}
.style-lido .cat-desc{font-style:normal;color:#4b5f6c}
.style-lido .subtabs{background:linear-gradient(var(--bg) 80%,transparent)}
.style-lido .subtab{border-color:#bfe4ef;font-weight:800;color:var(--text)}
.style-lido .subtab.on{background:var(--sky);border-color:var(--sky);color:#fff}
.style-lido .sub-title{font-family:var(--font-h);color:var(--sky)}

/* Servizio all'ombrellone: cartello in cima (le voci dentro senza riquadro) */
.style-lido .cats>.cat:first-child .item{box-shadow:none;border-radius:0;background:transparent;padding:8px 0}
.style-lido .cats>.cat:first-child .cat-inner{background:#fff;border-radius:20px;padding:14px 16px 2px;box-shadow:var(--card-shadow);
  border-top:8px solid transparent;border-image:repeating-linear-gradient(90deg,var(--sun) 0 18px,#fff 18px 36px) 8}

/* ---------- Voci: schede su due colonne ---------- */
.style-lido .items{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:4px 0 8px}
.style-lido .item{flex-direction:column;gap:0;padding:0;border:0;border-radius:18px;overflow:hidden;background:var(--surface);box-shadow:var(--card-shadow)}
.style-lido .item:not(.has-img){grid-column:1/-1;padding:13px 15px}
.style-lido .item .thumb{order:-1;width:100%;height:auto;aspect-ratio:4/3;border-radius:0;box-shadow:none}
.style-lido .item.has-img .item-body{display:flex;flex-direction:column;flex:1;padding:11px 13px 12px;width:100%}
.style-lido .item.has-img .item-head{flex-direction:column;align-items:flex-start;gap:3px}
.style-lido .item.has-img .prices{align-items:flex-start;flex-direction:row;flex-wrap:wrap;gap:2px 10px}
.style-lido .item.has-img .item-foot{margin-top:auto;padding-top:8px}
.style-lido .item-name{font-weight:800;font-size:.98rem}
.style-lido .price{color:var(--sun);font-weight:800}
.style-lido .item-desc{font-style:normal;font-size:.82rem;line-height:1.4}
.style-lido .badge{background:#e6f6fb;color:#0f7896;font-weight:700;font-size:.66rem;padding:2px 8px}
.style-lido .badge--vegano,.style-lido .badge--vegetariano{background:#e6f5e9;color:#2f7a4f}
.style-lido .badges{gap:4px}
.style-lido .al{background:#fff3e2;width:23px;height:23px;font-size:12px}
.style-lido .add{width:34px;height:34px;background:var(--sun);border-color:var(--sun);color:#fff}
.style-lido .add.has{background:var(--sky);border-color:var(--sky)}
.style-lido .qchip{border-color:#bfe4ef;font-weight:800}
.style-lido .qchip[aria-pressed="true"]{background:var(--sky);border-color:var(--sky)}

/* ---------- Footer e finestre ---------- */
.style-lido .foot{background:var(--sand);color:#5b4a2c;box-shadow:inset 0 10px 0 var(--sand-dark)}
.style-lido .foot-links a{color:#5b4a2c;border-color:#c6a76e}
.style-lido .legend{background:rgba(255,255,255,.5)}
.style-lido .legend summary{color:#5b4a2c}
.style-lido .sheet-panel{border-radius:26px 26px 0 0}
.style-lido .sheet-head h2{font-family:var(--font-h);color:var(--sky)}
.style-lido .os-btn{border-radius:999px}
.style-lido .order-fab,.style-lido .os-btn-main{background:var(--sun);border-color:var(--sun)}
.style-lido .of-count{color:var(--sun)}

@media (min-width:640px){
  .style-lido main{max-width:860px}
  .style-lido .items{grid-template-columns:repeat(3,1fr)}
}
