.elementor-59130 .elementor-element.elementor-element-f1959fa .item-product-tabs del{display:flex !important;}.elementor-59130 .elementor-element.elementor-element-f1959fa .item-product-tabs .discount-box{display:flex !important;}/* Start custom CSS for html, class: .elementor-element-4307d08 *//* کانتینر اصلی هدر */
.hardsara-sale-header {
    background: linear-gradient(135deg, #0b132b 0%, #1c2541 100%);
    position: relative;
    overflow: hidden;
    padding: 60px 20px;
    font-family: inherit; /* ارث بری از فونت سایت شما */
    border-radius: 20px; /* اگر میخواهید لبه ها گرد نباشد این خط را پاک کنید */
    margin-bottom: 40px;
}

/* افکت نور پس زمینه هدر */
.hardsara-sale-header::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(229, 45, 39, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.sale-header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 2;
}

/* --- استایل بخش متنی --- */
.sale-content {
    flex: 1;
    color: #fff;
}

.sale-badge {
    display: inline-block;
    background: rgba(255, 75, 75, 0.2);
    color: #ff4b4b;
    border: 1px solid #ff4b4b;
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.sale-title {
    font-size: 42px;
    font-weight: 900;
    margin: 0 0 20px 0;
    line-height: 1.3;
    color: #ffffff;
}

.sale-title span {
    color: #ff4b4b;
    display: block;
}

.sale-desc {
    font-size: 16px;
    color: #a0aec0;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 90%;
}

.sale-countdown {
    margin-bottom: 30px;
    color: #ffd700;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.sale-countdown::before {
    content: '⏳';
}

.sale-btn {
    display: inline-block;
    background: linear-gradient(90deg, #e52d27 0%, #b31217 100%);
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(229, 45, 39, 0.3);
    transition: all 0.3s ease;
}

.sale-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(229, 45, 39, 0.5);
    color: #fff;
}

/* --- استایل بخش گرافیکی هارد --- */
.sale-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1200px;
}

/* مقیاس کوچکتر برای هارد در هدر */
.sale-hdd-card {
    width: 260px;
    height: 380px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(15deg) rotateY(-20deg); /* حالت 3D پیش فرض */
    transition: transform 0.6s ease;
}

.sale-visual:hover .sale-hdd-card {
    transform: rotateX(5deg) rotateY(-5deg) translateY(-10px);
}

/* بج روی هارد */
.discount-badge {
    position: absolute; top: -15px; right: -15px;
    width: 80px; height: 80px;
    background: linear-gradient(135deg, #ff0844 0%, #ffb199 100%);
    border-radius: 50%; z-index: 10;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    color: white; box-shadow: 0 10px 20px rgba(255, 8, 68, 0.4);
    transform: translateZ(40px);
    animation: pulseBadge 2s infinite;
}
.badge-text { font-size: 11px; font-weight: bold; }
.badge-percent { font-size: 24px; font-weight: 900; color: #ffe600; line-height: 1; margin: 2px 0;}

/* بدنه هارد */
.hdd-casing {
    width: 100%; height: 100%;
    background: linear-gradient(145deg, #111111, #2b2b2b);
    border-radius: 16px; border: 1px solid #444; padding: 15px;
    box-shadow: 20px 20px 40px rgba(0, 0, 0, 0.8), inset 0 2px 5px rgba(255, 255, 255, 0.1);
    display: flex; flex-direction: column; justify-content: space-between;
}

.screw-s {
    position: absolute; width: 12px; height: 12px;
    background: radial-gradient(circle, #b8c6db, #283e51); border-radius: 50%;
}
.screw-s.t-l { top: 12px; left: 12px; } .screw-s.t-r { top: 12px; right: 12px; }
.screw-s.b-l { bottom: 12px; left: 12px; } .screw-s.b-r { bottom: 12px; right: 12px; }

/* لیبل هارد */
.hdd-sale-label {
    background: linear-gradient(90deg, #d31027, #ea384d);
    padding: 10px; border-radius: 6px; display: flex; justify-content: space-between; align-items: center; color: #fff;
}
.label-brand { font-size: 15px; font-weight: 900; letter-spacing: 1px;}
.label-edition span { display: block; font-size: 8px; color: #ffcccb; }
.label-edition strong { font-size: 11px; }

/* پنجره و دیسک هارد */
.hdd-glass-window {
    width: 100%; height: 210px; background: #0a0a0a;
    border-radius: 50% 50% 10px 10px / 20px 20px 10px 10px;
    position: relative; overflow: hidden; border: 2px solid #222;
}
.sale-platter {
    width: 180px; height: 180px; position: absolute; top: 15px; left: -20px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #333, #e2e8f0, #ff4b4b, #ffffff, #333, #cbd5e1, #ff4b4b, #333);
    animation: spinSuperFast 2s linear infinite;
    box-shadow: 0 0 20px rgba(255, 75, 75, 0.3);
}
.spindle-motor {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 55px; height: 55px; background: radial-gradient(circle, #aaa, #222);
    border-radius: 50%; display: flex; justify-content: center; align-items: center;
}
.spindle-dot { width: 15px; height: 15px; background: #000; border-radius: 50%; }

/* بازوی هد */
.actuator-system { position: absolute; bottom: 5px; right: 5px; }
.actuator-pivot { width: 40px; height: 40px; background: radial-gradient(circle, #555, #111); border-radius: 50%; }
.actuator-arm {
    position: absolute; top: 15px; right: 20px; width: 100px; height: 8px;
    background: linear-gradient(90deg, #777, #ccc); transform-origin: right center;
    transform: rotate(-30deg); border-radius: 4px;
    animation: readDataFast 0.5s infinite alternate ease-in-out;
}
.laser-head { position: absolute; left: 0; top: -1px; width: 12px; height: 10px; background: #ff0844; border-radius: 3px; box-shadow: 0 0 10px #ff0844;}

/* انیمیشن‌ها */
@keyframes spinSuperFast { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes readDataFast { 0% { transform: rotate(-30deg); } 100% { transform: rotate(-15deg); } }
@keyframes pulseBadge { 0% { transform: translateZ(40px) scale(1); } 50% { transform: translateZ(40px) scale(1.05); } 100% { transform: translateZ(40px) scale(1); } }

/* ریسپانسیو (موبایل و تبلت) */
@media (max-width: 992px) {
    .sale-header-container { flex-direction: column; text-align: center; }
    .sale-desc { max-width: 100%; margin: 0 auto 30px auto; }
    .sale-countdown { justify-content: center; }
    .sale-hdd-card { transform: rotateX(0) rotateY(0); margin-top: 30px; }
    .sale-visual:hover .sale-hdd-card { transform: translateY(-10px); }
}
@media (max-width: 768px) {
    .sale-title { font-size: 32px; }
    .hardsara-sale-header { padding: 40px 15px; }
}/* End custom CSS */