/* Shared public header: keep each region within its own column. */
.topbar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:24px;height:88px;padding:0 clamp(20px,3vw,52px);isolation:isolate}
.topbar>.brand{min-width:0;flex-shrink:0;width:210px;margin:0;letter-spacing:normal}
.topbar .brand-logo{display:block;width:100%;max-width:100%;height:auto}
.topbar nav{display:flex;justify-content:center;align-items:center;gap:clamp(14px,1.3vw,24px);min-width:0;margin:0;padding:0;font-size:13px;line-height:1.3}
.topbar nav a{display:block;white-space:nowrap;padding:12px 0}
.topbar .account-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin:0;min-width:0;white-space:nowrap}
.topbar .login-link{font-size:12px;line-height:1.3;padding:10px 0;white-space:nowrap}
.topbar .account-actions .button-small,.topbar .contact-configure{font-size:11px;line-height:1.3;padding:13px 15px;white-space:nowrap;min-height:42px}
.topbar .button-small:after{content:none}
.topbar .cart-button{font-size:12px;line-height:1.3;white-space:nowrap;padding:8px 0 8px 12px;min-height:42px}
.topbar .cart-button b{font-size:11px;margin-left:5px;min-width:22px}
.menu-toggle{display:none;position:relative;border:1px solid var(--line);background:transparent;color:var(--ink);width:44px;height:44px;padding:10px;cursor:pointer;align-items:center;justify-content:center;gap:5px;border-radius:2px}
.menu-toggle span{display:block;width:20px;height:2px;background:currentColor;flex-shrink:0}
.menu-toggle b{position:absolute;clip:rect(0 0 0 0);clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}
.topbar button:focus-visible,.topbar a:focus-visible{outline:2px solid #827200;outline-offset:5px}
@media(max-width:1350px){
 .topbar{grid-template-columns:minmax(0,1fr) auto auto;gap:18px;height:80px;padding:0 24px}
 .topbar>.brand{width:195px}
 .topbar .menu-toggle{display:flex;flex-direction:column;margin:0}
 .topbar nav{display:none;position:absolute;top:100%;left:0;right:0;background:var(--paper);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px 24px 20px;box-shadow:0 18px 35px rgba(17,17,15,.13);flex-direction:column;align-items:stretch;gap:0;max-height:calc(100dvh - 80px);overflow-y:auto;overscroll-behavior:contain}
 .topbar nav.open{display:flex}
 .topbar nav a{font-size:15px;padding:17px 0;border-bottom:1px solid var(--line);white-space:normal}
 .topbar nav a:last-child{border-bottom:0}
 .topbar nav a:hover{opacity:1;color:#756600}
}
@media(max-width:900px){
 .topbar .account-actions #register-open{font-size:0;padding:12px}
 .topbar .account-actions #register-open:after{content:'Registrati';font-size:11px}
}
@media(max-width:600px){
 .topbar{height:70px;padding:0 12px;gap:8px}
 .topbar>.brand{width:clamp(118px,34vw,165px)}
 .topbar .menu-toggle{width:40px;height:40px}
 .topbar .account-actions{gap:8px}
 .topbar .account-actions #register-open,.topbar .contact-configure{display:none}
 .topbar .account-actions .login-link{display:block;font-size:11px;max-width:65px;overflow:hidden;text-overflow:ellipsis;padding:10px 0}
 .topbar .cart-button{font-size:0;padding:5px 0 5px 8px;min-width:32px}
 .topbar .cart-button b{font-size:11px;margin:0}
 .topbar nav{padding:8px 20px 16px;max-height:calc(100dvh - 70px)}
 .topbar nav a{font-size:14px;padding:16px 0}
 .topbar.contact-topbar{grid-template-columns:minmax(0,1fr) auto}
}
.auth-form .document-upload{margin:18px 0;padding:16px;border:1px dashed #8d8c84;background:#f7f6f1}.auth-form .document-upload input{background:#fff}.auth-form .document-upload small{font-size:.75rem;line-height:1.45;color:var(--muted);font-weight:500}
.auth-form .password-recovery{font-size:13px;line-height:1.6;margin:18px 0}.auth-form .password-recovery a{font-weight:800;text-decoration:underline;text-underline-offset:4px}
.bank-instructions{padding:18px;border:1px solid var(--line);background:var(--paper);margin:20px 0;overflow-wrap:anywhere}
