
/* =========================================================
   1) DESIGN TOKENS
   ========================================================= */

:root {
    --default-font: 'Droid Arabic Kufi', serif;
    --heading-font: 'Droid Arabic Kufi', serif;
    --nav-font: "Inter", 'Droid Arabic Kufi', serif;
    /* Brand */
    --ry-teal: #007a82;
    --ry-teal-hover: #00646b;
    --ry-teal-deep: #06343a;
    --ry-teal-ink: #043036;
    --ry-teal-mint: #e2f2f1;
    --ry-teal-line: #d4e6e5;
    --ry-gold: #f0c000;
    --ry-gold-deep: #c99d00;
    --ry-lime: #60a818;
    /* Neutrals */
    --ry-ink: #12292c;
    --ry-muted: #56696c;
    --ry-surface: #f4f8f8;
    --ry-paper: #ffffff;
    /* Effects */
    --ry-shadow-sm: 0 6px 20px rgba(6, 52, 58, .07);
    --ry-shadow: 0 18px 44px rgba(6, 52, 58, .12);
    --ry-radius: 1rem;
    /* Bootstrap bridge */
    --bs-primary: var(--ry-teal);
    --bs-primary-rgb: 0, 122, 130;
    --bs-success-rgb: 96, 168, 24;
    --bs-body-font-family: 'Droid Arabic Kufi', serif;
    --bs-body-color: var(--ry-ink);
    --bs-body-bg: #fff;
    --bs-border-color: var(--ry-teal-line);
    --bs-link-color: var(--ry-teal);
    --bs-link-hover-color: var(--ry-teal-hover);
    --bs-border-radius: .75rem;
    --bs-border-radius-lg: 1rem;
    /* Legacy aliases */
    --naseej-forest: var(--ry-teal);
    --naseej-forest-hover: var(--ry-teal-hover);
    --naseej-deep: var(--ry-teal-deep);
    --naseej-mint: var(--ry-teal-mint);
    --naseej-cream: var(--ry-surface);
    --naseej-line: var(--ry-teal-line);
    --naseej-gold: var(--ry-gold);
    --naseej-ink: var(--ry-ink);
    --naseej-muted: var(--ry-muted);
    /* =====================================================
       ADMIN LAYOUT TOKENS
       ===================================================== */

    --admin-sidebar-width: 285px;
    --admin-topbar-height: 88px;
    --admin-mobile-breakpoint: 1199.98px;
    --admin-content-padding: 24px;
}


/* =========================================================
   2) BASE
   ========================================================= */

html {
    scroll-behavior: smooth;
}

html,
body {
    font-family: var(--bs-body-font-family);
}

body {
    margin: 0;
    background: #fff;
    color: var(--ry-ink);
    font-size: 13px;
    line-height: 1.85;
    text-rendering: optimizeLegibility;
}

::selection {
    background: var(--ry-teal);
    color: #fff;
}

a {
    color: var(--ry-teal);
    transition: color .2s ease, opacity .2s ease;
}

    a:hover {
        color: var(--ry-teal-hover);
    }

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    color: var(--ry-ink);
    line-height: 1.4;
}

.bg-forest h1,
.bg-forest h2,
.bg-forest h3,
.bg-forest h4,
.bg-forest h5,
.bg-forest h6,
.bg-forest-deep h1,
.bg-forest-deep h2,
.bg-forest-deep h3,
.bg-forest-deep h4,
.bg-forest-deep h5,
.bg-forest-deep h6 {
    color: #fff;
}

.text-muted {
    color: var(--ry-muted) !important;
}

.text-forest,
.text-primary {
    color: var(--ry-teal) !important;
}

.text-gold {
    color: var(--ry-gold) !important;
}

.bg-cream {
    background: var(--ry-surface) !important;
}

.bg-mint {
    background: var(--ry-teal-mint) !important;
}

.shadow-soft {
    box-shadow: var(--ry-shadow-sm) !important;
}

.border-forest {
    border-color: var(--ry-teal) !important;
}

.bg-primary {
    background-color: var(--ry-teal) !important;
}

.badge.bg-primary {
    background-color: var(--ry-teal) !important;
}

.bg-forest {
    background: linear-gradient( 135deg, var(--ry-teal) 0%, #005c63 100% ) !important;
}

.bg-forest-deep {
    background-color: var(--ry-teal-deep) !important;
    background-image: radial-gradient( circle at 10% 10%, rgba(0, 122, 130, .55), transparent 30rem ), radial-gradient( circle at 92% 90%, rgba(240, 192, 0, .14), transparent 24rem ), linear-gradient( 135deg, #075a62 0%, var(--ry-teal-deep) 62%, #04262b 100% ) !important;
}

.py-6 {
    padding-top: clamp(3.75rem, 7vw, 6.25rem) !important;
    padding-bottom: clamp(3.75rem, 7vw, 6.25rem) !important;
}

.mb-6 {
    margin-bottom: clamp(3rem, 6vw, 5.5rem) !important;
}

.p-md-6 {
    padding: 3rem !important;
}


/* =========================================================
   3) BUTTONS
   ========================================================= */

.btn {
    --bs-btn-font-weight: 700;
    --bs-btn-border-radius: .75rem;
    align-items: center;
    display: inline-flex;
    gap: .4rem;
    justify-content: center;
    min-height: 2.75rem;
    padding: .6rem 1.15rem;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}

    .btn:hover {
        transform: translateY(-2px);
    }

    .btn:active {
        transform: translateY(0);
    }

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--ry-teal);
    --bs-btn-border-color: var(--ry-teal);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--ry-teal-hover);
    --bs-btn-hover-border-color: var(--ry-teal-hover);
    --bs-btn-active-bg: #004f55;
    --bs-btn-active-border-color: #004f55;
    --bs-btn-disabled-bg: var(--ry-teal);
    --bs-btn-disabled-border-color: var(--ry-teal);
    box-shadow: 0 8px 16px rgba(0, 122, 130, .2);
}

    .btn-primary:hover {
        box-shadow: 0 12px 22px rgba(0, 122, 130, .28);
    }

