/* ============================================================
   LAPTOP PRIME — stylesheet
   Palette derived from brand logo:
   navy #01104e · azure #3aa7ff · sky #68cafe
   Bilingual (EN/AR) · RTL-ready via CSS logical properties
   ============================================================ */

:root {
    /* brand */
    --navy-900: #01104e;
    --navy-850: #061661;
    --navy-800: #0a1f7a;
    --navy-700: #122ea0;
    --azure: #3aa7ff;
    --azure-600: #1f8fef;
    --sky: #68cafe;
    --sky-soft: #bde2ff;
    /* neutrals */
    --ink: #0a1330;
    --slate: #5a6b8c;
    --slate-soft: #8595b3;
    --paper: #f3f7fd;
    --paper-2: #e9f1fb;
    --line: #dce7f4;
    --white: #ffffff;
    /* effects */
    --shadow-sm: 0 2px 10px rgba(10,19,48,.06);
    --shadow-md: 0 14px 40px -14px rgba(10,25,90,.28);
    --shadow-lg: 0 30px 70px -24px rgba(6,22,97,.45);
    --glow: 0 0 60px -10px rgba(58,167,255,.55);
    /* type */
    --font-display: 'Chakra Petch',sans-serif;
    --font-body: 'Cairo',system-ui,sans-serif;
    --wrap: 1200px;
    --radius: 16px;
    --radius-sm: 10px;
    --ease: cubic-bezier(.22,.61,.36,1);
}

/* Arabic swaps display face to Cairo (Chakra Petch has no Arabic glyphs) */
html[dir="rtl"] {
    --font-display: 'Cairo',sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--white);
    line-height: 1.65;
    font-size: 16px;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.1;
    margin: 0;
    font-weight: 700;
    letter-spacing: -.01em;
}

html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4 {
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.25;
}

p {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

:focus-visible {
    outline: 3px solid var(--azure);
    outline-offset: 3px;
    border-radius: 4px;
}

.wrap {
    width: min(100% - 40px,var(--wrap));
    margin-inline: auto;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .78rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--azure-600);
}

html[dir="rtl"] .eyebrow {
    letter-spacing: .04em;
    font-weight: 700;
}
/* signature: skewed "slash" mark echoing the italic logo wordmark */
.eyebrow::before {
    content: "";
    width: 26px;
    height: 11px;
    background: var(--azure);
    transform: skewX(-22deg);
    box-shadow: var(--glow);
    border-radius: 2px;
}

.section {
    padding-block: clamp(64px,8vw,110px);
}

.section-head {
    max-width: 640px;
    margin-bottom: 52px;
}

    .section-head h2 {
        font-size: clamp(1.9rem,4vw,3rem);
        margin-block: 16px 14px;
        color: var(--navy-900);
    }

    .section-head p {
        color: var(--slate);
        font-size: 1.06rem;
    }

.center {
    margin-inline: auto;
    text-align: center;
}

    .center .eyebrow {
        justify-content: center;
    }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .98rem;
    padding: 14px 26px;
    border-radius: 12px;
    transition: .3s var(--ease);
    white-space: nowrap;
}

html[dir="rtl"] .btn {
    font-weight: 700;
}

.btn svg {
    width: 19px;
    height: 19px;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(120deg,var(--azure-600),var(--azure));
    box-shadow: 0 12px 30px -10px rgba(31,143,239,.6);
}

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 20px 40px -12px rgba(31,143,239,.7);
    }

.btn-ghost {
    color: var(--navy-900);
    background: var(--white);
    border: 1.5px solid var(--line);
}

    .btn-ghost:hover {
        border-color: var(--azure);
        color: var(--azure-600);
        transform: translateY(-3px);
    }

.btn-light {
    color: var(--navy-900);
    background: #fff;
}

    .btn-light:hover {
        transform: translateY(-3px);
        box-shadow: 0 16px 34px -12px rgba(0,0,0,.4);
    }

.btn-outline-light {
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.35);
}

    .btn-outline-light:hover {
        background: rgba(255,255,255,.1);
        border-color: #fff;
    }

/* ============================================================
   UTILITY BAR
   ============================================================ */
.utilbar {
    background: var(--navy-900);
    color: #c7d6ef;
    font-size: .82rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

    .utilbar .wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        min-height: 42px;
    }

.util-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

    .util-contact a {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        transition: .25s;
    }

        .util-contact a:hover {
            color: var(--sky);
        }

    .util-contact svg {
        width: 15px;
        height: 15px;
        color: var(--azure);
    }

.util-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.socials {
    display: flex;
    align-items: center;
    gap: 6px;
}

    .socials a {
        width: 28px;
        height: 28px;
        display: grid;
        place-items: center;
        border-radius: 7px;
        color: #c7d6ef;
        transition: .25s var(--ease);
    }

        .socials a:hover {
            background: var(--azure);
            color: #fff;
            transform: translateY(-2px);
        }

    .socials svg {
        width: 15px;
        height: 15px;
    }

.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 20px;
    padding: 3px;
    font-family: var(--font-display);
    font-weight: 600;
}

    .lang-toggle button {
        color: #9db1d4;
        padding: 3px 12px;
        border-radius: 16px;
        font-size: .78rem;
        transition: .25s;
    }

        .lang-toggle button.active {
            background: var(--azure);
            color: #fff;
        }

