.digital-product-notice {
  display: block;
  width: 100%;
  box-sizing: border-box;
  direction: rtl;
  text-align: right;
  margin: 0 0 12px;
  padding: 12px 14px;
  background: #fff8e6;
  border: 1px solid #e5b94f;
  border-radius: 10px;
  color: #594000;
  font-size: 14px;
  line-height: 1.8;
}

.digital-product-notice strong {
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
  color: #332500;
}

.digital-product-notice span {
  display: block;
}

.protected-products-cart-notice {
  margin-bottom: 15px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

@media (max-width: 768px) {
  .digital-product-notice {
    padding: 11px 12px;
    font-size: 13px;
    line-height: 1.7;
  }
}

/* ===== واجهة مكتبة الأثر ===== */
.athar-library-intro {
    position: relative;
    overflow: hidden;
    max-width: 1180px;
    margin: 20px auto 34px;
    padding: 38px 24px;
    text-align: center;
    direction: rtl;
    border: 1px solid rgba(196, 153, 73, 0.45);
    border-radius: 18px;
    background:
        radial-gradient(
            circle at top right,
            rgba(196, 153, 73, 0.18),
            transparent 34%
        ),
        linear-gradient(135deg, #071426 0%, #101d34 55%, #07111f 100%);
    box-shadow: 0 14px 35px rgba(8, 18, 35, 0.14);
}

.athar-library-intro::before,
.athar-library-intro::after {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(213, 171, 86, 0.18);
    border-radius: 50%;
}

.athar-library-intro::before {
    top: -105px;
    right: -65px;
}

.athar-library-intro::after {
    bottom: -120px;
    left: -75px;
}

.athar-library-intro__label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 12px;
    padding: 7px 16px;
    color: #edcc84;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid rgba(237, 204, 132, 0.38);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
}

.athar-library-intro__title {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #ffffff;
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: -0.5px;
}

.athar-library-intro__title::after {
    content: "";
    display: block;
    width: 74px;
    height: 3px;
    margin: 15px auto 0;
    border-radius: 10px;
    background: linear-gradient(90deg, #9e722c, #f1d28b, #9e722c);
}

.athar-library-intro__subtitle {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 17px auto 0;
    color: #d9e1ed;
    font-size: clamp(16px, 2vw, 21px);
    font-weight: 500;
    line-height: 1.9;
}

/* الجوال */
@media (max-width: 767px) {
    .athar-library-intro {
        margin: 14px 10px 25px;
        padding: 28px 15px;
        border-radius: 14px;
    }

    .athar-library-intro__title {
        font-size: 29px;
    }

    .athar-library-intro__subtitle {
        font-size: 15px;
        line-height: 1.8;
    }

    .athar-library-intro__label {
        font-size: 12px;
    }
}

.athar-library-intro__platforms {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    margin-top: 20px;
    direction: ltr;
}

.athar-library-intro__platforms span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    color: #f2d38d;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1px;
    border: 1px solid rgba(237, 204, 132, 0.34);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

@media (max-width: 767px) {
    .athar-library-intro__platforms {
        gap: 7px;
        margin-top: 16px;
    }

    .athar-library-intro__platforms span {
        padding: 7px 10px;
        font-size: 11px;
    }
}

/* ==================================================
   بانر مكتبة الباقات الاحترافية
================================================== */

.ready-bundles-intro {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto 34px;
    padding: 46px 24px 40px;
    direction: rtl;
    text-align: center;
    color: #ffffff;
    border: 1px solid rgba(213, 171, 86, 0.45);
    border-radius: 20px;
    background:
        radial-gradient(
            circle at 12% 12%,
            rgba(116, 84, 190, 0.22),
            transparent 31%
        ),
        radial-gradient(
            circle at 90% 86%,
            rgba(213, 171, 86, 0.14),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #071326 0%,
            #101b31 55%,
            #081221 100%
        );
    box-shadow:
        0 18px 42px rgba(7, 17, 38, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ready-bundles-intro::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.18;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.08) 1px,
            transparent 1px
        );
    background-size: 42px 42px;
    mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.8),
            transparent 85%
        );
}

.ready-bundles-intro::after {
    content: "";
    position: absolute;
    top: -130px;
    left: -80px;
    width: 270px;
    height: 270px;
    border: 1px solid rgba(230, 194, 119, 0.18);
    border-radius: 50%;
    box-shadow:
        0 0 0 34px rgba(230, 194, 119, 0.035),
        0 0 0 70px rgba(230, 194, 119, 0.025);
}

.ready-bundles-intro__content {
    position: relative;
    z-index: 2;
}

