<turbo-stream action="replace" target="menu-items"><template><div id="items" class="col-span-10 lg:col-span-11 h-[calc(85vh-120px)] overflow-y-scroll md:mt-6 md:pl-0 md:pr-0 pb-20 pl-1 pr-2  scrollbar-hide" style="scrollbar-width: none; -ms-overflow-style: none;">
  <!-- Menu grid -->
  <div id="menu-items">
      <!-- Mobile: alternating image via card_index; md+: image left, content right -->
      <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-2 pt-3 pb-16">
          



<div id="menu_item_23" class="item relative z-0 my-[0.1rem]">

    <div
      class="absolute top-1/2 -translate-y-1/2
             h-[153px] w-[153px]
             overflow-hidden rounded-full
             left-0"
    >
        <img width="320" height="320" alt="Mirako Special Brownie – Menu item at Mirako Pizzerria" class="object-contain w-full h-full pointer-events-none select-none" loading="lazy" decoding="async" src="https://mirakopizzerria.in/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBdm9EIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--6f80de37d9fdf9e1cab0f478602ee130aca92bcf/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDRG9MWm05eWJXRjBPZ2h3Ym1jNkZISmxjMmw2WlY5MGIxOXNhVzFwZEZzSGFRSkFBV2tDUUFFNkNuTmhkbVZ5ZXdjNkRIRjFZV3hwZEhscFh6b0tjM1J5YVhCVSIsImV4cCI6bnVsbCwicHVyIjoidmFyaWF0aW9uIn19--bad20ff57718462029c527860c44184f139fc394/brownie.png" />
    </div>

    <div
      class="rounded-[12px] border-[0.3px] border-[#C2C2C2] bg-white
             min-h-[148px] 
             flex flex-col justify-center
             ml-[78px] sm:ml-[72px] py-3 pr-4 pl-[90px]"
    >
        <!-- Veg / Non-Veg + Favorite -->
  <div class="flex justify-between items-start gap-2">
    <div class="flex items-center shrink-0">
      <img width="15" height="15" loading="lazy" decoding="async" alt="Veg" class="h-[14.855691909790039px] w-[14.855691909790039px]" src="/assets/veg-fa542c48f111d8c5d6804827ec08358dd08779f2ad2d1568e3c9287551eba90f.svg" />
    </div>

    <div id="favorite-icon-23" class="shrink-0">
      
<form data-turbo-stream="true" action="/favorites" accept-charset="UTF-8" method="post"><input type="hidden" name="authenticity_token" value="6yQN_Og7LdsqGu922knuB-pncyru3zNXbEQOrIviJyI0S6d3ZLDIhnwnJc8846enHPdaM5VR_mFQMk7vRLY-xQ" autocomplete="off" />
  <input type="hidden" name="item_id" value="23">
  <input type="hidden" name="profile_page" value="false">

  <!-- No id on the button to avoid duplicate IDs; wrapper div holds the DOM id -->
  <button type="submit">
      <img width="16" height="14" loading="lazy" decoding="async" alt="Add to favorites" class="w-[16px] h-[14px] text-red-600 fill-none stroke-red-600 hover:fill-red-600 hover:cursor-pointer transition" src="/assets/heart-outline-8353acde10c5ff0e6d4938d5eced7c38ebd69e038b2374f788a6409e3b491736.svg" />
  </button>
</form>
    </div>
  </div>



  <div x-data="{ itemId: 23 }" class="flex flex-col flex-1 min-h-0">
    <h2 class="text-[12px] font-poppins text-[#1B0101] font-medium leading-tight line-clamp-2 pr-1">
      Mirako Special Brownie
    </h2>

    <div class="flex justify-between items-center gap-2 mt-1 mb-2">
      <h3 class="text-[14px] sm:text-[15px] font-bold font-ruddy text-[#1B0101] shrink-0">
        ₹95
      </h3>

      <button type="button"
              class="text-[6.9px]  text-[#1B0101] font-medium bg-[#EEEEEEEE] rounded-[4px] px-[8px] py-[4px] flex items-center font-poppins gap-2 shrink-0 max-w-[55%]"
              @click="$store.menuModals.openId = itemId">
        <span class="truncate">Regular</span>
        <img src="/assets/size-down-arrow-15051a3cd11684eb251412fa4d4c496895105faec668b851ff8df9db930e90e0.svg" width="5" height="2" loading="lazy" decoding="async" alt="" class="h-[3px] w-[6px] shrink-0" />
      </button>
    </div>

    <div
      id="cart_controls_23"
      class="mt-auto w-full flex justify-end"
    >
        <form data-turbo-stream="true" action="/menu/add_to_cart" accept-charset="UTF-8" method="post"><input type="hidden" name="authenticity_token" value="HdKhr5rAUm0HWnF_sthnNqYYPlSt4lsCLl2EwgYFbxTRDQ1bt_11sXF-VzyQb5OLChDeLZtCU3tUQM9PUxUDGw" autocomplete="off" />
    <input type="hidden" name="item_id" value="23">
    <input type="hidden" name="size_id" value="2">
    <button type="submit"
            class="w-[113px] p-[7px] bg-[#03773C] font-medium text-white font-poppins text-[12px] rounded-full hover:opacity-90 transition">
      Add
    </button>
</form>
    </div>

    