/* ============================================================
   HEADER
   ============================================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s;
}

    .header.scrolled {
        box-shadow: var(--shadow-sm);
    }

    .header .wrap {
        display: flex;
        align-items: center;
        gap: 24px;
        min-height: 76px;
    }

.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

    .brand img {
        height: 85px;
        width: auto;
    }

.nav {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-inline-start: auto;
}

    .nav a {
        font-family: var(--font-display);
        font-weight: 500;
        font-size: .96rem;
        color: var(--navy-850);
        padding: 10px 15px;
        border-radius: 9px;
        position: relative;
        transition: .25s;
    }

html[dir="rtl"] .nav a {
    font-weight: 600;
}

.nav a::after {
    content: "";
    position: absolute;
    inset-inline: 15px;
    bottom: 6px;
    height: 2px;
    background: var(--azure);
    transform: scaleX(0);
    transform-origin: initial;
    transition: transform .28s var(--ease);
}

.nav a:hover {
    color: var(--azure-600);
}

    .nav a:hover::after {
        transform: scaleX(1);
    }

.header-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.burger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1.5px solid var(--line);
    background: var(--white);
    color: var(--navy-900);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

    .burger svg {
        width: 26px;
        height: 26px;
    }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    background: radial-gradient(1100px 600px at 78% -8%,rgba(58,167,255,.35),transparent 60%), radial-gradient(800px 500px at 0% 100%,rgba(18,46,160,.55),transparent 55%), linear-gradient(160deg,#020c3a 0%,var(--navy-900) 46%,#040f52 100%);
    color: #eaf1ff;
    overflow: hidden;
    isolation: isolate;
}
    /* tech grid overlay */
    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        opacity: .5;
        background-image: linear-gradient(rgba(120,180,255,.09) 1px,transparent 1px), linear-gradient(90deg,rgba(120,180,255,.09) 1px,transparent 1px);
        background-size: 54px 54px;
        mask-image: radial-gradient(circle at 60% 40%,#000 10%,transparent 78%);
        -webkit-mask-image: radial-gradient(circle at 60% 40%,#000 10%,transparent 78%);
    }

    .hero .wrap {
        display: grid;
        grid-template-columns: 1.05fr .95fr;
        align-items: center;
        gap: 40px;
        padding-block: clamp(56px,8vw,104px);
    }

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-size: .76rem;
    color: var(--sky);
    background: rgba(58,167,255,.12);
    border: 1px solid rgba(104,202,254,.3);
    padding: 7px 15px;
    border-radius: 100px;
}

html[dir="rtl"] .hero-eyebrow {
    letter-spacing: .02em;
    font-weight: 700;
}

.hero h1 {
    font-size: clamp(2.4rem,5.4vw,4.1rem);
    line-height: 1.04;
    color: #fff;
    margin-bottom: 22px;
}

html[dir="rtl"] .hero h1 {
    line-height: 1.2;
}

.hero h1 .accent {
    color: transparent;
    background: linear-gradient(120deg,var(--sky),var(--azure));
    -webkit-background-clip: text;
    background-clip: text;
    position: relative;
}

.hero-sub {
    font-size: clamp(1.02rem,1.8vw,1.22rem);
    color: #b8c9ee;
    max-width: 34em;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 38px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 26px;
}

    .hero-trust li {
        display: flex;
        align-items: center;
        gap: 9px;
        font-size: .92rem;
        color: #c9d7f2;
    }

    .hero-trust svg {
        width: 19px;
        height: 19px;
        color: var(--sky);
        flex-shrink: 0;
    }

/* hero laptop illustration */
.hero-visual {
    position: relative;
    display: grid;
    place-items: center;
}

    .hero-visual .laptop {
        width: min(100%,520px);
        filter: drop-shadow(0 40px 60px rgba(0,0,0,.5));
        animation: floaty 6s ease-in-out infinite;
    }

@keyframes floaty {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

@media (prefers-reduced-motion:reduce) {
    .hero-visual .laptop {
        animation: none;
    }
}

.hero-badge {
    position: absolute;
    background: rgba(255,255,255,.96);
    color: var(--navy-900);
    border-radius: 14px;
    padding: 12px 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 11px;
    backdrop-filter: blur(6px);
}

    .hero-badge .ic {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        display: grid;
        place-items: center;
        background: linear-gradient(135deg,var(--azure),var(--sky));
        color: #fff;
        flex-shrink: 0;
    }

        .hero-badge .ic svg {
            width: 20px;
            height: 20px;
        }

    .hero-badge b {
        font-family: var(--font-display);
        font-size: 1.05rem;
        display: block;
        line-height: 1.1;
    }

    .hero-badge span {
        font-size: .76rem;
        color: var(--slate);
    }

    .hero-badge.b1 {
        inset-block-start: 12%;
        inset-inline-start: -6%;
        animation: floaty 6s ease-in-out infinite .6s;
    }

    .hero-badge.b2 {
        inset-block-end: 14%;
        inset-inline-end: -4%;
        animation: floaty 6.5s ease-in-out infinite .3s;
    }

@media (prefers-reduced-motion:reduce) {
    .hero-badge {
        animation: none !important;
    }
}

/* angular bottom divider — the signature slash cut */
.hero-cut {
    position: absolute;
    inset-inline: 0;
    bottom: -1px;
    height: 70px;
    z-index: 2;
    color: #fff;
}

    .hero-cut svg {
        width: 100%;
        height: 100%;
        display: block;
    }

html[dir="rtl"] .hero-cut svg {
    transform: scaleX(-1);
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats {
    background: var(--white);
}

    .stats .wrap {
        display: grid;
        grid-template-columns: repeat(4,1fr);
        gap: 24px;
        margin-top: -40px;
        position: relative;
        z-index: 3;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: var(--radius);
        padding: 34px 30px;
        box-shadow: var(--shadow-md);
    }

.stat {
    text-align: center;
    position: relative;
}

    .stat:not(:last-child)::after {
        content: "";
        position: absolute;
        inset-inline-end: -12px;
        top: 14%;
        height: 72%;
        width: 1px;
        background: var(--line);
    }

html[dir="rtl"] .stat:not(:last-child)::after {
    inset-inline-end: auto;
    inset-inline-start: -12px;
}

.stat b {
    font-family: var(--font-display);
    font-size: clamp(1.9rem,3.6vw,2.6rem);
    color: var(--navy-900);
    display: block;
    line-height: 1;
}

.stat span {
    color: var(--slate);
    font-size: .9rem;
    margin-top: 8px;
    display: block;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
    background: var(--paper);
}

.svc-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 22px;
}

.svc-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: .35s var(--ease);
    position: relative;
    overflow: hidden;
}

    .svc-card::before {
        content: "";
        position: absolute;
        inset-block-start: 0;
        inset-inline-start: 0;
        width: 100%;
        height: 3px;
        background: linear-gradient(90deg,var(--azure),var(--sky));
        transform: scaleX(0);
        transform-origin: inline-start;
        transition: transform .4s var(--ease);
    }

    .svc-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-md);
        border-color: transparent;
    }

        .svc-card:hover::before {
            transform: scaleX(1);
        }

