/**
 * Lady Nicole Phase 22 — final header/account/commerce journey lock.
 * Scope: header action cluster, auth popover, Client Area and WooCommerce only.
 */

/* One visual scale for every header utility */
.lnv3-actions{
  --ln22-control:44px;
  display:flex!important;
  align-items:center!important;
  gap:5px!important;
  min-height:52px!important;
  padding:4px!important;
  border:1px solid rgba(7,29,45,.09)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.96)!important;
  box-shadow:0 10px 30px rgba(7,29,45,.065)!important;
  isolation:isolate;
}
.lnv3-actions>.lnv3-action,
.lnv3-actions>.lnv3-client{
  display:inline-flex!important;
  flex:0 0 auto!important;
  min-width:var(--ln22-control)!important;
  width:var(--ln22-control)!important;
  height:var(--ln22-control)!important;
  min-height:var(--ln22-control)!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid transparent!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#071d2d!important;
  font-family:Inter,Arial,sans-serif!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1!important;
  text-decoration:none!important;
  box-sizing:border-box!important;
  box-shadow:none!important;
  transition:transform .18s ease,background .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease!important;
}
.lnv3-actions>.lnv3-action:hover,
.lnv3-actions>.lnv3-action:focus-visible,
.lnv3-actions>.lnv3-client:hover,
.lnv3-actions>.lnv3-client:focus-visible{
  transform:translateY(-1px)!important;
  border-color:#c9dce5!important;
  background:#eef8fc!important;
  color:#0579ad!important;
  outline:0!important;
  box-shadow:0 7px 16px rgba(7,29,45,.08)!important;
}
.lnv3-actions :is(svg){
  display:block!important;
  flex:0 0 18px!important;
  width:18px!important;
  height:18px!important;
  margin:0!important;
  overflow:visible!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.75!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.lnv3-actions>.lnv3-language{
  width:66px!important;
  padding:0 10px!important;
  border-color:#dce6ea!important;
  background:#fff!important;
  letter-spacing:.08em!important;
}
.lnv3-actions>.lnv3-language strong{font-size:11px!important;font-weight:900!important;line-height:1!important}
.lnv3-actions>.ln18-header-cart{position:relative!important;background:#fff!important}
.lnv3-actions>.ln18-header-cart .ln18-cart-count{
  position:absolute!important;
  top:-2px!important;
  right:-2px!important;
  display:grid!important;
  min-width:17px!important;
  width:auto!important;
  height:17px!important;
  padding:0 4px!important;
  place-items:center!important;
  border:0!important;
  border-radius:999px!important;
  background:#f0a11d!important;
  color:#071d2d!important;
  font-size:9px!important;
  font-weight:950!important;
  line-height:17px!important;
  box-shadow:0 0 0 2px #fff!important;
}
.lnv3-actions>.lnv3-client{
  width:auto!important;
  min-width:126px!important;
  padding:0 16px!important;
  border-color:#071d2d!important;
  background:#071d2d!important;
  color:#fff!important;
  box-shadow:0 9px 20px rgba(7,29,45,.17)!important;
}
.lnv3-actions>.lnv3-client:hover,
.lnv3-actions>.lnv3-client:focus-visible,
.lnv3-actions>.lnv3-client[aria-expanded=true]{
  border-color:#087fb5!important;
  background:#087fb5!important;
  color:#fff!important;
}
.lnv3-actions>.lnv3-social-action{border-color:#e1e9ec!important;background:#fff!important}
.lnv3-actions>.lnv3-menu-button{display:none!important}

/* Auth modal feedback + deterministic form states */
.ln21-auth-popover__panel{right:auto!important;max-width:440px!important}
.ln22-auth-feedback{display:none;margin:0 0 13px;padding:11px 13px;border:1px solid transparent;border-radius:12px;font-size:12px;font-weight:750;line-height:1.55}
.ln22-auth-feedback.is-visible{display:block}
.ln22-auth-feedback.is-error{border-color:#efc2c2;background:#fff2f2;color:#8d2f2f}
.ln22-auth-feedback.is-success{border-color:#b9dfcf;background:#effaf5;color:#1b664d}
.ln21-auth-form.is-loading{opacity:.74;pointer-events:none}
.ln21-auth-submit[aria-busy=true]{cursor:wait!important}
.ln21-auth-submit[aria-busy=true] span{animation:ln22-spin .8s linear infinite}
@keyframes ln22-spin{to{transform:rotate(360deg)}}

/* Client Area consistency */
body.ln22-client-route .ln17-account{overflow:clip!important}
body.ln22-client-route .ln17-auth-shell{align-items:stretch!important}
body.ln22-client-route .ln17-form :is(input,select,textarea){box-sizing:border-box!important}
body.ln22-client-route .ln17-submit{color:#fff!important;background:#071d2d!important;border-color:#071d2d!important}
body.ln22-client-route .ln17-submit:hover{color:#fff!important;background:#087fb5!important;border-color:#087fb5!important}

/* Commerce route lock: survives /index.php/cart/ and plugin stylesheet order */
body.ln22-commerce-route{margin:0!important;background:#f4f8fa!important;color:#102129!important}
body.ln22-commerce-route .ln18-commerce-main{display:block!important;min-height:70vh!important;padding:clamp(40px,6vw,80px) 0 96px!important;background:linear-gradient(180deg,#edf7fb 0,#fff 330px)!important}
body.ln22-commerce-route .ln18-commerce-shell{display:block!important;width:min(calc(100% - 48px),1220px)!important;margin-inline:auto!important}
body.ln22-commerce-route .ln18-commerce-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:end!important;gap:24px!important;margin:0 0 30px!important;padding:clamp(25px,4vw,44px)!important;border:1px solid #d8e5ea!important;border-radius:28px!important;background:#fff!important;box-shadow:0 22px 65px rgba(7,29,45,.08)!important}
body.ln22-commerce-route .ln18-commerce-head h1{margin:0!important;color:#071d2d!important;font-family:Georgia,"Times New Roman",serif!important;font-size:clamp(2.5rem,5vw,5rem)!important;font-weight:500!important;line-height:.96!important;letter-spacing:-.045em!important}
body.ln22-commerce-route .ln18-commerce-content{display:block!important;min-height:260px!important;padding:clamp(20px,3vw,34px)!important;border:1px solid #d8e5ea!important;border-radius:28px!important;background:#fff!important;box-shadow:0 20px 55px rgba(7,29,45,.07)!important}
body.ln22-commerce-route .woocommerce{display:block!important;width:100%!important;max-width:none!important;color:#102129!important;font-family:Inter,Arial,sans-serif!important}
body.ln22-commerce-route .woocommerce :is(button.button,a.button,input.button,.checkout-button,.single_add_to_cart_button){min-height:48px!important;border:1px solid #071d2d!important;border-radius:999px!important;background:#071d2d!important;color:#fff!important;font-weight:800!important;text-decoration:none!important}
body.ln22-commerce-route .woocommerce :is(button.button,a.button,input.button,.checkout-button,.single_add_to_cart_button):hover{border-color:#087fb5!important;background:#087fb5!important;color:#fff!important}
body.ln22-commerce-route .woocommerce :is(input.input-text,textarea,select){box-sizing:border-box!important;min-height:48px!important;border:1px solid #d6e1e5!important;border-radius:12px!important;background:#fff!important;color:#102129!important}
body.ln22-commerce-route .woocommerce table.shop_table{width:100%!important;border:1px solid #dbe5e9!important;border-collapse:separate!important;border-spacing:0!important;border-radius:18px!important;background:#fff!important}
body.ln22-commerce-route .woocommerce-cart-form,
body.ln22-commerce-route .cart-collaterals,
body.ln22-commerce-route form.checkout,
body.ln22-commerce-route .woocommerce-order{display:block!important;visibility:visible!important;opacity:1!important}

@media(max-width:1120px){
  .lnv3-actions>.lnv3-client{min-width:var(--ln22-control)!important;width:var(--ln22-control)!important;padding:0!important}
  .lnv3-actions>.lnv3-client span{display:none!important}
}
@media(max-width:760px){
  .lnv3-actions{--ln22-control:42px;gap:3px!important;min-height:48px!important;padding:3px!important}
  .lnv3-actions>.lnv3-language{width:48px!important;padding:0 7px!important}
  .lnv3-actions>.lnv3-language svg{display:none!important}
  .lnv3-actions>.lnv3-social-action{display:none!important}
  .ln21-auth-popover__panel{right:8px!important;left:8px!important;max-width:none!important}
  body.ln22-commerce-route .ln18-commerce-shell{width:min(calc(100% - 24px),1220px)!important}
  body.ln22-commerce-route .ln18-commerce-head{grid-template-columns:1fr!important;padding:24px!important}
  body.ln22-commerce-route .ln18-commerce-content{padding:15px!important}
}
@media(prefers-reduced-motion:reduce){.lnv3-actions>*,.ln21-auth-popover__panel{transition:none!important}.ln21-auth-submit[aria-busy=true] span{animation:none!important}}
