<style type="text/css">.hzl-product-box {
background-color: #f0f7ff;
border-left: 4px solid #1a73e8;
padding: 12px 16px;
border-radius: 8px;
margin-bottom: 15px;
display: flex;
align-items: flex-start;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
.hzl-product-icon {
margin-right: 12px;
margin-top: 2px;
flex-shrink: 0;
}
.hzl-product-title {
margin: 0 0 4px 0;
font-size: 14px;
color: #1a73e8;
font-weight: 700;
}
.hzl-product-text {
margin: 0;
font-size: 13px;
color: #555;
line-height: 1.5;
}
.hzl-shipping-timer {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
font-size: 14px;
color: #333;
padding: 12px 15px;
border-top: 1px solid #e6e6e6;
border-bottom: 1px solid #e6e6e6;
background-color: #fffaf5;
border-left: 4px solid #f27a1a;
max-width: 520px;
display: flex;
align-items: center;
gap: 8px;
box-sizing: border-box;
margin-bottom: 10px;
}
.hzl-highlight {
color: #f27a1a;
font-weight: 700;
}
.hzl-timer-icon {
font-size: 18px;
}
.hzl-urgency-box {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
font-size: 14px;
color: #333;
padding: 10px 12px;
border-top: 1px solid #e6e6e6;
border-bottom: 1px solid #e6e6e6;
display: flex;
align-items: center;
min-height: 24px;
overflow: hidden;
background-color: #fff;
max-width: 520px;
box-sizing: border-box;
margin-bottom: 10px;
}
.hzl-text-slide {
animation: hzlFade 0.4s ease-in-out;
}
@keyframes hzlFade {
from {
opacity: 0;
transform: translateY(4px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.hzl-delivery-card {
width: 100%;
max-width: 520px;
background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
border: 1px solid #eef1f6;
border-radius: 16px;
padding: 14px;
box-sizing: border-box;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.hzl-delivery-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 12px;
gap: 10px;
}
.hzl-delivery-title {
font-size: 13px;
font-weight: 700;
color: #1f2937;
}
.hzl-delivery-badge {
font-size: 10px;
font-weight: 700;
color: #ff6b00;
background: #fff3e8;
border: 1px solid #ffd7b5;
padding: 4px 8px;
border-radius: 999px;
white-space: nowrap;
}
.hzl-delivery-main {
display: flex;
align-items: center;
gap: 12px;
background: #ffffff;
border-radius: 14px;
padding: 12px;
border: 1px solid #f0f0f0;
}
.hzl-delivery-icon {
width: 38px;
height: 38px;
border-radius: 12px;
background: linear-gradient(135deg, #ff8a00, #ff5e00);
display: flex;
align-items: center;
justify-content: center;
font-size: 20px;
box-shadow: 0 6px 14px rgba(255, 107, 0, 0.25);
flex-shrink: 0;
}
.hzl-delivery-info {
flex: 1;
min-width: 0;
}
.hzl-delivery-text {
font-size: 13px;
color: #374151;
line-height: 1.4;
}
.hzl-delivery-text strong {
color: #111827;
font-weight: 800;
}
.hzl-delivery-type {
display: inline-block;
margin-top: 6px;
font-size: 10px;
font-weight: 700;
color: #ffffff;
background: #ff6b00;
padding: 4px 8px;
border-radius: 6px;
}
.hzl-cargo-logo {
font-size: 14px;
font-weight: 900;
color: #ad0600;
white-space: nowrap;
}
.hzl-cargo-logo span {
color: #ad0600;
}
@media (max-width: 480px) {
.hzl-shipping-timer,
.hzl-urgency-box,
.hzl-delivery-card {
max-width: 100%;
font-size: 13px;
}
.hzl-delivery-main {
gap: 8px;
padding: 10px;
}
.hzl-cargo-logo {
font-size: 12px;
}
}
</style>
<div class="hzl-product-box">
<div class="hzl-product-icon"><svg fill="none" height="20" stroke="#1a73e8" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="20"> <circle cx="12" cy="12" r="10"></circle> <line x1="12" x2="12" y1="16" y2="12"></line> <line x1="12" x2="12.01" y1="8" y2="8"></line> </svg></div>
<div>
<h4 class="hzl-product-title">Yapay Zeka Açıklaması</h4>
<p class="hzl-product-text">Kusursuz bir ütü deneyimi sunmak için tasarlanan HZL Prizli Buharlı Ütü, kablolu yapısıyla sürekli enerji akışı sağlayarak kullanıcıya maksimum verimlilik sunar. Şarjlı modellere kıyasla güç kaybı yaşamaması, yüksek ısıyı sabit tutması ve her seferinde güçlü buhar verebilmesi bu modeli öne çıkarır. Uzun süreli ve yoğun kullanım için idealdir; performansında azalma olmadığı için işini yarıda bırakman gerekmez.</p>
</div>
</div>
<div class="hzl-shipping-timer"><span class="hzl-timer-icon">⏱️</span> <span id="hzl-countdown-text"></span></div>
<div class="hzl-urgency-box"><span class="hzl-text-slide" id="hzl-urgency-text"></span></div>
<div class="hzl-delivery-card">
<div class="hzl-delivery-header">
<div class="hzl-delivery-title">Teslimat Seçenekleri</div>
<div class="hzl-delivery-badge">Hızlı Teslimat</div>
</div>
<div class="hzl-delivery-main">
<div class="hzl-delivery-icon">🚚</div>
<div class="hzl-delivery-info">
<div class="hzl-delivery-text">Tahmini <strong id="hzl-delivery-date">Yükleniyor...</strong> günü kargoda</div>
<div class="hzl-delivery-type">Standart Teslimat</div>
</div>
<div class="hzl-cargo-logo">Aras<span>Kargo</span></div>
</div>
</div>
<script>
(function () {
const cutoffHour = 15;
const cutoffMinute = 0;
function updateCountdown() {
const countdownElement = document.getElementById("hzl-countdown-text");
if (!countdownElement) return;
const now = new Date();
const target = new Date();
target.setHours(cutoffHour, cutoffMinute, 0, 0);
let isSameDay = true;
if (now >= target) {
target.setDate(target.getDate() + 1);
isSameDay = false;
}
const diff = target - now;
const hours = Math.floor((diff / (1000 * 60 * 60)) % 24);
const minutes = Math.floor((diff / (1000 * 60)) % 60);
const seconds = Math.floor((diff / 1000) % 60);
const hText = String(hours).padStart(2, "0");
const mText = String(minutes).padStart(2, "0");
const sText = String(seconds).padStart(2, "0");
const deliveryDay = isSameDay ? "bugün" : "yarın";
countdownElement.innerHTML =
'<span class="hzl-highlight">' +
hText +
":" +
mText +
":" +
sText +
'</span> içinde sipariş ver, <span class="hzl-highlight">' +
deliveryDay +
"</span> kargoya verilsin!";
}
function updateUrgencyText() {
const textElement = document.getElementById("hzl-urgency-text");
if (!textElement) return;
const messages = [
'<span class="hzl-highlight">100+ kişi</span> favoriledi!',
'<span class="hzl-highlight">40+ kişinin</span> sepetinde, kaçırma!',
'Son 1 günde <span class="hzl-highlight">500+ kişi</span> ziyaret etti'
];
let currentIndex = 0;
function changeText() {
textElement.classList.remove("hzl-text-slide");
void textElement.offsetWidth;
textElement.innerHTML = messages[currentIndex];
textElement.classList.add("hzl-text-slide");
currentIndex = (currentIndex + 1) % messages.length;
}
changeText();
setInterval(changeText, 3000);
}
function updateDeliveryDate() {
const deliveryDateElement = document.getElementById("hzl-delivery-date");
if (!deliveryDateElement) return;
const now = new Date();
const targetDate = new Date();
if (
now.getHours() > cutoffHour ||
(now.getHours() === cutoffHour && now.getMinutes() >= cutoffMinute)
) {
targetDate.setDate(targetDate.getDate() + 1);
}
const months = [
"Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran",
"Temmuz", "Ağustos", "Eylül", "Ekim", "Kasım", "Aralık"
];
const days = [
"Pazar", "Pazartesi", "Salı", "Çarşamba",
"Perşembe", "Cuma", "Cumartesi"
];
const dayNumber = targetDate.getDate();
const monthName = months[targetDate.getMonth()];
const dayName = days[targetDate.getDay()];
deliveryDateElement.textContent = dayNumber + " " + monthName + " " + dayName;
}
updateCountdown();
updateUrgencyText();
updateDeliveryDate();
setInterval(updateCountdown, 1000);
setInterval(updateDeliveryDate, 60000);
})();
</script>