/*
 * WEAUTY WXP-05
 * Account + Footer + recovery states + visible commercial/editorial content.
 * Deliberately avoids Header/Search modal, Product Card/PLP controls, PDP and Cart/Checkout selectors.
 */

.weauty-wxp05{
  --wx05-ink:var(--wx-ink,#171717);
  --wx05-text:var(--wx-text,#242424);
  --wx05-secondary:var(--wx-secondary,#687279);
  --wx05-muted:var(--wx-muted,#7a7a7a);
  --wx05-soft:var(--wx-soft,#f5f5f5);
  --wx05-subtle:var(--wx-subtle,#fafafa);
  --wx05-border:var(--wx-border,rgba(17,17,17,.09));
  --wx05-border-strong:var(--wx-border-strong,rgba(17,17,17,.18));
  --wx05-error:var(--wx-error,#b42318);
  --wx05-success:var(--wx-success,#1f7a4d);
  --wx05-radius:var(--wx-r-lg,16px);
  --wx05-shadow:var(--wx-shadow-low,0 8px 24px rgba(17,17,17,.045));
}

.wx05-eyebrow{
  margin:0 0 7px!important;
  color:var(--wx05-muted)!important;
  font-size:11px!important;
  line-height:1.5!important;
  font-weight:700!important;
  letter-spacing:.13em!important;
}

.wx05-state{
  width:min(680px,100%);
  margin:26px auto;
  padding:clamp(26px,4vw,42px);
  box-sizing:border-box;
  border:1px solid var(--wx05-border);
  border-radius:24px;
  background:#fff;
  text-align:center;
  box-shadow:var(--wx05-shadow);
}
.wx05-state-mark{
  width:48px;height:48px;margin:0 auto 14px;
  display:inline-flex;align-items:center;justify-content:center;
  border-radius:999px;background:var(--wx05-soft);color:var(--wx05-ink);
  font-size:16px;font-weight:800;line-height:1;
}
.wx05-state h1,.wx05-state h2{
  margin:0 0 9px!important;color:var(--wx05-ink)!important;
  font-size:clamp(25px,4vw,38px)!important;line-height:1.45!important;font-weight:750!important;
}
.wx05-state p{
  max-width:530px;margin:0 auto!important;color:var(--wx05-secondary)!important;
  font-size:14px!important;line-height:1.95!important;
}
.wx05-state-actions{
  margin-top:20px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:9px;
}
.wx05-state-actions a{
  min-height:44px;display:inline-flex;align-items:center;justify-content:center;
  padding:8px 17px;box-sizing:border-box;border:1px solid var(--wx05-border-strong);
  border-radius:12px;font-size:13px;line-height:1.5;font-weight:700;text-decoration:none!important;
}
.wx05-state-actions .wx05-primary{
  background:var(--wx05-ink)!important;border-color:var(--wx05-ink)!important;color:#fff!important;
}
.wx05-state-actions .wx05-secondary{background:#fff!important;color:var(--wx05-ink)!important}

/* Account: logged out */
body.woocommerce-account #main > .ct-container{width:min(1180px,calc(100% - 48px))}
body.woocommerce-account #main .hero-section{margin-bottom:20px!important}
body.woocommerce-account #main .hero-section .page-title{
  color:var(--wx05-ink);font-size:clamp(30px,4vw,44px)!important;
  line-height:1.45!important;font-weight:750!important;letter-spacing:-.02em;
}
.wx05-account-intro{max-width:760px;margin:0 0 24px;padding:0}
.wx05-account-intro > p:last-child{
  margin:0!important;color:var(--wx05-secondary);font-size:14px;line-height:1.9;
}
body.woocommerce-account #customer_login{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px!important;margin:0!important;
}
body.woocommerce-account #customer_login > .u-column1,
body.woocommerce-account #customer_login > .u-column2{
  width:auto!important;float:none!important;margin:0!important;padding:28px!important;
  border:1px solid var(--wx05-border)!important;border-radius:20px!important;
  background:#fff!important;box-shadow:var(--wx05-shadow);
}
body.woocommerce-account #customer_login > .u-column1::before,
body.woocommerce-account #customer_login > .u-column2::before,
body.woocommerce-account #customer_login > .u-column1::after,
body.woocommerce-account #customer_login > .u-column2::after{display:none!important}
body.woocommerce-account #customer_login h2{
  margin:0 0 20px!important;color:var(--wx05-ink)!important;
  font-size:21px!important;line-height:1.5!important;font-weight:750!important;
}
body.woocommerce-account form.login,
body.woocommerce-account form.register,
body.woocommerce-account form.woocommerce-ResetPassword,
body.woocommerce-account form.woocommerce-EditAccountForm{
  margin:0!important;padding:0!important;border:0!important;background:transparent!important;
}
body.woocommerce-account form .form-row{margin:0 0 16px!important}
body.woocommerce-account form label{
  margin:0 0 7px!important;color:var(--wx05-text)!important;
  font-size:13px!important;line-height:1.6!important;font-weight:650!important;
}
body.woocommerce-account form .required{color:var(--wx05-error)!important;text-decoration:none!important}
body.woocommerce-account form input[type="text"],
body.woocommerce-account form input[type="email"],
body.woocommerce-account form input[type="password"],
body.woocommerce-account form input[type="tel"]{
  min-height:48px!important;padding:0 13px!important;border:1px solid var(--wx05-border-strong)!important;
  border-radius:11px!important;background:#fff!important;color:var(--wx05-text)!important;
  font-size:14px!important;box-shadow:none!important;
}
body.woocommerce-account form input:focus{
  border-color:var(--wx05-ink)!important;box-shadow:0 0 0 3px rgba(17,17,17,.06)!important;
}
body.woocommerce-account .password-input{display:block!important;position:relative}
body.woocommerce-account .show-password-input{
  width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;
  inset-inline-start:4px!important;inset-inline-end:auto!important;top:2px!important;
  display:flex!important;align-items:center;justify-content:center;color:var(--wx05-secondary)!important;
}
body.woocommerce-account .woocommerce-form-login__rememberme{
  min-height:44px;display:inline-flex!important;align-items:center;gap:8px;
}
body.woocommerce-account .woocommerce-form-login__rememberme input{
  width:18px;height:18px;margin:0!important;
}
body.woocommerce-account .woocommerce-button,
body.woocommerce-account button.button,
body.woocommerce-account a.button{
  min-height:46px!important;display:inline-flex!important;align-items:center;justify-content:center;
  padding:9px 20px!important;border:1px solid var(--wx05-ink)!important;border-radius:11px!important;
  background:var(--wx05-ink)!important;color:#fff!important;font-size:13px!important;
  line-height:1.5!important;font-weight:750!important;box-shadow:none!important;text-decoration:none!important;
}
body.woocommerce-account .woocommerce-button:hover,
body.woocommerce-account button.button:hover,
body.woocommerce-account a.button:hover{
  background:#000!important;border-color:#000!important;transform:none!important;
}
body.woocommerce-account .woocommerce-LostPassword a,
body.woocommerce-account #customer_login a,
body.woocommerce-account .woocommerce-MyAccount-content a:not(.button):not(.wx05-account-action-card):not(.wx05-primary):not(.wx05-secondary){
  color:var(--wx05-ink)!important;text-decoration-color:rgba(17,17,17,.35)!important;text-underline-offset:3px;
}
body.woocommerce-account #customer_login .woocommerce-privacy-policy-text{
  color:var(--wx05-secondary)!important;font-size:12px!important;line-height:1.9!important;
}
body.woocommerce-account #customer_login .woocommerce-privacy-policy-text p{margin-bottom:16px!important}

/* Lost password */
body.woocommerce-account .wx05-account-intro--recovery{
  max-width:640px;margin-inline:auto;margin-bottom:16px;
}
.wx05-account-intro--recovery h2{
  margin:0 0 8px!important;color:var(--wx05-ink);font-size:24px!important;line-height:1.5!important;
}
body.woocommerce-account form.woocommerce-ResetPassword{
  max-width:640px;margin-inline:auto!important;padding:26px!important;
  border:1px solid var(--wx05-border)!important;border-radius:20px!important;
  background:#fff!important;box-shadow:var(--wx05-shadow);
}
body.woocommerce-account form.woocommerce-ResetPassword > p:first-child{
  color:var(--wx05-secondary);font-size:13px;line-height:1.9;
}

/* Account: logged in */
body.woocommerce-account.logged-in .woocommerce{
  display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px;align-items:start;
}
body.woocommerce-account .woocommerce-MyAccount-navigation{
  width:auto!important;float:none!important;padding:10px!important;
  border:1px solid var(--wx05-border);border-radius:18px;background:#fff;box-shadow:var(--wx05-shadow);
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul{margin:0!important;padding:0!important;list-style:none!important}
body.woocommerce-account .woocommerce-MyAccount-navigation li{margin:0!important;border:0!important}
body.woocommerce-account .woocommerce-MyAccount-navigation a{
  min-height:44px;display:flex!important;align-items:center;padding:8px 12px!important;
  border-radius:10px;color:var(--wx05-text)!important;font-size:13px;line-height:1.5;
  font-weight:600;text-decoration:none!important;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{
  background:var(--wx05-soft)!important;color:var(--wx05-ink)!important;font-weight:750;
}
body.woocommerce-account .woocommerce-MyAccount-content{
  width:auto!important;min-width:0;float:none!important;padding:26px!important;
  border:1px solid var(--wx05-border);border-radius:20px;background:#fff;box-shadow:var(--wx05-shadow);
}
body.woocommerce-account .woocommerce-MyAccount-content > p{color:var(--wx05-secondary);line-height:1.9}
.wx05-account-actions{margin-top:26px;padding-top:24px;border-top:1px solid var(--wx05-border)}
.wx05-account-actions h2{margin:0 0 14px!important;color:var(--wx05-ink);font-size:19px!important}
.wx05-account-action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.wx05-account-action-card{
  min-height:142px;position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:7px;
  padding:17px;box-sizing:border-box;border:1px solid var(--wx05-border)!important;
  border-radius:14px;background:var(--wx05-subtle);color:var(--wx05-text)!important;
  text-decoration:none!important;transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease;
}
.wx05-account-action-card:hover{
  border-color:var(--wx05-border-strong)!important;box-shadow:var(--wx05-shadow);transform:translateY(-1px);
}
.wx05-account-action-card strong{color:var(--wx05-ink);font-size:14px}
.wx05-account-action-card span{color:var(--wx05-secondary);font-size:12px;line-height:1.8}
.wx05-account-action-card b{margin-top:auto;font-size:16px;font-weight:500}
body.woocommerce-account .woocommerce-orders-table{
  width:100%;border:1px solid var(--wx05-border)!important;border-radius:14px;
  overflow:hidden;border-collapse:separate!important;border-spacing:0!important;
}
body.woocommerce-account .woocommerce-orders-table th{
  padding:12px!important;background:var(--wx05-subtle);color:var(--wx05-secondary);font-size:12px;
}
body.woocommerce-account .woocommerce-orders-table td{
  padding:13px 12px!important;border-top:1px solid var(--wx05-border)!important;font-size:13px;
}
body.woocommerce-account .woocommerce-Addresses{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;
}
body.woocommerce-account .woocommerce-Address{
  width:auto!important;float:none!important;padding:18px!important;
  border:1px solid var(--wx05-border);border-radius:14px;background:var(--wx05-subtle);
}
body.woocommerce-account .woocommerce-Address-title{
  min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:10px;
}
body.woocommerce-account .woocommerce-Address-title h2{margin:0!important;font-size:17px!important}
body.woocommerce-account .woocommerce-Address-title .edit{
  min-height:44px;display:inline-flex;align-items:center;font-size:12px;font-weight:700;
}
body.woocommerce-account .woocommerce-Address address{
  color:var(--wx05-secondary);font-size:13px;line-height:1.9;
}

/* Account notices */
body.woocommerce-account .woocommerce-error,
body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-info{
  margin:0 0 18px!important;padding:14px 16px!important;
  border:1px solid var(--wx05-border)!important;border-radius:12px!important;
  background:var(--wx05-subtle)!important;color:var(--wx05-text)!important;
  font-size:13px!important;line-height:1.8!important;box-shadow:none!important;
}
body.woocommerce-account .woocommerce-error{
  border-color:rgba(180,35,24,.22)!important;border-inline-start:4px solid var(--wx05-error)!important;
  background:rgba(180,35,24,.045)!important;color:#6f1d17!important;
}
body.woocommerce-account .woocommerce-message{border-inline-start:4px solid var(--wx05-success)!important}
body.woocommerce-account .wx05-orders-empty + .woocommerce-info{display:none!important}

/* Full-page search no-results */
body.search-no-results.post-type-archive-product #main .hero-section{margin-bottom:6px!important}
body.search-no-results.post-type-archive-product #main .page-title{
  color:var(--wx05-ink);font-size:clamp(27px,4vw,40px)!important;line-height:1.5!important;
}
body.search-no-results.post-type-archive-product #main .page-description{
  max-width:650px!important;color:var(--wx05-secondary);font-size:14px;line-height:1.9;
}
body.search-no-results.post-type-archive-product .woocommerce-no-products-found > .woocommerce-info{display:none!important}
body.search-no-results.post-type-archive-product .wx05-search-empty{margin-top:18px}
body.search-no-results .weauty-search-recovery a{
  min-height:44px!important;border-radius:11px!important;border-color:var(--wx05-border-strong)!important;
  color:var(--wx05-ink)!important;background:#fff!important;font-size:13px!important;font-weight:650!important;
}

/* 404 */
body.error404 #main > .ct-container{width:min(920px,calc(100% - 48px))}
body.error404 .ct-no-results.wx05-404-ready{padding-block:clamp(38px,6vw,72px)}
body.error404 .ct-no-results.wx05-404-ready .wx05-state{margin:0 auto}

/* Shop intent copy only */
.wx05-shop-intro{
  width:min(920px,calc(100% - 32px));margin:10px auto 22px;padding:14px 17px;
  box-sizing:border-box;border-inline-start:3px solid var(--wx05-ink);
  background:var(--wx05-subtle);color:var(--wx05-secondary);
}
.wx05-shop-intro p{margin:0!important;font-size:13px!important;line-height:1.95!important}
.wx05-shop-intro strong{color:var(--wx05-text)}
.wx05-shop-intro a{color:var(--wx05-ink)!important;font-weight:700;text-underline-offset:3px}

/* Home lower editorial content */
.wx05-home-editorial{
  width:min(1120px,calc(100% - 40px));margin:18px auto 54px;padding:clamp(26px,4vw,42px);
  box-sizing:border-box;border:1px solid var(--wx05-border);border-radius:22px;
  background:#fff;text-align:right;direction:rtl;
}
.wx05-home-editorial h2{
  max-width:760px;margin:0 0 13px!important;color:var(--wx05-ink);
  font-size:clamp(24px,3vw,34px)!important;line-height:1.55!important;font-weight:750!important;
}
.wx05-home-editorial p:not(.wx05-eyebrow){
  max-width:880px;margin:0 0 10px!important;color:var(--wx05-secondary);
  font-size:14px!important;line-height:2!important;
}
.wx05-home-editorial p:last-child{margin-bottom:0!important}
.wx05-home-editorial a{
  color:var(--wx05-ink)!important;font-weight:700;text-decoration-thickness:1px;text-underline-offset:4px;
}

/* Magazine internal routes */
.wx05-magazine-routes{
  margin-top:26px;padding-top:18px;display:flex;flex-wrap:wrap;align-items:center;
  gap:8px;border-top:1px solid var(--wx05-border);
}
.wx05-magazine-routes span{color:var(--wx05-secondary);font-size:12px;font-weight:700}
.wx05-magazine-routes a{
  min-height:44px;display:inline-flex;align-items:center;justify-content:center;
  padding:7px 13px;border:1px solid var(--wx05-border);border-radius:999px;
  background:#fff;color:var(--wx05-ink)!important;font-size:12px;font-weight:700;text-decoration:none!important;
}

/* Footer */
#footer.ct-footer{color:var(--wx05-text)}
#footer.ct-footer > [data-row="top"]{
  border-top:1px solid var(--wx05-border)!important;background:var(--wx05-subtle)!important;
}
#footer.ct-footer > [data-row="top"] > .ct-container{
  width:min(1280px,calc(100% - 48px))!important;min-height:0!important;
  display:grid!important;grid-template-columns:1fr 1.15fr 1.15fr 1.25fr .72fr!important;
  align-items:start!important;gap:28px!important;padding-block:32px!important;
}
#footer.ct-footer > [data-row="top"] [data-column]{
  min-width:0;align-items:flex-start!important;justify-content:flex-start!important;
}
#footer.ct-footer > [data-row="top"] .ct-widget{width:100%;margin:0!important}
#footer.ct-footer > [data-row="top"] h5{
  margin:0 0 10px!important;color:var(--wx05-ink)!important;
  font-size:13px!important;line-height:1.6!important;font-weight:750!important;
}
#footer.ct-footer > [data-row="top"] p{
  margin:0!important;color:var(--wx05-secondary)!important;font-size:12px!important;line-height:1.65!important;
}
#footer.ct-footer > [data-row="top"] p a{
  min-height:30px;display:inline-flex;align-items:center;color:var(--wx05-secondary)!important;
  text-decoration:none!important;transition:color .16s ease;
}
#footer.ct-footer > [data-row="top"] p a:hover{color:var(--wx05-ink)!important}

