/* ============================================================
   G4FIT MODERN THEME — Design System 2.0
   Modern Fitness | Glass + Gradients + Smooth Motion
   ============================================================ */

:root {
    /* ---------- Brand Colors ---------- */
    --g4-primary: #a0bb3a;
    --g4-primary-bright: #c1e151;
    --g4-primary-dark: #7a9029;
    --g4-primary-glow: rgba(160, 187, 58, 0.4);
    --g4-primary-soft: rgba(160, 187, 58, 0.12);

    /* ---------- Surfaces ---------- */
    --g4-bg-base: #0a0a0a;
    --g4-bg-surface: #151515;
    --g4-bg-elevated: #1e1e1e;
    --g4-bg-overlay: rgba(10, 10, 10, 0.85);

    /* ---------- Glass ---------- */
    --g4-glass-bg: rgba(255, 255, 255, 0.04);
    --g4-glass-bg-strong: rgba(255, 255, 255, 0.07);
    --g4-glass-border: rgba(160, 187, 58, 0.18);
    --g4-glass-border-hover: rgba(160, 187, 58, 0.4);

    /* ---------- Text ---------- */
    --g4-text: #ffffff;
    --g4-text-secondary: rgba(255, 255, 255, 0.72);
    --g4-text-muted: rgba(255, 255, 255, 0.5);
    --g4-text-dim: rgba(255, 255, 255, 0.35);

    /* ---------- Gradients ---------- */
    --g4-grad-primary: linear-gradient(135deg, #a0bb3a 0%, #c1e151 100%);
    --g4-grad-primary-hover: linear-gradient(135deg, #c1e151 0%, #a0bb3a 100%);
    --g4-grad-dark: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
    --g4-grad-surface: linear-gradient(145deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
    --g4-grad-radial: radial-gradient(circle at 50% 0%, rgba(160,187,58,0.15) 0%, transparent 60%);

    /* ---------- Shadows ---------- */
    --g4-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --g4-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --g4-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --g4-shadow-glow: 0 0 30px rgba(160, 187, 58, 0.25);
    --g4-shadow-glow-strong: 0 0 50px rgba(160, 187, 58, 0.4);
    --g4-shadow-lift: 0 14px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(160, 187, 58, 0.15);

    /* ---------- Timing ---------- */
    --g4-ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --g4-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --g4-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --g4-dur-fast: 0.2s;
    --g4-dur-base: 0.35s;
    --g4-dur-slow: 0.6s;

    /* ---------- Radii ---------- */
    --g4-radius-sm: 8px;
    --g4-radius-md: 14px;
    --g4-radius-lg: 20px;
    --g4-radius-xl: 28px;
    --g4-radius-pill: 999px;
}

/* ============================================================
   BASE OVERRIDES
   ============================================================ */

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--g4-bg-base);
    background-image:
        radial-gradient(circle at 20% 10%, rgba(160, 187, 58, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 80% 90%, rgba(160, 187, 58, 0.04) 0%, transparent 40%);
    background-attachment: fixed;
    color: var(--g4-text);
    font-family: 'Tajawal', 'cairo', sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--g4-bg-surface);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--g4-primary-dark), var(--g4-primary));
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--g4-primary-bright);
    }

/* Text selection */
::selection {
    background: var(--g4-primary);
    color: var(--g4-bg-base);
}

/* Typography enhancements */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--g4-text);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.15;
}

h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    line-height: 1.25;
}

    h2 span {
        background: var(--g4-grad-primary);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        color: var(--g4-primary);
        padding: 0;
        border-radius: 0;
        display: inline;
        font-weight: 800;
    }

p {
    color: var(--g4-text-secondary);
}

a {
    color: var(--g4-text);
    transition: color var(--g4-dur-fast) var(--g4-ease-smooth);
}

    a:hover {
        color: var(--g4-primary-bright);
        text-decoration: none;
    }

hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--g4-glass-border), transparent);
    box-shadow: none;
    margin: 2rem 0;
}

/* ============================================================
   NAVBAR — Glassmorphism
   ============================================================ */

.main_nav {
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--g4-glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    padding: 14px 0;
    transition: all var(--g4-dur-base) var(--g4-ease-smooth);
}

    .main_nav.scrolled {
        padding: 8px 0;
        background: rgba(10, 10, 10, 0.92);
    }

    .main_nav .Logo img {
        border-radius: 10px;
        transition: transform var(--g4-dur-base) var(--g4-ease-spring);
    }

        .main_nav .Logo img:hover {
            transform: scale(1.08) rotate(-2deg);
        }

    .main_nav .Contain div ul li a {
        position: relative;
        color: var(--g4-text-secondary);
        font-weight: 600;
        padding: 6px 4px;
        transition: color var(--g4-dur-fast) var(--g4-ease-smooth);
    }

        .main_nav .Contain div ul li a::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--g4-grad-primary);
            border-radius: 2px;
            transition: width var(--g4-dur-base) var(--g4-ease-out);
        }

        .main_nav .Contain div ul li:hover a::after,
        .main_nav .Contain div ul li.active a::after {
            width: 100%;
        }

    .main_nav .Contain div ul li:hover a,
    .main_nav .Contain div ul li.active a {
        color: var(--g4-primary-bright);
    }

    .main_nav sup.rounded-circle {
        background: var(--g4-grad-primary);
        color: var(--g4-bg-base) !important;
        font-weight: 700;
        font-size: 11px;
        padding: 2px 6px;
        border: 2px solid var(--g4-bg-base);
        box-shadow: 0 2px 8px var(--g4-primary-glow);
    }

/* Sidebar overlay */
.side_bar {
    background: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid var(--g4-glass-border);
}

    .side_bar ul li a {
        transition: all var(--g4-dur-fast) var(--g4-ease-smooth);
    }

        .side_bar ul li a:hover {
            color: var(--g4-primary-bright) !important;
            padding-left: 8px;
            padding-right: 8px;
        }

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
    font-weight: 600;
    border-radius: var(--g4-radius-pill);
    padding: 10px 28px;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all var(--g4-dur-base) var(--g4-ease-smooth);
    letter-spacing: 0.01em;
}

    .btn::before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left var(--g4-dur-slow) var(--g4-ease-out);
    }

    .btn:hover::before {
        left: 100%;
    }

.btn-primary,
.btn-success {
    background: var(--g4-grad-primary);
    color: var(--g4-bg-base) !important;
    box-shadow: 0 6px 20px var(--g4-primary-glow);
}

    .btn-primary:hover,
    .btn-success:hover {
        background: var(--g4-grad-primary-hover);
        color: var(--g4-bg-base) !important;
        transform: translateY(-2px);
        box-shadow: 0 10px 30px var(--g4-primary-glow);
    }

.btn-outline-primary,
.btn-outline-success {
    background: transparent;
    color: var(--g4-primary-bright) !important;
    border: 2px solid var(--g4-primary);
}

    .btn-outline-primary:hover,
    .btn-outline-success:hover {
        background: var(--g4-grad-primary);
        color: var(--g4-bg-base) !important;
        border-color: var(--g4-primary-bright);
        transform: translateY(-2px);
    }

.btn-secondary,
.btn-default {
    background: var(--g4-glass-bg-strong);
    color: var(--g4-text);
    border: 1px solid var(--g4-glass-border);
    backdrop-filter: blur(10px);
}

    .btn-secondary:hover,
    .btn-default:hover {
        background: var(--g4-glass-bg);
        border-color: var(--g4-glass-border-hover);
        color: var(--g4-primary-bright);
        transform: translateY(-2px);
    }

.btn-danger {
    background: linear-gradient(135deg, #dc3545, #ff4d5e);
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.3);
}

    .btn-danger:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(220, 53, 69, 0.4);
    }

/* ============================================================
   CARDS / SURFACES — Glass effect
   ============================================================ */

.g4-card,
.card {
    background: var(--g4-grad-surface);
    border: 1px solid var(--g4-glass-border);
    border-radius: var(--g4-radius-lg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--g4-shadow-md);
    transition: all var(--g4-dur-base) var(--g4-ease-smooth);
    overflow: hidden;
}

    .g4-card:hover,
    .card:hover {
        transform: translateY(-6px);
        border-color: var(--g4-glass-border-hover);
        box-shadow: var(--g4-shadow-lift);
    }

.g4-card-dark {
    background: var(--g4-bg-elevated);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--g4-radius-lg);
}

/* ============================================================
   SERVICE / PRODUCT CARDS (Keen Slider + Swiper slides)
   ============================================================ */

.swiper-slide,
.keen-slider__slide {
    border: 1px solid var(--g4-glass-border) !important;
    border-radius: var(--g4-radius-lg) !important;
    overflow: hidden;
    background: var(--g4-grad-surface);
    backdrop-filter: blur(10px);
    transition: all var(--g4-dur-base) var(--g4-ease-smooth) !important;
    position: relative;
}

    .swiper-slide::before,
    .keen-slider__slide::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.7) 100%);
        opacity: 0;
        transition: opacity var(--g4-dur-base) var(--g4-ease-smooth);
        z-index: 1;
        pointer-events: none;
    }

    .swiper-slide:hover,
    .keen-slider__slide:hover {
        transform: translateY(-8px) scale(1.02);
        border-color: var(--g4-primary) !important;
        box-shadow: var(--g4-shadow-lift);
    }

        .swiper-slide:hover::before,
        .keen-slider__slide:hover::before {
            opacity: 1;
        }

    .swiper-slide img,
    .keen-slider__slide img {
        transition: transform var(--g4-dur-slow) var(--g4-ease-out);
    }

    .swiper-slide:hover img,
    .keen-slider__slide:hover img {
        transform: scale(1.08);
    }

/* Service title + price */
.slide-content .main_info h6 a {
    color: var(--g4-primary-bright) !important;
    font-weight: 700;
    transition: color var(--g4-dur-fast);
}

.slide-content .main_info h6 a:hover {
    color: var(--g4-text) !important;
}

/* ============================================================
   SECTIONS
   ============================================================ */

.Sports,
section.Sports {
    padding: 3rem 0;
    position: relative;
}

    .Sports h2.h3 {
        /*display: inline-block;*/
        padding: 8px 20px;
        background: var(--g4-glass-bg);
        border: 1px solid var(--g4-glass-border);
        border-radius: var(--g4-radius-pill);
        backdrop-filter: blur(10px);
        margin-bottom: 24px;
        transition: all var(--g4-dur-base) var(--g4-ease-smooth);
    }

        .Sports h2.h3:hover {
            border-color: var(--g4-primary);
            background: var(--g4-primary-soft);
        }

        .Sports h2.h3 a {
            color: var(--g4-text) !important;
            font-weight: 700;
        }

            .Sports h2.h3 a:hover {
                color: var(--g4-primary-bright) !important;
            }

/* Hero / Carousel */
.main_carousel {
    position: relative;
}

    .main_carousel::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: linear-gradient(180deg, transparent, var(--g4-bg-base));
        pointer-events: none;
        z-index: 2;
    }

.carousel-item img.SliderImage {
    filter: brightness(0.85) contrast(1.05);
    transition: filter var(--g4-dur-slow) var(--g4-ease-smooth);
}

.carousel-item.active img.SliderImage {
    animation: kenBurns 20s var(--g4-ease-smooth) infinite alternate;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.08);
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.7;
    transition: opacity var(--g4-dur-base);
}

    .carousel-control-prev:hover,
    .carousel-control-next:hover {
        opacity: 1;
    }

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(160, 187, 58, 0.8);
    border-radius: 50%;
    padding: 22px;
    background-size: 50%;
}

/* Partners section */
#success-partners {
    background: var(--g4-grad-surface) !important;
    border: 1px solid var(--g4-glass-border);
    backdrop-filter: blur(16px);
    padding: 40px 20px !important;
    border-radius: var(--g4-radius-xl);
}

    #success-partners h2 {
        color: transparent !important;
        background: var(--g4-grad-primary);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-weight: 800 !important;
    }

.Parteners img {
    filter: none;
    transition: transform var(--g4-dur-base) var(--g4-ease-smooth);
}

    .Parteners img:hover {
        filter: none;
        transform: scale(1.05);
    }

/* ============================================================
   FOOTER
   ============================================================ */

footer {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
    border-top: 1px solid var(--g4-glass-border);
    padding: 60px 0 20px;
    position: relative;
    margin-top: 80px;
}

    footer::before {
        content: "";
        position: absolute;
        top: -1px;
        left: 10%;
        right: 10%;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--g4-primary), transparent);
    }

    footer h6 {
        color: var(--g4-primary-bright) !important;
        font-weight: 700 !important;
        font-size: 16px;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        margin-bottom: 1rem;
    }

    footer ul {
        list-style: none;
        padding: 0;
    }

        footer ul li {
            margin-bottom: 10px;
        }

            footer ul li a {
                color: var(--g4-text-secondary);
                font-weight: 500;
                transition: all var(--g4-dur-fast) var(--g4-ease-smooth);
                display: inline-block;
            }

                footer ul li a:hover {
                    color: var(--g4-primary-bright);
                    transform: translateX(6px);
                }

    footer p.text-center {
        color: var(--g4-text-muted);
        font-size: 13px;
        margin-top: 30px;
    }

    footer hr {
        margin: 30px 0 15px;
    }

/* ============================================================
   FORMS (inputs, selects, textareas)
   ============================================================ */

.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="search"],
input[type="date"],
select,
textarea {
    background: var(--g4-glass-bg-strong);
    border: 1px solid var(--g4-glass-border);
    color: var(--g4-text);
    border-radius: var(--g4-radius-md);
    padding: 12px 18px;
    transition: all var(--g4-dur-base) var(--g4-ease-smooth);
    backdrop-filter: blur(10px);
}

    .form-control:focus,
    input:focus,
    select:focus,
    textarea:focus {
        background: var(--g4-glass-bg-strong);
        border-color: var(--g4-primary);
        color: var(--g4-text);
        outline: none;
        box-shadow: 0 0 0 3px var(--g4-primary-soft), 0 0 20px rgba(160, 187, 58, 0.15);
    }

    .form-control::placeholder,
    input::placeholder,
    textarea::placeholder {
        color: var(--g4-text-dim);
    }