<template x-teleport="body">
  <div id="item-modal-23"
      x-cloak
      x-show="$store.menuModals.openId === 23"
      x-transition
      @click.self="$store.menuModals.openId = null"
      @keydown.escape.window="$store.menuModals.openId = null"
      class="fixed inset-0 z-[1200] bg-black/70 flex flex-col items-center justify-center px-4 py-8">


    <div class="w-[300px] md:w-[370px] lg:w-[250px] overflow-hidden bg-white"
         style="border-radius: 183px 183px 30px 30px;">

      <div class=" flex items-center justify-center">
          <div class="h-[270px] w-[270px] md:h-[336.8325508762158px] md:w-[336.8325508762158px]  lg:h-[220px] lg:w-[220px] mt-4 rounded-full overflow-hidden">
            <img x-data="{ srcLoaded: false }"
                 x-effect="if ($store.menuModals.openId === 23 && !srcLoaded) {
                              $el.src = '/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBdm9EIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--6f80de37d9fdf9e1cab0f478602ee130aca92bcf/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDRG9MWm05eWJXRjBPZ2h3Ym1jNkVuSmxjMmw2WlY5MGIxOW1hWFJiQjJrQ0lBTnBBcEFCT2dwellYWmxjbnNIT2d4eGRXRnNhWFI1YVY4NkNuTjBjbWx3VkE9PSIsImV4cCI6bnVsbCwicHVyIjoidmFyaWF0aW9uIn19--7e7e7a68553512cb9851d5df0093068b97e9be96/brownie.png';
                              srcLoaded = true;
                            }"
                 width="800"
                 height="400"
                 alt="Mirako Special Brownie – Menu item at Mirako Pizzerria"
                 class="pointer-events-none select-none h-full w-full object-contain"
                 loading="lazy"
                 decoding="async" />
          </div>
      </div>

      <div class=" px-5 md:px-[34px] lg:px-[20px] pb-5 md:pb-6 pt-0 md:pt-4 lg:pt-0">

        <!-- Veg / Non-Veg + Favorite -->
        <div class="flex justify-between items-center mb-2">
          <div class="flex items-center">
            <img width="25" height="25" loading="lazy" decoding="async" alt="Veg" class="h-[20px] w-[20px] lg:h-[15px] lg:w-[15px]" src="/assets/veg-fa542c48f111d8c5d6804827ec08358dd08779f2ad2d1568e3c9287551eba90f.svg" />
          </div>

          <div id="favorite-icon-modal_23">
            
<form data-turbo-stream="true" action="/favorites" accept-charset="UTF-8" method="post"><input type="hidden" name="authenticity_token" value="V0slYmAHtkYXtncgE6Cs_T69oKX5-Gpe6UYY1k8hXwGIJI_p7IxTG0GLvZn1CuVdyC2JvIJ2p2jVMFiVgHVG5g" autocomplete="off" />
  <input type="hidden" name="item_id" value="23">
  <input type="hidden" name="profile_page" value="false">

  <!-- No id on the button to avoid duplicate IDs; wrapper div holds the DOM id -->
  <button type="submit">
      <img width="25" height="25" loading="lazy" decoding="async" alt="Add to favorites" class="h-[20px] w-[20px] lg:h-[15px] lg:w-[15px] text-red-600 fill-none stroke-red-600 hover:fill-red-600 hover:cursor-pointer transition" src="/assets/heart-outline-8353acde10c5ff0e6d4938d5eced7c38ebd69e038b2374f788a6409e3b491736.svg" />
  </button>
</form>
          </div>
        </div>

        <!-- Title & Description -->
        <div class="mt-0 md:mt-2">
          <h2 class="font-poppins text-[18px] md:text-[20px] lg:text-[15px] font-semibold text-[#1b0101]">
            Mirako Special Brownie
          </h2>
          <p class="text-[12px] md:text-[14px] lg:text-[10px] font-poppins font-normal text-[#1B0101] mt-0 md:mt-1 leading-none md:leading-[1.25] lg:leading-none">
             Our very own signature recipe with high
quality butter and premium chocolates,
 Mirako Special Brownie promises a luxurious
 and unforgettable dessert experience
          </p>
        </div>

        <!-- Sizes -->
        <div class="mt-0 md:mt-2 lg:mt-0">

            <div class="flex items-center justify-between py-2 md:py-3 lg:py-1.5 ">
              <div>
                <p class="text-[12px] md:text-[14px] lg:text-[10px] text-[#1b0101]">
                  <span class="font-poppins font-semibold">Regular</span>
                  <span class="font-ruddy font-bold"> — ₹95.0</span>
                </p>
              </div>

              <div>
                  <form data-turbo-stream="true" action="/menu/add_to_cart" accept-charset="UTF-8" method="post"><input type="hidden" name="authenticity_token" value="fz73cHekVaOekaDM-yxMjSFXamKgZBE8AiTxbwYLR1Cz4VuEWplyf-i1ho_Zm7gwjV-KG5bEGUV4ObriUxsrXw" autocomplete="off" />
                    <input type="hidden" name="item_id" value="23">
                    <input type="hidden" name="size_id" value="2">
                    <button type="submit"
                            class="text-white font-poppins font-medium text-[10px] md:text-[12px] lg:text-[10px] w-[100px] md:w-[124px] lg:w-[100px] p-[8px] md:p-[10px] lg:p-[8px] rounded-full bg-[#03773C] hover:opacity-90 transition">
                      Add
                    </button>
</form>              </div>
            </div>
        </div>

      </div>
    </div>

    <button type="button"
            @click="$store.menuModals.openId = null"
            class="mt-5 inline-flex h-[34px] w-[34px] lg:h-[25px] lg:w-[25px] items-center justify-center rounded-full bg-[#DC0000] text-white text-[24px] lg:text-[15px] leading-none">
      ×
    </button>
  </div>
</template>
  </div>

    </div>
</div>

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