/* V1.13.0 DEV – customer layout, separate from model and pricing rules. */
.planner-switch-link {display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:9px 13px;box-sizing:border-box;border:1px solid #629b96;border-radius:9px;text-decoration:none;color:#b9eee6;font-size:13px;font-weight:650;line-height:1.3;}
.planner-switch-link svg {flex:none;}
.planner-switch-link:hover {background:#203c3b;border-color:#8cdace;}
.planner-switch-link:focus-visible {outline:3px solid #74d9cc;outline-offset:3px;}
.planner-switch-intro {display:flex;align-items:center;gap:16px;margin-top:16px;}
.planner-switch-intro small {color:#a8b8b7;font-size:12px;max-width:290px;line-height:1.5;}
.crm-editor-mode .planner-switch-link {display:none;}
.product-selector-shell {width:min(100%,1180px);padding:0;}
.product-selector {padding:24px;}
.selector-brand {margin-bottom:18px;}
.product-selector h1 {font-size:clamp(28px,3vw,40px);}
.product-card-grid {grid-template-columns:repeat(3,minmax(0,1fr));margin-top:20px;gap:18px;}
.product-card {grid-template-rows:170px 1fr;border-radius:15px;}
.product-card-copy {padding:18px;}
.product-card-copy strong {font-size:21px;}
.product-card-copy em {min-height:42px;font-size:13px;}
.product-preview img {width:100%;height:100%;object-fit:cover;display:block;}
.product-preview::before,.product-preview::after {display:none;}
.selector-note {margin-bottom:0;}
.simple-ui .side-plan,.simple-ui .side-plan:not(.is-freestanding) {grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;}
.simple-ui .side-plan.is-freestanding {grid-template-columns:repeat(4,minmax(0,1fr));}
.simple-ui .side-left {order:0;}.simple-ui .side-front {order:1;}.simple-ui .side-right {order:2;}.simple-ui .side-rear {order:3;}
.simple-ui .side-pick {min-height:48px;padding:8px 4px;}
.simple-ui .side-pick span {font-size:12px;}
.simple-ui .side-pick small {display:none;}
.simple-ui .side-pick[aria-pressed=true] {background:#116e68;border-color:#116e68;color:white;box-shadow:0 0 0 2px #a6dfd5;}
.simple-ui .side-pick[aria-pressed=true] span::before {content:'✓ ';}
.simple-ui .side-quick-head {padding:9px 11px;border-left:3px solid #168d89;}
.simple-ui .side-quick-head small {display:none;}
.simple-ui .side-quick-head strong {font-size:14px;}
.simple-ui .side-type-card {position:relative;}
.simple-ui .side-type-card[aria-pressed=true]::after {content:'✓';position:absolute;right:6px;top:6px;background:#116e68;color:white;border-radius:50%;width:20px;height:20px;font-size:13px;display:grid;place-items:center;}
.selected-side-badge {position:absolute;z-index:4;bottom:12px;left:50%;transform:translateX(-50%);max-width:calc(100% - 24px);width:max-content;padding:8px 13px;border:1px solid #76e4d6;border-radius:30px;background:#105e59;color:white;font-size:12px;font-weight:700;box-shadow:0 3px 16px #073c3933;pointer-events:none;}
.selected-side-badge[hidden] {display:none;}
.dimension-summary,.swipe-hint {display:none;}
.simple-ui select {font-size:16px;}
.viewer-more {position:relative;}
.viewer-more summary {list-style:none;cursor:pointer;}
.viewer-more summary::-webkit-details-marker {display:none;}
.viewer-more-panel {position:absolute;right:0;top:48px;padding:8px;display:grid;gap:6px;min-width:175px;background:#fff;border:1px solid #cbdad6;border-radius:12px;box-shadow:0 5px 22px #122e3026;}
.simple-ui .viewer-more-panel .viewer-button {width:100%;height:auto;min-height:44px;font-size:12px;justify-content:flex-start;padding:8px;}
.simple-ui .viewer-more-panel .viewer-button::before {display:none;}
.simple-ui .viewer-toolbar {overflow:visible;}
.simple-ui .viewer-button {min-height:44px;min-width:44px;}
@media(max-width:900px) {
 .product-selector {padding:20px 16px;place-items:start center;}
 .product-card-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
 .simple-ui .topbar {gap:6px;padding:0 10px;}
 .simple-ui .topbar-actions {gap:5px;}
 .topbar .planner-switch-link {font-size:11px;padding:6px 8px;gap:5px;}
 .topbar .planner-switch-link .switch-long {display:none;}
 .simple-ui .change-product-button {font-size:11px;padding:6px 8px;min-height:44px;}
 .simple-ui .brand-main,.simple-ui .brand-accent {font-size:12px;}
 .simple-ui .brand-subtitle {display:none;}
 .simple-ui .dimension-summary {display:flex;flex:none;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:44px;padding:7px 12px;background:#f6f8f7;color:#344d47;border:0;border-bottom:1px solid #dce6e1;text-align:left;font:inherit;font-size:12px;cursor:pointer;}
 .dimension-summary b {color:#116e68;font-size:12px;}
 .simple-ui.dimensions-collapsed .permanent-dimensions {display:none;}
 .dimension-summary[aria-expanded=true] b {font-size:0;}
 .dimension-summary[aria-expanded=true] b::after {content:'Összecsukás';font-size:12px;}
 .simple-ui.public-existing-mode .dimension-summary,.simple-ui.crm-existing-mode .dimension-summary {display:none;}
 .simple-ui .roof-type-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
 .simple-ui .roof-type-card span {min-height:52px;padding:10px 8px;display:grid;align-content:center;gap:4px;}
 .simple-ui .roof-type-card small {display:none;}
 .roof-selection-description {font-size:12px;line-height:1.45;color:#62746d;margin:8px 0 0;}
 .simple-ui .sidewall-customer-ui {padding:8px;}
 .simple-ui .side-quick-editor {margin-top:10px;}
 .simple-ui .side-type-grid {display:flex;overflow-x:auto;gap:8px;scroll-snap-type:x mandatory;scroll-padding:4px;padding:4px 4px 10px;overscroll-behavior-x:contain;}
 .simple-ui .side-type-card {flex:0 0 124px;min-height:106px;scroll-snap-align:start;gap:4px;padding:6px 6px 9px;}
 .simple-ui .wall-illustration {height:70px;}
 .simple-ui .side-type-card b {font-size:12px;}
 .swipe-hint {display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px;font-size:12px;font-weight:650;margin:10px 0 3px;color:#34594e;}
 .swipe-hint span {font-size:10px;font-weight:400;color:#65766f;}
 .simple-ui .config-step .panel-section {padding:12px 9px;}
 .simple-ui .side-quick-head {padding:7px 9px;}
 .simple-ui .side-pick {min-height:44px;}
 .simple-ui .viewer-toolbar {gap:6px;}
 .simple-ui .viewer-more summary {font-size:18px;display:grid;place-items:center;}
 .selected-side-badge {bottom:8px;font-size:11px;padding:6px 10px;}
}
@media(min-width:901px) {.roof-selection-description {display:none;}}
@media(max-width:540px) {
 .product-card-grid {grid-template-columns:1fr;gap:12px;}
 .product-card {grid-template-columns:100px minmax(0,1fr);grid-template-rows:auto;min-height:144px;border-radius:12px;}
 .product-preview {height:100%;}
 .product-card-copy {padding:13px;}
 .product-card-copy strong {font-size:17px;}
 .product-card-copy small {font-size:9px;}
 .product-card-copy em {font-size:11px;min-height:0;margin:6px 0;}
 .product-card-copy b {font-size:11px;margin-top:7px;}
 .planner-switch-intro {align-items:flex-start;flex-direction:column;gap:7px;}
 .selector-lead {font-size:13px;}
}
@media(max-width:360px) {
 .topbar .planner-switch-link svg {display:none;}
 .simple-ui .brand-main,.simple-ui .brand-accent {font-size:10px;}
 .simple-ui .side-type-card {flex-basis:112px;}
}
@media(prefers-reduced-motion:reduce) {html .product-card {transition:none;}}
/* Keep the horizontal picker inside its grid track instead of expanding it. */
.simple-ui .sidewall-customer-ui {grid-template-columns:minmax(0,1fr);}
.simple-ui .side-quick-editor,.simple-ui .side-plan,.simple-ui .side-quick-head {min-width:0;}
.simple-ui .side-quick-head {flex-wrap:wrap;}
.simple-ui .side-pick[aria-pressed=true] {transition:none;}
@media(max-width:900px) {
 .simple-ui .side-question {display:none;}
 .simple-ui .viewer-toolbar #camera-preset-button,.simple-ui .viewer-toolbar #fullscreen-button {font-size:0;}
 .simple-ui .viewer-toolbar #camera-preset-button::after {content:'Nézet';font-size:11px;}
 .simple-ui .viewer-toolbar #fullscreen-button::after {content:'⛶';font-size:23px;}
 .simple-ui .viewer-toolbar #camera-preset-button::before,.simple-ui .viewer-toolbar #fullscreen-button::before {display:none;}
 .simple-ui .viewer-toolbar #camera-preset-button {min-width:48px;}
}
.simple-ui .wedge-type-grid button {min-height:44px;}
.simple-ui .wedge-type-grid button b {font-size:11px;}
.simple-ui .wedge-linked-row {min-height:44px;}
.simple-ui .wedge-linked-row b {font-size:12px;}
.simple-ui .wedge-linked-row small {font-size:11px;}
.simple-ui #fullscreen-button {display:inline-flex;align-items:center;justify-content:center;gap:6px;}
@media(max-width:900px) {
 .simple-ui .viewer-toolbar #fullscreen-button::after {display:none;}
 .simple-ui #fullscreen-button span {display:none;}
}
.public-existing-mode .selected-side-badge,.crm-existing-mode .selected-side-badge {display:none;}

/* V1.13.2 DEV - visible, shared mounting control and independent ZIP picture card. */
.simple-ui .mounting-choice {
  flex:none;min-width:0;padding:9px 14px 11px;background:#f6f8f7;
  border-bottom:1px solid #e1e9e5;
}
.simple-ui .mounting-choice-head {display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:7px;}
.simple-ui .mounting-choice-head h2 {margin:0;color:#243b36;font-size:12px;font-weight:750;line-height:1.4;}
.simple-ui .mounting-choice-head small {color:#71847d;font-size:10px;line-height:1.4;text-align:right;}
.simple-ui .mounting-option-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;}
.simple-ui[data-product-family="fixedRoof"] .mounting-option-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
.simple-ui .mounting-option-grid label {position:relative;min-width:0;cursor:pointer;}
.simple-ui .mounting-option-grid input {position:absolute;width:1px;height:1px;opacity:0;pointer-events:none;}
.simple-ui .mounting-button {
  display:flex;flex-direction:row;align-items:center;justify-content:center;gap:5px;
  padding:7px 5px;min-height:48px;box-sizing:border-box;border-radius:10px;
  border:1px solid #d8e3df;background:#fff;color:#586c65;
  transition:border-color .15s ease,background .15s ease,box-shadow .15s ease;
}
.simple-ui .mounting-button svg {width:29px;height:23px;flex:none;color:#667d76;}
.simple-ui .mounting-button > span {font-size:11px;font-weight:700;line-height:1.25;overflow-wrap:normal;text-align:left;}
.simple-ui .mounting-option-grid label:hover .mounting-button {border-color:#83bdb1;background:#f6fcfa;}
.simple-ui .mounting-option-grid input:checked + .mounting-button {
  border-color:#168d89;background:#e9f7f3;color:#116e68;box-shadow:inset 0 0 0 1px #168d89;
}
.simple-ui .mounting-option-grid input:checked + .mounting-button svg {color:#116e68;}
.simple-ui .mounting-option-grid input:focus-visible + .mounting-button {outline:3px solid #168d89;outline-offset:2px;}
.simple-ui.public-existing-mode #mounting-choice,.simple-ui.crm-existing-mode #mounting-choice {display:none!important;}
.simple-ui .mounting-option-grid .bioclimatic-only[hidden] {display:none!important;}

.simple-ui .zip-option-section {min-width:0;margin:11px 0 2px;padding-top:11px;border-top:1px solid #e0eae5;display:grid;gap:8px;}
.simple-ui .zip-section-heading {display:flex;align-items:baseline;justify-content:space-between;gap:6px;flex-wrap:wrap;}
.simple-ui .zip-section-heading strong {font-size:12px;font-weight:750;color:#29453d;}
.simple-ui .zip-section-heading small {font-size:10px;color:#70847b;}
.simple-ui .zip-option-card {
  position:relative;display:grid;grid-template-columns:88px minmax(0,1fr) 23px;
  align-items:center;gap:10px;min-width:0;min-height:86px;padding:8px 12px 8px 8px;
  box-sizing:border-box;border:1px solid #d6e1dc;border-radius:12px;
  background:#fff;color:#253f37;cursor:pointer;transition:background .15s ease,border-color .15s ease,box-shadow .15s ease;
}
.simple-ui .zip-option-card:hover {border-color:#82bdb1;background:#fafdfc;}
.simple-ui .zip-card-illustration {display:block;width:88px;height:65px;min-width:0;border-radius:8px;}
.simple-ui .zip-card-copy {min-width:0;display:grid;gap:3px;line-height:1.35;}
.simple-ui .zip-card-copy b {font-size:14px;font-weight:750;}
.simple-ui .zip-card-copy small {font-size:11px;color:#6d7c77;}
.simple-ui .zip-card-copy em {font-size:10px;font-style:normal;font-weight:700;color:#82918b;}
.simple-ui .zip-card-check {
  display:grid;place-items:center;width:22px;height:22px;border:1px solid #ccdcd6;
  border-radius:50%;background:#f4f8f6;color:transparent;font-size:12px;font-weight:850;
}
.simple-ui .zip-option-card input {position:absolute;width:1px;height:1px;opacity:0;pointer-events:none;}
.simple-ui .zip-option-card.is-enabled {background:#edf9f5;border-color:#168d89;box-shadow:inset 0 0 0 1px #168d89;}
.simple-ui .zip-option-card.is-enabled .zip-card-check {background:#116e68;border-color:#116e68;color:#fff;}
.simple-ui .zip-option-card.is-enabled .zip-card-copy em {color:#116e68;}
.simple-ui .zip-option-card.is-partial {border-style:dashed;box-shadow:none;}
.simple-ui .zip-option-card input:focus-visible ~ .zip-card-copy {outline:2px solid #168d89;outline-offset:3px;border-radius:3px;}
.simple-ui .zip-option-card input:focus-visible ~ .zip-card-check {outline:2px solid #168d89;outline-offset:2px;}
@media(max-width:900px) {
 .simple-ui .mounting-choice {padding:6px 10px 8px;}
 .simple-ui .mounting-choice-head {margin-bottom:5px;}
 .simple-ui .mounting-choice-head h2 {font-size:11px;}
 .simple-ui .mounting-choice-head small {font-size:9px;}
 .simple-ui .mounting-option-grid {gap:5px;}
 .simple-ui .mounting-button {min-height:45px;padding:5px 3px;gap:4px;}
 .simple-ui .mounting-button svg {width:22px;height:19px;}
 .simple-ui .mounting-button > span {font-size:10px;}
 .simple-ui .zip-option-card {grid-template-columns:68px minmax(0,1fr) 23px;gap:9px;min-height:72px;padding:6px 9px 6px 6px;}
 .simple-ui .zip-card-illustration {width:68px;height:53px;}
 .simple-ui .zip-card-copy b {font-size:13px;}
 .simple-ui .zip-card-copy small {font-size:10px;}
 .simple-ui .zip-section-heading small {font-size:9px;}
}
@media(max-width:370px) {
 .simple-ui .mounting-choice-head small {display:none;}
 .simple-ui .mounting-button {flex-direction:column;min-height:59px;gap:1px;}
 .simple-ui .mounting-button > span {font-size:9px;text-align:center;}
 .simple-ui .zip-option-card {grid-template-columns:60px minmax(0,1fr) 22px;gap:7px;}
 .simple-ui .zip-card-illustration {width:60px;height:50px;}
}

/* V1.13.2.1 DEV - selected mounting mode moves to the end of the mobile step.
   The original radio controls remain the single source of truth. */
@media(max-width:900px) {
  .simple-ui .config-content > .mounting-choice.is-relocated {
    margin:14px 2px 4px;padding:0;min-width:0;flex:none;
    background:#fff;border:1px solid #dbe6e2;border-radius:12px;
    box-shadow:0 1px 2px rgba(22,51,44,.03);
  }
  .simple-ui .mounting-choice.is-relocated .mounting-choice-head {display:none;}
  .simple-ui .mounting-choice.is-relocated .mounting-choice-summary {
    display:flex;width:100%;min-height:54px;padding:10px 12px;
    align-items:center;justify-content:space-between;gap:10px;
    color:#2c453d;text-align:left;background:transparent;border:0;
    border-radius:12px;cursor:pointer;font:inherit;
  }
  .simple-ui .mounting-choice.is-relocated .mounting-choice-summary-text {display:grid;gap:2px;min-width:0;}
  .simple-ui .mounting-choice.is-relocated .mounting-choice-summary-text small {font-size:11px;color:#75867e;line-height:1.3;}
  .simple-ui .mounting-choice.is-relocated .mounting-choice-summary-text strong {font-size:13px;color:#28443b;line-height:1.35;}
  .simple-ui .mounting-choice.is-relocated .mounting-choice-edit {
    flex:none;display:inline-flex;align-items:center;gap:4px;
    color:#117d77;font-size:12px;font-weight:750;
  }
  .simple-ui .mounting-choice.is-relocated.is-expanded .mounting-choice-edit svg {transform:rotate(90deg);}
  .simple-ui .mounting-choice.is-relocated .mounting-option-grid {display:none;}
  .simple-ui .mounting-choice.is-relocated.is-expanded .mounting-option-grid {display:grid;padding:0 10px 12px;}
}
