.hero-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 28px;
    direction: rtl;
}

.hero-banner img {
    width: 100%;
    display: block;
    height: 420px;
    object-fit: cover;
}

.hero-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.04);
    pointer-events: none;
}

.hero-card {
    position: absolute;
    right: 80px;
    bottom: 0;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    padding: 28px 32px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 32px 32px 0 0;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-sale {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.6;
    color: #047857;
    background: #d1fae5;
}

.hero-title,
.hero-card h2 {
    margin: 0 0 18px;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.35;
    color: #1f2937;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    background: #10b981;
    transition: all 0.25s ease;
}

.hero-btn:hover {
    color: #ffffff;
    background: #059669;
    transform: translateY(-2px);
}

/* Tablet */
@media (max-width: 1024px) {
    .hero-banner img {
        height: 360px;
    }

    .hero-card {
        right: 40px;
        max-width: 360px;
        padding: 24px 24px;
        border-radius: 26px 26px 0 0;
    }

    .hero-title,
    .hero-card h2 {
        font-size: 28px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .hero-banner {
        border-radius: 20px;
    }

    .hero-banner img {
        height: 300px;
    }

    .hero-card {
        position: absolute;
        right: 16px;
        left: 16px;
        bottom: 0px;
        max-width: 340px;
        width: auto;
        padding: 20px 18px;
        border-radius: 20px;
        text-align: center;
    }

    .hero-sale {
        margin-bottom: 12px;
    }

    .hero-title,
    .hero-card h2 {
        font-size: 22px;
        line-height: 1.45;
        margin-bottom: 16px;
    }

    .hero-btn {
        width: 100%;
    }
}