﻿
.read-more-content {
    position: relative;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

    .read-more-content.collapsed {
        max-height: 200px;
    }

.read-more-toggle {
    display: block;
    text-align: center;
    margin-top: 15px;
    cursor: pointer;
    font-weight: 500;
    user-select: none;
}

    .read-more-toggle .more-text {
        display: inline;
    }

    .read-more-toggle .less-text {
        display: none;
    }

.read-more-content:not(.collapsed) + .read-more-toggle .more-text {
    display: none;
}

.read-more-content:not(.collapsed) + .read-more-toggle .less-text {
    display: inline;
}

.hero-slider-section, .hero-slider-section * {
    box-sizing: border-box;
}

.header-main-container {
    margin-bottom: 15px;
}

.hero-slider-section {
    width: 96%;
    margin: 15px auto;
    height: 650px;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    direction: ltr;
    background-color: #ffffff;
}

.slider-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.04);
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
    text-transform: uppercase;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background: var(--bg-grad);
    opacity: 0;
    visibility: hidden;
    transition: 0.8s ease-in-out;
}

    .slide.active {
        opacity: 1;
        visibility: visible;
        z-index: 2;
    }

.slide-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
    width: 100%;
    padding: 0 6%;
    direction: rtl;
    align-items: center;
    position: relative;
    z-index: 10;
}

/* انیمیشن‌ها */
.anim-img-reveal, .anim-img-step, .anim-img-pop, .content-side > * {
    opacity: 0;
}

@keyframes imgReveal {
    from {
        opacity: 0;
        transform: translateX(-80px) rotateY(-20deg) scale(0.9);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: translateX(0) rotateY(0) scale(1);
        filter: blur(0);
    }
}

.slide.active .anim-img-reveal {
    animation: imgReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: var(--delay);
}