.svc-ic {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    background: linear-gradient(135deg,rgba(58,167,255,.14),rgba(104,202,254,.14));
    color: var(--azure-600);
    transition: .35s var(--ease);
}

    .svc-ic svg {
        width: 28px;
        height: 28px;
    }

.svc-card:hover .svc-ic {
    background: linear-gradient(135deg,var(--azure-600),var(--sky));
    color: #fff;
}

.svc-card h3 {
    font-size: 1.16rem;
    color: var(--navy-900);
    margin-bottom: 9px;
}

.svc-card p {
    color: var(--slate);
    font-size: .94rem;
}

/* ============================================================
   FEATURE BLOCKS (alternating)
   ============================================================ */
.feature .wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(36px,6vw,80px);
}

.feature.flush-top {
    padding-top: 0;
}

.feature.rev .feat-media {
    order: 2;
}

.feat-body h2 {
    font-size: clamp(1.7rem,3.4vw,2.5rem);
    color: var(--navy-900);
    margin-block: 14px 16px;
}

.feat-body > p {
    color: var(--slate);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.feat-list {
    display: grid;
    gap: 14px;
    margin-bottom: 30px;
}

    .feat-list li {
        display: flex;
        gap: 13px;
        align-items: flex-start;
    }

    .feat-list .chk {
        width: 26px;
        height: 26px;
        border-radius: 8px;
        background: rgba(58,167,255,.12);
        color: var(--azure-600);
        display: grid;
        place-items: center;
        flex-shrink: 0;
        margin-top: 1px;
    }

        .feat-list .chk svg {
            width: 15px;
            height: 15px;
        }

    .feat-list b {
        font-family: var(--font-display);
        color: var(--navy-900);
        display: block;
        font-size: 1.02rem;
    }

html[dir="rtl"] .feat-list b {
    font-weight: 700;
}

.feat-list span {
    color: var(--slate);
    font-size: .93rem;
}

.feat-media {
    position: relative;
}

.feat-panel {
    border-radius: calc(var(--radius) + 6px);
    padding: 40px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(155deg,#03113f,var(--navy-900));
    box-shadow: var(--shadow-lg);
    aspect-ratio: 5/4;
    display: grid;
    place-items: center;
}

    .feat-panel::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(120,180,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(120,180,255,.08) 1px,transparent 1px);
        background-size: 40px 40px;
        opacity: .6;
        mask-image: radial-gradient(circle at 50% 30%,#000,transparent 75%);
        -webkit-mask-image: radial-gradient(circle at 50% 30%,#000,transparent 75%);
    }

    .feat-panel svg.illus {
        width: 82%;
        height: auto;
        position: relative;
        z-index: 1;
        filter: drop-shadow(0 20px 30px rgba(0,0,0,.4));
    }

.feat-tag {
    position: absolute;
    z-index: 2;
    background: #fff;
    color: var(--navy-900);
    border-radius: 12px;
    padding: 11px 15px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .86rem;
}

    .feat-tag svg {
        width: 18px;
        height: 18px;
        color: var(--azure-600);
    }

    .feat-tag.t1 {
        inset-block-start: 22px;
        inset-inline-end: 22px;
    }

    .feat-tag.t2 {
        inset-block-end: 22px;
        inset-inline-start: 22px;
    }

    .feat-tag b {
        font-family: var(--font-display);
    }

/* ============================================================
   PROCESS (numbered — genuine sequence)
   ============================================================ */
.process {
    background: var(--navy-900);
    color: #e6eeff;
    position: relative;
    overflow: hidden;
}

    .process::before {
        content: "";
        position: absolute;
        inset: 0;
        opacity: .4;
        background-image: linear-gradient(rgba(120,180,255,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(120,180,255,.07) 1px,transparent 1px);
        background-size: 56px 56px;
        mask-image: radial-gradient(circle at 50% 0%,#000,transparent 70%);
        -webkit-mask-image: radial-gradient(circle at 50% 0%,#000,transparent 70%);
    }

    .process .wrap {
        position: relative;
        z-index: 1;
    }

    .process .section-head h2 {
        color: #fff;
    }

    .process .section-head p {
        color: #a9bde3;
    }

.proc-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 22px;
    counter-reset: step;
}

.proc-step {
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(120,170,255,.16);
    border-radius: var(--radius);
    padding: 30px 26px;
    position: relative;
    transition: .35s var(--ease);
}

    .proc-step:hover {
        background: rgba(58,167,255,.1);
        border-color: rgba(104,202,254,.4);
        transform: translateY(-5px);
    }

.proc-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    color: var(--navy-900);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg,var(--sky),var(--azure));
    margin-bottom: 18px;
    box-shadow: var(--glow);
}

.proc-step h3 {
    color: #fff;
    font-size: 1.18rem;
    margin-bottom: 9px;
}

.proc-step p {
    color: #a9bde3;
    font-size: .93rem;
}

.proc-arrow {
    position: absolute;
    inset-inline-end: -15px;
    top: 44px;
    color: var(--azure);
    z-index: 2;
}

    .proc-arrow svg {
        width: 26px;
        height: 26px;
    }

html[dir="rtl"] .proc-arrow {
    inset-inline-end: auto;
    inset-inline-start: -15px;
    transform: scaleX(-1);
}

.proc-step:last-child .proc-arrow {
    display: none;
}

/* ============================================================
   SHOP TEASER
   ============================================================ */
.shop {
    background: var(--paper);
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 22px;
}

.shop-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 230px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 26px;
    color: #fff;
    background: linear-gradient(160deg,var(--navy-800),var(--navy-900));
    border: 1px solid var(--line);
    transition: .35s var(--ease);
}

    .shop-card::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 80% 12%,rgba(58,167,255,.4),transparent 55%);
        transition: .35s;
    }

    .shop-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-lg);
    }

    .shop-card .shop-ic {
        position: absolute;
        inset-block-start: 22px;
        inset-inline-start: 22px;
        width: 52px;
        height: 52px;
        border-radius: 13px;
        display: grid;
        place-items: center;
        background: rgba(255,255,255,.1);
        border: 1px solid rgba(255,255,255,.16);
        color: var(--sky);
        z-index: 1;
    }

        .shop-card .shop-ic svg {
            width: 26px;
            height: 26px;
        }

    .shop-card h3 {
        font-size: 1.3rem;
        position: relative;
        z-index: 1;
        margin-bottom: 5px;
    }

    .shop-card p {
        position: relative;
        z-index: 1;
        color: #b9caeb;
        font-size: .9rem;
    }

    .shop-card .go {
        position: relative;
        z-index: 1;
        display: inline-flex;
        align-items: center;
        gap: 7px;
        margin-top: 14px;
        color: var(--sky);
        font-family: var(--font-display);
        font-weight: 600;
        font-size: .92rem;
    }

        .shop-card .go svg {
            width: 17px;
            height: 17px;
            transition: transform .3s;
        }

