/* =========================================================
   MOTOTOP.EG — CLEAN PROFESSIONAL STYLE
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background: #090b10;
    color: #fff;
    font-family: Arial, "Tahoma", sans-serif;
    direction: rtl;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font-family: inherit;
}

button {
    border: 0;
}

/* =========================================================
   COLORS
   ========================================================= */

:root {
    --red: #b80f16;
    --red-dark: #8f0b11;
    --red-light: #e3292f;
    --black: #090b10;
    --black-2: #101319;
    --white: #fff;
    --muted: #c9cbd0;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    width: 100%;
    position: relative;
    z-index: 1000;
    background: var(--red);
    color: var(--white);
    box-shadow: 0 4px 18px rgba(0, 0, 0, .18);
}

/* ---------- Top row ---------- */

.header-top {
    width: 100%;
    min-height: 76px;
    padding: 10px 28px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    direction: ltr;
    background:
        linear-gradient(135deg, rgba(255,255,255,.025), transparent 45%),
        var(--red);
}

/* =========================================================
   BRAND
   Logo LEFT + Name RIGHT
   ========================================================= */

.brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    gap: 11px;
    direction: ltr;
    flex-shrink: 0;

    transition: transform .2s ease, opacity .2s ease;
}

.brand:hover {
    opacity: .95;
    transform: translateY(-1px);
}

/* Circular logo */

.brand-logo {
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    border-radius: 50%;

    background: #17191e;
    border: 2px solid rgba(255,255,255,.72);

    box-shadow:
        0 4px 12px rgba(0,0,0,.30),
        inset 0 0 0 2px rgba(255,255,255,.06);
}

.brand-logo img {
    width: 100%;
    height: 100%;
    display: block;

    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}

/* Professional brand name */

.brand-name {
    display: inline-flex;
    align-items: baseline;

    color: #fff;

    font-family: Arial, "Tahoma", sans-serif;
    font-size: 21px;
    font-weight: 900;

    line-height: 1;
    letter-spacing: -0.7px;
    white-space: nowrap;

    direction: ltr;

    text-shadow: 0 2px 4px rgba(0,0,0,.28);
}

.brand-name span {
    margin-left: 2px;
    color: #ffb4b6;
    font-weight: 900;
}

/* =========================================================
   DESKTOP NAV
   ========================================================= */

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 28px;
    margin: 0 auto;

    direction: rtl;
}

.desktop-nav a {
    position: relative;

    color: #fff;
    font-size: 15px;
    font-weight: 700;

    padding: 12px 2px;
    white-space: nowrap;

    transition: color .2s ease, opacity .2s ease;
}

.desktop-nav a:hover {
    color: #ffd9da;
}

.desktop-nav a.active::after {
    content: "";
    position: absolute;

    left: 0;
    right: 0;
    bottom: 3px;

    height: 3px;
    border-radius: 10px;

    background: #fff;
}

/* =========================================================
   HEADER ACTIONS
   ========================================================= */

.header-actions {
    display: flex;
    align-items: center;
    gap: 5px;

    direction: ltr;
    flex-shrink: 0;
}

/* Hide the small search icon.
   The large search bar below is the ONLY search control. */

.icon-button {
    display: none !important;
}

.cart-button {
    position: relative;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    border-radius: 50%;

    transition: background .2s ease, transform .2s ease;
}

.cart-button:hover {
    background: rgba(255,255,255,.12);
    transform: translateY(-1px);
}

.cart-button svg {
    width: 25px;
    height: 25px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;

    min-width: 17px;
    height: 17px;
    padding: 0 4px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #fff;
    color: var(--red);

    font-size: 10px;
    font-weight: 900;
}

/* Menu */

.menu-toggle {
    width: 42px;
    height: 42px;

    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;

    background: transparent;
    color: #fff;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2.5px;

    display: block;
    border-radius: 10px;

    background: #fff;
    transition: .2s ease;
}

/* =========================================================
   SEARCH
   ========================================================= */

.header-search {
    display: none;

    width: 100%;
    padding: 9px 18px 14px;

    background: var(--red);
}

.header-search form {
    width: 100%;
    height: 50px;

    display: flex;
    align-items: center;

    direction: rtl;

    background: #fff;
    border: 3px solid rgba(255,255,255,.75);
    border-radius: 30px;
    overflow: hidden;

    box-shadow: 0 5px 15px rgba(0,0,0,.16);
}

.header-search input {
    flex: 1;
    min-width: 0;
    height: 100%;

    padding: 0 14px;

    border: 0;
    outline: 0;

    background: transparent;
    color: #222;

    font-size: 14px;
    text-align: right;
}

.header-search input::placeholder {
    color: #929292;
}

.header-search button {
    height: 42px;
    min-width: 76px;

    margin-right: 3px;
    padding: 0 17px;

    border-radius: 24px;

    background: var(--red);
    color: #fff;

    font-size: 14px;
    font-weight: 900;

    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.header-search button:hover {
    background: var(--red-dark);
}

.search-icon {
    width: 20px;
    height: 20px;

    margin-right: 13px;
    flex-shrink: 0;

    fill: none;
    stroke: #777;
    stroke-width: 2;
}

/* =========================================================
   HERO
   ========================================================= */

main {
    width: 100%;
}

.hero {
    position: relative;

    width: 100%;
    min-height: calc(100vh - 76px);

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 42%,
            rgba(184,15,22,.16),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #11141a 0%,
            #080a0f 100%
        );
}

/* Soft red glow */

.hero::before {
    content: "";

    position: absolute;

    width: 430px;
    height: 430px;

    left: 50%;
    top: 45%;

    transform: translate(-50%, -50%);

    background: radial-gradient(
        circle,
        rgba(184,15,22,.13),
        transparent 68%
    );

    pointer-events: none;
}

/* Subtle decorative line */

.hero::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    left: -90px;
    bottom: -90px;

    border: 1px solid rgba(184,15,22,.13);
    border-radius: 50%;

    box-shadow:
        0 0 0 35px rgba(184,15,22,.035),
        0 0 0 70px rgba(184,15,22,.02);

    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;

    width: min(900px, 92%);
    margin: auto;

    padding: 70px 20px;

    text-align: center;
    direction: rtl;
}

/* =========================================================
   HERO BRAND BADGE
   ========================================================= */

.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 34px;
    padding: 7px 17px;
    margin-bottom: 22px;

    border-radius: 30px;

    background: linear-gradient(
        135deg,
        rgba(184,15,22,.24),
        rgba(184,15,22,.08)
    );

    border: 1px solid rgba(255,120,124,.42);

    color: #fff;

    font-size: 13px;
    font-weight: 900;

    direction: ltr;
    letter-spacing: .4px;

    box-shadow:
        0 6px 18px rgba(0,0,0,.14),
        inset 0 0 12px rgba(255,255,255,.025);
}

/* =========================================================
   HERO TITLE
   ========================================================= */

.hero h1 {
    margin: 0 auto 20px;
    max-width: 850px;

    color: #fff;

    font-size: clamp(36px, 6vw, 68px);
    font-weight: 900;

    line-height: 1.2;
    letter-spacing: -1.5px;

    text-shadow: 0 4px 16px rgba(0,0,0,.42);
}

