/* V11.11.3 — single account-menu active state and order detail polish */

/* Woo may mark more than one menu item as active for nested endpoints.
   Remove inherited active styling, then apply it only to the matched endpoint. */
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active > a{
 background:transparent!important;color:#142b40!important;box-shadow:none!important;
}
body.woocommerce-account.otel-account-active-dashboard .woocommerce-MyAccount-navigation-link--dashboard > a,
body.woocommerce-account.otel-account-active-orders .woocommerce-MyAccount-navigation-link--orders > a,
body.woocommerce-account.otel-account-active-edit-address .woocommerce-MyAccount-navigation-link--edit-address > a,
body.woocommerce-account.otel-account-active-edit-account .woocommerce-MyAccount-navigation-link--edit-account > a,
body.woocommerce-account.otel-account-active-customer-logout .woocommerce-MyAccount-navigation-link--customer-logout > a,
body.woocommerce-account.otel-account-active-payment-methods .woocommerce-MyAccount-navigation-link--payment-methods > a{
 background:linear-gradient(100deg,#f3e2cc,#f9efe1)!important;
 color:#825024!important;box-shadow:inset 3px 0 0 #b27a43!important;
}

/* Status semantics used consistently on both order list and order details. */
body.woocommerce-account .otel-order-status-label{
 display:inline-flex!important;align-items:center!important;gap:6px!important;
 padding:7px 10px!important;border:1px solid #e6d3b6!important;
 border-radius:999px!important;background:#fff7e9!important;
 color:#885520!important;font-size:12px!important;font-weight:750!important;
 white-space:normal!important;
}
body.woocommerce-account .otel-order-status-label::before{
 content:'';height:7px;width:7px;border-radius:100%;background:#b97b35;flex:none;
}
body.woocommerce-account .otel-order-status-processing,
body.woocommerce-account .otel-order-status-completed{
 background:#eaf7f0!important;color:#26644c!important;border-color:#c5e4d4!important;
}
body.woocommerce-account .otel-order-status-processing::before,
body.woocommerce-account .otel-order-status-completed::before{background:#27865b}
body.woocommerce-account .otel-order-status-failed,
body.woocommerce-account .otel-order-status-cancelled{
 background:#fff0ed!important;color:#9b433d!important;border-color:#efc5c0!important;
}
body.woocommerce-account .otel-order-status-failed::before,
body.woocommerce-account .otel-order-status-cancelled::before{background:#b54c43}

/* Keep WooCommerce's verify-email notice actionable and obvious. */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info{
 display:flex!important;flex-wrap:wrap;align-items:center;gap:12px;
 background:#f2f7fd!important;border:1px solid #c7d9ee!important;
 padding:16px 18px!important;color:#213e59!important;border-radius:16px!important;
}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info::before{position:static!important;margin-right:0}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .button{
 margin-left:auto!important;background:linear-gradient(110deg,#a9673a,#d09a58)!important;
 color:#fff!important;border-radius:11px!important;text-decoration:none!important;
}

/* Compact consistent shipping/billing cards on an order's detailed page only. */
body.woocommerce-account.otel-account-active-orders .woocommerce-MyAccount-content .woocommerce-customer-details .woocommerce-columns{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 align-items:stretch!important;gap:18px!important;margin:18px 0 12px!important;
}
body.woocommerce-account.otel-account-active-orders .woocommerce-MyAccount-content .woocommerce-customer-details .woocommerce-column{
 float:none!important;width:100%!important;min-width:0!important;
 border:1px solid #e8d8c5!important;border-radius:20px!important;
 padding:20px!important;background:#fffdf9!important;box-sizing:border-box!important;
}
body.woocommerce-account.otel-account-active-orders .woocommerce-MyAccount-content .woocommerce-customer-details .woocommerce-column h2{
 margin:0 0 14px!important;font-size:clamp(19px,1.8vw,23px)!important;
 border-bottom:1px solid #eee2d3!important;padding-bottom:12px!important;
}
body.woocommerce-account.otel-account-active-orders .woocommerce-MyAccount-content .woocommerce-customer-details .woocommerce-column address{
 margin:0!important;padding:0!important;background:transparent!important;
 border:0!important;border-radius:0!important;box-shadow:none!important;
 font-size:14px!important;line-height:1.8!important;overflow-wrap:anywhere!important;
}
@media(max-width:800px){
 body.woocommerce-account.otel-account-active-orders .woocommerce-MyAccount-content .woocommerce-customer-details .woocommerce-columns{
  grid-template-columns:1fr!important;gap:14px!important;
 }
 body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .button{
  margin-left:0!important;
 }
}