.ready-bundles-intro__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 8px 17px;
    color: #f2ce7a;
    font-size: 13px;
    font-weight: 800;
    border: 1px solid rgba(242, 206, 122, 0.42);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
}

.ready-bundles-intro__title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: -0.6px;
}

.ready-bundles-intro__title::after {
    content: "";
    display: block;
    width: 82px;
    height: 3px;
    margin: 16px auto 0;
    border-radius: 10px;
    background:
        linear-gradient(
            90deg,
            #956b27,
            #f1d488,
            #956b27
        );
}

.ready-bundles-intro__subtitle {
    max-width: 900px;
    margin: 20px auto 0;
    color: #e5ebf4;
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 500;
    line-height: 1.95;
}

.ready-bundles-intro__features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    margin-top: 22px;
}

.ready-bundles-intro__feature {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 8px 15px;
    color: #f3d58c;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid rgba(243, 213, 140, 0.32);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
}

.ready-bundles-intro__feature strong {
    color: #ffffff;
    font-weight: 800;
}

.ready-bundles-intro__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 205px;
    margin-top: 25px;
    padding: 13px 25px;
    color: #071126;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    background:
        linear-gradient(
            135deg,
            #d4a94e,
            #f4dc8b,
            #c89436
        );
    box-shadow:
        0 9px 24px rgba(207, 159, 60, 0.23),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.ready-bundles-intro__button:hover {
    color: #071126;
    transform: translateY(-2px);
    box-shadow:
        0 13px 28px rgba(207, 159, 60, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

@media (max-width: 767px) {
    .ready-bundles-intro {
        margin-bottom: 25px;
        padding: 31px 14px 28px;
        border-radius: 15px;
    }

    .ready-bundles-intro__label {
        padding: 7px 12px;
        font-size: 11px;
    }

    .ready-bundles-intro__title {
        font-size: 29px;
    }

    .ready-bundles-intro__subtitle {
        margin-top: 17px;
        font-size: 14.5px;
        line-height: 1.85;
    }

    .ready-bundles-intro__features {
        gap: 7px;
        margin-top: 18px;
    }

    .ready-bundles-intro__feature {
        min-height: 33px;
        padding: 6px 10px;
        font-size: 11px;
    }

    .ready-bundles-intro__button {
        width: 100%;
        max-width: 300px;
        min-width: 0;
        margin-top: 21px;
        padding: 12px 18px;
        font-size: 14px;
    }
}

/* ===== بوابة الباقات في الصفحة الرئيسية ===== */

.home-bundles-promo {
    position: relative;
    overflow: hidden;
    width: calc(100% - 24px);
    max-width: 1280px;
    margin: 18px auto 28px;
    padding: 30px 34px;
    direction: rtl;
    color: #fff;
    border: 1px solid rgba(229, 187, 91, 0.46);
    border-radius: 20px;
    background:
        radial-gradient(
            circle at 8% 25%,
            rgba(118, 83, 191, 0.24),
            transparent 30%
        ),
        linear-gradient(
            125deg,
            #071327 0%,
            #101c34 58%,
            #07101e 100%
        );
    box-shadow:
        0 16px 38px rgba(7, 17, 38, 0.17),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.home-bundles-promo::before {
    content: "";
    position: absolute;
    top: -100px;
    left: -80px;
    width: 240px;
    height: 240px;
    border: 1px solid rgba(236, 201, 120, 0.15);
    border-radius: 50%;
    box-shadow:
        0 0 0 35px rgba(236, 201, 120, 0.025),
        0 0 0 70px rgba(236, 201, 120, 0.018);
}

.home-bundles-promo__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.home-bundles-promo__content {
    flex: 1;
}

.home-bundles-promo__label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
    padding: 6px 13px;
    color: #f0cb72;
    font-size: 12px;
    font-weight: 800;
    border: 1px solid rgba(240, 203, 114, 0.38);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
}

.home-bundles-promo__title {
    margin: 0;
    color: #fff;
    font-size: clamp(25px, 3.2vw, 39px);
    font-weight: 900;
    line-height: 1.35;
}

.home-bundles-promo__text {
    max-width: 780px;
    margin: 11px 0 0;
    color: #dfe7f2;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.9;
}

.home-bundles-promo__features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.home-bundles-promo__features span {
    padding: 6px 11px;
    color: #f2d48b;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid rgba(242, 212, 139, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
}

.home-bundles-promo__button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 210px;
    padding: 14px 22px;
    color: #071126 !important;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none !important;
    border-radius: 13px;
    background:
        linear-gradient(
            135deg,
            #d6a945,
            #f4dc87,
            #c58e2e
        );
    box-shadow:
        0 10px 26px rgba(211, 161, 57, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.home-bundles-promo__button:hover {
    color: #071126 !important;
    transform: translateY(-2px);
    box-shadow:
        0 14px 30px rgba(211, 161, 57, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

@media (max-width: 767px) {
    .home-bundles-promo {
        width: calc(100% - 20px);
        margin: 15px auto 24px;
        padding: 25px 16px;
        border-radius: 15px;
    }

    .home-bundles-promo__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        text-align: center;
    }

    .home-bundles-promo__label {
        margin-inline: auto;
    }

    .home-bundles-promo__title {
        font-size: 27px;
    }

    .home-bundles-promo__text {
        font-size: 14px;
        line-height: 1.8;
    }

    .home-bundles-promo__features {
        justify-content: center;
    }

    .home-bundles-promo__features span {
        font-size: 10.5px;
    }

    .home-bundles-promo__button {
        width: 100%;
        min-width: 0;
    }
}

/* ==================================================
   بانر كتاب الاختطاف في الصفحة الرئيسية
================================================== */

.hijacked-home-promo {
    position: relative;
    overflow: hidden;
    width: calc(100% - 24px);
    max-width: 1280px;
    margin: 24px auto 30px;
    direction: rtl;
    color: #ffffff;
    border: 1px solid rgba(224, 177, 75, 0.48);
    border-radius: 22px;
    background:
        radial-gradient(
            circle at 8% 20%,
            rgba(174, 31, 31, 0.26),
            transparent 32%
        ),
        radial-gradient(
            circle at 90% 90%,
            rgba(221, 177, 77, 0.15),
            transparent 30%
        ),
        linear-gradient(
            125deg,
            #050b14 0%,
            #0a172b 54%,
            #11100e 100%
        );
    box-shadow:
        0 18px 45px rgba(4, 11, 24, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hijacked-home-promo::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.17;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.07) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.07) 1px,
            transparent 1px
        );
    background-size: 46px 46px;
    mask-image:
        linear-gradient(
            to left,
            rgba(0, 0, 0, 0.72),
            transparent 78%
        );
}

.hijacked-home-promo::after {
    content: "";
    position: absolute;
    top: -125px;
    right: -80px;
    width: 270px;
    height: 270px;
    border: 1px solid rgba(226, 183, 88, 0.16);
    border-radius: 50%;
    box-shadow:
        0 0 0 34px rgba(226, 183, 88, 0.028),
        0 0 0 70px rgba(226, 183, 88, 0.018);
}

.hijacked-home-promo__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 205px;
    align-items: center;
    gap: 38px;
    min-height: 380px;
    padding: 38px 42px;
}

.hijacked-home-promo__content {
    min-width: 0;
}

.hijacked-home-promo__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 7px 14px;
    color: #f0cd78;
    font-size: 12px;
    font-weight: 900;
    border: 1px solid rgba(240, 205, 120, 0.4);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
}