/* Red line under title */

.hero h1::after {
    content: "";

    display: block;

    width: 58px;
    height: 4px;

    margin: 18px auto 0;

    border-radius: 10px;

    background: var(--red-light);

    box-shadow:
        0 0 12px rgba(227,41,47,.28);
}

/* Hero description */

.hero p {
    max-width: 680px;

    margin: 0 auto 30px;

    color: #d7d9dd;

    font-size: 17px;
    line-height: 1.9;
    font-weight: 500;
}

/* =========================================================
   HERO BUTTONS
   ========================================================= */

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;
    flex-wrap: wrap;

    direction: rtl;
}

/* Hide Contact button from Hero */

.hero-btn.secondary {
    display: none !important;
}

.hero-btn {
    min-width: 190px;
    min-height: 52px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 24px;

    border-radius: 11px;

    background: linear-gradient(
        135deg,
        #d51b22,
        #a90d13
    );

    color: #fff;

    font-size: 15px;
    font-weight: 900;

    cursor: pointer;

    border: 1px solid rgba(255,255,255,.08);

    box-shadow:
        0 9px 25px rgba(184,15,22,.22),
        inset 0 1px 0 rgba(255,255,255,.12);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        filter .2s ease;
}

.hero-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);

    box-shadow:
        0 12px 30px rgba(184,15,22,.30),
        inset 0 1px 0 rgba(255,255,255,.15);
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

    /* HEADER */

    .site-header {
        background: var(--red);
    }

    .header-top {
        min-height: 68px;
        height: 68px;

        padding: 8px 12px;

        display: flex;
        align-items: center;
        justify-content: space-between;

        direction: ltr;
    }

    /* Brand LEFT */

    .brand {
        order: 1;

        display: flex;
        align-items: center;
        justify-content: flex-start;

        flex-direction: row;
        gap: 8px;

        margin: 0;
        padding: 0;

        direction: ltr;
        flex-shrink: 0;
    }

    .brand-logo {
        width: 44px;
        height: 44px;

        min-width: 44px;
        min-height: 44px;

        border-width: 2px;

        box-shadow:
            0 3px 9px rgba(0,0,0,.30);
    }

    .brand-name {
        font-size: 17px;
        letter-spacing: -.55px;
        line-height: 1;
    }

    .brand-name span {
        color: #ffb4b6;
    }

    /* Actions RIGHT */

    .header-actions {
        order: 2;

        margin-left: auto;

        display: flex;
        align-items: center;

        gap: 2px;
        direction: ltr;
    }

    .icon-button {
        display: none !important;
    }

    .cart-button,
    .menu-toggle {
        width: 38px;
        height: 38px;
    }

    .cart-button svg {
        width: 23px;
        height: 23px;
    }

    .cart-count {
        top: 0;
        right: 0;
    }

    .menu-toggle {
        display: flex;
        padding: 0;
    }

    .menu-toggle span {
        width: 23px;
        height: 2.5px;
    }

    /* SEARCH — only one search */

    .header-search {
        display: block;

        padding: 8px 12px 12px;
        background: var(--red);
    }

    .header-search form {
        height: 46px;
        border-width: 3px;
        border-radius: 28px;
    }

    .header-search input {
        font-size: 13px;
        padding: 0 10px;
    }

    .header-search button {
        height: 38px;
        min-width: 64px;

        padding: 0 14px;

        font-size: 13px;
    }

    .search-icon {
        width: 18px;
        height: 18px;
        margin-right: 9px;
    }

    /* Desktop nav hidden */

    .desktop-nav {
        display: none;
    }

    /* HERO */

    .hero {
        min-height: calc(100vh - 126px);
        width: 100%;

        align-items: center;

        background:
            radial-gradient(
                circle at 50% 42%,
                rgba(184,15,22,.14),
                transparent 36%
            ),
            linear-gradient(
                180deg,
                #11141a 0%,
                #080a0f 100%
            );
    }

    .hero-content {
        width: 100%;
        padding: 58px 20px 72px;
    }

    .hero-badge {
        min-height: 30px;

        padding: 6px 13px;
        margin-bottom: 18px;

        font-size: 11px;
    }

    .hero h1 {
        max-width: 100%;

        margin-bottom: 18px;

        font-size: clamp(29px, 8vw, 42px);
        line-height: 1.3;
        letter-spacing: -1px;
    }

    .hero h1::after {
        width: 46px;
        height: 3px;
        margin-top: 13px;
    }

    .hero p {
        max-width: 340px;

        margin-bottom: 25px;

        font-size: 13px;
        line-height: 1.9;
    }

    .hero-buttons {
        width: 100%;

        flex-direction: column;
        gap: 10px;
    }

    .hero-btn {
        width: min(100%, 290px);

        min-height: 50px;
        border-radius: 11px;

        font-size: 14px;
    }

    .hero-btn.secondary {
        display: none !important;
    }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .header-top {
        padding-left: 10px;
        padding-right: 10px;
    }

    .brand {
        gap: 8px;
    }

    .brand-logo {
        width: 42px;
        height: 42px;

        min-width: 42px;
        min-height: 42px;
    }

    .brand-name {
        font-size: 16px;
    }

    .header-actions {
        gap: 0;
    }

    .cart-button,
    .menu-toggle {
        width: 36px;
        height: 36px;
    }

    .header-search {
        padding-left: 10px;
        padding-right: 10px;
    }

    .hero-content {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 12.5px;
    }

    .hero-btn {
        width: min(100%, 285px);
    }
}

/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 360px) {

    .brand-name {
        font-size: 14px;
    }

    .brand-logo {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
    }

    .hero h1 {
        font-size: 27px;
    }

    .hero-btn {
        width: 100%;
    }
}
/* =========================
   HERO - FINAL MOBILE STYLE
   ========================= */

.hero {
    position: relative;
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px 70px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(180, 25, 25, 0.16),
            transparent 45%
        ),
        #09090d;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.10),
            rgba(0, 0, 0, 0.35)
        );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 700px;
    text-align: center;
    direction: rtl;
    margin-top: 0;
}

