<turbo-stream action="replace" target="product-images"><template>
  <div id="product-images" data-controller="image-selector" class="rounded border bg-white py-4 md:py-8 w-full flex flex-col items-center justify-center">
  <div class="flex flex-row items-center justify-center h-56 sm:h-72 md:h-96 w-full">
    <div data-image-selector-target="mainImage" class="relative swiper flex h-full w-full">
      <div class="swiper-wrapper flex w-full h-full">
            <div class="swiper-slide select-none w-full h-full flex">
              <div class="swiper-zoom-container w-full h-full cursor-zoom-in"
                   data-action="click->image-selector#toggleZoom mousemove->image-selector#moveZoom">
                <img class="object-contain flex w-full h-full px-6 lg:px-12 transition-transform duration-200 ease-out" alt="Imagen 0 de Smartphone Motorola Edge 40 5G OctaCore 8GB/256GB 6.55&quot; WiFi BT Negro eclipse" src="https://res.cloudinary.com/djx6viedj/image/upload/t_trimmed_square_2048/53axo33u12n74t7s5epyvu3ltc0j?_a=BACCd2Ev" />
              </div>
            </div>
            <div class="swiper-slide select-none w-full h-full flex">
              <div class="swiper-zoom-container w-full h-full cursor-zoom-in"
                   data-action="click->image-selector#toggleZoom mousemove->image-selector#moveZoom">
                <img class="object-contain flex w-full h-full px-6 lg:px-12 transition-transform duration-200 ease-out" alt="Imagen 1 de Smartphone Motorola Edge 40 5G OctaCore 8GB/256GB 6.55&quot; WiFi BT Negro eclipse" src="https://res.cloudinary.com/djx6viedj/image/upload/t_trimmed_square_2048/dvslycayjy94ni45ygzv2g96bxjl?_a=BACCd2Ev" />
              </div>
            </div>
            <div class="swiper-slide select-none w-full h-full flex">
              <div class="swiper-zoom-container w-full h-full cursor-zoom-in"
                   data-action="click->image-selector#toggleZoom mousemove->image-selector#moveZoom">
                <img class="object-contain flex w-full h-full px-6 lg:px-12 transition-transform duration-200 ease-out" alt="Imagen 2 de Smartphone Motorola Edge 40 5G OctaCore 8GB/256GB 6.55&quot; WiFi BT Negro eclipse" src="https://res.cloudinary.com/djx6viedj/image/upload/t_trimmed_square_2048/l4cmhnbqqbjv8tbfgltrobe2h416?_a=BACCd2Ev" />
              </div>
            </div>
            <div class="swiper-slide select-none w-full h-full flex">
              <div class="swiper-zoom-container w-full h-full cursor-zoom-in"
                   data-action="click->image-selector#toggleZoom mousemove->image-selector#moveZoom">
                <img class="object-contain flex w-full h-full px-6 lg:px-12 transition-transform duration-200 ease-out" alt="Imagen 3 de Smartphone Motorola Edge 40 5G OctaCore 8GB/256GB 6.55&quot; WiFi BT Negro eclipse" src="https://res.cloudinary.com/djx6viedj/image/upload/t_trimmed_square_2048/u2mihj1itlelyw3i23t3a0lgv7xm?_a=BACCd2Ev" />
              </div>
            </div>
            <div class="swiper-slide select-none w-full h-full flex">
              <div class="swiper-zoom-container w-full h-full cursor-zoom-in"
                   data-action="click->image-selector#toggleZoom mousemove->image-selector#moveZoom">
                <img class="object-contain flex w-full h-full px-6 lg:px-12 transition-transform duration-200 ease-out" alt="Imagen 4 de Smartphone Motorola Edge 40 5G OctaCore 8GB/256GB 6.55&quot; WiFi BT Negro eclipse" src="https://res.cloudinary.com/djx6viedj/image/upload/t_trimmed_square_2048/xzt8sb6lpdtqm8n906ze7ti65r96?_a=BACCd2Ev" />
              </div>
            </div>
      </div>
      <div data-image-selector-target="prev" class="swiper-button-prev bg-zinc-100 text-gray-900 rounded-r-lg -ml-3 opacity-50 hover:opacity-90"></div>
      <div data-image-selector-target="next" class="swiper-button-next bg-gray-100 text-gray-900 rounded-l-lg -mr-3 opacity-50 hover:opacity-90"></div>
    </div>
  </div>
    <div class="flex flex-wrap w-full justify-center items-base px-6 lg:px-12 mt-4" data-image-selector-target="thumbnails">
        <button
          data-action="image-selector#selectImage"
          data-idx="0"
          class="rounded border bg-white p-2 w-16 h-16 mt-4 mr-4 border-sky-500"
        >
          <img class="object-contain aspect-square" alt="Thumbnail 0 de Smartphone Motorola Edge 40 5G OctaCore 8GB/256GB 6.55&quot; WiFi BT Negro eclipse" src="https://res.cloudinary.com/djx6viedj/image/upload/t_trimmed_square_128/53axo33u12n74t7s5epyvu3ltc0j?_a=BACCd2Ev" />
        </button>
        <button
          data-action="image-selector#selectImage"
          data-idx="1"
          class="rounded border bg-white p-2 w-16 h-16 mt-4 mr-4 "
        >
          <img class="object-contain aspect-square" alt="Thumbnail 1 de Smartphone Motorola Edge 40 5G OctaCore 8GB/256GB 6.55&quot; WiFi BT Negro eclipse" src="https://res.cloudinary.com/djx6viedj/image/upload/t_trimmed_square_128/dvslycayjy94ni45ygzv2g96bxjl?_a=BACCd2Ev" />
        </button>
        <button
          data-action="image-selector#selectImage"
          data-idx="2"
          class="rounded border bg-white p-2 w-16 h-16 mt-4 mr-4 "
        >
          <img class="object-contain aspect-square" alt="Thumbnail 2 de Smartphone Motorola Edge 40 5G OctaCore 8GB/256GB 6.55&quot; WiFi BT Negro eclipse" src="https://res.cloudinary.com/djx6viedj/image/upload/t_trimmed_square_128/l4cmhnbqqbjv8tbfgltrobe2h416?_a=BACCd2Ev" />
        </button>
        <button
          data-action="image-selector#selectImage"
          data-idx="3"
          class="rounded border bg-white p-2 w-16 h-16 mt-4 mr-4 "
        >
          <img class="object-contain aspect-square" alt="Thumbnail 3 de Smartphone Motorola Edge 40 5G OctaCore 8GB/256GB 6.55&quot; WiFi BT Negro eclipse" src="https://res.cloudinary.com/djx6viedj/image/upload/t_trimmed_square_128/u2mihj1itlelyw3i23t3a0lgv7xm?_a=BACCd2Ev" />
        </button>
        <button
          data-action="image-selector#selectImage"
          data-idx="4"
          class="rounded border bg-white p-2 w-16 h-16 mt-4 mr-4 "
        >
          <img class="object-contain aspect-square" alt="Thumbnail 4 de Smartphone Motorola Edge 40 5G OctaCore 8GB/256GB 6.55&quot; WiFi BT Negro eclipse" src="https://res.cloudinary.com/djx6viedj/image/upload/t_trimmed_square_128/xzt8sb6lpdtqm8n906ze7ti65r96?_a=BACCd2Ev" />
        </button>
    </div>