.hijacked-home-promo__label::before {
    content: "!";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    border-radius: 50%;
    background: #b41f24;
}

.hijacked-home-promo__title {
    max-width: 850px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(29px, 4vw, 48px);
    font-weight: 950;
    line-height: 1.35;
    letter-spacing: -0.6px;
}

.hijacked-home-promo__title strong {
    color: #f0c965;
    font-weight: 950;
}

.hijacked-home-promo__text {
    max-width: 850px;
    margin: 17px 0 0;
    color: #e2e8f1;
    font-size: clamp(15px, 1.8vw, 18px);
    font-weight: 500;
    line-height: 2;
}

.hijacked-home-promo__features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.hijacked-home-promo__features span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    color: #f0d48c;
    font-size: 12px;
    font-weight: 800;
    border: 1px solid rgba(240, 212, 140, 0.3);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
}

.hijacked-home-promo__note {
    display: block;
    margin-top: 15px;
    color: #bec9d7;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.7;
}

.hijacked-home-promo__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 205px;
    margin-top: 22px;
    padding: 14px 23px;
    color: #08101d !important;
    font-size: 15px;
    font-weight: 950;
    text-decoration: none !important;
    border-radius: 12px;
    background:
        linear-gradient(
            135deg,
            #ca922e,
            #f2d67c,
            #c28728
        );
    box-shadow:
        0 11px 27px rgba(201, 145, 43, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.hijacked-home-promo__button:hover {
    color: #08101d !important;
    transform: translateY(-2px);
    box-shadow:
        0 15px 32px rgba(201, 145, 43, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.hijacked-home-promo__cover {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 300px;
}

.hijacked-home-promo__cover::before {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: rgba(196, 35, 38, 0.15);
    filter: blur(30px);
}

.hijacked-home-promo__cover img {
    position: relative;
    z-index: 2;
    display: block;
    width: auto;
    max-width: 190px;
    max-height: 295px;
    object-fit: contain;
    border: 1px solid rgba(236, 204, 127, 0.36);
    border-radius: 8px;
    box-shadow:
        -18px 22px 38px rgba(0, 0, 0, 0.38),
        0 0 28px rgba(176, 32, 35, 0.13);
    transform: perspective(900px) rotateY(-5deg);
}

.hijacked-home-promo--without-cover
.hijacked-home-promo__inner {
    grid-template-columns: 1fr;
}

.hijacked-home-promo--without-cover
.hijacked-home-promo__cover {
    display: none;
}

@media (max-width: 767px) {
    .hijacked-home-promo {
        width: calc(100% - 20px);
        margin: 18px auto 25px;
        border-radius: 16px;
    }

    .hijacked-home-promo__inner {
        grid-template-columns: 1fr;
        gap: 22px;
        min-height: 0;
        padding: 27px 16px 25px;
        text-align: center;
    }

    .hijacked-home-promo__label {
        margin-inline: auto;
    }

    .hijacked-home-promo__title {
        font-size: 28px;
        line-height: 1.45;
    }

    .hijacked-home-promo__text {
        margin-top: 14px;
        font-size: 14px;
        line-height: 1.9;
    }

    .hijacked-home-promo__features {
        justify-content: center;
        margin-top: 17px;
    }

    .hijacked-home-promo__features span {
        padding: 6px 9px;
        font-size: 10.5px;
    }

    .hijacked-home-promo__button {
        width: 100%;
        max-width: 310px;
        min-width: 0;
        margin-top: 19px;
    }

    .hijacked-home-promo__cover {
        order: -1;
        min-height: 0;
    }

    .hijacked-home-promo__cover img {
        max-width: 145px;
        max-height: 225px;
        transform: none;
    }

    .hijacked-home-promo__note {
        font-size: 11px;
    }
}

/* مطابقة بانر الاختطاف تمامًا مع مقاس بانر مكتبة الباقات */

.hijacked-home-promo {
    width: calc(100% - 24px) !important;
    max-width: 1280px !important;
    height: 285px !important;
    min-height: 285px !important;
    margin: 18px auto 28px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    border-radius: 20px !important;
}

.hijacked-home-promo__inner,
.hijacked-home-promo--without-cover
.hijacked-home-promo__inner {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    padding: 30px 34px !important;
    box-sizing: border-box !important;
}

.hijacked-home-promo__content {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 210px !important;
    grid-template-rows: auto auto auto auto auto !important;
    column-gap: 28px !important;
    align-content: center !important;
    width: 100% !important;
    height: 100% !important;
}

.hijacked-home-promo__label {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    margin: 0 0 8px !important;
}

.hijacked-home-promo__title {
    grid-column: 1 !important;
    grid-row: 2 !important;
    margin: 0 !important;
    font-size: clamp(25px, 3.2vw, 39px) !important;
    line-height: 1.35 !important;
}

.hijacked-home-promo__text {
    grid-column: 1 !important;
    grid-row: 3 !important;
    margin: 8px 0 0 !important;
    font-size: 16px !important;
    line-height: 1.75 !important;
}

.hijacked-home-promo__features {
    grid-column: 1 !important;
    grid-row: 4 !important;
    margin: 10px 0 0 !important;
}

.hijacked-home-promo__note {
    grid-column: 1 !important;
    grid-row: 5 !important;
    margin: 8px 0 0 !important;
}

.hijacked-home-promo__button {
    grid-column: 2 !important;
    grid-row: 1 / 6 !important;
    align-self: center !important;
    justify-self: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
}

.hijacked-home-promo__cover {
    display: none !important;
}

@media (max-width: 767px) {
    .hijacked-home-promo {
        width: calc(100% - 20px) !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 15px auto 24px !important;
        border-radius: 15px !important;
    }

    .hijacked-home-promo__inner,
    .hijacked-home-promo--without-cover
    .hijacked-home-promo__inner {
        height: auto !important;
        padding: 25px 16px !important;
    }

    .hijacked-home-promo__content {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        text-align: center !important;
    }

    .hijacked-home-promo__label {
        align-self: center !important;
    }

    .hijacked-home-promo__title {
        font-size: 27px !important;
    }

    .hijacked-home-promo__text {
        font-size: 14px !important;
        line-height: 1.8 !important;
    }

    .hijacked-home-promo__features {
        justify-content: center !important;
    }

    .hijacked-home-promo__button {
        width: 100% !important;
        max-width: 310px !important;
        align-self: center !important;
        margin-top: 18px !important;
    }
}