/* MOTOTOP.EG */
.hero-kicker {
    display: inline-block;
    margin-bottom: 14px;
    padding: 7px 16px;

    color: #ffffff;
    background: rgba(120, 15, 15, 0.28);

    border: 1px solid rgba(230, 45, 45, 0.45);
    border-radius: 30px;

    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* Main title */
.hero h1 {
    margin: 0;
    color: #ffffff;

    font-size: clamp(34px, 9vw, 58px);
    line-height: 1.25;
    font-weight: 900;

    text-shadow:
        0 3px 15px rgba(0, 0, 0, 0.65);
}

.hero h1 span {
    color: #e51f2a;
}

/* Red line under title */
.hero h1::after {
    content: "";
    display: block;

    width: 55px;
    height: 4px;

    margin: 16px auto 22px;

    background: #e51f2a;
    border-radius: 10px;

    box-shadow: 0 0 14px rgba(229, 31, 42, 0.45);
}

/* Description */
.hero p {
    max-width: 560px;
    margin: 0 auto;

    color: rgba(255, 255, 255, 0.82);

    font-size: 15px;
    line-height: 2;

    font-weight: 400;
}

/* Buttons */
.hero-buttons {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

/* Shop button */
.hero-primary {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 210px;
    min-height: 54px;

    padding: 14px 28px;

    color: #ffffff !important;
    background: linear-gradient(
        135deg,
        #b91620,
        #e51f2a
    );

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;

    text-decoration: none;
    font-size: 16px;
    font-weight: 800;

    box-shadow:
        0 10px 30px rgba(229, 31, 42, 0.25);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.hero-primary:hover {
    transform: translateY(-3px);

    background: linear-gradient(
        135deg,
        #e51f2a,
        #b91620
    );

    box-shadow:
        0 14px 35px rgba(229, 31, 42, 0.35);
}

.hero-primary:active {
    transform: scale(0.97);
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 600px) {

    .hero {
        min-height: calc(100vh - 120px);
        padding: 35px 18px 55px;
    }

    .hero-content {
        margin-top: 0;
    }

    .hero-kicker {
        font-size: 12px;
        padding: 6px 14px;
        margin-bottom: 12px;
    }

    .hero h1 {
        font-size: 34px;
        line-height: 1.35;
    }

    .hero h1::after {
        width: 48px;
        height: 3px;
        margin: 13px auto 18px;
    }

    .hero p {
        font-size: 13px;
        line-height: 1.9;
        max-width: 330px;
    }

    .hero-buttons {
        margin-top: 26px;
    }

   .hero-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 210px;
    height: 54px;

    color: #fff !important;
    background: linear-gradient(135deg, #b5121b, #d91f2b);

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;

    text-decoration: none;
    font-size: 16px;
    font-weight: 800;

    box-shadow:
        0 8px 20px rgba(180, 15, 25, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);

    transition: all 0.25s ease;
}

.hero-primary:hover {
    transform: translateY(-2px);

    background: linear-gradient(135deg, #d91f2b, #b5121b);

    box-shadow:
        0 12px 28px rgba(180, 15, 25, 0.38);
}

.hero-primary:active {
    transform: scale(0.97);
}
/* =========================================================
   SERVICES SECTION
========================================================= */

.services-section {
    width: 100%;

    padding: 75px 18px 90px;

    background:
        linear-gradient(
            180deg,
            #090b10 0%,
            #0d1016 100%
        );

    direction: rtl;
}


/* Section Heading */

.section-heading {
    max-width: 650px;

    margin: 0 auto 35px;

    text-align: center;
}

.section-heading span {
    display: inline-block;

    margin-bottom: 9px;

    color: #d91418;

    font-size: 12px;
    font-weight: 900;
}

.section-heading h2 {
    margin: 0;

    color: #fff;

    font-size: 29px;
    font-weight: 900;
}

.section-heading p {
    margin: 11px auto 0;

    color: #aeb1b7;

    font-size: 13px;

    line-height: 1.8;
}


/* Cards Grid */

.services-grid {
    width: 100%;
    max-width: 1050px;

    margin: auto;

    display: grid;

    grid-template-columns: 1fr;

    gap: 14px;
}


/* Card */

.service-card {
    position: relative;

    min-height: 145px;

    padding: 22px 20px;

    display: flex;
    align-items: center;

    gap: 15px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #15181f,
            #0d0f14
        );

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 15px;

    box-shadow:
        0 8px 25px rgba(0,0,0,.18);

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}


/* Red line */

.service-card::before {
    content: "";

    position: absolute;

    top: 0;
    right: 0;

    width: 4px;
    height: 100%;

    background: #d91418;

    transform: scaleY(.45);

    transform-origin: center;

    transition: transform .25s ease;
}


/* Icon */

.service-icon {
    width: 58px;
    height: 58px;

    min-width: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: rgba(217,20,24,.10);

    border: 1px solid rgba(217,20,24,.25);

    font-size: 26px;

    transition:
        transform .25s ease,
        background .25s ease;
}


/* Content */

.service-content {
    flex: 1;

    min-width: 0;
}

.service-content h3 {
    margin-bottom: 7px;

    color: #fff;

    font-size: 17px;
    font-weight: 900;
}

.service-content p {
    margin: 0;

    color: #aeb1b7;

    font-size: 11px;

    line-height: 1.8;
}


/* Arrow */

.service-arrow {
    width: 30px;
    height: 30px;

    min-width: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255,255,255,.05);

    color: #d91418;

    font-size: 17px;

    transition:
        transform .25s ease,
        background .25s ease;
}


/* Hover */

.service-card:hover {
    transform: translateY(-4px);

    border-color: rgba(217,20,24,.35);

    box-shadow:
        0 14px 30px rgba(0,0,0,.28);
}

.service-card:hover::before {
    transform: scaleY(1);
}

.service-card:hover .service-icon {
    transform: scale(1.05);

    background: rgba(217,20,24,.18);
}

.service-card:hover .service-arrow {
    transform: translateX(-4px);

    background: rgba(217,20,24,.12);
}


/* =========================================================
   TABLET / DESKTOP
========================================================= */

@media (min-width: 700px) {

    .services-section {
        padding: 90px 30px 110px;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);

        gap: 18px;
    }

    .service-card {
        min-height: 250px;

        padding: 28px;

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        justify-content: center;

        gap: 18px;
    }

    .service-icon {
        width: 64px;
        height: 64px;

        min-width: 64px;

        font-size: 28px;
    }

    .service-content h3 {
        font-size: 18px;
    }

    .service-content p {
        font-size: 12px;
    }

    .service-arrow {
        position: absolute;

        left: 20px;
        bottom: 20px;
    }
}
/* =========================================================
   FEATURED PRODUCTS
========================================================= */

.featured-section {
    width: 100%;

    padding: 65px 18px 80px;

    background: #090b10;

    direction: rtl;
}

.featured-section .section-heading {
    max-width: 650px;

    margin: 0 auto 32px;

    text-align: center;
}

.featured-section .section-heading span {
    display: inline-block;

    margin-bottom: 8px;

    color: #d91418;

    font-size: 12px;
    font-weight: 900;
}

.featured-section .section-heading h2 {
    margin: 0;

    color: #fff;

    font-size: 29px;
    font-weight: 900;
}

.featured-section .section-heading p {
    margin: 10px auto 0;

    color: #aeb1b7;

    font-size: 13px;
    line-height: 1.8;
}


/* مكان المنتجات */

.featured-products {
    width: 100%;
    max-width: 1050px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}


/* حالة عدم وجود منتجات */

.products-empty {
    grid-column: 1 / -1;

    min-height: 210px;

    padding: 35px 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-direction: column;

    text-align: center;

    background:
        linear-gradient(
            145deg,
            #15181f,
            #0d0f14
        );

    border: 1px dashed rgba(217,20,24,.35);

    border-radius: 16px;
}

.products-empty-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 14px;

    border-radius: 50%;

    background: rgba(217,20,24,.10);

    font-size: 25px;
}

.products-empty h3 {
    margin-bottom: 7px;

    color: #fff;

    font-size: 17px;
    font-weight: 900;
}

.products-empty p {
    max-width: 430px;

    margin: 0;

    color: #92969e;

    font-size: 12px;

    line-height: 1.8;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .featured-section {
        padding: 55px 14px 65px;
    }

    .featured-products {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .products-empty {
        min-height: 190px;
        padding: 30px 18px;
    }

    .featured-section .section-heading h2 {
        font-size: 26px;
    }

    .featured-section .section-heading p {
        font-size: 12px;
    }
}
/* =========================================================
   MOTOTOP.EG — PROFESSIONAL FOOTER
   Brand + WhatsApp + Social
========================================================= */

.site-footer {
    width: 100%;
    direction: rtl;

    color: #fff;

    background:
        linear-gradient(
            145deg,
            #62070b,
            #800a10
        );

    border-top: 1px solid rgba(255,255,255,.08);
}


/* =========================================================
   MAIN FOOTER
========================================================= */

.footer-main {
    width: min(980px, 100%);

    margin: 0 auto;

    padding: 38px 22px 34px;

    display: grid;

    grid-template-columns: 1.05fr 1.35fr .75fr;

    gap: 32px;

    align-items: center;
}


/* =========================================================
   BRAND
========================================================= */

.footer-brand-name {
    display: inline-block;

    margin-bottom: 11px;

    color: #fff;

    font-family: Arial, sans-serif;

    font-size: 24px;
    font-weight: 900;

    letter-spacing: -.7px;

    direction: ltr;
}

.footer-brand-name span {
    color: #ffb0b3;
}

.footer-brand p {
    max-width: 290px;

    margin: 0;

    color: rgba(255,255,255,.67);

    font-size: 11px;

    line-height: 1.9;
}


/* =========================================================
   WHATSAPP
========================================================= */

.footer-whatsapp {
    display: flex;

    align-items: center;

    gap: 14px;

    padding: 18px;

    border-radius: 16px;

    background: rgba(0,0,0,.15);

    border: 1px solid rgba(255,255,255,.13);

    box-shadow:
        0 10px 28px rgba(0,0,0,.14);
}

.footer-whatsapp-icon {
    width: 50px;
    height: 50px;

    min-width: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: #fff;
}

.footer-whatsapp-icon svg {
    width: 28px;
    height: 28px;

    fill: #8f0b11;
}

.footer-whatsapp-content {
    flex: 1;
}

.footer-label {
    display: block;

    margin-bottom: 4px;

    color: rgba(255,255,255,.55);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: .5px;
}

.footer-whatsapp h3 {
    margin: 0 0 5px;

    color: #fff;

    font-size: 16px;
    font-weight: 900;
}

.footer-whatsapp p {
    margin: 0 0 12px;

    color: rgba(255,255,255,.68);

    font-size: 10px;

    line-height: 1.7;
}

.footer-whatsapp-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    min-height: 35px;

    padding: 0 14px;

    border-radius: 8px;

    background: #fff;

    color: #8f0b11;

    font-size: 11px;
    font-weight: 900;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.footer-whatsapp-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 7px 16px rgba(0,0,0,.18);
}


/* =========================================================
   SOCIAL
========================================================= */

.footer-social h3 {
    margin: 0 0 14px;

    color: #fff;

    font-size: 15px;
    font-weight: 900;
}

.social-links {
    display: flex;

    align-items: center;

    gap: 8px;
}

.social-link {
    width: 41px;
    height: 41px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: rgba(255,255,255,.08);

    border: 1px solid rgba(255,255,255,.13);

    color: #fff;

    transition:
        transform .2s ease,
        background .2s ease;
}

.social-link svg {
    width: 19px;
    height: 19px;

    fill: currentColor;
}

.social-link:first-child svg {
    fill: none;

    stroke: currentColor;

    stroke-width: 1.8;
}

.social-link:hover {
    transform: translateY(-3px);

    background: rgba(255,255,255,.16);
}

.social-note {
    margin: 9px 0 0;

    color: rgba(255,255,255,.50);

    font-size: 10px;
}


/* =========================================================
   BOTTOM
========================================================= */

.footer-bottom {
    min-height: 48px;

    padding: 12px 20px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-top: 1px solid rgba(255,255,255,.08);

    background: rgba(0,0,0,.13);

    color: rgba(255,255,255,.55);

    font-size: 9px;

    direction: ltr;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .footer-main {
        grid-template-columns: 1fr;

        padding: 32px 18px 28px;

        gap: 25px;

        align-items: stretch;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-brand p {
        max-width: 100%;

        margin: 0 auto;
    }

    .footer-whatsapp {
        width: 100%;
    }

    .footer-social {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        padding: 13px 15px;

        text-align: center;
    }
}

@media (max-width: 430px) {

    .footer-whatsapp {
        padding: 16px;
    }

    .footer-whatsapp h3 {
        font-size: 15px;
    }

    .footer-whatsapp p {
        font-size: 9px;
    }
}
/* =========================================================
   CATEGORY PAGE
   ========================================================= */

.category-page {
    min-height: 520px;
    padding: 55px 18px 70px;
    background:
        radial-gradient(circle at 50% 30%, rgba(180, 20, 30, 0.14), transparent 38%),
        #101116;
    color: #fff;
}

/* Category Header */

.category-header {
    max-width: 700px;
    margin: 0 auto 45px;
    text-align: center;
}

.category-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 7px 16px;
    margin-bottom: 14px;

    border: 1px solid rgba(255, 45, 55, 0.35);
    border-radius: 30px;

    color: #f4f4f4;
    background: rgba(255, 255, 255, 0.025);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.category-header h1 {
    margin: 0;
    font-size: clamp(28px, 7vw, 42px);
    line-height: 1.25;
    font-weight: 800;
}

.category-header h1::after {
    content: "";
    display: block;

    width: 55px;
    height: 3px;

    margin: 16px auto 0;

    border-radius: 10px;
    background: #e52b35;

    box-shadow: 0 0 18px rgba(229, 43, 53, 0.35);
}

.category-header p {
    max-width: 580px;
    margin: 20px auto 0;

    color: rgba(255, 255, 255, 0.68);

    font-size: 14px;
    line-height: 2;
}


/* =========================================================
   EMPTY PRODUCTS STATE
   ========================================================= */

.products-grid {
    max-width: 900px;
    margin: 0 auto;
}

.products-empty {
    position: relative;

    max-width: 520px;
    margin: 0 auto;

    padding: 42px 25px;

    text-align: center;

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.035),
            rgba(255, 255, 255, 0.012)
        );

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.products-empty::before {
    content: "";

    position: absolute;
    top: 0;
    left: 50%;

    width: 90px;
    height: 2px;

    transform: translateX(-50%);

    background: #e52b35;
    box-shadow: 0 0 20px rgba(229, 43, 53, 0.45);
}

.products-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 64px;
    height: 64px;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: rgba(229, 43, 53, 0.08);
    border: 1px solid rgba(229, 43, 53, 0.2);

    font-size: 27px;

    box-shadow: 0 0 30px rgba(229, 43, 53, 0.08);
}