html[dir="rtl"] .shop-card .go svg {
    transform: scaleX(-1);
}

.shop-card:hover .go svg {
    transform: translateX(5px);
}

html[dir="rtl"] .shop-card:hover .go svg {
    transform: scaleX(-1) translateX(5px);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 22px;
}

.testi-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 26px;
    box-shadow: var(--shadow-sm);
}

.stars {
    display: flex;
    gap: 3px;
    margin-bottom: 16px;
    color: #ffb020;
}

    .stars svg {
        width: 18px;
        height: 18px;
    }

.testi-card p {
    color: var(--ink);
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 22px;
}

.testi-who {
    display: flex;
    align-items: center;
    gap: 13px;
}

.testi-av {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg,var(--azure-600),var(--sky));
}

.testi-who b {
    font-family: var(--font-display);
    color: var(--navy-900);
    display: block;
}

.testi-who span {
    color: var(--slate);
    font-size: .85rem;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.ctaband {
    background: var(--white);
}

    .ctaband .wrap {
        background: radial-gradient(700px 340px at 88% 0%,rgba(58,167,255,.4),transparent 60%), linear-gradient(130deg,var(--navy-800),var(--navy-900));
        border-radius: calc(var(--radius) + 8px);
        padding: clamp(40px,6vw,68px);
        color: #fff;
        position: relative;
        overflow: hidden;
        text-align: center;
        box-shadow: var(--shadow-lg);
    }

    .ctaband::before {
        content: "";
        position: absolute;
        inset: 0;
        opacity: .4;
        background-image: linear-gradient(rgba(120,180,255,.09) 1px,transparent 1px),linear-gradient(90deg,rgba(120,180,255,.09) 1px,transparent 1px);
        background-size: 44px 44px;
        mask-image: radial-gradient(circle at 50% 50%,#000,transparent 75%);
        -webkit-mask-image: radial-gradient(circle at 50% 50%,#000,transparent 75%);
    }

    .ctaband h2 {
        font-size: clamp(1.8rem,4vw,2.8rem);
        position: relative;
        z-index: 1;
        margin-bottom: 14px;
    }

    .ctaband p {
        position: relative;
        z-index: 1;
        color: #bcccec;
        max-width: 44ch;
        margin: 0 auto 30px;
        font-size: 1.08rem;
    }

    .ctaband .hero-actions {
        position: relative;
        z-index: 1;
        justify-content: center;
        margin-bottom: 0;
    }

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
    background: var(--paper);
}

    .contact .wrap {
        display: grid;
        grid-template-columns: .9fr 1.1fr;
        gap: clamp(32px,5vw,56px);
        align-items: start;
    }

.contact-info {
    display: grid;
    gap: 18px;
    margin-top: 26px;
}

.ci-row {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.ci-ic {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg,rgba(58,167,255,.14),rgba(104,202,254,.14));
    color: var(--azure-600);
    flex-shrink: 0;
}

    .ci-ic svg {
        width: 22px;
        height: 22px;
    }

.ci-row b {
    font-family: var(--font-display);
    color: var(--navy-900);
    display: block;
    font-size: 1.02rem;
}

html[dir="rtl"] .ci-row b {
    font-weight: 700;
}

.ci-row span, .ci-row a {
    color: var(--slate);
    font-size: .96rem;
}

    .ci-row a:hover {
        color: var(--azure-600);
    }

.form-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(26px,4vw,38px);
    box-shadow: var(--shadow-md);
}

    .form-card h3 {
        font-size: 1.4rem;
        color: var(--navy-900);
        margin-bottom: 6px;
    }

    .form-card > p {
        color: var(--slate);
        font-size: .95rem;
        margin-bottom: 24px;
    }

.field {
    margin-bottom: 16px;
}

    .field label {
        display: block;
        font-family: var(--font-display);
        font-weight: 500;
        font-size: .88rem;
        color: var(--navy-850);
        margin-bottom: 7px;
    }

html[dir="rtl"] .field label {
    font-weight: 600;
}

.field input, .field textarea, .field select {
    width: 100%;
    padding: 13px 15px;
    border: 1.5px solid var(--line);
    border-radius: 11px;
    font-family: var(--font-body);
    font-size: .98rem;
    color: var(--ink);
    background: var(--paper);
    transition: .25s;
}

    .field input:focus, .field textarea:focus, .field select:focus {
        outline: none;
        border-color: var(--azure);
        background: #fff;
        box-shadow: 0 0 0 4px rgba(58,167,255,.12);
    }

.field textarea {
    resize: vertical;
    min-height: 110px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-msg {
    margin-top: 14px;
    padding: 13px 16px;
    border-radius: 11px;
    font-size: .92rem;
    display: none;
}

    .form-msg.ok {
        display: block;
        background: rgba(46,196,120,.12);
        color: #128a4e;
        border: 1px solid rgba(46,196,120,.3);
    }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--navy-900);
    color: #a9bde3;
    padding-block: 64px 28px;
    position: relative;
    overflow: hidden;
}

    .footer::before {
        content: "";
        position: absolute;
        inset-inline: 0;
        inset-block-start: 0;
        height: 3px;
        background: linear-gradient(90deg,var(--navy-900),var(--azure),var(--sky),var(--navy-900));
    }

    .footer .wrap {
        position: relative;
        z-index: 1;
    }

.foot-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 44px;
    border-bottom: 1px solid rgba(255,255,255,.09);
}

.foot-brand img {
    height: 52px;
    margin-bottom: 18px;
}

.foot-brand p {
    color: #8fa6ce;
    font-size: .95rem;
    max-width: 32ch;
    margin-bottom: 20px;
}

