html.gg-gate-open, html.gg-gate-open body { overflow: hidden !important; }
.gg-gate[hidden] { display: none !important; }
.gg-gate { position: fixed; inset: 0; z-index: 2147483000; display: grid; place-items: center; padding: 24px; }
.gg-gate__backdrop { position: absolute; inset: 0; background: rgba(8, 12, 20, .78); backdrop-filter: blur(5px); }
.gg-gate__panel { position: relative; width: min(560px, 100%); background: #fff; color: #111827; border-radius: 16px; padding: 32px; box-shadow: 0 24px 80px rgba(0,0,0,.35); }
.gg-gate__panel h2 { margin: 0 0 14px; font-size: clamp(24px, 5vw, 34px); line-height: 1.15; }
.gg-gate__panel p { margin: 0 0 24px; line-height: 1.65; }
.gg-gate__panel button { width: 100%; min-height: 48px; cursor: pointer; }
.gg-gate__panel button:disabled { opacity: .6; cursor: wait; }
.gg-attestation-field { margin-top: 16px; }

.gg-gate__field { margin: 0 0 16px; }
.gg-gate__field label { display: block; margin-bottom: 6px; }
.gg-gate__field label span { font-weight: 400; color: #6b7280; }
.gg-gate__field select, .gg-gate__field input[type="text"] { width: 100%; min-height: 44px; padding: 8px 10px; }
.gg-gate__certification { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 18px; line-height: 1.45; }
.gg-gate__certification input { margin-top: 4px; flex: 0 0 auto; }
.gg-gate__error { margin: 0 0 14px !important; color: #b91c1c; font-weight: 600; }
.gg-gate__logo { display: block; max-height: 56px; max-width: 60%; margin: 0 0 14px; }
.gg-gate__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.gg-gate__actions button { flex: 1 1 160px; width: auto; }
.gg-gate__panel { max-height: calc(100vh - 48px); overflow-y: auto; }
.gg-gate__certification { margin: 4px 0 12px; }

/* THE SIGNED ATTESTATION (Sanchez, Oct 24 2026): on the Alexios gate and at checkout. Takes the theme's own fonts and colours. */
.gg-signature { margin: 12px 0; }
.gg-signature__statement { margin: 0 0 6px; }
.gg-signature__name { width: 100%; box-sizing: border-box; min-height: 44px; padding: 8px 10px; font-style: italic; }
.gg-signature__date { margin: 4px 0 0; font-size: .85em; opacity: .8; }

/* THE CHECKOUT BOX (Oct 28 2026). The checkout form stays hidden until the box is finished. */
html.gg-cgate-locked form.checkout,
html.gg-cgate-locked form.woocommerce-checkout,
html.gg-cgate-locked .wp-block-woocommerce-checkout,
html.gg-cgate-locked .woocommerce-form-coupon-toggle,
html.gg-cgate-locked .woocommerce-form-login-toggle { display: none !important; }
html.gg-cgate-locked #order_review { display: none !important; }
