/* Restore product options and personalisation layout. */
#product .options { display: block; width: 100%; max-width: 520px; }
#product .radio-cell .btn-group { display: flex; flex-wrap: wrap; gap: 6px; }
#product .radio-cell .btn-option { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; height: auto; min-height: 46px; min-width: 70px; padding: 8px; margin: 0; white-space: normal; }
#product .radio-cell .btn-option img { display: block; width: 60px; height: 60px; object-fit: contain; margin-bottom: 5px; }
#product table[id^="tb-sftool"] { width: 100%; }
#product .sftool-upload { max-width: 100%; white-space: normal; height: auto; }
.legal-guarantee-bar.primary-color-border { border: 0 !important; }

/* Image choices: frame the thumbnail only, with the name below it. */
#product .radio-cell .btn-option:has(> img) { border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; min-width: 70px; max-width: 95px; color: inherit !important; text-transform: none; line-height: 20px; }
#product .radio-cell .btn-option > img { width: 70px; height: 70px; box-sizing: border-box; background: #fff; border: 1px solid #ddd; border-radius: 3px; margin-bottom: 3px; }
#product .radio-cell .btn-option:has(> img) .name { font-size: 14px; font-weight: 400; white-space: normal; }
#product .radio-cell .btn-option.active > img, #product .radio-cell .btn-option > input:checked + img { border: 2px solid #111; }
#product .radio-cell .btn-option:focus-visible > img { outline: 2px solid #111; outline-offset: 2px; }