.products-empty h2 {
    margin: 0;

    font-size: 24px;
    font-weight: 800;
}

.products-empty p {
    max-width: 360px;

    margin: 12px auto 0;

    color: rgba(255, 255, 255, 0.55);

    font-size: 13px;
    line-height: 1.9;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .category-page {
        padding: 45px 15px 60px;
    }

    .category-header {
        margin-bottom: 35px;
    }

    .category-header h1 {
        font-size: 30px;
    }

    .category-header p {
        font-size: 13px;
        line-height: 1.9;
    }

    .products-empty {
        padding: 38px 20px;
        border-radius: 20px;
    }

    .products-empty h2 {
        font-size: 21px;
    }
}
/* =========================================================
   ADMIN DASHBOARD
   ========================================================= */

.admin-layout {
    min-height: 100vh;
    display: flex;
    background: #0d0f13;
    color: #fff;
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.admin-sidebar {
    width: 235px;
    min-height: 100vh;

    padding: 28px 18px;

    background:
        linear-gradient(
            180deg,
            #17191f 0%,
            #0e1014 100%
        );

    border-left: 1px solid rgba(255, 255, 255, 0.06);

    display: flex;
    flex-direction: column;
}

.admin-logo {
    padding: 0 12px 30px;

    font-size: 22px;
    font-weight: 900;

    letter-spacing: 0.5px;
}

.admin-logo span {
    color: #e52b35;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-nav a,
.admin-logout {
    display: flex;
    align-items: center;

    min-height: 46px;
    padding: 0 15px;

    border-radius: 12px;

    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    transition: 0.2s ease;
}

.admin-nav a:hover,
.admin-nav a.active {
    color: #fff;
    background: rgba(229, 43, 53, 0.12);
}

.admin-nav a.active {
    border-right: 3px solid #e52b35;
}

.admin-logout {
    margin-top: auto;

    color: rgba(255, 255, 255, 0.55);
}

.admin-logout:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}


/* =========================================================
   MAIN
   ========================================================= */

.admin-main {
    flex: 1;
    min-width: 0;

    padding: 35px 40px;

    background:
        radial-gradient(
            circle at 75% 0%,
            rgba(229, 43, 53, 0.08),
            transparent 35%
        );
}


/* =========================================================
   HEADER
   ========================================================= */

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 32px;
}

