*{box-sizing:border-box}html{background:#0b1711;color:#f3f7eb}body{margin:0;font:16px system-ui,-apple-system,Segoe UI,sans-serif;background:#0b1711;color:#f3f7eb;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:#bded71}.wrap{max-width:1050px;margin:auto;padding:18px}header{background:linear-gradient(120deg,#14291c,#274e2b);border-bottom:2px solid #b7ee65;padding:16px}.brand{max-width:1050px;margin:auto;display:flex;align-items:center;gap:15px}.brand img{width:82px;height:82px;object-fit:cover;border-radius:50%;border:4px solid #9dd85a;background:#000}.brand h1{margin:0;color:#c7ff7b;letter-spacing:2px;font-size:clamp(24px,5vw,38px)}.muted{color:#b9cab7}.sub{font-size:13px;color:#d7e8cb}h2{font-size:25px}.tabs{display:flex;gap:9px;overflow-x:auto;padding:9px 0 14px;scrollbar-width:thin}.tabs button{flex-shrink:0}.btn,button{background:#264330;color:#f8fff0;border:1px solid #55765b;border-radius:12px;padding:10px 14px}.active,.primary{background:#b9ef69;color:#10220f;border-color:#b9ef69;font-weight:750}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(255px,1fr));gap:15px}.card{background:#1b3021;border:1px solid #3b6042;border-radius:18px;overflow:hidden}.card .details{padding:15px}.card img{width:100%;height:175px;object-fit:cover;background:#243b2b}.card h3{margin:6px 0}.price{font-size:22px;color:#c2f876;font-weight:800}.tag{font-size:12px;color:#d6efc3;border:1px solid #58795c;padding:3px 7px;border-radius:20px;display:inline-block}.toolbar{display:flex;flex-wrap:wrap;gap:9px;margin:17px 0}.input,select,textarea,input{background:#14251a;border:1px solid #608269;border-radius:10px;padding:11px;color:white;max-width:100%}.search{width:100%;margin:12px 0 20px}.note,.hero{background:#203526;padding:18px;border-radius:18px;margin:18px 0;border:1px solid #4c7854}.hero{position:relative;overflow:hidden;background:radial-gradient(circle at right top,rgba(133,208,91,.2),transparent 45%),#172e1e}.hero:after{content:'❧';position:absolute;right:15px;top:-65px;font-size:185px;color:#68b35f;opacity:.15;pointer-events:none}.hero>*{position:relative;z-index:1}.actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.actions button{font-size:13px;padding:8px}.danger{color:#ffb9b5;border-color:#b56e68}.row{display:flex;justify-content:space-between;gap:12px;align-items:center}.group{color:#c0f56f;margin:22px 0 12px;font-size:20px}dialog{background:#14251a;color:#f8fff0;border:1px solid #93c075;border-radius:18px;padding:20px;width:min(95vw,540px);max-height:92vh;overflow:auto}dialog::backdrop{background:#000b}label{display:block;margin:11px 0 5px;font-size:14px}dialog input,dialog select,dialog textarea{display:block;width:100%}.hide{display:none!important}.preview{width:100%;max-height:220px;object-fit:contain;margin:10px 0;border-radius:12px}.status{min-height:24px;color:#cefa83}.footer{padding:25px;text-align:center;color:#adbcac}.adminline{display:flex;justify-content:space-between;align-items:center;gap:12px}.kicker{color:#b9ef69;letter-spacing:.12em;text-transform:uppercase;font-weight:700;font-size:12px}@media(max-width:600px){.wrap{padding:13px}.brand img{height:66px;width:66px}.cards{grid-template-columns:1fr}.card{display:flex}.card img{width:125px;height:auto;min-height:155px;flex-shrink:0}.card .details{padding:12px;flex:1}.card h3{font-size:16px}.actions button{padding:7px}.brand{gap:10px}}
/* Correzioni responsive per smartphone — Tartaruga */
html,body{width:100%;max-width:100%;overflow-x:hidden;-webkit-text-size-adjust:100%;text-size-adjust:100%}
header,.wrap,main,.note,.hero,.card,.details{min-width:0}
.brand>div{min-width:0}.brand h1{overflow-wrap:anywhere}
#login{max-width:520px;margin:clamp(12px,4vh,48px) auto 0}
#login .note{width:100%;margin:0 auto;padding:clamp(20px,4vw,30px)}
#login h2{margin:0 0 14px;line-height:1.2}
#loginForm{width:100%;display:grid;gap:14px;margin-top:20px}
#loginForm label{display:flex;flex-direction:column;align-items:stretch;gap:7px;margin:0;font-size:15px}
#loginForm input{display:block;width:100%;min-width:0;max-width:100%;height:48px;font-size:16px;margin:0}
#loginForm p{margin:3px 0 0}
#loginForm button{width:100%;min-height:47px}
.adminline>*{min-width:0}
@media(max-width:600px){
 header{padding:12px 14px}.brand{gap:11px}.brand img{width:58px;height:58px;border-width:3px;flex:0 0 58px}
 .brand h1{font-size:clamp(24px,7vw,32px);letter-spacing:.05em}.sub{font-size:12px}
 .wrap{width:100%;max-width:100%;padding:12px 14px 36px}
 #login{width:100%;margin:14px auto 0}#login .note{padding:20px 16px;border-radius:16px}
 #login h2{font-size:clamp(22px,6vw,27px)}#login p{line-height:1.5}
 .toolbar{gap:8px}.toolbar>*{flex:1 1 auto;text-align:center}
 .tabs{max-width:100%;margin-right:0}.cards{grid-template-columns:minmax(0,1fr)}
 .card{min-width:0}.card .details{min-width:0;overflow-wrap:anywhere}
 .card img{width:110px;min-width:110px;max-width:32%;object-fit:cover}
 .adminline{align-items:flex-start;flex-wrap:wrap}
 dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:16px}
 .actions button{min-height:40px}
}
@media(max-width:375px){.card img{width:88px;min-width:88px}.brand h1{font-size:23px}}

/* Selettore bandierine clienti, discreto e accessibile */
.brand{position:relative}.language-picker{position:relative;margin-left:auto;flex:0 0 auto;z-index:20}.language-button{display:flex;align-items:center;gap:6px;justify-content:center;padding:7px 10px;min-width:53px;min-height:40px;font-size:20px;background:#152e1b;border-color:#65835d;line-height:1}.language-button .chevron{font-size:13px;color:#d4eabd}.language-options{position:absolute;right:0;top:calc(100% + 7px);display:flex;gap:3px;padding:6px;background:#14291c;border:1px solid #63835d;border-radius:12px;box-shadow:0 9px 30px #0008;white-space:nowrap}.language-options button{font-size:20px;min-width:40px;min-height:40px;padding:6px;border:none;background:transparent}.language-options button:hover,.language-options button[aria-pressed="true"]{background:#315b37}.language-button:focus-visible,.language-options button:focus-visible{outline:2px solid #c7ff7b;outline-offset:2px}
@media(max-width:600px){.brand h1{font-size:clamp(19px,5.8vw,30px)}.brand .sub{font-size:11px}.language-button{min-width:45px;padding:6px;font-size:18px}.language-options button{font-size:18px;min-width:38px}}
