/* Shared dropdowns for products, calculators, reviews and admin. */
select.site-select-native[hidden],.product.card-ready .strength-select[hidden],.strength-menu [hidden]{display:none!important}
.strength-menu{width:100%;min-width:0;font-weight:400}
body .strength-menu button{box-sizing:border-box;font:inherit;font-size:16px;line-height:1.45;cursor:pointer}
body .strength-menu .strength-menu-trigger{position:relative;width:100%;min-height:48px;padding:10px 38px 10px 12px;margin:0;text-align:left;white-space:normal;overflow-wrap:anywhere;color:var(--text);background:var(--brand-field);border:1px solid var(--control-border);border-radius:6px}
.strength-menu-trigger::after{content:'';position:absolute;right:16px;top:19px;width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg)}
.strength-menu-trigger[aria-expanded=true]::after{top:23px;transform:rotate(225deg)}
.strength-menu-panel{box-sizing:border-box;width:100%;max-height:min(65vh,32rem);overflow-y:auto;overscroll-behavior:contain;margin-top:6px;padding:6px;background:var(--brand-field);border:1px solid var(--control-border);border-radius:6px;text-align:left}
.strength-menu-group+.strength-menu-group{margin-top:6px;padding-top:6px;border-top:1px solid #ffffff26}
.strength-menu-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 6px;color:var(--gold);font-size:14px;font-weight:600;line-height:1.4}
.strength-menu-heading>span{min-width:0;overflow-wrap:anywhere}
body .strength-menu .strength-menu-option{display:block;position:relative;width:100%;min-height:44px;margin:0;padding:10px 30px 10px 10px;border:0;border-radius:4px;background:transparent;color:var(--text);text-align:left;white-space:normal;overflow-wrap:anywhere}
body .strength-menu .strength-menu-option[aria-pressed=true]{background:#d9a43018;color:var(--gold)}
.strength-menu-option[aria-pressed=true]::after{content:'✓';position:absolute;right:10px;top:10px}
body .strength-menu .strength-menu-option:not(:disabled):hover{background:#ffffff0c}
body .strength-menu button:focus-visible{outline:2px solid var(--gold);outline-offset:-2px}

body .strength-menu button:disabled{opacity:.55;cursor:not-allowed}
.dropdown-error{margin:6px 0 0;color:#ffb6ab;font-size:14px;line-height:1.5}
.dropdown-field{display:flex;flex-direction:column;gap:8px;min-width:0}
.dropdown-field>label{margin:0}

.target-custom>.strength-menu{flex:0 0 110px;width:110px;align-self:flex-start}
.pen-form>.dropdown-field{gap:10px}

/* Desktop product menus overlay the following content instead of increasing
   the height of their card and every neighbouring shared grid track. */
@media(min-width:701px){
 .product .strength-menu{position:relative}
 .product .strength-menu-panel{position:absolute;inset:auto 0 auto;top:100%;z-index:20;box-shadow:0 12px 28px #0008}
 .product:has(.strength-menu-trigger[aria-expanded="true"]){position:relative;z-index:10}
}
