/* The bundles landing page (/bundles) — from the developer handoff of 24-11-2026 (RAIZ_Developer_Handoff: mobile first,
   reference width 390px). Every rule is scoped to .rzb so the rest of the site is untouched.
   Units: the hero and each card are their own size containers (cqw = 1% of the hero / the card), so their inside keeps the
   design's proportions at any width; the other parts use --u (1% of a 390–430px phone, capped, larger on desktop).
   (cqw on the container element ITSELF is measured against its parent, so the hero / card corners use --u.) */
.rzb{--ink:#20353a;--green:#12ae94;--orange:#ea761c;--muted:#667d76;--mint:#7fceae;--line:#e3ebe7;--u:min(1vw,4.3px);
    font-family:Alexandria,'Noto Sans Arabic',Tahoma,sans-serif;color:var(--ink);-webkit-font-smoothing:antialiased;
    background:#fff;padding-top:110px;direction:rtl}
@media (max-width:991px){.rzb{padding-top:92px}}
@media (min-width:768px){.rzb{--u:5.2px}}
.rzb *,.rzb *::before,.rzb *::after{box-sizing:border-box}
.rzb h1,.rzb h2,.rzb h3,.rzb p{font-family:inherit}
.rzb button,.rzb a{font:inherit;-webkit-tap-highlight-color:transparent}
.rzb button{cursor:pointer;border:0}
.rzb button:focus-visible,.rzb a:focus-visible,.rzb summary:focus-visible,.rzb .grade-card:focus-visible{outline:2px solid #119e86;outline-offset:3px}
.rzb-inner{max-width:100%;margin-inline:auto}

/* hero (its own container: the design's 350px-wide banner) */
.rzb .hero{width:100%;max-width:860px;aspect-ratio:350/140;margin:10px auto 0;position:relative;isolation:isolate;border-radius:calc(4.6 * var(--u));overflow:hidden;container-type:inline-size}
.rzb .hero-art{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.rzb .hero-copy{position:absolute;right:3.8%;top:22%;width:55%;text-align:right}
.rzb .hero h1{margin:0;font-size:4.74cqw;line-height:1.65;letter-spacing:-.025em;font-weight:700;color:#165547;white-space:nowrap}
.rzb .hero p{margin:1.56cqw 0 0;white-space:nowrap;font-size:3.06cqw;font-weight:500;color:#607f78;line-height:1.5;display:flex;gap:1.23cqw;align-items:center;justify-content:flex-start}
.rzb .hero p i{width:.84cqw;height:.84cqw;background:#f78119;border-radius:100%;display:inline-block}
.rzb .hero-cta{position:absolute;right:3.8%;top:68%;width:27.5%;height:16.4%;background:#f08a3d;color:#fff;border-radius:99px;font-weight:600;font-size:3.34cqw;
    display:grid;place-items:center;text-decoration:none;transition:background .2s,transform .2s,box-shadow .2s}
.rzb .hero-cta:hover{background:#ea761c;box-shadow:0 4px 12px #ea761c30;color:#fff}
.rzb .hero-cta:active{transform:scale(1.06);background:#dc681b}
.rzb .hero-glow{pointer-events:none;position:absolute;inset:0;background:radial-gradient(ellipse at var(--gx,60%) var(--gy,50%),#fff5,transparent 60%);opacity:0;transition:opacity .4s;mix-blend-mode:screen}
.rzb .hero:hover .hero-glow{opacity:.6}

/* title + stage filter */
.rzb #packages{scroll-margin-top:110px}
.rzb .grade-controls{padding:calc(8 * var(--u)) 0 calc(4.1 * var(--u))}
.rzb .section-title{font-size:calc(4.65 * var(--u));line-height:1.55;font-weight:700;margin:0 0 calc(3.7 * var(--u));text-align:right;color:var(--ink)}
.rzb .tabs{display:flex;gap:calc(1.8 * var(--u));margin-inline-end:calc(7 * var(--u));height:calc(7.69 * var(--u));max-width:600px}
.rzb .tab{min-width:0;flex:1;border:1px solid #dde8e2;background:#fff;border-radius:100px;color:#667d76;white-space:nowrap;font-size:calc(2.7 * var(--u));font-weight:600;
    transition:background .18s,transform .18s,color .18s;padding:0}
.rzb .tab:first-child{flex:1.2}
.rzb .tab.active{background:#7fceae;border-color:#66bc99;color:#fff}
.rzb .tab:active{transform:scale(.95)}

/* cards: 2 per row on a phone, 3 on a tablet / laptop; each card is its own container (the design's 166px card) */
.rzb .cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:calc(4.1 * var(--u));align-items:start}
@media (min-width:768px){.rzb .cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}}
@media (min-width:1200px){.rzb .cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}}
.rzb .grade-card{position:relative;width:100%;aspect-ratio:166/254;border:1px solid #e3ebe7;border-radius:calc(3.72 * var(--u));background:#fff;overflow:hidden;
    transition:transform .22s cubic-bezier(.2,.8,.2,1),border-color .2s,box-shadow .2s;isolation:isolate;cursor:pointer;container-type:inline-size;
    display:block;color:inherit;text-decoration:none}
.rzb .grade-card:hover{transform:translateY(-2px);box-shadow:0 6px 12px #23574710;color:inherit}
.rzb .grade-card:active,.rzb .grade-card.pressed{transform:scale(1.035);z-index:2}
.rzb .grade-card[hidden]{display:none}
.rzb .card-art{position:absolute;inset:0 0 auto;height:64.17%;background:var(--tint);transition:filter .25s}
.rzb .grade-card:hover .card-art{filter:saturate(1.13)}
.rzb .package-img{position:absolute;top:7.5%;left:7.4%;width:84.34%;height:49.21%;object-fit:contain;pointer-events:none;user-select:none}
.rzb .grade-card:nth-child(even) .package-img{left:3.92%;width:87.95%}
.rzb .package-fallback{position:absolute;top:12%;left:10%;right:10%;height:40%;display:grid;place-items:center;text-align:center;border-radius:6cqw;
    background:linear-gradient(135deg,#12ae94,#49d1ae);color:#fff;font-size:8cqw;font-weight:700;line-height:1.5;padding:0 4cqw}
.rzb .limited{position:absolute;top:2.85%;left:7.5%;height:6%;padding:0 2.69cqw;display:flex;align-items:center;gap:1.05cqw;background:#fff;color:#e16c19;border-radius:30px;
    font-size:4.5cqw;font-weight:400;box-shadow:0 1px 3px #6036150d;white-space:nowrap}
.rzb .limited svg{width:4.68cqw;height:4.68cqw}
.rzb .card-name{position:absolute;right:7.25%;top:69.3%;margin:0;color:#20373a;white-space:nowrap;font-size:6.3cqw;font-weight:650;letter-spacing:-.04em;line-height:1.5;
    max-width:68%;overflow:hidden;text-overflow:ellipsis}
.rzb .rzb-discount{position:absolute;left:7.5%;top:69.7%;min-width:21.8%;height:5.5%;padding:0 2cqw;background:#fff3e6;border-radius:2.34cqw;color:#e16c19;text-align:center;
    display:grid;place-items:center;font-size:4.4cqw;white-space:nowrap;font-weight:400}
.rzb .rzb-line{position:absolute;top:81.1%;left:7.2%;right:7.2%;height:1px;background:#f0f1f2}
.rzb .card-cart{position:absolute;left:7.25%;top:83.65%;width:48.2%;height:11%;background:#7fceaf;color:#fff;border-radius:3.63cqw;display:flex;align-items:center;
    justify-content:center;gap:1.87cqw;font-size:5.97cqw;font-weight:600;white-space:nowrap;transition:transform .18s,background .18s}
.rzb .card-cart svg{width:6.79cqw;height:6.79cqw;flex:none}
.rzb .grade-card:hover .card-cart{background:#2bae8e}
.rzb .card-cart:active{transform:scale(1.06);background:#168c74}
.rzb .rzb-prices{position:absolute;right:7.25%;top:84%;text-align:right;line-height:1.35;display:grid;gap:1.29cqw}
.rzb .rzb-prices.single{top:86.5%}
.rzb .rzb-old{color:#777;text-decoration:line-through;font-size:4.29cqw;font-weight:400;display:flex;gap:1cqw;align-items:baseline}
.rzb .rzb-price{color:#ef7e22;font-size:7.03cqw;font-weight:650;display:flex;gap:1.4cqw;align-items:baseline}
.rzb svg.sar{width:.78em;height:.86em;fill:currentColor;flex:none}
.rzb .rzb-price svg.sar{width:.62em;height:.7em}

/* short videos */
.rzb .section{margin-top:calc(12.6 * var(--u))}
.rzb .shorts-track{display:flex;gap:calc(2.82 * var(--u));overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;padding-bottom:4px}
.rzb .shorts-track::-webkit-scrollbar{display:none}
.rzb .short{min-width:39.43%;width:39.43%;background:none;padding:0;text-align:right;scroll-snap-align:start;color:var(--ink);text-decoration:none;display:block}
@media (min-width:768px){.rzb .short{min-width:200px;width:200px}}
.rzb .short-cover{aspect-ratio:138/202;border-radius:calc(3.6 * var(--u));overflow:hidden;position:relative;display:grid;place-items:center;background:linear-gradient(130deg,var(--a),var(--b))}
.rzb .short-cover:before,.rzb .short-cover:after{content:'';position:absolute;width:100%;aspect-ratio:1;border-radius:50%;background:#ffffff17}
.rzb .short-cover:before{right:-42%;top:-24%}
.rzb .short-cover:after{left:-46%;bottom:-30%}
.rzb .short-cover b{position:absolute;right:9%;top:9%;left:9%;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;color:#fff;font-size:calc(3.3 * var(--u));line-height:1.65;white-space:pre-line;font-weight:600}
.rzb .play{width:calc(10.8 * var(--u));height:calc(10.8 * var(--u));border-radius:50%;background:#fff;display:grid;place-items:center;z-index:1;transition:transform .2s;color:#147d6b}
.rzb .play svg{width:calc(4.3 * var(--u));height:calc(4.3 * var(--u))}
.rzb .short:hover .play{transform:scale(1.12)}
.rzb .short-caption{display:block;font-size:calc(2.5 * var(--u));font-weight:600;margin:calc(2 * var(--u)) 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* FAQ + help */
.rzb .faq{margin-top:calc(12.7 * var(--u))}
.rzb .faq-list{border:1px solid #88d7b8;border-radius:calc(5.2 * var(--u));overflow:hidden;background:#fff}
.rzb .faq-list details+details{border-top:1px solid #88d7b8}
.rzb .faq-list summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:calc(2.2 * var(--u)) calc(4.5 * var(--u));color:#575757;
    cursor:pointer;font-size:calc(2.8 * var(--u));font-weight:400;line-height:1.65}
.rzb .faq-list summary::-webkit-details-marker{display:none}
.rzb .faq-list summary::after{content:'+';color:#68c4a2;font-size:calc(3.7 * var(--u))}
.rzb .faq-list details[open] summary{background:#f8f6f6}
.rzb .faq-list details[open] summary::after{content:'−'}
.rzb .answer{padding:calc(2.2 * var(--u)) calc(4.5 * var(--u)) calc(3.4 * var(--u));color:#646464;font-size:calc(2.65 * var(--u));line-height:2}
.rzb .help{margin:calc(3.8 * var(--u)) auto 0;text-align:center;padding:0 0 calc(12.5 * var(--u))}
.rzb .help a{display:inline-block;background:#faf8f8;border:1px solid #ababab;border-radius:100px;font-size:calc(2.75 * var(--u));color:#333;padding:calc(1.1 * var(--u)) calc(2.7 * var(--u));
    text-decoration:none;transition:background .18s,transform .18s}
.rzb .help a:hover{background:#e5f6ee}
.rzb .help a:active{transform:scale(1.05)}
@media (prefers-reduced-motion:reduce){.rzb *,.rzb *::before,.rzb *::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* ── desktop / tablet: the hero spans the content width (aligned with the cards) as a lower banner ── */
@media (min-width:768px){
    .rzb{padding-top:100px}
    /* one border only: the banner's corners match the folder art's (14.3% of the height) */
    .rzb .hero{max-width:none;aspect-ratio:350/90;border:0;border-radius:3.68% / 14.3%;margin-top:16px;
        background:linear-gradient(90deg,#cdf1e4 0,#bcedda 45%,#a6e5ce 100%)}
    /* the art's own drawn frame (2px line + pale rim) is pushed just outside the banner, and ONE border is drawn on top */
    .rzb .hero::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1.5px #7ecdad;pointer-events:none;z-index:3}
    /* the folder art at full height on the left, its edge faded into the banner's own gradient */
    .rzb .hero-art{width:auto;height:calc(100% + 8px);top:-4px;left:-4px;right:auto;-webkit-mask-image:linear-gradient(90deg,#000 70%,transparent 99%);mask-image:linear-gradient(90deg,#000 70%,transparent 99%)}
    .rzb .hero-copy{top:22%;right:5%;width:52%}
    .rzb .hero h1{font-size:3.4cqw}
    .rzb .hero p{font-size:1.9cqw;gap:.9cqw;margin-top:1cqw}
    .rzb .hero p i{width:.6cqw;height:.6cqw}
    .rzb .hero-cta{right:5%;top:63%;width:16%;height:19%;font-size:1.8cqw}
    .rzb .grade-controls{padding-top:44px}
}

/* the short video's player window */
.rzb-player{position:fixed;inset:0;z-index:2000;background:rgba(22,55,45,.72);display:grid;place-items:center;padding:16px}
.rzb-player[hidden]{display:none}
.rzb-player-box{position:relative;width:min(380px,100%);aspect-ratio:9/16;max-height:86vh;background:#000;border-radius:18px;overflow:hidden}
@media (min-width:768px){.rzb-player-box{width:min(420px,calc(86vh * 9 / 16))}}
.rzb-player-frame,.rzb-player-frame iframe{width:100%;height:100%;border:0;display:block}
.rzb-player-close{position:absolute;top:8px;left:8px;z-index:2;width:36px;height:36px;border-radius:50%;border:0;background:#fff;color:#20353a;font-size:22px;line-height:1;cursor:pointer}
/* the top: the nav floats over the page's gradient (as on the home page) */
.rzb{margin-top:0}
