فروش ویژه بلک فرایدی کمان استور
کمان آفر بلک فرایدی؛ نقدی و اقساطی
مهلت استفاده از تخفیفهای شگفتانگیز فقط تا پایان جمعه ۶ آذر
زمان فروش ویژه بلک فرایدی کمان استور به پایان رسید.
مشاهده پیشنهادهای شگفتانگیز
.ks-htc-pro,
.ks-htc-pro * {
box-sizing: border-box;
font-family: inherit;
}
.ks-htc-pro {
position: relative;
overflow: hidden;
width: 100%;
max-width: 100%;
background: radial-gradient(circle at 50% 0%, #aa0003 0%, #3a0002 48%, #09090b 100%);
border-top: 1px solid rgba(255, 70, 75, 0.35);
border-bottom: 1px solid rgba(255, 70, 75, 0.35);
border-radius: 0;
padding: 46px 24px 42px;
text-align: center;
color: #ffffff;
margin: 0;
}
/* پترن مربعی کمرنگ در پسزمینه */
.ks-htc-pro-grid {
position: absolute;
inset: 0;
background-image:
linear-gradient(to right, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
linear-gradient(to bottom, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
background-size: 42px 42px;
mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.9) 25%, rgba(0, 0, 0, 0.2) 85%);
-webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.9) 25%, rgba(0, 0, 0, 0.2) 85%);
pointer-events: none;
z-index: 0;
}
/* افکت برقزدن متحرک */
.ks-htc-pro-shimmer {
position: absolute;
inset: -50%;
background: linear-gradient(
115deg,
transparent 40%,
rgba(255, 255, 255, 0.05) 46%,
rgba(255, 190, 190, 0.16) 50%,
rgba(255, 255, 255, 0.05) 54%,
transparent 60%
);
animation: ks-grid-shine 6.5s infinite linear;
pointer-events: none;
z-index: 0;
}
@keyframes ks-grid-shine {
0% { transform: translateX(-45%) translateY(-10%); }
100% { transform: translateX(45%) translateY(10%); }
}
.ks-htc-pro-glow {
position: absolute;
width: 400px;
height: 400px;
background: rgba(170, 0, 3, 0.35);
filter: blur(95px);
top: -170px;
left: 50%;
transform: translateX(-50%);
pointer-events: none;
z-index: 0;
}
.ks-htc-pro-inner {
position: relative;
z-index: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
max-width: 1140px;
margin: 0 auto;
}
.ks-htc-pro-badge {
display: inline-flex;
align-items: center;
gap: 8px;
background: rgba(0, 0, 0, 0.38);
border: 1px solid rgba(255, 255, 255, 0.25);
color: #ffffff;
padding: 6px 16px;
border-radius: 50px;
font-size: 13px;
font-weight: 600;
margin-bottom: 14px;
}
.ks-htc-pro-dot {
width: 8px;
height: 8px;
background: #ff3b40;
border-radius: 50%;
box-shadow: 0 0 10px #ff3b40;
animation: ks-pro-pulse 1.6s infinite ease-in-out;
}
@keyframes ks-pro-pulse {
0%, 100% { transform: scale(1); opacity: 1; }
50% { transform: scale(1.45); opacity: 0.4; }
}
.ks-htc-pro-title {
margin: 0 0 8px 0;
font-size: 28px;
font-weight: 800;
line-height: 1.4;
color: #ffffff;
text-shadow: 0 3px 16px rgba(0, 0, 0, 0.45);
}
.ks-htc-pro-sub {
margin: 0 0 32px 0;
font-size: 15px;
color: #e5e7eb;
}
.ks-htc-pro-stage {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0 18px;
margin-bottom: 14px;
max-width: 100%;
}
.ks-htc-pro-bar {
position: absolute;
left: 0;
right: 0;
top: 14px;
height: 92px;
background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(0, 0, 0, 0.7) 100%);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 14px;
box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
z-index: 0;
}
.ks-htc-pro-clock {
position: relative;
z-index: 1;
display: flex;
flex-direction: row;
flex-wrap: nowrap;
align-items: flex-start;
justify-content: center;
gap: 16px;
}
.ks-htc-pro-unit {
display: flex;
flex-direction: column;
align-items: center;
}
.ks-htc-pro-card {
position: relative;
width: 118px;
height: 118px;
perspective: 550px;
border-radius: 16px;
background: #dcdcdc;
box-shadow:
0 14px 28px rgba(0, 0, 0, 0.6),
0 3px 0 #b8bcc4,
0 -1px 0 rgba(255, 255, 255, 0.9);
}
.ks-htc-pro-half {
position: absolute;
left: 0;
width: 100%;
height: 50%;
overflow: hidden;
backface-visibility: hidden;
-webkit-backface-visibility: hidden;
}
.ks-htc-pro-half span {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 200%;
font-size: 62px;
font-weight: 800;
letter-spacing: -1px;
font-variant-numeric: tabular-nums;
color: #aa0003;
user-select: none;
}
.ks-htc-pro-top,
.ks-htc-pro-flap-top {
top: 0;
border-radius: 16px 16px 0 0;
background: linear-gradient(180deg, #ffffff 0%, #f5f5f5 65%, #e8e8e8 100%);
box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.95);
}
.ks-htc-pro-bottom,
.ks-htc-pro-flap-bottom {
bottom: 0;
border-radius: 0 0 16px 16px;
background: linear-gradient(180deg, #fafafa 0%, #ebebeb 65%, #d9d9d9 100%);
box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.08);
}
.ks-htc-pro-bottom span,
.ks-htc-pro-flap-bottom span {
transform: translateY(-50%);
}
.ks-htc-pro-flap-top {
z-index: 3;
transform-origin: center bottom;
visibility: hidden;
}
.ks-htc-pro-flap-bottom {
z-index: 4;
transform-origin: center top;
transform: rotateX(90deg);
visibility: hidden;
}
.ks-htc-pro-card.is-flipping .ks-htc-pro-flap-top {
visibility: visible;
animation: ks-pro-flip-top 0.26s ease-in forwards;
}
.ks-htc-pro-card.is-flipping .ks-htc-pro-flap-bottom {
visibility: visible;
animation: ks-pro-flip-bottom 0.26s ease-out 0.26s forwards;
}
@keyframes ks-pro-flip-top {
0% { transform: rotateX(0deg); filter: brightness(1); }
100% { transform: rotateX(-90deg); filter: brightness(0.75); }
}
@keyframes ks-pro-flip-bottom {
0% { transform: rotateX(90deg); filter: brightness(0.8); }
100% { transform: rotateX(0deg); filter: brightness(1); }
}
.ks-htc-pro-crease {
position: absolute;
top: 50%;
left: 0;
width: 100%;
height: 1.5px;
background: rgba(170, 0, 3, 0.2);
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
transform: translateY(-50%);
z-index: 5;
pointer-events: none;
}
.ks-htc-pro-tag {
position: absolute;
bottom: 7px;
right: 10px;
z-index: 6;
font-size: 11px;
font-weight: 700;
color: #52525b;
line-height: 1;
pointer-events: none;
}
.ks-htc-pro-reflect {
width: 118px;
height: 36px;
margin-top: 5px;
border-radius: 16px 16px 0 0;
background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 100%);
overflow: hidden;
display: flex;
align-items: flex-end;
justify-content: center;
opacity: 0.45;
mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 90%);
-webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 90%);
pointer-events: none;
user-select: none;
}
.ks-htc-pro-reflect span {
font-size: 62px;
font-weight: 800;
color: rgba(170, 0, 3, 0.55);
transform: scaleY(-1) translateY(18px);
line-height: 1;
}
.ks-htc-pro-expired {
font-size: 18px;
font-weight: 700;
color: #ffffff;
background: rgba(0, 0, 0, 0.4);
border: 1px solid rgba(255, 255, 255, 0.25);
padding: 14px 24px;
border-radius: 12px;
margin-bottom: 24px;
}
.ks-htc-pro-btn {
display: inline-block;
text-decoration: none;
background: #ffffff;
color: #aa0003 !important;
font-size: 15px;
font-weight: 800;
padding: 13px 34px;
border-radius: 12px;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.ks-htc-pro-btn:hover {
background: #aa0003;
color: #ffffff !important;
transform: translateY(-2px);
box-shadow: 0 12px 30px rgba(170, 0, 3, 0.55);
}
/* ===================================================
دیزاین اختصاصی موبایل با ارتفاع دقیق 160 پیکسل
=================================================== */
@media (max-width: 640px) {
.ks-htc-pro {
height: 160px;
max-height: 160px;
padding: 10px 10px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 0;
}
.ks-htc-pro-inner {
height: 100%;
justify-content: space-between;
gap: 4px;
}
.ks-htc-pro-grid {
background-size: 24px 24px;
}
.ks-htc-pro-badge,
.ks-htc-pro-sub,
.ks-htc-pro-reflect {
display: none;
}
.ks-htc-pro-title {
font-size: 13.5px;
margin: 0;
line-height: 1.3;
}
.ks-htc-pro-stage {
padding: 0 8px;
margin: 0;
width: 100%;
}
.ks-htc-pro-bar {
top: 50%;
transform: translateY(-50%);
height: 46px;
border-radius: 9px;
}
.ks-htc-pro-clock {
gap: clamp(6px, 2.2vw, 10px);
width: 100%;
}
.ks-htc-pro-card {
width: clamp(56px, 19vw, 72px);
height: 62px;
border-radius: 10px;
box-shadow:
0 6px 14px rgba(0, 0, 0, 0.55),
0 2px 0 #b8bcc4;
}
.ks-htc-pro-top,
.ks-htc-pro-flap-top {
border-radius: 10px 10px 0 0;
}
.ks-htc-pro-bottom,
.ks-htc-pro-flap-bottom {
border-radius: 0 0 10px 10px;
}
.ks-htc-pro-half span {
font-size: 31px;
}
.ks-htc-pro-tag {
font-size: 8.5px;
bottom: 3px;
right: 5px;
}
.ks-htc-pro-expired {
font-size: 13px;
padding: 8px 14px;
margin: 0;
}
.ks-htc-pro-btn {
padding: 6px 20px;
font-size: 11.5px;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
}
(function () {
// تاریخ هدف: پایان جمعه ۶ آذر ۱۴۰۵ (۲۷ نوامبر ۲۰۲۶ ساعت ۲۳:۵۹:۵۹ به وقت تهران)
const targetDate = new Date('2026-11-27T23:59:59+03:30').getTime();
const persianDigits = ['۰', '۱', '۲', '۳', '۴', '۵', '۶', '۷', '۸', '۹'];
function toPersian(num) {
return String(num)
.padStart(2, '0')
.replace(/\d/g, function (d) {
return persianDigits[d];
});
}
function flipCard(card, newVal, animate) {
const currentVal = card.getAttribute('data-val');
if (currentVal === newVal) return;
const topSpan = card.querySelector('.ks-htc-pro-top span');
const bottomSpan = card.querySelector('.ks-htc-pro-bottom span');
const flapTopSpan = card.querySelector('.ks-htc-pro-flap-top span');
const flapBottomSpan = card.querySelector('.ks-htc-pro-flap-bottom span');
const reflectSpan = card.parentElement.querySelector('.ks-htc-pro-reflect span');
if (reflectSpan) reflectSpan.textContent = newVal;
if (!animate || !currentVal) {
topSpan.textContent = newVal;
bottomSpan.textContent = newVal;
flapTopSpan.textContent = newVal;
flapBottomSpan.textContent = newVal;
card.setAttribute('data-val', newVal);
return;
}
card.classList.remove('is-flipping');
void card.offsetWidth;
topSpan.textContent = newVal;
bottomSpan.textContent = currentVal;
flapTopSpan.textContent = currentVal;
flapBottomSpan.textContent = newVal;
card.setAttribute('data-val', newVal);
card.classList.add('is-flipping');
setTimeout(function () {
bottomSpan.textContent = newVal;
card.classList.remove('is-flipping');
}, 530);
}
function initClock(section) {
if (section.dataset.ksProInit) return;
section.dataset.ksProInit = '1';
const cards = {
days: section.querySelector('[data-unit="days"]'),
hours: section.querySelector('[data-unit="hours"]'),
minutes: section.querySelector('[data-unit="minutes"]'),
seconds: section.querySelector('[data-unit="seconds"]')
};
const stageEl = section.querySelector('.ks-htc-pro-stage');
const expiredEl = section.querySelector('.ks-htc-pro-expired');
let firstRun = true;
function tick() {
const diff = targetDate - Date.now();
if (diff <= 0) {
clearInterval(timer);
if (stageEl) stageEl.style.display = 'none';
if (expiredEl) expiredEl.style.display = 'block';
return;
}
const values = {
days: toPersian(Math.floor(diff / 86400000)),
hours: toPersian(Math.floor((diff % 86400000) / 3600000)),
minutes: toPersian(Math.floor((diff % 3600000) / 60000)),
seconds: toPersian(Math.floor((diff % 60000) / 1000))
};
Object.keys(cards).forEach(function (key) {
if (cards[key]) flipCard(cards[key], values[key], !firstRun);
});
firstRun = false;
}
tick();
const timer = setInterval(tick, 1000);
}
document.querySelectorAll('.ks-htc-pro').forEach(initClock);
})();