label {
    color: var(--g4-text-secondary);
    font-weight: 600;
    margin-bottom: 8px;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */

.breadcrumb {
    background: var(--g4-glass-bg) !important;
    border: 1px solid var(--g4-glass-border);
    border-radius: var(--g4-radius-pill) !important;
    padding: 10px 22px !important;
    backdrop-filter: blur(10px);
}

    .breadcrumb .breadcrumb-item {
        color: var(--g4-text-secondary);
    }

        .breadcrumb .breadcrumb-item.active {
            color: var(--g4-primary-bright);
        }

        .breadcrumb .breadcrumb-item a {
            color: var(--g4-text-secondary) !important;
            font-weight: 500;
        }

            .breadcrumb .breadcrumb-item a:hover {
                color: var(--g4-primary-bright) !important;
            }

        .breadcrumb .breadcrumb-item + .breadcrumb-item::before {
            color: var(--g4-text-dim);
        }

/* ============================================================
   MODALS
   ============================================================ */

.modal-content {
    background: var(--g4-bg-surface) !important;
    border: 1px solid var(--g4-glass-border) !important;
    border-radius: var(--g4-radius-lg) !important;
    color: var(--g4-text);
    backdrop-filter: blur(20px);
    box-shadow: var(--g4-shadow-lg);
}

/* ============================================================
   TABLES
   ============================================================ */

.table {
    color: var(--g4-text);
    background: var(--g4-glass-bg);
    border-radius: var(--g4-radius-md);
    overflow: hidden;
    border: 1px solid var(--g4-glass-border);
}

    .table th {
        background: var(--g4-glass-bg-strong) !important;
        color: var(--g4-primary-bright) !important;
        border: none !important;
        font-weight: 700;
    }

    .table td {
        border-color: var(--g4-glass-border) !important;
        color: var(--g4-text-secondary);
    }

    .table tbody tr {
        transition: background var(--g4-dur-fast) var(--g4-ease-smooth);
    }

        .table tbody tr:hover {
            background: var(--g4-primary-soft);
        }

/* ============================================================
   BADGES / LABELS
   ============================================================ */

.badge {
    font-weight: 600;
    padding: 5px 12px;
    border-radius: var(--g4-radius-pill);
}

.badge-success,
.bg-success {
    background: var(--g4-grad-primary) !important;
    color: var(--g4-bg-base) !important;
}

.badge-warning,
.bg-warning {
    background: linear-gradient(135deg, #f6b93b, #ffd166) !important;
    color: var(--g4-bg-base) !important;
}

.badge-danger,
.bg-danger {
    background: linear-gradient(135deg, #dc3545, #ff6b6b) !important;
    color: #fff !important;
}

/* ============================================================
   ANIMATIONS — Subtle & Professional
   ============================================================ */

@keyframes g4FadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes g4FadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes g4ScaleIn {
    from {
        opacity: 0;
        transform: scale(0.94);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes g4SlideInLeft {
    from {
        opacity: 0;
        transform: translateX(-32px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes g4SlideInRight {
    from {
        opacity: 0;
        transform: translateX(32px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes g4Pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 var(--g4-primary-glow);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(160, 187, 58, 0);
    }
}

@keyframes g4Float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes g4Shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Animation utility classes */
.g4-animate-fade-up {
    animation: g4FadeUp 0.8s var(--g4-ease-out) both;
}

.g4-animate-fade-in {
    animation: g4FadeIn 0.8s var(--g4-ease-smooth) both;
}

.g4-animate-scale-in {
    animation: g4ScaleIn 0.7s var(--g4-ease-out) both;
}

.g4-animate-slide-left {
    animation: g4SlideInLeft 0.7s var(--g4-ease-out) both;
}

.g4-animate-slide-right {
    animation: g4SlideInRight 0.7s var(--g4-ease-out) both;
}

.g4-animate-float {
    animation: g4Float 4s var(--g4-ease-smooth) infinite;
}

.g4-animate-pulse {
    animation: g4Pulse 2.4s var(--g4-ease-smooth) infinite;
}

/* Scroll-reveal utility (works with IntersectionObserver in script.js) */
.g4-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.9s var(--g4-ease-out), transform 0.9s var(--g4-ease-out);
    will-change: opacity, transform;
}

    .g4-reveal.g4-visible {
        opacity: 1;
        transform: translateY(0);
    }

.g4-reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.9s var(--g4-ease-out), transform 0.9s var(--g4-ease-out);
}

    .g4-reveal-left.g4-visible {
        opacity: 1;
        transform: translateX(0);
    }

.g4-reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.9s var(--g4-ease-out), transform 0.9s var(--g4-ease-out);
}

    .g4-reveal-right.g4-visible {
        opacity: 1;
        transform: translateX(0);
    }

.g4-reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.9s var(--g4-ease-out), transform 0.9s var(--g4-ease-out);
}

    .g4-reveal-scale.g4-visible {
        opacity: 1;
        transform: scale(1);
    }

/* Stagger delays */
.g4-delay-1 {
    transition-delay: 0.1s;
    animation-delay: 0.1s;
}

.g4-delay-2 {
    transition-delay: 0.2s;
    animation-delay: 0.2s;
}

.g4-delay-3 {
    transition-delay: 0.3s;
    animation-delay: 0.3s;
}

.g4-delay-4 {
    transition-delay: 0.4s;
    animation-delay: 0.4s;
}

.g4-delay-5 {
    transition-delay: 0.5s;
    animation-delay: 0.5s;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */

.g4-gradient-text {
    background: var(--g4-grad-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: 800;
}

.g4-glow {
    box-shadow: var(--g4-shadow-glow);
}

.g4-glass {
    background: var(--g4-glass-bg);
    border: 1px solid var(--g4-glass-border);
    border-radius: var(--g4-radius-lg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.g4-section {
    padding: 5rem 0;
    position: relative;
}

.g4-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Decorative blobs */
.g4-blob {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

    .g4-blob.g4-blob-green {
        background: radial-gradient(circle, var(--g4-primary) 0%, transparent 70%);
    }

/* ============================================================
   PRELOADER / COVER SPIN
   ============================================================ */

#cover-spin {
    position: fixed;
    inset: 0;
    background: var(--g4-bg-overlay);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
}

    #cover-spin::after {
        content: "";
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        width: 56px;
        height: 56px;
        margin: -28px 0 0 -28px;
        border: 3px solid rgba(160, 187, 58, 0.2);
        border-top-color: var(--g4-primary);
        border-radius: 50%;
        animation: g4Spin 0.9s linear infinite;
    }

@keyframes g4Spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .g4-section {
        padding: 3rem 0;
    }

    .btn {
        padding: 10px 22px;
        font-size: 14px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================================
   FIXES for existing classes to avoid conflicts
   ============================================================ */

/* Shopping cart */
.shopping-cart-container a {
    color: var(--g4-text);
    position: relative;
    display: inline-block;
}

.shopping-cart-container a:hover {
    color: var(--g4-primary-bright);
}

/* Notifications dropdown */
.note ul.notifications {
    background: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(20px);
    border: 1px solid var(--g4-glass-border);
    border-radius: var(--g4-radius-md);
    box-shadow: var(--g4-shadow-lg);
}

.note ul.notifications li {
    border-bottom: 1px solid var(--g4-glass-border);
}

/* Detail pages main info */
.main_info {
    color: var(--g4-text);
}

    .main_info h3, .main_info h4 {
        color: var(--g4-primary-bright);
    }

/* Pagination */
.pagination .page-link {
    background: var(--g4-glass-bg);
    border: 1px solid var(--g4-glass-border);
    color: var(--g4-text-secondary);
    transition: all var(--g4-dur-fast);
}

.pagination .page-link:hover {
    background: var(--g4-primary-soft);
    color: var(--g4-primary-bright);
    border-color: var(--g4-primary);
}

.pagination .page-item.active .page-link {
    background: var(--g4-grad-primary);
    border-color: var(--g4-primary);
    color: var(--g4-bg-base);
}

/* ============================================================
   AUTH PAGES (Login / Register / Forgot / Reset / Verify)
   ============================================================ */
.g4-auth-wrapper {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem 3rem;
    position: relative;
}

    .g4-auth-wrapper::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 20% 10%, var(--g4-primary-soft) 0%, transparent 45%), radial-gradient(circle at 80% 90%, rgba(193, 225, 81, 0.08) 0%, transparent 45%);
        pointer-events: none;
        z-index: 0;
    }

.g4-auth-card {
    position: relative;
    z-index: 1;
    max-width: 460px;
    width: 100%;
    padding: 2.5rem 2rem;
    border-radius: 22px;
}

    .g4-auth-card.g4-auth-card-wide {
        max-width: 540px;
    }

.g4-auth-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--g4-primary), var(--g4-primary-bright));
    box-shadow: 0 12px 30px rgba(160, 187, 58, 0.35);
    color: #0a0a0a;
    font-size: 1.9rem;
}

.g4-auth-title {
    text-align: center;
    font-size: clamp(1.5rem, 3.5vw, 1.9rem);
    font-weight: 800;
    margin-bottom: 0.4rem;
}

.g4-auth-subtitle {
    text-align: center;
    color: var(--g4-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
}

.g4-auth-card .form-group {
    position: relative;
    margin-bottom: 1.25rem;
}

.g4-auth-card .form-control {
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid var(--g4-glass-border) !important;
    color: var(--g4-text-primary) !important;
    border-radius: 14px !important;
    padding: 12px 48px 12px 16px !important;
    height: auto !important;
    text-align: start !important;
    font-weight: 500;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

    .g4-auth-card .form-control:focus {
        outline: none !important;
        border-color: var(--g4-primary) !important;
        box-shadow: 0 0 0 3px var(--g4-primary-soft) !important;
        background: rgba(255,255,255,0.06) !important;
    }

    .g4-auth-card .form-control::placeholder {
        color: var(--g4-text-muted);
    }

[dir="rtl"] .g4-auth-card .form-control {
    padding: 12px 16px 12px 48px !important;
}

.g4-auth-card .form-group > i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 16px;
    color: var(--g4-primary-bright);
    font-size: 1.05rem;
    pointer-events: none;
}

[dir="rtl"] .g4-auth-card .form-group > i {
    right: auto;
    left: 16px;
}

.g4-auth-btn {
    width: 100%;
    padding: 13px 28px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--g4-primary), var(--g4-primary-bright));
    color: #0a0a0a !important;
    border: none;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    box-shadow: 0 10px 26px rgba(160, 187, 58, 0.35);
}

    .g4-auth-btn:hover {
        transform: translateY(-2px);
        filter: brightness(1.08);
        box-shadow: 0 16px 36px rgba(160, 187, 58, 0.45);
        color: #0a0a0a !important;
    }

    .g4-auth-btn i {
        margin-inline-end: 6px;
    }

.g4-auth-links {
    margin-top: 1.5rem;
    text-align: center;
}

    .g4-auth-links a {
        display: block;
        margin: 0.5rem 0;
        color: var(--g4-text-secondary);
        text-decoration: none;
        font-weight: 600;
        transition: color 0.2s ease;
    }

        .g4-auth-links a:hover {
            color: var(--g4-primary-bright);
        }

.g4-auth-notice {
    background: var(--g4-primary-soft);
    border: 1px solid var(--g4-glass-border);
    color: var(--g4-primary-bright);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.g4-auth-card .text-danger {
    color: #ff7171 !important;
    font-size: 0.85rem;
    font-weight: 500;
    display: block;
    margin-top: 4px;
}

/* Terms/Checkbox */
.g4-terms-wrapper {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--g4-glass-border);
    border-radius: 14px;
    padding: 0.9rem 1rem;
    margin-bottom: 1.25rem;
}

    .g4-terms-wrapper .form-check {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .g4-terms-wrapper .form-check-input {
        margin: 0;
        width: 18px;
        height: 18px;
        accent-color: var(--g4-primary);
    }

    .g4-terms-wrapper .form-check-label {
        color: var(--g4-text-secondary);
        margin: 0;
        font-weight: 500;
    }

        .g4-terms-wrapper .form-check-label a {
            color: var(--g4-primary-bright);
            text-decoration: underline;
            font-weight: 600;
        }

/* Page Hero (used by info / about / static pages) */
.g4-page-hero {
    position: relative;
    padding: 6rem 0 3rem;
    text-align: center;
    overflow: hidden;
}

    .g4-page-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse at top, var(--g4-primary-soft) 0%, transparent 60%);
        pointer-events: none;
    }

    .g4-page-hero h1 {
        position: relative;
        font-size: clamp(2rem, 5vw, 3.5rem);
        font-weight: 800;
        margin-bottom: 0.75rem;
    }

    .g4-page-hero p.lead {
        position: relative;
        color: var(--g4-text-secondary);
        font-size: 1.1rem;
        max-width: 720px;
        margin: 0 auto;
    }

/* Page Content Card (used by info / about / terms / privacy) */
.g4-content-card {
    padding: 2.5rem;
    margin: 2rem auto 5rem;
    max-width: 960px;
    border-radius: 22px;
}

    .g4-content-card h1, .g4-content-card h2, .g4-content-card h3, .g4-content-card h4, .g4-content-card h5 {
        color: var(--g4-primary-bright);
        margin-top: 1.75rem;
        font-weight: 700;
    }

    .g4-content-card p, .g4-content-card li, .g4-content-card span {
        color: var(--g4-text-secondary);
        line-height: 1.9;
        font-weight: 500;
    }

        .g4-content-card p strong {
            color: var(--g4-text-primary);
            font-weight: 700;
        }

    .g4-content-card a {
        color: var(--g4-primary-bright);
        text-decoration: underline;
        text-decoration-color: var(--g4-glass-border);
        text-underline-offset: 4px;
    }

    .g4-content-card ul, .g4-content-card ol {
        padding-inline-start: 1.5rem;
    }

    .g4-content-card li {
        margin-bottom: 0.5rem;
    }

/* ============================================================
   NAVBAR — Refined Header Elements
   ============================================================ */

/* Language switcher */
.main_nav .langs a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px !important;
    border: 1px solid var(--g4-glass-border);
    border-radius: var(--g4-radius-pill);
    background: var(--g4-glass-bg);
    color: var(--g4-text-secondary) !important;
    font-size: 13px !important;
    font-weight: 600;
    transition: all var(--g4-dur-fast) var(--g4-ease-smooth);
}

    .main_nav .langs a:hover {
        background: var(--g4-primary-soft);
        border-color: var(--g4-primary);
        color: var(--g4-primary-bright) !important;
    }

/* Bell icon wrapper */
.main_nav .note {
    position: relative;
    cursor: pointer;
    color: var(--g4-text-secondary) !important;
    padding: 6px 10px;
    border-radius: 50%;
    transition: all var(--g4-dur-fast) var(--g4-ease-smooth);
}

    .main_nav .note:hover {
        color: var(--g4-primary-bright) !important;
        background: var(--g4-primary-soft);
    }

    .main_nav .note sup.rounded-circle {
        position: absolute;
        top: -2px;
        right: -2px;
        min-width: 18px;
        height: 18px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 10px !important;
        padding: 0 5px;
    }

/* Notifications dropdown */
.note ul.notifications {
    min-width: 320px;
    max-width: 360px;
    max-height: 420px;
    overflow-y: auto;
    padding: 14px !important;
    margin-top: 12px;
}

    .note ul.notifications li {
        padding: 10px 8px !important;
        display: flex;
        align-items: flex-start;
        gap: 10px;
        text-align: start;
        border-radius: var(--g4-radius-sm);
        transition: background var(--g4-dur-fast) var(--g4-ease-smooth);
    }

        .note ul.notifications li:hover {
            background: var(--g4-primary-soft);
        }

        .note ul.notifications li img {
            flex-shrink: 0;
            border: 2px solid var(--g4-primary);
            background: var(--g4-bg-surface);
            padding: 2px;
        }

        .note ul.notifications li span {
            font-weight: 600;
            color: var(--g4-text);
        }

        .note ul.notifications li small {
            color: var(--g4-text-muted);
            display: block;
            margin-top: 2px;
        }

    .note ul.notifications hr {
        display: none;
    }

    .note ul.notifications li.text-center a {
        display: inline-block;
        padding: 8px 18px;
        margin-top: 8px;
        background: var(--g4-grad-primary);
        color: var(--g4-bg-base) !important;
        border-radius: var(--g4-radius-pill);
        font-weight: 700;
        font-size: 13px;
        transition: transform var(--g4-dur-fast) var(--g4-ease-smooth);
    }

        .note ul.notifications li.text-center a:hover {
            transform: translateY(-1px);
            box-shadow: 0 6px 18px var(--g4-primary-glow);
        }

/* Shopping cart */
.shopping-cart-container {
    position: relative;
    padding: 6px 10px;
    border-radius: 50%;
    transition: all var(--g4-dur-fast) var(--g4-ease-smooth);
}

    .shopping-cart-container:hover {
        background: var(--g4-primary-soft);
    }

    .shopping-cart-container sup.rounded-circle {
        position: absolute;
        top: -2px;
        right: -2px;
        min-width: 18px;
        height: 18px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 10px !important;
        padding: 0 5px;
    }

/* User avatar in navbar */
.main_nav img.User {
    border: 2px solid var(--g4-primary);
    padding: 1px;
    background: var(--g4-bg-surface);
    transition: all var(--g4-dur-base) var(--g4-ease-spring);
    cursor: pointer;
}

    .main_nav img.User:hover {
        border-color: var(--g4-primary-bright);
        box-shadow: 0 0 0 3px var(--g4-primary-soft);
        transform: scale(1.05);
    }

/* Hamburger toggler */
.main_nav .nav_toggeler {
    color: var(--g4-text-secondary);
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 50%;
    transition: all var(--g4-dur-fast) var(--g4-ease-smooth);
}

    .main_nav .nav_toggeler:hover {
        color: var(--g4-primary-bright);
        background: var(--g4-primary-soft);
    }

/* Mobile menu toggler */
.inner_links .Toggler i.fa-caret-square-down {
    color: var(--g4-primary-bright);
    cursor: pointer;
    transition: transform var(--g4-dur-base) var(--g4-ease-spring);
}

    .inner_links .Toggler i.fa-caret-square-down:hover {
        transform: rotate(180deg);
    }

/* Side bars — user + categories */
.side_bar.user_bar,
.side_bar.links_bar {
    background: rgba(10, 10, 10, 0.96) !important;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow: var(--g4-shadow-lg);
}

.side_bar.user_bar {
    padding-top: 2.5rem !important;
}

    .side_bar.user_bar > a img {
        border: 3px solid var(--g4-primary);
        padding: 3px;
        background: var(--g4-bg-surface);
        box-shadow: 0 0 0 4px var(--g4-primary-soft);
        transition: all var(--g4-dur-base) var(--g4-ease-spring);
    }

        .side_bar.user_bar > a img:hover {
            transform: scale(1.04);
            border-color: var(--g4-primary-bright);
        }

    .side_bar.user_bar > a h3 {
        color: var(--g4-text) !important;
        font-weight: 700 !important;
        margin-top: 14px !important;
    }

    .side_bar.user_bar > p {
        color: var(--g4-text-muted) !important;
        font-size: 14px;
        margin-bottom: 1.5rem;
    }

    .side_bar.user_bar ul {
        margin-top: 1rem;
    }

        .side_bar.user_bar ul li {
            padding: 10px 18px !important;
            margin: 4px 10px;
            border-radius: var(--g4-radius-md);
            border: 1px solid transparent;
            transition: all var(--g4-dur-fast) var(--g4-ease-smooth);
        }

            .side_bar.user_bar ul li:hover {
                background: var(--g4-primary-soft);
                border-color: var(--g4-glass-border);
            }

            .side_bar.user_bar ul li i {
                color: var(--g4-primary-bright);
                width: 22px;
                text-align: center;
            }

            .side_bar.user_bar ul li a {
                color: var(--g4-text-secondary) !important;
                font-weight: 600;
                transition: color var(--g4-dur-fast) var(--g4-ease-smooth);
            }

                .side_bar.user_bar ul li:hover a {
                    color: var(--g4-primary-bright) !important;
                }

.side_bar.links_bar ul li {
    padding: 10px 18px !important;
    margin: 4px 10px;
    border-radius: var(--g4-radius-md);
    transition: all var(--g4-dur-fast) var(--g4-ease-smooth);
}

    .side_bar.links_bar ul li:hover {
        background: var(--g4-primary-soft);
    }

    .side_bar.links_bar ul li a {
        color: var(--g4-text-secondary) !important;
        font-weight: 600;
    }

        .side_bar.links_bar ul li:hover a {
            color: var(--g4-primary-bright) !important;
        }

/* Close icons in side bars */
.side_bar .close-icon,
.side_bar .User.close-icon {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 26px !important;
    color: var(--g4-text-muted) !important;
    cursor: pointer;
    transition: all var(--g4-dur-fast) var(--g4-ease-smooth);
}

    .side_bar .close-icon:hover,
    .side_bar .User.close-icon:hover {
        color: var(--g4-primary-bright) !important;
        transform: translateY(-2px);
    }

/* ============================================================
   FOOTER — Modernized
   ============================================================ */

footer .container {
    position: relative;
    z-index: 1;
}

footer ul li a {
    font-size: 14px;
}

    footer ul li a i,
    footer ul li a .bi {
        color: var(--g4-primary-bright);
        margin: 0 4px;
    }

footer .feature-item__content {
    background: var(--g4-glass-bg) !important;
    border: 1px solid var(--g4-glass-border);
    backdrop-filter: blur(10px);
    border-radius: var(--g4-radius-lg) !important;
    box-shadow: var(--g4-shadow-sm) !important;
    color: var(--g4-text-secondary) !important;
}

footer .feature-item__icon {
    background: var(--g4-grad-primary) !important;
    color: var(--g4-bg-base) !important;
}

    footer .feature-item__icon h3 {
        color: var(--g4-bg-base) !important;
    }

/* Social links */
.g4-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

    .g4-footer-social a {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 14px;
        background: var(--g4-glass-bg);
        border: 1px solid var(--g4-glass-border);
        border-radius: var(--g4-radius-pill);
        color: var(--g4-text-secondary) !important;
        font-size: 13px;
        font-weight: 600;
        margin: 0 !important;
        transition: all var(--g4-dur-fast) var(--g4-ease-smooth);
    }

        .g4-footer-social a:hover {
            background: var(--g4-primary-soft);
            border-color: var(--g4-primary);
            color: var(--g4-primary-bright) !important;
            transform: translateY(-2px);
        }

/* Footer contact links */
.g4-footer-contact a {
    color: var(--g4-text-secondary) !important;
    transition: color var(--g4-dur-fast) var(--g4-ease-smooth);
}

    .g4-footer-contact a:hover {
        color: var(--g4-primary-bright) !important;
    }

/* Copyright */
footer p.g4-copyright {
    color: var(--g4-text-muted);
    font-size: 13px;
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: center;
    letter-spacing: 0.02em;
}

    footer p.g4-copyright strong {
        color: var(--g4-primary-bright);
        font-weight: 700;
    }

/* ============================================================
   DEFENSIVE OVERRIDES v3.0 — beat main.css specificity
   These rules use higher specificity and !important where
   needed to defeat conflicting legacy rules in main.css.
   ============================================================ */

/* --- Reset main.css body dark gray --- */
html body {
    background-color: var(--g4-bg-base) !important;
}

/* --- NAVBAR: kill old #292929 background & padding --- */
html body nav.main_nav {
    background-color: transparent !important;
    background: rgba(10, 10, 10, 0.82) !important;
    padding: 12px 0 !important;
}

html body nav.main_nav.scrolled {
    background: rgba(8, 8, 8, 0.95) !important;
    padding: 8px 0 !important;
}

/* --- Navbar badges (cart/note sup) — gradient instead of red --- */
html body .main_nav .Contain div.Toggler .note sup,
html body .main_nav .Contain div.Toggler .shopping-cart-container sup,
html body .main_nav sup.rounded-circle {
    background: var(--g4-grad-primary) !important;
    background-color: transparent !important;
    color: var(--g4-bg-base) !important;
    font-weight: 800 !important;
    font-size: 10px !important;
    padding: 2px 5px !important;
    min-width: 18px;
    height: 18px;
    line-height: 14px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--g4-bg-base);
    box-shadow: 0 2px 8px var(--g4-primary-glow);
    position: absolute;
    left: auto !important;
    top: -6px !important;
    right: -6px;
}

