﻿:root {
    --primary: #0D365D;
    --primary-2: #17538E;
    --secondary: #3583C5;
    --cyan: #39b6d8;
    --green: #16a34a;
    --dark: #06172d;
    --dark-2: #09264a;
    --text: #ffffff;
    --muted: rgba(255,255,255,.70);
    --line: rgba(255,255,255,.13);
}

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

html,
body {
    width: 100%;
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Tajawal', sans-serif;
    color: var(--text);
    overflow-x: hidden;
    background: radial-gradient(circle at 8% 8%, rgba(53,131,197,.28), transparent 28%), radial-gradient(circle at 90% 14%, rgba(22,163,74,.13), transparent 30%), linear-gradient(135deg, #06172d 0%, #09264a 52%, #04101f 100%);
}

    body::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: -2;
        pointer-events: none;
        background: repeating-linear-gradient(135deg, rgba(255,255,255,.032) 0 1px, transparent 1px 22px);
        opacity: .75;
    }

    body::after {
        content: "";
        position: fixed;
        inset: 0;
        z-index: -1;
        pointer-events: none;
        background: url('/Content/images/logo-1.png') left -150px top 260px / 460px no-repeat, url('/Content/images/logo-1.png') right -180px bottom -140px / 520px no-repeat;
        opacity: .085;
        filter: brightness(1.45);
    }

a {
    text-decoration: none;
}

.offers-page,
.details-page {
    width: min(100% - 44px, 1680px);
    margin: 0 auto;
    padding: 26px 0 70px;
}

/* HERO */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 470px;
    border-radius: 42px;
    padding: clamp(26px, 3vw, 48px);
    background: radial-gradient(circle at 78% 74%, rgba(22,163,74,.18), transparent 26%), radial-gradient(circle at 18% 18%, rgba(57,182,216,.18), transparent 30%), linear-gradient(135deg, #041a35 0%, #0D365D 58%, #0a4b74 100%);
    box-shadow: 0 34px 95px rgba(0,0,0,.30);
    border: 1px solid rgba(255,255,255,.14);
}

    .hero::before,
    .hero::after {
        content: "";
        position: absolute;
        background: url('/Content/images/logo-1.png') center/contain no-repeat;
        pointer-events: none;
        filter: brightness(1.5);
    }

    .hero::before {
        left: -130px;
        bottom: -130px;
        width: 440px;
        height: 440px;
        opacity: .055;
    }

    .hero::after {
        top: -115px;
        right: -110px;
        width: 360px;
        height: 360px;
        opacity: .045;
        transform: rotate(180deg);
    }

.hero-layer {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(135deg, rgba(255,255,255,.045) 0 1px, transparent 1px 19px), radial-gradient(circle at 62% 52%, rgba(255,255,255,.09), transparent 30%);
    pointer-events: none;
}

.topbar,
.hero-content {
    position: relative;
    z-index: 2;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

    .topbar img {
        height: clamp(68px, 5vw, 92px);
        max-width: 265px;
        object-fit: contain;
        filter: drop-shadow(0 16px 28px rgba(0,0,0,.28));
    }

.top-pill,
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 17px;
    border-radius: 999px;
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.22);
    color: #fff;
    font-weight: 900;
    font-size: .88rem;
    backdrop-filter: blur(12px);
}

.hero-content {
    max-width: 850px;
    margin-top: clamp(56px, 6vw, 96px);
}

    .hero-content h1 {
        margin: 18px 0 12px;
        font-size: clamp(3rem, 6.6vw, 6.4rem);
        line-height: 1.05;
        font-weight: 900;
        letter-spacing: -1px;
        text-shadow: 0 18px 38px rgba(0,0,0,.30);
    }

    .hero-content p {
        max-width: 770px;
        color: rgba(255,255,255,.88);
        font-size: clamp(1rem, 1.15vw, 1.2rem);
        line-height: 1.95;
        font-weight: 800;
    }

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-btn,
.reset-btn {
    min-height: 54px;
    border: 0;
    border-radius: 18px;
    padding: 0 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Tajawal', sans-serif;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, #3583C5, #0D365D);
    box-shadow: 0 18px 38px rgba(0,0,0,.24);
    cursor: pointer;
    transition: .25s ease;
}

    .hero-btn:hover,
    .reset-btn:hover {
        transform: translateY(-3px);
        color: #fff;
    }

    .hero-btn.ghost {
        background: rgba(255,255,255,.13);
        border: 1px solid rgba(255,255,255,.22);
        box-shadow: none;
    }

