/* Round 03: configurator only. Native radios and dialog behavior preserved. */
#selector .selector-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-items: start; }
#selector .selector-layout > *, #selector .product-info > * { min-width: 0; }
#selector .product-art { aspect-ratio: 2 / 3; width: 100%; max-width: 380px; margin-inline: auto; background: white; }
#selector .product-art > img { object-fit: contain; object-position: center; }
#selector .product-info h3 { font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.06; letter-spacing: -.05em; }
#selector .product-subtitle { font-size: .8rem; line-height: 1.5; }
#selector .selection-summary { margin-top: .6rem; font-size: .85rem; color: var(--color-black); }
#selector .family-fieldset { margin-top: 1.5rem; }
#selector .family-fieldset legend, #selector .option-group legend { font-size: .625rem; font-weight: 700; letter-spacing: .1em; margin-bottom: .65rem; }
#selector .family-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; border-bottom: 1px solid #b8baae; }
#selector .family-options label { min-width: 0; min-height: 52px; padding: .6rem .35rem; font-size: .65rem; line-height: 1.3; border-bottom: 2px solid transparent; justify-content: center; text-align: center; gap: .3rem; }
#selector .family-options label:has(input:checked) { border-bottom-color: var(--color-brand); background: var(--color-off-white); color: var(--color-brand); }
#selector .family-options label:hover { background: #f3f2ed; }
#selector .option-group { margin-top: 1.25rem; }
#selector .size-options, #selector .color-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
#selector .choice { min-width: 0; min-height: 46px; padding: .65rem .6rem; gap: .4rem; border: 1px solid #b7b9ad; font-size: .75rem; cursor: pointer; }
#selector .choice > span:last-child { overflow-wrap: anywhere; }
#selector .choice:hover { background: #f3f2ed; }
#selector .choice:has(input:checked) { background: var(--color-off-white); border-color: var(--color-brand); box-shadow: inset 0 -1px var(--color-brand); }
#selector input[type=radio] { width: 14px; height: 14px; }
#selector .swatch { width: 18px; height: 18px; flex: 0 0 18px; border-radius: 0; }
#selector .choice:has(input:focus-visible), #selector .family-options label:has(input:focus-visible) { outline: 3px solid var(--color-focus); outline-offset: 3px; }
#selector .color-note { margin-top: .55rem; font-size: .6875rem; color: var(--color-muted); }
#selector .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 1.25rem 0; }
#selector .specs dd { overflow-wrap: anywhere; }
#selector .product-price { margin: 1.4rem 0 1rem; }
#selector .product-price p { font-size: 1.75rem; line-height: 1.2; font-weight: 700; }
#selector .product-price small { font-size: .7rem; }
#selector .product-actions .button { width: 100%; min-height: 50px; background: var(--color-black); color: white; border: 1px solid var(--color-black); justify-content: space-between; font-size: .75rem; transform: none; }
#selector .product-actions .button:hover { background: var(--color-graphite); }
#selector .product-actions .button:active { background: #080908; }
#selector .product-actions .button:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 4px; }
#selector .product-art .placeholder { background: #e0e1d8; background-image: none; align-items: flex-start; justify-content: center; padding: clamp(1.5rem, 4vw, 3rem); gap: 1rem; }
#selector .stage-family { font-size: .65rem; letter-spacing: .12em; color: var(--color-muted); }
#selector .stage-size { font-size: clamp(2.3rem, 6vw, 4.5rem); line-height: 1; letter-spacing: -.06em; font-weight: 700; overflow-wrap: anywhere; }
#selector .stage-spec { font-size: .85rem; }
#selector .stage-model { font-size: .75rem; border-top: 1px solid #b7b9ad; padding-top: 1rem; width: 100%; }
@media (min-width: 768px) {
  #selector .selector-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 3.5vw, 4rem); }
  #selector .product-art { max-width: 500px; }
  #selector .family-options label { font-size: .625rem; }
  #selector .product-info { padding: 0; }
}
@media (min-width: 1280px) {
  #selector .selector-layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  #selector .size-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #selector .family-options label { font-size: .75rem; }
  #selector .choice { font-size: .8125rem; }
}

/* Product studio: extend the photograph's white surface to its existing grid cell. */
#selector .selector-layout > :first-child {
  background: #fdfdfd;
  align-self: stretch;
  display: flex;
  align-items: center;
}
#selector .product-art .placeholder { background: #fdfdfd; }

#main #selector .product-art { background: #fdfdfd; }

/* The section owns the studio surface; existing content gutters stay intact. */
#main #urunler { position: relative; isolation: isolate; }
@media (min-width: 768px) {
  #main #urunler::before { content: ""; position: absolute; inset: 0 50% 0 0; background: #fdfdfd; z-index: -1; pointer-events: none; }
}
@media (max-width: 767px) {
  #main #urunler { display: grid; grid-template-columns: minmax(0, 1fr); }
  #main #urunler > .section-label,
  #main #urunler > .section-heading,
  #main #urunler #selector,
  #main #selector .selector-layout { display: contents; }
  #main #urunler > .section-label > span:first-child { grid-row: 1; padding-top: 1.25rem; padding-bottom: 1.25rem; font-size: .625rem; letter-spacing: .12em; }
  #main #urunler #products-title { grid-row: 2; padding-bottom: 2rem; }
  #main #selector .selector-layout > :first-child { grid-row: 3; }
  #main #urunler > .section-label > span:last-child { display: block; grid-row: 4; padding-top: 1.5rem; padding-bottom: 1rem; font-size: .625rem; letter-spacing: .12em; color: var(--color-muted); }
  #main #urunler > .section-heading > p { grid-row: 5; margin: 0 0 2rem; }
  #main #selector .product-info { grid-row: 6; }
  #main #urunler > .section-label > span:first-child,
  #main #urunler #products-title,
  #main #selector .selector-layout > :first-child {
    background: #fdfdfd;
    margin-inline: calc(-1 * var(--site-edge));
    padding-inline: var(--site-edge);
  }
  /* Carry white through the section's top padding, without touching manifesto. */
  #main #urunler::before { content: ""; position: absolute; inset: 0 0 auto; height: clamp(2rem, 3.2vw, 3.5rem); background: #fdfdfd; z-index: -1; pointer-events: none; }
  #main #urunler::after { content: ""; position: absolute; top: clamp(2rem, 3.2vw, 3.5rem); left: var(--site-edge); right: var(--site-edge); border-top: 1px solid #bcbeb3; pointer-events: none; }
}
