/* Base resets & typography */
      /* body {
        font-family: 'Poppins', sans-serif;
        background: #f5f7fa;
        margin: 0;
        padding: 16px 0 0 0;
      }
         */
      a {
        text-decoration: none;
      }
      h3 {
        font-size:24px;
      }
      p {
        font-size:24px;
      }
      
      /* Wizard container */
       #wizard {
        width: 1300px;
        margin: 0 auto;
        background: #fff;
        border-radius: 12px 0px 12px 12px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
        overflow: hidden;
        border: 1px solid #e0e0e0;
      }
      
      /* Progress Header */
      #progressHeader {
        background-color: #ec1c24;
        color: #fff;
        padding: 15px 25px;
        display: flex;
        align-items: center;
        justify-content: space-between;
      }
      #backButton {
        background: transparent;
        border: 1px solid #fff;
        color: #fff;
        padding: 6px 12px;
        border-radius: 25px 0px 25px 25px;
        cursor: pointer;
        transition: background 0.3s;
      }
      /* When disabled, the back button appears faded and not clickable */
      #backButton.disabled,
      #backButton:disabled {
        opacity: 0.6;
        cursor: default;
        pointer-events: none;
      }
      #backButton:hover:not(:disabled) {
        background: rgba(255, 255, 255, 0.2);
      }
      
      #progressBarContainer {
        flex-grow: 1;
        margin: 0 20px;
      }
      #progressBar {
        background: rgba(255,255,255,0.3);
        height: 6px;
        border-radius: 3px;
        overflow: hidden;
      }
      #progressBar .progress-indicator {
        background: #fff;
        height: 100%;
        width: 0%;
        transition: width 0.3s ease;
      }
      /* Stage Text */
      #stageText {
        min-width: 140px;
        text-align: right;
        font-size: 18px;
      }
      
      /* Wizard content */
      .step {
        display: none;
        padding: 30px 40px;
      }
      .step.active {
        display: block;
      }
      h3 {
        text-align: center;
        margin-top: 0;
      }
      p {
        text-align: center;
        font-size: 18px;
        margin-bottom: 25px;
      }
      
      /* Option Box styling with fixed height on desktop */
      .option-container {
        text-align: center;
        margin: 20px 0;
      }
      .option-box {
        display: inline-block;
        position: relative;
        width: 200px;
        height: 310px;
        background: #fff;
        border: 1px solid #e0e0e0;
        border-radius: 10px 0px 10px 10px;
        margin: 10px;
        cursor: pointer;
        overflow: hidden;
        transition: transform 0.3s ease, border-color 0.3s;
      }
      .option-box.selected {
        border-color: #ec1c24;
        background-color: #e7f1ff;
      }
      /* Inner container: icon and title */
      .option-inner {
        padding: 20px 12px 10px;
        transition: transform 0.3s ease;
      }
    
      .option-inner i {
        font-size: 18px;
        color: #141645;
        margin-bottom: 10px;
        display: block;
      }
      .option-title {
        font-size: 20px;
        color: #333;
      }

      #backButton {
        width: 100px;
        height: 40px;
      }
      /* Explanation text appears on hover on desktop */
      .option-info {
        font-size: 18px;
        color: #777;
        padding: 0 12px;
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.3s ease;
        min-height: 40px;
      }
      .option-box:hover .option-info {
        opacity: 1;
        transform: translateY(-30px);
      }
      /* “Select” button fades in on hover on desktop */
      .select-btn {
        display: block;
        text-align: center;
        background: #ffc10e;
        color: #141645;
        padding: 5px 8px 8px 8px;
        font-size: 18px;
        border-radius: 0 0 10px 10px;
        position: absolute;
        bottom: -40px;
        left: 0;
        right: 0;
        transition: all 0.3s ease;
      }
      .option-box:hover .select-btn {
        bottom: 0;
      }
      /* Always hide radio inputs */
      .option-box input[type="radio"] {
        display: none;
      }
      
      /* Form groups for text inputs */
      .form-group {
        margin-bottom: 20px;
        text-align: center;
      }
      .form-group label {
        display: block;
        margin-bottom: 6px;
        font-weight: 500;
      }
      .form-group input[type="text"],
      .form-group input[type="number"] {
        width: 30%;
        padding: 10px;
        border-radius: 6px;
        border: 1px solid #ccc;
        font-size: 18px;
        box-sizing: border-box;
        margin: 0 auto;
      }
      .form-left {
        text-align: center;
      }
      .boiler-btn {
        background-color: #ec1c24;
        color: #fff;
        padding: 30px 30px;
        border-radius: 25px 0px 25px 25px;
        border: none;
        font-weight: 600;
        cursor: pointer;
        margin: 5px;
        transition: background-color 0.3s, color 0.3s;
        font-size:18px;
      }
      .boiler-btn:hover {
        background-color: #ffc10e;
        color: #141645;
      }
      .center {
        text-align: center;
      }
      
      /* Boiler results listing */
      #boilerResults {
        max-width: 1200px;
        margin: 30px auto;
        padding: 20px;
      }
      .boiler-item {
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-wrap: wrap;
        max-width: 1000px;
        margin: 20px auto;
        overflow: hidden;
        position: relative;
      }
      .boiler-image {
        flex: 1;
        padding: 20px;
        position: relative;
      }
      .boiler-image img {
        max-width: 100%;
        height: auto;
        border-radius: 10px;
      }
      .boiler-details {
        flex: 2;
        padding: 20px;
      }
      .boiler-details h4 {
        margin: 0;
        font-size: 18px;
        font-weight: 600;
        color: #333;
        text-align: center;
      }
      .boiler-details p {
        margin: 5px 0;
        color: #555;
      }
      .boiler-price {
        flex: 1;
        padding: 20px;
        background-color: #f7f9fc;
        border-radius: 10px;
        text-align: right;
      }
      .price-today {
        font-size: 18px;
        color: #d9534f;
      }
      .price-monthly {
        font-size: 18px;
        color: #5bc0de;
      }
      .btns {
        flex: 1;
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
      }
      
      /* Loader overlay */
      #loader {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255,255,255,0.9);
        display: none;
        z-index: 200;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
      }
      #loaderProgressContainer {
        width: 300px;
        height: 15px;
        background: #e0e0e0;
        border-radius: 8px;
        overflow: hidden;
      }
      #loaderProgressIndicator {
        height: 100%;
        width: 0%;
        background: #ec1c24;
      }
      #loaderText {
        margin-top: 10px;
        font-size: 18px;
        color: #333;
      }

      .option-inner img.option-icon {
        display: block;
        width: 100px;
        height: 100px;
        margin: 0 auto 10px;
        transition: transform 0.3s ease;
        transform-origin: center center;
      }

      .option-box:hover .option-icon {
        transform: scale(0.7);
      }

      .option-box:hover .option-inner {
        transform: translateY(-30px);
      }

      #valveCount {
        font-size: 18px;
        padding: 10px 38px 10px 15px;
        border-radius: 8px;
        border: 1.5px solid #ddd;
        background: #fafbfc url('data:image/svg+xml;utf8,<svg fill="gray" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 12px center/18px 18px;
        appearance: none;
        outline: none;
        min-width: 110px;
        transition: border 0.2s, box-shadow 0.2s;
        box-shadow: 0 2px 8px 0 rgb(0 0 0 / 5%);
        cursor: pointer;
      }

      #valveCount:focus {
        border: 1.5px solid #e72c2c;
        box-shadow: 0 0 3px 1px #ffcccc66;
      }

      /* Remove default arrow in IE and Edge */
      #valveCount::-ms-expand {
        display: none;
      }

      .swal2-confirm {
        border-radius: 20px 0px 20px 20px !important;
      }

      .swal2-popup {
        border-radius: 25px 0px 25px 25px !important;
      }
      
      /* Mobile adjustments:
         - Each option is displayed in its own row (full width).
         - Option text and select button are always visible.
         - Increased padding and auto height so the option fills the screen.
      */
      @media (max-width: 1200px) {
        #wizard {
          width: 100%;
          min-height:202vh;
        }
        .left {
          text-align:left;
        }
        .option-box {
          display: block;
          width: 100%;
          margin: 0;
          margin-bottom:1.5em;
          text-align: left;
          height: 21em;
          /* padding: 15px; */
        }
        .option-inner i {
          text-align: center;
        }
        .option-title {
          text-align: center;
          font-size:22px;
        }
        .option-info {
          opacity: 1 !important;
          transform: none !important;
          margin-top: 5px;
          text-align: center;
          margin-bottom: 2em;
          font-size:20px;
        }
        .select-btn {
          bottom: 0 !important;
        }
        .step {
          display: none;
          padding: 15px 15px;
        }
        .form-group input[type="number"] {
          width: 60%;
          
        }
        .form-group input[type="text"] {
          width: 100%;
        }
        .form-left {
          text-align: left;
        }
      }
      @media (max-width: 600px) {
        /* body { padding: 0; background: #fff; } */
        #wizard { box-shadow: none; border-radius: 0; }
      }