/* The native radio remains the form's source of truth. */
.pc-style-preview-notice { padding-block: 12px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; color: #526459; font-size: 13px; line-height: 1.5; }
.pc-style-preview-notice[hidden] { display: none; }
.pc-style-preview-notice button { padding: 8px 0; min-height: 44px; background: transparent; border: 0; color: #193d32; font: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
body.single-product .pc-photo-choices { padding-block: 12px 18px; }
body.single-product .pc-photo-choices legend { padding: 0; margin-bottom: 0; }
body.single-product .pc-photo-choices > .petcera-catalog-option-help { margin: 10px 0 14px; }
body.single-product .pc-photo-choices .petcera-catalog-visual-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
  max-height: none;
  overflow: visible;
}
body.single-product .pc-photo-choices .petcera-catalog-visual-options label {
  display: flex;
  min-width: 0;
  margin: 0;
  position: relative;
}
body.single-product .pc-photo-choices .petcera-catalog-visual-options label > span {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 7px;
  padding: 6px 6px 12px;
  border: 1px solid #d8d7cd;
  border-radius: 10px;
  background: #fffdf8;
  color: #193d32;
  box-shadow: none;
  overflow: hidden;
  text-align: left;
  transition: border-color .15s ease, background-color .15s ease;
}
body.single-product .pc-photo-choices .petcera-catalog-visual-options img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 5px;
  margin: 0 0 3px;
  background: #f4f0e8;
}
body.single-product .pc-photo-choices .petcera-catalog-visual-options b {
  display: block;
  margin: 0;
  padding: 0 5px;
  color: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
body.single-product .pc-photo-choices .petcera-catalog-visual-options small {
  padding: 0 5px;
  margin-top: auto;
  color: #55665b;
  font-size: 12px;
  line-height: 1.4;
}
body.single-product .pc-photo-choices label:has(input[data-price="0"]) > span > small { display: none; }
body.single-product .pc-photo-choices .pc-photo-note {
  padding: 0 5px;
  color: #55665b;
  font-size: 12px;
  font-style: normal;
  line-height: 1.4;
}
body.single-product .pc-photo-choices .petcera-catalog-visual-options input:checked + span {
  border-color: #193d32;
  background: #edf1e8;
  box-shadow: inset 0 0 0 1px #193d32;
}
body.single-product .pc-photo-choices .petcera-catalog-visual-options input:checked + span::after {
  content: '✓';
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #193d32;
  color: white;
  font: 600 14px/1 sans-serif;
  box-shadow: 0 0 0 2px #fffdf8;
}
body.single-product .pc-photo-choices .petcera-catalog-visual-options input:focus-visible + span {
  outline: 3px solid #ab7257;
  outline-offset: 3px;
}
body.single-product .pc-photo-choices .petcera-catalog-visual-options label > span:not(:has(img)) {
  justify-content: center;
  min-height: 92px;
  padding: 20px 12px;
}
body.single-product .pc-photo-choices .petcera-catalog-visual-options label:has(> span:not(:has(img))) { align-self: center; }
body.single-product .pc-photo-choices .petcera-catalog-visual-options label > span:not(:has(img)) > small { margin-top: 0; }
body.single-product .pc-photo-choices .pc-photo-clear {
  display: block;
  width: auto;
  min-height: 44px;
  margin: 12px 0 0;
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #193d32;
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 700px) {
  body.single-product .pc-photo-choices .petcera-catalog-visual-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  body.single-product .pc-photo-choices .petcera-catalog-visual-options b { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  body.single-product .pc-photo-choices .petcera-catalog-visual-options label > span { transition: none; }
}
