/* Understory: favorites, sign-up, and My Account */

/* Heart button */
.ust-fav{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #CDBF9F;background:#FAF8F4;color:#8C6A3A;border-radius:999px;padding:8px 16px;font-family:Bitter,Georgia,serif;font-size:14px;line-height:1;cursor:pointer;transition:background .2s,border-color .2s,color .2s}
.ust-fav svg{fill:none;stroke:currentColor;stroke-width:1.8;flex-shrink:0;transition:fill .2s}
.ust-fav:hover{border-color:#8C6A3A;background:#F7F5EF}
.ust-fav:focus-visible{outline:2px solid #8C6A3A;outline-offset:2px}
.ust-fav.is-on svg{fill:currentColor}
.ust-fav[disabled]{opacity:.6;cursor:wait}
li.product .ust-fav-loop{width:40px;height:40px;padding:0;margin:8px 0 0 8px;vertical-align:middle}
li.product .ust-fav-loop .ust-fav-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ust-fav-single{margin:4px 0 20px}

/* Toast */
.ust-toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,20px);background:#29292B;color:#F7F5EF;padding:14px 20px;border-radius:4px;font-family:Bitter,Georgia,serif;font-size:15px;max-width:calc(100% - 32px);box-shadow:0 8px 24px rgba(0,0,0,.18);opacity:0;pointer-events:none;transition:opacity .25s,transform .25s;z-index:99999}
.ust-toast.is-visible{opacity:1;transform:translate(-50%,0);pointer-events:auto}
.ust-toast a{color:#D9CBAF;text-decoration:underline}

/* Sign-up and ensemble profile fields */
.ust-register-intro,.ust-hint{font-size:14px;color:#5c5c5e;margin:0 0 16px}
.ust-profile-fields fieldset{border:0;padding:0;margin:20px 0 0;min-width:0}
.ust-profile-fields legend{font-weight:600;font-size:15px;color:#1A1A1C;margin-bottom:10px;padding:0}
.ust-profile-fields .optional{font-weight:400;color:#7a7a7c}
.ust-acct-types{display:grid;gap:8px}
.ust-radio-card{display:flex;gap:12px;align-items:flex-start;border:1px solid #D9CBAF;background:#FAF8F4;border-radius:2px;padding:12px 14px;cursor:pointer;transition:border-color .2s,background .2s}
.ust-radio-card:hover{border-color:#8C6A3A}
.ust-radio-card:has(input:checked){border-color:#8C6A3A;background:#F7F5EF;box-shadow:inset 3px 0 0 #8C6A3A}
.ust-radio-card input{margin-top:3px;accent-color:#8C6A3A}
.ust-radio-text strong{display:block;font-size:15px;color:#1A1A1C}
.ust-radio-text small,.ust-check small{display:block;font-size:12px;color:#6b6b6d;line-height:1.4}
.ust-check-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:8px}
.ust-check{display:flex;gap:10px;align-items:flex-start;border:1px solid #ece4d3;border-radius:2px;padding:10px 12px;cursor:pointer;font-size:14px;color:#29292B;background:#fff}
.ust-check:has(input:checked){border-color:#8C6A3A;background:#F7F5EF}
.ust-check input{margin-top:3px;accent-color:#8C6A3A}
.ust-profile-fields.is-musician .ust-ens-only{display:none}
.ust-ens-only{margin-top:8px}
.ust-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.ust-profile-form{max-width:760px}
.form-table .ust-profile-fields{max-width:760px}

/* My Account */
.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;margin:0 0 24px;padding:0;border-top:1px solid #D9CBAF}
.woocommerce-account .woocommerce-MyAccount-navigation li{border-bottom:1px solid #D9CBAF;margin:0}
.woocommerce-account .woocommerce-MyAccount-navigation a{display:block;padding:12px 4px;color:#29292B;text-decoration:none;font-family:Bitter,Georgia,serif}
.woocommerce-account .woocommerce-MyAccount-navigation a:hover{color:#8C6A3A}
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a{color:#8C6A3A;font-weight:600;box-shadow:inset 3px 0 0 #8C6A3A;padding-left:14px}
.woocommerce-account .woocommerce-MyAccount-content h2,.ust-recs h2{font-family:"Cormorant Garamond",Georgia,serif;font-weight:400;font-size:32px;color:#1A1A1C;margin:32px 0 16px}
.woocommerce-account .woocommerce form.login,.woocommerce-account .woocommerce form.register{border:1px solid #D9CBAF;background:#FAF8F4;border-radius:2px;padding:28px}
.woocommerce-account .woocommerce .button,.ust-profile-form .button{background:#8C6A3A;color:#F7F5EF;border-radius:2px;font-family:Bitter,Georgia,serif}
.woocommerce-account .woocommerce .button:hover,.ust-profile-form .button:hover{background:#1A1A1C;color:#F7F5EF}
.ust-recs{margin-top:32px}
.ust-register-login-heading{font-family:Bitter,Georgia,serif;font-size:16px;font-weight:600;color:#1A1A1C;margin:28px 0 12px;padding-top:20px;border-top:1px solid #D9CBAF}
.ust-pw-hint{margin:-4px 0 12px}
.woocommerce form.register .woocommerce-password-strength{font-size:13px;padding:6px 10px;margin-top:6px}
.woocommerce form.register .woocommerce-password-hint{font-size:12px;color:#6b6b6d}
.woocommerce form.register button[disabled]{opacity:.55;cursor:not-allowed}