.foot-brand .socials a {
    background: rgba(255,255,255,.06);
}

.foot-col h4 {
    font-family: var(--font-display);
    color: #fff;
    font-size: 1rem;
    margin-bottom: 18px;
    letter-spacing: .02em;
}

.foot-col ul {
    display: grid;
    gap: 11px;
}

.foot-col a {
    color: #a9bde3;
    font-size: .94rem;
    transition: .25s;
}

    .foot-col a:hover {
        color: var(--sky);
        padding-inline-start: 5px;
    }

.foot-hours li {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    font-size: .92rem;
    margin-bottom: 10px;
    color: #a9bde3;
}

    .foot-hours li span:last-child {
        color: #fff;
        font-family: var(--font-display);
    }

.foot-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 24px;
    font-size: .86rem;
    color: #7e94bd;
    flex-wrap: wrap;
}

    .foot-bottom a {
        color: #a9bde3;
    }

        .foot-bottom a:hover {
            color: var(--sky);
        }

/* floating whatsapp */
.wa-float {
    position: fixed;
    inset-block-end: 24px;
    inset-inline-end: 24px;
    z-index: 80;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 12px 30px -6px rgba(37,211,102,.6);
    transition: .3s var(--ease);
}

    .wa-float:hover {
        transform: scale(1.08) translateY(-2px);
    }

    .wa-float svg {
        width: 30px;
        height: 30px;
    }

/* reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s var(--ease),transform .7s var(--ease);
}

    .reveal.in {
        opacity: 1;
        transform: none;
    }

@media (prefers-reduced-motion:reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1024px) {
    .svc-grid, .proc-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .proc-arrow {
        display: none;
    }

    .stats .wrap {
        grid-template-columns: repeat(2,1fr);
        gap: 30px 24px;
    }

    .stat:nth-child(2)::after {
        display: none;
    }

    .shop-grid, .testi-grid {
        grid-template-columns: 1fr 1fr;
    }

    .foot-grid {
        grid-template-columns: 1fr 1fr;
        gap: 34px;
    }
}

@media (max-width:860px) {
    .header-cta .btn {
        display: none;
    }

    .burger {
        display: flex;
    }

    /* القائمة الجانبية للموبايل — تنزلق من الجنب */
    .nav {
        display: flex;
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: auto;
        z-index: 120;
        width: min(82vw,340px);
        height: 100dvh;
        margin: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background: #fff;
        padding: 90px 22px 30px;
        box-shadow: var(--shadow-lg);
        transform: translateX(-110%);
        visibility: hidden;
        transition: transform .35s var(--ease), visibility .35s;
        /* make menu items align to the left on small screens (phone mode) */
        text-align: left;
    }

        .nav.open {
            transform: translateX(0);
            visibility: visible;
        }

        .nav a {
            font-size: 1.1rem;
            padding: 14px 16px;
            border-bottom: 1px solid var(--paper-2);
            text-align: left;
        }

            .nav a::after {
                display: none;
            }

    .hero .wrap {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-eyebrow, .eyebrow {
        margin-inline: auto;
    }

    .hero-actions, .hero-trust {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 20px;
    }

    .hero-badge {
        display: none;
    }

    .feature .wrap {
        grid-template-columns: 1fr;
    }

    .feature.rev .feat-media {
        order: 0;
    }

    .contact .wrap {
        grid-template-columns: 1fr;
    }

    .section-head {
        margin-inline: auto;
        text-align: center;
    }

        .section-head .eyebrow {
            justify-content: center;
        }

    .nav-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(2,12,58,.5);
        z-index: 110;
        opacity: 0;
        visibility: hidden;
        transition: .3s;
    }

        .nav-backdrop.show {
            opacity: 1;
            visibility: visible;
        }

    .nav-close {
        position: absolute;
        inset-block-start: 22px;
        inset-inline-end: 22px;
        width: 40px;
        height: 40px;
        display: grid;
        place-items: center;
        color: var(--navy-900);
        /* when the nav is placed on the left, keep the close button on the right edge */
        right: 22px;
        left: auto;
    }

        .nav-close svg {
            width: 26px;
            height: 26px;
        }
}

@media (max-width:560px) {
    .svc-grid, .proc-grid, .shop-grid, .testi-grid, .foot-grid, .grid-2 {
        grid-template-columns: 1fr;
    }

    .stats .wrap {
        grid-template-columns: 1fr 1fr;
    }

    .util-contact .util-hide {
        display: none;
    }

    .footer .foot-brand {
        text-align: center;
    }

    .foot-brand .socials {
        justify-content: center;
    }
}

.nav-close {
    display: none;
}

@media (max-width:860px) {
    .nav .nav-close {
        display: grid;
    }
}

/* ============================================================
   STORE — products, cart, modal
   ============================================================ */

/* header cart button */
.cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1.5px solid var(--line);
    background: var(--white);
    color: var(--navy-900);
    cursor: pointer;
    transition: .25s var(--ease);
}

    .cart-btn svg {
        width: 21px;
        height: 21px;
    }

    .cart-btn:hover {
        border-color: var(--azure);
        color: var(--azure);
    }

.cart-count {
    position: absolute;
    top: -7px;
    inset-inline-end: -7px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--azure);
    color: #fff;
    font-size: 11.5px;
    font-weight: 800;
    border-radius: 999px;
    border: 2px solid var(--white);
}

