    :root {
      --bg: #f5f4f0;
      --white: #ffffff;
      --ink: #1a1a18;
      --ink-light: #6b6b60;
      --primary: #1d4ed8;
      --primary-dark: #1e3a8a;
      --primary-light: #dbeafe;
      --accent: #16a34a;
      --accent-light: #dcfce7;
      --warn: #dc2626;
      --border: #e2e1d9;
      --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
      --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.10), 0 2px 6px rgba(0, 0, 0, 0.06);
      --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
      --radius: 12px;
      --radius-sm: 8px;
      --radius-lg: 20px;
    }

    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    /* Do not style WordPress <body> from the embedded guide.
       Typography/background belong to the guide container instead. */
    .guide-wrapper {
      font-family: 'DM Sans', sans-serif;
      background: transparent;
      color: var(--ink);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    .guide-wrapper {
      width: 100%;
      max-width: 760px;
      min-width: 0;
      margin: 0 auto;
      padding: 32px 20px 80px;
      overflow-wrap: break-word;
    }

    .guide-wrapper *,
    .guide-wrapper *::before,
    .guide-wrapper *::after {
      box-sizing: border-box;
      max-width: 100%;
    }

    .guide-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 40px;
      padding-bottom: 24px;
      border-bottom: 1px solid var(--border);
    }

    .guide-header img {
      height: 32px;
      object-fit: contain;
    }

    .guide-header-title {
      font-family: 'DM Serif Display', serif;
      font-size: 15px;
      color: var(--ink-light);
      letter-spacing: 0.01em;
    }

    .progress-wrap {
      margin-bottom: 40px;
    }

    .progress-meta {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      margin-bottom: 10px;
    }

    .progress-label {
      font-size: 12px;
      font-weight: 500;
      color: var(--ink-light);
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .progress-fraction {
      font-size: 13px;
      font-weight: 600;
      color: var(--primary);
    }

    .progress-track {
      height: 4px;
      background: var(--border);
      border-radius: 4px;
      overflow: hidden;
    }

    .progress-fill {
      height: 100%;
      background: var(--primary);
      border-radius: 4px;
      transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .step-card {
      background: var(--white);
      border-radius: var(--radius-lg);
      padding: 40px;
      box-shadow: var(--shadow-md);
      animation: slideUp 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    @keyframes slideUp {
      from {
        opacity: 0;
        transform: translateY(16px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .step-number {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 11px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--primary);
      background: var(--primary-light);
      padding: 4px 10px;
      border-radius: 20px;
      margin-bottom: 16px;
    }

    .step-question {
      font-family: 'DM Serif Display', serif;
      font-size: 26px;
      line-height: 1.25;
      color: var(--ink);
      margin-bottom: 8px;
    }

    .step-hint {
      font-size: 14px;
      color: var(--ink-light);
      margin-bottom: 32px;
    }

    .choices {
      display: grid;
      gap: 10px;
    }

    .choices.two-col {
      grid-template-columns: 1fr 1fr;
    }

    .choice-btn {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 16px 20px;
      background: var(--bg);
      border: 2px solid var(--border);
      border-radius: var(--radius);
      cursor: pointer;
      transition: all 0.18s ease;
      text-align: left;
      width: 100%;
      font-family: 'DM Sans', sans-serif;
      font-size: 15px;
      font-weight: 500;
      color: var(--ink);
    }

    .choice-btn:hover {
      border-color: var(--primary);
      background: var(--primary-light);
      transform: translateY(-1px);
      box-shadow: var(--shadow-sm);
    }

    .choice-btn.selected {
      border-color: var(--primary);
      background: var(--primary-light);
      color: var(--primary-dark);
    }

    .choice-btn .choice-icon {
      font-size: 22px;
      flex-shrink: 0;
      width: 32px;
      text-align: center;
    }

    .choice-btn .choice-text {
      flex: 1;
    }

    .choice-btn .choice-sub {
      display: block;
      font-size: 12px;
      font-weight: 400;
      color: var(--ink-light);
      margin-top: 2px;
    }

    .choice-btn .choice-check {
      width: 20px;
      height: 20px;
      border: 2px solid var(--border);
      border-radius: 50%;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      transition: all 0.18s;
    }

    .choice-btn.selected .choice-check {
      background: var(--primary);
      border-color: var(--primary);
      color: white;
    }

    .budget-info-box {
      background: #fffbeb;
      border: 1.5px solid #f59e0b;
      border-radius: var(--radius);
      padding: 14px 18px;
      margin-top: 16px;
      animation: fadeIn 0.25s ease;
      display: flex;
      gap: 12px;
      align-items: flex-start;
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
      }

      to {
        opacity: 1;
      }
    }

    .budget-info-icon {
      font-size: 20px;
      flex-shrink: 0;
      margin-top: 1px;
    }

    .budget-info-text {
      flex: 1;
    }

    .budget-info-title {
      font-size: 14px;
      font-weight: 600;
      color: #92400e;
      margin-bottom: 4px;
    }

    .budget-info-body {
      font-size: 13px;
      color: #78350f;
      line-height: 1.55;
    }

    .budget-info-tip {
      font-size: 12px;
      color: #92400e;
      margin-top: 6px;
      font-style: italic;
    }

    .choice-btn.has-warning {
      opacity: 0.55;
      border-color: #f59e0b;
      background: #fffbeb;
    }

    .choice-btn.has-warning:hover {
      opacity: 0.75;
      border-color: #f59e0b;
      background: #fef3c7;
      transform: none;
      box-shadow: none;
    }

    .choice-btn:disabled {
      opacity: 0.38;
      cursor: not-allowed;
      transform: none !important;
      box-shadow: none !important;
      border-color: var(--border) !important;
      background: var(--bg) !important;
      color: var(--ink-light) !important;
    }

    .slider-wrap {
      margin-top: 8px;
    }

    .slider-value-display {
      font-family: 'DM Serif Display', serif;
      font-size: 36px;
      color: var(--ink);
      margin-bottom: 4px;
    }

    .slider-value-display span {
      font-size: 18px;
      color: var(--ink-light);
      font-family: 'DM Sans', sans-serif;
      font-weight: 400;
    }

    .slider-sublabel {
      font-size: 13px;
      color: var(--ink-light);
      margin-bottom: 24px;
    }

    input[type=range] {
      -webkit-appearance: none;
      width: 100%;
      height: 6px;
      border-radius: 6px;
      background: var(--border);
      outline: none;
      cursor: pointer;
      margin-bottom: 12px;
    }

    input[type=range]::-webkit-slider-thumb {
      -webkit-appearance: none;
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: var(--primary);
      cursor: pointer;
      border: 3px solid white;
      box-shadow: 0 0 0 2px var(--primary), var(--shadow-sm);
      transition: transform 0.15s;
    }

    input[type=range]::-webkit-slider-thumb:hover {
      transform: scale(1.15);
    }

    input[type=range]::-moz-range-thumb {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: var(--primary);
      cursor: pointer;
      border: 3px solid white;
      box-shadow: 0 0 0 2px var(--primary);
    }

    .slider-range-labels {
      display: flex;
      justify-content: space-between;
      font-size: 11px;
      color: var(--ink-light);
      font-weight: 500;
    }

    .nav-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-top: 32px;
      gap: 12px;
    }

    .btn-back {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 10px 16px;
      background: transparent;
      border: 2px solid var(--border);
      border-radius: var(--radius-sm);
      cursor: pointer;
      font-family: 'DM Sans', sans-serif;
      font-size: 14px;
      font-weight: 500;
      color: var(--ink-light);
      transition: all 0.18s;
    }

    .btn-back:hover {
      border-color: var(--ink-light);
      color: var(--ink);
    }

    .btn-next {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 13px 28px;
      background: var(--primary);
      border: none;
      border-radius: var(--radius-sm);
      cursor: pointer;
      font-family: 'DM Sans', sans-serif;
      font-size: 15px;
      font-weight: 600;
      color: white;
      transition: all 0.18s;
      box-shadow: var(--shadow-sm);
      margin-left: auto;
    }

    .btn-next:hover {
      background: var(--primary-dark);
      transform: translateY(-1px);
      box-shadow: var(--shadow-md);
    }

    .btn-next:disabled {
      background: var(--border);
      color: var(--ink-light);
      cursor: not-allowed;
      transform: none;
      box-shadow: none;
    }

    .results-header {
      text-align: center;
      margin-bottom: 40px;
      animation: slideUp 0.35s ease;
    }

    .results-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: var(--accent-light);
      color: var(--accent);
      font-size: 13px;
      font-weight: 600;
      padding: 6px 14px;
      border-radius: 20px;
      margin-bottom: 16px;
    }

    .results-title {
      font-family: 'DM Serif Display', serif;
      font-size: 30px;
      color: var(--ink);
      margin-bottom: 8px;
    }

    .results-subtitle {
      font-size: 15px;
      color: var(--ink-light);
    }

    .results-summary {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      justify-content: center;
      margin-top: 16px;
    }

    .summary-tag {
      font-size: 12px;
      font-weight: 500;
      padding: 4px 12px;
      border-radius: 20px;
      background: var(--white);
      border: 1px solid var(--border);
      color: var(--ink-light);
    }

    .results-grid {
      display: grid;
      gap: 20px;
    }

    .product-card {
      background: var(--white);
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-md);
      display: grid;
      grid-template-columns: 200px 1fr;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      animation: slideUp 0.4s ease both;
    }

    .product-card:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-lg);
    }

    .product-card:nth-child(2) {
      animation-delay: 0.08s;
    }

    .product-card:nth-child(3) {
      animation-delay: 0.16s;
    }

    .product-card.featured {
      border: 2px solid var(--primary);
    }

    .product-card.featured .product-img-wrap::after {
      content: '★ Bäst match';
      position: absolute;
      top: 10px;
      left: 10px;
      background: var(--primary);
      color: white;
      font-size: 10px;
      font-weight: 700;
      padding: 3px 8px;
      border-radius: 4px;
      letter-spacing: 0.05em;
      text-transform: uppercase;
    }

    .product-img-wrap {
      position: relative;
      background: var(--bg);
      overflow: hidden;
    }

    .product-img-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
    }

    .product-card:hover .product-img-wrap img {
      transform: scale(1.04);
    }

    .product-img-placeholder {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 48px;
      color: var(--border);
    }

    .product-body {
      padding: 24px;
      display: flex;
      flex-direction: column;
    }

    .product-room-tag {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      font-size: 11px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--primary);
      margin-bottom: 8px;
    }

    .product-name {
      font-family: 'DM Serif Display', serif;
      font-size: 20px;
      line-height: 1.2;
      color: var(--ink);
      margin-bottom: 8px;
    }

    .product-desc {
      font-size: 13px;
      color: var(--ink-light);
      line-height: 1.6;
      margin-bottom: 16px;
      flex: 1;
    }

    .product-features {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-bottom: 20px;
    }

    .feature-tag {
      font-size: 11px;
      font-weight: 500;
      padding: 3px 10px;
      border-radius: 20px;
      background: var(--bg);
      color: var(--ink-light);
      border: 1px solid var(--border);
    }

    .product-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding-top: 16px;
      border-top: 1px solid var(--border);
    }

    .product-budget {
      font-size: 13px;
      color: var(--ink-light);
    }

    .product-budget strong {
      color: var(--ink);
      font-weight: 600;
    }

    .btn-offert {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 10px 18px;
      background: var(--primary);
      color: white;
      border: none;
      border-radius: var(--radius-sm);
      font-family: 'DM Sans', sans-serif;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      text-decoration: none;
      transition: all 0.18s;
      white-space: nowrap;
    }

    .btn-offert:hover {
      background: var(--primary-dark);
      transform: translateY(-1px);
    }

    .no-results {
      text-align: center;
      padding: 60px 20px;
      background: var(--white);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-md);
    }

    .no-results-icon {
      font-size: 48px;
      margin-bottom: 16px;
    }

    .no-results h3 {
      font-family: 'DM Serif Display', serif;
      font-size: 22px;
      margin-bottom: 8px;
    }

    .no-results p {
      font-size: 14px;
      color: var(--ink-light);
      margin-bottom: 24px;
    }

    .btn-restart {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 11px 22px;
      background: var(--bg);
      border: 2px solid var(--border);
      border-radius: var(--radius-sm);
      cursor: pointer;
      font-family: 'DM Sans', sans-serif;
      font-size: 14px;
      font-weight: 600;
      color: var(--ink);
      transition: all 0.18s;
    }

    .btn-restart:hover {
      border-color: var(--primary);
      color: var(--primary);
    }

    /* Admin styles */
    .admin-wrap {
      max-width: 860px;
      margin: 0 auto;
      padding: 32px 20px 80px;
    }

    .admin-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 32px;
      padding-bottom: 20px;
      border-bottom: 2px solid var(--border);
    }

    .admin-title {
      font-family: 'DM Serif Display', serif;
      font-size: 24px;
    }

    .admin-badge {
      background: #fef3c7;
      color: #92400e;
      font-size: 11px;
      font-weight: 700;
      padding: 4px 10px;
      border-radius: 4px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .admin-section {
      background: var(--white);
      border-radius: var(--radius-lg);
      padding: 32px;
      box-shadow: var(--shadow-md);
      margin-bottom: 24px;
    }

    .admin-section-title {
      font-family: 'DM Serif Display', serif;
      font-size: 18px;
      margin-bottom: 24px;
      padding-bottom: 12px;
      border-bottom: 1px solid var(--border);
    }

    .form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }

    .form-group {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .form-group.full {
      grid-column: 1 / -1;
    }

    .form-label {
      font-size: 12px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--ink-light);
    }

    .form-input,
    .form-textarea,
    .form-select {
      padding: 10px 14px;
      border: 2px solid var(--border);
      border-radius: var(--radius-sm);
      font-family: 'DM Sans', sans-serif;
      font-size: 14px;
      color: var(--ink);
      background: var(--bg);
      outline: none;
      transition: border-color 0.18s;
    }

    .form-input:focus,
    .form-textarea:focus,
    .form-select:focus {
      border-color: var(--primary);
      background: var(--white);
    }

    .form-textarea {
      min-height: 80px;
      resize: vertical;
    }

    .checkbox-group {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .checkbox-label {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 6px 12px;
      border: 2px solid var(--border);
      border-radius: 6px;
      cursor: pointer;
      font-size: 13px;
      font-weight: 500;
      transition: all 0.15s;
      user-select: none;
    }

    .checkbox-label:hover {
      border-color: var(--primary);
    }

    .checkbox-label input {
      display: none;
    }

    .checkbox-label.checked {
      border-color: var(--primary);
      background: var(--primary-light);
      color: var(--primary-dark);
    }

    .toggle-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 0;
      border-bottom: 1px solid var(--border);
    }

    .toggle-row:last-child {
      border-bottom: none;
    }

    .toggle-label {
      font-size: 14px;
      font-weight: 500;
    }

    .toggle-sub {
      font-size: 12px;
      color: var(--ink-light);
    }

    .toggle {
      position: relative;
      width: 44px;
      height: 24px;
      background: var(--border);
      border-radius: 12px;
      cursor: pointer;
      transition: background 0.2s;
      flex-shrink: 0;
    }

    .toggle.on {
      background: var(--primary);
    }

    .toggle::after {
      content: '';
      position: absolute;
      width: 18px;
      height: 18px;
      background: white;
      border-radius: 50%;
      top: 3px;
      left: 3px;
      transition: transform 0.2s;
      box-shadow: var(--shadow-sm);
    }

    .toggle.on::after {
      transform: translateX(20px);
    }

    .btn-add-product {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 12px 24px;
      background: var(--accent);
      border: none;
      border-radius: var(--radius-sm);
      cursor: pointer;
      font-family: 'DM Sans', sans-serif;
      font-size: 14px;
      font-weight: 600;
      color: white;
      transition: all 0.18s;
      margin-top: 20px;
    }

    .btn-add-product:hover {
      background: #15803d;
      transform: translateY(-1px);
    }

    .product-list {
      display: grid;
      gap: 12px;
    }

    .product-list-item {
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 16px;
      background: var(--bg);
      border-radius: var(--radius);
      border: 1px solid var(--border);
    }

    .product-list-item-info {
      flex: 1;
    }

    .product-list-item-name {
      font-weight: 600;
      font-size: 14px;
    }

    .product-list-item-meta {
      font-size: 12px;
      color: var(--ink-light);
      margin-top: 2px;
    }

    .btn-edit,
    .btn-delete {
      padding: 6px 14px;
      border-radius: 6px;
      font-family: 'DM Sans', sans-serif;
      font-size: 12px;
      font-weight: 600;
      cursor: pointer;
      border: 2px solid;
      transition: all 0.15s;
    }

    .btn-edit {
      border-color: var(--primary);
      color: var(--primary);
      background: transparent;
    }

    .btn-edit:hover {
      background: var(--primary);
      color: white;
    }

    .btn-delete {
      border-color: var(--warn);
      color: var(--warn);
      background: transparent;
    }

    .btn-delete:hover {
      background: var(--warn);
      color: white;
    }

    .login-wrap {
      max-width: 400px;
      margin: 100px auto;
      padding: 0 20px;
    }

    .login-card {
      background: var(--white);
      border-radius: var(--radius-lg);
      padding: 40px;
      box-shadow: var(--shadow-lg);
      text-align: center;
    }

    .login-icon {
      font-size: 40px;
      margin-bottom: 16px;
    }

    .login-title {
      font-family: 'DM Serif Display', serif;
      font-size: 22px;
      margin-bottom: 8px;
    }

    .login-sub {
      font-size: 14px;
      color: var(--ink-light);
      margin-bottom: 28px;
    }

    .login-input {
      width: 100%;
      padding: 12px 16px;
      border: 2px solid var(--border);
      border-radius: var(--radius-sm);
      font-family: 'DM Sans', sans-serif;
      font-size: 15px;
      text-align: center;
      letter-spacing: 0.15em;
      outline: none;
      margin-bottom: 16px;
      transition: border-color 0.18s;
    }

    .login-input:focus {
      border-color: var(--primary);
    }

    .login-input.error {
      border-color: var(--warn);
      animation: shake 0.3s ease;
    }

    @keyframes shake {

      0%,
      100% {
        transform: translateX(0);
      }

      25% {
        transform: translateX(-6px);
      }

      75% {
        transform: translateX(6px);
      }
    }

    .btn-login {
      width: 100%;
      padding: 13px;
      background: var(--primary);
      border: none;
      border-radius: var(--radius-sm);
      font-family: 'DM Sans', sans-serif;
      font-size: 15px;
      font-weight: 600;
      color: white;
      cursor: pointer;
      transition: background 0.18s;
    }

    .btn-login:hover {
      background: var(--primary-dark);
    }

    .toast {
      position: fixed;
      bottom: 24px;
      right: 24px;
      padding: 12px 20px;
      border-radius: var(--radius-sm);
      font-size: 14px;
      font-weight: 500;
      box-shadow: var(--shadow-lg);
      animation: toastIn 0.3s ease;
      z-index: 999;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .toast.success {
      background: var(--accent);
      color: white;
    }

    .toast.error {
      background: var(--warn);
      color: white;
    }

    @keyframes toastIn {
      from {
        opacity: 0;
        transform: translateY(12px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .price-section {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 10px;
      margin-bottom: 16px;
    }

    .price-block {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      padding: 10px 12px;
      text-align: center;
    }

    .price-block.primary {
      background: var(--primary-light);
      border-color: var(--primary);
    }

    .price-label {
      font-size: 10px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.07em;
      color: var(--ink-light);
      margin-bottom: 4px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 4px;
    }

    .price-block.primary .price-label {
      color: var(--primary-dark);
    }

    .price-value {
      font-family: 'DM Serif Display', serif;
      font-size: 16px;
      color: var(--ink);
      line-height: 1.1;
    }

    .price-per {
      font-size: 10px;
      color: var(--ink-light);
      font-family: 'DM Sans', sans-serif;
    }

    .price-info-link {
      background: none;
      border: none;
      cursor: pointer;
      font-size: 10px;
      color: var(--primary);
      text-decoration: underline;
      padding: 0;
      font-family: 'DM Sans', sans-serif;
    }

    .modal-overlay {
      position: fixed !important;
      inset: 0 !important;
      width: 100vw !important;
      height: 100vh !important;
      background: rgba(0, 0, 0, 0.45) !important;
      z-index: 999999 !important;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
      box-sizing: border-box;
      animation: fadeIn 0.2s ease;
    }

    .modal-box {
      position: relative !important;
      z-index: 1;
      background: #ffffff !important;
      opacity: 1 !important;
      border-radius: var(--radius-lg);
      padding: 32px;
      max-width: 520px;
      width: 100%;
      max-height: 90vh;
      overflow-y: auto;
      box-shadow: var(--shadow-lg);
      animation: slideUp 0.25s ease;
    }

    .modal-box.modal-wide {
      max-width: 760px;
      width: min(100%, 760px);
      max-height: 90vh;
      overflow-y: auto;
    }

    .modal-box.modal-edit {
      max-width: 920px;
      max-height: 90vh;
      overflow-y: auto;
    }

    .edit-tabs {
      display: flex;
      border-bottom: 2px solid var(--border);
      margin: 16px 0 24px;
    }

    .edit-tab-btn {
      padding: 9px 22px;
      font-family: 'DM Sans', sans-serif;
      font-size: 14px;
      font-weight: 600;
      background: none;
      border: none;
      border-bottom: 3px solid transparent;
      margin-bottom: -2px;
      cursor: pointer;
      color: var(--ink-light);
      transition: color 0.15s, border-color 0.15s;
    }

    .edit-tab-btn.active {
      color: var(--primary);
      border-bottom-color: var(--primary);
    }

    .edit-tab-content {
      display: none;
    }

    .edit-tab-content.active {
      display: block;
    }

    .ai-desc-preview {
      margin-top: 12px;
      background: var(--bg);
      border: 1.5px solid var(--border);
      border-radius: var(--radius-sm);
      padding: 14px 16px;
    }

    .btn-ai-desc {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 14px;
      font-size: 13px;
      font-weight: 600;
      font-family: 'DM Sans', sans-serif;
      background: #6366f1;
      color: white;
      border: none;
      border-radius: var(--radius-sm);
      cursor: pointer;
      transition: background 0.15s;
    }

    .btn-ai-desc:hover { background: #4f46e5; }
    .btn-ai-desc:disabled { opacity: 0.6; cursor: default; }

    .btn-advanced {
      border: 2px solid #6366f1;
      color: #6366f1;
      background: transparent;
      border-radius: var(--radius-sm);
      padding: 6px 12px;
      font-family: 'DM Sans', sans-serif;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.15s;
      white-space: nowrap;
    }

    .btn-advanced:hover {
      background: #6366f1;
      color: white;
    }

    .kalkyl-section-title {
      font-family: 'DM Serif Display', serif;
      font-size: 16px;
      margin: 24px 0 12px;
      padding-bottom: 8px;
      border-bottom: 1px solid var(--border);
    }

    .kalkyl-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 13px;
      margin-bottom: 8px;
    }

    .kalkyl-table th {
      text-align: left;
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--ink-light);
      padding: 0 6px 8px;
    }

    .kalkyl-table td {
      padding: 4px 6px;
      vertical-align: middle;
    }

    .kalkyl-table tr:not(:last-child) td {
      border-bottom: 1px solid var(--border);
    }

    .kalkyl-input {
      width: 100%;
      border: 1.5px solid var(--border);
      border-radius: 6px;
      padding: 5px 8px;
      font-family: 'DM Sans', sans-serif;
      font-size: 13px;
      background: var(--bg);
      transition: border-color 0.15s;
    }

    .kalkyl-input:focus {
      outline: none;
      border-color: var(--primary);
      background: white;
    }

    .kalkyl-input.narrow {
      width: 70px;
    }

    .kalkyl-btn-remove {
      background: none;
      border: none;
      cursor: pointer;
      color: var(--warn);
      font-size: 16px;
      padding: 2px 4px;
      line-height: 1;
    }

    .kalkyl-labor-grid {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 12px;
      margin-bottom: 16px;
    }

    .kalkyl-labor-grid .form-group {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .kalkyl-labor-grid label {
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--ink-light);
    }

    .kalkyl-summary {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 16px;
      margin-top: 16px;
    }

    .kalkyl-summary-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 6px 0;
      font-size: 14px;
      border-bottom: 1px solid var(--border);
    }

    .kalkyl-summary-row:last-child {
      border-bottom: none;
    }

    .kalkyl-summary-row.total {
      font-weight: 700;
      font-size: 15px;
      padding-top: 10px;
    }

    .kalkyl-summary-row.tb {
      color: #166534;
      font-weight: 700;
    }

    .kalkyl-summary-row.tb.negative {
      color: var(--warn);
    }

    .kalkyl-summary-label {
      color: var(--ink-light);
    }

    .kalkyl-summary-val {
      font-weight: 600;
    }

    .kalkyl-editable-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 6px 0;
      font-size: 14px;
      border-bottom: 1px solid var(--border);
    }

    .kalkyl-editable-row label {
      color: var(--ink-light);
      font-size: 13px;
    }

    .kalkyl-editable-row input {
      width: 130px;
      border: 1.5px solid var(--border);
      border-radius: 6px;
      padding: 4px 8px;
      font-family: 'DM Sans', sans-serif;
      font-size: 14px;
      font-weight: 600;
      text-align: right;
      background: white;
    }

    .kalkyl-editable-row input:focus {
      outline: none;
      border-color: var(--primary);
    }

    .btn-add-item {
      background: none;
      border: 1.5px dashed var(--border);
      border-radius: var(--radius-sm);
      padding: 6px 14px;
      font-family: 'DM Sans', sans-serif;
      font-size: 13px;
      color: var(--ink-light);
      cursor: pointer;
      transition: all 0.15s;
      margin-top: 6px;
    }

    .btn-add-item:hover {
      border-color: var(--primary);
      color: var(--primary);
    }

    .modal-close {
      position: absolute;
      top: 16px;
      right: 16px;
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: 50%;
      width: 30px;
      height: 30px;
      cursor: pointer;
      font-size: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.15s;
    }

    .modal-close:hover {
      background: var(--border);
    }

    .modal-icon {
      font-size: 32px;
      margin-bottom: 12px;
    }

    .modal-title {
      font-family: 'DM Serif Display', serif;
      font-size: 20px;
      margin-bottom: 8px;
      color: var(--ink);
    }

    .quote-form-header {
      margin-bottom: 24px;
    }

    .quote-form-note {
      font-size: 14px;
      color: var(--ink-light);
      margin-top: 8px;
      line-height: 1.6;
    }

    .quote-item-summary {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 16px;
      margin-bottom: 20px;
      color: var(--ink);
    }

    .quote-item-summary strong {
      display: block;
      margin-bottom: 8px;
      font-size: 15px;
    }

    .quote-success {
      text-align: center;
      padding: 8px 4px 4px;
    }

    .quote-success-text {
      font-size: 15px;
      color: var(--ink-light);
      margin-top: 10px;
      line-height: 1.7;
    }

    .quote-error {
      margin-top: 16px;
      background: #fde2e2;
      border: 1px solid #f2a5a5;
      border-radius: var(--radius-sm);
      padding: 14px 16px;
    }

    .quote-error p {
      margin: 0;
      color: #991b1b;
      font-size: 14px;
    }

    .modal-body {
      font-size: 14px;
      color: var(--ink-light);
      line-height: 1.7;
    }

    .modal-body ul {
      padding-left: 18px;
      margin-top: 8px;
    }

    .modal-body li {
      margin-bottom: 4px;
    }

    .modal-body strong {
      color: var(--ink);
    }

    .pkg-select-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 8px 16px;
      background: transparent;
      border: 2px solid var(--primary);
      border-radius: var(--radius-sm);
      color: var(--primary);
      font-family: 'DM Sans', sans-serif;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.18s;
    }

    .pkg-select-btn:hover,
    .pkg-select-btn.active {
      background: var(--primary);
      color: white;
    }

    .followup-card {
      background: var(--white);
      border-radius: var(--radius-lg);
      padding: 36px 40px;
      box-shadow: var(--shadow-md);
      animation: slideUp 0.35s ease;
    }

    .followup-pkg-name {
      font-family: 'DM Serif Display', serif;
      font-size: 18px;
      color: var(--primary);
      margin-bottom: 4px;
    }

    .followup-q {
      margin-bottom: 24px;
      padding-bottom: 24px;
      border-bottom: 1px solid var(--border);
    }

    .followup-q:last-child {
      border-bottom: none;
      margin-bottom: 0;
      padding-bottom: 0;
    }

    .followup-q-label {
      font-size: 15px;
      font-weight: 600;
      color: var(--ink);
      margin-bottom: 12px;
    }

    .followup-q-opts {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .followup-opt {
      padding: 7px 16px;
      border: 2px solid var(--border);
      border-radius: var(--radius-sm);
      font-size: 13px;
      font-weight: 500;
      cursor: pointer;
      background: var(--bg);
      font-family: 'DM Sans', sans-serif;
      transition: all 0.15s;
    }

    .followup-opt:hover {
      border-color: var(--primary);
      background: var(--primary-light);
    }

    .followup-opt.selected {
      border-color: var(--primary);
      background: var(--primary-light);
      color: var(--primary-dark);
    }

    .followup-textarea {
      width: 100%;
      padding: 10px 14px;
      border: 2px solid var(--border);
      border-radius: var(--radius-sm);
      font-family: 'DM Sans', sans-serif;
      font-size: 14px;
      min-height: 80px;
      resize: vertical;
      outline: none;
      transition: border-color 0.18s;
      background: var(--bg);
    }

    .followup-textarea:focus {
      border-color: var(--primary);
      background: white;
    }

    .followup-summary {
      background: var(--white);
      border: 1.5px solid var(--primary-light);
      border-radius: var(--radius-lg);
      padding: 24px 28px;
      margin-bottom: 24px;
      box-shadow: var(--shadow-sm);
    }

    .followup-summary-title {
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--primary);
      margin-bottom: 14px;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .followup-summary-row {
      display: flex;
      gap: 12px;
      padding: 8px 0;
      border-bottom: 1px solid var(--border);
      font-size: 14px;
      align-items: baseline;
    }

    .followup-summary-row:last-child {
      border-bottom: none;
    }

    .followup-summary-q {
      color: var(--ink-light);
      flex: 1;
      min-width: 0;
    }

    .followup-summary-a {
      font-weight: 600;
      color: var(--ink);
      text-align: right;
      flex-shrink: 0;
      max-width: 55%;
    }

    .followup-summary-pkg {
      font-size: 11px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.07em;
      color: var(--primary);
      background: var(--primary-light);
      padding: 3px 8px;
      border-radius: 4px;
      margin-bottom: 10px;
      display: inline-block;
    }

    .admin-filter-bar {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin-bottom: 20px;
      align-items: center;
    }

    .room-def-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 13px;
      margin-bottom: 4px;
    }
    .room-def-table th {
      text-align: left;
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .05em;
      color: var(--ink-light);
      padding: 0 6px 8px;
    }
    .room-def-table td { padding: 4px 6px; vertical-align: middle; }
    .room-def-table .rd-input { padding: 6px 8px; font-size: 13px; }

    .admin-logic-check {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 14px;
      border: 2px solid var(--border);
      border-radius: 20px;
      font-family: 'DM Sans', sans-serif;
      font-size: 13px;
      font-weight: 500;
      color: var(--ink-light);
      cursor: pointer;
      user-select: none;
      transition: border-color .15s, background .15s, color .15s;
    }
    .admin-logic-check input[type="checkbox"] { display: none; }
    .admin-logic-check:hover { border-color: var(--primary); color: var(--primary); }
    .admin-logic-check.active { border-color: var(--primary); background: var(--primary); color: #fff; }

    .admin-filter-btn {
      padding: 5px 12px;
      border: 2px solid var(--border);
      border-radius: 20px;
      background: var(--bg);
      font-family: 'DM Sans', sans-serif;
      font-size: 12px;
      font-weight: 600;
      cursor: pointer;
      color: var(--ink-light);
      transition: all 0.15s;
    }

    .admin-filter-btn:hover {
      border-color: var(--primary);
      color: var(--primary);
    }

    .admin-filter-btn.active {
      border-color: var(--primary);
      background: var(--primary);
      color: white;
    }

    .admin-filter-search {
      flex: 1;
      min-width: 160px;
      padding: 6px 12px;
      border: 2px solid var(--border);
      border-radius: 20px;
      font-family: 'DM Sans', sans-serif;
      font-size: 13px;
      outline: none;
      background: var(--bg);
      transition: border-color 0.15px;
    }

    .admin-filter-search:focus {
      border-color: var(--primary);
      background: white;
    }

    .admin-product-card {
      background: var(--white);
      border: 1.5px solid var(--border);
      border-radius: var(--radius);
      padding: 16px;
      display: grid;
      grid-template-columns: 56px 1fr auto;
      gap: 14px;
      align-items: start;
      transition: border-color 0.15s, box-shadow 0.15s;
    }

    .admin-product-card:hover {
      border-color: var(--primary);
      box-shadow: var(--shadow-sm);
    }

    .admin-product-thumb {
      width: 56px;
      height: 56px;
      border-radius: var(--radius-sm);
      background: var(--bg);
      border: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 22px;
      overflow: hidden;
      flex-shrink: 0;
    }

    .admin-product-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: var(--radius-sm);
    }

    .admin-product-thumb.has-img {
      border-color: var(--accent);
      background: var(--accent-light);
    }

    /* ── Image upload widget ─────────────────────────────────────── */
    .img-upload-widget {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .img-upload-preview {
      width: 100%;
      height: 140px;
      border: 2px dashed var(--border);
      border-radius: var(--radius-sm);
      background: var(--bg);
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    .img-upload-preview img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    .img-upload-placeholder {
      font-size: 36px;
      opacity: 0.35;
    }

    .img-upload-spinner {
      font-size: 28px;
      animation: imgSpin 1s linear infinite;
      display: inline-block;
    }

    @keyframes imgSpin {
      to { transform: rotate(360deg); }
    }

    .img-upload-actions {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      align-items: center;
    }

    .img-upload-btn {
      cursor: pointer;
      font-size: 12px;
      padding: 7px 14px;
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }

    .img-clear-btn {
      font-size: 12px;
      padding: 7px 12px;
    }

    .img-upload-hint {
      font-size: 11px;
      color: var(--ink-light);
      margin: 0;
    }

    .img-uploading .img-upload-preview {
      border-color: var(--accent);
    }

    .img-uploading {
      opacity: 0.7;
      pointer-events: none;
    }
    /* ────────────────────────────────────────────────────────────── */

    .admin-product-name {
      font-weight: 600;
      font-size: 14px;
      margin-bottom: 6px;
      line-height: 1.3;
    }

    .admin-product-price {
      font-family: 'DM Serif Display', serif;
      font-size: 16px;
      color: var(--primary);
      margin-bottom: 8px;
    }

    .admin-product-price span {
      font-size: 12px;
      color: var(--ink-light);
      font-family: 'DM Sans', sans-serif;
    }

    .admin-tag-row {
      display: flex;
      flex-wrap: wrap;
      gap: 5px;
      margin-top: 4px;
    }

    .admin-tag {
      font-size: 11px;
      font-weight: 600;
      padding: 2px 8px;
      border-radius: 4px;
      white-space: nowrap;
    }

    .admin-tag.room {
      background: #ede9fe;
      color: #5b21b6;
    }

    .admin-tag.video {
      background: var(--primary-light);
      color: var(--primary-dark);
    }

    .admin-tag.meeting {
      background: #dcfce7;
      color: #166534;
    }

    .admin-tag.audio {
      background: #fce7f3;
      color: #9d174d;
    }

    .admin-tag.followup {
      background: #fef3c7;
      color: #92400e;
    }

    .admin-tag.prio {
      background: var(--bg);
      color: var(--ink-light);
      border: 1px solid var(--border);
    }

    .admin-card-actions {
      display: flex;
      flex-direction: column;
      gap: 6px;
      flex-shrink: 0;
    }

    .qb-wrap {
      margin-top: 20px;
    }

    .qb-question {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 16px;
      margin-bottom: 10px;
      position: relative;
    }

    .qb-question-header {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 10px;
      flex-wrap: wrap;
    }

    .qb-q-text {
      flex: 1;
      min-width: 200px;
      padding: 8px 12px;
      border: 2px solid var(--border);
      border-radius: var(--radius-sm);
      font-family: 'DM Sans', sans-serif;
      font-size: 14px;
      outline: none;
      background: white;
    }

    .qb-q-text:focus {
      border-color: var(--primary);
    }

    .qb-type-select {
      padding: 8px 12px;
      border: 2px solid var(--border);
      border-radius: var(--radius-sm);
      font-family: 'DM Sans', sans-serif;
      font-size: 13px;
      background: white;
      outline: none;
      cursor: pointer;
    }

    .qb-remove {
      background: none;
      border: 1px solid var(--warn);
      color: var(--warn);
      border-radius: 4px;
      padding: 4px 10px;
      font-size: 12px;
      cursor: pointer;
      font-family: 'DM Sans', sans-serif;
    }

    .qb-opts-wrap {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      align-items: center;
      margin-top: 6px;
    }

    .qb-opt-input {
      padding: 5px 10px;
      border: 1px solid var(--border);
      border-radius: 4px;
      font-size: 13px;
      font-family: 'DM Sans', sans-serif;
      background: white;
      outline: none;
      min-width: 80px;
    }

    .qb-add-opt {
      padding: 5px 10px;
      border: 1px dashed var(--primary);
      border-radius: 4px;
      background: none;
      color: var(--primary);
      font-size: 12px;
      cursor: pointer;
      font-family: 'DM Sans', sans-serif;
    }

    .btn-add-question {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 9px 18px;
      background: var(--bg);
      border: 2px dashed var(--border);
      border-radius: var(--radius-sm);
      cursor: pointer;
      font-family: 'DM Sans', sans-serif;
      font-size: 13px;
      font-weight: 600;
      color: var(--ink-light);
      transition: all 0.18s;
      margin-top: 8px;
    }

    .btn-add-question:hover {
      border-color: var(--primary);
      color: var(--primary);
    }

    .requires-quote-note {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 12px;
      color: #92400e;
      background: #fef3c7;
      border: 1px solid #fde68a;
      border-radius: 6px;
      padding: 4px 10px;
      margin-top: 8px;
    }

    /* Loading state */
    .loading-state {
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 300px;
      flex-direction: column;
      gap: 16px;
    }

    .spinner {
      width: 40px;
      height: 40px;
      border: 3px solid var(--border);
      border-top-color: var(--primary);
      border-radius: 50%;
      animation: spin 0.8s linear infinite;
    }

    @keyframes spin {
      to {
        transform: rotate(360deg);
      }
    }

    /* Supplier product search */
    .supplier-search-wrap {
      background: var(--bg);
      border: 1.5px solid var(--border);
      border-radius: var(--radius);
      padding: 12px 14px;
      margin-bottom: 8px;
    }

    .supplier-search-header {
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.07em;
      color: var(--ink-light);
      margin-bottom: 8px;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .supplier-search-row {
      display: flex;
      gap: 10px;
      align-items: center;
    }

    .supplier-search-input {
      flex: 1;
      padding: 8px 12px;
      border: 2px solid var(--border);
      border-radius: var(--radius-sm);
      font-family: 'DM Sans', sans-serif;
      font-size: 13px;
      background: var(--white);
      outline: none;
      transition: border-color 0.15s;
    }

    .supplier-search-input:focus {
      border-color: var(--primary);
    }

    .supplier-search-markup {
      display: flex;
      align-items: center;
      gap: 6px;
      flex-shrink: 0;
    }

    .supplier-search-markup label {
      font-size: 12px;
      color: var(--ink-light);
      white-space: nowrap;
    }

    .supplier-results {
      margin-top: 6px;
      border: 1.5px solid var(--primary);
      border-radius: var(--radius-sm);
      background: var(--white);
      box-shadow: var(--shadow-md);
      max-height: 240px;
      overflow-y: auto;
    }

    .supplier-result-item {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 8px;
      align-items: center;
      padding: 10px 14px;
      cursor: pointer;
      border-bottom: 1px solid var(--border);
      transition: background 0.12s;
    }

    .supplier-result-item:last-child {
      border-bottom: none;
    }

    .supplier-result-item:hover {
      background: var(--primary-light);
    }

    .supplier-result-name {
      font-weight: 600;
      font-size: 13px;
      color: var(--ink);
    }

    .supplier-result-meta {
      font-size: 11px;
      color: var(--ink-light);
      margin-top: 2px;
    }

    .supplier-result-price {
      text-align: right;
      flex-shrink: 0;
    }

    .supplier-result-inpris {
      font-family: 'DM Serif Display', serif;
      font-size: 15px;
      color: var(--ink);
    }

    .supplier-result-inpris-label {
      font-size: 10px;
      color: var(--ink-light);
    }

    .supplier-no-results {
      padding: 14px;
      text-align: center;
      color: var(--ink-light);
      font-size: 13px;
    }

    .supplier-searching {
      padding: 14px;
      text-align: center;
      color: var(--primary);
      font-size: 13px;
    }

    @media (max-width: 600px) {
      /* Keep the embedded guide inside the mobile viewport */
      .guide-wrapper {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 0 auto;
        padding: 20px 12px 50px;
        overflow-x: hidden;
      }

      .step-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 24px 16px;
      }

      .step-question {
        font-size: 22px;
        overflow-wrap: anywhere;
      }

      .choices,
      .choices.two-col {
        grid-template-columns: minmax(0, 1fr);
        min-width: 0;
      }

      .choice-btn {
        width: 100%;
        min-width: 0;
      }

      .choice-btn .choice-text {
        min-width: 0;
        overflow-wrap: anywhere;
      }

      .product-card {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        max-width: 100%;
        min-width: 0;
      }

      .product-img-wrap {
        height: 160px;
        min-width: 0;
      }

      .product-body {
        min-width: 0;
        padding: 20px 16px;
      }

      .product-footer {
        flex-wrap: wrap;
        min-width: 0;
      }

      .results-grid,
      .results-header,
      .followup-card,
      .followup-summary {
        width: 100%;
        max-width: 100%;
        min-width: 0;
      }

      .followup-card {
        padding: 24px 16px;
      }

      .followup-summary {
        padding: 20px 16px;
      }

      .followup-summary-row {
        flex-wrap: wrap;
      }

      .followup-summary-a {
        max-width: 100%;
        text-align: left;
      }

      .form-grid {
        grid-template-columns: minmax(0, 1fr);
      }

      .admin-section {
        padding: 20px;
      }

      .modal-overlay {
        padding: 12px;
      }

      .modal-box,
      .modal-box.modal-wide,
      .modal-box.modal-edit {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 24px 16px;
      }

      .price-section {
        grid-template-columns: 1fr;
      }

      .kalkyl-labor-grid {
        grid-template-columns: 1fr;
      }

      .supplier-search-row {
        flex-wrap: wrap;
      }
    }


/* ============================================================
   Mobile result-card hardening
   Prevents generated product content from overflowing WordPress
   ============================================================ */
@media (max-width: 600px) {

  .guide-wrapper,
  .guide-wrapper .results-grid,
  .guide-wrapper .product-card,
  .guide-wrapper .product-body,
  .guide-wrapper .product-body > * {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .guide-wrapper .product-card {
    grid-template-columns: minmax(0, 1fr) !important;
    overflow: hidden;
  }

  .guide-wrapper .product-body {
    padding: 20px 16px !important;
    overflow: hidden;
  }

  .guide-wrapper .product-name,
  .guide-wrapper .product-desc,
  .guide-wrapper .product-room-tag {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  .guide-wrapper .product-features {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .guide-wrapper .feature-tag {
    max-width: 100%;
    white-space: normal;
  }

  /* Price cards:
     Fast price gets a full row.
     Service agreement + RaaS share the next row. */
  .guide-wrapper .price-section {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .guide-wrapper .price-section .price-block {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 12px 8px !important;
  }

  .guide-wrapper .price-section .price-block:first-child,
  .guide-wrapper .price-section .price-block.primary {
    grid-column: 1 / -1;
  }

  .guide-wrapper .price-label,
  .guide-wrapper .price-value,
  .guide-wrapper .price-per {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  /* Quote button must stay inside the card */
  .guide-wrapper .product-footer {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .guide-wrapper .product-budget {
    width: 100% !important;
    margin-bottom: 10px;
  }

  .guide-wrapper .btn-offert {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    justify-content: center !important;
    white-space: normal !important;
    text-align: center !important;
    padding: 12px 14px !important;
  }
}