/* AYAZMA 11.15.37 — My Account storefront polish (guest + authenticated).
   Scoped to WooCommerce account pages; does not modify the admin/OTP logic. */
body.woocommerce-account .ayazma-inner,
body.woocommerce-account .ayazma-page-content,
body.woocommerce-account .woocommerce,
body.woocommerce-account .woocommerce-MyAccount-content,
body.woocommerce-account .woocommerce-MyAccount-navigation{min-width:0;max-width:100%;box-sizing:border-box}
body.woocommerce-account .ayazma-page-content{width:100%;overflow-wrap:anywhere}
body.woocommerce-account .ayazma-page-content>h1{font-size:clamp(23px,3vw,31px);line-height:1.2;letter-spacing:-.035em;margin:0 0 17px;color:#204b2c}
body.woocommerce-account .ayazma-account-hero{position:relative;min-width:0;margin:0 0 18px;padding:22px 24px;gap:16px;border:1px solid #dbead8;border-radius:20px;box-shadow:0 8px 26px rgba(23,71,32,.045)}
body.woocommerce-account .ayazma-account-hero>div{min-width:0}
body.woocommerce-account .ayazma-account-hero h2{font-size:clamp(22px,3vw,28px);line-height:1.18;letter-spacing:-.025em}
body.woocommerce-account .ayazma-account-hero p{font-size:13px;line-height:1.65}
body.woocommerce-account .woocommerce-MyAccount-navigation{margin:0 0 18px!important}
body.woocommerce-account .woocommerce-MyAccount-navigation ul{margin:0!important;padding:0!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px!important;list-style:none}
body.woocommerce-account .woocommerce-MyAccount-navigation li{width:100%;min-width:0;list-style:none!important;margin:0!important}
body.woocommerce-account .woocommerce-MyAccount-navigation li a{display:flex!important;align-items:center;justify-content:center;text-align:center;min-height:52px;height:100%;padding:12px 10px!important;border:1px solid #dfeadf!important;border-radius:13px!important;font-size:13px;font-weight:750;line-height:1.35;color:#315d3c;background:#fff;overflow-wrap:anywhere;text-decoration:none;transition:background-color .15s,border-color .15s}
body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover{background:#f3faf2}
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{background:#eaf8e9!important;color:#237b36!important;border-color:#a5d5ae!important;box-shadow:inset 0 0 0 1px #c6e4c7}
body.woocommerce-account .woocommerce-MyAccount-content{min-width:0;max-width:100%;margin:0!important;padding:clamp(16px,2.5vw,25px)!important;border-radius:18px!important;border:1px solid #e1eae0!important;box-shadow:0 7px 24px rgba(28,63,33,.04)}
body.woocommerce-account .woocommerce-MyAccount-content :is(p,td,th,a){overflow-wrap:anywhere}
body.woocommerce-account .woocommerce-MyAccount-content p{line-height:1.65}
body.woocommerce-account .woocommerce-MyAccount-content a:not(.button){color:#257f38}
body.woocommerce-account .woocommerce-MyAccount-content .button,
body.woocommerce-account .woocommerce-MyAccount-content button.button,
body.woocommerce-account .woocommerce-MyAccount-content input.button{border:0;border-radius:11px;min-height:43px;padding:10px 15px;color:#fff;background:#f58217;font-weight:750;white-space:normal;text-align:center}
body.woocommerce-account .woocommerce-MyAccount-content :is(input,select,textarea){box-sizing:border-box;max-width:100%;border-radius:10px}
body.woocommerce-account .woocommerce-MyAccount-content :is(.form-row,.woocommerce-input-wrapper){min-width:0}
body.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-Address,.woocommerce-Addresses,.woocommerce-Address-title){min-width:0;max-width:100%}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address{border-radius:14px;background:#f8fbf7;padding:14px;border:1px solid #e5eee3;box-sizing:border-box}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title h2{margin:0;font-size:18px}
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table{border-collapse:separate;border-spacing:0;border:1px solid #e0eae0;border-radius:13px;overflow:hidden;width:100%;table-layout:auto}
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table th{color:#456c4d;background:#f5faf4}
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table :is(th,td){padding:12px 10px;vertical-align:middle}
body.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-message,.woocommerce-info,.woocommerce-error){border-radius:12px;box-sizing:border-box;max-width:100%;line-height:1.5}
/* Guest: use the existing WooCommerce hooks and Netgsm buttons, but present as one coherent card. */
body.woocommerce-account .ayazma-account-sms-only{max-width:740px;margin:0 auto 26px}
body.woocommerce-account .ayazma-account-sms-only .ayazma-guest-intro{padding:20px 24px 10px;text-align:center}
body.woocommerce-account .ayazma-guest-symbol{display:grid;place-items:center;margin:0 auto 12px;width:58px;height:58px;border-radius:18px;background:#eaf7e9;color:#23843a}
body.woocommerce-account .ayazma-guest-symbol svg{width:28px;height:28px}
body.woocommerce-account .ayazma-guest-intro h2{margin:0 0 7px;color:#174a29;font-size:clamp(21px,3.5vw,27px);font-weight:850;letter-spacing:-.025em}
body.woocommerce-account .ayazma-guest-intro p{margin:0;color:#627968;font-size:13px;line-height:1.65}
body.woocommerce-account .ayazma-account-sms-only .ayazma-account-otp-actions{display:flex;flex-direction:column;align-items:stretch;gap:16px;padding:22px;background:#fff;border:1px solid #dcebd8;box-shadow:0 12px 36px rgba(23,65,30,.07);border-radius:20px}
body.woocommerce-account .ayazma-account-sms-only .ayazma-account-otp-actions>div:first-child{text-align:center}
body.woocommerce-account .ayazma-account-sms-only .ayazma-account-otp-actions strong{font-size:17px;line-height:1.4}
body.woocommerce-account .ayazma-account-sms-only .ayazma-account-otp-actions p{margin-top:6px;line-height:1.65}
body.woocommerce-account .ayazma-account-sms-only .ayazma-account-otp-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;width:100%}
body.woocommerce-account .ayazma-account-sms-only .ayazma-account-otp-buttons button{box-sizing:border-box;width:100%!important;min-width:0;min-height:52px;padding:12px 10px;border-radius:12px;font-size:14px;font-weight:800;white-space:normal;line-height:1.35}
body.woocommerce-account .ayazma-account-sms-only .ayazma-account-otp-buttons .ayazma-otp-mode-login{color:#217739;background:#eef8ed;border:1px solid #b6dcba}
body.woocommerce-account .ayazma-account-sms-only .ayazma-account-otp-buttons .ayazma-otp-mode-register{color:#fff;background:#f58217;border:1px solid #f58217}
body.woocommerce-account .ayazma-account-sms-only .ayazma-guest-note{text-align:center;color:#7a8c7d;font-size:12px;line-height:1.5;padding:0 12px 12px}
@media(max-width:700px){
 body.woocommerce-account .ayazma-inner{padding-left:12px!important;padding-right:12px!important;padding-bottom:calc(95px + env(safe-area-inset-bottom))!important}
 body.woocommerce-account .ayazma-page-content>h1{margin:5px 2px 15px;font-size:23px}
 body.woocommerce-account .ayazma-account-hero{padding:16px!important;border-radius:17px;gap:12px;margin-bottom:14px}
 body.woocommerce-account .ayazma-account-avatar{width:48px!important;height:48px!important;border-radius:14px;flex:0 0 48px}
 body.woocommerce-account .ayazma-account-avatar svg{width:25px;height:25px}
 body.woocommerce-account .ayazma-account-hero h2{font-size:21px!important;margin:2px 0 4px!important}
 body.woocommerce-account .ayazma-account-hero p{font-size:12px}
 body.woocommerce-account .woocommerce-MyAccount-navigation ul{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
 body.woocommerce-account .woocommerce-MyAccount-navigation li a{min-height:49px;padding:10px 8px!important;font-size:12px!important;line-height:1.3}
 body.woocommerce-account .woocommerce-MyAccount-content{padding:15px!important;border-radius:15px!important}
 body.woocommerce-account .woocommerce-MyAccount-content :is(.col2-set,.woocommerce-Addresses){display:grid;grid-template-columns:minmax(0,1fr);gap:13px}
 body.woocommerce-account .woocommerce-MyAccount-content :is(.col-1,.col-2){float:none!important;width:100%!important;max-width:100%!important}
 body.woocommerce-account .woocommerce-MyAccount-content :is(.form-row-first,.form-row-last){float:none!important;width:100%!important}
 body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table{display:block;width:100%!important;overflow-x:auto;-webkit-overflow-scrolling:touch;table-layout:auto}
 body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table :is(th,td){white-space:nowrap;font-size:12px;padding:11px 9px}
 body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table .button{min-height:38px}
 body.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-message,.woocommerce-info,.woocommerce-error){padding:13px 14px!important;margin-bottom:14px;font-size:12px}
 body.woocommerce-account .ayazma-account-sms-only .ayazma-guest-intro{padding:15px 12px 6px}
 body.woocommerce-account .ayazma-account-sms-only .ayazma-account-otp-actions{padding:17px!important;border-radius:16px;gap:15px}
 body.woocommerce-account .ayazma-account-sms-only .ayazma-account-otp-buttons{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 body.woocommerce-account .ayazma-account-sms-only .ayazma-account-otp-buttons button{font-size:12px;min-height:54px;padding:10px 7px}
 body.woocommerce-account dialog#ayazma-otp-dialog.ayazma-dialog{box-sizing:border-box;max-width:calc(100vw - 24px);width:calc(100vw - 24px);padding:24px 19px;border-radius:19px}
 body.woocommerce-account dialog#ayazma-otp-dialog.ayazma-dialog :is(input,button){box-sizing:border-box;max-width:100%}
}
@media(max-width:355px){body.woocommerce-account .ayazma-account-sms-only .ayazma-account-otp-buttons{grid-template-columns:1fr}}