[dir="rtl"] html body .main_nav .Contain div.Toggler .note sup,
[dir="rtl"] html body .main_nav .Contain div.Toggler .shopping-cart-container sup {
    right: auto;
    left: -6px !important;
}

/* --- Notifications dropdown --- */
html body .main_nav .Contain div.Toggler .note .notifications {
    background: rgba(12, 12, 12, 0.98) !important;
    background-color: transparent !important;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--g4-glass-border) !important;
    border-radius: var(--g4-radius-md) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6) !important;
    color: var(--g4-text) !important;
    width: 340px !important;
    padding: 16px !important;
    z-index: 1001;
}

html body .main_nav .Contain div.Toggler .note:hover .notifications {
    display: block !important;
}

html body .main_nav .Contain div.Toggler .note .notifications li {
    line-height: 1.5 !important;
    padding: 10px 8px !important;
    border-radius: var(--g4-radius-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

html body .main_nav .Contain div.Toggler .note .notifications li a {
    color: var(--g4-text) !important;
}

html body .main_nav .Contain div.Toggler .note .notifications hr {
    display: none !important;
}

/* --- Side bar: kill old green bg --- */
html body .side_bar {
    background-color: rgba(10, 10, 10, 0.96) !important;
    background: rgba(10, 10, 10, 0.96) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    color: var(--g4-text) !important;
    border-inline-start: 1px solid var(--g4-glass-border);
    box-shadow: var(--g4-shadow-lg);
}

html body .side_bar ul li:hover {
    color: var(--g4-primary-bright) !important;
    scale: 1 !important;
    padding-left: 0 !important;
}

html body .side_bar ul li a {
    color: var(--g4-text-secondary) !important;
    font-weight: 600;
    transition: color 0.25s ease;
    text-decoration: none !important;
}

html body .side_bar ul li a:hover {
    color: var(--g4-primary-bright) !important;
}

/* --- Home cards: kill .Tools float layout --- */
html body .Tools {
    overflow: visible !important;
    padding: 12px !important;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;
}

html body .Tools .main_info {
    float: none !important;
    text-align: center;
}

html body .Tools .main_info h3,
html body .Tools .main_info h6 {
    text-align: center;
    margin: 0 0 6px 0 !important;
}

html body .Tools .main_info h6 a {
    color: var(--g4-text) !important;
    font-weight: 700 !important;
    text-decoration: none;
    transition: color 0.25s ease;
}

html body .Tools .main_info h6 a:hover {
    color: var(--g4-primary-bright) !important;
}

html body .Tools .sub_info {
    float: none !important;
    text-align: center;
}

/* Keen-slider card full restyle */
html body .keen-slider__slide.slide-content {
    background: var(--g4-glass-bg);
    border: 1px solid var(--g4-glass-border);
    border-radius: var(--g4-radius-lg);
    overflow: hidden;
    transition: all 0.4s var(--g4-ease-out);
}

html body .keen-slider__slide.slide-content:hover {
    transform: translateY(-6px);
    border-color: var(--g4-glass-border-hover);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--g4-primary-soft);
}

html body .keen-slider__slide.slide-content .img-slider {
    transition: transform 0.6s var(--g4-ease-out);
}

html body .keen-slider__slide.slide-content:hover .img-slider {
    transform: scale(1.06);
}

/* --- Main carousel: fix height + shadow --- */
html body .main_carousel {
    margin-top: 80px !important;
    border-radius: 0 !important;
    background: transparent !important;
}

html body .main_carousel .carousel-inner {
    border-radius: 0;
}

html body .main_carousel .SliderImage {
    max-height: 70vh;
    min-height: 320px;
    object-fit: cover;
}

html body .main_carousel .carousel-control-next,
html body .main_carousel .carousel-control-prev {
    width: 50px;
    height: 50px;
    top: 50% !important;
    transform: translateY(-50%);
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 1px solid var(--g4-glass-border);
    opacity: 0.9;
    transition: all 0.3s ease;
}

html body .main_carousel .carousel-control-next:hover,
html body .main_carousel .carousel-control-prev:hover {
    background: var(--g4-primary);
    border-color: var(--g4-primary-bright);
    opacity: 1;
    transform: translateY(-50%) scale(1.08);
}

html body .main_carousel .carousel-control-next {
    right: 20px !important;
    left: auto !important;
}

html body .main_carousel .carousel-control-prev {
    left: 20px !important;
    right: auto !important;
}

/* --- Breadcrumb: kill old white bg --- */
html body .Spicial .bread_nav {
    background: var(--g4-glass-bg) !important;
    box-shadow: none !important;
    border: 1px solid var(--g4-glass-border);
    border-radius: var(--g4-radius-md);
    padding: 10px 18px;
    margin: 20px 0;
}

html body .breadcrumb {
    background: transparent !important;
    color: var(--g4-text);
    padding: 0 !important;
    margin: 0 !important;
}

html body .breadcrumb a {
    color: var(--g4-primary-bright);
}

/* --- Cart empty state polish --- */
html body .cart-empty-state,
html body .empty-cart {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--g4-text);
}

/* ============================================================
   AUTH v3.0 — bulletproof login/register with body prefix
   ============================================================ */

html body .g4-login-stage {
    min-height: calc(100vh - 200px);
    padding: 5rem 1rem 4rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

html body .g4-login-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 15%, rgba(160, 187, 58, 0.14) 0%, transparent 45%),
        radial-gradient(circle at 80% 85%, rgba(193, 225, 81, 0.10) 0%, transparent 45%);
    pointer-events: none;
    z-index: 0;
}

html body .g4-login-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(160, 187, 58, 0.08) 1px, transparent 1px);
    background-size: 28px 28px;
    background-position: 0 0;
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

html body .g4-login-card {
    position: relative;
    z-index: 2;
    width: min(480px, 100%);
    padding: 2.5rem 2rem 2rem;
    background: rgba(20, 20, 20, 0.7) !important;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--g4-glass-border);
    border-radius: 24px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(160, 187, 58, 0.08);
}

html body .g4-login-card.g4-login-wide {
    width: min(580px, 100%);
}

html body .g4-login-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--g4-grad-primary);
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}

html body .g4-login-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--g4-grad-primary);
    box-shadow: 0 14px 34px rgba(160, 187, 58, 0.45), 0 0 0 6px rgba(160, 187, 58, 0.08);
    color: #0a0a0a;
    font-size: 2rem;
    animation: g4LoginIconPulse 3s var(--g4-ease-smooth) infinite;
}

@keyframes g4LoginIconPulse {
    0%, 100% {
        box-shadow: 0 14px 34px rgba(160, 187, 58, 0.45), 0 0 0 6px rgba(160, 187, 58, 0.08);
    }
    50% {
        box-shadow: 0 14px 34px rgba(160, 187, 58, 0.55), 0 0 0 12px rgba(160, 187, 58, 0.04);
    }
}

