.gg-custom-picker { width: 100%; margin: 0 0 1rem; }
.gg-store .woocommerce-product-gallery .gg-custom-gallery img { mix-blend-mode: normal; }
.gg-custom-picker fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.gg-custom-picker legend { float: none; width: auto; margin: 0; padding: 0; }
.gg-custom-picker .gg-custom-settings { display: grid; gap: 10px; padding: 10px 12px 12px; border: 1px solid #deddd2; border-radius: 14px; background: #fbfaf4; }
.gg-custom-picker .gg-custom-settings > legend { padding: 0 6px; font-weight: 650; }
.gg-store .gg-product .summary .gg-custom-price { margin: .7rem 0 0; font-size: 1.25rem; }
.gg-custom-price .sale-price { align-items: baseline; }
.gg-store .gg-product .summary .gg-custom-price del { font-size: .72em; }
.gg-custom-name { display: grid; gap: 4px; }
.gg-custom-name label, .gg-custom-options legend { font-size: .84rem; font-weight: 650; }
.gg-custom-name input[type="text"] { width: 100%; min-width: 0; min-height: 40px; padding: 6px 9px; border: 1px solid #deddd2; background: #fffdf8; border-radius: 8px; color: #292b22; text-transform: uppercase; }
.gg-custom-dual, .gg-custom-options-row { display: grid; gap: 6px; }
.gg-custom-dual { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gg-custom-picker [hidden] { display: none !important; }
.gg-custom-options legend { margin-bottom: 4px; }
.gg-custom-options-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gg-custom-options-row label { position: relative; display: grid; place-items: center; min-height: 34px; min-width: 0; text-align: center; gap: 3px; padding: 5px; margin: 0; background: #fffdf8; border: 1px solid #deddd2; border-radius: 8px; cursor: pointer; font-size: .78rem; line-height: 1.15; }
.gg-custom-options-row label:has(:checked) { background: #eff1e8; border-color: #556447; box-shadow: inset 0 0 0 1px #556447; }
.gg-custom-options-row label:has(:focus-visible) { outline: 2px solid #556447; outline-offset: 2px; }
.gg-custom-options-row input { position: absolute; width: 1px; height: 1px; opacity: 0; }
[data-gg-custom-picker] [data-price-delta] { font-weight: 700; white-space: nowrap; }
.gg-custom-finish img { display: block; width: 100%; height: 43px; object-fit: cover; border-radius: 5px; }
.gg-custom-hint, .gg-custom-status { margin: 0; color: #595e50; font-size: .83rem; }
.gg-custom-status:empty { display: none; }
.gg-custom-status[data-error] { color: #8e2d25; }
.gg-custom-mobile-preview { display: none; }

@media (max-width: 760px) {
  .gg-custom-mobile-preview {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: .8rem 0 0;
    overflow: hidden;
    border-radius: 26px;
    background: #f0ede6;
  }
  [data-kind="sign"] .gg-custom-mobile-preview { aspect-ratio: 2 / 1; }
  .gg-custom-mobile-preview img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .gg-custom-mobile-preview figcaption {
    position: absolute;
    inset: .5rem 0 auto;
    width: max-content;
    max-width: calc(100% - 1rem);
    margin-inline: auto;
    padding: 2px .65rem;
    border-radius: 999px;
    background: #fffdf8ed;
    color: #302a24;
    font-size: .72rem;
    font-weight: 600;
    text-align: center;
  }
}
