.dem-pills{display:none;flex-wrap:wrap;gap:8px;max-width:100%}
@media(scripting:enabled){.dem-pills{display:flex}.dem-pills--tiles{display:grid}.dem-options select{position:absolute;width:1px!important;height:1px;clip-path:inset(50%);overflow:hidden;padding:0!important;min-height:0!important}}
.dem-pills button{position:relative;min-height:44px;min-width:44px;max-width:100%;padding:0 1rem;border:1px solid var(--wp--preset--color--border-strong,var(--wp--preset--color--border));border-radius:var(--wp--custom--radius--small);background:var(--wp--preset--color--base);color:var(--wp--preset--color--foreground);font:inherit;overflow-wrap:anywhere;cursor:pointer}

.dem-pills--tiles{grid-template-columns:repeat(auto-fit,minmax(min(100%,max(4.5rem,calc(var(--w,5)*1ch + .5rem),calc(var(--p,0)*.5rem + .5rem))),1fr));max-width:max(calc(var(--n,3)*12rem + (var(--n,3) - 1)*8px),calc((var(--n,3) - 2)*100vw))}
.dem-pills--tiles button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0;min-height:60px;padding:8px 4px}
.dem-pill__name{line-height:1.25;font-weight:500}
.dem-pill__price{font-size:.875rem;line-height:1.25;font-weight:400;font-variant-numeric:tabular-nums;color:var(--wp--preset--color--muted)}
.dem-pills button[aria-checked=true] .dem-pill__name{font-weight:700}
.dem-pills button[aria-checked=true] .dem-pill__price,.dem-pills button:is(:disabled,[data-ver-off]) .dem-pill__price{color:inherit}
.dem-pills button:hover{border-color:var(--wp--preset--color--foreground)}
.dem-pills button[aria-checked=true]{box-shadow:inset 0 0 0 2px var(--wp--preset--color--foreground);background:var(--wp--preset--color--surface);font-weight:600}
.dem-pills button:focus-visible{outline:2px solid var(--wp--preset--color--foreground);outline-offset:4px}

.dem-pills button:is(:disabled,[data-ver-off],[data-ver-sold-out]){border-style:dashed;color:var(--wp--preset--color--muted);cursor:not-allowed}
.dem-pills:not(.dem-pills--tiles) button:is(:disabled,[data-ver-off],[data-ver-sold-out]),.dem-pills button:is(:disabled,[data-ver-off],[data-ver-sold-out]) .dem-pill__name{text-decoration:line-through}
.dem-pills--color button{display:grid;place-items:center;padding:5px;border:0;border-radius:50%;box-shadow:none!important;background:none!important}
.dem-pills--color span:empty{display:block;width:36px;height:36px;border:1px solid rgba(0,0,0,.15);border-radius:50%;box-sizing:border-box}
.dem-pills--color button[aria-checked=true] span:empty{box-shadow:0 0 0 2px var(--wp--preset--color--base),0 0 0 4px var(--wp--preset--color--foreground)}
.dem-pills--color button:hover span:empty{border-color:var(--wp--preset--color--foreground)}
.dem-pills--color button:is(:disabled,[data-ver-off],[data-ver-sold-out]) span:empty{opacity:.45}
.dem-pills--color:not(.dem-pills--tiles) button:is(:disabled,[data-ver-off],[data-ver-sold-out]):after{content:"";position:absolute;inset:6px;border-radius:50%;background:linear-gradient(to top right,transparent calc(50% - .5px),var(--wp--preset--color--muted) 50%,transparent calc(50% + .5px));pointer-events:none}

.dem-pills--color.dem-pills--tiles{--ver-col:max(3rem,calc(var(--w,5)*1ch));grid-template-columns:repeat(auto-fill,var(--ver-col));gap:4px;max-width:none;margin-inline-start:calc(18px - var(--ver-col)/2);font-size:.875rem}
.dem-pills--color.dem-pills--tiles button{display:flex;gap:6px;padding:6px 0 2px;border-radius:var(--wp--custom--radius--small)}
.dem-pills--color .dem-pill__name{color:var(--wp--preset--color--muted)}
.dem-pills--color button[aria-checked=true] .dem-pill__name{color:inherit}



:root .ver-add-to-cart table.variations{margin:0 0 20px}

:root .ver-add-to-cart table.variations tr+tr{margin-block-start:21px}

:root .ver-add-to-cart table.variations th{display:flex;align-items:flex-start;gap:12px;padding:0 0 9px;line-height:22px;min-height:0}

:root .ver-add-to-cart table.variations th label{line-height:22px;min-width:0;margin:0}

:root .ver-add-to-cart table.variations td{padding:0}
:root .ver-add-to-cart .dem-invalid label{color:var(--wp--preset--color--sale)}

:root .ver-add-to-cart .woocommerce-variation-price{display:none}

:root .ver-add-to-cart .single_variation:not(:has(.woocommerce-variation-description:not(:empty),.woocommerce-variation-availability:not(:empty),[role=alert])){display:none!important;margin:0!important;padding:0!important;height:0!important;min-height:0!important}

:root .ver-add-to-cart form.variations_form{row-gap:0}
