import{r as e,t}from"./jsx-runtime-BbTa8W_M-1776590214964.js";import{o as n}from"./app-CXDQ5oEH-1776590214964.js";import{t as r}from"./useTranslation-D1etqd9u-1776590214964.js";import{t as i}from"./package-check-B9wQvYvt-1776590214964.js";import{t as a}from"./shield-check-BHIMgi8g-1776590214964.js";import{t as o}from"./truck-ilccWnaW-1776590214964.js";e();var s=t();function c({product:e}){let{activeCurrency:t,appSettings:c}=n().props,{t:l}=r(),u=t?parseFloat(t.exchange_rate):1,d=t?.symbol||`$`,f=parseFloat(e.shipping_charge)||0,p=(f*u).toFixed(2);return(0,s.jsxs)(`div`,{className:`space-y-3 mb-8 text-sm bg-muted/20 p-4 rounded-xl border border-border/50`,children:[(0,s.jsxs)(`div`,{className:`grid grid-cols-4 sm:grid-cols-6 gap-2`,children:[(0,s.jsx)(`span`,{className:`text-muted-foreground col-span-1 sm:col-span-2`,children:l(`Lead Time`)}),(0,s.jsxs)(`div`,{className:`col-span-3 sm:col-span-4 font-bold text-foreground flex items-center gap-2`,children:[(0,s.jsx)(o,{className:`w-4 h-4 text-primary`}),e.shipping_time||l(`Contact supplier for timeline`)]})]}),(0,s.jsxs)(`div`,{className:`grid grid-cols-4 sm:grid-cols-6 gap-2`,children:[(0,s.jsx)(`span`,{className:`text-muted-foreground col-span-1 sm:col-span-2`,children:l(`Shipping`)}),(0,s.jsx)(`div`,{className:`col-span-3 sm:col-span-4 font-medium text-foreground flex items-center gap-2`,children:e.is_free_shipping?(0,s.jsxs)(`span`,{className:`text-green-600 font-bold flex items-center gap-1`,children:[(0,s.jsx)(i,{className:`w-4 h-4`}),` `,l(`Free Shipping Globally`)]}):(0,s.jsxs)(`span`,{children:[f>0?`${d}${p} ${e.shipping_charge_type===`per_item`?l(`Per Item`):l(`Flat Rate`)}`:l(`Calculated at checkout`),e.delivery_via&&(0,s.jsxs)(s.Fragment,{children:[` `,l(`via`),` `,e.delivery_via]})]})})]}),(0,s.jsxs)(`div`,{className:`grid grid-cols-4 sm:grid-cols-6 gap-2 items-center`,children:[(0,s.jsx)(`span`,{className:`text-muted-foreground col-span-1 sm:col-span-2`,children:l(`Protection`)}),(0,s.jsxs)(`div`,{className:`col-span-3 sm:col-span-4 flex items-center gap-2 font-medium`,children:[(0,s.jsx)(a,{className:`w-4 h-4 text-green-600 shrink-0`}),(0,s.jsx)(`span`,{className:`truncate`,children:l(c?.protection_badge_name||`Buyer Protection`)}),(0,s.jsx)(`span`,{className:`text-muted-foreground font-normal ml-1 hidden sm:inline truncate`,children:l(c?.protection_slogan||`protects your orders from payment to delivery.`)})]})]})]})}export{c as default};