@keyframes imgStep {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide.active .anim-img-step {
    animation: imgStep 0.7s ease-out forwards;
    animation-delay: var(--delay);
}

@keyframes imgPop {
    from {
        opacity: 0;
        transform: scale(0.7);
    }

    to {
        opacity: 1;
        transform: scale(1.1);
    }
}

.slide.active .anim-img-pop {
    animation: imgPop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: var(--delay);
}

@keyframes slideFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide.active .anim-slide-right {
    animation: slideFromRight 0.8s forwards;
    animation-delay: var(--delay);
}

@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.slide.active .anim-scale-up {
    animation: scaleUp 0.8s forwards;
    animation-delay: var(--delay);
}

@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide.active .anim-reveal-up {
    animation: revealUp 0.8s forwards;
    animation-delay: var(--delay);
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.slide.active .anim-bounce-in {
    animation: bounceIn 0.8s forwards;
    animation-delay: var(--delay);
}

/* طرح‌بندی تصاویر */
.insize-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.g-item img {
    max-width: 100%;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

.kenzax-arc-layout {
    position: relative;
    height: 350px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arc-item {
    position: absolute;
}

    .arc-item img {
        max-width: 100%;
        filter: drop-shadow(0 15px 35px rgba(0,0,0,0.5));
    }

.itm-center {
    width: 50% !important;
    z-index: 10;
    position: relative;
}

.itm-1 {
    width: 25% !important;
    left: 0;
    top: 15%;
}

.itm-2 {
    width: 30% !important;
    left: 20%;
    top: 5%;
}

.itm-3 {
    width: 30% !important;
    right: 20%;
    top: 5%;
}

.itm-4 {
    width: 25% !important;
    right: 0;
    top: 15%;
}

/* محتوا */
.content-side {
    color: white;
    text-align: right;
}

.hero-title {
    font-size: 42px;
    font-weight: 950;
    margin: 10px 0;
    line-height: 1.2;
}

.hero-desc {
    font-size: 16px;
    margin-bottom: 25px;
    opacity: 0.9;
    line-height: 1.7;
}

.btn-premium {
    padding: 12px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    transition: 0.3s;
    display: inline-block;
}

.top-tag {
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 12px;
    display: inline-block;
    margin-bottom: 10px;
}

.hero-png {
    max-width: 90%;
    filter: drop-shadow(0 30px 50px rgba(0,0,0,0.4));
}

@keyframes floatEffect {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.slide.active .hero-png {
    animation: imgReveal 1s forwards, floatEffect 5s ease-in-out infinite 1s;
}

/* UI Layer - بخش اصلاح شده */
.slider-ui-layer {
    position: absolute;
    bottom: 30px;
    left: 5%;
    right: 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    pointer-events: none;
}

.slide-counter {
    color: white;
    font-weight: 900;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: auto;
}

.counter-line {
    width: 25px;
    height: 2px;
    background: rgba(255,255,255,0.3);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    pointer-events: auto;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.15);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: 0.3s;
    z-index: 110;
    top: auto;
    right: 7px;
}

    .nav-btn:hover {
        background: rgba(255,255,255,0.3);
        border-color: white;
    }

.progress-container {
    position: relative;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-ring__circle {
    transition: 0.1s;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    stroke: white;
    stroke-dasharray: 150.8;
    stroke-dashoffset: 150.8;
}

@media (max-width: 992px) {
    .hero-slider-section {
        height: 750px;
    }

    .slide-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .content-side {
        text-align: center;
        order: 2;
    }

    .product-side {
        order: 1;
        height: 300px;
    }

    .slider-ui-layer {
        bottom: 20px;
    }
}

.features-section {
    padding: 70px 0;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
    direction: rtl;
}

.features-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--secondary) 1px, transparent 1px);
    background-size: 25px 25px;
    opacity: 0.3;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: #ffffff;
    border: 2px solid transparent;
    border-bottom: 4px solid var(--secondary);
    border-radius: 20px;
    padding: 40px 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

    .feature-card:hover {
        transform: translateY(-10px);
        border-color: var(--mhd-bs-red);
        border-bottom-color: var(--mhd-bs-red);
        box-shadow: 0 15px 35px rgba(239, 57, 78, 0.1);
    }

.icon-wrapper {
    width: 65px;
    height: 65px;
    background: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: 0.3s;
    border: 1px solid var(--secondary);
}

.feature-card:hover .icon-wrapper {
    background: var(--mhd-bs-red);
    border-color: var(--mhd-bs-red);
}

.icon-svg {
    font-size: 28px;
    transition: 0.3s;
}

.feature-card:hover .icon-svg {
    filter: brightness(0) invert(1);
}

.feature-content h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--darker-gray);
    margin-bottom: 10px;
    transition: 0.3s;
}

.feature-card:hover h3 {
    color: var(--mhd-bs-red);
}

.feature-content p {
    font-size: 12px;
    color: #888;
    line-height: 1.8;
    margin: 0;
    font-weight: 500;
}

.card-number {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 13px;
    font-weight: 700;
    color: var(--secondary);
    background: #fdfdfd;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--secondary);
}

.feature-card:hover .card-number {
    background: var(--mhd-bs-red);
    color: #fff;
    border-color: var(--mhd-bs-red);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.anim-up {
    animation: fadeInUp 0.6s ease-out backwards;
}
/* Responsive */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    /* تنظیم چیدمان 2 در 2 برای موبایل */
    .features-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* ساخت 2 ستون */
        gap: 15px; /* فاصله مناسب بین کادرها */
        width: 100%; /* عرض کل باید 100% باشد تا جای بگیرد */
        max-width: 600px; /* محدود کردن عرض برای زیبایی بیشتر در موبایل */
        margin: 0 auto; /* وسط چین کردن */
        padding: 0 15px; /* فاصله از لبه‌های صفحه */
        position: relative;
        z-index: 2;
    }
    /* بهبود کارت */
    .feature-card {
        background: #ffffff;
        border: 2px solid transparent;
        border-bottom: 4px solid var(--secondary);
        border-radius: 20px;
        padding: 3px 2px;
        height: 190px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        transition: all 0.3s ease;
        position: relative;
    }
    /* موبایل کوچک */
    @media (max-width: 576px) {
        .features-section {
            padding: 40px 0;
        }

        .feature-card {
            padding: 25px 15px;
        }

        .icon-wrapper {
            width: 55px;
            height: 55px;
        }

        .icon-svg {
            font-size: 22px;
        }

        .feature-content h3 {
            font-size: 14px;
        }

        .feature-content p {
            font-size: 11px;
        }
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.special-offers-section {
    padding: 60px 0;
    width: 98%;
    margin: 0 auto;
    background: linear-gradient(145deg, var(--dark-bg), var(--darker-gray));
    border-radius: 50px;
    overflow: hidden;
    position: relative;
    color: #ffffff;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.offers-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.title-flex {
    display: flex;
    align-items: center;
    gap: 12px;
}

.live-pulse {
    width: 12px;
    height: 12px;
    background: var(--mhd-bs-red);
    border-radius: 50%;
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 57, 78, 0.7);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(239, 57, 78, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(239, 57, 78, 0);
    }
}

.countdown-timer {
    display: flex;
    gap: 10px;
    direction: ltr;
}

.time-block {
    background: rgba(255,255,255,0.07);
    padding: 8px 12px;
    border-radius: 15px;
    text-align: center;
    min-width: 60px;
}

    .time-block span {
        display: block;
        font-size: 22px;
        font-weight: 900;
    }

.slider-wrapper {
    position: relative;
    cursor: grab;
}

    .slider-wrapper:active {
        cursor: grabbing;
    }

.offers-slider-container {
    display: flex;
    gap: 20px;
    overflow-x: hidden;
    padding: 10px 0 40px 0;
    user-select: none;
    scroll-behavior: smooth;
}

.offer-card {
    min-width: 280px;
    width: 100%;
    background: rgba(255,255,255,0.03);
    border-radius: 35px;
    padding: 25px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.4s;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

    .offer-card .buy-now {
        pointer-events: auto;
    }

    .offer-card:hover {
        border-color: var(--mhd-bs-red);
        background: rgba(255,255,255,0.06);
    }

.discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--mhd-bs-red);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: bold;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(239, 57, 78, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}

.card-timer {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 5;
    border: 1px solid rgba(255,255,255,0.1);
    direction: ltr;
}

    .card-timer i {
        font-style: normal;
    }

.offer-img {
    width: 100%;
    height: 160px;
    background: #fff;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

    .offer-img img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.price-wrapper {
    min-height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.new-price {
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    display: block;
}

.old-price {
    text-decoration: line-through;
    color: #666;
    font-size: 14px;
    height: 20px;
    display: block;
    visibility: hidden;
}

    .old-price.visible {
        visibility: visible;
    }

.buy-now {
    width: 100%;
    background: var(--mhd-bs-red);
    color: white !important;
    border: none;
    padding: 12px;
    border-radius: 15px;
    font-weight: 800;
    cursor: pointer;
    margin-top: 15px;
    text-align: center;
}

.nav-btn {
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

    .nav-btn:hover {
        background: var(--mhd-bs-red);
    }

.prev-btn {
    /*left: -20px;*/
    right: calc(100% - 20px);
}

.next-btn {
    right: -20px;
}

.mahd-creative-row {
    position: relative;
    direction: rtl;
    background: #1a0b0c;
    padding: 60px 20px;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.mahd-bg-fx {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.mahd-orb {
    position: absolute;
    background: radial-gradient(circle, rgba(239, 57, 78, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: mahdFloat 12s infinite alternate ease-in-out;
}

.mahd-orb-1 {
    width: 300px;
    height: 300px;
    top: -5%;
    left: -5%;
}

.mahd-orb-2 {
    width: 350px;
    height: 350px;
    bottom: 0;
    right: 0;
    animation-delay: -4s;
}

@keyframes mahdFloat {
    to {
        transform: translate(30px, 50px);
    }
}

.mahd-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    gap: 40px;
    align-items: center;
}

.mahd-glass-menu {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    perspective: 1000px;
}

.mahd-layer {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: 0.4s;
    transform: rotateY(-15deg);
}

    .mahd-layer.active {
        background: rgba(239, 57, 78, 0.2);
        border-color: #ef394e;
        transform: rotateY(0) scale(1.05);
        box-shadow: 0 5px 20px rgba(239, 57, 78, 0.3);
    }

    .mahd-layer i {
        color: #ef394e;
        font-size: 1.3rem;
    }

.mahd-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.mahd-title {
    color: #fff;
    font-weight: bold;
    font-size: 0.95rem;
}

.mahd-code {
    font-size: 0.65rem;
    color: #888;
    font-family: sans-serif;
}

.mahd-main-display {
    flex: 1;
    height: 480px;
    -webkit-box-reflect: below 10px linear-gradient(transparent 80%, rgba(255,255,255,0.05));
}

.mahd-glass-frame {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.mahd-asset-container {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

    .mahd-asset-container.active {
        opacity: 1;
        transform: translateY(0);
    }

.mahd-asset {
    max-width: 100%;
    max-height: 65%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.5));
}

.mahd-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #ef394e 0%, #c92a3a 100%);
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(239, 57, 78, 0.4);
    letter-spacing: 0.5px;
}

    .mahd-view-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
        transition: left 0.6s;
    }

    .mahd-view-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 35px rgba(239, 57, 78, 0.5);
    }

        .mahd-view-btn:hover::before {
            left: 100%;
        }

    .mahd-view-btn i {
        font-size: 1rem;
        transition: transform 0.3s;
    }

    .mahd-view-btn:hover i {
        transform: translateX(5px);
    }

.mahd-actions {
    display: flex;
    gap: 12px;
    margin-top: 5px;
}

.mahd-circle-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #ef394e;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .mahd-circle-btn:hover {
        background: #ef394e;
        box-shadow: 0 0 15px #ef394e;
    }

@media (max-width: 992px) {
    .mahd-creative-row {
        padding: 40px 10px;
        min-height: auto;
    }

    .mahd-content-wrapper {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .mahd-glass-menu {
        width: 100%;
        flex: none;
        transform: none;
    }

    .mahd-layer {
        transform: none;
    }

    .mahd-main-display {
        width: 100%;
        height: 350px;
        -webkit-box-reflect: none;
    }

    .mahd-asset-container {
        position: relative;
        transform: none;
        display: none;
        padding: 15px;
        gap: 15px;
    }

        .mahd-asset-container.active {
            display: flex;
            opacity: 1;
        }

    .mahd-asset {
        max-width: 100%;
        max-height: 55%;
        width: auto;
        height: auto;
    }

    .mahd-view-btn {
        padding: 12px 24px;
        font-size: 0.85rem;
    }

    .mahd-actions {
        margin-top: 0;
    }
}

.mhd-ribbon-wrapper {
    padding: 60px 0;
    background: #fff;
    direction: rtl;
    overflow: hidden;
}

.mhd-container {
    width: 90%;
    margin: 0 auto;
}

.mhd-flex-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.mhd-main-title {
    font-size: 30px;
    font-weight: 950;
    color: var(--darker-gray);
    margin: 0;
}

.mhd-accent {
    color: var(--mhd-bs-red);
}

.mhd-sub-title {
    color: #62666d;
    margin: 8px 0 0;
    font-size: 15px;
}

.mhd-nav-arrows {
    display: flex;
    gap: 10px;
}

.mhd-arrow-btn {
    width: 45px;
    height: 45px;
    border-radius: 14px;
    border: 2px solid #f1f5f9;
    background: #fff;
    cursor: pointer;
    font-size: 18px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--darker-gray);
}

    .mhd-arrow-btn:hover {
        background: var(--mhd-bs-red);
        color: #fff;
        border-color: var(--mhd-bs-red);
    }

.mhd-ribbon-viewport {
    width: 100%;
    position: relative;
    padding: 10px 0;
    cursor: grab;
}

.mhd-ribbon-track {
    display: flex;
    gap: 25px;
    width: max-content;
    animation: mhdAutoScroll 40s linear infinite;
    will-change: transform;
}

    .mhd-ribbon-track:hover {
        animation-play-state: paused;
    }

.mhd-item {
    width: 160px;
    flex-shrink: 0;
    text-align: center;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mhd-box {
    width: 130px;
    height: 130px;
    border-radius: 40px;
    background: #fdfdfd;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    border: 1px solid #eee;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}

    .mhd-box img {
        width: 65%;
        z-index: 1;
        transition: 0.5s;
        filter: drop-shadow(0 5px 10px rgba(0,0,0,0.05));
    }

.mhd-item span {
    font-size: 15px;
    font-weight: 800;
    color: #444;
    transition: 0.3s;
}

.mhd-item:hover {
    transform: translateY(-8px);
}

    .mhd-item:hover .mhd-box {
        border-color: var(--mhd-bs-red);
        box-shadow: 0 15px 30px rgba(239, 57, 78, 0.15);
    }

        .mhd-item:hover .mhd-box img {
            transform: scale(1.15) rotate(-5deg);
            filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
        }

    .mhd-item:hover span {
        color: var(--mhd-bs-red);
    }

@keyframes mhdAutoScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50%);
    }
}

@media (max-width: 768px) {
    .mhd-main-title {
        font-size: 24px;
    }

    .mhd-item {
        width: 130px;
    }

    .mhd-box {
        width: 110px;
        height: 110px;
        border-radius: 30px;
    }
}

.pro-infinite-section {
    padding: 40px 0;
    background: #1a1a1a;
    position: relative;
    overflow: hidden;
    direction: ltr;
}

.container {
    width: 92%;
    margin: 0 auto;
    direction: rtl;
    position: relative;
    z-index: 2;
}
/* ================= HEADER ================= */
.slider-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    border-right: 6px solid var(--mhd-bs-red);
    padding-right: 25px;
}

.header-content {
    display: flex;
    flex-direction: column;
}

.slider-header-modern h2 {
    font-size: 34px;
    font-weight: 900;
    color: #fff;
    margin: 0;
}

.slider-header-modern p {
    color: #aaa;
    font-size: 16px;
    margin-top: 8px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.live-badge {
    background: rgba(239, 57, 78, 0.1);
    color: var(--mhd-bs-red);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
    border: 1px solid var(--mhd-bs-red);
}
/* ================= SLIDER ================= */
.infinite-outer-wrapper {
    width: 100%;
    display: flex;
    padding: 20px 0;
    position: relative;
    z-index: 2;
    cursor: grab;
}

    .infinite-outer-wrapper:active {
        cursor: grabbing;
    }

.infinite-track-modern {
    display: flex;
    gap: 30px;
    animation: slideForward 80s linear infinite;
    will-change: transform;
    user-select: none;
}

    .infinite-track-modern:hover {
        animation-play-state: paused;
    }
/* ================= CARD ================= */
.pro-card-modern {
    width: 310px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 35px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    direction: rtl;
    transition: all 0.4s ease;
    flex-shrink: 0;
    position: relative;
    pointer-events: none;
}

    .pro-card-modern * {
        pointer-events: auto;
    }

    .pro-card-modern:hover {
        border-color: var(--mhd-bs-red);
        background: rgba(255, 255, 255, 0.06);
    }

.pro-discount {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--mhd-bs-red);
    color: #fff;
    padding: 6px 14px;
    border-radius: 12px;
    font-weight: 900;
    font-size: 14px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
    box-shadow: 0 4px 10px rgba(239, 57, 78, 0.4);
}

.pro-img-wrapper {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    background: rgba(255,255,255,0.05);
    border-radius: 25px;
}

    .pro-img-wrapper img {
        max-width: 80%;
        max-height: 80%;
        object-fit: contain;
    }

.pro-name {
    font-size: 15px;
    font-weight: 800;
    color: #eee;
    line-height: 1.8;
    height: 54px;
    overflow: hidden;
    margin-bottom: 25px;
}

.pro-price-box {
    margin-bottom: 25px;
    text-align: right;
}

.old-price {
    display: block;
    text-decoration: line-through;
    color: #777;
    font-size: 14px;
    height: 20px;
}

.current-price {
    font-size: 24px;
    font-weight: 950;
    color: #fff;
}

    .current-price span {
        font-size: 12px;
        color: var(--mhd-bs-red);
        margin-right: 5px;
    }

.pro-cart-btn {
    width: 100%;
    padding: 15px;
    border-radius: 20px;
    border: none;
    background: rgba(255,255,255,0.1);
    color: #fff !important;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
    display: inline-block;
    text-align: center;
}

    .pro-cart-btn:hover {
        background: var(--mhd-bs-red);
    }

.card-timer {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 5;
    border: 1px solid rgba(255,255,255,0.1);
    direction: ltr;
    white-space: nowrap;
}
/* ================= ANIMATION ================= */
@keyframes slideForward {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}
/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 992px) {
    .slider-header-modern {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .header-actions {
        width: 100%;
        justify-content: space-between;
    }

    .slider-header-modern h2 {
        font-size: 26px;
    }

    .pro-card-modern {
        width: 260px;
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .pro-infinite-section {
        padding: 60px 0;
    }

    .slider-header-modern h2 {
        font-size: 20px;
    }

    .pro-card-modern {
        width: 220px;
    }
}

.mhd-brands-section {
    padding: 60px 0;
    background: #ffffff;
    direction: rtl;
    overflow: hidden;
}

.mhd-container {
    width: 90%;
    margin: 0 auto;
    max-width: 1300px;
}

.mhd-brand-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 20px;
}

.mhd-brand-title {
    font-size: 24px;
    font-weight: 900;
    color: var(--darker-gray);
    margin: 0;
}

.mhd-accent {
    color: var(--mhd-bs-red);
}

.mhd-brand-subtitle {
    font-family: var(--font-main) !important;
    color: var(--secondary);
    font-size: 14px;
    margin: 8px 0 0 0;
}

.mhd-btn-all {
    font-family: var(--font-main) !important;
    text-decoration: none;
    color: var(--secondary);
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    transition: 0.3s;
}

    .mhd-btn-all:hover {
        background: var(--mhd-bs-red);
        color: #fff;
        border-color: var(--mhd-bs-red);
    }

.mhd-slider-container {
    position: relative;
    width: 100%;
    padding: 20px 0;
}

.mhd-brand-track {
    display: flex;
    width: max-content;
    animation: mhdInfiniteScroll 30s linear infinite;
    gap: 30px;
}

    .mhd-brand-track:hover {
        animation-play-state: paused;
    }

.mhd-brand-card {
    width: 180px;
    height: 100px;
    background: var(--mhd-bg-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid transparent;
    filter: grayscale(1);
    opacity: 0.6;
}

    .mhd-brand-card img {
        max-width: 80%;
        max-height: 50px;
        object-fit: contain;
    }

    .mhd-brand-card:hover {
        filter: grayscale(0);
        opacity: 1;
        background: #fff;
        border-color: var(--mhd-bs-red);
        box-shadow: 0 15px 35px rgba(239, 57, 78, 0.1);
        transform: translateY(-5px) scale(1.05);
    }

.mhd-mask-left, .mhd-mask-right {
    position: absolute;
    top: 0;
    height: 100%;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.mhd-mask-right {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}

.mhd-mask-left {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}

@keyframes mhdInfiniteScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(180px * 6 + 30px * 6));
    }
}

