/* =========================================================
   Stile MARE / RISTORANTE DI PESCE — bianco e blu, onde, righe marinare
   (si aggiunge a menu.css; i colori arrivano dal locale)
   ========================================================= */
.style-mare{--navy:var(--brand);--sea:var(--accent);--foam:#e8f3f9;
  --stripes:repeating-linear-gradient(0deg,var(--navy) 0 3px,#fff 3px 9px)}

/* ---------- Copertina: sole, barca a vela disegnata, onde che scorrono; si apre con la marea ---------- */
.style-mare .cover{background:linear-gradient(180deg,#0b2d47 0%,var(--navy) 55%,#16507a 100%);transition:transform 1s cubic-bezier(.6,0,.3,1)}
.style-mare .cover-shade{display:none}
html.style-mare.cover-opening .cover{transform:translateY(104%)}
.style-mare .mr-sun{position:absolute;top:calc(9% + env(safe-area-inset-top));right:12%;width:70px;opacity:0;animation:mrSun 1.6s var(--ease-out) .2s forwards}
.style-mare .mr-sun circle{fill:#f6d58e;filter:drop-shadow(0 0 18px rgba(246,213,142,.7))}
@keyframes mrSun{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:none}}
.style-mare .mr-boat{position:relative;z-index:2;width:min(32vw,17vh,130px);height:auto;margin:0 0 1.5vh;overflow:visible;animation:mrRock 4s ease-in-out 2s infinite alternate}
.style-mare .mr-line{fill:none;stroke:#fff;stroke-width:2.6;stroke-linejoin:round;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1;animation:draw 1.8s var(--ease-out) .3s forwards}
@keyframes mrRock{from{transform:rotate(-3deg)}to{transform:rotate(3deg) translateY(-3px)}}
.style-mare .mr-waves{position:absolute;left:0;right:0;bottom:0;height:26%;pointer-events:none}
.style-mare .mr-waves svg{position:absolute;left:0;bottom:0;width:200%;height:100%}
.style-mare .mr-waves svg:nth-child(1){height:100%;animation:mrWave 14s linear infinite}
.style-mare .mr-waves svg:nth-child(2){height:80%;animation:mrWave 10s linear infinite reverse}
.style-mare .mr-waves svg:nth-child(3){height:58%;animation:mrWave 7s linear infinite}
.style-mare .mr-waves .w1{fill:rgba(255,255,255,.08)}
.style-mare .mr-waves .w2{fill:rgba(255,255,255,.12)}
.style-mare .mr-waves .w3{fill:rgba(255,255,255,.95)}
@keyframes mrWave{from{transform:translateX(0)}to{transform:translateX(-50%)}}

.style-mare .cover{justify-content:center;padding-bottom:16vh}
.style-mare .cover-name{font-family:var(--font-h);font-weight:400;font-size:clamp(2.8rem,14vw,4rem);line-height:1;color:#fff;letter-spacing:.02em}
.style-mare .cover-rule{width:90px;height:9px;margin:18px 0 12px;background:var(--stripes);opacity:.9;border-radius:2px;
  background:repeating-linear-gradient(0deg,#fff 0 2px,transparent 2px 5px)}
.style-mare .cover-title{font-family:var(--font-b);font-weight:700;font-size:.9rem;letter-spacing:.5em;padding-left:.5em;color:#cfe4f2;text-transform:uppercase}
.style-mare .cover-sub{color:#cfe4f2;letter-spacing:.06em}
.style-mare .cover-open{bottom:calc(30px + env(safe-area-inset-bottom));background:var(--navy);border:2px solid var(--navy);color:#fff;border-radius:999px;font-weight:700}

/* ---------- Barra ---------- */
.style-mare .bar{box-shadow:0 3px 0 0 #fff,0 6px 0 0 var(--navy),0 12px 22px -14px rgba(0,0,0,.5)}
.style-mare .bar-logo{font-family:var(--font-h);font-size:1.5rem;color:#fff}
.style-mare .bar-btn{color:#fff}
.style-mare .catnav-link{color:#cfe4f2;font-weight:700}
.style-mare .catnav-link.on{background:#fff;color:var(--navy)}

/* ---------- Titoli con onda ---------- */
.style-mare main{padding-top:14px}
.style-mare .feat-title{font-family:var(--font-h);color:var(--navy);font-size:2rem}
.style-mare .feat-card{border-radius:14px;box-shadow:0 12px 26px -18px rgba(15,58,90,.6)}
.style-mare .cat{border-bottom:0}
.style-mare .cat-head{padding-top:40px}
.style-mare .cat-text{max-width:none}
.style-mare .cat-title{font-family:var(--font-h);font-weight:400;color:var(--navy);font-size:clamp(2.3rem,10vw,2.9rem);line-height:1.05}
.style-mare .cat-head .cat-title{position:relative;padding-bottom:14px}
.style-mare .cat-head .cat-title::after{content:"";position:absolute;left:0;bottom:0;width:120px;height:10px;background-color:var(--sea);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10'%3E%3Cpath d='M0 5 Q 7.5 0 15 5 T 30 5 T 45 5 T 60 5 T 75 5 T 90 5 T 105 5 T 120 5' fill='none' stroke='black' stroke-width='2.4'/%3E%3C/svg%3E") no-repeat left/120px 10px;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10'%3E%3Cpath d='M0 5 Q 7.5 0 15 5 T 30 5 T 45 5 T 60 5 T 75 5 T 90 5 T 105 5 T 120 5' fill='none' stroke='black' stroke-width='2.4'/%3E%3C/svg%3E") no-repeat left/120px 10px;
  clip-path:inset(0 100% 0 0);transition:clip-path 1s var(--ease-out) .1s}
.style-mare .cat-head.in .cat-title::after{clip-path:inset(0 0 0 0)}
.style-mare .cat-count{color:var(--sea)}
.style-mare .cat-desc{font-style:normal;color:var(--muted);border-left:3px solid var(--sea);padding-left:12px}
.style-mare .subtabs{background:linear-gradient(var(--bg) 80%,transparent)}
.style-mare .subtab{border-color:#c9dcea;color:var(--navy);font-weight:700}
.style-mare .subtab.on{background:var(--navy);border-color:var(--navy);color:#fff}
.style-mare .sub-title{font-family:var(--font-h);color:var(--navy)}

/* ---------- Voci ---------- */
.style-mare .item{border-bottom:1px solid #dbe8f1;padding:16px 0}
.style-mare .item-name{font-weight:700;font-size:1rem;color:var(--text)}
.style-mare .price{color:var(--navy);font-weight:700}
.style-mare .price small{color:var(--sea);font-weight:700}
.style-mare .price-note{color:var(--sea);font-style:normal;font-weight:700}
.style-mare .item-desc{font-style:normal;font-size:.88rem}
.style-mare .item-origin{color:var(--sea)}
.style-mare .item-pairing{color:var(--navy)}
.style-mare .ip-label{color:var(--sea)}
.style-mare .thumb{width:92px;height:92px;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 2px #cfe2ef,0 10px 20px -12px rgba(15,58,90,.6)}
.style-mare .thumb--bottle{border-radius:0;border:0;box-shadow:none;width:44px;height:100px}
.style-mare .badge{background:var(--foam);color:var(--navy);font-weight:700}
.style-mare .badge--surgelato{display:none}
.style-mare .al{background:var(--foam)}
.style-mare .add{border-color:var(--navy);color:var(--navy)}
.style-mare .add.has{background:var(--navy);color:#fff}
.style-mare .qchip{border-color:#c9dcea;color:var(--navy);font-weight:700}
.style-mare .qchip[aria-pressed="true"]{background:var(--navy);border-color:var(--navy)}
.style-mare .is-featured .item-name::after{content:"⚓";margin-left:6px;color:var(--sea);font-size:.85em}

/* "Il pescato del giorno": riquadro a righe marinare */
.style-mare .cats>.cat:first-child .cat-inner{border-radius:14px;padding:4px 16px 2px;background:#fff;
  box-shadow:0 0 0 2px var(--navy),0 0 0 6px #fff,0 0 0 8px var(--navy)}

/* ---------- Footer e finestre ---------- */
.style-mare .foot{background:var(--navy);box-shadow:inset 0 6px 0 #fff,inset 0 9px 0 var(--sea)}
.style-mare .sheet-head h2{font-family:var(--font-h);color:var(--navy)}
.style-mare .order-fab,.style-mare .os-btn-main{background:var(--navy);border-color:var(--navy)}

@media (min-width:760px){
  .style-mare .thumb{width:104px;height:104px}
}