</div>

</template></turbo-stream><turbo-stream action="replace" target="product-form-mobile"><template>
  <div id="product-form-mobile" class="md:hidden"><div class="rounded border bg-white md:sticky flex flex-col py-2 md:py-4 px-4 lg:py-0 lg:px-8 lg:pb-4 lg:pt-4" data-controller="sticky-card">
  <h1 id="name-6039" class="text-xl text-blue-900 font-medium">Smartphone Motorola Edge 40 5G OctaCore 8GB/256GB 6.55&quot; WiFi BT Negro eclipse</h1>
  <div
    class="flex h-10 items-center"
    data-bv-show="rating_summary"
    data-bv-product-id="6039">
  </div>
  <div class="flex flex-wrap items-center text-xs">
    <a id="brand-6039" class="border rounded mr-3 my-1 px-2 py-1 text-zinc-700 hover:text-sky-500" href="/productos/marcas/MOTOROLA">MOTOROLA</a>
    <h2 id="sku-6039" class="border rounded mr-3 my-1 px-2 py-1 text-zinc-600">SKU: PAY40071CL</h2>
    <div
      class="flex justify-start mr-3 my-1"
    >
      <div
        class="items-center text-white text-xs align-text-bottom width-fit flex space-x-1 px-2 py-0 rounded bg-emerald-500"
      >
        <span class="font-bold">Nuevo</span>
        <div class="flex items-center pt-1">
          <div
  data-controller="tippy"
  data-tippy-content-value='
            Producto Nuevo Sellado en Caja
'
  data-tippy-show-on-create-value="false"
  data-tippy-trigger-value="mouseenter focus"
  data-tippy-placement-value="bottom"
>
  <button data-tippy-target="button" aria-label="Button with popup" class="">
                  <p
                data-tippy-target="button"
              >
                <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewbox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true" class="text-white-500 w-4 h-4">
  <path stroke-linecap="round" stroke-linejoin="round" d="M11.25 11.25l.041-.02a.75.75 0 011.063.852l-.708 2.836a.75.75 0 001.063.853l.041-.021M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9-3.75h.008v.008H12V8.25z"></path>
</svg>

              </p>

  </button>