html body .g4-login-title {
    text-align: center;
    font-size: clamp(1.6rem, 3.5vw, 2rem);
    font-weight: 800;
    margin: 0 0 0.4rem;
    line-height: 1.2;
    background: var(--g4-grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

html body .g4-login-subtitle {
    text-align: center;
    color: var(--g4-text-secondary);
    font-size: 0.95rem;
    margin: 0 0 1.75rem;
}

/* Custom field wrapper — self-contained, no Bootstrap reliance */
html body .g4-field {
    position: relative;
    margin-bottom: 1.1rem;
}

html body .g4-field .g4-input,
html body .g4-field input.form-control {
    width: 100%;
    padding: 14px 52px 14px 18px;
    background: rgba(255, 255, 255, 0.04) !important;
    background-color: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid var(--g4-glass-border) !important;
    border-radius: 14px !important;
    color: var(--g4-text) !important;
    font-size: 15px;
    font-weight: 500;
    height: auto !important;
    line-height: 1.4;
    font-family: inherit;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    box-sizing: border-box;
    direction: rtl;
    text-align: right;
}

[dir="ltr"] html body .g4-field .g4-input,
[dir="ltr"] html body .g4-field input.form-control {
    direction: ltr;
    text-align: left;
    padding: 14px 18px 14px 52px;
}

html body .g4-field .g4-input:focus,
html body .g4-field input.form-control:focus {
    border-color: var(--g4-primary) !important;
    background: rgba(255, 255, 255, 0.06) !important;
    background-color: rgba(255, 255, 255, 0.06) !important;
    box-shadow: 0 0 0 4px var(--g4-primary-soft) !important;
    outline: none !important;
}

html body .g4-field .g4-input::placeholder,
html body .g4-field input.form-control::placeholder {
    color: rgba(255, 255, 255, 0.45) !important;
    opacity: 1;
}

html body .g4-field .g4-field-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 18px;
    width: 24px;
    text-align: center;
    color: var(--g4-primary-bright);
    font-size: 1.1rem;
    pointer-events: none;
    z-index: 2;
}

[dir="ltr"] html body .g4-field .g4-field-icon {
    right: auto;
    left: 18px;
}

html body .g4-field .field-validation-error,
html body .g4-field .text-danger {
    display: block;
    color: #ff6b6b !important;
    font-size: 12px;
    margin-top: 6px;
    padding-right: 6px;
}

/* Main submit button */
html body .g4-login-btn {
    width: 100%;
    padding: 14px 28px;
    border-radius: 14px;
    background: var(--g4-grad-primary);
    color: #0a0a0a !important;
    border: none;
    font-weight: 800;
    letter-spacing: 0.3px;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(160, 187, 58, 0.38);
    transition: transform 0.3s var(--g4-ease-smooth), box-shadow 0.3s var(--g4-ease-smooth), filter 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 0.3rem;
}

html body .g4-login-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    box-shadow: 0 18px 40px rgba(160, 187, 58, 0.5);
    color: #0a0a0a !important;
}

html body .g4-login-btn:active {
    transform: translateY(0);
}

html body .g4-login-links {
    margin-top: 1.8rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--g4-glass-border);
}

html body .g4-login-links a {
    display: inline-block;
    color: var(--g4-text-secondary) !important;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.25s ease;
}

html body .g4-login-links a:hover {
    color: var(--g4-primary-bright) !important;
}

html body .g4-login-links a strong {
    color: var(--g4-primary-bright);
    font-weight: 800;
    margin-inline-start: 4px;
}

/* Notice banner (success info like reset password sent) */
html body .g4-login-notice {
    background: linear-gradient(135deg, rgba(160, 187, 58, 0.12), rgba(193, 225, 81, 0.08));
    border: 1px solid rgba(160, 187, 58, 0.3);
    border-radius: 12px;
    padding: 12px 16px;
    color: var(--g4-primary-bright);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

html body .g4-login-notice i {
    font-size: 1.2rem;
}

html body .g4-login-notice.g4-login-notice-error {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.12), rgba(255, 107, 107, 0.06));
    border-color: rgba(255, 107, 107, 0.35);
    color: #ff8a8a;
}

/* Terms wrapper */
html body .g4-terms-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--g4-glass-border);
    border-radius: 12px;
    margin-bottom: 1.2rem;
}

html body .g4-terms-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--g4-primary);
    cursor: pointer;
    margin: 0;
}

html body .g4-terms-row label {
    margin: 0;
    color: var(--g4-text-secondary);
    font-size: 14px;
    cursor: pointer;
    flex: 1;
}

html body .g4-terms-row label a {
    color: var(--g4-primary-bright);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Verification code grid */
html body .g4-vcode-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 1.5rem 0;
    direction: ltr;
}

html body .g4-vcode-grid input {
    width: 100%;
    aspect-ratio: 1;
    max-height: 72px;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 2px solid var(--g4-glass-border) !important;
    border-radius: 14px !important;
    color: var(--g4-text) !important;
    padding: 0 !important;
    font-family: 'Tajawal', 'Cairo', sans-serif;
    transition: all 0.25s ease;
}

html body .g4-vcode-grid input:focus {
    border-color: var(--g4-primary) !important;
    background: rgba(160, 187, 58, 0.08) !important;
    box-shadow: 0 0 0 4px var(--g4-primary-soft) !important;
    outline: none !important;
    transform: scale(1.04);
}

/* ============================================================
   MOBILE RESPONSIVE — Nav, hero, cards
   ============================================================ */
@media (max-width: 992px) {
    html body .main_nav .Contain {
        flex-wrap: wrap;
        align-items: center;
        gap: 6px;
    }

    html body .main_nav .Logo img {
        width: 70px !important;
        height: auto !important;
    }

    html body .main_nav .Toggler ul {
        gap: 4px;
    }

    html body .main_nav .Toggler ul li.langs {
        display: none;
    }

    html body .main_nav .Toggler ul li .fas.fa-bell {
        font-size: 1.1rem;
    }

    html body .main_nav .note .notifications {
        position: fixed !important;
        top: 70px !important;
        left: 10px !important;
        right: 10px !important;
        width: auto !important;
        max-width: none !important;
    }
}

@media (max-width: 640px) {
    html body .g4-login-card {
        padding: 2rem 1.25rem 1.5rem;
        border-radius: 20px;
    }

    html body .g4-login-icon {
        width: 66px;
        height: 66px;
        font-size: 1.6rem;
    }

    html body .main_carousel .SliderImage {
        min-height: 200px;
    }

    html body .g4-page-hero h1 {
        font-size: 1.6rem !important;
    }

    html body .Tools {
        padding: 8px !important;
    }

    html body .keen-slider__slide.slide-content .img-slider {
        height: 180px !important;
    }

    html body .main_nav .Logo img {
        width: 56px !important;
    }
}

/* ============================================================
   HOME HERO — Big impact headline & CTA
   ============================================================ */
html body .g4-home-hero {
    position: relative;
    padding: 7rem 1rem 4rem;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}

html body .g4-home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(160, 187, 58, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(193, 225, 81, 0.18) 0%, transparent 50%);
    z-index: -1;
    animation: g4HeroGlow 12s var(--g4-ease-smooth) infinite alternate;
}

@keyframes g4HeroGlow {
    0% { transform: scale(1) translateY(0); }
    100% { transform: scale(1.15) translateY(-20px); }
}

html body .g4-home-hero h1 {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.15;
    margin: 0 0 1rem;
    background: var(--g4-grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

html body .g4-home-hero .g4-home-tagline {
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    color: var(--g4-text-secondary);
    max-width: 640px;
    margin: 0 auto 2.5rem;
    font-weight: 500;
    line-height: 1.65;
}

html body .g4-home-hero .g4-home-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: var(--g4-grad-primary);
    color: #0a0a0a !important;
    border: none;
    border-radius: 999px;
    font-weight: 800;
    font-size: 1.05rem;
    text-decoration: none;
    box-shadow: 0 16px 40px rgba(160, 187, 58, 0.4);
    transition: transform 0.35s var(--g4-ease-spring), box-shadow 0.35s ease, filter 0.25s ease;
}

html body .g4-home-hero .g4-home-cta:hover {
    transform: translateY(-3px) scale(1.02);
    filter: brightness(1.08);
    box-shadow: 0 22px 50px rgba(160, 187, 58, 0.55);
    color: #0a0a0a !important;
}

html body .g4-home-hero .g4-home-stats {
    display: flex;
    justify-content: center;
    gap: clamp(1rem, 4vw, 3rem);
    margin-top: 3rem;
    flex-wrap: wrap;
}

html body .g4-home-hero .g4-home-stat {
    text-align: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--g4-glass-border);
    border-radius: var(--g4-radius-lg);
    backdrop-filter: blur(10px);
    min-width: 140px;
    transition: transform 0.3s var(--g4-ease-smooth);
}

html body .g4-home-hero .g4-home-stat:hover {
    transform: translateY(-4px);
    border-color: var(--g4-primary);
}

html body .g4-home-hero .g4-home-stat .g4-stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    background: var(--g4-grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

html body .g4-home-hero .g4-home-stat .g4-stat-label {
    color: var(--g4-text-muted);
    font-size: 13px;
    font-weight: 600;
    margin-top: 4px;
    display: block;
}

/* ============================================================
   SECTION TITLES — more impact
   ============================================================ */
html body section.Sports > .container > h2.h3 {
    position: relative;
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 800;
    margin: 3rem 0 1.5rem !important;
    padding-bottom: 14px;
}

/* Decorative underline removed per user request */
html body section.Sports > .container > h2.h3::after,
html body section.Sports > .container > h2.h3::before {
    content: none !important;
    display: none !important;
    background: none !important;
}

html body section.Sports > .container > h2.h3 a {
    color: var(--g4-text) !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

html body section.Sports > .container > h2.h3 a:hover {
    color: var(--g4-primary-bright) !important;
}

html body section.Sports > .container > h2.h3 span {
    background: none !important;
    color: inherit !important;
    padding: 0 !important;
    border-radius: 0 !important;
    display: inline;
}

/* ============================================================
   COVER SPINNER — subtle modern
   ============================================================ */
html body #cover-spin {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    z-index: 99999;
    display: none;
}

html body #cover-spin::after {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 56px;
    height: 56px;
    border: 4px solid rgba(160, 187, 58, 0.2);
    border-top-color: var(--g4-primary-bright);
    border-radius: 50%;
    animation: g4Spin 0.9s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes g4Spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ============================================================
   v3.1 POLISH — final fix pass (blue-link kill, navbar,
   service-card colors, home hero, cart empty, animations)
   ============================================================ */

/* Kill ALL default-blue anchors inside service cards & sliders */
html body .keen-slider__slide.slide-content a,
html body .keen-slider__slide.slide-content a:link,
html body .keen-slider__slide.slide-content a:visited,
html body .Tools a,
html body .Tools a:link,
html body .Tools a:visited,
html body .Tools .main_info h6,
html body .Tools .main_info h6 a,
html body .Tools .main_info h6 a:link,
html body .Tools .main_info h6 a:visited,
html body .Tools .main_info h3,
html body .Tools .main_info h3 a {
    color: var(--g4-text) !important;
    text-decoration: none !important;
}

html body .Tools .main_info h6 a:hover,
html body .Tools .main_info h3 a:hover {
    color: var(--g4-primary-bright) !important;
}

html body .Tools .main_info h6 {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    padding: 0;
    line-height: 1.35;
    min-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* When hero is present, carousel sits naturally below without extra top */
html body .g4-home-hero-v2 + .main_carousel {
    margin-top: 0 !important;
}

/* Home hero wrapper bg behind carousel on home */
html body .main_carousel {
    position: relative;
    margin-top: 72px !important;
    margin-bottom: 0 !important;
    background: var(--g4-bg-base) !important;
}

html body .main_carousel .carousel-inner {
    background: var(--g4-bg-base) !important;
}

html body .main_carousel .carousel-item {
    background: var(--g4-bg-base) !important;
}

/* Ensure no empty black area appears below slider */
html body .main_carousel + section {
    margin-top: 1.5rem !important;
}

/* ============================================================
   NAVBAR MOBILE — stop icon crowding below 992px
   ============================================================ */
@media (max-width: 992px) {
    html body nav.main_nav {
        padding: 8px 0 !important;
    }

    html body nav.main_nav .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    html body nav.main_nav .Contain {
        align-items: center !important;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 8px;
    }

    html body nav.main_nav .Logo img {
        width: 58px !important;
        height: auto !important;
    }

    html body nav.main_nav .inner_links {
        order: 0;
    }

    html body nav.main_nav .inner_links .Toggler {
        font-size: 1.5rem !important;
        color: var(--g4-primary-bright);
    }

    html body nav.main_nav .Toggler {
        flex: 1;
        display: flex;
        justify-content: flex-end;
    }

    html body nav.main_nav .Toggler ul {
        gap: 2px !important;
        flex-wrap: nowrap;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    html body nav.main_nav .Toggler ul li {
        margin: 0 4px !important;
        padding: 0 !important;
    }

    html body nav.main_nav .Toggler ul li.langs {
        display: none !important;
    }

    html body nav.main_nav .Toggler ul li .fas.fa-bell,
    html body nav.main_nav .Toggler ul li .fas.fa-shopping-cart,
    html body nav.main_nav .Toggler ul li .fas.fa-bars {
        font-size: 1.15rem !important;
    }

    html body nav.main_nav .Toggler ul li img.User {
        width: 32px !important;
        height: 32px !important;
    }

    html body nav.main_nav .Toggler ul li .fas.fa-caret-square-down {
        display: none !important;
    }
}

@media (max-width: 480px) {
    html body nav.main_nav .Logo img {
        width: 46px !important;
    }

    html body nav.main_nav .Toggler ul li {
        margin: 0 3px !important;
    }

    html body nav.main_nav .Toggler ul li .fas.fa-bell,
    html body nav.main_nav .Toggler ul li .fas.fa-shopping-cart,
    html body nav.main_nav .Toggler ul li .fas.fa-bars {
        font-size: 1.05rem !important;
    }

    html body nav.main_nav .Toggler ul li img.User {
        width: 28px !important;
        height: 28px !important;
    }
}

/* ============================================================
   HOME HERO SECTION v3.1 — visible, bold, animated
   ============================================================ */
html body .g4-home-hero-v2 {
    position: relative;
    padding: 6rem 1.25rem 4rem;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

html body .g4-home-hero-v2::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 800px 450px at 25% 25%, rgba(160, 187, 58, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse 700px 400px at 75% 75%, rgba(193, 225, 81, 0.18) 0%, transparent 60%),
        linear-gradient(180deg, rgba(10, 10, 10, 0.4) 0%, transparent 60%);
    z-index: -1;
    animation: g4HeroPulse 14s var(--g4-ease-smooth) infinite alternate;
}

html body .g4-home-hero-v2::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(160, 187, 58, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(160, 187, 58, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
}

@keyframes g4HeroPulse {
    0% { transform: scale(1) translate(0, 0); opacity: 0.9; }
    50% { transform: scale(1.12) translate(-10px, -15px); opacity: 1; }
    100% { transform: scale(1.08) translate(10px, 10px); opacity: 0.85; }
}

html body .g4-home-hero-v2 .g4-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(160, 187, 58, 0.12);
    border: 1px solid rgba(160, 187, 58, 0.35);
    color: var(--g4-primary-bright);
    font-size: 13px;
    font-weight: 700;
    border-radius: 999px;
    margin-bottom: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
    animation: g4BadgeFloat 3s ease-in-out infinite;
}

html body .g4-home-hero-v2 .g4-badge i {
    animation: g4BadgePulse 1.4s ease-in-out infinite;
    color: var(--g4-primary-bright);
}

@keyframes g4BadgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes g4BadgePulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

html body .g4-home-hero-v2 h1 {
    font-size: clamp(2.2rem, 6.5vw, 4.2rem) !important;
    font-weight: 900 !important;
    line-height: 1.08 !important;
    margin: 0 0 1.25rem !important;
    letter-spacing: -0.02em;
    color: var(--g4-text) !important;
}

html body .g4-home-hero-v2 h1 .g4-hero-grad {
    background: var(--g4-grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
}

html body .g4-home-hero-v2 h1 .g4-hero-grad::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--g4-grad-primary);
    border-radius: 2px;
    opacity: 0.4;
}

html body .g4-home-hero-v2 .g4-hero-tag {
    font-size: clamp(1.05rem, 2.2vw, 1.3rem);
    color: var(--g4-text-secondary);
    max-width: 680px;
    margin: 0 auto 2.5rem;
    font-weight: 500;
    line-height: 1.65;
}

html body .g4-home-hero-v2 .g4-hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

html body .g4-home-hero-v2 .g4-cta-primary,
html body .g4-home-hero-v2 .g4-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 36px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none !important;
    transition: transform 0.35s var(--g4-ease-spring), box-shadow 0.35s ease, filter 0.25s ease, background 0.3s ease;
    cursor: pointer;
    border: none;
}

html body .g4-home-hero-v2 .g4-cta-primary {
    background: var(--g4-grad-primary);
    color: #0a0a0a !important;
    box-shadow: 0 16px 40px rgba(160, 187, 58, 0.45), 0 0 0 1px rgba(255,255,255,0.08) inset;
}

html body .g4-home-hero-v2 .g4-cta-primary:hover {
    transform: translateY(-3px) scale(1.03);
    filter: brightness(1.1);
    box-shadow: 0 24px 55px rgba(160, 187, 58, 0.6);
}

html body .g4-home-hero-v2 .g4-cta-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--g4-text) !important;
    border: 1px solid var(--g4-glass-border);
    backdrop-filter: blur(10px);
}

