/* EPO mug type field only: compact thumbnails, readable names, stable selection. */
body.single-product #tm-extra-product-options .cpf-type-radio[data-uniqid="68f7443ad44f99.79415840"] {
  --zgh-mug-thumb: 68px;
  --zgh-mug-cols: 4;
  margin-bottom: 24px!important;
}
body.single-product #tm-extra-product-options .cpf-type-radio[data-uniqid="68f7443ad44f99.79415840"] ul.tmcp-ul-wrap {
  display:grid!important;grid-template-columns:repeat(var(--zgh-mug-cols),minmax(0,1fr))!important;
  gap:9px!important;align-items:stretch!important;
}
body.single-product #tm-extra-product-options .cpf-type-radio[data-uniqid="68f7443ad44f99.79415840"] li.tc-mode-images label.tm-epo-field-label {
  display:flex!important;flex-direction:column!important;justify-content:center!important;
  position:relative!important;min-height:142px!important;height:100%!important;
  padding:10px 6px!important;border:1px solid #dce2d9!important;border-radius:12px!important;
  background:#fff!important;box-shadow:none!important;transform:none!important;
  overflow:visible!important;transition:background-color .15s,border-color .15s,box-shadow .15s!important;
}
body.single-product #tm-extra-product-options .cpf-type-radio[data-uniqid="68f7443ad44f99.79415840"] .tc-label-wrap {
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
  gap:8px!important;grid-template-columns:none!important;grid-template-rows:none!important;
}
body.single-product #tm-extra-product-options .cpf-type-radio[data-uniqid="68f7443ad44f99.79415840"] input.tmcp-radio {
  display:block!important;position:absolute!important;inset:0!important;
  width:100%!important;height:100%!important;margin:0!important;opacity:0!important;cursor:pointer!important;
}
body.single-product #tm-extra-product-options .cpf-type-radio[data-uniqid="68f7443ad44f99.79415840"] img.tc-image {
  display:block!important;flex:none!important;width:var(--zgh-mug-thumb)!important;height:var(--zgh-mug-thumb)!important;
  max-width:100%!important;aspect-ratio:1!important;object-fit:cover!important;
  border-radius:9px!important;margin:0 auto!important;
}
body.single-product #tm-extra-product-options .cpf-type-radio[data-uniqid="68f7443ad44f99.79415840"] .tc-label-text {
  display:block!important;padding:0!important;font-size:11.5px!important;line-height:1.3!important;
  text-align:center!important;overflow-wrap:normal!important;word-break:normal!important;
}
body.single-product #tm-extra-product-options .cpf-type-radio[data-uniqid="68f7443ad44f99.79415840"] .zgh-mug-name {
  display:flex!important;align-items:center!important;justify-content:center!important;
  min-height:30px!important;font:700 11.5px/1.3 Arial,Helvetica,sans-serif!important;
  color:#171917!important;text-transform:none!important;letter-spacing:0!important;
}
body.single-product #tm-extra-product-options .cpf-type-radio[data-uniqid="68f7443ad44f99.79415840"] .zgh-mug-extra {
  display:block!important;margin-top:3px!important;font:500 11px/1.3 Arial,Helvetica,sans-serif!important;
  color:#596256!important;letter-spacing:0!important;white-space:nowrap!important;
}
body.single-product #tm-extra-product-options .cpf-type-radio[data-uniqid="68f7443ad44f99.79415840"] li.tc-mode-images label.tm-epo-field-label:hover {
  background:#f7faf5!important;border-color:#7b9872!important;transform:none!important;
}
body.single-product #tm-extra-product-options .cpf-type-radio[data-uniqid="68f7443ad44f99.79415840"] li.tc-mode-images:has(input:checked) label.tm-epo-field-label {
  border:1px solid #121812!important;padding:10px 6px!important;background:#edf8e8!important;
  box-shadow:inset 0 0 0 1px #121812!important;
}
body.single-product #tm-extra-product-options .cpf-type-radio[data-uniqid="68f7443ad44f99.79415840"] li.tc-mode-images:has(input:checked) label.tm-epo-field-label::after {
  content:""!important;display:block!important;position:absolute!important;top:8px!important;right:8px!important;left:auto!important;
  width:6px!important;height:10px!important;margin:0!important;padding:0!important;
  border:solid #121812!important;border-width:0 2px 2px 0!important;border-radius:0!important;
  background:transparent!important;transform:rotate(45deg)!important;
}
body.single-product #tm-extra-product-options .cpf-type-radio[data-uniqid="68f7443ad44f99.79415840"] li.tc-mode-images:has(input:focus-visible) label.tm-epo-field-label {
  outline:2px solid #121812!important;outline-offset:3px!important;
}
@media(max-width:1100px) {
  body.single-product #tm-extra-product-options .cpf-type-radio[data-uniqid="68f7443ad44f99.79415840"] {--zgh-mug-cols:3}
}
@media(max-width:600px) {
  body.single-product #tm-extra-product-options .cpf-type-radio[data-uniqid="68f7443ad44f99.79415840"] {--zgh-mug-thumb:54px}
  body.single-product #tm-extra-product-options .cpf-type-radio[data-uniqid="68f7443ad44f99.79415840"] ul.tmcp-ul-wrap {gap:7px!important}
  body.single-product #tm-extra-product-options .cpf-type-radio[data-uniqid="68f7443ad44f99.79415840"] li.tc-mode-images label.tm-epo-field-label,
  body.single-product #tm-extra-product-options .cpf-type-radio[data-uniqid="68f7443ad44f99.79415840"] li.tc-mode-images:has(input:checked) label.tm-epo-field-label {min-height:128px!important;padding:9px 4px!important}
  body.single-product #tm-extra-product-options .cpf-type-radio[data-uniqid="68f7443ad44f99.79415840"] .zgh-mug-name {font-size:11px!important}
  body.single-product #tm-extra-product-options .cpf-type-radio[data-uniqid="68f7443ad44f99.79415840"] .zgh-mug-extra {font-size:10px!important}
}
@media(max-width:360px) {
  body.single-product #tm-extra-product-options .cpf-type-radio[data-uniqid="68f7443ad44f99.79415840"] {--zgh-mug-cols:2}
}