</div>
        </div>
      </div>
    </div>

    <div class="flex justify-start my-1 mr-3">
    </div>
  </div>
  
  <div class="border-t mt-3 pt-4 flex">
    <div class="flex-col">
      <p class="text-lg text-blue-900 font-medium">Precio:</p>
      <p class="text-xs text-gray-400">IVA Incluido</p>
    </div>
    <div class="flex flex-col ml-12">
      <div class="flex flex-wrap items-end">
        <span id="wire-transfer-price-6039" class=" text-2xl text-sky-500">
          $ 999.999.999
        </span>
        <span class="text-gray-400 text-xs ml-2 mb-1">Precio Transferencia</span>
      </div>
        <div class="flex flex-wrap items-end mt-2">
          <span id="webpay-price-6039" class="text-gray-500 text-md">$ 1.024.380.990</span>
          <span class="text-gray-400 text-xs font-light ml-2 mb-0.5">Precio Normal</span>
        </div>
    </div>
  </div>
  <div class="flex flex-row mt-4">
    <span class="text-lg text-blue-900 font-medium">Stock:</span>
    <div class="flex flex-col mx-14 space-y-1 w-full">
      <div class="flex space-x-2 items-center">
        <div class="h-2 w-2 ml-1 flex items-center ">
          <div class="rounded-full bg-red-700 h-2 w-2 animate-pulse"></div>
        </div>
        <p id="stock-6039" class="text-red-700 align-middle">
          Agotado
        </p>
      </div>
      <div class="flex w-full bg-gray-300 rounded-full h-2">
        <div class="rounded-full bg-red-500 h-2" style="width: 3%;">
        </div>
      </div>
    </div>
  </div>

  <div data-controller="number-input">
    <div class="flex flex-row mt-6 items-center">
      <span class="text-lg text-blue-900 font-medium">Cantidad:</span>
      <div class="ml-8 flex flex-row border w-min rounded">
        <button data-number-input-target="decrementButton" data-action="number-input#decrement" class="py-0.5 px-4 text-2xl font-light text-gray-500 cursor-pointer hover:text-black hover:bg-gray-100 duration-200">-</button>
        <input aria-label="Cantidad" data-number-input-target="firstInput" data-action="number-input#change" value="1" type="number" min="1" max="0" class="text-center py-0.5 px-1 text-lg font-light flex w-14 items-center border-x border-y-0 border-gray-200">
        <button data-number-input-target="incrementButton" data-action="number-input#increment" class="py-0.5 px-4 text-2xl font-light text-gray-500 cursor-pointer hover:text-black hover:bg-gray-100 duration-200">+</button>
      </div>
    </div>

    <div class="grid grid-cols-2 space-x-4 mt-6">
      <script>
          function addToCart() {
              window.dataLayer = window.dataLayer || [];
              let quantity = document.querySelector(".hidden #product_quantity").value;
              let item = {"item_id":"PAY40071CL","item_name":"Smartphone Motorola Edge 40 5G OctaCore 8GB/256GB 6.55\" WiFi BT Negro eclipse","affiliation":"tecnomas.cl","index":0,"item_brand":"MOTOROLA","item_category":"Celulares","item_category2":{"id":102,"name":"Telefonía","parent_category_id":null,"created_at":"2023-08-21T12:17:17.231-04:00","updated_at":"2023-08-21T12:17:17.231-04:00","slug":null,"google_category_id":null,"minimum_product_price":"0.0","autogenerate_specs":false,"minimum_product_creation_margin":7,"icon_svg":"\u003csvg class=\"icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"\u003e\n  \u003cpath d=\"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z\"/\u003e\n\u003c/svg\u003e\n"},"item_category3":null,"item_category4":null,"item_category5":null,"price":999999999,"quantity":1};
              item['quantity'] = quantity;
              dataLayer.push({ecommerce: null});
              dataLayer.push({
                  event: "add_to_cart",
                  ecommerce: {
                      currency: "CLP",
                      value: quantity * 999999999,
                      items: [
                          item
                      ]
                  }
              });
          }
      </script>
      <form data-controller="analytics" data-analytics-product-id-value="6039" data-analytics-environment-value="production" data-analytics-product-price-value="999999999" data-action="analytics#addToCart" data-analytics-google-product-value="{&quot;item_id&quot;:&quot;PAY40071CL&quot;,&quot;item_name&quot;:&quot;Smartphone Motorola Edge 40 5G OctaCore 8GB/256GB 6.55\&quot; WiFi BT Negro eclipse&quot;,&quot;affiliation&quot;:&quot;tecnomas.cl&quot;,&quot;index&quot;:0,&quot;item_brand&quot;:&quot;MOTOROLA&quot;,&quot;item_category&quot;:&quot;Celulares&quot;,&quot;item_category2&quot;:{&quot;id&quot;:102,&quot;name&quot;:&quot;Telefonía&quot;,&quot;parent_category_id&quot;:null,&quot;created_at&quot;:&quot;2023-08-21T12:17:17.231-04:00&quot;,&quot;updated_at&quot;:&quot;2023-08-21T12:17:17.231-04:00&quot;,&quot;slug&quot;:null,&quot;google_category_id&quot;:null,&quot;minimum_product_price&quot;:&quot;0.0&quot;,&quot;autogenerate_specs&quot;:false,&quot;minimum_product_creation_margin&quot;:7,&quot;icon_svg&quot;:&quot;\u003csvg class=\&quot;icon\&quot; viewBox=\&quot;0 0 24 24\&quot; fill=\&quot;none\&quot; stroke=\&quot;currentColor\&quot; stroke-width=\&quot;1.5\&quot; stroke-linecap=\&quot;round\&quot; stroke-linejoin=\&quot;round\&quot;\u003e\n  \u003cpath d=\&quot;M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z\&quot;/\u003e\n\u003c/svg\u003e\n&quot;},&quot;item_category3&quot;:null,&quot;item_category4&quot;:null,&quot;item_category5&quot;:null,&quot;price&quot;:999999999,&quot;quantity&quot;:1}" onsubmit="return addToCart();" action="/add-to-cart" accept-charset="UTF-8" method="post"><input type="hidden" name="authenticity_token" value="NSbvOueNyJWdATThtY0mF69grndzBWlM8PYPJ5HBv_CHCxPZEhWY8M9GoOyO_oLzlkCBOUnrKGnfpv3lTaNpYg" autocomplete="off" />
        <input value="6039" autocomplete="off" type="hidden" name="product[id]" id="product_id" />
        <input value="1" data-number-input-target="hiddenFieldOne" data-analytics-target="cartQuantity" autocomplete="off" type="hidden" name="product[quantity]" id="product_quantity" />
          <div
  data-controller="tippy"
  data-tippy-content-value='
            <p>No Disponible</p>
