/* SOLO shares LDSP title, price panel and field styles from globals.css.
   Keep only product-specific layout and gallery behavior here. */
.solo-configurator [hidden]{display:none!important}
.solo-configurator .config-gallery{align-self:start}
.solo-configurator .config-thumbs{grid-template-columns:repeat(var(--solo-gallery-count,4),minmax(0,1fr))}
.solo-configurator [data-solo-photo]{touch-action:pan-y pinch-zoom;cursor:grab}
.solo-configurator [data-solo-photo]:active{cursor:grabbing}
.solo-configurator [data-solo-photo] img{user-select:none;-webkit-user-drag:none;object-fit:contain}
[data-solo-configurator] .config-thumb{padding:0}
.solo-configurator .config-thumb img{display:block;width:100%;height:100%;object-fit:contain;user-select:none}
.solo-configurator .config-choice-grid,.solo-configurator .config-shapes{grid-template-columns:repeat(2,minmax(0,1fr))}
.solo-configurator [data-solo-field="frameModel"]{container-type:inline-size}
.solo-configurator .config-frame-model-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.solo-configurator .config-frame-model-grid button{min-width:0;min-height:55px;overflow-wrap:anywhere}
.solo-configurator .config-frame-model-grid button:focus-visible{outline:2px solid #769000;outline-offset:3px}
@container(max-width:430px){
  .solo-configurator .config-frame-model-grid{grid-template-columns:minmax(0,1fr)}
}
.solo-configurator .config-swatches button{min-height:44px}
.solo-configurator .config-swatches button span{display:inline}
.solo-configurator [data-solo-field="finish"],.solo-configurator [data-solo-field="lowerFinish"]{container-type:inline-size}
.solo-configurator .solo-floating-photo-note{margin:12px 0 0;color:#5b5d56;font-size:14px;line-height:1.5}
.solo-configurator .config-finishes{grid-template-columns:repeat(3,minmax(0,1fr))}
.solo-configurator [data-solo-field="finish"][data-solid-wood="true"] .config-finishes{grid-template-columns:repeat(2,minmax(0,1fr))}
.solo-configurator .config-finishes button{min-width:0;min-height:55px}
.solo-configurator .config-finishes button span{min-width:0;overflow-wrap:anywhere}
@container(max-width:380px){
  .solo-configurator .config-finishes button{flex-direction:column;justify-content:center;gap:6px;padding:8px 5px;text-align:center}
  .solo-configurator .config-finishes button i{flex:0 0 32px;width:32px}
}
.solo-configurator .config-shapes button{grid-template-columns:48px minmax(0,1fr);gap:10px}
/* Reuse the LDSP rectangle/rounded glyphs, with the same icon-and-label layout. */
.solo-configurator .config-corner-style-grid button{display:grid;grid-template-columns:47px minmax(0,1fr);align-items:center;gap:10px;min-width:0;min-height:70px;padding:9px}
.solo-configurator .config-corner-style-grid span{min-width:0;overflow-wrap:anywhere}
.solo-configurator [data-solo-field="shape"]{container-type:inline-size}
.solo-configurator .config-shapes button.is-paired-shape{--paired-icon-size:clamp(26px,7.5cqi,48px);grid-template-columns:var(--paired-icon-size) minmax(0,1fr) var(--paired-icon-size);gap:6px;text-align:center;min-width:0}
.solo-configurator .is-paired-shape .solo-shape-icon{width:var(--paired-icon-size);height:auto}
.solo-configurator .is-paired-shape span{min-width:0;overflow-wrap:anywhere}
.solo-shape-number{display:grid;place-items:center;width:48px;height:40px;font-size:18px;font-weight:500;color:#71746a;border:1px dashed #b8bcaf;border-radius:4px}
.solo-shape-icon{display:block;width:48px;height:40px;object-fit:contain}
/* Names and price notes stay together beside the existing icons. */
.solo-configurator .solo-option-copy{display:block;min-width:0}
.solo-configurator .solo-option-copy>span{display:block}
.solo-configurator .solo-option-note{display:block;margin:5px 0 0;color:#85877f;font-size:8px;font-weight:400;line-height:1.3;overflow-wrap:anywhere}
.solo-configurator .config-shapes .solo-option-note{color:#777970;font-size:7px}
.solo-configurator .config-summary span{font-size:12px}
.solo-configurator .config-summary strong{font-size:14px;overflow-wrap:anywhere}
.solo-configurator .config-order{grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr)}
.solo-configurator .config-order a{font-size:14px;line-height:1.4}
.solo-configurator .config-order strong{font-size:20px}
.solo-configurator [data-solo-photo]:focus-visible{outline:2px solid #769000;outline-offset:3px}
.solo-palette{border:0;margin:auto}
.solo-palette::backdrop{background:#11130fb8;backdrop-filter:blur(8px)}
.solo-palette .palette-modal-intro{font-size:16px}
.solo-palette .extra-palette-grid strong{font-size:14px;margin-bottom:14px}
.solo-palette>footer{font-size:12px;line-height:1.5}
.solo-size-modal{border:0;margin:auto;padding:0;max-width:calc(100vw - 24px);max-height:92dvh}
.solo-size-modal::backdrop{background:#11130fc4;backdrop-filter:blur(8px)}
.solo-size-modal .custom-size-modal-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.solo-size-diagram{display:flex;flex-direction:column;justify-content:center;gap:20px;text-align:center}
.solo-size-diagram>p{margin:0;font-size:15px;line-height:1.5}
.solo-size-shape-images{display:flex;align-items:center;justify-content:center;gap:12px}
.solo-size-shape-images img{width:46%;max-width:240px;height:auto;min-width:0}
.solo-size-diagram>strong{font-size:18px;line-height:1.5;overflow-wrap:anywhere}
.solo-size-diagram>small{font-size:12px;line-height:1.5}
.solo-size-modal .solo-size-inputs{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:18px 12px}
.solo-size-modal .solo-size-inputs>label>span:first-child{font-size:11px;line-height:1.5}
.solo-size-modal .solo-size-inputs input{height:44px;font-size:16px}
.solo-size-modal .solo-size-inputs small{font-size:12px}
.solo-size-help{margin:18px 0 10px;font-size:13px;line-height:1.6;color:#73766c}
.solo-size-modal .custom-size-status{font-size:13px;line-height:1.5}
.solo-size-modal .custom-size-apply{font-size:14px;min-height:44px}
.solo-size-modal .custom-size-estimate small{font-size:12px}
.solo-size-modal .custom-size-estimate strong{font-size:22px}
.solo-size-orientation{min-width:0;border:0;padding:0;margin:0 0 24px}
.solo-size-orientation legend{padding:0;margin-bottom:10px;font-size:14px;font-weight:600;color:#777970}
.solo-size-orientation .config-shapes button{font-size:14px;line-height:1.4;min-height:56px}
.solo-size-orientation img{display:block;max-width:100%;height:auto}
.solo-corner-sliders{gap:18px}
.solo-corner-sliders .custom-size-slider>span:first-child{gap:10px}
.solo-corner-sliders .custom-size-slider>span:first-child b{font-size:12px;line-height:1.5;letter-spacing:.04em}
.solo-corner-sliders .custom-size-slider output{white-space:nowrap;font-size:14px;min-width:64px;text-align:center}
.solo-corner-sliders .custom-size-slider input[type="range"]{height:44px}
.solo-corner-sliders .custom-size-range-control{margin-top:2px;margin-bottom:0}
.solo-corner-sliders .custom-size-range-control::before{content:none}
.solo-size-modal .solo-corner-preview{width:100%;aspect-ratio:1.06;min-height:240px;overflow:hidden}
.solo-size-modal .solo-corner-preview[data-shape="straight-180"]{aspect-ratio:2.2;min-height:180px}
.solo-corner-preview svg{width:100%;height:100%;overflow:visible}
.solo-corner-preview .custom-size-top-label{font-size:11px;letter-spacing:.06em}
.solo-corner-base{filter:drop-shadow(0 3px 4px #2c1b1438)}
.solo-corner-measure{fill:#62665b;font-family:inherit;font-size:6px;font-weight:600}
@media(max-width:760px){
  .solo-size-modal .custom-size-modal-grid{grid-template-columns:1fr}
  .solo-size-diagram{gap:12px}
  .solo-size-shape-images img{max-height:100px;width:auto;max-width:45%}
  .solo-size-modal .solo-corner-preview{aspect-ratio:auto;height:clamp(260px,65vw,380px)}
  .solo-size-modal .solo-corner-preview[data-shape="straight-180"]{aspect-ratio:auto;height:clamp(180px,45vw,240px)}
}
@media(max-width:600px){
  .solo-configurator .config-gallery{padding-bottom:24px}
  .solo-configurator .config-panel{padding-top:24px}
  .solo-configurator .config-order{grid-template-columns:1fr}
  .solo-configurator .config-summary div{gap:12px;flex-wrap:wrap}
  .solo-configurator .config-summary strong{margin-left:auto}
  .solo-palette{width:calc(100% - 24px);max-height:90dvh}
}