/* OPEN SECTIONS */
.filter-card,
.section-card {
    position: relative;
    margin-top: 36px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
}

    .filter-card::before,
    .section-card::before {
        display: none;
    }

/* HEADERS */
.filter-head,
.section-head {
    position: relative;
    z-index: 2;
    min-height: auto;
    margin: 0 0 18px;
    padding: 0 8px;
    border-radius: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
}

    .filter-head::before,
    .filter-head::after,
    .section-head::before,
    .section-head::after {
        display: none;
    }

    .filter-head > div,
    .section-head > div {
        position: relative;
        padding-right: 16px;
    }

        .filter-head > div::before,
        .section-head > div::before {
            display: none;
        }

    .filter-head span,
    .section-head span,
    .details-section-head span {
        display: block;
        color: #69c7ff;
        font-weight: 900;
        font-size: .88rem;
        margin-bottom: 5px;
    }

    .filter-head strong,
    .section-head h2,
    .details-section-head h2 {
        margin: 0;
        color: #fff;
        font-size: clamp(1.55rem, 2.3vw, 2.15rem);
        line-height: 1.25;
        font-weight: 900;
        text-shadow: 0 12px 28px rgba(0,0,0,.24);
    }

    .filter-head em {
        width: 44px;
        height: 44px;
        border-radius: 16px;
        background: rgba(105,199,255,.14);
        color: #69c7ff;
        display: grid;
        place-items: center;
        font-style: normal;
        border: 1px solid rgba(105,199,255,.18);
    }
/* FILTER */
.filter-bar {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(180px, 250px) 150px;
    gap: 10px;
    padding: 12px;
    border-radius: 26px;
    background: rgba(255,255,255,.075);
    border: 1px solid rgba(255,255,255,.13);
    backdrop-filter: blur(18px);
    box-shadow: 0 20px 50px rgba(0,0,0,.16);
}

.search-box,
.select-box,
.reset-btn {
    height: 52px;
    border-radius: 18px;
}

.search-box,
.select-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 15px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.14);
    color: #69c7ff;
}

    .search-box input,
    .select-box select {
        width: 100%;
        border: 0;
        outline: 0;
        background: transparent;
        color: #fff;
        font-family: 'Tajawal', sans-serif;
        font-weight: 800;
    }

        .search-box input::placeholder {
            color: rgba(255,255,255,.45);
        }

        .select-box select option {
            color: #0D365D;
        }

    .search-box button {
        width: 30px;
        height: 30px;
        border: 0;
        border-radius: 12px;
        background: rgba(255,255,255,.12);
        color: #fff;
        cursor: pointer;
    }

.reset-btn {
    background: rgba(105,199,255,.14);
    border: 1px solid rgba(105,199,255,.20);
    box-shadow: none;
    font-size: 14px;
}

.count-chip {
    min-height: 42px;
    padding: 0 15px;
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    color: #69c7ff;
    border: 1px solid rgba(255,255,255,.14);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 900;
}

/* SLIDERS */
.slider-shell {
    position: relative;
    z-index: 2;
}

.category-track,
.offers-track,
.details-related-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 12px 74px 24px;
}

    .category-track::-webkit-scrollbar,
    .offers-track::-webkit-scrollbar,
    .details-related-track::-webkit-scrollbar {
        display: none;
    }

.edge-arrow,
.edge-arrow-mini {
    border: 0;
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: .25s ease;
}

.edge-arrow {
    position: absolute;
    top: 50%;
    z-index: 20;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #3583C5, #0D365D);
    box-shadow: 0 20px 42px rgba(0,0,0,.34);
}

    .edge-arrow:hover {
        transform: translateY(-50%) scale(1.08);
    }

    .edge-arrow.right {
        right: 0;
    }

    .edge-arrow.left {
        left: 0;
    }

