:root{
  --bg:#120a09;
  --paper:#fff7eb;
  --ink:#1e1714;
  --muted:#796c61;
  --red:#d63b25;
  --orange:#ff8f2d;
  --yellow:#ffd55f;
  --green:#39a96b;
  --teal:#00a7a0;
  --card:#1b1110;
  --line:rgba(255,255,255,.14);
  --shadow:0 24px 60px rgba(0,0,0,.25);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--paper)}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
.site-header{position:fixed;z-index:50;top:0;left:0;right:0;padding:18px 34px;display:flex;justify-content:space-between;align-items:center;background:linear-gradient(to bottom,rgba(18,10,9,.92),rgba(18,10,9,.42));backdrop-filter:blur(12px)}
.brand{display:flex;gap:12px;align-items:center}.brand-mark{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--red),var(--orange));font-weight:900;color:white}.brand small{display:block;color:#ecd6c8;font-size:12px;margin-top:2px}
nav{display:flex;gap:18px;font-size:14px;color:#f7e5d7}nav a:hover{color:var(--yellow)}
.hero{min-height:96vh;position:relative;display:flex;align-items:center;padding:120px 8vw 80px;overflow:hidden}.hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;transform:scale(1.03);filter:saturate(1.12)}.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(18,10,9,.95),rgba(18,10,9,.52),rgba(18,10,9,.28)),radial-gradient(circle at 20% 20%,rgba(214,59,37,.45),transparent 35%)}.hero-content{position:relative;max-width:760px}.eyebrow,.section-kicker{color:var(--yellow);letter-spacing:.12em;text-transform:uppercase;font-size:13px;font-weight:800}.hero h1{font-size:clamp(54px,9vw,132px);line-height:.86;margin:12px 0;font-weight:950;letter-spacing:-.07em}.hero p{font-size:21px;color:#f8dfc8;max-width:640px;line-height:1.45}.hero-actions{display:flex;gap:14px;margin-top:26px;flex-wrap:wrap}.btn{border:0;border-radius:999px;padding:13px 20px;font-weight:800;display:inline-flex;align-items:center;gap:8px;cursor:pointer}.btn.primary{background:linear-gradient(135deg,var(--red),var(--orange));color:white}.btn.ghost{border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.08);color:white}.btn.ghost.dark{border-color:rgba(30,23,20,.25);color:var(--ink);background:rgba(255,255,255,.4)}.btn.danger{background:#9b1818;color:white}
.section{padding:82px 8vw}.intro-grid{display:grid;grid-template-columns:1fr 1.25fr;gap:50px;background:var(--paper);color:var(--ink)}.intro-grid .section-kicker,.menu-section .section-kicker,.cocktail-section .section-kicker,.gallery-section .section-kicker,.events-section .section-kicker,.booking-section .section-kicker,.contacts-section .section-kicker{color:var(--red)}.intro-grid h2,.section h2{font-size:clamp(34px,4vw,62px);line-height:1;margin:8px 0 18px;letter-spacing:-.05em}.intro-grid p{color:var(--muted);font-size:18px;line-height:1.6}.feature-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.feature-cards article{background:white;border-radius:24px;padding:26px;box-shadow:0 16px 40px rgba(0,0,0,.08)}.feature-cards span{color:var(--red);font-weight:900}.feature-cards h3{font-size:24px;margin:14px 0 8px}
.section-head{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:30px}.section-head p{max-width:420px;color:#dcc4b3}.menu-section,.gallery-section{background:#19100f}.cocktail-section,.events-section{background:var(--paper);color:var(--ink)}.cocktail-section .section-head p,.events-section .section-head p{color:var(--muted)}
.filters{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 24px}.filters button{border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);color:white;border-radius:999px;padding:8px 14px;cursor:pointer}.filters button.active{background:var(--red);border-color:var(--red)}
.cards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:22px}.item-card{border-radius:26px;overflow:hidden;background:#241615;box-shadow:var(--shadow);border:1px solid rgba(255,255,255,.08)}.cocktail-section .item-card,.events-section .item-card{background:white;color:var(--ink);border:0} .item-card .image-wrap{width:100%;height:300px;background:linear-gradient(135deg,#2b1814,#120a09);display:flex;align-items:center;justify-content:center;overflow:hidden} .item-card img{width:100%;height:100%;object-fit:cover;display:block} .menu-section .item-card img{object-fit:contain;padding:10px} .cocktail-section .item-card img,.events-section .item-card img{object-fit:cover;padding:0}.item-card .body{padding:20px}.item-card h3{margin:0 0 6px;font-size:24px}.item-card p{color:#d1b9aa;line-height:1.45}.cocktail-section .item-card p,.events-section .item-card p{color:var(--muted)}.price{font-size:22px;font-weight:950;color:var(--yellow)}.cocktail-section .price,.events-section .price{color:var(--red)}.tag{display:inline-block;background:rgba(214,59,37,.14);color:var(--red);padding:5px 10px;border-radius:999px;font-size:12px;font-weight:800}
.masonry{columns:3 240px;column-gap:18px}.gallery-tile{break-inside:avoid;margin-bottom:18px;border-radius:24px;overflow:hidden;position:relative}.gallery-tile img{width:100%;display:block}.gallery-tile span{position:absolute;left:14px;bottom:14px;background:rgba(0,0,0,.55);backdrop-filter:blur(8px);color:white;padding:8px 12px;border-radius:999px}
.booking-section{background:linear-gradient(135deg,#d63b25,#ff8f2d);color:white}.booking-card{background:rgba(18,10,9,.78);border:1px solid rgba(255,255,255,.18);border-radius:34px;padding:38px;display:grid;grid-template-columns:.85fr 1.3fr;gap:30px;box-shadow:var(--shadow)}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.form-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid label{display:flex;flex-direction:column;gap:7px;color:inherit;font-weight:700}.form-grid .wide{grid-column:1/-1}input,textarea,select{width:100%;border:1px solid rgba(0,0,0,.12);border-radius:16px;padding:12px 14px;background:white;color:var(--ink);min-height:46px}textarea{min-height:86px;resize:vertical}.form-msg{font-weight:800;color:var(--yellow)}
.contacts-section{display:flex;justify-content:space-between;gap:30px;background:var(--paper);color:var(--ink)}.contact-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
footer{display:flex;justify-content:space-between;gap:20px;padding:28px 8vw;color:#d5c3b8;border-top:1px solid var(--line)}
.admin-page{background:#f4efe7;color:var(--ink)}.admin-header{padding:26px 34px;background:#140c0b;color:white;display:flex;justify-content:space-between;align-items:center}.admin-header h1{margin:0;font-size:32px}.admin-header p{margin:6px 0 0;color:#d9c5b6}.admin-shell{display:grid;grid-template-columns:260px 1fr;min-height:calc(100vh - 96px)}.admin-tabs{background:#211312;padding:22px;display:flex;flex-direction:column;gap:8px;position:sticky;top:0;height:100vh}.tab{border:0;border-radius:16px;background:transparent;color:#f7e3d5;text-align:left;padding:13px 15px;cursor:pointer;font-weight:800}.tab.active,.tab:hover{background:linear-gradient(135deg,var(--red),var(--orange));color:white}.admin-content{padding:28px;max-width:1400px}.panel{display:none}.panel.active{display:block}.panel h2{font-size:38px;margin:0 0 18px;letter-spacing:-.04em}.editor-card,.notice{background:white;border-radius:26px;padding:20px;margin-bottom:20px;box-shadow:0 16px 40px rgba(0,0,0,.06)}.admin-list{display:grid;gap:12px}.row-card{background:white;border-radius:20px;padding:16px;display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center;box-shadow:0 10px 24px rgba(0,0,0,.05)}.row-card strong{display:block;font-size:18px}.row-card small{color:var(--muted)}.row-actions{display:flex;gap:8px;flex-wrap:wrap}.mini-btn{border:0;border-radius:12px;padding:8px 10px;cursor:pointer;font-weight:800}.mini-btn.edit{background:#ffe2aa}.mini-btn.delete{background:#ffd0d0}.mini-btn.ok{background:#c8f7d4}.panel-head{display:flex;justify-content:space-between;gap:20px;align-items:center}.summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:20px 0}.summary-grid div{background:white;border-radius:20px;padding:18px;box-shadow:0 10px 24px rgba(0,0,0,.05)}.summary-grid span{display:block;color:var(--muted);font-size:13px}.summary-grid strong{font-size:30px}
@media(max-width:900px){nav{display:none}.intro-grid,.booking-card,.contacts-section,.admin-shell{grid-template-columns:1fr}.feature-cards{grid-template-columns:1fr}.form-grid,.form-grid.two,.form-grid.four{grid-template-columns:1fr}.admin-tabs{position:relative;height:auto}.summary-grid{grid-template-columns:1fr 1fr}.section-head{display:block}.hero{padding-left:24px;padding-right:24px}.section{padding:58px 24px}}

.chilies{font-size:20px;letter-spacing:2px;margin:4px 0 8px;filter:drop-shadow(0 2px 0 rgba(0,0,0,.15))}

.variant-list{margin:14px 0 6px;border-top:1px solid rgba(255,255,255,.12);border-bottom:1px solid rgba(255,255,255,.12);padding:8px 0;display:grid;gap:8px}
.variant-row{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:start;padding:7px 0;border-bottom:1px dashed rgba(255,255,255,.10)}
.variant-row:last-child{border-bottom:0}
.variant-row strong{font-size:14px;display:block;color:#fff0df}
.variant-row small{display:block;color:#d1b9aa;font-size:12px;line-height:1.25;margin-top:2px}
.variant-row em{display:block;font-style:normal;margin-top:3px;font-size:13px}
.variant-row span{font-weight:950;color:var(--yellow);white-space:nowrap}
.cocktail-section .variant-list,.events-section .variant-list{border-color:rgba(30,23,20,.12)}
.cocktail-section .variant-row,.events-section .variant-row{border-color:rgba(30,23,20,.10)}
.cocktail-section .variant-row strong,.events-section .variant-row strong{color:var(--ink)}
.cocktail-section .variant-row small,.events-section .variant-row small{color:var(--muted)}
.cocktail-section .variant-row span,.events-section .variant-row span{color:var(--red)}


/* FIX V2 - menu food con foto realmente più leggibili */
.menu-section .cards-grid{
  display:block;
}
.menu-section .item-card{
  display:grid;
  grid-template-columns:minmax(320px, 42%) 1fr;
  gap:0;
  margin:0 0 26px;
  align-items:stretch;
}
.menu-section .item-card .image-wrap{
  height:auto;
  min-height:430px;
  margin:14px;
  border-radius:24px;
  background:#140c0b;
}
.menu-section .item-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  padding:0;
}
.menu-section .item-card .body{
  padding:30px 28px 30px 18px;
}
.menu-section .item-card h3{
  font-size:32px;
}
.menu-section .variant-list{
  margin-top:18px;
  border-top:1px solid rgba(255,255,255,.12);
}
.menu-section .variant-row{
  padding:14px 0;
  border-bottom:1px solid rgba(255,255,255,.10);
}
@media(max-width:900px){
  .menu-section .cards-grid{display:grid;grid-template-columns:1fr;}
  .menu-section .item-card{display:block;}
  .menu-section .item-card .image-wrap{height:300px;min-height:0;margin:12px;}
  .menu-section .item-card .body{padding:20px;}
  .menu-section .item-card h3{font-size:26px;}
}


/* Prenotazioni dedicate, senza alterare layout menu raggruppato */
.booking-page .site-header{background:rgba(18,10,9,.92)}
.booking-hero{min-height:72vh;position:relative;display:flex;align-items:center;padding:120px 8vw 70px;overflow:hidden}
.booking-hero-bg{position:absolute;inset:0;background-image:url('https://images.unsplash.com/photo-1552332386-f8dd00dc2f85?auto=format&fit=crop&w=1800&q=80');background-size:cover;background-position:center;filter:saturate(1.2)}
.booking-hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(18,10,9,.94),rgba(18,10,9,.55)),radial-gradient(circle at 75% 40%,rgba(255,143,45,.35),transparent 35%)}
.booking-hero-content{position:relative;max-width:760px}
.booking-hero h1{font-size:clamp(48px,8vw,110px);letter-spacing:-.07em;line-height:.9;margin:14px 0}
.booking-hero p{font-size:21px;color:#f8dfc8;line-height:1.5}
.slot-preview{display:flex;gap:16px;margin-top:28px;flex-wrap:wrap}
.slot-preview div{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);border-radius:24px;padding:18px 26px;min-width:170px;backdrop-filter:blur(10px)}
.slot-preview span{display:block;color:#ffd55f;font-size:12px;text-transform:uppercase;letter-spacing:.12em;font-weight:900}
.slot-preview strong{font-size:40px}
.booking-dedicated{background:var(--paper);color:var(--ink)}
.booking-layout{display:grid;grid-template-columns:.8fr 1.25fr;gap:28px;align-items:start}
.booking-info-panel,.booking-form-large{background:white;border-radius:34px;padding:30px;box-shadow:0 16px 46px rgba(0,0,0,.08)}
.booking-info-panel p,.booking-info-panel li{color:var(--muted);line-height:1.6}
.booking-info-panel ul{padding-left:20px;margin:18px 0 0}
.booking-form-large .btn{margin-top:18px}
@media(max-width:900px){
  .booking-layout{grid-template-columns:1fr}
  .booking-hero{padding-left:24px;padding-right:24px}
}


/* Logo ufficiale El Coco Loco */
.brand-logo{
  width:56px;
  height:56px;
  border-radius:50%;
  object-fit:cover;
  display:block;
  box-shadow:0 10px 28px rgba(0,0,0,.28);
  background:#fff;
}
.admin-title-wrap{
  display:flex;
  align-items:center;
  gap:16px;
}
.admin-logo{
  width:72px;
  height:72px;
  border-radius:50%;
  object-fit:cover;
  background:#fff;
  box-shadow:0 10px 28px rgba(0,0,0,.28);
}
@media(max-width:700px){
  .brand-logo{width:46px;height:46px}
  .admin-logo{width:54px;height:54px}
}


/* Fix gestione gallery modificabile */
.help-text{margin:0 0 16px;color:var(--muted);line-height:1.5}
.gallery-editor-layout{display:grid;grid-template-columns:1.4fr .7fr;gap:18px;align-items:start}
.gallery-preview-box{background:#f4efe7;border:1px solid rgba(0,0,0,.08);border-radius:22px;padding:14px;min-height:210px}
.gallery-preview-box span{display:block;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin-bottom:10px}
.gallery-preview-box img{width:100%;height:190px;object-fit:cover;border-radius:16px;display:none}
.gallery-admin-list .row-card,.gallery-row-card{grid-template-columns:110px 1fr auto}
.row-thumb{width:110px;height:84px;object-fit:cover;border-radius:14px;background:#eee}
.url-small{display:block;max-width:680px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#8a7a70;margin-top:6px}
@media(max-width:900px){
  .gallery-editor-layout{grid-template-columns:1fr}
  .gallery-admin-list .row-card,.gallery-row-card{grid-template-columns:1fr}
  .row-thumb{width:100%;height:180px}
}


/* Fix gestione menu modificabile con anteprima */
.menu-editor-layout{display:grid;grid-template-columns:1.4fr .7fr;gap:18px;align-items:start}
.menu-admin-list .row-card,.menu-row-card{grid-template-columns:110px 1fr auto}
#foodPreviewText,#drinkPreviewText{display:block;margin-top:10px;color:var(--muted);font-weight:800;line-height:1.4}
@media(max-width:900px){
  .menu-editor-layout{grid-template-columns:1fr}
  .menu-admin-list .row-card,.menu-row-card{grid-template-columns:1fr}
}


/* Pulsante Vedi foto accanto ai prezzi, senza cambiare layout */
.variant-price-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
}
.variant-price-actions span{
  color:var(--yellow);
  font-weight:900;
}
.see-photo-btn{
  border:0;
  border-radius:999px;
  padding:6px 10px;
  background:rgba(214,59,37,.95);
  color:white;
  font-size:12px;
  font-weight:900;
  cursor:pointer;
  white-space:nowrap;
}
.see-photo-btn:hover{
  filter:brightness(1.08);
}
.price-with-photo{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.photo-modal{
  position:fixed;
  inset:0;
  z-index:9999;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.78);
  padding:24px;
}
.photo-modal.open{
  display:flex;
}
.photo-modal-box{
  position:relative;
  width:min(900px,96vw);
  background:#160d0c;
  border:1px solid rgba(255,255,255,.16);
  border-radius:28px;
  padding:18px;
  box-shadow:0 30px 90px rgba(0,0,0,.55);
}
.photo-modal-box img{
  width:100%;
  max-height:72vh;
  object-fit:contain;
  display:block;
  border-radius:20px;
  background:#000;
}
.photo-modal-box h3{
  margin:14px 4px 0;
  color:white;
  font-size:22px;
}
.photo-modal-close{
  position:absolute;
  top:10px;
  right:10px;
  width:42px;
  height:42px;
  border-radius:50%;
  border:0;
  background:var(--red);
  color:white;
  font-size:28px;
  line-height:1;
  cursor:pointer;
  z-index:2;
}
@media(max-width:900px){
  .variant-row{
    grid-template-columns:1fr;
  }
  .variant-price-actions{
    justify-content:flex-start;
  }
}


/* Menu diviso per categorie, non lista lunga */
.menu-section .cards-grid,
.cocktail-section .cards-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:22px;
  max-width:1180px;
  margin:0 auto;
}
.category-menu-card{
  display:grid;
  grid-template-columns:420px 1fr;
  gap:0;
  overflow:hidden;
  border-radius:28px;
  background:#241615;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:var(--shadow);
}
.cocktail-section .category-menu-card{
  background:white;
  color:var(--ink);
  border:0;
}
.category-cover{
  min-height:310px;
  background:#100908;
}
.category-cover img{
  width:100%;
  height:100%;
  min-height:310px;
  object-fit:cover;
  display:block;
}
.category-content{
  padding:24px;
  display:flex;
  flex-direction:column;
}
.category-head{
  display:grid;
  grid-template-columns:1fr auto;
  gap:18px;
  align-items:start;
}
.category-head h3{
  margin:8px 0 8px;
  font-size:clamp(30px,4vw,54px);
  line-height:.95;
  letter-spacing:-.06em;
}
.category-head p{
  margin:0;
  color:#d1b9aa;
  line-height:1.5;
}
.cocktail-section .category-head p{
  color:var(--muted);
}
.category-meta{
  min-width:110px;
  border-radius:20px;
  background:rgba(255,255,255,.08);
  padding:14px;
  text-align:center;
}
.cocktail-section .category-meta{
  background:#fff2df;
}
.category-meta strong{
  display:block;
  font-size:34px;
  line-height:1;
}
.category-meta small{
  display:block;
  color:#d1b9aa;
  font-weight:800;
  margin-top:4px;
}
.cocktail-section .category-meta small{
  color:var(--muted);
}
.category-meta b{
  display:block;
  color:var(--yellow);
  margin-top:10px;
  font-size:16px;
}
.cocktail-section .category-meta b{
  color:var(--red);
}
.category-open-btn{
  align-self:flex-start;
  margin-top:22px;
  border:0;
  border-radius:999px;
  padding:11px 15px 11px 18px;
  display:flex;
  align-items:center;
  gap:10px;
  background:linear-gradient(135deg,var(--red),var(--orange));
  color:white;
  font-weight:950;
  cursor:pointer;
}
.category-arrow{
  width:26px;
  height:26px;
  border-radius:50%;
  background:rgba(255,255,255,.22);
  display:grid;
  place-items:center;
  line-height:1;
  transition:transform .2s ease;
}
.category-menu-card.open .category-arrow{
  transform:rotate(180deg);
}
.category-products{
  display:none;
  margin-top:18px;
  border-top:1px solid rgba(255,255,255,.12);
}
.cocktail-section .category-products{
  border-top:1px solid rgba(0,0,0,.08);
}
.category-menu-card.open .category-products{
  display:grid;
}
.menu-product-row{
  display:grid;
  grid-template-columns:1fr auto;
  gap:18px;
  padding:14px 0;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.cocktail-section .menu-product-row{
  border-bottom:1px solid rgba(0,0,0,.08);
}
.menu-product-row:last-child{
  border-bottom:0;
}
.menu-product-info strong{
  display:block;
  font-size:18px;
}
.menu-product-info small{
  display:block;
  color:#d1b9aa;
  line-height:1.4;
  margin-top:3px;
}
.cocktail-section .menu-product-info small{
  color:var(--muted);
}
.row-chilies{
  display:inline-block;
  margin-top:6px;
  font-style:normal;
}
.menu-product-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
}
.menu-product-price{
  color:var(--yellow);
  font-weight:950;
  white-space:nowrap;
}
.cocktail-section .menu-product-price{
  color:var(--red);
}
@media(max-width:900px){
  .category-menu-card{
    grid-template-columns:1fr;
  }
  .category-cover,
  .category-cover img{
    min-height:240px;
  }
  .category-head{
    grid-template-columns:1fr;
  }
  .category-meta{
    text-align:left;
    display:flex;
    align-items:center;
    gap:10px;
  }
  .menu-product-row{
    grid-template-columns:1fr;
  }
  .menu-product-actions{
    justify-content:flex-start;
  }
}


/* Menu definitivo: Tutto a tendina, singole categorie grandi */
.menu-section .cards-grid,
.cocktail-section .cards-grid,
.menu-section .cards-grid.all-categories-tendina,
.cocktail-section .cards-grid.all-categories-tendina,
.menu-section .cards-grid.single-category-big,
.cocktail-section .cards-grid.single-category-big{
  display:grid;
  grid-template-columns:1fr;
  gap:22px;
  max-width:1180px;
  margin:0 auto;
}

/* In "Tutto" le categorie sono compatte finché non vengono aperte */
.all-categories-tendina .category-menu-card:not(.open){
  grid-template-columns:260px 1fr;
}
.all-categories-tendina .category-menu-card:not(.open) .category-cover,
.all-categories-tendina .category-menu-card:not(.open) .category-cover img{
  min-height:180px;
  height:180px;
}
.all-categories-tendina .category-menu-card:not(.open) .category-head h3{
  font-size:clamp(28px,3vw,44px);
}
.all-categories-tendina .category-menu-card:not(.open) .category-content{
  justify-content:center;
}
.all-categories-tendina .category-menu-card:not(.open) .category-products{
  display:none;
}

/* Nelle singole categorie la scheda è grande e già aperta */
.single-category-big .category-menu-card{
  grid-template-columns:420px 1fr;
}
.single-category-big .category-menu-card .category-products{
  display:grid;
}

@media(max-width:900px){
  .all-categories-tendina .category-menu-card:not(.open),
  .single-category-big .category-menu-card{
    grid-template-columns:1fr;
  }
}


/* Singole categorie: scheda grande già aperta, senza pulsante Apri/Chiudi */
.single-category-big .category-open-btn{
  display:none;
}
.single-category-big .category-products{
  display:grid !important;
}


/* Cocktail & Beverage: categorie in 2 colonne su desktop */
.cocktail-section .cards-grid,
.cocktail-section .cards-grid.all-categories-tendina,
.cocktail-section .cards-grid.category-overview-mode{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
  max-width:1180px;
  margin:0 auto;
}

.cocktail-section .category-menu-card{
  grid-template-columns:1fr;
  min-height:100%;
}

.cocktail-section .category-cover,
.cocktail-section .category-cover img{
  height:210px;
  min-height:210px;
}

.cocktail-section .category-content{
  min-height:260px;
}

.cocktail-section .category-head{
  grid-template-columns:1fr auto;
}

.cocktail-section .category-head h3{
  font-size:clamp(28px,3vw,42px);
}

.cocktail-section .category-meta{
  min-width:96px;
}

/* Quando viene selezionata una singola categoria beverage, torna larga come scheda dettaglio */
.cocktail-section .cards-grid.single-category-big,
.cocktail-section .cards-grid.single-category-mode{
  grid-template-columns:1fr;
}

.cocktail-section .single-category-big .category-menu-card,
.cocktail-section .single-category-mode .category-menu-card{
  grid-template-columns:420px 1fr;
}

.cocktail-section .single-category-big .category-cover,
.cocktail-section .single-category-big .category-cover img,
.cocktail-section .single-category-mode .category-cover,
.cocktail-section .single-category-mode .category-cover img{
  height:auto;
  min-height:310px;
}

@media(max-width:900px){
  .cocktail-section .cards-grid,
  .cocktail-section .cards-grid.all-categories-tendina,
  .cocktail-section .cards-grid.category-overview-mode,
  .cocktail-section .cards-grid.single-category-big,
  .cocktail-section .cards-grid.single-category-mode{
    grid-template-columns:1fr;
  }
  .cocktail-section .single-category-big .category-menu-card,
  .cocktail-section .single-category-mode .category-menu-card{
    grid-template-columns:1fr;
  }
}


/* FIX Cocktail & Beverage 2 colonne ordinato */
.cocktail-section .cards-grid,
.cocktail-section .cards-grid.all-categories-tendina,
.cocktail-section .cards-grid.category-overview-mode{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:26px !important;
  max-width:1180px !important;
  margin:0 auto !important;
  align-items:start !important;
}

/* Card chiuse compatte, senza spazi vuoti eccessivi */
.cocktail-section .category-menu-card{
  display:grid !important;
  grid-template-columns:180px 1fr !important;
  min-height:0 !important;
  height:auto !important;
  align-items:stretch !important;
  overflow:hidden !important;
}

.cocktail-section .category-cover{
  min-height:190px !important;
  height:auto !important;
}

.cocktail-section .category-cover img{
  min-height:190px !important;
  height:100% !important;
  object-fit:cover !important;
}

.cocktail-section .category-content{
  min-height:0 !important;
  height:auto !important;
  padding:22px !important;
}

.cocktail-section .category-head{
  display:grid !important;
  grid-template-columns:1fr auto !important;
  gap:14px !important;
}

.cocktail-section .category-head h3{
  font-size:clamp(26px,2.5vw,38px) !important;
  line-height:1 !important;
  margin:8px 0 6px !important;
}

.cocktail-section .category-head p{
  font-size:15px !important;
  line-height:1.35 !important;
}

.cocktail-section .category-meta{
  min-width:86px !important;
  padding:13px !important;
  align-self:start !important;
}

.cocktail-section .category-open-btn{
  margin-top:18px !important;
}

/* Quando una categoria beverage è aperta, occupa tutta la riga */
.cocktail-section .category-menu-card.open{
  grid-column:1 / -1 !important;
  grid-template-columns:420px 1fr !important;
}

.cocktail-section .category-menu-card.open .category-cover,
.cocktail-section .category-menu-card.open .category-cover img{
  min-height:320px !important;
  height:auto !important;
}

.cocktail-section .category-menu-card.open .category-products{
  display:grid !important;
}

/* Nelle singole categorie resta larga e ordinata */
.cocktail-section .cards-grid.single-category-big,
.cocktail-section .cards-grid.single-category-mode{
  display:grid !important;
  grid-template-columns:1fr !important;
  max-width:1180px !important;
  margin:0 auto !important;
}

.cocktail-section .single-category-big .category-menu-card,
.cocktail-section .single-category-mode .category-menu-card{
  grid-column:1 / -1 !important;
  grid-template-columns:420px 1fr !important;
}

.cocktail-section .single-category-big .category-cover,
.cocktail-section .single-category-big .category-cover img,
.cocktail-section .single-category-mode .category-cover,
.cocktail-section .single-category-mode .category-cover img{
  min-height:320px !important;
}

/* Header fisso meno invasivo sul menu */
.site-header{
  z-index:1000;
}

@media(max-width:900px){
  .cocktail-section .cards-grid,
  .cocktail-section .cards-grid.all-categories-tendina,
  .cocktail-section .cards-grid.category-overview-mode,
  .cocktail-section .cards-grid.single-category-big,
  .cocktail-section .cards-grid.single-category-mode{
    grid-template-columns:1fr !important;
  }
  .cocktail-section .category-menu-card,
  .cocktail-section .category-menu-card.open,
  .cocktail-section .single-category-big .category-menu-card,
  .cocktail-section .single-category-mode .category-menu-card{
    grid-template-columns:1fr !important;
  }
  .cocktail-section .category-cover,
  .cocktail-section .category-cover img,
  .cocktail-section .category-menu-card.open .category-cover,
  .cocktail-section .category-menu-card.open .category-cover img{
    min-height:220px !important;
  }
}


/* Dashboard sito El Coco Loco migliorata */
.admin-page{
  background:#f3eee5;
}
.admin-header{
  background:linear-gradient(135deg,#150c0b,#2a1410);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.admin-header h1{
  letter-spacing:-.04em;
}
.admin-shell{
  grid-template-columns:280px 1fr;
}
.admin-tabs{
  background:#180e0d;
  border-right:1px solid rgba(255,255,255,.08);
}
.admin-tabs .tab{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:48px;
  border:1px solid transparent;
}
.admin-tabs .tab.active{
  box-shadow:0 12px 28px rgba(214,59,37,.28);
}
.admin-content{
  padding:34px;
}
.admin-section-title{
  background:white;
  border-radius:28px;
  padding:24px 26px;
  margin-bottom:20px;
  box-shadow:0 14px 36px rgba(0,0,0,.06);
  border:1px solid rgba(0,0,0,.04);
}
.admin-section-title h2{
  margin:0 0 6px !important;
}
.admin-section-title p{
  margin:0;
  color:var(--muted);
  line-height:1.5;
}
.editor-card{
  border:1px solid rgba(0,0,0,.05);
}
.help-text{
  background:#fff7eb;
  border:1px solid rgba(214,59,37,.12);
  border-radius:18px;
  padding:12px 14px;
}
.admin-list{
  margin-top:18px;
}
.admin-category-group{
  background:white;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 10px 24px rgba(0,0,0,.05);
  margin-bottom:14px;
  border:1px solid rgba(0,0,0,.05);
}
.admin-category-head{
  width:100%;
  border:0;
  background:#fff;
  color:var(--ink);
  padding:16px 18px;
  display:grid;
  grid-template-columns:1fr auto auto;
  gap:14px;
  align-items:center;
  text-align:left;
  cursor:pointer;
  font-weight:950;
}
.admin-category-head span{
  font-size:18px;
}
.admin-category-head small{
  color:var(--muted);
  font-weight:800;
}
.admin-category-head b{
  width:30px;
  height:30px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#f4efe7;
  color:var(--red);
  transition:transform .2s ease;
}
.admin-category-group.open .admin-category-head b{
  transform:rotate(180deg);
}
.admin-category-body{
  display:none;
  padding:0 14px 14px;
}
.admin-category-group.open .admin-category-body{
  display:grid;
  gap:12px;
}
.admin-category-body .row-card{
  box-shadow:none;
  border:1px solid rgba(0,0,0,.07);
}
.row-card{
  transition:transform .15s ease, box-shadow .15s ease;
}
.row-card:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 30px rgba(0,0,0,.08);
}
.row-thumb{
  background:#f3eee5;
}
.gallery-preview-box{
  border:1px solid rgba(0,0,0,.06);
}
@media(max-width:900px){
  .admin-shell{
    grid-template-columns:1fr;
  }
  .admin-tabs{
    height:auto;
    position:relative;
    display:grid;
    grid-template-columns:repeat(2,1fr);
  }
  .admin-content{
    padding:20px;
  }
}


/* Fix immagini admin */
#clearImageCache{
  margin-left:10px;
}


/* Fix ordine prodotti */
#restoreMenuOrder{
  margin-left:10px;
}


/* CTA home verso pagina prenotazioni dedicata */
.booking-bridge{
  background:#19100f;
  color:var(--paper);
  padding-top:52px;
  padding-bottom:52px;
}
.booking-bridge-card{
  border:1px solid rgba(255,255,255,.13);
  border-radius:34px;
  background:linear-gradient(135deg,rgba(214,59,37,.18),rgba(255,143,45,.10));
  padding:34px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:28px;
  box-shadow:var(--shadow);
}
.booking-bridge-card p{
  color:#e8d0bf;
  max-width:760px;
  line-height:1.6;
}

/* Pagina prenotazioni dedicata */
.booking-page .site-header{background:rgba(18,10,9,.92)}
.booking-hero{min-height:72vh;position:relative;display:flex;align-items:center;padding:120px 8vw 70px;overflow:hidden}
.booking-hero-bg{position:absolute;inset:0;background-image:url('https://images.unsplash.com/photo-1552332386-f8dd00dc2f85?auto=format&fit=crop&w=1800&q=80');background-size:cover;background-position:center;filter:saturate(1.2)}
.booking-hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(18,10,9,.94),rgba(18,10,9,.55)),radial-gradient(circle at 75% 40%,rgba(255,143,45,.35),transparent 35%)}
.booking-hero-content{position:relative;max-width:760px}
.booking-hero h1{font-size:clamp(48px,8vw,110px);letter-spacing:-.07em;line-height:.9;margin:14px 0}
.booking-hero p{font-size:21px;color:#f8dfc8;line-height:1.5}
.slot-preview{display:flex;gap:16px;margin-top:28px;flex-wrap:wrap}
.slot-preview div{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);border-radius:24px;padding:18px 26px;min-width:170px;backdrop-filter:blur(10px)}
.slot-preview span{display:block;color:#ffd55f;font-size:12px;text-transform:uppercase;letter-spacing:.12em;font-weight:900}
.slot-preview strong{font-size:40px}
.booking-dedicated{background:var(--paper);color:var(--ink)}
.booking-layout{display:grid;grid-template-columns:.8fr 1.25fr;gap:28px;align-items:start}
.booking-info-panel,.booking-form-large{background:white;border-radius:34px;padding:30px;box-shadow:0 16px 46px rgba(0,0,0,.08)}
.booking-info-panel p,.booking-info-panel li{color:var(--muted);line-height:1.6}
.booking-info-panel ul{padding-left:20px;margin:18px 0 0}
.booking-form-large .btn{margin-top:18px}
@media(max-width:900px){
  .booking-bridge-card{display:block}
  .booking-layout{grid-template-columns:1fr}
  .booking-hero{padding-left:24px;padding-right:24px}
}


/* Sito pubblico: prezzi nascosti nel menu */
body.public-page .menu-product-price,
body.public-page .variant-price,
body.public-page .variant-price-actions > span,
body.public-page .price,
body.public-page .priceLabel,
body.public-page .category-meta b,
body.public-page .item-card .price,
body.public-page .menu-product-actions .menu-product-price,
body.public-page #menu .price,
body.public-page #cocktail .price{
  display:none !important;
}

/* Mantiene il pulsante Vedi foto ordinato anche senza prezzo */
body.public-page .menu-product-actions,
body.public-page .variant-price-actions{
  justify-content:flex-end;
}

@media(max-width:900px){
  body.public-page .menu-product-actions,
  body.public-page .variant-price-actions{
    justify-content:flex-start;
  }
}


/* COCO FOOD / DRINK DIRECT INLINE FIX */
.inline-direct-panel{
  margin:28px 0 24px;
  padding:24px;
  border-radius:26px;
  background:#fffaf2;
  border:1px solid #eadfD3;
  box-shadow:0 12px 36px rgba(0,0,0,.06);
}
.direct-menu-head{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:flex-start;
  margin-bottom:18px;
}
.direct-menu-head h2{
  margin:0 0 8px;
  font-size:28px;
  line-height:1.08;
}
.direct-menu-head p{
  margin:0;
  color:#6d655f;
  line-height:1.45;
}
.direct-title-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:16px 0 12px;
}
.direct-title-row h3{
  margin:0;
  font-size:22px;
}
.direct-title-row span{
  color:#8a7d71;
  font-weight:800;
  font-size:13px;
}
.direct-search{
  width:100%;
  border:1px solid #e4d8cb;
  border-radius:18px;
  padding:14px 16px;
  font-weight:800;
  margin-bottom:8px;
  background:#fff;
}
.direct-product-list{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  max-height:740px;
  overflow:auto;
  padding-right:4px;
}
.direct-product-card{
  display:grid;
  grid-template-columns:92px 1fr;
  gap:14px;
  align-items:center;
  border:1px solid #eadfD3;
  border-radius:20px;
  padding:12px;
  background:#fff;
}
.direct-product-card img{
  width:92px;
  height:78px;
  border-radius:14px;
  object-fit:cover;
  background:#eee8df;
}
.direct-product-info h4{
  margin:0 0 4px;
  font-size:17px;
  line-height:1.1;
}
.direct-product-info p{
  margin:0 0 8px;
  color:#7b7168;
  font-size:13px;
  line-height:1.28;
}
.direct-product-meta{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:10px;
}
.direct-product-meta span{
  padding:5px 9px;
  border-radius:999px;
  background:#f4eee5;
  color:#6c5f54;
  font-size:12px;
  font-weight:900;
}
.direct-card-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.direct-card-actions button,
.direct-card-actions label{
  border:0;
  border-radius:999px;
  padding:9px 12px;
  font-weight:900;
  cursor:pointer;
  font-size:12px;
}
.direct-edit-btn{
  background:linear-gradient(135deg,#f05a28,#ff8a1d);
  color:white;
}
.direct-photo-label{
  background:#121212;
  color:white;
}
.direct-photo-label input{
  display:none;
}
.direct-empty{
  padding:18px;
  border-radius:18px;
  background:#fff4df;
  color:#4f3d25;
  font-weight:800;
}
@media(max-width:900px){
  .direct-menu-head{flex-direction:column}
  .direct-product-card{grid-template-columns:76px 1fr}
  .direct-product-card img{width:76px;height:68px}
}
