/* PVC entrance door calculator: the window and garage calculator styles plus text choice cards, panel pictures and the door view. */
#rdc-form{counter-reset:rwc-step}
.rdc .rwc-dimensions{grid-template-columns:repeat(2,130px) 100px}
.rdc-choice-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:460px}
.rdc-choice-card,.rdc-panel-card,.rdc-handle-card{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:0;padding:12px 8px;border:1px solid #cadce5;border-radius:11px;background:#fff;color:#173c51;font:inherit;line-height:1.35;text-align:center;cursor:pointer}
.rdc-choice-card strong{font-size:14px}
.rdc-choice-card small{font-size:12px;color:#5d7785}
.rdc-leaves-card svg{width:auto;height:54px;color:#56798a}
/* Opening and threshold cards: a small sketch over the name and a sentence that explains the choice. */
.rdc-choice-cards:has(.rdc-sketch-card){max-width:560px}
.rdc-sketch-card{justify-content:flex-start}
.rdc-sketch-card svg{width:auto;height:64px;color:#56798a}
.rdc-sketch-card small{line-height:1.4}
.rdc-system-card small{font-size:12px;color:#5d7785}
.rdc-choice-card:hover,.rdc-panel-card:hover,.rdc-handle-card:hover{border-color:#087cae}
.rdc [aria-pressed=true].rdc-choice-card,.rdc [aria-pressed=true].rdc-panel-card,.rdc [aria-pressed=true].rdc-handle-card{border-color:#087cae;box-shadow:inset 0 0 0 1px #087cae;background:#f0f8fc}
.rdc button:disabled{opacity:.45;cursor:not-allowed}
.rdc-system-card{padding:16px 8px}
.rdc-system-card strong{font-size:15px}
.rdc #rdc-system-info{margin-top:12px}
.rdc #rdc-system-info p{margin:6px 0 0}
.rdc .rgc-color-cards{grid-template-columns:repeat(6,minmax(0,1fr))}
.rdc-panel-cards{display:grid;gap:18px}
.rdc-panel-series-title{margin:0;font-size:15px;color:#173c51}
.rdc-panel-series-text{margin:2px 0 8px;font-size:13px;color:#5d7785}
.rdc-panel-series-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.rdc-panel-card{padding:8px 6px}
.rdc-panel-picture{--rdc-frame:#f3f4f1;display:flex;justify-content:center;width:100%;height:120px}
.rdc-panel-image{position:relative;display:block;height:100%;overflow:hidden}
.rdc-panel-image img{display:block;width:auto;height:100%}
/* Foiled panel in the door colour: the colour multiplied over the white picture keeps its lines and glass visible. */
/* 1px beyond the leaf (clipped by it): the mask fades at its own edge, which left a light line on the white picture margin. */
.rdc-door-tint{position:absolute;inset:-1px;background:var(--rdc-frame);mix-blend-mode:multiply;opacity:.92;pointer-events:none;-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
.rdc-door-tint.is-mirrored{transform:scaleX(-1)}
.rdc-panel-card strong{font-size:12px}
.rdc-handle-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.rdc-handle-groups{display:grid;gap:14px}
/* The variants of the chosen handle type: smaller cards, so the step stays calm. */
.rdc-handle-cards.is-compact{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.rdc-handle-cards.is-compact .rdc-handle-card{padding:8px 6px;gap:4px}
.rdc-handle-cards.is-compact .rdc-handle-card img{height:52px}
.rdc-handle-cards.is-compact .rdc-handle-card strong{font-size:11px;font-weight:600}
.rdc-handle-card img{display:block;width:100%;height:80px;object-fit:contain}
.rdc-handle-none{display:grid;place-items:center;height:80px;font-size:28px;color:#9fb2ba}
.rdc-handle-card strong{font-size:12px}
/* The door: frame in the door colour, one panel picture per leaf, the aluminium threshold as a grey line. */
.rdc-door{display:flex;justify-content:center;padding:12px 0}
.rdc-door-view{--rdc-frame:#f3f4f1;position:relative;display:flex;gap:3px;height:260px;max-width:100%;padding:7px 7px 9px;border-radius:3px;background:var(--rdc-frame);box-shadow:inset 0 0 0 1px rgba(23,60,81,.35),0 1px 0 #9fb2ba}
.rdc-door-view.is-small{height:110px;padding:3px 3px 4px;gap:2px}
.rdc-door-leaf{position:relative;flex:1;display:block;min-width:0;background:#fff;box-shadow:inset 0 0 0 1px rgba(23,60,81,.25);overflow:hidden}
.rdc-door-leaf img{display:block;width:100%;height:100%;object-fit:fill}
.rdc-door-leaf img.is-mirrored{transform:scaleX(-1)}
/* The shield: its keyhole (78 % down, plate centre 87.8 % across the picture) on the drawn lock (91.4 % across, 58.5 % down the
   leaf), 12 % of the leaf height (about 25 cm on a 210 cm door). */
.rdc-door-leaf img.rdc-door-shield{position:absolute;left:91.4%;top:58.5%;width:auto;height:12%;transform:translate(-87.8%,-78%);pointer-events:none}
/* A straight handle: brushed steel bar, its centre line 86 % across the leaf (beside the lock); size set from the door. */
.rdc-door-bar{position:absolute;left:86%;min-width:2px;border-radius:999px;transform:translateX(-50%);background:linear-gradient(90deg,#7f8689 0%,#e8ebec 45%,#b4babd 70%,#8a9194 100%);box-shadow:0 0 0 .5px rgba(0,0,0,.45),1px 1px 2px rgba(0,0,0,.35);pointer-events:none}
.rdc-door-threshold{position:absolute;left:4px;right:4px;bottom:2px;height:3px;border-radius:2px;background:#a5a8a6}
.rdc .rwc-quote-sketch,.rdc .rwc-project-sketch{display:flex;justify-content:center}
@media(max-width:760px){
  .rdc .rgc-color-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
  .rdc-panel-series-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
  .rdc-panel-picture{height:96px}
  .rdc-handle-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rdc-handle-cards.is-compact{grid-template-columns:repeat(3,minmax(0,1fr))}
  .rdc .rwc-dimensions{grid-template-columns:1fr 1fr 80px}
  .rdc-door-view{height:220px}
}
.rdc-preview-side{text-transform:none;letter-spacing:0;font-weight:500}
