body.papillon-theme .surface-card{border:1px solid var(--pap-line);border-radius:var(--pap-radius-md);background:var(--pap-panel);box-shadow:var(--pap-shadow-sm);}
body.papillon-theme .muted-copy{color:var(--pap-muted);font-size:12px;line-height:2;}
body.papillon-theme .pill-list{display:flex;align-items:center;gap:8px;overflow-x:auto;scrollbar-width:none;}
body.papillon-theme .pill-list::-webkit-scrollbar{display:none;}
body.papillon-theme .pill-list>:where(a,button){display:inline-flex;min-height:36px;align-items:center;justify-content:center;padding:6px 13px;border:1px solid var(--pap-line);border-radius:999px;background:var(--pap-panel);color:var(--pap-ink-2);font-size:11.5px;text-decoration:none;white-space:nowrap;transition:border-color var(--pap-motion-fast) var(--pap-ease),background-color var(--pap-motion-fast) var(--pap-ease),color var(--pap-motion-fast) var(--pap-ease),transform var(--pap-motion-fast) var(--pap-ease);}
body.papillon-theme .pill-list>:where(a,button):hover,
body.papillon-theme .pill-list>button.is-active{border-color:var(--pap-purple);background:var(--pap-purple-soft);color:var(--pap-purple);}
body.papillon-theme .icon-circle{display:grid;width:36px;height:36px;place-items:center;border-radius:50%;background:var(--pap-purple-soft);color:var(--pap-purple);}
body.papillon-theme .status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--pap-success);}
body.papillon-theme .divider{height:1px;background:var(--pap-line);}


body.papillon-theme :where(.page-native-heading,.search-page-heading){position:relative;isolation:isolate;overflow:hidden;margin-bottom:26px;padding:clamp(22px,3vw,34px);border:1px solid #dbe1e3;border-radius:var(--pap-radius-lg);background:linear-gradient(135deg,#f4f7f8,#fffaf6);box-shadow:0 14px 38px rgba(26,57,63,.065);}
body.papillon-theme :where(.page-native-heading,.search-page-heading)::after{position:absolute;inset-block-start:-75px;inset-inline-start:-60px;z-index:-1;width:190px;height:190px;border:34px solid rgba(255,255,255,.65);border-radius:50%;content:"";pointer-events:none;}
body.papillon-theme :where(.page-native-heading,.search-page-heading)>*{position:relative;z-index:1;}
body.papillon-theme :where(.page-native-heading,.search-page-heading) h1{margin:4px 0 7px;font-size:clamp(26px,3.4vw,42px);line-height:1.5;}
body.papillon-theme :where(.page-native-heading,.search-page-heading)>p:last-child{max-width:720px;margin:0;color:var(--pap-muted);font-size:12px;line-height:2;}

body.papillon-theme :where(.account-empty-state,.search-page-empty){display:flex;min-height:280px;flex-direction:column;align-items:center;justify-content:center;padding:32px;border:1px dashed #cdd6d7;border-radius:18px;background:linear-gradient(145deg,#fff,#f8fafa);text-align:center;}
body.papillon-theme :where(.account-empty-state,.search-page-empty)>:where(span,.empty-state-icon){display:grid;width:56px;height:56px;place-items:center;margin-bottom:13px;border-radius:18px;background:var(--pap-purple-soft);color:var(--pap-purple);}
body.papillon-theme :where(.account-empty-state,.search-page-empty) h2{margin:0 0 6px;font-size:18px;}
body.papillon-theme :where(.account-empty-state,.search-page-empty) p{max-width:460px;margin:0;color:var(--pap-muted);font-size:11.5px;line-height:2;}


body.papillon-theme :where(.woocommerce form,.fallback-form,.wc-block-components-form) :where(.form-row,p.form-row){min-width:0;margin:0 0 16px;}
body.papillon-theme :where(.woocommerce form,.fallback-form,.wc-block-components-form) label{display:block;margin:0 0 7px;color:var(--pap-ink-2);font-size:11.5px;font-weight:700;line-height:1.8;}
body.papillon-theme :where(.woocommerce form,.fallback-form,.wc-block-components-form) .required{color:var(--pap-danger);}
body.papillon-theme :where(.woocommerce form,.fallback-form,.wc-block-components-form) input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
body.papillon-theme :where(.woocommerce form,.fallback-form,.wc-block-components-form) textarea{width:100%;min-height:var(--pap-control-height);margin:0;padding:10px 15px;border:1px solid var(--pap-line);border-radius:var(--pap-control-radius);background:var(--pap-panel);box-shadow:none;outline:0;font-size:12px;line-height:1.7;transition:border-color var(--pap-motion-fast) var(--pap-ease),box-shadow var(--pap-motion-base) var(--pap-ease),background-color var(--pap-motion-base) var(--pap-ease);}
body.papillon-theme :where(.woocommerce form,.fallback-form,.wc-block-components-form) textarea{min-height:124px;resize:vertical;}
body.papillon-theme :where(.woocommerce form,.fallback-form,.wc-block-components-form) input:focus,
body.papillon-theme :where(.woocommerce form,.fallback-form,.wc-block-components-form) textarea:focus{border-color:var(--pap-purple);box-shadow:0 0 0 4px rgba(52,118,131,.09);}
body.papillon-theme :where(.woocommerce-invalid input,.woocommerce-invalid select,.woocommerce-invalid textarea){border-color:var(--pap-danger);box-shadow:0 0 0 3px rgba(217,64,104,.08);}
body.papillon-theme :where(.woocommerce-validated input,.woocommerce-validated select,.woocommerce-validated textarea){border-color:#70b69b;}
body.papillon-theme :where(.woocommerce form,.fallback-form) .description{display:block;margin-top:6px;color:var(--pap-muted);font-size:11.5px;line-height:1.8;}
body.papillon-theme :where(input[type="checkbox"],input[type="radio"]){accent-color:var(--pap-purple);}

@media(max-width:560px){
  body.papillon-theme :where(.page-native-heading,.search-page-heading){padding:20px 17px;border-radius:16px;}
  body.papillon-theme :where(.page-native-heading,.search-page-heading) h1{font-size:25px;}
  body.papillon-theme :where(.account-empty-state,.search-page-empty){min-height:230px;padding:24px 17px;}
}