/* Footer contact column: match menu-column typography and reserve a scalable social-icon row. */
#footer.ct-footer #block-12 h5{
  margin:0 0 14.8px!important;
  color:var(--wx05-ink)!important;
  font-family:var(--weauty-font-family,"IRANYekanWEAUTY",Tahoma,Arial,sans-serif)!important;
  font-size:16px!important;line-height:24px!important;font-weight:700!important;
}
#footer.ct-footer #block-12 .wx05-footer-contact{
  margin:0!important;padding:0!important;
  display:flex;flex-direction:column;align-items:flex-start;
  color:var(--wx05-secondary)!important;
  font-size:16px!important;line-height:26.4px!important;
}
#footer.ct-footer #block-12 .wx05-footer-contact-link{
  min-height:0!important;
  display:inline-flex;align-items:center;
  color:var(--wx05-secondary)!important;
  font-size:16px!important;line-height:26.4px!important;
  text-decoration:none!important;
}
#footer.ct-footer #block-12 .wx05-footer-contact-link:hover{color:var(--wx05-ink)!important}
#footer.ct-footer #block-12 .wx05-footer-socials{
  display:flex;align-items:center;gap:8px;margin-top:5px;
}
#footer.ct-footer #block-12 .wx05-footer-social{
  width:34px;height:34px;min-width:34px!important;min-height:34px!important;
  display:inline-flex;align-items:center;justify-content:center;
  border:1px solid var(--wx05-border);border-radius:999px;
  color:var(--wx05-secondary)!important;background:transparent;
  transition:color .16s ease,border-color .16s ease,background-color .16s ease;
}
#footer.ct-footer #block-12 .wx05-footer-social:hover{
  color:var(--wx05-ink)!important;border-color:var(--wx05-border-strong);background:#fff;
}
#footer.ct-footer #block-12 .wx05-footer-social svg{
  width:19px;height:19px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;
}
#footer.ct-footer [data-column="widget-area-6"]{
  align-items:center!important;justify-content:center!important;text-align:center;
}
#footer.ct-footer #block-26 a{
  min-width:124px;min-height:124px;display:inline-flex;align-items:center;justify-content:center;border-radius:14px;
}
#footer.ct-footer #block-26 img{
  width:auto!important;max-width:124px!important;height:auto!important;max-height:132px!important;object-fit:contain;
}
#footer.ct-footer > [data-row="middle"]{display:none!important}
#footer.ct-footer > [data-row="bottom"]{
  min-height:0!important;border-top:1px solid var(--wx05-border)!important;background:#fff!important;
}
#footer.ct-footer > [data-row="bottom"] > .ct-container{
  min-height:48px!important;width:min(1280px,calc(100% - 48px))!important;
}
#footer.ct-footer .ct-footer-copyright{
  color:var(--wx05-muted)!important;font-size:11px!important;line-height:1.6!important;text-align:center!important;
}
#footer .wx05-footer-toggle{
  width:100%;min-height:44px;display:flex;align-items:center;justify-content:space-between;
  gap:10px;padding:0!important;border:0!important;background:transparent!important;
  color:var(--wx05-ink)!important;font:inherit;text-align:right;cursor:pointer;
}
#footer .wx05-footer-chevron{font-size:14px;transition:transform .16s ease}
#footer .wx05-footer-toggle[aria-expanded="true"] .wx05-footer-chevron{transform:rotate(180deg)}

