/* =========================================================
   Elwaset.net — Premium Neon Glass Theme
   Palette: #FFD400 (yellow) + green / teal on dark
   ========================================================= */

/* ===== Custom font: The Year of Handicrafts (عام الحرف اليدوية 2025) ===== */
@font-face { font-family: 'The Year of Handicrafts'; src: url('assets/fonts/TheYearofHandicrafts-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'The Year of Handicrafts'; src: url('assets/fonts/TheYearofHandicrafts-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'The Year of Handicrafts'; src: url('assets/fonts/TheYearofHandicrafts-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'The Year of Handicrafts'; src: url('assets/fonts/TheYearofHandicrafts-Black.woff2') format('woff2'); font-weight: 900; font-style: normal; font-display: swap; }

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* Fonts: The Year of Handicrafts (عام الحرف اليدوية 2025), Tajawal fallback */
    --font-head: 'The Year of Handicrafts', 'Tajawal', 'Cairo', sans-serif;
    --font-body: 'The Year of Handicrafts', 'Tajawal', 'Cairo', sans-serif;
    /* bouncy easing for the "bubble/3D pop" hover motion */
    --pop: cubic-bezier(.34, 1.56, .64, 1);
    /* Default = elawaady.com-inspired: deep purple bg + orange→magenta→purple gradient */
    --bg: #0E0A1A;
    --bg-2: #1A1030;
    --yellow: #F5A623;
    --orange: #F5A623;
    --pink: #A24BFF;
    --purple: #7C3AED;
    --violet: #E0208F;
    --teal: #E0208F;
    --text: #F3EEFF;
    --muted: #b3a6cf;
    --dim: #7d6ea3;
    --glass: rgba(162, 75, 255, 0.06);
    --glass-brd: #3a2560;
    --grad-from: #F5A623;
    --grad-mid: #E0208F;
    --grad-to: #7C3AED;
    --ticker-bg: #7C3AED;
    --grad: linear-gradient(90deg, var(--grad-from), var(--grad-mid) 52%, var(--grad-to));
    --grad-btn: linear-gradient(90deg, var(--grad-from) 0%, var(--grad-mid) 45%, var(--grad-to) 100%);
    --radius: 24px;
    --tr: all .35s cubic-bezier(.22,1,.36,1);
}

html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }

body {
    font-family: var(--font-body);
    /* clean, flat theme background — no patches or hard edges */
    background: var(--bg);
    background-attachment: fixed;
    color: var(--text);
    line-height: 1.8;
    overflow-x: hidden;
    position: relative;
}

/* one very soft glow at the very top only (no corner blobs) */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(70% 38% at 50% -6%, color-mix(in srgb, var(--pink) 10%, transparent), transparent 68%);
    z-index: -1;
    pointer-events: none;
}

/* faint grid overlay drawn in CSS (theme-aware, replaces the green image) */
body::after {
    content: '';
    position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
    background-image:
        linear-gradient(color-mix(in srgb, var(--text) 5%, transparent) 1px, transparent 1px),
        linear-gradient(90deg, color-mix(in srgb, var(--text) 5%, transparent) 1px, transparent 1px);
    background-size: 46px 46px;
}

h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1.35; font-weight: 800; }

.container { width: min(1200px, 92%); margin-inline: auto; }

.grad-text {
    background: var(--grad);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ===== Glass base ===== */
.glass {
    background: var(--glass);
    border: 1px solid var(--glass-brd);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .8rem 1.6rem; border-radius: 14px;
    font-family: var(--font-body); font-weight: 800; font-size: 1rem;
    text-decoration: none; border: 1px solid transparent; cursor: pointer;
    transition: var(--tr); white-space: nowrap;
}
.btn-grad {
    background: var(--grad-btn); color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.3);
    box-shadow: 0 8px 30px color-mix(in srgb, var(--pink) 42%, transparent), 0 0 0 1px rgba(255,255,255,.06) inset;
}
.btn-grad:hover { transform: translateY(-3px); box-shadow: 0 14px 40px color-mix(in srgb, var(--pink) 55%, transparent); }
.btn-ghost { background: rgba(255,255,255,.05); color: var(--text); border-color: var(--glass-brd); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--yellow); box-shadow: 0 0 24px color-mix(in srgb, var(--pink) 30%, transparent); }
.btn-sm { padding: .55rem 1.1rem; font-size: .9rem; border-radius: 12px; }
.btn-lg { padding: 1rem 2.2rem; font-size: 1.08rem; }

/* login / register links in the navbar */
.nav-auth { padding: .5rem .9rem; }
@media (max-width: 900px) { .nav-auth { display: none; } }

/* ===== Navbar ===== */
.nav {
    position: fixed; inset-inline: 0; top: 0; z-index: 1000;
    background: rgba(5,5,5,.7); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-brd); transition: var(--tr);
}

/* ===== Top scrolling ticker ===== */
.top-ticker {
    position: fixed; top: 0; inset-inline: 0; z-index: 1001; height: 34px; overflow: hidden;
    display: flex; align-items: center;
    background: var(--ticker-bg, var(--pink)); /* one solid color, controllable from the dashboard */
    box-shadow: 0 2px 14px rgba(0,0,0,.35);
}
.top-ticker .ticker-track { display: flex; align-items: center; gap: 2rem; white-space: nowrap; will-change: transform; animation: tickerMove 32s linear infinite; }
.top-ticker span { color: #fff; font-weight: 800; font-size: .82rem; display: inline-flex; align-items: center; gap: .5rem; }
.top-ticker .tk-dot { opacity: .55; font-size: .6rem; }
.top-ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tickerMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* push the fixed navbar below the ticker when a ticker exists on the page */
.top-ticker ~ .nav { top: 34px; }

/* ===== Moving services marquee ===== */
.svc-marquee { overflow: hidden; padding: 1.1rem 0; position: relative;
    border-block: 1px solid var(--glass-brd); background: rgba(255,255,255,.02); }
.svc-marquee::before, .svc-marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 2; pointer-events: none; }
.svc-marquee::before { inset-inline-start: 0; background: linear-gradient(90deg, var(--bg) , transparent); }
.svc-marquee::after { inset-inline-end: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.svc-marquee .mq-track { display: flex; gap: 1rem; width: max-content; will-change: transform; animation: mqMove 45s linear infinite; }
.svc-marquee:hover .mq-track { animation-play-state: paused; }
@keyframes mqMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.mq-card { flex: 0 0 auto; width: 150px; text-decoration: none; color: var(--text);
    border: 1px solid var(--glass-brd); border-radius: 14px; overflow: hidden; background: rgba(255,255,255,.02); transition: var(--tr); }
.mq-card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 14px 34px -10px rgba(0,0,0,.5); }
.mq-ico { width: 100%; aspect-ratio: 1 / 1; display: grid; place-items: center; font-size: 2.4rem; color: #fff;
    background: linear-gradient(135deg, var(--g1, #17A85E), var(--g2, #0E7A45)); overflow: hidden; }
.mq-ico img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mq-card h4 { font-size: .82rem; text-align: center; padding: .5rem .4rem; margin: 0; line-height: 1.4; }
@media (max-width: 560px) { .mq-card { width: 116px; } .svc-marquee::before, .svc-marquee::after { width: 34px; } }
.nav-inner { display: flex; align-items: center; gap: 1.4rem; padding: .85rem 0; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--text); margin-inline-end: auto; }
.brand-logo {
    font-family: var(--font-body); font-weight: 900; font-size: 1rem; color: #1A0E00;
    background: var(--grad-btn); padding: .35rem .6rem; border-radius: 10px;
    box-shadow: 0 0 20px rgba(255,138,0,.4);
}
.brand-logo-img {
    height: 40px; width: auto; display: block;
    filter: drop-shadow(0 0 12px rgba(255,138,0,.45));
}
.footer .brand-logo-img { height: 46px; }
.brand-name { font-family: var(--font-body); font-weight: 800; font-size: 1.1rem; direction: ltr; }
.brand-name em { font-style: normal; color: var(--yellow); }
.nav-links { display: flex; list-style: none; gap: 1.5rem; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .96rem; transition: var(--tr); }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-toggle { display: none; background: none; border: 1px solid var(--glass-brd); color: var(--text); font-size: 1.1rem; padding: .5rem .7rem; border-radius: 10px; cursor: pointer; }

/* ===== Hero ===== */
.hero {
    position: relative; min-height: auto; display: flex; align-items: center;
    padding: 8rem 0 3rem; overflow: hidden;
}
.hero-inner { position: relative; z-index: 2; text-align: center; max-width: 880px; margin-inline: auto; }
/* decorative blobs removed for a clean flat background */
.orb { display: none; }
@keyframes float1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-30px,30px)} }
@keyframes float2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(30px,-25px)} }

.pill {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: var(--font-body); font-weight: 700; font-size: .9rem; color: var(--text);
    background: rgba(255,255,255,.05); border: 1px solid var(--glass-brd);
    padding: .5rem 1.2rem; border-radius: 999px; margin-bottom: 1.8rem;
}
.pill i { color: var(--yellow); }
.hero-title { font-size: clamp(2.4rem, 7vw, 4.8rem); font-weight: 900; margin-bottom: 1.4rem; }
.hero-sub { font-size: 1.15rem; color: var(--muted); max-width: 640px; margin: 0 auto 2.4rem; }

.search-bar {
    display: flex; align-items: center; gap: .6rem; max-width: 620px; margin: 0 auto 2.2rem;
    background: rgba(255,255,255,.05); border: 1px solid var(--glass-brd);
    border-radius: 16px; padding: .5rem .5rem .5rem 1.2rem; backdrop-filter: blur(18px);
    box-shadow: 0 8px 40px rgba(0,0,0,.4);
}
.search-bar > i { color: var(--dim); font-size: 1.05rem; }
.search-bar input {
    flex: 1; background: none; border: none; outline: none;
    color: var(--text); font-family: inherit; font-size: 1rem; padding: .6rem;
}
.search-bar input::placeholder { color: var(--dim); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-bottom: 2.4rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.6rem; justify-content: center; color: var(--dim); font-weight: 600; font-size: .95rem; }
.hero-trust i { color: var(--yellow); margin-inline-end: .4rem; }

/* ===== Stats ===== */
.stats-strip { padding: 1rem 0 3rem; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 1.2rem; }
.stat { text-align: center; padding: 1.8rem 1rem; border-radius: var(--radius); }
.stat-num { font-family: var(--font-body); font-size: 2.4rem; font-weight: 900; }
.stat p { color: var(--muted); font-size: .95rem; margin-top: .3rem; }

/* ===== Sections ===== */
.section { padding: 5.5rem 0; position: relative; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,.015), transparent); }
.head { text-align: center; max-width: 640px; margin: 0 auto 3.2rem; }
.eyebrow { font-family: var(--font-body); font-weight: 800; font-size: .9rem; color: var(--yellow); letter-spacing: 1px; }
.head h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: .6rem 0; }
.head p { color: var(--muted); }

/* ===== Categories (product cards: image on top + name + details below) ===== */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
@media (max-width: 1024px) { .cat-grid { grid-template-columns: repeat(3, 1fr); gap: .8rem; } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: repeat(3, 1fr); gap: .55rem; } }
/* Unified card (Elawaady-style): image attached to the text in one bordered box,
   with a fixed, uniform size so every card matches regardless of text length. */