/* products grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 22px;
    margin-top: 48px;
}

.product-card {
    background: var(--white);
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: .3s var(--ease);
}

    .product-card:hover {
        transform: translateY(-5px);
        border-color: var(--sky);
        box-shadow: var(--shadow-md);
    }

.p-media {
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(150deg,var(--paper) 0%,var(--paper-2) 100%);
    position: relative;
}

    .p-media svg {
        width: 62%;
        height: 62%;
    }

.p-tag {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .5px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--navy-900);
    color: #fff;
}

    .p-tag.hot {
        background: var(--azure);
    }

.p-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.p-cat {
    font-size: 12px;
    font-weight: 700;
    color: var(--slate-soft);
    text-transform: uppercase;
    letter-spacing: .8px;
}

.p-name {
    font-family: var(--font-display);
    font-size: 16.5px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.35;
}

html[dir="rtl"] .p-name {
    font-family: var(--font-body);
}

.p-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--navy-900);
    margin-top: 2px;
}

    .p-price small {
        font-size: 12px;
        font-weight: 700;
        color: var(--slate);
        margin-inline-start: 3px;
    }

.p-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

    .p-actions .btn {
        padding: 10px 12px;
        font-size: 13.5px;
        border-radius: 10px;
        flex: 1;
        justify-content: center;
    }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    cursor: pointer;
    border: 1.5px solid var(--line);
    background: var(--white);
    color: var(--navy-900);
    transition: .25s var(--ease);
}

    .btn-ghost:hover {
        border-color: var(--azure);
        color: var(--azure);
    }

/* quantity stepper */
.qty {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    background: var(--white);
}

    .qty button {
        width: 34px;
        height: 34px;
        border: 0;
        background: transparent;
        color: var(--navy-900);
        font-size: 18px;
        font-weight: 800;
        cursor: pointer;
        transition: .2s;
    }

        .qty button:hover {
            background: var(--paper);
            color: var(--azure);
        }

    .qty span {
        min-width: 30px;
        text-align: center;
        font-weight: 800;
        font-size: 14.5px;
    }

/* product modal */
.modal-backdrop, .cart-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(4,10,40,.55);
    backdrop-filter: blur(3px);
    opacity: 0;
    pointer-events: none;
    transition: .3s;
    z-index: 80;
}

    .modal-backdrop.show, .cart-backdrop.show {
        opacity: 1;
        pointer-events: auto;
    }

.product-modal {
    position: fixed;
    z-index: 85;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%) scale(.96);
    width: min(680px,calc(100vw - 32px));
    max-height: min(86vh,760px);
    overflow: auto;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transition: .3s var(--ease);
}

    .product-modal.show {
        opacity: 1;
        pointer-events: auto;
        transform: translate(-50%,-50%) scale(1);
    }

.modal-x {
    position: absolute;
    top: 14px;
    inset-inline-end: 14px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1.5px solid var(--line);
    background: var(--white);
    color: var(--navy-900);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .25s;
}

    .modal-x:hover {
        border-color: var(--azure);
        color: var(--azure);
    }

    .modal-x.static {
        position: static;
    }

    .modal-x svg {
        width: 18px;
        height: 18px;
    }

.pm-media {
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(150deg,var(--paper) 0%,var(--paper-2) 100%);
}

    .pm-media svg {
        width: 42%;
        height: 78%;
    }

.pm-body {
    padding: 24px 28px 28px;
}

.pm-cat {
    font-size: 12px;
    font-weight: 800;
    color: var(--azure);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pm-body h3 {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--ink);
    margin: 6px 0 10px;
}

html[dir="rtl"] .pm-body h3 {
    font-family: var(--font-body);
}

.pm-desc {
    color: var(--slate);
    line-height: 1.75;
}

.pm-specs-t {
    font-size: 14px;
    font-weight: 800;
    color: var(--navy-900);
    margin: 18px 0 8px;
}

.pm-specs {
    list-style: none;
    display: grid;
    gap: 7px;
}

    .pm-specs li {
        position: relative;
        padding-inline-start: 22px;
        color: var(--slate);
        font-size: 14.5px;
    }

        .pm-specs li::before {
            content: "";
            position: absolute;
            inset-inline-start: 0;
            top: 8px;
            width: 10px;
            height: 4px;
            background: var(--azure);
            transform: skewX(-22deg);
            border-radius: 1px;
        }

.pm-foot {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1.5px solid var(--line);
}

.pm-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--navy-900);
    margin-inline-end: auto;
}

    .pm-price small {
        font-size: 13px;
        color: var(--slate);
        font-weight: 700;
        margin-inline-start: 4px;
    }

.pm-add {
    padding: 12px 22px;
}

/* cart drawer */
.cart-drawer {
    position: fixed;
    z-index: 90;
    top: 0;
    bottom: 0;
    inset-inline-end: 0;
    width: min(420px,92vw);
    background: var(--white);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    transform: translateX(110%);
    transition: transform .38s var(--ease);
}

html[dir="rtl"] .cart-drawer {
    transform: translateX(-110%);
}

.cart-drawer.open {
    transform: translateX(0) !important;
}

.cart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    border-bottom: 1.5px solid var(--line);
}

    .cart-head h3 {
        font-family: var(--font-display);
        font-size: 19px;
        color: var(--ink);
    }

html[dir="rtl"] .cart-head h3 {
    font-family: var(--font-body);
}

.cart-items {
    flex: 1;
    overflow: auto;
    padding: 16px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cart-empty {
    text-align: center;
    color: var(--slate);
    padding: 48px 10px;
    line-height: 1.8;
}

    .cart-empty svg {
        width: 52px;
        height: 52px;
        color: var(--sky);
        margin-bottom: 10px;
    }

.cart-item {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 12px;
    align-items: center;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    padding: 10px;
}

.ci-art {
    width: 64px;
    height: 64px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(150deg,var(--paper),var(--paper-2));
}

    .ci-art svg {
        width: 70%;
        height: 70%;
    }

.ci-info b {
    display: block;
    font-size: 13.5px;
    color: var(--ink);
    line-height: 1.4;
}

.ci-info .ci-price {
    font-size: 13px;
    font-weight: 800;
    color: var(--azure);
    margin-top: 3px;
    display: block;
}

.ci-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.ci-remove {
    border: 0;
    background: none;
    color: var(--slate-soft);
    cursor: pointer;
    display: flex;
    padding: 2px;
    transition: .2s;
}

    .ci-remove:hover {
        color: #e5484d;
    }

    .ci-remove svg {
        width: 17px;
        height: 17px;
    }

.ci-side .qty button {
    width: 28px;
    height: 28px;
    font-size: 15px;
}

.ci-side .qty span {
    min-width: 24px;
    font-size: 13.5px;
}

.cart-foot {
    padding: 18px 22px 22px;
    border-top: 1.5px solid var(--line);
}

    .cart-foot[hidden] {
        display: none;
    }

.cart-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 15px;
    color: var(--slate);
    font-weight: 700;
}

    .cart-total-row b {
        font-size: 21px;
        color: var(--navy-900);
    }

.cart-checkout {
    width: 100%;
    justify-content: center;
}

