.ags-guest-checkout-gate{margin:0 auto 28px;max-width:1180px;display:grid;grid-template-columns:auto 1fr auto;gap:20px;align-items:center;padding:24px;border:1px solid rgba(77,202,244,.28);border-radius:22px;background:linear-gradient(135deg,rgba(8,27,38,.98),rgba(7,16,24,.98));box-shadow:0 18px 50px rgba(0,0,0,.22);color:#e9f8fc}
.ags-guest-checkout-gate-icon{width:58px;height:58px;border-radius:17px;display:grid;place-items:center;background:linear-gradient(145deg,#39d2f7,#6676ff);font-size:25px;box-shadow:0 8px 25px rgba(50,185,230,.2)}
.ags-guest-checkout-gate-copy span,.ags-custom-order-login-gate>span,.ags-tf2-checkout-box>div>span{font-size:10px;letter-spacing:.22em;color:#59d8fa;font-weight:800}.ags-guest-checkout-gate-copy h2,.ags-custom-order-login-gate h1,.ags-custom-order-login-gate h2{margin:5px 0 7px;font-size:23px}.ags-guest-checkout-gate-copy p,.ags-custom-order-login-gate p,.ags-tf2-checkout-box p{margin:0;color:#8ca8b4;line-height:1.9}.ags-guest-checkout-gate-actions{display:flex;flex-direction:column;gap:9px;min-width:190px}.ags-guest-checkout-login,.ags-custom-order-login-gate>a{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:13px 18px;border-radius:13px;background:linear-gradient(135deg,#41d7f7,#6c76ff);color:#041018!important;font-weight:900;text-decoration:none!important}.ags-guest-checkout-back{font-size:12px;text-align:center;color:#9bb6c0;text-decoration:none}.ags-custom-order-login-gate{max-width:900px;margin:70px auto;padding:42px;border:1px solid rgba(77,202,244,.25);border-radius:26px;background:linear-gradient(145deg,#081b26,#07131d);text-align:center;color:#eefbff;box-shadow:0 20px 60px rgba(0,0,0,.3)}.ags-custom-order-login-gate h1,.ags-custom-order-login-gate h2{font-size:29px;margin-top:9px}.ags-custom-order-login-gate p{max-width:720px;margin:0 auto 25px}.ags-custom-order-login-gate>a{display:inline-flex}.ags-tf2-checkout-box{margin:22px 0;padding:22px;border:1px solid rgba(77,202,244,.22);border-radius:18px;background:#071721;color:#eafaff}.ags-tf2-checkout-box h3{margin:5px 0 6px}.ags-tf2-checkout-box .form-row{margin-top:16px}.ags-tf2-checkout-box input{background:#06121a!important;color:#eafaff!important;border-color:#214252!important}.ags-tf2-add-to-cart{width:100%;margin-top:14px}.ags-guest-checkout .woocommerce-checkout-review-order,.ags-guest-checkout form.checkout_coupon,.ags-guest-checkout form.login{display:none}.ags-guest-checkout .checkout.woocommerce-checkout{display:none}
@media(max-width:800px){.ags-guest-checkout-gate{grid-template-columns:1fr;text-align:center}.ags-guest-checkout-gate-icon{margin:auto}.ags-guest-checkout-actions{width:100%}.ags-guest-checkout-gate-actions{min-width:0}.ags-custom-order-login-gate{margin:35px 12px;padding:30px 20px}.ags-custom-order-login-gate h2{font-size:23px}}

/* Custom-order sign-in gate: clearer Persian type scale and stronger contrast. */
.ags-custom-order-login-gate,
.ags-custom-order-login-gate *{font-family:Estedad,Vazirmatn,IRANSansX,"Segoe UI",Tahoma,Arial,sans-serif!important}
.ags-custom-order-login-gate>span{display:inline-flex;align-items:center;padding:6px 12px;border:1px solid rgba(89,216,250,.22);border-radius:999px;background:rgba(89,216,250,.07);font-size:12px!important;font-weight:800;letter-spacing:0!important;line-height:1.7;color:#73e2ff}
.ags-custom-order-login-gate h1,
.ags-custom-order-login-gate h2{max-width:1000px;margin:14px auto 12px!important;color:#f1f8fc;font-size:clamp(28px,2.1vw,34px)!important;font-weight:850!important;line-height:1.5!important;letter-spacing:-.02em;text-wrap:balance}
.ags-custom-order-login-gate p{max-width:800px!important;margin:0 auto 27px!important;color:#b7cbd5!important;font-size:17px!important;font-weight:500!important;line-height:1.95!important;text-wrap:pretty}
.ags-custom-order-login-gate>a{min-height:54px;padding:12px 22px;font-size:16px!important;font-weight:850!important;line-height:1.7!important}
.ags-custom-order-login-gate>a b{font-size:18px!important;line-height:1.5!important}
@media(max-width:800px){.ags-custom-order-login-gate>span{font-size:11px!important}.ags-custom-order-login-gate h1,.ags-custom-order-login-gate h2{font-size:clamp(25px,6vw,30px)!important;line-height:1.55!important}.ags-custom-order-login-gate p{font-size:15.5px!important;line-height:1.9!important}.ags-custom-order-login-gate>a{width:100%;max-width:360px}}
/* Beat the generic mobile content type scale, which is intentionally compact. */
@media(max-width:1100px),(max-device-width:1100px),(pointer:coarse) and (hover:none){html body main#ags-main-content.ags-page-content .ags-custom-order-login-gate h1,html body main#ags-main-content.ags-page-content .ags-custom-order-login-gate h2{font-size:clamp(25px,6vw,32px)!important;line-height:1.55!important;letter-spacing:0!important}html body main#ags-main-content.ags-page-content .ags-custom-order-login-gate p{font-size:clamp(15px,4vw,16px)!important;line-height:1.9!important}}

/* Keep this account gate below the fixed site header on desktop and mobile. */
html body main#ags-main-content.ags-page-content > .ags-custom-order-login-gate{margin:calc(40px + var(--wp-admin--admin-bar--height,0px)) auto 70px!important}
@media(max-width:800px){html body main#ags-main-content.ags-page-content > .ags-custom-order-login-gate{margin:calc(24px + var(--wp-admin--admin-bar--height,0px)) 12px 35px!important}}