.btn-outline-primary {
    --bs-btn-color: var(--ry-teal);
    --bs-btn-border-color: #7fbcc0;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--ry-teal);
    --bs-btn-hover-border-color: var(--ry-teal);
    --bs-btn-active-bg: var(--ry-teal-hover);
    --bs-btn-active-border-color: var(--ry-teal-hover);
}

.btn-gold {
    --bs-btn-color: #2b2200;
    --bs-btn-bg: var(--ry-gold);
    --bs-btn-border-color: var(--ry-gold);
    --bs-btn-hover-color: #2b2200;
    --bs-btn-hover-bg: #ffd21f;
    --bs-btn-hover-border-color: #ffd21f;
    --bs-btn-active-bg: var(--ry-gold-deep);
    --bs-btn-active-border-color: var(--ry-gold-deep);
    box-shadow: 0 10px 22px rgba(240, 192, 0, .32);
}

.btn-light {
    --bs-btn-color: var(--ry-teal-deep);
    --bs-btn-bg: #fff;
    --bs-btn-border-color: #fff;
    --bs-btn-hover-color: var(--ry-teal-deep);
    --bs-btn-hover-bg: #eaf5f5;
    --bs-btn-hover-border-color: #eaf5f5;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .1);
}

.btn-outline-light {
    --bs-btn-hover-color: var(--ry-teal-deep);
    --bs-btn-hover-bg: #fff;
    --bs-btn-hover-border-color: #fff;
}

.btn-sm {
    min-height: 2rem;
    padding: .35rem .7rem;
}

.btn-whatsapp {
    --bs-btn-color: #fff;
    --bs-btn-bg: #12813f;
    --bs-btn-border-color: #12813f;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0d6a33;
    --bs-btn-hover-border-color: #0d6a33;
}


/* =========================================================
   4) CARDS & SURFACES
   ========================================================= */

.card,
.admin-card {
    background: #fff;
    border: 1px solid var(--ry-teal-line);
    border-radius: var(--ry-radius);
}