html body .g4-home-hero-v2 .g4-cta-secondary:hover {
    background: rgba(160, 187, 58, 0.08);
    border-color: var(--g4-primary);
    transform: translateY(-3px);
    color: var(--g4-primary-bright) !important;
}

/* Stats row */
html body .g4-home-hero-v2 .g4-hero-stats {
    display: flex;
    gap: clamp(0.8rem, 3vw, 2.5rem);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

html body .g4-home-hero-v2 .g4-stat-card {
    text-align: center;
    padding: 1.1rem 1.6rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--g4-glass-border);
    border-radius: 18px;
    backdrop-filter: blur(12px) saturate(180%);
    min-width: 130px;
    transition: transform 0.35s var(--g4-ease-smooth), border-color 0.35s ease, box-shadow 0.35s ease;
}

html body .g4-home-hero-v2 .g4-stat-card:hover {
    transform: translateY(-6px) scale(1.04);
    border-color: var(--g4-primary);
    box-shadow: 0 20px 45px rgba(160, 187, 58, 0.25);
}

html body .g4-home-hero-v2 .g4-stat-card .g4-stat-value {
    display: block;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 900;
    background: var(--g4-grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

html body .g4-home-hero-v2 .g4-stat-card .g4-stat-label {
    color: var(--g4-text-muted);
    font-size: 12px;
    font-weight: 700;
    margin-top: 6px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

@media (max-width: 640px) {
    html body .g4-home-hero-v2 {
        padding: 4.5rem 1rem 3rem;
        min-height: auto;
    }

    html body .g4-home-hero-v2 .g4-hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    html body .g4-home-hero-v2 .g4-cta-primary,
    html body .g4-home-hero-v2 .g4-cta-secondary {
        width: 100%;
        justify-content: center;
    }

    html body .g4-home-hero-v2 .g4-stat-card {
        min-width: 100px;
        padding: 0.9rem 1rem;
    }
}

/* ============================================================
   FOOTER — kill blue and restyle consistently
   ============================================================ */
html body footer a,
html body footer a:link,
html body footer a:visited {
    color: var(--g4-text-secondary) !important;
    text-decoration: none !important;
    transition: color 0.25s ease;
}

html body footer a:hover {
    color: var(--g4-primary-bright) !important;
}

/* ============================================================
   SCROLL REVEAL — smooth fade-in animations
   ============================================================ */
html body .g4-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s var(--g4-ease-out), transform 0.9s var(--g4-ease-out);
}

html body .g4-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

html body .g4-reveal-scale {
    opacity: 0;
    transform: scale(0.94);
    transition: opacity 0.8s var(--g4-ease-out), transform 0.8s var(--g4-ease-spring);
}

html body .g4-reveal-scale.is-visible {
    opacity: 1;
    transform: scale(1);
}

html body .g4-reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s var(--g4-ease-out), transform 0.8s var(--g4-ease-out);
}

[dir="rtl"] html body .g4-reveal-left {
    transform: translateX(30px);
}

html body .g4-reveal-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

html body .g4-delay-1 { transition-delay: 0.1s; }
html body .g4-delay-2 { transition-delay: 0.2s; }
html body .g4-delay-3 { transition-delay: 0.3s; }
html body .g4-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   CART EMPTY STATE — animated, modern
   ============================================================ */
html body .g4-empty-state {
    text-align: center;
    padding: 5rem 1.5rem;
    max-width: 560px;
    margin: 2rem auto;
    position: relative;
}

html body .g4-empty-state .g4-empty-icon {
    width: 130px;
    height: 130px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(160, 187, 58, 0.15) 0%, rgba(160, 187, 58, 0) 70%);
    position: relative;
}

html body .g4-empty-state .g4-empty-icon::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 2px dashed rgba(160, 187, 58, 0.35);
    border-radius: 50%;
    animation: g4Spin 12s linear infinite;
}

html body .g4-empty-state .g4-empty-icon i {
    font-size: 3rem;
    color: var(--g4-primary-bright);
    animation: g4BadgeFloat 3s ease-in-out infinite;
}

html body .g4-empty-state h2 {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 800;
    color: var(--g4-text);
    margin: 0 0 0.6rem;
}

html body .g4-empty-state p {
    color: var(--g4-text-secondary);
    font-size: 1rem;
    margin: 0 0 1.8rem;
    line-height: 1.6;
}

html body .g4-empty-state .g4-empty-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 999px;
    background: var(--g4-grad-primary);
    color: #0a0a0a !important;
    font-weight: 800;
    font-size: 0.98rem;
    text-decoration: none !important;
    box-shadow: 0 14px 32px rgba(160, 187, 58, 0.38);
    transition: transform 0.3s var(--g4-ease-spring), box-shadow 0.3s ease, filter 0.25s ease;
}

html body .g4-empty-state .g4-empty-cta:hover {
    transform: translateY(-3px) scale(1.03);
    filter: brightness(1.1);
    box-shadow: 0 20px 45px rgba(160, 187, 58, 0.5);
}

/* ============================================================
   ADDITIONAL POLISH — shared smoothing
   ============================================================ */
html body img {
    max-width: 100%;
}

html body .keen-slider__slide.slide-content a {
    display: block;
}

html body .g4-home-tagline {
    color: var(--g4-text-secondary);
}

