.badge-appearance{min-width:0;padding:0;border:0;margin:20px 0 24px}
.badge-appearance legend{font-weight:700;margin-bottom:12px;padding:0}
.badge-appearance-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.badge-appearance-option{display:grid!important;grid-template-columns:20px 1fr;align-items:center;gap:10px!important;padding:16px;border:2px solid #dfe5ed;border-radius:12px;background:#fff;cursor:pointer;min-width:0}
.badge-appearance-option:has(input:checked){border-color:#b38b3f;box-shadow:0 0 0 2px #f2e7ce}
.badge-appearance-option:has(input:focus-visible){outline:3px solid #183553;outline-offset:3px}
.badge-appearance-option input[type=radio]{width:18px;height:18px;margin:0;accent-color:#80612a}
.badge-appearance-title{font-size:15px;font-weight:700;color:#0b1726}
.badge-appearance-image{grid-column:1 / -1;display:flex;align-items:center;justify-content:center;min-height:160px;border-radius:8px;padding:10px;background:#f5f6f8}
.badge-appearance-image img{max-width:100%;max-height:165px;width:auto;height:auto;object-fit:contain}
.badge-appearance-size{grid-column:1 / -1;text-align:center;color:#697586;font-size:12px;font-weight:400}
.badge-appearance .mini{margin:12px 0 0;font-weight:400}
@media(max-width:767px){.badge-appearance-options{grid-template-columns:1fr}.badge-appearance-image{min-height:130px}.badge-appearance-image img{max-height:145px}}

.badge-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;max-width:956px}
.badge-gallery figure{margin:0;min-width:0}
.badge-gallery figure>a{display:flex;height:180px;align-items:center;justify-content:center;border-radius:8px}
.badge-gallery figure>a:focus-visible{outline:3px solid #183553;outline-offset:4px}
.badge-gallery img{display:block;max-width:100%;height:auto}
.badge-gallery figcaption{margin-top:10px;text-align:center}
@media(max-width:600px){.badge-gallery{grid-template-columns:1fr;justify-items:center}.badge-gallery figure{width:100%;max-width:300px}}