.card {
    box-shadow: var(--ry-shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

    .card:hover {
        border-color: #a9d0d3;
        box-shadow: var(--ry-shadow);
        transform: translateY(-5px);
    }

    .card .card-body {
        position: relative;
    }

    .card .card-title a::after {
        content: "";
        inset: 0;
        position: absolute;
    }

.bg-cream.rounded-4,
.border.rounded-4 {
    border-color: var(--ry-teal-line) !important;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

    .bg-cream.rounded-4:hover,
    .border.rounded-4:hover {
        border-color: #a9d0d3 !important;
        box-shadow: var(--ry-shadow-sm);
        transform: translateY(-3px);
    }

.card .position-relative > img,
.rounded-4.overflow-hidden img {
    transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}

.card:hover .position-relative > img,
a:hover .rounded-4.overflow-hidden img {
    transform: scale(1.04);
}

.rounded-4.overflow-hidden {
    background-color: #e7f0f0;
}

.bg-forest-deep .bg-white.bg-opacity-10,
.bg-forest .bg-white.bg-opacity-10 {
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .12);
}


/* =========================================================
   5) FORMS
   ========================================================= */

.form-label {
    color: #2b4144;
    font-size: .92rem;
    font-weight: 600;
    margin-bottom: .45rem;
}

.form-control,
.form-select,
.input-group-text {
    border-color: #c7dbdc;
    border-radius: .75rem;
    color: var(--ry-ink);
    min-height: 2.8rem;
}

    .form-control::placeholder {
        color: #8ea3a5;
        opacity: 1;
    }

    .form-control:focus,
    .form-select:focus,
    .form-check-input:focus,
    .btn:focus-visible,
    a:focus-visible {
        border-color: #4aa3a9;
        box-shadow: 0 0 0 .25rem rgba(0, 122, 130, .16);
        outline: 0;
    }

.form-check-input:checked {
    background-color: var(--ry-teal);
    border-color: var(--ry-teal);
}

.form-text {
    color: var(--ry-muted);
}

.validation-message {
    color: #b3261e;
    font-size: .82rem;
}

.nav-pills .nav-link {
    border-radius: .65rem;
    color: var(--ry-muted);
    font-weight: 600;
}

    .nav-pills .nav-link.active,
    .nav-pills .show > .nav-link {
        background: var(--ry-teal);
        box-shadow: 0 6px 14px rgba(0, 122, 130, .18);
    }

.nav-link.active {
    color: var(--ry-teal) !important;
}

.nav-pills .nav-link.active {
    color: #fff !important;
}

.badge {
    border-radius: .5rem;
    font-weight: 600;
    padding: .42em .65em;
}

    .badge.bg-forest {
        background-color: var(--ry-teal) !important;
    }

.spinner-border.text-primary {
    color: var(--ry-teal) !important;
}

.pagination .page-link {
    color: var(--ry-teal);
}

.pagination .page-item.active .page-link {
    background-color: var(--ry-teal);
    border-color: var(--ry-teal);
}

.list-group-item {
    border-color: #e1eeee;
    padding: .9rem 1rem;
}

.list-group-item-action:hover {
    background: #f1f8f8;
}


/* =========================================================
   6) PUBLIC NAVBAR
   ========================================================= */

.site-navbar {
    border-bottom: 1px solid transparent;
    box-shadow: 0 1px 0 rgba(6, 52, 58, .06);
    transition: box-shadow .25s ease, border-color .25s ease;
}

    .site-navbar.is-scrolled {
        border-bottom-color: var(--ry-teal-line);
        box-shadow: 0 12px 30px rgba(6, 52, 58, .1);
    }

.navbar-brand__mark {
    border-radius: .6rem;
    box-shadow: 0 6px 14px rgba(0, 122, 130, .25);
    flex-shrink: 0;
    object-fit: cover;
}

.navbar-brand__name {
    color: var(--ry-teal-deep);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.1;
}

.navbar-brand__tagline {
    color: var(--ry-muted);
    font-size: .68rem;
    font-weight: 600;
}

.navbar-nav .nav-link {
    font-weight: 600;
    padding-inline: .7rem !important;
    position: relative;
}

    .navbar-nav .nav-link::after {
        background: var(--ry-gold);
        border-radius: 2px;
        bottom: -2px;
        content: "";
        height: 3px;
        inset-inline: .7rem;
        position: absolute;
        transform: scaleX(0);
        transition: transform .2s ease;
    }

    .navbar-nav .nav-link:hover::after,
    .navbar-nav .nav-link.active::after {
        transform: scaleX(1);
    }

.footer-brand__mark,
.admin-sidebar__mark {
    border-radius: .55rem;
    flex-shrink: 0;
    object-fit: cover;
}


/* =========================================================
   7) HERO
   ========================================================= */

.hero-showcase {
    aspect-ratio: 1 / 1;
    margin-inline-start: auto;
    max-width: 480px;
    position: relative;
}

.hero-showcase__glow {
    background: radial-gradient( circle, rgba(255, 255, 255, .2) 0%, transparent 62% );
    inset: -10%;
    position: absolute;
    z-index: 0;
}

.hero-showcase__product {
    border-radius: 1.1rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
    position: absolute;
}

.hero-showcase__product--main {
    background: #fff;
    height: 72%;
    inset-inline-start: 14%;
    object-fit: contain;
    padding: 1.1rem;
    top: 8%;
    width: 58%;
    z-index: 3;
}

.hero-showcase__product--side-a {
    background: #fff;
    height: 46%;
    object-fit: contain;
    padding: .5rem;
    right: -2%;
    top: 2%;
    transform: rotate(6deg);
    width: 34%;
    z-index: 2;
}

.hero-showcase__product--side-b {
    background: #fff;
    bottom: 0;
    height: 42%;
    left: -3%;
    object-fit: contain;
    padding: .5rem;
    transform: rotate(-8deg);
    width: 30%;
    z-index: 2;
}

.hero-chip {
    align-items: center;
    background: rgba(255, 255, 255, .97);
    border-radius: 50rem;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .22);
    color: var(--ry-teal-deep);
    display: inline-flex;
    font-size: .78rem;
    font-weight: 700;
    gap: .45rem;
    padding: .55rem 1rem;
    position: absolute;
    z-index: 4;
}

    .hero-chip i {
        color: var(--ry-teal);
    }

.hero-chip--top {
    inset-inline-end: 2%;
    top: -4%;
}

.hero-chip--bottom {
    bottom: 4%;
    inset-inline-start: 0;
}

.hero-stats {
    border-top: 1px solid rgba(255, 255, 255, .16);
    margin-top: 2.5rem;
    padding-top: 1.75rem;
}

.hero-stat__value {
    color: var(--ry-gold);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-stat__label {
    color: rgba(255, 255, 255, .72);
    font-size: .82rem;
}

.eyebrow {
    color: var(--ry-teal);
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .02em;
    margin-bottom: .5rem;
}

.eyebrow--light {
    color: var(--ry-gold);
}

.section-title {
    position: relative;
    padding-bottom: .9rem;
}

    .section-title::after {
        background: linear-gradient( 90deg, var(--ry-gold), var(--ry-lime) );
        border-radius: 4px;
        bottom: 0;
        content: "";
        height: 4px;
        inset-inline-start: 0;
        position: absolute;
        width: 56px;
    }

    .text-center .section-title::after,
    .section-title.text-center::after {
        inset-inline-start: 50%;
        transform: translateX(50%);
    }


/* =========================================================
   8) INNER PAGE HEADER
   ========================================================= */

.bg-forest-deep:not(.admin-sidebar) {
    overflow: hidden;
    position: relative;
}

    .bg-forest-deep:not(.admin-sidebar)::before {
        background-image: linear-gradient( rgba(255, 255, 255, .05) 1px, transparent 1px ), linear-gradient( 90deg, rgba(255, 255, 255, .05) 1px, transparent 1px );
        background-size: 34px 34px;
        content: "";
        inset: 0;
        mask-image: radial-gradient( ellipse at 50% 0%, #000 0%, transparent 75% );
        pointer-events: none;
        position: absolute;
        z-index: 0;
    }

    .bg-forest-deep:not(.admin-sidebar) > * {
        position: relative;
        z-index: 1;
    }


/* =========================================================
   9) PRODUCT COMPONENTS
   ========================================================= */

.spec-chip {
    align-items: center;
    background: var(--ry-teal-mint);
    border-radius: .75rem;
    color: var(--ry-teal-deep);
    display: inline-flex;
    font-size: .8rem;
    font-weight: 700;
    gap: .4rem;
    padding: .4rem .75rem;
}

    .spec-chip i {
        color: var(--ry-teal);
    }

.spec-chip--gold {
    background: #fff6cf;
    color: #5f4b00;
}

    .spec-chip--gold i {
        color: var(--ry-gold-deep);
    }

.product-media {
    align-items: center;
    background: radial-gradient( circle at 50% 30%, #fff 0%, #eef6f6 100% );
    display: flex;
    justify-content: center;
}

    .product-media img {
        height: 100%;
        object-fit: contain !important;
        padding: 1rem;
        width: 100%;
    }

.feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .feature-list li {
        align-items: flex-start;
        display: flex;
        gap: .6rem;
        padding: .35rem 0;
    }

        .feature-list li::before {
            background: var(--ry-lime);
            border-radius: 50%;
            content: "";
            flex: 0 0 auto;
            height: .55rem;
            margin-top: .7rem;
            width: .55rem;
        }

.spec-table {
    border: 1px solid var(--ry-teal-line);
    border-radius: .85rem;
    overflow: hidden;
}

    .spec-table dt,
    .spec-table dd {
        margin: 0;
        padding: .7rem 1rem;
    }

    .spec-table .spec-row {
        border-bottom: 1px solid var(--ry-teal-line);
        display: flex;
    }

        .spec-table .spec-row:last-child {
            border-bottom: 0;
        }

        .spec-table .spec-row:nth-child(odd) {
            background: #f5fafa;
        }

    .spec-table dt {
        color: var(--ry-muted);
        flex: 0 0 42%;
        font-weight: 600;
    }

.step-list {
    counter-reset: step;
    list-style: none;
    margin: 0;
    padding: 0;
}

    .step-list li {
        counter-increment: step;
        padding: .55rem 0 .55rem 0;
        position: relative;
        padding-inline-start: 2.6rem;
    }

        .step-list li::before {
            align-items: center;
            background: var(--ry-teal);
            border-radius: 50%;
            color: #fff;
            content: counter(step);
            display: flex;
            font-size: .78rem;
            font-weight: 700;
            height: 1.75rem;
            inset-inline-start: 0;
            justify-content: center;
            position: absolute;
            top: .6rem;
            width: 1.75rem;
        }


/* =========================================================
   10) COMPARE TABLE
   ========================================================= */

.compare-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

    .compare-table th {
        background: var(--ry-teal-deep);
        color: #fff;
        font-size: .85rem;
        padding: .9rem 1rem;
        white-space: nowrap;
    }

        .compare-table th:first-child {
            border-start-start-radius: .85rem;
        }

        .compare-table th:last-child {
            border-start-end-radius: .85rem;
        }

    .compare-table td {
        border-bottom: 1px solid var(--ry-teal-line);
        font-size: .9rem;
        padding: .85rem 1rem;
    }

    .compare-table tbody tr:nth-child(even) td {
        background: #f6fafa;
    }

    .compare-table tbody tr:hover td {
        background: var(--ry-teal-mint);
    }


/* =========================================================
   11) INFO BLOCKS
   ========================================================= */

.icon-tile {
    align-items: center;
    background: var(--ry-teal-mint);
    border-radius: .9rem;
    color: var(--ry-teal);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 1.5rem;
    height: 3.4rem;
    justify-content: center;
    width: 3.4rem;
}

.icon-tile--gold {
    background: #fff3c2;
    color: var(--ry-gold-deep);
}

.value-pill {
    background: #fff;
    border: 1px solid var(--ry-teal-line);
    border-radius: 50rem;
    color: var(--ry-teal-deep);
    display: inline-block;
    font-weight: 700;
    padding: .5rem 1.15rem;
}

.quote-card {
    background: #fff;
    border: 1px solid var(--ry-teal-line);
    border-radius: 1.25rem;
    box-shadow: var(--ry-shadow-sm);
    padding: clamp(1.75rem, 4vw, 3rem);
    position: relative;
}

    .quote-card::before {
        color: var(--ry-gold);
        content: "\201D";
        font-family: 'Droid Arabic Kufi', serif;
        font-size: 6rem;
        inset-inline-start: 1.5rem;
        line-height: 1;
        opacity: .5;
        position: absolute;
        top: -.4rem;
    }

.principle {
    border-inline-start: 4px solid var(--ry-gold);
    padding-inline-start: 1.1rem;
}

.trust-chip {
    align-items: center;
    background: var(--ry-teal-mint);
    border-radius: 50rem;
    color: var(--ry-teal-deep);
    display: inline-flex;
    font-size: .82rem;
    font-weight: 700;
    gap: .4rem;
    padding: .5rem .9rem;
}

    .trust-chip i {
        color: var(--ry-teal);
    }

.color-dot {
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px var(--ry-teal-line), 0 4px 10px rgba(0, 0, 0, .12);
    display: inline-block;
    height: 2.4rem;
    width: 2.4rem;
}

.wa-float {
    align-items: center;
    background: #1faa59;
    border-radius: 50%;
    bottom: 1.25rem;
    box-shadow: 0 12px 28px rgba(31, 170, 89, .45);
    color: #fff;
    display: flex;
    font-size: 1.7rem;
    height: 3.5rem;
    inset-inline-start: 1.25rem;
    justify-content: center;
    position: fixed;
    text-decoration: none;
    transition: transform .2s ease;
    width: 3.5rem;
    z-index: 1030;
}

    .wa-float:hover {
        color: #fff;
        transform: scale(1.08);
    }


/* =========================================================
   12) MEDIA GALLERY
   ========================================================= */

.alraya-media-hero {
    background-image: none;
}

.media-card,
.media-video {
    background: #fff;
    border: 1px solid var(--ry-teal-line);
    border-radius: var(--ry-radius);
    box-shadow: var(--ry-shadow-sm);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

    .media-card:hover,
    .media-video:hover {
        border-color: #a9d0d3;
        box-shadow: var(--ry-shadow);
        transform: translateY(-5px);
    }

.media-card__visual {
    align-items: center;
    background: radial-gradient( circle at 50% 20%, #fff, transparent 42% ), linear-gradient( 145deg, #e4f0f0, #f7fbfb );
    display: flex;
    height: 17rem;
    justify-content: center;
    overflow: hidden;
}

    .media-card__visual img {
        height: 100%;
        object-fit: cover;
        transition: transform .45s cubic-bezier(.2, .8, .2, 1);
        width: 100%;
    }

.media-card:hover .media-card__visual img {
    transform: scale(1.04);
}

.media-card__visual.is-contain img {
    object-fit: contain;
    padding: 1rem;
}

.media-card__body,
.media-video__body {
    padding: 1.35rem 1.4rem 1.45rem;
}

.media-card__type {
    color: var(--ry-teal);
    display: block;
    font-size: .75rem;
    font-weight: 700;
    margin-bottom: .45rem;
}

.media-video__frame {
    background: var(--ry-teal-deep);
    height: 18rem;
    overflow: hidden;
    position: relative;
}

    .media-video__frame::after {
        background: linear-gradient( 0deg, rgba(0, 0, 0, .25), transparent 50% );
        content: "";
        inset: 0;
        pointer-events: none;
        position: absolute;
    }

    .media-video__frame video {
        height: 100%;
        object-fit: cover;
        width: 100%;
    }

.media-video__play {
    align-items: center;
    background: rgba(255, 255, 255, .92);
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .18);
    color: var(--ry-teal);
    display: flex;
    font-size: 1.5rem;
    height: 4.1rem;
    inset: 0;
    justify-content: center;
    margin: auto;
    pointer-events: none;
    position: absolute;
    width: 4.1rem;
    z-index: 1;
}

.media-static-note {
    align-items: center;
    background: #ebf6f6;
    border: 1px solid #cbe3e4;
    border-radius: .8rem;
    color: #2f5558;
    display: flex;
    font-size: .86rem;
    gap: .55rem;
    margin-top: 2rem;
    padding: 1rem 1.15rem;
}

    .media-static-note i {
        color: var(--ry-teal);
        font-size: 1.1rem;
    }

    .media-static-note code {
        color: #00565c;
        direction: ltr;
        font-size: .8rem;
    }


/* =========================================================
   13) FOOTER
   ========================================================= */

.site-footer {
    background: var(--ry-teal-deep);
}

    .site-footer a.footer-link {
        color: rgba(255, 255, 255, .68);
        text-decoration: none;
        transition: color .2s ease;
    }

        .site-footer a.footer-link:hover {
            color: var(--ry-gold);
        }

    .site-footer .footer-title {
        color: #fff;
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .site-footer .footer-rainbow {
        background: linear-gradient( 90deg, var(--ry-teal), var(--ry-gold), var(--ry-lime) );
        height: 4px;
    }


/* =========================================================
   14) LOGIN
   ========================================================= */

.auth-shell {
    align-items: center;
    background: radial-gradient( circle at 10% 15%, rgba(0, 122, 130, .22), transparent 24rem ), radial-gradient( circle at 88% 75%, rgba(240, 192, 0, .16), transparent 28rem ), linear-gradient( 135deg, #f3fafa 0%, #e8f3f3 100% );
    display: flex;
    min-height: 100vh;
    padding: 3rem 0;
}

.auth-card {
    background: rgba(255, 255, 255, .95);
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 1.25rem;
    box-shadow: 0 24px 65px rgba(6, 52, 58, .16);
    padding: clamp(1.75rem, 5vw, 2.75rem);
}

.auth-card__brand {
    align-items: center;
    color: var(--ry-teal-deep);
    display: flex;
    font-size: .95rem;
    font-weight: 700;
    gap: .6rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.auth-card__mark {
    border-radius: .75rem;
    box-shadow: 0 8px 18px rgba(0, 122, 130, .28);
    flex-shrink: 0;
    object-fit: cover;
}

.auth-card__footer {
    border-top: 1px solid #e1eeee;
    color: var(--ry-muted);
    font-size: .75rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    text-align: center;
}
/* =========================================================
   15) ADMIN DASHBOARD — CANONICAL LAYOUT
   ========================================================= */

:root {
    --admin-sidebar-width: 285px;
    --admin-topbar-height: 88px;
    --admin-content-padding: 24px;
    --admin-mobile-breakpoint: 1199.98px;
    --admin-bg: #f2f7f7;
    --admin-sidebar-bg: #06343a;
    --admin-sidebar-border: rgba(255, 255, 255, .10);
    --admin-text: #12292c;
    --admin-muted: #64797c;
    --admin-overlay: rgba(3, 27, 30, .48);
}


/* =========================================================
   ADMIN SHELL
   ========================================================= */

.admin-shell {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: row;
    direction: rtl;
    background: var(--admin-bg);
    overflow-x: hidden;
}


    /* =========================================================
   ADMIN SIDEBAR
   IMPORTANT:
   AdminSidebar is a DIRECT child of .admin-shell.
   No wrapper is required.
   ========================================================= */

    .admin-shell > .admin-sidebar {
        flex: 0 0 var(--admin-sidebar-width);
        width: var(--admin-sidebar-width);
        min-width: var(--admin-sidebar-width);
        max-width: var(--admin-sidebar-width);
        height: 100vh;
        position: sticky;
        top: 0;
        z-index: 1050;
        overflow-x: hidden;
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: rgba(255,255,255,.25) transparent;
        background-color: var(--admin-sidebar-bg);
        isolation: isolate;
    }


        /* WebKit scrollbar */

        .admin-shell > .admin-sidebar::-webkit-scrollbar {
            width: 6px;
        }

        .admin-shell > .admin-sidebar::-webkit-scrollbar-track {
            background: transparent;
        }

        .admin-shell > .admin-sidebar::-webkit-scrollbar-thumb {
            background: rgba(255,255,255,.20);
            border-radius: 10px;
        }

            .admin-shell > .admin-sidebar::-webkit-scrollbar-thumb:hover {
                background: rgba(255,255,255,.35);
            }


/* =========================================================
   SIDEBAR HEADER
   ========================================================= */

.admin-sidebar__header {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    border-bottom-color: var(--admin-sidebar-border) !important;
    flex-shrink: 0;
}

    .admin-sidebar__header a {
        min-width: 0;
        display: flex;
        align-items: center;
        gap: .65rem;
        white-space: nowrap;
        overflow: hidden;
    }

        .admin-sidebar__header a span {
            overflow: hidden;
            text-overflow: ellipsis;
        }

.admin-sidebar__mark {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: .65rem;
    object-fit: cover;
    box-shadow: 0 5px 14px rgba(0, 0, 0, .20);
}


/* =========================================================
   SIDEBAR NAV
   ========================================================= */

.admin-sidebar nav {
    width: 100%;
    padding: 1rem !important;
    gap: .3rem !important;
}

.admin-sidebar .nav-link {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0;
    padding: .65rem .85rem;
    border: 1px solid transparent;
    border-radius: .65rem !important;
    color: rgba(255,255,255,.68) !important;
    font-size: .9rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}

    .admin-sidebar .nav-link i {
        width: 1.35rem;
        flex: 0 0 1.35rem;
        text-align: center;
        font-size: 1rem;
        color: rgba(255,255,255,.55);
        transition: color .18s ease, transform .18s ease;
    }

    .admin-sidebar .nav-link:hover {
        color: #fff !important;
        background: rgba(255,255,255,.075);
        border-color: rgba(255,255,255,.06);
        transform: translateX(-2px);
    }

        .admin-sidebar .nav-link:hover i {
            color: var(--ry-gold);
            transform: scale(1.05);
        }


    /* Active */

    .admin-sidebar .nav-link.active {
        color: #fff !important;
        background: linear-gradient( 135deg, rgba(0,122,130,.85), rgba(0,92,99,.72) );
        border-color: rgba(240,192,0,.18);
        font-weight: 700;
        box-shadow: inset 3px 0 0 var(--ry-gold), 0 5px 18px rgba(0,0,0,.10);
    }

        .admin-sidebar .nav-link.active i {
            color: var(--ry-gold);
        }


/* =========================================================
   SIDEBAR SECTION TITLES
   ========================================================= */

.admin-nav-section {
    width: 100%;
    margin: 1.15rem 0 .35rem;
    padding: 0 .85rem;
    color: rgba(255,255,255,.38);
    font-size: .68rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .04em;
    text-transform: none;
}

    .admin-nav-section:first-child {
        margin-top: .5rem;
    }


/* =========================================================
   SIDEBAR CLOSE BUTTON
   ========================================================= */

.admin-sidebar__close {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: .65rem;
    background: rgba(255,255,255,.08);
    color: #fff;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

    .admin-sidebar__close:hover {
        background: rgba(255,255,255,.16);
        border-color: rgba(255,255,255,.22);
        transform: scale(1.04);
    }


/* =========================================================
   ADMIN MAIN
   ========================================================= */

.admin-main {
    flex: 1 1 auto;
    width: calc(100% - var(--admin-sidebar-width));
    min-width: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}


/* =========================================================
   ADMIN TOPBAR
   ========================================================= */

.admin-topbar {
    width: 100%;
    min-height: var(--admin-topbar-height);
    flex: 0 0 auto;
    position: sticky;
    top: 0;
    z-index: 1040;
    background: #fff;
}


/* =========================================================
   ADMIN CONTENT
   ========================================================= */

.admin-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex: 1 1 auto;
    padding: var(--admin-content-padding);
    overflow-x: hidden;
}


    /*
   Critical:
   Prevent Bootstrap .row negative margins and large children
   from visually crossing the sidebar boundary.
*/

    .admin-content > *,
    .admin-content .container,
    .admin-content .container-fluid,
    .admin-content .row {
        min-width: 0;
        max-width: 100%;
    }

    .admin-content .row {
        margin-right: 0;
        margin-left: 0;
        --bs-gutter-x: 1.5rem;
        --bs-gutter-y: 1.5rem;
    }


        /* Allow Bootstrap columns to retain their normal gutters */

        .admin-content .row > [class*="col-"] {
            min-width: 0;
        }


    /* Images / media */

    .admin-content img,
    .admin-content video,
    .admin-content iframe,
    .admin-content canvas {
        max-width: 100%;
    }


    /* Tables */

    .admin-content .table-responsive {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .admin-content table {
        max-width: 100%;
    }


/* =========================================================
   ADMIN CARDS
   ========================================================= */

.admin-card {
    background: #fff;
    border: 1px solid var(--ry-teal-line);
    border-radius: var(--ry-radius);
    box-shadow: 0 4px 20px rgba(6,52,58,.05);
    overflow: hidden;
}


/* =========================================================
   ADMIN STAT CARDS
   ========================================================= */

.admin-stat-card {
    width: 100%;
    min-width: 0;
    background: #fff;
    border: 1px solid var(--ry-teal-line);
    border-radius: 1rem;
    box-shadow: 0 7px 22px rgba(6,52,58,.06);
    padding: 1.3rem;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

    .admin-stat-card:hover {
        border-color: #a9d0d3;
        box-shadow: 0 14px 32px rgba(6,52,58,.10);
        transform: translateY(-3px);
    }


/* =========================================================
   STAT ICON
   ========================================================= */

.stat-icon {
    align-items: center;
    background: var(--ry-teal-mint);
    border-radius: .9rem;
    color: var(--ry-teal);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 1.25rem;
    height: 3rem;
    width: 3rem;
    justify-content: center;
}


/* =========================================================
   ADMIN TABLE
   ========================================================= */

.table-admin {
    --bs-table-bg: transparent;
    --bs-table-hover-bg: #f1f8f8;
    width: 100%;
    max-width: 100%;
    margin-bottom: 0;
}

    .table-admin > :not(caption) > * > * {
        border-bottom-color: #e3eeee;
        padding: 1rem 1.15rem;
    }

    .table-admin thead th {
        background: #f6fafa;
        color: #587073;
        font-size: .78rem;
        font-weight: 700;
        letter-spacing: .02em;
        white-space: nowrap;
    }

    .table-admin td {
        font-size: .9rem;
        vertical-align: middle;
    }

    .table-admin tbody tr:last-child > * {
        border-bottom-width: 0;
    }


/* =========================================================
   MODAL
   ========================================================= */

.modal-backdrop-custom {
    background: rgba(6,52,58,.4) !important;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}


/* =========================================================
   ADMIN MOBILE DRAWER
   ========================================================= */

@media (max-width: 1199.98px) {

    /*
       Main page occupies 100% of viewport.
       Sidebar is removed from normal flex flow.
    */

    .admin-shell {
        display: block;
        position: relative;
        min-height: 100vh;
        overflow-x: hidden;
    }


    .admin-main {
        width: 100%;
        min-width: 0;
    }


    /*
       Sidebar becomes a fixed drawer from the right.
    */

    .admin-shell > .admin-sidebar {
        position: fixed;
        top: 0;
        right: 0;
        width: var(--admin-sidebar-width);
        min-width: var(--admin-sidebar-width);
        max-width: var(--admin-sidebar-width);
        height: 100dvh;
        z-index: 1050;
        transform: translateX(100%);
        visibility: hidden;
        pointer-events: none;
        box-shadow: none;
        transition: transform .28s ease, visibility .28s ease, box-shadow .28s ease;
    }


    /*
       Open state.
    */

    .admin-shell.sidebar-open > .admin-sidebar {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
        box-shadow: -15px 0 40px rgba(0,0,0,.22);
    }


    /*
       Overlay.
       It belongs to the shell, therefore it covers the main content
       but remains below the sidebar.
    */

    .admin-shell::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 1040;
        background: var(--admin-overlay);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .25s ease, visibility .25s ease;
    }


    .admin-shell.sidebar-open::before {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }


    /*
       Topbar must remain above overlay so its menu button
       can reopen/close the drawer.
    */

    .admin-topbar,
    .admin-main > .admin-topbar {
        position: sticky;
        top: 0;
        z-index: 1060;
    }


    .admin-sidebar__close {
        display: inline-flex;
        position: relative;
        z-index: 1061;
    }


    .admin-content {
        width: 100%;
        max-width: 100%;
        padding: 20px;
        overflow-x: hidden;
    }


        /*
       On mobile Bootstrap rows must not create horizontal overflow.
    */

        .admin-content .row {
            margin-right: 0;
            margin-left: 0;
        }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 575.98px) {

    :root {
        --admin-topbar-height: 70px;
    }


    .admin-shell > .admin-sidebar {
        width: min(285px, 88vw);
        min-width: min(285px, 88vw);
        max-width: min(285px, 88vw);
    }


    .admin-content {
        padding: 14px;
    }


    .admin-sidebar__header {
        min-height: 70px;
        padding: 1rem !important;
    }


    .admin-sidebar nav {
        padding: .75rem !important;
    }


    .admin-sidebar .nav-link {
        min-height: 42px;
        font-size: .86rem;
    }


    .admin-nav-section {
        margin-top: 1rem;
    }


    .admin-stat-card {
        padding: 1rem;
    }


    .table-admin > :not(caption) > * > * {
        padding: .8rem .75rem;
    }
}


/* =========================================================
   ADMIN ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .admin-shell > .admin-sidebar,
    .admin-shell::before,
    .admin-sidebar .nav-link,
    .admin-sidebar__close,
    .admin-stat-card {
        transition: none !important;
    }
}

/* =========================================================
   18) EXTRA SMALL DEVICES
   ========================================================= */

@media (max-width: 400px) {

    .admin-shell > .admin-sidebar {
        width: 91vw;
        max-width: 91vw;
    }

    .admin-sidebar .nav-link {
        font-size: 13px;
    }
}
/* =========================================================
   18) PUBLIC NAVBAR MOBILE
   ========================================================= */

@media (max-width: 1199.98px) {

    .site-navbar {
        position: relative;
        z-index: 1035;
    }

        .site-navbar .navbar-toggler {
            position: relative;
            z-index: 1037;
        }

        .site-navbar .navbar-collapse {
            position: relative;
            z-index: 1036;
            max-height: 0;
            background: #fff;
            opacity: 0;
            overflow: hidden;
            transition: max-height .32s ease, opacity .28s ease;
        }

            .site-navbar .navbar-collapse.show {
                max-height: 80vh;
                opacity: 1;
                overflow-y: auto;
            }

            .site-navbar .navbar-collapse .nav-item {
                transform: translateY(-6px);
                opacity: 0;
                transition: transform .28s ease, opacity .28s ease;
            }

            .site-navbar .navbar-collapse.show .nav-item {
                transform: translateY(0);
                opacity: 1;
            }

                .site-navbar .navbar-collapse.show .nav-item:nth-child(1) {
                    transition-delay: .03s;
                }

                .site-navbar .navbar-collapse.show .nav-item:nth-child(2) {
                    transition-delay: .06s;
                }

                .site-navbar .navbar-collapse.show .nav-item:nth-child(3) {
                    transition-delay: .09s;
                }

                .site-navbar .navbar-collapse.show .nav-item:nth-child(4) {
                    transition-delay: .12s;
                }

                .site-navbar .navbar-collapse.show .nav-item:nth-child(5) {
                    transition-delay: .15s;
                }

                .site-navbar .navbar-collapse.show .nav-item:nth-child(6) {
                    transition-delay: .18s;
                }

                .site-navbar .navbar-collapse.show .nav-item:nth-child(7) {
                    transition-delay: .21s;
                }

                .site-navbar .navbar-collapse.show .nav-item:nth-child(8) {
                    transition-delay: .24s;
                }

                .site-navbar .navbar-collapse.show .nav-item:nth-child(9) {
                    transition-delay: .27s;
                }

                .site-navbar .navbar-collapse.show .nav-item:nth-child(10) {
                    transition-delay: .30s;
                }
}


/* =========================================================
   19) NAV SCRIM
   ========================================================= */

.nav-scrim,
.site-nav-scrim {
    position: fixed;
    inset: 0;
    background: rgba(6, 52, 58, .32);
    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(1px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .28s ease;
    z-index: 1030;
}

    .nav-scrim.show,
    .site-nav-scrim.show {
        opacity: 1;
        pointer-events: auto;
    }


/* =========================================================
   20) RESPONSIVE GENERAL
   ========================================================= */

@media (max-width: 991.98px) {

    .hero-showcase {
        margin-inline: auto;
        max-width: 340px;
    }

    .p-md-6 {
        padding: 2rem !important;
    }
}

@media (max-width: 767.98px) {

    body {
        font-size: .96rem;
    }

    .display-5 {
        font-size: calc(1.45rem + 2.1vw);
    }

    .display-6 {
        font-size: calc(1.3rem + 1.6vw);
    }

    .py-6 {
        padding-top: 3.25rem !important;
        padding-bottom: 3.25rem !important;
    }

    .p-md-6 {
        padding: 1.5rem !important;
    }

    .media-card__visual,
    .media-video__frame {
        height: 14rem;
    }

    .media-static-note {
        align-items: flex-start;
    }

    .table-admin > :not(caption) > * > * {
        padding: .85rem .9rem;
    }

    .spec-table .spec-row {
        flex-direction: column;
    }

    .spec-table dt {
        flex: none;
        padding-bottom: 0;
    }
}


/* =========================================================
   21) BLAZOR STATUS
   ========================================================= */

#blazor-error-ui {
    background: #fff5d6;
    border-inline-start: 4px solid var(--ry-gold);
    bottom: 0;
    box-shadow: 0 -8px 24px rgba(6, 52, 58, .1);
    color: #574013;
    display: none;
    left: 0;
    right: 0;
    padding: .9rem 1.25rem;
    position: fixed;
    z-index: 1100;
}

    #blazor-error-ui .reload {
        color: var(--ry-teal);
        font-weight: 700;
        margin-inline-start: 10px;
    }

    #blazor-error-ui .dismiss {
        cursor: pointer;
        float: inline-end;
    }


/* =========================================================
   22) MOTION
   ========================================================= */

@media (prefers-reduced-motion: no-preference) {

    .reveal {
        opacity: 0;
        transform: translateY(18px);
        transition: opacity .6s ease, transform .6s ease;
    }

        .reveal.is-visible {
            opacity: 1;
            transform: none;
        }

        .reveal[data-reveal-delay="1"] {
            transition-delay: .12s;
        }

        .reveal[data-reveal-delay="2"] {
            transition-delay: .24s;
        }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

    .admin-shell > .admin-sidebar,
    .admin-shell::before {
        transition: none !important;
    }
}

/* ============================================================
   SHOWCASE CAROUSEL — كاروسيل المنتجات والأخبار في الرئيسية
   ملاحظة: كلاس ".showcase-carousel-section" (على عنصر <section> الأب)
   مستخدم فقط كـ selector وظيفي من site-interactions.js (closest())
   للعثور على أزرار التنقل والنقاط المجاورة للكاروسيل — لا يحمل أي
   تنسيق بصري خاص به عمداً.
   ============================================================ */
.carousel-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    border: 1px solid var(--ry-teal-line, #d4e6e5);
    background: #fff;
    color: var(--ry-teal-deep, #06343a);
    font-size: 1.1rem;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.carousel-nav-btn:hover {
    background: var(--ry-teal, #007a82);
    color: #fff;
    transform: translateY(-2px);
}

.showcase-carousel {
    position: relative;
    margin: 0 -.25rem;
}

.showcase-carousel__track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    padding: .25rem .25rem 1rem;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    /* يُخفي شريط التمرير بصرياً مع إبقاء التمرير باللمس/السحب يعمل بشكل طبيعي */
    scrollbar-width: thin;
    scrollbar-color: var(--ry-teal-line, #d4e6e5) transparent;
}
.showcase-carousel__track.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}
.showcase-carousel__track::-webkit-scrollbar {
    height: 6px;
}
.showcase-carousel__track::-webkit-scrollbar-thumb {
    background: var(--ry-teal-line, #d4e6e5);
    border-radius: 3px;
}

.showcase-card {
    flex: 0 0 auto;
    width: min(320px, 82vw);
    scroll-snap-align: start;
}

.showcase-card__link {
    display: block;
    background: #fff;
    border: 1px solid var(--ry-teal-line, #d4e6e5);
    border-radius: var(--ry-radius, 1rem);
    overflow: hidden;
    height: 100%;
    box-shadow: var(--ry-shadow-sm, 0 6px 20px rgba(6,52,58,.07));
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.showcase-card__link:hover {
    transform: translateY(-6px);
    box-shadow: var(--ry-shadow, 0 18px 44px rgba(6,52,58,.12));
    border-color: var(--ry-teal, #007a82);
}

.showcase-card__media {
    position: relative;
    height: 180px;
    background: var(--ry-teal-mint, #e2f2f1);
    overflow: hidden;
}
.showcase-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.showcase-card__link:hover .showcase-card__media img {
    transform: scale(1.06);
}

.showcase-card__tag {
    position: absolute;
    top: .75rem;
    inset-inline-start: .75rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .3rem .7rem;
    border-radius: 50rem;
    font-size: .74rem;
    font-weight: 700;
    color: #fff;
    background: var(--ry-teal, #007a82);
    box-shadow: 0 4px 10px rgba(0,0,0,.18);
}
.showcase-card__tag--news {
    background: var(--ry-gold-deep, #c99d00);
}

.showcase-card__body {
    padding: 1.1rem 1.25rem 1.35rem;
}
.showcase-card__meta {
    display: block;
    font-size: .76rem;
    font-weight: 700;
    color: var(--ry-teal, #007a82);
    margin-bottom: .35rem;
}
.showcase-card__title {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--ry-ink, #12292c);
    margin: 0 0 .4rem;
    line-height: 1.4;
}
.showcase-card__desc {
    font-size: .86rem;
    color: var(--ry-muted, #56696c);
    margin: 0;
    line-height: 1.6;
}

.showcase-carousel__dots {
    display: flex;
    justify-content: center;
    gap: .5rem;
    margin-top: .5rem;
}
.showcase-carousel__dot {
    width: .55rem;
    height: .55rem;
    border-radius: 50%;
    border: none;
    background: var(--ry-teal-line, #d4e6e5);
    transition: background .2s ease, width .2s ease;
    padding: 0;
}
.showcase-carousel__dot.is-active {
    background: var(--ry-teal, #007a82);
    width: 1.4rem;
    border-radius: 50rem;
}

@media (max-width: 575.98px) {
    .showcase-card { width: 78vw; }
    .carousel-nav-btn { width: 2.4rem; height: 2.4rem; font-size: 1rem; }
}

/* ============================================================
   ISO BADGE — شارة الأيزو (قريباً / معتمدون)
   مصدر الحالة: Services/SiteConfig.cs → IsoStatus
   ============================================================ */
.iso-badge {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    padding: .5rem .9rem .5rem .6rem;
    border-radius: 50rem;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(2px);
}

.iso-badge img {
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .25));
}

.iso-badge__text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.iso-badge__label {
    font-weight: 700;
    font-size: .82rem;
    color: #fff;
}

.iso-badge__sub {
    font-size: .72rem;
    color: rgba(255, 255, 255, .65);
}

/* نسخة فاتحة الخلفية (للاستخدام خارج الهيرو الداكن، مثل صفحة "من نحن") */
.iso-badge--on-light {
    background: var(--ry-teal-mint, #e2f2f1);
    border-color: var(--ry-teal-line, #d4e6e5);
}
.iso-badge--on-light .iso-badge__label {
    color: var(--ry-teal-deep, #06343a);
}
.iso-badge--on-light .iso-badge__sub {
    color: var(--ry-muted, #56696c);
}

/* حالة "قريباً": حدّ متقطع وإشارة بصرية للتفريق عن الاعتماد الفعلي */
.iso-badge--coming-soon {
    border-style: dashed;
}
.iso-badge--coming-soon img {
    opacity: .82;
}

/* حالة "معتمدون": توهج ذهبي خفيف للتمييز الإيجابي عند استلام الشهادة فعلياً */
.iso-badge--certified {
    border-color: var(--ry-gold, #f0c000);
    box-shadow: 0 0 0 1px rgba(240, 192, 0, .25);
}