@media (max-width: 768px) {
    .mhd-brand-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .mhd-brand-card {
        width: 140px;
        height: 80px;
    }

    .mhd-mask-left, .mhd-mask-right {
        width: 60px;
    }
}

:root {
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);
}

.hotspot-section-modern {
    padding: 80px 0;
    direction: rtl;
    background: #f4f4f4;
}

.hotspot-header {
    text-align: center;
    margin-bottom: 60px;
}

    .hotspot-header h2 {
        font-size: 36px;
        font-weight: 900;
        color: #111;
        letter-spacing: -1px;
    }

    .hotspot-header .highlight {
        color: var(--mhd-bs-red);
        position: relative;
        display: inline-block;
    }

        .hotspot-header .highlight::after {
            content: '';
            position: absolute;
            bottom: 5px;
            left: 0;
            width: 100%;
            height: 8px;
            background: rgba(239, 57, 78, 0.2);
            z-index: -1;
            border-radius: 4px;
        }

    .hotspot-header p {
        color: #666;
        margin-top: 15px;
        font-size: 18px;
        font-weight: 500;
    }

.hotspot-wrapper {
    position: relative;
    width: 100%;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    transition: 0.5s ease;
}

.main-ws-img {
    width: 100%;
    display: block;
    transition: 0.6s ease;
    filter: grayscale(20%);
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
    opacity: 0;
    transition: 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.hotspot-wrapper:hover .main-ws-img {
    transform: scale(1.03);
    filter: grayscale(0%);
}

.hotspot-wrapper:hover .overlay {
    opacity: 1;
}

.spot {
    position: absolute;
    z-index: 10;
    cursor: pointer;
    transform: translate(-50%, -50%);
}

.spot-pin {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.crosshair-h, .crosshair-v {
    position: absolute;
    background: var(--mhd-bs-red);
    opacity: 0.6;
    z-index: 1;
}

.crosshair-h {
    width: 100%;
    height: 1px;
}

.crosshair-v {
    width: 1px;
    height: 100%;
}

.scanner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px dashed var(--mhd-bs-red);
    border-radius: 50%;
    animation: spin 8s linear infinite;
    opacity: 0.4;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.pin-outer {
    position: absolute;
    width: 24px;
    height: 24px;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(239, 57, 78, 0.5);
    z-index: 2;
    transition: 0.3s;
}

.pin-inner {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--mhd-bs-red);
    border-radius: 50%;
    z-index: 3;
    box-shadow: 0 0 15px var(--mhd-bs-red);
    transition: 0.3s;
}

.spot:hover .spot-pin {
    transform: scale(1.15);
}

.spot:hover .pin-outer {
    border-color: var(--mhd-bs-red);
    background: rgba(239, 57, 78, 0.1);
}

.spot:hover .pin-inner {
    background: #fff;
    box-shadow: 0 0 20px #fff, 0 0 40px var(--mhd-bs-red);
}

.spot:hover .crosshair-h, .spot:hover .crosshair-v {
    opacity: 1;
    background: #fff;
}

.spot-card {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    width: 280px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 20px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1), 0 0 0 1px rgba(255,255,255,0.5) inset;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: right;
}

    .spot-card::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 50%;
        transform: translateX(-50%);
        border-width: 8px 8px 0;
        border-style: solid;
        border-color: var(--glass-bg) transparent transparent transparent;
        filter: drop-shadow(0 -2px 2px rgba(0,0,0,0.05));
    }