@media (min-width:690px) and (max-width:999px){
  body.woocommerce-account #main > .ct-container,
  body.error404 #main > .ct-container{width:calc(100% - 32px)}

  #footer.ct-footer > [data-row="top"] > .ct-container{
    width:calc(100% - 32px)!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:18px!important;padding-block:26px!important;
  }
  #footer.ct-footer [data-column="widget-area-6"]{grid-column:1/-1}
  #footer.ct-footer #block-26 a{min-width:108px;min-height:108px}
  #footer.ct-footer #block-26 img{max-width:104px!important;max-height:112px!important}
  #footer.ct-footer > [data-row="bottom"] > .ct-container{width:calc(100% - 32px)!important}
}

@media (max-width:689px){
  body.woocommerce-account #main > .ct-container,
  body.error404 #main > .ct-container{width:calc(100% - 28px)}

  body.woocommerce-account #main .hero-section{margin-bottom:14px!important}
  body.woocommerce-account #main .hero-section .page-title{font-size:30px!important}
  .wx05-account-intro{margin-bottom:18px}
  body.woocommerce-account #customer_login{grid-template-columns:1fr!important;gap:14px!important}
  body.woocommerce-account #customer_login > .u-column1,
  body.woocommerce-account #customer_login > .u-column2{
    padding:20px!important;border-radius:16px!important;
  }
  body.woocommerce-account #customer_login h2{margin-bottom:16px!important;font-size:19px!important}
  body.woocommerce-account .woocommerce-button,
  body.woocommerce-account button.button,
  body.woocommerce-account a.button{min-height:48px!important}
  body.woocommerce-account form.woocommerce-ResetPassword{
    padding:20px!important;border-radius:16px!important;
  }

  body.woocommerce-account.logged-in .woocommerce{grid-template-columns:1fr;gap:14px}
  body.woocommerce-account .woocommerce-MyAccount-navigation{
    padding:6px!important;overflow-x:auto;scrollbar-width:none;
  }
  body.woocommerce-account .woocommerce-MyAccount-navigation::-webkit-scrollbar{display:none}
  body.woocommerce-account .woocommerce-MyAccount-navigation ul{
    display:flex!important;width:max-content;gap:3px;
  }
  body.woocommerce-account .woocommerce-MyAccount-navigation a{white-space:nowrap}
  body.woocommerce-account .woocommerce-MyAccount-content{padding:18px!important;border-radius:16px}
  .wx05-account-action-grid{grid-template-columns:1fr}
  .wx05-account-action-card{min-height:108px}
  body.woocommerce-account .woocommerce-Addresses{grid-template-columns:1fr}

  body.woocommerce-account .woocommerce-orders-table,
  body.woocommerce-account .woocommerce-orders-table tbody,
  body.woocommerce-account .woocommerce-orders-table tr,
  body.woocommerce-account .woocommerce-orders-table td{display:block;width:100%}
  body.woocommerce-account .woocommerce-orders-table thead{display:none}
  body.woocommerce-account .woocommerce-orders-table tr{
    padding:11px 0;border-top:1px solid var(--wx05-border);
  }
  body.woocommerce-account .woocommerce-orders-table tr:first-child{border-top:0}
  body.woocommerce-account .woocommerce-orders-table td{
    padding:7px 12px!important;border:0!important;
  }

  .wx05-state{margin:18px auto;padding:25px 18px;border-radius:18px}
  .wx05-state-actions{flex-direction:column;align-items:stretch}
  .wx05-state-actions a{width:100%;min-height:48px}
  body.error404 .ct-no-results.wx05-404-ready{padding-block:28px}

  .wx05-shop-intro{width:calc(100% - 28px);margin:8px auto 16px}
  .wx05-home-editorial{
    width:calc(100% - 28px);margin:14px auto 34px;padding:24px 19px;border-radius:18px;
  }
  .wx05-home-editorial h2{font-size:24px!important}
  .wx05-home-editorial p:not(.wx05-eyebrow){font-size:13px!important;line-height:1.95!important}
  .wx05-magazine-routes{gap:6px}
  .wx05-magazine-routes a{min-height:44px}

  #footer.ct-footer > [data-row="top"] > .ct-container{
    width:calc(100% - 28px)!important;display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:6px 14px!important;padding-block:20px!important;
  }
  #footer.ct-footer > [data-row="top"] [data-column="widget-area-1"],
  #footer.ct-footer > [data-row="top"] [data-column="widget-area-2"],
  #footer.ct-footer > [data-row="top"] [data-column="widget-area-3"],
  #footer.ct-footer > [data-row="top"] [data-column="widget-area-4"]{
    width:100%!important;padding:0!important;
  }
  #footer.ct-footer > [data-row="top"] h5{
    margin:0!important;border-bottom:1px solid var(--wx05-border);
  }
  #footer.ct-footer > [data-row="top"] p{padding:7px 0 10px}
  #footer.ct-footer > [data-row="top"] p a{min-height:44px}
  #footer.ct-footer #block-12 h5{margin:0!important}
  #footer.ct-footer #block-12 .wx05-footer-contact{padding:7px 0 10px!important;font-size:14px!important;line-height:26.6px!important}
  #footer.ct-footer #block-12 .wx05-footer-contact-link{min-height:44px!important;font-size:14px!important;line-height:26.6px!important}
  #footer.ct-footer #block-12 .wx05-footer-socials{margin-top:2px}
  #footer.ct-footer #block-12 .wx05-footer-social{width:44px;height:44px;min-width:44px!important;min-height:44px!important}
  #footer.ct-footer [data-column="widget-area-6"]{grid-column:1/-1;padding-top:7px!important}
  #footer.ct-footer #block-26 a{min-width:96px;min-height:96px}
  #footer.ct-footer #block-26 img{max-width:92px!important;max-height:100px!important}
  #footer.ct-footer > [data-row="bottom"] > .ct-container{
    width:calc(100% - 28px)!important;min-height:46px!important;
  }
  #footer.ct-footer .ct-footer-copyright{font-size:10.5px!important}
}

