<turbo-stream action="update" target="qub-type-container"><template><div class="flex flex-col gap-3 lg:gap-5" id="parameter-container-qub">
  <div class="flex justify-end lg:justify-between items-center">
    <div class="hidden lg:flex text-3xl">
          Get your qub
    </div>
      <a data-turbo="false" class="flex text-sm" href="/customise_qubs">&lt; Show options</a>
  </div>
  
      <div class="flex border rounded-xl px-5 py-[1.125rem] bg-[#42695B] text-[#F8F8F8] lg:text-[#42695B] lg:bg-[#EEE3DD] lg:border-[#EEE3DD]">
        <div class="flex w-full items-center justify-between">
          <div class="flex">
            <div class="flex">
              qub&nbsp;relax+
            </div>
          </div>
          <div class="flex">
              <div>
                30 m2
              </div>
          </div>
          <div class="flex lg:hidden">
              <div>
                €150,000.00
              </div>
          </div>
        </div>
      </div>

</div></template></turbo-stream>

<turbo-stream action="update" target="image-container"><template>  <div class="flex flex-col justify-center align-center w-full" data-controller="carousel">
    <div class="w-full h-[500px] overflow-hidden relative">
        <div class="absolute inset-0 w-full h-full" 
             data-carousel-target="slide" 
             data-index="0">
          <img loading="lazy" class="object-center object-cover w-full h-full" src="https://myqub.com/rails/active_storage/disk/eyJfcmFpbHMiOnsiZGF0YSI6eyJrZXkiOiIxd2FsNHBiYXhhOTdnejhqbTFuNXlsanQ0amsyIiwiZGlzcG9zaXRpb24iOiJpbmxpbmU7IGZpbGVuYW1lPVwibGlnaHQuanBlZ1wiOyBmaWxlbmFtZSo9VVRGLTgnJ2xpZ2h0LmpwZWciLCJjb250ZW50X3R5cGUiOiJpbWFnZS9qcGVnIiwic2VydmljZV9uYW1lIjoibG9jYWwifSwiZXhwIjoiMjAyNi0wNC0wN1QyMjo1NzoyMC41MzBaIiwicHVyIjoiYmxvYl9rZXkifX0=--8322fce48af9f35fdb0ca8144f0913a23ead0671/light.jpeg" />
        </div>
        <div class="absolute inset-0 w-full h-full" 
             data-carousel-target="slide" 
             data-index="1">
          <img loading="lazy" class="object-center object-cover w-full h-full" src="https://myqub.com/rails/active_storage/disk/eyJfcmFpbHMiOnsiZGF0YSI6eyJrZXkiOiJ3bmxydzN0MjZ2b2IybmFtNDk4c2RraGk5dnQ4IiwiZGlzcG9zaXRpb24iOiJpbmxpbmU7IGZpbGVuYW1lPVwiZGFyay5qcGVnXCI7IGZpbGVuYW1lKj1VVEYtOCcnZGFyay5qcGVnIiwiY29udGVudF90eXBlIjoiaW1hZ2UvanBlZyIsInNlcnZpY2VfbmFtZSI6ImxvY2FsIn0sImV4cCI6IjIwMjYtMDQtMDdUMjI6NTc6MjAuNTMyWiIsInB1ciI6ImJsb2Jfa2V5In19--2f27c7ebcf81e90d012a447c4414c0eda8fc1eec/dark.jpeg" />
        </div>
      
      <!-- Navigation buttons -->
      <button class="absolute left-4 top-1/2 transform -translate-y-1/2 bg-white bg-opacity-50 rounded-full p-2 hover:bg-opacity-75 focus:outline-none z-10"
              data-action="click->carousel#prev">
        <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
          <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7" />
        </svg>
      </button>
      
      <button class="absolute right-4 top-1/2 transform -translate-y-1/2 bg-white bg-opacity-50 rounded-full p-2 hover:bg-opacity-75 focus:outline-none z-10"
              data-action="click->carousel#next">
        <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
          <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7" />
        </svg>
      </button>
      
      <!-- Indicators -->
      <div class="absolute bottom-4 left-1/2 transform -translate-x-1/2 flex space-x-2 z-10">
          <button class="w-3 h-3 rounded-full bg-white bg-opacity-50 hover:bg-opacity-100 focus:outline-none bg-opacity-100"
                  data-action="carousel#goToSlide"
                  data-carousel-index-param="0"
                  data-carousel-target="indicator"></button>
          <button class="w-3 h-3 rounded-full bg-white bg-opacity-50 hover:bg-opacity-100 focus:outline-none "
                  data-action="carousel#goToSlide"
                  data-carousel-index-param="1"
                  data-carousel-target="indicator"></button>
      </div>
    </div>
  </div>