'
  data-tippy-show-on-create-value="false"
  data-tippy-trigger-value="mouseenter focus"
  data-tippy-placement-value="bottom"
>
  <button data-tippy-target="button" aria-label="Button with popup" class="w-full">
                  <input type="submit" name="commit" value="Agregar al carro" disabled="disabled" class="flex flex-row items-center justify-center rounded bg-neutral-400 text-white w-full py-3" data-disable-with="Agregar al carro" />

  </button>
</div>
</form>
      <form action="/iniciar-compra-rapida" accept-charset="UTF-8" method="post"><input type="hidden" name="authenticity_token" value="soENOBEqbC0GGYSBnT-qYqVSuyi0VM9ymPkvxMrf_zHXuyvwQhFw6l3CeF7KBST5CF6_5WHuueouZckq9DlnIQ" autocomplete="off" />
        <input value="6039" autocomplete="off" type="hidden" name="product[id]" id="product_id" />
        <input value="1" data-number-input-target="hiddenFieldTwo" autocomplete="off" type="hidden" name="product[quantity]" id="product_quantity" />
          <div
  data-controller="tippy"
  data-tippy-content-value='
            <p>No Disponible</p>
'
  data-tippy-show-on-create-value="false"
  data-tippy-trigger-value="mouseenter focus"
  data-tippy-placement-value="bottom"
>
  <button data-tippy-target="button" aria-label="Button with popup" class="w-full">
                  <input type="submit" name="commit" value="Comprar ahora" disabled="disabled" class="flex flex-row items-center justify-center rounded bg-neutral-400 text-white w-full py-3" data-disable-with="Comprar ahora" />

  </button>
</div>
</form>    </div>

    <div class="flex justify-center mt-3">
      <form class="inline" action="/cotizacion/express" accept-charset="UTF-8" method="post"><input type="hidden" name="authenticity_token" value="Ii-yCXc8kJ2Dd0oCI8Yxz-ZShEniHlTi3BtSFlCAIo_XUKl1WbKAwL73A8vHZLzg7VMzvBSXFpUSQkZ4blDqHg" autocomplete="off" />
        <input value="6039" autocomplete="off" type="hidden" name="product_id" id="product_id" />
        <input value="1" data-number-input-target="hiddenFieldThree" autocomplete="off" type="hidden" name="quantity" id="quantity" />
        <button name="button" type="submit" class="text-blue-600 hover:text-blue-800 text-sm font-medium flex items-center justify-center cursor-pointer">
          <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" fill="currentColor" aria-hidden="true" class="w-4 h-4 mr-1.5">
  <path fill-rule="evenodd" d="M5.625 1.5c-1.036 0-1.875.84-1.875 1.875v17.25c0 1.035.84 1.875 1.875 1.875h12.75c1.035 0 1.875-.84 1.875-1.875V12.75A3.75 3.75 0 0016.5 9h-1.875a1.875 1.875 0 01-1.875-1.875V5.25A3.75 3.75 0 009 1.5H5.625zM7.5 15a.75.75 0 01.75-.75h7.5a.75.75 0 010 1.5h-7.5A.75.75 0 017.5 15zm.75 2.25a.75.75 0 000 1.5H12a.75.75 0 000-1.5H8.25z" clip-rule="evenodd"></path>
  <path d="M12.971 1.816A5.23 5.23 0 0114.25 5.25v1.875c0 .207.168.375.375.375H16.5a5.23 5.23 0 013.434 1.279 9.768 9.768 0 00-6.963-6.963z"></path>
</svg>

          Cotización express
</button></form>    </div>
  </div>
</div></div>
</template></turbo-stream><turbo-stream action="replace" target="product-form-desktop"><template>
  <div id="product-form-desktop" class="w-full hidden md:flex md:flex-col"><div class="rounded border bg-white md:sticky flex flex-col py-2 md:py-4 px-4 lg:py-0 lg:px-8 lg:pb-4 lg:pt-4" data-controller="sticky-card">
  <h1 id="name-6039" class="text-xl text-blue-900 font-medium">Smartphone Motorola Edge 40 5G OctaCore 8GB/256GB 6.55&quot; WiFi BT Negro eclipse</h1>
  <div
    class="flex h-10 items-center"
    data-bv-show="rating_summary"
    data-bv-product-id="6039">
  </div>
  <div class="flex flex-wrap items-center text-xs">
    <a id="brand-6039" class="border rounded mr-3 my-1 px-2 py-1 text-zinc-700 hover:text-sky-500" href="/productos/marcas/MOTOROLA">MOTOROLA</a>
    <h2 id="sku-6039" class="border rounded mr-3 my-1 px-2 py-1 text-zinc-600">SKU: PAY40071CL</h2>
    <div
      class="flex justify-start mr-3 my-1"
    >
      <div
        class="items-center text-white text-xs align-text-bottom width-fit flex space-x-1 px-2 py-0 rounded bg-emerald-500"
      >
        <span class="font-bold">Nuevo</span>
        <div class="flex items-center pt-1">
          <div
  data-controller="tippy"
  data-tippy-content-value='
            Producto Nuevo Sellado en Caja
'
  data-tippy-show-on-create-value="false"
  data-tippy-trigger-value="mouseenter focus"
  data-tippy-placement-value="bottom"
