.pc-product-selector { display: none; }
@media (min-width: 851px) {
  body.h5-workspace .product-preview:has(.pc-product-selector) {
    grid-template-rows: auto auto minmax(0, 1fr) auto;
  }
  .pc-product-selector {
    display: grid; grid-template-columns: minmax(0, 1fr);
    align-items: center; min-width: 0; grid-row: 1;
    width: min(100%, 880px); justify-self: center;
  }
  .pc-product-selector h2 {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
  }
  .pc-product-options {
    display: flex; flex-wrap: nowrap; gap: 4px; min-width: 0; overflow-x: auto;
    overscroll-behavior-x: contain; scrollbar-width: thin; padding: 3px;
    scrollbar-color: #d5b783 transparent;
    border-radius: 16px; background: #fffaf480;
  }
  .pc-product-option {
    display: grid; flex: 1 0 auto; grid-template-columns: 34px max-content;
    grid-template-rows: 20px 14px; align-content: center; justify-content: center;
    align-items: center; column-gap: 8px; margin: 0; padding: 8px 10px;
    min-height: 52px; min-width: 116px; box-sizing: border-box; text-align: left;
    border: 1px solid transparent; border-radius: 12px;
    background: transparent; color: #483222; font: inherit;
    cursor: pointer; transition: background-color .16s, border-color .16s;
  }
  .pc-product-option img { display: block; grid-column: 1; grid-row: 1 / 3; width: 34px; height: 34px; object-fit: contain; }
  .pc-product-option > span { grid-column: 2; grid-row: 1; font-size: 14px; line-height: 20px; white-space: nowrap; font-weight: 600; }
  .pc-product-option small { grid-column: 2; grid-row: 2; font-size: 11px; line-height: 14px; color: #806d5a; white-space: nowrap; }
  .pc-product-option small:empty { display: none; }
  .pc-product-option:has(small:empty) > span { grid-row: 1 / 3; }
  .pc-product-option[aria-pressed="true"] { background: #fff0d9; border-color: #c8a064; box-shadow: 0 0 0 1px #c8a06440, 0 5px 13px #af8a5520; }
  .pc-product-option:hover { background: #fff6e8; border-color: #dfc7a3; }
  .pc-product-option:focus-visible { outline: 2px solid #936b34; outline-offset: 1px; }
  .pc-product-option[aria-disabled="true"] { cursor: help; }
  .pc-product-notice { grid-column: 1 / -1; min-height: 0; margin: 0; font-size: 11px; line-height: 16px; text-align: center; color: #7b6145; }
  .pc-product-notice:empty { display: none; }
  .puzzle-product-active #templatePanel { display: none; }
  body.h5-workspace .product-preview:has(.pc-product-selector) > .preview-controls { grid-row: 2; }
  body.h5-workspace .product-preview:has(.pc-product-selector) > #frameStage { grid-row: 3; }
  body.h5-workspace .product-preview:has(.pc-product-selector) > .workbench-preview-bottom { grid-row: 4; }
}
@media (prefers-reduced-motion: reduce) { .pc-product-option { transition: none; } }