@media (prefers-reduced-motion:reduce){
  .wx05-account-action-card,#footer .wx05-footer-chevron{transition-duration:.01ms!important}
}


/* WXP-05 acceptance polish */
#footer.ct-footer .ct-footer-copyright::after{
  content:none!important;
  display:none!important;
}

/* Full-page product search is WXP-05-owned. Suppress generic/PLP zero states only here. */
body.search-no-results.post-type-archive-product #main .hero-section,
body.search-no-results.post-type-archive-product #main .ct-no-results,
body.search-no-results.post-type-archive-product .wxp02-zero-recovery{
  display:none!important;
}

body.search-no-results.post-type-archive-product .woocommerce-no-products-found{
  padding-top:clamp(20px,4vw,42px);
  padding-bottom:clamp(30px,6vw,70px);
}

#footer .wx05-enamad-fallback{
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 10px;
  border:1px solid var(--wx05-border);
  border-radius:10px;
  color:var(--wx05-secondary);
  font-size:11px;
  line-height:1.6;
  text-align:center;
}

#footer.ct-footer #block-26 img[hidden],
#footer .wx05-enamad-fallback[hidden]{
  display:none!important;
}

/* Reserve the 404 recovery footprint before JS enhancement to avoid footer/layout jump. */
body.error404 #main .ct-no-results{
  min-height:430px;
}

