/*
Theme Name: L'Orso in Teglia
Theme URI: https://www.orsomessina.com
Author: L'Orso in Teglia
Description: Tema su misura per L'Orso in Teglia, pizza in teglia a Messina. Pizze, prodotti, premi, orari e foto si gestiscono dal pannello.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: orso
*/
:root{--y:#F9BE00;--bg:#0B0B0B;--bg2:#121212;--card:#161616;--cream:#F5F1DC;--line:rgba(245,241,220,.12);--line2:rgba(245,241,220,.15);--muted:rgba(255,255,255,.85);--muted2:rgba(255,255,255,.7)}
*{box-sizing:border-box}
html,body{background:var(--bg)}
body{margin:0;font-family:'Montserrat',sans-serif;color:#fff;-webkit-font-smoothing:antialiased}
a{color:var(--y);text-decoration:none}
a:hover{color:#fff}
img{max-width:100%}
.ot-wrap{max-width:1200px;margin-left:auto;margin-right:auto;padding-left:24px;padding-right:24px}
.ot-wrap.ot-narrow{max-width:1000px}

/* Header */
.ot-header{position:sticky;top:0;z-index:10;background:rgba(11,11,11,.94);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.admin-bar .ot-header{top:32px}
@media (max-width:782px){.admin-bar .ot-header{top:46px}}
.ot-header__top{padding-top:14px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.ot-logo img{height:44px;display:block}
.ot-header__actions{display:flex;align-items:center;gap:10px}
.ot-lang{display:flex;list-style:none;margin:0;padding:0;border:1px solid rgba(245,241,220,.3);border-radius:999px;overflow:hidden}
.ot-lang a{display:block;padding:8px 12px;font-weight:700;font-size:13px;color:#fff;text-transform:uppercase}
.ot-lang .current-lang a{background:var(--cream);color:#111}
.ot-nav{padding-top:10px}
.ot-nav__list{display:flex;gap:4px;list-style:none;margin:0;padding:0 0 10px;overflow-x:auto;scrollbar-width:none}
.ot-nav__list::-webkit-scrollbar{display:none}
.ot-nav__list a{display:block;padding:9px 16px;border-radius:999px;color:#fff;font-weight:600;font-size:14px;white-space:nowrap}
.ot-nav__list a:hover{color:var(--y)}
.ot-nav__list .current-menu-item>a,.ot-nav__list .current_page_item>a{background:var(--y);color:#111}

/* Bottoni */
.ot-btn{display:inline-flex;align-items:center;justify-content:center;background:var(--y);color:#111;border:0;border-radius:999px;padding:15px 26px;font:700 16px 'Montserrat',sans-serif;cursor:pointer;white-space:nowrap}
.ot-btn:hover{background:#fff;color:#111}
.ot-btn--sm{padding:11px 20px;font-size:14px}
.ot-btn--lg{padding:16px 28px}
.ot-btn--ghost{background:transparent;color:#fff;border:1.5px solid rgba(245,241,220,.5)}
.ot-btn--ghost:hover{background:transparent;border-color:var(--y);color:var(--y)}
.ot-btn--dark{background:#111;color:#fff}
.ot-btn--dark:hover{background:#000;color:#fff}
.ot-btn--outline{background:transparent;color:var(--y);border:1.5px solid var(--y)}
.ot-row{display:flex;flex-wrap:wrap;gap:12px}

/* Home */
.ot-hero{padding-top:56px;padding-bottom:40px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:40px;align-items:center}
.ot-hero__text{display:flex;flex-direction:column;gap:22px}
.ot-badge{align-self:flex-start;display:flex;align-items:center;gap:10px;background:rgba(249,190,0,.12);border:1.5px solid var(--y);border-radius:999px;padding:8px 16px 8px 10px;color:var(--y);font-weight:700;font-size:13px;letter-spacing:.04em}
.ot-badge span{width:24px;height:24px;flex:none;border-radius:50%;background:var(--y);color:#111;display:flex;align-items:center;justify-content:center;font-size:13px}
.ot-kicker{font-size:14px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--muted2)}
.ot-hero__title{margin:0;font-size:clamp(40px,6vw,72px);font-weight:800;line-height:1;letter-spacing:-.02em;text-wrap:balance}
.ot-lead{margin:0;font-size:19px;line-height:1.5;color:var(--muted);max-width:560px;text-wrap:pretty}
.ot-status{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:600}
.ot-status__dot{width:10px;height:10px;border-radius:50%;background:#666}
.ot-status.is-open .ot-status__dot{background:#5BC46A}
.ot-status.is-closed .ot-status__dot{background:#E25B4A}
.ot-hero__media{aspect-ratio:4/3;width:100%;min-width:0;position:relative;border-radius:6px;overflow:hidden;background:var(--card)}
.ot-hero__media img,.ot-hero__media video,.ot-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.ot-band{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--bg2)}
.ot-pillars-strip{padding-top:40px;padding-bottom:40px;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:28px}
.ot-pill{display:flex;gap:16px;align-items:flex-start}
.ot-pill img{width:72px;height:52px;object-fit:cover;border-radius:4px;flex:none}
.ot-pill>div{display:flex;flex-direction:column;gap:4px}
.ot-pill__t,.ot-pillar__t{font-size:16px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--y)}
.ot-pill__d,.ot-pillar__d{font-size:15px;line-height:1.45;color:var(--muted)}
.ot-sec-guides{padding-top:40px}
.ot-guides{background:#fff;border-radius:8px;padding:24px 28px;display:flex;flex-direction:column;gap:16px}
.ot-guides__t{font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#111}
.ot-guides__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:20px;align-items:center}
.ot-guides__grid img{width:100%;height:64px;object-fit:contain;display:block}
.ot-section{padding-top:64px;padding-bottom:64px;display:flex;flex-direction:column;gap:28px}
.ot-section--end{padding-bottom:64px}
.ot-sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap}
.ot-link{font-weight:700;font-size:16px}

/* Tipografia */
.ot-h1{margin:0;font-size:clamp(34px,5vw,56px);font-weight:700;letter-spacing:.02em;text-transform:uppercase;color:var(--y);line-height:1.05}
.ot-h2{margin:0;font-size:clamp(28px,4vw,40px);font-weight:700;letter-spacing:.02em;text-transform:uppercase;line-height:1.1}
.ot-h2--y{color:var(--y)}
.ot-h3{margin:0;font-size:clamp(24px,3vw,32px);font-weight:700;letter-spacing:.02em;text-transform:uppercase}
.ot-mt{margin-top:24px}
.ot-intro{display:flex;flex-direction:column;gap:10px}
.ot-intro p,.ot-intro__c p{margin:0;font-size:18px;line-height:1.5;color:var(--muted);max-width:640px}
.ot-content{font-size:19px;line-height:1.6;color:rgba(255,255,255,.88)}
.ot-content p{margin:0 0 1em}
.ot-note{margin:0;font-size:14px;color:var(--muted2)}

/* Pagine */
.ot-page{padding-top:48px;padding-bottom:72px;display:flex;flex-direction:column;gap:32px}
.ot-page--loose{gap:48px}
.ot-grid{display:grid;gap:16px}
.ot-grid--260{grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr))}
.ot-grid--300{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:14px}
.ot-gap20{gap:20px}
.ot-col{display:flex;flex-direction:column;gap:24px;min-width:0}
.ot-col--gap{gap:28px}
.ot-col--center{align-items:center;gap:14px;font-size:16px}
.ot-split{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:48px;align-items:center}
.ot-split--top{align-items:start;gap:40px}

/* Card pizze */
.ot-card{background:var(--card);border:1px solid var(--line);border-radius:6px;overflow:hidden;display:flex;flex-direction:column;min-width:0}
.ot-card__img{aspect-ratio:4/3;position:relative;width:100%;background:#1c1c1c}
.ot-card__body{padding:18px;display:flex;flex-direction:column;gap:8px;flex:1}
.ot-name{font-size:20px;font-weight:700;color:var(--y)}
.ot-ing{font-size:15px;line-height:1.45;color:var(--muted);text-wrap:pretty}
.ot-price{font-size:16px;font-weight:700;white-space:nowrap}
.ot-price span{font-weight:500;font-size:13px}
.ot-card .ot-price{margin-top:auto}
.ot-mcard{background:var(--card);border:1px solid var(--line);border-radius:6px;padding:20px;display:flex;flex-direction:column;gap:8px}
.ot-mcard__top{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.ot-mcard--y{background:var(--y);color:#111;border:0}
.ot-mcard--y .ot-name{color:#111;font-weight:800}
.ot-mcard--y .ot-ing{color:#111;font-weight:500}
.ot-search{width:100%;max-width:420px;background:var(--card);border:1.5px solid rgba(245,241,220,.25);border-radius:999px;padding:14px 20px;color:#fff;font:500 16px 'Montserrat',sans-serif;outline:none}
.ot-search:focus{border-color:var(--y)}
.ot-search::placeholder{color:rgba(255,255,255,.45)}
.ot-empty{display:none;font-size:17px;color:var(--muted2)}
.ot-hidden{display:none!important}

/* Carta fedeltà */
.ot-fid{background:var(--y);color:#111;border-radius:8px;padding:clamp(28px,4vw,48px);display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:28px;align-items:center}
.ot-fid__txt{display:flex;flex-direction:column;gap:14px}
.ot-fid p{margin:0;font-size:18px;line-height:1.5;font-weight:500}
.ot-qr{justify-self:center;background:#fff;padding:12px;border-radius:6px}
.ot-qr img{width:160px;height:160px;display:block;image-rendering:pixelated}
.ot-qr--lg{padding:16px;border-radius:8px}
.ot-qr--lg img{width:min(70vw,260px);height:min(70vw,260px)}
.ot-steps{display:flex;flex-direction:column;gap:18px}
.ot-step{display:flex;gap:16px;align-items:center}
.ot-step__n{width:44px;height:44px;flex:none;border-radius:50%;background:var(--y);color:#111;font-size:20px;font-weight:700;display:flex;align-items:center;justify-content:center}
.ot-step__t{font-size:18px;font-weight:700;color:var(--y)}
.ot-step__d{font-size:16px;color:var(--muted)}

/* Prodotti */
.ot-prod{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,400px),1fr));gap:36px;align-items:center;padding-top:40px;border-top:1px solid var(--line2)}
.ot-prod__img{aspect-ratio:4/3;width:100%;min-width:0;position:relative;border-radius:6px;overflow:hidden;background:var(--card)}
.ot-prod__txt{display:flex;flex-direction:column;gap:18px;min-width:0}
.ot-prod__head{display:flex;align-items:baseline;gap:14px}
.ot-prod__num{font-size:18px;font-weight:800;color:rgba(249,190,0,.6)}
.ot-prod__txt p{margin:0;font-size:18px;line-height:1.5;color:rgba(255,255,255,.88);text-wrap:pretty}
.ot-specs{margin:0}
.ot-spec{display:grid;grid-template-columns:minmax(110px,150px) minmax(0,1fr);gap:16px;padding:12px 0;border-top:1px solid var(--line);font-size:16px;line-height:1.4}
.ot-spec dt{font-weight:700;color:var(--muted2);text-transform:uppercase;letter-spacing:.06em;font-size:13px;padding-top:2px}
.ot-spec dd{margin:0;font-weight:600}
.ot-pillars{grid-column:1/-1;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:20px}
.ot-pillar{display:flex;flex-direction:column;gap:10px;min-width:0}
.ot-pillar img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:6px;display:block}

/* Premi */
.ot-award{display:grid;grid-template-columns:minmax(64px,96px) minmax(0,1fr) 96px;gap:20px;align-items:center;padding:22px 0;border-top:1px solid var(--line2)}
.ot-award__y{font-size:clamp(24px,3.6vw,34px);font-weight:800;color:var(--y);line-height:1}
.ot-award__txt{display:flex;flex-direction:column;gap:6px;min-width:0}
.ot-award__t{font-size:clamp(19px,2.4vw,25px);font-weight:700;line-height:1.2;text-wrap:balance}
.ot-award__g{font-size:15px;font-weight:600;color:var(--y)}
.ot-award__d{font-size:16px;line-height:1.45;color:rgba(255,255,255,.8)}
.ot-award__logo{width:96px;height:96px;background:#fff;border-radius:8px;display:flex;align-items:center;justify-content:center;padding:8px}
.ot-award__logo:empty{background:transparent}
.ot-award__logo img{max-width:100%;max-height:100%;object-fit:contain;display:block}
@media (max-width:560px){.ot-award{grid-template-columns:64px minmax(0,1fr)}.ot-award__logo{grid-column:2;width:72px;height:72px}}

/* Ordina */
.ot-box{border-radius:8px;padding:32px;display:flex;flex-direction:column;gap:14px}
.ot-box--y{background:var(--y);color:#111}
.ot-box--dark{background:var(--card);border:1px solid var(--line2)}
.ot-box__t{font-size:24px;font-weight:700;letter-spacing:.02em;text-transform:uppercase}
.ot-box--dark .ot-box__t{color:var(--y)}
.ot-box__d{font-size:17px;line-height:1.5;font-weight:500}
.ot-box--dark .ot-box__d{color:var(--muted);font-weight:400}
.ot-box__cta{margin-top:auto}

/* Dove siamo */
.ot-info{display:flex;flex-direction:column;gap:10px}
.ot-label{font-size:14px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted2)}
.ot-big{font-size:20px;font-weight:600}
.ot-hours{display:flex;justify-content:space-between;gap:16px;font-size:19px;padding-bottom:10px;border-bottom:1px solid var(--line2)}
.ot-hours:last-child{border-bottom:0}
.ot-hours b{color:var(--y)}
.ot-hours span{font-weight:600}
.ot-map{width:100%;min-height:420px;border:0;border-radius:8px;filter:grayscale(1) contrast(1.1)}

/* Chi siamo */
.ot-about{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr));gap:40px;align-items:center}
.ot-about__img{aspect-ratio:4/5;width:100%;position:relative;border-radius:6px;overflow:hidden;background:var(--card)}
.ot-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:12px}
.ot-gallery figure{margin:0;aspect-ratio:1;position:relative;border-radius:6px;overflow:hidden;background:var(--card)}

/* Barra cellulare e footer */
.ot-mobilebar{display:none}
@media (max-width:719px){
  .ot-mobilebar{position:sticky;bottom:0;z-index:10;display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:rgba(11,11,11,.96);border-top:1px solid var(--line2)}
  .ot-mobilebar .ot-btn{min-height:50px}
}
.ot-footer{border-top:1px solid var(--line);background:var(--bg2)}
.ot-footer__grid{padding-top:40px;padding-bottom:40px;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:28px;font-size:15px;line-height:1.6}
.ot-footer__grid strong{display:block;color:var(--y)}
.ot-footer__grid a{display:block}
.ot-footer__logo{width:150px;display:block}
.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}