/* Keep section padding consistent on mobile */
@media (max-width: 640px) {
    html body section.Sports > .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    html body .container {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* Hero video responsive */
@media (max-width: 992px) {
    html body .g4-hero-video video {
        width: 95% !important;
        height: auto !important;
        max-height: 360px;
    }
}

/* Fix link defaults globally in content areas */
html body .container a:not(.btn):not(.g4-login-btn):not(.g4-home-cta):not(.carousel-control-prev):not(.carousel-control-next):not(.g4-cta-primary):not(.g4-cta-secondary) {
    color: inherit;
}

/* Nav scrolled-state animated */
html body nav.main_nav {
    transition: background 0.35s ease, padding 0.3s ease, box-shadow 0.35s ease;
}

html body nav.main_nav.scrolled {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(160, 187, 58, 0.1);
}

/* Float-up animation helper */
@keyframes g4FloatUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

html body .g4-home-hero-v2 > * {
    animation: g4FloatUp 0.9s var(--g4-ease-out) both;
}

html body .g4-home-hero-v2 .g4-badge { animation-delay: 0.05s; }
html body .g4-home-hero-v2 h1 { animation-delay: 0.18s; }
html body .g4-home-hero-v2 .g4-hero-tag { animation-delay: 0.3s; }
html body .g4-home-hero-v2 .g4-hero-actions { animation-delay: 0.42s; }
html body .g4-home-hero-v2 .g4-hero-stats { animation-delay: 0.55s; }

/* ============================================================
   v3.2 FULL SWEEP — Global Bootstrap interception
   Themes all legacy .card .panel .table .btn-* .modal-* .alert-*
   without requiring HTML rewrites on every page.
   ============================================================ */

/* ---------- BOOTSTRAP CARD ---------- */
html body .card {
    background: var(--g4-glass-bg-strong) !important;
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    border: 1px solid var(--g4-glass-border) !important;
    border-radius: var(--g4-radius-lg) !important;
    color: var(--g4-text) !important;
    box-shadow: var(--g4-shadow-md) !important;
    overflow: hidden;
}

html body .card .card-header {
    background: linear-gradient(135deg, rgba(160,187,58,0.15) 0%, rgba(160,187,58,0.05) 100%) !important;
    border-bottom: 1px solid var(--g4-glass-border) !important;
    color: var(--g4-text) !important;
    padding: 16px 20px !important;
    font-weight: 700;
    letter-spacing: 0.3px;
}

html body .card .card-body {
    background: transparent !important;
    color: var(--g4-text) !important;
    padding: 22px !important;
}

html body .card .card-footer {
    background: rgba(255,255,255,0.02) !important;
    border-top: 1px solid var(--g4-glass-border) !important;
    color: var(--g4-text-secondary) !important;
}

/* ---------- BOOTSTRAP PANEL (legacy) ---------- */
html body .panel {
    background: var(--g4-glass-bg-strong) !important;
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    border: 1px solid var(--g4-glass-border) !important;
    border-radius: var(--g4-radius-lg) !important;
    color: var(--g4-text) !important;
    box-shadow: var(--g4-shadow-md) !important;
}

html body .panel .panel-heading {
    background: linear-gradient(135deg, rgba(160,187,58,0.18) 0%, rgba(160,187,58,0.04) 100%) !important;
    color: var(--g4-text) !important;
    border-bottom: 1px solid var(--g4-glass-border) !important;
    border-radius: var(--g4-radius-lg) var(--g4-radius-lg) 0 0 !important;
    padding: 14px 18px !important;
    font-weight: 700;
}

html body .panel .panel-body {
    background: transparent !important;
    color: var(--g4-text) !important;
    padding: 22px !important;
}

html body .panel.panel-primary {
    border-color: var(--g4-primary) !important;
}

/* ---------- BOOTSTRAP TABLE ---------- */
html body .table {
    background: transparent !important;
    color: var(--g4-text) !important;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: var(--g4-radius-md);
}

html body .table thead th {
    background: linear-gradient(135deg, rgba(160,187,58,0.22) 0%, rgba(160,187,58,0.08) 100%) !important;
    color: var(--g4-text) !important;
    border: none !important;
    border-bottom: 2px solid var(--g4-primary) !important;
    padding: 14px 12px !important;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    font-size: 12px;
}

html body .table tbody tr {
    transition: background var(--g4-dur-fast) var(--g4-ease-smooth);
}

html body .table tbody tr:hover {
    background: rgba(160, 187, 58, 0.06) !important;
}

html body .table tbody td {
    background: transparent !important;
    color: var(--g4-text-secondary) !important;
    border: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
    padding: 14px 12px !important;
    vertical-align: middle !important;
}

html body .table tbody td a {
    color: var(--g4-primary-bright) !important;
    text-decoration: none;
    transition: color var(--g4-dur-fast);
}

html body .table tbody td a:hover {
    color: var(--g4-primary) !important;
    text-decoration: underline;
}

html body .table.table-striped tbody tr:nth-of-type(odd) {
    background: rgba(255,255,255,0.015) !important;
}

html body .table.table-bordered,
html body .table.table-bordered th,
html body .table.table-bordered td {
    border: 1px solid var(--g4-glass-border) !important;
}

html body .table-responsive {
    background: var(--g4-glass-bg-strong) !important;
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    border: 1px solid var(--g4-glass-border) !important;
    border-radius: var(--g4-radius-lg) !important;
    box-shadow: var(--g4-shadow-md) !important;
    padding: 8px;
}

/* ---------- BOOTSTRAP BUTTONS ---------- */
html body .btn {
    border-radius: var(--g4-radius-md) !important;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 10px 22px;
    transition: all var(--g4-dur-base) var(--g4-ease-smooth) !important;
    border: none !important;
    position: relative;
    overflow: hidden;
}

html body .btn:focus, html body .btn:active {
    outline: none !important;
    box-shadow: 0 0 0 3px var(--g4-primary-glow) !important;
}

html body .btn-primary,
html body .btn-info,
html body .btn-success {
    background: var(--g4-grad-primary) !important;
    color: #0a0a0a !important;
    box-shadow: 0 6px 20px rgba(160, 187, 58, 0.3) !important;
}

html body .btn-primary:hover,
html body .btn-info:hover,
html body .btn-success:hover {
    background: var(--g4-grad-primary-hover) !important;
    color: #0a0a0a !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(160, 187, 58, 0.45) !important;
}

html body .btn-danger {
    background: linear-gradient(135deg, #e03a4e 0%, #b02336 100%) !important;
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(224, 58, 78, 0.3) !important;
}

html body .btn-danger:hover {
    background: linear-gradient(135deg, #ee4a5e 0%, #c52a3e 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(224, 58, 78, 0.45) !important;
}

html body .btn-secondary,
html body .btn-default {
    background: var(--g4-glass-bg-strong) !important;
    color: var(--g4-text) !important;
    border: 1px solid var(--g4-glass-border) !important;
    backdrop-filter: blur(10px);
}

html body .btn-secondary:hover,
html body .btn-default:hover {
    background: var(--g4-glass-bg) !important;
    color: var(--g4-primary-bright) !important;
    border-color: var(--g4-primary) !important;
    transform: translateY(-2px);
}

html body .btn-warning {
    background: linear-gradient(135deg, #f5a623 0%, #e09a1a 100%) !important;
    color: #0a0a0a !important;
}

html body .btn-outline-primary {
    background: transparent !important;
    color: var(--g4-primary-bright) !important;
    border: 2px solid var(--g4-primary) !important;
}

html body .btn-outline-primary:hover {
    background: var(--g4-grad-primary) !important;
    color: #0a0a0a !important;
}

/* ---------- BOOTSTRAP ALERTS ---------- */
html body .alert {
    border-radius: var(--g4-radius-md) !important;
    border: 1px solid var(--g4-glass-border) !important;
    backdrop-filter: blur(10px);
    padding: 14px 18px !important;
    font-weight: 500;
}

html body .alert-danger {
    background: rgba(224, 58, 78, 0.12) !important;
    border-color: rgba(224, 58, 78, 0.4) !important;
    color: #ff8a95 !important;
}

html body .alert-success {
    background: rgba(160, 187, 58, 0.12) !important;
    border-color: var(--g4-primary) !important;
    color: var(--g4-primary-bright) !important;
}

html body .alert-warning {
    background: rgba(245, 166, 35, 0.12) !important;
    border-color: rgba(245, 166, 35, 0.4) !important;
    color: #ffc36b !important;
}

html body .alert-info {
    background: rgba(160, 187, 58, 0.08) !important;
    border-color: var(--g4-glass-border) !important;
    color: var(--g4-text-secondary) !important;
}

/* ---------- BOOTSTRAP MODALS ---------- */
html body .modal-content {
    background: linear-gradient(160deg, #121212 0%, #1a1a1a 100%) !important;
    border: 1px solid var(--g4-glass-border) !important;
    border-radius: var(--g4-radius-lg) !important;
    color: var(--g4-text) !important;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6) !important;
}

html body .modal-header {
    background: linear-gradient(135deg, rgba(160,187,58,0.15) 0%, rgba(160,187,58,0.03) 100%) !important;
    border-bottom: 1px solid var(--g4-glass-border) !important;
    color: var(--g4-text) !important;
    padding: 18px 22px !important;
}

html body .modal-body {
    color: var(--g4-text-secondary) !important;
    padding: 22px !important;
}

html body .modal-footer {
    background: rgba(0,0,0,0.2) !important;
    border-top: 1px solid var(--g4-glass-border) !important;
    padding: 14px 22px !important;
}

html body .modal-title {
    color: var(--g4-text) !important;
    font-weight: 700;
}

html body .close {
    color: var(--g4-text) !important;
    opacity: 0.7;
    transition: all var(--g4-dur-fast);
    text-shadow: none !important;
}

html body .close:hover {
    color: var(--g4-primary-bright) !important;
    opacity: 1;
    transform: rotate(90deg);
}

/* ---------- INPUT POLISH (global) ---------- */
html body .form-control:not(.g4-input):not(.address-input) {
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid var(--g4-glass-border) !important;
    color: var(--g4-text) !important;
    border-radius: var(--g4-radius-md) !important;
    padding: 11px 14px !important;
    transition: all var(--g4-dur-fast) var(--g4-ease-smooth) !important;
    min-height: 42px;
}

html body .form-control:not(.g4-input):not(.address-input):focus {
    background: rgba(255,255,255,0.06) !important;
    border-color: var(--g4-primary) !important;
    box-shadow: 0 0 0 3px var(--g4-primary-glow) !important;
    color: var(--g4-text) !important;
    outline: none !important;
}

html body .form-control:not(.g4-input):not(.address-input)::placeholder {
    color: var(--g4-text-muted) !important;
}

html body label:not(.g4-field-label) {
    color: var(--g4-text-secondary);
    font-weight: 500;
    margin-bottom: 8px;
}

/* ---------- HR ---------- */
html body hr {
    border: none !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent 0%, var(--g4-glass-border) 50%, transparent 100%) !important;
    margin: 20px 0 !important;
}

/* ---------- BADGE ---------- */
html body .badge {
    padding: 6px 12px;
    border-radius: var(--g4-radius-pill);
    font-weight: 600;
    letter-spacing: 0.3px;
}

html body .badge-primary,
html body .badge-success,
html body .badge-info {
    background: var(--g4-grad-primary) !important;
    color: #0a0a0a !important;
}

html body .badge-danger {
    background: linear-gradient(135deg, #e03a4e 0%, #b02336 100%) !important;
    color: #fff !important;
}

/* ---------- FIX COMMON COLOR CLASSES ---------- */
html body .text-white { color: var(--g4-text) !important; }
html body .text-muted { color: var(--g4-text-muted) !important; }
html body .text-dark { color: var(--g4-text) !important; }
html body .text-green { color: var(--g4-primary-bright) !important; }
html body .text-red { color: #ff8a95 !important; }
html body .text-info { color: var(--g4-primary-bright) !important; }
html body .text-danger { color: #ff8a95 !important; }
html body .text-success { color: var(--g4-primary-bright) !important; }
html body .text-warning { color: #ffc36b !important; }

/* Kill any stray "aliceblue" / light backgrounds */
html body [style*="aliceblue"],
html body [style*="background-color: aliceblue"],
html body [style*="background-color:aliceblue"] {
    background-color: transparent !important;
}

/* ---------- v3.2 CHECKOUT PAGE: Kill orange, apply green ---------- */
html body .payment-card {
    background: var(--g4-glass-bg-strong) !important;
    border: 2px solid var(--g4-glass-border) !important;
    border-radius: var(--g4-radius-md) !important;
    transition: all var(--g4-dur-base) var(--g4-ease-smooth) !important;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

html body .payment-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% -20%, var(--g4-primary-soft) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--g4-dur-base);
    pointer-events: none;
}

html body .payment-card:hover {
    border-color: var(--g4-primary) !important;
    background: var(--g4-glass-bg-strong) !important;
    transform: translateY(-3px);
    box-shadow: var(--g4-shadow-lift);
}

html body .payment-card:hover::before { opacity: 1; }

html body .payment-card.selected {
    border-color: var(--g4-primary) !important;
    background: rgba(160, 187, 58, 0.08) !important;
    box-shadow: 0 0 0 3px var(--g4-primary-soft), var(--g4-shadow-glow) !important;
}

html body .payment-card.selected::before { opacity: 1; }

html body .payment-card .pay-name {
    color: var(--g4-text) !important;
    font-weight: 600 !important;
}

html body .payment-card .check-icon {
    background: var(--g4-grad-primary) !important;
    box-shadow: 0 2px 8px var(--g4-primary-glow);
}

html body .payment-card .check-icon::after {
    color: #0a0a0a !important;
}

html body .address-input,
html body input.address-input,
html body .form-control.address-input {
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid var(--g4-glass-border) !important;
    color: var(--g4-text) !important;
    border-radius: var(--g4-radius-md) !important;
    padding: 12px 14px !important;
    min-height: 46px;
    transition: all var(--g4-dur-fast) var(--g4-ease-smooth) !important;
}

html body .address-input:focus {
    background: rgba(255,255,255,0.06) !important;
    border-color: var(--g4-primary) !important;
    box-shadow: 0 0 0 3px var(--g4-primary-glow) !important;
    outline: none !important;
}

html body .address-input::placeholder {
    color: var(--g4-text-muted) !important;
}

html body .submit-btn {
    background: var(--g4-grad-primary) !important;
    color: #0a0a0a !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: var(--g4-radius-md) !important;
    padding: 14px 30px !important;
    width: 100% !important;
    font-size: 15px !important;
    letter-spacing: 0.5px;
    transition: all var(--g4-dur-base) var(--g4-ease-smooth) !important;
    box-shadow: 0 6px 20px rgba(160, 187, 58, 0.3) !important;
    position: relative;
    overflow: hidden;
}

html body .submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

html body .submit-btn:hover {
    background: var(--g4-grad-primary-hover) !important;
    color: #0a0a0a !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(160, 187, 58, 0.5) !important;
}

html body .submit-btn:hover::before { left: 100%; }

html body .section-label {
    color: var(--g4-text-secondary) !important;
    font-size: 13px !important;
    margin-bottom: 10px !important;
    font-weight: 500;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

html body .checkout-form-wrap {
    max-width: 520px !important;
}

/* ---------- v3.2 SUCCESS PAGE ---------- */
.g4-success-wrap {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.g4-success-card {
    max-width: 560px;
    width: 100%;
    background: var(--g4-glass-bg-strong);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    border: 1px solid var(--g4-glass-border);
    border-radius: var(--g4-radius-xl);
    padding: 48px 36px;
    text-align: center;
    box-shadow: var(--g4-shadow-lg), var(--g4-shadow-glow);
    position: relative;
    overflow: hidden;
    animation: g4SuccessEntry 0.9s var(--g4-ease-spring) both;
}

.g4-success-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, var(--g4-primary-soft) 0%, transparent 50%);
    animation: g4SuccessGlow 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes g4SuccessEntry {
    from { opacity: 0; transform: translateY(40px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes g4SuccessGlow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.g4-success-icon {
    width: 110px;
    height: 110px;
    margin: 0 auto 24px;
    background: var(--g4-grad-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 60px var(--g4-primary-glow);
    animation: g4SuccessPop 0.6s var(--g4-ease-spring) 0.3s both;
}

.g4-success-icon::before,
.g4-success-icon::after {
    content: '';
    position: absolute;
    inset: -8px;
    border: 2px solid var(--g4-primary);
    border-radius: 50%;
    opacity: 0;
    animation: g4SuccessRipple 2s ease-out infinite;
}

.g4-success-icon::after {
    animation-delay: 1s;
}

.g4-success-icon i {
    color: #0a0a0a;
    font-size: 52px;
    animation: g4SuccessIconBounce 0.5s var(--g4-ease-spring) 0.6s both;
}

@keyframes g4SuccessPop {
    from { opacity: 0; transform: scale(0); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes g4SuccessRipple {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.8); }
}

@keyframes g4SuccessIconBounce {
    0% { transform: scale(0) rotate(-180deg); }
    100% { transform: scale(1) rotate(0); }
}

.g4-success-title {
    color: var(--g4-text);
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 800;
    margin: 0 0 8px;
    letter-spacing: -0.5px;
}

.g4-success-sub {
    color: var(--g4-text-secondary);
    font-size: 15px;
    margin-bottom: 28px;
    line-height: 1.6;
}

.g4-order-code {
    display: inline-block;
    background: rgba(160, 187, 58, 0.1);
    border: 1px dashed var(--g4-primary);
    border-radius: var(--g4-radius-md);
    padding: 14px 28px;
    margin: 0 auto 32px;
    color: var(--g4-primary-bright);
    font-family: 'Courier New', monospace;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
}

.g4-order-code small {
    display: block;
    color: var(--g4-text-muted);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: 'Tajawal', sans-serif;
    margin-bottom: 4px;
    font-weight: 500;
}

.g4-success-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.g4-success-btn {
    flex: 1 1 150px;
    padding: 13px 20px;
    border-radius: var(--g4-radius-md);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none !important;
    transition: all var(--g4-dur-base) var(--g4-ease-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.3px;
}

.g4-success-btn.primary {
    background: var(--g4-grad-primary);
    color: #0a0a0a !important;
    box-shadow: 0 6px 18px rgba(160, 187, 58, 0.3);
}

.g4-success-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(160, 187, 58, 0.5);
    color: #0a0a0a !important;
}

.g4-success-btn.secondary {
    background: rgba(255,255,255,0.04);
    color: var(--g4-text) !important;
    border: 1px solid var(--g4-glass-border);
}

.g4-success-btn.secondary:hover {
    background: rgba(160, 187, 58, 0.08);
    border-color: var(--g4-primary);
    color: var(--g4-primary-bright) !important;
    transform: translateY(-3px);
}

/* Confetti dots */
.g4-confetti {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.g4-confetti span {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--g4-primary);
    opacity: 0;
    animation: g4ConfettiFall 3s linear infinite;
}

.g4-confetti span:nth-child(2) { background: var(--g4-primary-bright); width: 6px; height: 6px; animation-delay: 0.3s; left: 20%; }
.g4-confetti span:nth-child(3) { background: #ffd700; width: 10px; height: 10px; animation-delay: 0.6s; left: 40%; }
.g4-confetti span:nth-child(4) { background: var(--g4-primary); width: 7px; height: 7px; animation-delay: 0.9s; left: 60%; }
.g4-confetti span:nth-child(5) { background: var(--g4-primary-bright); width: 9px; height: 9px; animation-delay: 1.2s; left: 80%; }
.g4-confetti span:nth-child(6) { background: #ffd700; width: 5px; height: 5px; animation-delay: 1.5s; left: 10%; }
.g4-confetti span:nth-child(7) { background: var(--g4-primary); width: 8px; height: 8px; animation-delay: 1.8s; left: 70%; }
.g4-confetti span:nth-child(8) { background: var(--g4-primary-bright); width: 6px; height: 6px; animation-delay: 2.1s; left: 30%; }

@keyframes g4ConfettiFall {
    0% { opacity: 0; transform: translateY(-20px) rotate(0); }
    10% { opacity: 1; }
    100% { opacity: 0; transform: translateY(600px) rotate(720deg); }
}

/* ---------- v3.2 FAILED PAGE (standalone layout) ---------- */
.g4-failed-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: 'Tajawal', 'Cairo', sans-serif;
}

.g4-failed-page::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(224, 58, 78, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(224, 58, 78, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.g4-failed-card {
    max-width: 440px;
    width: 100%;
    background: linear-gradient(160deg, #121212 0%, #1a1a1a 100%);
    border: 1px solid rgba(224, 58, 78, 0.3);
    border-radius: 24px;
    padding: 48px 32px 32px;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 60px rgba(224, 58, 78, 0.15);
    position: relative;
    animation: g4SuccessEntry 0.7s var(--g4-ease-spring) both;
    color: #fff;
}

.g4-failed-icon {
    width: 100px;
    height: 100px;
    margin: -96px auto 18px;
    background: linear-gradient(135deg, #e03a4e 0%, #b02336 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 50px;
    box-shadow: 0 12px 32px rgba(224, 58, 78, 0.5);
    animation: g4FailShake 0.6s ease-in-out 0.3s both;
    border: 4px solid #0a0a0a;
}

@keyframes g4FailShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(8px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

.g4-failed-title {
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 10px;
}

.g4-failed-msg {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.g4-failed-btn {
    display: inline-block;
    background: linear-gradient(135deg, #e03a4e 0%, #b02336 100%);
    color: #fff !important;
    font-weight: 700;
    padding: 13px 36px;
    border-radius: 14px;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(224, 58, 78, 0.3);
    letter-spacing: 0.5px;
    font-family: inherit;
    font-size: 14px;
}

.g4-failed-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(224, 58, 78, 0.5);
    color: #fff !important;
}

/* ---------- v3.2 WALLET PAGE ---------- */
.g4-wallet-wrap {
    padding: 30px 20px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.g4-wallet-hero {
    background: var(--g4-glass-bg-strong);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    border: 1px solid var(--g4-glass-border);
    border-radius: var(--g4-radius-xl);
    padding: 36px 28px;
    margin-bottom: 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--g4-shadow-md);
}

.g4-wallet-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--g4-primary-soft) 0%, transparent 60%);
    pointer-events: none;
    animation: g4HeroPulse 14s ease-in-out infinite;
}

.g4-wallet-hero-label {
    color: var(--g4-text-muted);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-weight: 600;
}

.g4-wallet-hero-user {
    color: var(--g4-text);
    font-size: 16px;
    margin-bottom: 18px;
    opacity: 0.85;
}

.g4-wallet-balance {
    font-size: clamp(40px, 8vw, 64px);
    font-weight: 800;
    letter-spacing: -1.5px;
    background: var(--g4-grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.g4-wallet-balance.negative {
    background: linear-gradient(135deg, #ff8a95 0%, #e03a4e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.g4-wallet-balance img {
    width: 32px;
    height: auto;
    opacity: 0.85;
}

.g4-tx-section-title {
    color: var(--g4-text);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 18px 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.g4-tx-section-title::before {
    content: '';
    width: 4px;
    height: 22px;
    background: var(--g4-grad-primary);
    border-radius: 2px;
}

/* ---------- v3.2 NOTIFICATIONS PAGE ---------- */
.g4-notif-wrap {
    padding: 40px 20px 60px;
    max-width: 860px;
    margin: 0 auto;
}

.g4-notif-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.g4-notif-title {
    color: var(--g4-text);
    font-size: clamp(22px, 4vw, 30px);
    font-weight: 800;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    letter-spacing: -0.5px;
}

.g4-notif-count-badge {
    background: var(--g4-grad-primary);
    color: #0a0a0a;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--g4-radius-pill);
    box-shadow: 0 4px 12px var(--g4-primary-glow);
}

.g4-notif-mark-read {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--g4-glass-border);
    color: var(--g4-text-secondary) !important;
    padding: 10px 20px;
    border-radius: var(--g4-radius-md);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all var(--g4-dur-base) var(--g4-ease-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.g4-notif-mark-read:hover {
    background: rgba(160, 187, 58, 0.08);
    border-color: var(--g4-primary);
    color: var(--g4-primary-bright) !important;
    transform: translateY(-1px);
}

.g4-notif-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.g4-notif-item {
    background: var(--g4-glass-bg-strong);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--g4-glass-border);
    border-radius: var(--g4-radius-lg);
    padding: 18px 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all var(--g4-dur-base) var(--g4-ease-smooth);
    position: relative;
    overflow: hidden;
    animation: g4FloatUp 0.5s var(--g4-ease-out) both;
}

.g4-notif-item:nth-child(1) { animation-delay: 0.05s; }
.g4-notif-item:nth-child(2) { animation-delay: 0.1s; }
.g4-notif-item:nth-child(3) { animation-delay: 0.15s; }
.g4-notif-item:nth-child(4) { animation-delay: 0.2s; }
.g4-notif-item:nth-child(5) { animation-delay: 0.25s; }
.g4-notif-item:nth-child(n+6) { animation-delay: 0.3s; }

.g4-notif-item::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    background: var(--g4-grad-primary);
    opacity: 0;
    transition: opacity var(--g4-dur-base);
}

[dir="rtl"] .g4-notif-item::before {
    left: auto;
    right: 0;
}

.g4-notif-item.unread::before { opacity: 1; }

.g4-notif-item:hover {
    border-color: var(--g4-glass-border-hover);
    transform: translateX(4px);
    box-shadow: var(--g4-shadow-md);
}

[dir="rtl"] .g4-notif-item:hover {
    transform: translateX(-4px);
}

.g4-notif-avatar {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(160,187,58,0.15) 0%, rgba(160,187,58,0.04) 100%);
    border: 1px solid var(--g4-glass-border);
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.g4-notif-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.g4-notif-body {
    flex: 1;
    min-width: 0;
}

.g4-notif-item-title {
    color: var(--g4-text);
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 4px;
    line-height: 1.4;
}

.g4-notif-item-text {
    color: var(--g4-text-secondary);
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

.g4-notif-empty {
    background: var(--g4-glass-bg-strong);
    border: 1px dashed var(--g4-glass-border);
    border-radius: var(--g4-radius-lg);
    padding: 60px 24px;
    text-align: center;
    color: var(--g4-text-muted);
}

.g4-notif-empty i {
    font-size: 48px;
    color: var(--g4-text-dim);
    margin-bottom: 16px;
    display: block;
}

/* ---------- RESPONSIVE POLISH ---------- */
@media (max-width: 768px) {
    html body .table thead {
        font-size: 11px;
    }

    html body .card-body,
    html body .panel-body {
        padding: 16px !important;
    }

    .g4-wallet-hero {
        padding: 26px 18px;
    }

    .g4-success-card {
        padding: 36px 22px;
    }
}

@media (max-width: 480px) {
    html body .btn {
        padding: 9px 16px;
        font-size: 13px;
    }

    .g4-success-actions {
        flex-direction: column;
    }

    .g4-success-btn {
        flex: 1 1 100%;
    }

    .g4-notif-item {
        padding: 14px 16px;
        gap: 12px;
    }

    .g4-notif-avatar {
        width: 44px;
        height: 44px;
    }
}

/* ============================================================
   v3.3 RESPONSIVE HARDENING
   - Kill stale hero section (belt-and-braces, HTML already removed)
   - Prevent horizontal overflow on mobile at every layer
   - Clean up mobile nav (kill weird green full-width items)
   - Ensure carousel + section images scale properly
   ============================================================ */

/* Hard-kill the hero section everywhere — defense in depth */
html body .g4-home-hero-v2,
html body section.g4-home-hero-v2 {
    display: none !important;
}

/* Absolute lockdown on horizontal overflow */
html, body {
    max-width: 100vw !important;
    overflow-x: hidden !important;
}

html body * {
    max-width: 100%;
}

/* Images never escape their containers */
html body img:not(.SliderImage):not([class*="keen-slider"]):not(.rounded-circle) {
    max-width: 100%;
    height: auto;
}

/* Mobile nav — fix the dropdown list when expanded via JS */
@media (max-width: 991px) {
    /* Nav items when .forced_open drops them vertically — kill any full-width green */
    html body nav.main_nav .Contain div .forced_open,
    html body nav.main_nav .Contain div ul.forced_open {
        position: absolute !important;
        top: calc(100% + 6px);
        left: 8px;
        right: 8px;
        background: rgba(10, 10, 10, 0.96) !important;
        backdrop-filter: blur(18px) saturate(1.3);
        -webkit-backdrop-filter: blur(18px) saturate(1.3);
        border: 1px solid var(--g4-glass-border) !important;
        border-radius: var(--g4-radius-lg) !important;
        padding: 10px !important;
        margin: 0 !important;
        box-shadow: var(--g4-shadow-lg);
        z-index: 1100;
        display: flex !important;
        flex-direction: column;
        gap: 2px;
    }

    html body nav.main_nav .Contain div .forced_open li,
    html body nav.main_nav .Contain div ul.forced_open li {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1 !important;
        border-radius: var(--g4-radius-md);
        overflow: hidden;
        background: transparent !important;
    }

    html body nav.main_nav .Contain div .forced_open li a,
    html body nav.main_nav .Contain div ul.forced_open li a {
        display: block !important;
        width: 100% !important;
        padding: 12px 14px !important;
        color: var(--g4-text) !important;
        background: transparent !important;
        border-radius: var(--g4-radius-md);
        font-weight: 600;
        font-size: 14px;
        text-align: center;
        transition: all var(--g4-dur-fast) var(--g4-ease-smooth);
    }

    html body nav.main_nav .Contain div .forced_open li:hover a,
    html body nav.main_nav .Contain div .forced_open li:hover,
    html body nav.main_nav .Contain div ul.forced_open li:hover a,
    html body nav.main_nav .Contain div ul.forced_open li:hover {
        background: var(--g4-primary-soft) !important;
        color: var(--g4-primary-bright) !important;
    }

    /* The last 2 items (Register/Login) get a subtle accent instead of full-width green */
    html body nav.main_nav .Contain div .forced_open li:nth-last-child(2) a,
    html body nav.main_nav .Contain div .forced_open li:last-child a,
    html body nav.main_nav .Contain div ul.forced_open li:nth-last-child(2) a,
    html body nav.main_nav .Contain div ul.forced_open li:last-child a {
        border: 1px solid var(--g4-glass-border);
        margin-top: 4px;
    }

    html body nav.main_nav .Contain div .forced_open li:last-child a,
    html body nav.main_nav .Contain div ul.forced_open li:last-child a {
        background: var(--g4-grad-primary) !important;
        color: #0a0a0a !important;
        border-color: transparent;
        font-weight: 700;
    }

    html body nav.main_nav .Contain div .forced_open li:last-child:hover a,
    html body nav.main_nav .Contain div ul.forced_open li:last-child:hover a {
        background: var(--g4-grad-primary-hover) !important;
        color: #0a0a0a !important;
        transform: translateY(-1px);
    }

    /* Make sure nav is relative so absolute dropdown is anchored */
    html body nav.main_nav .inner_links {
        position: relative;
    }

    /* Carousel images fit viewport */
    html body .main_carousel {
        margin-top: 80px !important;
    }

    html body .main_carousel .SliderImage {
        width: 100% !important;
        height: auto !important;
        max-height: 60vh;
        object-fit: cover;
    }

    html body .main_carousel .carousel-item img {
        width: 100% !important;
        height: auto !important;
    }

    /* Services/Sports sections — prevent overflow */
    html body section.Sports,
    html body section.best_offer,
    html body section.About,
    html body section.Connect,
    html body section.notification {
        overflow-x: hidden;
    }

    html body section .container,
    html body section .container-fluid {
        max-width: 100vw;
        overflow-x: hidden;
    }

    /* Service cards in keen-slider keep their width */
    html body .keen-slider__slide {
        min-width: 0 !important;
    }

    /* Fix any rows from breaking on narrow screens */
    html body .row {
        margin-left: 0;
        margin-right: 0;
    }

    html body [class*="col-"] {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Narrow phones — even tighter controls */
@media (max-width: 560px) {
    html body nav.main_nav .container {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    html body .main_carousel {
        margin-top: 70px !important;
    }

    html body .main_carousel .SliderImage,
    html body .main_carousel .carousel-item img {
        max-height: 50vh;
    }

    /* Section padding reduce on tiny screens */
    html body section {
        padding-left: 8px;
        padding-right: 8px;
    }

    html body section h2,
    html body section h3 {
        font-size: clamp(1.25rem, 5vw, 1.8rem) !important;
    }
}

/* Extra-narrow (old Android / small iPhone SE) */
@media (max-width: 360px) {
    html body nav.main_nav .Logo img {
        width: 42px !important;
    }

    html body nav.main_nav .Toggler ul li {
        margin: 0 2px !important;
    }

    html body .main_carousel .SliderImage,
    html body .main_carousel .carousel-item img {
        max-height: 42vh;
    }
}

/* ============================================================
   V3.4 — FINAL POLISH
   - Sidebar (hamburger) toggler chip
   - Footer complete redesign
   - Service price display lockdown (no clipping)
   - Services/View hero/carousel polish
   ============================================================ */

/* ---------- 1) .nav_toggeler — glass chip button ---------- */
html body nav.main_nav .Toggler ul li .nav_toggeler {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(160,187,58,0.18), rgba(160,187,58,0.08));
    border: 1px solid rgba(160,187,58,0.35);
    color: var(--g4-primary-bright, #a0bb3a) !important;
    font-size: 1.05rem !important;
    cursor: pointer;
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease, border-color .25s ease;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

html body nav.main_nav .Toggler ul li .nav_toggeler:hover,
html body nav.main_nav .Toggler ul li .nav_toggeler:focus {
    transform: translateY(-2px) scale(1.04);
    background: linear-gradient(135deg, rgba(160,187,58,0.32), rgba(160,187,58,0.18));
    border-color: rgba(160,187,58,0.65);
    box-shadow: 0 8px 22px rgba(160,187,58,0.35);
    color: #fff !important;
}

/* Make sidebar itself a proper glass slide-in */
html body .side_bar.links_bar,
html body .side_bar.user_bar {
    background: rgba(14, 18, 12, 0.86) !important;
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    border-left: 1px solid rgba(160,187,58,0.18);
    box-shadow: -20px 0 60px rgba(0,0,0,0.55);
}

html body .side_bar .close-icon {
    color: var(--g4-primary-bright, #a0bb3a);
    background: rgba(160,187,58,0.12);
    border: 1px solid rgba(160,187,58,0.28);
    border-radius: 50%;
    width: 38px; height: 38px;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background .25s ease, transform .25s ease;
}
html body .side_bar .close-icon:hover {
    background: rgba(160,187,58,0.28);
    transform: rotate(90deg);
}

html body .side_bar.links_bar ul li a {
    display: block;
    padding: 12px 18px;
    margin: 6px 14px;
    border-radius: 12px;
    color: #e9efd8 !important;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background .25s ease, border-color .25s ease, transform .2s ease, color .25s ease;
}
html body .side_bar.links_bar ul li a:hover {
    background: linear-gradient(135deg, rgba(160,187,58,0.22), rgba(160,187,58,0.08));
    border-color: rgba(160,187,58,0.4);
    color: #fff !important;
    transform: translateX(-4px);
}

/* ---------- 2) FOOTER — complete redesign ---------- */
html body footer {
    position: relative;
    margin-top: 80px;
    padding: 64px 0 0;
    background:
        radial-gradient(1200px 400px at 10% 0%, rgba(160,187,58,0.10), transparent 60%),
        radial-gradient(900px 320px at 90% 20%, rgba(160,187,58,0.06), transparent 60%),
        linear-gradient(180deg, #0d1109 0%, #070904 100%);
    color: #d5dcc2;
    border-top: 1px solid rgba(160,187,58,0.22);
    overflow: hidden;
}

html body footer::before {
    content: "";
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(160,187,58,0.6), transparent);
}

html body footer .container { position: relative; z-index: 1; }

html body footer h6 {
    position: relative;
    color: #fff !important;
    font-weight: 800 !important;
    font-size: 1.05rem !important;
    letter-spacing: 0.3px;
    margin: 0 0 20px !important;
    padding-bottom: 12px;
    text-transform: none;
}
html body footer h6::after {
    content: "";
    position: absolute; bottom: 0; inset-inline-start: 0;
    width: 42px; height: 3px; border-radius: 3px;
    background: linear-gradient(90deg, var(--g4-primary, #8aa32e), var(--g4-primary-bright, #a0bb3a));
}

html body footer ul {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}
html body footer ul li {
    margin: 0 0 10px !important;
    padding: 0 !important;
    list-style: none !important;
    background: transparent !important;
}

html body footer ul li a,
html body footer .g4-footer-social a,
html body footer a {
    color: #c8d1b1 !important;
    text-decoration: none !important;
    border-bottom: none !important;
    transition: color .25s ease, transform .25s ease, padding .25s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.7;
}

html body footer ul li a i,
html body footer .g4-footer-social a i {
    color: var(--g4-primary-bright, #a0bb3a) !important;
    font-size: 0.85em;
    min-width: 18px;
    text-align: center;
    transition: transform .25s ease;
}

html body footer ul li a:hover,
html body footer .g4-footer-social a:hover {
    color: #fff !important;
    transform: translateX(4px);
}
[dir="rtl"] html body footer ul li a:hover,
[dir="rtl"] html body footer .g4-footer-social a:hover {
    transform: translateX(-4px);
}
html body footer ul li a:hover i,
html body footer .g4-footer-social a:hover i { transform: scale(1.2); }

/* Contact column */
html body footer .g4-footer-contact ul li a i {
    width: 32px; height: 32px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(160,187,58,0.12);
    border: 1px solid rgba(160,187,58,0.28);
    border-radius: 10px;
    color: var(--g4-primary-bright, #a0bb3a) !important;
}

/* Social pills */
html body footer .g4-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
html body footer .g4-footer-social a {
    padding: 8px 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(160,187,58,0.25);
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    color: #d5dcc2 !important;
}
html body footer .g4-footer-social a:hover {
    background: linear-gradient(135deg, rgba(160,187,58,0.28), rgba(160,187,58,0.12));
    border-color: rgba(160,187,58,0.6);
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(160,187,58,0.25);
}
html body footer .g4-footer-social a i {
    font-size: 1rem;
    min-width: 0;
    background: transparent !important;
    border: none !important;
    width: auto !important; height: auto !important;
    padding: 0 !important;
}

/* HR divider */
html body footer hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(160,187,58,0.5), transparent);
    margin: 40px 0 0;
}

/* Copyright */
html body footer .g4-copyright,
html body footer > p {
    text-align: center;
    padding: 22px 12px 26px;
    margin: 0 !important;
    font-size: 0.88rem;
    color: #a8b191;
    letter-spacing: 0.3px;
}
html body footer .g4-copyright strong,
html body footer > p strong {
    background: linear-gradient(135deg, var(--g4-primary-bright, #a0bb3a), var(--g4-primary, #8aa32e));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: 800;
    margin: 0 4px;
}

/* Footer responsive */
@media (max-width: 767px) {
    html body footer { padding: 48px 0 0; margin-top: 50px; }
    html body footer h6 { font-size: 1rem !important; margin-bottom: 14px !important; }
    html body footer .g4-footer-social a { font-size: 0.8rem; padding: 7px 12px; }
}

/* ---------- 3) Service page — PRICE DISPLAY (no clipping) ---------- */
html body .price-section {
    display: block;
    overflow: visible !important;
}
html body .price-section .d-flex,
html body .price-section .text-center {
    flex-wrap: wrap !important;
    gap: 14px 20px;
    row-gap: 10px;
    overflow: visible !important;
}

html body .price-section .original-price,
html body .price-section .offer-price,
html body .price-section .old-price {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    line-height: 1.2 !important;
    white-space: nowrap;
    padding: 4px 0;
    overflow: visible !important;
    /* ensure gradient-clipped text does not cut descenders */
    padding-bottom: 6px;
}

html body .price-section .original-price img,
html body .price-section .offer-price img,
html body .price-section .old-price img {
    width: 22px !important;
    height: auto;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(160,187,58,0.35));
}

html body .total-price {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    overflow: visible !important;
}
html body .total-price span {
    display: inline-block;
    line-height: 1.25 !important;
    padding: 0 2px 4px;
    overflow: visible !important;
    white-space: nowrap;
}
html body .total-price img { flex-shrink: 0; }

/* Mobile: allow price wrap and keep icons visible */
@media (max-width: 560px) {
    html body .price-section .original-price { font-size: 1.35rem !important; }
    html body .price-section .offer-price { font-size: 1.2rem !important; }
    html body .price-section .old-price { font-size: 0.9rem !important; margin-left: 0 !important; }
    html body .price-section .d-flex { justify-content: center !important; }
}

/* ---------- 4) Service view — image / carousel polish ---------- */
html body .main_carousel {
    box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
html body .main_carousel .carousel-inner { background: rgba(0,0,0,0.25); }
html body .main_carousel .carousel-item {
    display: flex; align-items: center; justify-content: center;
    min-height: 320px;
}
html body .main_carousel .carousel-item img {
    max-height: 460px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    margin: 0 auto !important;
}

html body .main_carousel .carousel-control-prev-icon,
html body .main_carousel .carousel-control-next-icon {
    background-color: rgba(160,187,58,0.85);
    border-radius: 50%;
    padding: 22px;
    background-size: 55% 55%;
}

@media (max-width: 767px) {
    html body .main_carousel .carousel-item { min-height: 220px; }
    html body .main_carousel .carousel-item img { max-height: 52vh !important; }
}

/* Better breadcrumb chip feel */
html body .breadcrumb {
    background: rgba(255,255,255,0.03) !important;
    border: 1px solid var(--g4-glass-border, rgba(255,255,255,0.08));
    border-radius: 30px !important;
    padding: 10px 18px !important;
    display: inline-flex !important;
    margin-top: 14px !important;
}

/* Selection chips — brighter active state */
html body .selection-options {
    justify-content: center !important;
}

/* Ensure add-to-cart button fully readable on narrow screens */
@media (max-width: 420px) {
    html body .add-to-cart-btn {
        padding: 12px 22px !important;
        font-size: 0.9rem !important;
        letter-spacing: 0.5px !important;
    }
    html body .page-title { font-size: 1.45rem !important; }
}

/* ============================================================
   V3.5 — TARGETED FIXES (user-reported)
   1) Sidebar width + full category names
   2) Profile sidebar top padding (clears navbar)
   3) Service card enlarged + price never clipped
   4) Section titles (.Sports h2) always white
   5) Partners logos — light card + invert dark logos
   6) Notifications: click-toggle (JS handles .open)
   7) Cart/Orders buttons — green theme gradient
   ============================================================ */

/* ---------- 1) Sidebar wider + readable ---------- */
html body .side_bar.links_bar {
    width: 290px !important;
    padding-top: 100px !important;
}

html body .side_bar.links_bar ul { padding: 0 !important; margin: 0 !important; }

html body .side_bar.links_bar ul li {
    margin: 6px 12px !important;
    padding: 0 !important;
    line-height: 1.45 !important;
}

html body .side_bar.links_bar ul li a {
    display: block !important;
    padding: 13px 16px !important;
    font-size: 0.98rem !important;
    font-weight: 600 !important;
    white-space: normal !important;      /* allow wrap if name is long */
    word-break: break-word;
    line-height: 1.4 !important;
    text-align: inherit !important;
    border-radius: 12px !important;
}

@media (max-width: 420px) {
    html body .side_bar.links_bar { width: 82vw !important; }
}

/* ---------- 2) Profile (user) sidebar clears navbar ---------- */
html body .side_bar.user_bar {
    width: 300px !important;
    padding-top: 110px !important;   /* navbar height + breathing room */
}

@media (max-width: 420px) {
    html body .side_bar.user_bar { width: 86vw !important; padding-top: 100px !important; }
}

html body .side_bar.user_bar > a img {
    width: 96px !important;
    height: 96px !important;
    margin-top: 6px;
}

/* ---------- 3) Service card (Home keen slider) ----------
   NOTE: Do NOT override min/max-width — keen-slider controls slide width
   via perView. We only relax height + overflow so the second price fits. */
html body section.Sports .keen-slider__slide.slide-content,
html body .slide-content {
    height: auto !important;              /* was 250px in style.css */
    overflow: visible !important;         /* was hidden — clipped the offer price */
    display: flex !important;
    flex-direction: column;
    border-radius: 20px !important;
    padding-bottom: 14px;
    box-sizing: border-box;
}

html body section.Sports .keen-slider__slide.slide-content .img-slider,
html body .slide-content .img-slider {
    width: 100%;
    height: 170px !important;
    object-fit: contain !important;    /* show the full image, no crop */
    object-position: center;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px 16px 0 0;
    display: block;
    padding: 8px;
    flex-shrink: 0;
}

html body section.Sports .keen-slider__slide.slide-content .Tools,
html body .slide-content .Tools {
    padding: 14px 14px 6px;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    flex: 1 1 auto;
    min-height: 0;
}

html body section.Sports .keen-slider__slide.slide-content .Tools .main_info h6,
html body .slide-content .Tools .main_info h6 {
    font-size: 0.98rem !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    min-height: 2.4em;
    max-height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-align: center;
    word-break: break-word;
}

/* Price stack: two lines fit cleanly inside the card */
html body section.Sports .keen-slider__slide.slide-content .Tools > div[style*="flex-direction: column"],
html body .slide-content .Tools > div[style*="flex-direction: column"] {
    overflow: visible !important;
    padding: 2px 0 0 !important;
    gap: 2px !important;
    line-height: 1.2 !important;
}

/* Strike-through "old" price row */
html body .slide-content .Tools > div[style*="flex-direction: column"] > span {
    line-height: 1.25 !important;
    padding: 1px 0 !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

html body .slide-content .Tools > div[style*="flex-direction: column"] > span img {
    flex-shrink: 0;
}

html body section.Sports .keen-slider__slide.slide-content .Tools .main_info h6 a {
    color: #fff !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

/* gradient price must not clip descenders */
html body .g4-gradient-text {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    line-height: 1.35 !important;
    padding: 2px 2px 6px !important;
    overflow: visible !important;
    white-space: nowrap;
}

html body section.Sports .keen-slider__slide .Tools > div[style*="flex-direction: column"] {
    overflow: visible !important;
    padding: 6px 0 4px !important;
}

/* ---------- 4) Section title visibility (home categories) ---------- */
html body section.Sports > .container > h2.h3,
html body section.Sports > .container > h2.h3 a,
html body section.Sports > .container > h2.h3 span {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

/* Ensure RTL alignment for section title */
[dir="rtl"] html body section.Sports > .container > h2.h3,
html[dir="rtl"] body section.Sports > .container > h2.h3,
body[dir="rtl"] section.Sports > .container > h2.h3,
html body section.Sports > .container > h2.h3.text-right {
    text-align: right !important;
}

[dir="ltr"] html body section.Sports > .container > h2.h3 {
    text-align: left !important;
}

html body section.Sports > .container > h2.h3 a:hover,
html body section.Sports > .container > h2.h3 a:hover span {
    color: var(--g4-primary-bright, #a0bb3a) !important;
    -webkit-text-fill-color: var(--g4-primary-bright, #a0bb3a) !important;
}

/* ---------- 5) Partners logos — NO white background, invert to white ---------- */
html body #success-partners .Parteners {
    background: transparent !important;
    border-radius: 16px;
    padding: 18px 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    min-height: 140px;
}

html body #success-partners .Parteners:hover {
    background: rgba(160, 187, 58, 0.06) !important;
    border-color: rgba(160, 187, 58, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

/* Keep partner logos in their NATURAL colors — no invert, no filter, no blend.
   The old design displayed them as-is and the user wants that restored. */
html body #success-partners .Parteners img {
    max-height: 100px;
    filter: none !important;
    -webkit-filter: none !important;
    mix-blend-mode: normal !important;
    opacity: 1 !important;
    background: transparent !important;
    transition: transform .25s ease;
}

html body #success-partners .Parteners:hover img {
    transform: scale(1.04);
}

/* ============================================================
   V3.6b — SubCategories/View category title fix
   ============================================================ */

/* Kill any inline gray on card wrapper (defense in depth) */
html body .Spicial .spicial_items .card {
    background: var(--g4-glass-bg-strong, rgba(255,255,255,0.04)) !important;
    background-color: transparent !important;
    border-radius: 20px !important;
    margin-bottom: 1.5rem;
}

/* Card header: transparent base, proper title block */
html body .Spicial .spicial_items .card .card-header {
    background: linear-gradient(135deg, rgba(160,187,58,0.10), rgba(160,187,58,0.02)) !important;
    border-bottom: 1px solid var(--g4-glass-border, rgba(255,255,255,0.08)) !important;
    padding: 1.25rem 1.5rem !important;
    display: block !important;
}

/* The title itself — must follow page direction */
html body .Spicial .spicial_items .card .card-header h2 {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    display: block !important;
    width: 100% !important;
    background: none !important;
}

/* Neutralize the gradient h2 > span from base typography
   and any ::after underline on the inner spans */
html body .Spicial .spicial_items .card .card-header h2 span,
html body .Spicial .spicial_items .card .card-header h2 span span {
    background: none !important;
    -webkit-text-fill-color: #fff !important;
    color: #fff !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline !important;
    font-weight: 800 !important;
}

html body .Spicial .spicial_items .card .card-header h2 span::after,
html body .Spicial .spicial_items .card .card-header h2 span::before,
html body .Spicial .spicial_items .card .card-header h2 span span::after,
html body .Spicial .spicial_items .card .card-header h2 span span::before {
    display: none !important;
    content: none !important;
}

/* Direction-aware alignment — this is the actual fix for "left in Arabic" */
[dir="rtl"] html body .Spicial .spicial_items .card .card-header h2,
html[dir="rtl"] body .Spicial .spicial_items .card .card-header h2,
body[dir="rtl"] .Spicial .spicial_items .card .card-header h2,
html body .Spicial .spicial_items .card .card-header h2.text-right {
    text-align: right !important;
    direction: rtl !important;
}

[dir="ltr"] html body .Spicial .spicial_items .card .card-header h2,
html[dir="ltr"] body .Spicial .spicial_items .card .card-header h2,
body[dir="ltr"] .Spicial .spicial_items .card .card-header h2 {
    text-align: left !important;
    direction: ltr !important;
}

/* Kill the legacy `padding-right: 0` rule that made RTL title stick to center/left */
html body .Spicial .spicial_items .card .card-header {
    padding-right: 1.5rem !important;
}


html body #success-partners h2 {
    color: #fff !important;
    font-weight: 800 !important;
}

/* ---------- 6) Notifications dropdown — click-toggle ---------- */
/* Kill the hover-trigger; JS will add .open on click */
html body .main_nav .Contain div.Toggler .note:hover .notifications {
    display: none !important;
}
html body .main_nav .Contain div.Toggler .note.open .notifications,
html body .main_nav .note.open .notifications {
    display: block !important;
}

html body .main_nav .note {
    cursor: pointer;
}

html body .main_nav .note .notifications li {
    cursor: pointer;
    transition: background .2s ease;
}
html body .main_nav .note .notifications li:hover {
    background: rgba(160, 187, 58, 0.08);
}

/* ---------- 7) Cart & Orders buttons ---------- */
html body section.Cart .btn-success,
html body .cart_total .btn-success,
html body .Cart .btn.btn-success {
    background: linear-gradient(135deg, var(--g4-primary, #8aa32e), var(--g4-primary-bright, #a0bb3a)) !important;
    border: none !important;
    color: #0a0a0a !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    padding: 10px 22px !important;
    box-shadow: 0 8px 20px rgba(160, 187, 58, 0.30) !important;
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease !important;
}

html body section.Cart .btn-success:hover,
html body .Cart .btn.btn-success:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 14px 28px rgba(160, 187, 58, 0.42) !important;
    color: #0a0a0a !important;
}

html body section.Cart .btn-danger {
    background: linear-gradient(135deg, #c0392b, #e74c3c) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    padding: 10px 22px !important;
}

/* Kill inline white backgrounds from the coupon td */
html body section.Cart td[style*="background-color:white"],
html body section.Cart td[style*="background-color: white"] {
    background-color: transparent !important;
}

html body section.Cart .table,
html body section.Cart .table td,
html body section.Cart .table th {
    background-color: transparent !important;
    color: #e9efd8 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    vertical-align: middle;
}

html body section.Cart .table thead.bg-dark,
html body section.Cart .table thead.bg-dark td {
    background: rgba(160, 187, 58, 0.12) !important;
    color: #fff !important;
    font-weight: 700;
    border-bottom: 1px solid rgba(160, 187, 58, 0.28) !important;
}

html body section.Cart .table.table-striped tbody tr:nth-of-type(odd) td {
    background-color: rgba(255, 255, 255, 0.02) !important;
}