>
  <button data-tippy-target="button" aria-label="Button with popup" class="">
                  <p
                data-tippy-target="button"
              >
                <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewbox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true" class="text-white-500 w-4 h-4">
  <path stroke-linecap="round" stroke-linejoin="round" d="M11.25 11.25l.041-.02a.75.75 0 011.063.852l-.708 2.836a.75.75 0 001.063.853l.041-.021M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9-3.75h.008v.008H12V8.25z"></path>
</svg>

              </p>

  </button>
</div>
        </div>
      </div>
    </div>

    <div class="flex justify-start my-1 mr-3">
    </div>
  </div>
  
  <div class="border-t mt-3 pt-4 flex">
    <div class="flex-col">
      <p class="text-lg text-blue-900 font-medium">Precio:</p>
      <p class="text-xs text-gray-400">IVA Incluido</p>
    </div>
    <div class="flex flex-col ml-12">
      <div class="flex flex-wrap items-end">
        <span id="wire-transfer-price-6039" class=" text-2xl text-sky-500">
          $ 999.999.999
        </span>
        <span class="text-gray-400 text-xs ml-2 mb-1">Precio Transferencia</span>
      </div>
        <div class="flex flex-wrap items-end mt-2">
          <span id="webpay-price-6039" class="text-gray-500 text-md">$ 1.024.380.990</span>
          <span class="text-gray-400 text-xs font-light ml-2 mb-0.5">Precio Normal</span>
        </div>
    </div>
  </div>
  <div class="flex flex-row mt-4">
    <span class="text-lg text-blue-900 font-medium">Stock:</span>
    <div class="flex flex-col mx-14 space-y-1 w-full">
      <div class="flex space-x-2 items-center">
        <div class="h-2 w-2 ml-1 flex items-center ">
          <div class="rounded-full bg-red-700 h-2 w-2 animate-pulse"></div>
        </div>
        <p id="stock-6039" class="text-red-700 align-middle">
          Agotado
        </p>
      </div>
      <div class="flex w-full bg-gray-300 rounded-full h-2">
        <div class="rounded-full bg-red-500 h-2" style="width: 3%;">
        </div>
      </div>
    </div>
  </div>

  <div data-controller="number-input">
    <div class="flex flex-row mt-6 items-center">
      <span class="text-lg text-blue-900 font-medium">Cantidad:</span>
      <div class="ml-8 flex flex-row border w-min rounded">
        <button data-number-input-target="decrementButton" data-action="number-input#decrement" class="py-0.5 px-4 text-2xl font-light text-gray-500 cursor-pointer hover:text-black hover:bg-gray-100 duration-200">-</button>
        <input aria-label="Cantidad" data-number-input-target="firstInput" data-action="number-input#change" value="1" type="number" min="1" max="0" class="text-center py-0.5 px-1 text-lg font-light flex w-14 items-center border-x border-y-0 border-gray-200">
        <button data-number-input-target="incrementButton" data-action="number-input#increment" class="py-0.5 px-4 text-2xl font-light text-gray-500 cursor-pointer hover:text-black hover:bg-gray-100 duration-200">+</button>
      </div>
    </div>

    <div class="grid grid-cols-2 space-x-4 mt-6">
      <script>
          function addToCart() {
              window.dataLayer = window.dataLayer || [];
              let quantity = document.querySelector(".hidden #product_quantity").value;
              let item = {"item_id":"PAY40071CL","item_name":"Smartphone Motorola Edge 40 5G OctaCore 8GB/256GB 6.55\" WiFi BT Negro eclipse","affiliation":"tecnomas.cl","index":0,"item_brand":"MOTOROLA","item_category":"Celulares","item_category2":{"id":102,"name":"Telefonía","parent_category_id":null,"created_at":"2023-08-21T12:17:17.231-04:00","updated_at":"2023-08-21T12:17:17.231-04:00","slug":null,"google_category_id":null,"minimum_product_price":"0.0","autogenerate_specs":false,"minimum_product_creation_margin":7,"icon_svg":"\u003csvg class=\"icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"\u003e\n  \u003cpath d=\"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z\"/\u003e\n\u003c/svg\u003e\n"},"item_category3":null,"item_category4":null,"item_category5":null,"price":999999999,"quantity":1};
              item['quantity'] = quantity;
              dataLayer.push({ecommerce: null});
              dataLayer.push({
                  event: "add_to_cart",
                  ecommerce: {
                      currency: "CLP",
                      value: quantity * 999999999,
                      items: [
                          item
                      ]
                  }
              });
          }
      </script>
      <form data-controller="analytics" data-analytics-product-id-value="6039" data-analytics-environment-value="production" data-analytics-product-price-value="999999999" data-action="analytics#addToCart" data-analytics-google-product-value="{&quot;item_id&quot;:&quot;PAY40071CL&quot;,&quot;item_name&quot;:&quot;Smartphone Motorola Edge 40 5G OctaCore 8GB/256GB 6.55\&quot; WiFi BT Negro eclipse&quot;,&quot;affiliation&quot;:&quot;tecnomas.cl&quot;,&quot;index&quot;:0,&quot;item_brand&quot;:&quot;MOTOROLA&quot;,&quot;item_category&quot;:&quot;Celulares&quot;,&quot;item_category2&quot;:{&quot;id&quot;:102,&quot;name&quot;:&quot;Telefonía&quot;,&quot;parent_category_id&quot;:null,&quot;created_at&quot;:&quot;2023-08-21T12:17:17.231-04:00&quot;,&quot;updated_at&quot;:&quot;2023-08-21T12:17:17.231-04:00&quot;,&quot;slug&quot;:null,&quot;google_category_id&quot;:null,&quot;minimum_product_price&quot;:&quot;0.0&quot;,&quot;autogenerate_specs&quot;:false,&quot;minimum_product_creation_margin&quot;:7,&quot;icon_svg&quot;:&quot;\u003csvg class=\&quot;icon\&quot; viewBox=\&quot;0 0 24 24\&quot; fill=\&quot;none\&quot; stroke=\&quot;currentColor\&quot; stroke-width=\&quot;1.5\&quot; stroke-linecap=\&quot;round\&quot; stroke-linejoin=\&quot;round\&quot;\u003e\n  \u003cpath d=\&quot;M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z\&quot;/\u003e\n\u003c/svg\u003e\n&quot;},&quot;item_category3&quot;:null,&quot;item_category4&quot;:null,&quot;item_category5&quot;:null,&quot;price&quot;:999999999,&quot;quantity&quot;:1}" onsubmit="return addToCart();" action="/add-to-cart" accept-charset="UTF-8" method="post"><input type="hidden" name="authenticity_token" value="NSbvOueNyJWdATThtY0mF69grndzBWlM8PYPJ5HBv_CHCxPZEhWY8M9GoOyO_oLzlkCBOUnrKGnfpv3lTaNpYg" autocomplete="off" />
        <input value="6039" autocomplete="off" type="hidden" name="product[id]" id="product_id" />
        <input value="1" data-number-input-target="hiddenFieldOne" data-analytics-target="cartQuantity" autocomplete="off" type="hidden" name="product[quantity]" id="product_quantity" />
          <div
  data-controller="tippy"
  data-tippy-content-value='
            <p>No Disponible</p>
