<div class="absolute inset-0 bg-white border border-gray-200 shadow-lg h-2/5 w-11/12 mx-auto mt-auto transform translate-y-2/3">
<div class="px-4 py-3 sm:py-2 flex flex-col justify-between h-full">
<div class="flex justify-between">
<div class="sm:w-1/2 w-full">
<h2 class="text-black text-base sm:text-2xl font-bold uppercase">{{ yacht.name }}</h2>
<div class="bg-ocean-1000 h-1.5"></div>
</div>
<div class="font-extrabold text-xs sm:text-sm hidden sm:block">
<h3 class="bg-cyan-300/50 text-cyan-800 px-3 py-0.5" v-if="yacht.status === 'new'">{{ $t('sales.new-listings') }}</h3>
<h3 class="bg-yellow-300/50 text-yellow-800 px-3 py-0.5" v-if="yacht.status === 'price-change'">{{ $t('sales.price-change') }}</h3>
<h3 class="bg-red-300/50 text-red-800 px-3 py-0.5" v-if="yacht.status === 'sold'">{{ yacht.type === "buy" ? $t('sales.sold') : $t('admin.rent.sold') }}</h3>
</div>
</div>
<p class="text-sm sm:text-base font-medium"> :{{ yacht.refitted ? ` (refitted ${yacht.refitted})` : '' }}</span> | {{ yacht.shipyard }}</p>
<div class="flex justify-between">
<p class="font-bold text-base sm:text-xl" v-if="yacht.price">{{ yacht.price.toLocaleString('fr-FR') }} €</p>
<p class="font-bold text-base sm:text-xl" v-else>{{ $t('sales.price-on-request') }}</p>
<div class="font-extrabold text-xs sm:text-sm sm:hidden block">
<h3 class="bg-cyan-300/50 text-cyan-800 px-3 py-0.5" v-if="yacht.status === 'new'">{{ $t('sales.new-listings') }}</h3>
<h3 class="bg-yellow-300/50 text-yellow-800 px-3 py-0.5" v-if="yacht.status === 'price-change'">{{ $t('sales.price-change') }}</h3>
<h3 class="bg-red-300/50 text-red-800 px-3 py-0.5" v-if="yacht.status === 'sold'">{{ $t('sales.sold') }}</h3>
</div>
</div>
</div>
</div>