/* AYAZMA v11.15.38 — Account sections and WooCommerce messages, responsive. */
body.woocommerce-account .ayazma-inner{width:min(100% - 28px,1190px);margin-inline:auto;padding-top:22px}
body.woocommerce-account :is(.ayazma-page-content,.woocommerce,.woocommerce-MyAccount-content){min-width:0;max-width:100%;box-sizing:border-box}
/* The theme now uses an accessible hidden h1, not a duplicate visible page heading. */
body.woocommerce-account .woocommerce-MyAccount-navigation{float:none!important;width:100%!important;margin:0 0 18px!important}
body.woocommerce-account .woocommerce-MyAccount-navigation ul{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(145px,1fr))!important;gap:10px!important;list-style:none!important;padding:0!important;margin:0!important}
body.woocommerce-account .woocommerce-MyAccount-navigation li{margin:0!important;min-width:0!important}
body.woocommerce-account .woocommerce-MyAccount-navigation li a{display:flex!important;justify-content:center;align-items:center;min-height:48px;padding:10px 13px!important;background:#fff;color:#315b3b;border:1px solid #dfeade!important;border-radius:14px;font-size:13px;font-weight:750;line-height:1.35;text-align:center;text-decoration:none;white-space:normal;overflow-wrap:anywhere;box-shadow:0 3px 12px rgba(31,73,41,.025)}
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{background:#eaf8e9!important;border-color:#a7d3aa!important;color:#227b36!important;box-shadow:inset 0 0 0 1px #c5e6c5}
body.woocommerce-account .woocommerce-MyAccount-content{float:none!important;width:100%!important;padding:clamp(15px,3vw,27px)!important;background:#fff;border:1px solid #e2ebe0;border-radius:19px;box-shadow:0 12px 32px rgba(20,67,29,.045);overflow-wrap:anywhere}
body.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-info,.woocommerce-message,.woocommerce-error),
body.woocommerce-account .woocommerce-notices-wrapper :is(.woocommerce-info,.woocommerce-message,.woocommerce-error){position:relative;display:flex!important;align-items:center;flex-wrap:wrap;gap:10px 16px;width:100%;max-width:100%;min-width:0;min-height:70px;margin:0 0 17px!important;padding:17px 19px 17px 57px!important;border:1px solid #dcead8!important;border-radius:15px!important;box-sizing:border-box;background:#f3faf2!important;color:#31583a!important;font-size:14px;line-height:1.65;box-shadow:none;overflow-wrap:anywhere}
body.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-info,.woocommerce-message)::before,
body.woocommerce-account .woocommerce-notices-wrapper :is(.woocommerce-info,.woocommerce-message)::before{position:absolute;left:19px;top:50%;transform:translateY(-50%);content:'✓';display:grid;place-items:center;width:25px;height:25px;border-radius:9px;background:#d9efd9;color:#227938;font:800 16px/1 sans-serif}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info::before,
body.woocommerce-account .woocommerce-notices-wrapper .woocommerce-info::before{content:'i';font-family:Georgia,serif;font-style:italic}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-error,
body.woocommerce-account .woocommerce-notices-wrapper .woocommerce-error{background:#fff5f3!important;border-color:#f4d8d2!important;color:#8a382e!important}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-error::before,
body.woocommerce-account .woocommerce-notices-wrapper .woocommerce-error::before{color:#a33b31!important}
body.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-info,.woocommerce-message,.woocommerce-error) :is(a,button),
body.woocommerce-account .woocommerce-notices-wrapper :is(.woocommerce-info,.woocommerce-message,.woocommerce-error) :is(a,button){max-width:100%;white-space:normal}
body.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-info,.woocommerce-message) .button,
body.woocommerce-account .woocommerce-notices-wrapper :is(.woocommerce-info,.woocommerce-message) .button{float:none!important;margin:0 0 0 auto;padding:10px 15px!important;min-height:42px;background:#f58217!important;color:#fff!important;border:0!important;border-radius:11px!important;font-weight:750}
/* Empty order list is a friendly full-width card, not a narrow WooCommerce alert. */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info:has(+ .woocommerce-Button),
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info:has(.woocommerce-Button){border-radius:16px}
body.woocommerce-account .woocommerce-MyAccount-content :is(h2,h3){color:#234c2e;line-height:1.3;letter-spacing:-.015em}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;min-width:0}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;float:none!important;background:#f8fbf7;border:1px solid #e2ebdf;border-radius:16px;padding:18px;box-sizing:border-box}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address address{font-size:13px;line-height:1.8;overflow-wrap:anywhere}
body.woocommerce-account .woocommerce-MyAccount-content :is(input:not([type=checkbox]),select,textarea){width:100%;max-width:100%;min-width:0;box-sizing:border-box;min-height:45px;border:1px solid #dce7da;border-radius:11px;background:#fff}
body.woocommerce-account .woocommerce-MyAccount-content :is(input,select,textarea):focus-visible{outline:2px solid #8cba8d;outline-offset:1px}
body.woocommerce-account .woocommerce-MyAccount-content :is(.form-row-first,.form-row-last){min-width:0}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Button.button,
body.woocommerce-account .woocommerce-MyAccount-content button.button{background:#f58217!important;color:#fff!important;border:0!important;border-radius:11px;min-height:44px}
body.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-orders-table,.woocommerce-table--order-details){width:100%;max-width:100%;border:1px solid #e0e9df;border-radius:14px;border-collapse:separate;border-spacing:0;overflow:hidden}
body.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-orders-table,.woocommerce-table--order-details) th{background:#f3faf2;color:#315e3d;font-size:12px}
body.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-orders-table,.woocommerce-table--order-details) :is(th,td){padding:13px 12px;line-height:1.5}
body.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-orders-table,.woocommerce-table--order-details) :is(th,td):last-child{min-width:0}
body.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-orders-table,.woocommerce-table--order-details) .button{font-size:12px}
@media(max-width:700px){
 body.woocommerce-account .ayazma-inner{width:auto;padding:12px 12px calc(92px + env(safe-area-inset-bottom))!important}
 body.woocommerce-account .woocommerce-MyAccount-navigation ul{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
 body.woocommerce-account .woocommerce-MyAccount-navigation li a{min-height:51px;font-size:12px;padding:10px 8px!important}
 body.woocommerce-account .woocommerce-MyAccount-content{padding:15px!important;border-radius:16px}
 body.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-info,.woocommerce-message,.woocommerce-error),
 body.woocommerce-account .woocommerce-notices-wrapper :is(.woocommerce-info,.woocommerce-message,.woocommerce-error){font-size:12px;line-height:1.65;padding:14px 14px 14px 47px!important;min-height:65px;gap:9px;margin-bottom:14px!important}
 body.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-info,.woocommerce-message)::before,
 body.woocommerce-account .woocommerce-notices-wrapper :is(.woocommerce-info,.woocommerce-message)::before{left:13px;width:24px;height:24px}
 body.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-info,.woocommerce-message) .button,
 body.woocommerce-account .woocommerce-notices-wrapper :is(.woocommerce-info,.woocommerce-message) .button{margin:6px 0 0;width:100%;text-align:center}
 body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses{grid-template-columns:minmax(0,1fr)}
 body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address{padding:15px}
 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 table.woocommerce-orders-table{display:block;width:100%!important;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
 body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table :is(th,td){font-size:12px;white-space:nowrap;padding:11px 9px}
 body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Button.button{width:100%;text-align:center;max-width:100%}
}

/* v11.15.39 — Fix broken My Account notice/action layout on desktop and mobile. */
body.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-info,.woocommerce-message,.woocommerce-error):has(.button),
body.woocommerce-account .woocommerce-notices-wrapper :is(.woocommerce-info,.woocommerce-message,.woocommerce-error):has(.button){
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  column-gap:16px!important;
  row-gap:10px!important;
}
body.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-info,.woocommerce-message,.woocommerce-error):has(.button) .button,
body.woocommerce-account .woocommerce-notices-wrapper :is(.woocommerce-info,.woocommerce-message,.woocommerce-error):has(.button) .button,
body.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-info,.woocommerce-message,.woocommerce-error):has(.woocommerce-Button.button) .woocommerce-Button.button,
body.woocommerce-account .woocommerce-notices-wrapper :is(.woocommerce-info,.woocommerce-message,.woocommerce-error):has(.woocommerce-Button.button) .woocommerce-Button.button{
  grid-column:2!important;
  justify-self:end!important;
  align-self:center!important;
  margin:0!important;
  min-width:120px;
}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .button + *,
body.woocommerce-account .woocommerce-notices-wrapper .woocommerce-info .button + *{margin-top:0!important}

@media (max-width:700px){
  body.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-info,.woocommerce-message,.woocommerce-error):has(.button),
  body.woocommerce-account .woocommerce-notices-wrapper :is(.woocommerce-info,.woocommerce-message,.woocommerce-error):has(.button){
    grid-template-columns:minmax(0,1fr)!important;
  }
  body.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-info,.woocommerce-message,.woocommerce-error):has(.button) .button,
  body.woocommerce-account .woocommerce-notices-wrapper :is(.woocommerce-info,.woocommerce-message,.woocommerce-error):has(.button) .button,
  body.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-info,.woocommerce-message,.woocommerce-error):has(.woocommerce-Button.button) .woocommerce-Button.button,
  body.woocommerce-account .woocommerce-notices-wrapper :is(.woocommerce-info,.woocommerce-message,.woocommerce-error):has(.woocommerce-Button.button) .woocommerce-Button.button{
    grid-column:1!important;
    justify-self:stretch!important;
    width:100%!important;
    min-width:0!important;
    margin-top:4px!important;
  }
}