.cat {
    position: relative; display: flex; flex-direction: column; padding: 0;
    text-decoration: none; color: var(--text); transition: var(--tr);
    background: var(--glass); border: 1px solid var(--glass-brd); border-radius: 18px; overflow: hidden;
}
.cat::after { display: none; }
.cat:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--pink) 45%, var(--glass-brd)); }
/* image/icon area on top — full-bleed, attached directly to the text below (no gap) */
.cat-ico {
    width: 100%; aspect-ratio: 1 / 1; height: auto; display: grid; place-items: center; border-radius: 0;
    font-size: clamp(2rem, 8vw, 3.6rem); color: var(--pink); margin: 0;
    background: transparent; box-shadow: none; overflow: hidden;
}
/* category-card image fills its area edge-to-edge (attached), no feather here */
.cat-ico img {
    width: 100%; height: 100%; object-fit: cover;
    -webkit-mask-image: none !important; mask-image: none !important; filter: none !important;
}
.cat h3 {
    font-size: clamp(.85rem, 2.4vw, 1.05rem); margin: 0; padding: .7rem .7rem .25rem; text-align: center; line-height: 1.4;
    background: transparent; border: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cat > p {
    color: var(--muted); font-size: .8rem; line-height: 1.6; margin: 0; padding: 0 .7rem .9rem; text-align: center;
    background: transparent; border: 0;
    /* clamp to a fixed number of lines so all cards are the same height */
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.6em;
}
.cat-tags { display: none !important; }
.cat .svc-price-tag { color: var(--yellow); font-weight: 800; -webkit-line-clamp: 1; }
.cat-ico .plat-ic { font-size: clamp(1.8rem, 7vw, 3.4rem); }
/* optional: unify category tile colors with the active theme */
.unify-cats .cat-ico, .unify-cats .cf-media, .unify-cats .mq-ico, .unify-cats .cat-hero-ico {
    background: linear-gradient(135deg, var(--pink), var(--purple)) !important;
}
@media (max-width: 560px) {
    .cat h3 { padding: .5rem .45rem .15rem; }
    .cat > p { font-size: .72rem; padding: 0 .45rem .6rem; }
}

/* ===== Featured Services ===== */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px,1fr)); gap: 1.4rem; }
.svc { padding: 1.8rem; border-radius: var(--radius); transition: var(--tr); }
.svc:hover { transform: translateY(-6px); border-color: rgba(23,168,95,.4); box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.svc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.1rem; }
.svc-ico {
    width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px;
    font-size: 1.4rem; color: #fff; background: var(--grad-btn);
}
.badge {
    font-family: var(--font-body); font-weight: 800; font-size: .78rem; color: #fff;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.55);
    padding: .3rem .8rem; border-radius: 999px;
}
.svc h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.svc > p { color: var(--muted); font-size: .93rem; margin-bottom: 1.3rem; }
.svc-foot { display: flex; justify-content: space-between; align-items: center; }
.stars { color: var(--yellow); font-size: .85rem; letter-spacing: 1px; }

/* ===== Portfolio ===== */
.port-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 1.3rem; }
.port { text-align: center; padding: 2.2rem 1rem; border-radius: var(--radius); transition: var(--tr); }
.port i { font-size: 2.2rem; margin-bottom: .9rem;
    background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.port h4 { font-size: 1.05rem; margin-bottom: .3rem; }
.port span { color: var(--yellow); font-weight: 700; font-size: .9rem; }
.port:hover { transform: translateY(-6px); border-color: rgba(23,168,95,.4); box-shadow: 0 20px 50px rgba(0,0,0,.5); }

/* ===== Testimonials ===== */
.rev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 1.4rem; }
.rev { padding: 1.9rem; border-radius: var(--radius); transition: var(--tr); }
.rev:hover { transform: translateY(-5px); border-color: rgba(23,168,95,.35); }
.rev p { color: var(--text); margin: 1rem 0 1.4rem; font-size: 1rem; }
.rev-by { display: flex; align-items: center; gap: .8rem; }
.av { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
    background: var(--grad-btn); color: #1A0E00; font-family: var(--font-body); font-weight: 900; }
.rev-by strong { display: block; font-size: .98rem; }
.rev-by small { color: var(--dim); font-size: .85rem; }

/* ===== Partners ===== */
.partners-row { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.partners-row span {
    display: inline-flex; align-items: center; gap: .6rem; padding: .9rem 1.6rem;
    border-radius: 16px; font-family: var(--font-body); font-weight: 700; color: var(--muted);
    font-size: 1rem; transition: var(--tr);
}
.partners-row span i { font-size: 1.3rem; color: var(--text); }
.partners-row span:hover { color: var(--text); border-color: var(--yellow); transform: translateY(-4px); box-shadow: 0 0 26px rgba(23,168,95,.25); }

/* ===== CTA box ===== */
.cta-box { position: relative; text-align: center; padding: 4rem 2rem; border-radius: 32px; overflow: hidden; }
.cta-box h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: .8rem; }
.cta-box p { color: var(--muted); margin-bottom: 2rem; }
.orb-cta { width: 420px; height: 300px; background: var(--pink); top: -120px; inset-inline-start: 50%; transform: translateX(-50%); opacity: .18; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--glass-brd); padding-top: 4rem; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 3rem; }
.foot-brand p { color: var(--muted); margin: 1rem 0; font-size: .95rem; max-width: 320px; }
.foot-social { display: flex; gap: .7rem; }
.foot-social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px;
    border: 1px solid var(--glass-brd); color: var(--muted); font-size: 1.05rem; text-decoration: none; transition: var(--tr); }
.foot-social a:hover { color: var(--text); border-color: var(--yellow); transform: translateY(-3px); box-shadow: 0 0 20px rgba(23,168,95,.3); }
.foot-col h4 { font-size: 1.05rem; margin-bottom: 1rem; }
.foot-col a { display: block; color: var(--muted); text-decoration: none; padding: .35rem 0; font-size: .93rem; transition: var(--tr); }
.foot-col a:hover { color: var(--yellow); }
.foot-bottom { border-top: 1px solid var(--glass-brd); padding: 1.4rem 0; text-align: center; color: var(--dim); font-size: .88rem; }

/* ===== Floating WhatsApp ===== */
.fab-wa {
    position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 900;
    width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #128C7E); color: #fff; font-size: 1.6rem;
    text-decoration: none; box-shadow: 0 8px 30px rgba(37,211,102,.45); transition: var(--tr);
    animation: pulse 2.5s infinite;
}
.fab-wa:hover { transform: scale(1.1); }
@keyframes pulse { 0%,100%{box-shadow:0 8px 30px rgba(37,211,102,.45)} 50%{box-shadow:0 8px 40px rgba(37,211,102,.75)} }

/* ===== Testimonials 3-row marquee ===== */
.mq {
    overflow: hidden; padding: .55rem 0; direction: ltr;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.mq-row { display: flex; gap: 1rem; width: max-content; direction: ltr; will-change: transform; }
.mq-right { animation: mqRight 55s linear infinite; }
.mq-left  { animation: mqLeft 55s linear infinite; }
.mq:hover .mq-row { animation-play-state: paused; }
@keyframes mqLeft  { from { transform: translateX(0); }      to { transform: translateX(-50%); } }
@keyframes mqRight { from { transform: translateX(-50%); }   to { transform: translateX(0); } }
.mq-row .tcard { flex: 0 0 auto; width: 300px; direction: rtl; }
.tcard {
    padding: 1.5rem; border-radius: 20px;
    background: #111119; border: 1px solid var(--glass-brd);
    transition: var(--tr);
}
.tcard:hover { transform: translateY(-4px); border-color: rgba(23,168,95,.4); }
.tcard .stars { font-size: .82rem; }
.tcard p { color: var(--text); font-size: .97rem; margin: .8rem 0 1.1rem; line-height: 1.7; min-height: 3.4em; }
.tby { display: flex; align-items: center; gap: .7rem; }
.tby .av { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--grad-btn); color: #1A0E00; font-family: var(--font-body); font-weight: 900; flex-shrink: 0; }
.tby strong { display: block; font-size: .95rem; }
.tby small { color: var(--dim); font-size: .8rem; }
.tby small i { color: #25D366; margin-inline-end: 3px; }

/* ===== Payments ===== */
.pay-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: 1rem; }
.pay { display: flex; align-items: center; gap: .8rem; padding: 1.1rem 1.3rem; border-radius: 16px; transition: var(--tr); }
.pay i { font-size: 1.5rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pay span { font-family: var(--font-body); font-weight: 700; font-size: .95rem; }
.pay:hover { transform: translateY(-4px); border-color: rgba(23,168,95,.4); box-shadow: 0 12px 30px rgba(0,0,0,.4); }

/* ===== Proofs teaser card ===== */
.proof-cta {
    display: grid; grid-template-columns: auto 1fr; gap: 2.2rem; align-items: center;
    padding: 2.2rem; border-radius: 26px;
}
.proof-cta-icon {
    width: 96px; height: 96px; display: grid; place-items: center; border-radius: 24px;
    font-size: 2.4rem; color: #1A0E00; background: var(--grad-btn);
    box-shadow: 0 12px 34px -6px var(--pink);
}
.proof-cta-text h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin: .4rem 0 .6rem; }
.proof-cta-text p { color: var(--muted); margin-bottom: 1.4rem; max-width: 520px; }

/* ===== Proofs gallery ===== */
.proof-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem;
}
.proof-item {
    padding: 0; border: 1px solid var(--glass-brd); border-radius: 16px;
    overflow: hidden; cursor: pointer; background: #150c28;
    transition: var(--tr); aspect-ratio: 9 / 16; position: relative;
}
.proof-item img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.proof-item::after {
    content: '\f00e'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; inset: 0; display: grid; place-items: center;
    color: #fff; font-size: 1.6rem; background: rgba(5,5,5,.45);
    opacity: 0; transition: var(--tr);
}
.proof-item:hover { transform: translateY(-5px); border-color: rgba(23,168,95,.5); box-shadow: 0 16px 36px rgba(0,0,0,.5); }
.proof-item:hover::after { opacity: 1; }