.admin-welcome {
    display: block;

    margin-bottom: 5px;

    color: rgba(255, 255, 255, 0.45);

    font-size: 13px;
}

.admin-header h1 {
    margin: 0;

    font-size: 30px;
    font-weight: 800;
}

.admin-user {
    padding: 9px 15px;

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 30px;

    color: rgba(255, 255, 255, 0.7);

    background: rgba(255, 255, 255, 0.025);

    font-size: 13px;
}


/* =========================================================
   STATISTICS
   ========================================================= */

.admin-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 18px;

    margin-bottom: 35px;
}

.admin-stat-card {
    position: relative;

    min-height: 125px;

    padding: 22px;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.045),
            rgba(255, 255, 255, 0.015)
        );

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
}

.admin-stat-card::after {
    content: "";

    position: absolute;

    left: -20px;
    bottom: -35px;

    width: 100px;
    height: 100px;

    border-radius: 50%;

    background: rgba(229, 43, 53, 0.08);
}

.admin-stat-label {
    display: block;

    margin-bottom: 15px;

    color: rgba(255, 255, 255, 0.5);

    font-size: 13px;
}

.admin-stat-card strong {
    display: block;

    font-size: 30px;
    font-weight: 800;
}

.admin-stat-card strong small {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
}


/* =========================================================
   ORDERS SECTION
   ========================================================= */

.admin-orders {
    padding: 25px;

    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;

    background: rgba(255, 255, 255, 0.018);
}

.admin-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 22px;
}

.admin-section-title span {
    display: block;

    margin-bottom: 5px;

    color: rgba(255, 255, 255, 0.45);

    font-size: 12px;
}

.admin-section-title h2 {
    margin: 0;

    font-size: 21px;
}

.admin-section-title a {
    color: #e52b35;

    font-size: 13px;
    text-decoration: none;
}

.admin-section-title a:hover {
    text-decoration: underline;
}


/* =========================================================
   EMPTY STATE
   ========================================================= */

.admin-empty {
    padding: 55px 20px;

    text-align: center;

    border: 1px dashed rgba(255, 255, 255, 0.08);
    border-radius: 15px;
}

.admin-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 60px;
    height: 60px;

    margin: 0 auto 15px;

    border-radius: 50%;

    background: rgba(229, 43, 53, 0.08);

    font-size: 24px;
}

.admin-empty h3 {
    margin: 0 0 8px;

    font-size: 18px;
}

.admin-empty p {
    margin: 0;

    color: rgba(255, 255, 255, 0.45);

    font-size: 13px;
}


/* =========================================================
   TABLE
   ========================================================= */

.admin-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.admin-table {
    width: 100%;

    border-collapse: collapse;

    font-size: 13px;
}

.admin-table th {
    padding: 14px 12px;

    color: rgba(255, 255, 255, 0.4);

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

    font-weight: 600;

    text-align: right;
}

.admin-table td {
    padding: 17px 12px;

    color: rgba(255, 255, 255, 0.75);

    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.admin-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.018);
}


/* =========================================================
   ADMIN LOGIN
   ========================================================= */

.admin-login-page {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 25px;

    background:
        radial-gradient(
            circle at 50% 30%,
            rgba(229, 43, 53, 0.12),
            transparent 40%
        ),
        #0d0f13;

    color: #fff;
}

.admin-login-card {
    width: min(100%, 420px);

    padding: 38px 30px;

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.045),
            rgba(255, 255, 255, 0.015)
        );

    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
}

.admin-login-brand {
    margin-bottom: 35px;

    font-size: 24px;
    font-weight: 900;

    text-align: center;
}

.admin-login-brand span {
    color: #e52b35;
}

.admin-login-title {
    margin-bottom: 25px;
    text-align: center;
}

.admin-login-title h1 {
    margin: 0 0 7px;

    font-size: 26px;
}

.admin-login-title p {
    margin: 0;

    color: rgba(255, 255, 255, 0.45);

    font-size: 13px;
}

.admin-field {
    margin-bottom: 18px;
}

.admin-field label {
    display: block;

    margin-bottom: 8px;

    color: rgba(255, 255, 255, 0.65);

    font-size: 13px;
}

.admin-field input {
    width: 100%;
    box-sizing: border-box;

    height: 48px;

    padding: 0 14px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 11px;

    outline: none;

    color: #fff;
    background: rgba(0, 0, 0, 0.18);

    font-family: inherit;
}

.admin-field input:focus {
    border-color: rgba(229, 43, 53, 0.6);

    box-shadow: 0 0 0 3px rgba(229, 43, 53, 0.08);
}

.admin-login-button {
    width: 100%;

    height: 50px;

    margin-top: 8px;

    border: none;
    border-radius: 12px;

    color: #fff;

    background: #e52b35;

    font-family: inherit;
    font-size: 14px;
    font-weight: 800;

    cursor: pointer;

    transition: 0.2s ease;
}

.admin-login-button:hover {
    transform: translateY(-1px);

    box-shadow: 0 10px 30px rgba(229, 43, 53, 0.25);
}

.admin-login-error {
    margin-bottom: 18px;

    padding: 12px 14px;

    border: 1px solid rgba(229, 43, 53, 0.2);
    border-radius: 10px;

    color: #ff7b82;

    background: rgba(229, 43, 53, 0.08);

    font-size: 13px;
    text-align: center;
}


