/* Common John Brewing Co. age-verification overlay */
html.cjbc-age-open { overflow: hidden; }
#cjbc-age-gate { position: fixed; inset: 0; z-index: 2147483647; background: #070707; display: flex; align-items: center; justify-content: center; padding: 20px; overflow-y: auto; box-sizing: border-box; font-family: 'Brandon Grotesque', Montserrat, Arial, sans-serif; }
#cjbc-age-gate *, #cjbc-age-gate *::before, #cjbc-age-gate *::after { box-sizing: border-box; }
.cjbc-age-panel { width: 100%; max-width: 430px; padding: 30px 26px; text-align: center; color: #fff; background: #171717; border: 1px solid #555; box-shadow: 0 18px 60px rgba(0,0,0,.5); }
.cjbc-age-logo { display: block; width: min(220px,80%); max-height: 175px; object-fit: contain; margin: 0 auto 20px; }
.cjbc-age-panel h2 { margin: 10px 0 12px; font-size: clamp(24px,5vw,34px); line-height: 1.2; color: #fff; }
.cjbc-age-panel p { font-size: 15px; line-height: 1.55; color: #ddd; margin: 0 0 24px; }
.cjbc-age-panel button { display: block; width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #d2693d; font: inherit; font-weight: 700; letter-spacing: .06em; cursor: pointer; margin: 0 0 12px; }
#cjbc-age-yes { background: #bd4c29; color: white; }
#cjbc-age-no { background: transparent; color: #fff; border-color: #888; }
#cjbc-age-gate button:focus-visible { outline: 3px solid #f6bb67; outline-offset: 3px; }
.cjbc-age-panel .cjbc-age-note { margin: 20px 0 0; font-size: 12px; color: #bbb; }

html.cjbc-age-pending body > :not(#cjbc-age-gate) { visibility: hidden !important; }
.cjbc-age-fields { display:grid; grid-template-columns:1fr 1fr 1.4fr; gap:10px; margin-bottom:12px; text-align:left; }
.cjbc-age-fields label { font-size:13px; color:#ddd; }
.cjbc-age-fields input { display:block; width:100%; min-width:0; margin-top:6px; padding:12px 8px; background:#fff; color:#111; border:1px solid #aaa; font:inherit; font-size:16px; }
#cjbc-age-error { color:#ffbd93; margin:0 0 10px; }
.cjbc-age-links { display:flex; justify-content:center; gap:20px; margin-top:14px; }
.cjbc-age-links a { color:#fff; text-decoration:underline; padding:8px; }
#cjbc-age-form[hidden] { display:none; }