/* WXP05 owner 2026-10-05: after removing the long Shop intro, keep catalog controls close to the hero/search. */
body.woocommerce-shop #main > .ct-container{
  padding-top:18px!important;
}
@media(max-width:689px){
  body.woocommerce-shop #main > .ct-container{
    padding-top:16px!important;
  }
}


/* SEO/GEO collection copy: intentionally low-visual-weight and placed after catalog content. */
.wx05-collection-seo{
  width:min(920px,calc(100% - 48px));
  margin:clamp(34px,5vw,64px) auto clamp(28px,4vw,52px);
  padding-top:clamp(22px,3vw,32px);
  border-top:1px solid var(--wx05-border);
  color:var(--wx05-secondary);
}
.wx05-collection-seo h2{
  margin:0 0 10px!important;
  color:var(--wx05-ink)!important;
  font-size:clamp(20px,2vw,27px)!important;
  line-height:1.6!important;
  font-weight:800!important;
}
.wx05-collection-seo p{
  max-width:820px;
  margin:8px 0 0!important;
  font-size:14px!important;
  line-height:2!important;
  color:var(--wx05-secondary)!important;
}
.wx05-collection-seo a{
  color:var(--wx05-ink)!important;
  text-decoration:underline;
  text-underline-offset:4px;
}
@media(max-width:689px){
  .wx05-collection-seo{
    width:calc(100% - 28px);
    margin:28px auto 34px;
    padding-top:20px;
  }
  .wx05-collection-seo h2{font-size:20px!important}
  .wx05-collection-seo p{font-size:13px!important;line-height:1.95!important}
}