'
  data-tippy-show-on-create-value="false"
  data-tippy-trigger-value="mouseenter focus"
  data-tippy-placement-value="bottom"
>
  <button data-tippy-target="button" aria-label="Button with popup" class="w-full">
                  <input type="submit" name="commit" value="Agregar al carro" disabled="disabled" class="flex flex-row items-center justify-center rounded bg-neutral-400 text-white w-full py-3" data-disable-with="Agregar al carro" />

  </button>
</div>
</form>
      <form action="/iniciar-compra-rapida" accept-charset="UTF-8" method="post"><input type="hidden" name="authenticity_token" value="soENOBEqbC0GGYSBnT-qYqVSuyi0VM9ymPkvxMrf_zHXuyvwQhFw6l3CeF7KBST5CF6_5WHuueouZckq9DlnIQ" autocomplete="off" />
        <input value="6039" autocomplete="off" type="hidden" name="product[id]" id="product_id" />
        <input value="1" data-number-input-target="hiddenFieldTwo" autocomplete="off" type="hidden" name="product[quantity]" id="product_quantity" />
          <div
  data-controller="tippy"
  data-tippy-content-value='
            <p>No Disponible</p>
'
  data-tippy-show-on-create-value="false"
  data-tippy-trigger-value="mouseenter focus"
  data-tippy-placement-value="bottom"
>
  <button data-tippy-target="button" aria-label="Button with popup" class="w-full">
                  <input type="submit" name="commit" value="Comprar ahora" disabled="disabled" class="flex flex-row items-center justify-center rounded bg-neutral-400 text-white w-full py-3" data-disable-with="Comprar ahora" />

  </button>
</div>
</form>    </div>

    <div class="flex justify-center mt-3">
      <form class="inline" action="/cotizacion/express" accept-charset="UTF-8" method="post"><input type="hidden" name="authenticity_token" value="Ii-yCXc8kJ2Dd0oCI8Yxz-ZShEniHlTi3BtSFlCAIo_XUKl1WbKAwL73A8vHZLzg7VMzvBSXFpUSQkZ4blDqHg" autocomplete="off" />
        <input value="6039" autocomplete="off" type="hidden" name="product_id" id="product_id" />
        <input value="1" data-number-input-target="hiddenFieldThree" autocomplete="off" type="hidden" name="quantity" id="quantity" />
        <button name="button" type="submit" class="text-blue-600 hover:text-blue-800 text-sm font-medium flex items-center justify-center cursor-pointer">
          <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" fill="currentColor" aria-hidden="true" class="w-4 h-4 mr-1.5">
  <path fill-rule="evenodd" d="M5.625 1.5c-1.036 0-1.875.84-1.875 1.875v17.25c0 1.035.84 1.875 1.875 1.875h12.75c1.035 0 1.875-.84 1.875-1.875V12.75A3.75 3.75 0 0016.5 9h-1.875a1.875 1.875 0 01-1.875-1.875V5.25A3.75 3.75 0 009 1.5H5.625zM7.5 15a.75.75 0 01.75-.75h7.5a.75.75 0 010 1.5h-7.5A.75.75 0 017.5 15zm.75 2.25a.75.75 0 000 1.5H12a.75.75 0 000-1.5H8.25z" clip-rule="evenodd"></path>
  <path d="M12.971 1.816A5.23 5.23 0 0114.25 5.25v1.875c0 .207.168.375.375.375H16.5a5.23 5.23 0 013.434 1.279 9.768 9.768 0 00-6.963-6.963z"></path>
</svg>

          Cotización express
</button></form>    </div>
  </div>
</div></div>
</template></turbo-stream><turbo-stream action="replace" target="product-specs"><template>
  <div id="product-specs">
