  :root {
    /* Bundet till sajtens Elementor-globaler (Site Settings) med fallbacks */
    --brand: var(--e-global-color-primary, #1565C0);
    --brand-dark: var(--e-global-color-secondary, #0D1B30);
    --brand-light: color-mix(in srgb, var(--brand) 80%, #4db1ff);
    --brand-hover: color-mix(in srgb, var(--brand) 80%, #000);
    --accent: var(--brand);
    --surface: #F5F5F5;
    --border: #e0e0e0;
    --border-light: #eeeeee;
    --text: var(--e-global-color-text, #1A1A1A);
    --text-muted: #6b7280;
    --white: #ffffff;
    --active-bg: var(--e-global-color-accent, #E1F5FC);
    --radius: 10px;
    --radius-sm: 6px;
    --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --discount-color: #059669;
    --preview-bg: #65696F;
    --brand-soft-08: color-mix(in srgb, var(--brand) 8%, transparent);
    --brand-soft-10: color-mix(in srgb, var(--brand) 10%, transparent);
    --brand-soft-12: color-mix(in srgb, var(--brand) 12%, transparent);
    --brand-soft-18: color-mix(in srgb, var(--brand) 18%, transparent);
    --brand-soft-20: color-mix(in srgb, var(--brand) 20%, transparent);
    --brand-soft-25: color-mix(in srgb, var(--brand) 25%, transparent);
    --brand-soft-30: color-mix(in srgb, var(--brand) 30%, transparent);
    --brand-soft-35: color-mix(in srgb, var(--brand) 35%, transparent);
    --brand-soft-45: color-mix(in srgb, var(--brand) 45%, transparent);
    --brand-soft-50: color-mix(in srgb, var(--brand) 50%, transparent);
  }

  .nrm-konfigurator, .nrm-konfigurator *, .nrm-konfigurator *::before, .nrm-konfigurator *::after,
  .order-modal, .order-modal *, .order-modal *::before, .order-modal *::after { box-sizing: border-box; }
  .nrm-konfigurator *, .nrm-konfigurator *::before, .nrm-konfigurator *::after { margin: 0; padding: 0; }

  /* Sticky progress strip (shown when original scrolls out of view) */
  .sticky-progress {
    position: fixed; top: var(--nrm-sticky-offset, 0px); left: 0; right: 0; z-index: 90;
    background: var(--brand-dark);
    transform: translateY(-100%);
    transition: transform 0.25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  }
  .sticky-progress.visible { transform: translateY(0); }
  .sticky-progress-inner {
    max-width: 1280px; margin: 0 auto;
    padding: 8px 36px 0;
    display: flex; align-items: center; justify-content: space-between;
    font-family: 'Oswald', sans-serif; font-size: 13px;
    color: rgba(255,255,255,0.85); letter-spacing: 0.06em; text-transform: uppercase;
  }
  .sticky-progress-step {
    font-family: 'Inter', sans-serif; font-size: 11px;
    letter-spacing: 0; text-transform: none; font-weight: 400;
    color: rgba(255,255,255,0.55);
  }
  .sticky-progress-track {
    height: 3px; background: var(--brand-soft-18);
    margin-top: 6px;
  }
  .sticky-progress-fill {
    height: 100%; background: var(--brand-light);
    border-radius: 0 2px 2px 0; transition: width 0.35s ease;
  }
  @media (max-width: 1000px) {
    .sticky-progress-inner { padding: 6px 16px 0; font-size: 12px; }
  }

  /* Price change animation */
  @keyframes priceFlash {
    0%   { background: var(--brand-soft-18); }
    100% { background: transparent; }
  }
  .price-flash { animation: priceFlash 0.6s ease; border-radius: 4px; }

  /* Selection pulse — subtle scale bounce on interactive cards */
  @keyframes selectPulse {
    0%   { transform: scale(1); }
    40%  { transform: scale(0.96); }
    70%  { transform: scale(1.02); }
    100% { transform: scale(1); }
  }
  .select-pulse { animation: selectPulse 0.28s ease; }

  /* Format switch fade animation */
  @keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .fade-in { animation: fadeSlideIn 0.25s ease-out; }

  /* Dimension labels on preview */
  .dim-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px; font-weight: 500;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.04em;
    text-align: center;
    pointer-events: none;
    user-select: none;
  }
  .dim-row {
    display: flex; align-items: center; justify-content: center;
    gap: 4px; margin-top: 8px; position: relative; z-index: 2;
  }
  .dim-line {
    flex: 1; max-width: 60px; height: 1px;
    background: rgba(255,255,255,0.3);
  }
  /* Rect dimension lines */
  .sign-stage { flex-direction: row; }
  #rect-dim-w-wrap, #rect-dim-h-wrap { position: absolute; pointer-events: none; }

  /* Keyboard focus ring for accessibility */
  .nrm-konfigurator :focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
    border-radius: 4px;
  }

  .nrm-konfigurator {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
  }

  .configurator-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 36px 80px;
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 32px;
    align-items: start;
  }

  .panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
  }
  .panel-title {
    font-size: 20px;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    padding: 18px 28px;
    border-bottom: none;
    background: var(--brand-dark);
    display: flex;
    align-items: center;
    gap: 10px;
  }

  /* FORMAT TOGGLE */
  .format-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .format-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 28px 12px 22px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--white);
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
    color: var(--text-muted);
  }
  .format-btn:hover { border-color: var(--brand); background: var(--active-bg); color: var(--brand); }
  .format-btn.active {
    border-color: var(--brand);
    border-width: 2px;
    background: var(--active-bg);
    color: var(--brand);
    box-shadow: 0 2px 8px var(--brand-soft-12);
  }
  .format-btn strong {
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: block;
  }
  .format-btn small {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    font-family: 'Inter', sans-serif;
  }
  .format-btn.active small { color: var(--brand); opacity: 0.85; }

  /* PREVIEW PANEL – RECT */
  .preview-area {
    padding: 52px 52px 44px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    background: linear-gradient(145deg, #5a5e64 0%, #6b6f75 40%, #585c62 100%);
    position: relative;
  }
  .preview-area::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
  }
  .preview-area::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.06) 0%, transparent 60%);
    pointer-events: none;
  }
  .sign-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.35s cubic-bezier(.4,0,.2,1);
    filter: drop-shadow(0 8px 32px rgba(0,0,0,0.5)) drop-shadow(0 2px 8px rgba(0,0,0,0.3)) drop-shadow(0 0 1px rgba(255,255,255,0.1));
  }
  .sign-body {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.35s cubic-bezier(.4,0,.2,1);
    overflow: hidden;
  }
  .sign-body.mat-rostfritt { background: linear-gradient(135deg, #c8cdd5 0%, #e8eaed 30%, #b0b5be 60%, #d4d8de 100%); }
  .sign-body.mat-aluminium { background: linear-gradient(135deg, #a8b4c0 0%, #d4dde6 30%, #8fa0b0 60%, #c2cfd8 100%); }
  .sign-texture {
    position: absolute; inset: 0; pointer-events: none; opacity: 0.6;
  }
  .sign-body.mat-rostfritt .sign-texture,
  .sign-body.mat-aluminium .sign-texture {
    background: repeating-linear-gradient(90deg,transparent,transparent 2px,rgba(255,255,255,0.08) 2px,rgba(255,255,255,0.08) 3px);
  }

  .sign-text {
    position: relative; z-index: 2;
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 500; text-align: center;
    padding: 8% 7%; word-break: break-word; white-space: pre-wrap;
    transition: all 0.3s ease; max-width: 100%; box-sizing: border-box;
  }
  .sign-body.mat-rostfritt .sign-text,
  .sign-body.mat-aluminium .sign-text { color: rgba(30,30,30,0.9); text-shadow: 0 1px 0 rgba(255,255,255,0.4); }
  .sign-holes { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
  .hole {
    position: absolute; width: 9px; height: 9px; border-radius: 50%;
    background: #1a1a1a; box-shadow: inset 0 1px 2px rgba(0,0,0,0.5), 0 1px 0 rgba(255,255,255,0.15);
    transition: all 0.3s ease;
  }

  /* PREVIEW – VENT */
  .vent-preview-area {
    padding: 40px 20px;
    background: linear-gradient(145deg, #5a5e64 0%, #6b6f75 40%, #585c62 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-height: 310px;
    justify-content: center;
    position: relative;
  }
  .vent-preview-area::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
  }
  .vent-preview-area::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.06) 0%, transparent 60%);
    pointer-events: none;
  }

  .preview-info {
    padding: 10px 20px;
    border-top: 1px solid rgba(255,255,255,0.07);
    background: rgba(0,0,0,0.35);
    display: flex;
    gap: 18px;
    font-size: 10.5px;
    color: #ffffff;
    font-family: 'IBM Plex Mono', monospace;
    flex-wrap: wrap;
    align-items: center;
    letter-spacing: 0.04em;
  }
  .preview-info strong { color: #ffffff; }

  /* CONFIG SECTIONS */
  .config-section {
    padding: 28px 28px 28px 24px;
    border-bottom: 1px solid transparent;
    background-image: linear-gradient(var(--white), var(--white)), linear-gradient(90deg, transparent 5%, var(--border-light) 30%, var(--border-light) 70%, transparent 95%);
    background-size: 100% 100%, 100% 1px;
    background-position: 0 0, 0 100%;
    background-repeat: no-repeat;
    border-left: 3px solid transparent;
    transition: border-left-color 0.2s;
  }
  .config-section:last-child { border-bottom: none; }
  .config-section:focus-within { border-left-color: var(--brand); }

  /* Side-by-side config pairs */
  .config-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--border-light);
  }
  .config-row:last-child { border-bottom: none; }
  .config-row .config-section {
    border-bottom: none;
  }
  .config-row .config-section:first-child {
    border-right: 1px solid var(--border-light);
  }
  .config-label {
    font-size: 14px; font-weight: 700;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--text); margin-bottom: 18px;
    display: flex; align-items: center; gap: 12px;
  }
  .config-label .step-num {
    width: 30px; height: 30px;
    background: var(--brand); color: white;
    border-radius: 50%; font-size: 13px; font-weight: 700;
    font-family: 'Inter', sans-serif;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; letter-spacing: 0;
    box-shadow: 0 2px 8px var(--brand-soft-25);
  }

  /* SIZE PRESETS (rect) */
  .size-preset-grid {
    display: grid; grid-template-columns: repeat(6,1fr); gap: 6px; margin-bottom: 14px;
  }
  .size-preset {
    padding: 8px 4px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    background: var(--white); font-size: 12px; font-weight: 500; color: var(--text-muted);
    cursor: pointer; transition: all 0.15s; font-family: 'Inter', sans-serif;
    text-align: center; white-space: nowrap; line-height: 1.2;
  }
  .size-preset:hover { border-color: var(--brand); color: var(--brand); background: var(--active-bg); }
  .size-preset.active { background: var(--brand); border-color: var(--brand); color: white; font-weight: 600; }

  /* SIZE CHIPS (vent) */
  .chip-row { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
  .chip {
    border: 1.5px solid var(--border); background: var(--white); border-radius: 20px;
    padding: 6px 16px; font-family: 'Inter', sans-serif;
    font-size: 13px; cursor: pointer; color: var(--text-muted); transition: all 0.13s;
  }
  .chip:hover { border-color: var(--brand); color: var(--brand); }
  .chip.active { border-color: var(--brand); background: var(--brand); color: #fff; }

  .size-divider { font-size: 14px; color: var(--text-muted); font-style: italic; margin: 10px 0 12px; font-family: 'Inter', sans-serif; }
  .custom-size-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
  .custom-size-row.custom-active input[type="number"] {
    border-color: var(--brand) !important;
    box-shadow: 0 0 0 2px var(--brand-soft-10);
  }
  .custom-size-row.custom-active .size-unit { color: var(--brand); font-weight: 600; }
  .size-input-wrap { display: flex; align-items: center; gap: 6px; }
  .size-input-wrap label { font-size: 14px; color: var(--text-muted); font-weight: 500; font-family: 'Inter', sans-serif; }
  .mm-input { width: 72px; }
  .size-unit { font-size: 13px; color: var(--text-muted); font-family: 'Inter', sans-serif; }
  .size-x { font-size: 14px; color: var(--text-muted); font-weight: 500; }

  /* QTY STEPPER */
  .qty-stepper { display: flex; align-items: center; gap: 0; }
  .qty-stepper input[type="number"] {
    width: 64px; text-align: center; border-radius: 0;
    border-left: none; border-right: none;
    font-size: 16px; font-weight: 600; padding: 9px 4px;
  }
  .qty-stepper input[type="number"]:focus { border-color: var(--brand); box-shadow: none; z-index: 1; }
  .qty-btn {
    width: 40px; height: 42px; border: 2px solid var(--border);
    background: var(--white); cursor: pointer; font-size: 20px; font-weight: 400;
    color: var(--text-muted); transition: all 0.14s; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; line-height: 1;
    user-select: none;
  }
  .qty-btn:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
  .qty-btn:last-child  { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
  .qty-btn:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
  .qty-btn:active { transform: scale(0.94); }
  .qty-btn:focus { background: none; border-color: var(--brand); color: #fff; }


  /* MATERIAL */
  .material-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
  .material-card {
    border: 2px solid var(--border); border-radius: var(--radius-sm); padding: 14px 10px 16px;
    cursor: pointer; text-align: center; transition: all 0.2s; background: var(--white);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
  }
  .material-card:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow); }
  .material-card.active { border-color: var(--brand); background: var(--active-bg); box-shadow: 0 2px 10px var(--brand-soft-10); }
  .material-card span { font-size: 12px; font-weight: 600; color: var(--text); letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.2; font-family: 'Inter', sans-serif; }
  .material-card.active span { color: var(--brand); }
  .material-card small { font-size: 11px; color: var(--text-muted); font-family: 'Inter', sans-serif; }
  .material-swatch, .mat-swatch {
    width: 100%; height: 38px; border-radius: 5px; border: 1px solid rgba(0,0,0,0.08);
  }
  .mat-swatch-plast, .swatch-plast { background: #e8e8e8; }
  .mat-swatch-rostfritt { background: linear-gradient(135deg,#c8cdd5,#e8eaed,#b0b5be); }
  .mat-swatch-aluminium { background: linear-gradient(135deg,#a8b4c0,#d4dde6,#8fa0b0); }
  .swatch-rst { background: linear-gradient(135deg,#c8cdd5,#e8eaed,#b0b5be); }
  .swatch-alu { background: linear-gradient(135deg,#a8b4c0,#d4dde6,#8fa0b0); }
  .swatch-mas { background: repeating-linear-gradient(90deg,#b8922e 0,#d4a843 2px,#c9a038 4px,#b89030 6px,#c8a040 8px,#ddb84e 10px); }

  /* COLOR */
  .color-grid { display: flex; gap: 12px; flex-wrap: wrap; }
  .color-chip {
    width: 40px; height: 40px; border-radius: 10px; cursor: pointer;
    border: 3px solid transparent; transition: all 0.15s; position: relative;
    box-shadow: 0 2px 6px rgba(0,0,0,0.14);
  }
  .color-chip:hover { transform: scale(1.15); box-shadow: 0 4px 14px rgba(0,0,0,0.22); }
  .color-chip.active { border-color: var(--brand); transform: scale(1.15); box-shadow: 0 0 0 3px var(--brand-soft-20), 0 4px 14px var(--brand-soft-25); }
  .color-chip.active::after {
    content: '✓'; position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 17px; font-weight: 700; color: white; text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  }
  .color-chip[data-color="white"].active::after { color: #333; text-shadow: none; }
  .color-chip[data-color="custom"] { background: conic-gradient(red,yellow,lime,aqua,blue,magenta,red); border: 2px solid #ddd; }
  .color-chip[data-color="custom"].active { border-color: var(--brand); }
  .color-item { display: flex; flex-direction: column; align-items: center; }
  .color-chip-label { font-size: 11px; color: var(--text-muted); text-align: center; margin-top: 6px; white-space: nowrap; font-family: 'Inter', sans-serif; }
  .color-surcharge { display: block; font-size: 9px; color: #b45309; font-weight: 600; letter-spacing: 0.02em; margin-top: 1px; }
  .disabled-section { opacity: 0.4; pointer-events: none; }

  /* MOUNTING (rect) */
  .mounting-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; }
  .mounting-card {
    border: 2px solid var(--border); border-radius: var(--radius-sm); padding: 14px 6px 12px;
    cursor: pointer; text-align: center; transition: all 0.2s; background: var(--white);
  }
  .mounting-card:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow); }
  .mounting-card.active { border-color: var(--brand); background: var(--active-bg); box-shadow: 0 2px 8px var(--brand-soft-10); }
  .mounting-icon { width: 40px; height: 26px; margin: 0 auto 10px; position: relative; }
  .mounting-card span { font-size: 12px; font-weight: 600; display: block; color: var(--text); line-height: 1.3; letter-spacing: 0.02em; font-family: 'Inter', sans-serif; }
  .mounting-card.active span { color: var(--brand); }

  textarea {
    width: 100%; padding: 14px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    font-family: 'IBM Plex Mono', monospace; font-size: 14px; resize: vertical;
    min-height: 80px; color: var(--text); background: var(--white);
    transition: border-color 0.18s, box-shadow 0.18s; line-height: 1.65;
  }
  textarea::placeholder {
    font-family: 'Inter', sans-serif; font-size: 13px; font-style: italic;
    color: #aab; letter-spacing: 0;
  }
  textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft-08); }

  input[type="number"] {
    width: 80px; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    font-size: 14px; font-family: 'Inter', sans-serif; color: var(--text);
    background: var(--white); transition: border-color 0.15s, box-shadow 0.15s; -moz-appearance: textfield;
  }
  input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; }
  input[type="number"]:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft-08); }
  .char-hint { font-size: 13px; color: var(--text-muted); margin-top: 6px; font-family: 'Inter', sans-serif; }

  /* ACCESSORIES */
  .accessories-section {
    margin-top: 14px; padding: 16px; background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius-sm); animation: fadeSlide 0.2s ease;
  }
  .accessories-label {
    font-size: 13px; font-weight: 700; font-family: 'Oswald', sans-serif;
    text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 10px;
  }
  .accessory-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
  .accessory-card {
    border: 2px solid var(--border); border-radius: 8px; padding: 10px 8px;
    cursor: pointer; text-align: center; background: var(--white); transition: all 0.15s;
  }
  .accessory-card:hover { border-color: var(--brand); transform: translateY(-1px); box-shadow: var(--shadow); }
  .accessory-card.active { border-color: var(--brand); background: var(--active-bg); }
  .accessory-card .acc-img-wrap {
    width: 100%; height: 60px;
    display: flex; align-items: center; justify-content: center;
    background: #f0f3f8; border-radius: 6px; margin-bottom: 7px; overflow: hidden;
  }
  .accessory-card img {
    max-width: 90%; max-height: 54px;
    object-fit: contain; display: block;
  }
  .accessory-card span { font-size: 11px; font-weight: 600; display: block; color: var(--text); line-height: 1.3; }
  .accessory-card small { font-size: 10px; color: var(--text-muted); display: block; margin-top: 2px; line-height: 1.3; }

  /* SIDES BUTTONS (vent) */
  .side-btn {
    flex: 1; padding: 12px; border: 1.5px solid var(--border); background: var(--white);
    border-radius: var(--radius-sm); cursor: pointer; font-family: 'Inter', sans-serif;
    font-size: 14px; font-weight: 600; letter-spacing: 0.04em; color: var(--text-muted);
    text-transform: uppercase; transition: all 0.14s;
  }
  .side-btn.active { border-color: var(--brand); background: var(--active-bg); color: var(--brand); }

  /* SUMMARY PANEL */
  .summary-panel {
    position: sticky;
    top: 24px;
  }
  .summary-scroll-fade {
    display: none; position: sticky; bottom: 0; left: 0; right: 0;
    height: 48px; pointer-events: none; z-index: 3; margin-top: -48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.95) 100%);
    transition: opacity 0.25s;
  }
  @media (max-width: 1000px) {
    .summary-panel { scrollbar-width: none; }
    .summary-panel::-webkit-scrollbar { display: none; }
  }
  .summary-rows { padding: 16px 20px; }
  .summary-row {
    display: flex; justify-content: space-between; align-items: flex-start;
    padding: 9px 0; border-bottom: 1px solid var(--border-light); font-size: 13px; gap: 12px;
  }
  .summary-row:last-child { border-bottom: none; }
  .summary-row .s-label {
    color: var(--text-muted); flex-shrink: 0; font-family: 'Inter', sans-serif;
    text-transform: uppercase; letter-spacing: 0.06em; font-size: 11px;
    padding-top: 1px; font-weight: 600;
  }
  .summary-row .s-val { color: var(--text); font-weight: 500; text-align: right; font-family: 'Inter', sans-serif; font-size: 13px; }
  .summary-row .s-val.empty { color: #bbb; font-style: italic; font-weight: 400; }

  .cta-section { padding: 24px; background: var(--surface); border-top: 1px solid var(--border-light); }
  .btn-primary {
    width: 100%; background: var(--brand); color: white; border: none;
    padding: 16px 20px; border-radius: var(--radius-sm); font-size: 16px; font-weight: 700;
    letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer;
    font-family: 'Inter', sans-serif; transition: all 0.22s;
    display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 12px;
    box-shadow: 0 2px 8px var(--brand-soft-20);
  }
  .btn-primary:hover {
    background: var(--brand-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px var(--brand-soft-30);
  }
  .btn-primary:active { transform: translateY(0); }
  .btn-secondary {
    width: 100%; background: transparent;
    border: 1.5px solid var(--border); padding: 12px 20px; border-radius: var(--radius-sm);
    font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
    cursor: pointer; font-family: 'Inter', sans-serif; transition: all 0.2s; color: var(--text-muted);
  }
  .btn-secondary:hover { border-color: var(--brand); color: var(--brand); background: var(--active-bg); }
  .btn-secondary:focus,
  .btn-secondary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; box-shadow: none; }
  .trust-note {
    text-align: center; font-size: 11px; color: var(--text-muted); margin-top: 0; line-height: 1.7;
  }

  /* PRICE PANEL */
  .price-per-sign-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 6px 0 14px; border-bottom: 1px solid var(--border-light); margin-bottom: 12px;
  }
  .price-row { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; font-size: 13px; }
  .price-label { color: var(--text-muted); font-size: 13px; font-family: 'Inter', sans-serif; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
  .price-val { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; color: var(--text); }
  .price-per-sign-row .price-label { font-size: 12px; color: var(--text-muted); font-family: 'Inter', sans-serif; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
  .price-per-sign-row .price-val { font-size: 34px; font-family: 'Inter', sans-serif; font-weight: 800; color: var(--brand-dark); line-height: 1; letter-spacing: -0.02em; }
  .price-total-val { font-family: 'Inter', sans-serif; font-size: 20px; font-weight: 700; color: var(--brand); }

  /* DISCOUNT */
  .discount-badge {
    display: inline-flex; align-items: center; gap: 5px;
    background: #ecfdf5; border: 1px solid #6ee7b7; color: var(--discount-color);
    font-size: 11.5px; font-family: 'Inter', sans-serif; font-weight: 600;
    padding: 4px 9px; border-radius: 20px; margin: 6px 0 4px;
  }
  .offert-banner {
    display: none; align-items: center; gap: 10px; padding: 12px 16px;
    background: #fef3c7; border: 1px solid #fcd34d; border-radius: 8px;
    font-size: 12.5px; color: #92400e; margin: 10px 0; line-height: 1.5;
  }
  .offert-banner strong { font-weight: 700; }

  /* VARIANTS */
  .gt-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--border-light); font-size: 12.5px; }
  .gt-row:last-child { border-bottom: none; }
  .gt-row-label { color: var(--text); }
  .gt-row-label small { display: block; font-size: 11px; color: var(--text-muted); margin-top: 1px; }
  .gt-row-price { font-family: 'Inter', sans-serif; font-weight: 600; color: var(--text); font-size: 13px; }
  .btn-add-variant {
    display: flex; align-items: center; gap: 7px; padding: 10px 20px;
    background: var(--brand); color: white; border: none; border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 700;
    letter-spacing: 0.02em; text-transform: uppercase; cursor: pointer;
    transition: background 0.15s, transform 0.1s;
  }
  .btn-add-variant:hover { background: var(--brand-hover); transform: translateY(-1px); }
  .variant-item {
    display: grid; grid-template-columns: 18px 1fr auto auto;
    align-items: center; gap: 10px; padding: 11px 18px;
    border-bottom: 1px solid var(--border); font-size: 13px; animation: fadeSlide 0.25s ease;
  }
  .variant-item:last-child { border-bottom: none; }
  .variant-swatch { width: 18px; height: 18px; border-radius: 4px; border: 1px solid rgba(0,0,0,0.12); flex-shrink: 0; }
  .variant-info { line-height: 1.45; }
  .variant-info strong { font-weight: 600; font-family: 'Inter', sans-serif; font-size: 12px; display: block; color: var(--text); }
  .variant-info span { font-size: 11.5px; color: var(--text-muted); }
  .variant-qty { background: var(--brand); color: white; border-radius: 20px; padding: 2px 10px; font-size: 12px; font-family: 'Inter', sans-serif; font-weight: 600; white-space: nowrap; }
  .variant-delete { background: none; border: none; cursor: pointer; color: #bbb; padding: 3px; border-radius: 4px; display: flex; align-items: center; transition: color 0.15s; }
  .variant-delete:hover { color: #e74c3c; }
  .order-row-delete { background: none; border: none; cursor: pointer; color: #ccc; padding: 4px 6px; border-radius: 4px; display: inline-flex; align-items: center; transition: color 0.15s, background 0.15s; }
  .order-row-delete:hover { color: #e74c3c; background: #fff0f0; }
  /* ── LOGO / QR SECTION ── */
  .extra-section {
    margin-top: 16px; padding: 16px 20px;
    border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    background: var(--surface);
  }
  .extra-section-title {
    font-size: 13px; font-weight: 700; font-family: 'Oswald', sans-serif;
    text-transform: uppercase; letter-spacing: 0.06em;
    color: var(--text-muted); margin-bottom: 12px;
  }
  .extra-toggle-row {
    display: flex; gap: 10px; margin-bottom: 12px;
  }
  .extra-btn {
    flex: 1; padding: 10px 8px; border: 1.5px solid var(--border);
    border-radius: var(--radius-sm); background: #fff; cursor: pointer;
    font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600;
    letter-spacing: 0.03em; text-transform: uppercase; color: var(--text-muted);
    transition: all 0.14s; text-align: center;
  }
  .extra-btn:hover { border-color: var(--brand); color: var(--brand); }
  .extra-btn.active { border-color: var(--brand); background: var(--active-bg); color: var(--brand); }
  .extra-sub { animation: fadeSlide 0.2s ease; }
  .placement-grid {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; margin-bottom: 10px;
  }
  .placement-btn {
    padding: 8px 6px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    background: #fff; cursor: pointer; font-size: 12px; font-family: 'Inter', sans-serif;
    text-align: center; color: var(--text-muted); transition: all 0.13s;
  }
  .placement-btn:hover { border-color: var(--brand); color: var(--brand); }
  .placement-btn.active { border-color: var(--brand); background: var(--brand); color: #fff; }

  /* Logo/QR size slider */
  .extra-size-wrap { margin-bottom: 14px; }
  .extra-size-header { display:flex; justify-content:space-between; align-items:center; font-size:11.5px; font-weight:600; color:var(--text-muted); text-transform:uppercase; letter-spacing:0.07em; margin-bottom:8px; }
  .extra-size-header .size-val { font-family:'Inter',sans-serif; font-size:12px; color:var(--brand); font-weight:700; text-transform:none; letter-spacing:0; }
  input[type="range"].extra-size-slider { -webkit-appearance:none; appearance:none; width:100%; height:4px; border-radius:2px; background:var(--border); outline:none; cursor:pointer; }
  input[type="range"].extra-size-slider::-webkit-slider-thumb { -webkit-appearance:none; width:18px; height:18px; border-radius:50%; background:var(--brand); border:2px solid #fff; box-shadow:0 1px 5px rgba(0,0,0,0.18); cursor:pointer; }
  input[type="range"].extra-size-slider::-moz-range-thumb { width:14px; height:14px; border-radius:50%; background:var(--brand); border:2px solid #fff; box-shadow:0 1px 5px rgba(0,0,0,0.18); cursor:pointer; }
  .extra-price-badge {
    display: inline-flex; align-items: center; gap: 5px;
    background: #ecfdf5; border: 1px solid #6ee7b7; color: #059669;
    font-size: 11px; font-family: 'Inter', sans-serif; font-weight: 600;
    padding: 3px 9px; border-radius: 20px; margin-bottom: 10px;
  }
  .file-upload-label {
    display: block; padding: 9px 14px; border: 1.5px dashed var(--border);
    border-radius: 8px; text-align: center; cursor: pointer; font-size: 12px;
    color: var(--text-muted); font-family: 'Inter', sans-serif;
    transition: border-color 0.14s, background 0.14s;
  }
  .file-upload-label:hover { border-color: var(--brand); background: var(--active-bg); color: var(--brand); }
  .file-upload-label.has-file { border-color: #6cb35e; background: #f0f7ed; color: #2d6a27; }

  .discount-tier {
    flex: 1; min-width: 80px; padding: 7px 10px; border: 1.5px solid var(--border);
    border-radius: 8px; font-size: 11px; text-align: center;
    background: #fff; color: var(--text-muted); font-family: 'Inter', sans-serif;
    transition: all 0.25s; letter-spacing: 0.01em;
    cursor: pointer; user-select: none;
  }
  .discount-tier:hover { border-color: var(--brand); background: var(--brand-soft-08); }
  .discount-tier:active { transform: scale(0.97); }
  .discount-tier strong { color: var(--text); display: block; font-size: 12px; margin-top: 1px; }
  .discount-tier.earned {
    border-color: #6cb35e; background: #f0f7ed; color: #2d6a27;
    box-shadow: 0 1px 6px rgba(108,179,94,0.2);
  }
  .discount-tier.earned strong { color: #1e5020; }


  /* Logo/QR overlay on sign preview */
  .sign-extra-overlay {
    position: absolute; pointer-events: none; z-index: 4;
    display: flex; align-items: center; justify-content: center;
    font-family: 'IBM Plex Mono', monospace; font-size: 9px;
    font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    border: 1.5px dashed rgba(255,255,255,0.6);
    border-radius: 4px; padding: 3px 6px;
    background: var(--brand-soft-45);
    backdrop-filter: blur(1px);
    min-width: 36px; min-height: 20px;
    transition: top 0.18s, left 0.18s, transform 0.18s;
    white-space: nowrap;
  }
  /* Rotation control */
  .rotation-row {
    display: flex; gap: 6px; margin-top: 10px; margin-bottom: 4px;
  }
  .rot-btn {
    flex: 1; padding: 6px 4px; border: 1.5px solid var(--border);
    border-radius: var(--radius-sm); background: #fff; cursor: pointer;
    font-size: 14px; text-align: center; transition: all 0.13s;
    color: var(--text-muted);
  }
  .rot-btn:hover { border-color: var(--brand); }
  .rot-btn.active { border-color: var(--brand); background: var(--active-bg); }
  .dh-toggle-wrap {
    display: none;
    margin-top: 12px;
    padding: 10px 14px;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    align-items: center;
    gap: 10px;
  }
  .dh-toggle-wrap.visible { display: flex; }
  .dh-checkbox {
    width: 18px; height: 18px; cursor: pointer;
    accent-color: var(--brand); flex-shrink: 0;
  }
  .dh-label {
    font-size: 14px; color: var(--text); cursor: pointer;
    font-family: 'Inter', sans-serif; font-weight: 500;
  }
  .dh-price-note {
    margin-left: auto; font-size: 11px;
    font-family: 'Inter', sans-serif;
    color: var(--text-muted); white-space: nowrap;
  }

  .fontsize-section {
    margin-top: 14px;
    padding: 14px 18px 16px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    background: var(--surface);
    border-top: 2px solid var(--brand);
  }
  .fontsize-label {
    font-size: 12px; font-weight: 700; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px;
    font-family: 'Oswald', sans-serif;
  }
  .fontsize-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
  .fs-chip {
    border: 1.5px solid var(--border); background: var(--white); border-radius: 20px;
    padding: 5px 14px; font-family: 'Inter', sans-serif;
    font-size: 13px; cursor: pointer; color: var(--text-muted); transition: all 0.13s;
  }
  .fs-chip:hover { border-color: var(--brand); color: var(--brand); }
  .fs-chip.active { border-color: var(--brand); background: var(--brand); color: #fff; }
  .capacity-hint {
    margin-top: 8px; padding: 8px 12px; background: var(--active-bg);
    border-radius: var(--radius-sm); font-size: 12px; color: var(--brand-dark);
    font-family: 'Inter', sans-serif; display: none;
  }
  .capacity-hint strong { color: var(--brand); }
  .rec-fs-hint {
    margin-top: 8px; padding: 7px 12px;
    background: #f0f7ed; border: 1px solid #a8d5a0;
    border-radius: 6px; font-size: 11.5px; color: #2d6a27;
    font-family: 'Inter', sans-serif;
  }
  .rec-fs-hint strong { color: #1e5020; cursor: pointer; text-decoration: underline dotted; }
  .rec-fs-hint strong:hover { color: #0d3010; }
  @keyframes fadeSlide {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @media (max-width: 1000px) {
    .configurator-wrap { grid-template-columns: 1fr; padding: 20px 16px 110px; }
    .size-preset-grid { grid-template-columns: repeat(4,1fr); }
    .mounting-grid { grid-template-columns: repeat(3,1fr); }
    .accessory-grid { grid-template-columns: repeat(4,1fr); }

    /* Hide summary-panel from normal flow on mobile — accessed via FAB */
    .summary-panel {
      position: fixed !important;
      left: 0; right: 0; bottom: -110%;
      top: auto !important;
      max-height: 92vh !important;
      overflow-y: auto;
      z-index: 600;
      border-radius: 22px 22px 0 0;
      box-shadow: 0 -8px 48px rgba(10,20,60,0.28);
      transition: bottom 0.38s cubic-bezier(0.32, 0.72, 0, 1);
      padding-bottom: 32px;
      background: var(--white);
    }
    .summary-panel.sheet-open { bottom: 0 !important; }
    .sheet-handle-bar { display: flex !important; }
  }

  /* Sheet handle bar — hidden on desktop */
  .sheet-handle-bar {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px 10px;
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 2;
    border-bottom: 1px solid var(--border-light);
  }
  .sheet-handle-bar::before {
    content: '';
    position: absolute;
    top: 8px; left: 50%; transform: translateX(-50%);
    width: 40px; height: 4px; border-radius: 2px;
    background: var(--border);
  }
  .sheet-handle-title {
    font-family: 'Oswald', sans-serif;
    font-size: 16px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.06em;
    color: var(--text);
  }
  .sheet-close-btn {
    width: 32px; height: 32px; border-radius: 50%;
    border: 1.5px solid var(--border);
    background: var(--white); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; color: var(--text-muted);
    transition: all 0.14s;
  }
  .sheet-close-btn:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

  /* Backdrop */
  .sheet-backdrop {
    display: none;
    position: fixed; inset: 0;
    background: rgba(10,20,50,0.5);
    z-index: 599;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
  }
  .sheet-backdrop.visible { opacity: 1; }

  /* FAB — floating action button */
  .preview-fab {
    display: none;
    position: fixed;
    bottom: 24px; left: 50%; transform: translateX(-50%);
    z-index: 550;
    align-items: center; gap: 10px;
    padding: 14px 22px;
    background: var(--brand);
    color: #fff;
    border: none; border-radius: 50px;
    box-shadow: 0 4px 20px var(--brand-soft-35), 0 2px 6px rgba(0,0,0,0.15);
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 14px; font-weight: 700;
    letter-spacing: 0.04em; text-transform: uppercase;
    transition: all 0.18s;
    white-space: nowrap;
  }
  .preview-fab:hover { background: var(--brand-hover); box-shadow: 0 6px 24px var(--brand-soft-45); transform: translateX(-50%) translateY(-2px); }
  .preview-fab:active { transform: translateX(-50%) translateY(0); }
  .fab-sign-swatch {
    width: 22px; height: 16px; border-radius: 3px;
    background: #f5f5f5; border: 1.5px solid rgba(255,255,255,0.5);
    flex-shrink: 0; transition: background 0.2s;
  }
  .fab-badge {
    background: rgba(255,255,255,0.25);
    font-size: 10px; font-family: 'Inter', sans-serif;
    padding: 2px 7px; border-radius: 10px; font-weight: 700;
    letter-spacing: 0; text-transform: none;
    margin-left: 2px;
  }
  @media (max-width: 1000px) {
    .preview-fab { display: flex; }
  }
  @media (max-width: 600px) {
    .configurator-wrap { padding: 12px 12px 90px; gap: 16px; }
    .config-section { padding: 18px 16px; }
    .material-grid { grid-template-columns: repeat(3,1fr); gap: 8px; }
    .mounting-grid { grid-template-columns: repeat(3,1fr); }
    .size-preset-grid { grid-template-columns: repeat(3,1fr); }
    .accessory-grid { grid-template-columns: repeat(2,1fr); }
    .color-chip { width: 44px; height: 44px; }
    .panel-title { padding: 12px 16px; }
    .summary-rows { padding: 14px 16px; }
    .cta-section { padding: 0 16px 20px; }
    /* Stack config-row columns on small screens */
    .config-row { grid-template-columns: 1fr; border-bottom: none; }
    .config-row .config-section { border-bottom: 1px solid var(--border-light); }
    .config-row .config-section:first-child { border-right: none; }
    .config-row:last-child .config-section:last-child { border-bottom: none; }
  }
  @media (max-width: 420px) {
    .format-btn { padding: 16px 8px 12px; }
    .format-btn strong { font-size: 13px; }
    .material-grid { gap: 6px; }
    .mounting-grid { grid-template-columns: repeat(3,1fr); gap: 6px; }
    .size-preset-grid { grid-template-columns: repeat(3,1fr); gap: 5px; }
    .chip-row { gap: 6px; }
  }

  /* ─── KONFIGURATOR HEADER ────────────────────────────────────────────── */
  .konfig-header {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 4px 8px;
  }
  .konfig-header img {
    height: 32px;
    width: auto;
    object-fit: contain;
  }
  .konfig-header-text {
    font-family: 'Oswald', sans-serif;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--brand-dark);
    line-height: 1;
  }
  .konfig-header-sub {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text-muted);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-top: 4px;
    font-weight: 400;
  }
  @media (max-width: 600px) {
    .konfig-header { padding: 0 0 4px; gap: 12px; }
    .konfig-header-text { font-size: 20px; }
  }

  /* ─── DELIVERY / SHIPPING INFO ─────────────────────────────────────── */
  .delivery-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
  }
  .delivery-info .di-row {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .delivery-info .di-row svg { flex-shrink: 0; color: var(--brand); }
  .delivery-info strong { color: var(--text); }

  /* ─── ORDER FORM ───────────────────────────────────────────────────── */
  .order-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
  }
  .order-form .form-group { display: flex; flex-direction: column; gap: 4px; }
  .order-form .form-group.full-width { grid-column: 1 / -1; }
  .order-form label {
    font-size: 11px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--text-muted);
    font-family: 'Oswald', sans-serif;
  }
  .order-form input, .order-form textarea {
    padding: 9px 12px; border: 1.5px solid var(--border); border-radius: 8px;
    font-family: 'Inter', sans-serif; font-size: 13px; color: var(--text);
    background: #fff; transition: border-color 0.14s;
  }
  .order-form input:focus, .order-form textarea:focus {
    outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft-10);
  }
  .order-form input.invalid, .order-form textarea.invalid { border-color: #e74c3c; }
  .order-form .form-hint {
    font-size: 10px; color: var(--text-muted); font-family: 'Inter', sans-serif;
  }
  @media (max-width: 600px) {
    .order-form { grid-template-columns: 1fr; }
  }

  /* ─── ORDER CONFIRMATION MODAL ──────────────────────────────────────── */
  .order-modal-backdrop {
    display: none;
    position: fixed; inset: 0;
    background: rgba(8,16,44,0.72);
    z-index: 900;
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity 0.25s ease;
  }
  .order-modal-backdrop.visible { opacity: 1; }

  .order-modal {
    position: fixed;
    inset: 0;
    z-index: 901;
    display: none;
    flex-direction: column;
    pointer-events: none;
  }
  .order-modal.visible { display: flex; }

  .order-modal-inner {
    pointer-events: all;
    margin: auto;
    width: min(1160px, calc(100vw - 32px));
    max-height: calc(100vh - 48px);
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 24px 80px rgba(10,20,60,0.45);
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .order-modal-header {
    background: var(--brand-dark);
    color: #fff;
    padding: 18px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
  }
  .nrm-konfigurator .order-modal-header h2,
  .order-modal-header h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: #fff !important; /* slår temats h2-färgregel (ev. ID-baserad) */
  }
  .order-modal-close {
    background: rgba(255,255,255,0.18);
    border: 1.5px solid rgba(255,255,255,0.55);
    color: #fff !important;
    border-radius: 8px;
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    transition: background 0.15s, border-color 0.15s;
    flex-shrink: 0;
  }
  .order-modal-close:hover { background: rgba(255,255,255,0.32); border-color: #fff; color: #fff !important; }

  .order-modal-body {
    overflow-y: auto;
    flex: 1;
    padding: 24px 28px;
    scrollbar-color: #8fa0be #dde5f0;
    scrollbar-width: thin;
  }
  .order-modal-body::-webkit-scrollbar { width: 10px; }
  .order-modal-body::-webkit-scrollbar-track { background: #dde5f0; }
  .order-modal-body::-webkit-scrollbar-thumb {
    background: #8fa0be; border-radius: 5px;
    border: 2px solid #dde5f0;
  }

  .order-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
  }
  .order-table th {
    background: var(--brand-dark);
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    letter-spacing: 0.08em;
    font-weight: 600;
    padding: 10px 12px;
    text-align: left;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 2;
  }
  .order-table th:last-child,
  .order-table td:last-child { text-align: right; }
  .order-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-light);
    vertical-align: top;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.45;
  }
  .order-table tr:last-child td { border-bottom: none; }
  .order-table tr:nth-child(even) td { background: var(--surface); }
  .order-table tr:hover td { background: var(--active-bg); }
  .order-table .col-num { color: var(--text-muted); font-size: 13px; }
  .order-table .col-price { font-size: 13px; white-space: nowrap; }
  .order-table .col-total { font-size: 14px; font-weight: 600; white-space: nowrap; }
  .order-table .col-extra { color: var(--brand-light); font-size: 13px; }
  .order-table .row-offert td { background: #fff8e1 !important; }
  .order-table .row-offert .col-total { color: #b45309; }

  .order-extra-section {
    margin-top: 18px;
    padding: 14px 18px;
    background: var(--surface);
    border-radius: 10px;
    border: 1px solid var(--border-light);
    font-size: 13px;
    color: var(--text-muted);
  }
  .order-extra-section strong { color: var(--text); display: block; margin-bottom: 4px; }
  .order-logo-notice {
    margin-top: 12px;
    padding: 10px 16px;
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    font-size: 12px;
    color: #92400e;
  }

  .order-modal-footer {
    flex-shrink: 0;
    background: #f6f8fc;
    border-top: 1px solid var(--border-light);
    padding: 18px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
  }
  .order-grand-total {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    letter-spacing: 0.06em;
    color: var(--brand-dark);
  }
  .order-grand-total span {
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    color: var(--brand);
  }
  .order-footer-btns { display: flex; gap: 12px; flex-wrap: wrap; }

  .btn-cancel-order {
    padding: 12px 22px;
    border: 2px solid var(--border);
    background: var(--white);
    border-radius: 10px;
    font-family: 'Oswald', sans-serif;
    font-size: 14px; font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.14s;
  }
  .btn-cancel-order:hover { border-color: var(--brand); color: var(--brand); }

  .btn-confirm-order {
    padding: 12px 28px;
    background: var(--brand);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: 'Oswald', sans-serif;
    font-size: 15px; font-weight: 600;
    letter-spacing: 0.06em;
    cursor: pointer;
    display: flex; align-items: center; gap: 8px;
    transition: background 0.15s, transform 0.1s;
  }
  .btn-confirm-order:hover { background: var(--brand-light); }
  .btn-confirm-order:active { transform: scale(0.97); }
  .btn-confirm-order.sent { background: #059669; cursor: default; }

  @media (max-width: 600px) {
    .order-modal-inner { border-radius: 14px 14px 0 0; margin: auto 0 0; width: 100%; max-height: 90vh; }
    .order-modal { align-items: flex-end; }
    .order-modal-header { padding: 14px 18px; }
    .order-modal-body { padding: 16px 14px; }
    .order-modal-footer { flex-direction: column; align-items: stretch; }
    .order-footer-btns { flex-direction: column; }
    .btn-confirm-order, .btn-cancel-order { width: 100%; justify-content: center; }
    .order-grand-total { text-align: center; }

    /* Order table → card layout on mobile */
    .order-table thead { display: none; }
    .order-table, .order-table tbody { display: block; }
    .order-table tr {
      display: block; position: relative;
      margin-bottom: 12px; padding: 14px 14px 10px;
      border: 1px solid var(--border); border-radius: 10px;
      background: #fff;
    }
    .order-table tr:nth-child(even) td { background: transparent; }
    .order-table tr:hover td { background: transparent; }
    .order-table td {
      display: flex; justify-content: space-between; align-items: baseline;
      padding: 3px 0; border-bottom: none;
      font-family: 'Inter', sans-serif; font-size: 14px;
    }
    .order-table td::before {
      content: attr(data-label);
      font-family: 'Inter', sans-serif;
      font-weight: 600; color: var(--text-muted); font-size: 12px;
      text-transform: uppercase; letter-spacing: 0.04em;
      min-width: 80px; flex-shrink: 0;
    }
    .order-table td.mob-hide { display: none; }
    .order-table td:last-child {
      margin-top: 6px; padding-top: 8px;
      border-top: 1px solid var(--border-light);
      font-size: 14px;
    }
    .order-table .col-num { display: none; }

    /* Variant items grid → stack on mobile */
    .variant-item { grid-template-columns: 18px 1fr auto; }
    .variant-delete { position: absolute; right: 8px; top: 8px; }
  }

  /* ─── PRODUKTSIDE-POPUP ─────────────────────────────────────────────── */
  .nrm-konfig-popup {
    position: fixed; inset: 0; z-index: 2147483647;
    display: flex;
  }
  .nrm-konfig-popup[hidden] { display: none; }
  .nrm-konfig-popup-backdrop {
    position: absolute; inset: 0;
    background: rgba(8,16,44,0.72);
    backdrop-filter: blur(3px);
  }
  .nrm-konfig-popup-inner {
    position: relative;
    margin: auto;
    width: min(1340px, calc(100vw - 28px));
    height: calc(100vh - 36px);
    height: calc(100dvh - 36px);
    background: var(--surface);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(10,20,60,0.5);
  }
  .nrm-konfig-popup-scroll {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
  }
  .nrm-konfig-popup-head {
    position: sticky; top: 0; z-index: 80; height: 0;
  }
  .nrm-konfig-popup button.nrm-konfig-popup-close {
    position: absolute; top: 12px; right: 14px;
    width: 40px !important; height: 40px !important;
    min-height: 0 !important; padding: 0 !important; margin: 0 !important;
    border-radius: 50% !important;
    border: 1px solid #e0e0e0 !important;
    background: #ffffff !important; color: #6b7280 !important;
    font-size: 18px !important; line-height: 1 !important; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.22) !important;
    outline: none !important;
    transition: all 0.15s;
  }
  .nrm-konfig-popup button.nrm-konfig-popup-close:hover,
  .nrm-konfig-popup button.nrm-konfig-popup-close:focus,
  .nrm-konfig-popup button.nrm-konfig-popup-close:focus-visible {
    background: var(--brand, #1565C0) !important;
    border-color: var(--brand, #1565C0) !important;
    color: #ffffff !important;
    outline: 2px solid rgba(255,255,255,0.6) !important;
    outline-offset: 2px !important;
  }
  /* Inne i popupen: fast progresslist överst behövs inte */
  .nrm-konfig-popup .sticky-progress { display: none; }
  .nrm-konfig-popup .configurator-wrap { padding-top: 32px; }
  .nrm-konfig-popup .configurator-wrap > * { min-width: 0; }
  /* Mellanbredt fönster: stapla Material | Storlek (config-row) vertikalt */
  @media (max-width: 1200px) {
    .nrm-konfig-popup .config-row { grid-template-columns: 1fr; border-bottom: none; }
    .nrm-konfig-popup .config-row .config-section { border-bottom: 1px solid var(--border-light); }
    .nrm-konfig-popup .config-row .config-section:first-child { border-right: none; }
    .nrm-konfig-popup .config-row:last-child .config-section:last-child { border-bottom: none; }
  }
  @media (max-width: 1000px) {
    .nrm-konfig-popup-inner {
      width: 100vw; height: 100vh; height: 100dvh;
      border-radius: 0; margin: 0;
    }
    .nrm-konfig-popup .configurator-wrap { padding-top: 56px; }
  }

  body.nrm-konfig-popup-open .elementor-location-header,
  body.nrm-konfig-popup-open header.site-header,
  body.nrm-konfig-popup-open .elementor-menu-toggle,
  body.nrm-konfig-popup-open .e-off-canvas {
    visibility: hidden !important;
  }

  /* Visual-only overrides: keep backup layout, update only color / hover / typography */
  :root {
    --brand: var(--e-global-color-primary, #0B63B6);
    --brand-dark: var(--e-global-color-secondary, #0D1D34);
    --brand-light: color-mix(in srgb, var(--brand) 78%, #5da8ea);
    --surface: #f4f7fa;
    --border: #d6dee8;
    --border-light: #e8eef4;
    --text: var(--e-global-color-text, #1f2937);
    --text-muted: #5b6678;
    --active-bg: color-mix(in srgb, var(--brand) 8%, #ffffff);
    --font-sans: Inter, sans-serif;
    --font-display: Oswald, sans-serif;
  }

  .nrm-konfigurator,
  .nrm-konfigurator p,
  .nrm-konfigurator li,
  .nrm-konfigurator input,
  .nrm-konfigurator textarea,
  .nrm-konfigurator select,
  .nrm-konfigurator button,
  .nrm-konfigurator .summary-row .s-val,
  .nrm-konfigurator .char-hint,
  .nrm-konfigurator .trust-note,
  .nrm-konfigurator .capacity-hint,
  .nrm-konfigurator .rec-fs-hint,
  .nrm-konfigurator .dh-price-note,
  .nrm-konfigurator #price-notes,
  .nrm-konfigurator #variants-summary-note,
  .nrm-konfigurator #cta-price-summary,
  .nrm-konfigurator .variant-info,
  .nrm-konfigurator .variant-info span,
  .nrm-konfigurator .file-upload-label,
  .nrm-konfigurator .offert-banner {
    font-family: var(--font-sans);
    color: var(--text);
  }

  .nrm-konfigurator .panel-title,
  .nrm-konfigurator .konfig-header-text,
  .nrm-konfigurator .btn-primary,
  .nrm-konfigurator .btn-confirm-order,
  .nrm-konfigurator #btn-offert,
  .nrm-konfigurator #btn-confirm-order {
    font-family: var(--font-display) !important;
  }

  .nrm-konfigurator .extra-btn,
  .nrm-konfigurator .fs-chip,
  .nrm-konfigurator .chip,
  .nrm-konfigurator .size-preset,
  .nrm-konfigurator .side-btn,
  .nrm-konfigurator .placement-btn,
  .nrm-konfigurator .rot-btn,
  .nrm-konfigurator .qty-btn,
  .nrm-konfigurator #btn-show-front,
  .nrm-konfigurator #btn-show-back,
  .nrm-konfigurator #logo-rotate-btn,
  .nrm-konfigurator .btn-secondary,
  .nrm-konfigurator .btn-cancel-order {
    font-family: var(--font-sans) !important;
    color: #252a32 !important;
    border-color: #c8d2de !important;
  }

  .nrm-konfigurator .extra-btn:hover,
  .nrm-konfigurator .fs-chip:hover,
  .nrm-konfigurator .chip:hover,
  .nrm-konfigurator .size-preset:hover,
  .nrm-konfigurator .side-btn:hover,
  .nrm-konfigurator .placement-btn:hover,
  .nrm-konfigurator .rot-btn:hover,
  .nrm-konfigurator .qty-btn:hover,
  .nrm-konfigurator #btn-show-front:hover,
  .nrm-konfigurator #btn-show-back:hover,
  .nrm-konfigurator #logo-rotate-btn:hover,
  .nrm-konfigurator .btn-secondary:hover,
  .nrm-konfigurator .btn-cancel-order:hover {
    border-color: #0061AE !important;
    background: #F3F8FC !important;
    color: #0061AE !important;
    box-shadow: none !important;
  }

  .nrm-konfigurator .extra-btn.active,
  .nrm-konfigurator .fs-chip.active,
  .nrm-konfigurator .chip.active,
  .nrm-konfigurator .size-preset.active,
  .nrm-konfigurator .side-btn.active,
  .nrm-konfigurator .placement-btn.active,
  .nrm-konfigurator .rot-btn.active,
  .nrm-konfigurator #btn-show-front,
  .nrm-konfigurator #logo-rotate-btn.active {
    border-color: #0061AE !important;
    background: #EAF4FB !important;
    color: #0061AE !important;
    box-shadow: none !important;
  }

  .nrm-konfigurator .btn-primary,
  .nrm-konfigurator .btn-add-variant,
  .nrm-konfigurator .btn-confirm-order,
  .nrm-konfigurator .preview-fab,
  .nrm-konfigurator #btn-offert,
  .nrm-konfigurator #btn-confirm-order {
    background: #0061AE !important;
    border-color: #0061AE !important;
    color: #fff !important;
    box-shadow: none !important;
  }

  .nrm-konfigurator .btn-primary:hover,
  .nrm-konfigurator .btn-add-variant:hover,
  .nrm-konfigurator .btn-confirm-order:hover,
  .nrm-konfigurator #btn-offert:hover,
  .nrm-konfigurator #btn-confirm-order:hover {
    background: #004F90 !important;
    border-color: #004F90 !important;
    color: #fff !important;
    box-shadow: none !important;
  }

  /* Slightly larger typography without affecting layout geometry */
  .nrm-konfigurator .config-label,
  .nrm-konfigurator .extra-section-title,
  .nrm-konfigurator .fontsize-label,
  .nrm-konfigurator .accessories-label,
  .nrm-konfigurator .sheet-handle-title {
    font-size: 15px !important;
  }

  .nrm-konfigurator .size-preset,
  .nrm-konfigurator .chip,
  .nrm-konfigurator .extra-btn,
  .nrm-konfigurator .fs-chip,
  .nrm-konfigurator .side-btn,
  .nrm-konfigurator .placement-btn,
  .nrm-konfigurator .rot-btn,
  .nrm-konfigurator .btn-secondary,
  .nrm-konfigurator .btn-cancel-order,
  .nrm-konfigurator .file-upload-label {
    font-size: 14px !important;
  }

  /* Size-preset-grid: 4 kolumner vid 14px-font (6-kol overflows pga nowrap-etiketter) */
  .nrm-konfigurator .size-preset-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }

  .nrm-konfigurator .summary-row,
  .nrm-konfigurator .summary-row .s-val,
  .nrm-konfigurator .price-row,
  .nrm-konfigurator .price-val,
  .nrm-konfigurator .gt-row-price,
  .nrm-konfigurator .variant-info strong,
  .nrm-konfigurator .variant-qty,
  .nrm-konfigurator .order-table .col-price,
  .nrm-konfigurator .order-table .col-total {
    font-size: 14px !important;
  }

  .nrm-konfigurator .material-card span,
  .nrm-konfigurator .mounting-card span,
  .nrm-konfigurator .accessory-card span,
  .nrm-konfigurator .price-label,
  .nrm-konfigurator .summary-row .s-label,
  .nrm-konfigurator .extra-size-header,
  .nrm-konfigurator .extra-size-header .size-val,
  .nrm-konfigurator .dh-label {
    font-size: 13px !important;
  }

  .nrm-konfigurator .material-card small,
  .nrm-konfigurator .accessory-card small,
  .nrm-konfigurator .color-chip-label,
  .nrm-konfigurator .char-hint,
  .nrm-konfigurator .trust-note,
  .nrm-konfigurator .capacity-hint,
  .nrm-konfigurator .rec-fs-hint,
  .nrm-konfigurator .dh-price-note,
  .nrm-konfigurator #price-notes,
  .nrm-konfigurator #variants-summary-note,
  .nrm-konfigurator #cta-price-summary,
  .nrm-konfigurator .variant-info span,
  .nrm-konfigurator .size-divider,
  .nrm-konfigurator .size-input-wrap label,
  .nrm-konfigurator .size-unit,
  .nrm-konfigurator .discount-tier,
  .nrm-konfigurator .discount-tier strong,
  .nrm-konfigurator .offert-banner,
  .nrm-konfigurator .order-table .col-num,
  .nrm-konfigurator .order-table .col-extra {
    font-size: 13px !important;
  }

  /* Focus / active states: täck över Elementor-standardfärger på alla knappar */
  .nrm-konfigurator .btn-secondary:focus,
  .nrm-konfigurator .btn-secondary:focus-visible,
  .nrm-konfigurator .btn-secondary:active,
  .nrm-konfigurator .btn-cancel-order:focus,
  .nrm-konfigurator .btn-cancel-order:focus-visible,
  .nrm-konfigurator .btn-cancel-order:active {
    border-color: #0061AE !important;
    background: #F3F8FC !important;
    color: #0061AE !important;
    box-shadow: none !important;
    outline: 2px solid #0061AE !important;
    outline-offset: 2px !important;
  }

  .nrm-konfigurator .extra-btn:focus,
  .nrm-konfigurator .extra-btn:focus-visible,
  .nrm-konfigurator .extra-btn:active,
  .nrm-konfigurator .fs-chip:focus,
  .nrm-konfigurator .fs-chip:focus-visible,
  .nrm-konfigurator .chip:focus,
  .nrm-konfigurator .chip:focus-visible,
  .nrm-konfigurator .size-preset:focus,
  .nrm-konfigurator .size-preset:focus-visible,
  .nrm-konfigurator .side-btn:focus,
  .nrm-konfigurator .side-btn:focus-visible,
  .nrm-konfigurator .placement-btn:focus,
  .nrm-konfigurator .placement-btn:focus-visible,
  .nrm-konfigurator .qty-btn:focus,
  .nrm-konfigurator .qty-btn:focus-visible,
  .nrm-konfigurator #btn-show-front:focus,
  .nrm-konfigurator #btn-show-front:focus-visible,
  .nrm-konfigurator #btn-show-back:focus,
  .nrm-konfigurator #btn-show-back:focus-visible,
  .nrm-konfigurator #logo-rotate-btn:focus,
  .nrm-konfigurator #logo-rotate-btn:focus-visible {
    border-color: #0061AE !important;
    background: #F3F8FC !important;
    color: #0061AE !important;
    box-shadow: none !important;
    outline: 2px solid #0061AE !important;
    outline-offset: 2px !important;
  }

  .nrm-konfigurator .btn-primary:focus,
  .nrm-konfigurator .btn-primary:focus-visible,
  .nrm-konfigurator .btn-primary:active,
  .nrm-konfigurator .btn-confirm-order:focus,
  .nrm-konfigurator .btn-confirm-order:focus-visible,
  .nrm-konfigurator .btn-confirm-order:active,
  .nrm-konfigurator #btn-offert:focus,
  .nrm-konfigurator #btn-offert:focus-visible,
  .nrm-konfigurator #btn-offert:active,
  .nrm-konfigurator #btn-confirm-order:focus,
  .nrm-konfigurator #btn-confirm-order:focus-visible,
  .nrm-konfigurator #btn-confirm-order:active,
  .nrm-konfigurator .preview-fab:focus,
  .nrm-konfigurator .preview-fab:focus-visible,
  .nrm-konfigurator .preview-fab:active {
    background: #004F90 !important;
    border-color: #004F90 !important;
    color: #fff !important;
    box-shadow: none !important;
    outline: 2px solid #004F90 !important;
    outline-offset: 2px !important;
  }

