<turbo-stream action="replace" target="product-detail-modal-content"><template>
<div id="product-detail-modal-content" class="tailwind-only fixed inset-0 z-50 flex items-center justify-center">
  <div class="fixed inset-0 bg-black/50 pointer-events-auto" data-action="click->products#hideProductDetail"></div>
  <div class="relative bg-white rounded-lg shadow-lg w-full max-w-lg mx-auto z-10 max-h-[90vh] flex flex-col">
    <!-- スクロール可能なコンテンツ部分 -->
    <div class="flex-1 overflow-y-auto">
      <!-- 画像カルーセル部分 -->
      <div class="relative bg-muted rounded-lg" data-controller="product-image-carousel" data-product-image-carousel-total-value="0">
        <!-- メイン画像エリア -->
        <div class="relative overflow-hidden rounded-t-lg">
          <div class="flex transition-transform duration-300 ease-in-out" data-product-image-carousel-target="carousel">
          </div>

        </div>

        <!-- サムネイル一覧 -->
      </div>

      <!-- 商品情報 -->
      <div class="px-4 py-6">
        <div class="mb-1 text-foreground text-xs font-normal">山梨県南アルプス市</div>
        <div class="mb-2 text-foreground text-lg font-normal">【特栽相当】すもも(紅りょうぜん) 1kg</div>
        <div class="text-foreground text-md font-normal">「マンモス・カージナル」と「大石早生」を親にもつ品種で、果汁が多くフルーティーなすももです。果皮は鮮やかな紅色をしていて、完熟してくると深い紅色になっていきます。そのままはもちろん、果汁が多いのでジャムやジュースにしてもおいしいです。皮は酸味が強いため酸味が苦手な方は追熟させ、皮をむいてお召し上がりください。※皮の表面に茶色い斑点がありますが、これは「きりん果」と呼ばれ、高温の年に発生するものです。そのままお召し上がりいただいて問題ございませんが、気になる場合は皮をむいてお召し上がりください。</div>
      </div>

      <!-- ×閉じるボタン -->
      <button
        type="button"
        class="absolute top-4 right-4 w-6 h-6 flex items-center justify-center bg-gray-100 rounded-full transition-colors"
        data-action="click->products#hideProductDetail"
      >
        <img class="w-4 h-4 text-gray-600" src="/assets/icons/x-f2d3c01f0887434da8f69a406b1d5952686e22f81db7b98e2e7865f26e6f0387.svg" />
      </button>
    </div>

    <!-- 固定ボタン部分 -->
    <div class="px-4 py-4 flex-shrink-0">
      <div class="flex gap-2">
        <div class="flex-1">
          <div id="favorite_button60495_modal" class="tailwind-only">
              <form data-turbo="true" action="/products/60495/favorite" accept-charset="UTF-8" data-remote="true" method="post"><input type="hidden" name="authenticity_token" value="NHuhWx8pGVIMCF4lincEvP7G93YkY_RtK3wiPludekPAuctkV0bJM_R0Hr42DrC6_lLkya5lnHT-hCZ8gJnm0Q" autocomplete="off" />
                <input type="hidden" name="week_reference_date" id="week_reference_date" value="2026-06-25" autocomplete="off" />
                <button name="button" type="submit" class="w-full px-4 py-2 text-gray-900 rounded transition-colors flex items-center justify-center outline-1 outline-offset-[-1px] outline-border gap-2">
                  <img alt="お気に入りに追加" class="w-5 h-5 opacity-60" src="/assets/icons/heart-gray-f6889a9469e691fd0c40f04539b49acef3f53cb4ffda2906bcbb62752c7de024.svg" />
                  <span>お気に入り</span>
</button></form>          </div>
        </div>
        <a class="flex-1 px-2 py-2 bg-primary text-primary-foreground rounded hover:bg-primary-hover transition-colors flex items-center justify-center" data-turbo="true" data-action="click-&gt;products#hideProductDetailAndShowCart" href="/products/60495/carts">注文</a>
      </div>
    </div>
  </div>
</div>
</template></turbo-stream>