/* CATEGORY */
.category-card {
    position: relative;
    flex: 0 0 245px;
    min-height: 218px;
    border: 0;
    border-radius: 30px;
    padding: 24px;
    padding-bottom: 70px;
    color: #fff;
    cursor: pointer;
    text-align: right;
    overflow: hidden;
    transition: .32s ease;
    box-shadow: 0 22px 46px rgba(0,0,0,.22);
    scroll-snap-align: center;
    background: linear-gradient(145deg, #0D365D, #1f78b8);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .category-card.active {
        flex-basis: 420px;
        outline: 4px solid rgba(105,199,255,.28);
    }

    .category-card.all {
        background: linear-gradient(145deg, #0D365D, #3583C5);
    }

    .category-card.theme-food {
        background: linear-gradient(145deg, #0f5132, #16a34a);
    }

    .category-card.theme-hotel {
        background: linear-gradient(145deg, #0D365D, #2474ad);
    }

    .category-card.theme-beauty {
        background: linear-gradient(145deg, #713f12, #b7791f);
    }

    .category-card.theme-shopping {
        background: linear-gradient(145deg, #4b276d, #7c3fa0);
    }

    .category-card.theme-services {
        background: linear-gradient(145deg, #155e75, #39b6d8);
    }

    .category-card.theme-education {
        background: linear-gradient(145deg, #3730a3, #6366f1);
    }

    .category-card.theme-fun {
        background: linear-gradient(145deg, #9a3412, #f97316);
    }

    .category-card.theme-cars {
        background: linear-gradient(145deg, #334155, #64748b);
    }

    .category-card.theme-other {
        background: linear-gradient(145deg, #0f172a, #334155);
    }

    .category-card::before {
        content: "";
        position: absolute;
        width: 165px;
        height: 165px;
        border-radius: 50%;
        left: -70px;
        bottom: -70px;
        background: rgba(255,255,255,.12);
    }

    .category-card::after {
        content: "";
        position: absolute;
        width: 78px;
        height: 78px;
        border-radius: 24px;
        left: 24px;
        bottom: 26px;
        background: rgba(255,255,255,.12);
        transform: rotate(12deg);
    }

    .category-card:hover,
    .category-card.active {
        transform: translateY(-8px);
    }

    .category-card.empty {
        opacity: .62;
        filter: grayscale(.15);
    }

.cat-icon {
    position: relative;
    z-index: 3;
    width: 76px;
    height: 76px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    align-self: flex-start;
    margin-bottom: 18px;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.16);
    backdrop-filter: blur(10px);
    transition: .28s ease;
}

    .cat-icon i {
        font-size: 1.7rem;
        color: #fff;
    }

.category-card:hover .cat-icon,
.category-card.active .cat-icon {
    transform: rotate(-4deg) scale(1.08);
    background: rgba(255,255,255,.22);
}

.cat-text {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
}

.category-card strong {
    display: block;
    font-size: 1.22rem;
    line-height: 1.35;
    font-weight: 900;
}

.category-card span {
    color: rgba(255,255,255,.82);
    font-weight: 800;
}

.category-card em {
    position: absolute;
    left: 22px;
    bottom: 22px;
    z-index: 5;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
    font-size: .9rem;
    opacity: 0;
    transform: translateX(8px);
    transition: .25s ease;
}

.category-card:hover em,
.category-card.active em {
    opacity: 1;
    transform: translateX(0);
}

/* OFFER CARD */
.offer-card {
    flex: 0 0 370px;
    width: 370px;
    border-radius: 34px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(180deg,#f9fcff 0%,#edf5fb 100%);
    border: 1px solid rgba(255,255,255,.35);
    box-shadow: 0 25px 60px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.6);
    transition: .35s ease;
    scroll-snap-align: center;
}

    .offer-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 35px 75px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.7);
    }

    .offer-card.is-hidden {
        display: none;
    }

.offer-media {
    position: relative;
    display: block;
    height: 210px;
    margin: 14px;
    border-radius: 26px;
    overflow: hidden;
    background: #eef6fd;
}

    .offer-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: .5s ease;
    }

.offer-card:hover .offer-media img {
    transform: scale(1.08);
}

.media-empty {
    height: 100%;
    display: grid;
    place-items: center;
    color: #68819a;
    font-weight: 800;
}

.discount-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    min-width: 64px;
    padding: 7px 10px;
    border-radius: 14px;
    text-align: center;
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(13,54,93,.10);
    box-shadow: 0 10px 22px rgba(13,54,93,.16);
}

    .discount-badge small {
        display: block;
        font-size: .58rem;
        line-height: 1;
        color: #6c8298;
        font-weight: 900;
    }

    .discount-badge strong {
        display: block;
        margin-top: 4px;
        font-size: .86rem;
        line-height: 1;
        color: #0D365D;
        font-weight: 900;
    }

.offer-body {
    padding: 0 20px 20px;
}

.provider-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.provider-logo {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    border-radius: 17px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(13,54,93,.08);
    box-shadow: 0 8px 18px rgba(13,54,93,.08);
}

    .provider-logo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        padding: 0;
    }

    .provider-logo i {
        width: 100%;
        height: 100%;
        display: grid;
        place-items: center;
        color: var(--primary);
    }

.provider-text {
    flex: 1;
    min-width: 0;
}

    .provider-text strong {
        display: -webkit-box;
        color: #0D365D;
        font-size: .92rem;
        font-weight: 900;
        line-height: 1.35;
        margin-bottom: 4px;
        overflow: hidden;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .provider-text span {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        color: #6c8298;
        font-size: .78rem;
        font-weight: 800;
    }

.offer-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(13,54,93,.08);
}

    .offer-tags span {
        min-height: 34px;
        padding: 0 12px;
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: .75rem;
        font-weight: 900;
    }

        .offer-tags span:first-child {
            background: #eef6fd;
            color: #567089;
            border: 1px solid rgba(13,54,93,.08);
        }

.timer {
    background: #e9fbf0 !important;
    color: #15803d !important;
    border: 1px solid rgba(21,128,61,.15);
}

    .timer b {
        color: #15803d;
    }

.offer-body h3 {
    margin: 0;
    padding: 0 0 12px;
    color: #162133;
    font-size: 1.18rem;
    line-height: 1.6;
    font-weight: 900;
    min-height: 72px;
    border-bottom: 1px solid rgba(13,54,93,.08);
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.offer-body p {
    margin: 12px 0 0;
    padding-top: 0;
    border-top: 0;
    color: #6c8298;
    font-size: .88rem;
    line-height: 1.8;
    font-weight: 700;
    min-height: 58px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.offer-footer {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(13,54,93,.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .offer-footer span {
        color: #6c8298;
        font-size: .78rem;
        font-weight: 800;
    }

    .offer-footer a {
        min-height: 38px;
        padding: 0 14px;
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        gap: 7px;
        background: #eef6fd;
        color: #0D365D;
        font-size: .82rem;
        font-weight: 900;
        transition: .25s ease;
    }

        .offer-footer a:hover {
            background: #0D365D;
            color: #fff;
        }

/* EMPTY */
.empty-state {
    min-height: 210px;
    margin-top: 12px;
    border-radius: 26px;
    background: rgba(255,255,255,.08);
    border: 1px dashed rgba(255,255,255,.18);
    text-align: center;
    padding: 34px;
    color: var(--muted);
}

    .empty-state i {
        font-size: 2.3rem;
        color: #69c7ff;
        display: block;
        margin-bottom: 10px;
    }

    .empty-state strong {
        color: #fff;
        font-size: 1.25rem;
        font-weight: 900;
        display: block;
    }

    .empty-state span {
        display: block;
        margin-top: 6px;
        font-weight: 700;
    }

/* DETAILS */
.details-top {
    min-height: 86px;
    padding: 14px 20px;
    border-radius: 30px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.13);
    backdrop-filter: blur(18px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    box-shadow: 0 24px 60px rgba(0,0,0,.18);
}

    .details-top img {
        height: 68px;
        max-width: 240px;
        object-fit: contain;
    }

.details-top-btn {
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(255,255,255,.11);
    border: 1px solid rgba(255,255,255,.16);
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: 'Tajawal', sans-serif;
    font-weight: 900;
    transition: .25s ease;
    cursor: pointer;
}

    .details-top-btn:hover {
        background: #fff;
        color: #0D365D;
    }

.details-hero {
    margin-top: 24px;
    min-height: 660px;
    display: grid;
    grid-template-columns: minmax(520px, .98fr) minmax(560px, 1.02fr);
    gap: 22px;
    padding: 18px;
    border-radius: 42px;
    background: radial-gradient(circle at 88% 18%, rgba(57,182,216,.18), transparent 28%), radial-gradient(circle at 8% 90%, rgba(22,163,74,.14), transparent 30%), rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 34px 95px rgba(0,0,0,.26);
    overflow: hidden;
    position: relative;
}

    .details-hero::before {
        content: "";
        position: absolute;
        width: 430px;
        height: 430px;
        left: -150px;
        bottom: -150px;
        background: url('/Content/images/logo-1.png') center/contain no-repeat;
        opacity: .06;
        pointer-events: none;
    }

.details-media {
    position: relative;
    min-height: 624px;
    border-radius: 32px;
    overflow: hidden;
    background: #eef6fd;
}

    .details-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .details-media::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, transparent 45%, rgba(5,20,38,.38) 100%), linear-gradient(90deg, rgba(5,20,38,.22), transparent 45%);
    }

.details-discount {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(255,255,255,.95);
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
}

    .details-discount small {
        font-size: .78rem;
        font-weight: 800;
        color: #6c8298;
    }

    .details-discount strong {
        font-size: 1.05rem;
        font-weight: 900;
        color: #0D365D;
    }

.details-info {
    position: relative;
    z-index: 2;
    padding: 34px;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.07));
    border: 1px solid rgba(255,255,255,.12);
}

.details-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

    .details-chips span {
        min-height: 40px;
        padding: 0 15px;
        border-radius: 999px;
        background: rgba(255,255,255,.12);
        border: 1px solid rgba(255,255,255,.14);
        color: #fff;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-weight: 900;
        font-size: .86rem;
    }

.details-timer {
    color: #86efac !important;
    background: rgba(22,163,74,.16) !important;
}

.details-info h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 4vw, 4.3rem);
    line-height: 1.18;
    font-weight: 900;
}

.details-desc {
    margin: 18px 0 0;
    color: rgba(255,255,255,.82);
    font-size: 1rem;
    line-height: 1.95;
    font-weight: 800;
}

.details-provider,
.details-mini-section,
.details-inline-data div {
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.13);
}

.details-provider {
    margin-top: 22px;
    padding: 16px;
    border-radius: 26px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.details-provider-logo {
    width: 82px;
    height: 82px;
    border-radius: 24px;
    background: #fff;
    overflow: hidden;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

    .details-provider-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 10px;
    }

.details-provider span,
.details-mini-label {
    display: block;
    color: #69c7ff;
    font-weight: 900;
    font-size: .82rem;
    margin-bottom: 4px;
}

.details-provider strong {
    display: block;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 900;
}

.details-provider em {
    margin-top: 5px;
    color: rgba(255,255,255,.72);
    font-style: normal;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 800;
}

.details-inline-data {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

    .details-inline-data div {
        min-height: 96px;
        padding: 16px;
        border-radius: 22px;
    }

    .details-inline-data i {
        width: 34px;
        height: 34px;
        border-radius: 13px;
        display: grid;
        place-items: center;
        background: rgba(105,199,255,.14);
        color: #69c7ff;
        margin-bottom: 10px;
    }

    .details-inline-data span {
        display: block;
        color: rgba(255,255,255,.64);
        font-size: .78rem;
        font-weight: 900;
    }

    .details-inline-data strong {
        color: #fff;
        font-size: .92rem;
        font-weight: 900;
    }

.details-mini-section {
    margin-top: 18px;
    padding: 20px;
    border-radius: 24px;
}

    .details-mini-section h2 {
        margin: 0 0 14px;
        color: #fff;
        font-size: 1.35rem;
        font-weight: 900;
    }

.details-terms {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin: 0;
    padding: 0;
    max-height: 205px;
    overflow-y: auto;
}

    .details-terms li {
        position: relative;
        min-height: 48px;
        padding: 12px 48px 12px 14px;
        border-radius: 17px;
        background: rgba(255,255,255,.09);
        border: 1px solid rgba(255,255,255,.12);
        color: rgba(255,255,255,.82);
        font-weight: 800;
        line-height: 1.8;
        font-size: .9rem;
    }

        .details-terms li::before {
            content: "\f00c";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            position: absolute;
            right: 15px;
            top: 13px;
            width: 26px;
            height: 26px;
            border-radius: 50%;
            display: grid;
            place-items: center;
            background: rgba(22,163,74,.18);
            color: #86efac;
            font-size: .78rem;
        }

.details-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.details-main-btn,
.details-light-btn {
    min-height: 52px;
    padding: 0 22px;
    border-radius: 18px;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Tajawal', sans-serif;
    font-weight: 900;
    cursor: pointer;
}

.details-main-btn {
    color: #fff;
    background: linear-gradient(135deg, #3583C5, #0D365D);
}

.details-light-btn {
    color: #fff;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.16);
}

.details-panel {
    position: relative;
    margin-top: 26px;
    padding: clamp(22px, 3vw, 34px);
    border-radius: 34px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.13);
    box-shadow: 0 28px 70px rgba(0,0,0,.18);
    overflow: hidden;
}

.details-section-head {
    position: relative;
    margin-bottom: 26px;
    padding: 0 80px;
}

    .details-section-head > div:first-child {
        text-align: right;
    }

.details-slider-actions {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 10px;
}

.details-empty-text {
    padding: 22px;
    border-radius: 20px;
    background: rgba(255,255,255,.08);
    border: 1px dashed rgba(255,255,255,.16);
    color: rgba(255,255,255,.72);
    font-weight: 800;
}

.edge-arrow-mini {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.14);
}

.related-shell {
    position: relative;
}

.details-related-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 12px 85px;
}

    .details-related-track::-webkit-scrollbar {
        display: none;
    }

    .details-related-track .offer-card {
        flex: 0 0 370px;
    }

/* TOAST */
.epx-toast {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 999;
    min-height: 52px;
    padding: 0 20px;
    border-radius: 18px;
    background: #fff;
    color: #0D365D;
    box-shadow: 0 20px 50px rgba(0,0,0,.25);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: .25s ease;
}

    .epx-toast.show {
        transform: translateY(0);
        opacity: 1;
    }

/* ANIMATION */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: .55s ease;
}

    .reveal.show {
        opacity: 1;
        transform: translateY(0);
    }

/* RESPONSIVE */
@media (max-width: 1200px) {
    .filter-bar,
    .details-hero {
        grid-template-columns: 1fr;
    }

    .details-inline-data {
        grid-template-columns: 1fr;
    }

    .details-media {
        min-height: 390px;
    }
}

@media (max-width: 768px) {
    body::after {
        background: url('/Content/images/logo-1.png') left -180px top 320px / 360px no-repeat;
        opacity: .055;
    }

    .offers-page,
    .details-page {
        width: 100%;
        padding: 12px 12px 50px;
    }

    .hero {
        min-height: auto;
        border-radius: 28px;
        padding: 22px;
        text-align: center;
    }

    .topbar {
        justify-content: center;
    }

        .topbar img {
            height: 62px;
            max-width: 190px;
        }

    .top-pill {
        display: none;
    }

    .hero-content {
        margin-top: 34px;
    }

        .hero-content h1 {
            font-size: 2.6rem;
        }

    .hero-actions {
        justify-content: center;
    }

    .hero-btn {
        width: 100%;
    }

    .filter-head,
    .section-head {
        padding: 0 6px;
        align-items: flex-start;
        flex-direction: column;
    }

    .filter-bar {
        grid-template-columns: 1fr;
    }

    .edge-arrow,
    .details-slider-actions {
        display: none;
    }

    .category-track,
    .offers-track {
        padding: 8px 2px 18px;
    }

    .category-card,
    .category-card.active {
        flex: 0 0 84%;
        min-height: 230px;
    }

    .offer-card,
    .details-related-track .offer-card {
        flex: 0 0 88%;
        width: 88%;
    }

    .details-top {
        min-height: auto;
        padding: 14px;
        border-radius: 24px;
        flex-wrap: wrap;
        justify-content: center;
    }

        .details-top img {
            order: -1;
            width: 100%;
            height: 58px;
        }

    .details-top-btn {
        flex: 1;
        justify-content: center;
        font-size: .85rem;
    }

    .details-hero {
        margin-top: 16px;
        padding: 12px;
        border-radius: 28px;
        gap: 12px;
    }

    .details-media {
        min-height: 280px;
        border-radius: 22px;
    }

    .details-info {
        padding: 20px;
        border-radius: 24px;
    }

        .details-info h1 {
            font-size: 2rem;
        }

    .details-actions {
        flex-direction: column;
    }

    .details-main-btn,
    .details-light-btn {
        width: 100%;
    }

    .epx-toast {
        left: 12px;
        right: 12px;
        justify-content: center;
    }
}

@media (max-width: 430px) {
    .category-card,
    .category-card.active {
        flex-basis: 90%;
    }

    .offer-card,
    .details-related-track .offer-card {
        flex-basis: 92%;
        width: 92%;
    }
}
.details-panel.related-shell {
    position: relative;
}

    .details-panel.related-shell .edge-arrow-mini {
        width: 48px;
        height: 48px;
        border-radius: 16px;
        background: rgba(255,255,255,.12);
        border: 1px solid rgba(255,255,255,.16);
        transition: .25s ease;
    }

        .details-panel.related-shell .edge-arrow-mini:hover {
            background: #3583C5;
            transform: translateY(-2px);
        }