.cart-clear {
    width: 100%;
    margin-top: 10px;
    border: 0;
    background: none;
    color: var(--slate-soft);
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
    padding: 6px;
    transition: .2s;
}

    .cart-clear:hover {
        color: #e5484d;
    }

/* toast */
.toast {
    position: fixed;
    z-index: 95;
    bottom: 26px;
    left: 50%;
    transform: translate(-50%,16px);
    background: var(--navy-900);
    color: #fff;
    font-weight: 700;
    font-size: 14.5px;
    padding: 13px 22px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transition: .35s var(--ease);
}

    .toast.show {
        opacity: 1;
        transform: translate(-50%,0);
    }

/* store responsive */
@media (max-width:1024px) {
    .products-grid {
        grid-template-columns: repeat(3,1fr);
    }
}

@media (max-width:860px) {
    .products-grid {
        grid-template-columns: repeat(2,1fr);
        gap: 14px;
    }

    .pm-body {
        padding: 20px 18px 22px;
    }
}

@media (max-width:560px) {
    .p-actions {
        flex-direction: column;
    }

    .cart-btn {
        width: 40px;
        height: 40px;
    }

    .pm-foot .pm-price {
        width: 100%;
    }
}

/* ============================================================
   CATEGORIES SECTION
   ============================================================ */
.cats {
    background: linear-gradient(180deg,var(--white) 0%,var(--paper) 100%);
}

.cats-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px;
    margin-top: 44px;
}

.cat-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 24px 22px;
    background: var(--white);
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
    text-align: start;
    transition: .3s var(--ease);
    font-family: inherit;
}

    .cat-card:hover {
        transform: translateY(-4px);
        border-color: var(--sky);
        box-shadow: var(--shadow-md);
    }

    .cat-card.active {
        border-color: var(--azure);
        background: linear-gradient(150deg,#f2f9ff,#e8f4ff);
        box-shadow: var(--shadow-md);
    }

.cat-ic {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-900);
    color: var(--sky);
    transition: .3s var(--ease);
}

.cat-card.active .cat-ic, .cat-card:hover .cat-ic {
    background: var(--azure);
    color: #fff;
    box-shadow: var(--glow);
}

.cat-ic svg {
    width: 24px;
    height: 24px;
}

.cat-name {
    font-weight: 800;
    font-size: 16.5px;
    color: var(--ink);
}

.cat-count {
    font-size: 13px;
    font-weight: 700;
    color: var(--slate-soft);
}

.cat-card.active .cat-count {
    color: var(--azure);
}

/* snappier taps on mobile */
button, a, .cat-card {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

@media (max-width:860px) {
    .cats-grid {
        grid-template-columns: repeat(2,1fr);
        gap: 12px;
    }
}

/* ════════════════════════════════════════════════════════════
   إضافات صفحات الـ MVC — مجمّعة من كل التعديلات
   (صفحة القسم + كارت المنتج v2 + صفحة تفاصيل المنتج)
   ════════════════════════════════════════════════════════════ */

/* ---------- صفحة القسم ---------- */
a.cat-card {
    text-decoration: none;
}

.cat-page-head {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    margin-bottom: 34px;
}

    .cat-page-head h2 {
        font-family: var(--font-body);
        font-size: clamp(24px,3.4vw,34px);
        color: var(--ink);
        font-weight: 800;
    }

    .cat-page-head p {
        color: var(--slate);
        font-weight: 700;
        margin-top: 4px;
    }

/* ---------- كارت المنتج v2 (تصميم الصورة الكبيرة) ---------- */
.pcard {
    background: var(--white);
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: .3s var(--ease);
}

    .pcard:hover {
        transform: translateY(-5px);
        border-color: var(--sky);
        box-shadow: var(--shadow-md);
    }

.pcard-media {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: var(--paper);
    display: block;
}

    .pcard-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .45s var(--ease);
    }

.pcard:hover .pcard-media img {
    transform: scale(1.05);
}

.pcard-tag {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    z-index: 1;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .4px;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--azure);
    color: #fff;
    box-shadow: 0 2px 10px rgba(58,167,255,.35);
}

.pcard-body {
    padding: 14px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.pcard-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.pcard-price {
    font-size: 19px;
    font-weight: 800;
    color: var(--navy-900);
}

    .pcard-price small {
        font-size: 12.5px;
        font-weight: 700;
        color: var(--slate);
        margin-inline-start: 3px;
    }

.pcard-stars {
    display: flex;
    gap: 2px;
}

    .pcard-stars svg {
        width: 16px;
        height: 16px;
        fill: #f7b500;
    }

        .pcard-stars svg.off {
            fill: var(--line);
        }

.pcard-name {
    font-size: 16.5px;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

    .pcard-name a {
        color: inherit;
        text-decoration: none;
    }

.pcard-btn {
    margin-top: auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border: 0;
    border-radius: 11px;
    cursor: pointer;
    background: linear-gradient(135deg,var(--azure),#1e8fee);
    color: #fff;
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(58,167,255,.35);
    transition: .25s var(--ease);
    text-decoration: none;
    transform: skewX(-6deg);
}

    .pcard-btn > * {
        transform: skewX(6deg);
    }

    .pcard-btn:hover {
        filter: brightness(1.08);
        transform: skewX(-6deg) translateY(-2px);
        box-shadow: 0 7px 18px rgba(58,167,255,.45);
    }

/* ---------- صفحة تفاصيل المنتج ---------- */
.pd-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    color: var(--slate);
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none;
    transition: .25s;
}

    .pd-back:hover {
        color: var(--azure);
    }

    .pd-back svg {
        color: var(--azure);
    }

.pdx-card {
    background: var(--white);
    border: 1.5px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
}

.pdx-gallery {
    padding: clamp(16px,2.5vw,28px);
}
/* الصورة مربعة وبتملأ الحاوية — مفيش فراغ أبيض. لو بوستراتك 4:5 غيّر النسبة */
.pdx-main {
    position: relative;
    aspect-ratio: 1/1;
    border-radius: 14px;
    overflow: hidden;
    background: var(--paper);
    border: 1.5px solid var(--line);
}

    .pdx-main img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.pdx-tag {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    font-size: 11.5px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--azure);
    color: #fff;
}

    .pdx-tag.used {
        background: var(--navy-900);
    }

.pdx-thumbs {
    display: flex;
    gap: 9px;
    margin-top: 11px;
}

.pdx-thumb {
    width: 64px;
    aspect-ratio: 4/3;
    border-radius: 9px;
    overflow: hidden;
    padding: 0;
    cursor: pointer;
    background: var(--paper);
    border: 1.5px solid var(--line);
    transition: .25s var(--ease);
}

    .pdx-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .pdx-thumb:hover {
        border-color: var(--sky);
    }

    .pdx-thumb.active {
        border-color: var(--azure);
        box-shadow: 0 0 0 2px rgba(58,167,255,.22);
    }

.pdx-info {
    padding: clamp(16px,2.5vw,28px);
}

.pdx-cat {
    font-size: 12px;
    font-weight: 800;
    color: var(--azure);
    letter-spacing: .6px;
}

.pdx-name {
    font-family: var(--font-body);
    font-size: clamp(21px,2.6vw,28px);
    font-weight: 800;
    color: var(--navy-900);
    line-height: 1.45;
    margin: 6px 0 8px;
}

.pdx-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.pdx-stars {
    color: #f7b500;
    font-size: 15px;
    letter-spacing: 1.5px;
}

.pdx-stock {
    color: #1a9e55;
    font-size: 13px;
    font-weight: 800;
}

.pdx-price {
    font-size: 29px;
    font-weight: 800;
    color: var(--navy-900);
    margin: 12px 0 4px;
}

    .pdx-price small {
        font-size: 14px;
        color: var(--slate);
        font-weight: 700;
    }

.pdx-desc {
    color: var(--slate);
    line-height: 1.9;
    font-size: 14.5px;
}

.pdx-label {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--navy-900);
    margin: 20px 0 10px;
}