/* =========================================================
   MOBILE ADMIN
   ========================================================= */

@media (max-width: 800px) {

    .admin-layout {
        display: block;
    }

    .admin-sidebar {
        width: auto;
        min-height: auto;

        padding: 15px;

        border-left: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .admin-logo {
        padding: 5px 8px 15px;
    }

    .admin-nav {
        flex-direction: row;
        overflow-x: auto;
    }

    .admin-nav a {
        flex: 0 0 auto;
    }

    .admin-logout {
        display: none;
    }

    .admin-main {
        padding: 25px 15px 40px;
    }

    .admin-header {
        margin-bottom: 25px;
    }

    .admin-header h1 {
        font-size: 25px;
    }

    .admin-stats {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .admin-stat-card {
        min-height: 95px;
    }

    .admin-orders {
        padding: 18px 12px;
    }

    .admin-section-title h2 {
        font-size: 18px;
    }

    .admin-table {
        min-width: 650px;
    }
}
/* ================================
   صفحة المنتجات
================================ */

.products-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

.products-page-header {
    text-align: center;
    margin-bottom: 35px;
}

.products-page-header span {
    color: #ff3b30;
    font-size: 14px;
    font-weight: 700;
}

.products-page-header h1 {
    margin: 8px 0;
    font-size: 32px;
}

.products-page-header p {
    margin: 0;
    opacity: 0.75;
}

/* شبكة المنتجات */

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/* كارت المنتج */

.product-card {
    overflow: hidden;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
}

/* صورة المنتج */

.product-image {
    width: 100%;
    height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.12);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-image span {
    font-size: 45px;
}

/* محتوى الكارت */

.product-content {
    padding: 18px;
}

.product-category {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 13px;
    opacity: 0.7;
}

.product-content h2 {
    margin: 0 0 15px;
    font-size: 20px;
}

.product-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 18px;
}

.product-info strong {
    font-size: 18px;
    color: #ff4b3e;
}

.product-info span {
    font-size: 13px;
    opacity: 0.75;
}

/* زر المنتج */

.product-button {
    display: block;
    width: 100%;
    padding: 11px 15px;
    border-radius: 10px;
    background: #ff3b30;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    transition: opacity 0.2s ease;
}

.product-button:hover {
    opacity: 0.85;
}

/* لا توجد منتجات */

.products-empty {
    text-align: center;
    padding: 60px 20px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.04);
}

/* ================================
   الموبايل
================================ */
}