/* Lightbox */
.lightbox {
    position: fixed; inset: 0; z-index: 3000; background: rgba(3,3,6,.92);
    backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center;
    padding: 2rem 1rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(92vw, 460px); max-height: 88vh; border-radius: 14px; border: 1px solid var(--glass-brd); box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lb-close, .lb-nav {
    position: absolute; background: rgba(255,255,255,.08); border: 1px solid var(--glass-brd);
    color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
    display: grid; place-items: center; font-size: 1.1rem; transition: var(--tr);
}
.lb-close { top: 20px; inset-inline-start: 20px; }
.lb-close:hover, .lb-nav:hover { background: var(--grad-btn); color: #1A0E00; border-color: transparent; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-prev { inset-inline-end: 16px; }
.lb-next { inset-inline-start: 16px; }
body.lb-open { overflow: hidden; }

/* ===== Review form — light green on white ===== */
.rev-form {
    padding: 2rem; border-radius: 24px; display: grid; gap: 1.3rem;
    background: linear-gradient(165deg, #ffffff, #eefaf2);
    border: 1px solid #bfe8cf; color: #14201a;
    box-shadow: 0 22px 55px rgba(23,168,95,.18);
    backdrop-filter: none; -webkit-backdrop-filter: none;
}
.rev-form h3 { color: #1c1420; }
.rev-form p { color: #4a6b58; }
.rf-group { display: grid; gap: .5rem; }
.rf-group label { font-family: var(--font-body); font-weight: 700; font-size: .95rem; color: #2a1c26; }
.rf-group input, .rf-group textarea {
    background: #fff; border: 1px solid #f3c2df; border-radius: 12px;
    padding: .85rem 1rem; color: #1c1420; font-family: inherit; font-size: 1rem; outline: none;
    transition: var(--tr); resize: vertical;
}
.rf-group input:focus, .rf-group textarea:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(23,168,95,.15); }
.rf-group input::placeholder, .rf-group textarea::placeholder { color: #c298b2; }
.rf-stars { display: flex; gap: .4rem; font-size: 2.1rem; cursor: pointer; line-height: 1; }
.rf-stars span { color: #f0cfe1; transition: transform .15s, color .15s; user-select: none; }
.rf-stars span.on { color: #FFC400; text-shadow: 0 0 12px rgba(23,168,95,.35); }
.rf-stars span:hover { transform: scale(1.15); }
/* signed-in user card on light bg */
.rev-form .rev-user-card { background: #f2fbf6; border-color: #bfe8cf; }
.rev-form .rev-user-card strong { color: #1c1420; }
.rev-form .rev-user-card small { color: #a07a90; }
.rev-form .rev-user-note { background: #f2fbf6; border-color: #bfe8cf; color: #7a5c6e; }
.rev-form .rev-avatar-lg { background: #e9f8ef; border-color: #a9e2c1; color: #17A85E; }
.rev-form .btn-google { border: 1px solid #e6b9d4; }

/* review CTA button in testimonials */
.rev-add { text-align: center; margin-top: 2.4rem; }

/* Google sign-in + review user */
.rev-avatar-lg {
    width: 72px; height: 72px; margin: 0 auto; display: grid; place-items: center; border-radius: 20px;
    background: var(--gold-soft, rgba(255,212,0,.12)); border: 1px solid rgba(255,212,0,.3);
    color: var(--yellow); font-size: 1.8rem;
}
.btn-google {
    display: inline-flex; align-items: center; gap: .7rem; justify-content: center;
    background: #fff; color: #1a1a1a; font-family: var(--font-body); font-weight: 800; font-size: 1rem;
    border: none; border-radius: 12px; padding: .85rem 1.8rem; cursor: pointer; transition: var(--tr);
    box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.btn-google:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.45); }
.btn-google img { width: 20px; height: 20px; }
.rev-fallback { margin-top: 1.2rem; color: var(--dim); font-size: .9rem; }
.rev-fallback a { color: var(--yellow); text-decoration: none; font-weight: 700; }
/* or divider */
.rev-or { display: flex; align-items: center; gap: .8rem; margin: 1.3rem 0; color: #b98ba8; font-weight: 700; }
.rev-or::before, .rev-or::after { content: ''; flex: 1; height: 1px; background: #f0cfe1; }
.rev-phone { display: grid; gap: 1rem; text-align: right; }
.rev-phone .rf-group { gap: .4rem; }
.btn-plain { width: 100%; margin-top: .5rem; background: none; border: none; color: #a07a90; font-family: var(--font-body); font-weight: 700; font-size: .92rem; cursor: pointer; padding: .5rem; }
.btn-plain:hover { color: var(--yellow); }
.rev-user-card, .rev-user-note { display: flex; align-items: center; gap: .8rem; padding: .9rem 1.1rem; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid var(--glass-brd); margin-bottom: .4rem; }
.rev-user-card img { width: 44px; height: 44px; border-radius: 50%; }
.rev-user-card .av { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--grad-btn); color: #1A0E00; font-family: var(--font-body); font-weight: 900; }
.rev-user-card strong { display: block; font-size: .98rem; }
.rev-user-card small { color: var(--dim); font-size: .82rem; }
.rev-user-note { color: var(--muted); font-size: .88rem; font-weight: 600; }
.rev-user-note i { color: var(--yellow); }

/* ===== Payment strip ===== */
.pay-strip { padding: 1.6rem 2rem; border-radius: 22px; }
.pay-strip img { width: 100%; height: auto; display: block; }
.pay-note { text-align: center; color: var(--muted); margin-top: 1.4rem; font-weight: 600; font-size: .95rem; }
.pay-note i { color: #25D366; margin-inline-end: .4rem; }

/* ===== Founder ===== */
.founder-top { padding-top: 7rem; }
.founder-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3rem; align-items: center; }
/* founder without photo: single centered column */
.founder-grid.founder-noimg { grid-template-columns: 1fr; max-width: 860px; margin-inline: auto; }
.founder-noimg .founder-text { text-align: center; }
.founder-noimg .founder-stats { justify-content: center; }
.founder-noimg .hero-cta { justify-content: center; }
.founder-noimg .sat-meter { max-width: 540px; margin-inline: auto; text-align: right; }
/* keep the moving strips fully inside the screen */
.svc-marquee, .top-ticker { max-width: 100%; }

/* ===== 3D Coverflow carousel ===== */
.coverflow-sec { padding: 3rem 0 2.4rem; overflow: hidden; }
.coverflow { position: relative; perspective: 1500px; height: 400px; margin-top: 1.6rem; }
.cf-stage { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.cf-card { position: absolute; top: 50%; left: 50%; width: 240px; height: 330px; margin: -165px 0 0 -120px;
    border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--text);
    border: 1px solid var(--glass-brd); background: #0b1310;
    transition: transform .55s cubic-bezier(.2,.7,.2,1), opacity .5s; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
    will-change: transform; }
.cf-media { width: 100%; height: 78%; display: grid; place-items: center; overflow: hidden;
    background: linear-gradient(135deg, var(--g1,#17A85E), var(--g2,#0E7A45)); }
.cf-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cf-media i { font-size: 4rem; color: #fff; opacity: .95; }
.cf-title { padding: .75rem .6rem; text-align: center; font-weight: 800; font-size: 1rem; line-height: 1.4; }
.cf-card.cf-active { box-shadow: 0 34px 70px -16px var(--g1,#17A85E); border-color: transparent; }
.cf-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 200; width: 46px; height: 46px;
    border-radius: 50%; border: 1px solid var(--glass-brd); background: rgba(0,0,0,.5); color: #fff; font-size: 1.3rem;
    cursor: pointer; backdrop-filter: blur(6px); display: grid; place-items: center; transition: var(--tr); }
.cf-arrow:hover { background: var(--pink); border-color: transparent; }
.cf-prev { inset-inline-start: 8px; } .cf-next { inset-inline-end: 8px; }
.cf-dots { position: absolute; bottom: -4px; inset-inline: 0; display: flex; justify-content: center; gap: .4rem; z-index: 200; }
.cf-dot { width: 8px; height: 8px; border-radius: 50%; border: 0; background: var(--glass-brd); cursor: pointer; padding: 0; transition: var(--tr); }
.cf-dot.active { background: var(--pink); width: 22px; border-radius: 4px; }
@media (max-width: 560px) { .cf-card { width: 172px; height: 250px; margin: -125px 0 0 -86px; } .coverflow { height: 310px; } .cf-media i { font-size: 2.8rem; } }
.founder-photo { position: relative; }
.founder-photo img {
    width: 100%; border-radius: 26px; display: block;
    border: 1px solid var(--glass-brd);
    box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(23,168,95,.12);
}
/* transparent cutout: no frame, faded edges, glow behind */
.founder-photo.cutout img {
    border: none; box-shadow: none; border-radius: 0;
    position: relative; z-index: 2; filter: none;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 82%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 82%, transparent 100%);
}
.founder-glow {
    position: absolute; z-index: 1; inset: 6% 8% 0 8%;
    background: radial-gradient(58% 55% at 50% 42%, rgba(23,168,95,.3), rgba(23,168,95,.2) 55%, transparent 72%);
    filter: blur(55px); border-radius: 50%;
}
.founder-photo.cutout { display: flex; justify-content: center; }

/* satisfaction meter */
.sat-meter { margin: .4rem 0 1.6rem; max-width: 420px; }
.sat-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: .35rem; }
.sat-label { font-weight: 700; font-size: .92rem; color: var(--text); }
.sat-label i { margin-inline-end: .4rem; }
.sat-val { font-family: var(--font-body); font-weight: 900; font-size: .95rem; color: var(--muted); }
.sat-bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; margin-bottom: .9rem; }
.sat-bar i { display: block; height: 100%; border-radius: 999px; }
.founder-badge {
    position: absolute; bottom: 18px; inset-inline-start: 18px;
    display: inline-flex; align-items: center; gap: .5rem;
    background: rgba(5,5,5,.7); backdrop-filter: blur(12px);
    border: 1px solid var(--glass-brd); border-radius: 999px;
    padding: .5rem 1.1rem; font-family: var(--font-body); font-weight: 800; font-size: .9rem;
}
.founder-badge i { color: #25D366; }
.founder-text h2 { font-size: clamp(2rem, 5vw, 3rem); margin: .5rem 0; }
.founder-role { color: var(--yellow); font-weight: 700; margin-bottom: 1.2rem; direction: ltr; text-align: right; }
.founder-text > p { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.6rem; }
.founder-text strong { color: var(--text); }
.founder-stats { display: flex; gap: 2.2rem; margin-bottom: 1.8rem; }
.founder-stats strong { display: block; font-family: var(--font-body); font-size: 1.8rem; font-weight: 900; }
.founder-stats span { color: var(--dim); font-size: .9rem; }

/* ===== Category detail page ===== */
.cat-hero { position: relative; padding: 8rem 0 3rem; overflow: hidden; }
.back-link { display: inline-flex; align-items: center; gap: .5rem; color: var(--muted); text-decoration: none; font-weight: 600; margin-bottom: 1.6rem; transition: var(--tr); }
.back-link:hover { color: var(--yellow); }
.cat-hero-head { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1.2rem; }
.cat-hero-ico { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 20px; font-size: 1.9rem; color: #fff; flex-shrink: 0; }
.cat-hero-head h1 { font-size: clamp(1.9rem, 5vw, 3rem); }
.cat-hero-intro { color: var(--muted); font-size: 1.12rem; max-width: 720px; margin-bottom: 2rem; }
.sub-title { font-size: 1.35rem; font-weight: 900; margin: 2.4rem 0 1.3rem; }
.chip-grid { display: flex; flex-wrap: wrap; gap: .7rem; }
.chip {
    padding: .7rem 1.3rem; border-radius: 14px; text-decoration: none; color: var(--text);
    font-weight: 600; font-size: .96rem; transition: var(--tr); cursor: pointer;
    font-family: inherit; display: inline-flex; align-items: center; gap: .5rem;
}
.chip i { color: var(--cg1, var(--gold)); font-size: .82rem; opacity: .8; }
.chip:hover { transform: translateY(-4px); border-color: var(--cg1, var(--pink)); color: #fff; box-shadow: 0 10px 26px rgba(0,0,0,.4); }

/* ===== Item detail modal ===== */
.item-modal {
    position: fixed; inset: 0; z-index: 3000; background: rgba(3,3,6,.9);
    backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; padding: 1.2rem;
}
.item-modal.open { display: flex; }
.im-card {
    position: relative; width: min(560px, 100%); max-height: 88vh; overflow-y: auto;
    background: var(--bg-2); border: 1px solid var(--glass-brd); border-radius: 24px; padding: 2.4rem;
}
.im-close {
    position: absolute; top: 1.1rem; inset-inline-start: 1.1rem; width: 40px; height: 40px;
    display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid var(--glass-brd);
    border-radius: 12px; color: var(--muted); font-size: 1rem; cursor: pointer; transition: var(--tr);
}
.im-close:hover { color: var(--yellow); border-color: var(--yellow); }
.im-title { font-size: 1.6rem; font-weight: 900; margin-bottom: 1rem; }
.im-desc { color: var(--text); font-size: 1.05rem; margin-bottom: 1.2rem; line-height: 1.8; }
.im-feats { margin-bottom: 1.2rem; }
.im-feats h4 { font-size: 1.05rem; margin-bottom: .7rem; }
.im-feats h4 i { color: var(--gold); margin-inline-end: .4rem; }
.im-feats ul { list-style: none; display: grid; gap: .5rem; }
.im-feats li { color: var(--muted); font-weight: 600; font-size: .96rem; }
.im-feats li i { color: #25D366; margin-inline-end: .5rem; }
.im-price {
    background: var(--gold-soft, rgba(255,212,0,.1)); border: 1px solid rgba(255,212,0,.3);
    color: var(--yellow); font-weight: 800; border-radius: 12px; padding: .8rem 1.2rem; margin-bottom: 1.4rem;
}
.im-price i { margin-inline-end: .5rem; }
.im-order { width: 100%; justify-content: center; }
.im-note { text-align: center; color: var(--dim); font-size: .85rem; font-weight: 700; margin-top: .9rem; }

/* ===== Steps ===== */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 1.3rem; }
.step { position: relative; padding: 2rem 1.6rem; border-radius: var(--radius); }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--grad-btn); color: #1A0E00; font-family: var(--font-body); font-weight: 900; font-size: 1.1rem; margin-bottom: 1rem; }
.step h4 { font-size: 1.08rem; margin-bottom: .4rem; }
.step p { color: var(--muted); font-size: .92rem; }

/* ===== Reveal ===== */
/* 3D pop-in reveal (inspired by the flying-cards video) */
.reveal {
    opacity: 0;
    transform: perspective(1100px) translateY(46px) translateZ(-90px) rotateX(-14deg) scale(.9);
    transform-origin: 50% 100%;
    transition: opacity .75s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
    will-change: transform, opacity;
}
.reveal.show { opacity: 1; transform: perspective(1100px) translateY(0) translateZ(0) rotateX(0) scale(1); }

/* extra life: icons give a little 3D pop after the card lands */
.cat.reveal .cat-ico, .svc.reveal .svc-ico { transition: transform .6s cubic-bezier(.34,1.56,.64,1) .15s; transform: translateZ(0) scale(.6) rotate(-12deg); opacity: .6; }
.cat.reveal.show .cat-ico, .svc.reveal.show .svc-ico { transform: none; opacity: 1; }

@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal.show { transform: none; transition: opacity .4s ease; }
    .cat.reveal .cat-ico, .svc.reveal .svc-ico { transform: none; opacity: 1; transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .btn-nav { display: none; }
}
/* Tablet + mobile: collapse the whole navbar into a hamburger menu */
@media (max-width: 1024px) {
    .nav-inner { gap: .6rem; }
    .nav-links {
        position: fixed; top: 60px; inset-inline: 0; flex-direction: column; align-items: stretch;
        background: rgba(8,8,10,.98); border-bottom: 1px solid var(--glass-brd);
        padding: 1rem 1.4rem 1.4rem; gap: .3rem; display: none; max-height: 80vh; overflow-y: auto;
    }
    .nav-links.open { display: flex; }
    .top-ticker ~ .nav .nav-links { top: 94px; }
    .nav-links li a { display: block; padding: .8rem .4rem; border-bottom: 1px solid var(--glass-brd); }
    .nav-toggle { display: block; margin-inline-start: auto; }
    /* hide the desktop CTA + auth text buttons; they move into the menu / FABs */
    .nav .nav-inner > .btn-grad, .nav-auth { display: none; }
    .nav-m-only { display: block; }
}
.nav-m-only { display: none; }

@media (max-width: 768px) {
    .search-bar { flex-wrap: nowrap; }
    .footer-grid { grid-template-columns: 1fr; }
    .section { padding: 3.4rem 0; }
    .founder-grid { grid-template-columns: 1fr; gap: 2rem; }
    .proof-cta { grid-template-columns: 1fr; gap: 1.4rem; text-align: center; justify-items: center; }
    .founder-photo { max-width: 360px; margin-inline: auto; }
    .founder-stats { justify-content: space-between; gap: 1rem; }
    .pay-strip { padding: 1rem; }
    .hero { min-height: auto; padding: 7rem 0 3.5rem; }
}

/* =========================================================
   Unified contact — WhatsApp + Messenger + Call
   ========================================================= */
.contact-fabs { position: fixed; right: 20px; bottom: 22px; z-index: 1200; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.cf-menu { display: flex; flex-direction: column; gap: 12px; align-items: flex-end;
    opacity: 0; visibility: hidden; transform: translateY(14px) scale(.96); transform-origin: bottom right; transition: all .28s cubic-bezier(.22,1,.36,1); }
.contact-fabs.open .cf-menu { opacity: 1; visibility: visible; transform: none; }
.cf-btn { display: inline-flex; align-items: center; gap: .6rem; height: 50px; padding: 0 1.1rem 0 .5rem;
    border-radius: 999px; color: #fff; text-decoration: none; font-family: var(--font-body); font-weight: 800; font-size: .95rem;
    box-shadow: 0 10px 28px -6px rgba(0,0,0,.55); flex-direction: row-reverse; }
.cf-btn i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.18); font-size: 1.2rem; }
.cf-btn span { white-space: nowrap; }
.cf-wa { background: #25D366; }
.cf-mm { background: linear-gradient(135deg, #00B2FF, #006AFF); }
.cf-tel { background: var(--grad-btn); color: #fff; }
.cf-btn:hover { transform: translateX(-4px); }
.cf-toggle { width: 60px; height: 60px; border: none; border-radius: 50%; cursor: pointer; align-self: flex-end;
    background: var(--grad-btn); color: #fff; font-size: 1.5rem; position: relative;
    box-shadow: 0 12px 34px -6px color-mix(in srgb, var(--pink) 60%, transparent); transition: var(--tr); }
.cf-toggle:hover { transform: scale(1.05); }
.cf-toggle .cf-i-close { display: none; }
.contact-fabs.open .cf-toggle .cf-i-open { display: none; }
.contact-fabs.open .cf-toggle .cf-i-close { display: inline; }

/* choice popup */
.contact-pop { position: fixed; inset: 0; z-index: 1400; display: grid; place-items: center; padding: 20px;
    background: rgba(5,3,12,.74); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .28s; }
.contact-pop.open { opacity: 1; visibility: visible; }
.cp-card { width: min(420px, 100%); background: linear-gradient(180deg, var(--bg-2), var(--bg));
    border: 1px solid var(--glass-brd); border-radius: 22px; padding: 1.8rem 1.6rem; position: relative;
    box-shadow: 0 30px 70px rgba(0,0,0,.6); transform: translateY(12px); transition: transform .28s; }
.contact-pop.open .cp-card { transform: none; }
.cp-x { position: absolute; top: 14px; left: 16px; background: none; border: none; color: var(--muted); font-size: 1.4rem; cursor: pointer; }
.cp-x:hover { color: #fff; }
.cp-title { font-size: 1.3rem; margin-bottom: .3rem; }
.cp-sub { color: var(--muted); font-size: .92rem; margin-bottom: 1.3rem; }
.cp-opts { display: flex; flex-direction: column; gap: .8rem; }
.cp-opt { display: flex; align-items: center; gap: .9rem; padding: .85rem 1rem; border-radius: 14px;
    text-decoration: none; color: #fff; border: 1px solid var(--glass-brd); background: rgba(255,255,255,.03); transition: var(--tr); }
.cp-opt:hover { transform: translateY(-2px); border-color: transparent; }
.cp-ic { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 12px; font-size: 1.35rem; color: #fff; }
.cp-wa .cp-ic { background: #25D366; }
.cp-mm .cp-ic { background: linear-gradient(135deg, #00B2FF, #006AFF); }
.cp-tel .cp-ic { background: var(--grad-btn); color: #fff; }
.cp-wa:hover { background: rgba(37,211,102,.12); }
.cp-mm:hover { background: rgba(0,122,255,.12); }
.cp-tel:hover { background: rgba(255,138,0,.12); }
.cp-tx { flex: 1; display: flex; flex-direction: column; }
.cp-tx strong { font-family: var(--font-body); font-weight: 800; font-size: 1.02rem; }
.cp-tx small { color: var(--muted); font-size: .82rem; }
.cp-go { color: var(--dim); font-size: .9rem; }

/* testimonials — word woven into the comment + Google-account avatar */
.tcard .stars { display: block; margin-bottom: .6rem; }
.stars .off { opacity: .22; }
.rev-word { color: #3ad07f; font-weight: 800; }
.av-wrap { position: relative; display: inline-flex; flex: none; }
.gbadge {
    position: absolute; bottom: -4px; left: -4px; width: 20px; height: 20px;
    background: #fff; border-radius: 50%; padding: 2.5px;
    box-shadow: 0 1px 5px rgba(0,0,0,.4); border: 1px solid rgba(0,0,0,.06);
}
.tcard-neu { border-color: rgba(255,196,0,.28); }

/* hero top word — "الوساطة" in Kufam */
/* small decorative brand word on the right side (no overlap with hero text) */
.hero-word {
    position: absolute; top: clamp(80px, 12vh, 132px); right: clamp(18px, 4vw, 64px); left: auto; inset-inline: auto; z-index: 1;
    text-align: right; pointer-events: none; white-space: nowrap;
    font-family: var(--font-body); font-weight: 800;
    font-size: clamp(1rem, 2.2vw, 1.6rem); line-height: 1; letter-spacing: .5px;
    background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
    opacity: .85;
}
@media (max-width: 768px){ .hero-word { top: clamp(64px, 9vh, 92px); right: 16px; font-size: clamp(.9rem, 4vw, 1.15rem); opacity: .75; } }

/* small platform brand-mark on chips */
.chip .plat-ic { font-size: 1.02rem !important; opacity: 1 !important; }

/* facebook review badge + empty state */
.gbadge-fb { display: grid; place-items: center; background: #1877F2; color: #fff; }
.gbadge-fb i { font-size: 11px; }
.reviews-empty { text-align: center; color: var(--muted); padding: 1.4rem; font-weight: 600; }

/* Facebook sign-in button */
.btn-facebook {
    width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    padding: .85rem 1.2rem; margin-top: .7rem; border-radius: 12px; cursor: pointer;
    background: #1877F2; color: #fff; border: none;
    font-family: var(--font-body); font-weight: 800; font-size: 1rem;
    transition: var(--tr);
}
.btn-facebook:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(24,119,242,.4); }
.btn-facebook i { font-size: 1.15rem; }

/* ===== Navbar account + notifications bell ===== */
.nav-account, .notif-bell {
    width: 42px; height: 42px; flex: none; display: grid; place-items: center;
    border-radius: 12px; border: 1px solid var(--glass-brd); background: rgba(255,255,255,.05);
    color: var(--text); font-size: 1.05rem; cursor: pointer; text-decoration: none; position: relative; transition: var(--tr);
}
.nav-account:hover, .notif-bell:hover { border-color: var(--yellow); color: var(--yellow); transform: translateY(-2px); }
.notif-badge {
    position: absolute; top: -6px; left: -6px; min-width: 20px; height: 20px; padding: 0 5px;
    display: grid; place-items: center; border-radius: 999px; background: #ff3b5c; color: #fff;
    font-family: var(--font-body); font-weight: 800; font-size: .72rem; border: 2px solid #0b1512;
}
.notif-panel {
    position: fixed; top: 70px; inset-inline-start: 12px; z-index: 1300; width: min(360px, 92vw);
    max-height: 70vh; overflow-y: auto; background: linear-gradient(180deg, #17102b00, transparent), #10201a;
    border: 1px solid var(--glass-brd); border-radius: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.6);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all .25s;
}
.notif-panel.open { opacity: 1; visibility: visible; transform: none; }
.np-head { padding: 1rem 1.2rem; border-bottom: 1px solid var(--glass-brd); }
.np-head strong i { color: var(--yellow); margin-inline-end: .3rem; }
.np-list { padding: .6rem; }
.np-empty { text-align: center; color: var(--muted); padding: 1.6rem; }
.np-item { padding: .8rem 1rem; border-radius: 12px; border: 1px solid transparent; }
.np-item + .np-item { margin-top: .3rem; }
.np-item.np-new { background: rgba(23,168,94,.08); border-color: rgba(34,210,180,.2); }
.np-item strong { display: block; font-size: .98rem; }
.np-item p { color: var(--muted); font-size: .88rem; margin: .2rem 0 0; }
.np-link { display: inline-block; margin-top: .4rem; color: var(--yellow); font-weight: 700; font-size: .85rem; }

/* ===== Store-style account (types + form) ===== */
.acc-types { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-bottom: 1.4rem; }
.acc-type {
    text-align: center; padding: 1.1rem .8rem; border-radius: 14px; cursor: pointer;
    background: rgba(255,255,255,.03); border: 1.5px solid var(--glass-brd); color: var(--text);
    font-family: inherit; transition: var(--tr); display: flex; flex-direction: column; align-items: center; gap: .35rem;
}
.acc-type i { font-size: 1.5rem; color: var(--muted); }
.acc-type strong { font-family: var(--font-body); font-weight: 800; font-size: 1rem; }
.acc-type small { color: var(--dim); font-size: .78rem; line-height: 1.5; }
.acc-type.active { border-color: var(--pink); background: rgba(23,168,94,.08); box-shadow: 0 0 24px rgba(23,168,94,.2); }
.acc-type.active i { color: var(--pink); }
.req { color: #ff6b6b; }
.ac-terms { display: flex; align-items: center; gap: .5rem; margin: .3rem 0 1rem; color: var(--muted); font-size: .9rem; cursor: pointer; }
.ac-terms input { width: 18px; height: 18px; accent-color: var(--pink); }
.ac-submit { width: 100%; justify-content: center; }
.ac-switch { text-align: center; margin-top: 1rem; color: var(--muted); font-size: .92rem; }
.ac-switch a { color: var(--yellow); font-weight: 700; }
.acc-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: .7rem; margin-top: 1.2rem; }
.acc-stat { text-align: center; padding: .9rem .5rem; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--glass-brd); }
.acc-stat strong { display: block; font-family: var(--font-body); font-weight: 800; color: var(--yellow); font-size: 1rem; }
.acc-stat span { color: var(--muted); font-size: .78rem; }
@media (max-width: 480px){ .acc-types { grid-template-columns: 1fr; } }

/* account page dark card */
.acc-card { background: var(--glass); border: 1px solid var(--glass-brd); border-radius: var(--radius); padding: 1.8rem; backdrop-filter: blur(18px); }
.acc-card .rf-group { margin-bottom: 1rem; }
.acc-card .rf-group label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .4rem; color: var(--text); }
.acc-card input[type=text], .acc-card input[type=email], .acc-card input[type=tel], .acc-card input[type=password] {
    width: 100%; padding: .85rem 1rem; border-radius: 12px; font-family: inherit; font-size: .95rem;
    background: rgba(255,255,255,.04); border: 1px solid var(--glass-brd); color: var(--text);
}
.acc-card input:focus { outline: none; border-color: var(--pink); }
.acc-card input::placeholder { color: var(--dim); }
.acc-card .rev-user-card { display: flex; align-items: center; gap: .8rem; background: rgba(255,255,255,.03); border: 1px solid var(--glass-brd); border-radius: 14px; padding: 1rem; }
.acc-card .rev-user-card img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.acc-card .rev-user-card .av { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-btn); color: #fff; font-family: var(--font-body); font-weight: 800; font-size: 1.3rem; }
.acc-card .rev-user-card strong { display: block; color: var(--text); }
.acc-card .rev-user-card small { color: var(--muted); }
.acc-card .rev-user-note { background: rgba(255,255,255,.03); border: 1px solid var(--glass-brd); border-radius: 12px; padding: .9rem 1.1rem; color: var(--muted); }
.acc-card .rev-or { display: flex; align-items: center; gap: .8rem; color: var(--dim); margin: 1.2rem 0; font-size: .9rem; }
.acc-card .rev-or::before, .acc-card .rev-or::after { content: ''; flex: 1; height: 1px; background: var(--glass-brd); }

/* =========================================================
   Shopping cart + checkout (store)
   ========================================================= */
.cart-fab {
    position: fixed; left: 20px; bottom: 22px; z-index: 900;
    width: 58px; height: 58px; border: none; border-radius: 50%; cursor: pointer;
    background: var(--grad-btn); color: #fff; font-size: 1.35rem;
    box-shadow: 0 12px 34px -6px color-mix(in srgb, var(--pink) 60%, transparent); transition: var(--tr);
}
.cart-fab:hover { transform: translateY(-3px) scale(1.05); }
.cart-badge {
    position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px;
    display: none; place-items: center; padding: 0 5px; border-radius: 999px;
    background: #fff; color: var(--pink); font-family: var(--font-body); font-weight: 900; font-size: .78rem;
    box-shadow: 0 3px 10px rgba(0,0,0,.4); border: 2px solid var(--pink);
}
.cart-backdrop { position: fixed; inset: 0; z-index: 1100; background: rgba(5,12,10,.72); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity .3s; }
.cart-backdrop.show { opacity: 1; visibility: visible; }
.cart-drawer {
    position: fixed; top: 0; right: 0; z-index: 1200; height: 100%;
    width: min(400px, 90vw); display: flex; flex-direction: column;
    background: linear-gradient(180deg, var(--bg-2), var(--bg));
    border-left: 1px solid var(--glass-brd); box-shadow: -20px 0 60px rgba(0,0,0,.6);
    transform: translateX(100%); transition: transform .38s cubic-bezier(.22,1,.36,1);
}
.cart-drawer.open { transform: translateX(0); }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 1.3rem 1.4rem; border-bottom: 1px solid var(--glass-brd); }
.cart-head h3 { font-size: 1.15rem; }
.cart-head h3 i { color: var(--yellow); margin-left: .3rem; }
.cart-x { background: none; border: none; color: var(--muted); font-size: 1.4rem; cursor: pointer; }
.cart-x:hover { color: #fff; }
.cart-list { flex: 1; overflow-y: auto; padding: 1rem 1.2rem; }
.cart-item { display: flex; align-items: center; gap: .7rem; padding: .85rem 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.ci-info { flex: 1; min-width: 0; }
.ci-info strong { display: block; font-size: .95rem; }
.ci-info small { color: var(--muted); font-size: .78rem; }
.ci-info .ci-link, .co-item .ci-link { display: block; color: var(--teal); font-size: .74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.ci-qty { display: flex; align-items: center; gap: .55rem; }
.ci-qty button { width: 26px; height: 26px; border-radius: 8px; cursor: pointer; border: 1px solid var(--glass-brd); background: var(--glass); color: #fff; font-size: 1rem; line-height: 1; }
.ci-qty button:hover { border-color: var(--pink); color: var(--pink); }
.ci-qty span { min-width: 20px; text-align: center; font-weight: 700; }
.ci-del { background: none; border: none; color: var(--dim); cursor: pointer; font-size: 1rem; padding: .2rem; }
.ci-del:hover { color: var(--pink); }
.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.cart-empty i { font-size: 2.6rem; color: var(--dim); margin-bottom: .8rem; }
.cart-empty p { font-family: var(--font-body); font-weight: 800; color: var(--text); margin-bottom: .3rem; }
.cart-empty span { font-size: .85rem; }
.cart-foot { padding: 1.1rem 1.4rem 1.4rem; border-top: 1px solid var(--glass-brd); }
.cart-count-row { display: flex; justify-content: space-between; margin-bottom: .5rem; }
.cart-count-row strong { color: var(--yellow); }
.cart-note { font-size: .78rem; color: var(--muted); margin-bottom: 1rem; }
.cart-checkout { width: 100%; justify-content: center; }
.cart-clear { width: 100%; margin-top: .7rem; background: none; border: none; cursor: pointer; color: var(--dim); font-size: .85rem; font-family: 'IBM Plex Sans Arabic'; }
.cart-clear:hover { color: var(--pink); }
.cart-toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); z-index: 1300; background: var(--bg-2); border: 1px solid var(--glass-brd); color: #fff; padding: .8rem 1.3rem; border-radius: 14px; font-size: .9rem; font-weight: 600; box-shadow: 0 14px 40px rgba(0,0,0,.5); opacity: 0; visibility: hidden; transition: all .3s; max-width: 90vw; }
.cart-toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
/* checkout page */
.checkout-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 1.6rem; align-items: start; }
.checkout-summary, .checkout-form { padding: 1.8rem; border-radius: var(--radius); }
.co-title { font-size: 1.15rem; margin-bottom: 1.2rem; }
.co-title i { color: var(--yellow); margin-left: .3rem; }
.co-item { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.co-item strong { display: block; font-size: .95rem; }
.co-item small { color: var(--muted); font-size: .78rem; }
.co-qty { color: var(--yellow); font-weight: 800; }
.co-count-row { display: flex; justify-content: space-between; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--glass-brd); }
.co-count-row strong { color: var(--yellow); }
.co-price-note { font-size: .82rem; color: var(--muted); margin-top: 1rem; }
.co-price-note i { color: var(--yellow); }
.checkout-form label { display: block; font-weight: 700; margin: 1rem 0 .4rem; font-size: .92rem; }
.checkout-form input, .checkout-form textarea { width: 100%; padding: .85rem 1rem; border-radius: 12px; font-family: inherit; font-size: .95rem; background: rgba(255,255,255,.04); border: 1px solid var(--glass-brd); color: #fff; }
.checkout-form input:focus, .checkout-form textarea:focus { outline: none; border-color: var(--pink); }
.co-submit { width: 100%; justify-content: center; margin-top: 1.4rem; }
.co-secure { text-align: center; font-size: .8rem; color: var(--muted); margin-top: .9rem; }
.co-secure i { color: #34d399; }
.co-empty-msg { text-align: center; margin-top: 1rem; color: var(--muted); }
.co-empty-msg a { color: var(--pink); }
@media (max-width: 820px) { .checkout-wrap { grid-template-columns: 1fr; } }

/* category image tile: uploaded image fills the square like a product photo */
.cat-ico { overflow: visible; }
.cat-ico img { width: 100%; height: 100%; object-fit: contain; display: block; }
.cat-hero-ico:has(img) { background: none !important; box-shadow: none !important; overflow: hidden; padding: 4px; }
.cat-hero-ico { overflow: hidden; }
.cat-hero-ico img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; display: block; }

/* ============================================================
   Service detail page (service.html) — image-forward store view
   ============================================================ */
.svc-page { padding: 2.4rem 0 3rem; }
.svc-crumbs { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-size: .9rem; color: var(--muted); margin-bottom: 1.2rem; }
.svc-crumbs a { color: var(--muted); text-decoration: none; }
.svc-crumbs a:hover { color: var(--text); }
.svc-crumbs .sep { opacity: .5; }
.svc-layout { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: 2rem; align-items: start; }
@media (max-width: 900px) { .svc-layout { grid-template-columns: 1fr; gap: 1.4rem; } }

/* gallery */
.svc-gallery { position: sticky; top: 104px; margin-top: 1.4rem; }
@media (max-width: 900px) { .svc-gallery { position: static; margin-top: .4rem; } }
.svc-main-img { width: 100%; aspect-ratio: 1 / 1; border-radius: 20px; overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--cg1,#17A85E), var(--cg2,#0E7A45)); box-shadow: 0 20px 50px -14px rgba(0,0,0,.55); position: relative; }
.svc-main-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.svc-main-img.is-ph i { font-size: clamp(3rem, 12vw, 6rem); color: #fff; opacity: .92; }
.svc-badge { position: absolute; top: 14px; inset-inline-start: 14px; background: rgba(0,0,0,.45); backdrop-filter: blur(6px);
  color: #fff; font-size: .78rem; font-weight: 700; padding: .35rem .8rem; border-radius: 999px; }
.svc-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; margin-top: .8rem; }
.svc-thumb { aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; cursor: pointer; border: 2px solid transparent;
  display: grid; place-items: center; background: linear-gradient(135deg, var(--cg1,#17A85E), var(--cg2,#0E7A45)); transition: var(--tr); }
.svc-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.svc-thumb i { color: #fff; font-size: 1.3rem; opacity: .85; }
.svc-thumb.active { border-color: var(--pink); }
.svc-thumb:hover { transform: translateY(-2px); }

/* info column */
.svc-info h1 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); margin-bottom: .5rem; }
.svc-code { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; color: var(--muted);
  background: rgba(255,255,255,.05); border: 1px solid var(--glass-brd); padding: .28rem .7rem; border-radius: 999px; margin-bottom: 1rem; }
.svc-cat-tag { display: inline-flex; align-items: center; gap: .45rem; color: var(--text); font-weight: 700; text-decoration: none;
  margin-inline-start: .5rem; }
.svc-price { display: flex; align-items: baseline; gap: .5rem; margin: 1rem 0 1.1rem; }
.svc-price .val { font-size: clamp(1.4rem, 3.4vw, 2rem); font-weight: 900; color: var(--yellow); }
.svc-price .lbl { color: var(--muted); font-size: .9rem; }
.svc-lead { color: var(--muted); line-height: 1.9; margin-bottom: 1.3rem; }

.svc-order-box { padding: 1.2rem; border-radius: 18px; margin-bottom: 1.2rem; }
.svc-row { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; margin-bottom: .9rem; }
.svc-qty { display: inline-flex; align-items: center; border: 1px solid var(--glass-brd); border-radius: 12px; overflow: hidden; }
.svc-qty button { width: 42px; height: 42px; background: rgba(255,255,255,.04); color: var(--text); border: 0; font-size: 1.1rem; cursor: pointer; }
.svc-qty button:hover { background: rgba(255,255,255,.09); }
.svc-qty input { width: 52px; height: 42px; text-align: center; background: transparent; border: 0; color: var(--text); font-weight: 700; font-size: 1rem; }
.svc-field { width: 100%; }
.svc-field label { display: block; font-size: .85rem; color: var(--muted); margin-bottom: .35rem; }
.svc-field input, .svc-field textarea { width: 100%; background: rgba(255,255,255,.04); border: 1px solid var(--glass-brd);
  border-radius: 12px; padding: .7rem .9rem; color: var(--text); font-family: inherit; font-size: .95rem; }
.svc-field textarea { resize: vertical; min-height: 70px; }
.svc-hint { display: block; color: var(--muted); font-size: .8rem; margin-top: .2rem; }
.svc-warn { display: block; color: var(--yellow); font-size: .8rem; line-height: 1.7; margin-top: .4rem;
    background: rgba(255,212,0,.07); border: 1px solid rgba(255,212,0,.25); border-radius: 10px; padding: .5rem .7rem; }
.svc-warn i { margin-inline-end: .3rem; }
.svc-field .req { color: #ff6b6b; }
.qty-quick { display: flex; flex-wrap: wrap; gap: .4rem; }
.qty-quick button { background: rgba(255,255,255,.05); border: 1px solid var(--glass-brd); color: var(--text);
    font-family: inherit; font-size: .82rem; font-weight: 700; padding: .45rem .8rem; border-radius: 10px; cursor: pointer; transition: var(--tr); }
.qty-quick button:hover, .qty-quick button.active { background: linear-gradient(135deg, var(--cg1,#17A85E), var(--cg2,#0E7A45)); border-color: transparent; color: #fff; }
.svc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: .3rem; }
@media (max-width: 480px) { .svc-actions { grid-template-columns: 1fr; } }
.svc-note { color: var(--muted); font-size: .82rem; text-align: center; margin-top: .7rem; }

/* attachment */
.svc-attach { display: flex; align-items: center; gap: .8rem; padding: .9rem 1.1rem; border-radius: 14px; margin-bottom: 1.1rem;
  border: 1px dashed var(--glass-brd); }
.svc-attach i.fa-paperclip { color: var(--teal); font-size: 1.3rem; }
.svc-attach .at-body { flex: 1; }
.svc-attach .at-body b { display: block; font-size: .95rem; }
.svc-attach .at-body span { color: var(--muted); font-size: .82rem; }

/* tabs */
.svc-tabs-wrap { margin-top: 2.4rem; }
.svc-tabs { display: flex; flex-wrap: wrap; gap: .5rem; border-bottom: 1px solid var(--glass-brd); margin-bottom: 1.2rem; }
.svc-tab { background: transparent; border: 0; color: var(--muted); font-family: inherit; font-weight: 700; font-size: .95rem;
  padding: .7rem 1rem; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: var(--tr); }
.svc-tab:hover { color: var(--text); }
.svc-tab.active { color: var(--text); border-bottom-color: var(--pink); }
.svc-tabpane { display: none; line-height: 1.95; color: var(--muted); animation: fadeUp .3s ease; }
.svc-tabpane.active { display: block; }
.svc-tabpane h4 { color: var(--text); margin: .2rem 0 .6rem; }
.svc-tabpane ul { list-style: none; display: grid; gap: .5rem; }
.svc-tabpane ul li { position: relative; padding-inline-start: 1.6rem; }
.svc-tabpane ul li i { position: absolute; inset-inline-start: 0; top: .35rem; color: var(--pink); }
.svc-tabpane p { margin-bottom: .8rem; }

/* related */
.svc-related { margin-top: 2.6rem; }
.svc-related h3 { font-size: 1.3rem; margin-bottom: 1.1rem; }
.rel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 900px) { .rel-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .rel-grid { grid-template-columns: repeat(2, 1fr); gap: .6rem; } }
.rel-card { text-decoration: none; color: var(--text); border-radius: 16px; overflow: hidden; padding: .6rem; transition: var(--tr); display: block; }
.rel-card:hover { transform: translateY(-3px); }
.rel-img { width: 100%; aspect-ratio: 1 / 1; border-radius: 12px; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(135deg, var(--cg1,#17A85E), var(--cg2,#0E7A45)); margin-bottom: .5rem; }
.rel-img img { width: 100%; height: 100%; object-fit: contain; }
.rel-img i { color: #fff; font-size: 1.6rem; opacity: .9; }
.rel-card h4 { font-size: .9rem; text-align: center; line-height: 1.4; }

/* ============================================================
   User account portal (account.html) — sidebar + panels
   ============================================================ */
.portal { display: grid; grid-template-columns: 260px 1fr; gap: 1.2rem; align-items: start; }
@media (max-width: 860px) { .portal { grid-template-columns: 1fr; } }
.portal-side { position: sticky; top: 90px; border: 1px solid var(--glass-brd); border-radius: 18px; background: var(--glass); overflow: hidden; }
@media (max-width: 860px) { .portal-side { position: static; } }
.pt-user { display: flex; align-items: center; gap: .7rem; padding: 1rem; border-bottom: 1px solid var(--glass-brd); }
.pt-user img, .pt-user .av { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; display: grid; place-items: center;
    background: var(--grad-btn); color: #fff; font-weight: 900; font-size: 1.1rem; flex: none; }
.pt-user b { display: block; font-size: .95rem; }
.pt-user small { color: var(--muted); font-size: .78rem; word-break: break-all; }
.pt-menu { display: flex; flex-direction: column; padding: .5rem; gap: .1rem; max-height: 60vh; overflow-y: auto; }
@media (max-width: 860px) { .pt-menu { max-height: none; flex-flow: row wrap; } }
.pt-menu button { display: flex; align-items: center; gap: .6rem; width: 100%; text-align: right; background: none; border: 0;
    color: var(--text); font-family: inherit; font-size: .92rem; font-weight: 600; padding: .7rem .8rem; border-radius: 12px; cursor: pointer; transition: var(--tr); }
@media (max-width: 860px) { .pt-menu button { width: auto; font-size: .82rem; padding: .5rem .7rem; } }
.pt-menu button i { width: 20px; text-align: center; color: var(--muted); }
.pt-menu button:hover { background: rgba(255,255,255,.05); }
.pt-menu button.active { background: var(--grad-btn); color: #fff; }
.pt-menu button.active i { color: #fff; }
.pt-menu .pt-sep { color: var(--muted); font-size: .72rem; font-weight: 800; padding: .8rem .8rem .3rem; letter-spacing: .04em; }
.pt-menu .pt-logout { color: #ff6b6b; }
.portal-main { min-height: 340px; }
.pt-panel { display: none; border: 1px solid var(--glass-brd); border-radius: 18px; background: var(--glass); padding: 1.4rem; animation: fadeUp .3s ease; }
.pt-panel.active { display: block; }
.pt-panel h2 { font-size: 1.35rem; margin-bottom: .3rem; }
.pt-panel > p.sub { color: var(--muted); margin-bottom: 1.2rem; font-size: .92rem; }
.pt-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); gap: .9rem; margin-bottom: 1.2rem; }
.pt-stat { border: 1px solid var(--glass-brd); border-radius: 14px; padding: 1rem; text-align: center; background: rgba(255,255,255,.02); }
.pt-stat strong { display: block; font-size: 1.5rem; color: var(--yellow); font-family: var(--font-body); }
.pt-stat span { color: var(--muted); font-size: .82rem; }
.pt-field { margin-bottom: .9rem; }
.pt-field label { display: block; font-size: .85rem; color: var(--muted); margin-bottom: .35rem; }
.pt-field input, .pt-field select { width: 100%; background: rgba(255,255,255,.04); border: 1px solid var(--glass-brd);
    border-radius: 12px; padding: .7rem .9rem; color: var(--text); font-family: inherit; font-size: .95rem; }
.pt-row { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .85rem 0; border-bottom: 1px solid var(--glass-brd); }
.pt-row:last-child { border-bottom: 0; }
.pt-row .t b { display: block; } .pt-row .t small { color: var(--muted); font-size: .8rem; }
.pt-empty { text-align: center; color: var(--muted); padding: 2.2rem 1rem; }
.pt-empty i { font-size: 2.4rem; color: var(--dim); display: block; margin-bottom: .6rem; }
.pt-soon { display: inline-flex; align-items: center; gap: .4rem; font-size: .74rem; font-weight: 800; color: var(--yellow);
    background: rgba(255,255,255,.05); border: 1px solid var(--glass-brd); padding: .2rem .6rem; border-radius: 999px; }
.pt-list-item { display: flex; align-items: center; gap: .8rem; padding: .85rem; border: 1px solid var(--glass-brd); border-radius: 12px; margin-bottom: .6rem; }
.pt-list-item .ico { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--grad-btn); color: #fff; flex: none; }
.pt-list-item .body { flex: 1; min-width: 0; }
.pt-list-item .body b { display: block; } .pt-list-item .body small { color: var(--muted); font-size: .8rem; }

/* =========================================================
   Bubble / 3D pop on hover — buttons, cards, options, tabs
   Uses the bouncy --pop easing so elements "spring" up and
   cast a soft shadow, reading as a lightweight 3D lift.
   (Coverflow .cf-card is intentionally excluded: it already
   drives its own 3D transforms from JS.)
   ========================================================= */
.btn, .cat, .svc, .port, .rev, .chip, .pay, .step, .acc-type, .mq-card,
.partners-row span, .foot-social a, .tab, .svc-tab, .cat-tags span,
.related .rel-card, .rel-card, .qp, .qty-preset, .se-flag, .pill,
.acc-menu-item, .cp-card, .proof-card, .plat-card {
    transition: transform .34s var(--pop), box-shadow .34s var(--pop),
                border-color .3s ease, background .3s ease, color .3s ease;
    transform-origin: center;
    will-change: transform;
}
.btn:hover, .cat:hover, .svc:hover, .port:hover, .rev:hover, .chip:hover,
.pay:hover, .step:hover, .acc-type:hover, .mq-card:hover,
.partners-row span:hover, .foot-social a:hover, .tab:hover, .svc-tab:hover,
.cat-tags span:hover, .related .rel-card:hover, .rel-card:hover,
.qp:hover, .qty-preset:hover, .acc-menu-item:hover, .cp-card:hover,
.proof-card:hover, .plat-card:hover {
    transform: translateY(-7px) scale(1.055);
    box-shadow: 0 20px 44px -14px rgba(0,0,0,.6),
                0 0 0 1px color-mix(in srgb, var(--pink) 24%, transparent);
    z-index: 3;
}
/* buttons pop a touch more + tilt slightly for a 3D feel */
.btn:hover {
    transform: perspective(520px) translateY(-6px) translateZ(10px) scale(1.06);
}
/* quick "press in" feedback on click */
.btn:active, .cat:active, .svc:active, .chip:active, .pay:active,
.acc-type:active, .tab:active, .svc-tab:active, .rel-card:active,
.qp:active, .qty-preset:active {
    transform: translateY(-2px) scale(.97);
    transition-duration: .09s;
}
/* respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
    .btn, .cat, .svc, .port, .rev, .chip, .pay, .step, .acc-type, .mq-card,
    .partners-row span, .foot-social a, .tab, .svc-tab, .cat-tags span,
    .rel-card, .qp, .qty-preset, .cp-card, .proof-card, .plat-card {
        transition: box-shadow .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
    }
    .btn:hover, .cat:hover, .svc:hover, .chip:hover, .pay:hover,
    .acc-type:hover, .tab:hover, .rel-card:hover, .qp:hover, .qty-preset:hover {
        transform: none;
    }
}

/* =========================================================
   Chatbot assistant widget (bottom-left; contact fabs are right)
   ========================================================= */
.elbot { position: fixed; left: 20px; bottom: 22px; z-index: 1250; direction: rtl; }
.elbot-fab { width: 60px; height: 60px; border: none; border-radius: 50%; cursor: pointer;
    background: var(--grad-btn); color: #fff; font-size: 1.5rem; box-shadow: 0 12px 30px -6px color-mix(in srgb, var(--pink) 60%, transparent);
    display: grid; place-items: center; transition: transform .25s var(--pop); }
.elbot-fab:hover { transform: scale(1.08) translateY(-2px); }
.elbot-fab .elbot-i-close { display: none; }
.elbot.open .elbot-fab .elbot-i-open { display: none; }
.elbot.open .elbot-fab .elbot-i-close { display: block; }
.elbot-panel { position: absolute; left: 0; bottom: 74px; width: min(360px, calc(100vw - 32px));
    height: min(540px, calc(100vh - 130px)); background: var(--bg-2); border: 1px solid var(--glass-brd);
    border-radius: 20px; box-shadow: 0 30px 70px -20px rgba(0,0,0,.7); display: flex; flex-direction: column;
    overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(16px) scale(.96); transform-origin: bottom left;
    transition: opacity .25s ease, transform .3s var(--pop), visibility .25s; }
.elbot.open .elbot-panel { opacity: 1; visibility: visible; transform: none; }
.elbot-head { display: flex; align-items: center; gap: .6rem; padding: .9rem 1rem; background: var(--grad-btn); color: #fff; }
.elbot-av { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; font-size: 1.1rem; flex-shrink: 0; }
.elbot-av.sm { width: 30px; height: 30px; font-size: .85rem; background: var(--glass); color: var(--pink); }
.elbot-h-tx { flex: 1; line-height: 1.3; }
.elbot-h-tx strong { display: block; font-family: var(--font-head); font-size: 1rem; }
.elbot-h-tx small { opacity: .85; font-size: .78rem; }
.elbot-x { background: rgba(255,255,255,.15); border: 0; color: #fff; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; }
.elbot-msgs { flex: 1; overflow-y: auto; padding: 1rem .9rem; display: flex; flex-direction: column; gap: .7rem; }
.elbot-msg { display: flex; gap: .5rem; align-items: flex-end; max-width: 100%; }
.elbot-msg.me { justify-content: flex-start; flex-direction: row-reverse; }
.elbot-msg .elbot-b { padding: .65rem .85rem; border-radius: 14px; font-size: .9rem; line-height: 1.7; max-width: 82%; }
.elbot-msg.bot .elbot-b { background: var(--glass); border: 1px solid var(--glass-brd); color: var(--text); border-bottom-right-radius: 4px; }
.elbot-msg.me .elbot-b { background: var(--grad-btn); color: #fff; border-bottom-left-radius: 4px; }
.elbot-sugg { display: flex; flex-direction: column; gap: .4rem; margin-top: .6rem; }
.elbot-sg { text-align: right; background: var(--bg); border: 1px solid var(--glass-brd); color: var(--text);
    border-radius: 10px; padding: .5rem .7rem; font-family: inherit; font-size: .84rem; cursor: pointer; transition: var(--tr); }
.elbot-sg:hover { border-color: var(--pink); color: #fff; transform: translateX(-3px); }
.elbot-wa { display: inline-flex; align-items: center; gap: .4rem; margin-top: .5rem; background: #25D366; color: #fff;
    padding: .5rem .9rem; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: .85rem; }
.elbot-chips { display: flex; flex-wrap: wrap; gap: .4rem; padding: .5rem .9rem; border-top: 1px solid var(--glass-brd); max-height: 92px; overflow-y: auto; }
.elbot-chip { background: var(--glass); border: 1px solid var(--glass-brd); color: var(--text); border-radius: 999px;
    padding: .35rem .8rem; font-family: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; transition: var(--tr); }
.elbot-chip:hover { background: var(--grad-btn); color: #fff; border-color: transparent; }
.elbot-input { display: flex; gap: .5rem; padding: .7rem .9rem; border-top: 1px solid var(--glass-brd); background: var(--bg); }
.elbot-input input { flex: 1; background: var(--bg-2); border: 1px solid var(--glass-brd); color: var(--text);
    border-radius: 12px; padding: .6rem .8rem; font-family: inherit; font-size: .9rem; outline: none; }
.elbot-input input:focus { border-color: var(--pink); }
.elbot-input button { width: 42px; border: 0; border-radius: 12px; background: var(--grad-btn); color: #fff; cursor: pointer; font-size: .95rem; }
@media (max-width: 480px) { .elbot { left: 14px; bottom: 16px; } .elbot-panel { bottom: 70px; } }

/* =========================================================
   Card images: feathered edges (no hard frame) + 3D depth.
   The image melts into the card/background and floats with a
   soft shadow. Works with any size and transparent PNGs.
   ========================================================= */
.cat-ico img, .cat-hero-ico img, .cf-media img, .mq-ico img,
.svc-main-img img, .rel-img img, .svc-thumb img {
    -webkit-mask-image:
        linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%),
        linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%);
    -webkit-mask-composite: source-in; -webkit-mask-repeat: no-repeat;
    mask-image:
        linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%),
        linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%);
    mask-composite: intersect; mask-repeat: no-repeat;
    filter: drop-shadow(0 12px 26px rgba(0,0,0,.55));
    transition: transform .35s var(--pop), filter .35s var(--pop);
}
/* remove hard frames/backgrounds so the feathered image blends into the page */
.svc-main-img, .rel-img, .svc-thumb {
    background: transparent !important; border: none !important; box-shadow: none !important; overflow: visible !important;
}
.svc-thumb.active { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 12px; }
/* icon-only cards (no image): soft 3D glow instead of a solid block */
.unify-cats .cat-ico, .unify-cats .cat-hero-ico {
    background: radial-gradient(62% 62% at 50% 42%, color-mix(in srgb, var(--pink) 42%, transparent), transparent 72%) !important;
}
/* lift the image a touch on card hover for the 3D feel */
.cat:hover .cat-ico img, .rel-card:hover .rel-img img, .cf-card.cf-active .cf-media img {
    transform: translateY(-4px) scale(1.03);
    filter: drop-shadow(0 18px 34px rgba(0,0,0,.6));
}

/* chatbot inline links (direct deep links to services/categories) */
.elbot-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: .4rem;
    background: var(--grad-btn); color: #fff !important; padding: .5rem .85rem; border-radius: 10px;
    text-decoration: none; font-weight: 700; font-size: .85rem; transition: transform .25s var(--pop), box-shadow .25s var(--pop); }
.elbot-link:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--pink) 60%, transparent); }
.elbot-sugg a.elbot-link { justify-content: flex-start; text-align: right; }

/* ===== Service page: old price, discount, meta badges, tags ===== */
.svc-price { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.svc-price .old { color: var(--muted); text-decoration: line-through; font-size: 1.1rem; opacity: .8; }
.svc-price .disc { background: #e11d48; color: #fff; font-weight: 800; font-size: .8rem; padding: .15rem .5rem; border-radius: 8px; }
.svc-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin: .9rem 0 .2rem; }
.svc-b { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 700; color: var(--text);
    background: var(--glass); border: 1px solid var(--glass-brd); border-radius: 999px; padding: .4rem .8rem; }
.svc-b i { color: var(--pink); }
.svc-b.ok i { color: #22c55e; }
.svc-b.hot { background: linear-gradient(90deg, color-mix(in srgb, var(--pink) 22%, transparent), transparent); }
.svc-b.hot i { color: #f59e0b; }
.svc-tags-row { display: flex; flex-wrap: wrap; gap: .45rem; margin: .3rem 0 1rem; }
.svc-tag { font-size: .78rem; color: var(--muted); background: var(--glass); border: 1px solid var(--glass-brd); border-radius: 8px; padding: .25rem .6rem; }
/* discount badge on storefront cards */
.cat .card-disc, .rel-card .card-disc { position: absolute; top: 8px; inset-inline-start: 8px; z-index: 3;
    background: #e11d48; color: #fff; font-weight: 800; font-size: .72rem; padding: .18rem .5rem; border-radius: 8px; }
.cat .card-badge { position: absolute; top: 8px; inset-inline-end: 8px; z-index: 3;
    background: var(--grad-btn); color: #fff; font-weight: 800; font-size: .72rem; padding: .18rem .5rem; border-radius: 8px; }

/* ===== Service page: mediation notice + supplier meta ===== */
.svc-med { display: flex; gap: .55rem; align-items: flex-start; background: color-mix(in srgb, var(--pink) 10%, transparent);
    border: 1px solid var(--glass-brd); border-radius: 12px; padding: .7rem .9rem; margin-bottom: 1rem; font-size: .85rem; line-height: 1.7; }
.svc-med i { color: var(--pink); margin-top: .2rem; }
.svc-med .med-fee { display: inline-block; background: var(--glass); border-radius: 8px; padding: .1rem .5rem; margin-inline-start: .3rem; font-weight: 700; }
.svc-supmeta { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--glass-brd); font-size: .85rem; color: var(--muted); }
.svc-supmeta span { display: inline-flex; align-items: center; gap: .4rem; }
.svc-supmeta i { color: var(--pink); }
.svc-supmeta b.ok { color: #22c55e; }

/* =========================================================
   Service page images: CLEAN & FRAMED (like elawaady) —
   NOT feathered. Fills a rounded card edge-to-edge.
   ========================================================= */
.svc-main-img {
    background: linear-gradient(135deg, var(--cg1, #7c3aed), var(--cg2, #e0208f)) !important;
    border: 1px solid var(--glass-brd) !important;
    border-radius: 20px !important; overflow: hidden !important;
    box-shadow: 0 22px 55px -20px rgba(0,0,0,.65) !important;
}
.svc-main-img img {
    -webkit-mask-image: none !important; mask-image: none !important; filter: none !important;
    width: 100% !important; height: 100% !important; object-fit: cover !important; transform: none !important;
}
.svc-thumb {
    overflow: hidden !important; border-radius: 12px !important; background: var(--glass) !important; border: 1px solid var(--glass-brd) !important;
}
.svc-thumb.active { border-color: var(--pink) !important; }
.svc-thumb img {
    -webkit-mask-image: none !important; mask-image: none !important; filter: none !important; object-fit: cover !important;
}
.rel-img {
    overflow: hidden !important; border-radius: 14px !important; border: 1px solid var(--glass-brd) !important;
    background: linear-gradient(135deg, var(--cg1, #7c3aed), var(--cg2, #e0208f)) !important;
}
.rel-img img {
    -webkit-mask-image: none !important; mask-image: none !important; filter: none !important; object-fit: cover !important;
}
.rel-card:hover .rel-img img { transform: none !important; }

/* ===== Coupons (service page) ===== */
.coupon-row { display: flex; gap: .5rem; align-items: stretch; }
.coupon-row input { flex: 1; }
.coupon-row .btn { white-space: nowrap; flex-shrink: 0; }
.coupon-msg { display: block; margin-top: .4rem; font-size: .86rem; font-weight: 700; min-height: 1em; }
.coupon-msg.good { color: #34d399; }
.coupon-msg.bad { color: #f87171; }
.svc-price .price-was { text-decoration: line-through; color: var(--muted); font-size: .8em; font-weight: 600; margin-inline-start: .5rem; }

/* ===== Coupons (admin list) ===== */
.cp-row .cp-code { letter-spacing: 1px; font-family: 'Cairo', monospace; color: var(--pink, #e0208f); }
.cp-row.cp-off { opacity: .6; }
.cp-tag { display: inline-block; background: var(--glass); border: 1px solid var(--glass-brd);
    border-radius: 999px; padding: .1rem .55rem; font-size: .74rem; margin-inline-start: .35rem; color: var(--muted); }
.pill.ok { background: rgba(52,211,153,.15); color: #34d399; }

/* ===== Orders (admin, richer) ===== */
.ord-toolbar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: 1rem; }
.ord-filters { display: flex; flex-wrap: wrap; gap: .4rem; }
.ord-filters button { background: var(--glass); border: 1px solid var(--glass-brd); color: var(--muted);
    border-radius: 999px; padding: .35rem .85rem; font-family: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; }
.ord-filters button.active { background: linear-gradient(135deg, var(--grad-1, #7c3aed), var(--grad-2, #e0208f)); color: #fff; border-color: transparent; }
.ord-search { flex: 1; min-width: 160px; }
.ord-status-sel { background: var(--glass); border: 1px solid var(--glass-brd); color: #fff;
    border-radius: 10px; padding: .35rem .6rem; font-family: inherit; font-size: .82rem; }
.pill.st-new { background: rgba(96,165,250,.16); color: #60a5fa; }
.pill.st-proc { background: rgba(251,191,36,.16); color: #fbbf24; }
.pill.st-done { background: rgba(52,211,153,.16); color: #34d399; }
.pill.st-cancel { background: rgba(248,113,113,.16); color: #f87171; }
.ord-total { font-weight: 800; color: var(--yellow, #fbbf24); }
.wa-mini { color: #25d366 !important; }

/* ===== Section dividers (banners between category groups) ===== */
/* generous top margin leaves room for elements that pop OUT above the strip */
.cat-divider {
    grid-column: 1 / -1;
    position: relative; overflow: visible;      /* the free element floats OUT of the bar */
    display: flex; align-items: center; justify-content: flex-start; gap: .8rem;
    min-height: 56px; padding: .45rem clamp(1rem, 3.5vw, 2rem);   /* slim uniform bar */
    /* title sits at the RTL start (right); reserve room on the LEFT (inline-end) for the element */
    padding-inline-end: clamp(110px, 28vw, 220px);
    /* generous top gap so elements that pop OUT above the strip never crowd the section above */
    margin: 3.6rem 0 1rem; border-radius: var(--dvr, 14px);
    background: linear-gradient(115deg, var(--dg1, #0c2a2f) 0%, var(--dg2, #0b1c24) 60%, color-mix(in srgb, var(--dg2, #0b1c24) 80%, #000) 100%);
    border: 1px solid rgba(255, 255, 255, .06);
    box-shadow: 0 14px 40px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .05);
    isolation: isolate;
}
/* faint diagonal sheen — clipped to the rounded bar via its own layer */
.cat-divider::after {
    content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    border-radius: inherit; overflow: hidden;
    background: linear-gradient(115deg, transparent 45%, rgba(255, 255, 255, .05) 62%, transparent 70%);
}
.cat-divider .cd-text { position: relative; z-index: 2; text-align: right; flex: 1 1 auto; min-width: 0; }
.cat-divider .cd-text h3 {
    margin: 0; font-family: var(--font-head, 'Tajawal'), sans-serif; font-weight: 900;
    font-size: var(--dvts, clamp(1.1rem, 4vw, 1.6rem)); line-height: 1.2; letter-spacing: .3px;
    color: var(--dvtc, #eef7f5); text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}
.cat-divider .cd-text span {
    display: block; margin-top: .2rem; color: var(--dvsc, var(--brand, #17c8ac));
    font-weight: 700; font-size: clamp(.72rem, 2.2vw, .92rem);
}
/* the element is FREE: floats over the RTL-start (left) edge, detached from the bar,
   popping ABOVE it — the bar itself stays a clean, uniform strip */
/* element floats on the LEFT (inline-end in RTL) — the opposite side from the title */
.cat-divider .cd-arts {
    position: absolute; inset-inline-end: clamp(.2rem, 1vw, .7rem); bottom: -6px;
    z-index: 6; display: flex; align-items: flex-end; gap: .5rem;
    pointer-events: none;                        /* purely decorative */
}
.cat-divider .cd-el {
    width: auto; max-width: 42vw; object-fit: contain; align-self: flex-end;
    /* CLEAN cut-out — never feather/mask a divider element, keep transparency */
    -webkit-mask-image: none !important; mask-image: none !important;
    filter: drop-shadow(0 16px 22px rgba(0, 0, 0, .55));
}
/* no element → no reserved space, but title STAYS on the right (RTL start) */
.cat-divider.no-art { padding-inline-end: clamp(1rem, 3.5vw, 2rem); }
.cat-divider.no-art .cd-text { text-align: right; }
@media (max-width: 560px) {
    .cat-divider { min-height: 46px; margin-top: 2.8rem; gap: .5rem; padding-inline-end: clamp(92px, 32vw, 150px); }
    .cat-divider .cd-el { max-width: 46vw; }
}

/* ===== Treks-style sectioned home: divider banner + horizontal card row ===== */
.cat-grid.home-sections { display: block; }
.home-sec { margin-bottom: 1.2rem; }
.home-sec .cat-divider { margin-bottom: .6rem; }
.sec-slider {
    display: flex; gap: 14px; overflow-x: auto; overflow-y: visible;
    padding: .3rem .2rem 1rem; scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch; scrollbar-width: thin;
}
.sec-slider::-webkit-scrollbar { height: 6px; }
.sec-slider::-webkit-scrollbar-track { background: transparent; }
.sec-slider::-webkit-scrollbar-thumb { background: var(--glass-brd, rgba(255,255,255,.15)); border-radius: 6px; }
.sec-slider > .cat {
    flex: 0 0 auto; width: clamp(158px, 44vw, 220px); scroll-snap-align: start;
}
@media (min-width: 900px) { .sec-slider > .cat { width: 216px; } }

/* ===== Two auto-scrolling rows per section (opposite directions, seamless loop) ===== */
/* LTR on the container so the wide track anchors from the LEFT and overflows to the
   right (filling the row). Without this, RTL right-anchors the track and pushes all
   cards off-screen to the left, leaving the row empty. Cards keep RTL content below. */
.sec-marquee { display: flex; flex-direction: column; gap: 14px; overflow: hidden; padding: .3rem 0 1rem; direction: ltr; }
/* Force the track to LTR so it's anchored from the left: a track wider than the
   container always overflows to the right and NEVER leaves an empty gap in RTL.
   The cards keep their own RTL content. gap via per-card margin so -50% loops seamlessly. */
.mq-track {
    display: flex; gap: 0; width: max-content; will-change: transform; direction: ltr;
    animation-timing-function: linear; animation-iteration-count: infinite;
}
.mq-track > .cat { direction: rtl; }
.mq-ltr { animation-name: mqLeft; }
.mq-rtl { animation-name: mqRight; }
@keyframes mqLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes mqRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.sec-marquee:hover .mq-track { animation-play-state: paused; }
/* Treks-size cards: ~2 per mobile screen, larger on desktop */
.mq-track > .cat { flex: 0 0 auto; width: clamp(175px, 48vw, 220px); margin-inline-end: 16px; }
@media (min-width: 700px) { .mq-track > .cat { width: 224px; } }
@media (prefers-reduced-motion: reduce) { .mq-track { animation: none; } }

/* section banner "pops" when it scrolls into view */
@keyframes dvPop { 0% { transform: scale(.9); opacity: .25; } 55% { transform: scale(1.035); } 100% { transform: scale(1); opacity: 1; } }
.cat-divider.pop { animation: dvPop .55s var(--pop, cubic-bezier(.34,1.56,.64,1)) both; }

/* ===== Treks-style product card ===== */
.pcard {
    position: relative; display: flex; flex-direction: column; padding: 0; overflow: hidden;
    border-radius: 18px; text-align: center; background: var(--card, #10151f);
    border: 1px solid var(--glass-brd, rgba(255,255,255,.08));
    transition: transform .25s var(--pop, cubic-bezier(.34,1.56,.64,1)), box-shadow .25s, border-color .25s;
}
.pcard:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--g1) 60%, transparent);
    box-shadow: 0 18px 40px rgba(0,0,0,.4); }
.pcard .pcard-badge {
    position: absolute; top: 10px; inset-inline-start: 10px; z-index: 3;
    background: linear-gradient(135deg, var(--g1), var(--g2)); color: #fff;
    font-size: .66rem; font-weight: 800; padding: .18rem .5rem; border-radius: 999px;
}
.pcard .cat-ico {
    width: 100%; aspect-ratio: 1 / 1; height: auto; margin: 0; border-radius: 0; display: grid; place-items: center;
    background: radial-gradient(120% 120% at 50% 0%, color-mix(in srgb, var(--g1) 30%, #0b0f17), #0b0f17);
    font-size: 2.8rem; color: #fff; overflow: hidden;
}
/* 1:1 image area; `contain` shows transparent PNGs (logos) fully without a forced box */
.pcard .cat-ico img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.pcard-body { padding: .7rem .7rem .8rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
/* title locked to EXACTLY 2 lines so every card is the same height.
   h3 is a flex item, so Chromium blockifies `-webkit-box` to flow-root and
   ignores -webkit-line-clamp — a fixed height + overflow clip works regardless. */
.pcard-body h3 {
    font-size: .92rem; font-weight: 800; margin: 0; line-height: 1.35; color: #fff;
    height: calc(2 * 1.35em); overflow: hidden;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
/* subtitle + price lines (fixed heights keep every card the same total height) */
.pcard-sub { font-size: .74rem; font-weight: 600; color: var(--muted, #9aa4b2); text-align: center; height: 1.1em; overflow: hidden; }
.pcard-price { font-size: .95rem; font-weight: 900; color: var(--g1, #17d1c6); text-align: center; height: 1.2em; overflow: hidden; }
.pcard-price:empty::before { content: ''; }
.pcard-rate { display: flex; align-items: center; justify-content: center; gap: 2px; color: #fbbf24; font-size: .72rem; }
.pcard-rate .dim { color: color-mix(in srgb, var(--muted, #9aa4b2) 55%, transparent); }
.pcard-rate b { color: #eef2f7; font-weight: 800; margin-inline-start: 4px; }
.pcard-rate small { color: var(--muted, #9aa4b2); font-weight: 600; margin-inline-start: 2px; }
:root.theme-light .pcard-rate b { color: #283d54; }
:root.theme-light .pcard .cat-ico { background: radial-gradient(120% 120% at 50% 0%, color-mix(in srgb, var(--g1) 12%, #eef2f5), #f4f7f9); }
.pcard .cat-tags { justify-content: center; gap: 4px; min-height: 0; }
.pcard .cat-tags span {
    font-size: .62rem; padding: .1rem .4rem; border-radius: 999px;
    background: var(--glass, rgba(255,255,255,.05)); border: 1px solid var(--glass-brd, rgba(255,255,255,.08)); color: var(--muted); }
.pcard-cta {
    margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
    background: linear-gradient(135deg, var(--g1), var(--g2)); color: #fff;
    font-weight: 800; font-size: .82rem; padding: .5rem; border-radius: 12px;
}
.pcard:hover .pcard-cta { filter: brightness(1.08); }

/* ===== Divider manager (admin) ===== */
.dv-row .dv-swatch { display: inline-block; width: 16px; height: 16px; border-radius: 5px; vertical-align: middle; margin-inline-end: 4px; border: 1px solid rgba(255,255,255,.2); }
.dv-preview { height: 40px; border-radius: 8px; vertical-align: middle; background: #0c1712; border: 1px solid var(--glass-brd); }
.dv-arts { display: flex; flex-wrap: wrap; gap: .6rem; margin: .5rem 0; }
.dv-art { position: relative; display: flex; flex-direction: column; gap: .3rem; background: #0c1712;
    border: 1px solid var(--line, #1c2b24); border-radius: 10px; padding: .4rem; width: 120px; }
.dv-art img { height: 56px; object-fit: contain; border-radius: 6px; background: repeating-conic-gradient(#1a1a1a 0% 25%, #222 0% 50%) 0 / 14px 14px; }
.dv-art select { font-size: .74rem; padding: .2rem; }
.dv-art .dv-art-del { position: absolute; top: -8px; left: -8px; width: 22px; height: 22px; border-radius: 50%;
    border: none; background: #b91c1c; color: #fff; cursor: pointer; font-size: .8rem; line-height: 1; }
.dv-artadd { display: grid; place-items: center; width: 120px; min-height: 96px; border: 1px dashed var(--line, #2a3a32);
    border-radius: 10px; cursor: pointer; color: var(--muted); background: #0c1712; }

/* ===== Light-mode surfaces (auto-applied when theme bg is light, e.g. "vanilla") ===== */
:root.theme-light {
    --bg-2: #eef2f5;
    --muted: #5b6b7d;
    --dim: #8a97a6;
    --glass: #ffffff;
    --glass-brd: #e2e8ee;
    --card: #ffffff;
    --line: #e5e9ee;
}
:root.theme-light body { background: var(--bg); }
:root.theme-light .glass { background: #ffffff; border-color: #e6ebf0; box-shadow: 0 8px 26px rgba(20,40,60,.08); }
:root.theme-light .nav { background: rgba(255,255,255,.9); border-bottom: 1px solid #e6ebf0; }
:root.theme-light .brand-name { color: #283d54; }
:root.theme-light .nav-links a { color: #3a4c60; }
:root.theme-light .cat, :root.theme-light .pcard { background: #ffffff; border-color: #e6ebf0; }
:root.theme-light .pcard-body h3, :root.theme-light .cat h3 { color: #283d54; }
:root.theme-light .cat p, :root.theme-light .pcard .cat-tags span { color: #5b6b7d; }
:root.theme-light .pcard .cat-ico { background: radial-gradient(120% 120% at 50% 0%, color-mix(in srgb, var(--teal) 16%, #eef2f5), #f4f7f9); color: var(--teal); }
:root.theme-light .footer { background: #0f1b28; color: #dbe6f0; }
:root.theme-light .svc-order-box, :root.theme-light .svc-tabs-wrap { background: #ffffff; }
:root.theme-light .cat-divider { box-shadow: 0 10px 26px rgba(20,40,60,.14); }
:root.theme-light .stat { background: #ffffff; }
:root.theme-light input, :root.theme-light textarea, :root.theme-light select { background: #f4f7f9; color: #283d54; border-color: #dbe3ea; }