.pdx-colors {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
}

.pdx-color {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 15px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    color: var(--slate);
    background: var(--white);
    border: 1.5px solid var(--line);
    transition: .25s var(--ease);
}

    .pdx-color span {
        width: 14px;
        height: 14px;
        border-radius: 50%;
        display: inline-block;
        border: 1px solid rgba(0,0,0,.12);
    }

    .pdx-color:hover {
        border-color: var(--sky);
    }

    .pdx-color.active {
        border-color: var(--azure);
        background: #eef7ff;
        color: var(--navy-900);
        font-weight: 800;
    }

.pdx-specs {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 9px;
}

.pdx-spec {
    background: #f6faff;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    padding: 10px 13px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.6;
}

    .pdx-spec b {
        color: var(--azure);
        margin-inline-end: 5px;
    }

    .pdx-spec.full {
        grid-column: 1 / -1;
    }

.pdx-summary {
    grid-column: 1 / -1;
    background: var(--navy-900);
    padding: 16px clamp(16px,2.5vw,28px);
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.pdx-sum-info {
    flex: 1;
    min-width: 170px;
}

    .pdx-sum-info span {
        display: block;
        color: var(--sky);
        font-size: 11.5px;
        font-weight: 800;
    }

    .pdx-sum-info b {
        color: #fff;
        font-size: 14.5px;
        font-weight: 800;
    }

.pdx-sum-price {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
}

    .pdx-sum-price small {
        font-size: 12px;
        color: #bde2ff;
        font-weight: 700;
    }

.pdx-add {
    border: 0;
    cursor: pointer;
    font-family: inherit;
    background: var(--azure);
    color: #fff;
    font-size: 14.5px;
    font-weight: 800;
    padding: 13px 28px;
    border-radius: 11px;
    transform: skewX(-6deg);
    box-shadow: 0 4px 14px rgba(58,167,255,.4);
    transition: .25s var(--ease);
}

    .pdx-add > span {
        display: inline-block;
        transform: skewX(6deg);
    }

    .pdx-add:hover {
        filter: brightness(1.1);
        transform: skewX(-6deg) translateY(-2px);
    }

@media (max-width:860px) {
    .pdx-card {
        grid-template-columns: 1fr;
    }

    .pdx-gallery {
        padding-bottom: 0;
    }

    .pdx-summary {
        position: sticky;
        bottom: 0;
    }

    .pdx-add {
        flex: 1;
    }
}


/* ════════════════════════════════════════════════════════════
   موبايل: زرار المنيو على الشمال + ضبط عام للتصميم
   ════════════════════════════════════════════════════════════ */
html {
    overflow-x: hidden;
}

@media (max-width:860px) {
    /* زرار المنيو (والسلة) على أقصى الشمال — نفس جهة الدرج */
    .header-in .header-actions {
        order: 99;
        margin-inline-start: auto;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .header-in .burger {
        order: 99;
    }

    /* منع أي عنصر من كسر عرض الشاشة */
    .wrap {
        padding-inline: 16px;
    }

    img {
        max-width: 100%;
    }

    .feat-media svg, .hero-visual svg {
        max-width: 100%;
        height: auto;
    }

    .products-grid, .cats-grid, .pdx-specs {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}
/* ============ هيدر MyLap ============ */
.ml-header {
    background: #fff;
    border-bottom: 1px solid #e6edf5;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.ml-bar {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
}

.ml-brand {
    font-weight: 800;
    font-size: 20px;
    color: #01104e;
    text-decoration: none;
    order: 1;
}

.ml-burger {
    width: 42px;
    height: 42px;
    border: 1.5px solid #dde7f2;
    border-radius: 11px;
    background: #fff;
    color: #01104e;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 2;
}

.ml-menu {
    display: none;
    background: #fff;
    border-top: 1px solid #e6edf5;
}

    .ml-menu.open {
        display: block;
    }

    .ml-menu a {
        display: block;
        padding: 14px 20px;
        color: #0b1220;
        text-decoration: none;
        font-weight: 700;
        border-bottom: 1px solid #f0f5fa;
    }

        .ml-menu a:active {
            background: #eef7ff;
        }
.nav-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
}
/* الديسكتوب: لينكات عرضية والزرار مخفي */
@media (min-width:768px) {
    .ml-burger {
        display: none;
    }

    .ml-menu {
        display: flex !important;
        border-top: 0;
    }

        .ml-menu a {
            border-bottom: 0;
            padding: 10px 14px;
        }
}