
/* =========================================================
   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: 'IBM Plex Sans Arabic', 'Droid Arabic Kufi', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-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: 16px;
    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: #e3f3d3; /* أخضر فاتح لخلفية الأكياس */
    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);
}


/* =========================================================
   15) ALMADINA-STYLE OVERRIDES (client request)
   ========================================================= */
.navbar-brand__logo { height: 48px; width: auto; border-radius: .7rem; }
.footer-logo { height: 64px; width: auto; border-radius: .8rem; }

/* بطاقات المنتجات: أبيض مدوّر، عنوان ملوّن، تصنيف رمادي */
.product-card { border-radius: 1.5rem !important; box-shadow: 0 8px 28px rgba(6,52,58,.08); transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(6,52,58,.14); }
.product-card .product-media { border-radius: 1.25rem; margin: .75rem .75rem 0; }
.product-card .card-body { text-align: center; }
.product-card h5, .product-card h5 a { color: var(--ry-teal); font-size: 1.25rem; }

/* تكبير الخطوط الصغيرة لسهولة القراءة */
.small, small { font-size: 1rem !important; }
.bg-cream h5 { font-size: 1.3rem; }

/* الفوتر على نمط المدينة */
.site-footer { font-size: 1.05rem; }
.site-footer .footer-title { font-size: 1.25rem; }
.site-footer .footer-contact i { color: var(--ry-gold); font-size: 1.15rem; }
.site-footer .footer-social { align-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: #fff; display: inline-flex; height: 42px; justify-content: center; text-decoration: none; transition: background .2s, color .2s; width: 42px; }
.site-footer .footer-social:hover { background: var(--ry-gold); border-color: var(--ry-gold); color: #12292c; }


/* ---------- HOME (Almadina-style sequence) ---------- */
.home-hero__dots { margin-bottom: 1rem; }
.home-hero__dots [data-bs-target] { background-color: #fff; border-radius: 50%; height: 10px; width: 10px; }
.hero-bag-card { background: #e3f3d3; border-radius: 2rem; display: inline-block; padding: 1.5rem 2.5rem; }
.hero-bag-card img { display: block; height: 380px; max-width: 100%; object-fit: contain; }


.std-card { align-items: center; background: #fff; border: 1px solid var(--ry-teal-line); border-radius: 1.5rem; display: flex; flex-direction: column; gap: .5rem; height: 100%; padding: 2rem 1.5rem; text-align: center; }
.std-card i { color: var(--ry-teal); font-size: 2.2rem; }
.std-card b { font-size: 1.35rem; }
.std-card span { color: var(--ry-muted); font-size: 1.05rem; }


/* =========================================================
   16) PREMIUM PASS (v2) — type scale, rhythm, brand wave, a11y
   ========================================================= */
:root {
    --r-sm: .75rem;
    --r-md: 1.25rem;
    --r-lg: 1.75rem;
    --ry-text-soft: #46595c;           /* AA contrast on white and on #f4f8f8 */
    --ry-leaf: #e3f3d3;                /* light green behind product bags */
    --bs-secondary-color: var(--ry-text-soft);
    --ry-nav-h: 76px;
}

/* ---- Type scale (Arabic: no letter-spacing, generous leading) ---- */
h1, .h1 { font-size: clamp(2.1rem, 1.2rem + 3.4vw, 3.5rem); font-weight: 700; line-height: 1.3; text-wrap: balance; }
h2, .h2 { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.4rem); font-weight: 700; line-height: 1.4; text-wrap: balance; }
h3, .h3 { font-size: clamp(1.3rem, 1.05rem + .9vw, 1.7rem); font-weight: 700; }
h5, .h5 { font-size: 1.25rem; }
p { max-width: 68ch; }
.text-center p, .mx-auto { max-width: none; }
.text-muted { color: var(--ry-text-soft) !important; }
.fs-5 { font-size: 1.2rem !important; }
.eyebrow { font-size: 1rem; letter-spacing: 0; text-transform: none; }

/* ---- Navbar ---- */
.site-navbar { min-height: var(--ry-nav-h); }
.navbar-nav .nav-link { color: var(--ry-teal-deep); font-size: 1.02rem; padding-block: .6rem !important; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--ry-teal); }
.site-navbar .btn-gold { white-space: nowrap; }
@media (max-width: 1199.98px) {
    .site-navbar .navbar-collapse { border-top: 1px solid var(--ry-teal-line); margin-top: .5rem; padding: .75rem 0 1rem; }
    .navbar-nav .nav-link { padding-inline: .25rem !important; }
}

/* ---- Hero: brand wave taken from the logo ---- */
.home-hero { padding-bottom: clamp(3.5rem, 8vw, 7rem); }
.home-hero .carousel-item > .container { min-height: clamp(460px, 62vh, 620px); display: flex; align-items: center; }
.home-hero .carousel-item > .container > .row { width: 100%; }
.home-hero h1, .home-hero h2.display-5 { font-size: clamp(2.2rem, 1.2rem + 3.6vw, 3.6rem); }
.home-hero p.fs-5 { font-size: 1.25rem !important; color: rgba(255,255,255,.82) !important; line-height: 1.9; }
.home-hero::after {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23f0c000' d='M0 70C360 8 720 108 1080 56c170-24 280-22 360-8v14c-80-12-190-14-360 10C720 128 360 28 0 90z'/%3E%3Cpath fill='%2360a818' d='M0 58C360-4 720 96 1080 44c170-24 280-22 360-8v16c-80-12-190-14-360 10C720 118 360 16 0 78z'/%3E%3Cpath fill='%23ffffff' d='M0 120V68C360 6 720 106 1080 54c170-24 280-22 360-8v74z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
    bottom: -1px; content: ""; height: clamp(48px, 8vw, 110px); inset-inline: 0; pointer-events: none; position: absolute; z-index: 3;
}
.home-hero__dots { bottom: clamp(3rem, 7vw, 6.5rem); margin-bottom: 0; z-index: 4; }
.home-hero__dots [data-bs-target] { opacity: .5; transition: opacity .2s, width .2s; }
.home-hero__dots .active { border-radius: 8px; opacity: 1; width: 28px; }
.hero-chip { font-size: .95rem; }
.hero-bag-card { border-radius: var(--r-lg); box-shadow: 0 30px 60px rgba(0,0,0,.28); }

/* ---- Sections rhythm ---- */
.py-6 { padding-block: clamp(3.5rem, 7vw, 6rem) !important; }
.section-title { margin-bottom: 1rem; }
.bg-cream { background: var(--ry-surface) !important; }

/* ---- Consistent surfaces ---- */
.product-card .product-media { background: var(--ry-leaf); }
.std-card { box-shadow: var(--ry-shadow-sm); }

/* ---- Footer with inverse brand wave ---- */
.site-footer { background: var(--ry-teal-deep); position: relative; padding-top: clamp(2.5rem, 5vw, 4.5rem); }
.site-footer::before {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%2360a818' d='M0 40c120-14 260-20 400-4 290 34 560 66 1040 8v36C960 138 690 106 400 72 260 56 120 62 0 78z'/%3E%3Cpath fill='%23f0c000' d='M0 66c120-14 260-18 400-2 290 34 560 62 1040 4v10C960 118 690 96 400 62 260 46 120 52 0 68z' opacity='.0'/%3E%3Cpath fill='%23ffffff' d='M0 0h1440v44C960 104 690 72 400 38 260 22 120 28 0 44z'/%3E%3C/svg%3E") center top / 100% 100% no-repeat;
    content: ""; height: clamp(36px, 6vw, 80px); inset-inline: 0; position: absolute; top: -1px; pointer-events: none;
}
.site-footer .container { position: relative; }
.site-footer .footer-link { font-size: 1.05rem; }
.site-footer .text-white-50 { color: rgba(255,255,255,.72) !important; }

/* ---- Accessibility ---- */
:focus-visible { outline: 3px solid var(--ry-gold); outline-offset: 3px; border-radius: 4px; }
.skip-link { background: #fff; color: var(--ry-teal-deep); inset-inline-start: 1rem; padding: .6rem 1rem; position: absolute; top: -4rem; z-index: 2000; border-radius: var(--r-sm); }
.skip-link:focus { top: 1rem; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1 !important; transform: none !important; }
    .carousel-item { transition: none !important; }
}

/* ---- Mobile ---- */
@media (max-width: 767.98px) {
    .home-hero .carousel-item > .container { min-height: 0; padding-block: 2.5rem 1rem; }
    .hero-showcase { max-width: 340px; margin-inline: auto; }
    .hero-bag-card { padding: 1rem 1.5rem; }
    .hero-bag-card img { height: 260px; }
    .btn-lg { width: 100%; }
    .site-footer .col-lg-2 .btn { width: 100%; }
}


/* =========================================================
   17) HERO SLIDER (hx) — custom, no Bootstrap JS dependency
   ========================================================= */
.hx { overflow: hidden; padding-block: clamp(1.5rem, 4vw, 3.5rem) clamp(6rem, 10vw, 9rem); position: relative; }
.hx-slides { display: grid; }
.hx-slide { grid-area: 1 / 1; opacity: 0; pointer-events: none; position: relative; transition: opacity .7s ease, visibility 0s linear .7s; visibility: hidden; }
.hx-slide.is-active { opacity: 1; pointer-events: auto; transition-delay: 0s; visibility: visible; }
.hx-slide::before { background: radial-gradient(circle at 24% 48%, var(--hx-accent, rgba(96,168,24,.3)), transparent 36rem); content: ""; inset: 0; position: absolute; }
.hx-slide.is-teal { --hx-accent: rgba(96, 168, 24, .32); }
.hx-slide.is-gold { --hx-accent: rgba(240, 192, 0, .30); }
.hx-slide.is-lime { --hx-accent: rgba(0, 190, 200, .30); }

.hx-grid { align-items: center; display: grid; gap: 2rem; grid-template-columns: 1.05fr .95fr; min-height: clamp(440px, 60vh, 580px); position: relative; z-index: 2; }
.home-hero .hx-title { color: #fff; font-family: 'Inter', 'Droid Arabic Kufi', sans-serif; font-size: clamp(2.4rem, 1.2rem + 4.4vw, 4.4rem); font-weight: 800; line-height: 1.15; margin-bottom: 1.25rem; }
.hx-text { color: rgba(255,255,255,.84); font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); line-height: 1.95; margin-bottom: 2rem; max-width: 34rem; }
.hx-actions { display: flex; flex-wrap: wrap; gap: .85rem; }

.hx-slide.is-active .hx-in { animation: hxIn .85s cubic-bezier(.2, .7, .2, 1) var(--d, 0s) both; }
@keyframes hxIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

.hx-stage { aspect-ratio: 1 / 1; display: grid; margin-inline: auto; max-width: 520px; place-items: center; position: relative; width: 100%; }
.hx-glow { animation: hxPulse 6s ease-in-out infinite; background: radial-gradient(circle, rgba(255,255,255,.26) 0%, rgba(255,255,255,.06) 48%, transparent 68%); border-radius: 50%; inset: 4%; position: absolute; }
.hx-ring { animation: hxSpin 48s linear infinite; border: 2px dashed rgba(255,255,255,.28); border-radius: 50%; inset: 9%; position: absolute; }
.hx-layer { display: grid; inset: 0; place-items: center; position: absolute; transform: translate3d(var(--px, 0px), var(--py, 0px), 0); transition: transform .25s ease-out; }
.hx-bag { filter: drop-shadow(0 38px 36px rgba(0,0,0,.5)); max-height: 88%; max-width: 68%; object-fit: contain; }
.hx-slide.is-active .hx-bag { animation: hxBagIn 1s cubic-bezier(.2, .8, .2, 1) .1s both, hxFloat 6.5s ease-in-out 1.1s infinite; }
@keyframes hxBagIn { from { opacity: 0; transform: translateY(70px) rotate(-8deg) scale(.88); } to { opacity: 1; transform: none; } }
@keyframes hxFloat { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(.8deg); } }
@keyframes hxPulse { 0%, 100% { transform: scale(.96); opacity: .85; } 50% { transform: scale(1.05); opacity: 1; } }
@keyframes hxSpin { to { transform: rotate(360deg); } }

.hx-chip { align-items: center; background: rgba(255,255,255,.97); border-radius: 50rem; box-shadow: 0 16px 34px rgba(0,0,0,.28); color: var(--ry-teal-deep); display: inline-flex; font-size: .98rem; font-weight: 700; gap: .5rem; padding: .6rem 1.1rem; position: absolute; z-index: 3; }
.hx-chip i { color: var(--ry-teal); }
.hx-chip--a { inset-inline-start: 0; top: 12%; }
.hx-chip--b { bottom: 14%; inset-inline-end: 0; }
.hx-slide.is-active .hx-chip--a { animation: hxChip .7s cubic-bezier(.2,.8,.2,1) .6s both; }
.hx-slide.is-active .hx-chip--b { animation: hxChip .7s cubic-bezier(.2,.8,.2,1) .8s both; }
@keyframes hxChip { from { opacity: 0; transform: translateY(18px) scale(.92); } to { opacity: 1; transform: none; } }

.hx-controls { align-items: center; bottom: clamp(3.4rem, 8vw, 7rem); display: flex; justify-content: space-between; left: 0; margin-inline: auto; position: absolute; right: 0; z-index: 5; }
.hx-dots { display: flex; gap: .35rem; }
.hx-dot { background: none; border: 0; cursor: pointer; padding: 14px 4px; }
.hx-dot span { background: rgba(255,255,255,.3); border-radius: 4px; display: block; height: 4px; overflow: hidden; position: relative; width: 48px; }
.hx-dot span::after { background: var(--ry-gold); content: ""; inset: 0; position: absolute; transform: scaleX(0); transform-origin: 100% 50%; }
.hx-dot.is-active span::after { animation: hxProg 6.5s linear forwards; }
.hx.is-paused .hx-dot.is-active span::after { animation-play-state: paused; }
@keyframes hxProg { to { transform: scaleX(1); } }
.hx-arrows { display: flex; gap: .6rem; }
.hx-arrow { align-items: center; backdrop-filter: blur(6px); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.4); border-radius: 50%; color: #fff; cursor: pointer; display: inline-flex; font-size: 1.1rem; height: 48px; justify-content: center; transition: background .2s, color .2s, transform .2s; width: 48px; }
.hx-arrow:hover { background: var(--ry-gold); border-color: var(--ry-gold); color: #12292c; transform: scale(1.06); }

@media (max-width: 991.98px) {
    .hx-grid { grid-template-columns: 1fr; min-height: 0; padding-block: 1rem 2rem; text-align: center; }
    .hx-text { margin-inline: auto; }
    .hx-actions { justify-content: center; }
    .hx-stage { max-width: 320px; order: -1; }
    .hx-controls { bottom: 3.6rem; }
    .hx-arrows { display: none; }
    .hx-controls { justify-content: center; }
}

/* =========================================================
   19) MOTION
   ========================================================= */
body::before { background: linear-gradient(90deg, var(--ry-lime), var(--ry-gold)); content: ""; height: 3px; inset-inline-start: 0; position: fixed; top: 0; transform: scaleX(var(--scroll, 0)); transform-origin: 100% 50%; width: 100%; z-index: 2100; }

.site-navbar { transition: padding .25s ease, box-shadow .25s ease, border-color .25s ease; }
.navbar-brand__logo { transition: height .25s ease; }
.site-navbar.is-scrolled { padding-block: .15rem !important; }
.site-navbar.is-scrolled .navbar-brand__logo { height: 40px; }

.btn-gold { overflow: hidden; position: relative; }
.btn-gold::after { background: linear-gradient(100deg, transparent, rgba(255,255,255,.6), transparent); content: ""; height: 100%; inset-inline-start: -70%; position: absolute; top: 0; transform: skewX(-20deg); transition: inset-inline-start .7s ease; width: 40%; }
.btn-gold:hover::after { inset-inline-start: 130%; }

.std-card { transition: transform .3s ease, box-shadow .3s ease; }
.std-card:hover { box-shadow: var(--ry-shadow); transform: translateY(-6px); }
.std-card i { transition: transform .4s ease; }
.std-card:hover i { transform: scale(1.18) rotate(-6deg); }

@media (prefers-reduced-motion: no-preference) {
    .reveal.is-visible .reveal-stagger > * { opacity: 1; transform: none; }
    .reveal .reveal-stagger > * { opacity: 0; transform: translateY(32px) scale(.97); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
    .reveal-stagger > *:nth-child(1) { transition-delay: .05s; }
    .reveal-stagger > *:nth-child(2) { transition-delay: .17s; }
    .reveal-stagger > *:nth-child(3) { transition-delay: .29s; }
    .reveal-stagger > *:nth-child(4) { transition-delay: .41s; }
    .reveal-stagger > *:nth-child(5) { transition-delay: .53s; }
}
@media (prefers-reduced-motion: reduce) {
    .hx-slide.is-active .hx-in, .hx-slide.is-active .hx-bag, .hx-slide.is-active .hx-chip--a, .hx-slide.is-active .hx-chip--b { animation: none !important; }
    .hx-glow, .hx-ring { animation: none !important; }
}

.hx-grid { padding-block-end: 4rem; }


/* =========================================================
   20) LIGHT THEME (white-dominant, 60/30/10) + FLUID TYPE
   60% white/mint surfaces · 30% teal (text, discs, footer) · 10% lime + gold accents
   ========================================================= */
:root {
    --ry-font-body: 'IBM Plex Sans Arabic', 'Droid Arabic Kufi', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
    --ry-font-display: 'Noto Kufi Arabic', 'IBM Plex Sans Arabic', 'Droid Arabic Kufi', system-ui, sans-serif;

    /* Fluid type scale: min at ~360px, max at ~1440px */
    --fs-xs:   clamp(.8rem,  .77rem + .15vw, .875rem);
    --fs-sm:   clamp(.9rem,  .87rem + .17vw, 1rem);
    --fs-base: clamp(1rem,   .95rem + .25vw, 1.125rem);
    --fs-md:   clamp(1.1rem, 1.02rem + .4vw, 1.3rem);
    --fs-lg:   clamp(1.25rem, 1.1rem + .7vw, 1.6rem);
    --fs-xl:   clamp(1.6rem, 1.25rem + 1.6vw, 2.4rem);
    --fs-2xl:  clamp(2rem,   1.4rem + 2.8vw, 3.4rem);
    --fs-3xl:  clamp(2.3rem, 1.3rem + 4.4vw, 4.4rem);
}
body { font-family: var(--ry-font-body); font-size: var(--fs-base); line-height: 1.85; }
h1, h2, h3, h4, .h1, .h2, .h3, .h4, .section-title, .navbar-nav .nav-link, .btn, .hs-tab, .hx-title {
    font-family: var(--ry-font-display);
    letter-spacing: 0;
}
h1, .h1 { font-size: var(--fs-2xl); }
h2, .h2, .section-title { font-size: var(--fs-xl); line-height: 1.4; }
h3, .h3 { font-size: var(--fs-lg); line-height: 1.45; }
h4, .h4 { font-size: var(--fs-md); }
h5, .h5 { font-size: var(--fs-md); font-family: var(--ry-font-display); }
p { text-wrap: pretty; }
.fs-5 { font-size: var(--fs-md) !important; }
.fs-6 { font-size: var(--fs-base) !important; }
.small, small { font-size: var(--fs-sm) !important; }
.btn { font-size: var(--fs-sm); font-weight: 600; }
.btn-lg { font-size: var(--fs-base); }
.navbar-nav .nav-link { font-size: var(--fs-sm); font-weight: 600; }
.site-footer { font-size: var(--fs-base); }
.site-footer .footer-title { font-size: var(--fs-md); }

/* ---- HERO: white ---- */
.hx {
    background:
        radial-gradient(46rem 24rem at 6% 0%, rgba(96,168,24,.10), transparent 70%),
        radial-gradient(40rem 24rem at 100% 100%, rgba(0,122,130,.09), transparent 70%),
        #fff;
    color: var(--ry-teal-deep);
}
.hx-slide::before { display: none; }
.hx-kicker { align-items: center; color: var(--ry-teal); display: inline-flex; font-family: var(--ry-font-display); font-size: var(--fs-sm); font-weight: 700; gap: .55rem; margin-bottom: .9rem; }
.hx-kicker i { color: var(--ry-lime); font-size: .6rem; }
.home-hero .hx-title { color: var(--ry-teal-deep); font-family: var(--ry-font-display); font-size: var(--fs-3xl); font-weight: 800; line-height: 1.2; }
.hx-text { color: var(--ry-text-soft); font-size: var(--fs-md); }
.btn-ghost { background: transparent; border: 2px solid var(--ry-teal); color: var(--ry-teal); }
.btn-ghost:hover { background: var(--ry-teal); color: #fff; }

.hx-slide.is-teal { --hx-disc: linear-gradient(150deg, #0a929b 0%, #006a72 100%); }
.hx-slide.is-gold { --hx-disc: linear-gradient(150deg, #0a929b 0%, #05535a 100%); }
.hx-slide.is-lime { --hx-disc: linear-gradient(150deg, #78c425 0%, #4d8c10 100%); }
.hx-glow { animation: hxPulse 7s ease-in-out infinite; background: var(--hx-disc, var(--ry-teal)); border-radius: 50%; box-shadow: 0 40px 70px rgba(0,106,114,.25); inset: 8%; }
.hx-ring { border: 2px dashed rgba(0,122,130,.38); inset: 1%; }
.hx-slide.is-gold .hx-ring { border-color: rgba(240,192,0,.8); }
.hx-bag { filter: drop-shadow(0 30px 26px rgba(4,38,43,.38)); }
.hx-chip { border: 1px solid var(--ry-teal-line); box-shadow: var(--ry-shadow-sm); font-size: var(--fs-sm); }
.hx-chip i { color: var(--ry-lime); }

.hx-dot span { background: rgba(6,52,58,.16); }
.hx-dot span::after { background: var(--ry-teal); }
.hx-arrow { background: #fff; border: 1px solid var(--ry-teal-line); box-shadow: var(--ry-shadow-sm); color: var(--ry-teal); }
.hx-arrow:hover { background: var(--ry-teal); border-color: var(--ry-teal); color: #fff; }

.home-hero::after { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23f0c000' d='M0 70C360 8 720 108 1080 56c170-24 280-22 360-8v14c-80-12-190-14-360 10C720 128 360 28 0 90z'/%3E%3Cpath fill='%2360a818' d='M0 58C360-4 720 96 1080 44c170-24 280-22 360-8v16c-80-12-190-14-360 10C720 118 360 16 0 78z'/%3E%3Cpath fill='%23f4f8f8' d='M0 120V68C360 6 720 106 1080 54c170-24 280-22 360-8v74z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat; }

/* ---- Selector: white section, mint product panel ---- */
.hs { background: #fff; color: var(--ry-teal-deep); }
.hs-tab { background: #fff; border: 1.5px solid var(--ry-teal-line); color: var(--ry-teal-deep); font-size: var(--fs-sm); }
.hs-tab:hover { background: var(--ry-teal-mint); }
.hs-tab.is-active { background: var(--ry-teal); border-color: var(--ry-teal); color: #fff; }
.hs-img { background: var(--ry-leaf); border-radius: var(--r-lg); padding: 2rem; }
.hs-img img { filter: drop-shadow(0 24px 22px rgba(4,38,43,.3)); }
.hs-specs li { color: var(--ry-text-soft); font-size: var(--fs-base); }
.hs-specs li::before { background: var(--ry-lime); }

/* ---- Tiles / sections ---- */
.mix-multiply { mix-blend-mode: multiply; }
.std-card b { font-size: var(--fs-md); }
.std-card span { font-size: var(--fs-sm); }

@media (max-width: 575.98px) {
    .hx-chip--a { top: 0; inset-inline-start: 2%; }
    .hx-chip--b { bottom: 2%; inset-inline-end: 2%; }
}


/* =========================================================
   21) PRODUCT CARD SYSTEM + FILTER + CERTIFICATE + FOOTER MAP + LIGHTBOX
   ========================================================= */
.page-head { background: var(--ry-surface); padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem); }

/* ---- Unified product card: fixed 4:3 media, never crops the pack ---- */
.product-card { background: #fff; border: 1px solid var(--ry-teal-line); border-radius: var(--r-lg); box-shadow: var(--ry-shadow-sm); display: flex; flex-direction: column; height: 100%; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.product-card:hover { border-color: var(--ry-teal); box-shadow: var(--ry-shadow); transform: translateY(-5px); }
.product-media { aspect-ratio: 4 / 3; background: var(--ry-leaf); border-radius: var(--r-md); display: block; margin: .75rem .75rem 0; overflow: hidden; position: relative; }
.product-media img { display: block; height: 100%; object-fit: contain; transition: transform .5s cubic-bezier(.2,.7,.2,1); width: 100%; }
.product-media.is-cutout img { filter: drop-shadow(0 14px 12px rgba(4,38,43,.28)); padding: .9rem; }
.product-media.is-photo img { mix-blend-mode: multiply; padding: .5rem; }   /* خلفية بيضاء/رمادية فاتحة تذوب في الخلفية الخضراء */
.product-media img.is-missing { filter: none; mix-blend-mode: normal; opacity: .6; padding: 2rem; }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-badge { background: var(--ry-gold); border-radius: 50rem; color: #2b2200; font-size: var(--fs-xs); font-weight: 700; inset-block-start: .75rem; inset-inline-start: .75rem; padding: .25rem .8rem; position: absolute; }
.product-body { display: flex; flex: 1; flex-direction: column; gap: .5rem; padding: 1.25rem 1.5rem 1.5rem; }
.product-cat { color: var(--ry-teal); font-size: var(--fs-sm); font-weight: 700; }
.product-title { font-size: var(--fs-md); margin: 0; }
.product-title a { color: var(--ry-teal-deep); text-decoration: none; }
.product-title a:hover { color: var(--ry-teal); }
.product-desc { -webkit-box-orient: vertical; -webkit-line-clamp: 3; color: var(--ry-text-soft); display: -webkit-box; font-size: var(--fs-sm); margin: 0; min-height: calc(1.85em * 3); overflow: hidden; }
.product-meta { color: var(--ry-text-soft); display: flex; flex-wrap: wrap; font-size: var(--fs-xs); gap: .5rem 1rem; margin-top: auto; padding-top: .5rem; }
.product-meta i { color: var(--ry-lime); margin-inline-end: .35rem; }
.product-cta { align-self: flex-start; margin-top: .75rem; }

/* ---- Filter chips (links on /Products, buttons on Home) ---- */
.filter-bar { background: #fff; border-bottom: 1px solid var(--ry-teal-line); inset-block-start: var(--ry-nav-h); padding-block: .85rem; position: sticky; z-index: 20; }
.filter-chips { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.chip { align-items: center; background: #fff; border: 1.5px solid var(--ry-teal-line); border-radius: 50rem; color: var(--ry-teal-deep); cursor: pointer; display: inline-flex; font-family: var(--ry-font-display); font-size: var(--fs-sm); font-weight: 600; gap: .5rem; padding: .5rem 1.15rem; text-decoration: none; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.chip:hover { background: var(--ry-teal-mint); color: var(--ry-teal-deep); transform: translateY(-2px); }
.chip.is-active { background: var(--ry-teal); border-color: var(--ry-teal); color: #fff; }
.chip-count { background: rgba(6,52,58,.08); border-radius: 50rem; font-size: var(--fs-xs); min-width: 1.6rem; padding: .05rem .5rem; text-align: center; }
.chip.is-active .chip-count { background: rgba(255,255,255,.25); }
[data-filter-grid] > [hidden] { display: none !important; }
.hx-photo { background: #fff; border-radius: var(--r-lg); box-shadow: var(--ry-shadow); max-height: 88%; max-width: 78%; object-fit: contain; padding: 1rem; }

/* ---- Certificate card (reserved / certified) ---- */
.cert-card { background: #fff; border: 1px solid var(--ry-teal-line); border-radius: var(--r-lg); box-shadow: var(--ry-shadow); margin-inline: auto; max-width: 860px; overflow: hidden; padding: clamp(1.5rem, 4vw, 3rem); position: relative; }
.cert-card::before { border: 2px dashed rgba(0,122,130,.28); border-radius: calc(var(--r-lg) - .6rem); content: ""; inset: .6rem; pointer-events: none; position: absolute; }
.cert-card.is-reserved::after { background: repeating-linear-gradient(135deg, transparent 0 22px, rgba(0,122,130,.035) 22px 44px); content: ""; inset: 0; pointer-events: none; position: absolute; }
.cert-corner { height: 56px; position: absolute; width: 56px; z-index: 1; }
.cert-corner--tl { border-block-start: 5px solid var(--ry-lime); border-inline-start: 5px solid var(--ry-lime); border-start-start-radius: var(--r-lg); inset-block-start: 0; inset-inline-start: 0; }
.cert-corner--br { border-block-end: 5px solid var(--ry-gold); border-inline-end: 5px solid var(--ry-gold); border-end-end-radius: var(--r-lg); inset-block-end: 0; inset-inline-end: 0; }
.cert-stamp { border: 3px double #b78a00; border-radius: .6rem; color: #b78a00; font-family: var(--ry-font-display); font-size: var(--fs-lg); font-weight: 800; inset-block-start: 1.6rem; inset-inline-end: 1.8rem; letter-spacing: .05em; opacity: .85; padding: .15rem 1rem; position: absolute; transform: rotate(-9deg); z-index: 2; }
.cert-head { align-items: center; display: flex; gap: 1.1rem; margin-bottom: 1.75rem; position: relative; z-index: 1; }
.cert-seal { align-items: center; background: var(--ry-teal-mint); border: 2px solid var(--ry-teal); border-radius: 50%; color: var(--ry-teal); display: inline-flex; flex: none; font-size: 1.9rem; height: 68px; justify-content: center; width: 68px; }
.cert-card.is-certified .cert-seal { background: var(--ry-teal); color: #fff; }
.cert-title { font-size: var(--fs-xl); margin: 0; }
.cert-sub { color: var(--ry-teal); font-family: var(--ry-font-display); font-weight: 700; margin: 0; }
.cert-fields { display: grid; gap: 1.25rem 2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 1.75rem; position: relative; z-index: 1; }
.cert-fields dt { color: var(--ry-text-soft); font-size: var(--fs-xs); font-weight: 600; margin-bottom: .2rem; }
.cert-fields dd { border-bottom: 1px solid var(--ry-teal-line); color: var(--ry-teal-deep); font-weight: 600; margin: 0; padding-bottom: .5rem; }
.cert-fields dd.is-placeholder { color: #8aa0a3; font-weight: 500; }
.cert-steps { counter-reset: s; display: flex; gap: .5rem; list-style: none; margin: 0 0 1.5rem; padding: 0; position: relative; z-index: 1; }
.cert-steps li { align-items: center; color: var(--ry-text-soft); display: flex; flex: 1; font-size: var(--fs-sm); font-weight: 600; gap: .6rem; }
.cert-steps li:not(:last-child)::after { background: var(--ry-teal-line); content: ""; flex: 1; height: 2px; }
.cert-steps li span { align-items: center; background: #fff; border: 2px solid var(--ry-teal-line); border-radius: 50%; display: inline-flex; flex: none; font-size: var(--fs-xs); height: 32px; justify-content: center; width: 32px; }
.cert-steps li.is-current { color: var(--ry-teal-deep); }
.cert-steps li.is-current span { background: var(--ry-gold); border-color: var(--ry-gold); color: #2b2200; }
.cert-note { background: var(--ry-surface); border-radius: var(--r-sm); color: var(--ry-text-soft); font-size: var(--fs-sm); margin: 0; padding: .9rem 1.1rem; position: relative; z-index: 1; }
@media (max-width: 575.98px) {
    .cert-fields { grid-template-columns: 1fr; }
    .cert-stamp { font-size: var(--fs-base); inset-block-start: 1rem; inset-inline-end: 1rem; }
    .cert-steps { flex-direction: column; gap: .75rem; }
    .cert-steps li:not(:last-child)::after { display: none; }
}

/* ---- Footer location ---- */
.footer-map { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: var(--r-md); overflow: hidden; }
.footer-map iframe { border: 0; display: block; height: 220px; width: 100%; }
.footer-map__fallback { align-items: center; color: rgba(255,255,255,.85); display: flex; flex-direction: column; gap: .5rem; justify-content: center; min-height: 140px; padding: 1.5rem; text-align: center; }
.footer-map__fallback i { color: var(--ry-gold); font-size: 1.8rem; }
.footer-address { align-items: flex-start; color: rgba(255,255,255,.9); display: flex; gap: .6rem; margin: 1rem 0; }
.footer-address i { color: var(--ry-gold); margin-top: .35rem; }
.btn-ghost-light { background: transparent; border: 1.5px solid rgba(255,255,255,.5); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--ry-teal-deep); }

/* ---- Gallery lightbox ---- */
.lb { align-items: center; background: rgba(4,38,43,.92); display: flex; inset: 0; justify-content: center; opacity: 0; padding: 1.5rem; pointer-events: none; position: fixed; transition: opacity .25s ease; z-index: 3000; }
.lb.is-open { opacity: 1; pointer-events: auto; }
.lb img { border-radius: var(--r-sm); box-shadow: 0 30px 80px rgba(0,0,0,.5); max-height: 88vh; max-width: min(92vw, 1100px); object-fit: contain; }
.lb button { background: #fff; border: 0; border-radius: 50%; cursor: pointer; font-size: 1.3rem; height: 46px; inset-block-start: 1rem; inset-inline-end: 1rem; position: absolute; width: 46px; }
.media-card__visual img { cursor: zoom-in; }

.product-media img { box-sizing: border-box; }


/* ---- Product details stage (fixed ratio, never crops) ---- */
.product-stage { align-items: center; aspect-ratio: 4 / 3; background: var(--ry-leaf); border: 1px solid var(--ry-teal-line); border-radius: var(--r-lg); display: flex; justify-content: center; overflow: hidden; width: 100%; }
.product-stage img { box-sizing: border-box; height: 100%; object-fit: contain; padding: clamp(1rem, 4vw, 2rem); width: 100%; }
.product-stage.is-cutout img { filter: drop-shadow(0 22px 20px rgba(4,38,43,.3)); }
.product-stage.is-photo img { mix-blend-mode: multiply; }
.product-stage img.is-missing { filter: none; mix-blend-mode: normal; opacity: .6; padding: 3rem; }
.product-tagline { color: var(--ry-teal); font-family: var(--ry-font-display); font-size: var(--fs-md); font-weight: 600; margin-bottom: 1rem; }
@media (max-width: 575.98px) { .product-stage { aspect-ratio: 1 / 1; } }


/* =========================================================
   17) CLIENT NOTES — uniform hero product size, larger nav text
   ========================================================= */
.hx-bag { height: 82%; width: auto; max-width: 70%; max-height: none; object-fit: contain; }
.navbar-nav .nav-link { font-size: 1.15rem; font-weight: 700; }
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .navbar-nav .nav-link { font-size: 1.08rem; padding-inline: .5rem !important; }
}
@media (max-width: 1199.98px) {
    .navbar-nav .nav-link { font-size: 1.2rem; }
}

/* =========================================================
   18) PREMIUM POLISH — tonal color system, depth, motion
   ========================================================= */
:root {
    /* tonal scales (light → deep) for consistent shading */
    --t-50:#eef8f8; --t-100:#d9eeee; --t-200:#b3dddf; --t-300:#7fc4c8; --t-400:#3ea3aa; --t-500:#007a82; --t-600:#00646b; --t-700:#055057; --t-800:#06343a; --t-900:#03242a;
    --g-100:#fff6cc; --g-300:#ffe066; --g-500:#f0c000; --g-700:#b88f00;
    --l-100:#e8f5d6; --l-300:#a6d36a; --l-500:#60a818; --l-700:#437a0e;
    --grad-teal: linear-gradient(135deg, var(--t-400) 0%, var(--t-500) 45%, var(--t-700) 100%);
    --grad-deep: radial-gradient(120% 90% at 85% 0%, #0b5a62 0%, var(--t-800) 48%, var(--t-900) 100%);
    --grad-gold: linear-gradient(135deg, #ffe680 0%, var(--g-500) 55%, #d9a900 100%);
    --grad-leaf: linear-gradient(160deg, #f1fae4 0%, var(--l-100) 100%);
    --ease-out: cubic-bezier(.22, 1, .36, 1);
    --ease-spring: cubic-bezier(.34, 1.4, .64, 1);
    --sh-1: 0 1px 2px rgba(3,36,42,.06), 0 4px 12px rgba(3,36,42,.05);
    --sh-2: 0 2px 4px rgba(3,36,42,.05), 0 12px 28px rgba(3,36,42,.09), 0 28px 56px rgba(3,36,42,.07);
    --sh-3: 0 4px 8px rgba(3,36,42,.06), 0 22px 44px rgba(3,36,42,.14), 0 44px 88px rgba(3,36,42,.12);
    --ry-shadow-sm: var(--sh-1);
    --ry-shadow: var(--sh-2);
}

html { scroll-behavior: smooth; }
body { background: var(--ry-surface); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: var(--g-300); color: var(--t-900); }
:focus-visible { outline: 3px solid var(--g-500); outline-offset: 3px; border-radius: .5rem; }

/* reading-progress bar (pure CSS, modern browsers) */
@supports (animation-timeline: scroll()) {
    body::before { animation: ryProgress linear both; animation-timeline: scroll(root); background: linear-gradient(90deg, var(--l-500), var(--g-500)); content: ""; height: 3px; inset: 0 0 auto 0; position: fixed; transform-origin: right; transform: scaleX(0); z-index: 2000; }
    @keyframes ryProgress { to { transform: scaleX(1); } }
}

/* navbar: frosted glass + soft depth on scroll */
.site-navbar { backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); background: rgba(255,255,255,.82) !important; border-bottom: 1px solid rgba(0,122,130,.10); transition: box-shadow .35s var(--ease-out), padding .35s var(--ease-out); }
.site-navbar.is-scrolled { box-shadow: 0 10px 30px rgba(3,36,42,.10); }
.navbar-nav .nav-link { transition: color .25s, transform .25s var(--ease-out); }
.navbar-nav .nav-link:hover { transform: translateY(-1px); }
.navbar-nav .nav-link::after { background: var(--grad-gold); transform: scaleX(0); transform-origin: center; transition: transform .35s var(--ease-out); }
.navbar-nav .nav-link:hover::after, .navbar-nav .nav-link.active::after { transform: scaleX(1); }

/* buttons */
.btn { transition: transform .3s var(--ease-spring), box-shadow .3s var(--ease-out), background-color .25s, color .25s; }
.btn:active { transform: scale(.97); }
.btn-gold { background: var(--grad-gold); border: 0; box-shadow: 0 8px 20px rgba(240,192,0,.35), inset 0 1px 0 rgba(255,255,255,.55); color: var(--t-900); font-weight: 800; }
.btn-gold:hover { box-shadow: 0 14px 30px rgba(240,192,0,.45), inset 0 1px 0 rgba(255,255,255,.65); color: var(--t-900); transform: translateY(-3px); }
.btn-outline-primary { border-color: var(--t-500); color: var(--t-600); }
.btn-outline-primary:hover { background: var(--grad-teal); border-color: transparent; box-shadow: 0 10px 22px rgba(0,122,130,.28); transform: translateY(-2px); }

/* hero: layered teal depth + tonal discs */
.home-hero { background: radial-gradient(70% 60% at 15% 10%, var(--t-50) 0%, transparent 60%), radial-gradient(60% 60% at 90% 90%, var(--l-100) 0%, transparent 62%), var(--ry-surface); }
.hx-slide.is-teal  { --hx-disc: var(--grad-teal); }
.hx-slide.is-gold  { --hx-disc: linear-gradient(145deg, #ffe680 0%, #f0c000 60%, #c99d00 100%); }
.hx-slide.is-lime  { --hx-disc: linear-gradient(145deg, #a6d36a 0%, #60a818 60%, #437a0e 100%); }
.hx-glow { box-shadow: 0 50px 90px rgba(3,36,42,.28), inset 0 0 0 10px rgba(255,255,255,.10); }
.hx-title { background: linear-gradient(120deg, var(--t-800), var(--t-500)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hx-chip { backdrop-filter: blur(10px); background: rgba(255,255,255,.88); }
.hx-bag { filter: drop-shadow(0 34px 30px rgba(3,36,42,.42)) drop-shadow(0 6px 8px rgba(3,36,42,.18)); }
.hx-dot span, .hx-arrow { transition: all .35s var(--ease-out); }
.hx-arrow { backdrop-filter: blur(8px); box-shadow: var(--sh-1); }
.hx-arrow:hover { background: var(--grad-teal); border-color: transparent; color: #fff; transform: scale(1.08); }
.hx-slide:not(.is-active) .hx-copy { opacity: 0; transform: translateY(14px); }
.hx-copy { transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }

/* section titles: gold→lime accent bar */
.section-title { position: relative; }
.section-title::after { background: linear-gradient(90deg, var(--g-500), var(--l-500)); border-radius: 4px; content: ""; display: block; height: 4px; margin-top: .7rem; width: 56px; }
.text-center .section-title::after { margin-inline: auto; }
.eyebrow { background: linear-gradient(90deg, var(--l-700), var(--t-500)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-weight: 800; }
.bg-cream { background: linear-gradient(180deg, #f7fbfb 0%, #eef7f6 100%) !important; }

/* cards: lift, tonal media, shine */
.product-card, .showcase-card { border: 1px solid rgba(0,122,130,.10); box-shadow: var(--sh-1); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s; }
.product-card:hover, .showcase-card:hover { border-color: rgba(0,122,130,.35); box-shadow: var(--sh-3); transform: translateY(-8px); }
.product-media { background: var(--grad-leaf); }
.product-media::after { background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%); content: ""; inset: 0; position: absolute; transform: translateX(120%); transition: transform .9s var(--ease-out); pointer-events: none; }
.product-card:hover .product-media::after { transform: translateX(-120%); }
.product-badge { background: var(--grad-gold); color: var(--t-900); font-weight: 800; box-shadow: 0 4px 12px rgba(240,192,0,.4); }
.product-title a { transition: color .25s; }
.product-card:hover .product-title a { color: var(--t-500); }
.showcase-card__media img { transition: transform .8s var(--ease-out); }
.showcase-card:hover .showcase-card__media img { transform: scale(1.07); }

/* scroll-driven entrance for cards (progressive enhancement) */
@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .product-card, .compare-table tbody tr { animation: ryRise linear both; animation-timeline: view(); animation-range: entry 0% entry 38%; }
        @keyframes ryRise { from { opacity: 0; transform: translateY(40px) scale(.97); } to { opacity: 1; transform: none; } }
    }
}

/* filter chips + table */
.chip { transition: all .3s var(--ease-out); }
.chip:hover { border-color: var(--t-400); transform: translateY(-2px); }
.chip.is-active { background: var(--grad-teal); border-color: transparent; box-shadow: 0 8px 18px rgba(0,122,130,.28); color: #fff; }
.compare-table tbody tr { transition: background .25s; }
.compare-table tbody tr:hover { background: var(--t-50); }

/* footer: deep teal gradient with gold hairline */
.site-footer { background: var(--grad-deep) !important; border-top: 3px solid transparent; border-image: linear-gradient(90deg, var(--l-500), var(--g-500), var(--l-500)) 1; }
.footer-link { transition: color .25s, padding-inline-start .3s var(--ease-out); }
.footer-link:hover { color: var(--g-300); padding-inline-start: .35rem; }
.footer-social { transition: transform .35s var(--ease-spring), background .3s, color .3s; }
.footer-social:hover { background: var(--grad-gold); color: var(--t-900); transform: translateY(-4px) rotate(-6deg); }

/* richer reveal */
@media (prefers-reduced-motion: no-preference) {
    .reveal { transition-duration: .9s; transition-timing-function: var(--ease-out); }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .product-card, .showcase-card, .btn, .hx-copy { transition: none !important; animation: none !important; }
}