</template></turbo-stream>

<turbo-stream action="update" target="qub-info-container"><template>  <div class="hidden lg:flex justify-center gap-5 basis-1/3">
    <div class="flex flex-col gap-5 border-r pr-5 border-gray-400">
      <div class="text-slate-400 font-normal">m2</div>
      <div class="text-3xl">30 m2</div>
    </div>

    <div class="flex flex-col gap-5">
      <div class="text-slate-400 font-normal">Price</div>
      <div class="text-3xl">€ 150,000</div>
    </div>
  </div>
</template></turbo-stream>

<turbo-stream action="update" target="crown-container"><template></template></turbo-stream>
<turbo-stream action="update" target="interior-container"><template></template></turbo-stream>

    <turbo-stream action="update" target="exterior-container"><template><div class="flex flex-col gap-3 lg:gap-5" id="parameter-container-exterior">
  <div class="flex justify-end lg:justify-between items-center">
    <div class="hidden lg:flex text-3xl">
          Choose your exterior
    </div>
  </div>
  
      <div class="flex justify-between items-center text-2xl lg:hidden">
        <span>Choose your exterior</span>
      </div>
          
<a data-turbo-stream="true" class="flex justify-between gap-5 border rounded-xl py-4 px-5 hover:bg-[#EEE3DD]  " href="/customise_qubs/set_exterior?exterior_type=oslo">
  <div class="flex items-center">
    Oslo
  </div>

  <div class="flex gap-2">
        <img class="w-8 h-8 rounded-full" src="/assets/oslo-e8ee9f92.png" />
  </div>
</a>
          
<a data-turbo-stream="true" class="flex justify-between gap-5 border rounded-xl py-4 px-5 hover:bg-[#EEE3DD]  " href="/customise_qubs/set_exterior?exterior_type=urban_soul">
  <div class="flex items-center">
    Urban Soul
  </div>

  <div class="flex gap-2">
        <img class="w-8 h-8 rounded-full" src="/assets/urban_soul-e4611686.png" />
  </div>
</a>
</div></template></turbo-stream>

  <turbo-stream action="update" target="order-summary-container"><template><div class="flex flex-col gap-5 w-full justify-end">
  <div class="font-normal">Estimated delivery (months): 2</div>

    <div class="w-full flex justify-center items-center p-5 bg-slate-400 text-white rounded-xl cursor-not-allowed" 
         data-tooltip="Please select all of the property attributes"
         data-action="click->customise-qub#showModal">
      Order summary
    </div>

  <!-- Modal for incomplete order summary -->
  <div id="order_summary_modal" class="fixed inset-0 z-50 hidden flex items-center justify-center bg-black bg-opacity-50" data-action="click->customise-qub#backdropClick">
    <div class="bg-white rounded-lg shadow-lg max-w-lg w-full p-8 relative">
      <button class="absolute top-4 right-4 text-gray-600 hover:text-black text-2xl font-bold" data-action="click->customise-qub#closeModal">&times;</button>
      <div class="text-3xl mb-5 font-bold">Missing qub attributes</div>
      <div class="text-gray text-[16px]">Please select all of the qub attributes to continue.</div>
    </div>
  </div>
</div>
</template></turbo-stream>