</div>

</template></turbo-stream><turbo-stream action="replace" target="product-description"><template>
  <div id="product-description" class="rounded border bg-white px-6 md:px-12 py-3 md:py-4 lg:py-8">
  <p class="text-blue-900 text-2xl mb-4 font-medium">Descripción</p>
  <div class="trix-content">
  El Motorola Edge 40 es un smartphone de alta gama que ofrece un rendimiento excepcional y una experiencia visual impresionante. Con una pantalla P-OLED de 6.55 pulgadas y una resolución de 2400 x 1080 píxeles, disfrutarás de colores vibrantes y detalles nítidos. Además, cuenta con una alta velocidad de actualización de 144 Hz para una experiencia de visualización suave y fluida.<br><br>Equipado con un potente procesador MediaTek Dimensity 8020 y 8 GB de RAM, el Motorola Edge 40 garantiza un rendimiento rápido y eficiente en todas tus tareas diarias, desde la multitarea hasta los juegos intensivos. Con 256 GB de almacenamiento interno, tendrás espacio más que suficiente para tus aplicaciones, fotos y videos.<br><br>En cuanto a la fotografía, el Motorola Edge 40 cuenta con un sistema de cámara triple en la parte trasera, con una cámara principal de 50 MP, una cámara secundaria de 13 MP y una cámara frontal de 32 MP para selfies de alta calidad. Además, ofrece funciones avanzadas como modo nocturno, estabilización de imagen y grabación de video en 4K.<br><br>Este smartphone es compatible con redes 5G para una conectividad ultrarrápida, así como con WiFi 6 y Bluetooth 5.2. También cuenta con características premium como carga rápida, carga inalámbrica, lector de huellas digitales y reconocimiento facial para una mayor comodidad y seguridad.<br><br>Con un diseño elegante en color Negro Eclipse y una construcción resistente con certificación IP68, el Motorola Edge 40 combina estilo y durabilidad. Además, incluye funciones adicionales como altavoces estéreo, tecnología Dolby Atmos y Google Assistant para una experiencia completa.<br><br>En resumen, el Motorola Edge 40 es un smartphone potente y versátil que ofrece un rendimiento excepcional, una calidad de cámara impresionante y una conectividad avanzada, todo en un diseño elegante y resistente. ¡Hazte con el tuyo y lleva tu experiencia móvil al siguiente nivel!<br><br><b>Características:</b><br><br><b>- Diagonal de pantalla:</b>  16,6 cm (6.55")<br><b>- Forma de la pantalla:</b>  Plano<br><b>- Tipo de pantalla:</b>  P-OLED<br><b>- Resolución de pantalla:</b>  2400 x 1080 Pixeles<br><b>- Relación de aspecto nativa:</b>  209<br><b>- Máxima velocidad de actualización:</b>  144 Hz<br><b>- Brillo de pantalla:</b>  1200 cd / m²<br><b>- Alto rango dinámico (HDR) soportado:</b>  Sí<br><b>- Tecnología de alto rango dinámico (HDR):</b>  High Dynamic Range 10+ (HDR10 Plus)<br><b>- Tipo de pantalla táctil:</b>  Resistiva<br><b>- Densidad del pixel:</b>  402 ppi<br><b>:</b> <br><b>- Familia de procesador:</b>  MediaTek Dimensity<br><b>- Modelo del procesador:</b>  8020<br><b>:</b> <br><b>- Capacidad de RAM:</b>  8 GB<br><b>- Tipo de RAM:</b>  LPDDR4X<br><b>- Capacidad de almacenamiento interno:</b>  256 GB<br><b>- Tarjetas de memoria compatibles:</b>  No compatible<br><b>:</b> <br><b>- Tamaño del sensor de la cámara trasera:</b>  1/1.5"<br><b>- Resolución de la cámara trasera (numérica):</b>  50 MP<br><b>- Resolución de la segunda cámara trasera (numérica):</b>  13 MP<br><b>- Número de apertura de la cámara trasera:</b>  1,4<br><b>- Número de apertura de la segunda cámara trasera:</b>  2,2<br><b>- Tamaño de los píxeles de la cámara trasera:</b>  1 µm<br><b>- Tamaño de los píxeles de la segunda cámara trasera:</b>  1,12 µm<br><b>- Ángulo del campo de visión (FOV) de la segunda cámara trasera:</b>  20°<br><b>- Tipo de cámara frontal:</b>  Cámara única<br><b>- Resolución de la cámara frontal (numérica):</b>  32 MP<br><b>- Número de apertura de la cámara frontal:</b>  2,4<br><b>- Tamaño de los píxeles de la cámara frontal:</b>  0,7 µm<br><b>- Cámara con flash trasero:</b>  Sí<br><b>- Velocidad máxima de cuadro:</b>  240 fps<br><b>- Resolución en velocidad de captura:</b>  1920x1080@30fps, 3840x2160@30fps<br><b>- Modos de grabación de vídeo:</b>  1080p, 2160p<br><b>- Tipo de cámara trasera:</b>  Cámara doble<br><b>- Foco automático:</b>  Sí<br><b>- Modo de alto rango dinámico (HDR) de la cámara:</b>  Sí<br><b>- Modo de lapso de tiempo:</b>  Sí<br><b>- Estabilizador de vídeo:</b>  Sí<br><b>- Estabilizador de imagen:</b>  Sí<br><b>- Tipo de estabilizador de imagen:</b>  Optical Image Stabilization (OIS)<br><b>- Modo nocturno:</b>  Sí<br><b>- Detector de sonrisa:</b>  Sí<br><b>- Panorámica:</b>  Sí<br><b>- Modo retrato:</b>  Sí<br><b>- Fotografía macro:</b>  Sí<br><b>:</b> <br><b>- Capacidad de la tarjeta SIM:</b>  Dual SIM<br><b>- Generación de redes móviles:</b>  5G<br><b>- Tipo de tarjeta SIM:</b>  NanoSIM + eSIM<br><b>- Wifi:</b>  Sí<br><b>- Wifi estándares:</b>  802.11a, 802.11b, 802.11g, Wi-Fi 4 (802.11n), Wi-Fi 5 (802.11ac), Wi-Fi 6 (802.11ax)<br><b>- Bluetooth:</b>  Sí<br><b>- Versión de Bluetooth:</b>  5.2<br><b>- Comunicación de Campo Cercano (NFC):</b>  Sí<br><b>:</b> <br><b>- Puerto USB:</b>  Sí<br><b>- Tipo de conector USB:</b>  USB Type-C<br><b>- Conectividad auriculares:</b>  USB Type-C<br><b>:</b> <br><b>- Servicio de mensajes de texto cortos (SMS):</b>  Sí<br><b>- Sistema de mensajería multimedia (MMS):</b>  Sí<br><b>- Correo electrónico:</b>  Sí<br><b>:</b> <br><b>- Factor de forma:</b>  Barra<br><b>- Color del producto:</b>  Negro<br><b>- Nombre del color:</b>  Eclipse Black<br><b>- Código de protección internacional (IP):</b>  IP68<br><b>- Material de la carcasa:</b>  Aluminio<br><b>:</b> <br><b>- Video llamada:</b>  Sí<br><b>- Carga rápida:</b>  Sí<br><b>- Cargador inalámbrico:</b>  Sí<br><b>- Carga inalámbrica inversa:</b>  Sí<br><b>- Tecnología de carga rápida:</b>  TurboPower<br><b>- Lector de huella digital:</b>  Sí<br><b>- Reconocimiento de rostro:</b>  Sí<br><b>:</b> <br><b>- GPS (satélite):</b>  Sí<br><b>- GLONASS:</b>  Sí<br><b>- Galileo:</b>  Sí<br><b>- Localización de posición:</b>  Sí<br><b>:</b> <br><b>- Parlantes:</b>  Estéreo<br><b>- Sistema de audio:</b>  Dolby Atmos<br><b>:</b> <br><b>- Plataforma:</b>  Android<br><b>- Sistema operativo instalado:</b>  Android 13<br><b>- Plataforma de distribución de aplicaciones:</b>  Google Play<br><b>- Asistente virtual:</b>  Google Assistant<br><b>:</b> <br><b>- Capacidad de batería:</b>  4400 mAh<br><b>:</b> <br><b>- Sensor de proximidad:</b>  Sí<br><b>- Acelerómetro:</b>  Sí<br><b>- Sensor de luz ambiental:</b>  Sí<br><b>- Giróscopo:</b>  Sí<br><b>- Sensor magnético:</b>  Sí<br><b>:</b> <br><b>- Ancho:</b>  72 mm<br><b>- Profundidad:</b>  7,58 mm<br><b>- Altura:</b>  158,4 mm<br><b>- Peso:</b>  171 g<br><b>:</b> <br><b>- Adaptador AC incluido:</b>  Sí<br><b>- Guía de inicio rápido:</b>  Sí<br><b>- Cables incluidos:</b>  USB Type-C to USB Type-C<br><b>- Instrumento para extraer tarjeta SIM:</b>  Sí<br><b>- Funda protectora:</b>  Sí<br><b>- Potencia de adaptador AC:</b>  68 W
</div>

</div>

</template></turbo-stream><turbo-stream action="replace" target="product-structured-data"><template>
  <div id="product-structured-data">
    <script>
      window.dataLayer = window.dataLayer || [];
      window.dataLayer.push({ecommerce: null});
      window.dataLayer.push({
        event: "view_item",
        ecommerce: {
          currency: "CLP",
          value: 999999999,
          items: [{"item_id":"PAY40071CL","item_name":"Smartphone Motorola Edge 40 5G OctaCore 8GB/256GB 6.55\" WiFi BT Negro eclipse","affiliation":"tecnomas.cl","index":0,"item_brand":"MOTOROLA","item_category":"Celulares","item_category2":{"id":102,"name":"Telefonía","parent_category_id":null,"created_at":"2023-08-21T12:17:17.231-04:00","updated_at":"2023-08-21T12:17:17.231-04:00","slug":null,"google_category_id":null,"minimum_product_price":"0.0","autogenerate_specs":false,"minimum_product_creation_margin":7,"icon_svg":"\u003csvg class=\"icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"\u003e\n  \u003cpath d=\"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z\"/\u003e\n\u003c/svg\u003e\n"},"item_category3":null,"item_category4":null,"item_category5":null,"price":999999999,"quantity":1}]
        }
      });
      history.replaceState(history.state, "", "/producto/motorola-edge-40-smartphone-android-black");
      document.title = "[PAY40071CL] Smartphone Motorola Edge 40 5G OctaCore 8GB/256GB 6.55\&quot; WiFi BT Negro eclipse | Tecnomas.cl";
    </script>
  </div>
</template></turbo-stream>