@media (max-width: 800px) {

    .products-page {
        padding: 35px 15px;
    }

    .products-page-header h1 {
        font-size: 27px;
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }

    .product-image {
        height: 170px;
    }

    .product-content {
        padding: 14px;
    }

    .product-content h2 {
        font-size: 17px;
    }

    .product-info {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 500px) {

    .products-grid {
        grid-template-columns: repeat(2,minmax(0,1));
        gap: 10px;
    }

    .product-image {
        height: 190px;
    }
}
/* ================================
   Product Details
================================ */

.product-details {
    width: min(1100px, 92%);
    margin: 40px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.product-details-image {
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111827;
    border-radius: 20px;
    overflow: hidden;
}

.product-details-image img {
    width: 100%;
    height: 400px;
    object-fit: contain;
}

.product-no-image {
    font-size: 80px;
}

.product-details-content {
    text-align: right;
}

.product-details-content h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.product-description {
    line-height: 1.9;
    margin-bottom: 20px;
}

.product-price {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
}

.product-stock {
    margin-bottom: 20px;
}

.product-cart-form {
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-cart-form input {
    width: 80px;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ccc;
    text-align: center;
}

.product-cart-form button {
    padding: 12px 25px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

.product-out-of-stock {
    font-weight: bold;
    margin: 20px 0;
}

/* Mobile */
@media (max-width: 700px) {

    .product-details {
        width: 92%;
        margin: 25px auto;
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .product-details-image {
        min-height: 280px;
    }

    .product-details-image img {
        height: 280px;
    }

    .product-details-content h1 {
        font-size: 26px;
    }

    .product-price {
        font-size: 24px;
    }

    .product-cart-form {
        flex-wrap: wrap;
    }

    .product-cart-form button {
        width: 100%;
    }
}
/* =================================
   PRODUCT DETAILS - MODERN DESIGN
================================= */

.product-details {
    width: min(1100px, 92%);
    margin: 45px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: stretch;
    direction: rtl;
}

/* صورة المنتج */
.product-details-image {
    min-height: 500px;
    background: linear-gradient(145deg, #151a25, #0b0f17);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.product-details-image::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    background: rgba(255, 45, 45, 0.08);
    border-radius: 50%;
    filter: blur(50px);
}

.product-details-image img {
    position: relative;
    z-index: 1;
    width: 90%;
    height: 450px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-details-image img:hover {
    transform: scale(1.04);
}

.product-no-image {
    position: relative;
    z-index: 1;
    font-size: 70px;
    opacity: 0.7;
}

/* تفاصيل المنتج */
.product-details-content {
    background: linear-gradient(145deg, #151a25, #0d1119);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    text-align: right;
}

.product-details-content h1 {
    font-size: 36px;
    margin: 0 0 18px;
    line-height: 1.3;
}

/* الوصف */
.product-description {
    color: #b8beca;
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 28px;
}

/* السعر */
.product-price {
    display: inline-block;
    color: #ff3b3b;
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 20px;
}

/* المخزون */
.product-stock {
    background: rgba(46, 204, 113, 0.08);
    border: 1px solid rgba(46, 204, 113, 0.2);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 25px;
    color: #d9ffe7;
}

.product-stock strong {
    color: #4ade80;
    font-size: 18px;
}

/* نموذج السلة */
.product-cart-form {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.product-cart-form label {
    width: 100%;
    margin-bottom: 5px;
    font-weight: 700;
}

.product-cart-form input {
    width: 90px;
    height: 48px;
    padding: 0 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0b0f17;
    color: white;
    text-align: center;
    font-size: 17px;
    outline: none;
}

.product-cart-form input:focus {
    border-color: #ff3b3b;
}

.product-cart-form button {
    flex: 1;
    min-height: 48px;
    padding: 0 25px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff3b3b, #e21f2f);
    color: white;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.25s ease;
}

.product-cart-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 59, 59, 0.25);
}

/* المنتج خلصان */
.product-out-of-stock {
    background: rgba(255, 59, 59, 0.08);
    border: 1px solid rgba(255, 59, 59, 0.2);
    color: #ff6666;
    padding: 15px;
    border-radius: 12px;
    font-weight: 800;
    margin-bottom: 15px;
}

.product-details-content > button:disabled {
    width: 100%;
    min-height: 48px;
    border: none;
    border-radius: 12px;
    background: #333844;
    color: #858b98;
    cursor: not-allowed;
}

/* =================================
   MOBILE
================================= */

@media (max-width: 700px) {

    .product-details {
        width: 92%;
        margin: 25px auto 40px;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-details-image {
        min-height: 330px;
        border-radius: 20px;
    }

    .product-details-image img {
        height: 310px;
        width: 92%;
    }

    .product-details-content {
        padding: 25px 20px;
        border-radius: 20px;
    }

    .product-details-content h1 {
        font-size: 27px;
    }

    .product-description {
        font-size: 15px;
    }

    .product-price {
        font-size: 27px;
    }

    .product-cart-form {
        gap: 10px;
    }

    .product-cart-form input {
        width: 75px;
    }

    .product-cart-form button {
        min-width: 0;
    }
}
/* Quantity Controls */
.quantity-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 15px 0;
}

.quantity-btn {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 10px;
    background: #ff3b30;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
}

.quantity-btn:hover {
    transform: scale(1.05);
    background: #e83228;
}

.quantity-btn:active {
    transform: scale(0.95);
}

.quantity-control input {
    width: 55px;
    height: 42px;
    border: 1px solid #555;
    border-radius: 10px;
    background: #151923;
    color: #fff;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    outline: none;
}
/* =========================
   CART PAGE
========================= */

.cart-page {
    width: min(1100px, 92%);
    margin: 40px auto 80px;
}

.cart-page h1 {
    text-align: center;
    color: #fff;
    font-size: 32px;
    margin-bottom: 30px;
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    background: #111722;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;

    padding: 20px;
    margin-bottom: 18px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.cart-item h2 {
    color: #fff;
    font-size: 20px;
    margin: 0 0 10px;
}

.cart-item p {
    color: #bbb;
    margin: 5px 0;
}

.cart-item .price {
    color: #ff3b30;
    font-size: 20px;
    font-weight: bold;
}

.cart-item input {
    width: 65px;
    padding: 10px;
    text-align: center;

    background: #1b2230;
    color: #fff;

    border: 1px solid #333;
    border-radius: 8px;
}

.cart-item button {
    border: none;
    border-radius: 10px;
    padding: 10px 18px;

    background: #ff3b30;
    color: #fff;

    font-weight: bold;
    cursor: pointer;
}

.cart-item button:hover {
    opacity: 0.85;
}

.cart-total {
    margin-top: 25px;
    padding: 22px;

    background: #151c28;
    border-radius: 16px;

    text-align: center;
}

.cart-total h2 {
    color: #fff;
    margin-bottom: 15px;
}

.cart-total strong {
    color: #ff3b30;
    font-size: 24px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    .cart-page {
        width: 94%;
        margin-top: 25px;
    }

    .cart-page h1 {
        font-size: 25px;
        margin-bottom: 20px;
    }

    .cart-item {
        flex-direction: column;
        align-items: stretch;
        text-align: right;
        padding: 16px;
    }

    .cart-item h2 {
        font-size: 18px;
    }

    .cart-item .price {
        font-size: 18px;
    }

    .cart-item input {
        width: 100%;
        box-sizing: border-box;
    }

    .cart-item button {
        width: 100%;
    }

    .cart-total {
        padding: 18px;
    }
}
/* =========================
   Cart Summary
========================= */

.cart-summary {
    margin-top: 25px;
    padding: 20px;
    background: #151a24;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
}

.cart-total span {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.cart-total strong {
    color: #b51f2a;
    font-size: 22px;
    font-weight: 800;
}

.checkout-button {
    display: block;
    width: 100%;
    padding: 14px 20px;
    background: #b51f2a;
    color: #fff;
    text-decoration: none;
    text-align: center;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;
    transition: 0.3s ease;
    box-sizing: border-box;
}

.checkout-button:hover {
    background: #e52f2f;
    transform: translateY(-2px);
}
/* =========================
   CHECKOUT
========================= */

.checkout-page {
    width: 90%;
    max-width: 1100px;
    margin: 40px auto;
    direction: rtl;
}

.checkout-page h1 {
    color: #fff;
    font-size: 32px;
    margin-bottom: 30px;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.checkout-form {
    background: rgba(0, 0, 0, 0.25);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.checkout-form h2 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #555;
    border-radius: 8px;
    background: #fff;
    color: #222;
    font-size: 15px;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #e50914;
}

.form-group textarea {
    min-height: 110px;
    resize: vertical;
}
.checkout-layout {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.checkout-form,
.checkout-summary {
    width: 100%;
    box-sizing: border-box;
}
/* Mobile Menu */

.mobile-menu {
    display: none;
}

.mobile-menu.active {
    display: flex;
    flex-direction: column;
}
/* Mobile Header */
@media (max-width: 768px) {

    .desktop-nav {
        display: none !important;
    }

    .mobile-menu {
        display: none !important;
    }

    .mobile-menu.active {
        display: flex !important;
        flex-direction: column;
    }
}
/* =========================
   Mobile Side Menu
========================= */

.mobile-side-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: #111;
    z-index: 9999;
    padding: 90px 25px 30px;
    box-sizing: border-box;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.4);
}

.mobile-side-menu nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-side-menu nav a {
    display: block;
    padding: 15px;
    color: #fff;
    text-decoration: none;
    font-size: 17px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-side-menu nav a:hover {
    color: #e31b23;
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}
@media (max-width: 768px) {

    .desktop-nav {
        display: none;
    }

    .mobile-side-menu {
        display: block;
    }

}
.mobile-side-menu.active {
    right: 0;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}
/* ========================================
   HEADER - MOBILE SIDE MENU
======================================== */

.mobile-side-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85%;
    height: 100vh;

    background: #111;
    color: #fff;

    z-index: 10001;

    padding: 25px 20px;

    box-sizing: border-box;

    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.45);

    transition: right 0.3s ease;

    overflow-y: auto;
}

.mobile-side-menu.active {
    right: 0;
}


/* Overlay */

.mobile-menu-overlay {
    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, 0.65);

    z-index: 10000;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* Menu Header */

.mobile-menu-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding-bottom: 20px;

    margin-bottom: 15px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-header strong {
    font-size: 20px;
    color: #fff;
}


/* Close Button */

.mobile-menu-close {
    width: 38px;
    height: 38px;

    border: none;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.08);

    color: #fff;

    font-size: 28px;

    line-height: 1;

    cursor: pointer;

    display: flex;

    align-items: center;
    justify-content: center;

    transition: 0.2s;
}

.mobile-menu-close:hover {
    background: #e50914;
}


/* Menu Links */

.mobile-side-menu nav {
    display: flex;

    flex-direction: column;

    gap: 5px;
}

.mobile-side-menu nav a {
    display: block;

    padding: 15px 12px;

    border-radius: 8px;

    color: #fff;

    text-decoration: none;

    font-size: 16px;

    font-weight: 600;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        padding-right 0.2s ease;
}

.mobile-side-menu nav a:hover {
    background: rgba(229, 9, 20, 0.12);

    color: #e50914;

    padding-right: 18px;
}


/* ========================================
   SEARCH
======================================== */

.header-search {
    max-height: 0;

    overflow: hidden;

    opacity: 0;

    transition:
        max-height 0.3s ease,
        opacity 0.25s ease;
}

.header-search.active {
    max-height: 100px;

    opacity: 1;
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 768px) {

    .desktop-nav {
        display: none !important;
    }

    .mobile-side-menu {
        display: block;
    }

    .header-search {
        width: 100%;
    }

}
/* ========================================
   SEARCH BUTTON - MOBILE
======================================== */

@media (max-width: 768px) {

    .search-trigger {
        display: flex !important;
        align-items: center;
        justify-content: center;

        width: 40px;
        height: 40px;

        padding: 0;
        margin: 0;

        background: transparent;
        border: none;

        cursor: pointer;
    }

    .search-trigger svg {
        width: 22px;
        height: 22px;

        fill: none;
        stroke: currentColor;
        stroke-width: 2;
    }

    .header-actions {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    /* Search bar hidden until search icon is clicked */
    .header-search {
        max-height: 0;
        overflow: hidden;
        opacity: 0;

        transition:
            max-height 0.3s ease,
            opacity 0.3s ease;
    }

    .header-search.active {
        max-height: 100px;
        opacity: 1;
    }

}
.search-trigger {
    color: #fff !important;
}

.search-trigger svg {
    stroke: #fff !important;
}
/* =========================================================
   MOTOTOP.EG — FINAL HERO FIX
   ========================================================= */

.hero {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 76px);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px 20px 70px;

    overflow: hidden;

    box-sizing: border-box;

    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(180, 25, 25, 0.16),
            transparent 45%
        ),
        #09090d;
}

.hero-content {
    position: relative;
    z-index: 2;

    width: min(900px, 100%);
    max-width: 900px;

    margin: 0 auto;
    padding: 70px 20px;

    text-align: center;
    direction: rtl;

    box-sizing: border-box;
}


/* =========================================================
   HERO MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .hero {
        min-height: calc(100vh - 126px);

        padding: 40px 18px 55px;
    }

    .hero-content {
        width: 100%;
        max-width: 700px;

        margin: 0 auto;

        padding: 55px 18px 65px;
    }
}


/* =========================================================
   HERO SMALL MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .hero {
        min-height: calc(100vh - 120px);

        width: 100%;

        padding: 35px 18px 40px;

        align-items: center;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;

        margin: 0 auto;

        padding: 35px 16px 45px;
    }

    .hero h1 {
        font-size: clamp(30px, 8vw, 40px);

        line-height: 1.3;

        margin-bottom: 18px;
    }

    .hero h1::after {
        width: 48px;
        height: 3px;

        margin: 13px auto 18px;
    }

    .hero p {
        max-width: 340px;

        margin: 0 auto 25px;

        font-size: 13px;

        line-height: 1.9;
    }

    .hero-buttons {
        width: 100%;

        display: flex;

        align-items: center;
        justify-content: center;

        flex-direction: column;

        gap: 10px;

        margin-top: 25px;
    }

    .hero-primary,
    .hero-btn {
        width: min(100%, 285px);

        min-width: 0;
        min-height: 50px;

        box-sizing: border-box;
    }

    .hero-content .hero-kicker {
        margin-top: 0;
    }
}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 420px) {

    .hero {
        min-height: calc(100vh - 120px);

        padding-left: 14px;
        padding-right: 14px;
    }

    .hero-content {
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 12.5px;
    }
}


/* =========================================================
   HERO / SERVICES SPACING
   ========================================================= */

.services-section {
    padding-top: 45px;
}

@media (max-width: 600px) {

    .services-section {
        padding-top: 35px;
    }
}
/* =========================================================
   FEATURED PRODUCTS — FINAL
   ========================================================= */

.featured-products {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;

    direction: rtl;
}


/* =========================================================
   FEATURED CARD
   ========================================================= */

.featured-product-card {
    width: 100%;
    min-width: 0;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #15181f,
            #0d0f14
        );

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;

    box-shadow:
        0 8px 25px rgba(0,0,0,.18);

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.featured-product-card:hover {
    transform: translateY(-4px);

    border-color:
        rgba(217,20,24,.35);

    box-shadow:
        0 14px 35px rgba(0,0,0,.28);
}


/* =========================================================
   PRODUCT IMAGE
   ========================================================= */

.featured-product-image {
    width: 100%;
    height: 230px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #101218;
}

.featured-product-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    padding: 14px;

    box-sizing: border-box;

    transition: transform .3s ease;
}

.featured-product-card:hover
.featured-product-image img {
    transform: scale(1.04);
}


/* =========================================================
   PRODUCT CONTENT
   ========================================================= */

.featured-product-content {
    padding: 18px;

    display: flex;
    flex-direction: column;

    align-items: flex-start;

    direction: rtl;
}

.featured-product-content h3 {
    width: 100%;

    margin: 0 0 10px;

    color: #fff;

    font-size: 17px;
    font-weight: 800;

    line-height: 1.6;
}

.featured-product-content > strong {
    margin-bottom: 8px;

    color: #e51f2a;

    font-size: 18px;
    font-weight: 900;
}

.featured-product-stock {
    margin-bottom: 14px;

    color: #7fd48b;

    font-size: 12px;
    font-weight: 700;
}

.featured-product-stock.out {
    color: #e55b61;
}


/* =========================================================
   VIEW PRODUCT BUTTON
   ========================================================= */

.featured-product-button {
    width: 100%;
    min-height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    color: #fff !important;

    background:
        linear-gradient(
            135deg,
            #b5121b,
            #d91f2b
        );

    border-radius: 10px;

    font-size: 14px;
    font-weight: 800;

    text-decoration: none;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.featured-product-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(217,31,43,.25);
}


/* =========================================================
   EMPTY STATE
   ========================================================= */

.featured-products .products-empty {
    grid-column: 1 / -1;
    width: 100%;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .featured-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .featured-product-image {
        height: 150px;
    }

    .featured-product-image img {
        padding: 10px;
    }

    .featured-product-content {
        padding: 12px;
    }

    .featured-product-content h3 {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 7px;
    }

    .featured-product-content > strong {
        font-size: 15px;
        margin-bottom: 5px;
    }

    .featured-product-stock {
        font-size: 10px;
        margin-bottom: 10px;
    }

    .featured-product-button {
        min-height: 40px;

        font-size: 12px;
    }
}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

    .featured-products {
        gap: 10px;
    }

    .featured-product-image {
        height: 135px;
    }

    .featured-product-content {
        padding: 10px;
    }

    .featured-product-content h3 {
        font-size: 12px;
    }

    .featured-product-content > strong {
        font-size: 14px;
    }

    .featured-product-button {
        min-height: 38px;
        font-size: 11px;
    }
}
/* =========================================================
   CART PRODUCT IMAGE — FINAL FIX
   ========================================================= */

.cart-item-image {
    width: 180px;
    height: 180px;

    flex: 0 0 180px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #11141a;
    border-radius: 14px;

    box-sizing: border-box;
}

.cart-item-image img {
    display: block;

    width: 100%;
    height: 100%;

    max-width: 100%;
    max-height: 100%;

    object-fit: contain;

    padding: 12px;

    box-sizing: border-box;
}


/* =========================================================
   CART — MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .cart-item-image {
        width: 120px;
        height: 120px;

        flex: 0 0 120px;

        border-radius: 12px;
    }

    .cart-item-image img {
        padding: 8px;
    }
}


/* =========================================================
   CART — SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .cart-item-image {
        width: 95px;
        height: 95px;

        flex: 0 0 95px;

        border-radius: 10px;
    }

    .cart-item-image img {
        padding: 6px;
    }
}