.card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #fff, #f0f0f0);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: var(--mhd-bs-red);
    box-shadow: 0 8px 16px rgba(239, 57, 78, 0.15);
    flex-shrink: 0;
}

.card-text h4 {
    font-size: 15px;
    font-weight: 800;
    color: #222;
    margin: 0 0 4px 0;
}

.card-text p {
    font-size: 12px;
    color: #555;
    line-height: 1.5;
    margin: 0 0 10px 0;
}

.card-btn {
    font-size: 11px;
    text-decoration: none;
    color: var(--mhd-bs-red);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: 0.2s;
}

    .card-btn:hover {
        gap: 8px;
        color: #c00;
    }

.spot:hover .spot-card {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.bundle-footer {
    margin-top: 50px;
    background: #fff;
    padding: 40px;
    border-radius: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.bundle-info h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 5px;
    color: #111;
}

.bundle-info p {
    color: #777;
}

.bundle-btn {
    background: var(--mhd-bs-red);
    color: #fff;
    border: none;
    padding: 16px 40px;
    border-radius: 16px;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 10px 25px rgba(239, 57, 78, 0.3);
}

    .bundle-btn:hover {
        background: #d32f2f;
        transform: translateY(-3px);
        box-shadow: 0 15px 30px rgba(239, 57, 78, 0.4);
    }

@media (max-width: 992px) {
    .bundle-footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 30px;
    }

    .spot-card {
        width: 240px;
        flex-direction: column;
        text-align: center;
        bottom: 70px;
    }

        .spot-card::after {
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
        }

    .card-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
